@ckeditor/ckeditor5-revision-history 46.1.1 → 47.0.0-alpha.1
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-editor.css +7 -7
- package/dist/index.css +7 -7
- package/dist/index.js +7 -7
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +12 -12
- package/src/changeitem.js +2 -2
- package/src/editor/revisionviewereditor.js +2 -2
- package/src/editor/revisionviewereditorui.js +1 -1
- package/src/editor/revisionviewereditoruiview.js +1 -1
- package/src/index.js +1 -1
- package/src/revision.js +2 -2
- package/src/revisiondiff.js +1 -1
- package/src/revisionhistory.js +1 -1
- package/src/revisionhistoryutils.js +1 -1
- package/src/revisionsrepository.js +1 -1
- package/src/revisiontracker.js +1 -1
- package/src/revisionviewer.js +1 -1
- package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
- package/src/ui/revision/revisionauthorview.js +1 -1
- package/src/ui/revision/revisionnameview.js +1 -1
- package/src/ui/revision/revisionview.js +2 -2
- package/src/ui/revision/subrevisioncollapserview.js +1 -1
- package/src/ui/revision/subrevisionview.js +1 -1
- package/src/ui/revision/utils.js +1 -1
- package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
- package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
- package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
- package/src/ui/revisionssidebar/utils.js +1 -1
- package/src/ui/revisionviewer/changedetailsview.js +1 -1
- package/src/ui/revisionviewer/changesnavigationview.js +1 -1
- package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
- package/src/ui/revisionviewer/revisionviewerui.js +1 -1
- package/src/utils/common-translations.js +1 -1
- package/theme/revision/revision.css +5 -5
|
@@ -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={6:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},16:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},60:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},171:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},188:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},242:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},323:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},423:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},557: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)}},578:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},585:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},618:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},626:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},890:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},933:t=>{"use strict";t.exports=function(t){return t[1]}},980:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>et,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function H(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function W(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?W(e)?Z(t,U(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=275]})(t,e)}function Y(){const t=["creator","340SOWmxQ","authorsIds","fire","1121505CGkEgz","509312pBzeGi","creatorId","_update","model","setName","1247500OXRJAF","name","createdAt","map","toVersion","set","5654WmqylY","attributes","diffData","removeAttribute","toJSON","authors","79dWgGNr","2327178pOrVXo","4797ozhgHq","6411645EuBQzl","fromVersion","setAttribute"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(210411===parseInt(e(281))/1*(parseInt(e(275))/2)+parseInt(e(283))/3*(parseInt(e(288))/4)+-parseInt(e(297))/5+-parseInt(e(282))/6+-parseInt(e(291))/7+-parseInt(e(292))/8+parseInt(e(284))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(287)];[$(280)];[$(277)];[$(301)];[$(285)];[$(295)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(287)]=e[i(287)]||null,this[i(280)]=e[i(280)]||[],this[i(277)]=e[i(277)]||null,this[i(301)]=e[i(301)]||0,this[i(285)]=e[i(285)]||0,this[i(302)](i(298),e[i(298)]||""),this[i(302)](i(299),e[i(299)]||new Date),this[i(302)](i(276),e[i(276)]||{})}[$(296)](t){this[$(294)]({name:t})}[$(286)](t,e){const i=$,n=R(this[i(276)]);H(n,t,e),this[i(294)]({attributes:n})}[$(278)](t){const e=$,i=R(this[e(276)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&W(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(294)]({attributes:i})}[$(294)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(298),i(299),i(277),i(280),i(276),i(301),i(285),i(293)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(280)]&&(s[i(289)]=s[i(280)][i(300)](t=>t.id),delete s[i(280)]),this[i(290)](i(294),s,e))}[$(279)](){const t=$;return{id:this.id,name:this[t(298)],creatorId:this[t(287)]?this[t(287)].id:null,authorsIds:this[t(280)][t(300)](t=>t.id),diffData:this[t(277)],createdAt:this[t(299)],attributes:this[t(276)],fromVersion:this[t(285)],toVersion:this[t(301)]}}}var G=i(782),Q=i(211),K=i(783);function X(t,e){const i=it();return(X=function(t,e){return i[t-=258]})(t,e)}const tt=X;!function(t){const e=X,i=t();for(;;)try{if(281853===parseInt(e(290))/1*(parseInt(e(302))/2)+-parseInt(e(265))/3*(parseInt(e(291))/4)+-parseInt(e(261))/5*(-parseInt(e(279))/6)+parseInt(e(313))/7*(-parseInt(e(269))/8)+parseInt(e(295))/9+parseInt(e(260))/10*(-parseInt(e(263))/11)+-parseInt(e(297))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class et extends G.Plugin{[tt(293)];static get[tt(306)](){return[Q.Users]}static get[tt(292)](){return tt(277)}static get[tt(285)](){return!0}static get[tt(312)](){return!0}get[tt(264)](){const t=tt;return this[t(293)][t(264)]}constructor(e){const i=tt;super(e),this[i(293)]=new t.Collection}[tt(288)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=X;for(const e in window)if(window[k([78,117,109,98,101,114])][i(270)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=X;return t[e(308)](t=>String[e(273)](t))[e(262)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1757894400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=X,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(303)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(282)](t){const e=tt,i=this[e(311)][e(278)][e(314)](e(289));return new J({id:t.id,name:t[e(301)],creator:t[e(258)]?i[e(274)](t[e(258)]):null,diffData:t[e(299)]||t[e(284)],authors:t[e(286)][e(308)](t=>i[e(274)](t)),createdAt:new Date(t[e(267)]),attributes:t[e(268)],fromVersion:t[e(280)],toVersion:t[e(304)]})}[tt(307)](t,e=0){const i=tt;this[i(293)][i(309)](t,e)}[tt(266)](t){const e=tt;return this[e(293)][e(314)](t)}[tt(287)](t={toJSON:!1}){const e=tt,i=Array[e(276)](this[e(293)]);return i[e(300)](),t[e(272)]?i[e(308)](t=>t[e(272)]()):i}[tt(283)](t){const e=tt;return this[e(293)][e(283)](t)}[tt(271)](t){const e=tt,[,i]=this[e(298)](t,{direction:e(294)});return i}[tt(296)](t){const e=tt,[,i]=this[e(298)](t,{direction:e(310)});return i}[tt(281)](t){const e=tt,i=[];for(const n of this[e(298)](t[e(275)]))if(i[e(305)](n),n.id===t[e(259)])break;return i}*[tt(298)](t,{direction:e=tt(294),filter:i=()=>!0}={}){const n=tt,s=n(294)===e?1:-1;let r=this[n(293)][n(314)](t),o=this[n(283)](r);for(yield r;r;){if(o+=s,r=this[n(266)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["getRevisions","afterInit","Users","168306rTnBHH","533772AIIuHk","pluginName","_revisions","earlier","4433706ezHtGr","getLaterVisibleRevision","2271936SUYMln","getRevisionsIterator","diffData","reverse","name","6YhNMwG","href","toVersion","push","requires","addRevision","map","add","later","editor","isPremiumPlugin","119KVuuUF","get","creatorId","oldRevisionId","50neWYAU","964445aCLRcC","join","1048652ZOkxYz","length","3ebNwws","getRevision","createdAt","attributes","51368ILyPPb","isNaN","getEarlierVisibleRevision","toJSON","fromCharCode","getUser","newRevisionId","from","RevisionsRepository","plugins","6LAdBHD","fromVersion","getRevisionsInDiff","createRevision","getIndex","data","isOfficialPlugin","authorsIds"];return(it=function(){return t})()}function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=158]})(t,e)}const st=nt;function rt(){const t=["render","isAttached","length","domChildrenToView","isPremiumPlugin","_removeRevisionMarkers","revision-end","fillerOffset","getRevisionDocumentData","innerHTML","view","data","130IeWLCi","1055388wxGaQD","_makeModelFromViewString","domConverter","_typeCharToViewClass","_getViewFromDiffObj","revision-start","customProperties","insertions","name","attachChange","marked","_getTypeCharForViewElement","isOfficialPlugin","188IqeTlz","document","diffData","startsWith","map","from","getFillerOffset","childNodes","getRevisionRootsAttributes","225rMqrJa","_setCustomProperty","getRevision","toData","filter","div","attributes","string","editor","toModel","collaboration.channelId","loadRevisionData","25692bJiSaN","constructor","517KBEnXY","createElement","config","238212IRYkal","330FUCDJw","13104KWojtm","domDocument","default","data-revision-","useFillerType","processor","1017243duWqsi","htmlProcessor","editing","RevisionHistoryUtils","viewChildrenToDom","forEach","attributesAfter","_viewClassToTypeChar","5744296uUiNLT","42294mRZGoC","type","get","pluginName","append","parse","children","_appendChild"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(750568===-parseInt(e(209))/1*(parseInt(e(160))/2)+parseInt(e(158))/3+-parseInt(e(230))/4*(-parseInt(e(218))/5)+-parseInt(e(159))/6*(parseInt(e(175))/7)+-parseInt(e(174))/8+-parseInt(e(166))/9*(parseInt(e(195))/10)+-parseInt(e(232))/11*(-parseInt(e(196))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(178)](){return st(169)}static get[st(208)](){return!0}static get[st(187)](){return!0}[st(173)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[st(199)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[st(229)](t,e){const i=st;if(t[i(211)]||!e)return;const n=this[i(226)][i(234)][i(177)](i(228)),s=await e[i(220)]({channelId:n,revisionId:t.id});t[i(211)]=s[i(211)]}[st(191)](t){const e=st,i={};for(const n in t[e(211)]){if(t[e(211)][n][e(205)]&&!t[e(211)][n][e(205)][e(184)])continue;const s=this[e(188)](JSON[e(180)](t[e(211)][n][e(203)])),r=this[e(226)][e(168)][e(193)][e(210)],o=new K.ViewDocumentFragment(r,s[e(213)](t=>this[e(200)](t,!1)));this[e(226)][e(194)][e(165)][e(164)](e(206)),i[n]=this[e(226)][e(194)][e(165)][e(221)](o),this[e(226)][e(194)][e(165)][e(164)](e(162))}return i}[st(217)](t){const e=st,i={};for(const n in t[e(211)])t[e(211)][n][e(205)]&&!t[e(211)][n][e(205)][e(184)]||(i[n]=t[e(211)][n][e(172)]||{});return i}[st(207)](t){const e=st;return this[e(173)][e(177)](t[e(231)])}[st(200)](t,e){const i=st,n=this[i(226)][i(168)][i(193)][i(210)];if(i(225)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(176)]||"r"==t[i(176)]?[]:t[i(181)][i(213)](t=>this[i(200)](t,e));const o=this[i(199)][i(177)](t[i(176)])||K.ViewElement,a=this[i(226)][i(194)][i(167)][i(198)];if(s=new o(n,t[i(204)],t[i(224)],r),"u"==t[i(176)]&&t[i(181)][0]){const r=t[i(181)][0];if(s[i(183)]=function(t){const e=i,n=t[e(233)](e(223));return n[e(192)]=r,n[e(216)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(182)](s);const e=Array[i(214)](a[i(170)](t,{bind:!1})),r=a[i(161)][i(233)](i(223));r[i(179)](...e),s=Array[i(214)](a[i(186)](r))[0]}}else if("r"==t[i(176)]&&t[i(181)][0]){const r=t[i(181)][0];if(s[i(183)]=function(t){t[i(192)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(182)](s);const e=Array[i(214)](a[i(170)](t,{bind:!1})),r=a[i(161)][i(233)](i(223));r[i(179)](...e);const o=Array[i(214)](a[i(186)](r));o[i(185)]>1?s[i(182)](o):s=o[0]}}if(t[i(202)])for(const[e,n]of t[i(202)])s[i(219)](e,n);const c=void 0===t[i(190)]?null:t[i(190)];return null!==c&&(s[i(215)]=()=>c),s}}[st(197)](t){const e=st,i=JSON[e(180)](t),n=this[e(226)][e(168)][e(193)][e(210)],s=new K.ViewDocumentFragment(n,i[e(213)](t=>this[e(200)](t,!0)));return this[e(226)][e(194)][e(227)](s)}[st(188)](t){const e=st;return(t=t[e(222)](t=>!t[e(204)]||e(201)!==t[e(204)]&&e(189)!==t[e(204)]))[e(171)](t=>{const i=e;i(225)!=typeof t&&(t[i(181)]=this[i(188)](t[i(181)]),t[i(224)]=t[i(224)][i(222)](t=>!t[0][i(212)](i(163))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=yt();return(mt=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(808294===-parseInt(e(507))/1+-parseInt(e(541))/2*(-parseInt(e(393))/3)+-parseInt(e(595))/4*(parseInt(e(478))/5)+parseInt(e(501))/6+parseInt(e(411))/7+parseInt(e(528))/8*(-parseInt(e(544))/9)+parseInt(e(359))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yt);class pt extends G.Plugin{[ft(367)];[ft(383)];[ft(616)]=null;[ft(510)];[ft(509)]=null;[ft(660)];[ft(665)];[ft(631)];[ft(601)];[ft(629)];[ft(495)];[ft(504)];[ft(397)];[ft(657)];static get[ft(485)](){return ft(500)}static get[ft(565)](){return!0}static get[ft(654)](){return!0}static get[ft(572)](){return[Q.Users,et,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(510)]=this[i(514)][i(362)][i(551)](i(672)),this[i(629)]=this[i(514)][i(362)][i(551)](i(439)),this[i(660)]=new vt(this[i(514)]),this[i(631)]=this[i(514)][i(520)][i(551)](i(452))||i(384),this[i(601)]=new Map,this[i(657)]=null;const n=(0,t.uid)();this[i(665)]={history:this[i(514)][i(451)][i(607)][i(534)],getLatestVersion:()=>Promise[i(410)](this[i(514)][i(451)][i(607)][i(643)]),getCurrentRevisionId:()=>n},this[i(374)](i(651),!1),this[i(374)](i(576),!0),this[i(374)](i(561),!1),this[i(514)][i(520)][i(409)](i(448),!0),this[i(514)][i(416)][i(668)](i(628))[i(479)]({view:i(525)})}[ft(558)](){const t=ft;this[t(425)](),this[t(514)][t(412)].on(t(642),()=>{const e=t,i=this[e(510)][e(375)](0),n=i&&null===i[e(355)]?i:null;if(this[e(504)]=!!n&&this[e(514)][e(520)][e(551)](e(448)),this[e(514)][e(362)][e(602)](e(474))){const t=this[e(665)][e(670)](),s=this[e(510)][e(375)](t);if(s)this[e(397)]=s[e(620)],this[e(504)]=!1;else{const t=this[e(665)][e(534)][e(539)][e(512)](t=>!t[e(494)]),s=t?t[e(483)]:this[e(665)][e(534)][e(643)];i?(i[e(633)]<s&&i[e(431)]({toVersion:s}),this[e(504)]?(this[e(665)][e(670)]=()=>n.id,this[e(397)]=n[e(620)]):(this[e(397)]=i[e(633)],this[e(504)]=!1)):(this[e(397)]=s,this[e(504)]=!1)}}else n&&(this[e(514)][e(451)][e(607)][e(534)][e(643)]=Math[e(591)](n[e(633)],this[e(514)][e(451)][e(607)][e(534)][e(643)]),n[e(620)]===n[e(633)]?(0!==n[e(620)]&&(this[e(665)][e(670)]=()=>n.id),this[e(504)]=!1):this[e(504)]&&(this[e(665)][e(670)]=()=>n.id,this[e(397)]=n[e(620)])),this[e(504)]||(this[e(397)]=this[e(514)][e(451)][e(607)][e(643)]);this[e(660)][e(558)](this[e(665)][e(534)]),this[e(364)](this[e(397)]),this[e(427)](this[e(397)]),this[e(509)]&&this[e(382)]()}),this[t(606)](t(651)).to(this,t(561),t=>!t),this[t(367)]=this[t(514)][t(520)][t(551)](t(367));const e=this[t(514)];this[t(383)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(647)==r||i(625)==r||i(613)==r||i(587)==r||i(585)==r||i(552)==r||i(560)==r||i(407)==r){delete e[s],n=r,clearInterval(this[i(383)]),this[i(383)]=void 0;break}}i(625)==n&&e[i(440)](i(508)),i(613)==n&&e[i(440)](i(418)),i(587)==n&&e[i(440)](i(363)),i(585)==n&&e[i(440)](i(396),i(615)),i(552)==n&&e[i(440)](i(424)),i(560)==n&&e[i(440)](i(661)),i(407)==n&&e[i(440)](i(652))},1e3)}async[ft(645)](){const t=ft;if(this[t(510)][t(415)]>0){const e=this[t(510)][t(375)](0),i=await this[t(600)](e),n=await this[t(482)](e);this[t(389)](i,n)}}[ft(421)](){const t=ft;super[t(421)](),this[t(383)]&&clearInterval(this[t(383)])}[ft(582)](t){this[ft(665)]=t}async[ft(358)](){const t=ft,e=await this[t(665)][t(636)]();if(e>this[t(616)][t(633)]){await this[t(444)]();const i=this[t(398)]({revision:this[t(616)],to:e});i[t(503)]=i[t(437)][t(638)](e=>this[t(514)][t(362)][t(551)](t(487))[t(578)](e)),this[t(616)][t(431)](i)}}async[ft(557)](e={},i=null){const n=ft,s=[];await this[n(444)](),this[n(504)]=!1,i>this[n(616)][n(633)]&&(i=null),null===i&&(i=await this[n(665)][n(636)]());const r=this[n(387)](i),o=this[n(398)]({from:r,to:i});if(this[n(616)][n(633)]<i){const t=this[n(398)]({revision:this[n(616)],from:i,to:i});t[n(503)]=[],t[n(437)]=[],t.id=this[n(616)].id,this[n(616)][n(431)](t,!0),delete t[n(503)],s[n(392)](t)}e[n(506)]=this[n(514)][n(362)][n(551)](n(487)).me.id,e[n(599)]=e[n(599)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(457)](e);s[n(392)](e);const c=this[n(510)][n(648)](a);if(0!==c){const t=this[n(510)][n(375)](c-1);if(t[n(620)]!==i){const r=this[n(660)][n(577)](i,t[n(633)]),o={id:t.id,diffData:r[n(527)],authorsIds:r[n(437)],authors:r[n(437)][n(638)](t=>this[n(514)][n(362)][n(551)](n(487))[n(578)](t)),fromVersion:i};t===this[n(616)]&&(o[n(380)]=new Date(e[n(380)][n(517)]()+10)),t[n(431)](o,!0),delete o[n(503)],s[n(392)](o)}}if(this[n(509)]){for(const t of s)this[n(498)](t.id,t,!0);this[n(382)]()}return a}[ft(457)](t){const e=ft,i=this[e(510)][e(456)](t);return this[e(509)]&&i.on(e(431),(t,i,n)=>{const s=e;n||(this[s(498)](i.id,i,!0),this[s(382)]())}),this[e(510)][e(570)](i,this[e(441)](i)),i}async[ft(600)](t){const e=ft;return await this[e(629)][e(351)](t,this[e(509)]),this[e(629)][e(600)](t)}async[ft(482)](t){const e=ft;return await this[e(629)][e(351)](t,this[e(509)]),this[e(629)][e(482)](t)}[ft(382)](){const t=ft;if(0===this[t(601)][t(413)])return;if(this[t(561)])return;let e=Array[t(571)](this[t(601)][t(360)]());this[t(601)][t(542)]();for(let i=0;i<e[t(415)];i++){const n=e[i];let s=!1;for(const e of Object[t(357)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(614)](t=>null!==t),!e[t(415)])return;for(let i=0;i<e[t(415)];i++){const n=e[i];void 0!==n[t(620)]&&void 0===n[t(633)]&&(n[t(633)]=this[t(510)][t(375)](n.id)[t(633)]),void 0!==n[t(633)]&&void 0===n[t(620)]&&(n[t(620)]=this[t(510)][t(375)](n.id)[t(620)])}const i=this[t(514)][t(520)][t(551)](t(452));this[t(561)]=!0,this[t(563)](),this[t(509)][t(580)](e,i)[t(597)](()=>{this[t(561)]=!1})[t(579)](e=>{const i=t;if(e)for(const t of e)this[i(586)]({id:t.id,createdAt:t[i(380)]});this[i(567)](),this[i(382)]()})}[ft(398)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(620)],i=null!==i?i:t[n(633)];const s=this[n(660)][n(577)](e,i),r={diffData:s[n(527)],authorsIds:s[n(437)],fromVersion:e,toVersion:i};if(!t||i!==t[n(633)]){const t=i-1,e=this[n(665)][n(534)][n(428)](t);r[n(380)]=e&&e[n(380)]||new Date}if(this[n(657)]&&e===this[n(657)][n(620)])for(const t of this[n(657)][n(503)])r[n(437)][n(486)](t.id)||r[n(437)][n(392)](t.id);return r}[ft(498)](t,e,i){const n=ft;if(this[n(601)][n(602)](t)){const s=this[n(601)][n(551)](t);e=i?{...s,...e}:{...e,...s}}this[n(601)][n(374)](t,e)}[ft(586)](t){const e=ft,i=this[e(510)][e(375)](t.id);if(t[e(380)]&&(t[e(380)]=new Date(t[e(380)])),t[e(437)]){const i=this[e(514)][e(362)][e(551)](e(487));t[e(503)]=t[e(437)][e(638)](t=>i[e(578)](t))}i[e(431)](t,!0)}[ft(364)](t){const e=ft,i=this[e(510)][e(375)](this[e(510)][e(415)]-1);if(i)this[e(631)]=i.id;else{const i=!this[e(514)][e(451)][e(607)][e(666)][e(512)](t=>this[e(514)][e(451)][e(556)](t)),n=this[e(514)][e(362)][e(551)](e(487)).me.id,s=at(this[e(514)][e(526)],e(i?627:653));this[e(370)]({from:t,to:t,id:this[e(631)],name:s,creatorId:n})}}[ft(427)](t){const e=ft,i=this[e(665)][e(670)]();this[e(616)]=this[e(510)][e(375)](i),this[e(616)]||(this[e(616)]=this[e(370)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(444)](){const t=ft;this[t(504)]&&!this[t(657)]&&(await this[t(629)][t(351)](this[t(616)],this[t(509)]),this[t(660)][t(573)](this[t(616)]),this[t(657)]={fromVersion:this[t(616)][t(620)],authors:this[t(616)][t(503)][t(515)]()})}[ft(389)](e,i){const n=ft;let s=this[n(514)][n(520)][n(551)](n(511)),r=this[n(514)][n(520)][n(551)](n(455));if(void 0===s){s={};for(const t of this[n(514)][n(451)][n(607)][n(646)]())s[t]=""}if(n(658)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(514)][n(451)][n(607)][n(646)]())r[t]={}}let o=!1;const a=Object[n(357)](s),c=Object[n(357)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(604)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(357)](r[t])[n(415)]>0){o=!0;break}}o||(o=c[n(611)](t=>!this[n(514)][n(451)][n(607)][n(499)](t))),o&&(0,t.logWarning)(n(469),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(514)][n(520)][n(374)](n(511),e),this[n(514)][n(520)][n(374)](n(455),i)}[ft(563)](){const t=ft;if(!this[t(495)]){const e=this[t(514)][t(362)][t(551)](t(459));this[t(495)]=e[t(516)](at(this[t(514)][t(526)],t(630)))}}[ft(567)](){const t=ft;this[t(495)]&&(this[t(514)][t(362)][t(551)](t(459))[t(466)](this[t(495)]),this[t(495)]=null)}[ft(441)](t){const e=ft,i=this[e(510)][e(404)]();i[e(480)]();let n=0;for(;n<i[e(415)];){const s=i[n];if(s===this[e(616)]){n++;continue}if(s.id===this[e(631)])break;const r=t[e(633)]-s[e(633)]||t[e(620)]-s[e(620)];if(r>0)break;if(r<0)n++;else{if(!t[e(355)]&&s[e(355)])break;if(s[e(355)]||!t[e(355)]){if(t[e(380)]>s[e(380)])break;n++}else n++}}return n}[ft(387)](t){const e=ft,i=this[e(510)][e(404)]();i[e(480)](),i[e(460)]();const n=i[e(512)](i=>i[e(633)]<=t)[e(633)];return n<this[e(397)]?this[e(397)]:n}[ft(370)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(398)]({from:e,to:i});o[r(599)]=t,o[r(506)]=n,o.id=s;const a=this[r(457)](o);return this[r(509)]&&this[r(498)](o.id,o,!0),a}[ft(425)](){const t=ft;this[t(514)][t(416)][t(668)](t(379))[t(395)]({model:t(525)})}}class vt{[ft(514)];[ft(554)];[ft(432)];[ft(442)];[ft(477)];[ft(545)];[ft(569)];[ft(366)];[ft(405)];[ft(596)];[ft(471)];[ft(423)];[ft(598)];[ft(547)];[ft(553)];[ft(399)];[ft(555)];constructor(t){const e=ft;this[e(514)]=t,this[e(432)]=new Map,this[e(442)]=-1,this[e(477)]=-1,this[e(545)]=new Map,this[e(569)]=new Map,this[e(366)]=new Map,this[e(405)]=new Map,this[e(596)]=new Map,this[e(471)]=new Map,this[e(423)]=new Map,this[e(598)]=new Map,this[e(547)]=new Map,this[e(553)]=new Map,this[e(399)]=1}[ft(558)](t){const e=ft;this[e(554)]=t;const i=new Map,n=new Map,s=this[e(514)][e(451)][e(607)][e(666)][e(638)](t=>t[e(369)]);for(const t of s){const s=this[e(514)][e(451)][e(607)][e(499)](t),r=gt(s);i[e(374)](t,r),n[e(374)](t,Object[e(492)](s[e(649)]()))}const r=Array[e(571)](this[e(514)][e(451)][e(584)])[e(638)](t=>[t[e(599)],t[e(575)]()]),o=this[e(554)][e(643)];this[e(372)](o,i,r,n),this[e(555)]=this[e(399)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(374)](t,i),c[e(374)](t,{})}this[e(372)](Number[e(588)],a,[],c)}[ft(577)](t,e){const i=ft;if(this[i(442)]===t&&this[i(477)]<=e)this[i(432)][i(413)]>1&&this[i(438)](this[i(477)]),this[i(386)](this[i(477)],e,!0);else{if(!this[i(432)][i(602)](t)){const e=this[i(566)](t);this[i(353)](e,t,!1)}this[i(353)](t,e,!0)}return this[i(442)]=t,this[i(477)]=e,this[i(505)]()}[ft(573)](t){const e=ft,i=this[e(514)][e(362)][e(551)](e(439));this[e(617)](),this[e(442)]=t[e(620)],this[e(477)]=t[e(633)];for(const n in t[e(527)]){const s=t[e(527)][n][e(650)],r=R(t[e(527)][n][e(619)])||{},o=i[e(356)](t[e(527)][n][e(436)]);o[e(369)]=n,o[e(401)]=!s||!s[e(497)],o[e(497)]=()=>o[e(401)],this[e(405)][e(374)](n,o),this[e(596)][e(374)](n,r),s&&this[e(553)][e(374)](n,s);const a=this[e(502)](o);this[e(423)][e(374)](n,a);for(const[t,i]of o[e(584)]){if(!t[e(354)](e(433)))continue;const n=t[e(612)](":")[2];for(const t of i[e(574)]({singleCharacters:!0})){const i=this[e(420)](t),s=e(465)==t[e(538)]?t[e(634)][e(559)][e(515)](0,-1):t[e(634)][e(559)],r=a[e(664)](s)[e(546)](i);this[e(598)][e(374)](r,{userId:n})}}}this[e(555)]=this[e(399)];const n=[...Array(this[e(399)])[e(357)]()][e(515)](1)[e(614)](t=>!this[e(598)][e(602)](t));let s=0;const r=new Map;for(const o in t[e(527)]){const a=t[e(527)][o][e(650)],c=R(t[e(527)][o][e(422)])||{},u=i[e(356)](t[e(527)][o][e(377)]);u[e(369)]=o,u[e(401)]=!a||a[e(497)],u[e(497)]=()=>u[e(401)],this[e(569)][e(374)](o,u),this[e(366)][e(374)](o,c);const l=this[e(502)](u,Number[e(588)]);this[e(471)][e(374)](o,l),r[e(374)](o,u[e(497)]()?c:{});for(const[t,i]of u[e(584)]){if(!t[e(354)](e(433)))continue;const n=t[e(612)](":")[2];for(const t of i[e(574)]({singleCharacters:!0})){const i=this[e(420)](t),s=this[e(399)]++,r=e(465)==t[e(538)]?t[e(634)][e(559)][e(515)](0,-1):t[e(634)][e(559)];l[e(664)](r)[e(663)](i,s),this[e(598)][e(374)](s,{userId:n})}}for(const t of this[e(514)][e(451)][e(535)](u)[e(574)]({singleCharacters:!0})){const i=this[e(420)](t),r=e(465)==t[e(538)]?t[e(634)][e(559)][e(515)](0,-1):t[e(634)][e(559)],o=l[e(664)](r);o[e(546)](i)>0||o[e(663)](i,n[s++])}for(const[t,i]of u[e(584)])t[e(354)](e(433))||this[e(545)][e(374)](t,i)}const o=kt(e(529));this[e(405)][e(374)](e(529),o),this[e(423)][e(374)](e(529),this[e(502)](o,1));const a=kt(e(529));this[e(569)][e(374)](e(529),a),this[e(471)][e(374)](e(529),this[e(502)](a,1));const c=Array[e(571)](this[e(569)])[e(638)](([t,e])=>[t,gt(e)]);this[e(372)](this[e(477)],c,this[e(545)],r)}[ft(491)](){const t=ft;this[t(617)](),this[t(442)]=-1,this[t(477)]=-1,this[t(432)][t(542)](),this[t(558)](this[t(554)])}[ft(372)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(374)](t,{start:e[s(472)][s(640)](),end:e[s(532)][s(640)](),rootName:e[s(608)][s(369)]});this[s(432)][s(374)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(438)](t){const e=ft;this[e(432)][e(530)](t)}[ft(617)](){const t=ft;this[t(598)][t(542)](),this[t(547)][t(542)](),this[t(553)][t(542)](),this[t(569)][t(542)](),this[t(366)][t(542)](),this[t(405)][t(542)](),this[t(596)][t(542)](),this[t(471)][t(542)](),this[t(423)][t(542)](),this[t(545)][t(542)](),this[t(399)]=1,this[t(555)]=this[t(399)]}[ft(502)](t,e=null){const i=ft;let n=null;t.is(i(475))||(n=new K.ModelElement(t[i(599)],{vid_start:null===e?this[i(399)]++:e++}));const s=[];for(const n of t[i(400)]())if(n.is(i(496))){s[i(392)](this[i(502)](n,e));const t=s[s[i(415)]-1];null!==e&&(e=t.is(i(496),i(610))?t[i(546)](i(417))+1:t[i(546)](i(352))+1)}else for(let t=0;t<n[i(589)];t++)s[i(392)](new K.ModelElement(i(610),{vid:null===e?this[i(399)]++:e++}));if(t.is(i(475))){const e=kt(t[i(369)]);return e[i(385)](0,s),e}return n[i(663)](i(352),null===e?this[i(399)]++:e++),n[i(385)](0,s),n}[ft(353)](t,e,i){const n=ft;this[n(617)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(432)][n(551)](t);this[n(405)]=new Map(s),this[n(596)]=new Map(R(o));for(const[t,e]of this[n(405)])if(n(529)!==t&&(this[n(569)][n(374)](t,gt(e)),this[n(366)]=new Map(R(o)),i)){const i=this[n(399)];this[n(471)][n(374)](t,this[n(502)](e)),this[n(423)][n(374)](t,this[n(502)](e,i))}this[n(555)]=this[n(399)],this[n(569)][n(374)](n(529),gt(this[n(405)][n(551)](n(529)))),i&&this[n(471)][n(374)](n(529),this[n(502)](this[n(405)][n(551)](n(529))));for(const[t,e]of r){const i=this[n(405)][n(551)](e[n(369)]),s=this[n(569)][n(551)](e[n(369)]),r=new K.ModelRange(this[n(371)](e[n(472)],i),this[n(371)](e[n(532)],i)),o=this[n(458)](r,s);i[n(584)][n(374)](t,r),this[n(545)][n(374)](t,o)}this[n(386)](t,e,i)}[ft(386)](t,e,i){const n=ft;for(const s of this[n(554)][n(519)](t,e))this[n(626)](s,i);for(const t of this[n(569)][n(360)]())t[n(584)][n(542)]();for(const[t,e]of this[n(545)])this[n(569)][n(551)](e[n(608)][n(369)])[n(584)][n(374)](t,e[n(640)]());const s=new Map,r=new Map;for(const[t,e]of this[n(569)])s[n(374)](t,gt(e)),r[n(374)](t,this[n(366)][n(551)](t));this[n(372)](e,s,this[n(545)],r)}[ft(566)](t){const e=ft,i=Array[e(571)](this[e(432)][e(357)]());i[e(445)]((t,e)=>t-e),i[e(480)]();for(const e of i)if(e<t)return e;return Number[e(588)]}[ft(548)](t,e){const i=ft,n=Array[i(571)](e[i(584)])[i(638)](([e,n])=>[e,this[i(458)](n,t)]);t[i(584)]=new Map(n)}[ft(623)](t){const e=ft;for(const i of this[e(545)][e(360)]()){const n=i[e(484)](t),s=K.ModelRange[e(463)](n);i[e(472)]=s[e(472)],i[e(532)]=s[e(532)]}}[ft(626)](t,e){const i=ft;if(i(618)!=t[i(538)]&&i(644)!=t[i(538)]){if(i(635)==t[i(538)]){const n=t[i(388)][i(608)][i(369)];this[i(569)][i(602)](n)||(this[i(569)][i(374)](n,kt(n,!0)),this[i(366)][i(374)](n,{}),e&&this[i(471)][i(374)](n,kt(n,!0)))}else{if(i(403)==t[i(538)]||i(667)==t[i(538)]||i(464)==t[i(538)])return void this[i(639)](t);i(605)==t[i(538)]&&this[i(481)](t)}if(i(605)!==t[i(538)]){const e=this[i(523)](t,this[i(569)]);e[i(568)](),this[i(623)](e)}if(e)switch(t[i(538)]){case i(635):this[i(408)](t);break;case i(641):case i(466):case i(450):this[i(521)](t);break;case i(462):this[i(449)](t);break;case i(612):this[i(435)](t)}}else this[i(536)](t,e)}[ft(523)](t,e){const i=ft,n=t[i(640)]();return n[i(488)]=t[i(488)],this[i(381)](n,e),n}[ft(391)](t){const e=ft;return t[e(638)](t=>{const i=e,n=this[i(420)](t);return Number(t[i(394)][i(546)](n))})}[ft(513)](t,e){const i=ft;if(t.is(i(496),i(610)))e[i(392)]({item:t,type:i(446)});else{t.is(i(496))&&e[i(392)]({item:t,type:i(489)});for(const n of t[i(400)]())this[i(513)](n,e);t.is(i(496))&&e[i(392)]({item:t,type:i(465)})}return e}[ft(505)](){const t=ft,e=new Map(this[t(598)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(405)][t(357)](),...this[t(569)][t(357)]()]);a[t(530)](t(529));for(const e of a){const i=this[t(569)][t(551)](e)||kt(e,!1),n=this[t(405)][t(551)](e)||kt(e,!1);i[t(497)]()||n[t(497)]()?(s[t(377)][e]=gt(i),s[t(436)][e]=gt(n),this[t(548)](s[t(436)][e],n),this[t(548)](s[t(377)][e],i),r[t(377)][e]=this[t(513)](this[t(471)][t(551)](e),[]),r[t(436)][e]=this[t(513)](this[t(423)][t(551)](e)||kt(e,!1),[])):a[t(530)](e)}for(const s of a){const o=r[t(377)][s];for(const s of o){const r=this[t(420)](s),o=s[t(394)][t(546)](r);i[t(530)](o),o>=this[t(555)]&&n[t(374)](o,e[t(551)](o))}}for(const s of a){const a=r[t(377)][s],c=this[t(391)](r[t(436)][s]);let u=0;for(const s of a){const r=this[t(420)](s),a=s[t(394)][t(546)](r);if(!n[t(602)](a)&&!o[t(602)](a))if(i[t(602)](a))u++;else{if(a!=c[u]){const n=e[t(551)](a)||e[t(551)](c[u]);for(;a!=c[u];)i[t(602)](c[u])||(o[t(374)](c[u],n),e[t(374)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(377)][e];for(const e of s){const s=this[t(420)](e),r=e[t(394)][t(546)](s);if(o[t(602)](r)){const e=o[t(551)](r);i[t(602)](r)||i[t(374)](r,{...e}),n[t(374)](r,{...e})}}}for(const e of i[t(357)]())e>=this[t(555)]&&i[t(530)](e);const c=new Map;for(const e of a){let s=r[t(377)][e];for(const e of s)if(e[t(394)].is(t(496),t(368))){const i=this[t(420)](e),s=e[t(394)][t(546)](i);if(n[t(602)](s)){const i=e[t(394)][t(430)][t(430)][t(546)](t(373)),r=c[t(551)](i)||new Set;r[t(516)](n[t(551)](s)[t(426)]),c[t(374)](i,r)}}s=r[t(436)][e];for(const e of s)if(e[t(394)].is(t(496),t(368))){const n=this[t(420)](e),s=e[t(394)][t(546)](n);if(i[t(602)](s)){const n=e[t(394)][t(430)][t(430)][t(546)](t(373)),r=c[t(551)](n)||new Set;r[t(516)](i[t(551)](s)[t(426)]),c[t(374)](n,r)}}for(const e of c[t(357)]())(n[t(602)](e)||i[t(602)](e))&&c[t(530)](e)}for(const e of a){const s=r[t(377)][e];let o=null,a=null;for(const e of s){const s=this[t(420)](e),r=e[t(394)][t(546)](s),u=c[t(551)](r);u&&t(489)==e[t(538)]&&(o=Array[t(571)](u)[0],a=e[t(394)][t(546)](t(352))),o&&(i[t(374)](r,{userId:o}),n[t(374)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(436)][e],a=s[t(377)][e];for(const{userId:e}of this[t(547)][t(360)]())null!==e&&l[t(516)](e);for(const{userId:e}of this[t(553)][t(360)]())null!==e&&l[t(516)](e);this[t(562)](a,r[t(377)][e],n,t(662),l),this[t(562)](o,r[t(436)][e],i,t(365),l),u[e]={insertions:this[t(543)](a),deletions:this[t(543)](o),attachChange:this[t(553)][t(551)](e)||null,attributesBefore:R(this[t(596)][t(551)](e))||{},attributesAfter:R(this[t(366)][t(551)](e))}}return{diffData:u,authorsIds:Array[t(571)](l)}}[ft(419)](t){const e=ft;for(const[,i]of t[e(584)]){const t=i[e(472)][e(624)]()[e(614)](t=>e(368)==t[e(599)]);for(const i of t)1==i[e(537)]&&i[e(522)](0).is(e(496),e(603))&&i[e(522)](0)[e(663)](e(671),!0)}}[ft(543)](t){const e=ft;this[e(419)](t);const i=this[e(514)][e(412)][e(468)](t,{}),n=Array[e(571)](i[e(400)]())[e(638)](t=>this[e(583)](t));return JSON[e(378)](n)}[ft(583)](t){const e=ft;if(t.is(e(610)))return t[e(412)];{const i=this[e(514)][e(362)][e(551)](e(439)),n=t,s=this[e(514)][e(412)][e(476)][e(518)],r={type:i[e(594)](n),name:n[e(599)],attributes:Array[e(571)](n[e(649)]()),children:Array[e(571)](n[e(400)]())[e(638)](t=>this[e(583)](t))};if(t.is(e(540))&&e(429)!=t[e(599)]){const i=t[e(564)](s[e(350)],s);r[e(593)][e(392)](i[e(590)])}else if(t.is(e(453))){const i=s[e(350)][e(609)](n[e(599)]);t[e(564)](i,s),r[e(593)][e(392)](i[e(592)])}const o=Array[e(571)](n[e(461)]());o[e(415)]>0&&(r[e(434)]=o);const a=n[e(622)]();return null!==a&&(r[e(470)]=a),r}}[ft(562)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(514)][r(451)];for(let n=0;n<e[r(415)];n++){const s=this[r(420)](e[n]),c=e[n][r(394)][r(546)](s),h=i[r(551)](c),d=n==e[r(415)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(426)]!=o[r(426)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(426)],d=l(433)+n+":"+h+":"+c++,f=u[l(581)](i,a);t[l(584)][l(374)](d,f),null!==h&&s[l(516)](h)}}[ft(420)](t){const e=ft;switch(t[e(538)]){case e(489):return e(373);case e(465):return e(352);default:return e(417)}}[ft(381)](t,e){const i=ft;t[i(483)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(551)](s[i(608)][i(369)]);t[n]=this[i(371)](s,r)}if(s instanceof K.ModelRange){const r=e[i(551)](s[i(608)][i(369)]);t[n]=this[i(458)](s,r)}i(608)===n&&(t[i(608)]=e[i(551)](t[i(608)][i(369)]))}}[ft(458)](t,e){const i=ft;return this[i(514)][i(451)][i(581)](this[i(371)](t[i(472)],e),this[i(371)](t[i(532)],e))}[ft(371)](t,e){const i=ft;return this[i(514)][i(451)][i(390)](e,t[i(559)],t[i(414)])}[ft(408)](t){const e=ft,i=this[e(471)][e(551)](t[e(388)][e(608)][e(369)]),n=this[e(371)](t[e(388)],i),s=null===t[e(488)]?null:t[e(488)]||this[e(514)][e(362)][e(551)](e(487)).me.id,r=n[e(430)],o=this[e(399)],a=[];for(const i of t[e(669)])if(i.is(e(496)))a[e(392)](this[e(502)](i));else for(let t=0;t<i[e(589)];t++)a[e(392)](new K.ModelElement(e(610),{vid:this[e(399)]++}));const c=this[e(399)];for(let t=o;t<c;t++)this[e(598)][e(374)](t,{userId:s});r[e(385)](n[e(655)],a)}[ft(521)](t){const e=ft;(t=this[e(523)](t,this[e(471)]))[e(568)]();const i=null===t[e(488)]?null:t[e(488)]||this[e(514)][e(362)][e(551)](e(487)).me.id,n=t[e(524)](),s=n[e(430)],r=n[e(655)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(522)](e);r.is(a(496),a(610))?n[a(374)](r[a(546)](a(417)),{userId:i}):(n[a(374)](r[a(546)](a(373)),{userId:i}),t(n,r,0,r[a(537)]),n[a(374)](r[a(546)](a(352)),{userId:i}))}}(this[e(598)],s,r,r+t[e(406)])}[ft(449)](t){const e=ft,i=null===(t=this[e(523)](t,this[e(471)]))[e(488)]?null:t[e(488)]||this[e(514)][e(362)][e(551)](e(487)).me.id,n=t[e(402)][e(430)],s=t[e(656)][e(430)],r=n[e(546)](e(352)),o=s[e(546)](e(373));n[e(663)](e(352),s[e(546)](e(352))),s[e(663)](e(352),r),this[e(598)][e(374)](o,{userId:i}),this[e(598)][e(374)](r,{userId:i}),t[e(568)]()}[ft(435)](t){const e=ft,i=null===(t=this[e(523)](t,this[e(471)]))[e(488)]?null:t[e(488)]||this[e(514)][e(362)][e(551)](e(487)).me.id,n=t[e(443)],s=t[e(490)][e(430)];t[e(568)]();const r=s[e(546)](e(352)),o=t[e(533)][e(493)];if(n){const t=o[e(546)](e(352)),n=s[e(546)](e(352));s[e(663)](e(352),t),o[e(663)](e(352),n),this[e(598)][e(374)](s[e(546)](e(352)),{userId:i}),this[e(598)][e(374)](o[e(546)](e(373)),{userId:i})}else{const t=this[e(399)]++,n=this[e(399)]++;s[e(663)](e(352),t),o[e(663)](e(373),n),o[e(663)](e(352),r),this[e(598)][e(374)](t,{userId:i}),this[e(598)][e(374)](n,{userId:i})}}[ft(481)](t){const e=ft;if(!t[e(621)])return;const i=(t=this[e(523)](t,this[e(569)]))[e(447)]?t[e(447)][e(608)]:null,n=t[e(454)]?t[e(454)][e(608)]:null;i&&this[e(545)][e(530)](t[e(599)]),n&&this[e(545)][e(374)](t[e(599)],t[e(454)][e(640)]());const s=null===t[e(488)]?null:t[e(488)]||this[e(514)][e(362)][e(551)](e(487)).me.id,r=t[e(599)];if(!this[e(547)][e(602)](r))return void this[e(547)][e(374)](r,{range:t[e(447)],userId:s});const o=this[e(547)][e(551)](r),a=o[e(549)],c=t[e(454)];null==a&&null==c||a&&c&&a[e(632)](c)?this[e(547)][e(530)](t[e(599)]):o[e(426)]=s}[ft(536)](t,e){const i=ft;this[i(569)][i(602)](t[i(369)])?this[i(569)][i(551)](t[i(369)])[i(401)]=t[i(637)]:(this[i(569)][i(374)](t[i(369)],kt(t[i(369)],!0)),this[i(366)][i(374)](t[i(369)],{}),e&&this[i(471)][i(374)](t[i(369)],kt(t[i(369)],!0)));const n=null===t[i(488)]?null:t[i(488)]||this[i(514)][i(362)][i(551)](i(487)).me.id,s=this[i(553)][i(551)](t[i(369)]);s&&s[i(426)]===n?this[i(553)][i(530)](t[i(369)]):this[i(553)][i(374)](t[i(369)],{userId:n,isAttached:t[i(637)]})}[ft(639)](t){const e=ft,i=this[e(366)][e(551)](t[e(608)][e(369)]);null===t[e(659)]?delete i[t[e(361)]]:i[t[e(361)]]=t[e(659)]}}function gt(t){const e=ft,i=kt(t[e(369)],t[e(497)]());for(const n of t[e(400)]()){const t=n[e(467)](!0);i[e(473)](t)}return i}function yt(){const t=["_prepareViewToSave","9fVaANR","_markers","getAttribute","_touchedMarkers","_copyMarkers","range","createPositionBefore","get","revisionHistoryLicenseKeyEvaluationLimit","_touchedRoots","source","_startingRevisionId","hasContent","saveRevision","init","path","revisionHistoryLicenseKeyTrialLimit","_isPendingUpdate","_markChanges","_addPendingAction","render","isOfficialPlugin","_getPreviousFrom","_removePendingAction","_execute","_diffRoots","addRevision","from","requires","loadState","getWalker","getRange","isEnabled","getData","getUser","then","updateRevisions","createRange","setSource","_getViewJson","markers","revisionHistoryLicenseKeyNotAllowed","setRevisionData","revisionHistoryLicenseKeyDomainLimit","NEGATIVE_INFINITY","offsetSize","outerHTML","max","innerHTML","children","_getTypeCharForViewElement","6186668ffsupu","_baseRootsAttributes","finally","_touched","name","getRevisionDocumentData","_bufferedUpdates","has","paragraph","trim","marker","bind","document","root","createElement","$text","some","split","revisionHistoryLicenseKeyExpired","filter","RevisionHistory","currentRevision","_reset","addRoot","attributesBefore","fromVersion","affectsData","getFillerOffset","_transformMarkers","getAncestors","revisionHistoryLicenseKeyInvalid","_handleOperation","Empty document","upcast","_utils","PENDING_ACTION_REVISION_HISTORY","_initialRevisionId","isEqual","toVersion","previousPosition","insert","getLatestVersion","isAdd","map","_handleRootAttributeOperation","clone","move","ready","version","detachRoot","afterInit","getRootNames","revisionHistoryLicenseKeyValid","getIndex","getAttributes","attachChange","isReady","usageLimit","Initial revision","isPremiumPlugin","offset","sourcePosition","_loadedStateData","string","newValue","_revisionDataBuilder","trialLimit","insertion","_setAttribute","getNodeByPath","_source","roots","removeRootAttribute","for","nodes","getCurrentRevisionId","keepParagraph","RevisionsRepository","domDocument","loadRevisionData","vid_end","_calculateMetaData","startsWith","creator","_makeModelFromViewString","keys","update","10567780ScgzQP","values","key","plugins","domainLimit","_createInitialRevision","deletion","_diffRootsAttributes","licenseKey","tableCell","rootName","_makeRevision","_fixPosition","_saveMetaData","vid_start","set","getRevision","createPositionAt","insertions","stringify","dataDowncast","createdAt","_fixOperation","sendBufferedUpdates","_licenseKeyCheckInterval","initial","_insertChild","_applyOperations","_getFromVersion","position","_replaceEditorDataWithRevisionData","createPositionFromPath","_getBaseVids","push","3CEsGvt","item","markerToData","featureNotAllowed","_startingVersion","buildRevisionData","_revisionId","getChildren","_isAttached","targetPosition","addRootAttribute","getRevisions","_baseRoots","howMany","revisionHistoryLicenseKeyUsageLimit","_handleInsertOperation","define","resolve","6954563fCrNmZ","data","size","stickiness","length","conversion","vid","expired","_processRootBeforeSave","_getVidAttributeName","destroy","attributesAfter","_baseIdsRoots","evaluationLimit","_setConversion","userId","_createCurrentRevision","getOperation","$comment","parent","_update","_savedMetaData","revision:","customProperties","_handleSplitOperation","deletions","authorsIds","_removeMetaData","RevisionHistoryUtils","_showLicenseError","_findInsertionIndex","_lastFrom","graveyardPosition","_loadState","sort","text","oldRange","revisionHistory.resumeUnsavedRevision","_handleMergeOperation","reinsert","model","collaboration.channelId","rawElement","newRange","rootsAttributes","createRevision","addRevisionData","_fixRange","PendingActions","shift","getCustomProperties","merge","_createFromRanges","changeRootAttribute","elementEnd","remove","_clone","toView","editor-initial-data-replaced-with-revision-data","fillerOffset","_idsRoots","start","_appendChild","RealTimeCollaborationClient","documentFragment","htmlProcessor","_lastTo","5SYOEhr","dataToMarker","reverse","_handleMarkerOperation","getRevisionRootsAttributes","baseVersion","getTransformedByOperation","pluginName","includes","Users","_authorId","elementStart","splitPosition","reInit","fromEntries","nodeAfter","_isInit","_pendingAction","element","isAttached","_bufferUpdate","getRoot","RevisionTracker","5037108UkvZDR","_makeIdsRoot","authors","_continueCurrentRevision","_getState","creatorId","610523wrsqpa","invalid","adapter","repository","initialData","find","_generateTape","editor","slice","add","getTime","domConverter","getOperations","config","_handleMoveOperation","getChild","_cloneOperation","getMovedRangeStart","revision","locale","diffData","8791016ZsJyQO","$graveyard","delete","createPositionAfter","end","insertionPosition","history","createRangeIn","_handleRootOperation","childCount","type","_operations","uiElement","2349112CpreQg","clear"];return(yt=function(){return t})()}function kt(t,e=!0){const i=ft,n=new K.ModelDocumentFragment;return n[i(369)]=t,n[i(401)]=e,n[i(497)]=()=>n[i(401)],n}function bt(t,e,i){const n=ft,s=n(465)==t[n(538)]?i[n(376)](t[n(394)],n(532)):i[n(550)](t[n(394)]);return i[n(390)](e,s[n(559)],s[n(414)])}function wt(t,e,i){const n=ft,s=n(489)==t[n(538)]?i[n(376)](t[n(394)],0):i[n(531)](t[n(394)]);return i[n(390)](e,s[n(559)],s[n(414)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Rt=i(302),Mt=i.n(Rt),Et=i(290),Dt=i.n(Et),Vt=i(16),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Vt.A,Ct);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ft=i(618),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=Ut();return(Pt=function(t,e){return i[t-=388]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(413658===-parseInt(e(420))/1*(-parseInt(e(423))/2)+-parseInt(e(395))/3*(-parseInt(e(407))/4)+parseInt(e(405))/5*(parseInt(e(414))/6)+-parseInt(e(406))/7+parseInt(e(394))/8+parseInt(e(411))/9*(parseInt(e(397))/10)+-parseInt(e(418))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(391)];[Lt(409)];[Lt(388)];constructor(e,i){const n=Lt;super(e),this[n(391)]=new t.FocusTracker,this[n(409)]=new t.KeystrokeHandler,this[n(404)](n(421),""),this[n(388)]=this[n(427)](i),this[n(429)]({tag:n(428),attributes:{class:["ck",n(390),n(396)],tabindex:"-1"},children:[this[n(388)]]}),this[n(430)]()}[Lt(432)](){const t=Lt;super[t(432)](),(0,It.submitHandler)({view:this}),this[t(391)][t(417)](this[t(388)][t(415)]),this[t(409)][t(416)](this[t(415)]);const e=e=>e[t(425)]();this[t(409)][t(404)](t(399),e),this[t(409)][t(404)](t(413),e),this[t(409)][t(404)](t(419),e),this[t(409)][t(404)](t(408),e)}[Lt(392)](){const t=Lt;this[t(388)][t(392)]()}get[Lt(398)](){const t=Lt;return this[t(388)][t(389)][t(415)][t(402)][t(403)]()}set[Lt(398)](t){const e=Lt;this[e(388)][e(389)][e(415)][e(402)]=t[e(403)]()}[Lt(426)](){const t=Lt;this[t(388)][t(389)][t(415)][t(402)]="",this[t(388)][t(422)]=null}[Lt(427)](t){const e=Lt,i=new It.LabeledFieldView(this[e(412)],It.createLabeledInputText),n=i[e(389)];n[e(431)]({attributes:{maxlength:e(400)}});let s=at(this[e(412)],e(401));return!t&&(s+=" ("+at(this[e(412)],e(393))+")"),i[e(424)]=s,n.on(e(410),()=>{const t=e;this[t(421)]=n[t(415)][t(402)][t(403)]()}),i}}function Ut(){const t=["trim","set","985ItxUAU","2623040JSHVsS","7740XZxVig","arrowdown","keystrokes","input","45qzvQUC","locale","arrowleft","7314VHcINy","element","listenTo","add","7081349fDjDJH","arrowup","1tUMOQa","revisionNameInputValue","errorText","750146JEBExV","label","stopPropagation","reset","_createRevisionNameInput","form","setTemplate","initializeCssTransitionDisablerMixin","extendTemplate","render","revisionNameInputView","fieldView","ck-revision-history-save-revision-form","focusTracker","focus","optional","2277168kbdUMx","531NSrskX","ck-responsive-form","379560UEkpbP","revisionName","arrowright","220","Name of the revision","value"];return(Ut=function(){return t})()}const Ht=Zt;function Wt(){const t=["isReady","delegate","set","showRevisionViewerCallback","saveRevision","pluginName","add","65172WPAlbe","revisionName","requires","buttonView","addMany","reset","errorText","items","Open revision history","isEnabled","51406jqPerg","show","editor","ck-button-action","isOpen","92tEsyRT","revisionSave","submit","revisionNameInputView","_registerMenuComponent","Dialog","16719672AMkfaQ","revisionHistory","14LGBaJp","revisionHistory.requireRevisionName","Cancel","menu","role","_createSaveRevisionFormView","editing","config","Revision history","6809264jEllck","menuitem","children","focus","isOfficialPlugin","The revision name cannot be empty.","get","hide","RevisionHistoryUI","_showDialog","execute","2735384CxyBhR","2mzVtib","componentFactory","10359gCjkKv","_saveRevisionFormView","RevisionTracker","panelView","Save current revision","isPremiumPlugin","Accept","view","bind","menuBar:revisionHistory","init","render","5860XnvHpd","45ocIram","plugins","27486VYqDAM","locale","isReadOnly"];return(Wt=function(){return t})()}function Zt(t,e){const i=Wt();return(Zt=function(t,e){return i[t-=230]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(376625===-parseInt(e(285))/1*(-parseInt(e(251))/2)+parseInt(e(241))/3*(-parseInt(e(256))/4)+-parseInt(e(300))/5*(-parseInt(e(231))/6)+-parseInt(e(264))/7*(-parseInt(e(284))/8)+-parseInt(e(287))/9*(parseInt(e(299))/10)+-parseInt(e(273))/11+parseInt(e(262))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class qt extends G.Plugin{static get[Ht(239)](){return Ht(281)}static get[Ht(277)](){return!0}static get[Ht(292)](){return!0}static get[Ht(243)](){return[pt]}[Ht(288)];[Ht(297)](){const t=Ht,e=this[t(253)],i=e[t(230)][t(279)](t(289));e.ui[t(286)][t(240)](t(263),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(290)][s(275)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(295)](s(250)).to(i,s(234),i,s(250),e,s(233),(t,e,i)=>t&&e&&!i),r[s(244)][s(236)]({icon:_t.IconHistory,label:at(n,s(272)),tooltip:!0}),u[s(236)]({label:at(n,s(291)),withText:!0,role:s(274)}),u[s(295)](s(250)).to(i,s(234),i,s(250),e,s(233),(t,e,i)=>t&&e&&!i),u.on(s(283),()=>this[s(282)]()),h[s(236)]({label:at(n,s(249)),withText:!0,role:s(274)}),h[s(295)](s(250)).to(i,s(234),e,s(233),(t,e)=>t&&!e),h.on(s(283),()=>{const t=s;e[t(271)][t(279)](t(263))[t(237)](),r[t(255)]=!1,e[t(270)][t(294)][t(276)]()}),c[s(275)][s(240)](u),l[s(275)][s(240)](h),a[s(268)]=s(267),a[s(248)][s(245)]([c,l]),o[s(240)](a),r}),e.ui[t(286)][t(240)](t(296),()=>this[t(260)]())}[Ht(260)](){const t=Ht,e=this[t(253)],i=e[t(232)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(244)][t(236)]({icon:_t.IconHistory,label:at(i,t(272))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(236)]({label:at(i,t(291))}),o[t(235)](t(283)).to(n),o.on(t(283),()=>{this[t(282)]()}),r[t(275)][t(240)](o),s[t(248)][t(240)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(236)]({label:at(i,t(249))}),c[t(235)](t(283)).to(n),c.on(t(283),()=>{const i=t;e[i(271)][i(279)](i(263))[i(237)]()}),a[t(275)][t(240)](c),s[t(248)][t(240)](a),n[t(290)][t(275)][t(240)](s),n}[Ht(282)](){const t=Ht,e=this[t(253)],i=e[t(232)],n=e[t(230)][t(279)](t(261)),s=e[t(230)][t(279)](t(289));function r(s){const r=t;e[r(271)][r(279)](r(265))&&""===s[r(242)]?s[r(259)][r(247)]=at(i,r(278)):(e[r(230)][r(279)](pt)[r(238)]({name:s[r(242)]}),n[r(280)]())}this[t(288)]||(this[t(269)](),this[t(288)].on(t(258),()=>r(this[t(288)]))),this[t(288)][t(246)](),n[t(252)]({id:t(257),title:at(i,t(291)),isModal:!0,content:this[t(288)],actionButtons:[{label:at(e[t(232)],t(266)),withText:!0,onExecute:()=>n[t(280)]()},{label:at(e[t(232)],t(293)),class:t(254),withText:!0,onCreate(i){const n=t;i[n(295)](n(250)).to(s,n(234),s,n(250),e,n(233),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(288)])}]})}[Ht(269)](){const t=Ht,e=this[t(253)],i=e[t(232)];this[t(288)]=new zt(i,e[t(271)][t(279)](t(265))),this[t(288)][t(298)]()}}function $t(t,e){const i=Yt();return($t=function(t,e){return i[t-=440]})(t,e)}const Bt=$t;function Yt(){const t=["Removed by","3913890oeBFEj","ck-revision-change__","5585990EXnLsd","3859456swyohr","focus","add","data","changeId","Suggested by","Added by","bindTemplate","setTemplate","ck-annotation","set","_model","isSuggestion","type","ck-revision-change","ck-revision-change__label","1275535KfuHyt","7BqLAdI","9aytqmX","author","312CWrxbv","element","20271pAGBkG","11387072iPiuBM","div","name","29877XPqoLP","span"];return(Yt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(953964===parseInt(e(457))/1+-parseInt(e(455))/2*(-parseInt(e(461))/3)+parseInt(e(467))/4+-parseInt(e(451))/5+parseInt(e(464))/6*(parseInt(e(452))/7)+-parseInt(e(458))/8+-parseInt(e(453))/9*(parseInt(e(466))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[Bt(471)];[Bt(446)];constructor(t,e){const i=Bt;super(t),this[i(446)]=e,this[i(471)]=e.id;const n=this[i(442)],s=at(t,e[i(470)][i(447)]?i(440):i(469)==e[i(448)]?i(441):i(463));this[i(445)](i(448),e[i(448)]),this[i(443)]({tag:i(459),attributes:{class:[i(444),i(449),n.to(i(448),t=>i(465)+t)],tabindex:-1},children:[{tag:i(462),children:[{tag:i(462),attributes:{class:[i(450)]},children:[{text:s}]},{text:" "+e[i(454)][i(460)]}]}]})}[Bt(468)](){const t=Bt;this[t(456)][t(468)]()}}function Gt(){var t=["author","2082pFkwuw","4HhubLX","2110888UJburS","949328TNvCsq","7147DGtluP","111859aTiRYS","238337HjaPTF","set","type","rootName","toJSON","474066TsFgQG","8293932vMUmUl","440JNdDJT","data","10ltpzYM","createdAt"];return(Gt=function(){return t})()}function Qt(t,e){var i=Gt();return(Qt=function(t,e){return i[t-=222]})(t,e)}var Kt=Qt;!function(t){for(var e=Qt,i=t();;)try{if(539698===-parseInt(e(232))/1*(parseInt(e(227))/2)+parseInt(e(237))/3+parseInt(e(229))/4*(parseInt(e(223))/5)+-parseInt(e(226))/6*(parseInt(e(230))/7)+parseInt(e(228))/8+parseInt(e(238))/9+parseInt(e(239))/10*(-parseInt(e(231))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Xt extends((0,t.ObservableMixin)()){id;[Kt(225)];[Kt(234)];[Kt(222)];[Kt(235)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(225)]=e[i(225)],this[i(234)]=e[i(234)],this[i(222)]=e[i(222)]||{},this[i(235)]=e[i(235)],this[i(233)](i(224),e[i(224)])}[Kt(236)](){var t=Kt;return{id:this.id,authorId:this[t(225)].id,type:this[t(234)],data:this[t(222)],createdAt:this[t(224)]}}}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=282]})(t,e)}const ee=te;function ie(){const t=["178UUUaWf","3393200oRbluq","2477754bGxTjZ","10119416YnZuau","_setChanges","add","18aNROJA","changes","1002515dSwGFG","30276eREiYt","4421137sffTvx","381tUJmGs","9144XAutOx","newRevisionId","oldRevisionId"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(730246===parseInt(e(295))/1*(-parseInt(e(292))/2)+parseInt(e(291))/3*(parseInt(e(289))/4)+parseInt(e(288))/5*(parseInt(e(286))/6)+parseInt(e(290))/7+-parseInt(e(283))/8+parseInt(e(282))/9+parseInt(e(296))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[ee(293)];[ee(294)];[ee(287)];constructor(e,i){const n=ee;this[n(293)]=e,this[n(294)]=i,this[n(287)]=new t.Collection}[ee(284)](t){const e=ee;for(const i of t)this[e(287)][e(285)](i)}}var se=i(890),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;function oe(){const t=["bottom","start","_markMarkers","isOnRoot","diffData","ck-revision-history-root-remove","mouseover","getClientRects","newRevisionId","elementToAttribute","getItems","unbindElementFromMarkerName","editor","affectsData","attributesBefore","nextPosition","_makeModelFromViewString","changes","toViewRange","revisionHistoryAttachChange","plugins","pop","offsetSize","_getDiff","consume","getIndex","upcast","createPositionBefore","_balloon","execute","getAttribute","enableReadOnlyMode","type","isContent","15710bOvdEV","_removeUnsupportedChanges","domEvent","_initInteractions","pluginName","ck-revision-history-root-add","isEqual","suggestion","addMarker:revision","consumable","isOfficialPlugin","markers","numberOfChanges","high","first","_removeMissingPairs","elementStart","abs","compare","has","data","push","then","highest","7202024WuttmH","attributesAfter","addClass","23685LZnvWE","endIndex","_setConversion","catch","ck-editor__editable__overlay","1810467qwaMBY","markerToData","_appendChild","addHighlight","11022bdMqVP","_findChangeIdFromDomTarget","userId","setAttribute","toViewElement","init","length","ck-suggestion-preview-marker","split","all","vid_start","addRoot","attribute:vid","name","addMarker:revision-suggestion:deletion","getLaterVisibleRevision","isAdded","next","_revisions","pairId","markerNameToElements","getWalker","vid","bindElementToMarker","startsWith","isRemoved","filter","downcastDispatcher","revision","ck-suggestion-marker--active","addRevisionData","change:numberOfChanges","restoreRevision","for","showStack","_utils","getRootNames","createRange","vid_end","removeAttribute","hasAttribute","uiElement","7jQWMIO","markerToHighlight","_getRevisionsRange","ck-suggestion-marker-split","getRevisionRootsAttributes","1908722JskwSY","wrap","-new","_setChanges","resolve","_data","find","top","maxOffset","change:activeChange","hasClass","activeChange","left","deletion","RevisionHistoryUtils","isAddSuggestion","element:pre","forward","adapter","code","isAfter","isEnabled","element","isAtStart","revision-suggestion","activeView","_changeIdToChange","removeClass","elementEnd","item","refresh","revision-comment:","concat","deletions","isBlock","nextSibling","shift","mousedown","removeMarker:revision-suggestion","comment","listenTo","end","_markSuggestions","_update","markersStart","revisionHistory","map","isReady","data-change-id","change:isEnabled","ck-suggestion-marker-merge","low","getDomRoot","sort","POSITIVE_INFINITY","keys","_setDistance","return","values","isPremiumPlugin","range","forceDisabled","_fixObsoleteTags","side","getRevision","model","_refreshStartEndIndex","destroy","requires","change:isReady","startIndex","document","WidgetToolbarRepository","isSuggestion","observeMarkers","ck-revision-history-root-","isObject","diff","loadRevisionData","right","getChild","editing","target","authors","_step","getRevisionDocumentData","revision:","markersEnd","get","attributes","forEach","markerName","stop","createPositionFromPath","isAtEnd","removeMarker:revision","level","nodeAfter","view","add","includes","parent","140360YwfoYQ","markerRange","createUIElement","isAttached","indexOf","attachChange","domConverter","commands","checkAttribute","getAttributes","_cleanUp","_sortAndFilterDiffChanges","ck-suggestion-marker","modelRange","RevisionViewer","span","insertions","_getChangeFromId","dataDowncast","done","3004830QAUQSI","revision-suggestion:","index","findIndex","change","bind","revision-viewer","createRangeIn","toViewPosition","clear","_activeViewTarget","_processTape","ck-suggestion-marker-","showPreviousChange","object","insertion","isIncorrect","_makeTape","RevisionsRepository","showNextChange","addRevision","getRoot","isLimit","_makeModelFromTape","mapper","_changeView","conversion","addMarker:revision-suggestion:insertion","isBefore","suggestion:","delete","change:activeView","isInline","isRemoveSuggestion","roots","getCustomProperty","reconvertMarker","_markMismatchedRemovedTags","createRevision","from","config","unshift","rootName","oldRevisionId","writer","_joinTapes","text","enqueueChange","ck-revision-history-root--active","284zoEyvq","test","repository","revisionHistoryLabel","detachRoot","error","insert","restoreRevisionCallback","string","editingDowncast","softBreak","slice","previousPosition","remove","_cleanMarkers","_getViewForChange","1lNAXLG","mapViewToDom","ck-suggestion-preview-marker-","changeId","_markInsertions","createAttributeElement","removeMarker","set","backward","splice","merge","isNavigationMode","distance","selection","locale","viewItem","_threeWayMerge","flat","dataToMarker","isCollapsed","updatePosition","currentChangeNumber","schema"];return(oe=function(){return t})()}const ae=le;!function(t){const e=le,i=t();for(;;)try{if(513303===-parseInt(e(325))/1*(-parseInt(e(465))/2)+parseInt(e(409))/3*(parseInt(e(309))/4)+-parseInt(e(240))/5+-parseInt(e(260))/6+parseInt(e(460))/7*(parseInt(e(406))/8)+parseInt(e(414))/9+-parseInt(e(382))/10*(parseInt(e(418))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends G.Plugin{[ae(311)];[ae(156)]=null;[ae(453)];[ae(270)];[ae(285)];[ae(164)];[ae(376)];static get[ae(386)](){return ae(254)}static get[ae(392)](){return!0}static get[ae(197)](){return!0}static get[ae(206)](){return[Q.Users,It.ContextualBalloon,et,ot]}constructor(t){const e=ae;super(t),this[e(311)]=this[e(360)][e(368)][e(226)](e(278)),this[e(453)]=this[e(360)][e(368)][e(226)](e(479)),this[e(332)](e(476),null),this[e(332)](e(163),null),this[e(270)]=null,this[e(332)](e(215),null),this[e(332)](e(185),!1),this[e(332)](e(159),!0),this.on(e(187),(t,i,n)=>{const s=e;this[s(476)]=null,this[s(163)]=null,this[s(360)][s(219)][s(236)][s(264)](t=>{const e=s;for(const i of this[e(360)][e(219)][e(236)][e(209)][e(294)])n?t[e(165)](e(413),i):t[e(408)](e(413),i)})}),this[e(265)](e(336)).to(this,e(476),t=>null!==t),this[e(265)](e(346)).to(this,e(185),this,e(215),this,e(476),(t,i,n)=>t&&n?i[e(365)][e(373)](n):0),this[e(265)](e(394)).to(this,e(185),this,e(215),(t,i)=>t?i[e(365)][e(424)]:0),this[e(285)]=null,this[e(164)]=new Map,this[e(376)]=this[e(360)][e(368)][e(226)](It.ContextualBalloon)}[ae(423)](){const t=ae,e=this[t(360)],i=new de(e,{direction:t(333)}),n=new de(e,{direction:t(482)});e[t(247)][t(237)](t(273),i),e[t(247)][t(237)](t(279),n),e[t(247)][t(237)](t(450),new he(e)),this.on(t(449),()=>{const e=t;i[e(168)](),n[e(168)]()}),this[t(411)](),this[t(385)](),e[t(379)](t(266)),e[t(368)][t(401)](t(210))&&e[t(368)][t(226)](t(210))[t(199)](t(266))}async[ae(223)](t){const e=ae;return await this[e(453)][e(216)](t,this[e(156)]),this[e(453)][e(223)](t)}async[ae(464)](t){const e=ae;return await this[e(453)][e(216)](t,this[e(156)]),this[e(453)][e(464)](t)}async[ae(400)](t,e,i=!1){const n=ae;if(!this[n(159)])return;const s=this[n(215)],r=this[n(311)],o=n(317)==typeof t?r[n(202)](t):t,a=n(317)==typeof e?r[n(202)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(215)]&&this[n(215)][n(356)]===c&&this[n(215)][n(303)]===u)return Promise[n(469)]();this[n(185)]=!1,this[n(163)]=null,this[n(476)]=null,this[n(215)]=new ne(c,u);const l=this[n(462)](o,a,!0)[n(184)](t=>this[n(453)][n(216)](t,this[n(156)]));return l[n(403)](new Promise(t=>{setTimeout(t,20)})),Promise[n(427)](l)[n(404)](()=>{const t=n;if(!this[t(159)])return;this[t(250)]();const e=this[t(371)](c,u);for(const i of e[t(365)])this[t(164)][t(332)](i.id,i);this[t(360)][t(203)][t(307)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(360)][n(203)][n(209)][n(454)]())i[n(313)](t);for(const t of Object[n(193)](e[n(203)])){const s=i[n(429)](t);for(const r of Object[n(193)](e[n(227)][t]))i[n(421)](r,e[n(227)][t][r],s);i[n(315)](e[n(203)][t],s,0)}}),this[t(215)][t(468)](this[t(251)](e[t(365)])),this[t(185)]=!0})[n(412)](t=>{const e=n;console[e(314)](t),this[e(250)](),s&&(this[e(215)]=s),this[e(185)]=!0})}[ae(448)](t,e){const i=ae,n=this[i(311)][i(298)](t);return n.on(i(181),(t,i,s)=>e(i,s,n)),this[i(311)][i(280)](n),n}[ae(250)](){const t=ae;this[t(476)]=null,this[t(323)](),this[t(285)]&&this[t(285)][t(205)](),this[t(285)]=null,this[t(164)][t(269)](),this[t(360)][t(203)][t(307)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(360)][i(203)][i(209)][i(454)]())e[i(313)](t)})}[ae(251)](t){const e=ae,i=[],n=new Map;for(const t of this[e(360)][e(203)][e(209)][e(454)]()){const s=this[e(360)][e(219)][e(236)][e(190)](t);if(!s)continue;const r=s[e(355)]()[e(167)](0);r&&(i[e(403)](t),n[e(332)](t,r))}return i[e(191)]((t,i)=>{const s=e,r=n[s(226)](t),o=n[s(226)](i);return r.y-o.y||r.x-o.x}),(t=t[e(444)](t=>i[e(238)](t[e(302)])))[e(191)]((t,n)=>i[e(244)](t[e(302)])-i[e(244)](n[e(302)])),t}[ae(277)](t){const e=ae,i=Array[e(299)](t[e(393)])[e(444)](([t,i])=>t[e(442)](e(224))&&!i[e(344)]),n=Array[e(299)](this[e(360)][e(203)][e(267)](t)[e(439)]({singleCharacters:!0}));if(0!=i[e(424)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(426)](":");if(s[e(179)][e(388)](t[e(363)])&&i[e(174)](),(t[e(321)][e(388)](s[e(349)])||t[e(321)][e(158)](s[e(349)]))&&(e(275)==r?t[e(434)]={userId:o}:e(478)==r&&(t[e(443)]={userId:o})),0==i[e(424)])break}return n}[ae(204)](t){const e=ae,i=new Map;for(let n=0;n<t[e(424)];n++)e(306)===t[n][e(380)]?(t[n][e(167)][e(208)]=n,t[n][e(167)][e(410)]=n):(e(398)===t[n][e(380)]?t[n][e(167)][e(208)]=n:e(166)===t[n][e(380)]&&(t[n][e(167)][e(410)]=n),i[e(332)](t[n].id,n));for(const n of i[e(196)]())e(398)===t[n][e(380)]?t[n][e(167)][e(410)]=i[e(226)](t[n][e(437)]):e(166)===t[n][e(380)]&&(t[n][e(167)][e(208)]=i[e(226)](t[n][e(437)]))}[ae(271)](t){const e=ae;for(let i=0;i<t[e(424)];i++){if(e(398)===t[i][e(380)])t[i][e(167)][e(208)]=i;else if(e(166)===t[i][e(380)]){t[i][e(167)][e(410)]=i;const n=t[i][e(167)][e(208)];t[n][e(437)]=t[i].id,t[i][e(437)]=t[n].id}else t[i][e(167)][e(208)]=i,t[i][e(167)][e(410)]=i,t[i][e(437)]=null;t[i][e(182)]||(t[i][e(182)]=[],t[i][e(225)]=[])}}[ae(329)](t,e){const i=ae,n=t[i(444)](t=>!t[i(434)]);for(let t=0;t<e[i(424)];t++)e[t][i(434)]&&(n[t][i(434)]=e[t][i(434)])}[ae(371)](t,e=null){const i=ae,n=this[i(311)][i(202)](t),s=e?this[i(311)][i(202)](e):null,r=this[i(462)](n,s),o=r[r[i(424)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(424)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(193)](e[i(352)]))if(e[i(352)][t][i(245)]){const n=e[i(352)][t][i(245)];n[i(243)]?(u[i(237)](t),l[i(401)](t)&&l[i(226)](t)[i(420)]==n[i(420)]?l[i(290)](t):l[i(332)](t,n)):l[i(401)](t)?(u[i(290)](t),l[i(290)](t)):(u[i(237)](t),l[i(332)](t,n))}else u[i(237)](t)}for(const t of u){const e=l[i(401)](t)&&!l[i(226)](t)[i(243)];let n=e?r[i(424)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(352)][t]){const n=e?o[i(352)][t][i(362)]:o[i(352)][t][i(407)];c[i(227)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(203)]={};for(const e of t[i(221)])a[i(332)](e.id,e);for(const e of u){const n=t[i(352)][e]?t[i(352)][e][i(256)]:"[]",s=t[i(352)][e]?t[i(352)][e][i(171)]:"[]";t[i(203)][e]={insertions:this[i(453)][i(364)](n),deletions:this[i(453)][i(364)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(299)](n[i(203)][t][i(256)][i(393)])[i(444)](([t])=>!t[i(442)](i(224))));let h=0;for(const o of r){const r=this[i(277)](o[i(203)][t][i(256)]);o==n?(e=r,s=e[i(424)],e[i(228)](t=>{t.id=h++}),this[i(271)](e)):this[i(329)](e,r);const a=e[i(444)](t=>!t[i(434)])[i(184)](t=>t.id);let c=0;const l=this[i(277)](o[i(203)][t][i(171)]);l[i(228)](t=>{t[i(443)]?t.id=s++:t.id=a[c++]}),this[i(271)](l),this[i(194)](e,i(434)),this[i(194)](l,i(443)),o==n&&this[i(350)](e,u),e=this[i(305)](e,l),this[i(204)](e),this[i(194)](e,i(443))}e=e[i(444)](t=>!(t[i(434)]&&t[i(443)]));const d=new Map(o[i(203)][t][i(171)][i(393)]),f=new Set(u[i(193)]());for(const t of d[i(193)]())f[i(290)](t);this[i(180)](e,f),this[i(200)](e),e=this[i(397)](e),e=this[i(297)](e),e=this[i(383)](e);const{root:m,changes:p}=this[i(283)](e,a,t);c[i(203)][t]=m;const v=l[i(226)](t);if(v){const e=a[i(226)](v[i(420)]),n=new Xt({author:e,type:v[i(243)]?i(237):i(322),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(301)](n),c[i(227)][t][i(367)]=n.id}c[i(365)]=c[i(365)][i(170)](p)}return c}[ae(350)](t,e){const i=ae;for(let n=0;n<t[i(424)];n++)for(const[s,r]of e)!r[i(344)]&&r[i(349)][i(388)](t[n][i(321)])&&t[n][i(182)][i(403)](s),r[i(179)][i(388)](t[n][i(363)])&&t[n][i(225)][i(403)](s)}[ae(305)](t,e){const i=ae;let n=[],s=0,r=0;for(;s<t[i(424)]||r<e[i(424)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(403)](o);else if(a[i(443)]&&o[i(434)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(341)](t,s,e,r);n=n[i(170)](o),s=a,r=c}else a[i(443)]?(r++,n[i(403)](a)):(s++,n[i(403)](o))}return n}[ae(180)](t,e){const i=ae,n=[];for(let o=0;o<t[i(424)];o++){for(let r=0;r<t[o][i(182)][i(424)];r++){const a=t[o][i(182)][r];if(!e[i(401)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(162)!=c||i(275)!=u&&i(478)!=u||(n[i(301)]({type:u,name:a,userId:l}),t[o][i(182)][i(334)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(225)][i(424)];r++){const a=t[o][i(225)][r];if(!e[i(401)](a))continue;const{group:c,type:u}=s(a);if(i(162)!=c||i(275)!=u&&i(478)!=u)continue;t[o][i(225)][i(334)](r,1),r--;const l=n[i(263)](t=>t[i(431)]==a);l>-1&&n[i(334)](l,1)}}function s(t){const e=i,n=t[e(426)](":");return{group:n[0],type:n[1],subType:n[e(424)]>=5?n[2]:null,id:n[e(424)]<5?n[2]:n[3],authorId:n[e(424)]<5?n[3]:n[4],markerCount:6==n[e(424)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(424)];i++){if(t[e(434)]&&e(275)==n[i][e(380)]&&t[e(434)][e(420)]==n[i][e(420)])return t[e(480)]=n[i],void delete t[e(434)];if(!t[e(434)]&&!t[e(443)]&&e(478)==n[i][e(380)])return void(t[e(293)]=n[i])}}}[ae(194)](t,e){const i=ae;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(332)](o.id,n);for(let n=0;n<t[i(424)];n++){if(i(443)==e&&t[n][i(434)]||i(434)==e&&t[n][i(443)])continue;if(i(306)==t[n][i(380)]){t[n][i(337)]=0;continue}const s=r[i(226)](t[n][i(437)]),o=r[i(226)](t[n].id);t[n][i(337)]=s-o}}[ae(462)](t,e,i=!1){const n=ae,s=[];let r=this[n(311)][n(373)](t),o=this[n(311)][n(373)](e);for(-1==o&&(o=this[n(311)][n(436)][n(424)],i=!1);r<o;)s[n(403)](this[n(311)][n(202)](r)),r++;return i&&s[n(403)](this[n(311)][n(202)](r)),s}[ae(341)](t,e,i,n){const s=ae,r=this[s(360)][s(203)][s(347)];let o=e;for(;t[o]&&t[o][s(434)];)o++;let a=n;for(;i[a]&&i[a][s(443)];)a++;u(t,e,o),u(i,n,a);const c=i[s(320)](n,a)[s(170)](t[s(320)](e,o));return c[s(191)]((t,e)=>t[s(201)]!=e[s(201)]?t[s(201)]-e[s(201)]:t[s(234)]!=e[s(234)]?t[s(234)]-e[s(234)]:t[s(337)]!=e[s(337)]?e[s(337)]-t[s(337)]:!!t[s(434)]!=!!e[s(434)]?-1==t[s(201)]||0==t[s(201)]?t[s(434)]?-1:1:t[s(434)]?1:-1:t[s(262)]-e[s(262)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(192)],c=!0;for(let s=e;s<i;s++)if(r[n(292)](t[s][n(167)])||(c=!1),t[s][n(167)][n(208)]<e&&(o=s),t[s][n(167)][n(410)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(201)]=s<=o?-1:s<a?0:1,t[s][n(262)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(337)]?t[i][n(234)]=u:(u++,t[i][n(234)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(201)]&&(t[s][n(234)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(337)]?t[e][n(234)]=u:(u--,t[e][n(234)]=u,u--)}}[ae(200)](t){const e=ae,i=new Map,n=this[e(360)][e(203)][e(347)];for(let s=1;s<t[e(424)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(306)==c[e(380)])continue;if(c[e(380)]!=u[e(380)])continue;if(!n[e(172)](u[e(167)])||n[e(282)](u[e(167)]))continue;if(!n[e(172)](c[e(167)])||n[e(282)](c[e(167)]))continue;if((t[s][e(434)]||t[s][e(480)])&&t[s-1][e(443)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(443)]||!t[s-1][e(434)]&&!t[s-1][e(480)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(234)]==o[e(234)],h=Math[e(399)](r[e(234)])<Math[e(399)](o[e(234)])&&0==o[e(337)];(l||h)&&(i[e(332)](o.id,r.id),t[e(334)](a,1),s--,r[e(434)]=!1)}for(let n=0;n<t[e(424)];n++)i[e(401)](t[n][e(437)])&&(t[n][e(437)]=i[e(226)](t[n][e(437)]))}[ae(397)](t){const e=ae,i=new Set(t[e(184)](t=>t.id));for(let n=0;n<t[e(424)];n++)i[e(401)](t[n][e(437)])||0==t[n][e(337)]||(t[n][e(276)]=!0);return t[e(444)](t=>!t[e(276)])}[ae(297)](t){const e=ae,i=new Set;for(let n=0;n<t[e(424)];n++){if(i[e(401)](t[n].id)&&t[n][e(443)]&&(t[n][e(276)]=!0),t[n][e(276)])continue;if(0==t[n][e(337)])continue;if(e(398)!=t[n][e(380)])continue;if(null==t[n][e(437)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(437)];)e(398)==t[s][e(380)]?r++:e(166)==t[s][e(380)]&&r--,s++;if(0!=r)if(t[n][e(443)])t[n][e(276)]=!0;else for(;s!=n;)t[s][e(443)]&&0!=t[s][e(337)]&&(t[s][e(276)]=!0,i[e(237)](t[s][e(437)])),s--}return t[e(444)](t=>!t[e(276)])}[ae(383)](t){const e=ae,i=this[e(360)][e(203)][e(347)];for(let n=0;n<t[e(424)];n++){if(!(t[n][e(434)]||t[n][e(480)]||t[n][e(443)]||t[n][e(293)]))continue;if(0==t[n][e(337)])continue;const s=t[n][e(167)];i[e(172)](s)||i[e(282)](s)||(t[n][e(434)]&&delete t[n][e(434)],t[n][e(480)]&&delete t[n][e(480)],t[n][e(293)]&&delete t[n][e(293)],t[n][e(443)]&&(t[n][e(276)]=!0))}return t[e(444)](t=>!t[e(276)])}[ae(283)](t,e,i){const n=ae,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(360)][n(203)],c=a[n(347)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(424)];e++)if(n(398)===t[e][n(380)]){t[e][n(321)]=a[n(231)](s,f);const i=new K.ModelElement(t[e][n(167)][n(431)],t[e][n(167)][n(249)]());u[0][n(416)](i),f[n(403)](0),u[n(301)](i),t[e][n(363)]=a[n(231)](s,f)}else n(166)===t[e][n(380)]?(u[n(174)](),t[e][n(321)]=a[n(231)](s,f),f[n(369)](),f[f[n(424)]-1]++,t[e][n(363)]=a[n(231)](s,f)):(t[e][n(321)]=a[n(231)](s,f),d?d[n(470)]+=t[e][n(167)][n(402)]:d=new K.ModelText(t[e][n(167)][n(402)],t[e][n(167)][n(249)]()),t[e+1]&&n(306)===t[e+1][n(380)]&&v(d,t[e+1][n(167)])||(u[0][n(416)](d),d=null),f[f[n(424)]-1]+=t[e][n(167)][n(370)],t[e][n(363)]=a[n(231)](s,f));for(let e=0;e<t[n(424)];e++){const i=t[e][n(321)],s=t[e][n(363)];for(const s of t[e][n(182)])o[n(332)](s,{start:i,end:null});m(n(293),e,i,s),m(n(480),e,i,s),m(n(443),e,i,s),m(n(434),e,i,s);for(const i of t[e][n(225)]){const t=o[n(226)](i);t?t[n(179)]=s:o[n(332)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(360)][n(203)][n(455)](e[n(349)],e[n(179)]);s[n(393)][n(332)](t,i)}return r[n(191)]((t,e)=>{const i=n,r=s[i(393)][i(226)](i(224)+t.id),o=s[i(393)][i(226)](i(224)+e.id);return r[i(349)][i(288)](o[i(349)])?-1:r[i(349)][i(158)](o[i(349)])?1:r[i(179)][i(288)](o[i(179)])?-1:r[i(179)][i(158)](o[i(179)])?1:i(237)===t[i(380)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(420)]:null,d=i===t[o(424)]-1,f=h[e][0],m=c[o(214)](t[i][o(167)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(179)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(420)]!==u&&(l[e][o(179)]=s,f&&f[o(420)]===l[e][o(420)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(398)!==t[i][o(380)]||f&&f[o(420)]===u||h[e][o(301)]({userId:u,object:t[i][o(167)],change:l[e]}),o(166)===t[i][o(380)]&&f&&f[o(274)]===t[i][o(167)]&&(h[e][o(174)](),l[e]=f[o(264)])),l[e]&&d&&(l[e][o(179)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(167)],f=a[h(347)][h(172)](d)&&!a[h(347)][h(282)](d),m=t[h(235)]==o[h(239)]&&o[h(161)];if(f&&m)return;const p=a[h(455)](t,o),v=e[h(226)](u),g=new Xt({author:v,type:h(434)==l||h(480)==l?h(237):h(322),data:{isSuggestion:h(480)==l||h(293)==l},createdAt:new Date,rootName:i});r[h(403)](g),s[h(393)][h(332)](h(224)+g.id,p)}function v(t,e){const i=n,s=t[i(249)](),r=e[i(249)]();for(const t of s){if(t[1]!==e[i(378)](t[0]))return!1;r[i(435)]()}return r[i(435)]()[i(259)]}}[ae(411)](){const t=ae;this[t(360)][t(286)][t(451)](t(374))[t(343)]({view:t(446)}),this[t(360)][t(286)][t(451)](t(318))[t(461)]({model:t(446),view:e=>{const i=t,n=e[i(229)][i(426)](":")[1],s=this[i(257)](n);if(!s)return null;const r=i(237)==s[i(380)]?i(275):i(478),o=[i(252),i(272)+r];return s[i(402)][i(211)]&&o[i(403)](i(272)+r+i(467)),this[i(476)]==s&&o[i(403)](i(447)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(360)][t(286)][t(451)](t(374))[t(237)](e=>{const i=t;e.on(i(481),(t,e,n)=>{const s=i,r=e[s(340)][s(218)](0);if(!r||!r.is(s(160),s(157)))return;if(!n[s(391)][s(372)](r,{attributes:[s(428),s(456)]}))return;const o=e[s(253)][s(349)][s(235)];n[s(304)][s(421)](s(428),r[s(378)](s(428)),o),n[s(304)][s(421)](s(456),r[s(378)](s(456)),o)},{priority:i(189)})}),this[t(360)][t(286)][t(451)](t(374))[t(237)](e=>{const i=t;e.on(i(160),(t,e,n)=>{const s=i;if(!n[s(391)][s(372)](e[s(340)],{attributes:[s(428),s(456)]}))return;if(e[s(253)][s(344)])return;const r=e[s(253)][s(349)][s(235)];r[s(458)](s(428))||r[s(458)](s(440))||(n[s(304)][s(421)](s(428),e[s(340)][s(378)](s(428)),r),n[s(304)][s(421)](s(456),e[s(340)][s(378)](s(456)),r))},{priority:i(189)})}),this[t(360)][t(286)][t(451)](t(374))[t(357)]({view:{name:t(255),attributes:{vid:!0}},model:{key:t(440),value:e=>e[t(378)](t(440))}}),this[t(360)][t(203)][t(347)].on(t(248),(e,[,i])=>{const n=t;[n(428),n(456),n(440)][n(238)](i)&&(e[n(195)]=!0,e[n(230)]())},{priority:t(405)}),this[t(360)][t(286)][t(451)](t(258))[t(237)](e=>{const i=t;e.on(i(430),(t,e,n)=>{const s=i;if(" "!=e[s(167)][s(402)]||e[s(167)][s(239)][s(473)]>1)return;if(!n[s(391)][s(372)](e[s(167)],t[s(431)]))return;const r=n[s(304)],o=n[s(284)][s(366)](e[s(198)]);r[s(466)](o,r[s(330)](s(255)))})}),this[t(360)][t(286)][t(451)](t(258))[t(415)]({model:t(446)}),this[t(360)][t(219)][t(445)].on(t(390),function(e){const i=t,n=e[i(368)][i(226)](i(254));return(t,s,r)=>{const o=i,a=s[o(229)][o(426)](":")[1],c=n[o(257)](a);if(!c)return null;const u=o(237)==c[o(380)]?o(426):o(335);if(!r[o(391)][o(310)](s[o(241)],t[o(431)]))return;const l=s[o(241)][o(439)](),h=s[o(241)][o(349)],d=e[o(203)][o(347)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(167)];p=p||d[o(381)](e);const i=r[o(284)][o(422)](e);if(i&&i[o(295)](o(417)))return;o(166)==t[o(380)]&&d[o(172)](e)&&!d[o(282)](e)&&(e[o(173)]||h[o(232)]?f&&f[o(239)]==e||(f=e,g(t[o(321)]),v=!0):m=m||t[o(321)])}function g(t){const e=o,i=r[e(304)][e(242)](e(255),{class:e(272)+u}),a=r[e(284)][e(268)](t);c[e(402)][e(211)]&&r[e(304)][e(408)](e(272)+u+e(467),i),n[e(476)]==c&&r[e(304)][e(408)](e(447),i),r[e(304)][e(315)](a,i),r[e(284)][e(441)](i,s[e(229)])}p||v||!m||g(m)}}(this[t(360)]),{priority:t(395)}),this[t(360)][t(219)][t(445)].on(t(233),(e,i,n)=>{const s=t,r=n[s(284)][s(438)](i[s(229)]);if(r)for(const t of r)(t[s(475)](s(463))||t[s(475)](s(188)))&&(n[s(284)][s(359)](t,i[s(229)]),n[s(304)][s(322)](t))},{priority:t(395)}),this[t(360)][t(219)][t(445)].on(t(390),(e,i,n)=>{const s=t,r=i[s(229)][s(426)](":")[1],o=this[s(257)](r);if(!o)return null;const a=s(237)==o[s(380)]?s(426):s(335);if(n[s(391)][s(310)](i[s(241)],e[s(431)]))for(const t of i[s(241)][s(358)]()){if(!t.is(s(160),s(319)))continue;const e=n[s(304)][s(242)](s(255),{class:s(272)+a}),r=n[s(284)][s(268)](this[s(360)][s(203)][s(375)](t));o[s(402)][s(211)]&&n[s(304)][s(408)](s(272)+a+s(467),e),this[s(476)]==o&&n[s(304)][s(408)](s(447),e),n[s(304)][s(315)](r,e),n[s(284)][s(441)](e,i[s(229)])}},{priority:t(395)}),this[t(360)][t(203)][t(209)].on(t(264),()=>{const e=t;this[e(360)][e(219)][e(236)][e(264)](t=>{const i=e;for(const e of this[i(360)][i(203)][i(209)][i(454)]()){const n=this[i(360)][i(203)][i(209)][i(281)](e),s=this[i(360)][i(219)][i(236)][i(209)][i(281)](e);if(s){const e=n[i(378)](i(367));if(t[i(457)](i(186),s),t[i(165)](i(387),s),t[i(165)](i(353),s),t[i(165)](i(308),s),e){const n=this[i(257)](e);if(!n)return null;t[i(421)](i(186),e,s),t[i(408)](i(213)+n[i(380)],s),this[i(476)]==n&&t[i(408)](i(308),s)}}}})}),this[t(360)][t(286)][t(451)](t(374))[t(343)]({view:t(177),model:e=>t(169)+e,converterPriority:t(405)}),this[t(360)][t(286)][t(451)](t(374))[t(343)]({view:t(389),model:e=>t(261)+e,converterPriority:t(405)}),this[t(360)][t(286)][t(451)](t(258))[t(415)]({model:t(162),view:e=>({name:t(289)+e,group:t(162)}),converterPriority:t(405)}),this[t(360)][t(286)][t(451)](t(318))[t(461)]({model:t(162),view:e=>{const i=t,n=e[i(229)][i(426)](":")[1];return i(275)!=n&&i(478)!=n?null:{classes:[i(425),i(327)+n]}}}),this[t(360)][t(219)][t(445)].on(t(432),ue(this[t(360)],t(335)),{priority:t(395)}),this[t(360)][t(219)][t(445)].on(t(287),ue(this[t(360)],t(426)),{priority:t(395)}),this[t(360)][t(219)][t(445)].on(t(176),(e,i,n)=>{const s=t,r=n[s(284)][s(438)](i[s(229)]);if(r)for(const t of r)t.is(s(459))&&(n[s(284)][s(359)](t,i[s(229)]),n[s(304)][s(322)](t))},{priority:t(395)})}[ae(257)](t){const e=ae;return this[e(164)][e(226)](t)}[ae(324)](t){const e=ae;return this[e(285)]&&this[e(285)][e(205)](),this[e(285)]=new Jt(this[e(360)][e(339)],t),this[e(285)]}[ae(385)](){const t=ae;this[t(360)][t(203)][t(209)][t(338)][t(212)](t(446)),this.on(t(291),(e,i,n,s)=>{const r=t;s&&this[r(376)][r(322)](s),n&&(this[r(376)][r(237)]({view:n,stackId:r(312),position:{target:()=>{const t=r,e=this[t(360)][t(219)],i=this[t(257)](n[t(328)]);let s;if(i[t(402)][t(351)]){const n=e[t(236)][t(190)](i[t(302)]);s=Array[t(299)](n[t(355)]())}else{const i=this[t(360)][t(203)][t(393)][t(226)](t(224)+n[t(328)]);s=Array[t(299)](e[t(284)][t(438)](i[t(431)]))[t(184)](i=>e[t(236)][t(246)][t(326)](i))[t(184)](e=>Array[t(299)](e[t(355)]()))[t(342)]()}return this[t(270)]&&s[t(471)](e=>e[t(472)]-3<=this[t(270)].y&&e[t(348)]+3>=this[t(270)].y&&e[t(477)]-3<=this[t(270)].x&&e[t(217)]+3>=this[t(270)].x)||s[0]}}}),this[r(376)][r(452)](r(312)))}),this.on(t(474),(e,i,n,s)=>{const r=t;this[r(163)]=n?this[r(324)](n):null,this[r(360)][r(203)][r(264)](()=>{const t=r,e=this[t(360)][t(219)];s&&(s[t(402)][t(351)]?e[t(236)][t(264)](i=>{const n=t;i[n(165)](n(308),e[n(236)][n(209)][n(281)](s[n(302)]))}):e[t(296)](t(224)+s.id)),n&&(n[t(402)][t(351)]?e[t(236)][t(264)](i=>{const s=t;i[s(408)](s(308),e[s(236)][s(209)][s(281)](n[s(302)]))}):e[t(296)](t(224)+n.id))})}),this[t(178)](this[t(360)][t(219)][t(236)][t(209)],t(354),(e,i)=>{const n=t;if(this[n(476)])return;const s=this[n(419)](i[n(220)]),r=this[n(164)][n(226)](s);r?(this[n(270)]={x:i[n(384)].x,y:i[n(384)].y},this[n(163)]=this[n(324)](r)):(this[n(270)]=null,this[n(163)]=null)}),this[t(178)](this[t(360)][t(219)][t(236)][t(209)],t(175),(e,i)=>{const n=t,s=this[n(419)](i[n(220)]),r=this[n(164)][n(226)](s);r?(this[n(270)]={x:i[n(384)].x,y:i[n(384)].y},r===this[n(476)]?this[n(376)][n(345)]():this[n(476)]=r):(this[n(270)]=null,this[n(476)]=null)})}[ae(419)](t){const e=ae;do{const i=t[e(378)](e(186));if(i)return i;t=t[e(239)]}while(t);return null}[ae(323)](){const t=ae;this[t(360)][t(203)][t(264)](e=>{const i=t;for(const t of this[i(360)][i(203)][i(393)])e[i(331)](t)})}}function ue(t,e){return(i,n,s)=>{const r=le;if(!s[r(391)][r(310)](n[r(241)],i[r(431)]))return;const o=n[r(241)][r(439)](),a=n[r(241)][r(349)],c=t[r(203)][r(347)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(167)];h=h||c[r(381)](e);const i=s[r(284)][r(422)](e);if(i&&i[r(295)](r(417)))return;r(166)==t[r(380)]&&c[r(172)](e)&&!c[r(282)](e)&&(e[r(173)]||a[r(232)]?u&&u[r(239)]==e||(u=e,f(t[r(321)]),d=!0):l=l||t[r(321)])}function f(t){const i=r,o=s[i(284)][i(268)](t),a=s[i(304)][i(242)](i(255),{class:i(327)+e});s[i(304)][i(315)](o,a),s[i(284)][i(441)](a,n[i(229)])}h||d||!l||f(l)}}function le(t,e){const i=oe();return(le=function(t,e){return i[t-=156]})(t,e)}class he extends G.Command{constructor(t){const e=ae;super(t);const i=t[e(368)][e(226)](ce);this[e(361)]=!1,this[e(178)](i,e(207),()=>this[e(168)]()),this[e(178)](i,e(187),()=>this[e(168)]())}[ae(377)](){const t=ae,e=this[t(360)],i=e[t(368)][t(226)](ce),n=i[t(185)]?i[t(215)][t(356)]:null;e[t(300)][t(226)](t(183))[t(316)](n)}[ae(168)](){const t=ae,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(360)][t(368)][t(226)](ce),r=s&&n[t(433)](s[t(356)]);this[t(159)]=e&&i&&Boolean(r)}}class de extends G.Command{[ae(222)];constructor(t,{direction:e}){const i=ae;super(t);const n=t[i(368)][i(226)](ce);this[i(361)]=!1,this[i(222)]=i(482)===e?1:-1,this[i(178)](n,i(207),()=>this[i(168)]()),this[i(178)](n,i(187),()=>this[i(168)]()),this[i(178)](n,i(474),()=>this[i(168)]())}[ae(377)](){const e=ae,i=this[e(360)],n=i[e(368)][e(226)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(476)]=s?n[e(215)][e(365)][e(226)](r+this[e(222)]):n[e(215)][e(365)][e(396)],n[e(476)][e(402)][e(351)])o=i[e(219)][e(236)][e(190)](n[e(476)][e(302)]);else{const t=i[e(203)][e(393)][e(226)](e(224)+n[e(476)].id);o=(0,Q.getMarkerDomElement)(i[e(219)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[ae(168)](){const t=ae,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(360)][t(368)][t(226)](ce);this[t(159)]=!!(r&&s&&n)&&(!e||(1===this[t(222)]?i<n-1:i>0))}}var fe=i(578),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=371]})(t,e)}function ve(){const t=["div","Loading...","X_OF_Y_CHANGES","50588846RSKLPt","isEnabled","2613864isgmDI","ck-revision-history-ui__changes-navigation","isReady","111270dnHhiN","12455821jOPLzt","ck-revision-history-ui","numberOfChanges","ck-revision-history-ui__changes-navigation__wrapper","isForwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","ck-hidden","currentChangeNumber","backward","488aPwiFj","Total","62026ieRehQ","execute","bindTemplate","366FhcCAK","forward","ck-revision-history-ui__changes-navigation__navigation","isNavigationMode","No changes","Show previous change","617633qzFHJy","bind","_statusText","setTemplate","NUMBER_OF_CHANGES","span","45przGdi","set","10runuth","fire","40149MrtEFs","ck-revision-history-ui__changes-navigation__label","Show next change","isBackwardNavigationEnabled","_isStatusLabelVisible"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(928306===-parseInt(e(406))/1+-parseInt(e(397))/2*(-parseInt(e(412))/3)+-parseInt(e(382))/4+-parseInt(e(385))/5*(parseInt(e(400))/6)+-parseInt(e(386))/7+parseInt(e(395))/8*(parseInt(e(372))/9)+parseInt(e(414))/10*(parseInt(e(380))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(399)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(413)](e(403),!1),this[e(413)](e(384),!1),this[e(413)](e(393),0),this[e(413)](e(388),0),this[e(413)](e(390),!1),this[e(413)](e(375),!1),this[e(407)](e(376)).to(this,e(384),this,e(388),(t,e)=>t&&e>0),this[e(407)](e(408)).to(this,e(384),this,e(393),this,e(388),this,e(403),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(378));if(!s)return at(t,o(404));const a=at(t,o(410),s);return r?at(t,o(379),[n+1,s]):a}),n[e(413)]({label:at(t,e(405)),tooltip:!0,icon:_t.IconChevronUp}),s[e(413)]({label:at(t,e(374)),tooltip:!0,icon:_t.IconChevronDown}),n[e(407)](e(381)).to(this,e(375)),s[e(407)](e(381)).to(this,e(390)),n.on(e(398),()=>this[e(371)](e(398),e(394))),s.on(e(398),()=>this[e(371)](e(398),e(401))),this[e(409)]({tag:e(377),attributes:{class:["ck",e(387),e(383)]},children:[{tag:e(411),attributes:{class:[e(389)]},children:[{tag:e(411),attributes:{class:[e(373),i.if(e(376),e(392),t=>!t)]},children:[{text:i.to(e(403),i=>i?at(t,e(391))+": ":at(t,e(396))+": ")}]},{text:i.to(e(408))}]},new It.ToolbarSeparatorView,{tag:e(377),attributes:{class:[e(402)]},children:[n,s]}]})}}var ye=i(242),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=354]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(127822===-parseInt(e(354))/1*(-parseInt(e(367))/2)+-parseInt(e(368))/3+-parseInt(e(376))/4+-parseInt(e(374))/5*(parseInt(e(362))/6)+-parseInt(e(356))/7+parseInt(e(371))/8+parseInt(e(377))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(358);function Ie(){const t=["518565LxzfFO","removeClass","360364kbstpR","2536434IYjDIK","236777ULOdfS","hide","1159578uWeatF","RevisionViewerLoadingOverlay","ck-editor__editable__loading-overlay","pluginName","view","addClass","6KBTWRE","show","roots","change","document","2gAWFjk","562743jYiFNk","isOfficialPlugin","editing","1250064GXbFjY","isPremiumPlugin","editor"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(359)](){return be(357)}static get[be(369)](){return!0}static get[be(372)](){return!0}[be(363)](){const t=be,e=this[t(373)][t(370)][t(360)];e[t(365)](i=>{const n=t;for(const t of e[n(366)][n(364)])i[n(361)](_e,t)})}[be(355)](){const t=be,e=this[t(373)][t(370)][t(360)];e[t(365)](i=>{const n=t;for(const t of e[n(366)][n(364)])i[n(375)](_e,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=109]})(t,e)}function xe(){const t=["3905178vYoFHM","exitToEditing","commands","requires","editor","4290935ZOovFI","isBackwardNavigationEnabled","revisionHistory","add","plugins","Back to editing","init","9CmobBj","showPreviousChange","2016994rzgSjO","config","closeRevisionViewerCallback","isEnabled","hide","ck-revision-history-ui__back-to-editing","numberOfChanges","componentFactory","execute","Restore this revision","showNextChange","isOfficialPlugin","currentChangeNumber","listenTo","13942872biJrkM","isPremiumPlugin","isReady","1882316VGrMrG","pluginName","restoreRevision","bind","forward","isNavigationMode","105654ZmjkdU","isForwardNavigationEnabled","53721emgeat","show","changesNavigation","set","change:isReady","4SituxE","RevisionViewerUI","get"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(645461===-parseInt(e(110))/1*(-parseInt(e(117))/2)+parseInt(e(112))/3+parseInt(e(151))/4+-parseInt(e(125))/5+-parseInt(e(120))/6+-parseInt(e(134))/7+-parseInt(e(148))/8*(-parseInt(e(132))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(152)](){return Oe(118)}static get[Oe(145)](){return!0}static get[Oe(149)](){return!0}static get[Oe(123)](){return[ce,Se]}[Oe(131)](){const t=Oe,e=this[t(124)],i=e[t(129)][t(119)](ce),n=e[t(129)][t(119)](Se);e.ui[t(141)][t(128)](t(121),i=>{const n=t,s=new It.ButtonView(i);return s[n(115)]({label:at(i,n(130)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(139)}),this[n(147)](s,n(142),()=>{const t=n;e[t(135)][t(119)](t(127))[t(136)]()}),s}),e.ui[t(141)][t(128)](t(153),i=>{const n=t,s=new It.ButtonView(i);return s[n(115)]({label:at(i,n(143)),withText:!0,tooltip:!0}),s[n(154)](n(137)).to(e[n(122)][n(119)](n(153))),this[n(147)](s,n(142),()=>e[n(142)](n(153))),s}),e.ui[t(141)][t(128)](t(114),n=>{const s=t,r=new ge(n),o=e[s(122)][s(119)](s(133)),a=e[s(122)][s(119)](s(144));return r[s(154)](s(126)).to(o,s(137)),r[s(154)](s(111)).to(a,s(137)),r[s(154)](s(150),s(146),s(140),s(109)).to(i),this[s(147)](r,s(142),(t,i)=>{const n=s;e[n(142)](n(155)===i?n(144):n(133))}),r}),n[t(113)](),i.on(t(116),(e,i,s)=>{const r=t;s?n[r(138)]():n[r(113)]()})}}var Ae=i(423),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ee(t,e){const i=De();return(Ee=function(t,e){return i[t-=302]})(t,e)}function De(){const t=["4981048GtRCxJ","value","2192fxdcBH","extendTemplate","placeholder","44456AesaDl","_updateTooltipText","set","_resizeObserver","_tooltipString","525479UJGzxC","clientWidth","element","19086wjjGHh","listenTo","93560LYUXuh","input","destroy","Enter the revision name","3807ynknxD","render","1845PXAADx","ck-tooltip_multi-line","span","ck-revision-history-sidebar__revision-name","10157OZpbxo","fieldView","Revision name","scrollWidth","3122730fxluuH","bindTemplate"];return(De=function(){return t})()}!function(t){const e=Ee,i=t();for(;;)try{if(647760===parseInt(e(323))/1+parseInt(e(318))/2+-parseInt(e(311))/3+-parseInt(e(313))/4+parseInt(e(303))/5*(-parseInt(e(326))/6)+parseInt(e(307))/7*(-parseInt(e(315))/8)+parseInt(e(332))/9*(parseInt(e(328))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ve extends It.LabeledFieldView{[Me(321)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(312)];this[i(320)]({label:at(t,i(309)),_tooltipString:""}),this[i(308)][i(317)]=at(t,i(331)),this[i(316)]({tag:i(305),attributes:{class:[i(306)],"data-cke-tooltip-text":n.to(i(322)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(304)}})}[Me(302)](){const e=Me;super[e(302)](),this[e(321)]=new t.ResizeObserver(this[e(308)][e(325)],()=>this[e(319)]()),this[e(327)](this[e(308)],e(329),()=>this[e(319)]())}[Me(330)](){const t=Me;super[t(330)](),this[t(321)]&&this[t(321)][t(330)]()}[Me(319)](){const t=Me,e=this[t(308)][t(325)];this[t(322)]=e[t(310)]>e[t(324)]&&e[t(314)]||""}}var Ce=i(171),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Pe();return(je=function(t,e){return i[t-=234]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(595755===parseInt(e(255))/1+parseInt(e(239))/2*(-parseInt(e(244))/3)+-parseInt(e(249))/4+-parseInt(e(253))/5*(parseInt(e(250))/6)+parseInt(e(238))/7*(-parseInt(e(234))/8)+-parseInt(e(243))/9+parseInt(e(247))/10*(parseInt(e(252))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Le extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(242)]({content:_t.IconUser,viewBox:n(251)});const r=["ck",n(236)];i&&r[n(245)](n(248));const o=[{tag:n(254),attributes:{class:["ck",n(235)],title:at(t,n(i?240:237))},children:[s,e[n(246)]]}];this[n(241)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){const t=["Revision creator","setTemplate","set","1713411HyPozV","6957NvuYKR","push","name","10mDzaDs","ck-revision-history-sidebar__revision-author_creator","3165908EqWqQp","483576izOwxZ","0 0 11 10","37664209zErgcS","35LBhdhu","span","161660OBPwZO","8CcFSMk","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","Revision author","7656089ICQEvp","302CVDJTh"];return(Pe=function(){return t})()}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=217]})(t,e)}function Ue(){var t=["289934BKpRjD","2944FgmYnJ","1069494bIJTPH","22EklIRY","75295laeJcG","22540ZLpQcq","6AwyulG","numeric","1866744AAAfPu","toLocaleTimeString","17514740coljEF","6UgzEWT","long","12850488tEXXTt","toLocaleDateString"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(920899===parseInt(e(227))/1+parseInt(e(218))/2*(parseInt(e(229))/3)+parseInt(e(220))/4+-parseInt(e(231))/5*(parseInt(e(223))/6)+parseInt(e(217))/7*(parseInt(e(228))/8)+parseInt(e(225))/9+parseInt(e(222))/10*(-parseInt(e(230))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var He=i(585),We={attributes:{"data-cke":!0}};We.setAttributes=Mt(),We.insert=At().bind(null,"head"),We.domAPI=xt(),We.insertStyleElement=Dt();Ot()(He.A,We);He.A&&He.A.locals&&He.A.locals;function Ze(){const t=["model","isReady","listenTo","listView","extendTemplate","set","find","name","button","1140209HpxLAH","children","600fuvNPj","Restore this revision","2454640CVWffm","map","add","isEnabled","9782010THdREi","source","bind","isOpen","3098682tPndJR","Show more items","function","Name this revision","action","ck-on","class","5825897DBsReF","isVisible","execute","isActionsDropdownOpen","menuitem","4oRMEyQ","panelPosition","stopPropagation","10NxRCFl","first","ck-revision-history-sidebar__revision__actions","_action","items","buttonView","menu","Compare against selected","change:isActionsDropdownOpen","locale","37292qbacMx","374922NnpQam","bindTemplate"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=362]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(799373===parseInt(e(379))/1+-parseInt(e(403))/2*(-parseInt(e(368))/3)+parseInt(e(367))/4*(parseInt(e(381))/5)+parseInt(e(391))/6+-parseInt(e(398))/7+-parseInt(e(383))/8+parseInt(e(387))/9*(-parseInt(e(406))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(626),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["736656icvCym","fieldView","1929834xSscdq","render","20CSTwKz","extendTemplate","creator","ck-revision-history-sidebar__revision__controls-wrapper","unshift","select","82952iskMZy","highlight","srcElement","_createdAtFormatted","deselect","ck-disabled","revisionActionsView","value","unhighlight","220","length","from","ck-reset","createdAt","closest","1327998oJwdZE","ck-revision-history-sidebar__revision_selected","isConfirm","authors","isSelected","_revision","22dCVdbq","isEnabled","div","3533886MQjkvc","ck-revision-history-sidebar__revision_highlighted","span","set","ck-revision-history-sidebar__revision","bind","uiLanguage","148355nQQIVS",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","bindTemplate","name","listenTo","_requireRevisionName","change","isActionsDropdownOpen","revisionNameView","element","filter","28JgDyOj","isReady","map","fire","isHighlighted","ck-revision-history-sidebar__actions_dropdown_open","2433670TotzJS","setName","setTemplate","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__date","49SfOovt"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(441374===-parseInt(e(486))/1*(parseInt(e(480))/2)+-parseInt(e(501))/3+parseInt(e(529))/4*(parseInt(e(517))/5)+parseInt(e(510))/6+-parseInt(e(475))/7*(-parseInt(e(476))/8)+-parseInt(e(478))/9+parseInt(e(535))/10*(parseInt(e(507))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Qe extends((0,Q.ConfirmMixin)(It.View)){id;[Ye(526)];[Ye(492)];[Ye(506)];[Ye(523)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(520)],a=function(t,e){const i=r,n=Array[i(497)](e[i(504)])[i(528)](t=>t!=e[i(482)]);return e[i(482)]&&n[i(484)](e[i(482)]),n[i(531)](n=>new Le(t,n,n==e[i(482)]))}(e,i);this.id=i.id,this[r(506)]=i,this[r(523)]=s,this[r(515)](r(521),r(499)).to(i),this[r(515)](r(489)).to(this,r(499),t=>{return i=e[r(516)],(n=t)[(s=ze)(226)](i,{month:s(224),day:s(219)})+", "+n[s(221)](i,{hour:s(219),minute:s(219)});var i,n,s}),this[r(513)](r(505),!1),this[r(513)](r(533),!1),this[r(513)](r(525),!1),this[r(513)](r(530),!1),this[r(513)](r(508),!1),this[r(526)]=new Ve(e,It.createLabeledInputText),this[r(526)][r(477)][r(481)]({attributes:{maxlength:r(495)}}),this[r(526)][r(477)][r(515)](r(493)).to(this,r(521),t=>t||this[r(489)]),this[r(526)][r(515)](r(508)).to(this,r(505),this,r(508),(t,e)=>t&&e),this[r(492)]=n&&n[r(496)]?function(e,i){const n=qe,s=e[n(369)],r=e[n(366)],o=(0,It.createDropdown)(r);o[n(404)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(366)],s={"Compare against selected":at(n,i(364)),"Name this revision":at(n,i(394)),"Restore this revision":at(n,i(382))};return e[i(384)](t=>{const e=i,n=s[t[e(377)]];return n&&n!==t[e(377)]&&(t[e(377)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(378),model:new It.UIModel({label:t[s(377)],class:t[s(397)],withText:!0,role:s(402),_action:t[s(395)]})};i[s(370)][s(389)](s(386)).to(e,s(401),i=>s(393)!=typeof t[s(386)]||!i||t[s(386)](e)),o[s(385)](i)}return o}(e,i);return e[n(389)](n(401)).to(o,n(390)),o[n(362)][n(375)]({label:at(r,n(392)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(374)]({attributes:{class:[n(408),s.if(n(401),n(396))]},on:{click:s.to(t=>t[n(405)]())}}),o.on(n(400),t=>{const i=n;e[i(371)]&&i(393)==typeof t[i(388)][i(409)]&&t[i(388)][i(409)](e)}),(0,It.addListToDropdown)(o,a,{role:n(363)}),o[n(372)](e,n(365),(t,s,r)=>{const a=n;if(r)for(const t of o[a(373)][a(410)]){const n=t[a(380)][a(407)],s=i[a(376)](t=>t[a(395)]===n[a(409)])[a(399)];t[a(399)]=void 0===s||s(e)}}),o}(this,n):"",this[r(492)]&&this[r(492)][r(515)](r(508)).to(this),this[r(471)]({tag:r(509),attributes:{class:["ck",r(498),r(473),o.if(r(503),r(519))]},children:[{tag:r(509),attributes:{class:["ck",r(498),r(514),o.if(r(508),r(491),t=>!t),o.if(r(505),r(502)),o.if(r(533),r(511)),o.if(r(525),r(534))]},children:[this[r(526)],{tag:r(512),attributes:{class:["ck",r(474)]},children:[{text:o.to(r(489))}]},{tag:r(509),attributes:{class:["ck",r(483)]},children:[{tag:"ul",attributes:{class:["ck",r(472)]},children:a}]},this[r(492)]],on:{click:o.to(t=>{const e=r;t[e(488)][e(500)](e(518))||this[e(530)]&&this[e(508)]&&this[e(532)](e(485),{id:this.id})})}}]})}[Ye(479)](){const t=Ye;super[t(479)]();const e=this[t(526)][t(477)][t(527)];this[t(522)](e,t(524),()=>{const i=t;this[i(523)]&&!e[i(493)]||this[i(532)](i(536),{id:this.id,name:e[i(493)]}),e[i(493)]||(e[i(493)]=this[i(521)]?this[i(521)]:this[i(489)])})}[Ye(485)](){this[Ye(505)]=!0}[Ye(490)](){this[Ye(505)]=!1}[Ye(487)](){this[Ye(533)]=!0}[Ye(494)](){this[Ye(533)]=!1}}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class ni extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ri extends Ke{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Di extends Mi{static get instance(){return null===Ei&&(Ei=new Di),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Vi.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Vi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Ui=new Map;const Hi=new Map;let Wi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Hn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Hi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Hi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Qi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Wi||(Wi=(new Intl.DateTimeFormat).resolvedOptions().locale,Wi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Wi=null,Pi.clear(),Ui.clear(),Hi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{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=fo.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 Bi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Qi,...e}),$i.set(t,e)}return e}(this.locale):Qi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Vn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Ki.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Un(t.month,1,12),n=Un(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function En(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function Vn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Hn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Wn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Qn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Qn(t,e,i),s=Qn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Hn(i,2)}:${Hn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Hn(i,2)}${Hn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Hn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(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 Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Wn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Es=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Vs=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Wn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Us(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Hs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ws(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Wn(e)):Wn(e),month:as.indexOf(i)+1,day:Wn(n),hour:Wn(s),minute:Wn(r)};return o&&(a.second=Wn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Ws(e,s,n,i,r,o,a);let f;return f=c?Hs[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Ws(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Ws(e,a,i,n,s,r,o),tn.utcInstance]}const Qs=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Ks=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Xs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Es,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Vs),ar=Is(Ds),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const 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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Us])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let 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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Vr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Dn(t.z)||(i=ji.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Dn(t.u)||(t.S=qn(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(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Ur=864e13;function Hr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Wr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Qr(t,e,i=!0){return t.isValid?ws.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Hn(t.c.year,i?6:4),e?(n+="-",n+=Hn(t.c.month),n+="-",n+=Hn(t.c.day)):(n+=Hn(t.c.month),n+=Hn(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Hn(t.c.hour);return e?(o+=":",o+=Hn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Hn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Hn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Hn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Hn(Math.trunc(-t.o/60)),o+=":",o+=Hn(Math.trunc(-t.o%60))):(o+="+",o+=Hn(Math.trunc(t.o/60)),o+=":",o+=Hn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const n=Ki.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Hr(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Ki.fromObject(e)}):fo.invalid(Hr(s))}static fromMillis(t,e={}){if(Vn(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const n=Ki.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Un(t.weekNumber,1,Kn(t.weekYear,e,i)),r=Un(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Un(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||En(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Qs,er],[Ks,ir],[Xs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Ki.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Wr(this).weekYear:NaN}get weekNumber(){return this.isValid?Wr(this).weekNumber:NaN}get weekday(){return this.isValid?Wr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Hr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Qr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Qr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Qr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Qr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Vn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["fromJSDate","78liJUgU","29320ynOQah","minus","toRelativeCalendar","31284pivgSH","setLocale","startOf","toJSDate","1727qdqYFN","1283784TEjkkB","monthLong","641207XClZHU","hasSame","325vpPDHS","1592JLKjzP","147sZbrOE","408966egPsmG","4948ZLbQIx","local","2SHaNha","week","weekdayLong","year","month","day","7551jniuoY"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=424]})(t,e)}function go(t,e){const i=vo,n=fo[i(440)](t)[i(446)](e),s=fo[i(432)](),r=s[i(443)]({days:1})[i(447)](i(438));let o,a;return n[i(426)](s,i(438))?(o=n[i(447)](i(438))[i(448)](),a=n[i(444)]()):n[i(426)](r,i(438))?(o=r[i(448)](),a=n[i(444)]()):n[i(426)](s,i(434))?(o=n[i(447)](i(434))[i(448)](),a=n[i(435)]||""):n[i(426)](s,i(436))?(o=n[i(447)](i(437))[i(448)](),a=n[i(424)]||""):(o=n[i(447)](i(436))[i(448)](),a=String(n[i(436)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(247485===parseInt(e(433))/1*(-parseInt(e(430))/2)+-parseInt(e(429))/3*(-parseInt(e(431))/4)+-parseInt(e(427))/5*(-parseInt(e(445))/6)+-parseInt(e(425))/7+parseInt(e(428))/8*(parseInt(e(439))/9)+-parseInt(e(442))/10*(parseInt(e(449))/11)+-parseInt(e(450))/12*(-parseInt(e(441))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(980),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=474]})(t,e)}function _o(){const t=["ck-revision-history-sidebar__time-period__revisions","3295218VjObmc","remove","8TanQUE","ck-revision-history-sidebar__time-period","addRevision","_revisionActions","startDate","1452195jJRSnv","revisionViews","setName","5562486FEOcBI","ck-revision-history-sidebar__time-period__label","localizedPeriodName","648252FwmVgH","removeRevision","861465jOQHoY","createCollection","locale","1xjUTrf","_requireRevisionName","2793553frCXNj","add","div","select","span","uiLanguage","delegate","find","setTemplate","536282RwKnKU"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(353444===-parseInt(e(488))/1*(-parseInt(e(499))/2)+parseInt(e(485))/3+-parseInt(e(483))/4+parseInt(e(477))/5+-parseInt(e(501))/6+parseInt(e(490))/7*(-parseInt(e(503))/8)+parseInt(e(480))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(476)];[bo(478)];[bo(475)];[bo(489)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(487)][s(495)])[s(482)];this[s(476)]=e,this[s(478)]=this[s(486)](),this[s(475)]=i,this[s(489)]=n,this[s(478)][s(496)](s(493)).to(this),this[s(478)][s(496)](s(479)).to(this),this[s(498)]({tag:s(492),attributes:{class:["ck",s(504)]},children:[{tag:s(494),attributes:{class:["ck",s(481)]},children:[{text:r}]},{tag:s(492),attributes:{class:["ck",s(500)]},children:this[s(478)]}]})}[bo(474)](t){const e=bo,i=new Qe(this[e(487)],t,this[e(475)],this[e(489)]);this[e(478)][e(491)](i)}[bo(484)](t){const e=bo,i=this[e(478)][e(497)](e=>e.id===t.id);this[e(478)][e(502)](i)}}var So=i(323),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=No();return(To=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(802630===parseInt(e(501))/1*(parseInt(e(500))/2)+-parseInt(e(489))/3*(parseInt(e(488))/4)+parseInt(e(506))/5*(-parseInt(e(503))/6)+-parseInt(e(491))/7+-parseInt(e(504))/8*(parseInt(e(497))/9)+parseInt(e(493))/10+parseInt(e(495))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(492)]=_t.IconHistory,this[e(498)]({tag:e(499),attributes:{class:["ck",e(494),e(502)]},children:[i,{tag:e(505),attributes:{class:["ck",e(496)]},children:[at(t,e(490))]}]})}}function No(){const t=["23080gRaoNM","span","4555xHiQOi","856696HmAxQl","18MxPyRd","Revision history","8501857qSCbds","content","6511210HILJHq","ck-reset_all","27311867GHAYZS","ck-revision-history-sidebar__header__label","711pjlrHV","setTemplate","div","2mrQoiW","970963GbzEeg","ck-revision-history-sidebar__header","3786TnoqZB"];return(No=function(){return t})()}var Ao=i(188),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Do;function Eo(){const t=["bindTemplate","delegate","987530FiygWp","32rpfwpg","setName","addRevision","unhighlight","_addRevision","1291644ipDCVa","remove","revisionSelected","map","highlight","flat","some","find","removeRevision","_revisionActions","timePeriodViews","_revisions","createdAt","select","createCollection","div","get","isEnabled","set","render","3468970cEtwDw","672VsdPKH","480879jJMWAg","188184KTMqVM","uiLanguage","ck-revision-history-sidebar","startDate","fire","ck-reset","revisionSetName","highlightRevisions","getTime","add","4712AmWgrl","_requireRevisionName","_getTimePeriodViewByStartDate","965272yBTxsj","90KQdkzu","deselect","selectRevision","ck-rounded-corners","setTemplate","ck-revision-history-sidebar__timeline","_removeRevision","175acoZLt","revisionViews","ck-disabled","locale"];return(Eo=function(){return t})()}function Do(t,e){const i=Eo();return(Do=function(t,e){return i[t-=304]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(404762===parseInt(e(359))/1+parseInt(e(331))/2+parseInt(e(358))/3*(-parseInt(e(314))/4)+parseInt(e(357))/5+parseInt(e(304))/6*(-parseInt(e(325))/7)+-parseInt(e(332))/8*(-parseInt(e(337))/9)+parseInt(e(318))/10*(-parseInt(e(317))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends It.View{[Mo(347)];[Mo(348)];[Mo(346)];[Mo(315)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(329)];this[s(347)]=this[s(351)](),this[s(347)][s(330)](s(350)).to(this),this[s(347)][s(330)](s(333)).to(this),this[s(348)]=e,this[s(346)]=i,this[s(315)]=n,this.on(s(350),(t,e)=>{const i=s;this[i(308)](i(339),e)}),this.on(s(333),(t,e)=>{const i=s;this[i(308)](i(310),e)}),this[s(355)](s(354),!1),this[s(322)]({tag:s(352),attributes:{class:["ck",s(309),s(321),s(306)]},children:[new xo(t),{tag:s(352),attributes:{class:["ck",s(323),r.if(s(354),s(327),t=>!t)]},children:this[s(347)]}]})}[Mo(356)](){const t=Mo;super[t(356)]();for(const e of this[t(348)])this[t(336)](e);this[t(348)].on(t(313),(e,i)=>{this[t(336)](i)}),this[t(348)].on(t(338),(e,i)=>{this[t(324)](i)})}get[Mo(326)](){const t=Mo;return this[t(347)][t(340)](e=>e[t(326)][t(340)](t=>t))[t(342)]()}[Mo(320)](t){const e=Mo;for(const i of this[e(326)])t&&t.id===i.id?i[e(350)]():i[e(319)]()}[Mo(311)](t){const e=Mo;for(const i of this[e(326)])t[e(343)](({id:t})=>t===i.id)?i[e(341)]():i[e(335)]()}[Mo(336)](t){const e=Mo,i=go(t[e(349)],this[e(328)][e(305)])[e(307)];let n=this[e(347)][e(353)](0);n&&n[e(307)][e(312)]()===i[e(312)]()||(n=new Io(this[e(328)],i,this[e(346)],this[e(315)]),this[e(347)][e(313)](n)),n[e(334)](t)}[Mo(324)](t){const e=Mo,i=go(t[e(349)],this[e(328)][e(305)])[e(307)];this[e(316)](i)[e(345)](t)}[Mo(316)](t){const e=Mo;return this[e(347)][e(344)](i=>i[e(307)][e(312)]()===t[e(312)]())}}const Co=Fo;function Fo(t,e){const i=jo();return(Fo=function(t,e){return i[t-=315]})(t,e)}function jo(){const t=["defaultRevisionActions","plugins","getLaterVisibleRevision","nameRevision","init","revisionHistory.requireRevisionName","revisionViews","getEarlierVisibleRevision","173115ahmzMv","1960bSBCgW","restoreRevisionCallback","add","Compare against selected","66472HUXItS","getRevision","_handleEditorDataReady","name","isEnabled","length","destroy","723WSwkpu","listenTo","restoreRevision","12JvtQFd","change:diff","ready","map","_handleRevisionSetName","pluginName","compare","highlightRevisions","getIndex","679260ExiVWb","get","2486uDfxkX","isPremiumPlugin","appendChild","getRevisionsInDiff","focus","string","_handleRevisionSelected","assign","bind","revisionHistory.viewerSidebarContainer","config","isSelected","_revisionViewer","_sidebarView","locale","Name this revision","fieldView","revisionSetName","180VIDiXn","selectRevision","editor","element","setName","repository","diff","compareAgainstSelected","requires","isOfficialPlugin","isReady","534680nmneNX","isVisible","49884Frrgpg","revisionSelected","newRevisionId","data","_revisionsRepository","revisionHistory.revisionActions","2obluFm","availableRevisionActions","989940EeaamT","remove","_handleDiffChange","revisionHistory","_revisions","render","timePeriodViews","select","RevisionsSidebar","_createRevisionActions","action","Restore this revision"];return(jo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(160247===-parseInt(e(399))/1*(parseInt(e(377))/2)+-parseInt(e(326))/3*(parseInt(e(315))/4)+-parseInt(e(369))/5+-parseInt(e(329))/6*(parseInt(e(379))/7)+-parseInt(e(319))/8*(parseInt(e(358))/9)+parseInt(e(338))/10+parseInt(e(340))/11*(parseInt(e(371))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Co(352)];[Co(375)];[Co(353)];static[Co(391)]=[Co(365),Co(328),Co(394)];static[Co(378)]=function(){const t=Co;return{compareAgainstSelected:{name:t(318),action:({plugins:e},i)=>{const n=t,s=e[n(339)](ce),r=s[n(363)];let o=s[n(364)][n(373)],a=i.id;r[n(337)](o)>r[n(337)](a)&&([o,a]=[a,o]),s[n(335)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(339)](ce);return!(s[n(363)][n(343)](s[n(364)])[n(324)]>2||i[n(351)])}},restoreRevision:{name:t(390),action:(e,{id:i})=>{const n=t;e[n(350)][n(339)](n(382))[n(316)](i)},isVisible:({plugins:e},i)=>!!e[t(339)](ce)[t(363)][t(393)](i.id)},nameRevision:{name:t(355),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(339)](ce),o=r[s(363)][s(398)](i);r[s(335)](i,o),n[s(344)](),n[s(356)][s(386)]()}}}}();static get[Co(334)](){return Co(387)}static get[Co(367)](){return!0}static get[Co(341)](){return!0}static get[Co(366)](){return[ce]}constructor(t){const e=Co;super(t),this[e(352)]=t[e(392)][e(339)](ce),this[e(375)]=this[e(352)][e(363)],this[e(353)]=null}[Co(395)](){const t=Co,e=this[t(375)][t(383)],i=this[t(388)](),n=this[t(360)][t(350)][t(339)](t(349));this[t(353)]=new Vo(this[t(360)][t(354)],e,i,this[t(360)][t(350)][t(339)](t(396))),this[t(353)].on(t(372),this[t(346)][t(348)](this)),this[t(353)].on(t(357),this[t(333)][t(348)](this)),this[t(353)][t(348)](t(323)).to(this[t(352)]),this[t(353)][t(385)].on(t(317),(e,i)=>{const n=t;i[n(397)].on(n(317),(t,e)=>{const i=n;e[i(348)](i(323),i(368)).to(this[i(352)])})}),this[t(353)][t(384)](),this[t(327)](this[t(360)][t(374)],t(331),this[t(321)][t(348)](this)),this[t(327)](this[t(352)],t(330),this[t(381)][t(348)](this)),n[t(342)](this[t(353)][t(361)])}[Co(325)](){const t=Co;this[t(353)][t(361)][t(380)](),this[t(353)][t(325)]()}[Co(321)](){const t=Co,e=this[t(375)][t(320)](0);if(e){const i=this[t(375)][t(398)](e.id);this[t(352)][t(335)](e,i)}}[Co(346)](t,e){const i=Co,n=this[i(375)][i(320)](e.id),s=this[i(375)][i(398)](n.id);this[i(352)][i(335)](n,s)}[Co(333)](t,e){const i=Co;this[i(375)][i(320)](e.id)[i(362)](e[i(322)])}[Co(381)](t,e,i){const n=Co,s=this[n(375)][n(343)](i);s[n(324)]>2?(this[n(353)][n(336)](s),this[n(353)][n(359)](null)):(this[n(353)][n(336)]([]),this[n(353)][n(359)](s[0]))}[Co(388)](){const t=Co,e=this[t(360)],i=Lo[t(378)],n=e[t(350)][t(339)](t(376))||Lo[t(391)];if(n[t(324)])return n[t(332)](n=>{const s=t,r=s(345)==typeof n?Object[s(347)]({},i[n]):n;return r[s(389)]=r[s(389)][s(348)](this,e),r[s(370)]&&(r[s(370)]=r[s(370)][s(348)](this,e)),r})}}const Po=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=386]})(t,e)}function Uo(){const t=["document","init","14ZqqDph","1580475sQykiG","detachDomRoot","bind","replace","viewportOffset","render","284841zNSwwT","getRoot","3smOEvn","_initToolbar","setEditableElement","editable","isFocused","ready","viewportTopOffset","50372NaoMaC","_view","286066FJLOCj","stickyPanel","2136884LXUoYK","editor","_elementReplacer","view","isActive","_toolbarConfig","name","attachDomRoot","restore","destroy","focusTracker","addToolbar","1653618MOulEA","element","91asPdYr","config","rootName","limiterElement","fire","fillFromConfig","toolbar","componentFactory","get","250HZkuHa","113536QDWpgx","editing"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(292880===parseInt(e(390))/1*(parseInt(e(406))/2)+-parseInt(e(399))/3*(parseInt(e(410))/4)+parseInt(e(391))/5+-parseInt(e(422))/6+parseInt(e(424))/7*(-parseInt(e(386))/8)+-parseInt(e(397))/9+parseInt(e(433))/10*(parseInt(e(408))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends It.EditorUI{[Po(407)];[Po(415)];[Po(412)];get[Po(413)](){return this[Po(407)]}constructor(e,i){const n=Po;super(e),this[n(407)]=i,this[n(415)]=(0,It.normalizeToolbarConfig)(e[n(425)][n(432)](n(430))),this[n(412)]=new t.ElementReplacer}get[Po(423)](){const t=Po;return this[t(413)][t(423)]}[Po(389)](t){const e=Po,i=this[e(411)],n=this[e(413)],s=i[e(387)][e(413)],r=n[e(402)],o=s[e(388)][e(398)]();r[e(416)]=o[e(426)],n[e(396)]();const a=r[e(423)];this[e(401)](r[e(416)],a),n[e(402)][e(393)](e(403)).to(this[e(420)]),s[e(417)](a),this[e(412)][e(394)](t,this[e(423)]),this[e(400)](),this[e(428)](e(404))}[Po(419)](){const t=Po;super[t(419)]();const e=this[t(413)],i=this[t(411)][t(387)][t(413)];this[t(412)][t(418)](),i[t(392)](e[t(402)][t(416)]),e[t(419)]()}[Po(400)](){const t=Po,e=this[t(413)];e[t(409)][t(393)](t(414)).to(this[t(420)],t(403)),e[t(409)][t(427)]=e[t(423)],e[t(409)][t(393)](t(405)).to(this,t(395),({top:t})=>t),e[t(430)][t(429)](this[t(415)],this[t(431)]),this[t(421)](e[t(430)])}}var Wo=i(60),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Wo.A,Zo);Wo.A&&Wo.A.locals&&Wo.A.locals;function qo(t,e){var i=Bo();return(qo=function(t,e){return i[t-=102]})(t,e)}var $o=qo;function Bo(){var t=["639907cpgGvE","shouldToolbarGroupWhenFull","content","6GZaMuJ","main","_editable","5230377uQCBZy","editable","6GKTtVe","toolbar","add","5256088SdsUWR","top","stickyPanel","33484UHWKRj","1062103IaLHpr","1093846lXKbdm","3499070UbAmOU","render"];return(Bo=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(394403===parseInt(e(114))/1+parseInt(e(111))/2+parseInt(e(117))/3*(-parseInt(e(109))/4)+-parseInt(e(112))/5+parseInt(e(103))/6*(-parseInt(e(110))/7)+parseInt(e(106))/8+-parseInt(e(120))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[$o(119)];[$o(108)];[$o(104)];get[$o(102)](){return this[$o(119)]}constructor(t,e,i={}){var n=$o;super(t),this[n(108)]=new It.StickyPanelView(t),this[n(104)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(115)]}),this[n(119)]=new It.InlineEditableUIView(t,e)}[$o(113)](){var t=$o;super[t(113)](),this[t(108)][t(116)][t(105)](this[t(104)]),this[t(107)][t(105)](this[t(108)]),this[t(118)][t(105)](this[t(102)])}}const Jo=Qo;function Go(){const t=["ready","fire","576264DfrHAD","42mJuwBp","model","initialData","get","24309yUalYb","initPlugins","146644dvJDoi","559878UJshDC","init","_ui","4664305doCJdl","4989378ogBvZV","data","editing","24pUDjFs","createRoot","config","create","sourceElement","updateSourceElement","document","35430gGIEAd","destroy","locale","4430vnZEhH","view"];return(Go=function(){return t})()}function Qo(t,e){const i=Go();return(Qo=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=Qo,i=t();for(;;)try{if(693099===parseInt(e(372))/1+-parseInt(e(371))/2+parseInt(e(357))/3*(parseInt(e(379))/4)+parseInt(e(375))/5+parseInt(e(376))/6+parseInt(e(365))/7*(-parseInt(e(364))/8)+parseInt(e(369))/9*(-parseInt(e(360))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(374)];get ui(){return this[Jo(374)]}constructor(t,e){const i=Jo;super(e),this[i(354)]=t,this[i(366)][i(356)][i(380)]();const n=new Yo(this[i(359)],this[i(378)][i(361)],{shouldToolbarGroupWhenFull:!0});this[i(374)]=new Ho(this,n)}[Jo(358)](){const t=Jo;return this[t(355)](),this.ui[t(358)](),super[t(358)]()}static async[Jo(353)](t,e){const i=Jo,n=new this(t,e);return await n[i(370)](),await n.ui[i(373)](t),await n[i(377)][i(373)](n[i(381)][i(368)](i(367))||""),n[i(363)](i(362)),n}}const Xo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=324]})(t,e)}function ea(){const t=["setAttribute","get","_restoreRevision","toLocaleTimeString","RevisionViewer","160494QWYmLs","_viewerEditor","_closeRevisionViewer","lazyRoots","_recalculatePageBreaks","has","removeAttribute","16084DWYvxw","creator","saveRevision","pluginName","createRangeIn","error","removeSelectionAttribute","5emLsoP","view","insert","RevisionHistoryUI","1044WAakQP","revisionHistory.showRevisionViewerCallback","getRevisions","repository","Autosave","parse","includes","style","getRevisionRootsAttributes","push","_showRevisionViewer","toVersion","join","init","editor","$graveyard","isEnabled","isReadOnly","DocumentOutlineUI","createdAt","restoreRevision","addRoot","users","enableReadOnlyMode","DocumentOutline","revisionHistory.restoreRevisionCallback","long","disableReadOnlyMode","remove","numeric","getUser","removeMarker","create","RestrictedEditingMode","translations","refreshVisibility","RevisionHistory","commands","set","changesNavigation","rootName","locale","toJSON","selection","isAnonymous","revisionHistory.requireRevisionName","save","_enhanceShowRevisionViewerCallback","data","261JoIvTN","1677135tNrgmB","_cleanUp","indexOf","revisionHistory.viewerEditorElement","from","detachRoot","map","revision-history-missing-configuration","Users","markers","13QfZCqm","block","then","revision-history-viewer-opened","750qexDAB","revisionHistory.editorContainer","PaginationLookup","isRevisionViewerOpen","toLocaleDateString","revisionHistory","toolbar","revisionHistory.closeRevisionViewerCallback","776pvAwVA","RevisionHistoryUtils","addUser","requires","showRevisionViewerCallback","uiLanguage","setSelection","config","none","change","end","addRevisionData","24129kyHbRq","isReady","getAttributeKeys","update","isPremiumPlugin","getRevisionDocumentData","Annotations","plugins","adapter","keys","fromCharCode","define","Restored","destroy","loadRevisionData","getRoot","RevisionTracker","display","enqueueChange","_getRevisionViewerEditorConfig","roots","95469gcessE","isAttached","_enhanceCloseRevisionViewerCallback","element","getMarkersGroup","result","exitToEditing","closeRevisionViewerCallback","restrictedEditingException","document","isOpen","catch","_update","Dialog","model","fromVersion","14888772lZIveU","revisionHistory.viewerContainer","isOfficialPlugin","getRevision","1045oFaFKb","RevisionViewerIntegration","refreshPositioning","bind","hide","RevisionsRepository","name"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(511604===-parseInt(e(420))/1*(-parseInt(e(406))/2)+parseInt(e(474))/3+-parseInt(e(413))/4*(-parseInt(e(394))/5)+-parseInt(e(424))/6*(-parseInt(e(353))/7)+-parseInt(e(341))/8*(-parseInt(e(473))/9)+-parseInt(e(333))/10*(parseInt(e(374))/11)+-parseInt(e(390))/12*(parseInt(e(329))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Xo(423),Xo(457)];class na extends G.Plugin{[Xo(379)];static get[Xo(416)](){return Xo(395)}static get[Xo(392)](){return!0}static get[Xo(357)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(325)](t=>String[e(363)](t))[e(436)]("")}super(t),this[e(379)]=e(351),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends G.Plugin{[Xo(407)];static get[Xo(416)](){return Xo(460)}static get[Xo(392)](){return!0}static get[Xo(357)](){return!0}static get[Xo(344)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(438)][i(348)][i(402)](i(338)))throw new t.CKEditorError(i(326),this);this[i(407)]=null,this[i(462)](i(336),!1),this[i(438)][i(348)][i(364)](i(425),t=>this[i(434)]({...t,translations:this[i(438)][i(465)][i(458)]})),this[i(438)][i(348)][i(364)](i(340),t=>this[i(408)](t)),this[i(438)][i(348)][i(364)](i(449),t=>this[i(403)](t)),this[i(438)][i(348)][i(364)](i(469),!1),this[i(471)](),this[i(376)]()}set[Xo(361)](t){const e=Xo;this[e(438)][e(360)][e(402)](e(369))[e(361)]=t}get[Xo(361)](){const t=Xo;return this[t(438)][t(360)][t(402)](t(369))[t(361)]}[Xo(352)](t){const e=Xo;return this[e(438)][e(360)][e(402)](e(369))[e(352)](t)}[Xo(393)](t){const e=Xo;return this[e(438)][e(360)][e(402)](e(399))[e(393)](t)}[Xo(426)](t){const e=Xo;return this[e(438)][e(360)][e(402)](e(399))[e(426)](t||{toJSON:!1})}[Xo(372)](){const e=Xo,i=this[e(438)],n=(0,Q.sanitizeEditorConfig)(i,ia),s=i[e(360)][e(402)](e(369)),r=i[e(360)][e(402)](e(327))[e(446)];return n[e(339)]=[e(380),e(444),e(463)],delete n[e(409)],n[e(360)][e(433)](na,ce,Ne,class extends G.Plugin{static get[e(344)](){return[ce,e(327)]}[e(437)](){const n=e,o=this[n(438)][n(360)][n(402)](n(327));for(const t of r)t[n(468)]||o[n(454)](t.id)||o[n(343)](t);const a=s[n(427)][n(426)]();let c=null;const u=this[n(438)][n(360)][n(402)](n(405));u[n(361)]=s[n(361)],u[n(397)](n(440)).to(s),this[n(438)][n(461)][n(402)](n(444))[n(397)](n(440)).to(i,n(441),t=>!t);for(const e of a){const i=null===e[n(414)];if(i&&e[n(435)]===e[n(389)])continue;const r=e[n(466)]();u[n(352)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(386)](r,o);else if(!o){const e=a[u(466)]();e.id=(0,t.uid)(),s[u(415)](e,a[u(435)])[u(331)](t=>{c=t})}}else e[u(386)](r,o)})}}},Lo),n}[Xo(471)](){const t=Xo,e=this[t(438)][t(348)][t(402)](t(338))[t(345)];this[t(438)][t(348)][t(462)](t(425),async()=>{const i=t;this[i(438)][i(447)](i(332));const n=this[i(438)][i(360)][i(402)](i(369));if(this[i(438)][i(360)][i(411)](i(428))){const t=this[i(438)][i(360)][i(402)](i(428));await t[i(470)]()}else await n[i(356)]();if(this[i(438)][i(360)][i(411)](i(335))&&this[i(438)][i(360)][i(402)](i(335))[i(410)](),this[i(438)][i(360)][i(411)](i(387))){const t=this[i(438)][i(360)][i(402)](i(387));t[i(384)]&&t[i(398)]()}const s=this[i(372)]();return e(s)[i(331)](t=>{const e=i;return this[e(407)]=t,this[e(438)][e(360)][e(411)](e(359))&&this[e(438)][e(360)][e(402)](e(359))[e(459)](),this[e(438)][e(360)][e(411)](e(448))&&(this[e(438)][e(360)][e(402)](e(442))[e(421)][e(377)][e(431)][e(370)]=e(349)),t})[i(385)](t=>(console[i(418)](t),this[i(438)][i(451)](i(332)),null))})}[Xo(376)](){const t=Xo,e=this[t(438)][t(348)][t(402)](t(338))[t(381)];this[t(438)][t(348)][t(462)](t(340),()=>(this[t(438)][t(360)][t(411)](t(335))&&this[t(438)][t(360)][t(402)](t(335))[t(410)](),this[t(438)][t(360)][t(411)](t(448))&&(this[t(438)][t(360)][t(402)](t(442))[t(421)][t(377)][t(431)][t(370)]=""),this[t(407)][t(360)][t(402)](t(405))[t(475)](),e(this[t(407)])[t(331)](()=>{const e=t;if(this[e(438)][e(451)](e(332)),this[e(407)]=null,this[e(438)][e(360)][e(411)](e(359))){const t=this[e(438)][e(360)][e(402)](e(359));t[e(459)](),t[e(396)]()}})))}[Xo(434)](t){const e=Xo,i=this[e(438)][e(348)][e(402)](e(334)),n=this[e(438)][e(348)][e(402)](e(391)),s=this[e(438)][e(348)][e(402)](e(477));return Ko[e(456)](s,t)[e(331)](t=>(n[e(431)][e(370)]=e(330),i[e(431)][e(370)]=e(349),this[e(336)]=!0,t))}[Xo(408)](t){const e=Xo,i=this[e(438)][e(348)][e(402)](e(334));return this[e(438)][e(348)][e(402)](e(391))[e(431)][e(370)]=e(349),i[e(431)][e(370)]="",this[e(336)]=!1,t[e(366)]()}async[Xo(403)](t){const e=Xo,i=this[e(438)],n=this[e(407)][e(360)][e(402)](e(405)),s=i[e(360)][e(402)](e(369)),r=i[e(360)][e(402)](e(342)),o=n[e(427)][e(393)](t);let a,c,u;try{await r[e(367)](o,this[e(361)]),a=r[e(358)](o),c=r[e(432)](o)}catch(t){return void console[e(418)](t)}i[e(388)][e(350)](t=>{const n=e;for(const e of Array[n(478)](i[n(388)][n(328)][n(378)](n(382))))t[n(455)](e)}),n[e(354)]=!1,i[e(388)][e(371)](t=>{const n=e;t[n(347)](null),t[n(419)](i[n(388)][n(383)][n(467)][n(355)]());const s=Object[n(362)](a);for(const e of i[n(388)][n(383)][n(373)])n(439)!=e[n(464)]&&e[n(375)]()&&!s[n(430)](e[n(464)])&&t[n(324)](e);for(const e of s){let s=i[n(388)][n(383)][n(368)](e);s&&s[n(375)]()||(s=t[n(445)](e));const r=c[e],o=Object[n(362)](r),u=a[e];for(const e of s[n(355)]())o[n(430)](e)||t[n(412)](e,s);for(const i of o)t[n(401)](i,c[e][i],s);t[n(452)](t[n(417)](s)),t[n(422)](i[n(472)][n(429)](u,s),s,0)}});const l=at(i[e(465)],e(365));return u=o[e(400)]?-1==o[e(400)][e(476)](l)?l+": "+o[e(400)]:o[e(400)]:l+": "+o[e(443)][e(337)](i[e(465)][e(346)],{month:e(450),day:e(453)})+", "+o[e(443)][e(404)](i[e(465)][e(346)],{hour:e(453),minute:e(453)}),await s[e(415)]({name:u}),n[e(354)]=!0,i[e(348)][e(402)](e(338))[e(381)]()}}function ra(){var t=["12954912wITova","1273503drULZj","1593vroHNv","748890Ivxsmj","6pDLHpL","3170842fGoHJE","25cDRclQ","172580OXHUHe","886684RJPuzc","11406101yItnjs"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=159]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(851926===parseInt(e(161))/1+-parseInt(e(165))/2+parseInt(e(163))/3+-parseInt(e(168))/4*(-parseInt(e(166))/5)+parseInt(e(164))/6*(-parseInt(e(159))/7)+-parseInt(e(160))/8+-parseInt(e(162))/9*(-parseInt(e(167))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|
|
5
|
+
*/(()=>{var t={6:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},557: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)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function H(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?H(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?U(e)?Z(t,H(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=247]})(t,e)}function Y(){const t=["model","319txczOb","111VXhNVt","469CyjHSb","map","creator","206750JPFxRy","12EIALsn","authorsIds","toVersion","529091jdOexN","setAttribute","creatorId","23324561cyOLpm","108726QgCFwk","diffData","77504QMyvhV","fromVersion","_update","removeAttribute","toJSON","set","424sHmMzD","228339WWQtWL","attributes","fire","authors","setName","createdAt","name","245oFxafV","29090ViKwQK"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(952614===parseInt(e(258))/1+parseInt(e(247))/2*(parseInt(e(250))/3)+-parseInt(e(264))/4*(-parseInt(e(278))/5)+-parseInt(e(262))/6*(parseInt(e(251))/7)+parseInt(e(270))/8*(parseInt(e(271))/9)+parseInt(e(254))/10*(parseInt(e(249))/11)+-parseInt(e(255))/12*(parseInt(e(261))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(253)];[$(274)];[$(263)];[$(257)];[$(265)];[$(248)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(253)]=e[i(253)]||null,this[i(274)]=e[i(274)]||[],this[i(263)]=e[i(263)]||null,this[i(257)]=e[i(257)]||0,this[i(265)]=e[i(265)]||0,this[i(269)](i(277),e[i(277)]||""),this[i(269)](i(276),e[i(276)]||new Date),this[i(269)](i(272),e[i(272)]||{})}[$(275)](t){this[$(266)]({name:t})}[$(259)](t,e){const i=$,n=R(this[i(272)]);W(n,t,e),this[i(266)]({attributes:n})}[$(267)](t){const e=$,i=R(this[e(272)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&U(e))return q(t,H(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(266)]({attributes:i})}[$(266)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(277),i(276),i(263),i(274),i(272),i(257),i(265),i(260)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(274)]&&(s[i(256)]=s[i(274)][i(252)](t=>t.id),delete s[i(274)]),this[i(273)](i(266),s,e))}[$(268)](){const t=$;return{id:this.id,name:this[t(277)],creatorId:this[t(253)]?this[t(253)].id:null,authorsIds:this[t(274)][t(252)](t=>t.id),diffData:this[t(263)],createdAt:this[t(276)],attributes:this[t(272)],fromVersion:this[t(265)],toVersion:this[t(257)]}}}var G=i(782),K=i(211),Q=i(783);function X(){const t=["6444EKyzOu","name","isNaN","150gsTtLj","1958665IGzWGd","creatorId","23580vrPAVb","oldRevisionId","getRevision","28631647gUfhUC","getEarlierVisibleRevision","1938660rbgtub","later","editor","createRevision","attributes","10848496JkWhSY","afterInit","diffData","getIndex","toJSON","push","isPremiumPlugin","data","getRevisionsIterator","newRevisionId","createdAt","get","2072lPdabq","addRevision","earlier","getLaterVisibleRevision","href","isOfficialPlugin","fromCharCode","requires","authorsIds","toVersion","join","length","add","from","24VlZePD","392371SkfKJG","plugins","reverse","RevisionsRepository","map","fromVersion","Users","_revisions","8OAhbiF","getRevisionsInDiff","getUser","getRevisions","pluginName","180QbdwUk"];return(X=function(){return t})()}const tt=et;function et(t,e){const i=X();return(et=function(t,e){return i[t-=383]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(856127===-parseInt(e(383))/1*(-parseInt(e(411))/2)+parseInt(e(423))/3+-parseInt(e(406))/4*(-parseInt(e(416))/5)+parseInt(e(415))/6*(parseInt(e(398))/7)+parseInt(e(428))/8+-parseInt(e(412))/9*(-parseInt(e(418))/10)+-parseInt(e(421))/11*(parseInt(e(397))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class it extends G.Plugin{[tt(405)];static get[tt(390)](){return[K.Users]}static get[tt(410)](){return tt(401)}static get[tt(388)](){return!0}static get[tt(434)](){return!0}get[tt(394)](){const t=tt;return this[t(405)][t(394)]}constructor(e){const i=tt;super(e),this[i(405)]=new t.Collection}[tt(429)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(414)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(402)](t=>String[e(389)](t))[e(393)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1758758400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,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(387)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(426)](t){const e=tt,i=this[e(425)][e(399)][e(439)](e(404));return new J({id:t.id,name:t[e(413)],creator:t[e(417)]?i[e(408)](t[e(417)]):null,diffData:t[e(430)]||t[e(435)],authors:t[e(391)][e(402)](t=>i[e(408)](t)),createdAt:new Date(t[e(438)]),attributes:t[e(427)],fromVersion:t[e(403)],toVersion:t[e(392)]})}[tt(384)](t,e=0){const i=tt;this[i(405)][i(395)](t,e)}[tt(420)](t){const e=tt;return this[e(405)][e(439)](t)}[tt(409)](t={toJSON:!1}){const e=tt,i=Array[e(396)](this[e(405)]);return i[e(400)](),t[e(432)]?i[e(402)](t=>t[e(432)]()):i}[tt(431)](t){const e=tt;return this[e(405)][e(431)](t)}[tt(422)](t){const e=tt,[,i]=this[e(436)](t,{direction:e(385)});return i}[tt(386)](t){const e=tt,[,i]=this[e(436)](t,{direction:e(424)});return i}[tt(407)](t){const e=tt,i=[];for(const n of this[e(436)](t[e(437)]))if(i[e(433)](n),n.id===t[e(419)])break;return i}*[tt(436)](t,{direction:e=tt(385),filter:i=()=>!0}={}){const n=tt,s=n(385)===e?1:-1;let r=this[n(405)][n(439)](t),o=this[n(431)](r);for(yield r;r;){if(o+=s,r=this[n(420)](o),!r)return;i(r)&&(yield r)}}}function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=229]})(t,e)}const st=nt;function rt(){const t=["type","22703304THQztH","htmlProcessor","data","_getTypeCharForViewElement","attachChange","document","_appendChild","from","children","diffData","2198auqudf","parse","584372KIxwXi","pluginName","getRevisionDocumentData","domDocument","marked","revision-start","_viewClassToTypeChar","data-revision-","_typeCharToViewClass","forEach","constructor","toModel","getRevisionRootsAttributes","10JueKBR","name","loadRevisionData","viewChildrenToDom","getRevision","append","isPremiumPlugin","6222050iSPxXS","map","collaboration.channelId","domChildrenToView","16782TuDGDa","_setCustomProperty","attributes","22iYUEpI","getFillerOffset","startsWith","div","_getViewFromDiffObj","insertions","revision-end","filter","editor","useFillerType","config","default","render","length","innerHTML","1956vtgYhK","toData","string","isOfficialPlugin","_makeModelFromViewString","2156YPKjcD","476145oadCpY","customProperties","childNodes","isAttached","attributesAfter","_removeRevisionMarkers","7518969aVqqjj","editing","RevisionHistoryUtils","createElement","get","processor","8YnAgby","domConverter","view","fillerOffset"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(780838===parseInt(e(276))/1+parseInt(e(275))/2*(parseInt(e(270))/3)+-parseInt(e(305))/4*(-parseInt(e(241))/5)+-parseInt(e(252))/6*(parseInt(e(303))/7)+parseInt(e(288))/8*(parseInt(e(282))/9)+-parseInt(e(248))/10*(-parseInt(e(255))/11)+-parseInt(e(293))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(229)](){return st(284)}static get[st(273)](){return!0}static get[st(247)](){return!0}[st(234)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[st(236)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[st(243)](t,e){const i=st;if(t[i(302)]||!e)return;const n=this[i(263)][i(265)][i(286)](i(250)),s=await e[i(245)]({channelId:n,revisionId:t.id});t[i(302)]=s[i(302)]}[st(230)](t){const e=st,i={};for(const n in t[e(302)]){if(t[e(302)][n][e(297)]&&!t[e(302)][n][e(297)][e(279)])continue;const s=this[e(281)](JSON[e(304)](t[e(302)][n][e(260)])),r=this[e(263)][e(283)][e(290)][e(298)],o=new Q.ViewDocumentFragment(r,s[e(249)](t=>this[e(259)](t,!1)));this[e(263)][e(295)][e(287)][e(264)](e(232)),i[n]=this[e(263)][e(295)][e(287)][e(271)](o),this[e(263)][e(295)][e(287)][e(264)](e(266))}return i}[st(240)](t){const e=st,i={};for(const n in t[e(302)])t[e(302)][n][e(297)]&&!t[e(302)][n][e(297)][e(279)]||(i[n]=t[e(302)][n][e(280)]||{});return i}[st(296)](t){const e=st;return this[e(234)][e(286)](t[e(238)])}[st(259)](t,e){const i=st,n=this[i(263)][i(283)][i(290)][i(298)];if(i(272)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(292)]||"r"==t[i(292)]?[]:t[i(301)][i(249)](t=>this[i(259)](t,e));const o=this[i(236)][i(286)](t[i(292)])||Q.ViewElement,a=this[i(263)][i(295)][i(294)][i(289)];if(s=new o(n,t[i(242)],t[i(254)],r),"u"==t[i(292)]&&t[i(301)][0]){const r=t[i(301)][0];if(s[i(267)]=function(t){const e=i,n=t[e(285)](e(258));return n[e(269)]=r,n[e(278)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(299)](s);const e=Array[i(300)](a[i(244)](t,{bind:!1})),r=a[i(231)][i(285)](i(258));r[i(246)](...e),s=Array[i(300)](a[i(251)](r))[0]}}else if("r"==t[i(292)]&&t[i(301)][0]){const r=t[i(301)][0];if(s[i(267)]=function(t){t[i(269)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(299)](s);const e=Array[i(300)](a[i(244)](t,{bind:!1})),r=a[i(231)][i(285)](i(258));r[i(246)](...e);const o=Array[i(300)](a[i(251)](r));o[i(268)]>1?s[i(299)](o):s=o[0]}}if(t[i(277)])for(const[e,n]of t[i(277)])s[i(253)](e,n);const c=void 0===t[i(291)]?null:t[i(291)];return null!==c&&(s[i(256)]=()=>c),s}}[st(274)](t){const e=st,i=JSON[e(304)](t),n=this[e(263)][e(283)][e(290)][e(298)],s=new Q.ViewDocumentFragment(n,i[e(249)](t=>this[e(259)](t,!0)));return this[e(263)][e(295)][e(239)](s)}[st(281)](t){const e=st;return(t=t[e(262)](t=>!t[e(242)]||e(233)!==t[e(242)]&&e(261)!==t[e(242)]))[e(237)](t=>{const i=e;i(272)!=typeof t&&(t[i(301)]=this[i(281)](t[i(301)]),t[i(254)]=t[i(254)][i(262)](t=>!t[0][i(257)](i(235))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=kt();return(mt=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(896542===-parseInt(e(415))/1*(-parseInt(e(314))/2)+-parseInt(e(352))/3*(-parseInt(e(548))/4)+-parseInt(e(440))/5+-parseInt(e(417))/6*(-parseInt(e(527))/7)+-parseInt(e(621))/8*(-parseInt(e(489))/9)+-parseInt(e(466))/10*(-parseInt(e(376))/11)+-parseInt(e(407))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class pt extends G.Plugin{[ft(312)];[ft(356)];[ft(616)]=null;[ft(629)];[ft(412)]=null;[ft(453)];[ft(549)];[ft(341)];[ft(360)];[ft(320)];[ft(416)];[ft(363)];[ft(396)];[ft(391)];static get[ft(524)](){return ft(544)}static get[ft(626)](){return!0}static get[ft(588)](){return!0}static get[ft(329)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(629)]=this[i(582)][i(437)][i(470)](i(610)),this[i(320)]=this[i(582)][i(437)][i(470)](i(500)),this[i(453)]=new vt(this[i(582)]),this[i(341)]=this[i(582)][i(361)][i(470)](i(488))||i(478),this[i(360)]=new Map,this[i(391)]=null;const n=(0,t.uid)();this[i(549)]={history:this[i(582)][i(429)][i(564)][i(395)],getLatestVersion:()=>Promise[i(612)](this[i(582)][i(429)][i(564)][i(624)]),getCurrentRevisionId:()=>n},this[i(553)](i(516),!1),this[i(553)](i(551),!0),this[i(553)](i(578),!1),this[i(582)][i(361)][i(427)](i(608),!0),this[i(582)][i(390)][i(383)](i(321))[i(525)]({view:i(559)})}[ft(375)](){const t=ft;this[t(606)](),this[t(582)][t(419)].on(t(332),()=>{const e=t,i=this[e(629)][e(399)](0),n=i&&null===i[e(501)]?i:null;if(this[e(363)]=!!n&&this[e(582)][e(361)][e(470)](e(608)),this[e(582)][e(437)][e(531)](e(454))){const t=this[e(549)][e(369)](),s=this[e(629)][e(399)](t);if(s)this[e(396)]=s[e(388)],this[e(363)]=!1;else{const t=this[e(549)][e(395)][e(357)][e(495)](t=>!t[e(632)]),s=t?t[e(465)]:this[e(549)][e(395)][e(624)];i?(i[e(534)]<s&&i[e(339)]({toVersion:s}),this[e(363)]?(this[e(549)][e(369)]=()=>n.id,this[e(396)]=n[e(388)]):(this[e(396)]=i[e(534)],this[e(363)]=!1)):(this[e(396)]=s,this[e(363)]=!1)}}else n&&(this[e(582)][e(429)][e(564)][e(395)][e(624)]=Math[e(519)](n[e(534)],this[e(582)][e(429)][e(564)][e(395)][e(624)]),n[e(388)]===n[e(534)]?(0!==n[e(388)]&&(this[e(549)][e(369)]=()=>n.id),this[e(363)]=!1):this[e(363)]&&(this[e(549)][e(369)]=()=>n.id,this[e(396)]=n[e(388)])),this[e(363)]||(this[e(396)]=this[e(582)][e(429)][e(564)][e(624)]);this[e(453)][e(375)](this[e(549)][e(395)]),this[e(514)](this[e(396)]),this[e(598)](this[e(396)]),this[e(412)]&&this[e(494)]()}),this[t(533)](t(516)).to(this,t(578),t=>!t),this[t(312)]=this[t(582)][t(361)][t(470)](t(312));const e=this[t(582)];this[t(356)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(618)==r||i(503)==r||i(557)==r||i(580)==r||i(445)==r||i(585)==r||i(589)==r||i(528)==r){delete e[s],n=r,clearInterval(this[i(356)]),this[i(356)]=void 0;break}}i(503)==n&&e[i(502)](i(365)),i(557)==n&&e[i(502)](i(392)),i(580)==n&&e[i(502)](i(538)),i(445)==n&&e[i(502)](i(513),i(460)),i(585)==n&&e[i(502)](i(384)),i(589)==n&&e[i(502)](i(333)),i(528)==n&&e[i(502)](i(480))},1e3)}async[ft(615)](){const t=ft;if(this[t(629)][t(345)]>0){const e=this[t(629)][t(399)](0),i=await this[t(349)](e),n=await this[t(436)](e);this[t(617)](i,n)}}[ft(367)](){const t=ft;super[t(367)](),this[t(356)]&&clearInterval(this[t(356)])}[ft(540)](t){this[ft(549)]=t}async[ft(343)](){const t=ft,e=await this[t(549)][t(347)]();if(e>this[t(616)][t(534)]){await this[t(439)]();const i=this[t(342)]({revision:this[t(616)],to:e});i[t(394)]=i[t(327)][t(483)](e=>this[t(582)][t(437)][t(470)](t(405))[t(474)](e)),this[t(616)][t(339)](i)}}async[ft(563)](e={},i=null){const n=ft,s=[];await this[n(439)](),this[n(363)]=!1,i>this[n(616)][n(534)]&&(i=null),null===i&&(i=await this[n(549)][n(347)]());const r=this[n(558)](i),o=this[n(342)]({from:r,to:i});if(this[n(616)][n(534)]<i){const t=this[n(342)]({revision:this[n(616)],from:i,to:i});t[n(394)]=[],t[n(327)]=[],t.id=this[n(616)].id,this[n(616)][n(339)](t,!0),delete t[n(394)],s[n(451)](t)}e[n(330)]=this[n(582)][n(437)][n(470)](n(405)).me.id,e[n(459)]=e[n(459)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(386)](e);s[n(451)](e);const c=this[n(629)][n(370)](a);if(0!==c){const t=this[n(629)][n(399)](c-1);if(t[n(388)]!==i){const r=this[n(453)][n(571)](i,t[n(534)]),o={id:t.id,diffData:r[n(574)],authorsIds:r[n(327)],authors:r[n(327)][n(483)](t=>this[n(582)][n(437)][n(470)](n(405))[n(474)](t)),fromVersion:i};t===this[n(616)]&&(o[n(413)]=new Date(e[n(413)][n(487)]()+10)),t[n(339)](o,!0),delete o[n(394)],s[n(451)](o)}}if(this[n(412)]){for(const t of s)this[n(526)](t.id,t,!0);this[n(494)]()}return a}[ft(386)](t){const e=ft,i=this[e(629)][e(322)](t);return this[e(412)]&&i.on(e(339),(t,i,n)=>{const s=e;n||(this[s(526)](i.id,i,!0),this[s(494)]())}),this[e(629)][e(438)](i,this[e(456)](i)),i}async[ft(349)](t){const e=ft;return await this[e(320)][e(623)](t,this[e(412)]),this[e(320)][e(349)](t)}async[ft(436)](t){const e=ft;return await this[e(320)][e(623)](t,this[e(412)]),this[e(320)][e(436)](t)}[ft(494)](){const t=ft;if(0===this[t(360)][t(336)])return;if(this[t(578)])return;let e=Array[t(613)](this[t(360)][t(546)]());this[t(360)][t(560)]();for(let i=0;i<e[t(345)];i++){const n=e[i];let s=!1;for(const e of Object[t(599)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(446)](t=>null!==t),!e[t(345)])return;for(let i=0;i<e[t(345)];i++){const n=e[i];void 0!==n[t(388)]&&void 0===n[t(534)]&&(n[t(534)]=this[t(629)][t(399)](n.id)[t(534)]),void 0!==n[t(534)]&&void 0===n[t(388)]&&(n[t(388)]=this[t(629)][t(399)](n.id)[t(388)])}const i=this[t(582)][t(361)][t(470)](t(488));this[t(578)]=!0,this[t(318)](),this[t(412)][t(344)](e,i)[t(334)](()=>{this[t(578)]=!1})[t(404)](e=>{const i=t;if(e)for(const t of e)this[i(572)]({id:t.id,createdAt:t[i(413)]});this[i(492)](),this[i(494)]()})}[ft(342)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(388)],i=null!==i?i:t[n(534)];const s=this[n(453)][n(571)](e,i),r={diffData:s[n(574)],authorsIds:s[n(327)],fromVersion:e,toVersion:i};if(!t||i!==t[n(534)]){const t=i-1,e=this[n(549)][n(395)][n(324)](t);r[n(413)]=e&&e[n(413)]||new Date}if(this[n(391)]&&e===this[n(391)][n(388)])for(const t of this[n(391)][n(394)])r[n(327)][n(310)](t.id)||r[n(327)][n(451)](t.id);return r}[ft(526)](t,e,i){const n=ft;if(this[n(360)][n(531)](t)){const s=this[n(360)][n(470)](t);e=i?{...s,...e}:{...e,...s}}this[n(360)][n(553)](t,e)}[ft(572)](t){const e=ft,i=this[e(629)][e(399)](t.id);if(t[e(413)]&&(t[e(413)]=new Date(t[e(413)])),t[e(327)]){const i=this[e(582)][e(437)][e(470)](e(405));t[e(394)]=t[e(327)][e(483)](t=>i[e(474)](t))}i[e(339)](t,!0)}[ft(514)](t){const e=ft,i=this[e(629)][e(399)](this[e(629)][e(345)]-1);if(i)this[e(341)]=i.id;else{const i=!this[e(582)][e(429)][e(564)][e(378)][e(495)](t=>this[e(582)][e(429)][e(543)](t)),n=this[e(582)][e(437)][e(470)](e(405)).me.id,s=at(this[e(582)][e(447)],e(i?331:364));this[e(362)]({from:t,to:t,id:this[e(341)],name:s,creatorId:n})}}[ft(598)](t){const e=ft,i=this[e(549)][e(369)]();this[e(616)]=this[e(629)][e(399)](i),this[e(616)]||(this[e(616)]=this[e(362)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(439)](){const t=ft;this[t(363)]&&!this[t(391)]&&(await this[t(320)][t(623)](this[t(616)],this[t(412)]),this[t(453)][t(484)](this[t(616)]),this[t(391)]={fromVersion:this[t(616)][t(388)],authors:this[t(616)][t(394)][t(393)]()})}[ft(617)](e,i){const n=ft;let s=this[n(582)][n(361)][n(470)](n(603)),r=this[n(582)][n(361)][n(470)](n(317));if(void 0===s){s={};for(const t of this[n(582)][n(429)][n(564)][n(536)]())s[t]=""}if(n(620)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(582)][n(429)][n(564)][n(536)]())r[t]={}}let o=!1;const a=Object[n(599)](s),c=Object[n(599)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(382)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(599)](r[t])[n(345)]>0){o=!0;break}}o||(o=c[n(593)](t=>!this[n(582)][n(429)][n(564)][n(346)](t))),o&&(0,t.logWarning)(n(428),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(582)][n(361)][n(553)](n(603),e),this[n(582)][n(361)][n(553)](n(317),i)}[ft(318)](){const t=ft;if(!this[t(416)]){const e=this[t(582)][t(437)][t(470)](t(555));this[t(416)]=e[t(587)](at(this[t(582)][t(447)],t(373)))}}[ft(492)](){const t=ft;this[t(416)]&&(this[t(582)][t(437)][t(470)](t(555))[t(458)](this[t(416)]),this[t(416)]=null)}[ft(456)](t){const e=ft,i=this[e(629)][e(609)]();i[e(550)]();let n=0;for(;n<i[e(345)];){const s=i[n];if(s===this[e(616)]){n++;continue}if(s.id===this[e(341)])break;const r=t[e(534)]-s[e(534)]||t[e(388)]-s[e(388)];if(r>0)break;if(r<0)n++;else{if(!t[e(501)]&&s[e(501)])break;if(s[e(501)]||!t[e(501)]){if(t[e(413)]>s[e(413)])break;n++}else n++}}return n}[ft(558)](t){const e=ft,i=this[e(629)][e(609)]();i[e(550)](),i[e(387)]();const n=i[e(495)](i=>i[e(534)]<=t)[e(534)];return n<this[e(396)]?this[e(396)]:n}[ft(362)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(342)]({from:e,to:i});o[r(459)]=t,o[r(330)]=n,o.id=s;const a=this[r(386)](o);return this[r(412)]&&this[r(526)](o.id,o,!0),a}[ft(606)](){const t=ft;this[t(582)][t(390)][t(383)](t(426))[t(607)]({model:t(559)})}}class vt{[ft(582)];[ft(505)];[ft(566)];[ft(627)];[ft(335)];[ft(583)];[ft(448)];[ft(414)];[ft(354)];[ft(592)];[ft(400)];[ft(486)];[ft(374)];[ft(541)];[ft(431)];[ft(530)];[ft(529)];constructor(t){const e=ft;this[e(582)]=t,this[e(566)]=new Map,this[e(627)]=-1,this[e(335)]=-1,this[e(583)]=new Map,this[e(448)]=new Map,this[e(414)]=new Map,this[e(354)]=new Map,this[e(592)]=new Map,this[e(400)]=new Map,this[e(486)]=new Map,this[e(374)]=new Map,this[e(541)]=new Map,this[e(431)]=new Map,this[e(530)]=1}[ft(375)](t){const e=ft;this[e(505)]=t;const i=new Map,n=new Map,s=this[e(582)][e(429)][e(564)][e(378)][e(483)](t=>t[e(622)]);for(const t of s){const s=this[e(582)][e(429)][e(564)][e(346)](t),r=gt(s);i[e(553)](t,r),n[e(553)](t,Object[e(377)](s[e(368)]()))}const r=Array[e(613)](this[e(582)][e(429)][e(485)])[e(483)](t=>[t[e(459)],t[e(628)]()]),o=this[e(505)][e(624)];this[e(601)](o,i,r,n),this[e(529)]=this[e(530)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(553)](t,i),c[e(553)](t,{})}this[e(601)](Number[e(496)],a,[],c)}[ft(571)](t,e){const i=ft;if(this[i(627)]===t&&this[i(335)]<=e)this[i(566)][i(336)]>1&&this[i(462)](this[i(335)]),this[i(591)](this[i(335)],e,!0);else{if(!this[i(566)][i(531)](t)){const e=this[i(398)](t);this[i(434)](e,t,!1)}this[i(434)](t,e,!0)}return this[i(627)]=t,this[i(335)]=e,this[i(595)]()}[ft(484)](t){const e=ft;if(!this[e(566)][e(531)](t[e(388)])){const i=this[e(398)](t[e(388)]);this[e(434)](i,t[e(388)],!1)}this[e(434)](t[e(388)],t[e(534)],!1);const i=this[e(582)][e(437)][e(470)](e(500));this[e(463)](),this[e(627)]=t[e(388)],this[e(335)]=t[e(534)];for(const n in t[e(574)]){const s=t[e(574)][n][e(338)],r=R(t[e(574)][n][e(355)])||{},o=i[e(537)](t[e(574)][n][e(584)]);o[e(622)]=n,o[e(348)]=!s||!s[e(406)],o[e(406)]=()=>o[e(348)],this[e(354)][e(553)](n,o),this[e(592)][e(553)](n,r),s&&this[e(431)][e(553)](n,s);const a=this[e(385)](o);this[e(486)][e(553)](n,a);for(const[t,i]of o[e(485)]){if(!t[e(381)](e(532)))continue;const n=t[e(351)](":")[2];for(const t of i[e(311)]({singleCharacters:!0})){const i=this[e(359)](t),s=e(475)==t[e(420)]?t[e(401)][e(325)][e(393)](0,-1):t[e(401)][e(325)],r=a[e(315)](s)[e(575)](i);this[e(374)][e(553)](r,{userId:n})}}}this[e(529)]=this[e(530)];const n=[...Array(this[e(530)])[e(599)]()][e(393)](1)[e(446)](t=>!this[e(374)][e(531)](t));let s=0;const r=new Map;for(const o in t[e(574)]){const a=t[e(574)][o][e(338)],c=R(t[e(574)][o][e(511)])||{},u=i[e(537)](t[e(574)][o][e(430)]);u[e(622)]=o,u[e(348)]=!a||a[e(406)],u[e(406)]=()=>u[e(348)],this[e(448)][e(553)](o,u),this[e(414)][e(553)](o,c);const l=this[e(385)](u,Number[e(496)]);this[e(400)][e(553)](o,l),r[e(553)](o,u[e(406)]()?c:{});for(const[t,i]of u[e(485)]){if(!t[e(381)](e(532)))continue;const n=t[e(351)](":")[2];for(const t of i[e(311)]({singleCharacters:!0})){const i=this[e(359)](t),s=this[e(530)]++,r=e(475)==t[e(420)]?t[e(401)][e(325)][e(393)](0,-1):t[e(401)][e(325)];l[e(315)](r)[e(469)](i,s),this[e(374)][e(553)](s,{userId:n})}}for(const t of this[e(582)][e(429)][e(328)](u)[e(311)]({singleCharacters:!0})){const i=this[e(359)](t),r=e(475)==t[e(420)]?t[e(401)][e(325)][e(393)](0,-1):t[e(401)][e(325)],o=l[e(315)](r);o[e(575)](i)>0||o[e(469)](i,n[s++])}for(const[t,i]of u[e(485)])t[e(381)](e(532))||this[e(583)][e(553)](t,i)}const{roots:o}=this[e(566)][e(470)](t[e(388)]),{roots:a}=this[e(566)][e(470)](t[e(534)]),c=gt(o[e(470)](e(506)));this[e(354)][e(553)](e(506),c),this[e(486)][e(553)](e(506),this[e(385)](c,Number[e(496)]));const u=gt(a[e(470)](e(506)));this[e(448)][e(553)](e(506),u),this[e(400)][e(553)](e(506),this[e(385)](u));const l=Array[e(613)](this[e(448)])[e(483)](([t,e])=>[t,gt(e)]);this[e(601)](this[e(335)],l,this[e(583)],r)}[ft(605)](){const t=ft;this[t(463)](),this[t(627)]=-1,this[t(335)]=-1,this[t(566)][t(560)](),this[t(375)](this[t(505)])}[ft(601)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(553)](t,{start:e[s(461)][s(479)](),end:e[s(579)][s(479)](),rootName:e[s(350)][s(622)]});this[s(566)][s(553)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(462)](t){const e=ft;this[e(566)][e(590)](t)}[ft(463)](){const t=ft;this[t(374)][t(560)](),this[t(541)][t(560)](),this[t(431)][t(560)](),this[t(448)][t(560)](),this[t(414)][t(560)](),this[t(354)][t(560)](),this[t(592)][t(560)](),this[t(400)][t(560)](),this[t(486)][t(560)](),this[t(583)][t(560)](),this[t(530)]=1,this[t(529)]=this[t(530)]}[ft(385)](t,e=null){const i=ft;let n=null;t.is(i(408))||(n=new Q.ModelElement(t[i(459)],{vid_start:null===e?this[i(530)]++:e++}));const s=[];for(const n of t[i(518)]())if(n.is(i(457))){s[i(451)](this[i(385)](n,e));const t=s[s[i(345)]-1];null!==e&&(e=t.is(i(457),i(380))?t[i(575)](i(542))+1:t[i(575)](i(444))+1)}else for(let t=0;t<n[i(468)];t++)s[i(451)](new Q.ModelElement(i(380),{vid:null===e?this[i(530)]++:e++}));if(t.is(i(408))){const e=yt(t[i(622)]);return e[i(504)](0,s),e}return n[i(469)](i(444),null===e?this[i(530)]++:e++),n[i(504)](0,s),n}[ft(434)](t,e,i){const n=ft;this[n(463)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(566)][n(470)](t);this[n(354)]=new Map(s),this[n(592)]=new Map(R(o));for(const[t,e]of this[n(354)])if(n(506)!==t&&(this[n(448)][n(553)](t,gt(e)),this[n(414)]=new Map(R(o)),i)){const i=this[n(530)];this[n(400)][n(553)](t,this[n(385)](e)),this[n(486)][n(553)](t,this[n(385)](e,i))}this[n(529)]=this[n(530)],this[n(448)][n(553)](n(506),gt(this[n(354)][n(470)](n(506)))),i&&this[n(400)][n(553)](n(506),this[n(385)](this[n(354)][n(470)](n(506))));for(const[t,e]of r){const i=this[n(354)][n(470)](e[n(622)]),s=this[n(448)][n(470)](e[n(622)]),r=new Q.ModelRange(this[n(471)](e[n(461)],i),this[n(471)](e[n(579)],i)),o=this[n(597)](r,s);i[n(485)][n(553)](t,r),this[n(583)][n(553)](t,o)}this[n(591)](t,e,i)}[ft(591)](t,e,i){const n=ft;for(const s of this[n(505)][n(596)](t,e))this[n(508)](s,i);for(const t of this[n(448)][n(546)]())t[n(485)][n(560)]();for(const[t,e]of this[n(583)])this[n(448)][n(470)](e[n(350)][n(622)])[n(485)][n(553)](t,e[n(479)]());const s=new Map,r=new Map;for(const[t,e]of this[n(448)])s[n(553)](t,gt(e)),r[n(553)](t,this[n(414)][n(470)](t));this[n(601)](e,s,this[n(583)],r)}[ft(398)](t){const e=ft,i=Array[e(613)](this[e(566)][e(599)]());i[e(602)]((t,e)=>t-e),i[e(550)]();for(const e of i)if(e<t)return e;return Number[e(496)]}[ft(308)](t,e){const i=ft,n=Array[i(613)](e[i(485)])[i(483)](([e,n])=>[e,this[i(597)](n,t)]);t[i(485)]=new Map(n)}[ft(476)](t){const e=ft;for(const i of this[e(583)][e(546)]()){const n=i[e(577)](t),s=Q.ModelRange[e(473)](n);i[e(461)]=s[e(461)],i[e(579)]=s[e(579)]}}[ft(508)](t,e){const i=ft;if(i(581)!=t[i(420)]&&i(604)!=t[i(420)]){if(i(515)==t[i(420)]){const n=t[i(452)][i(350)][i(622)];this[i(448)][i(531)](n)||(this[i(448)][i(553)](n,yt(n,!0)),this[i(414)][i(553)](n,{}),e&&this[i(400)][i(553)](n,yt(n,!0)))}else{if(i(410)==t[i(420)]||i(522)==t[i(420)]||i(326)==t[i(420)])return void this[i(568)](t);i(625)==t[i(420)]&&this[i(358)](t)}if(i(625)!==t[i(420)]){const e=this[i(561)](t,this[i(448)]);e[i(512)](),this[i(476)](e)}if(e)switch(t[i(420)]){case i(515):this[i(402)](t);break;case i(521):case i(458):case i(418):this[i(379)](t);break;case i(517):this[i(520)](t);break;case i(351):this[i(366)](t)}}else this[i(313)](t,e)}[ft(561)](t,e){const i=ft,n=t[i(479)]();return n[i(449)]=t[i(449)],this[i(545)](n,e),n}[ft(569)](t){const e=ft;return t[e(483)](t=>{const i=e,n=this[i(359)](t);return Number(t[i(441)][i(575)](n))})}[ft(552)](t,e){const i=ft;if(t.is(i(457),i(380)))e[i(451)]({item:t,type:i(443)});else{t.is(i(457))&&e[i(451)]({item:t,type:i(403)});for(const n of t[i(518)]())this[i(552)](n,e);t.is(i(457))&&e[i(451)]({item:t,type:i(475)})}return e}[ft(595)](){const t=ft,e=new Map(this[t(374)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(354)][t(599)](),...this[t(448)][t(599)]()]);a[t(590)](t(506));for(const e of a){const i=this[t(448)][t(470)](e)||yt(e,!1),n=this[t(354)][t(470)](e)||yt(e,!1);i[t(406)]()||n[t(406)]()?(s[t(430)][e]=gt(i),s[t(584)][e]=gt(n),this[t(308)](s[t(584)][e],n),this[t(308)](s[t(430)][e],i),r[t(430)][e]=this[t(552)](this[t(400)][t(470)](e),[]),r[t(584)][e]=this[t(552)](this[t(486)][t(470)](e)||yt(e,!1),[])):a[t(590)](e)}for(const s of a){const o=r[t(430)][s];for(const s of o){const r=this[t(359)](s),o=s[t(441)][t(575)](r);i[t(590)](o),o>=this[t(529)]&&n[t(553)](o,e[t(470)](o))}}for(const s of a){const a=r[t(430)][s],c=this[t(569)](r[t(584)][s]);let u=0;for(const s of a){const r=this[t(359)](s),a=s[t(441)][t(575)](r);if(!n[t(531)](a)&&!o[t(531)](a))if(i[t(531)](a))u++;else{if(a!=c[u]){const n=e[t(470)](a)||e[t(470)](c[u]);for(;a!=c[u];)i[t(531)](c[u])||(o[t(553)](c[u],n),e[t(553)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(430)][e];for(const e of s){const s=this[t(359)](e),r=e[t(441)][t(575)](s);if(o[t(531)](r)){const e=o[t(470)](r);i[t(531)](r)||i[t(553)](r,{...e}),n[t(553)](r,{...e})}}}for(const e of i[t(599)]())e>=this[t(529)]&&i[t(590)](e);const c=new Map;for(const e of a){let s=r[t(430)][e];for(const e of s)if(e[t(441)].is(t(457),t(432))){const i=this[t(359)](e),s=e[t(441)][t(575)](i);if(n[t(531)](s)){const i=e[t(441)][t(442)][t(442)][t(575)](t(594)),r=c[t(470)](i)||new Set;r[t(587)](n[t(470)](s)[t(319)]),c[t(553)](i,r)}}s=r[t(584)][e];for(const e of s)if(e[t(441)].is(t(457),t(432))){const n=this[t(359)](e),s=e[t(441)][t(575)](n);if(i[t(531)](s)){const n=e[t(441)][t(442)][t(442)][t(575)](t(594)),r=c[t(470)](n)||new Set;r[t(587)](i[t(470)](s)[t(319)]),c[t(553)](n,r)}}for(const e of c[t(599)]())(n[t(531)](e)||i[t(531)](e))&&c[t(590)](e)}for(const e of a){const s=r[t(430)][e];let o=null,a=null;for(const e of s){const s=this[t(359)](e),r=e[t(441)][t(575)](s),u=c[t(470)](r);u&&t(403)==e[t(420)]&&(o=Array[t(613)](u)[0],a=e[t(441)][t(575)](t(444))),o&&(i[t(553)](r,{userId:o}),n[t(553)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(584)][e],a=s[t(430)][e];for(const{userId:e}of this[t(541)][t(546)]())null!==e&&l[t(587)](e);for(const{userId:e}of this[t(431)][t(546)]())null!==e&&l[t(587)](e);this[t(535)](a,r[t(430)][e],n,t(554),l),this[t(535)](o,r[t(584)][e],i,t(340),l),u[e]={insertions:this[t(424)](a),deletions:this[t(424)](o),attachChange:this[t(431)][t(470)](e)||null,attributesBefore:R(this[t(592)][t(470)](e))||{},attributesAfter:R(this[t(414)][t(470)](e))}}return{diffData:u,authorsIds:Array[t(613)](l)}}[ft(422)](t){const e=ft;for(const[,i]of t[e(485)]){const t=i[e(461)][e(425)]()[e(446)](t=>e(432)==t[e(459)]);for(const i of t)1==i[e(316)]&&i[e(631)](0).is(e(457),e(562))&&i[e(631)](0)[e(469)](e(586),!0)}}[ft(424)](t){const e=ft;this[e(422)](t);const i=this[e(582)][e(419)][e(477)](t,{}),n=Array[e(613)](i[e(518)]())[e(483)](t=>this[e(337)](t));return JSON[e(510)](n)}[ft(337)](t){const e=ft;if(t.is(e(380)))return t[e(419)];{const i=this[e(582)][e(437)][e(470)](e(500)),n=t,s=this[e(582)][e(419)][e(493)][e(450)],r={type:i[e(630)](n),name:n[e(459)],attributes:Array[e(613)](n[e(368)]()),children:Array[e(613)](n[e(518)]())[e(483)](t=>this[e(337)](t))};if(t.is(e(464))&&e(389)!=t[e(459)]){const i=t[e(435)](s[e(455)],s);r[e(611)][e(451)](i[e(433)])}else if(t.is(e(481))){const i=s[e(455)][e(309)](n[e(459)]);t[e(435)](i,s),r[e(611)][e(451)](i[e(556)])}const o=Array[e(613)](n[e(576)]());o[e(345)]>0&&(r[e(497)]=o);const a=n[e(467)]();return null!==a&&(r[e(372)]=a),r}}[ft(535)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(582)][r(429)];for(let n=0;n<e[r(345)];n++){const s=this[r(359)](e[n]),c=e[n][r(441)][r(575)](s),h=i[r(470)](c),d=n==e[r(345)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(319)]!=o[r(319)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(319)],d=l(532)+n+":"+h+":"+c++,f=u[l(614)](i,a);t[l(485)][l(553)](d,f),null!==h&&s[l(587)](h)}}[ft(359)](t){const e=ft;switch(t[e(420)]){case e(403):return e(594);case e(475):return e(444);default:return e(542)}}[ft(545)](t,e){const i=ft;t[i(465)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(470)](s[i(350)][i(622)]);t[n]=this[i(471)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(470)](s[i(350)][i(622)]);t[n]=this[i(597)](s,r)}i(350)===n&&(t[i(350)]=e[i(470)](t[i(350)][i(622)]))}}[ft(597)](t,e){const i=ft;return this[i(582)][i(429)][i(614)](this[i(471)](t[i(461)],e),this[i(471)](t[i(579)],e))}[ft(471)](t,e){const i=ft;return this[i(582)][i(429)][i(482)](e,t[i(325)],t[i(397)])}[ft(402)](t){const e=ft,i=this[e(400)][e(470)](t[e(452)][e(350)][e(622)]),n=this[e(471)](t[e(452)],i),s=null===t[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,r=n[e(442)],o=this[e(530)],a=[];for(const i of t[e(547)])if(i.is(e(457)))a[e(451)](this[e(385)](i));else for(let t=0;t<i[e(468)];t++)a[e(451)](new Q.ModelElement(e(380),{vid:this[e(530)]++}));const c=this[e(530)];for(let t=o;t<c;t++)this[e(374)][e(553)](t,{userId:s});r[e(504)](n[e(491)],a)}[ft(379)](t){const e=ft;(t=this[e(561)](t,this[e(400)]))[e(512)]();const i=null===t[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,n=t[e(539)](),s=n[e(442)],r=n[e(491)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(631)](e);r.is(a(457),a(380))?n[a(553)](r[a(575)](a(542)),{userId:i}):(n[a(553)](r[a(575)](a(594)),{userId:i}),t(n,r,0,r[a(316)]),n[a(553)](r[a(575)](a(444)),{userId:i}))}}(this[e(374)],s,r,r+t[e(570)])}[ft(520)](t){const e=ft,i=null===(t=this[e(561)](t,this[e(400)]))[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,n=t[e(567)][e(442)],s=t[e(573)][e(442)],r=n[e(575)](e(444)),o=s[e(575)](e(594));n[e(469)](e(444),s[e(575)](e(444))),s[e(469)](e(444),r),this[e(374)][e(553)](o,{userId:i}),this[e(374)][e(553)](r,{userId:i}),t[e(512)]()}[ft(366)](t){const e=ft,i=null===(t=this[e(561)](t,this[e(400)]))[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,n=t[e(323)],s=t[e(490)][e(442)];t[e(512)]();const r=s[e(575)](e(444)),o=t[e(411)][e(423)];if(n){const t=o[e(575)](e(444)),n=s[e(575)](e(444));s[e(469)](e(444),t),o[e(469)](e(444),n),this[e(374)][e(553)](s[e(575)](e(444)),{userId:i}),this[e(374)][e(553)](o[e(575)](e(594)),{userId:i})}else{const t=this[e(530)]++,n=this[e(530)]++;s[e(469)](e(444),t),o[e(469)](e(594),n),o[e(469)](e(444),r),this[e(374)][e(553)](t,{userId:i}),this[e(374)][e(553)](n,{userId:i})}}[ft(358)](t){const e=ft;if(!t[e(507)])return;const i=(t=this[e(561)](t,this[e(448)]))[e(409)]?t[e(409)][e(350)]:null,n=t[e(499)]?t[e(499)][e(350)]:null;i&&this[e(583)][e(590)](t[e(459)]),n&&this[e(583)][e(553)](t[e(459)],t[e(499)][e(479)]());const s=null===t[e(449)]?null:t[e(449)]||this[e(582)][e(437)][e(470)](e(405)).me.id,r=t[e(459)];if(!this[e(541)][e(531)](r))return void this[e(541)][e(553)](r,{range:t[e(409)],userId:s});const o=this[e(541)][e(470)](r),a=o[e(509)],c=t[e(499)];null==a&&null==c||a&&c&&a[e(600)](c)?this[e(541)][e(590)](t[e(459)]):o[e(319)]=s}[ft(313)](t,e){const i=ft;this[i(448)][i(531)](t[i(622)])?this[i(448)][i(470)](t[i(622)])[i(348)]=t[i(565)]:(this[i(448)][i(553)](t[i(622)],yt(t[i(622)],!0)),this[i(414)][i(553)](t[i(622)],{}),e&&this[i(400)][i(553)](t[i(622)],yt(t[i(622)],!0)));const n=null===t[i(449)]?null:t[i(449)]||this[i(582)][i(437)][i(470)](i(405)).me.id,s=this[i(431)][i(470)](t[i(622)]);s&&s[i(319)]===n?this[i(431)][i(590)](t[i(622)]):this[i(431)][i(553)](t[i(622)],{userId:n,isAttached:t[i(565)]})}[ft(568)](t){const e=ft,i=this[e(414)][e(470)](t[e(350)][e(622)]);null===t[e(619)]?delete i[t[e(523)]]:i[t[e(523)]]=t[e(619)]}}function gt(t){const e=ft,i=yt(t[e(622)],t[e(406)]());for(const n of t[e(518)]()){const t=n[e(371)](!0);i[e(353)](t)}return i}function yt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(622)]=t,n[i(348)]=e,n[i(406)]=()=>n[i(348)],n}function kt(){const t=["_fixPosition","createPositionBefore","_createFromRanges","getUser","elementEnd","_transformMarkers","toView","initial","clone","usageLimit","rawElement","createPositionFromPath","map","loadState","markers","_baseIdsRoots","getTime","collaboration.channelId","9WxoUTD","splitPosition","offset","_removePendingAction","htmlProcessor","sendBufferedUpdates","find","NEGATIVE_INFINITY","customProperties","createPositionAt","newRange","RevisionHistoryUtils","creator","_showLicenseError","revisionHistoryLicenseKeyInvalid","_insertChild","source","$graveyard","affectsData","_handleOperation","range","stringify","attributesAfter","_execute","featureNotAllowed","_createInitialRevision","insert","isReady","merge","getChildren","max","_handleMergeOperation","move","removeRootAttribute","key","pluginName","dataToMarker","_bufferUpdate","4144kvwjSq","revisionHistoryLicenseKeyUsageLimit","_startingRevisionId","_revisionId","has","revision:","bind","toVersion","_markChanges","getRootNames","_makeModelFromViewString","domainLimit","getMovedRangeStart","setSource","_touchedMarkers","vid","hasContent","RevisionTracker","_fixOperation","values","nodes","4JaaxND","_source","reverse","isEnabled","_generateTape","set","insertion","PendingActions","innerHTML","revisionHistoryLicenseKeyExpired","_getFromVersion","revision","clear","_cloneOperation","paragraph","saveRevision","document","isAdd","_savedMetaData","targetPosition","_handleRootAttributeOperation","_getBaseVids","howMany","getData","setRevisionData","sourcePosition","diffData","getAttribute","getCustomProperties","getTransformedByOperation","_isPendingUpdate","end","revisionHistoryLicenseKeyDomainLimit","addRoot","editor","_markers","deletions","revisionHistoryLicenseKeyEvaluationLimit","keepParagraph","add","isPremiumPlugin","revisionHistoryLicenseKeyTrialLimit","delete","_applyOperations","_baseRootsAttributes","some","vid_start","_getState","getOperations","_fixRange","_createCurrentRevision","keys","isEqual","_saveMetaData","sort","initialData","detachRoot","reInit","_setConversion","markerToData","revisionHistory.resumeUnsavedRevision","getRevisions","RevisionsRepository","children","resolve","from","createRange","afterInit","currentRevision","_replaceEditorDataWithRevisionData","revisionHistoryLicenseKeyValid","newValue","string","2568896vmjgJN","rootName","loadRevisionData","version","marker","isOfficialPlugin","_lastFrom","getRange","repository","_getTypeCharForViewElement","getChild","_isInit","_copyMarkers","createElement","includes","getWalker","licenseKey","_handleRootOperation","34FbBEbE","getNodeByPath","childCount","rootsAttributes","_addPendingAction","userId","_utils","upcast","createRevision","graveyardPosition","getOperation","path","changeRootAttribute","authorsIds","createRangeIn","requires","creatorId","Empty document","ready","trialLimit","finally","_lastTo","size","_getViewJson","attachChange","_update","deletion","_initialRevisionId","buildRevisionData","update","updateRevisions","length","getRoot","getLatestVersion","_isAttached","getRevisionDocumentData","root","split","5237130wdHBUr","_appendChild","_baseRoots","attributesBefore","_licenseKeyCheckInterval","_operations","_handleMarkerOperation","_getVidAttributeName","_bufferedUpdates","config","_makeRevision","_continueCurrentRevision","Initial revision","invalid","_handleSplitOperation","destroy","getAttributes","getCurrentRevisionId","getIndex","_clone","fillerOffset","PENDING_ACTION_REVISION_HISTORY","_touched","init","69311DaiRzZ","fromEntries","roots","_handleMoveOperation","$text","startsWith","trim","for","evaluationLimit","_makeIdsRoot","addRevisionData","shift","fromVersion","$comment","conversion","_loadedStateData","expired","slice","authors","history","_startingVersion","stickiness","_getPreviousFrom","getRevision","_idsRoots","previousPosition","_handleInsertOperation","elementStart","then","Users","isAttached","22247604omTpOz","documentFragment","oldRange","addRootAttribute","insertionPosition","adapter","createdAt","_diffRootsAttributes","28627rItpwr","_pendingAction","1206zVjlhA","reinsert","data","type","createPositionAfter","_processRootBeforeSave","nodeAfter","_prepareViewToSave","getAncestors","dataDowncast","define","editor-initial-data-replaced-with-revision-data","model","insertions","_touchedRoots","tableCell","outerHTML","_calculateMetaData","render","getRevisionRootsAttributes","plugins","addRevision","_loadState","5627275HdIMEo","item","parent","text","vid_end","revisionHistoryLicenseKeyNotAllowed","filter","locale","_diffRoots","_authorId","domConverter","push","position","_revisionDataBuilder","RealTimeCollaborationClient","domDocument","_findInsertionIndex","element","remove","name","RevisionHistory","start","_removeMetaData","_reset","uiElement","baseVersion","1910lepnwS","getFillerOffset","offsetSize","_setAttribute","get"];return(kt=function(){return t})()}function bt(t,e,i){const n=ft,s=n(475)==t[n(420)]?i[n(498)](t[n(441)],n(579)):i[n(472)](t[n(441)]);return i[n(482)](e,s[n(325)],s[n(397)])}function wt(t,e,i){const n=ft,s=n(403)==t[n(420)]?i[n(498)](t[n(441)],0):i[n(421)](t[n(441)]);return i[n(482)](e,s[n(325)],s[n(397)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Rt=i(302),Mt=i.n(Rt),Vt=i(290),Dt=i.n(Vt),Et=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(660),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=Ht();return(Pt=function(t,e){return i[t-=218]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(779819===-parseInt(e(257))/1*(-parseInt(e(238))/2)+-parseInt(e(253))/3+-parseInt(e(260))/4*(parseInt(e(222))/5)+-parseInt(e(244))/6+parseInt(e(226))/7+-parseInt(e(247))/8*(-parseInt(e(239))/9)+parseInt(e(248))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(228)];[Lt(224)];[Lt(221)];constructor(e,i){const n=Lt;super(e),this[n(228)]=new t.FocusTracker,this[n(224)]=new t.KeystrokeHandler,this[n(249)](n(234),""),this[n(221)]=this[n(225)](i),this[n(218)]({tag:n(254),attributes:{class:["ck",n(250),n(256)],tabindex:"-1"},children:[this[n(221)]]}),this[n(220)]()}[Lt(227)](){const t=Lt;super[t(227)](),(0,It.submitHandler)({view:this}),this[t(228)][t(230)](this[t(221)][t(246)]),this[t(224)][t(223)](this[t(246)]);const e=e=>e[t(229)]();this[t(224)][t(249)](t(243),e),this[t(224)][t(249)](t(242),e),this[t(224)][t(249)](t(219),e),this[t(224)][t(249)](t(241),e)}[Lt(235)](){const t=Lt;this[t(221)][t(235)]()}get[Lt(240)](){const t=Lt;return this[t(221)][t(245)][t(246)][t(231)][t(237)]()}set[Lt(240)](t){const e=Lt;this[e(221)][e(245)][e(246)][e(231)]=t[e(237)]()}[Lt(233)](){const t=Lt;this[t(221)][t(245)][t(246)][t(231)]="",this[t(221)][t(251)]=null}[Lt(225)](t){const e=Lt,i=new It.LabeledFieldView(this[e(255)],It.createLabeledInputText),n=i[e(245)];n[e(261)]({attributes:{maxlength:e(252)}});let s=at(this[e(255)],e(236));return!t&&(s+=" ("+at(this[e(255)],e(259))+")"),i[e(258)]=s,n.on(e(232),()=>{const t=e;this[t(234)]=n[t(246)][t(231)][t(237)]()}),i}}function Ht(){const t=["1765746KeBVvh","fieldView","element","2146808njxvhK","5598240aPfTlf","set","ck-revision-history-save-revision-form","errorText","220","717840akHPeQ","form","locale","ck-responsive-form","3840ZCnfzb","label","optional","12708IHOQrI","extendTemplate","setTemplate","arrowup","initializeCssTransitionDisablerMixin","revisionNameInputView","1970BCQyeE","listenTo","keystrokes","_createRevisionNameInput","2858191EtwNEl","render","focusTracker","stopPropagation","add","value","input","reset","revisionNameInputValue","focus","Name of the revision","trim","692qQQiaL","9lcnyvG","revisionName","arrowdown","arrowleft","arrowright"];return(Ht=function(){return t})()}function Wt(t,e){const i=Zt();return(Wt=function(t,e){return i[t-=400]})(t,e)}const Ut=Wt;function Zt(){const t=["get","3199890DAJTEO","_createSaveRevisionFormView","plugins","errorText","24134tvcEWW","6krEJKK","_registerMenuComponent","Save current revision","isReady","menuitem","revisionName","editing","_showDialog","isOfficialPlugin","3417580TfivRF","set","RevisionHistoryUI","editor","Dialog","isReadOnly","requires","revisionHistory","items","6806052TRWWGb","2954303qqqIph","The revision name cannot be empty.","menu","_saveRevisionFormView","ck-button-action","Revision history","saveRevision","Open revision history","Cancel","addMany","config","revisionSave","render","panelView","children","RevisionTracker","bind","isPremiumPlugin","1582704ToyqDp","isEnabled","288ZdXMXi","view","181069esJGQl","10jghyoy","menuBar:revisionHistory","init","revisionNameInputView","23kaKMru","isOpen","Accept","add","pluginName","revisionHistory.requireRevisionName","buttonView","focus","reset","submit","showRevisionViewerCallback","delegate","componentFactory","hide","execute","role","locale","show"];return(Zt=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(479167===-parseInt(e(455))/1*(parseInt(e(408))/2)+parseInt(e(446))/3+-parseInt(e(418))/4+-parseInt(e(404))/5*(-parseInt(e(409))/6)+parseInt(e(450))/7*(parseInt(e(448))/8)+-parseInt(e(427))/9+parseInt(e(451))/10*(parseInt(e(428))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ut(459)](){return Ut(420)}static get[Ut(417)](){return!0}static get[Ut(445)](){return!0}static get[Ut(424)](){return[pt]}[Ut(431)];[Ut(453)](){const t=Ut,e=this[t(421)],i=e[t(406)][t(403)](t(443));e.ui[t(467)][t(458)](t(425),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(441)][s(442)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(444)](s(447)).to(i,s(412),i,s(447),e,s(423),(t,e,i)=>t&&e&&!i),r[s(461)][s(419)]({icon:_t.IconHistory,label:at(n,s(433)),tooltip:!0}),u[s(419)]({label:at(n,s(411)),withText:!0,role:s(413)}),u[s(444)](s(447)).to(i,s(412),i,s(447),e,s(423),(t,e,i)=>t&&e&&!i),u.on(s(469),()=>this[s(416)]()),h[s(419)]({label:at(n,s(435)),withText:!0,role:s(413)}),h[s(444)](s(447)).to(i,s(412),e,s(423),(t,e)=>t&&!e),h.on(s(469),()=>{const t=s;e[t(438)][t(403)](t(425))[t(465)](),r[t(456)]=!1,e[t(415)][t(449)][t(462)]()}),c[s(442)][s(458)](u),l[s(442)][s(458)](h),a[s(400)]=s(430),a[s(426)][s(437)]([c,l]),o[s(458)](a),r}),e.ui[t(467)][t(458)](t(452),()=>this[t(410)]())}[Ut(410)](){const t=Ut,e=this[t(421)],i=e[t(401)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(461)][t(419)]({icon:_t.IconHistory,label:at(i,t(433))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(419)]({label:at(i,t(411))}),o[t(466)](t(469)).to(n),o.on(t(469),()=>{this[t(416)]()}),r[t(442)][t(458)](o),s[t(426)][t(458)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(419)]({label:at(i,t(435))}),c[t(466)](t(469)).to(n),c.on(t(469),()=>{const i=t;e[i(438)][i(403)](i(425))[i(465)]()}),a[t(442)][t(458)](c),s[t(426)][t(458)](a),n[t(441)][t(442)][t(458)](s),n}[Ut(416)](){const t=Ut,e=this[t(421)],i=e[t(401)],n=e[t(406)][t(403)](t(422)),s=e[t(406)][t(403)](t(443));function r(s){const r=t;e[r(438)][r(403)](r(460))&&""===s[r(414)]?s[r(454)][r(407)]=at(i,r(429)):(e[r(406)][r(403)](pt)[r(434)]({name:s[r(414)]}),n[r(468)]())}this[t(431)]||(this[t(405)](),this[t(431)].on(t(464),()=>r(this[t(431)]))),this[t(431)][t(463)](),n[t(402)]({id:t(439),title:at(i,t(411)),isModal:!0,content:this[t(431)],actionButtons:[{label:at(e[t(401)],t(436)),withText:!0,onExecute:()=>n[t(468)]()},{label:at(e[t(401)],t(457)),class:t(432),withText:!0,onCreate(i){const n=t;i[n(444)](n(447)).to(s,n(412),s,n(447),e,n(423),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(431)])}]})}[Ut(405)](){const t=Ut,e=this[t(421)],i=e[t(401)];this[t(431)]=new zt(i,e[t(438)][t(403)](t(460))),this[t(431)][t(440)]()}}const $t=Yt;function Bt(){const t=["4367799UVJtyy","118643LJqrzn","_model","set","changeId","span","data","div","bindTemplate","add","ck-annotation","author","Removed by","Added by","name","198GectVC","isSuggestion","type","ck-revision-change__label","setTemplate","1274120lNjkPS","977760VAoPDl","1ocAKmp","Suggested by","ck-revision-change","1489617JRQwRL","213432sNvyiX","ck-revision-change__","focus","404486Lcvzeu","element"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(299536===-parseInt(e(279))/1*(parseInt(e(255))/2)+parseInt(e(282))/3+-parseInt(e(252))/4+parseInt(e(277))/5+-parseInt(e(272))/6*(parseInt(e(258))/7)+-parseInt(e(278))/8+parseInt(e(257))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[$t(261)];[$t(259)];constructor(t,e){const i=$t;super(t),this[i(259)]=e,this[i(261)]=e.id;const n=this[i(265)],s=at(t,e[i(263)][i(273)]?i(280):i(266)==e[i(274)]?i(270):i(269));this[i(260)](i(274),e[i(274)]),this[i(276)]({tag:i(264),attributes:{class:[i(267),i(281),n.to(i(274),t=>i(253)+t)],tabindex:-1},children:[{tag:i(262),children:[{tag:i(262),attributes:{class:[i(275)]},children:[{text:s}]},{text:" "+e[i(268)][i(271)]}]}]})}[$t(254)](){const t=$t;this[t(256)][t(254)]()}}function Gt(t,e){var i=Qt();return(Gt=function(t,e){return i[t-=427]})(t,e)}var Kt=Gt;function Qt(){var t=["34905249gxXIlg","3855010LAKINq","set","createdAt","16566QgAHLJ","author","48yjxMKQ","rootName","461064gakiwv","11147920cPsdra","3932664tlVOXt","type","toJSON","396LzrmIn","data","1134KJZjHC"];return(Qt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(713753===-parseInt(e(431))/1+parseInt(e(436))/2*(-parseInt(e(429))/3)+-parseInt(e(433))/4+-parseInt(e(440))/5+parseInt(e(427))/6*(parseInt(e(438))/7)+-parseInt(e(432))/8+parseInt(e(439))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Kt(428)];[Kt(434)];[Kt(437)];[Kt(430)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(428)]=e[i(428)],this[i(434)]=e[i(434)],this[i(437)]=e[i(437)]||{},this[i(430)]=e[i(430)],this[i(441)](i(442),e[i(442)])}[Kt(435)](){var t=Kt;return{id:this.id,authorId:this[t(428)].id,type:this[t(434)],data:this[t(437)],createdAt:this[t(442)]}}}function te(){const t=["2588670xkKmvR","393305aglYZR","5519828jUUspI","709127tSpzIA","changes","2165048iUKsow","add","newRevisionId","2300386JGtVdk","oldRevisionId","7gamxHN","3bllQuL","26755480HhsQll","_setChanges","126aXzDKV"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=249]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(944769===parseInt(e(258))/1+parseInt(e(263))/2+parseInt(e(251))/3*(-parseInt(e(257))/4)+-parseInt(e(256))/5*(parseInt(e(254))/6)+-parseInt(e(250))/7*(parseInt(e(260))/8)+-parseInt(e(255))/9+parseInt(e(252))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ee(262)];[ee(249)];[ee(259)];constructor(e,i){const n=ee;this[n(262)]=e,this[n(249)]=i,this[n(259)]=new t.Collection}[ee(253)](t){const e=ee;for(const i of t)this[e(259)][e(261)](i)}}var se=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["shift","consume","getRoot","_setConversion","markerToHighlight","side","createRangeIn","_step","_cleanMarkers","13424XdSjeF","isAtStart","numberOfChanges","target","enableReadOnlyMode","range","right","revision-comment:","removeMarker","top","findIndex","_revisions","first","forward","_changeView","isEqual","config","attributes","createPositionFromPath","return","upcast","isAttached","view","change:isReady","attributesBefore","split","bottom","restoreRevision","ck-suggestion-marker-split","detachRoot","addClass","observeMarkers","from","_makeModelFromTape","isLimit","endIndex","toViewRange","modelRange","splice","_removeMissingPairs","set","getIndex","startsWith","getDomRoot","_threeWayMerge","deletions","dataDowncast","insert","stop","mapper","insertion","elementStart","toViewPosition","getLaterVisibleRevision","bindElementToMarker","revision","isCollapsed","mousedown","markerName","ck-revision-history-root-remove","diffData","highest","conversion","next","downcastDispatcher","_removeUnsupportedChanges","roots","plugins","forEach","_utils","string","RevisionViewer","map","_getViewForChange","init","isNavigationMode","417ONlrcl","change:numberOfChanges","_changeIdToChange","editingDowncast","removeAttribute","ck-suggestion-marker-","updatePosition","push","isRemoveSuggestion","elementToAttribute","_getDiff","slice","low","_balloon","changes","locale","getChild","keys","_setDistance","removeClass","newRevisionId","add","text","model","element","addRoot","forceDisabled","RevisionsRepository","restoreRevisionCallback","left","_update","remove","isOnRoot","getAttribute","adapter","ck-revision-history-root--active","vid_end","isSuggestion","mapViewToDom","markersEnd","vid","removeMarker:revision-suggestion","showPreviousChange","_makeModelFromViewString","sort","clear","unshift","vid_start","uiElement","POSITIVE_INFINITY","for","pluginName","isReady","attribute:vid","attributesAfter","isAdded","then","pop","deletion","dataToMarker","_setChanges","showNextChange","comment","document","data-change-id","start","_processTape","ck-suggestion-marker","attachChange","suggestion","level","enqueueChange","authors","done","_makeTape","has","ck-editor__editable__overlay","selection","isBefore","reconvertMarker","createAttributeElement","_markMismatchedRemovedTags","consumable","_findChangeIdFromDomTarget","domEvent","nextSibling","element:pre","getClientRects","ck-revision-history-root-","backward","_getChangeFromId","index","abs","change","object","markersStart","diff","isBlock","getWalker","createPositionBefore","ck-suggestion-marker-merge","createRevision","4759560AIvTZq","editing","_sortAndFilterDiffChanges","rootName","_markMarkers","-new","changeId","viewItem","ck-revision-history-root-add","_markInsertions","loadRevisionData","test","5275344TgYDfG","previousPosition","activeChange","maxOffset","hasAttribute","727967kfcJFY","getRevisionRootsAttributes","softBreak","insertions","getRevisionDocumentData","3105067eCvYmQ","getAttributes","code","userId","markerNameToElements","includes","revisionHistory","isRemoved","length","setAttribute","offsetSize","resolve","isEnabled","schema","getRevision","checkAttribute","showStack","addMarker:revision-suggestion:deletion","item","ck-suggestion-marker--active","isAtEnd","filter","requires","addMarker:revision","3617224iriFYS","mouseover","pairId","currentChangeNumber","_markSuggestions","error","startIndex","editor","type","affectsData","catch","writer","getRootNames","createUIElement","addRevisionData","ck-suggestion-preview-marker","high","unbindElementFromMarkerName","nodeAfter","listenTo","suggestion:","commands","isContent","1910185NFGjIE","createRange","_activeViewTarget","get","activeView","revision-suggestion:","getItems","revisionHistoryAttachChange","WidgetToolbarRepository","isInline","addMarker:revision-suggestion:insertion","change:activeView","span","name","delete","concat","indexOf","isIncorrect","removeMarker:revision","isAddSuggestion","execute","revisionHistoryLabel","_refreshStartEndIndex","revision:","bind","values","end","domConverter","isObject","markerRange","markers","nextPosition","revision-suggestion","parent","all","_appendChild","ck-suggestion-preview-marker-","_fixObsoleteTags","revision-viewer","flat","change:activeChange","_initInteractions","_getRevisionsRange","merge","_data","data","find","getCustomProperty","elementEnd","destroy","RevisionHistoryUtils","_cleanUp","toViewElement","distance","oldRevisionId","addRevision","isPremiumPlugin","markerToData","refresh","addHighlight","hasClass","repository","isOfficialPlugin","wrap","_joinTapes","isAfter","change:isEnabled","compare"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=328]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(567968===-parseInt(e(411))/1+-parseInt(e(540))/2*(-parseInt(e(616))/3)+parseInt(e(440))/4+-parseInt(e(463))/5+parseInt(e(406))/6+-parseInt(e(416))/7+-parseInt(e(394))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(524)];[oe(650)]=null;[oe(609)];[oe(465)];[oe(554)];[oe(618)];[oe(629)];static get[oe(343)](){return oe(611)}static get[oe(525)](){return!0}static get[oe(519)](){return!0}static get[oe(438)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(524)]=this[e(447)][e(607)][e(466)](e(643)),this[e(609)]=this[e(447)][e(607)][e(466)](e(513)),this[e(580)](e(408),null),this[e(580)](e(467),null),this[e(465)]=null,this[e(580)](e(388),null),this[e(580)](e(344),!1),this[e(580)](e(428),!0),this.on(e(529),(t,i,n)=>{const s=e;this[s(408)]=null,this[s(467)]=null,this[s(447)][s(395)][s(562)][s(385)](t=>{const e=s;for(const i of this[e(447)][e(395)][e(562)][e(355)][e(606)])n?t[e(635)](e(368),i):t[e(570)](e(368),i)})}),this[e(487)](e(615)).to(this,e(408),t=>null!==t),this[e(487)](e(443)).to(this,e(344),this,e(388),this,e(408),(t,i,n)=>t&&n?i[e(630)][e(581)](n):0),this[e(487)](e(542)).to(this,e(344),this,e(388),(t,i)=>t?i[e(630)][e(424)]:0),this[e(554)]=null,this[e(618)]=new Map,this[e(629)]=this[e(447)][e(607)][e(466)](It.ContextualBalloon)}[oe(614)](){const t=oe,e=this[t(447)],i=new de(e,{direction:t(381)}),n=new de(e,{direction:t(553)});e[t(461)][t(637)](t(334),i),e[t(461)][t(637)](t(353),n),e[t(461)][t(637)](t(567),new he(e)),this.on(t(617),()=>{const e=t;i[e(521)](),n[e(521)]()}),this[t(534)](),this[t(504)](),e[t(544)](t(501)),e[t(607)][t(367)](t(471))&&e[t(607)][t(466)](t(471))[t(642)](t(501))}async[oe(415)](t){const e=oe;return await this[e(609)][e(404)](t,this[e(650)]),this[e(609)][e(415)](t)}async[oe(412)](t){const e=oe;return await this[e(609)][e(404)](t,this[e(650)]),this[e(609)][e(412)](t)}async[oe(530)](t,e,i=!1){const n=oe;if(!this[n(428)])return;const s=this[n(388)],r=this[n(524)],o=n(610)==typeof t?r[n(430)](t):t,a=n(610)==typeof e?r[n(430)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(388)]&&this[n(388)][n(636)]===c&&this[n(388)][n(517)]===u)return Promise[n(427)]();this[n(344)]=!1,this[n(467)]=null,this[n(408)]=null,this[n(388)]=new ne(c,u);const l=this[n(505)](o,a,!0)[n(612)](t=>this[n(609)][n(404)](t,this[n(650)]));return l[n(623)](new Promise(t=>{setTimeout(t,20)})),Promise[n(497)](l)[n(348)](()=>{const t=n;if(!this[t(428)])return;this[t(514)]();const e=this[t(626)](c,u);for(const i of e[t(630)])this[t(618)][t(580)](i.id,i);this[t(447)][t(639)][t(363)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(447)][n(639)][n(355)][n(452)]())i[n(569)](t);for(const t of Object[n(633)](e[n(639)])){const s=i[n(641)](t);for(const r of Object[n(633)](e[n(557)][t]))i[n(425)](r,e[n(557)][t][r],s);i[n(587)](e[n(639)][t],s,0)}}),this[t(388)][t(352)](this[t(396)](e[t(630)])),this[t(344)]=!0})[n(450)](t=>{const e=n;console[e(445)](t),this[e(514)](),s&&(this[e(388)]=s),this[e(344)]=!0})}[oe(454)](t,e){const i=oe,n=this[i(524)][i(393)](t);return n.on(i(646),(t,i,s)=>e(i,s,n)),this[i(524)][i(518)](n),n}[oe(514)](){const t=oe;this[t(408)]=null,this[t(539)](),this[t(554)]&&this[t(554)][t(512)](),this[t(554)]=null,this[t(618)][t(337)](),this[t(447)][t(639)][t(363)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(447)][i(639)][i(355)][i(452)]())e[i(569)](t)})}[oe(396)](t){const e=oe,i=[],n=new Map;for(const t of this[e(447)][e(639)][e(355)][e(452)]()){const s=this[e(447)][e(395)][e(562)][e(583)](t);if(!s)continue;const r=s[e(379)]()[e(434)](0);r&&(i[e(623)](t),n[e(580)](t,r))}return i[e(336)]((t,i)=>{const s=e,r=n[s(466)](t),o=n[s(466)](i);return r.y-o.y||r.x-o.x}),(t=t[e(437)](t=>i[e(421)](t[e(397)])))[e(336)]((t,n)=>i[e(479)](t[e(397)])-i[e(479)](n[e(397)])),t}[oe(366)](t){const e=oe,i=Array[e(572)](t[e(493)])[e(437)](([t,i])=>t[e(582)](e(486))&&!i[e(596)]),n=Array[e(572)](this[e(447)][e(639)][e(537)](t)[e(390)]({singleCharacters:!0}));if(0!=i[e(424)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(565)](":");if(s[e(489)][e(555)](t[e(494)])&&i[e(531)](),(t[e(407)][e(555)](s[e(357)])||t[e(407)][e(528)](s[e(357)]))&&(e(590)==r?t[e(347)]={userId:o}:e(350)==r&&(t[e(423)]={userId:o})),0==i[e(424)])break}return n}[oe(485)](t){const e=oe,i=new Map;for(let n=0;n<t[e(424)];n++)e(638)===t[n][e(448)]?(t[n][e(434)][e(446)]=n,t[n][e(434)][e(575)]=n):(e(591)===t[n][e(448)]?t[n][e(434)][e(446)]=n:e(511)===t[n][e(448)]&&(t[n][e(434)][e(575)]=n),i[e(580)](t[n].id,n));for(const n of i[e(488)]())e(591)===t[n][e(448)]?t[n][e(434)][e(575)]=i[e(466)](t[n][e(442)]):e(511)===t[n][e(448)]&&(t[n][e(434)][e(446)]=i[e(466)](t[n][e(442)]))}[oe(358)](t){const e=oe;for(let i=0;i<t[e(424)];i++){if(e(591)===t[i][e(448)])t[i][e(434)][e(446)]=i;else if(e(511)===t[i][e(448)]){t[i][e(434)][e(575)]=i;const n=t[i][e(434)][e(446)];t[n][e(442)]=t[i].id,t[i][e(442)]=t[n].id}else t[i][e(434)][e(446)]=i,t[i][e(434)][e(575)]=i,t[i][e(442)]=null;t[i][e(387)]||(t[i][e(387)]=[],t[i][e(331)]=[])}}[oe(403)](t,e){const i=oe,n=t[i(437)](t=>!t[i(347)]);for(let t=0;t<e[i(424)];t++)e[t][i(347)]&&(n[t][i(347)]=e[t][i(347)])}[oe(626)](t,e=null){const i=oe,n=this[i(524)][i(430)](t),s=e?this[i(524)][i(430)](e):null,r=this[i(505)](n,s),o=r[r[i(424)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(424)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(633)](e[i(600)]))if(e[i(600)][t][i(360)]){const n=e[i(600)][t][i(360)];n[i(561)]?(u[i(637)](t),l[i(367)](t)&&l[i(466)](t)[i(419)]==n[i(419)]?l[i(477)](t):l[i(580)](t,n)):l[i(367)](t)?(u[i(477)](t),l[i(477)](t)):(u[i(637)](t),l[i(580)](t,n))}else u[i(637)](t)}for(const t of u){const e=l[i(367)](t)&&!l[i(466)](t)[i(561)];let n=e?r[i(424)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(600)][t]){const n=e?o[i(600)][t][i(564)]:o[i(600)][t][i(346)];c[i(557)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(639)]={};for(const e of t[i(364)])a[i(580)](e.id,e);for(const e of u){const n=t[i(600)][e]?t[i(600)][e][i(414)]:"[]",s=t[i(600)][e]?t[i(600)][e][i(585)]:"[]";t[i(639)][e]={insertions:this[i(609)][i(335)](n),deletions:this[i(609)][i(335)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(572)](n[i(639)][t][i(414)][i(493)])[i(437)](([t])=>!t[i(582)](i(486))));let h=0;for(const o of r){const r=this[i(366)](o[i(639)][t][i(414)]);o==n?(e=r,s=e[i(424)],e[i(608)](t=>{t.id=h++}),this[i(358)](e)):this[i(403)](e,r);const a=e[i(437)](t=>!t[i(347)])[i(612)](t=>t.id);let c=0;const l=this[i(366)](o[i(639)][t][i(585)]);l[i(608)](t=>{t[i(423)]?t.id=s++:t.id=a[c++]}),this[i(358)](l),this[i(634)](e,i(347)),this[i(634)](l,i(423)),o==n&&this[i(398)](e,u),e=this[i(527)](e,l),this[i(485)](e),this[i(634)](e,i(423))}e=e[i(437)](t=>!(t[i(347)]&&t[i(423)]));const d=new Map(o[i(639)][t][i(585)][i(493)]),f=new Set(u[i(633)]());for(const t of d[i(633)]())f[i(477)](t);this[i(444)](e,f),this[i(500)](e),e=this[i(579)](e),e=this[i(373)](e),e=this[i(605)](e);const{root:m,changes:p}=this[i(573)](e,a,t);c[i(639)][t]=m;const v=l[i(466)](t);if(v){const e=a[i(466)](v[i(419)]),n=new Xt({author:e,type:v[i(561)]?i(637):i(647),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(338)](n),c[i(557)][t][i(470)]=n.id}c[i(630)]=c[i(630)][i(478)](p)}return c}[oe(398)](t,e){const i=oe;for(let n=0;n<t[i(424)];n++)for(const[s,r]of e)!r[i(596)]&&r[i(357)][i(555)](t[n][i(407)])&&t[n][i(387)][i(623)](s),r[i(489)][i(555)](t[n][i(494)])&&t[n][i(331)][i(623)](s)}[oe(527)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(424)]||r<e[i(424)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(623)](o);else if(a[i(423)]&&o[i(347)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(584)](t,s,e,r);n=n[i(478)](o),s=a,r=c}else a[i(423)]?(r++,n[i(623)](a)):(s++,n[i(623)](o))}return n}[oe(444)](t,e){const i=oe,n=[];for(let o=0;o<t[i(424)];o++){for(let r=0;r<t[o][i(387)][i(424)];r++){const a=t[o][i(387)][r];if(!e[i(367)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(495)!=c||i(590)!=u&&i(350)!=u||(n[i(338)]({type:u,name:a,userId:l}),t[o][i(387)][i(578)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(331)][i(424)];r++){const a=t[o][i(331)][r];if(!e[i(367)](a))continue;const{group:c,type:u}=s(a);if(i(495)!=c||i(590)!=u&&i(350)!=u)continue;t[o][i(331)][i(578)](r,1),r--;const l=n[i(550)](t=>t[i(476)]==a);l>-1&&n[i(578)](l,1)}}function s(t){const e=i,n=t[e(565)](":");return{group:n[0],type:n[1],subType:n[e(424)]>=5?n[2]:null,id:n[e(424)]<5?n[2]:n[3],authorId:n[e(424)]<5?n[3]:n[4],markerCount:6==n[e(424)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(424)];i++){if(t[e(347)]&&e(590)==n[i][e(448)]&&t[e(347)][e(419)]==n[i][e(419)])return t[e(482)]=n[i],void delete t[e(347)];if(!t[e(347)]&&!t[e(423)]&&e(350)==n[i][e(448)])return void(t[e(624)]=n[i])}}}[oe(634)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(580)](o.id,n);for(let n=0;n<t[i(424)];n++){if(i(423)==e&&t[n][i(347)]||i(347)==e&&t[n][i(423)])continue;if(i(638)==t[n][i(448)]){t[n][i(516)]=0;continue}const s=r[i(466)](t[n][i(442)]),o=r[i(466)](t[n].id);t[n][i(516)]=s-o}}[oe(505)](t,e,i=!1){const n=oe,s=[];let r=this[n(524)][n(581)](t),o=this[n(524)][n(581)](e);for(-1==o&&(o=this[n(524)][n(551)][n(424)],i=!1);r<o;)s[n(623)](this[n(524)][n(430)](r)),r++;return i&&s[n(623)](this[n(524)][n(430)](r)),s}[oe(584)](t,e,i,n){const s=oe,r=this[s(447)][s(639)][s(429)];let o=e;for(;t[o]&&t[o][s(347)];)o++;let a=n;for(;i[a]&&i[a][s(423)];)a++;u(t,e,o),u(i,n,a);const c=i[s(627)](n,a)[s(478)](t[s(627)](e,o));return c[s(336)]((t,e)=>t[s(536)]!=e[s(536)]?t[s(536)]-e[s(536)]:t[s(362)]!=e[s(362)]?t[s(362)]-e[s(362)]:t[s(516)]!=e[s(516)]?e[s(516)]-t[s(516)]:!!t[s(347)]!=!!e[s(347)]?-1==t[s(536)]||0==t[s(536)]?t[s(347)]?-1:1:t[s(347)]?1:-1:t[s(383)]-e[s(383)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(341)],c=!0;for(let s=e;s<i;s++)if(r[n(472)](t[s][n(434)])||(c=!1),t[s][n(434)][n(446)]<e&&(o=s),t[s][n(434)][n(575)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(536)]=s<=o?-1:s<a?0:1,t[s][n(383)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(516)]?t[i][n(362)]=u:(u++,t[i][n(362)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(536)]&&(t[s][n(362)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(516)]?t[e][n(362)]=u:(u--,t[e][n(362)]=u,u--)}}[oe(500)](t){const e=oe,i=new Map,n=this[e(447)][e(639)][e(429)];for(let s=1;s<t[e(424)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(638)==c[e(448)])continue;if(c[e(448)]!=u[e(448)])continue;if(!n[e(389)](u[e(434)])||n[e(574)](u[e(434)]))continue;if(!n[e(389)](c[e(434)])||n[e(574)](c[e(434)]))continue;if((t[s][e(347)]||t[s][e(482)])&&t[s-1][e(423)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(423)]||!t[s-1][e(347)]&&!t[s-1][e(482)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(362)]==o[e(362)],h=Math[e(384)](r[e(362)])<Math[e(384)](o[e(362)])&&0==o[e(516)];(l||h)&&(i[e(580)](o.id,r.id),t[e(578)](a,1),s--,r[e(347)]=!1)}for(let n=0;n<t[e(424)];n++)i[e(367)](t[n][e(442)])&&(t[n][e(442)]=i[e(466)](t[n][e(442)]))}[oe(579)](t){const e=oe,i=new Set(t[e(612)](t=>t.id));for(let n=0;n<t[e(424)];n++)i[e(367)](t[n][e(442)])||0==t[n][e(516)]||(t[n][e(480)]=!0);return t[e(437)](t=>!t[e(480)])}[oe(373)](t){const e=oe,i=new Set;for(let n=0;n<t[e(424)];n++){if(i[e(367)](t[n].id)&&t[n][e(423)]&&(t[n][e(480)]=!0),t[n][e(480)])continue;if(0==t[n][e(516)])continue;if(e(591)!=t[n][e(448)])continue;if(null==t[n][e(442)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(442)];)e(591)==t[s][e(448)]?r++:e(511)==t[s][e(448)]&&r--,s++;if(0!=r)if(t[n][e(423)])t[n][e(480)]=!0;else for(;s!=n;)t[s][e(423)]&&0!=t[s][e(516)]&&(t[s][e(480)]=!0,i[e(637)](t[s][e(442)])),s--}return t[e(437)](t=>!t[e(480)])}[oe(605)](t){const e=oe,i=this[e(447)][e(639)][e(429)];for(let n=0;n<t[e(424)];n++){if(!(t[n][e(347)]||t[n][e(482)]||t[n][e(423)]||t[n][e(624)]))continue;if(0==t[n][e(516)])continue;const s=t[n][e(434)];i[e(389)](s)||i[e(574)](s)||(t[n][e(347)]&&delete t[n][e(347)],t[n][e(482)]&&delete t[n][e(482)],t[n][e(624)]&&delete t[n][e(624)],t[n][e(423)]&&(t[n][e(480)]=!0))}return t[e(437)](t=>!t[e(480)])}[oe(573)](t,e,i){const n=oe,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(447)][n(639)],c=a[n(429)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(424)];e++)if(n(591)===t[e][n(448)]){t[e][n(407)]=a[n(558)](s,f);const i=new Q.ModelElement(t[e][n(434)][n(476)],t[e][n(434)][n(417)]());u[0][n(498)](i),f[n(623)](0),u[n(338)](i),t[e][n(494)]=a[n(558)](s,f)}else n(511)===t[e][n(448)]?(u[n(531)](),t[e][n(407)]=a[n(558)](s,f),f[n(349)](),f[f[n(424)]-1]++,t[e][n(494)]=a[n(558)](s,f)):(t[e][n(407)]=a[n(558)](s,f),d?d[n(507)]+=t[e][n(434)][n(508)]:d=new Q.ModelText(t[e][n(434)][n(508)],t[e][n(434)][n(417)]()),t[e+1]&&n(638)===t[e+1][n(448)]&&v(d,t[e+1][n(434)])||(u[0][n(498)](d),d=null),f[f[n(424)]-1]+=t[e][n(434)][n(426)],t[e][n(494)]=a[n(558)](s,f));for(let e=0;e<t[n(424)];e++){const i=t[e][n(407)],s=t[e][n(494)];for(const s of t[e][n(387)])o[n(580)](s,{start:i,end:null});m(n(624),e,i,s),m(n(482),e,i,s),m(n(423),e,i,s),m(n(347),e,i,s);for(const i of t[e][n(331)]){const t=o[n(466)](i);t?t[n(489)]=s:o[n(580)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(447)][n(639)][n(464)](e[n(357)],e[n(489)]);s[n(493)][n(580)](t,i)}return r[n(336)]((t,e)=>{const i=n,r=s[i(493)][i(466)](i(486)+t.id),o=s[i(493)][i(466)](i(486)+e.id);return r[i(357)][i(370)](o[i(357)])?-1:r[i(357)][i(528)](o[i(357)])?1:r[i(489)][i(370)](o[i(489)])?-1:r[i(489)][i(528)](o[i(489)])?1:i(637)===t[i(448)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(419)]:null,d=i===t[o(424)]-1,f=h[e][0],m=c[o(491)](t[i][o(434)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(489)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(419)]!==u&&(l[e][o(489)]=s,f&&f[o(419)]===l[e][o(419)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(591)!==t[i][o(448)]||f&&f[o(419)]===u||h[e][o(338)]({userId:u,object:t[i][o(434)],change:l[e]}),o(511)===t[i][o(448)]&&f&&f[o(386)]===t[i][o(434)]&&(h[e][o(531)](),l[e]=f[o(385)])),l[e]&&d&&(l[e][o(489)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(434)],f=a[h(429)][h(389)](d)&&!a[h(429)][h(574)](d),m=t[h(458)]==o[h(496)]&&o[h(541)];if(f&&m)return;const p=a[h(464)](t,o),v=e[h(466)](u),g=new Xt({author:v,type:h(347)==l||h(482)==l?h(637):h(647),data:{isSuggestion:h(482)==l||h(624)==l},createdAt:new Date,rootName:i});r[h(623)](g),s[h(493)][h(580)](h(486)+g.id,p)}function v(t,e){const i=n,s=t[i(417)](),r=e[i(417)]();for(const t of s){if(t[1]!==e[i(649)](t[0]))return!1;r[i(603)]()}return r[i(603)]()[i(365)]}}[oe(534)](){const t=oe;this[t(447)][t(602)][t(342)](t(560))[t(351)]({view:t(595)}),this[t(447)][t(602)][t(342)](t(619))[t(535)]({model:t(595),view:e=>{const i=t,n=e[i(598)][i(565)](":")[1],s=this[i(382)](n);if(!s)return null;const r=i(637)==s[i(448)]?i(590):i(350),o=[i(359),i(621)+r];return s[i(508)][i(329)]&&o[i(623)](i(621)+r+i(399)),this[i(408)]==s&&o[i(623)](i(435)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(447)][t(602)][t(342)](t(560))[t(637)](e=>{const i=t;e.on(i(378),(t,e,n)=>{const s=i,r=e[s(401)][s(632)](0);if(!r||!r.is(s(640),s(418)))return;if(!n[s(374)][s(532)](r,{attributes:[s(339),s(328)]}))return;const o=e[s(577)][s(357)][s(458)];n[s(451)][s(425)](s(339),r[s(649)](s(339)),o),n[s(451)][s(425)](s(328),r[s(649)](s(328)),o)},{priority:i(628)})}),this[t(447)][t(602)][t(342)](t(560))[t(637)](e=>{const i=t;e.on(i(640),(t,e,n)=>{const s=i;if(!n[s(374)][s(532)](e[s(401)],{attributes:[s(339),s(328)]}))return;if(e[s(577)][s(596)])return;const r=e[s(577)][s(357)][s(458)];r[s(410)](s(339))||r[s(410)](s(332))||(n[s(451)][s(425)](s(339),e[s(401)][s(649)](s(339)),r),n[s(451)][s(425)](s(328),e[s(401)][s(649)](s(328)),r))},{priority:i(628)})}),this[t(447)][t(602)][t(342)](t(560))[t(625)]({view:{name:t(475),attributes:{vid:!0}},model:{key:t(332),value:e=>e[t(649)](t(332))}}),this[t(447)][t(639)][t(429)].on(t(431),(e,[,i])=>{const n=t;[n(339),n(328),n(332)][n(421)](i)&&(e[n(559)]=!0,e[n(588)]())},{priority:t(601)}),this[t(447)][t(602)][t(342)](t(586))[t(637)](e=>{const i=t;e.on(i(345),(t,e,n)=>{const s=i;if(" "!=e[s(434)][s(508)]||e[s(434)][s(496)][s(409)]>1)return;if(!n[s(374)][s(532)](e[s(434)],t[s(476)]))return;const r=n[s(451)],o=n[s(589)][s(576)](e[s(545)]);r[s(526)](o,r[s(372)](s(475)))})}),this[t(447)][t(602)][t(342)](t(586))[t(520)]({model:t(595)}),this[t(447)][t(395)][t(604)].on(t(439),function(e){const i=t,n=e[i(607)][i(466)](i(611));return(t,s,r)=>{const o=i,a=s[o(598)][o(565)](":")[1],c=n[o(382)](a);if(!c)return null;const u=o(637)==c[o(448)]?o(565):o(506);if(!r[o(374)][o(405)](s[o(492)],t[o(476)]))return;const l=s[o(492)][o(390)](),h=s[o(492)][o(357)],d=e[o(639)][o(429)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(434)];p=p||d[o(462)](e);const i=r[o(589)][o(515)](e);if(i&&i[o(510)](o(522)))return;o(511)==t[o(448)]&&d[o(389)](e)&&!d[o(574)](e)&&(e[o(377)]||h[o(436)]?f&&f[o(496)]==e||(f=e,g(t[o(407)]),v=!0):m=m||t[o(407)])}function g(t){const e=o,i=r[e(451)][e(453)](e(475),{class:e(621)+u}),a=r[e(589)][e(592)](t);c[e(508)][e(329)]&&r[e(451)][e(570)](e(621)+u+e(399),i),n[e(408)]==c&&r[e(451)][e(570)](e(435),i),r[e(451)][e(587)](a,i),r[e(589)][e(594)](i,s[e(598)])}p||v||!m||g(m)}}(this[t(447)]),{priority:t(456)}),this[t(447)][t(395)][t(604)].on(t(481),(e,i,n)=>{const s=t,r=n[s(589)][s(420)](i[s(598)]);if(r)for(const t of r)(t[s(523)](s(568))||t[s(523)](s(392)))&&(n[s(589)][s(457)](t,i[s(598)]),n[s(451)][s(647)](t))},{priority:t(456)}),this[t(447)][t(395)][t(604)].on(t(439),(e,i,n)=>{const s=t,r=i[s(598)][s(565)](":")[1],o=this[s(382)](r);if(!o)return null;const a=s(637)==o[s(448)]?s(565):s(506);if(n[s(374)][s(405)](i[s(492)],e[s(476)]))for(const t of i[s(492)][s(469)]()){if(!t.is(s(640),s(413)))continue;const e=n[s(451)][s(453)](s(475),{class:s(621)+a}),r=n[s(589)][s(592)](this[s(447)][s(639)][s(391)](t));o[s(508)][s(329)]&&n[s(451)][s(570)](s(621)+a+s(399),e),this[s(408)]==o&&n[s(451)][s(570)](s(435),e),n[s(451)][s(587)](r,e),n[s(589)][s(594)](e,i[s(598)])}},{priority:t(456)}),this[t(447)][t(639)][t(355)].on(t(385),()=>{const e=t;this[e(447)][e(395)][e(562)][e(385)](t=>{const i=e;for(const e of this[i(447)][i(639)][i(355)][i(452)]()){const n=this[i(447)][i(639)][i(355)][i(533)](e),s=this[i(447)][i(395)][i(562)][i(355)][i(533)](e);if(s){const e=n[i(649)](i(470));if(t[i(620)](i(356),s),t[i(635)](i(402),s),t[i(635)](i(599),s),t[i(635)](i(651),s),e){const n=this[i(382)](e);if(!n)return null;t[i(425)](i(356),e,s),t[i(570)](i(380)+n[i(448)],s),this[i(408)]==n&&t[i(570)](i(651),s)}}}})}),this[t(447)][t(602)][t(342)](t(560))[t(351)]({view:t(354),model:e=>t(547)+e,converterPriority:t(601)}),this[t(447)][t(602)][t(342)](t(560))[t(351)]({view:t(361),model:e=>t(468)+e,converterPriority:t(601)}),this[t(447)][t(602)][t(342)](t(586))[t(520)]({model:t(495),view:e=>({name:t(460)+e,group:t(495)}),converterPriority:t(601)}),this[t(447)][t(602)][t(342)](t(619))[t(535)]({model:t(495),view:e=>{const i=t,n=e[i(598)][i(565)](":")[1];return i(590)!=n&&i(350)!=n?null:{classes:[i(455),i(499)+n]}}}),this[t(447)][t(395)][t(604)].on(t(433),le(this[t(447)],t(506)),{priority:t(456)}),this[t(447)][t(395)][t(604)].on(t(473),le(this[t(447)],t(565)),{priority:t(456)}),this[t(447)][t(395)][t(604)].on(t(333),(e,i,n)=>{const s=t,r=n[s(589)][s(420)](i[s(598)]);if(r)for(const t of r)t.is(s(340))&&(n[s(589)][s(457)](t,i[s(598)]),n[s(451)][s(647)](t))},{priority:t(456)})}[oe(382)](t){const e=oe;return this[e(618)][e(466)](t)}[oe(613)](t){const e=oe;return this[e(554)]&&this[e(554)][e(512)](),this[e(554)]=new Jt(this[e(447)][e(631)],t),this[e(554)]}[oe(504)](){const t=oe;this[t(447)][t(639)][t(355)][t(369)][t(571)](t(595)),this.on(t(474),(e,i,n,s)=>{const r=t;s&&this[r(629)][r(647)](s),n&&(this[r(629)][r(637)]({view:n,stackId:r(484),position:{target:()=>{const t=r,e=this[t(447)][t(395)],i=this[t(382)](n[t(400)]);let s;if(i[t(508)][t(648)]){const n=e[t(562)][t(583)](i[t(397)]);s=Array[t(572)](n[t(379)]())}else{const i=this[t(447)][t(639)][t(493)][t(466)](t(486)+n[t(400)]);s=Array[t(572)](e[t(589)][t(420)](i[t(476)]))[t(612)](i=>e[t(562)][t(490)][t(330)](i))[t(612)](e=>Array[t(572)](e[t(379)]()))[t(502)]()}return this[t(465)]&&s[t(509)](e=>e[t(549)]-3<=this[t(465)].y&&e[t(566)]+3>=this[t(465)].y&&e[t(645)]-3<=this[t(465)].x&&e[t(546)]+3>=this[t(465)].x)||s[0]}}}),this[r(629)][r(432)](r(484)))}),this.on(t(503),(e,i,n,s)=>{const r=t;this[r(467)]=n?this[r(613)](n):null,this[r(447)][r(639)][r(385)](()=>{const t=r,e=this[t(447)][t(395)];s&&(s[t(508)][t(648)]?e[t(562)][t(385)](i=>{const n=t;i[n(635)](n(651),e[n(562)][n(355)][n(533)](s[n(397)]))}):e[t(371)](t(486)+s.id)),n&&(n[t(508)][t(648)]?e[t(562)][t(385)](i=>{const s=t;i[s(570)](s(651),e[s(562)][s(355)][s(533)](n[s(397)]))}):e[t(371)](t(486)+n.id))})}),this[t(459)](this[t(447)][t(395)][t(562)][t(355)],t(441),(e,i)=>{const n=t;if(this[n(408)])return;const s=this[n(375)](i[n(543)]),r=this[n(618)][n(466)](s);r?(this[n(465)]={x:i[n(376)].x,y:i[n(376)].y},this[n(467)]=this[n(613)](r)):(this[n(465)]=null,this[n(467)]=null)}),this[t(459)](this[t(447)][t(395)][t(562)][t(355)],t(597),(e,i)=>{const n=t,s=this[n(375)](i[n(543)]),r=this[n(618)][n(466)](s);r?(this[n(465)]={x:i[n(376)].x,y:i[n(376)].y},r===this[n(408)]?this[n(629)][n(622)]():this[n(408)]=r):(this[n(465)]=null,this[n(408)]=null)})}[oe(375)](t){const e=oe;do{const i=t[e(649)](e(356));if(i)return i;t=t[e(496)]}while(t);return null}[oe(539)](){const t=oe;this[t(447)][t(639)][t(385)](e=>{const i=t;for(const t of this[i(447)][i(639)][i(493)])e[i(548)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(374)][r(405)](n[r(492)],i[r(476)]))return;const o=n[r(492)][r(390)](),a=n[r(492)][r(357)],c=t[r(639)][r(429)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(434)];h=h||c[r(462)](e);const i=s[r(589)][r(515)](e);if(i&&i[r(510)](r(522)))return;r(511)==t[r(448)]&&c[r(389)](e)&&!c[r(574)](e)&&(e[r(377)]||a[r(436)]?u&&u[r(496)]==e||(u=e,f(t[r(407)]),d=!0):l=l||t[r(407)])}function f(t){const i=r,o=s[i(589)][i(592)](t),a=s[i(451)][i(453)](i(475),{class:i(499)+e});s[i(451)][i(587)](o,a),s[i(589)][i(594)](a,n[i(598)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(607)][e(466)](ue);this[e(449)]=!1,this[e(459)](i,e(563),()=>this[e(521)]()),this[e(459)](i,e(529),()=>this[e(521)]())}[oe(483)](){const t=oe,e=this[t(447)],i=e[t(607)][t(466)](ue),n=i[t(344)]?i[t(388)][t(636)]:null;e[t(556)][t(466)](t(422))[t(644)](n)}[oe(521)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(447)][t(607)][t(466)](ue),r=s&&n[t(593)](s[t(636)]);this[t(428)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(538)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(607)][i(466)](ue);this[i(449)]=!1,this[i(538)]=i(553)===e?1:-1,this[i(459)](n,i(563),()=>this[i(521)]()),this[i(459)](n,i(529),()=>this[i(521)]()),this[i(459)](n,i(503),()=>this[i(521)]())}[oe(483)](){const e=oe,i=this[e(447)],n=i[e(607)][e(466)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(408)]=s?n[e(388)][e(630)][e(466)](r+this[e(538)]):n[e(388)][e(630)][e(552)],n[e(408)][e(508)][e(648)])o=i[e(395)][e(562)][e(583)](n[e(408)][e(397)]);else{const t=i[e(639)][e(493)][e(466)](e(486)+n[e(408)].id);o=(0,K.getMarkerDomElement)(i[e(395)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(521)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(447)][t(607)][t(466)](ue);this[t(428)]=!!(r&&s&&n)&&(!e||(1===this[t(538)]?i<n-1:i>0))}}var fe=i(140),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["_statusText","ck-revision-history-ui","9oGpzkB","isNavigationMode","No changes","backward","isEnabled","numberOfChanges","Show next change","89710AYPrVZ","ck-revision-history-ui__changes-navigation","span","isForwardNavigationEnabled","execute","1WBmpVN","Show previous change","754404epsiNz","3093232rDdFqU","15594uigrly","NUMBER_OF_CHANGES","33JyGPms","bindTemplate","Loading...","isBackwardNavigationEnabled","X_OF_Y_CHANGES","set","ck-revision-history-ui__changes-navigation__navigation","bind","isReady","forward","91kQDZDN","843774lzAYBs","EDIT_X_OF_Y_REVISIONS","currentChangeNumber","_isStatusLabelVisible","setTemplate","Total","ck-revision-history-ui__changes-navigation__wrapper","ck-hidden","div","fire","294876HBQhMH","119090QVFHGV","ck-revision-history-ui__changes-navigation__label"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=128]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(213699===parseInt(e(133))/1*(parseInt(e(160))/2)+parseInt(e(150))/3+parseInt(e(135))/4+-parseInt(e(161))/5+parseInt(e(137))/6*(parseInt(e(149))/7)+parseInt(e(136))/8*(-parseInt(e(165))/9)+-parseInt(e(128))/10*(parseInt(e(139))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(140)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(144)](e(166),!1),this[e(144)](e(147),!1),this[e(144)](e(152),0),this[e(144)](e(170),0),this[e(144)](e(131),!1),this[e(144)](e(142),!1),this[e(146)](e(153)).to(this,e(147),this,e(170),(t,e)=>t&&e>0),this[e(146)](e(163)).to(this,e(147),this,e(152),this,e(170),this,e(166),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(141));if(!s)return at(t,o(167));const a=at(t,o(138),s);return r?at(t,o(143),[n+1,s]):a}),n[e(144)]({label:at(t,e(134)),tooltip:!0,icon:_t.IconChevronUp}),s[e(144)]({label:at(t,e(171)),tooltip:!0,icon:_t.IconChevronDown}),n[e(146)](e(169)).to(this,e(142)),s[e(146)](e(169)).to(this,e(131)),n.on(e(132),()=>this[e(159)](e(132),e(168))),s.on(e(132),()=>this[e(159)](e(132),e(148))),this[e(154)]({tag:e(158),attributes:{class:["ck",e(164),e(129)]},children:[{tag:e(130),attributes:{class:[e(156)]},children:[{tag:e(130),attributes:{class:[e(162),i.if(e(153),e(157),t=>!t)]},children:[{text:i.to(e(166),i=>i?at(t,e(151))+": ":at(t,e(155))+": ")}]},{text:i.to(e(163))}]},new It.ToolbarSeparatorView,{tag:e(158),attributes:{class:[e(145)]},children:[n,s]}]})}}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(831956===-parseInt(e(390))/1+parseInt(e(392))/2*(-parseInt(e(402))/3)+parseInt(e(391))/4*(parseInt(e(398))/5)+-parseInt(e(411))/6+-parseInt(e(401))/7+parseInt(e(393))/8+-parseInt(e(409))/9*(parseInt(e(406))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(414);function Ie(){const t=["editing","change","180BsJHNm","addClass","hide","362979AyxPDV","isPremiumPlugin","2357838VAgtcl","document","editor","ck-editor__editable__loading-overlay","146871PiELGn","2461064xrAZEN","69932CoKpTf","12331776EoJVMN","view","removeClass","pluginName","isOfficialPlugin","10vortMs","roots","RevisionViewerLoadingOverlay","1782578BJvfvG","36jOBVlP","show"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(396)](){return be(400)}static get[be(397)](){return!0}static get[be(410)](){return!0}[be(403)](){const t=be,e=this[t(413)][t(404)][t(394)];e[t(405)](i=>{const n=t;for(const t of e[n(412)][n(399)])i[n(407)](_e,t)})}[be(408)](){const t=be,e=this[t(413)][t(404)][t(394)];e[t(405)](i=>{const n=t;for(const t of e[n(412)][n(399)])i[n(395)](_e,t)})}}const Oe=xe;function Te(){const t=["Back to editing","restoreRevision","commands","showPreviousChange","closeRevisionViewerCallback","658644XwpqvB","change:isReady","isOfficialPlugin","isEnabled","hide","revisionHistory","execute","plugins","1815984rxYbnS","showNextChange","ck-revision-history-ui__back-to-editing","Restore this revision","178712sgXFjL","7RiwkSP","isNavigationMode","isPremiumPlugin","get","requires","forward","numberOfChanges","show","add","editor","changesNavigation","init","isForwardNavigationEnabled","pluginName","currentChangeNumber","5FyQLbH","2295462UqfJLy","listenTo","componentFactory","62046ubqqEk","bind","isBackwardNavigationEnabled","15874NrRliG","isReady","RevisionViewerUI","3513172lIpElX","set","config","exitToEditing"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=275]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(541524===parseInt(e(301))/1+parseInt(e(289))/2+-parseInt(e(309))/3+parseInt(e(292))/4+-parseInt(e(282))/5*(parseInt(e(283))/6)+parseInt(e(314))/7*(-parseInt(e(313))/8)+parseInt(e(286))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(280)](){return Oe(291)}static get[Oe(303)](){return!0}static get[Oe(316)](){return!0}static get[Oe(318)](){return[ue,Se]}[Oe(278)](){const t=Oe,e=this[t(276)],i=e[t(308)][t(317)](ue),n=e[t(308)][t(317)](Se);e.ui[t(285)][t(275)](t(295),i=>{const n=t,s=new It.ButtonView(i);return s[n(293)]({label:at(i,n(296)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(311)}),this[n(284)](s,n(307),()=>{const t=n;e[t(294)][t(317)](t(306))[t(300)]()}),s}),e.ui[t(285)][t(275)](t(297),i=>{const n=t,s=new It.ButtonView(i);return s[n(293)]({label:at(i,n(312)),withText:!0,tooltip:!0}),s[n(287)](n(304)).to(e[n(298)][n(317)](n(297))),this[n(284)](s,n(307),()=>e[n(307)](n(297))),s}),e.ui[t(285)][t(275)](t(277),n=>{const s=t,r=new ge(n),o=e[s(298)][s(317)](s(299)),a=e[s(298)][s(317)](s(310));return r[s(287)](s(288)).to(o,s(304)),r[s(287)](s(279)).to(a,s(304)),r[s(287)](s(290),s(281),s(320),s(315)).to(i),this[s(284)](r,s(307),(t,i)=>{const n=s;e[n(307)](n(319)===i?n(310):n(299))}),r}),n[t(321)](),i.on(t(302),(e,i,s)=>{const r=t;s?n[r(305)]():n[r(321)]()})}}var Ae=i(549),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(471906===parseInt(e(340))/1+-parseInt(e(341))/2*(parseInt(e(343))/3)+-parseInt(e(335))/4+parseInt(e(328))/5+parseInt(e(337))/6*(-parseInt(e(330))/7)+-parseInt(e(349))/8+-parseInt(e(323))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(350)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(342)];this[i(346)]({label:at(t,i(336)),_tooltipString:""}),this[i(325)][i(351)]=at(t,i(344)),this[i(331)]({tag:i(348),attributes:{class:[i(326)],"data-cke-tooltip-text":n.to(i(332)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(338)}})}[Me(329)](){const e=Me;super[e(329)](),this[e(350)]=new t.ResizeObserver(this[e(325)][e(333)],()=>this[e(334)]()),this[e(347)](this[e(325)],e(324),()=>this[e(334)]())}[Me(339)](){const t=Me;super[t(339)](),this[t(350)]&&this[t(350)][t(339)]()}[Me(334)](){const t=Me,e=this[t(325)][t(333)];this[t(332)]=e[t(327)]>e[t(345)]&&e[t(322)]||""}}function Ee(){const t=["element","_updateTooltipText","1507780jWtHAB","Revision name","124482wxBCCG","ck-tooltip_multi-line","destroy","762149OBRIpg","388836TpcpxN","bindTemplate","3rfngYg","Enter the revision name","clientWidth","set","listenTo","span","643616ZQrDBS","_resizeObserver","placeholder","value","4884687FKtdnr","input","fieldView","ck-revision-history-sidebar__revision-name","scrollWidth","4625310HORoXW","render","7ETqkfC","extendTemplate","_tooltipString"];return(Ee=function(){return t})()}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["ck-revision-history-sidebar__revision-author","848kLRDpr","28190oYpeLt","292993jHugHn","4049848hbEscQ","10IKbCLT","ck-revision-history-sidebar__revision-author__name","3686337gAkcNM","push","Revision creator","span","92183FHArMB","20kZUycO","name","Revision author","set","4379574HsDDjb","ck-revision-history-sidebar__revision-author_creator","setTemplate","0 0 11 10","7130586wOlNzY"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(741952===-parseInt(e(396))/1*(parseInt(e(398))/2)+parseInt(e(409))/3+-parseInt(e(397))/4+-parseInt(e(395))/5+parseInt(e(392))/6+-parseInt(e(404))/7*(-parseInt(e(394))/8)+-parseInt(e(400))/9*(parseInt(e(405))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(408)]({content:_t.IconUser,viewBox:n(391)});const r=["ck",n(393)];i&&r[n(401)](n(389));const o=[{tag:n(403),attributes:{class:["ck",n(399)],title:at(t,n(i?402:407))},children:[s,e[n(406)]]}];this[n(390)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["267605WwvDyl","2251530xyEwTA","36pZZCwM","toLocaleTimeString","toLocaleDateString","3913056nGULtP","11HXiTYN","16iCAreE","long","2391810ahMAEW","3298LzaDZL","numeric","155JOadqi","327eLjjOg","371035eutfHx","6500oBwwEv"];return(ze=function(){return t})()}function He(t,e){var i=ze();return(He=function(t,e){return i[t-=197]})(t,e)}!function(t){for(var e=He,i=t();;)try{if(200431===parseInt(e(206))/1*(parseInt(e(204))/2)+parseInt(e(207))/3*(-parseInt(e(209))/4)+parseInt(e(210))/5*(-parseInt(e(212))/6)+-parseInt(e(208))/7*(-parseInt(e(201))/8)+parseInt(e(211))/9+-parseInt(e(203))/10*(parseInt(e(200))/11)+parseInt(e(199))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(439),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Mt(),Ue.insert=At().bind(null,"head"),Ue.domAPI=xt(),Ue.insertStyleElement=Dt();Ot()(We.A,Ue);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=271]})(t,e)}function qe(){const t=["class","Show more items","5588392BBTHGc","5zFWfCx","find","Compare against selected","stopPropagation","2041774VotqVm","map","set","panelPosition","3117306iHaziU","children","function","Name this revision","bind","menu","bindTemplate","change:isActionsDropdownOpen","action","add","first","11454744kNQNft","Restore this revision","model","items","isEnabled","7ngLhJH","41725791tasMDB","_action","isReady","isVisible","isOpen","ck-on","execute","listenTo","source","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","menuitem","listView","904938HoYAfj","name","extendTemplate","buttonView","button","locale","845734qgDGvv"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(743826===parseInt(e(283))/1+-parseInt(e(291))/2+-parseInt(e(295))/3+-parseInt(e(286))/4*(parseInt(e(287))/5)+parseInt(e(277))/6*(parseInt(e(311))/7)+-parseInt(e(306))/8+parseInt(e(312))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["483904qwSTKg","setName","div","ck-revision-history-sidebar__revision-authors","name","creator","srcElement","render","fieldView","revisionActionsView","createdAt","highlight","span","63HuWQbI","19114308NyDToc","deselect","map","uiLanguage","ck-disabled","length","fire","ck-reset","ck-revision-history-sidebar__revision-wrapper","isConfirm","407xryKne","ck-revision-history-sidebar__revision__date","26298XBryHc","ck-revision-history-sidebar__revision__controls-wrapper","setTemplate","isSelected","220","listenTo",".ck-confirm-view","revisionNameView","closest","1795HIpYsy","332364DrODCt","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isHighlighted","_revision","ck-revision-history-sidebar__revision","select","ck-revision-history-sidebar__revision_highlighted","filter","_createdAtFormatted","isActionsDropdownOpen","set","unshift","isEnabled","bind","from","13228UmxQgN","value","unhighlight","3512zfOWoV","extendTemplate","255018kHProS","ck-revision-history-sidebar__actions_dropdown_open","19710kPUFqK","_requireRevisionName","isReady","3WKPdan","element","ck-revision-history-sidebar__revision_selected","change","authors","bindTemplate"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=312]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(662034===parseInt(e(322))/1+-parseInt(e(378))/2*(parseInt(e(316))/3)+-parseInt(e(373))/4*(-parseInt(e(357))/5)+parseInt(e(358))/6*(-parseInt(e(335))/7)+-parseInt(e(376))/8*(-parseInt(e(348))/9)+parseInt(e(313))/10*(-parseInt(e(346))/11)+-parseInt(e(336))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(355)];[Ye(331)];[Ye(361)];[Ye(314)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(321)],a=function(t,e){const i=r,n=Array[i(372)](e[i(320)])[i(365)](t=>t!=e[i(327)]);return e[i(327)]&&n[i(369)](e[i(327)]),n[i(338)](n=>new Pe(t,n,n==e[i(327)]))}(e,i);this.id=i.id,this[r(361)]=i,this[r(314)]=s,this[r(371)](r(326),r(332)).to(i),this[r(371)](r(366)).to(this,r(332),t=>{return i=e[r(339)],(n=t)[(s=He)(198)](i,{month:s(202),day:s(205)})+", "+n[s(197)](i,{hour:s(205),minute:s(205)});var i,n,s}),this[r(368)](r(351),!1),this[r(368)](r(360),!1),this[r(368)](r(367),!1),this[r(368)](r(315),!1),this[r(368)](r(370),!1),this[r(355)]=new De(e,It.createLabeledInputText),this[r(355)][r(330)][r(377)]({attributes:{maxlength:r(352)}}),this[r(355)][r(330)][r(371)](r(374)).to(this,r(326),t=>t||this[r(366)]),this[r(355)][r(371)](r(370)).to(this,r(351),this,r(370),(t,e)=>t&&e),this[r(331)]=n&&n[r(341)]?function(e,i){const n=Ze,s=e[n(301)],r=e[n(282)],o=(0,It.createDropdown)(r);o[n(294)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(282)],s={"Compare against selected":at(n,i(289)),"Name this revision":at(n,i(298)),"Restore this revision":at(n,i(307))};return e[i(292)](t=>{const e=i,n=s[t[e(278)]];return n&&n!==t[e(278)]&&(t[e(278)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(281),model:new It.UIModel({label:t[s(278)],class:t[s(284)],withText:!0,role:s(275),_action:t[s(303)]})};i[s(308)][s(299)](s(310)).to(e,s(273),i=>s(297)!=typeof t[s(310)]||!i||t[s(310)](e)),o[s(304)](i)}return o}(e,i);return e[n(299)](n(273)).to(o,n(316)),o[n(280)][n(293)]({label:at(r,n(285)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(279)]({attributes:{class:[n(274),s.if(n(273),n(317))]},on:{click:s.to(t=>t[n(290)]())}}),o.on(n(318),t=>{const i=n;e[i(314)]&&i(297)==typeof t[i(272)][i(313)]&&t[i(272)][i(313)](e)}),(0,It.addListToDropdown)(o,a,{role:n(300)}),o[n(271)](e,n(302),(t,s,r)=>{const a=n;if(r)for(const t of o[a(276)][a(309)]){const n=t[a(296)][a(305)],s=i[a(288)](t=>t[a(303)]===n[a(313)])[a(315)];t[a(315)]=void 0===s||s(e)}}),o}(this,n):"",this[r(331)]&&this[r(331)][r(371)](r(370)).to(this),this[r(350)]({tag:r(324),attributes:{class:["ck",r(343),r(344),o.if(r(345),r(359))]},children:[{tag:r(324),attributes:{class:["ck",r(343),r(362),o.if(r(370),r(340),t=>!t),o.if(r(351),r(318)),o.if(r(360),r(364)),o.if(r(367),r(312))]},children:[this[r(355)],{tag:r(334),attributes:{class:["ck",r(347)]},children:[{text:o.to(r(366))}]},{tag:r(324),attributes:{class:["ck",r(349)]},children:[{tag:"ul",attributes:{class:["ck",r(325)]},children:a}]},this[r(331)]],on:{click:o.to(t=>{const e=r;t[e(328)][e(356)](e(354))||this[e(315)]&&this[e(370)]&&this[e(342)](e(363),{id:this.id})})}}]})}[Ye(329)](){const t=Ye;super[t(329)]();const e=this[t(355)][t(330)][t(317)];this[t(353)](e,t(319),()=>{const i=t;this[i(314)]&&!e[i(374)]||this[i(342)](i(323),{id:this.id,name:e[i(374)]}),e[i(374)]||(e[i(374)]=this[i(326)]?this[i(326)]:this[i(366)])})}[Ye(363)](){this[Ye(351)]=!0}[Ye(337)](){this[Ye(351)]=!1}[Ye(333)](){this[Ye(360)]=!0}[Ye(375)](){this[Ye(360)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class ni extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Hi=new Map;const Wi=new Map;let Ui=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Hi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Hi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Ui=null,Pi.clear(),Hi.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Qi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{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=fo.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 Bi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Qn(c,e,i)):u>Qn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Hn(t.month,1,12),n=Hn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Hn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Hn(i,0,59),a=Hn(n,0,59),c=Hn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Hn(t.firstDay,1,7)||!Hn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Hn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Hn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Qn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Wn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(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 Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Un(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Hs(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Un(e)):Un(e),month:as.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Qs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Xs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Ds),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const 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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Hs])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let 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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return Dn(t.z)||(i=ji.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Dn(t.u)||(t.S=qn(t.u)),[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},{}),i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Hr=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Qi.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Qi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(En(t))return t<-Hr||t>Hr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Hn(t.weekNumber,1,Qn(t.weekYear,e,i)),r=Hn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Hn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Qs,ir],[Xs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Qi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["7021CcnMWy","62xjXtky","3VUAtaX","setLocale","toJSDate","local","weekdayLong","monthLong","6568TKxNwR","3513032zZSsiI","95895dNLEGW","11728sQUvMn","4237422chONcs","30FHQqry","8877LCgATX","71895sYbCQr","minus","toRelativeCalendar","month","2976zxCopF","fromJSDate","day","startOf","week","year","hasSame"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=161]})(t,e)}function go(t,e){const i=vo,n=fo[i(172)](t)[i(181)](e),s=fo[i(183)](),r=s[i(168)]({days:1})[i(174)](i(173));let o,a;return n[i(177)](s,i(173))?(o=n[i(174)](i(173))[i(182)](),a=n[i(169)]()):n[i(177)](r,i(173))?(o=r[i(182)](),a=n[i(169)]()):n[i(177)](s,i(175))?(o=n[i(174)](i(175))[i(182)](),a=n[i(184)]||""):n[i(177)](s,i(176))?(o=n[i(174)](i(170))[i(182)](),a=n[i(185)]||""):(o=n[i(174)](i(176))[i(182)](),a=String(n[i(176)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(449366===-parseInt(e(163))/1*(parseInt(e(179))/2)+-parseInt(e(180))/3*(-parseInt(e(161))/4)+-parseInt(e(167))/5+-parseInt(e(164))/6+parseInt(e(178))/7*(parseInt(e(186))/8)+parseInt(e(162))/9*(parseInt(e(165))/10)+-parseInt(e(166))/11*(parseInt(e(171))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["810205LNsTNb","span","373570idmFIm","40wXlMQj","select","locale","div","_revisionActions","createCollection","remove","4798962FbXnUF","uiLanguage","2363840hjYtoy","revisionViews","ck-revision-history-sidebar__time-period__revisions","find","18HtBBsT","ck-revision-history-sidebar__time-period","_requireRevisionName","addRevision","14wXkIfM","ck-revision-history-sidebar__time-period__label","startDate","5845941lwBFDC","3213432IxZdVz","add","removeRevision","4204360WNplGJ","localizedPeriodName","setTemplate","delegate","setName"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=367]})(t,e)}const _o=wo;!function(t){const e=wo,i=t();for(;;)try{if(980326===-parseInt(e(389))/1+-parseInt(e(381))/2+parseInt(e(380))/3+-parseInt(e(384))/4+-parseInt(e(391))/5*(parseInt(e(373))/6)+-parseInt(e(377))/7*(-parseInt(e(369))/8)+parseInt(e(367))/9*(parseInt(e(392))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[_o(379)];[_o(370)];[_o(396)];[_o(375)];constructor(t,e,i,n){const s=_o;super(t);const r=go(e,this[s(394)][s(368)])[s(385)];this[s(379)]=e,this[s(370)]=this[s(397)](),this[s(396)]=i,this[s(375)]=n,this[s(370)][s(387)](s(393)).to(this),this[s(370)][s(387)](s(388)).to(this),this[s(386)]({tag:s(395),attributes:{class:["ck",s(374)]},children:[{tag:s(390),attributes:{class:["ck",s(378)]},children:[{text:r}]},{tag:s(395),attributes:{class:["ck",s(371)]},children:this[s(370)]}]})}[_o(376)](t){const e=_o,i=new Ke(this[e(394)],t,this[e(396)],this[e(375)]);this[e(370)][e(382)](i)}[_o(383)](t){const e=_o,i=this[e(370)][e(372)](e=>e.id===t.id);this[e(370)][e(398)](i)}}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;!function(t){const e=xo,i=t();for(;;)try{if(187869===-parseInt(e(108))/1+parseInt(e(111))/2+parseInt(e(116))/3+parseInt(e(110))/4+parseInt(e(112))/5+-parseInt(e(114))/6*(parseInt(e(104))/7)+-parseInt(e(105))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class To extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(101)]=_t.IconHistory,this[e(113)]({tag:e(103),attributes:{class:["ck",e(107),e(115)]},children:[i,{tag:e(106),attributes:{class:["ck",e(109)]},children:[at(t,e(102))]}]})}}function xo(t,e){const i=No();return(xo=function(t,e){return i[t-=101]})(t,e)}function No(){const t=["1681890HosBNd","ck-revision-history-sidebar__header","588387OsPdGv","content","Revision history","div","7BrAbXP","2640304ddYrDv","span","ck-reset_all","183628vCtGPx","ck-revision-history-sidebar__header__label","1000952kpcmJX","432272WWXoMt","1596735DuqnWb","setTemplate"];return(No=function(){return t})()}var Ao=i(574),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=379]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(941254===parseInt(e(397))/1+parseInt(e(393))/2*(parseInt(e(423))/3)+-parseInt(e(417))/4+-parseInt(e(402))/5*(-parseInt(e(390))/6)+-parseInt(e(384))/7+parseInt(e(388))/8*(parseInt(e(386))/9)+parseInt(e(405))/10*(-parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(387)];[Mo(418)];[Mo(398)];[Mo(424)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(382)];this[s(387)]=this[s(403)](),this[s(387)][s(400)](s(396)).to(this),this[s(387)][s(400)](s(427)).to(this),this[s(418)]=e,this[s(398)]=i,this[s(424)]=n,this.on(s(396),(t,e)=>{const i=s;this[i(422)](i(420),e)}),this.on(s(427),(t,e)=>{const i=s;this[i(422)](i(411),e)}),this[s(399)](s(383),!1),this[s(391)]({tag:s(434),attributes:{class:["ck",s(419),s(433),s(380)]},children:[new To(t),{tag:s(434),attributes:{class:["ck",s(407),r.if(s(383),s(413),t=>!t)]},children:this[s(387)]}]})}[Mo(428)](){const t=Mo;super[t(428)]();for(const e of this[t(418)])this[t(389)](e);this[t(418)].on(t(415),(e,i)=>{this[t(389)](i)}),this[t(418)].on(t(385),(e,i)=>{this[t(429)](i)})}get[Mo(408)](){const t=Mo;return this[t(387)][t(425)](e=>e[t(408)][t(425)](t=>t))[t(406)]()}[Mo(416)](t){const e=Mo;for(const i of this[e(408)])t&&t.id===i.id?i[e(396)]():i[e(379)]()}[Mo(381)](t){const e=Mo;for(const i of this[e(408)])t[e(426)](({id:t})=>t===i.id)?i[e(394)]():i[e(409)]()}[Mo(389)](t){const e=Mo,i=go(t[e(401)],this[e(430)][e(412)])[e(410)];let n=this[e(387)][e(431)](0);n&&n[e(410)][e(395)]()===i[e(395)]()||(n=new Io(this[e(430)],i,this[e(398)],this[e(424)]),this[e(387)][e(415)](n)),n[e(432)](t)}[Mo(429)](t){const e=Mo,i=go(t[e(401)],this[e(430)][e(412)])[e(410)];this[e(404)](i)[e(392)](t)}[Mo(404)](t){const e=Mo;return this[e(387)][e(421)](i=>i[e(410)][e(395)]()===t[e(395)]())}}function Eo(){const t=["add","selectRevision","1084592KxkSis","_revisions","ck-reset","revisionSelected","find","fire","318453lctyKK","_requireRevisionName","map","some","setName","render","_removeRevision","locale","get","addRevision","ck-rounded-corners","div","deselect","ck-revision-history-sidebar","highlightRevisions","bindTemplate","isEnabled","4842096kuVUmS","remove","66753NmOzmU","timePeriodViews","1720AnuiBC","_addRevision","6tCXrSm","setTemplate","removeRevision","32quLpyw","highlight","getTime","select","30361sFPvpU","_revisionActions","set","delegate","createdAt","8264405IUixDM","createCollection","_getTimePeriodViewByStartDate","10wLmqYf","flat","ck-revision-history-sidebar__timeline","revisionViews","unhighlight","startDate","revisionSetName","uiLanguage","ck-disabled","33794013lhVDmF"];return(Eo=function(){return t})()}const Co=jo;function Fo(){const t=["timePeriodViews","fieldView","_revisionsRepository","plugins","repository","diff","1055555bKrHIj","render","getLaterVisibleRevision","isSelected","newRevisionId","RevisionsSidebar","selectRevision","_revisions","element","string","editor","isEnabled","config","getRevisionsInDiff","revisionHistory","init","add","revisionHistory.revisionActions","pluginName","setName","isReady","5241430ilDntb","compareAgainstSelected","_sidebarView","map","4493204FUoFiM","availableRevisionActions","getIndex","defaultRevisionActions","length","_handleRevisionSetName","locale","restoreRevisionCallback","revisionViews","requires","listenTo","select","revisionHistory.viewerSidebarContainer","352737IDTLih","_handleRevisionSelected","isPremiumPlugin","appendChild","31335514pWHBws","action","_revisionViewer","_createRevisionActions","revisionSelected","highlightRevisions","Restore this revision","data","getRevision","revisionSetName","revisionHistory.requireRevisionName","_handleEditorDataReady","ready","isVisible","getEarlierVisibleRevision","destroy","Compare against selected","change:diff","_handleDiffChange","isOfficialPlugin","bind","1945698DouUHj","nameRevision","focus","restoreRevision","compare","4665900CmCpmm","get","remove","Name this revision","name","assign"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(618718===parseInt(e(504))/1+parseInt(e(487))/2+parseInt(e(462))/3+parseInt(e(449))/4+parseInt(e(445))/5+parseInt(e(492))/6+-parseInt(e(466))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends G.Plugin{[Co(468)];[Co(500)];[Co(447)];static[Co(452)]=[Co(446),Co(490),Co(488)];static[Co(450)]=function(){const t=Co;return{compareAgainstSelected:{name:t(482),action:({plugins:e},i)=>{const n=t,s=e[n(493)](ue),r=s[n(502)];let o=s[n(503)][n(508)],a=i.id;r[n(451)](o)>r[n(451)](a)&&([o,a]=[a,o]),s[n(491)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(493)](ue);return!(s[n(502)][n(437)](s[n(503)])[n(453)]>2||i[n(507)])}},restoreRevision:{name:t(472),action:(e,{id:i})=>{const n=t;e[n(436)][n(493)](n(438))[n(456)](i)},isVisible:({plugins:e},i)=>!!e[t(493)](ue)[t(502)][t(506)](i.id)},nameRevision:{name:t(495),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(493)](ue),o=r[s(502)][s(480)](i);r[s(491)](i,o),n[s(489)](),n[s(499)][s(460)]()}}}}();static get[Co(442)](){return Co(429)}static get[Co(485)](){return!0}static get[Co(464)](){return!0}static get[Co(458)](){return[ue]}constructor(t){const e=Co;super(t),this[e(468)]=t[e(501)][e(493)](ue),this[e(500)]=this[e(468)][e(502)],this[e(447)]=null}[Co(439)](){const t=Co,e=this[t(500)][t(431)],i=this[t(469)](),n=this[t(434)][t(436)][t(493)](t(461));this[t(447)]=new Do(this[t(434)][t(455)],e,i,this[t(434)][t(436)][t(493)](t(476))),this[t(447)].on(t(470),this[t(463)][t(486)](this)),this[t(447)].on(t(475),this[t(454)][t(486)](this)),this[t(447)][t(486)](t(435)).to(this[t(468)]),this[t(447)][t(498)].on(t(440),(e,i)=>{const n=t;i[n(457)].on(n(440),(t,e)=>{const i=n;e[i(486)](i(435),i(444)).to(this[i(468)])})}),this[t(447)][t(505)](),this[t(459)](this[t(434)][t(473)],t(478),this[t(477)][t(486)](this)),this[t(459)](this[t(468)],t(483),this[t(484)][t(486)](this)),n[t(465)](this[t(447)][t(432)])}[Co(481)](){const t=Co;this[t(447)][t(432)][t(494)](),this[t(447)][t(481)]()}[Co(477)](){const t=Co,e=this[t(500)][t(474)](0);if(e){const i=this[t(500)][t(480)](e.id);this[t(468)][t(491)](e,i)}}[Co(463)](t,e){const i=Co,n=this[i(500)][i(474)](e.id),s=this[i(500)][i(480)](n.id);this[i(468)][i(491)](n,s)}[Co(454)](t,e){const i=Co;this[i(500)][i(474)](e.id)[i(443)](e[i(496)])}[Co(484)](t,e,i){const n=Co,s=this[n(500)][n(437)](i);s[n(453)]>2?(this[n(447)][n(471)](s),this[n(447)][n(430)](null)):(this[n(447)][n(471)]([]),this[n(447)][n(430)](s[0]))}[Co(469)](){const t=Co,e=this[t(434)],i=Lo[t(450)],n=e[t(436)][t(493)](t(441))||Lo[t(452)];if(n[t(453)])return n[t(448)](n=>{const s=t,r=s(433)==typeof n?Object[s(497)]({},i[n]):n;return r[s(467)]=r[s(467)][s(486)](this,e),r[s(479)]&&(r[s(479)]=r[s(479)][s(486)](this,e)),r})}}const Po=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=222]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(515443===-parseInt(e(233))/1+parseInt(e(231))/2*(-parseInt(e(254))/3)+parseInt(e(262))/4*(parseInt(e(240))/5)+parseInt(e(265))/6+-parseInt(e(229))/7+-parseInt(e(258))/8*(-parseInt(e(236))/9)+parseInt(e(226))/10*(parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends It.EditorUI{[Po(245)];[Po(260)];[Po(241)];get[Po(227)](){return this[Po(245)]}constructor(e,i){const n=Po;super(e),this[n(245)]=i,this[n(260)]=(0,It.normalizeToolbarConfig)(e[n(267)][n(239)](n(235))),this[n(241)]=new t.ElementReplacer}get[Po(243)](){const t=Po;return this[t(227)][t(243)]}[Po(248)](t){const e=Po,i=this[e(225)],n=this[e(227)],s=i[e(255)][e(227)],r=n[e(261)],o=s[e(264)][e(223)]();r[e(237)]=o[e(253)],n[e(249)]();const a=r[e(243)];this[e(252)](r[e(237)],a),n[e(261)][e(234)](e(222)).to(this[e(266)]),s[e(232)](a),this[e(241)][e(259)](t,this[e(243)]),this[e(244)](),this[e(242)](e(230))}[Po(224)](){const t=Po;super[t(224)]();const e=this[t(227)],i=this[t(225)][t(255)][t(227)];this[t(241)][t(246)](),i[t(228)](e[t(261)][t(237)]),e[t(224)]()}[Po(244)](){const t=Po,e=this[t(227)];e[t(269)][t(234)](t(268)).to(this[t(266)],t(222)),e[t(269)][t(256)]=e[t(243)],e[t(269)][t(234)](t(263)).to(this,t(247),({top:t})=>t),e[t(235)][t(257)](this[t(260)],this[t(251)]),this[t(250)](e[t(235)])}}function Wo(){const t=["viewportTopOffset","document","3499386JUHBvj","focusTracker","config","isActive","stickyPanel","isFocused","getRoot","destroy","editor","20QIlnKl","view","detachDomRoot","2954259CrUUMs","ready","2UlaUMa","attachDomRoot","457070doROmB","bind","toolbar","4312161jwXeyt","name","102223hSoNDR","get","1498855yZcpNf","_elementReplacer","fire","element","_initToolbar","_view","restore","viewportOffset","init","render","addToolbar","componentFactory","setEditableElement","rootName","1757127OZDHrT","editing","limiterElement","fillFromConfig","8SPvcrN","replace","_toolbarConfig","editable","12qnZKBX"];return(Wo=function(){return t})()}var Uo=i(750),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var qo=Bo;function $o(){var t=["336lrVdGh","296376QDXmJm","602931MRwxAC","61633SNPbxH","9cIVJxp","toolbar","shouldToolbarGroupWhenFull","136QUvooW","editable","188538Fonief","stickyPanel","content","3666340QWbVVi","render","top","main","5PohLiv","add","_editable","6389910yIMgJe","26fzejHv","43353XgiZeT"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=306]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(487864===parseInt(e(308))/1+-parseInt(e(326))/2*(parseInt(e(327))/3)+-parseInt(e(318))/4*(parseInt(e(322))/5)+parseInt(e(307))/6+-parseInt(e(315))/7*(-parseInt(e(313))/8)+-parseInt(e(310))/9*(-parseInt(e(325))/10)+parseInt(e(309))/11*(-parseInt(e(306))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(324)];[qo(316)];[qo(311)];get[qo(314)](){return this[qo(324)]}constructor(t,e,i={}){var n=qo;super(t),this[n(316)]=new It.StickyPanelView(t),this[n(311)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(312)]}),this[n(324)]=new It.InlineEditableUIView(t,e)}[qo(319)](){var t=qo;super[t(319)](),this[t(316)][t(317)][t(323)](this[t(311)]),this[t(320)][t(323)](this[t(316)]),this[t(321)][t(323)](this[t(314)])}}const Jo=Ko;function Go(){const t=["2186391tQevrJ","22bqRlxX","view","88kIpGDd","_ui","config","1791512HdQgen","initialData","locale","fire","6073300WZmTtg","38455oNeIrD","create","14494xGXtgZ","init","sourceElement","document","initPlugins","updateSourceElement","createRoot","get","editing","destroy","3464505ivqiZg","387065dyOWTN","78qXAdHV","model","data","416nxMlRx","ready"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=177]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(615808===-parseInt(e(203))/1*(parseInt(e(193))/2)+parseInt(e(190))/3+parseInt(e(188))/4*(-parseInt(e(201))/5)+-parseInt(e(185))/6*(-parseInt(e(184))/7)+-parseInt(e(196))/8+-parseInt(e(183))/9+parseInt(e(200))/10*(parseInt(e(191))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(194)];get ui(){return this[Jo(194)]}constructor(t,e){const i=Jo;super(e),this[i(205)]=t,this[i(186)][i(206)][i(179)]();const n=new Yo(this[i(198)],this[i(181)][i(192)],{shouldToolbarGroupWhenFull:!0});this[i(194)]=new Ho(this,n)}[Jo(182)](){const t=Jo;return this[t(178)](),this.ui[t(182)](),super[t(182)]()}static async[Jo(202)](t,e){const i=Jo,n=new this(t,e);return await n[i(177)](),await n.ui[i(204)](t),await n[i(187)][i(204)](n[i(195)][i(180)](i(197))||""),n[i(199)](i(189)),n}}const Xo=ea;function ta(){const t=["destroy","revisionHistory.closeRevisionViewerCallback","restrictedEditingException","RevisionsRepository","removeMarker","1574343Abgqbt","_showRevisionViewer","bind","remove","lazyRoots","catch","editor","revisionHistory.viewerEditorElement","Autosave","markers","plugins","341778nBVNhQ","indexOf","RevisionTracker","4zCXEvb","rootName","toVersion","toolbar","_recalculatePageBreaks","long","getMarkersGroup","_viewerEditor","revisionHistory.editorContainer","revisionHistory.showRevisionViewerCallback","Annotations","getRevision","exitToEditing","roots","revisionHistory.restoreRevisionCallback","document","get","2GuPEgL","fromCharCode","name","detachRoot","isEnabled","RevisionViewer","join","revisionHistory","uiLanguage","refreshVisibility","restoreRevision","$graveyard","removeAttribute","getRevisionRootsAttributes","model","create","DocumentOutlineUI","block","translations","style","isPremiumPlugin","init","revisionHistory.requireRevisionName","data","_closeRevisionViewer","RestrictedEditingMode","2246860KQMVEO","removeSelectionAttribute","numeric","parse","define","createdAt","getRevisions","has","_cleanUp","isRevisionViewerOpen","revisionHistory.viewerContainer","keys","display","getUser","3384328rqVcDI","getRevisionDocumentData","Users","_restoreRevision","revision-history-missing-configuration","RevisionViewerIntegration","update","requires","repository","RevisionHistoryUI","includes","selection","addRoot","addRevisionData","_enhanceCloseRevisionViewerCallback","save","refreshPositioning","then","addUser","users","RevisionHistoryUtils","_getRevisionViewerEditorConfig","loadRevisionData","isOfficialPlugin","getRoot","end","isOpen","getAttributeKeys","none","revision-history-viewer-opened","hide","showRevisionViewerCallback","commands","PaginationLookup","_enhanceShowRevisionViewerCallback","isReady","locale","disableReadOnlyMode","change","fromVersion","enqueueChange","Restored","element","setAttribute","Dialog","creator","DocumentOutline","30EFwpow","config","saveRevision","view","isAnonymous","319556DfgpQe","closeRevisionViewerCallback","pluginName","toLocaleDateString","map","_update","toJSON","459945wHFRrk","from","result","996306SSVIhL","isAttached","set","createRangeIn","error","push","changesNavigation","setSelection","enableReadOnlyMode","toLocaleTimeString","RevisionHistory","insert","isReadOnly","adapter"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(271650===parseInt(e(281))/1*(-parseInt(e(221))/2)+-parseInt(e(261))/3*(-parseInt(e(264))/4)+parseInt(e(228))/5+parseInt(e(231))/6+parseInt(e(307))/7+parseInt(e(321))/8+parseInt(e(250))/9*(-parseInt(e(216))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(178),Xo(306)];class na extends G.Plugin{[Xo(230)];static get[Xo(223)](){return Xo(174)}static get[Xo(192)](){return!0}static get[Xo(301)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(225)](t=>String[e(282)](t))[e(287)]("")}super(t),this[e(230)]=e(194),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends G.Plugin{[Xo(271)];static get[Xo(223)](){return Xo(241)}static get[Xo(192)](){return!0}static get[Xo(301)](){return!0}static get[Xo(176)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(256)][i(217)][i(280)](i(288)))throw new t.CKEditorError(i(173),this);this[i(271)]=null,this[i(233)](i(316),!1),this[i(256)][i(217)][i(311)](i(273),t=>this[i(251)]({...t,translations:this[i(256)][i(205)][i(299)]})),this[i(256)][i(217)][i(311)](i(246),t=>this[i(305)](t)),this[i(256)][i(217)][i(311)](i(278),t=>this[i(172)](t)),this[i(256)][i(217)][i(311)](i(303),!1),this[i(203)](),this[i(183)]()}set[Xo(244)](t){const e=Xo;this[e(256)][e(260)][e(280)](e(263))[e(244)]=t}get[Xo(244)](){const t=Xo;return this[t(256)][t(260)][t(280)](t(263))[t(244)]}[Xo(182)](t){const e=Xo;return this[e(256)][e(260)][e(280)](e(263))[e(182)](t)}[Xo(275)](t){const e=Xo;return this[e(256)][e(260)][e(280)](e(248))[e(275)](t)}[Xo(313)](t){const e=Xo;return this[e(256)][e(260)][e(280)](e(248))[e(313)](t||{toJSON:!1})}[Xo(190)](){const e=Xo,i=this[e(256)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(260)][e(280)](e(263)),r=i[e(260)][e(280)](e(323))[e(188)];return n[e(267)]=[e(276),e(291),e(237)],delete n[e(254)],n[e(260)][e(236)](na,ue,Ne,class extends G.Plugin{static get[e(176)](){return[ue,e(323)]}[e(302)](){const n=e,o=this[n(256)][n(260)][n(280)](n(323));for(const t of r)t[n(220)]||o[n(320)](t.id)||o[n(187)](t);const a=s[n(177)][n(313)]();let c=null;const u=this[n(256)][n(260)][n(280)](n(286));u[n(244)]=s[n(244)],u[n(252)](n(285)).to(s),this[n(256)][n(201)][n(280)](n(291))[n(252)](n(285)).to(i,n(243),t=>!t);for(const e of a){const i=null===e[n(214)];if(i&&e[n(266)]===e[n(208)])continue;const r=e[n(227)]();u[n(182)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(226)](r,o);else if(!o){const e=a[u(227)]();e.id=(0,t.uid)(),s[u(218)](e,a[u(266)])[u(186)](t=>{c=t})}}else e[u(226)](r,o)})}}},Lo),n}[Xo(203)](){const t=Xo,e=this[t(256)][t(217)][t(280)](t(288))[t(200)];this[t(256)][t(217)][t(233)](t(273),async()=>{const i=t;this[i(256)][i(239)](i(198));const n=this[i(256)][i(260)][i(280)](i(263));if(this[i(256)][i(260)][i(314)](i(258))){const t=this[i(256)][i(260)][i(280)](i(258));await t[i(184)]()}else await n[i(175)]();if(this[i(256)][i(260)][i(314)](i(202))&&this[i(256)][i(260)][i(280)](i(202))[i(268)](),this[i(256)][i(260)][i(314)](i(213))){const t=this[i(256)][i(260)][i(280)](i(213));t[i(195)]&&t[i(199)]()}const s=this[i(190)]();return e(s)[i(186)](t=>{const e=i;return this[e(271)]=t,this[e(256)][e(260)][e(314)](e(274))&&this[e(256)][e(260)][e(280)](e(274))[e(290)](),this[e(256)][e(260)][e(314)](e(215))&&(this[e(256)][e(260)][e(280)](e(297))[e(219)][e(211)][e(300)][e(319)]=e(197)),t})[i(255)](t=>(console[i(235)](t),this[i(256)][i(206)](i(198)),null))})}[Xo(183)](){const t=Xo,e=this[t(256)][t(217)][t(280)](t(288))[t(222)];this[t(256)][t(217)][t(233)](t(246),()=>(this[t(256)][t(260)][t(314)](t(202))&&this[t(256)][t(260)][t(280)](t(202))[t(268)](),this[t(256)][t(260)][t(314)](t(215))&&(this[t(256)][t(260)][t(280)](t(297))[t(219)][t(211)][t(300)][t(319)]=""),this[t(271)][t(260)][t(280)](t(286))[t(315)](),e(this[t(271)])[t(186)](()=>{const e=t;if(this[e(256)][e(206)](e(198)),this[e(271)]=null,this[e(256)][e(260)][e(314)](e(274))){const t=this[e(256)][e(260)][e(280)](e(274));t[e(290)](),t[e(185)]()}})))}[Xo(251)](t){const e=Xo,i=this[e(256)][e(217)][e(280)](e(272)),n=this[e(256)][e(217)][e(280)](e(317)),s=this[e(256)][e(217)][e(280)](e(257));return Qo[e(296)](s,t)[e(186)](t=>(n[e(300)][e(319)]=e(298),i[e(300)][e(319)]=e(197),this[e(316)]=!0,t))}[Xo(305)](t){const e=Xo,i=this[e(256)][e(217)][e(280)](e(272));return this[e(256)][e(217)][e(280)](e(317))[e(300)][e(319)]=e(197),i[e(300)][e(319)]="",this[e(316)]=!1,t[e(245)]()}async[Xo(172)](t){const e=Xo,i=this[e(256)],n=this[e(271)][e(260)][e(280)](e(286)),s=i[e(260)][e(280)](e(263)),r=i[e(260)][e(280)](e(189)),o=n[e(177)][e(275)](t);let a,c,u;try{await r[e(191)](o,this[e(244)]),a=r[e(322)](o),c=r[e(294)](o)}catch(t){return void console[e(235)](t)}i[e(295)][e(207)](t=>{const n=e;for(const e of Array[n(229)](i[n(295)][n(259)][n(270)](n(247))))t[n(249)](e)}),n[e(204)]=!1,i[e(295)][e(209)](t=>{const n=e;t[n(238)](null),t[n(308)](i[n(295)][n(279)][n(180)][n(196)]());const s=Object[n(318)](a);for(const e of i[n(295)][n(279)][n(277)])n(292)!=e[n(265)]&&e[n(232)]()&&!s[n(179)](e[n(265)])&&t[n(284)](e);for(const e of s){let s=i[n(295)][n(279)][n(193)](e);s&&s[n(232)]()||(s=t[n(181)](e));const r=c[e],o=Object[n(318)](r),u=a[e];for(const e of s[n(196)]())o[n(179)](e)||t[n(293)](e,s);for(const i of o)t[n(212)](i,c[e][i],s);t[n(253)](t[n(234)](s)),t[n(242)](i[n(304)][n(310)](u,s),s,0)}});const l=at(i[e(205)],e(210));return u=o[e(283)]?-1==o[e(283)][e(262)](l)?l+": "+o[e(283)]:o[e(283)]:l+": "+o[e(312)][e(224)](i[e(205)][e(289)],{month:e(269),day:e(309)})+", "+o[e(312)][e(240)](i[e(205)][e(289)],{hour:e(309),minute:e(309)}),await s[e(218)]({name:u}),n[e(204)]=!0,i[e(217)][e(280)](e(288))[e(222)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=238]})(t,e)}function oa(){var t=["32JqvaVj","1846362PxMGAt","29015130eCDxCn","1331036YsUUwq","1122515sGXYNB","8oYGwCS","6WCcwNo","84205BZXCyH","1879719eWrMoU","4930713itCcwt"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(817355===-parseInt(e(245))/1+-parseInt(e(242))/2+parseInt(e(239))/3*(parseInt(e(246))/4)+parseInt(e(238))/5*(parseInt(e(247))/6)+parseInt(e(244))/7*(-parseInt(e(241))/8)+-parseInt(e(240))/9+parseInt(e(243))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
|