@ckeditor/ckeditor5-revision-history 47.5.0-alpha.0 → 47.5.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.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
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/*!
|
|
3
3
|
* @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
|
|
4
4
|
* For licensing, see LICENSE.md.
|
|
5
|
-
*/(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},102:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},297:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},929:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Po,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function P(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&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function Z(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=j(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?U(e)?H(t,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function $(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const q=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=382]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(366262===-parseInt(e(386))/1*(parseInt(e(392))/2)+-parseInt(e(387))/3+-parseInt(e(400))/4*(-parseInt(e(383))/5)+parseInt(e(393))/6+parseInt(e(398))/7+-parseInt(e(388))/8+-parseInt(e(404))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[q(394)];[q(385)];[q(402)];[q(407)];[q(399)];[q(409)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(394)]=e[i(394)]||null,this[i(385)]=e[i(385)]||[],this[i(402)]=e[i(402)]||null,this[i(407)]=e[i(407)]||0,this[i(399)]=e[i(399)]||0,this[i(406)](i(389),e[i(389)]||""),this[i(406)](i(395),e[i(395)]||new Date),this[i(406)](i(396),e[i(396)]||{})}[q(401)](t){this[q(408)]({name:t})}[q(382)](t,e){const i=q,s=R(this[i(396)]);Z(s,t,e),this[i(408)]({attributes:s})}[q(384)](t){const e=q,i=R(this[e(396)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=j(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 $(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(408)]({attributes:i})}[q(408)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(389),i(395),i(402),i(385),i(396),i(407),i(399),i(403)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(385)]&&(n[i(391)]=n[i(385)][i(405)](t=>t.id),delete n[i(385)]),this[i(390)](i(408),n,e))}[q(397)](){const t=q;return{id:this.id,name:this[t(389)],creatorId:this[t(394)]?this[t(394)].id:null,authorsIds:this[t(385)][t(405)](t=>t.id),diffData:this[t(402)],createdAt:this[t(395)],attributes:this[t(396)],fromVersion:this[t(399)],toVersion:this[t(407)]}}}function J(){const t=["authors","1194SNhkee","1429656vOAJgj","1137608yaLtUZ","name","fire","authorsIds","176tDnMJD","1484460BlFGSY","creator","createdAt","attributes","toJSON","3212664KqjTPy","fromVersion","16VkidDl","setName","diffData","creatorId","2451087QUCsZD","map","set","toVersion","_update","model","setAttribute","820085PmunKB","removeAttribute"];return(J=function(){return t})()}var G=i(782),K=i(211),X=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=129]})(t,e)}function et(){const t=["creatorId","attributes","authorsIds","fromVersion","createRevision","oldRevisionId","getRevisionsIterator","get","isNaN","push","newRevisionId","editor","_revisions","getUser","getRevisions","add","reverse","createdAt","later","7ZuSEMM","6124960pCNBTL","getLaterVisibleRevision","data","135435frNRLL","map","3353481mdDUPA","37786uAVCbT","plugins","toVersion","91291DEHMke","Users","54xAKazp","pluginName","toJSON","href","RevisionsRepository","afterInit","fromCharCode","57ksqIit","addRevision","1272664sSXutc","isPremiumPlugin","519736GJucgL","name","length","requires","getRevisionsInDiff","join","isOfficialPlugin","earlier","from","getIndex","diffData","getEarlierVisibleRevision","getRevision"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(625865===-parseInt(e(171))/1+-parseInt(e(168))/2*(-parseInt(e(180))/3)+-parseInt(e(182))/4+-parseInt(e(165))/5*(parseInt(e(173))/6)+-parseInt(e(161))/7*(parseInt(e(129))/8)+parseInt(e(167))/9+parseInt(e(162))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(154)];static get[Q(132)](){return[K.Users]}static get[Q(174)](){return Q(177)}static get[Q(135)](){return!0}static get[Q(183)](){return!0}get[Q(131)](){const t=Q;return this[t(154)][t(131)]}constructor(e){const i=Q;super(e),this[i(154)]=new t.Collection}[Q(178)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[y([121])]:y([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=tt;return t[e(166)](t=>String[e(179)](t))[e(134)]("")}!function(t){const i=u();r[i]=y([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||p(y([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1770163200;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=tt,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(176)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=tt;for(const e in window)if(window[y([78,117,109,98,101,114])][i(150)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[Q(146)](t){const e=Q,i=this[e(153)][e(169)][e(149)](e(172));return new Y({id:t.id,name:t[e(130)],creator:t[e(142)]?i[e(155)](t[e(142)]):null,diffData:t[e(139)]||t[e(164)],authors:t[e(144)][e(166)](t=>i[e(155)](t)),createdAt:new Date(t[e(159)]),attributes:t[e(143)],fromVersion:t[e(145)],toVersion:t[e(170)]})}[Q(181)](t,e=0){const i=Q;this[i(154)][i(157)](t,e)}[Q(141)](t){const e=Q;return this[e(154)][e(149)](t)}[Q(156)](t={toJSON:!1}){const e=Q,i=Array[e(137)](this[e(154)]);return i[e(158)](),t[e(175)]?i[e(166)](t=>t[e(175)]()):i}[Q(138)](t){const e=Q;return this[e(154)][e(138)](t)}[Q(140)](t){const e=Q,[,i]=this[e(148)](t,{direction:e(136)});return i}[Q(163)](t){const e=Q,[,i]=this[e(148)](t,{direction:e(160)});return i}[Q(133)](t){const e=Q,i=[];for(const s of this[e(148)](t[e(152)]))if(i[e(151)](s),s.id===t[e(147)])break;return i}*[Q(148)](t,{direction:e=Q(136),filter:i=()=>!0}={}){const s=Q,n=s(136)===e?1:-1;let r=this[s(154)][s(149)](t),o=this[s(138)](r);for(yield r;r;){if(o+=n,r=this[s(141)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(651623===parseInt(e(522))/1*(-parseInt(e(492))/2)+parseInt(e(488))/3+parseInt(e(489))/4*(-parseInt(e(498))/5)+-parseInt(e(516))/6*(parseInt(e(554))/7)+-parseInt(e(548))/8*(parseInt(e(484))/9)+-parseInt(e(514))/10*(parseInt(e(487))/11)+-parseInt(e(481))/12*(-parseInt(e(480))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[st(546)](){return st(527)}static get[st(544)](){return!0}static get[st(536)](){return!0}[st(518)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(503)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(483)](t,e){const i=st;if(t[i(540)]||!e)return;const s=this[i(525)][i(499)][i(485)](i(509)),n=await e[i(500)]({channelId:s,revisionId:t.id});t[i(540)]=n[i(540)]}[st(493)](t){const e=st,i={};for(const s in t[e(540)]){if(t[e(540)][s][e(515)]&&!t[e(540)][s][e(515)][e(486)])continue;const n=this[e(502)](JSON[e(524)](t[e(540)][s][e(479)])),r=this[e(525)][e(517)][e(538)][e(537)],o=new X.ViewDocumentFragment(r,n[e(482)](t=>this[e(534)](t,!1)));this[e(525)][e(507)][e(496)][e(543)](e(494)),i[s]=this[e(525)][e(507)][e(496)][e(535)](o),this[e(525)][e(507)][e(496)][e(543)](e(491))}return i}[st(545)](t){const e=st,i={};for(const s in t[e(540)])t[e(540)][s][e(515)]&&!t[e(540)][s][e(515)][e(486)]||(i[s]=t[e(540)][s][e(523)]||{});return i}[st(513)](t){const e=st;return this[e(518)][e(485)](t[e(478)])}[st(534)](t,e){const i=st,s=this[i(525)][i(517)][i(538)][i(537)];if(i(505)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(526)]||"r"==t[i(526)]?[]:t[i(506)][i(482)](t=>this[i(534)](t,e));const o=this[i(503)][i(485)](t[i(526)])||X.ViewElement,a=this[i(525)][i(507)][i(542)][i(549)];if(n=new o(s,t[i(510)],t[i(508)],r),"u"==t[i(526)]&&t[i(506)][0]){const r=t[i(506)][0];if(n[i(553)]=function(t){const e=i,s=t[e(555)](e(532));return s[e(550)]=r,s[e(501)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(533)](n);const e=Array[i(552)](a[i(529)](t,{bind:!1})),r=a[i(551)][i(555)](i(532));r[i(519)](...e),n=Array[i(552)](a[i(504)](r))[0]}}else if("r"==t[i(526)]&&t[i(506)][0]){const r=t[i(506)][0];if(n[i(553)]=function(t){t[i(550)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(533)](n);const e=Array[i(552)](a[i(529)](t,{bind:!1})),r=a[i(551)][i(555)](i(532));r[i(519)](...e);const o=Array[i(552)](a[i(504)](r));o[i(511)]>1?n[i(533)](o):n=o[0]}}if(t[i(531)])for(const[e,s]of t[i(531)])n[i(539)](e,s);const c=void 0===t[i(521)]?null:t[i(521)];return null!==c&&(n[i(495)]=()=>c),n}}[st(530)](t){const e=st,i=JSON[e(524)](t),s=this[e(525)][e(517)][e(538)][e(537)],n=new X.ViewDocumentFragment(s,i[e(482)](t=>this[e(534)](t,!0)));return this[e(525)][e(507)][e(490)](n)}[st(502)](t){const e=st;return(t=t[e(512)](t=>!t[e(510)]||e(497)!==t[e(510)]&&e(541)!==t[e(510)]))[e(528)](t=>{const i=e;i(505)!=typeof t&&(t[i(506)]=this[i(502)](t[i(506)]),t[i(508)]=t[i(508)][i(512)](t=>!t[0][i(547)](i(520))))}),t}}function ot(){const t=["isPremiumPlugin","document","view","_setCustomProperty","diffData","revision-end","htmlProcessor","useFillerType","isOfficialPlugin","getRevisionRootsAttributes","pluginName","startsWith","8CbsCCJ","domConverter","innerHTML","domDocument","from","render","366037xTJctn","createElement","constructor","insertions","14915823yoLmEE","36rUKLBy","map","loadRevisionData","9245736yVTmAh","get","isAttached","6878938XloWAB","3015414reJHip","612nqCSXy","toModel","default","218lvoxWo","getRevisionDocumentData","marked","getFillerOffset","processor","revision-start","28195MJyhNI","config","getRevision","childNodes","_removeRevisionMarkers","_typeCharToViewClass","domChildrenToView","string","children","data","attributes","collaboration.channelId","name","length","filter","_getTypeCharForViewElement","10XfdYmn","attachChange","114DCtwtl","editing","_viewClassToTypeChar","append","data-revision-","fillerOffset","2630CsAjVz","attributesAfter","parse","editor","type","RevisionHistoryUtils","forEach","viewChildrenToDom","_makeModelFromViewString","customProperties","div","_appendChild","_getViewFromDiffObj","toData"];return(ot=function(){return t})()}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,T));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,T)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=yt;function mt(){const t=["$text","_touchedRoots","_createCurrentRevision","shift","clear","keys","_handleRootOperation","set","destroy","key","_revisionId","_findInsertionIndex","howMany","outerHTML","rawElement","attributesBefore","revisionHistoryLicenseKeyNotAllowed","_getVidAttributeName","Empty document","ready","sendBufferedUpdates","addRootAttribute","$comment","root","_handleMoveOperation","afterInit","resolve","config","_generateTape","_licenseKeyCheckInterval","_source","initial","text","slice","Users","_utils","fromVersion","revision","getMovedRangeStart","plugins","_diffRoots","_appendChild","diffData","1423205eHvnvy","_replaceEditorDataWithRevisionData","end","_insertChild","define","_reset","insertionPosition","_startingRevisionId","_execute","_baseIdsRoots","_getState","_update","getNodeByPath","expired","reinsert","_handleMergeOperation","removeRootAttribute","name","_removePendingAction","getIndex","_showLicenseError","getRoot","stringify","createPositionAfter","has","_clone","getOperations","_touchedMarkers","model","_isInit","revisionHistoryLicenseKeyExpired","insertion","range","vid_start","affectsData","getAttribute","document","size","finally","_pendingAction","changeRootAttribute","1dieyKD","_initialRevisionId","userId","addRevision","domainLimit","addRevisionData","fillerOffset","RevisionTracker","nodeAfter","getLatestVersion","marker","rootsAttributes","_removeMetaData","816528Fvdxfs","_lastFrom","_bufferedUpdates","createRevision","oldRange","getOperation","dataToMarker","getRootNames","_baseRoots","PENDING_ACTION_REVISION_HISTORY","conversion","_getTypeCharForViewElement","toVersion","788eVAJiW","_createFromRanges","_processRootBeforeSave","fromEntries","move","RevisionsRepository","reInit","getUser","targetPosition","insertions","isOfficialPlugin","find","_authorId","vid_end","innerHTML","_fixOperation","_markers","createRangeIn","initialData","data","position","revisionHistoryLicenseKeyUsageLimit","delete","insert","_fixPosition","116590DBopqL","collaboration.channelId","creator","authorsIds","_saveMetaData","markers","string","revisionHistoryLicenseKeyValid","childCount","repository","render","trim","isAdd","_bufferUpdate","RevisionHistory","PendingActions","isPremiumPlugin","source","markerToData","_isAttached","NEGATIVE_INFINITY","8ckGbrP","from","some","keepParagraph","newRange","90QQWmhO","getFillerOffset","reverse","_getFromVersion","push","remove","max","22Cikeoy","updateRevisions","attributesAfter","deletions","getRevisionDocumentData","getRevisionRootsAttributes","_handleInsertOperation","for","350394jrXqdG","dataDowncast","_idsRoots","locale","_addPendingAction","getRevisions","merge","getAncestors","startsWith","type","newValue","getTime","addRoot","_handleSplitOperation","featureNotAllowed","RealTimeCollaborationClient","871625SnWbDr","saveRevision","isEqual","hasContent","paragraph","_loadState","isAttached","_operations","getWalker","getTransformedByOperation","getRevision","then","_isPendingUpdate","splitPosition","buildRevisionData","get","_baseRootsAttributes","elementStart","requires","upcast","path","_lastTo","_calculateMetaData","createPositionAt","_getPreviousFrom","_applyOperations","setSource","isReady","rootName","_fixRange","clone","detachRoot","setRevisionData","revisionHistoryLicenseKeyDomainLimit","offsetSize","domConverter","getRange","deletion","nodes","creatorId","getCurrentRevisionId","element","documentFragment","length","_handleOperation","authors","previousPosition","attachChange","start","htmlProcessor","createPositionFromPath","revisionHistory.resumeUnsavedRevision","_prepareViewToSave","createElement","RevisionHistoryUtils","roots","_makeRevision","domDocument","loadState","offset","_getBaseVids","_startingVersion","_setConversion","editor-initial-data-replaced-with-revision-data","sort","adapter","vid","getData","tableCell","currentRevision","_diffRootsAttributes","includes","_cloneOperation","item","filter","_touched","_copyMarkers","_makeModelFromViewString","isEnabled","version","_makeIdsRoot","editor","createRange","usageLimit","_loadedStateData","stickiness","history","pluginName","_getViewJson","uiElement","_handleMarkerOperation","baseVersion","customProperties","graveyardPosition","getChildren","revisionHistoryLicenseKeyEvaluationLimit","evaluationLimit","$graveyard","split","parent","invalid","elementEnd","_createInitialRevision","285DDgVnR","_revisionDataBuilder","bind","_markChanges","getCustomProperties","getChild","149054kdotTN","getAttributes","add","toView","_continueCurrentRevision","revision:","Initial revision","licenseKey","revisionHistoryLicenseKeyInvalid","_setAttribute","map","children","init","_savedMetaData","createdAt","_handleRootAttributeOperation","values","_transformMarkers","loadRevisionData","sourcePosition","update","createPositionBefore"];return(mt=function(){return t})()}!function(t){const e=yt,i=t();for(;;)try{if(123703===parseInt(e(461))/1*(parseInt(e(678))/2)+parseInt(e(672))/3*(-parseInt(e(487))/4)+-parseInt(e(569))/5+parseInt(e(553))/6+parseInt(e(420))/7*(parseInt(e(533))/8)+parseInt(e(538))/9*(parseInt(e(512))/10)+parseInt(e(545))/11*(-parseInt(e(474))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(685)];[ft(729)];[ft(638)]=null;[ft(521)];[ft(634)]=null;[ft(673)];[ft(730)];[ft(462)];[ft(476)];[ft(735)];[ft(459)];[ft(682)];[ft(630)];[ft(653)];static get[ft(656)](){return ft(468)}static get[ft(497)](){return!0}static get[ft(528)](){return!0}static get[ft(587)](){return[K.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(521)]=this[i(650)][i(416)][i(584)](i(492)),this[i(735)]=this[i(650)][i(416)][i(584)](i(623)),this[i(673)]=new vt(this[i(650)]),this[i(462)]=this[i(650)][i(727)][i(584)](i(513))||i(731),this[i(476)]=new Map,this[i(653)]=null;const s=(0,t.uid)();this[i(730)]={history:this[i(650)][i(448)][i(456)][i(655)],getLatestVersion:()=>Promise[i(726)](this[i(650)][i(448)][i(456)][i(648)]),getCurrentRevisionId:()=>s},this[i(707)](i(596),!1),this[i(707)](i(647),!0),this[i(707)](i(581),!1),this[i(650)][i(727)][i(424)](i(620),!0),this[i(650)][i(484)][i(552)](i(588))[i(480)]({view:i(737)})}[ft(690)](){const t=ft;this[t(631)](),this[t(650)][t(506)].on(t(719),()=>{const e=t,i=this[e(521)][e(579)](0),s=i&&null===i[e(514)]?i:null;if(this[e(682)]=!!s&&this[e(650)][e(727)][e(584)](e(620)),this[e(650)][e(416)][e(444)](e(568))){const t=this[e(730)][e(609)](),n=this[e(521)][e(579)](t);if(n)this[e(630)]=n[e(736)],this[e(682)]=!1;else{const t=this[e(730)][e(655)][e(576)][e(498)](t=>!t[e(449)]),n=t?t[e(660)]:this[e(730)][e(655)][e(648)];i?(i[e(486)]<n&&i[e(431)]({toVersion:n}),this[e(682)]?(this[e(730)][e(609)]=()=>s.id,this[e(630)]=s[e(736)]):(this[e(630)]=i[e(486)],this[e(682)]=!1)):(this[e(630)]=n,this[e(682)]=!1)}}else s&&(this[e(650)][e(448)][e(456)][e(655)][e(648)]=Math[e(544)](s[e(486)],this[e(650)][e(448)][e(456)][e(655)][e(648)]),s[e(736)]===s[e(486)]?(0!==s[e(736)]&&(this[e(730)][e(609)]=()=>s.id),this[e(682)]=!1):this[e(682)]&&(this[e(730)][e(609)]=()=>s.id,this[e(630)]=s[e(736)])),this[e(682)]||(this[e(630)]=this[e(650)][e(448)][e(456)][e(648)]);this[e(673)][e(690)](this[e(730)][e(655)]),this[e(671)](this[e(630)]),this[e(702)](this[e(630)]),this[e(634)]&&this[e(720)]()}),this[t(674)](t(596)).to(this,t(581),t=>!t),this[t(685)]=this[t(650)][t(727)][t(584)](t(685));const e=this[t(650)];this[t(729)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(519)==r||i(686)==r||i(450)==r||i(602)==r||i(716)==r||i(664)==r||i(508)==r){delete e[n],s=r,clearInterval(this[i(729)]),this[i(729)]=void 0;break}}i(686)==s&&e[i(440)](i(669)),i(450)==s&&e[i(440)](i(433)),i(602)==s&&e[i(440)](i(465)),i(716)==s&&e[i(440)](i(567),i(526)),i(664)==s&&e[i(440)](i(665)),i(508)==s&&e[i(440)](i(652))},1e3)}async[ft(725)](){const t=ft;if(this[t(521)][t(612)]>0){const e=this[t(521)][t(579)](0),i=await this[t(549)](e),s=await this[t(550)](e);this[t(421)](i,s)}}[ft(708)](){const t=ft;super[t(708)](),this[t(729)]&&clearInterval(this[t(729)])}[ft(595)](t){this[ft(730)]=t}async[ft(698)](){const t=ft,e=await this[t(730)][t(470)]();if(e>this[t(638)][t(486)]){await this[t(574)]();const i=this[t(583)]({revision:this[t(638)],to:e});i[t(614)]=i[t(515)][t(688)](e=>this[t(650)][t(416)][t(584)](t(734))[t(494)](e)),this[t(638)][t(431)](i)}}async[ft(570)](e={},i=null){const s=ft,n=[];await this[s(574)](),this[s(682)]=!1,i>this[s(638)][s(486)]&&(i=null),null===i&&(i=await this[s(730)][s(470)]());const r=this[s(541)](i),o=this[s(583)]({from:r,to:i});if(this[s(638)][s(486)]<i){const t=this[s(583)]({revision:this[s(638)],from:i,to:i});t[s(614)]=[],t[s(515)]=[],t.id=this[s(638)].id,this[s(638)][s(431)](t,!0),delete t[s(614)],n[s(542)](t)}e[s(608)]=this[s(650)][s(416)][s(584)](s(734)).me.id,e[s(437)]=e[s(437)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(466)](e);n[s(542)](e);const c=this[s(521)][s(439)](a);if(0!==c){const t=this[s(521)][s(579)](c-1);if(t[s(736)]!==i){const r=this[s(673)][s(636)](i,t[s(486)]),o={id:t.id,diffData:r[s(419)],authorsIds:r[s(515)],authors:r[s(515)][s(688)](t=>this[s(650)][s(416)][s(584)](s(734))[s(494)](t)),fromVersion:i};t===this[s(638)]&&(o[s(692)]=new Date(e[s(692)][s(564)]()+10)),t[s(431)](o,!0),delete o[s(614)],n[s(542)](o)}}if(this[s(634)]){for(const t of n)this[s(525)](t.id,t,!0);this[s(720)]()}return a}[ft(466)](t){const e=ft,i=this[e(521)][e(477)](t);return this[e(634)]&&i.on(e(431),(t,i,s)=>{const n=e;s||(this[n(525)](i.id,i,!0),this[n(720)]())}),this[e(521)][e(464)](i,this[e(711)](i)),i}async[ft(549)](t){const e=ft;return await this[e(735)][e(696)](t,this[e(634)]),this[e(735)][e(549)](t)}async[ft(550)](t){const e=ft;return await this[e(735)][e(696)](t,this[e(634)]),this[e(735)][e(550)](t)}[ft(720)](){const t=ft;if(0===this[t(476)][t(457)])return;if(this[t(581)])return;let e=Array[t(534)](this[t(476)][t(694)]());this[t(476)][t(704)]();for(let i=0;i<e[t(612)];i++){const s=e[i];let n=!1;for(const e of Object[t(705)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(643)](t=>null!==t),!e[t(612)])return;for(let i=0;i<e[t(612)];i++){const s=e[i];void 0!==s[t(736)]&&void 0===s[t(486)]&&(s[t(486)]=this[t(521)][t(579)](s.id)[t(486)]),void 0!==s[t(486)]&&void 0===s[t(736)]&&(s[t(736)]=this[t(521)][t(579)](s.id)[t(736)])}const i=this[t(650)][t(727)][t(584)](t(513));this[t(581)]=!0,this[t(557)](),this[t(634)][t(546)](e,i)[t(458)](()=>{this[t(581)]=!1})[t(580)](e=>{const i=t;if(e)for(const t of e)this[i(601)]({id:t.id,createdAt:t[i(692)]});this[i(438)](),this[i(720)]()})}[ft(583)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(736)],i=null!==i?i:t[s(486)];const n=this[s(673)][s(636)](e,i),r={diffData:n[s(419)],authorsIds:n[s(515)],fromVersion:e,toVersion:i};if(!t||i!==t[s(486)]){const t=i-1,e=this[s(730)][s(655)][s(479)](t);r[s(692)]=e&&e[s(692)]||new Date}if(this[s(653)]&&e===this[s(653)][s(736)])for(const t of this[s(653)][s(614)])r[s(515)][s(640)](t.id)||r[s(515)][s(542)](t.id);return r}[ft(525)](t,e,i){const s=ft;if(this[s(476)][s(444)](t)){const n=this[s(476)][s(584)](t);e=i?{...n,...e}:{...e,...n}}this[s(476)][s(707)](t,e)}[ft(601)](t){const e=ft,i=this[e(521)][e(579)](t.id);if(t[e(692)]&&(t[e(692)]=new Date(t[e(692)])),t[e(515)]){const i=this[e(650)][e(416)][e(584)](e(734));t[e(614)]=t[e(515)][e(688)](t=>i[e(494)](t))}i[e(431)](t,!0)}[ft(671)](t){const e=ft,i=this[e(521)][e(579)](this[e(521)][e(612)]-1);if(i)this[e(462)]=i.id;else{const i=!this[e(650)][e(448)][e(456)][e(624)][e(498)](t=>this[e(650)][e(448)][e(572)](t)),s=this[e(650)][e(416)][e(584)](e(734)).me.id,n=at(this[e(650)][e(556)],e(i?718:684));this[e(625)]({from:t,to:t,id:this[e(462)],name:n,creatorId:s})}}[ft(702)](t){const e=ft,i=this[e(730)][e(609)]();this[e(638)]=this[e(521)][e(579)](i),this[e(638)]||(this[e(638)]=this[e(625)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(574)](){const t=ft;this[t(682)]&&!this[t(653)]&&(await this[t(735)][t(696)](this[t(638)],this[t(634)]),this[t(673)][t(627)](this[t(638)]),this[t(653)]={fromVersion:this[t(638)][t(736)],authors:this[t(638)][t(614)][t(733)]()})}[ft(421)](e,i){const s=ft;let n=this[s(650)][s(727)][s(584)](s(505)),r=this[s(650)][s(727)][s(584)](s(472));if(void 0===n){n={};for(const t of this[s(650)][s(448)][s(456)][s(481)]())n[t]=""}if(s(518)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(650)][s(448)][s(456)][s(481)]())r[t]={}}let o=!1;const a=Object[s(705)](n),c=Object[s(705)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(523)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(705)](r[t])[s(612)]>0){o=!0;break}}o||(o=c[s(535)](t=>!this[s(650)][s(448)][s(456)][s(441)](t))),o&&(0,t.logWarning)(s(632),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(650)][s(727)][s(707)](s(505),e),this[s(650)][s(727)][s(707)](s(472),i)}[ft(557)](){const t=ft;if(!this[t(459)]){const e=this[t(650)][t(416)][t(584)](t(527));this[t(459)]=e[t(680)](at(this[t(650)][t(556)],t(483)))}}[ft(438)](){const t=ft;this[t(459)]&&(this[t(650)][t(416)][t(584)](t(527))[t(543)](this[t(459)]),this[t(459)]=null)}[ft(711)](t){const e=ft,i=this[e(521)][e(558)]();i[e(540)]();let s=0;for(;s<i[e(612)];){const n=i[s];if(n===this[e(638)]){s++;continue}if(n.id===this[e(462)])break;const r=t[e(486)]-n[e(486)]||t[e(736)]-n[e(736)];if(r>0)break;if(r<0)s++;else{if(!t[e(514)]&&n[e(514)])break;if(n[e(514)]||!t[e(514)]){if(t[e(692)]>n[e(692)])break;s++}else s++}}return s}[ft(541)](t){const e=ft,i=this[e(521)][e(558)]();i[e(540)](),i[e(703)]();const s=i[e(498)](i=>i[e(486)]<=t)[e(486)];return s<this[e(630)]?this[e(630)]:s}[ft(625)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(583)]({from:e,to:i});o[r(437)]=t,o[r(608)]=s,o.id=n;const a=this[r(466)](o);return this[r(634)]&&this[r(525)](o.id,o,!0),a}[ft(631)](){const t=ft;this[t(650)][t(484)][t(552)](t(554))[t(530)]({model:t(737)})}}class vt{[ft(650)];[ft(529)];[ft(691)];[ft(475)];[ft(590)];[ft(503)];[ft(417)];[ft(639)];[ft(482)];[ft(585)];[ft(555)];[ft(429)];[ft(644)];[ft(447)];[ft(701)];[ft(710)];[ft(427)];constructor(t){const e=ft;this[e(650)]=t,this[e(691)]=new Map,this[e(475)]=-1,this[e(590)]=-1,this[e(503)]=new Map,this[e(417)]=new Map,this[e(639)]=new Map,this[e(482)]=new Map,this[e(585)]=new Map,this[e(555)]=new Map,this[e(429)]=new Map,this[e(644)]=new Map,this[e(447)]=new Map,this[e(701)]=new Map,this[e(710)]=1}[ft(690)](t){const e=ft;this[e(529)]=t;const i=new Map,s=new Map,n=this[e(650)][e(448)][e(456)][e(624)][e(688)](t=>t[e(597)]);for(const t of n){const n=this[e(650)][e(448)][e(456)][e(441)](t),r=gt(n);i[e(707)](t,r),s[e(707)](t,Object[e(490)](n[e(679)]()))}const r=Array[e(534)](this[e(650)][e(448)][e(517)])[e(688)](t=>[t[e(437)],t[e(605)]()]),o=this[e(529)][e(648)];this[e(516)](o,i,r,s),this[e(427)]=this[e(710)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(707)](t,i),c[e(707)](t,{})}this[e(516)](Number[e(532)],a,[],c)}[ft(636)](t,e){const i=ft;if(this[i(475)]===t&&this[i(590)]<=e)this[i(691)][i(457)]>1&&this[i(473)](this[i(590)]),this[i(594)](this[i(590)],e,!0);else{if(!this[i(691)][i(444)](t)){const e=this[i(593)](t);this[i(591)](e,t,!1)}this[i(591)](t,e,!0)}return this[i(475)]=t,this[i(590)]=e,this[i(430)]()}[ft(627)](t){const e=ft;if(!this[e(691)][e(444)](t[e(736)])){const i=this[e(593)](t[e(736)]);this[e(591)](i,t[e(736)],!1)}this[e(591)](t[e(736)],t[e(486)],!1);const i=this[e(650)][e(416)][e(584)](e(623));this[e(425)](),this[e(475)]=t[e(736)],this[e(590)]=t[e(486)];for(const s in t[e(419)]){const n=t[e(419)][s][e(616)],r=R(t[e(419)][s][e(715)])||{},o=i[e(646)](t[e(419)][s][e(548)]);o[e(597)]=s,o[e(531)]=!n||!n[e(575)],o[e(575)]=()=>o[e(531)],this[e(482)][e(707)](s,o),this[e(585)][e(707)](s,r),n&&this[e(701)][e(707)](s,n);const a=this[e(649)](o);this[e(429)][e(707)](s,a);for(const[t,i]of o[e(517)]){if(!t[e(561)](e(683)))continue;const s=t[e(667)](":")[2];for(const t of i[e(577)]({singleCharacters:!0})){const i=this[e(717)](t),n=e(670)==t[e(562)]?t[e(615)][e(589)][e(733)](0,-1):t[e(615)][e(589)],r=a[e(432)](n)[e(455)](i);this[e(644)][e(707)](r,{userId:s})}o[e(517)][e(509)](t)}}this[e(427)]=this[e(710)];const s=[...Array(this[e(710)])[e(705)]()][e(733)](1)[e(643)](t=>!this[e(644)][e(444)](t));let n=0;const r=new Map;for(const o in t[e(419)]){const a=t[e(419)][o][e(616)],c=R(t[e(419)][o][e(547)])||{},u=i[e(646)](t[e(419)][o][e(496)]);u[e(597)]=o,u[e(531)]=!a||a[e(575)],u[e(575)]=()=>u[e(531)],this[e(417)][e(707)](o,u),this[e(639)][e(707)](o,c);const l=this[e(649)](u,Number[e(532)]);this[e(555)][e(707)](o,l),r[e(707)](o,u[e(575)]()?c:{});for(const[t,i]of u[e(517)]){if(!t[e(561)](e(683)))continue;const s=t[e(667)](":")[2];for(const t of i[e(577)]({singleCharacters:!0})){const i=this[e(717)](t),n=this[e(710)]++,r=e(670)==t[e(562)]?t[e(615)][e(589)][e(733)](0,-1):t[e(615)][e(589)];l[e(432)](r)[e(687)](i,n),this[e(644)][e(707)](n,{userId:s})}u[e(517)][e(509)](t)}for(const t of this[e(650)][e(448)][e(504)](u)[e(577)]({singleCharacters:!0})){const i=this[e(717)](t),r=e(670)==t[e(562)]?t[e(615)][e(589)][e(733)](0,-1):t[e(615)][e(589)],o=l[e(432)](r);o[e(455)](i)>0||o[e(687)](i,s[n++])}for(const[t,i]of u[e(517)])t[e(561)](e(683))||this[e(503)][e(707)](t,i)}const{roots:o}=this[e(691)][e(584)](t[e(736)]),{roots:a}=this[e(691)][e(584)](t[e(486)]),c=gt(o[e(584)](e(666)));this[e(482)][e(707)](e(666),c),this[e(429)][e(707)](e(666),this[e(649)](c,Number[e(532)]));const u=gt(a[e(584)](e(666)));this[e(417)][e(707)](e(666),u),this[e(555)][e(707)](e(666),this[e(649)](u));const l=Array[e(534)](this[e(417)])[e(688)](([t,e])=>[t,gt(e)]);this[e(516)](this[e(590)],l,this[e(503)],r)}[ft(493)](){const t=ft;this[t(425)](),this[t(475)]=-1,this[t(590)]=-1,this[t(691)][t(704)](),this[t(690)](this[t(529)])}[ft(516)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(707)](t,{start:e[n(617)][n(599)](),end:e[n(422)][n(599)](),rootName:e[n(723)][n(597)]});this[n(691)][n(707)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(473)](t){const e=ft;this[e(691)][e(509)](t)}[ft(425)](){const t=ft;this[t(644)][t(704)](),this[t(447)][t(704)](),this[t(701)][t(704)](),this[t(417)][t(704)](),this[t(639)][t(704)](),this[t(482)][t(704)](),this[t(585)][t(704)](),this[t(555)][t(704)](),this[t(429)][t(704)](),this[t(503)][t(704)](),this[t(710)]=1,this[t(427)]=this[t(710)]}[ft(649)](t,e=null){const i=ft;let s=null;t.is(i(611))||(s=new X.ModelElement(t[i(437)],{vid_start:null===e?this[i(710)]++:e++}));const n=[];for(const s of t[i(663)]())if(s.is(i(610))){n[i(542)](this[i(649)](s,e));const t=n[n[i(612)]-1];null!==e&&(e=t.is(i(610),i(700))?t[i(455)](i(635))+1:t[i(455)](i(500))+1)}else for(let t=0;t<s[i(603)];t++)n[i(542)](new X.ModelElement(i(700),{vid:null===e?this[i(710)]++:e++}));if(t.is(i(611))){const e=kt(t[i(597)]);return e[i(423)](0,n),e}return s[i(687)](i(500),null===e?this[i(710)]++:e++),s[i(423)](0,n),s}[ft(591)](t,e,i){const s=ft;this[s(425)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(691)][s(584)](t);this[s(482)]=new Map(n),this[s(585)]=new Map(R(o));for(const[t,e]of this[s(482)])if(s(666)!==t&&(this[s(417)][s(707)](t,gt(e)),this[s(639)]=new Map(R(o)),i)){const i=this[s(710)];this[s(555)][s(707)](t,this[s(649)](e)),this[s(429)][s(707)](t,this[s(649)](e,i))}this[s(427)]=this[s(710)],this[s(417)][s(707)](s(666),gt(this[s(482)][s(584)](s(666)))),i&&this[s(555)][s(707)](s(666),this[s(649)](this[s(482)][s(584)](s(666))));for(const[t,e]of r){const i=this[s(482)][s(584)](e[s(597)]),n=this[s(417)][s(584)](e[s(597)]),r=new X.ModelRange(this[s(511)](e[s(617)],i),this[s(511)](e[s(422)],i)),o=this[s(598)](r,n);i[s(517)][s(707)](t,r),this[s(503)][s(707)](t,o)}this[s(594)](t,e,i)}[ft(594)](t,e,i){const s=ft;for(const n of this[s(529)][s(446)](t,e))this[s(613)](n,i);for(const t of this[s(417)][s(694)]())t[s(517)][s(704)]();for(const[t,e]of this[s(503)])this[s(417)][s(584)](e[s(723)][s(597)])[s(517)][s(707)](t,e[s(599)]());const n=new Map,r=new Map;for(const[t,e]of this[s(417)])n[s(707)](t,gt(e)),r[s(707)](t,this[s(639)][s(584)](t));this[s(516)](e,n,this[s(503)],r)}[ft(593)](t){const e=ft,i=Array[e(534)](this[e(691)][e(705)]());i[e(633)]((t,e)=>t-e),i[e(540)]();for(const e of i)if(e<t)return e;return Number[e(532)]}[ft(645)](t,e){const i=ft,s=Array[i(534)](e[i(517)])[i(688)](([e,s])=>[e,this[i(598)](s,t)]);t[i(517)]=new Map(s)}[ft(695)](t){const e=ft;for(const i of this[e(503)][e(694)]()){const s=i[e(578)](t),n=X.ModelRange[e(488)](s);i[e(617)]=n[e(617)],i[e(422)]=n[e(422)]}}[ft(613)](t,e){const i=ft;if(i(565)!=t[i(562)]&&i(600)!=t[i(562)]){if(i(510)==t[i(562)]){const s=t[i(507)][i(723)][i(597)];this[i(417)][i(444)](s)||(this[i(417)][i(707)](s,kt(s,!0)),this[i(639)][i(707)](s,{}),e&&this[i(555)][i(707)](s,kt(s,!0)))}else{if(i(721)==t[i(562)]||i(436)==t[i(562)]||i(460)==t[i(562)])return void this[i(693)](t);i(471)==t[i(562)]&&this[i(659)](t)}if(i(471)!==t[i(562)]){const e=this[i(641)](t,this[i(417)]);e[i(428)](),this[i(695)](e)}if(e)switch(t[i(562)]){case i(510):this[i(551)](t);break;case i(491):case i(543):case i(434):this[i(724)](t);break;case i(559):this[i(435)](t);break;case i(667):this[i(566)](t)}}else this[i(706)](t,e)}[ft(641)](t,e){const i=ft,s=t[i(599)]();return s[i(499)]=t[i(499)],this[i(502)](s,e),s}[ft(629)](t){const e=ft;return t[e(688)](t=>{const i=e,s=this[i(717)](t);return Number(t[i(642)][i(455)](s))})}[ft(728)](t,e){const i=ft;if(t.is(i(610),i(700)))e[i(542)]({item:t,type:i(732)});else{t.is(i(610))&&e[i(542)]({item:t,type:i(586)});for(const s of t[i(663)]())this[i(728)](s,e);t.is(i(610))&&e[i(542)]({item:t,type:i(670)})}return e}[ft(430)](){const t=ft,e=new Map(this[t(644)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(482)][t(705)](),...this[t(417)][t(705)]()]);a[t(509)](t(666));for(const e of a){const i=this[t(417)][t(584)](e)||kt(e,!1),s=this[t(482)][t(584)](e)||kt(e,!1);i[t(575)]()||s[t(575)]()?(n[t(496)][e]=gt(i),n[t(548)][e]=gt(s),this[t(645)](n[t(548)][e],s),this[t(645)](n[t(496)][e],i),r[t(496)][e]=this[t(728)](this[t(555)][t(584)](e),[]),r[t(548)][e]=this[t(728)](this[t(429)][t(584)](e)||kt(e,!1),[])):a[t(509)](e)}for(const n of a){const o=r[t(496)][n];for(const n of o){const r=this[t(717)](n),o=n[t(642)][t(455)](r);i[t(509)](o),o>=this[t(427)]&&s[t(707)](o,e[t(584)](o))}}for(const n of a){const a=r[t(496)][n],c=this[t(629)](r[t(548)][n]);let u=0;for(const n of a){const r=this[t(717)](n),a=n[t(642)][t(455)](r);if(!s[t(444)](a)&&!o[t(444)](a))if(i[t(444)](a))u++;else{if(a!=c[u]){const s=e[t(584)](a)||e[t(584)](c[u]);for(;a!=c[u];)i[t(444)](c[u])||(o[t(707)](c[u],s),e[t(707)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(496)][e];for(const e of n){const n=this[t(717)](e),r=e[t(642)][t(455)](n);if(o[t(444)](r)){const e=o[t(584)](r);i[t(444)](r)||i[t(707)](r,{...e}),s[t(707)](r,{...e})}}}for(const e of i[t(705)]())e>=this[t(427)]&&i[t(509)](e);const c=new Map;for(const e of a){let n=r[t(496)][e];for(const e of n)if(e[t(642)].is(t(610),t(637))){const i=this[t(717)](e),n=e[t(642)][t(455)](i);if(s[t(444)](n)){const i=e[t(642)][t(668)][t(668)][t(455)](t(453)),r=c[t(584)](i)||new Set;r[t(680)](s[t(584)](n)[t(463)]),c[t(707)](i,r)}}n=r[t(548)][e];for(const e of n)if(e[t(642)].is(t(610),t(637))){const s=this[t(717)](e),n=e[t(642)][t(455)](s);if(i[t(444)](n)){const s=e[t(642)][t(668)][t(668)][t(455)](t(453)),r=c[t(584)](s)||new Set;r[t(680)](i[t(584)](n)[t(463)]),c[t(707)](s,r)}}for(const e of c[t(705)]())(s[t(444)](e)||i[t(444)](e))&&c[t(509)](e)}for(const e of a){const n=r[t(496)][e];let o=null,a=null;for(const e of n){const n=this[t(717)](e),r=e[t(642)][t(455)](n),u=c[t(584)](r);u&&t(586)==e[t(562)]&&(o=Array[t(534)](u)[0],a=e[t(642)][t(455)](t(500))),o&&(i[t(707)](r,{userId:o}),s[t(707)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(548)][e],a=n[t(496)][e];for(const{userId:e}of this[t(447)][t(694)]())null!==e&&l[t(680)](e);for(const{userId:e}of this[t(701)][t(694)]())null!==e&&l[t(680)](e);this[t(675)](a,r[t(496)][e],s,t(451),l),this[t(675)](o,r[t(548)][e],i,t(606),l),u[e]={insertions:this[t(621)](a),deletions:this[t(621)](o),attachChange:this[t(701)][t(584)](e)||null,attributesBefore:R(this[t(585)][t(584)](e))||{},attributesAfter:R(this[t(639)][t(584)](e))}}return{diffData:u,authorsIds:Array[t(534)](l)}}[ft(489)](t){const e=ft;for(const[,i]of t[e(517)]){const t=i[e(617)][e(560)]()[e(643)](t=>e(637)==t[e(437)]);for(const i of t)1==i[e(520)]&&i[e(677)](0).is(e(610),e(573))&&i[e(677)](0)[e(687)](e(536),!0)}}[ft(621)](t){const e=ft;this[e(489)](t);const i=this[e(650)][e(506)][e(681)](t,{}),s=Array[e(534)](i[e(663)]())[e(688)](t=>this[e(657)](t));return JSON[e(442)](s)}[ft(657)](t){const e=ft;if(t.is(e(700)))return t[e(506)];{const i=this[e(650)][e(416)][e(584)](e(623)),s=t,n=this[e(650)][e(506)][e(618)][e(604)],r={type:i[e(485)](s),name:s[e(437)],attributes:Array[e(534)](s[e(679)]()),children:Array[e(534)](s[e(663)]())[e(688)](t=>this[e(657)](t))};if(t.is(e(658))&&e(722)!=t[e(437)]){const i=t[e(522)](n[e(626)],n);r[e(689)][e(542)](i[e(713)])}else if(t.is(e(714))){const i=n[e(626)][e(622)](s[e(437)]);t[e(522)](i,n),r[e(689)][e(542)](i[e(501)])}const o=Array[e(534)](s[e(676)]());o[e(612)]>0&&(r[e(661)]=o);const a=s[e(539)]();return null!==a&&(r[e(467)]=a),r}}[ft(675)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(650)][r(448)];for(let s=0;s<e[r(612)];s++){const n=this[r(717)](e[s]),c=e[s][r(642)][r(455)](n),h=i[r(584)](c),d=s==e[r(612)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(463)]!=o[r(463)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(463)],d=l(683)+s+":"+h+":"+c++,f=u[l(651)](i,a);t[l(517)][l(707)](d,f),null!==h&&n[l(680)](h)}}[ft(717)](t){const e=ft;switch(t[e(562)]){case e(586):return e(453);case e(670):return e(500);default:return e(635)}}[ft(502)](t,e){const i=ft;t[i(660)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(584)](n[i(723)][i(597)]);t[s]=this[i(511)](n,r)}if(n instanceof X.ModelRange){const r=e[i(584)](n[i(723)][i(597)]);t[s]=this[i(598)](n,r)}i(723)===s&&(t[i(723)]=e[i(584)](t[i(723)][i(597)]))}}[ft(598)](t,e){const i=ft;return this[i(650)][i(448)][i(651)](this[i(511)](t[i(617)],e),this[i(511)](t[i(422)],e))}[ft(511)](t,e){const i=ft;return this[i(650)][i(448)][i(619)](e,t[i(589)],t[i(654)])}[ft(551)](t){const e=ft,i=this[e(555)][e(584)](t[e(507)][e(723)][e(597)]),s=this[e(511)](t[e(507)],i),n=null===t[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,r=s[e(668)],o=this[e(710)],a=[];for(const i of t[e(607)])if(i.is(e(610)))a[e(542)](this[e(649)](i));else for(let t=0;t<i[e(603)];t++)a[e(542)](new X.ModelElement(e(700),{vid:this[e(710)]++}));const c=this[e(710)];for(let t=o;t<c;t++)this[e(644)][e(707)](t,{userId:n});r[e(423)](s[e(628)],a)}[ft(724)](t){const e=ft;(t=this[e(641)](t,this[e(555)]))[e(428)]();const i=null===t[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,s=t[e(738)](),n=s[e(668)],r=s[e(628)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(677)](e);r.is(a(610),a(700))?s[a(707)](r[a(455)](a(635)),{userId:i}):(s[a(707)](r[a(455)](a(453)),{userId:i}),t(s,r,0,r[a(520)]),s[a(707)](r[a(455)](a(500)),{userId:i}))}}(this[e(644)],n,r,r+t[e(712)])}[ft(435)](t){const e=ft,i=null===(t=this[e(641)](t,this[e(555)]))[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,s=t[e(495)][e(668)],n=t[e(697)][e(668)],r=s[e(455)](e(500)),o=n[e(455)](e(453));s[e(687)](e(500),n[e(455)](e(500))),n[e(687)](e(500),r),this[e(644)][e(707)](o,{userId:i}),this[e(644)][e(707)](r,{userId:i}),t[e(428)]()}[ft(566)](t){const e=ft,i=null===(t=this[e(641)](t,this[e(555)]))[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,s=t[e(662)],n=t[e(582)][e(668)];t[e(428)]();const r=n[e(455)](e(500)),o=t[e(426)][e(469)];if(s){const t=o[e(455)](e(500)),s=n[e(455)](e(500));n[e(687)](e(500),t),o[e(687)](e(500),s),this[e(644)][e(707)](n[e(455)](e(500)),{userId:i}),this[e(644)][e(707)](o[e(455)](e(453)),{userId:i})}else{const t=this[e(710)]++,s=this[e(710)]++;n[e(687)](e(500),t),o[e(687)](e(453),s),o[e(687)](e(500),r),this[e(644)][e(707)](t,{userId:i}),this[e(644)][e(707)](s,{userId:i})}}[ft(659)](t){const e=ft;if(!t[e(454)])return;const i=(t=this[e(641)](t,this[e(417)]))[e(478)]?t[e(478)][e(723)]:null,s=t[e(537)]?t[e(537)][e(723)]:null;i&&this[e(503)][e(509)](t[e(437)]),s&&this[e(503)][e(707)](t[e(437)],t[e(537)][e(599)]());const n=null===t[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,r=t[e(437)];if(!this[e(447)][e(444)](r))return void this[e(447)][e(707)](r,{range:t[e(478)],userId:n});const o=this[e(447)][e(584)](r),a=o[e(452)],c=t[e(537)];null==a&&null==c||a&&c&&a[e(571)](c)?this[e(447)][e(509)](t[e(437)]):o[e(463)]=n}[ft(706)](t,e){const i=ft;this[i(417)][i(444)](t[i(597)])?this[i(417)][i(584)](t[i(597)])[i(531)]=t[i(524)]:(this[i(417)][i(707)](t[i(597)],kt(t[i(597)],!0)),this[i(639)][i(707)](t[i(597)],{}),e&&this[i(555)][i(707)](t[i(597)],kt(t[i(597)],!0)));const s=null===t[i(499)]?null:t[i(499)]||this[i(650)][i(416)][i(584)](i(734)).me.id,n=this[i(701)][i(584)](t[i(597)]);n&&n[i(463)]===s?this[i(701)][i(509)](t[i(597)]):this[i(701)][i(707)](t[i(597)],{userId:s,isAttached:t[i(524)]})}[ft(693)](t){const e=ft,i=this[e(639)][e(584)](t[e(723)][e(597)]);null===t[e(563)]?delete i[t[e(709)]]:i[t[e(709)]]=t[e(563)]}}function gt(t){const e=ft,i=kt(t[e(597)],t[e(575)]());for(const s of t[e(663)]()){const t=s[e(445)](!0);i[e(418)](t)}return i}function yt(t,e){const i=mt();return(yt=function(t,e){return i[t-=416]})(t,e)}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(597)]=t,s[i(531)]=e,s[i(575)]=()=>s[i(531)],s}function bt(t,e,i){const s=ft,n=s(670)==t[s(562)]?i[s(592)](t[s(642)],s(422)):i[s(699)](t[s(642)]);return i[s(619)](e,n[s(589)],n[s(654)])}function wt(t,e,i){const s=ft,n=s(586)==t[s(562)]?i[s(592)](t[s(642)],0):i[s(443)](t[s(642)]);return i[s(619)](e,n[s(589)],n[s(654)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),xt=i(297),Tt=i.n(xt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(98),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=Tt(),Lt.insertStyleElement=Dt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=342]})(t,e)}function jt(){const t=["19541005lQrxfs","set","5682SRNtMO","435xVIuDY","extendTemplate","ck-revision-history-save-revision-form","_createRevisionNameInput","arrowdown","ck-responsive-form","1624446zmuMaR","locale","trim","render","revisionNameInputView","51278qMFQiz","220","element","focusTracker","optional","10654dAmXSS","form","label","add","errorText","arrowright","reset","Name of the revision","focus","revisionName","arrowup","initializeCssTransitionDisablerMixin","324qybreL","2712VMWZaZ","arrowleft","keystrokes","38964gyvyNx","stopPropagation","fieldView","40PzeNaL","889046yemNUy","setTemplate","value","revisionNameInputValue","listenTo","input"];return(jt=function(){return t})()}const zt=Pt;!function(t){const e=Pt,i=t();for(;;)try{if(454284===-parseInt(e(363))/1+-parseInt(e(343))/2+parseInt(e(351))/3*(-parseInt(e(380))/4)+-parseInt(e(352))/5*(-parseInt(e(384))/6)+-parseInt(e(368))/7*(parseInt(e(381))/8)+parseInt(e(358))/9*(-parseInt(e(342))/10)+parseInt(e(349))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[zt(366)];[zt(383)];[zt(362)];constructor(e,i){const s=zt;super(e),this[s(366)]=new t.FocusTracker,this[s(383)]=new t.KeystrokeHandler,this[s(350)](s(346),""),this[s(362)]=this[s(355)](i),this[s(344)]({tag:s(369),attributes:{class:["ck",s(354),s(357)],tabindex:"-1"},children:[this[s(362)]]}),this[s(379)]()}[zt(361)](){const t=zt;super[t(361)](),(0,It.submitHandler)({view:this}),this[t(366)][t(371)](this[t(362)][t(365)]),this[t(383)][t(347)](this[t(365)]);const e=e=>e[t(385)]();this[t(383)][t(350)](t(373),e),this[t(383)][t(350)](t(382),e),this[t(383)][t(350)](t(378),e),this[t(383)][t(350)](t(356),e)}[zt(376)](){const t=zt;this[t(362)][t(376)]()}get[zt(377)](){const t=zt;return this[t(362)][t(386)][t(365)][t(345)][t(360)]()}set[zt(377)](t){const e=zt;this[e(362)][e(386)][e(365)][e(345)]=t[e(360)]()}[zt(374)](){const t=zt;this[t(362)][t(386)][t(365)][t(345)]="",this[t(362)][t(372)]=null}[zt(355)](t){const e=zt,i=new It.LabeledFieldView(this[e(359)],It.createLabeledInputText),s=i[e(386)];s[e(353)]({attributes:{maxlength:e(364)}});let n=at(this[e(359)],e(375));return!t&&(n+=" ("+at(this[e(359)],e(367))+")"),i[e(370)]=n,s.on(e(348),()=>{const t=e;this[t(346)]=s[t(365)][t(345)][t(360)]()}),i}}const Zt=Ht;function Ut(){const t=["role","bind","_saveRevisionFormView","revisionSave","plugins","editor","isOpen","24EfYmcg","_registerMenuComponent","5977765cGYhyO","menu","listenTo","revisionHistory.requireRevisionName","10637864WAYaVE","4180940EcOPsZ","editing","The revision name cannot be empty.","config","3911718dLzoKP","Open revision history","add","addMany","_createSaveRevisionButton","Revision history","init","isOfficialPlugin","menuBar:revisionHistory","28873152SRNfDq","_createSaveRevisionFormView","Save current revision","_createOpenRevisionButton","RevisionHistoryUI","showRevisionViewerCallback","revisionNameInputView","delegate","focus","hide","isReadOnly","children","Dialog","reset","Accept","revisionHistory","pluginName","componentFactory","get","RevisionTracker","submit","1405733iGEWRT","render","view","isEnabled","items","ck-button-action","_showDialog","buttonView","isReady","isPremiumPlugin","panelView","set","low","revisionName","Cancel","show","locale","saveRevision","menuitem","execute","2PPKbrc","errorText","906652oGEVzG","requires"];return(Ut=function(){return t})()}function Ht(t,e){const i=Ut();return(Ht=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(768415===parseInt(e(446))/1*(parseInt(e(444))/2)+-parseInt(e(466))/3+parseInt(e(462))/4+parseInt(e(457))/5+parseInt(e(455))/6*(parseInt(e(424))/7)+parseInt(e(461))/8+-parseInt(e(403))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class $t extends G.Plugin{static get[Zt(419)](){return Zt(407)}static get[Zt(401)](){return!0}static get[Zt(433)](){return!0}static get[Zt(447)](){return[pt]}[Zt(450)];[Zt(400)](){const t=Zt,e=this[t(453)],i=e[t(452)][t(421)](t(422));e.ui[t(420)][t(396)](t(418),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(434)][n(414)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(398)](It.ButtonView),l=new It.ListItemView(s),h=this[n(406)](It.ButtonView);return r[n(449)](n(427)).to(i,n(432),i,n(427),e,n(413),(t,e,i)=>t&&e&&!i),r[n(431)][n(435)]({icon:_t.IconHistory,label:at(s,n(399)),tooltip:!0}),u[n(435)]({withText:!0,role:n(442)}),h[n(435)]({withText:!0,role:n(442)}),this[n(459)](h,n(443),()=>{const t=n;r[t(454)]=!1,e[t(463)][t(426)][t(411)]()},{priority:n(436)}),c[n(414)][n(396)](u),l[n(414)][n(396)](h),a[n(448)]=n(458),a[n(428)][n(397)]([c,l]),o[n(396)](a),r}),e.ui[t(420)][t(396)](t(402),()=>this[t(456)]())}[Zt(456)](){const t=Zt,e=this[t(453)],i=e[t(440)],s=e[t(452)][t(421)](t(422)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(449)](t(427)).to(s,t(432),s,t(427),e,t(413),(t,e,i)=>t&&e&&!i),n[t(431)][t(435)]({icon:_t.IconHistory,label:at(i,t(399))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(398)](It.MenuBarMenuListItemButtonView);a[t(410)](t(443)).to(n),o[t(414)][t(396)](a),r[t(428)][t(396)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(406)](It.MenuBarMenuListItemButtonView);return u[t(410)](t(443)).to(n),c[t(414)][t(396)](u),r[t(428)][t(396)](c),n[t(434)][t(414)][t(396)](r),n}[Zt(398)](t){const e=Zt,i=this[e(453)],s=i[e(452)][e(421)](e(422)),n=new t(i[e(440)]);return n[e(435)]({label:at(i[e(440)],e(405))}),n[e(449)](e(427)).to(s,e(432),s,e(427),i,e(413),(t,e,i)=>t&&e&&!i),this[e(459)](n,e(443),()=>{this[e(430)]()}),n}[Zt(406)](t){const e=Zt,i=this[e(453)],s=i[e(452)][e(421)](e(422)),n=new t(i[e(440)]);return n[e(435)]({label:at(i[e(440)],e(395))}),n[e(449)](e(427)).to(s,e(432),i,e(413),(t,e)=>t&&!e),this[e(459)](n,e(443),()=>{const t=e;i[t(465)][t(421)](t(418))[t(408)]()}),n}[Zt(430)](){const t=Zt,e=this[t(453)],i=e[t(440)],s=e[t(452)][t(421)](t(415)),n=e[t(452)][t(421)](t(422));function r(n){const r=t;e[r(465)][r(421)](r(460))&&""===n[r(437)]?n[r(409)][r(445)]=at(i,r(464)):(e[r(452)][r(421)](pt)[r(441)]({name:n[r(437)]}),s[r(412)]())}this[t(450)]||(this[t(404)](),this[t(450)].on(t(423),()=>r(this[t(450)]))),this[t(450)][t(416)](),s[t(439)]({id:t(451),title:at(i,t(405)),isModal:!0,content:this[t(450)],actionButtons:[{label:at(e[t(440)],t(438)),withText:!0,onExecute:()=>s[t(412)]()},{label:at(e[t(440)],t(417)),class:t(429),withText:!0,onCreate(i){const s=t;i[s(449)](s(427)).to(n,s(432),n,s(427),e,s(413),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(450)])}]})}[Zt(404)](){const t=Zt,e=this[t(453)],i=e[t(440)];this[t(450)]=new Wt(i,e[t(465)][t(421)](t(460))),this[t(450)][t(425)]()}}const qt=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=296]})(t,e)}function Yt(){const t=["Added by","4070ccnUxy","type","isSuggestion","name","changeId","605kKvwRN","2VyPBnU","Suggested by","10165050eXJafy","_model","author","2696943ulYdAC","add","bindTemplate","155240cQBQFZ","data","span","ck-revision-change__label","ck-annotation","setTemplate","ck-revision-change__","element","1062618hOtYSx","focus","959878nCSXEc","Removed by","set","ck-revision-change","div","12916TwlbsZ","24464QyGKdc","308BITuGZ"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(567151===parseInt(e(306))/1+-parseInt(e(321))/2*(-parseInt(e(326))/3)+parseInt(e(311))/4*(-parseInt(e(320))/5)+parseInt(e(304))/6+-parseInt(e(313))/7*(parseInt(e(296))/8)+-parseInt(e(323))/9+parseInt(e(315))/10*(parseInt(e(312))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[qt(319)];[qt(324)];constructor(t,e){const i=qt;super(t),this[i(324)]=e,this[i(319)]=e.id;const s=this[i(328)],n=at(t,e[i(297)][i(317)]?i(322):i(327)==e[i(316)]?i(314):i(307));this[i(308)](i(316),e[i(316)]),this[i(301)]({tag:i(310),attributes:{class:[i(300),i(309),s.to(i(316),t=>i(302)+t)],tabindex:-1},children:[{tag:i(298),children:[{tag:i(298),attributes:{class:[i(299)]},children:[{text:n}]},{text:" "+e[i(325)][i(318)]}]}]})}[qt(305)](){const t=qt;this[t(303)][t(305)]()}}var Gt=Xt;function Kt(){var t=["set","createdAt","toJSON","32NdTwif","rootName","9843320jhNaLe","author","type","5813490mUPrMO","data","6FJWzcm","11261772kZlSGQ","1028468BFyioj","1893981WFCbIu","715722XKntcn","7272288VcJIak","81QfQDkZ"];return(Kt=function(){return t})()}function Xt(t,e){var i=Kt();return(Xt=function(t,e){return i[t-=382]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(992306===-parseInt(e(396))/1+-parseInt(e(394))/2*(parseInt(e(397))/3)+-parseInt(e(382))/4+parseInt(e(389))/5+-parseInt(e(395))/6+-parseInt(e(398))/7*(-parseInt(e(387))/8)+parseInt(e(383))/9*(parseInt(e(392))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(390)];[Gt(391)];[Gt(393)];[Gt(388)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(390)]=e[i(390)],this[i(391)]=e[i(391)],this[i(393)]=e[i(393)]||{},this[i(388)]=e[i(388)],this[i(384)](i(385),e[i(385)])}[Gt(386)](){var t=Gt;return{id:this.id,authorId:this[t(390)].id,type:this[t(391)],data:this[t(393)],createdAt:this[t(385)]}}}const te=ie;function ee(){const t=["889eQIqFV","1550CMLbUz","2103ZLCEjG","1099568GUXNny","add","oldRevisionId","changes","_setChanges","523308Vgvbmo","10dqolJo","2785519GilFyq","10eZvhkU","216256ppJpmN","newRevisionId","7638hTWHfi","932418BoeIVZ"];return(ee=function(){return t})()}function ie(t,e){const i=ee();return(ie=function(t,e){return i[t-=321]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(315691===parseInt(e(329))/1+-parseInt(e(334))/2*(parseInt(e(335))/3)+-parseInt(e(325))/4*(-parseInt(e(326))/5)+-parseInt(e(331))/6*(-parseInt(e(333))/7)+-parseInt(e(336))/8+parseInt(e(332))/9+parseInt(e(328))/10*(parseInt(e(327))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class se{[te(330)];[te(322)];[te(323)];constructor(e,i){const s=te;this[s(330)]=e,this[s(322)]=i,this[s(323)]=new t.Collection}[te(324)](t){const e=te;for(const i of t)this[e(323)][e(321)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Dt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ce;function ae(){const t=["set","isBefore","destroy","createRange","_getDiff","_markMarkers","getWalker","getRevisionDocumentData","from","_update","change:activeChange","isAdded","deletions","createPositionBefore","change:numberOfChanges","6337338AsrAZV","parent","forceDisabled","stop","splice","domEvent","_revisions","mapper","getRoot","first","5980545fnShAn","range","isAfter","ck-suggestion-marker-","getDomRoot","_removeUnsupportedChanges","shift","setAttribute","mousedown","revision","data-change-id","error","indexOf","ck-editor__editable__overlay","getChild","code","oldRevisionId","markerNameToElements","addRevision","revision:","unbindElementFromMarkerName","dataDowncast","softBreak","getCustomProperty","_findChangeIdFromDomTarget","getClientRects","currentChangeNumber","distance","revisionHistoryLabel","add","ck-suggestion-marker","hasAttribute","findIndex","enableReadOnlyMode","catch","_setConversion","data","string","_step","addHighlight","_getChangeFromId","filter","_changeView","right","document","isRemoveSuggestion","merge","conversion","mapViewToDom","ck-revision-history-root--active","isEqual","ck-suggestion-preview-marker-","consumable","ck-revision-history-root-add","isSuggestion","repository","type","_setChanges","_setDistance","isAddSuggestion","done","comment","showPreviousChange","forward","resolve","getAttribute","enqueueChange","push","keys","_getRevisionsRange","affectsData","previousPosition","offsetSize","start","sort","editingDowncast","selection","change:activeView","isObject","init","top","vid","reconvertMarker","activeChange","2095320UZpbpN","_markInsertions","_markMismatchedRemovedTags","end","_data","markerToData","RevisionsRepository","revisionHistory","maxOffset","_changeIdToChange","addMarker:revision-suggestion:deletion","_removeMissingPairs","_cleanMarkers","item","dataToMarker","return","_joinTapes","getAttributes","insert","_threeWayMerge","remove","bind","writer","getLaterVisibleRevision","_appendChild","consume","toViewPosition","isCollapsed","checkAttribute","toViewRange","text","addMarker:revision-suggestion:insertion","ck-revision-history-root-","ck-revision-history-root-remove","_balloon","adapter","observeMarkers","roots","removeMarker:revision-suggestion","object","model","low","pairId","isAtStart","addRevisionData","nextPosition","isAtEnd","getRevision","vid_start","RevisionViewer","restoreRevision","createAttributeElement","suggestion","elementToAttribute","4954670MWoJFI","attributesBefore","element:pre","showStack","revision-viewer","elementEnd","unshift","getRevisionRootsAttributes","removeMarker","getItems","_makeTape","addClass","isEnabled","RevisionHistoryUtils","_refreshStartEndIndex","commands","_cleanUp","listenTo","POSITIVE_INFINITY","wrap","isAttached","revision-suggestion","toViewElement","isNavigationMode","_utils","pop","showNextChange","slice","isBlock","revision-comment:","change","attribute:vid","detachRoot","plugins","removeClass","high","newRevisionId","endIndex","delete","loadRevisionData","_markSuggestions","rootName","mouseover","bottom","viewItem","editor","_activeViewTarget","numberOfChanges","vid_end","_processTape","startIndex","removeAttribute","_makeModelFromTape","ck-suggestion-preview-marker","activeView","createUIElement","insertion","removeMarker:revision","getIndex","ck-suggestion-marker-split","diff","createRevision","changes","WidgetToolbarRepository","isLimit","left","_getViewForChange","includes","execute","requires","markerRange","isContent","isReady","backward","revisionHistoryAttachChange","length","-new","6iPSMXT","markersStart","has","schema","test","insertions","all","hasClass","updatePosition","isRemoved","level","modelRange","domConverter","isOnRoot","isOfficialPlugin","downcastDispatcher","then","upcast","side","userId","flat","view","addRoot","markerName","name","298676dAweLh","forEach","find","markers","highest","changeId","markerToHighlight","isIncorrect","nodeAfter","index","startsWith","restoreRevisionCallback","markersEnd","refresh","map","editing","element","for","isPremiumPlugin","authors","abs","locale","suggestion:","values","get","nextSibling","target","_fixObsoleteTags","getRootNames","uiElement","ck-suggestion-marker-merge","concat","config","next","change:isReady","bindElementToMarker","span","ck-suggestion-marker--active","9094477sAGkfI","attributesAfter","8VjrUFI","change:isEnabled","1069267ubJkyn","_sortAndFilterDiffChanges","elementStart","createPositionFromPath","addMarker:revision","_makeModelFromViewString","_initInteractions","compare","attachChange","pluginName","diffData","attributes","deletion","createRangeIn","split","clear","isInline","revision-suggestion:"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(697148===-parseInt(e(257))/1+parseInt(e(384))/2+parseInt(e(515))/3*(parseInt(e(215))/4)+parseInt(e(438))/5+-parseInt(e(290))/6+-parseInt(e(253))/7*(-parseInt(e(255))/8)+-parseInt(e(300))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(355)];[oe(419)]=null;[oe(462)];[oe(484)];[oe(342)];[oe(393)];[oe(418)];static get[oe(266)](){return oe(433)}static get[oe(204)](){return!0}static get[oe(233)](){return!0}static get[oe(507)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(355)]=this[e(483)][e(471)][e(239)](e(390)),this[e(462)]=this[e(483)][e(471)][e(239)](e(451)),this[e(275)](e(383),null),this[e(275)](e(492),null),this[e(484)]=null,this[e(275)](e(498),null),this[e(275)](e(510),!1),this[e(275)](e(450),!0),this.on(e(256),(t,i,s)=>{const n=e;this[n(383)]=null,this[n(492)]=null,this[n(483)][n(230)][n(211)][n(468)](t=>{const e=n;for(const i of this[e(483)][e(230)][e(211)][e(344)][e(421)])s?t[e(472)](e(313),i):t[e(449)](e(313),i)})}),this[e(405)](e(461)).to(this,e(383),t=>null!==t),this[e(405)](e(326)).to(this,e(510),this,e(498),this,e(383),(t,i,s)=>t&&s?i[e(500)][e(496)](s):0),this[e(405)](e(485)).to(this,e(510),this,e(498),(t,i)=>t?i[e(500)][e(513)]:0),this[e(342)]=null,this[e(393)]=new Map,this[e(418)]=this[e(483)][e(471)][e(239)](It.ContextualBalloon)}[oe(379)](){const t=oe,e=this[t(483)],i=new de(e,{direction:t(511)}),s=new de(e,{direction:t(363)});e[t(453)][t(329)](t(362),i),e[t(453)][t(329)](t(464),s),e[t(453)][t(329)](t(434),new he(e)),this.on(t(289),()=>{const e=t;i[e(228)](),s[e(228)]()}),this[t(335)](),this[t(263)](),e[t(333)](t(442)),e[t(471)][t(517)](t(501))&&e[t(471)][t(239)](t(501))[t(292)](t(442))}async[oe(282)](t){const e=oe;return await this[e(462)][e(477)](t,this[e(419)]),this[e(462)][e(282)](t)}async[oe(445)](t){const e=oe;return await this[e(462)][e(477)](t,this[e(419)]),this[e(462)][e(445)](t)}async[oe(264)](t,e,i=!1){const s=oe;if(!this[s(450)])return;const n=this[s(498)],r=this[s(355)],o=s(337)==typeof t?r[s(431)](t):t,a=s(337)==typeof e?r[s(431)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(498)]&&this[s(498)][s(474)]===c&&this[s(498)][s(316)]===u)return Promise[s(364)]();this[s(510)]=!1,this[s(492)]=null,this[s(383)]=null,this[s(498)]=new se(c,u);const l=this[s(369)](o,a,!0)[s(229)](t=>this[s(462)][s(477)](t,this[s(419)]));return l[s(367)](new Promise(t=>{setTimeout(t,20)})),Promise[s(521)](l)[s(206)](()=>{const t=s;if(!this[t(450)])return;this[t(454)]();const e=this[t(279)](c,u);for(const i of e[t(500)])this[t(393)][t(275)](i.id,i);this[t(483)][t(424)][t(366)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(483)][s(424)][s(344)][s(243)]())i[s(470)](t);for(const t of Object[s(368)](e[s(424)])){const n=i[s(212)](t);for(const r of Object[s(368)](e[s(268)][t]))i[s(307)](r,e[s(268)][t][r],n);i[s(402)](e[s(424)][t],n,0)}}),this[t(498)][t(357)](this[t(258)](e[t(500)])),this[t(510)]=!0})[s(334)](t=>{const e=s;console[e(311)](t),this[e(454)](),n&&(this[e(498)]=n),this[e(510)]=!0})}[oe(428)](t,e){const i=oe,s=this[i(355)][i(499)](t);return s.on(i(284),(t,i,n)=>e(i,n,s)),this[i(355)][i(318)](s),s}[oe(454)](){const t=oe;this[t(383)]=null,this[t(396)](),this[t(342)]&&this[t(342)][t(277)](),this[t(342)]=null,this[t(393)][t(272)](),this[t(483)][t(424)][t(366)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(483)][i(424)][i(344)][i(243)]())e[i(470)](t)})}[oe(258)](t){const e=oe,i=[],s=new Map;for(const t of this[e(483)][e(424)][e(344)][e(243)]()){const n=this[e(483)][e(230)][e(211)][e(304)](t);if(!n)continue;const r=n[e(325)]()[e(397)](0);r&&(i[e(367)](t),s[e(275)](t,r))}return i[e(374)]((t,i)=>{const n=e,r=s[n(239)](t),o=s[n(239)](i);return r.y-o.y||r.x-o.x}),(t=t[e(341)](t=>i[e(505)](t[e(479)])))[e(374)]((t,s)=>i[e(312)](t[e(479)])-i[e(312)](s[e(479)])),t}[oe(448)](t){const e=oe,i=Array[e(283)](t[e(218)])[e(341)](([t,i])=>t[e(225)](e(319))&&!i[e(411)]),s=Array[e(283)](this[e(483)][e(424)][e(270)](t)[e(281)]({singleCharacters:!0}));if(0!=i[e(513)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(271)](":");if(n[e(387)][e(350)](t[e(429)])&&i[e(306)](),(t[e(371)][e(350)](n[e(373)])||t[e(371)][e(302)](n[e(373)]))&&(e(494)==r?t[e(286)]={userId:o}:e(269)==r&&(t[e(524)]={userId:o})),0==i[e(513)])break}return s}[oe(452)](t){const e=oe,i=new Map;for(let s=0;s<t[e(513)];s++)e(414)===t[s][e(356)]?(t[s][e(397)][e(488)]=s,t[s][e(397)][e(475)]=s):(e(259)===t[s][e(356)]?t[s][e(397)][e(488)]=s:e(443)===t[s][e(356)]&&(t[s][e(397)][e(475)]=s),i[e(275)](t[s].id,s));for(const s of i[e(238)]())e(259)===t[s][e(356)]?t[s][e(397)][e(475)]=i[e(239)](t[s][e(426)]):e(443)===t[s][e(356)]&&(t[s][e(397)][e(488)]=i[e(239)](t[s][e(426)]))}[oe(487)](t){const e=oe;for(let i=0;i<t[e(513)];i++){if(e(259)===t[i][e(356)])t[i][e(397)][e(488)]=i;else if(e(443)===t[i][e(356)]){t[i][e(397)][e(475)]=i;const s=t[i][e(397)][e(488)];t[s][e(426)]=t[i].id,t[i][e(426)]=t[s].id}else t[i][e(397)][e(488)]=i,t[i][e(397)][e(475)]=i,t[i][e(426)]=null;t[i][e(516)]||(t[i][e(516)]=[],t[i][e(227)]=[])}}[oe(385)](t,e){const i=oe,s=t[i(341)](t=>!t[i(286)]);for(let t=0;t<e[i(513)];t++)e[t][i(286)]&&(s[t][i(286)]=e[t][i(286)])}[oe(279)](t,e=null){const i=oe,s=this[i(355)][i(431)](t),n=e?this[i(355)][i(431)](e):null,r=this[i(369)](s,n),o=r[r[i(513)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(513)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(368)](e[i(267)]))if(e[i(267)][t][i(265)]){const s=e[i(267)][t][i(265)];s[i(458)]?(u[i(329)](t),l[i(517)](t)&&l[i(239)](t)[i(209)]==s[i(209)]?l[i(476)](t):l[i(275)](t,s)):l[i(517)](t)?(u[i(476)](t),l[i(476)](t)):(u[i(329)](t),l[i(275)](t,s))}else u[i(329)](t)}for(const t of u){const e=l[i(517)](t)&&!l[i(239)](t)[i(458)];let s=e?r[i(513)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(267)][t]){const s=e?o[i(267)][t][i(439)]:o[i(267)][t][i(254)];c[i(268)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(424)]={};for(const e of t[i(234)])a[i(275)](e.id,e);for(const e of u){const s=t[i(267)][e]?t[i(267)][e][i(520)]:"[]",n=t[i(267)][e]?t[i(267)][e][i(287)]:"[]";t[i(424)][e]={insertions:this[i(462)][i(262)](s),deletions:this[i(462)][i(262)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(283)](s[i(424)][t][i(520)][i(218)])[i(341)](([t])=>!t[i(225)](i(319))));let h=0;for(const o of r){const r=this[i(448)](o[i(424)][t][i(520)]);o==s?(e=r,n=e[i(513)],e[i(216)](t=>{t.id=h++}),this[i(487)](e)):this[i(385)](e,r);const a=e[i(341)](t=>!t[i(286)])[i(229)](t=>t.id);let c=0;const l=this[i(448)](o[i(424)][t][i(287)]);l[i(216)](t=>{t[i(524)]?t.id=n++:t.id=a[c++]}),this[i(487)](l),this[i(358)](e,i(286)),this[i(358)](l,i(524)),o==s&&this[i(280)](e,u),e=this[i(400)](e,l),this[i(452)](e),this[i(358)](e,i(524))}e=e[i(341)](t=>!(t[i(286)]&&t[i(524)]));const d=new Map(o[i(424)][t][i(287)][i(218)]),f=new Set(u[i(368)]());for(const t of d[i(368)]())f[i(476)](t);this[i(478)](e,f),this[i(242)](e),e=this[i(395)](e),e=this[i(386)](e),e=this[i(305)](e);const{root:m,changes:p}=this[i(490)](e,a,t);c[i(424)][t]=m;const v=l[i(239)](t);if(v){const e=a[i(239)](v[i(209)]),s=new Qt({author:e,type:v[i(458)]?i(329):i(404),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(444)](s),c[i(268)][t][i(512)]=s.id}c[i(500)]=c[i(500)][i(246)](p)}return c}[oe(280)](t,e){const i=oe;for(let s=0;s<t[i(513)];s++)for(const[n,r]of e)!r[i(411)]&&r[i(373)][i(350)](t[s][i(371)])&&t[s][i(516)][i(367)](n),r[i(387)][i(350)](t[s][i(429)])&&t[s][i(227)][i(367)](n)}[oe(400)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(513)]||r<e[i(513)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(367)](o);else if(a[i(524)]&&o[i(286)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(403)](t,n,e,r);s=s[i(246)](o),n=a,r=c}else a[i(524)]?(r++,s[i(367)](a)):(n++,s[i(367)](o))}return s}[oe(478)](t,e){const i=oe,s=[];for(let o=0;o<t[i(513)];o++){for(let r=0;r<t[o][i(516)][i(513)];r++){const a=t[o][i(516)][r];if(!e[i(517)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(459)!=c||i(494)!=u&&i(269)!=u||(s[i(444)]({type:u,name:a,userId:l}),t[o][i(516)][i(294)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(227)][i(513)];r++){const a=t[o][i(227)][r];if(!e[i(517)](a))continue;const{group:c,type:u}=n(a);if(i(459)!=c||i(494)!=u&&i(269)!=u)continue;t[o][i(227)][i(294)](r,1),r--;const l=s[i(332)](t=>t[i(214)]==a);l>-1&&s[i(294)](l,1)}}function n(t){const e=i,s=t[e(271)](":");return{group:s[0],type:s[1],subType:s[e(513)]>=5?s[2]:null,id:s[e(513)]<5?s[2]:s[3],authorId:s[e(513)]<5?s[3]:s[4],markerCount:6==s[e(513)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(513)];i++){if(t[e(286)]&&e(494)==s[i][e(356)]&&t[e(286)][e(209)]==s[i][e(209)])return t[e(359)]=s[i],void delete t[e(286)];if(!t[e(286)]&&!t[e(524)]&&e(269)==s[i][e(356)])return void(t[e(345)]=s[i])}}}[oe(358)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(275)](o.id,s);for(let s=0;s<t[i(513)];s++){if(i(524)==e&&t[s][i(286)]||i(286)==e&&t[s][i(524)])continue;if(i(414)==t[s][i(356)]){t[s][i(327)]=0;continue}const n=r[i(239)](t[s][i(426)]),o=r[i(239)](t[s].id);t[s][i(327)]=n-o}}[oe(369)](t,e,i=!1){const s=oe,n=[];let r=this[s(355)][s(496)](t),o=this[s(355)][s(496)](e);for(-1==o&&(o=this[s(355)][s(296)][s(513)],i=!1);r<o;)n[s(367)](this[s(355)][s(431)](r)),r++;return i&&n[s(367)](this[s(355)][s(431)](r)),n}[oe(403)](t,e,i,s){const n=oe,r=this[n(483)][n(424)][n(518)];let o=e;for(;t[o]&&t[o][n(286)];)o++;let a=s;for(;i[a]&&i[a][n(524)];)a++;u(t,e,o),u(i,s,a);const c=i[n(465)](s,a)[n(246)](t[n(465)](e,o));return c[n(374)]((t,e)=>t[n(208)]!=e[n(208)]?t[n(208)]-e[n(208)]:t[n(525)]!=e[n(525)]?t[n(525)]-e[n(525)]:t[n(327)]!=e[n(327)]?e[n(327)]-t[n(327)]:!!t[n(286)]!=!!e[n(286)]?-1==t[n(208)]||0==t[n(208)]?t[n(286)]?-1:1:t[n(286)]?1:-1:t[n(224)]-e[n(224)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(456)],c=!0;for(let n=e;n<i;n++)if(r[s(273)](t[n][s(397)])||(c=!1),t[n][s(397)][s(488)]<e&&(o=n),t[n][s(397)][s(475)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(208)]=n<=o?-1:n<a?0:1,t[n][s(224)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(327)]?t[i][s(525)]=u:(u++,t[i][s(525)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(208)]&&(t[n][s(525)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(327)]?t[e][s(525)]=u:(u--,t[e][s(525)]=u,u--)}}[oe(242)](t){const e=oe,i=new Map,s=this[e(483)][e(424)][e(518)];for(let n=1;n<t[e(513)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(414)==c[e(356)])continue;if(c[e(356)]!=u[e(356)])continue;if(!s[e(466)](u[e(397)])||s[e(502)](u[e(397)]))continue;if(!s[e(466)](c[e(397)])||s[e(502)](c[e(397)]))continue;if((t[n][e(286)]||t[n][e(359)])&&t[n-1][e(524)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(524)]||!t[n-1][e(286)]&&!t[n-1][e(359)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(525)]==o[e(525)],h=Math[e(235)](r[e(525)])<Math[e(235)](o[e(525)])&&0==o[e(327)];(l||h)&&(i[e(275)](o.id,r.id),t[e(294)](a,1),n--,r[e(286)]=!1)}for(let s=0;s<t[e(513)];s++)i[e(517)](t[s][e(426)])&&(t[s][e(426)]=i[e(239)](t[s][e(426)]))}[oe(395)](t){const e=oe,i=new Set(t[e(229)](t=>t.id));for(let s=0;s<t[e(513)];s++)i[e(517)](t[s][e(426)])||0==t[s][e(327)]||(t[s][e(222)]=!0);return t[e(341)](t=>!t[e(222)])}[oe(386)](t){const e=oe,i=new Set;for(let s=0;s<t[e(513)];s++){if(i[e(517)](t[s].id)&&t[s][e(524)]&&(t[s][e(222)]=!0),t[s][e(222)])continue;if(0==t[s][e(327)])continue;if(e(259)!=t[s][e(356)])continue;if(null==t[s][e(426)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(426)];)e(259)==t[n][e(356)]?r++:e(443)==t[n][e(356)]&&r--,n++;if(0!=r)if(t[s][e(524)])t[s][e(222)]=!0;else for(;n!=s;)t[n][e(524)]&&0!=t[n][e(327)]&&(t[n][e(222)]=!0,i[e(329)](t[n][e(426)])),n--}return t[e(341)](t=>!t[e(222)])}[oe(305)](t){const e=oe,i=this[e(483)][e(424)][e(518)];for(let s=0;s<t[e(513)];s++){if(!(t[s][e(286)]||t[s][e(359)]||t[s][e(524)]||t[s][e(345)]))continue;if(0==t[s][e(327)])continue;const n=t[s][e(397)];i[e(466)](n)||i[e(502)](n)||(t[s][e(286)]&&delete t[s][e(286)],t[s][e(359)]&&delete t[s][e(359)],t[s][e(345)]&&delete t[s][e(345)],t[s][e(524)]&&(t[s][e(222)]=!0))}return t[e(341)](t=>!t[e(222)])}[oe(490)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(483)][s(424)],c=a[s(518)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(513)];e++)if(s(259)===t[e][s(356)]){t[e][s(371)]=a[s(260)](n,f);const i=new X.ModelElement(t[e][s(397)][s(214)],t[e][s(397)][s(401)]());u[0][s(408)](i),f[s(367)](0),u[s(444)](i),t[e][s(429)]=a[s(260)](n,f)}else s(443)===t[e][s(356)]?(u[s(306)](),t[e][s(371)]=a[s(260)](n,f),f[s(463)](),f[f[s(513)]-1]++,t[e][s(429)]=a[s(260)](n,f)):(t[e][s(371)]=a[s(260)](n,f),d?d[s(388)]+=t[e][s(397)][s(336)]:d=new X.ModelText(t[e][s(397)][s(336)],t[e][s(397)][s(401)]()),t[e+1]&&s(414)===t[e+1][s(356)]&&v(d,t[e+1][s(397)])||(u[0][s(408)](d),d=null),f[f[s(513)]-1]+=t[e][s(397)][s(372)],t[e][s(429)]=a[s(260)](n,f));for(let e=0;e<t[s(513)];e++){const i=t[e][s(371)],n=t[e][s(429)];for(const n of t[e][s(516)])o[s(275)](n,{start:i,end:null});m(s(345),e,i,n),m(s(359),e,i,n),m(s(524),e,i,n),m(s(286),e,i,n);for(const i of t[e][s(227)]){const t=o[s(239)](i);t?t[s(387)]=n:o[s(275)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(483)][s(424)][s(278)](e[s(373)],e[s(387)]);n[s(218)][s(275)](t,i)}return r[s(374)]((t,e)=>{const i=s,r=n[i(218)][i(239)](i(319)+t.id),o=n[i(218)][i(239)](i(319)+e.id);return r[i(373)][i(276)](o[i(373)])?-1:r[i(373)][i(302)](o[i(373)])?1:r[i(387)][i(276)](o[i(387)])?-1:r[i(387)][i(302)](o[i(387)])?1:i(329)===t[i(356)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(209)]:null,d=i===t[o(513)]-1,f=h[e][0],m=c[o(378)](t[i][o(397)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(387)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(209)]!==u&&(l[e][o(387)]=n,f&&f[o(209)]===l[e][o(209)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(259)!==t[i][o(356)]||f&&f[o(209)]===u||h[e][o(444)]({userId:u,object:t[i][o(397)],change:l[e]}),o(443)===t[i][o(356)]&&f&&f[o(423)]===t[i][o(397)]&&(h[e][o(306)](),l[e]=f[o(468)])),l[e]&&d&&(l[e][o(387)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(397)],f=a[h(518)][h(466)](d)&&!a[h(518)][h(502)](d),m=t[h(223)]==o[h(291)]&&o[h(427)];if(f&&m)return;const p=a[h(278)](t,o),v=e[h(239)](u),g=new Qt({author:v,type:h(286)==l||h(359)==l?h(329):h(404),data:{isSuggestion:h(359)==l||h(345)==l},createdAt:new Date,rootName:i});r[h(367)](g),n[h(218)][h(275)](h(319)+g.id,p)}function v(t,e){const i=s,n=t[i(401)](),r=e[i(401)]();for(const t of n){if(t[1]!==e[i(365)](t[0]))return!1;r[i(248)]()}return r[i(248)]()[i(360)]}}[oe(335)](){const t=oe;this[t(483)][t(347)][t(232)](t(207))[t(398)]({view:t(309)}),this[t(483)][t(347)][t(232)](t(375))[t(221)]({model:t(309),view:e=>{const i=t,s=e[i(213)][i(271)](":")[1],n=this[i(340)](s);if(!n)return null;const r=i(329)==n[i(356)]?i(494):i(269),o=[i(330),i(303)+r];return n[i(336)][i(354)]&&o[i(367)](i(303)+r+i(514)),this[i(383)]==n&&o[i(367)](i(252)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(483)][t(347)][t(232)](t(207))[t(329)](e=>{const i=t;e.on(i(440),(t,e,s)=>{const n=i,r=e[n(482)][n(314)](0);if(!r||!r.is(n(231),n(315)))return;if(!s[n(352)][n(409)](r,{attributes:[n(432),n(486)]}))return;const o=e[n(526)][n(373)][n(223)];s[n(406)][n(307)](n(432),r[n(365)](n(432)),o),s[n(406)][n(307)](n(486),r[n(365)](n(486)),o)},{priority:i(425)})}),this[t(483)][t(347)][t(232)](t(207))[t(329)](e=>{const i=t;e.on(i(231),(t,e,s)=>{const n=i;if(!s[n(352)][n(409)](e[n(482)],{attributes:[n(432),n(486)]}))return;if(e[n(526)][n(411)])return;const r=e[n(526)][n(373)][n(223)];r[n(331)](n(432))||r[n(331)](n(381))||(s[n(406)][n(307)](n(432),e[n(482)][n(365)](n(432)),r),s[n(406)][n(307)](n(486),e[n(482)][n(365)](n(486)),r))},{priority:i(425)})}),this[t(483)][t(347)][t(232)](t(207))[t(437)]({view:{name:t(251),attributes:{vid:!0}},model:{key:t(381),value:e=>e[t(365)](t(381))}}),this[t(483)][t(424)][t(518)].on(t(412),(e,[,i])=>{const s=t;[s(432),s(486),s(381)][s(505)](i)&&(e[s(399)]=!0,e[s(293)]())},{priority:t(219)}),this[t(483)][t(347)][t(232)](t(321))[t(329)](e=>{const i=t;e.on(i(469),(t,e,s)=>{const n=i;if(" "!=e[n(397)][n(336)]||e[n(397)][n(291)][n(392)]>1)return;if(!s[n(352)][n(409)](e[n(397)],t[n(214)]))return;const r=s[n(406)],o=s[n(297)][n(413)](e[n(301)]);r[n(457)](o,r[n(435)](n(251)))})}),this[t(483)][t(347)][t(232)](t(321))[t(389)]({model:t(309)}),this[t(483)][t(230)][t(205)].on(t(261),function(e){const i=t,s=e[i(471)][i(239)](i(433));return(t,n,r)=>{const o=i,a=n[o(213)][o(271)](":")[1],c=s[o(340)](a);if(!c)return null;const u=o(329)==c[o(356)]?o(271):o(346);if(!r[o(352)][o(519)](n[o(508)],t[o(214)]))return;const l=n[o(508)][o(281)](),h=n[o(508)][o(373)],d=e[o(424)][o(518)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(397)];p=p||d[o(509)](e);const i=r[o(297)][o(460)](e);if(i&&i[o(323)](o(339)))return;o(443)==t[o(356)]&&d[o(466)](e)&&!d[o(502)](e)&&(e[o(240)]||h[o(430)]?f&&f[o(291)]==e||(f=e,g(t[o(371)]),v=!0):m=m||t[o(371)])}function g(t){const e=o,i=r[e(406)][e(493)](e(251),{class:e(303)+u}),a=r[e(297)][e(410)](t);c[e(336)][e(354)]&&r[e(406)][e(449)](e(303)+u+e(514),i),s[e(383)]==c&&r[e(406)][e(449)](e(252),i),r[e(406)][e(402)](a,i),r[e(297)][e(250)](i,n[e(213)])}p||v||!m||g(m)}}(this[t(483)]),{priority:t(473)}),this[t(483)][t(230)][t(205)].on(t(495),(e,i,s)=>{const n=t,r=s[n(297)][n(317)](i[n(213)]);if(r)for(const t of r)(t[n(522)](n(497))||t[n(522)](n(245)))&&(s[n(297)][n(320)](t,i[n(213)]),s[n(406)][n(404)](t))},{priority:t(473)}),this[t(483)][t(230)][t(205)].on(t(261),(e,i,s)=>{const n=t,r=i[n(213)][n(271)](":")[1],o=this[n(340)](r);if(!o)return null;const a=n(329)==o[n(356)]?n(271):n(346);if(s[n(352)][n(519)](i[n(508)],e[n(214)]))for(const t of i[n(508)][n(447)]()){if(!t.is(n(231),n(322)))continue;const e=s[n(406)][n(493)](n(251),{class:n(303)+a}),r=s[n(297)][n(410)](this[n(483)][n(424)][n(288)](t));o[n(336)][n(354)]&&s[n(406)][n(449)](n(303)+a+n(514),e),this[n(383)]==o&&s[n(406)][n(449)](n(252),e),s[n(406)][n(402)](r,e),s[n(297)][n(250)](e,i[n(213)])}},{priority:t(473)}),this[t(483)][t(424)][t(344)].on(t(468),()=>{const e=t;this[e(483)][e(230)][e(211)][e(468)](t=>{const i=e;for(const e of this[i(483)][i(424)][i(344)][i(243)]()){const s=this[i(483)][i(424)][i(344)][i(298)](e),n=this[i(483)][i(230)][i(211)][i(344)][i(298)](e);if(n){const e=s[i(365)](i(512));if(t[i(489)](i(310),n),t[i(472)](i(353),n),t[i(472)](i(417),n),t[i(472)](i(349),n),e){const s=this[i(340)](e);if(!s)return null;t[i(307)](i(310),e,n),t[i(449)](i(416)+s[i(356)],n),this[i(383)]==s&&t[i(449)](i(349),n)}}}})}),this[t(483)][t(347)][t(232)](t(207))[t(398)]({view:t(361),model:e=>t(467)+e,converterPriority:t(219)}),this[t(483)][t(347)][t(232)](t(207))[t(398)]({view:t(436),model:e=>t(274)+e,converterPriority:t(219)}),this[t(483)][t(347)][t(232)](t(321))[t(389)]({model:t(459),view:e=>({name:t(237)+e,group:t(459)}),converterPriority:t(219)}),this[t(483)][t(347)][t(232)](t(375))[t(221)]({model:t(459),view:e=>{const i=t,s=e[i(213)][i(271)](":")[1];return i(494)!=s&&i(269)!=s?null:{classes:[i(491),i(351)+s]}}}),this[t(483)][t(230)][t(205)].on(t(394),le(this[t(483)],t(346)),{priority:t(473)}),this[t(483)][t(230)][t(205)].on(t(415),le(this[t(483)],t(271)),{priority:t(473)}),this[t(483)][t(230)][t(205)].on(t(422),(e,i,s)=>{const n=t,r=s[n(297)][n(317)](i[n(213)]);if(r)for(const t of r)t.is(n(244))&&(s[n(297)][n(320)](t,i[n(213)]),s[n(406)][n(404)](t))},{priority:t(473)})}[oe(340)](t){const e=oe;return this[e(393)][e(239)](t)}[oe(504)](t){const e=oe;return this[e(342)]&&this[e(342)][e(277)](),this[e(342)]=new Jt(this[e(483)][e(236)],t),this[e(342)]}[oe(263)](){const t=oe;this[t(483)][t(424)][t(344)][t(376)][t(420)](t(309)),this.on(t(377),(e,i,s,n)=>{const r=t;n&&this[r(418)][r(404)](n),s&&(this[r(418)][r(329)]({view:s,stackId:r(328),position:{target:()=>{const t=r,e=this[t(483)][t(230)],i=this[t(340)](s[t(220)]);let n;if(i[t(336)][t(203)]){const s=e[t(211)][t(304)](i[t(479)]);n=Array[t(283)](s[t(325)]())}else{const i=this[t(483)][t(424)][t(218)][t(239)](t(319)+s[t(220)]);n=Array[t(283)](e[t(297)][t(317)](i[t(214)]))[t(229)](i=>e[t(211)][t(527)][t(348)](i))[t(229)](e=>Array[t(283)](e[t(325)]()))[t(210)]()}return this[t(484)]&&n[t(217)](e=>e[t(380)]-3<=this[t(484)].y&&e[t(481)]+3>=this[t(484)].y&&e[t(503)]-3<=this[t(484)].x&&e[t(343)]+3>=this[t(484)].x)||n[0]}}}),this[r(418)][r(441)](r(328)))}),this.on(t(285),(e,i,s,n)=>{const r=t;this[r(492)]=s?this[r(504)](s):null,this[r(483)][r(424)][r(468)](()=>{const t=r,e=this[t(483)][t(230)];n&&(n[t(336)][t(203)]?e[t(211)][t(468)](i=>{const s=t;i[s(472)](s(349),e[s(211)][s(344)][s(298)](n[s(479)]))}):e[t(382)](t(319)+n.id)),s&&(s[t(336)][t(203)]?e[t(211)][t(468)](i=>{const n=t;i[n(449)](n(349),e[n(211)][n(344)][n(298)](s[n(479)]))}):e[t(382)](t(319)+s.id))})}),this[t(455)](this[t(483)][t(230)][t(211)][t(344)],t(480),(e,i)=>{const s=t;if(this[s(383)])return;const n=this[s(324)](i[s(241)]),r=this[s(393)][s(239)](n);r?(this[s(484)]={x:i[s(295)].x,y:i[s(295)].y},this[s(492)]=this[s(504)](r)):(this[s(484)]=null,this[s(492)]=null)}),this[t(455)](this[t(483)][t(230)][t(211)][t(344)],t(308),(e,i)=>{const s=t,n=this[s(324)](i[s(241)]),r=this[s(393)][s(239)](n);r?(this[s(484)]={x:i[s(295)].x,y:i[s(295)].y},r===this[s(383)]?this[s(418)][s(523)]():this[s(383)]=r):(this[s(484)]=null,this[s(383)]=null)})}[oe(324)](t){const e=oe;do{const i=t[e(365)](e(310));if(i)return i;t=t[e(291)]}while(t);return null}[oe(396)](){const t=oe;this[t(483)][t(424)][t(468)](e=>{const i=t;for(const t of this[i(483)][i(424)][i(218)])e[i(446)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(352)][r(519)](s[r(508)],i[r(214)]))return;const o=s[r(508)][r(281)](),a=s[r(508)][r(373)],c=t[r(424)][r(518)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(397)];h=h||c[r(509)](e);const i=n[r(297)][r(460)](e);if(i&&i[r(323)](r(339)))return;r(443)==t[r(356)]&&c[r(466)](e)&&!c[r(502)](e)&&(e[r(240)]||a[r(430)]?u&&u[r(291)]==e||(u=e,f(t[r(371)]),d=!0):l=l||t[r(371)])}function f(t){const i=r,o=n[i(297)][i(410)](t),a=n[i(406)][i(493)](i(251),{class:i(351)+e});n[i(406)][i(402)](o,a),n[i(297)][i(250)](a,s[i(213)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(471)][e(239)](ue);this[e(370)]=!1,this[e(455)](i,e(249),()=>this[e(228)]()),this[e(455)](i,e(256),()=>this[e(228)]())}[oe(506)](){const t=oe,e=this[t(483)],i=e[t(471)][t(239)](ue),s=i[t(510)]?i[t(498)][t(474)]:null;e[t(247)][t(239)](t(391))[t(226)](s)}[oe(228)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(483)][t(471)][t(239)](ue),r=n&&s[t(407)](n[t(474)]);this[t(450)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(338)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(471)][i(239)](ue);this[i(370)]=!1,this[i(338)]=i(363)===e?1:-1,this[i(455)](s,i(249),()=>this[i(228)]()),this[i(455)](s,i(256),()=>this[i(228)]()),this[i(455)](s,i(285),()=>this[i(228)]())}[oe(506)](){const e=oe,i=this[e(483)],s=i[e(471)][e(239)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(383)]=n?s[e(498)][e(500)][e(239)](r+this[e(338)]):s[e(498)][e(500)][e(299)],s[e(383)][e(336)][e(203)])o=i[e(230)][e(211)][e(304)](s[e(383)][e(479)]);else{const t=i[e(424)][e(218)][e(239)](e(319)+s[e(383)].id);o=(0,K.getMarkerDomElement)(i[e(230)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(228)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(483)][t(471)][t(239)](ue);this[t(450)]=!!(r&&n&&s)&&(!e||(1===this[t(338)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=Tt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;!function(t){const e=ve,i=t();for(;;)try{if(687493===parseInt(e(176))/1+-parseInt(e(150))/2*(parseInt(e(171))/3)+parseInt(e(183))/4+-parseInt(e(158))/5+-parseInt(e(180))/6*(-parseInt(e(153))/7)+-parseInt(e(181))/8*(parseInt(e(159))/9)+-parseInt(e(152))/10*(-parseInt(e(166))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class pe extends It.View{constructor(t){const e=ve;super(t);const i=this[e(167)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(148)](e(157),!1),this[e(148)](e(172),!1),this[e(148)](e(147),0),this[e(148)](e(160),0),this[e(148)](e(163),!1),this[e(148)](e(174),!1),this[e(169)](e(177)).to(this,e(172),this,e(160),(t,e)=>t&&e>0),this[e(169)](e(156)).to(this,e(172),this,e(147),this,e(160),this,e(157),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(162));if(!n)return at(t,o(179));const a=at(t,o(154),n);return r?at(t,o(161),[s+1,n]):a}),s[e(148)]({label:at(t,e(149)),tooltip:!0,icon:_t.IconChevronUp}),n[e(148)]({label:at(t,e(173)),tooltip:!0,icon:_t.IconChevronDown}),s[e(169)](e(184)).to(this,e(174)),n[e(169)](e(184)).to(this,e(163)),s.on(e(146),()=>this[e(165)](e(146),e(155))),n.on(e(146),()=>this[e(165)](e(146),e(185))),this[e(170)]({tag:e(175),attributes:{class:["ck",e(178),e(188)]},children:[{tag:e(145),attributes:{class:[e(187)]},children:[{tag:e(145),attributes:{class:[e(168),i.if(e(177),e(182),t=>!t)]},children:[{text:i.to(e(157),i=>i?at(t,e(164))+": ":at(t,e(186))+": ")}]},{text:i.to(e(156))}]},new It.ToolbarSeparatorView,{tag:e(175),attributes:{class:[e(151)]},children:[s,n]}]})}}function ve(t,e){const i=ge();return(ve=function(t,e){return i[t-=145]})(t,e)}function ge(){const t=["Total","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation","span","execute","currentChangeNumber","set","Show previous change","2238tJwgJi","ck-revision-history-ui__changes-navigation__navigation","4700lfwbFR","1052751dqpqJc","NUMBER_OF_CHANGES","backward","_statusText","isNavigationMode","4734625aiwNvi","333xQDlre","numberOfChanges","X_OF_Y_CHANGES","Loading...","isForwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","fire","16423JYYufG","bindTemplate","ck-revision-history-ui__changes-navigation__label","bind","setTemplate","1203LNsnZc","isReady","Show next change","isBackwardNavigationEnabled","div","1313568wflBMT","_isStatusLabelVisible","ck-revision-history-ui","No changes","6MFQZoT","26296gHjdEq","ck-hidden","156340rSlild","isEnabled","forward"];return(ge=function(){return t})()}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Tt(),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-=106]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(506766===-parseInt(e(118))/1*(-parseInt(e(106))/2)+-parseInt(e(120))/3+parseInt(e(113))/4*(-parseInt(e(128))/5)+parseInt(e(117))/6+-parseInt(e(116))/7+-parseInt(e(130))/8+parseInt(e(114))/9*(parseInt(e(107))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(109);function Ie(){const t=["editor","view","hide","93175IkzeLm","editing","3359248fSmdVi","355646KkSRbH","8641690NouvXl","document","ck-editor__editable__loading-overlay","show","pluginName","RevisionViewerLoadingOverlay","4ekQmvy","18Cseqzg","change","2225195hIoaKT","207594ExXRaU","2iHqKBm","removeClass","2566173vPNddo","addClass","isOfficialPlugin","isPremiumPlugin","roots"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(111)](){return be(112)}static get[be(122)](){return!0}static get[be(123)](){return!0}[be(110)](){const t=be,e=this[t(125)][t(129)][t(126)];e[t(115)](i=>{const s=t;for(const t of e[s(108)][s(124)])i[s(121)](_e,t)})}[be(127)](){const t=be,e=this[t(125)][t(129)][t(126)];e[t(115)](i=>{const s=t;for(const t of e[s(108)][s(124)])i[s(119)](_e,t)})}}function Oe(t,e){const i=Te();return(Oe=function(t,e){return i[t-=264]})(t,e)}const xe=Oe;function Te(){const t=["556164AjsvUm","requires","Back to editing","860555Iozonk","showNextChange","isForwardNavigationEnabled","listenTo","commands","restoreRevision","356uFMVuN","isOfficialPlugin","1315097gCTuVJ","revisionHistory","hide","closeRevisionViewerCallback","editor","numberOfChanges","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","bind","isEnabled","set","show","forward","56194YSjCyB","add","plugins","isNavigationMode","RevisionViewerUI","execute","50090yurTyL","pluginName","get","isPremiumPlugin","2994WZDcop","9iPjBIz","init","isReady","Restore this revision","4289076FUrfFx","exitToEditing","config","componentFactory","currentChangeNumber","change:isReady","showPreviousChange","changesNavigation","16yAVFyP"];return(Te=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(240797===-parseInt(e(285))/1*(parseInt(e(274))/2)+-parseInt(e(284))/3*(parseInt(e(307))/4)+-parseInt(e(301))/5+-parseInt(e(298))/6+parseInt(e(309))/7*(parseInt(e(297))/8)+parseInt(e(289))/9+-parseInt(e(280))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[xe(281)](){return xe(278)}static get[xe(308)](){return!0}static get[xe(283)](){return!0}static get[xe(299)](){return[ue,Se]}[xe(286)](){const t=xe,e=this[t(265)],i=e[t(276)][t(282)](ue),s=e[t(276)][t(282)](Se);e.ui[t(292)][t(275)](t(290),i=>{const s=t,n=new It.ButtonView(i);return n[s(271)]({label:at(i,s(300)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(268)}),this[s(304)](n,s(279),()=>{const t=s;e[t(291)][t(282)](t(310))[t(264)]()}),n}),e.ui[t(292)][t(275)](t(306),i=>{const s=t,n=new It.ButtonView(i);return n[s(271)]({label:at(i,s(288)),withText:!0,tooltip:!0}),n[s(269)](s(270)).to(e[s(305)][s(282)](s(306))),this[s(304)](n,s(279),()=>e[s(279)](s(306))),n}),e.ui[t(292)][t(275)](t(296),s=>{const n=t,r=new pe(s),o=e[n(305)][n(282)](n(295)),a=e[n(305)][n(282)](n(302));return r[n(269)](n(267)).to(o,n(270)),r[n(269)](n(303)).to(a,n(270)),r[n(269)](n(287),n(293),n(266),n(277)).to(i),this[n(304)](r,n(279),(t,i)=>{const s=n;e[s(279)](s(273)===i?s(302):s(295))}),r}),s[t(272)](),i.on(t(294),(e,i,n)=>{const r=t;n?s[r(311)]():s[r(272)]()})}}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;function Me(){const t=["value","span","scrollWidth","1790860fJBcLj","103966pQMBXM","_updateTooltipText","2474472oBOSgy","input","bindTemplate","extendTemplate","element","4980978sBGhyw","set","_resizeObserver","Enter the revision name","ck-tooltip_multi-line","placeholder","7fiGwFt","clientWidth","listenTo","Revision name","destroy","14978700CwWKwp","5FeIhOK","_tooltipString","render","ck-revision-history-sidebar__revision-name","2038264FldPCA","fieldView","704322BjqAqz"];return(Me=function(){return t})()}const Ve=De;function De(t,e){const i=Me();return(De=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(497363===parseInt(e(267))/1*(-parseInt(e(278))/2)+-parseInt(e(273))/3+-parseInt(e(271))/4+parseInt(e(277))/5+-parseInt(e(285))/6*(parseInt(e(261))/7)+parseInt(e(280))/8+parseInt(e(266))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ee extends It.LabeledFieldView{[Ve(287)]=null;constructor(t,e){const i=Ve;super(t,e);const s=this[i(282)];this[i(286)]({label:at(t,i(264)),_tooltipString:""}),this[i(272)][i(290)]=at(t,i(288)),this[i(283)]({tag:i(275),attributes:{class:[i(270)],"data-cke-tooltip-text":s.to(i(268)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(289)}})}[Ve(269)](){const e=Ve;super[e(269)](),this[e(287)]=new t.ResizeObserver(this[e(272)][e(284)],()=>this[e(279)]()),this[e(263)](this[e(272)],e(281),()=>this[e(279)]())}[Ve(265)](){const t=Ve;super[t(265)](),this[t(287)]&&this[t(287)][t(265)]()}[Ve(279)](){const t=Ve,e=this[t(272)][t(284)];this[t(268)]=e[t(276)]>e[t(262)]&&e[t(274)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(){const t=["ck-revision-history-sidebar__revision-author__name","setTemplate","1584sptvDn","30EgxkOY","145rSWERb","15221448MCvPxR","push","span","670491GVoeVQ","Revision creator","name","1814Lxvvfw","0 0 11 10","269540KcFuZf","33UyhHcJ","401mCcaiY","ck-revision-history-sidebar__revision-author","Revision author","ck-revision-history-sidebar__revision-author_creator","set","93110rgVNZl","4903908kKZwKL","2601592KAVAfN"];return(Le=function(){return t})()}function Pe(t,e){const i=Le();return(Pe=function(t,e){return i[t-=477]})(t,e)}!function(t){const e=Pe,i=t();for(;;)try{if(998603===parseInt(e(480))/1*(-parseInt(e(499))/2)+-parseInt(e(496))/3+-parseInt(e(478))/4*(-parseInt(e(492))/5)+parseInt(e(491))/6*(-parseInt(e(487))/7)+parseInt(e(493))/8+parseInt(e(490))/9*(-parseInt(e(485))/10)+parseInt(e(479))/11*(parseInt(e(486))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class je extends It.View{constructor(t,e,i){const s=Pe;super(t);const n=new It.IconView;n[s(484)]({content:_t.IconUser,viewBox:s(477)});const r=["ck",s(481)];i&&r[s(494)](s(483));const o=[{tag:s(495),attributes:{class:["ck",s(488)],title:at(t,s(i?497:482))},children:[n,e[s(498)]]}];this[s(489)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["2866389fjYaJB","7574319dKBxwd","9505782NWOKlo","1rRzVjO","43534740ueAowO","28824uysIkA","toLocaleDateString","numeric","toLocaleTimeString","1658244nYViou","290425prTHxp","76YxocRL","497MnNvPv","long"];return(ze=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=422]})(t,e)}!function(t){for(var e=We,i=t();;)try{if(978381===-parseInt(e(425))/1*(parseInt(e(431))/2)+-parseInt(e(422))/3+parseInt(e(433))/4*(-parseInt(e(432))/5)+-parseInt(e(424))/6+parseInt(e(434))/7*(parseInt(e(427))/8)+parseInt(e(423))/9+parseInt(e(426))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ze=i(505),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Mt(),Ue.insert=At().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Dt();Ot()(Ze.A,Ue);Ze.A&&Ze.A.locals&&Ze.A.locals;function He(){const t=["listenTo","isVisible","model","isActionsDropdownOpen","add","menu","140528OlZvwj","13160EmMUWo","button","Name this revision","ck-revision-history-sidebar__revision__actions","bindTemplate","class","action","704895KeunVI","listView","extendTemplate","function","panelPosition","items","isEnabled","find","4113gzXqUn","name","Restore this revision","buttonView","isOpen","_action","312836rXXAeW","set","57980cJufvy","bind","change:isActionsDropdownOpen","ck-on","19243siMUiS","first","isReady","map","570SxEFcc","Show more items","3335125RBJsmY","children","execute","menuitem","locale","2wlkxvk","source","stopPropagation","Compare against selected"];return(He=function(){return t})()}function $e(t,e){const i=He();return($e=function(t,e){return i[t-=319]})(t,e)}!function(t){const e=$e,i=t();for(;;)try{if(491542===-parseInt(e(348))/1+parseInt(e(365))/2*(-parseInt(e(334))/3)+parseInt(e(350))/4+parseInt(e(360))/5+parseInt(e(358))/6*(-parseInt(e(354))/7)+parseInt(e(326))/8+parseInt(e(342))/9*(parseInt(e(327))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var qe=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Tt(),Be.insertStyleElement=Dt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Ge;function Je(){const t=["isHighlighted","ck-revision-history-sidebar__revision__date","element","ck-disabled","_createdAtFormatted","value","4984593HxIFUX","216130xHabLr","fire","setTemplate","fieldView","revisionNameView","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_selected","585hftgmt","ck-revision-history-sidebar__revision__controls-wrapper","srcElement","createdAt","10538FyllMJ","3718806XOUkeI","bindTemplate","isActionsDropdownOpen","unhighlight","deselect","from","revisionActionsView","7XiSyzI","creator","change","isEnabled","set","extendTemplate","render","_requireRevisionName","10745390STfMnc","filter","ck-revision-history-sidebar__revision_highlighted","bind",".ck-confirm-view","setName","2MlPWQl","div","uiLanguage","isReady","highlight","map","ck-reset","4woOmfU","length","isConfirm","38472RMJqYh","ck-revision-history-sidebar__revision-authors","name","1635873deMhaS","ck-revision-history-sidebar__actions_dropdown_open","listenTo","64744xmUMVG","_revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","span","ck-revision-history-sidebar__revision-wrapper","closest","authors","select","unshift","isSelected","220"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=433]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(985465===parseInt(e(486))/1*(-parseInt(e(473))/2)+-parseInt(e(439))/3+parseInt(e(480))/4*(parseInt(e(440))/5)+-parseInt(e(452))/6*(-parseInt(e(459))/7)+parseInt(e(489))/8*(-parseInt(e(447))/9)+parseInt(e(467))/10+-parseInt(e(451))/11*(-parseInt(e(483))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(444)];[Ye(458)];[Ye(490)];[Ye(466)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(453)],a=function(t,e){const i=r,s=Array[i(457)](e[i(495)])[i(468)](t=>t!=e[i(460)]);return e[i(460)]&&s[i(497)](e[i(460)]),s[i(478)](s=>new je(t,s,s==e[i(460)]))}(e,i);this.id=i.id,this[r(490)]=i,this[r(466)]=n,this[r(470)](r(485),r(450)).to(i),this[r(470)](r(437)).to(this,r(450),t=>{return i=e[r(475)],(s=t)[(n=We)(428)](i,{month:n(435),day:n(429)})+", "+s[n(430)](i,{hour:n(429),minute:n(429)});var i,s,n}),this[r(463)](r(498),!1),this[r(463)](r(433),!1),this[r(463)](r(454),!1),this[r(463)](r(476),!1),this[r(463)](r(462),!1),this[r(444)]=new Ee(e,It.createLabeledInputText),this[r(444)][r(443)][r(464)]({attributes:{maxlength:r(499)}}),this[r(444)][r(443)][r(470)](r(438)).to(this,r(485),t=>t||this[r(437)]),this[r(444)][r(470)](r(462)).to(this,r(498),this,r(462),(t,e)=>t&&e),this[r(458)]=s&&s[r(481)]?function(e,i){const s=$e,n=e[s(331)],r=e[s(364)],o=(0,It.createDropdown)(r);o[s(338)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=$e,s=t[i(364)],n={"Compare against selected":at(s,i(319)),"Name this revision":at(s,i(329)),"Restore this revision":at(s,i(344))};return e[i(357)](t=>{const e=i,s=n[t[e(343)]];return s&&s!==t[e(343)]&&(t[e(343)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(328),model:new It.UIModel({label:t[n(343)],class:t[n(332)],withText:!0,role:n(363),_action:t[n(333)]})};i[n(322)][n(351)](n(340)).to(e,n(323),i=>n(337)!=typeof t[n(340)]||!i||t[n(340)](e)),o[n(324)](i)}return o}(e,i);return e[s(351)](s(323)).to(o,s(346)),o[s(345)][s(349)]({label:at(r,s(359)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(336)]({attributes:{class:[s(330),n.if(s(323),s(353))]},on:{click:n.to(t=>t[s(367)]())}}),o.on(s(362),t=>{const i=s;e[i(356)]&&i(337)==typeof t[i(366)][i(347)]&&t[i(366)][i(347)](e)}),(0,It.addListToDropdown)(o,a,{role:s(325)}),o[s(320)](e,s(352),(t,n,r)=>{const a=s;if(r)for(const t of o[a(335)][a(339)]){const s=t[a(361)][a(355)],n=i[a(341)](t=>t[a(333)]===s[a(347)])[a(321)];t[a(321)]=void 0===n||n(e)}}),o}(this,s):"",this[r(458)]&&this[r(458)][r(470)](r(462)).to(this),this[r(442)]({tag:r(474),attributes:{class:["ck",r(479),r(493),o.if(r(482),r(491))]},children:[{tag:r(474),attributes:{class:["ck",r(479),r(445),o.if(r(462),r(436),t=>!t),o.if(r(498),r(446)),o.if(r(433),r(469)),o.if(r(454),r(487))]},children:[this[r(444)],{tag:r(492),attributes:{class:["ck",r(434)]},children:[{text:o.to(r(437))}]},{tag:r(474),attributes:{class:["ck",r(448)]},children:[{tag:"ul",attributes:{class:["ck",r(484)]},children:a}]},this[r(458)]],on:{click:o.to(t=>{const e=r;t[e(449)][e(494)](e(471))||this[e(476)]&&this[e(462)]&&this[e(441)](e(496),{id:this.id})})}}]})}[Ye(465)](){const t=Ye;super[t(465)]();const e=this[t(444)][t(443)][t(435)];this[t(488)](e,t(461),()=>{const i=t;this[i(466)]&&!e[i(438)]||this[i(441)](i(472),{id:this.id,name:e[i(438)]}),e[i(438)]||(e[i(438)]=this[i(485)]?this[i(485)]:this[i(437)])})}[Ye(496)](){this[Ye(498)]=!0}[Ye(456)](){this[Ye(498)]=!1}[Ye(477)](){this[Ye(433)]=!0}[Ye(455)](){this[Ye(433)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{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},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={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 Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(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=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const ji=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=ji.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),ji.set(i,s)),s}const Wi=new Map;const Zi=new Map;let Ui=null;const Hi=new Map;function $i(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):$s(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Zi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Zi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=js(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Ui=null,ji.clear(),Wi.clear(),Zi.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$i(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?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,js(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Pi[i];return s||(s=new Intl.ListFormat(t,e),Pi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.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 Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Li.create(t)}return Ds(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Di.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=js(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),Li.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+(qs(t)?ks:ys)[e-1]}function Is(t,e){const i=qs(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function xs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ls(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function js(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Es(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zs(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Us(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $s(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return qs(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ps(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ti,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function xn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Zs(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${Tn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=xn("weekYear","weekNumber","weekDay"),Vn=xn("year","ordinal"),Dn=RegExp(`${Nn.source} ?(?:${Tn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Zs(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function Ln(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Pn(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const jn=RegExp(`^T?${Nn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Wn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Us(i)),months:d(Us(s)),weeks:d(Us(n)),days:d(Us(r)),hours:d(Us(o)),minutes:d(Us(a)),seconds:d(Us(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Zn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Un(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Zs(e)):Zs(e),month:an.indexOf(i)+1,day:Zs(s),hour:Zs(n),minute:Zs(r)};return o&&(a.second=Zs(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Hn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $n(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Un(e,n,s,i,r,o,a);let f;return f=c?Zn[c]:u?0:tn(l,h),[d,new ts(f)]}const qn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,Ln,Pn),ir=Sn(Mn,Fn,Ln,Pn),sr=Sn(Vn,Fn,Ln,Pn),nr=Sn(Fn,Ln,Pn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,Ln,Pn);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[jn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$s(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)(Ps(e.values,t)||Ps(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function xr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}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])=>tn(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=jr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return xr(u);case"yy":case"kk":return xr(h,Xs);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return xr(c);case"ooo":case"SSS":return xr(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return xr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ps(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=Li.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Hs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ps(i,"a")&&Ps(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Pr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Zr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(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 qr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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 qr(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Zr(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=$s(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Zr(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Zr(n))}static fromMillis(t,e={}){if(Ds(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Zr(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=Ts(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?xs(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,$n])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[qn,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.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?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?Ts(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return $r(this,{ts:s,zone:t})}return fo.invalid(Zr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=xs({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...Ts(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Lr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ti}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&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=393]})(t,e)}function vo(){const t=["164420cxJENS","378HAQcXg","local","monthLong","month","year","1738106LbZgOB","toJSDate","hasSame","minus","2302113aQwPca","5039260RuqpbE","startOf","weekdayLong","setLocale","1NjMLOW","fromJSDate","week","day","8qGLmvI","5768427JpaQHH","3564108BFhrIm","toRelativeCalendar","5266096hZIDHr"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(399)](t)[i(397)](e),n=fo[i(409)](),r=n[i(416)]({days:1})[i(395)](i(401));let o,a;return s[i(415)](n,i(401))?(o=s[i(395)](i(401))[i(414)](),a=s[i(405)]()):s[i(415)](r,i(401))?(o=r[i(414)](),a=s[i(405)]()):s[i(415)](n,i(400))?(o=s[i(395)](i(400))[i(414)](),a=s[i(396)]||""):s[i(415)](n,i(412))?(o=s[i(395)](i(411))[i(414)](),a=s[i(410)]||""):(o=s[i(395)](i(412))[i(414)](),a=String(s[i(412)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(867231===parseInt(e(398))/1*(parseInt(e(413))/2)+parseInt(e(393))/3+-parseInt(e(406))/4+parseInt(e(394))/5+-parseInt(e(404))/6+parseInt(e(403))/7*(parseInt(e(402))/8)+-parseInt(e(408))/9*(parseInt(e(407))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["_requireRevisionName","span","ck-revision-history-sidebar__time-period","1008462MuMKZD","createCollection","setName","revisionViews","remove","removeRevision","div","setTemplate","_revisionActions","121220yuOnjm","45SZHLWz","addRevision","ck-revision-history-sidebar__time-period__revisions","delegate","find","554920yzaOzZ","59888ixHNNL","localizedPeriodName","add","5EoiuWF","locale","uiLanguage","ck-revision-history-sidebar__time-period__label","152936TVsbmr","187506nzLUZg","startDate","select","522740mqMysv","7eaIEGG"];return(bo=function(){return t})()}const wo=_o;function _o(t,e){const i=bo();return(_o=function(t,e){return i[t-=146]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(125328===-parseInt(e(160))/1+parseInt(e(174))/2+-parseInt(e(175))/3+-parseInt(e(146))/4*(-parseInt(e(170))/5)+-parseInt(e(151))/6*(parseInt(e(147))/7)+-parseInt(e(167))/8+parseInt(e(161))/9*(parseInt(e(166))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[wo(176)];[wo(154)];[wo(159)];[wo(148)];constructor(t,e,i,s){const n=wo;super(t);const r=go(e,this[n(171)][n(172)])[n(168)];this[n(176)]=e,this[n(154)]=this[n(152)](),this[n(159)]=i,this[n(148)]=s,this[n(154)][n(164)](n(177)).to(this),this[n(154)][n(164)](n(153)).to(this),this[n(158)]({tag:n(157),attributes:{class:["ck",n(150)]},children:[{tag:n(149),attributes:{class:["ck",n(173)]},children:[{text:r}]},{tag:n(157),attributes:{class:["ck",n(163)]},children:this[n(154)]}]})}[wo(162)](t){const e=wo,i=new Ke(this[e(171)],t,this[e(159)],this[e(148)]);this[e(154)][e(169)](i)}[wo(156)](t){const e=wo,i=this[e(154)][e(165)](e=>e.id===t.id);this[e(154)][e(155)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=474]})(t,e)}function To(){const t=["ck-revision-history-sidebar__header","194660mdHowC","33656780HmAsRJ","content","102gOLbnp","100770KRNFzk","129987DufYpE","Revision history","ck-reset_all","ck-revision-history-sidebar__header__label","2BRPKSz","div","span","7NMPNKr","2177667eAvoOZ","setTemplate","1222688BPMJGx","12263432scfpVe"];return(To=function(){return t})()}!function(t){const e=xo,i=t();for(;;)try{if(865901===parseInt(e(479))/1+-parseInt(e(484))/2*(parseInt(e(488))/3)+parseInt(e(490))/4+-parseInt(e(475))/5*(parseInt(e(478))/6)+-parseInt(e(487))/7*(parseInt(e(491))/8)+parseInt(e(480))/9+parseInt(e(476))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(477)]=_t.IconHistory,this[e(489)]({tag:e(485),attributes:{class:["ck",e(482),e(474)]},children:[i,{tag:e(486),attributes:{class:["ck",e(483)]},children:[at(t,e(481))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Do;function Vo(){const t=["div","297dHmwej","remove","highlightRevisions","get","find","selectRevision","select","ck-disabled","flat","some","_revisions","10717343rGPqGx","removeRevision","highlight","unhighlight","fire","startDate","bindTemplate","ck-revision-history-sidebar__timeline","ck-revision-history-sidebar","setName","isEnabled","6PfWkTO","createdAt","8294395MsdKsm","_removeRevision","deselect","setTemplate","render","delegate","revisionSelected","ck-reset","349526nSIGVK","64671Mxbrmg","set","_revisionActions","ck-rounded-corners","200hfYsEC","locale","21504wRvdgj","map","1197LweFPM","240230sRFlPR","timePeriodViews","232266LjBwAQ","uiLanguage","_getTimePeriodViewByStartDate","createCollection","addRevision","getTime","revisionViews","_addRevision","add","_requireRevisionName","revisionSetName"];return(Vo=function(){return t})()}function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(872560===-parseInt(e(532))/1+parseInt(e(488))/2+-parseInt(e(533))/3*(parseInt(e(481))/4)+parseInt(e(524))/5*(parseInt(e(522))/6)+parseInt(e(511))/7+parseInt(e(483))/8*(-parseInt(e(485))/9)+parseInt(e(486))/10*(-parseInt(e(500))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends It.View{[Mo(487)];[Mo(510)];[Mo(479)];[Mo(497)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(517)];this[n(487)]=this[n(491)](),this[n(487)][n(529)](n(506)).to(this),this[n(487)][n(529)](n(520)).to(this),this[n(510)]=e,this[n(479)]=i,this[n(497)]=s,this.on(n(506),(t,e)=>{const i=n;this[i(515)](i(530),e)}),this.on(n(520),(t,e)=>{const i=n;this[i(515)](i(498),e)}),this[n(478)](n(521),!1),this[n(527)]({tag:n(499),attributes:{class:["ck",n(531),n(480),n(519)]},children:[new No(t),{tag:n(499),attributes:{class:["ck",n(518),r.if(n(521),n(507),t=>!t)]},children:this[n(487)]}]})}[Mo(528)](){const t=Mo;super[t(528)]();for(const e of this[t(510)])this[t(495)](e);this[t(510)].on(t(496),(e,i)=>{this[t(495)](i)}),this[t(510)].on(t(501),(e,i)=>{this[t(525)](i)})}get[Mo(494)](){const t=Mo;return this[t(487)][t(484)](e=>e[t(494)][t(484)](t=>t))[t(508)]()}[Mo(505)](t){const e=Mo;for(const i of this[e(494)])t&&t.id===i.id?i[e(506)]():i[e(526)]()}[Mo(502)](t){const e=Mo;for(const i of this[e(494)])t[e(509)](({id:t})=>t===i.id)?i[e(513)]():i[e(514)]()}[Mo(495)](t){const e=Mo,i=go(t[e(523)],this[e(482)][e(489)])[e(516)];let s=this[e(487)][e(503)](0);s&&s[e(516)][e(493)]()===i[e(493)]()||(s=new Io(this[e(482)],i,this[e(479)],this[e(497)]),this[e(487)][e(496)](s)),s[e(492)](t)}[Mo(525)](t){const e=Mo,i=go(t[e(523)],this[e(482)][e(489)])[e(516)];this[e(490)](i)[e(512)](t)}[Mo(490)](t){const e=Mo;return this[e(487)][e(504)](i=>i[e(516)][e(493)]()===t[e(493)]())}}const Co=Lo;function Fo(){const t=["render","requires","timePeriodViews","focus","_handleDiffChange","RevisionsSidebar","288IIsIce","newRevisionId","revisionHistory.revisionActions","revisionHistory.viewerSidebarContainer","change:diff","4658760HtxLJW","revisionViews","revisionHistory.requireRevisionName","compareAgainstSelected","map","bind","select","diff","init","assign","isPremiumPlugin","fieldView","773927xmJgfi","_createRevisionActions","string","Restore this revision","_handleEditorDataReady","8NOCgZu","config","selectRevision","add","remove","Name this revision","getRevisionsInDiff","data","isOfficialPlugin","defaultRevisionActions","Compare against selected","getEarlierVisibleRevision","160XJpfzr","availableRevisionActions","editor","name","334618kFPAPL","locale","pluginName","restoreRevisionCallback","344zsWZpK","getRevision","306792vqGaAS","appendChild","ready","_handleRevisionSelected","isReady","plugins","5850614ImAgPw","_sidebarView","compare","isSelected","getIndex","isEnabled","12921EEVRBe","4136180MCFKuV","restoreRevision","_handleRevisionSetName","_revisionsRepository","isVisible","revisionSetName","repository","highlightRevisions","getLaterVisibleRevision","element","_revisions","_revisionViewer","revisionSelected","action","length","get","setName","nameRevision","listenTo","destroy","revisionHistory"];return(Fo=function(){return t})()}function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(720840===-parseInt(e(301))/1*(-parseInt(e(317))/2)+parseInt(e(335))/3*(parseInt(e(321))/4)+-parseInt(e(336))/5+parseInt(e(284))/6+-parseInt(e(329))/7+-parseInt(e(279))/8*(parseInt(e(323))/9)+parseInt(e(313))/10*(parseInt(e(296))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends G.Plugin{[Co(347)];[Co(339)];[Co(330)];static[Co(310)]=[Co(287),Co(337),Co(269)];static[Co(314)]=function(){const t=Co;return{compareAgainstSelected:{name:t(311),action:({plugins:e},i)=>{const s=t,n=e[s(267)](ue),r=n[s(342)];let o=n[s(291)][s(280)],a=i.id;r[s(333)](o)>r[s(333)](a)&&([o,a]=[a,o]),n[s(331)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(267)](ue);return!(n[s(342)][s(307)](n[s(291)])[s(350)]>2||i[s(332)])}},restoreRevision:{name:t(299),action:(e,{id:i})=>{const s=t;e[s(302)][s(267)](s(272))[s(320)](i)},isVisible:({plugins:e},i)=>!!e[t(267)](ue)[t(342)][t(344)](i.id)},nameRevision:{name:t(306),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(267)](ue),o=r[n(342)][n(312)](i);r[n(331)](i,o),s[n(276)](),s[n(295)][n(290)]()}}}}();static get[Co(319)](){return Co(278)}static get[Co(309)](){return!0}static get[Co(294)](){return!0}static get[Co(274)](){return[ue]}constructor(t){const e=Co;super(t),this[e(347)]=t[e(328)][e(267)](ue),this[e(339)]=this[e(347)][e(342)],this[e(330)]=null}[Co(292)](){const t=Co,e=this[t(339)][t(346)],i=this[t(297)](),s=this[t(315)][t(302)][t(267)](t(282));this[t(330)]=new Eo(this[t(315)][t(318)],e,i,this[t(315)][t(302)][t(267)](t(286))),this[t(330)].on(t(348),this[t(326)][t(289)](this)),this[t(330)].on(t(341),this[t(338)][t(289)](this)),this[t(330)][t(289)](t(334)).to(this[t(347)]),this[t(330)][t(275)].on(t(304),(e,i)=>{const s=t;i[s(285)].on(s(304),(t,e)=>{const i=s;e[i(289)](i(334),i(327)).to(this[i(347)])})}),this[t(330)][t(273)](),this[t(270)](this[t(315)][t(308)],t(325),this[t(300)][t(289)](this)),this[t(270)](this[t(347)],t(283),this[t(277)][t(289)](this)),s[t(324)](this[t(330)][t(345)])}[Co(271)](){const t=Co;this[t(330)][t(345)][t(305)](),this[t(330)][t(271)]()}[Co(300)](){const t=Co,e=this[t(339)][t(322)](0);if(e){const i=this[t(339)][t(312)](e.id);this[t(347)][t(331)](e,i)}}[Co(326)](t,e){const i=Co,s=this[i(339)][i(322)](e.id),n=this[i(339)][i(312)](s.id);this[i(347)][i(331)](s,n)}[Co(338)](t,e){const i=Co;this[i(339)][i(322)](e.id)[i(268)](e[i(316)])}[Co(277)](t,e,i){const s=Co,n=this[s(339)][s(307)](i);n[s(350)]>2?(this[s(330)][s(343)](n),this[s(330)][s(303)](null)):(this[s(330)][s(343)]([]),this[s(330)][s(303)](n[0]))}[Co(297)](){const t=Co,e=this[t(315)],i=Po[t(314)],s=e[t(302)][t(267)](t(281))||Po[t(310)];if(s[t(350)])return s[t(288)](s=>{const n=t,r=n(298)==typeof s?Object[n(293)]({},i[s]):s;return r[n(349)]=r[n(349)][n(289)](this,e),r[n(340)]&&(r[n(340)]=r[n(340)][n(289)](this,e)),r})}}function jo(){const t=["viewportTopOffset","bind","_elementReplacer","_toolbarConfig","render","config","349887JfkcpP","editor","stickyPanel","init","replace","destroy","getRoot","element","fillFromConfig","419384kpzzOS","focusTracker","setEditableElement","_initToolbar","viewportOffset","editable","name","279ZZVHTD","limiterElement","editing","12odDqRb","view","1594735DUqoXD","_view","fire","get","restore","toolbar","1181662XGSNih","rootName","1070629PGlBkd","isFocused","detachDomRoot","ready","isActive","attachDomRoot","491763SHopAV","623780FzAjyK","12mbdzFr","document","componentFactory","addToolbar"];return(jo=function(){return t})()}const zo=Wo;function Wo(t,e){const i=jo();return(Wo=function(t,e){return i[t-=276]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(357747===parseInt(e(300))/1+-parseInt(e(280))/2+parseInt(e(288))/3*(-parseInt(e(319))/4)+parseInt(e(321))/5*(-parseInt(e(290))/6)+-parseInt(e(282))/7+-parseInt(e(309))/8+parseInt(e(316))/9*(parseInt(e(289))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Zo extends It.EditorUI{[zo(322)];[zo(297)];[zo(296)];get[zo(320)](){return this[zo(322)]}constructor(e,i){const s=zo;super(e),this[s(322)]=i,this[s(297)]=(0,It.normalizeToolbarConfig)(e[s(299)][s(277)](s(279))),this[s(296)]=new t.ElementReplacer}get[zo(307)](){const t=zo;return this[t(320)][t(307)]}[zo(303)](t){const e=zo,i=this[e(301)],s=this[e(320)],n=i[e(318)][e(320)],r=s[e(314)],o=n[e(291)][e(306)]();r[e(315)]=o[e(281)],s[e(298)]();const a=r[e(307)];this[e(311)](r[e(315)],a),s[e(314)][e(295)](e(283)).to(this[e(310)]),n[e(287)](a),this[e(296)][e(304)](t,this[e(307)]),this[e(312)](),this[e(276)](e(285))}[zo(305)](){const t=zo;super[t(305)]();const e=this[t(320)],i=this[t(301)][t(318)][t(320)];this[t(296)][t(278)](),i[t(284)](e[t(314)][t(315)]),e[t(305)]()}[zo(312)](){const t=zo,e=this[t(320)];e[t(302)][t(295)](t(286)).to(this[t(310)],t(283)),e[t(302)][t(317)]=e[t(307)],e[t(302)][t(295)](t(294)).to(this,t(313),({top:t})=>t),e[t(279)][t(308)](this[t(297)],this[t(292)]),this[t(293)](e[t(279)])}}var Uo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Dt();Ot()(Uo.A,Ho);Uo.A&&Uo.A.locals&&Uo.A.locals;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=220]})(t,e)}var qo=$o;function Bo(){var t=["add","96108xGfizu","_editable","91kSxoKo","shouldToolbarGroupWhenFull","10eAnbhu","3891536tNySau","11ZDBeaJ","432pXwfsY","toolbar","1141clgsSd","67688VwNMRT","content","39166pZFVvi","1320930dMwsfp","stickyPanel","3sqBMPC","145292ChZwPQ","render","10722YYLCiV","editable","top","main"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(228352===parseInt(e(222))/1*(parseInt(e(228))/2)+parseInt(e(231))/3*(parseInt(e(232))/4)+parseInt(e(229))/5+parseInt(e(234))/6*(-parseInt(e(225))/7)+parseInt(e(226))/8*(-parseInt(e(223))/9)+parseInt(e(220))/10*(parseInt(e(221))/11)+parseInt(e(239))/12*(parseInt(e(241))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(240)];[qo(230)];[qo(224)];get[qo(235)](){return this[qo(240)]}constructor(t,e,i={}){var s=qo;super(t),this[s(230)]=new It.StickyPanelView(t),this[s(224)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(242)]}),this[s(240)]=new It.InlineEditableUIView(t,e)}[qo(233)](){var t=qo;super[t(233)](),this[t(230)][t(227)][t(238)](this[t(224)]),this[t(236)][t(238)](this[t(230)]),this[t(237)][t(238)](this[t(235)])}}const Jo=Ko;function Go(){const t=["updateSourceElement","document","8GcHoAi","initPlugins","527709KwjvjD","296358mqCYrK","fire","890916PFWlvX","config","11oYMLxi","get","data","sourceElement","915750WzdRLV","4171902DNBgzF","initialData","5yxsuuu","createRoot","ready","_ui","init","destroy","model","editing","view","8956089WRkRSp","create","2yxLNsc","locale","298950eZGwEb"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=284]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(642809===parseInt(e(285))/1*(-parseInt(e(307))/2)+parseInt(e(284))/3+parseInt(e(287))/4+parseInt(e(296))/5*(parseInt(e(309))/6)+-parseInt(e(294))/7+-parseInt(e(312))/8*(-parseInt(e(305))/9)+parseInt(e(293))/10*(parseInt(e(289))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(299)];get ui(){return this[Jo(299)]}constructor(t,e){const i=Jo;super(e),this[i(292)]=t,this[i(302)][i(311)][i(297)]();const s=new Yo(this[i(308)],this[i(303)][i(304)],{shouldToolbarGroupWhenFull:!0});this[i(299)]=new Zo(this,s)}[Jo(301)](){const t=Jo;return this[t(310)](),this.ui[t(301)](),super[t(301)]()}static async[Jo(306)](t,e){const i=Jo,s=new this(t,e);return await s[i(313)](),await s.ui[i(300)](t),await s[i(291)][i(300)](s[i(288)][i(290)](i(295))||""),s[i(286)](i(298)),s}}const Qo=ta;function ta(t,e){const i=ia();return(ta=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(368785===parseInt(e(643))/1*(parseInt(e(612))/2)+parseInt(e(634))/3+parseInt(e(586))/4+parseInt(e(555))/5*(parseInt(e(522))/6)+parseInt(e(552))/7*(parseInt(e(577))/8)+-parseInt(e(589))/9*(-parseInt(e(602))/10)+-parseInt(e(592))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ea=[Qo(537),Qo(633),Qo(528),Qo(568),Qo(534),Qo(635),Qo(580)];function ia(){const t=["14375427onIuxK","from","remove","_restoreRevision","config","getRevisionRootsAttributes","getAttributeKeys","keys","toLocaleDateString",".ck-ai-chat-history .ck-input","5934120SvQHnc","_enhanceCloseRevisionViewerCallback","getMarkersGroup","Autosave","_showRevisionViewer","removeMarker","Annotations","locale","long","update","70270KrcaXk","class","_cleanUp","$graveyard","adapter","display","setSelection","ck-tab-panel_disabled","rootName","define","saveRevision","restoreRevision","getRevision","document","showRevisionViewerCallback","pluginName","addRoot","hide","style","fromVersion","requires","RestrictedEditingMode","171951PUlfir","AIQuickActions","data","_viewerEditor","DocumentOutlineUI","addUser","revisionHistory.showRevisionViewerCallback","isOpen","users","7HyWJqs","includes","createRangeIn","bind","name","RevisionHistoryUtils","plugins","markers","RevisionHistory","repository","none","RevisionViewerIntegration","block","uiLanguage","parse","isReadOnly","AITabs","selection","change","result","RevisionTracker","toolbar","loadRevisionData","isRevisionViewerOpen","exitToEditing","isAttached","revisionHistory.viewerEditorElement","changesNavigation","error","disableReadOnlyMode","view","revisionHistory.requireRevisionName","querySelector","init","replace","isReady","map","getRoot","Restored","push","tabindex","revisionHistory.restoreRevisionCallback","revisionHistory","refreshPositioning","join","toVersion","lazyRoots"," ck-tab-panel_disabled","2796162gETjfX","get","_enhanceShowRevisionViewerCallback","indexOf","revision-history-viewer-opened","RevisionsRepository","AIChat","set","Users","_getRevisionViewerEditorConfig","getRevisions","revisionHistory.viewerContainer","AIBalloon","panelViews","restrictedEditingException","RevisionHistoryUI","revisionHistory.closeRevisionViewerCallback","_recalculatePageBreaks","DocumentOutline","removeAttribute","fromCharCode","editor","numeric","getUser","toJSON","PaginationLookup","catch","removeSelectionAttribute","enableReadOnlyMode","toLocaleTimeString","25781kkGaTY","enqueueChange","destroy","5GiDGgD","insert","element",".ck-ai-chat__prompt-input .ck-textarea","commands","RevisionViewer","has","isPremiumPlugin","createdAt","Dialog","revisionHistory.editorContainer","isAnonymous","roots","AIReviewMode","closeRevisionViewerCallback","translations","_closeRevisionViewer","creator","detachRoot","revision-history-missing-configuration","refreshVisibility","isEnabled","8RuRSNv","model","end","AIActions","save","AIChatHistory","setAttribute","then","create","1237032ifxtPk","addRevisionData","getRevisionDocumentData","9rdwAtk","_update","isOfficialPlugin"];return(ia=function(){return t})()}class sa extends G.Plugin{[Qo(493)];static get[Qo(627)](){return Qo(485)}static get[Qo(591)](){return!0}static get[Qo(562)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(510)](t=>String[e(542)](t))[e(518)]("")}super(t),this[e(493)]=e(579),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(637)];static get[Qo(627)](){return Qo(482)}static get[Qo(591)](){return!0}static get[Qo(562)](){return!0}static get[Qo(632)](){return[pt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(543)][i(596)][i(523)](i(516)))throw new t.CKEditorError(i(574),this);this[i(637)]=null,this[i(529)](i(497),!1),this[i(543)][i(596)][i(621)](i(640),t=>this[i(606)]({...t,translations:this[i(543)][i(609)][i(570)]})),this[i(543)][i(596)][i(621)](i(538),t=>this[i(571)](t)),this[i(543)][i(596)][i(621)](i(515),t=>this[i(595)](t)),this[i(543)][i(596)][i(621)](i(505),!1),this[i(524)](),this[i(603)]()}set[Qo(616)](t){const e=Qo;this[e(543)][e(480)][e(523)](e(494))[e(616)]=t}get[Qo(616)](){const t=Qo;return this[t(543)][t(480)][t(523)](t(494))[t(616)]}[Qo(587)](t){const e=Qo;return this[e(543)][e(480)][e(523)](e(494))[e(587)](t)}[Qo(624)](t){const e=Qo;return this[e(543)][e(480)][e(523)](e(527))[e(624)](t)}[Qo(532)](t){const e=Qo;return this[e(543)][e(480)][e(523)](e(527))[e(532)](t||{toJSON:!1})}[Qo(531)](){const e=Qo,i=this[e(543)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(480)][e(523)](e(494)),r=i[e(480)][e(523)](e(530))[e(642)];return s[e(495)]=[e(498),e(623),e(501)],delete s[e(520)],s[e(480)][e(513)](sa,ue,Ne,class extends G.Plugin{static get[e(632)](){return[ue,e(530)]}[e(507)](){const s=e,o=this[s(543)][s(480)][s(523)](s(530));for(const t of r)t[s(566)]||o[s(545)](t.id)||o[s(639)](t);const a=n[s(483)][s(532)]();let c=null;const u=this[s(543)][s(480)][s(523)](s(560));u[s(616)]=n[s(616)],u[s(646)](s(576)).to(n),this[s(543)][s(559)][s(523)](s(623))[s(646)](s(576)).to(i,s(489),t=>!t);for(const e of a){const i=null===e[s(572)];if(i&&e[s(519)]===e[s(631)])continue;const r=e[s(546)]();u[s(587)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(590)](r,o);else if(!o){const e=a[u(546)]();e.id=(0,t.uid)(),n[u(622)](e,a[u(519)])[u(584)](t=>{c=t})}}else e[u(590)](r,o)})}}},Po),s}[Qo(524)](){const t=Qo,e=this[t(543)][t(596)][t(523)](t(516))[t(626)];this[t(543)][t(596)][t(529)](t(640),async()=>{const i=t;this[i(543)][i(550)](i(526));const s=this[i(543)][i(480)][i(523)](i(494));if(this[i(543)][i(480)][i(561)](i(605))){const t=this[i(543)][i(480)][i(523)](i(605));await t[i(581)]()}else await s[i(611)]();if(this[i(543)][i(480)][i(561)](i(547))&&this[i(543)][i(480)][i(523)](i(547))[i(539)](),this[i(543)][i(480)][i(561)](i(564))){const t=this[i(543)][i(480)][i(523)](i(564));t[i(641)]&&t[i(629)]()}if(this[i(543)][i(480)][i(561)](i(490))){const t=this[i(543)][i(480)][i(523)](i(490))[i(504)][i(535)];for(const e of t)e[i(613)]=e[i(613)]?e[i(613)]+i(521):i(619);if(this[i(543)][i(480)][i(561)](i(528))){const t=document[i(506)](i(558));t&&t[i(583)](i(514),"-1")}if(this[i(543)][i(480)][i(561)](i(582))){const t=document[i(506)](i(601));t&&t[i(583)](i(514),"-1")}}const n=this[i(531)]();return e(n)[i(584)](t=>{const e=i;return this[e(637)]=t,this[e(543)][e(480)][e(561)](e(608))&&this[e(543)][e(480)][e(523)](e(608))[e(575)](),this[e(543)][e(480)][e(561)](e(540))&&(this[e(543)][e(480)][e(523)](e(638))[e(504)][e(557)][e(630)][e(617)]=e(484)),t})[i(548)](t=>(console[i(502)](t),this[i(543)][i(503)](i(526)),null))})}[Qo(603)](){const t=Qo,e=this[t(543)][t(596)][t(523)](t(516))[t(569)];this[t(543)][t(596)][t(529)](t(538),()=>{const i=t;if(this[i(543)][i(480)][i(561)](i(547))&&this[i(543)][i(480)][i(523)](i(547))[i(539)](),this[i(543)][i(480)][i(561)](i(540))&&(this[i(543)][i(480)][i(523)](i(638))[i(504)][i(557)][i(630)][i(617)]=""),this[i(543)][i(480)][i(561)](i(490))){const t=this[i(543)][i(480)][i(523)](i(490))[i(504)][i(535)];for(const e of t)e[i(613)]=i(619)===e[i(613)]?"":e[i(613)][i(508)](i(521),"");if(this[i(543)][i(480)][i(561)](i(528))){const t=document[i(506)](i(558));t&&t[i(541)](i(514))}if(this[i(543)][i(480)][i(561)](i(582))){const t=document[i(506)](i(601));t&&t[i(541)](i(514))}}return this[i(637)][i(480)][i(523)](i(560))[i(614)](),e(this[i(637)])[i(584)](()=>{const t=i;if(this[t(543)][t(503)](t(526)),this[t(637)]=null,this[t(543)][t(480)][t(561)](t(608))){const e=this[t(543)][t(480)][t(523)](t(608));e[t(575)](),e[t(517)]()}})})}[Qo(606)](t){const e=Qo,i=this[e(543)][e(596)][e(523)](e(565)),s=this[e(543)][e(596)][e(523)](e(533)),n=this[e(543)][e(596)][e(523)](e(500));return Xo[e(585)](n,t)[e(584)](t=>(s[e(630)][e(617)]=e(486),i[e(630)][e(617)]=e(484),this[e(497)]=!0,t))}[Qo(571)](t){const e=Qo,i=this[e(543)][e(596)][e(523)](e(565));return this[e(543)][e(596)][e(523)](e(533))[e(630)][e(617)]=e(484),i[e(630)][e(617)]="",this[e(497)]=!1,t[e(554)]()}async[Qo(595)](t){const e=Qo,i=this[e(543)],s=this[e(637)][e(480)][e(523)](e(560)),n=i[e(480)][e(523)](e(494)),r=i[e(480)][e(523)](e(479)),o=s[e(483)][e(624)](t);let a,c,u;try{await r[e(496)](o,this[e(616)]),a=r[e(588)](o),c=r[e(597)](o)}catch(t){return void console[e(502)](t)}i[e(578)][e(492)](t=>{const s=e;for(const e of Array[s(593)](i[s(578)][s(481)][s(604)](s(536))))t[s(607)](e)}),s[e(509)]=!1,i[e(578)][e(553)](t=>{const s=e;t[s(618)](null),t[s(549)](i[s(578)][s(625)][s(491)][s(598)]());const n=Object[s(599)](a);for(const e of i[s(578)][s(625)][s(567)])s(615)!=e[s(620)]&&e[s(499)]()&&!n[s(644)](e[s(620)])&&t[s(573)](e);for(const e of n){let n=i[s(578)][s(625)][s(511)](e);n&&n[s(499)]()||(n=t[s(628)](e));const r=c[e],o=Object[s(599)](r),u=a[e];for(const e of n[s(598)]())o[s(644)](e)||t[s(541)](e,n);for(const i of o)t[s(583)](i,c[e][i],n);t[s(594)](t[s(645)](n)),t[s(556)](i[s(636)][s(488)](u,n),n,0)}});const l=at(i[e(609)],e(512));return u=o[e(478)]?-1==o[e(478)][e(525)](l)?l+": "+o[e(478)]:o[e(478)]:l+": "+o[e(563)][e(600)](i[e(609)][e(487)],{month:e(610),day:e(544)})+", "+o[e(563)][e(551)](i[e(609)][e(487)],{hour:e(544),minute:e(544)}),await n[e(622)]({name:u}),s[e(509)]=!0,i[e(596)][e(523)](e(516))[e(569)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=454]})(t,e)}function oa(){var t=["295085yhKBIX","8VFtrew","20574306nFrBZS","169752OBvEOc","2UbbvWk","9292992TRfGEs","2413239tTcZjt","3065496ZBiYvb","989561eJQkKp"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(893167===-parseInt(e(457))/1*(parseInt(e(462))/2)+parseInt(e(455))/3+-parseInt(e(459))/4*(parseInt(e(458))/5)+-parseInt(e(454))/6+parseInt(e(456))/7+parseInt(e(461))/8+parseInt(e(460))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|
|
5
|
+
*/(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},102:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},297:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},929:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ae,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,N=void 0){const R=N?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,N);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,N));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,N));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,N);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),A(e,t,i,s,N),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),A(e,t,i,s,N),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),A(e,t,i,s,N),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,A(e,t,i,s,N),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),A(e,t,i,s,N),e}return t}function A(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function N(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return A(e,t),e}case u:{const e={};return A(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return N(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!W(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:W(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(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 s=t[e];return void 0===s?H(e)?Z(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(917105===parseInt(e(357))/1+-parseInt(e(350))/2+-parseInt(e(348))/3+parseInt(e(365))/4+-parseInt(e(346))/5+parseInt(e(362))/6+-parseInt(e(356))/7*(-parseInt(e(354))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[$(341)];[$(353)];[$(352)];[$(364)];[$(360)];[$(367)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(341)]=e[i(341)]||null,this[i(353)]=e[i(353)]||[],this[i(352)]=e[i(352)]||null,this[i(364)]=e[i(364)]||0,this[i(360)]=e[i(360)]||0,this[i(358)](i(355),e[i(355)]||""),this[i(358)](i(345),e[i(345)]||new Date),this[i(358)](i(359),e[i(359)]||{})}[$(363)](t){this[$(347)]({name:t})}[$(366)](t,e){const i=$,s=R(this[i(359)]);U(s,t,e),this[i(347)]({attributes:s})}[$(361)](t){const e=$,i=R(this[e(359)]);(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]&&H(e))return q(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(347)]({attributes:i})}[$(347)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(355),i(345),i(352),i(353),i(359),i(364),i(360),i(344)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(353)]&&(n[i(342)]=n[i(353)][i(343)](t=>t.id),delete n[i(353)]),this[i(349)](i(347),n,e))}[$(351)](){const t=$;return{id:this.id,name:this[t(355)],creatorId:this[t(341)]?this[t(341)].id:null,authorsIds:this[t(353)][t(343)](t=>t.id),diffData:this[t(352)],createdAt:this[t(345)],attributes:this[t(359)],fromVersion:this[t(360)],toVersion:this[t(364)]}}}function J(){const t=["createdAt","1365555RWLHvC","_update","2233863SFNKAi","fire","2376314pIxMln","toJSON","diffData","authors","56lFAKGc","name","696556TDPCPa","111301QnLTfC","set","attributes","fromVersion","removeAttribute","7248534qggGWB","setName","toVersion","4428192HfaMwX","setAttribute","model","creator","authorsIds","map","creatorId"];return(J=function(){return t})()}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["487146KkluBu","name","toJSON","editor","newRevisionId","fromCharCode","toVersion","getLaterVisibleRevision","getIndex","addRevision","1139872TPrfht","add","diffData","getRevision","map","792QwrZOO","oldRevisionId","getRevisionsIterator","21fVYrCs","reverse","466405bdfwGX","isNaN","authorsIds","earlier","20943JzXFlL","getEarlierVisibleRevision","RevisionsRepository","href","from","length","getRevisions","requires","Users","data","afterInit","get","8cqVEZm","push","24TJRmgW","pluginName","isPremiumPlugin","creatorId","isOfficialPlugin","fromVersion","2875570jeFqgV","attributes","22AxyRJY","_revisions","join","6064AaoYHv","getRevisionsInDiff","plugins","getUser","later","createRevision","8390043ZhKwIs","createdAt","32460zyrVaN"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(593981===-parseInt(e(251))/1+-parseInt(e(290))/2*(parseInt(e(256))/3)+-parseInt(e(279))/4*(parseInt(e(261))/5)+parseInt(e(241))/6*(parseInt(e(259))/7)+-parseInt(e(277))/8*(parseInt(e(238))/9)+-parseInt(e(285))/10*(parseInt(e(287))/11)+-parseInt(e(240))/12*(-parseInt(e(265))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(288)];static get[Q(272)](){return[K.Users]}static get[Q(280)](){return Q(267)}static get[Q(283)](){return!0}static get[Q(281)](){return!0}get[Q(270)](){const t=Q;return this[t(288)][t(270)]}constructor(e){const i=Q;super(e),this[i(288)]=new t.Collection}[Q(275)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[y([121])]:y([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=et;return t[e(255)](t=>String[e(246)](t))[e(289)]("")}!function(t){const i=u();r[i]=y([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||p(y([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1770249600;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=et,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(268)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=et;for(const e in window)if(window[y([78,117,109,98,101,114])][i(262)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[Q(237)](t){const e=Q,i=this[e(244)][e(292)][e(276)](e(273));return new Y({id:t.id,name:t[e(242)],creator:t[e(282)]?i[e(235)](t[e(282)]):null,diffData:t[e(253)]||t[e(274)],authors:t[e(263)][e(255)](t=>i[e(235)](t)),createdAt:new Date(t[e(239)]),attributes:t[e(286)],fromVersion:t[e(284)],toVersion:t[e(247)]})}[Q(250)](t,e=0){const i=Q;this[i(288)][i(252)](t,e)}[Q(254)](t){const e=Q;return this[e(288)][e(276)](t)}[Q(271)](t={toJSON:!1}){const e=Q,i=Array[e(269)](this[e(288)]);return i[e(260)](),t[e(243)]?i[e(255)](t=>t[e(243)]()):i}[Q(249)](t){const e=Q;return this[e(288)][e(249)](t)}[Q(266)](t){const e=Q,[,i]=this[e(258)](t,{direction:e(264)});return i}[Q(248)](t){const e=Q,[,i]=this[e(258)](t,{direction:e(236)});return i}[Q(291)](t){const e=Q,i=[];for(const s of this[e(258)](t[e(245)]))if(i[e(278)](s),s.id===t[e(257)])break;return i}*[Q(258)](t,{direction:e=Q(264),filter:i=()=>!0}={}){const s=Q,n=s(264)===e?1:-1;let r=this[s(288)][s(276)](t),o=this[s(249)](r);for(yield r;r;){if(o+=n,r=this[s(254)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=448]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(815008===parseInt(e(456))/1*(-parseInt(e(488))/2)+parseInt(e(491))/3*(parseInt(e(480))/4)+parseInt(e(467))/5*(-parseInt(e(515))/6)+parseInt(e(448))/7*(-parseInt(e(484))/8)+-parseInt(e(459))/9*(parseInt(e(473))/10)+-parseInt(e(477))/11+-parseInt(e(451))/12*(-parseInt(e(450))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[st(524)](){return st(486)}static get[st(490)](){return!0}static get[st(500)](){return!0}[st(457)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(513)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(464)](t,e){const i=st;if(t[i(505)]||!e)return;const s=this[i(498)][i(463)][i(523)](i(504)),n=await e[i(519)]({channelId:s,revisionId:t.id});t[i(505)]=n[i(505)]}[st(497)](t){const e=st,i={};for(const s in t[e(505)]){if(t[e(505)][s][e(460)]&&!t[e(505)][s][e(460)][e(503)])continue;const n=this[e(518)](JSON[e(452)](t[e(505)][s][e(482)])),r=this[e(498)][e(458)][e(461)][e(465)],o=new X.ViewDocumentFragment(r,n[e(502)](t=>this[e(507)](t,!1)));this[e(498)][e(485)][e(449)][e(492)](e(522)),i[s]=this[e(498)][e(485)][e(449)][e(476)](o),this[e(498)][e(485)][e(449)][e(492)](e(510))}return i}[st(517)](t){const e=st,i={};for(const s in t[e(505)])t[e(505)][s][e(460)]&&!t[e(505)][s][e(460)][e(503)]||(i[s]=t[e(505)][s][e(474)]||{});return i}[st(483)](t){const e=st;return this[e(457)][e(523)](t[e(506)])}[st(507)](t,e){const i=st,s=this[i(498)][i(458)][i(461)][i(465)];if(i(525)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(471)]||"r"==t[i(471)]?[]:t[i(466)][i(502)](t=>this[i(507)](t,e));const o=this[i(513)][i(523)](t[i(471)])||X.ViewElement,a=this[i(498)][i(485)][i(454)][i(495)];if(n=new o(s,t[i(455)],t[i(514)],r),"u"==t[i(471)]&&t[i(466)][0]){const r=t[i(466)][0];if(n[i(499)]=function(t){const e=i,s=t[e(508)](e(496));return s[e(487)]=r,s[e(472)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(521)](n);const e=Array[i(501)](a[i(493)](t,{bind:!1})),r=a[i(494)][i(508)](i(496));r[i(479)](...e),n=Array[i(501)](a[i(512)](r))[0]}}else if("r"==t[i(471)]&&t[i(466)][0]){const r=t[i(466)][0];if(n[i(499)]=function(t){t[i(487)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(521)](n);const e=Array[i(501)](a[i(493)](t,{bind:!1})),r=a[i(494)][i(508)](i(496));r[i(479)](...e);const o=Array[i(501)](a[i(512)](r));o[i(478)]>1?n[i(521)](o):n=o[0]}}if(t[i(462)])for(const[e,s]of t[i(462)])n[i(453)](e,s);const c=void 0===t[i(511)]?null:t[i(511)];return null!==c&&(n[i(469)]=()=>c),n}}[st(489)](t){const e=st,i=JSON[e(452)](t),s=this[e(498)][e(458)][e(461)][e(465)],n=new X.ViewDocumentFragment(s,i[e(502)](t=>this[e(507)](t,!0)));return this[e(498)][e(485)][e(520)](n)}[st(518)](t){const e=st;return(t=t[e(468)](t=>!t[e(455)]||e(516)!==t[e(455)]&&e(475)!==t[e(455)]))[e(509)](t=>{const i=e;i(525)!=typeof t&&(t[i(466)]=this[i(518)](t[i(466)]),t[i(514)]=t[i(514)][i(468)](t=>!t[0][i(470)](i(481))))}),t}}function ot(){const t=["178LbAiSl","_makeModelFromViewString","isOfficialPlugin","8250EOMQDH","useFillerType","viewChildrenToDom","domDocument","domConverter","div","getRevisionDocumentData","editor","render","isPremiumPlugin","from","map","isAttached","collaboration.channelId","diffData","constructor","_getViewFromDiffObj","createElement","forEach","default","fillerOffset","domChildrenToView","_typeCharToViewClass","attributes","12evlvef","revision-start","getRevisionRootsAttributes","_removeRevisionMarkers","getRevision","toModel","_appendChild","marked","get","pluginName","string","7vOwNej","processor","1660438eeftAT","456jdCcSK","parse","_setCustomProperty","htmlProcessor","name","157NXvtGs","_viewClassToTypeChar","editing","10955727OnJHBp","attachChange","view","customProperties","config","loadRevisionData","document","children","3146755OVEXDE","filter","getFillerOffset","startsWith","type","childNodes","10KXuwXi","attributesAfter","revision-end","toData","2937594orGJlz","length","append","476ZDctOj","data-revision-","insertions","_getTypeCharForViewElement","12870384MKBnkj","data","RevisionHistoryUtils","innerHTML"];return(ot=function(){return t})()}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let A=n(t),N=n(i);if(A===u&&(A=v),N===u&&(N=v),A!==N)return!1;switch(A){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(A){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&<(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&<(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=vt();return(mt=function(t,e){return i[t-=323]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(259510===parseInt(e(621))/1*(-parseInt(e(399))/2)+parseInt(e(634))/3+-parseInt(e(437))/4*(-parseInt(e(643))/5)+-parseInt(e(441))/6+parseInt(e(565))/7+-parseInt(e(528))/8+parseInt(e(406))/9*(parseInt(e(434))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vt);class pt extends G.Plugin{[ft(456)];[ft(369)];[ft(629)]=null;[ft(429)];[ft(579)]=null;[ft(470)];[ft(582)];[ft(326)];[ft(517)];[ft(536)];[ft(442)];[ft(403)];[ft(548)];[ft(531)];static get[ft(552)](){return ft(355)}static get[ft(341)](){return!0}static get[ft(348)](){return!0}static get[ft(590)](){return[K.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(429)]=this[i(574)][i(396)][i(530)](i(535)),this[i(536)]=this[i(574)][i(396)][i(530)](i(504)),this[i(470)]=new gt(this[i(574)]),this[i(326)]=this[i(574)][i(606)][i(530)](i(410))||i(395),this[i(517)]=new Map,this[i(531)]=null;const s=(0,t.uid)();this[i(582)]={history:this[i(574)][i(453)][i(449)][i(472)],getLatestVersion:()=>Promise[i(518)](this[i(574)][i(453)][i(449)][i(641)]),getCurrentRevisionId:()=>s},this[i(362)](i(601),!1),this[i(362)](i(556),!0),this[i(362)](i(510),!1),this[i(574)][i(606)][i(478)](i(540),!0),this[i(574)][i(380)][i(562)](i(538))[i(500)]({view:i(626)})}[ft(339)](){const t=ft;this[t(497)](),this[t(574)][t(383)].on(t(639),()=>{const e=t,i=this[e(429)][e(623)](0),s=i&&null===i[e(568)]?i:null;if(this[e(403)]=!!s&&this[e(574)][e(606)][e(530)](e(540)),this[e(574)][e(396)][e(637)](e(583))){const t=this[e(582)][e(592)](),n=this[e(429)][e(623)](t);if(n)this[e(548)]=n[e(405)],this[e(403)]=!1;else{const t=this[e(582)][e(472)][e(567)][e(509)](t=>!t[e(431)]),n=t?t[e(430)]:this[e(582)][e(472)][e(641)];i?(i[e(566)]<n&&i[e(515)]({toVersion:n}),this[e(403)]?(this[e(582)][e(592)]=()=>s.id,this[e(548)]=s[e(405)]):(this[e(548)]=i[e(566)],this[e(403)]=!1)):(this[e(548)]=n,this[e(403)]=!1)}}else s&&(this[e(574)][e(453)][e(449)][e(472)][e(641)]=Math[e(622)](s[e(566)],this[e(574)][e(453)][e(449)][e(472)][e(641)]),s[e(405)]===s[e(566)]?(0!==s[e(405)]&&(this[e(582)][e(592)]=()=>s.id),this[e(403)]=!1):this[e(403)]&&(this[e(582)][e(592)]=()=>s.id,this[e(548)]=s[e(405)])),this[e(403)]||(this[e(548)]=this[e(574)][e(453)][e(449)][e(641)]);this[e(470)][e(339)](this[e(582)][e(472)]),this[e(391)](this[e(548)]),this[e(402)](this[e(548)]),this[e(579)]&&this[e(370)]()}),this[t(523)](t(601)).to(this,t(510),t=>!t),this[t(456)]=this[t(574)][t(606)][t(530)](t(456));const e=this[t(574)];this[t(369)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(413)==r||i(365)==r||i(336)==r||i(496)==r||i(388)==r||i(443)==r||i(485)==r){delete e[n],s=r,clearInterval(this[i(369)]),this[i(369)]=void 0;break}}i(365)==s&&e[i(373)](i(418)),i(336)==s&&e[i(373)](i(521)),i(496)==s&&e[i(373)](i(325)),i(388)==s&&e[i(373)](i(324),i(503)),i(443)==s&&e[i(373)](i(329)),i(485)==s&&e[i(373)](i(563))},1e3)}async[ft(374)](){const t=ft;if(this[t(429)][t(460)]>0){const e=this[t(429)][t(623)](0),i=await this[t(435)](e),s=await this[t(359)](e);this[t(368)](i,s)}}[ft(541)](){const t=ft;super[t(541)](),this[t(369)]&&clearInterval(this[t(369)])}[ft(613)](t){this[ft(582)]=t}async[ft(546)](){const t=ft,e=await this[t(582)][t(393)]();if(e>this[t(629)][t(566)]){await this[t(481)]();const i=this[t(426)]({revision:this[t(629)],to:e});i[t(495)]=i[t(417)][t(440)](e=>this[t(574)][t(396)][t(530)](t(550))[t(390)](e)),this[t(629)][t(515)](i)}}async[ft(640)](e={},i=null){const s=ft,n=[];await this[s(481)](),this[s(403)]=!1,i>this[s(629)][s(566)]&&(i=null),null===i&&(i=await this[s(582)][s(393)]());const r=this[s(511)](i),o=this[s(426)]({from:r,to:i});if(this[s(629)][s(566)]<i){const t=this[s(426)]({revision:this[s(629)],from:i,to:i});t[s(495)]=[],t[s(417)]=[],t.id=this[s(629)].id,this[s(629)][s(515)](t,!0),delete t[s(495)],n[s(628)](t)}e[s(584)]=this[s(574)][s(396)][s(530)](s(550)).me.id,e[s(494)]=e[s(494)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(398)](e);n[s(628)](e);const c=this[s(429)][s(424)](a);if(0!==c){const t=this[s(429)][s(623)](c-1);if(t[s(405)]!==i){const r=this[s(470)][s(577)](i,t[s(566)]),o={id:t.id,diffData:r[s(352)],authorsIds:r[s(417)],authors:r[s(417)][s(440)](t=>this[s(574)][s(396)][s(530)](s(550))[s(390)](t)),fromVersion:i};t===this[s(629)]&&(o[s(416)]=new Date(e[s(416)][s(480)]()+10)),t[s(515)](o,!0),delete o[s(495)],n[s(628)](o)}}if(this[s(579)]){for(const t of n)this[s(433)](t.id,t,!0);this[s(370)]()}return a}[ft(398)](t){const e=ft,i=this[e(429)][e(499)](t);return this[e(579)]&&i.on(e(515),(t,i,s)=>{const n=e;s||(this[n(433)](i.id,i,!0),this[n(370)]())}),this[e(429)][e(493)](i,this[e(532)](i)),i}async[ft(435)](t){const e=ft;return await this[e(536)][e(635)](t,this[e(579)]),this[e(536)][e(435)](t)}async[ft(359)](t){const e=ft;return await this[e(536)][e(635)](t,this[e(579)]),this[e(536)][e(359)](t)}[ft(370)](){const t=ft;if(0===this[t(517)][t(342)])return;if(this[t(510)])return;let e=Array[t(524)](this[t(517)][t(351)]());this[t(517)][t(349)]();for(let i=0;i<e[t(460)];i++){const s=e[i];let n=!1;for(const e of Object[t(631)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(454)](t=>null!==t),!e[t(460)])return;for(let i=0;i<e[t(460)];i++){const s=e[i];void 0!==s[t(405)]&&void 0===s[t(566)]&&(s[t(566)]=this[t(429)][t(623)](s.id)[t(566)]),void 0!==s[t(566)]&&void 0===s[t(405)]&&(s[t(405)]=this[t(429)][t(623)](s.id)[t(405)])}const i=this[t(574)][t(606)][t(530)](t(410));this[t(510)]=!0,this[t(360)](),this[t(579)][t(474)](e,i)[t(498)](()=>{this[t(510)]=!1})[t(447)](e=>{const i=t;if(e)for(const t of e)this[i(573)]({id:t.id,createdAt:t[i(416)]});this[i(589)](),this[i(370)]()})}[ft(426)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(405)],i=null!==i?i:t[s(566)];const n=this[s(470)][s(577)](e,i),r={diffData:n[s(352)],authorsIds:n[s(417)],fromVersion:e,toVersion:i};if(!t||i!==t[s(566)]){const t=i-1,e=this[s(582)][s(472)][s(465)](t);r[s(416)]=e&&e[s(416)]||new Date}if(this[s(531)]&&e===this[s(531)][s(405)])for(const t of this[s(531)][s(495)])r[s(417)][s(357)](t.id)||r[s(417)][s(628)](t.id);return r}[ft(433)](t,e,i){const s=ft;if(this[s(517)][s(637)](t)){const n=this[s(517)][s(530)](t);e=i?{...n,...e}:{...e,...n}}this[s(517)][s(362)](t,e)}[ft(573)](t){const e=ft,i=this[e(429)][e(623)](t.id);if(t[e(416)]&&(t[e(416)]=new Date(t[e(416)])),t[e(417)]){const i=this[e(574)][e(396)][e(530)](e(550));t[e(495)]=t[e(417)][e(440)](t=>i[e(390)](t))}i[e(515)](t,!0)}[ft(391)](t){const e=ft,i=this[e(429)][e(623)](this[e(429)][e(460)]-1);if(i)this[e(326)]=i.id;else{const i=!this[e(574)][e(453)][e(449)][e(344)][e(509)](t=>this[e(574)][e(453)][e(612)](t)),s=this[e(574)][e(396)][e(530)](e(550)).me.id,n=at(this[e(574)][e(516)],e(i?372:602));this[e(502)]({from:t,to:t,id:this[e(326)],name:n,creatorId:s})}}[ft(402)](t){const e=ft,i=this[e(582)][e(592)]();this[e(629)]=this[e(429)][e(623)](i),this[e(629)]||(this[e(629)]=this[e(502)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(481)](){const t=ft;this[t(403)]&&!this[t(531)]&&(await this[t(536)][t(635)](this[t(629)],this[t(579)]),this[t(470)][t(394)](this[t(629)]),this[t(531)]={fromVersion:this[t(629)][t(405)],authors:this[t(629)][t(495)][t(389)]()})}[ft(368)](e,i){const s=ft;let n=this[s(574)][s(606)][s(530)](s(452)),r=this[s(574)][s(606)][s(530)](s(382));if(void 0===n){n={};for(const t of this[s(574)][s(453)][s(449)][s(347)]())n[t]=""}if(s(409)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(574)][s(453)][s(449)][s(347)]())r[t]={}}let o=!1;const a=Object[s(631)](n),c=Object[s(631)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(543)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(631)](r[t])[s(460)]>0){o=!0;break}}o||(o=c[s(522)](t=>!this[s(574)][s(453)][s(449)][s(445)](t))),o&&(0,t.logWarning)(s(363),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(574)][s(606)][s(362)](s(452),e),this[s(574)][s(606)][s(362)](s(382),i)}[ft(360)](){const t=ft;if(!this[t(442)]){const e=this[t(574)][t(396)][t(530)](t(450));this[t(442)]=e[t(537)](at(this[t(574)][t(516)],t(633)))}}[ft(589)](){const t=ft;this[t(442)]&&(this[t(574)][t(396)][t(530)](t(450))[t(415)](this[t(442)]),this[t(442)]=null)}[ft(532)](t){const e=ft,i=this[e(429)][e(439)]();i[e(488)]();let s=0;for(;s<i[e(460)];){const n=i[s];if(n===this[e(629)]){s++;continue}if(n.id===this[e(326)])break;const r=t[e(566)]-n[e(566)]||t[e(405)]-n[e(405)];if(r>0)break;if(r<0)s++;else{if(!t[e(568)]&&n[e(568)])break;if(n[e(568)]||!t[e(568)]){if(t[e(416)]>n[e(416)])break;s++}else s++}}return s}[ft(511)](t){const e=ft,i=this[e(429)][e(439)]();i[e(488)](),i[e(605)]();const s=i[e(509)](i=>i[e(566)]<=t)[e(566)];return s<this[e(548)]?this[e(548)]:s}[ft(502)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(426)]({from:e,to:i});o[r(494)]=t,o[r(584)]=s,o.id=n;const a=this[r(398)](o);return this[r(579)]&&this[r(433)](o.id,o,!0),a}[ft(497)](){const t=ft;this[t(574)][t(380)][t(562)](t(423))[t(376)]({model:t(626)})}}function vt(){const t=["isAttached","_fixRange","documentFragment","rootName","range","revisionHistoryLicenseKeyExpired","vid_end","customProperties","init","_touchedRoots","isOfficialPlugin","size","createRangeIn","roots","getCustomProperties","getTransformedByOperation","getRootNames","isPremiumPlugin","clear","createRange","values","diffData","position","deletions","RevisionTracker","graveyardPosition","includes","offsetSize","getRevisionRootsAttributes","_addPendingAction","outerHTML","set","editor-initial-data-replaced-with-revision-data","split","revisionHistoryLicenseKeyInvalid","rawElement","start","_replaceEditorDataWithRevisionData","_licenseKeyCheckInterval","sendBufferedUpdates","stringify","Empty document","_showLicenseError","afterInit","_processRootBeforeSave","markerToData","newValue","offset","uiElement","conversion","getChildren","rootsAttributes","data","key","_appendChild","_createFromRanges","_handleSplitOperation","revisionHistoryLicenseKeyNotAllowed","slice","getUser","_createInitialRevision","stickiness","getLatestVersion","loadState","initial","plugins","isAdd","addRevisionData","326834dbvfKx","render","insertion","_createCurrentRevision","_continueCurrentRevision","_calculateMetaData","fromVersion","198279LogGSF","marker","elementStart","string","collaboration.channelId","_idsRoots","_makeModelFromViewString","revisionHistoryLicenseKeyValid","createElement","remove","createdAt","authorsIds","invalid","childCount","previousPosition","_getBaseVids","_execute","dataDowncast","getIndex","changeRootAttribute","buildRevisionData","getAncestors","text","repository","baseVersion","_isInit","_transformMarkers","_bufferUpdate","320MbpwYW","getRevisionDocumentData","_makeIdsRoot","484NHRhRF","_baseIdsRoots","getRevisions","map","2181576QXBSNs","_pendingAction","revisionHistoryLicenseKeyEvaluationLimit","howMany","getRoot","_cloneOperation","then","vid","document","PendingActions","_handleRootOperation","initialData","model","filter","delete","licenseKey","vid_start","fillerOffset","_reset","length","sourcePosition","_baseRoots","getNodeByPath","item","getOperation","_lastFrom","oldRange","sort","_savedMetaData","_revisionDataBuilder","_getPreviousFrom","history","addRootAttribute","updateRevisions","children","_applyOperations","_prepareViewToSave","define","insert","getTime","_loadState","startsWith","removeRootAttribute","_getVidAttributeName","revisionHistoryLicenseKeyUsageLimit","_fixOperation","_revisionId","reverse","_removeMetaData","_handleInsertOperation","$graveyard","_handleRootAttributeOperation","addRevision","name","authors","revisionHistoryLicenseKeyDomainLimit","_setConversion","finally","createRevision","dataToMarker","getOperations","_makeRevision","RevisionHistory","RevisionHistoryUtils","clone","_touchedMarkers","nodeAfter","move","find","_isPendingUpdate","_getFromVersion","getWalker","getMovedRangeStart","domConverter","_update","locale","_bufferedUpdates","resolve","deletion","createPositionAfter","expired","some","bind","from","_diffRootsAttributes","end","path","2393824LinwRJ","toView","get","_loadedStateData","_findInsertionIndex","_getState","isEqual","RevisionsRepository","_utils","add","upcast","insertions","revisionHistory.resumeUnsavedRevision","destroy","keepParagraph","trim","_setAttribute","_saveMetaData","update","reInit","_startingVersion","_baseRootsAttributes","Users","nodes","pluginName","attachChange","_fixPosition","parent","isEnabled","$text","getRange","_generateTape","getAttributes","_handleMoveOperation","for","usageLimit","userId","2341374ZuasOD","toVersion","_operations","creator","getFillerOffset","htmlProcessor","_touched","_handleMarkerOperation","setRevisionData","editor","createPositionBefore","createPositionAt","getData","_getTypeCharForViewElement","adapter","fromEntries","_markers","_source","RealTimeCollaborationClient","creatorId","_handleOperation","root","detachRoot","createPositionFromPath","_removePendingAction","requires","NEGATIVE_INFINITY","getCurrentRevisionId","revision:","getAttribute","insertionPosition","attributesAfter","innerHTML","_clone","_markChanges","type","isReady","Initial revision","merge","_lastTo","shift","config","reinsert","splitPosition","domDocument","_startingRevisionId","_authorId","hasContent","setSource","_copyMarkers","attributesBefore","_insertChild","paragraph","_getViewJson","newRange","_handleMergeOperation","3vOzNoO","max","getRevision","addRoot","_diffRoots","revision","_isAttached","push","currentRevision","targetPosition","keys","elementEnd","PENDING_ACTION_REVISION_HISTORY","450324fGAXsY","loadRevisionData","getChild","has","element","ready","saveRevision","version","markers","9215UdjDvG","tableCell","featureNotAllowed","domainLimit","_initialRevisionId","$comment","affectsData","evaluationLimit","source"];return(vt=function(){return t})()}class gt{[ft(574)];[ft(330)];[ft(469)];[ft(466)];[ft(604)];[ft(581)];[ft(625)];[ft(525)];[ft(462)];[ft(549)];[ft(411)];[ft(438)];[ft(571)];[ft(506)];[ft(340)];[ft(487)];[ft(610)];constructor(t){const e=ft;this[e(574)]=t,this[e(469)]=new Map,this[e(466)]=-1,this[e(604)]=-1,this[e(581)]=new Map,this[e(625)]=new Map,this[e(525)]=new Map,this[e(462)]=new Map,this[e(549)]=new Map,this[e(411)]=new Map,this[e(438)]=new Map,this[e(571)]=new Map,this[e(506)]=new Map,this[e(340)]=new Map,this[e(487)]=1}[ft(339)](t){const e=ft;this[e(330)]=t;const i=new Map,s=new Map,n=this[e(574)][e(453)][e(449)][e(344)][e(440)](t=>t[e(334)]);for(const t of n){const n=this[e(574)][e(453)][e(449)][e(445)](t),r=yt(n);i[e(362)](t,r),s[e(362)](t,Object[e(580)](n[e(560)]()))}const r=Array[e(524)](this[e(574)][e(453)][e(642)])[e(440)](t=>[t[e(494)],t[e(558)]()]),o=this[e(330)][e(641)];this[e(545)](o,i,r,s),this[e(610)]=this[e(487)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(362)](t,i),c[e(362)](t,{})}this[e(545)](Number[e(591)],a,[],c)}[ft(577)](t,e){const i=ft;if(this[i(466)]===t&&this[i(604)]<=e)this[i(469)][i(342)]>1&&this[i(489)](this[i(604)]),this[i(476)](this[i(604)],e,!0);else{if(!this[i(469)][i(637)](t)){const e=this[i(471)](t);this[i(404)](e,t,!1)}this[i(404)](t,e,!0)}return this[i(466)]=t,this[i(604)]=e,this[i(533)]()}[ft(394)](t){const e=ft;if(!this[e(469)][e(637)](t[e(405)])){const i=this[e(471)](t[e(405)]);this[e(404)](i,t[e(405)],!1)}this[e(404)](t[e(405)],t[e(566)],!1);const i=this[e(574)][e(396)][e(530)](e(504));this[e(459)](),this[e(466)]=t[e(405)],this[e(604)]=t[e(566)];for(const s in t[e(352)]){const n=t[e(352)][s][e(553)],r=R(t[e(352)][s][e(615)])||{},o=i[e(412)](t[e(352)][s][e(354)]);o[e(334)]=s,o[e(627)]=!n||!n[e(331)],o[e(331)]=()=>o[e(627)],this[e(462)][e(362)](s,o),this[e(549)][e(362)](s,r),n&&this[e(340)][e(362)](s,n);const a=this[e(436)](o);this[e(438)][e(362)](s,a);for(const[t,i]of o[e(642)]){if(!t[e(482)](e(593)))continue;const s=t[e(364)](":")[2];for(const t of i[e(512)]({singleCharacters:!0})){const i=this[e(484)](t),n=e(632)==t[e(600)]?t[e(420)][e(527)][e(389)](0,-1):t[e(420)][e(527)],r=a[e(463)](n)[e(594)](i);this[e(571)][e(362)](r,{userId:s})}o[e(642)][e(455)](t)}}this[e(610)]=this[e(487)];const s=[...Array(this[e(487)])[e(631)]()][e(389)](1)[e(454)](t=>!this[e(571)][e(637)](t));let n=0;const r=new Map;for(const o in t[e(352)]){const a=t[e(352)][o][e(553)],c=R(t[e(352)][o][e(596)])||{},u=i[e(412)](t[e(352)][o][e(539)]);u[e(334)]=o,u[e(627)]=!a||a[e(331)],u[e(331)]=()=>u[e(627)],this[e(625)][e(362)](o,u),this[e(525)][e(362)](o,c);const l=this[e(436)](u,Number[e(591)]);this[e(411)][e(362)](o,l),r[e(362)](o,u[e(331)]()?c:{});for(const[t,i]of u[e(642)]){if(!t[e(482)](e(593)))continue;const s=t[e(364)](":")[2];for(const t of i[e(512)]({singleCharacters:!0})){const i=this[e(484)](t),n=this[e(487)]++,r=e(632)==t[e(600)]?t[e(420)][e(527)][e(389)](0,-1):t[e(420)][e(527)];l[e(463)](r)[e(544)](i,n),this[e(571)][e(362)](n,{userId:s})}u[e(642)][e(455)](t)}for(const t of this[e(574)][e(453)][e(343)](u)[e(512)]({singleCharacters:!0})){const i=this[e(484)](t),r=e(632)==t[e(600)]?t[e(420)][e(527)][e(389)](0,-1):t[e(420)][e(527)],o=l[e(463)](r);o[e(594)](i)>0||o[e(544)](i,s[n++])}for(const[t,i]of u[e(642)])t[e(482)](e(593))||this[e(581)][e(362)](t,i)}const{roots:o}=this[e(469)][e(530)](t[e(405)]),{roots:a}=this[e(469)][e(530)](t[e(566)]),c=yt(o[e(530)](e(491)));this[e(462)][e(362)](e(491),c),this[e(438)][e(362)](e(491),this[e(436)](c,Number[e(591)]));const u=yt(a[e(530)](e(491)));this[e(625)][e(362)](e(491),u),this[e(411)][e(362)](e(491),this[e(436)](u));const l=Array[e(524)](this[e(625)])[e(440)](([t,e])=>[t,yt(e)]);this[e(545)](this[e(604)],l,this[e(581)],r)}[ft(547)](){const t=ft;this[t(459)](),this[t(466)]=-1,this[t(604)]=-1,this[t(469)][t(349)](),this[t(339)](this[t(330)])}[ft(545)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(362)](t,{start:e[n(367)][n(505)](),end:e[n(526)][n(505)](),rootName:e[n(586)][n(334)]});this[n(469)][n(362)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(489)](t){const e=ft;this[e(469)][e(455)](t)}[ft(459)](){const t=ft;this[t(571)][t(349)](),this[t(506)][t(349)](),this[t(340)][t(349)](),this[t(625)][t(349)](),this[t(525)][t(349)](),this[t(462)][t(349)](),this[t(549)][t(349)](),this[t(411)][t(349)](),this[t(438)][t(349)](),this[t(581)][t(349)](),this[t(487)]=1,this[t(610)]=this[t(487)]}[ft(436)](t,e=null){const i=ft;let s=null;t.is(i(333))||(s=new X.ModelElement(t[i(494)],{vid_start:null===e?this[i(487)]++:e++}));const n=[];for(const s of t[i(381)]())if(s.is(i(638))){n[i(628)](this[i(436)](s,e));const t=n[n[i(460)]-1];null!==e&&(e=t.is(i(638),i(557))?t[i(594)](i(448))+1:t[i(594)](i(337))+1)}else for(let t=0;t<s[i(358)];t++)n[i(628)](new X.ModelElement(i(557),{vid:null===e?this[i(487)]++:e++}));if(t.is(i(333))){const e=kt(t[i(334)]);return e[i(616)](0,n),e}return s[i(544)](i(337),null===e?this[i(487)]++:e++),s[i(616)](0,n),s}[ft(404)](t,e,i){const s=ft;this[s(459)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(469)][s(530)](t);this[s(462)]=new Map(n),this[s(549)]=new Map(R(o));for(const[t,e]of this[s(462)])if(s(491)!==t&&(this[s(625)][s(362)](t,yt(e)),this[s(525)]=new Map(R(o)),i)){const i=this[s(487)];this[s(411)][s(362)](t,this[s(436)](e)),this[s(438)][s(362)](t,this[s(436)](e,i))}this[s(610)]=this[s(487)],this[s(625)][s(362)](s(491),yt(this[s(462)][s(530)](s(491)))),i&&this[s(411)][s(362)](s(491),this[s(436)](this[s(462)][s(530)](s(491))));for(const[t,e]of r){const i=this[s(462)][s(530)](e[s(334)]),n=this[s(625)][s(530)](e[s(334)]),r=new X.ModelRange(this[s(554)](e[s(367)],i),this[s(554)](e[s(526)],i)),o=this[s(332)](r,n);i[s(642)][s(362)](t,r),this[s(581)][s(362)](t,o)}this[s(476)](t,e,i)}[ft(476)](t,e,i){const s=ft;for(const n of this[s(330)][s(501)](t,e))this[s(585)](n,i);for(const t of this[s(625)][s(351)]())t[s(642)][s(349)]();for(const[t,e]of this[s(581)])this[s(625)][s(530)](e[s(586)][s(334)])[s(642)][s(362)](t,e[s(505)]());const n=new Map,r=new Map;for(const[t,e]of this[s(625)])n[s(362)](t,yt(e)),r[s(362)](t,this[s(525)][s(530)](t));this[s(545)](e,n,this[s(581)],r)}[ft(471)](t){const e=ft,i=Array[e(524)](this[e(469)][e(631)]());i[e(468)]((t,e)=>t-e),i[e(488)]();for(const e of i)if(e<t)return e;return Number[e(591)]}[ft(614)](t,e){const i=ft,s=Array[i(524)](e[i(642)])[i(440)](([e,s])=>[e,this[i(332)](s,t)]);t[i(642)]=new Map(s)}[ft(432)](t){const e=ft;for(const i of this[e(581)][e(351)]()){const s=i[e(346)](t),n=X.ModelRange[e(386)](s);i[e(367)]=n[e(367)],i[e(526)]=n[e(526)]}}[ft(585)](t,e){const i=ft;if(i(624)!=t[i(600)]&&i(587)!=t[i(600)]){if(i(479)==t[i(600)]){const s=t[i(353)][i(586)][i(334)];this[i(625)][i(637)](s)||(this[i(625)][i(362)](s,kt(s,!0)),this[i(525)][i(362)](s,{}),e&&this[i(411)][i(362)](s,kt(s,!0)))}else{if(i(473)==t[i(600)]||i(483)==t[i(600)]||i(425)==t[i(600)])return void this[i(492)](t);i(407)==t[i(600)]&&this[i(572)](t)}if(i(407)!==t[i(600)]){const e=this[i(446)](t,this[i(625)]);e[i(422)](),this[i(432)](e)}if(e)switch(t[i(600)]){case i(479):this[i(490)](t);break;case i(508):case i(415):case i(607):this[i(561)](t);break;case i(603):this[i(620)](t);break;case i(364):this[i(387)](t)}}else this[i(451)](t,e)}[ft(446)](t,e){const i=ft,s=t[i(505)]();return s[i(611)]=t[i(611)],this[i(486)](s,e),s}[ft(421)](t){const e=ft;return t[e(440)](t=>{const i=e,s=this[i(484)](t);return Number(t[i(464)][i(594)](s))})}[ft(559)](t,e){const i=ft;if(t.is(i(638),i(557)))e[i(628)]({item:t,type:i(428)});else{t.is(i(638))&&e[i(628)]({item:t,type:i(408)});for(const s of t[i(381)]())this[i(559)](s,e);t.is(i(638))&&e[i(628)]({item:t,type:i(632)})}return e}[ft(533)](){const t=ft,e=new Map(this[t(571)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(462)][t(631)](),...this[t(625)][t(631)]()]);a[t(455)](t(491));for(const e of a){const i=this[t(625)][t(530)](e)||kt(e,!1),s=this[t(462)][t(530)](e)||kt(e,!1);i[t(331)]()||s[t(331)]()?(n[t(539)][e]=yt(i),n[t(354)][e]=yt(s),this[t(614)](n[t(354)][e],s),this[t(614)](n[t(539)][e],i),r[t(539)][e]=this[t(559)](this[t(411)][t(530)](e),[]),r[t(354)][e]=this[t(559)](this[t(438)][t(530)](e)||kt(e,!1),[])):a[t(455)](e)}for(const n of a){const o=r[t(539)][n];for(const n of o){const r=this[t(484)](n),o=n[t(464)][t(594)](r);i[t(455)](o),o>=this[t(610)]&&s[t(362)](o,e[t(530)](o))}}for(const n of a){const a=r[t(539)][n],c=this[t(421)](r[t(354)][n]);let u=0;for(const n of a){const r=this[t(484)](n),a=n[t(464)][t(594)](r);if(!s[t(637)](a)&&!o[t(637)](a))if(i[t(637)](a))u++;else{if(a!=c[u]){const s=e[t(530)](a)||e[t(530)](c[u]);for(;a!=c[u];)i[t(637)](c[u])||(o[t(362)](c[u],s),e[t(362)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(539)][e];for(const e of n){const n=this[t(484)](e),r=e[t(464)][t(594)](n);if(o[t(637)](r)){const e=o[t(530)](r);i[t(637)](r)||i[t(362)](r,{...e}),s[t(362)](r,{...e})}}}for(const e of i[t(631)]())e>=this[t(610)]&&i[t(455)](e);const c=new Map;for(const e of a){let n=r[t(539)][e];for(const e of n)if(e[t(464)].is(t(638),t(323))){const i=this[t(484)](e),n=e[t(464)][t(594)](i);if(s[t(637)](n)){const i=e[t(464)][t(555)][t(555)][t(594)](t(457)),r=c[t(530)](i)||new Set;r[t(537)](s[t(530)](n)[t(564)]),c[t(362)](i,r)}}n=r[t(354)][e];for(const e of n)if(e[t(464)].is(t(638),t(323))){const s=this[t(484)](e),n=e[t(464)][t(594)](s);if(i[t(637)](n)){const s=e[t(464)][t(555)][t(555)][t(594)](t(457)),r=c[t(530)](s)||new Set;r[t(537)](i[t(530)](n)[t(564)]),c[t(362)](s,r)}}for(const e of c[t(631)]())(s[t(637)](e)||i[t(637)](e))&&c[t(455)](e)}for(const e of a){const n=r[t(539)][e];let o=null,a=null;for(const e of n){const n=this[t(484)](e),r=e[t(464)][t(594)](n),u=c[t(530)](r);u&&t(408)==e[t(600)]&&(o=Array[t(524)](u)[0],a=e[t(464)][t(594)](t(337))),o&&(i[t(362)](r,{userId:o}),s[t(362)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(354)][e],a=n[t(539)][e];for(const{userId:e}of this[t(506)][t(351)]())null!==e&&l[t(537)](e);for(const{userId:e}of this[t(340)][t(351)]())null!==e&&l[t(537)](e);this[t(599)](a,r[t(539)][e],s,t(401),l),this[t(599)](o,r[t(354)][e],i,t(519),l),u[e]={insertions:this[t(477)](a),deletions:this[t(477)](o),attachChange:this[t(340)][t(530)](e)||null,attributesBefore:R(this[t(549)][t(530)](e))||{},attributesAfter:R(this[t(525)][t(530)](e))}}return{diffData:u,authorsIds:Array[t(524)](l)}}[ft(375)](t){const e=ft;for(const[,i]of t[e(642)]){const t=i[e(367)][e(427)]()[e(454)](t=>e(323)==t[e(494)]);for(const i of t)1==i[e(419)]&&i[e(636)](0).is(e(638),e(617))&&i[e(636)](0)[e(544)](e(542),!0)}}[ft(477)](t){const e=ft;this[e(375)](t);const i=this[e(574)][e(383)][e(529)](t,{}),s=Array[e(524)](i[e(381)]())[e(440)](t=>this[e(618)](t));return JSON[e(371)](s)}[ft(618)](t){const e=ft;if(t.is(e(557)))return t[e(383)];{const i=this[e(574)][e(396)][e(530)](e(504)),s=t,n=this[e(574)][e(383)][e(570)][e(514)],r={type:i[e(578)](s),name:s[e(494)],attributes:Array[e(524)](s[e(560)]()),children:Array[e(524)](s[e(381)]())[e(440)](t=>this[e(618)](t))};if(t.is(e(379))&&e(327)!=t[e(494)]){const i=t[e(400)](n[e(609)],n);r[e(475)][e(628)](i[e(361)])}else if(t.is(e(366))){const i=n[e(609)][e(414)](s[e(494)]);t[e(400)](i,n),r[e(475)][e(628)](i[e(597)])}const o=Array[e(524)](s[e(345)]());o[e(460)]>0&&(r[e(338)]=o);const a=s[e(569)]();return null!==a&&(r[e(458)]=a),r}}[ft(599)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(574)][r(453)];for(let s=0;s<e[r(460)];s++){const n=this[r(484)](e[s]),c=e[s][r(464)][r(594)](n),h=i[r(530)](c),d=s==e[r(460)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(564)]!=o[r(564)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(564)],d=l(593)+s+":"+h+":"+c++,f=u[l(350)](i,a);t[l(642)][l(362)](d,f),null!==h&&n[l(537)](h)}}[ft(484)](t){const e=ft;switch(t[e(600)]){case e(408):return e(457);case e(632):return e(337);default:return e(448)}}[ft(486)](t,e){const i=ft;t[i(430)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(530)](n[i(586)][i(334)]);t[s]=this[i(554)](n,r)}if(n instanceof X.ModelRange){const r=e[i(530)](n[i(586)][i(334)]);t[s]=this[i(332)](n,r)}i(586)===s&&(t[i(586)]=e[i(530)](t[i(586)][i(334)]))}}[ft(332)](t,e){const i=ft;return this[i(574)][i(453)][i(350)](this[i(554)](t[i(367)],e),this[i(554)](t[i(526)],e))}[ft(554)](t,e){const i=ft;return this[i(574)][i(453)][i(588)](e,t[i(527)],t[i(392)])}[ft(490)](t){const e=ft,i=this[e(411)][e(530)](t[e(353)][e(586)][e(334)]),s=this[e(554)](t[e(353)],i),n=null===t[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,r=s[e(555)],o=this[e(487)],a=[];for(const i of t[e(551)])if(i.is(e(638)))a[e(628)](this[e(436)](i));else for(let t=0;t<i[e(358)];t++)a[e(628)](new X.ModelElement(e(557),{vid:this[e(487)]++}));const c=this[e(487)];for(let t=o;t<c;t++)this[e(571)][e(362)](t,{userId:n});r[e(616)](s[e(378)],a)}[ft(561)](t){const e=ft;(t=this[e(446)](t,this[e(411)]))[e(422)]();const i=null===t[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,s=t[e(513)](),n=s[e(555)],r=s[e(378)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(636)](e);r.is(a(638),a(557))?s[a(362)](r[a(594)](a(448)),{userId:i}):(s[a(362)](r[a(594)](a(457)),{userId:i}),t(s,r,0,r[a(419)]),s[a(362)](r[a(594)](a(337)),{userId:i}))}}(this[e(571)],n,r,r+t[e(444)])}[ft(620)](t){const e=ft,i=null===(t=this[e(446)](t,this[e(411)]))[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,s=t[e(630)][e(555)],n=t[e(461)][e(555)],r=s[e(594)](e(337)),o=n[e(594)](e(457));s[e(544)](e(337),n[e(594)](e(337))),n[e(544)](e(337),r),this[e(571)][e(362)](o,{userId:i}),this[e(571)][e(362)](r,{userId:i}),t[e(422)]()}[ft(387)](t){const e=ft,i=null===(t=this[e(446)](t,this[e(411)]))[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,s=t[e(356)],n=t[e(608)][e(555)];t[e(422)]();const r=n[e(594)](e(337)),o=t[e(595)][e(507)];if(s){const t=o[e(594)](e(337)),s=n[e(594)](e(337));n[e(544)](e(337),t),o[e(544)](e(337),s),this[e(571)][e(362)](n[e(594)](e(337)),{userId:i}),this[e(571)][e(362)](o[e(594)](e(457)),{userId:i})}else{const t=this[e(487)]++,s=this[e(487)]++;n[e(544)](e(337),t),o[e(544)](e(457),s),o[e(544)](e(337),r),this[e(571)][e(362)](t,{userId:i}),this[e(571)][e(362)](s,{userId:i})}}[ft(572)](t){const e=ft;if(!t[e(328)])return;const i=(t=this[e(446)](t,this[e(625)]))[e(467)]?t[e(467)][e(586)]:null,s=t[e(619)]?t[e(619)][e(586)]:null;i&&this[e(581)][e(455)](t[e(494)]),s&&this[e(581)][e(362)](t[e(494)],t[e(619)][e(505)]());const n=null===t[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,r=t[e(494)];if(!this[e(506)][e(637)](r))return void this[e(506)][e(362)](r,{range:t[e(467)],userId:n});const o=this[e(506)][e(530)](r),a=o[e(335)],c=t[e(619)];null==a&&null==c||a&&c&&a[e(534)](c)?this[e(506)][e(455)](t[e(494)]):o[e(564)]=n}[ft(451)](t,e){const i=ft;this[i(625)][i(637)](t[i(334)])?this[i(625)][i(530)](t[i(334)])[i(627)]=t[i(397)]:(this[i(625)][i(362)](t[i(334)],kt(t[i(334)],!0)),this[i(525)][i(362)](t[i(334)],{}),e&&this[i(411)][i(362)](t[i(334)],kt(t[i(334)],!0)));const s=null===t[i(611)]?null:t[i(611)]||this[i(574)][i(396)][i(530)](i(550)).me.id,n=this[i(340)][i(530)](t[i(334)]);n&&n[i(564)]===s?this[i(340)][i(455)](t[i(334)]):this[i(340)][i(362)](t[i(334)],{userId:s,isAttached:t[i(397)]})}[ft(492)](t){const e=ft,i=this[e(525)][e(530)](t[e(586)][e(334)]);null===t[e(377)]?delete i[t[e(384)]]:i[t[e(384)]]=t[e(377)]}}function yt(t){const e=ft,i=kt(t[e(334)],t[e(331)]());for(const s of t[e(381)]()){const t=s[e(598)](!0);i[e(385)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(334)]=t,s[i(627)]=e,s[i(331)]=()=>s[i(627)],s}function bt(t,e,i){const s=ft,n=s(632)==t[s(600)]?i[s(576)](t[s(464)],s(526)):i[s(575)](t[s(464)]);return i[s(588)](e,n[s(527)],n[s(392)])}function wt(t,e,i){const s=ft,n=s(408)==t[s(600)]?i[s(576)](t[s(464)],0):i[s(520)](t[s(464)]);return i[s(588)](e,n[s(527)],n[s(392)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),At=i(102),Nt=i.n(At),Rt=i(123),Mt=i.n(Rt),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Nt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Nt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Wt;function Pt(){const t=["label","7446536AsuKMi","arrowup","56358BqeWgv","3838775BhIWWg","arrowleft","6ROoYDF","2200680Crgqng","render","ck-responsive-form","ck-revision-history-save-revision-form","trim","12266128XwPAAA","fieldView","808951Wxxnmq","add","focusTracker","locale","24HnwiIV","reset","2629269kGsADe","revisionNameInputValue","stopPropagation","arrowdown","initializeCssTransitionDisablerMixin","66alZPVL","8tgLuJY","948ThMFxC","keystrokes","input","errorText","element","revisionName","9gZaaJw","220","setTemplate","form","_createRevisionNameInput","focus","set","revisionNameInputView","value","listenTo","extendTemplate","optional","arrowright","Name of the revision"];return(Pt=function(){return t})()}function Wt(t,e){const i=Pt();return(Wt=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(929613===parseInt(e(461))/1*(parseInt(e(476))/2)+parseInt(e(478))/3+-parseInt(e(484))/4*(parseInt(e(462))/5)+-parseInt(e(464))/6*(parseInt(e(470))/7)+-parseInt(e(506))/8*(parseInt(e(491))/9)+parseInt(e(465))/10*(-parseInt(e(483))/11)+parseInt(e(485))/12*(parseInt(e(472))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(474)];[Lt(486)];[Lt(498)];constructor(e,i){const s=Lt;super(e),this[s(474)]=new t.FocusTracker,this[s(486)]=new t.KeystrokeHandler,this[s(497)](s(479),""),this[s(498)]=this[s(495)](i),this[s(493)]({tag:s(494),attributes:{class:["ck",s(468),s(467)],tabindex:"-1"},children:[this[s(498)]]}),this[s(482)]()}[Lt(466)](){const t=Lt;super[t(466)](),(0,It.submitHandler)({view:this}),this[t(474)][t(473)](this[t(498)][t(489)]),this[t(486)][t(500)](this[t(489)]);const e=e=>e[t(480)]();this[t(486)][t(497)](t(503),e),this[t(486)][t(497)](t(463),e),this[t(486)][t(497)](t(460),e),this[t(486)][t(497)](t(481),e)}[Lt(496)](){const t=Lt;this[t(498)][t(496)]()}get[Lt(490)](){const t=Lt;return this[t(498)][t(471)][t(489)][t(499)][t(469)]()}set[Lt(490)](t){const e=Lt;this[e(498)][e(471)][e(489)][e(499)]=t[e(469)]()}[Lt(477)](){const t=Lt;this[t(498)][t(471)][t(489)][t(499)]="",this[t(498)][t(488)]=null}[Lt(495)](t){const e=Lt,i=new It.LabeledFieldView(this[e(475)],It.createLabeledInputText),s=i[e(471)];s[e(501)]({attributes:{maxlength:e(492)}});let n=at(this[e(475)],e(504));return!t&&(n+=" ("+at(this[e(475)],e(502))+")"),i[e(505)]=n,s.on(e(487),()=>{const t=e;this[t(479)]=s[t(489)][t(499)][t(469)]()}),i}}const Ut=Zt;function Ht(){const t=["editor","Open revision history","revisionSave","execute","hide","pluginName","isReadOnly","revisionNameInputView","Accept","isPremiumPlugin","listenTo","3706895lkhlEY","buttonView","RevisionTracker","panelView","plugins","Revision history","_saveRevisionFormView","errorText","_registerMenuComponent","editing","The revision name cannot be empty.","revisionHistory.requireRevisionName","bind","Save current revision","addMany","revisionName","229397ExqftQ","_showDialog","menuBar:revisionHistory","componentFactory","isEnabled","329206kooYSV","children","view","items","Dialog","role","_createOpenRevisionButton","_createSaveRevisionButton","config","2159444coRxKa","show","isReady","_createSaveRevisionFormView","focus","1355427SuWaZN","ck-button-action","20127950PWJVeS","isOpen","low","add","set","menu","204pSpRaq","revisionHistory","RevisionHistoryUI","delegate","4LdAJWT","menuitem","saveRevision","requires","init","render","submit","locale","8UtNDUx","1273767WFcYBN","isOfficialPlugin","reset","showRevisionViewerCallback","Cancel","get"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=201]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(676534===parseInt(e(268))/1+parseInt(e(204))/2+-parseInt(e(230))/3+-parseInt(e(221))/4*(-parseInt(e(247))/5)+parseInt(e(217))/6*(parseInt(e(263))/7)+parseInt(e(229))/8*(-parseInt(e(209))/9)+-parseInt(e(211))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Ut(241)](){return Ut(219)}static get[Ut(231)](){return!0}static get[Ut(245)](){return!0}static get[Ut(224)](){return[pt]}[Ut(253)];[Ut(225)](){const t=Ut,e=this[t(236)],i=e[t(251)][t(235)](t(249));e.ui[t(266)][t(214)](t(218),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(250)][n(269)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(202)](It.ButtonView),l=new It.ListItemView(s),h=this[n(201)](It.ButtonView);return r[n(259)](n(267)).to(i,n(206),i,n(267),e,n(242),(t,e,i)=>t&&e&&!i),r[n(248)][n(215)]({icon:_t.IconHistory,label:at(s,n(252)),tooltip:!0}),u[n(215)]({withText:!0,role:n(222)}),h[n(215)]({withText:!0,role:n(222)}),this[n(246)](h,n(239),()=>{const t=n;r[t(212)]=!1,e[t(256)][t(270)][t(208)]()},{priority:n(213)}),c[n(269)][n(214)](u),l[n(269)][n(214)](h),a[n(273)]=n(216),a[n(271)][n(261)]([c,l]),o[n(214)](a),r}),e.ui[t(266)][t(214)](t(265),()=>this[t(255)]())}[Ut(255)](){const t=Ut,e=this[t(236)],i=e[t(228)],s=e[t(251)][t(235)](t(249)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(259)](t(267)).to(s,t(206),s,t(267),e,t(242),(t,e,i)=>t&&e&&!i),n[t(248)][t(215)]({icon:_t.IconHistory,label:at(i,t(252))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(202)](It.MenuBarMenuListItemButtonView);a[t(220)](t(239)).to(n),o[t(269)][t(214)](a),r[t(271)][t(214)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(201)](It.MenuBarMenuListItemButtonView);return u[t(220)](t(239)).to(n),c[t(269)][t(214)](u),r[t(271)][t(214)](c),n[t(250)][t(269)][t(214)](r),n}[Ut(202)](t){const e=Ut,i=this[e(236)],s=i[e(251)][e(235)](e(249)),n=new t(i[e(228)]);return n[e(215)]({label:at(i[e(228)],e(260))}),n[e(259)](e(267)).to(s,e(206),s,e(267),i,e(242),(t,e,i)=>t&&e&&!i),this[e(246)](n,e(239),()=>{this[e(264)]()}),n}[Ut(201)](t){const e=Ut,i=this[e(236)],s=i[e(251)][e(235)](e(249)),n=new t(i[e(228)]);return n[e(215)]({label:at(i[e(228)],e(237))}),n[e(259)](e(267)).to(s,e(206),i,e(242),(t,e)=>t&&!e),this[e(246)](n,e(239),()=>{const t=e;i[t(203)][t(235)](t(218))[t(233)]()}),n}[Ut(264)](){const t=Ut,e=this[t(236)],i=e[t(228)],s=e[t(251)][t(235)](t(272)),n=e[t(251)][t(235)](t(249));function r(n){const r=t;e[r(203)][r(235)](r(258))&&""===n[r(262)]?n[r(243)][r(254)]=at(i,r(257)):(e[r(251)][r(235)](pt)[r(223)]({name:n[r(262)]}),s[r(240)]())}this[t(253)]||(this[t(207)](),this[t(253)].on(t(227),()=>r(this[t(253)]))),this[t(253)][t(232)](),s[t(205)]({id:t(238),title:at(i,t(260)),isModal:!0,content:this[t(253)],actionButtons:[{label:at(e[t(228)],t(234)),withText:!0,onExecute:()=>s[t(240)]()},{label:at(e[t(228)],t(244)),class:t(210),withText:!0,onCreate(i){const s=t;i[s(259)](s(267)).to(n,s(206),n,s(267),e,s(242),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(253)])}]})}[Ut(207)](){const t=Ut,e=this[t(236)],i=e[t(228)];this[t(253)]=new zt(i,e[t(203)][t(235)](t(258))),this[t(253)][t(226)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=378]})(t,e)}function Yt(){const t=["focus","set","ck-revision-change__","676821civKea","setTemplate","bindTemplate","Added by","element","span","ck-revision-change","ck-annotation","ck-revision-change__label","isSuggestion","10NvKoMt","name","2097410tawYcI","author","changeId","271914DzPgbZ","_model","2161692ftieOe","53006LJFdKd","462388aviUbI","add","type","Removed by","Suggested by","div","data","9025928cbMBEW"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(287003===-parseInt(e(397))/1+-parseInt(e(398))/2+-parseInt(e(379))/3+-parseInt(e(396))/4+-parseInt(e(389))/5*(parseInt(e(394))/6)+parseInt(e(391))/7+parseInt(e(405))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(393)];[$t(395)];constructor(t,e){const i=$t;super(t),this[i(395)]=e,this[i(393)]=e.id;const s=this[i(381)],n=at(t,e[i(404)][i(388)]?i(402):i(399)==e[i(400)]?i(382):i(401));this[i(407)](i(400),e[i(400)]),this[i(380)]({tag:i(403),attributes:{class:[i(386),i(385),s.to(i(400),t=>i(378)+t)],tabindex:-1},children:[{tag:i(384),children:[{tag:i(384),attributes:{class:[i(387)]},children:[{text:n}]},{text:" "+e[i(392)][i(390)]}]}]})}[$t(406)](){const t=$t;this[t(383)][t(406)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=224]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(691408===parseInt(e(235))/1*(-parseInt(e(229))/2)+-parseInt(e(237))/3+-parseInt(e(234))/4+parseInt(e(233))/5+-parseInt(e(227))/6+parseInt(e(225))/7*(parseInt(e(231))/8)+parseInt(e(238))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(236)];[Gt(239)];[Gt(230)];[Gt(224)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(236)]=e[i(236)],this[i(239)]=e[i(239)],this[i(230)]=e[i(230)]||{},this[i(224)]=e[i(224)],this[i(226)](i(228),e[i(228)])}[Gt(232)](){var t=Gt;return{id:this.id,authorId:this[t(236)].id,type:this[t(239)],data:this[t(230)],createdAt:this[t(228)]}}}function Qt(){var t=["3179688bfFTvq","createdAt","2WgQOII","data","51624NTdzKg","toJSON","2879005RiFrmC","442140bFSKZU","233263ghHzGn","author","3873882CRGAXn","16170048PIhSBT","type","rootName","525xVWwFI","set"];return(Qt=function(){return t})()}function te(){const t=["8388ouzgpD","1188607QKrwho","add","186338lnjgzP","701850jCixRm","_setChanges","11xlkxoI","1814616xUWrxK","changes","oldRevisionId","1131641RNhURQ","12NlLKhD","15VhEmUR","7615955OxHyFx","11360FAnTsa","newRevisionId"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=167]})(t,e)}const ie=ee;!function(t){const e=ee,i=t();for(;;)try{if(909414===parseInt(e(181))/1+-parseInt(e(174))/2*(parseInt(e(167))/3)+parseInt(e(178))/4+parseInt(e(168))/5+parseInt(e(182))/6*(-parseInt(e(172))/7)+-parseInt(e(169))/8*(parseInt(e(171))/9)+-parseInt(e(175))/10*(parseInt(e(177))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ie(170)];[ie(180)];[ie(179)];constructor(e,i){const s=ie;this[s(170)]=e,this[s(180)]=i,this[s(179)]=new t.Collection}[ie(176)](t){const e=ie;for(const i of t)this[e(179)][e(173)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Nt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=346]})(t,e)}function ce(){const t=["plugins","enqueueChange","isAttached","start","insertion","addMarker:revision-suggestion:deletion","activeView","isAtEnd","addMarker:revision-suggestion:insertion","_makeModelFromViewString","36RdESZG","toViewRange","POSITIVE_INFINITY","pairId","_refreshStartEndIndex","index","_activeViewTarget","attributesAfter","vid_end","keys","_makeTape","setAttribute","ck-suggestion-marker-merge","changes","first","_processTape","data-change-id","span","showNextChange","_update","WidgetToolbarRepository","isRemoved","removeAttribute","unbindElementFromMarkerName","getRevisionDocumentData","_getChangeFromId","markerNameToElements","adapter","hasClass","isAfter","isReady","toViewElement","_removeUnsupportedChanges","mapViewToDom","_utils","getClientRects","getRevision","requires","domEvent","get","locale","softBreak","target","dataToMarker","diff","10PPOymA","toViewPosition","_getViewForChange","_setDistance","config","range","findIndex","consumable","getCustomProperty","attachChange","ck-editor__editable__overlay","revision-suggestion","vid","name","elementEnd","editingDowncast","getAttributes","isOfficialPlugin","flat","abs","authors","startIndex","ck-suggestion-marker-","_setChanges","isOnRoot","string","_removeMissingPairs","isPremiumPlugin","insertions","isRemoveSuggestion","getIndex","numberOfChanges","listenTo","downcastDispatcher","showStack","attributes","getChild","suggestion","all","values","set","viewItem","showPreviousChange","_markMarkers","modelRange","object","_markInsertions","_changeIdToChange","concat","createRangeIn","add","indexOf","slice","createPositionBefore","change","comment","item","getRevisionRootsAttributes","consume","document","change:numberOfChanges","splice","RevisionViewer","markersStart","error","_initInteractions","markersEnd","vid_start","done","delete","insert","distance","model","element:pre","markerRange","isCollapsed","_cleanMarkers","createAttributeElement","for","_findChangeIdFromDomTarget","ck-revision-history-root--active","bottom","map","clear","ck-revision-history-root-add","type","deletions","userId","1TwbPAv","addHighlight","ck-suggestion-marker-split","catch","init","1215344stYWyM","getLaterVisibleRevision","pluginName","_threeWayMerge","unshift","editor","isBefore","mapper","forceDisabled","revisionHistoryAttachChange","sort","markerToHighlight","domConverter","isLimit","restoreRevision","elementToAttribute","isNavigationMode","maxOffset","_makeModelFromTape","change:activeView","ck-revision-history-root-","execute","next","destroy","from","revisionHistory","restoreRevisionCallback","view","createUIElement","conversion","isAdded","isEqual","10358183OQzIek","element","2800802EYIvVa","compare","addRoot","text","enableReadOnlyMode","bindElementToMarker","find","isSuggestion","change:isEnabled","change:activeChange","refresh","end","attribute:vid","removeMarker:revision","hasAttribute","data","getRoot","isContent","RevisionsRepository","stop","writer","forward","affectsData","20HFetkS","isIncorrect","upcast","parent","attributesBefore","endIndex","revision-suggestion:","revision-viewer","length","_sortAndFilterDiffChanges","return","revision","createRange","addRevision","reconvertMarker","-new","rootName","filter","has","code","split","top","_revisions","push","left","_balloon","addClass","oldRevisionId","nextPosition","diffData","changeId","then","_getDiff","highest","5151894zRWrPO","nextSibling","uiElement","currentChangeNumber","remove","previousPosition","shift","getWalker","side","2535102ePsMmp","_fixObsoleteTags","_appendChild","mousedown","isAddSuggestion","right","nodeAfter","addMarker:revision","updatePosition","isInline","isAtStart","revision-comment:","getRootNames","includes","selection","createPositionFromPath","256MRTanv","startsWith","isEnabled","commands","bind","test","244272YoSYED","getDomRoot","level","isObject","removeClass","wrap","resolve","mouseover","removeMarker","_data","ck-revision-history-root-remove","_markMismatchedRemovedTags","loadRevisionData","getAttribute","isBlock","low","detachRoot","revision:","_cleanUp","editing","ck-suggestion-preview-marker","repository","revisionHistoryLabel","3141747FVJpCa","suggestion:","elementStart","removeMarker:revision-suggestion","ck-suggestion-marker--active","markerName","offsetSize","forEach","getItems","activeChange","_markSuggestions","ck-suggestion-preview-marker-","observeMarkers","high","createRevision","backward","_setConversion","_step","_joinTapes","markers","RevisionHistoryUtils","schema","markerToData","pop","ck-suggestion-marker","checkAttribute","change:isReady","merge","addRevisionData","deletion","_getRevisionsRange","roots","dataDowncast","_changeView","newRevisionId"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(883274===parseInt(e(619))/1*(-parseInt(e(658))/2)+parseInt(e(387))/3+-parseInt(e(624))/4*(parseInt(e(353))/5)+parseInt(e(396))/6+parseInt(e(418))/7*(-parseInt(e(412))/8)+-parseInt(e(441))/9*(parseInt(e(531))/10)+parseInt(e(656))/11*(parseInt(e(486))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(439)];[oe(513)]=null;[oe(520)];[oe(492)];[oe(474)];[oe(578)];[oe(378)];static get[oe(626)](){return oe(593)}static get[oe(548)](){return!0}static get[oe(558)](){return!0}static get[oe(523)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(439)]=this[e(629)][e(476)][e(525)](e(348)),this[e(520)]=this[e(629)][e(476)][e(525)](e(461)),this[e(571)](e(450),null),this[e(571)](e(482),null),this[e(492)]=null,this[e(571)](e(530),null),this[e(571)](e(516),!1),this[e(571)](e(414),!0),this.on(e(666),(t,i,s)=>{const n=e;this[n(450)]=null,this[n(482)]=null,this[n(629)][n(437)][n(651)][n(585)](t=>{const e=n;for(const i of this[e(629)][e(437)][e(651)][e(590)][e(472)])s?t[e(422)](e(541),i):t[e(379)](e(541),i)})}),this[e(416)](e(640)).to(this,e(450),t=>null!==t),this[e(416)](e(390)).to(this,e(516),this,e(530),this,e(450),(t,i,s)=>t&&s?i[e(499)][e(561)](s):0),this[e(416)](e(562)).to(this,e(516),this,e(530),(t,i)=>t?i[e(499)][e(361)]:0),this[e(474)]=null,this[e(578)]=new Map,this[e(378)]=this[e(629)][e(476)][e(525)](It.ContextualBalloon)}[oe(623)](){const t=oe,e=this[t(629)],i=new de(e,{direction:t(456)}),s=new de(e,{direction:t(351)});e[t(415)][t(581)](t(573),i),e[t(415)][t(581)](t(504),s),e[t(415)][t(581)](t(638),new he(e)),this.on(t(591),()=>{const e=t;i[e(668)](),s[e(668)]()}),this[t(457)](),this[t(596)](),e[t(662)](t(360)),e[t(476)][t(371)](t(506))&&e[t(476)][t(525)](t(506))[t(632)](t(360))}async[oe(510)](t){const e=oe;return await this[e(520)][e(430)](t,this[e(513)]),this[e(520)][e(510)](t)}async[oe(588)](t){const e=oe;return await this[e(520)][e(430)](t,this[e(513)]),this[e(520)][e(588)](t)}async[oe(659)](t,e,i=!1){const s=oe;if(!this[s(414)])return;const n=this[s(530)],r=this[s(439)],o=s(556)==typeof t?r[s(522)](t):t,a=s(556)==typeof e?r[s(522)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(530)]&&this[s(530)][s(475)]===c&&this[s(530)][s(380)]===u)return Promise[s(424)]();this[s(516)]=!1,this[s(482)]=null,this[s(450)]=null,this[s(530)]=new se(c,u);const l=this[s(471)](o,a,!0)[s(613)](t=>this[s(520)][s(430)](t,this[s(513)]));return l[s(376)](new Promise(t=>{setTimeout(t,20)})),Promise[s(569)](l)[s(384)](()=>{const t=s;if(!this[t(414)])return;this[t(436)]();const e=this[t(385)](c,u);for(const i of e[t(499)])this[t(578)][t(571)](i.id,i);this[t(629)][t(603)][t(477)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(629)][s(603)][s(590)][s(408)]())i[s(434)](t);for(const t of Object[s(495)](e[s(603)])){const n=i[s(660)](t);for(const r of Object[s(495)](e[s(566)][t]))i[s(497)](r,e[s(566)][t][r],n);i[s(601)](e[s(603)][t],n,0)}}),this[t(530)][t(554)](this[t(362)](e[t(499)])),this[t(516)]=!0})[s(622)](t=>{const e=s;console[e(595)](t),this[e(436)](),n&&(this[e(530)]=n),this[e(516)]=!0})}[oe(469)](t,e){const i=oe,s=this[i(439)][i(455)](t);return s.on(i(505),(t,i,n)=>e(i,n,s)),this[i(439)][i(366)](s),s}[oe(436)](){const t=oe;this[t(450)]=null,this[t(607)](),this[t(474)]&&this[t(474)][t(647)](),this[t(474)]=null,this[t(578)][t(614)](),this[t(629)][t(603)][t(477)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(629)][i(603)][i(590)][i(408)]())e[i(434)](t)})}[oe(362)](t){const e=oe,i=[],s=new Map;for(const t of this[e(629)][e(603)][e(590)][e(408)]()){const n=this[e(629)][e(437)][e(651)][e(419)](t);if(!n)continue;const r=n[e(521)]()[e(587)](0);r&&(i[e(376)](t),s[e(571)](t,r))}return i[e(634)]((t,i)=>{const n=e,r=s[n(525)](t),o=s[n(525)](i);return r.y-o.y||r.x-o.x}),(t=t[e(370)](t=>i[e(409)](t[e(369)])))[e(634)]((t,s)=>i[e(582)](t[e(369)])-i[e(582)](s[e(369)])),t}[oe(496)](t){const e=oe,i=Array[e(648)](t[e(460)])[e(370)](([t,i])=>t[e(413)](e(435))&&!i[e(606)]),s=Array[e(648)](this[e(629)][e(603)][e(580)](t)[e(394)]({singleCharacters:!0}));if(0!=i[e(361)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(373)](":");if(n[e(669)][e(655)](t[e(381)])&&i[e(393)](),(t[e(392)][e(655)](n[e(479)])||t[e(392)][e(515)](n[e(479)]))&&(e(480)==r?t[e(654)]={userId:o}:e(470)==r&&(t[e(507)]={userId:o})),0==i[e(361)])break}return s}[oe(490)](t){const e=oe,i=new Map;for(let s=0;s<t[e(361)];s++)e(661)===t[s][e(616)]?(t[s][e(587)][e(552)]=s,t[s][e(587)][e(358)]=s):(e(443)===t[s][e(616)]?t[s][e(587)][e(552)]=s:e(545)===t[s][e(616)]&&(t[s][e(587)][e(358)]=s),i[e(571)](t[s].id,s));for(const s of i[e(570)]())e(443)===t[s][e(616)]?t[s][e(587)][e(358)]=i[e(525)](t[s][e(489)]):e(545)===t[s][e(616)]&&(t[s][e(587)][e(552)]=i[e(525)](t[s][e(489)]))}[oe(501)](t){const e=oe;for(let i=0;i<t[e(361)];i++){if(e(443)===t[i][e(616)])t[i][e(587)][e(552)]=i;else if(e(545)===t[i][e(616)]){t[i][e(587)][e(358)]=i;const s=t[i][e(587)][e(552)];t[s][e(489)]=t[i].id,t[i][e(489)]=t[s].id}else t[i][e(587)][e(552)]=i,t[i][e(587)][e(358)]=i,t[i][e(489)]=null;t[i][e(594)]||(t[i][e(594)]=[],t[i][e(597)]=[])}}[oe(577)](t,e){const i=oe,s=t[i(370)](t=>!t[i(654)]);for(let t=0;t<e[i(361)];t++)e[t][i(654)]&&(s[t][i(654)]=e[t][i(654)])}[oe(385)](t,e=null){const i=oe,s=this[i(439)][i(522)](t),n=e?this[i(439)][i(522)](e):null,r=this[i(471)](s,n),o=r[r[i(361)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(361)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(495)](e[i(382)]))if(e[i(382)][t][i(540)]){const s=e[i(382)][t][i(540)];s[i(478)]?(u[i(581)](t),l[i(371)](t)&&l[i(525)](t)[i(618)]==s[i(618)]?l[i(600)](t):l[i(571)](t,s)):l[i(371)](t)?(u[i(600)](t),l[i(600)](t)):(u[i(581)](t),l[i(571)](t,s))}else u[i(581)](t)}for(const t of u){const e=l[i(371)](t)&&!l[i(525)](t)[i(478)];let s=e?r[i(361)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(382)][t]){const s=e?o[i(382)][t][i(357)]:o[i(382)][t][i(493)];c[i(566)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(603)]={};for(const e of t[i(551)])a[i(571)](e.id,e);for(const e of u){const s=t[i(382)][e]?t[i(382)][e][i(559)]:"[]",n=t[i(382)][e]?t[i(382)][e][i(617)]:"[]";t[i(603)][e]={insertions:this[i(520)][i(485)](s),deletions:this[i(520)][i(485)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(648)](s[i(603)][t][i(559)][i(460)])[i(370)](([t])=>!t[i(413)](i(435))));let h=0;for(const o of r){const r=this[i(496)](o[i(603)][t][i(559)]);o==s?(e=r,n=e[i(361)],e[i(448)](t=>{t.id=h++}),this[i(501)](e)):this[i(577)](e,r);const a=e[i(370)](t=>!t[i(654)])[i(613)](t=>t.id);let c=0;const l=this[i(496)](o[i(603)][t][i(617)]);l[i(448)](t=>{t[i(507)]?t.id=n++:t.id=a[c++]}),this[i(501)](l),this[i(534)](e,i(654)),this[i(534)](l,i(507)),o==s&&this[i(574)](e,u),e=this[i(459)](e,l),this[i(490)](e),this[i(534)](e,i(507))}e=e[i(370)](t=>!(t[i(654)]&&t[i(507)]));const d=new Map(o[i(603)][t][i(617)][i(460)]),f=new Set(u[i(495)]());for(const t of d[i(495)]())f[i(600)](t);this[i(451)](e,f),this[i(397)](e),e=this[i(557)](e),e=this[i(429)](e),e=this[i(518)](e);const{root:m,changes:p}=this[i(642)](e,a,t);c[i(603)][t]=m;const v=l[i(525)](t);if(v){const e=a[i(525)](v[i(618)]),s=new Xt({author:e,type:v[i(478)]?i(581):i(391),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(628)](s),c[i(566)][t][i(633)]=s.id}c[i(499)]=c[i(499)][i(579)](p)}return c}[oe(574)](t,e){const i=oe;for(let s=0;s<t[i(361)];s++)for(const[n,r]of e)!r[i(606)]&&r[i(479)][i(655)](t[s][i(392)])&&t[s][i(594)][i(376)](n),r[i(669)][i(655)](t[s][i(381)])&&t[s][i(597)][i(376)](n)}[oe(459)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(361)]||r<e[i(361)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(376)](o);else if(a[i(507)]&&o[i(654)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(627)](t,n,e,r);s=s[i(579)](o),n=a,r=c}else a[i(507)]?(r++,s[i(376)](a)):(n++,s[i(376)](o))}return s}[oe(451)](t,e){const i=oe,s=[];for(let o=0;o<t[i(361)];o++){for(let r=0;r<t[o][i(594)][i(361)];r++){const a=t[o][i(594)][r];if(!e[i(371)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(542)!=c||i(480)!=u&&i(470)!=u||(s[i(628)]({type:u,name:a,userId:l}),t[o][i(594)][i(592)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(597)][i(361)];r++){const a=t[o][i(597)][r];if(!e[i(371)](a))continue;const{group:c,type:u}=n(a);if(i(542)!=c||i(480)!=u&&i(470)!=u)continue;t[o][i(597)][i(592)](r,1),r--;const l=s[i(537)](t=>t[i(544)]==a);l>-1&&s[i(592)](l,1)}}function n(t){const e=i,s=t[e(373)](":");return{group:s[0],type:s[1],subType:s[e(361)]>=5?s[2]:null,id:s[e(361)]<5?s[2]:s[3],authorId:s[e(361)]<5?s[3]:s[4],markerCount:6==s[e(361)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(361)];i++){if(t[e(654)]&&e(480)==s[i][e(616)]&&t[e(654)][e(618)]==s[i][e(618)])return t[e(400)]=s[i],void delete t[e(654)];if(!t[e(654)]&&!t[e(507)]&&e(470)==s[i][e(616)])return void(t[e(560)]=s[i])}}}[oe(534)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(571)](o.id,s);for(let s=0;s<t[i(361)];s++){if(i(507)==e&&t[s][i(654)]||i(654)==e&&t[s][i(507)])continue;if(i(661)==t[s][i(616)]){t[s][i(602)]=0;continue}const n=r[i(525)](t[s][i(489)]),o=r[i(525)](t[s].id);t[s][i(602)]=n-o}}[oe(471)](t,e,i=!1){const s=oe,n=[];let r=this[s(439)][s(561)](t),o=this[s(439)][s(561)](e);for(-1==o&&(o=this[s(439)][s(375)][s(361)],i=!1);r<o;)n[s(376)](this[s(439)][s(522)](r)),r++;return i&&n[s(376)](this[s(439)][s(522)](r)),n}[oe(627)](t,e,i,s){const n=oe,r=this[n(629)][n(603)][n(462)];let o=e;for(;t[o]&&t[o][n(654)];)o++;let a=s;for(;i[a]&&i[a][n(507)];)a++;u(t,e,o),u(i,s,a);const c=i[n(583)](s,a)[n(579)](t[n(583)](e,o));return c[n(634)]((t,e)=>t[n(395)]!=e[n(395)]?t[n(395)]-e[n(395)]:t[n(420)]!=e[n(420)]?t[n(420)]-e[n(420)]:t[n(602)]!=e[n(602)]?e[n(602)]-t[n(602)]:!!t[n(654)]!=!!e[n(654)]?-1==t[n(395)]||0==t[n(395)]?t[n(654)]?-1:1:t[n(654)]?1:-1:t[n(491)]-e[n(491)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(488)],c=!0;for(let n=e;n<i;n++)if(r[s(405)](t[n][s(587)])||(c=!1),t[n][s(587)][s(552)]<e&&(o=n),t[n][s(587)][s(358)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(395)]=n<=o?-1:n<a?0:1,t[n][s(491)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(602)]?t[i][s(420)]=u:(u++,t[i][s(420)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(395)]&&(t[n][s(420)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(602)]?t[e][s(420)]=u:(u--,t[e][s(420)]=u,u--)}}[oe(397)](t){const e=oe,i=new Map,s=this[e(629)][e(603)][e(462)];for(let n=1;n<t[e(361)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(661)==c[e(616)])continue;if(c[e(616)]!=u[e(616)])continue;if(!s[e(432)](u[e(587)])||s[e(637)](u[e(587)]))continue;if(!s[e(432)](c[e(587)])||s[e(637)](c[e(587)]))continue;if((t[n][e(654)]||t[n][e(400)])&&t[n-1][e(507)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(507)]||!t[n-1][e(654)]&&!t[n-1][e(400)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(420)]==o[e(420)],h=Math[e(550)](r[e(420)])<Math[e(550)](o[e(420)])&&0==o[e(602)];(l||h)&&(i[e(571)](o.id,r.id),t[e(592)](a,1),n--,r[e(654)]=!1)}for(let s=0;s<t[e(361)];s++)i[e(371)](t[s][e(489)])&&(t[s][e(489)]=i[e(525)](t[s][e(489)]))}[oe(557)](t){const e=oe,i=new Set(t[e(613)](t=>t.id));for(let s=0;s<t[e(361)];s++)i[e(371)](t[s][e(489)])||0==t[s][e(602)]||(t[s][e(354)]=!0);return t[e(370)](t=>!t[e(354)])}[oe(429)](t){const e=oe,i=new Set;for(let s=0;s<t[e(361)];s++){if(i[e(371)](t[s].id)&&t[s][e(507)]&&(t[s][e(354)]=!0),t[s][e(354)])continue;if(0==t[s][e(602)])continue;if(e(443)!=t[s][e(616)])continue;if(null==t[s][e(489)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(489)];)e(443)==t[n][e(616)]?r++:e(545)==t[n][e(616)]&&r--,n++;if(0!=r)if(t[s][e(507)])t[s][e(354)]=!0;else for(;n!=s;)t[n][e(507)]&&0!=t[n][e(602)]&&(t[n][e(354)]=!0,i[e(581)](t[n][e(489)])),n--}return t[e(370)](t=>!t[e(354)])}[oe(518)](t){const e=oe,i=this[e(629)][e(603)][e(462)];for(let s=0;s<t[e(361)];s++){if(!(t[s][e(654)]||t[s][e(400)]||t[s][e(507)]||t[s][e(560)]))continue;if(0==t[s][e(602)])continue;const n=t[s][e(587)];i[e(432)](n)||i[e(637)](n)||(t[s][e(654)]&&delete t[s][e(654)],t[s][e(400)]&&delete t[s][e(400)],t[s][e(560)]&&delete t[s][e(560)],t[s][e(507)]&&(t[s][e(354)]=!0))}return t[e(370)](t=>!t[e(354)])}[oe(642)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(629)][s(603)],c=a[s(462)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(361)];e++)if(s(443)===t[e][s(616)]){t[e][s(392)]=a[s(411)](n,f);const i=new X.ModelElement(t[e][s(587)][s(544)],t[e][s(587)][s(547)]());u[0][s(398)](i),f[s(376)](0),u[s(628)](i),t[e][s(381)]=a[s(411)](n,f)}else s(545)===t[e][s(616)]?(u[s(393)](),t[e][s(392)]=a[s(411)](n,f),f[s(464)](),f[f[s(361)]-1]++,t[e][s(381)]=a[s(411)](n,f)):(t[e][s(392)]=a[s(411)](n,f),d?d[s(427)]+=t[e][s(587)][s(673)]:d=new X.ModelText(t[e][s(587)][s(673)],t[e][s(587)][s(547)]()),t[e+1]&&s(661)===t[e+1][s(616)]&&v(d,t[e+1][s(587)])||(u[0][s(398)](d),d=null),f[f[s(361)]-1]+=t[e][s(587)][s(447)],t[e][s(381)]=a[s(411)](n,f));for(let e=0;e<t[s(361)];e++){const i=t[e][s(392)],n=t[e][s(381)];for(const n of t[e][s(594)])o[s(571)](n,{start:i,end:null});m(s(560),e,i,n),m(s(400),e,i,n),m(s(507),e,i,n),m(s(654),e,i,n);for(const i of t[e][s(597)]){const t=o[s(525)](i);t?t[s(669)]=n:o[s(571)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(629)][s(603)][s(365)](e[s(479)],e[s(669)]);n[s(460)][s(571)](t,i)}return r[s(634)]((t,e)=>{const i=s,r=n[i(460)][i(525)](i(435)+t.id),o=n[i(460)][i(525)](i(435)+e.id);return r[i(479)][i(630)](o[i(479)])?-1:r[i(479)][i(515)](o[i(479)])?1:r[i(669)][i(630)](o[i(669)])?-1:r[i(669)][i(515)](o[i(669)])?1:i(581)===t[i(616)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(618)]:null,d=i===t[o(361)]-1,f=h[e][0],m=c[o(421)](t[i][o(587)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(669)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(618)]!==u&&(l[e][o(669)]=n,f&&f[o(618)]===l[e][o(618)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(443)!==t[i][o(616)]||f&&f[o(618)]===u||h[e][o(628)]({userId:u,object:t[i][o(587)],change:l[e]}),o(545)===t[i][o(616)]&&f&&f[o(576)]===t[i][o(587)]&&(h[e][o(393)](),l[e]=f[o(585)])),l[e]&&d&&(l[e][o(669)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(587)],f=a[h(462)][h(432)](d)&&!a[h(462)][h(637)](d),m=t[h(402)]==o[h(356)]&&o[h(406)];if(f&&m)return;const p=a[h(365)](t,o),v=e[h(525)](u),g=new Xt({author:v,type:h(654)==l||h(400)==l?h(581):h(391),data:{isSuggestion:h(400)==l||h(560)==l},createdAt:new Date,rootName:i});r[h(376)](g),n[h(460)][h(571)](h(435)+g.id,p)}function v(t,e){const i=s,n=t[i(547)](),r=e[i(547)]();for(const t of n){if(t[1]!==e[i(431)](t[0]))return!1;r[i(646)]()}return r[i(646)]()[i(599)]}}[oe(457)](){const t=oe;this[t(629)][t(653)][t(609)](t(355))[t(529)]({view:t(364)}),this[t(629)][t(653)][t(609)](t(546))[t(635)]({model:t(364),view:e=>{const i=t,s=e[i(446)][i(373)](":")[1],n=this[i(511)](s);if(!n)return null;const r=i(581)==n[i(616)]?i(480):i(470),o=[i(465),i(553)+r];return n[i(673)][i(665)]&&o[i(376)](i(553)+r+i(368)),this[i(450)]==n&&o[i(376)](i(445)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(629)][t(653)][t(609)](t(355))[t(581)](e=>{const i=t;e.on(i(604),(t,e,s)=>{const n=i,r=e[n(572)][n(567)](0);if(!r||!r.is(n(657),n(372)))return;if(!s[n(538)][n(589)](r,{attributes:[n(598),n(494)]}))return;const o=e[n(575)][n(479)][n(402)];s[n(350)][n(497)](n(598),r[n(431)](n(598)),o),s[n(350)][n(497)](n(494),r[n(431)](n(494)),o)},{priority:i(433)})}),this[t(629)][t(653)][t(609)](t(355))[t(581)](e=>{const i=t;e.on(i(657),(t,e,s)=>{const n=i;if(!s[n(538)][n(589)](e[n(572)],{attributes:[n(598),n(494)]}))return;if(e[n(575)][n(606)])return;const r=e[n(575)][n(479)][n(402)];r[n(672)](n(598))||r[n(672)](n(543))||(s[n(350)][n(497)](n(598),e[n(572)][n(431)](n(598)),r),s[n(350)][n(497)](n(494),e[n(572)][n(431)](n(494)),r))},{priority:i(433)})}),this[t(629)][t(653)][t(609)](t(355))[t(639)]({view:{name:t(503),attributes:{vid:!0}},model:{key:t(543),value:e=>e[t(431)](t(543))}}),this[t(629)][t(603)][t(462)].on(t(466),(e,[,i])=>{const s=t;[s(598),s(494),s(543)][s(409)](i)&&(e[s(363)]=!0,e[s(349)]())},{priority:t(386)}),this[t(629)][t(653)][t(609)](t(473))[t(581)](e=>{const i=t;e.on(i(670),(t,e,s)=>{const n=i;if(" "!=e[n(587)][n(673)]||e[n(587)][n(356)][n(641)]>1)return;if(!s[n(538)][n(589)](e[n(587)],t[n(544)]))return;const r=s[n(350)],o=s[n(631)][n(487)](e[n(536)]);r[n(423)](o,r[n(608)](n(503)))})}),this[t(629)][t(653)][t(609)](t(473))[t(463)]({model:t(364)}),this[t(629)][t(437)][t(564)].on(t(403),function(e){const i=t,s=e[i(476)][i(525)](i(593));return(t,n,r)=>{const o=i,a=n[o(446)][o(373)](":")[1],c=s[o(511)](a);if(!c)return null;const u=o(581)==c[o(616)]?o(373):o(468);if(!r[o(538)][o(417)](n[o(605)],t[o(544)]))return;const l=n[o(605)][o(394)](),h=n[o(605)][o(479)],d=e[o(603)][o(462)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(587)];p=p||d[o(347)](e);const i=r[o(631)][o(517)](e);if(i&&i[o(539)](o(620)))return;o(545)==t[o(616)]&&d[o(432)](e)&&!d[o(637)](e)&&(e[o(388)]||h[o(483)]?f&&f[o(356)]==e||(f=e,g(t[o(392)]),v=!0):m=m||t[o(392)])}function g(t){const e=o,i=r[e(350)][e(652)](e(503),{class:e(553)+u}),a=r[e(631)][e(532)](t);c[e(673)][e(665)]&&r[e(350)][e(379)](e(553)+u+e(368),i),s[e(450)]==c&&r[e(350)][e(379)](e(445),i),r[e(350)][e(601)](a,i),r[e(631)][e(663)](i,n[e(446)])}p||v||!m||g(m)}}(this[t(629)]),{priority:t(454)}),this[t(629)][t(437)][t(564)].on(t(671),(e,i,s)=>{const n=t,r=s[n(631)][n(512)](i[n(446)]);if(r)for(const t of r)(t[n(514)](n(621))||t[n(514)](n(498)))&&(s[n(631)][n(509)](t,i[n(446)]),s[n(350)][n(391)](t))},{priority:t(454)}),this[t(629)][t(437)][t(564)].on(t(403),(e,i,s)=>{const n=t,r=i[n(446)][n(373)](":")[1],o=this[n(511)](r);if(!o)return null;const a=n(581)==o[n(616)]?n(373):n(468);if(s[n(538)][n(417)](i[n(605)],e[n(544)]))for(const t of i[n(605)][n(449)]()){if(!t.is(n(657),n(527)))continue;const e=s[n(350)][n(652)](n(503),{class:n(553)+a}),r=s[n(631)][n(532)](this[n(629)][n(603)][n(584)](t));o[n(673)][n(665)]&&s[n(350)][n(379)](n(553)+a+n(368),e),this[n(450)]==o&&s[n(350)][n(379)](n(445),e),s[n(350)][n(601)](r,e),s[n(631)][n(663)](e,i[n(446)])}},{priority:t(454)}),this[t(629)][t(603)][t(590)].on(t(585),()=>{const e=t;this[e(629)][e(437)][e(651)][e(585)](t=>{const i=e;for(const e of this[i(629)][i(603)][i(590)][i(408)]()){const s=this[i(629)][i(603)][i(590)][i(346)](e),n=this[i(629)][i(437)][i(651)][i(590)][i(346)](e);if(n){const e=s[i(431)](i(633));if(t[i(508)](i(502),n),t[i(422)](i(615),n),t[i(422)](i(428),n),t[i(422)](i(611),n),e){const s=this[i(511)](e);if(!s)return null;t[i(497)](i(502),e,n),t[i(379)](i(644)+s[i(616)],n),this[i(450)]==s&&t[i(379)](i(611),n)}}}})}),this[t(629)][t(653)][t(609)](t(355))[t(529)]({view:t(586),model:e=>t(407)+e,converterPriority:t(386)}),this[t(629)][t(653)][t(609)](t(355))[t(529)]({view:t(568),model:e=>t(359)+e,converterPriority:t(386)}),this[t(629)][t(653)][t(609)](t(473))[t(463)]({model:t(542),view:e=>({name:t(442)+e,group:t(542)}),converterPriority:t(386)}),this[t(629)][t(653)][t(609)](t(546))[t(635)]({model:t(542),view:e=>{const i=t,s=e[i(446)][i(373)](":")[1];return i(480)!=s&&i(470)!=s?null:{classes:[i(438),i(452)+s]}}}),this[t(629)][t(437)][t(564)].on(t(481),le(this[t(629)],t(468)),{priority:t(454)}),this[t(629)][t(437)][t(564)].on(t(484),le(this[t(629)],t(373)),{priority:t(454)}),this[t(629)][t(437)][t(564)].on(t(444),(e,i,s)=>{const n=t,r=s[n(631)][n(512)](i[n(446)]);if(r)for(const t of r)t.is(n(389))&&(s[n(631)][n(509)](t,i[n(446)]),s[n(350)][n(391)](t))},{priority:t(454)})}[oe(511)](t){const e=oe;return this[e(578)][e(525)](t)}[oe(533)](t){const e=oe;return this[e(474)]&&this[e(474)][e(647)](),this[e(474)]=new Jt(this[e(629)][e(526)],t),this[e(474)]}[oe(596)](){const t=oe;this[t(629)][t(603)][t(590)][t(410)][t(453)](t(364)),this.on(t(643),(e,i,s,n)=>{const r=t;n&&this[r(378)][r(391)](n),s&&(this[r(378)][r(581)]({view:s,stackId:r(440),position:{target:()=>{const t=r,e=this[t(629)][t(437)],i=this[t(511)](s[t(383)]);let n;if(i[t(673)][t(555)]){const s=e[t(651)][t(419)](i[t(369)]);n=Array[t(648)](s[t(521)]())}else{const i=this[t(629)][t(603)][t(460)][t(525)](t(435)+s[t(383)]);n=Array[t(648)](e[t(631)][t(512)](i[t(544)]))[t(613)](i=>e[t(651)][t(636)][t(519)](i))[t(613)](e=>Array[t(648)](e[t(521)]()))[t(549)]()}return this[t(492)]&&n[t(664)](e=>e[t(374)]-3<=this[t(492)].y&&e[t(612)]+3>=this[t(492)].y&&e[t(377)]-3<=this[t(492)].x&&e[t(401)]+3>=this[t(492)].x)||n[0]}}}),this[r(378)][r(565)](r(440)))}),this.on(t(667),(e,i,s,n)=>{const r=t;this[r(482)]=s?this[r(533)](s):null,this[r(629)][r(603)][r(585)](()=>{const t=r,e=this[t(629)][t(437)];n&&(n[t(673)][t(555)]?e[t(651)][t(585)](i=>{const s=t;i[s(422)](s(611),e[s(651)][s(590)][s(346)](n[s(369)]))}):e[t(367)](t(435)+n.id)),s&&(s[t(673)][t(555)]?e[t(651)][t(585)](i=>{const n=t;i[n(379)](n(611),e[n(651)][n(590)][n(346)](s[n(369)]))}):e[t(367)](t(435)+s.id))})}),this[t(563)](this[t(629)][t(437)][t(651)][t(590)],t(425),(e,i)=>{const s=t;if(this[s(450)])return;const n=this[s(610)](i[s(528)]),r=this[s(578)][s(525)](n);r?(this[s(492)]={x:i[s(524)].x,y:i[s(524)].y},this[s(482)]=this[s(533)](r)):(this[s(492)]=null,this[s(482)]=null)}),this[t(563)](this[t(629)][t(437)][t(651)][t(590)],t(399),(e,i)=>{const s=t,n=this[s(610)](i[s(528)]),r=this[s(578)][s(525)](n);r?(this[s(492)]={x:i[s(524)].x,y:i[s(524)].y},r===this[s(450)]?this[s(378)][s(404)]():this[s(450)]=r):(this[s(492)]=null,this[s(450)]=null)})}[oe(610)](t){const e=oe;do{const i=t[e(431)](e(502));if(i)return i;t=t[e(356)]}while(t);return null}[oe(607)](){const t=oe;this[t(629)][t(603)][t(585)](e=>{const i=t;for(const t of this[i(629)][i(603)][i(460)])e[i(426)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(538)][r(417)](s[r(605)],i[r(544)]))return;const o=s[r(605)][r(394)](),a=s[r(605)][r(479)],c=t[r(603)][r(462)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(587)];h=h||c[r(347)](e);const i=n[r(631)][r(517)](e);if(i&&i[r(539)](r(620)))return;r(545)==t[r(616)]&&c[r(432)](e)&&!c[r(637)](e)&&(e[r(388)]||a[r(483)]?u&&u[r(356)]==e||(u=e,f(t[r(392)]),d=!0):l=l||t[r(392)])}function f(t){const i=r,o=n[i(631)][i(532)](t),a=n[i(350)][i(652)](i(503),{class:i(452)+e});n[i(350)][i(601)](o,a),n[i(631)][i(663)](a,s[i(446)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(476)][e(525)](ue);this[e(352)]=!1,this[e(563)](i,e(467),()=>this[e(668)]()),this[e(563)](i,e(666),()=>this[e(668)]())}[oe(645)](){const t=oe,e=this[t(629)],i=e[t(476)][t(525)](ue),s=i[t(516)]?i[t(530)][t(475)]:null;e[t(535)][t(525)](t(649))[t(650)](s)}[oe(668)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(629)][t(476)][t(525)](ue),r=n&&s[t(625)](n[t(475)]);this[t(414)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(458)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(476)][i(525)](ue);this[i(352)]=!1,this[i(458)]=i(351)===e?1:-1,this[i(563)](s,i(467),()=>this[i(668)]()),this[i(563)](s,i(666),()=>this[i(668)]()),this[i(563)](s,i(667),()=>this[i(668)]())}[oe(645)](){const e=oe,i=this[e(629)],s=i[e(476)][e(525)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(450)]=n?s[e(530)][e(499)][e(525)](r+this[e(458)]):s[e(530)][e(499)][e(500)],s[e(450)][e(673)][e(555)])o=i[e(437)][e(651)][e(419)](s[e(450)][e(369)]);else{const t=i[e(603)][e(460)][e(525)](e(435)+s[e(450)].id);o=(0,K.getMarkerDomElement)(i[e(437)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(668)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(629)][t(476)][t(525)](ue);this[t(414)]=!!(r&&n&&s)&&(!e||(1===this[t(458)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Nt().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=["EDIT_X_OF_Y_REVISIONS","isForwardNavigationEnabled","numberOfChanges","bindTemplate","isEnabled","div","fire","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","_statusText","ck-hidden","forward","currentChangeNumber","Total","1163696DlCEFy","655405MJPuvN","setTemplate","351426cvotJq","4ejZxfA","isBackwardNavigationEnabled","7109352CPiYMw","isReady","1741520sCnyqu","3047028UpWvSk","backward","set","Show previous change","519599XZYuyt","No changes","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation__navigation","Show next change","bind","NUMBER_OF_CHANGES","7JXtTSf","ck-revision-history-ui__changes-navigation__wrapper","Loading...","span","execute","ck-revision-history-ui","_isStatusLabelVisible","isNavigationMode"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(417774===-parseInt(e(420))/1+-parseInt(e(411))/2*(-parseInt(e(410))/3)+parseInt(e(415))/4+parseInt(e(408))/5+-parseInt(e(416))/6+-parseInt(e(427))/7*(parseInt(e(407))/8)+parseInt(e(413))/9)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(438)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(418)](e(434),!1),this[e(418)](e(414),!1),this[e(418)](e(405),0),this[e(418)](e(437),0),this[e(418)](e(436),!1),this[e(418)](e(412),!1),this[e(425)](e(433)).to(this,e(414),this,e(437),(t,e)=>t&&e>0),this[e(425)](e(444)).to(this,e(414),this,e(405),this,e(437),this,e(434),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(429));if(!n)return at(t,o(421));const a=at(t,o(426),n);return r?at(t,o(443),[s+1,n]):a}),s[e(418)]({label:at(t,e(419)),tooltip:!0,icon:_t.IconChevronUp}),n[e(418)]({label:at(t,e(424)),tooltip:!0,icon:_t.IconChevronDown}),s[e(425)](e(439)).to(this,e(412)),n[e(425)](e(439)).to(this,e(436)),s.on(e(431),()=>this[e(441)](e(431),e(417))),n.on(e(431),()=>this[e(441)](e(431),e(404))),this[e(409)]({tag:e(440),attributes:{class:["ck",e(432),e(442)]},children:[{tag:e(430),attributes:{class:[e(428)]},children:[{tag:e(430),attributes:{class:[e(422),i.if(e(433),e(445),t=>!t)]},children:[{text:i.to(e(434),i=>i?at(t,e(435))+": ":at(t,e(406))+": ")}]},{text:i.to(e(444))}]},new It.ToolbarSeparatorView,{tag:e(440),attributes:{class:[e(423)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Nt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["2490090WQAgQf","11HGVULl","RevisionViewerLoadingOverlay","removeClass","editor","728TnfGCn","change","show","pluginName","447296mWzzoN","roots","addClass","68244vRcIdR","isPremiumPlugin","editing","ck-editor__editable__loading-overlay","69762bZtBoU","view","hide","180GKTvJB","document","82634vMkQfr","296455XzpUID","1973692uKAaHI","8yzapDt","isOfficialPlugin"];return(be=function(){return t})()}function we(t,e){const i=be();return(we=function(t,e){return i[t-=378]})(t,e)}const _e=we;!function(t){const e=we,i=t();for(;;)try{if(608103===parseInt(e(395))/1+-parseInt(e(398))/2*(parseInt(e(390))/3)+parseInt(e(397))/4+-parseInt(e(396))/5+parseInt(e(386))/6*(-parseInt(e(379))/7)+-parseInt(e(383))/8*(-parseInt(e(393))/9)+parseInt(e(400))/10*(parseInt(e(401))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const Ie=_e(389);class Se extends G.Plugin{static get[_e(382)](){return _e(402)}static get[_e(399)](){return!0}static get[_e(387)](){return!0}[_e(381)](){const t=_e,e=this[t(378)][t(388)][t(391)];e[t(380)](i=>{const s=t;for(const t of e[s(394)][s(384)])i[s(385)](Ie,t)})}[_e(392)](){const t=_e,e=this[t(378)][t(388)][t(391)];e[t(380)](i=>{const s=t;for(const t of e[s(394)][s(384)])i[s(403)](Ie,t)})}}function Oe(){const t=["closeRevisionViewerCallback","isForwardNavigationEnabled","listenTo","config","showPreviousChange","init","get","componentFactory","hide","commands","5676365FAXKyT","isEnabled","ck-revision-history-ui__back-to-editing","isPremiumPlugin","Back to editing","numberOfChanges","RevisionViewerUI","bind","5207985lRZVgL","execute","493432SvsZbU","25326210ieTApv","4WvdYvb","isReady","isOfficialPlugin","requires","change:isReady","add","currentChangeNumber","Restore this revision","showNextChange","exitToEditing","show","3093894xkTdir","4092OJTuPk","changesNavigation","revisionHistory","isNavigationMode","forward","97QBbyyl","91qsYkLx","restoreRevision","426126QIqUfM","plugins","editor","set","isBackwardNavigationEnabled","pluginName"];return(Oe=function(){return t})()}const Te=xe;function xe(t,e){const i=Oe();return(xe=function(t,e){return i[t-=372]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(716653===parseInt(e(381))/1*(parseInt(e(376))/2)+-parseInt(e(375))/3+parseInt(e(412))/4*(-parseInt(e(400))/5)+-parseInt(e(384))/6+parseInt(e(382))/7*(parseInt(e(410))/8)+-parseInt(e(408))/9+parseInt(e(411))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Ae extends G.Plugin{static get[Te(389)](){return Te(406)}static get[Te(414)](){return!0}static get[Te(403)](){return!0}static get[Te(415)](){return[ue,Se]}[Te(395)](){const t=Te,e=this[t(386)],i=e[t(385)][t(396)](ue),s=e[t(385)][t(396)](Se);e.ui[t(397)][t(417)](t(373),i=>{const s=t,n=new It.ButtonView(i);return n[s(387)]({label:at(i,s(404)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(402)}),this[s(392)](n,s(409),()=>{const t=s;e[t(393)][t(396)](t(378))[t(390)]()}),n}),e.ui[t(397)][t(417)](t(383),i=>{const s=t,n=new It.ButtonView(i);return n[s(387)]({label:at(i,s(419)),withText:!0,tooltip:!0}),n[s(407)](s(401)).to(e[s(399)][s(396)](s(383))),this[s(392)](n,s(409),()=>e[s(409)](s(383))),n}),e.ui[t(397)][t(417)](t(377),s=>{const n=t,r=new ge(s),o=e[n(399)][n(396)](n(394)),a=e[n(399)][n(396)](n(372));return r[n(407)](n(388)).to(o,n(401)),r[n(407)](n(391)).to(a,n(401)),r[n(407)](n(413),n(418),n(405),n(379)).to(i),this[n(392)](r,n(409),(t,i)=>{const s=n;e[s(409)](s(380)===i?s(372):s(394))}),r}),s[t(374)](),i.on(t(416),(e,i,n)=>{const r=t;n?s[r(398)]():s[r(374)]()})}}var Ne=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=Nt().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Me=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=302]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(736284===-parseInt(e(330))/1+parseInt(e(304))/2*(parseInt(e(331))/3)+-parseInt(e(332))/4+-parseInt(e(326))/5+-parseInt(e(317))/6*(-parseInt(e(322))/7)+-parseInt(e(303))/8*(parseInt(e(315))/9)+-parseInt(e(308))/10*(-parseInt(e(307))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(312)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(328)];this[i(323)]({label:at(t,i(325)),_tooltipString:""}),this[i(313)][i(316)]=at(t,i(314)),this[i(324)]({tag:i(318),attributes:{class:[i(327)],"data-cke-tooltip-text":s.to(i(319)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(321)}})}[Me(309)](){const e=Me;super[e(309)](),this[e(312)]=new t.ResizeObserver(this[e(313)][e(310)],()=>this[e(306)]()),this[e(320)](this[e(313)],e(305),()=>this[e(306)]())}[Me(311)](){const t=Me;super[t(311)](),this[t(312)]&&this[t(312)][t(311)]()}[Me(306)](){const t=Me,e=this[t(313)][t(310)];this[t(319)]=e[t(302)]>e[t(329)]&&e[t(333)]||""}}function Ee(){const t=["5262540nzozXb","value","scrollWidth","8EzXmlo","43566guRxRK","input","_updateTooltipText","2398UksowN","59390MNjqge","render","element","destroy","_resizeObserver","fieldView","Enter the revision name","2429937TQYpGd","placeholder","21342hvEFzr","span","_tooltipString","listenTo","ck-tooltip_multi-line","1190VJiFYq","set","extendTemplate","Revision name","1207530HxWiJk","ck-revision-history-sidebar__revision-name","bindTemplate","clientWidth","359775viTolI","141UvYIlC"];return(Ee=function(){return t})()}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Nt().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=["Revision creator","name","522521NHOugi","622252bszLwd","Revision author","5dBfSQW","push","784320wvLABY","210548rGlXsz","396wvdvlv","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","0 0 11 10","set","187928PCgplJ","2015664nkTdGI","1313937khnxIs","span","setTemplate","ck-revision-history-sidebar__revision-author_creator"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=311]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(271901===-parseInt(e(321))/1+-parseInt(e(322))/2+parseInt(e(315))/3+-parseInt(e(327))/4*(-parseInt(e(324))/5)+-parseInt(e(326))/6+-parseInt(e(314))/7+-parseInt(e(313))/8*(-parseInt(e(328))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(312)]({content:_t.IconUser,viewBox:s(311)});const r=["ck",s(330)];i&&r[s(325)](s(318));const o=[{tag:s(316),attributes:{class:["ck",s(329)],title:at(t,s(i?319:323))},children:[n,e[s(320)]]}];this[s(317)]({tag:"li",attributes:{class:r},children:o})}}function We(){var t=["8690aduVFy","294sSLsmn","1365AZFRwZ","202680LLAqNt","1078skmgxQ","toLocaleDateString","61265OHXchx","2PjKReg","322JtUqhT","57EMXzhp","97624sTjyeo","914724RTuTjC","toLocaleTimeString","945356NZBMiT","155928IWOUwz","long","numeric"];return(We=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=493]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(634493===parseInt(e(507))/1*(-parseInt(e(496))/2)+-parseInt(e(509))/3*(parseInt(e(503))/4)+-parseInt(e(506))/5*(-parseInt(e(501))/6)+-parseInt(e(508))/7*(-parseInt(e(493))/8)+parseInt(e(494))/9+parseInt(e(500))/10*(-parseInt(e(504))/11)+parseInt(e(497))/12*(parseInt(e(502))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(505),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Nt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Dt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=429]})(t,e)}function qe(){const t=["76402QNwaoY","1391870AotxDd","items","action","menu","ck-revision-history-sidebar__revision__actions","22eOVmHm","listenTo","isVisible","button","6850032Whdvuo","5335940SlFUwj","3524583fwVdvn","Compare against selected","execute","_action","isReady","first","function","4kvleoM","map","source","isEnabled","menuitem","model","set","children","3423681DQcWgj","isActionsDropdownOpen","8UAaTlF","Restore this revision","4RewHUz","stopPropagation","isOpen","find","Show more items","panelPosition","ck-on","listView","class","change:isActionsDropdownOpen","buttonView","bind","Name this revision","extendTemplate","2493300DhATeT","bindTemplate","name","locale","add"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(710192===parseInt(e(441))/1*(parseInt(e(472))/2)+-parseInt(e(453))/3*(parseInt(e(460))/4)+-parseInt(e(442))/5+-parseInt(e(436))/6+parseInt(e(451))/7+parseInt(e(470))/8*(parseInt(e(468))/9)+-parseInt(e(452))/10*(-parseInt(e(447))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Nt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=282]})(t,e)}function Ge(){const t=["ck-revision-history-sidebar__revision_highlighted","span","220","createdAt","setTemplate","186556mrxTCn","deselect","length","change","ck-revision-history-sidebar__revision__date","_requireRevisionName","fire","authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","bindTemplate","select","listenTo","revisionActionsView","ck-revision-history-sidebar__revision","isActionsDropdownOpen","uiLanguage","value","div","closest","render","map","revisionNameView","2642229dVWBqB","ck-revision-history-sidebar__revision-authors","ck-disabled","highlight","isConfirm",".ck-confirm-view","element","name","setName","set","from","ck-revision-history-sidebar__revision__controls-wrapper","_createdAtFormatted","srcElement","filter","creator","732104jEtkaa","isSelected","172953POwhcl","unhighlight","952jBPMJY","bind","2194805SSjPyg","isEnabled","unshift","4764796uRNTlk","extendTemplate","_revision","fieldView","isHighlighted","11089029mYCpwD","18MIlaTo","isReady","ck-revision-history-sidebar__actions_dropdown_open","ck-reset","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision_selected"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(942577===parseInt(e(298))/1+-parseInt(e(324))/2+parseInt(e(282))/3+-parseInt(e(307))/4+parseInt(e(304))/5*(parseInt(e(313))/6)+parseInt(e(312))/7+parseInt(e(302))/8*(-parseInt(e(300))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(345)];[Ye(336)];[Ye(309)];[Ye(329)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(333)],a=function(t,e){const i=r,s=Array[i(292)](e[i(331)])[i(296)](t=>t!=e[i(297)]);return e[i(297)]&&s[i(306)](e[i(297)]),s[i(344)](s=>new Pe(t,s,s==e[i(297)]))}(e,i);this.id=i.id,this[r(309)]=i,this[r(329)]=n,this[r(303)](r(289),r(322)).to(i),this[r(303)](r(294)).to(this,r(322),t=>{return i=e[r(339)],(s=t)[(n=ze)(505)](i,{month:n(498),day:n(499)})+", "+s[n(495)](i,{hour:n(499),minute:n(499)});var i,s,n}),this[r(291)](r(299),!1),this[r(291)](r(311),!1),this[r(291)](r(338),!1),this[r(291)](r(314),!1),this[r(291)](r(305),!1),this[r(345)]=new De(e,It.createLabeledInputText),this[r(345)][r(310)][r(308)]({attributes:{maxlength:r(321)}}),this[r(345)][r(310)][r(303)](r(340)).to(this,r(289),t=>t||this[r(294)]),this[r(345)][r(303)](r(305)).to(this,r(299),this,r(305),(t,e)=>t&&e),this[r(336)]=s&&s[r(326)]?function(e,i){const s=Ze,n=e[s(437)],r=e[s(439)],o=(0,It.createDropdown)(r);o[s(477)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(439)],n={"Compare against selected":at(s,i(454)),"Name this revision":at(s,i(434)),"Restore this revision":at(s,i(471))};return e[i(461)](t=>{const e=i,s=n[t[e(438)]];return s&&s!==t[e(438)]&&(t[e(438)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(450),model:new It.UIModel({label:t[n(438)],class:t[n(430)],withText:!0,role:n(464),_action:t[n(444)]})};i[n(465)][n(433)](n(463)).to(e,n(469),i=>n(459)!=typeof t[n(463)]||!i||t[n(463)](e)),o[n(440)](i)}return o}(e,i);return e[s(433)](s(469)).to(o,s(474)),o[s(432)][s(466)]({label:at(r,s(476)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(435)]({attributes:{class:[s(446),n.if(s(469),s(478))]},on:{click:n.to(t=>t[s(473)]())}}),o.on(s(455),t=>{const i=s;e[i(457)]&&i(459)==typeof t[i(462)][i(456)]&&t[i(462)][i(456)](e)}),(0,It.addListToDropdown)(o,a,{role:s(445)}),o[s(448)](e,s(431),(t,n,r)=>{const a=s;if(r)for(const t of o[a(429)][a(443)]){const s=t[a(467)][a(458)],n=i[a(475)](t=>t[a(444)]===s[a(456)])[a(449)];t[a(449)]=void 0===n||n(e)}}),o}(this,s):"",this[r(336)]&&this[r(336)][r(303)](r(305)).to(this),this[r(323)]({tag:r(341),attributes:{class:["ck",r(316),r(317),o.if(r(286),r(332))]},children:[{tag:r(341),attributes:{class:["ck",r(316),r(337),o.if(r(305),r(284),t=>!t),o.if(r(299),r(318)),o.if(r(311),r(319)),o.if(r(338),r(315))]},children:[this[r(345)],{tag:r(320),attributes:{class:["ck",r(328)]},children:[{text:o.to(r(294))}]},{tag:r(341),attributes:{class:["ck",r(293)]},children:[{tag:"ul",attributes:{class:["ck",r(283)]},children:a}]},this[r(336)]],on:{click:o.to(t=>{const e=r;t[e(295)][e(342)](e(287))||this[e(314)]&&this[e(305)]&&this[e(330)](e(334),{id:this.id})})}}]})}[Ye(343)](){const t=Ye;super[t(343)]();const e=this[t(345)][t(310)][t(288)];this[t(335)](e,t(327),()=>{const i=t;this[i(329)]&&!e[i(340)]||this[i(330)](i(290),{id:this.id,name:e[i(340)]}),e[i(340)]||(e[i(340)]=this[i(289)]?this[i(289)]:this[i(294)])})}[Ye(334)](){this[Ye(299)]=!0}[Ye(325)](){this[Ye(299)]=!1}[Ye(285)](){this[Ye(311)]=!0}[Ye(301)](){this[Ye(311)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{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},Ai={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ni={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 Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function Wi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const zi=new Map;const Ui=new Map;let Hi=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,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Wi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),zi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Wi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Wi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Ds(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Di.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function As(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function Ns(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=Ws(t.month,1,12),s=Ws(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ws(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ws(i,0,59),a=Ws(s,0,59),c=Ws(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!Ws(t.firstDay,1,7)||!Ws(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Ws(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ws(t,e,i){return Es(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ni,F:Ii,FF:Oi,FFF:Ai,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return zs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,An=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${An.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${Nn.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),Dn=RegExp(`${An.source} ?(?:${xn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${An.source}$`),Wn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function zn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(Nn),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Ln),ir=Sn(Mn,Fn,jn,Ln),sr=Sn(Vn,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,jn,Ln);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[Wn,zn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Ar=new RegExp(xr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(Ar,xr)}function Rr(t){return t.replace(/\./g,"").replace(Ar," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Ds(t))return t<-zr||t>zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Ns(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=Ws(t.weekNumber,1,Ks(t.weekYear,e,i)),r=Ws(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=Ws(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?As(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.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?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(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?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=As({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):Wr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ai}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=445]})(t,e)}function vo(){const t=["weekdayLong","local","36JuBBtL","77516qEooVW","9739212LDunTX","week","115mwIcXH","minus","day","month","8965896IlLjZa","hasSame","monthLong","fromJSDate","1841384fIQgeu","1902711jOXkwE","668734shVocy","startOf","setLocale","toJSDate","toRelativeCalendar","2437112SkkqVP","year"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(452)](t)[i(457)](e),n=fo[i(463)](),r=n[i(446)]({days:1})[i(456)](i(447));let o,a;return s[i(450)](n,i(447))?(o=s[i(456)](i(447))[i(458)](),a=s[i(459)]()):s[i(450)](r,i(447))?(o=r[i(458)](),a=s[i(459)]()):s[i(450)](n,i(467))?(o=s[i(456)](i(467))[i(458)](),a=s[i(462)]||""):s[i(450)](n,i(461))?(o=s[i(456)](i(448))[i(458)](),a=s[i(451)]||""):(o=s[i(456)](i(461))[i(458)](),a=String(s[i(461)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(812084===-parseInt(e(455))/1+parseInt(e(460))/2+parseInt(e(454))/3+-parseInt(e(465))/4*(-parseInt(e(445))/5)+parseInt(e(449))/6+-parseInt(e(466))/7+parseInt(e(453))/8*(-parseInt(e(464))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Nt().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-=139]})(t,e)}function _o(){const t=["21cOFDtX","select","619145tOhOOC","ck-revision-history-sidebar__time-period__label","_requireRevisionName","ck-revision-history-sidebar__time-period","addRevision","find","add","2613474Aoihrd","remove","3TkVEjx","revisionViews","ck-revision-history-sidebar__time-period__revisions","679036ugKFAh","div","localizedPeriodName","10rvCgVn","_revisionActions","startDate","setName","createCollection","span","uiLanguage","726750FuqLfp","6812190sFUrkl","2101294vVfYaB","4477392OQLnqC","delegate","removeRevision","locale","setTemplate"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(736764===-parseInt(e(164))/1+-parseInt(e(156))/2*(-parseInt(e(141))/3)+parseInt(e(144))/4+parseInt(e(154))/5+-parseInt(e(139))/6*(-parseInt(e(162))/7)+-parseInt(e(157))/8+parseInt(e(155))/9*(-parseInt(e(147))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(149)];[bo(142)];[bo(148)];[bo(166)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(160)][n(153)])[n(146)];this[n(149)]=e,this[n(142)]=this[n(151)](),this[n(148)]=i,this[n(166)]=s,this[n(142)][n(158)](n(163)).to(this),this[n(142)][n(158)](n(150)).to(this),this[n(161)]({tag:n(145),attributes:{class:["ck",n(167)]},children:[{tag:n(152),attributes:{class:["ck",n(165)]},children:[{text:r}]},{tag:n(145),attributes:{class:["ck",n(143)]},children:this[n(142)]}]})}[bo(168)](t){const e=bo,i=new Ke(this[e(160)],t,this[e(148)],this[e(166)]);this[e(142)][e(170)](i)}[bo(159)](t){const e=bo,i=this[e(142)][e(169)](e=>e.id===t.id);this[e(142)][e(140)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Nt().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=xo();return(To=function(t,e){return i[t-=282]})(t,e)}function xo(){const t=["content","setTemplate","Revision history","88VMNFbl","div","7818uINQzu","14772kFMkAH","68865CFOTSp","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","ck-reset_all","704963VStZaK","460WRiFgf","span","190800BKkdFS","6726312QPvHwP","421788WwBzhm"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(155029===-parseInt(e(292))/1+parseInt(e(288))/2*(-parseInt(e(290))/3)+-parseInt(e(284))/4+-parseInt(e(297))/5*(parseInt(e(291))/6)+-parseInt(e(296))/7+parseInt(e(282))/8+parseInt(e(283))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class Ao extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(285)]=_t.IconHistory,this[e(286)]({tag:e(289),attributes:{class:["ck",e(295),e(294)]},children:[i,{tag:e(298),attributes:{class:["ck",e(293)]},children:[at(t,e(287))]}]})}}var No=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;function Mo(){const t=["237KrWTXX","remove","_requireRevisionName","startDate","ck-disabled","getTime","map","setTemplate","createCollection","get","highlightRevisions","1158VcZFmA","locale","ck-rounded-corners","59EtcUMX","some","render","ck-revision-history-sidebar","select","1268GpFjrx","16660exagpq","ck-reset","ck-revision-history-sidebar__timeline","removeRevision","revisionSetName","highlight","_getTimePeriodViewByStartDate","34133lSiEjB","_removeRevision","fire","_addRevision","_revisions","find","add","7174hEqbtk","revisionSelected","delegate","deselect","flat","729909JqefGM","5707656VsbLGs","unhighlight","9751AaAmgn","isEnabled","24MmYSkp","revisionViews","timePeriodViews","div","190kQiWXA","_revisionActions","set","addRevision","uiLanguage","bindTemplate","setName","createdAt","selectRevision"];return(Mo=function(){return t})()}const Vo=Do;function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(144537===parseInt(e(457))/1*(parseInt(e(477))/2)+-parseInt(e(443))/3*(-parseInt(e(462))/4)+parseInt(e(463))/5+-parseInt(e(454))/6*(parseInt(e(485))/7)+parseInt(e(430))/8*(-parseInt(e(482))/9)+parseInt(e(434))/10*(-parseInt(e(470))/11)+parseInt(e(483))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends It.View{[Vo(432)];[Vo(474)];[Vo(435)];[Vo(445)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(439)];this[n(432)]=this[n(451)](),this[n(432)][n(479)](n(461)).to(this),this[n(432)][n(479)](n(440)).to(this),this[n(474)]=e,this[n(435)]=i,this[n(445)]=s,this.on(n(461),(t,e)=>{const i=n;this[i(472)](i(478),e)}),this.on(n(440),(t,e)=>{const i=n;this[i(472)](i(467),e)}),this[n(436)](n(429),!1),this[n(450)]({tag:n(433),attributes:{class:["ck",n(464),n(456),n(460)]},children:[new Ao(t),{tag:n(433),attributes:{class:["ck",n(465),r.if(n(429),n(447),t=>!t)]},children:this[n(432)]}]})}[Vo(459)](){const t=Vo;super[t(459)]();for(const e of this[t(474)])this[t(473)](e);this[t(474)].on(t(476),(e,i)=>{this[t(473)](i)}),this[t(474)].on(t(444),(e,i)=>{this[t(471)](i)})}get[Vo(431)](){const t=Vo;return this[t(432)][t(449)](e=>e[t(431)][t(449)](t=>t))[t(481)]()}[Vo(442)](t){const e=Vo;for(const i of this[e(431)])t&&t.id===i.id?i[e(461)]():i[e(480)]()}[Vo(453)](t){const e=Vo;for(const i of this[e(431)])t[e(458)](({id:t})=>t===i.id)?i[e(468)]():i[e(484)]()}[Vo(473)](t){const e=Vo,i=go(t[e(441)],this[e(455)][e(438)])[e(446)];let s=this[e(432)][e(452)](0);s&&s[e(446)][e(448)]()===i[e(448)]()||(s=new Io(this[e(455)],i,this[e(435)],this[e(445)]),this[e(432)][e(476)](s)),s[e(437)](t)}[Vo(471)](t){const e=Vo,i=go(t[e(441)],this[e(455)][e(438)])[e(446)];this[e(469)](i)[e(466)](t)}[Vo(469)](t){const e=Vo;return this[e(432)][e(475)](i=>i[e(446)][e(448)]()===t[e(448)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=382]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(935473===-parseInt(e(444))/1+-parseInt(e(397))/2+-parseInt(e(383))/3+parseInt(e(430))/4+-parseInt(e(463))/5*(-parseInt(e(424))/6)+-parseInt(e(457))/7*(parseInt(e(433))/8)+parseInt(e(396))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Co(448)];[Co(400)];[Co(394)];static[Co(399)]=[Co(427),Co(385),Co(462)];static[Co(449)]=function(){const t=Co;return{compareAgainstSelected:{name:t(417),action:({plugins:e},i)=>{const s=t,n=e[s(406)](ue),r=n[s(439)];let o=n[s(391)][s(386)],a=i.id;r[s(409)](o)>r[s(409)](a)&&([o,a]=[a,o]),n[s(445)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(406)](ue);return!(n[s(439)][s(402)](n[s(391)])[s(423)]>2||i[s(456)])}},restoreRevision:{name:t(434),action:(e,{id:i})=>{const s=t;e[s(436)][s(406)](s(419))[s(431)](i)},isVisible:({plugins:e},i)=>!!e[t(406)](ue)[t(439)][t(382)](i.id)},nameRevision:{name:t(421),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(406)](ue),o=r[n(439)][n(438)](i);r[n(445)](i,o),s[n(408)](),s[n(392)][n(454)]()}}}}();static get[Co(403)](){return Co(450)}static get[Co(422)](){return!0}static get[Co(440)](){return!0}static get[Co(404)](){return[ue]}constructor(t){const e=Co;super(t),this[e(448)]=t[e(390)][e(406)](ue),this[e(400)]=this[e(448)][e(439)],this[e(394)]=null}[Co(398)](){const t=Co,e=this[t(400)][t(389)],i=this[t(415)](),s=this[t(426)][t(436)][t(406)](t(455));this[t(394)]=new Eo(this[t(426)][t(395)],e,i,this[t(426)][t(436)][t(406)](t(452))),this[t(394)].on(t(405),this[t(435)][t(425)](this)),this[t(394)].on(t(420),this[t(443)][t(425)](this)),this[t(394)][t(425)](t(414)).to(this[t(448)]),this[t(394)][t(458)].on(t(412),(e,i)=>{const s=t;i[s(407)].on(s(412),(t,e)=>{const i=s;e[i(425)](i(414),i(442)).to(this[i(448)])})}),this[t(394)][t(393)](),this[t(461)](this[t(426)][t(441)],t(459),this[t(437)][t(425)](this)),this[t(461)](this[t(448)],t(387),this[t(388)][t(425)](this)),s[t(453)](this[t(394)][t(401)])}[Co(410)](){const t=Co;this[t(394)][t(401)][t(418)](),this[t(394)][t(410)]()}[Co(437)](){const t=Co,e=this[t(400)][t(384)](0);if(e){const i=this[t(400)][t(438)](e.id);this[t(448)][t(445)](e,i)}}[Co(435)](t,e){const i=Co,s=this[i(400)][i(384)](e.id),n=this[i(400)][i(438)](s.id);this[i(448)][i(445)](s,n)}[Co(443)](t,e){const i=Co;this[i(400)][i(384)](e.id)[i(416)](e[i(432)])}[Co(388)](t,e,i){const s=Co,n=this[s(400)][s(402)](i);n[s(423)]>2?(this[s(394)][s(447)](n),this[s(394)][s(460)](null)):(this[s(394)][s(447)]([]),this[s(394)][s(460)](n[0]))}[Co(415)](){const t=Co,e=this[t(426)],i=jo[t(449)],s=e[t(436)][t(406)](t(411))||jo[t(399)];if(s[t(423)])return s[t(446)](s=>{const n=t,r=n(451)==typeof s?Object[n(429)]({},i[s]):s;return r[n(413)]=r[n(413)][n(425)](this,e),r[n(428)]&&(r[n(428)]=r[n(428)][n(425)](this,e)),r})}}function Lo(){const t=["revisionSetName","Name this revision","isOfficialPlugin","length","6jUcLtn","bind","editor","compareAgainstSelected","isVisible","assign","4884116cDLVcG","restoreRevisionCallback","name","8vkzWjY","Restore this revision","_handleRevisionSelected","config","_handleEditorDataReady","getEarlierVisibleRevision","repository","isPremiumPlugin","data","isReady","_handleRevisionSetName","1580684dXAdvw","compare","map","highlightRevisions","_revisionViewer","availableRevisionActions","RevisionsSidebar","string","revisionHistory.requireRevisionName","appendChild","select","revisionHistory.viewerSidebarContainer","isSelected","9397871rfoLUK","timePeriodViews","ready","selectRevision","listenTo","nameRevision","4398535MOkIAm","getLaterVisibleRevision","3322170hiOQno","getRevision","restoreRevision","newRevisionId","change:diff","_handleDiffChange","_revisions","plugins","diff","fieldView","render","_sidebarView","locale","36013032hDElAA","2272168tiIfRV","init","defaultRevisionActions","_revisionsRepository","element","getRevisionsInDiff","pluginName","requires","revisionSelected","get","revisionViews","focus","getIndex","destroy","revisionHistory.revisionActions","add","action","isEnabled","_createRevisionActions","setName","Compare against selected","remove","revisionHistory"];return(Lo=function(){return t})()}function Po(){const t=["357413tuIyWz","_toolbarConfig","_elementReplacer","bind","1752116tJCmQe","element","ready","stickyPanel","detachDomRoot","name","_view","113WbFatu","rootName","destroy","getRoot","5544DpwAaV","fillFromConfig","document","editable","4749415DghMev","isActive","limiterElement","attachDomRoot","addToolbar","isFocused","1989qFMABf","1001526bpjCAS","setEditableElement","44195MMiDoW","render","replace","focusTracker","32WUqoQg","editor","get","config","editing","14690HbvViI","viewportTopOffset","viewportOffset","init","componentFactory","276pYMzWv","view","fire","_initToolbar","restore","toolbar"];return(Po=function(){return t})()}const Wo=zo;function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(518523===parseInt(e(146))/1*(parseInt(e(150))/2)+parseInt(e(161))/3+-parseInt(e(187))/4+-parseInt(e(163))/5*(-parseInt(e(177))/6)+-parseInt(e(183))/7*(parseInt(e(167))/8)+parseInt(e(160))/9*(-parseInt(e(172))/10)+parseInt(e(154))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Uo extends It.EditorUI{[Wo(145)];[Wo(184)];[Wo(185)];get[Wo(178)](){return this[Wo(145)]}constructor(e,i){const s=Wo;super(e),this[s(145)]=i,this[s(184)]=(0,It.normalizeToolbarConfig)(e[s(170)][s(169)](s(182))),this[s(185)]=new t.ElementReplacer}get[Wo(188)](){const t=Wo;return this[t(178)][t(188)]}[Wo(175)](t){const e=Wo,i=this[e(168)],s=this[e(178)],n=i[e(171)][e(178)],r=s[e(153)],o=n[e(152)][e(149)]();r[e(144)]=o[e(147)],s[e(164)]();const a=r[e(188)];this[e(162)](r[e(144)],a),s[e(153)][e(186)](e(159)).to(this[e(166)]),n[e(157)](a),this[e(185)][e(165)](t,this[e(188)]),this[e(180)](),this[e(179)](e(189))}[Wo(148)](){const t=Wo;super[t(148)]();const e=this[t(178)],i=this[t(168)][t(171)][t(178)];this[t(185)][t(181)](),i[t(143)](e[t(153)][t(144)]),e[t(148)]()}[Wo(180)](){const t=Wo,e=this[t(178)];e[t(190)][t(186)](t(155)).to(this[t(166)],t(159)),e[t(190)][t(156)]=e[t(188)],e[t(190)][t(186)](t(173)).to(this,t(174),({top:t})=>t),e[t(182)][t(151)](this[t(184)],this[t(176)]),this[t(158)](e[t(182)])}}var Ho=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;function qo(){var t=["main","content","4291340MNodgE","editable","stickyPanel","_editable","853734qQLdBr","toolbar","render","add","2114Qxihru","shouldToolbarGroupWhenFull","17444853JoGDEu","36rQwisA","top","804NRqUDQ","767355VGwrgG","3366696MnNIsP","2968584llUCCQ"];return(qo=function(){return t})()}var $o=Bo;function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=216]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(471719===-parseInt(e(224))/1*(-parseInt(e(229))/2)+-parseInt(e(230))/3+-parseInt(e(231))/4+-parseInt(e(216))/5+parseInt(e(227))/6*(-parseInt(e(220))/7)+parseInt(e(232))/8+parseInt(e(226))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(219)];[$o(218)];[$o(221)];get[$o(217)](){return this[$o(219)]}constructor(t,e,i={}){var s=$o;super(t),this[s(218)]=new It.StickyPanelView(t),this[s(221)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(225)]}),this[s(219)]=new It.InlineEditableUIView(t,e)}[$o(222)](){var t=$o;super[t(222)](),this[t(218)][t(234)][t(223)](this[t(221)]),this[t(228)][t(223)](this[t(218)]),this[t(233)][t(223)](this[t(217)])}}const Jo=Ko;function Go(){const t=["sourceElement","initPlugins","updateSourceElement","6002pnIFqc","67698sNDWvi","create","locale","2954hGgyOI","view","init","config","ready","2825064sXrCWl","data","_ui","destroy","1016mcJonV","editing","2859095zxYVIa","document","fire","createRoot","get","initialData","model","741642QtmEUW","1376044AZRbqz","82Dmxwrl"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=167]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(507234===parseInt(e(190))/1*(-parseInt(e(186))/2)+parseInt(e(184))/3+parseInt(e(185))/4+parseInt(e(177))/5+-parseInt(e(171))/6+parseInt(e(194))/7*(parseInt(e(175))/8)+parseInt(e(191))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(173)];get ui(){return this[Jo(173)]}constructor(t,e){const i=Jo;super(e),this[i(187)]=t,this[i(183)][i(178)][i(180)]();const s=new Yo(this[i(193)],this[i(176)][i(167)],{shouldToolbarGroupWhenFull:!0});this[i(173)]=new Uo(this,s)}[Jo(174)](){const t=Jo;return this[t(189)](),this.ui[t(174)](),super[t(174)]()}static async[Jo(192)](t,e){const i=Jo,s=new this(t,e);return await s[i(188)](),await s.ui[i(168)](t),await s[i(172)][i(168)](s[i(169)][i(181)](i(182))||""),s[i(179)](i(170)),s}}const Qo=ta;function ta(t,e){const i=ia();return(ta=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(776768===parseInt(e(385))/1*(-parseInt(e(391))/2)+-parseInt(e(425))/3*(parseInt(e(309))/4)+parseInt(e(421))/5*(parseInt(e(338))/6)+parseInt(e(302))/7+-parseInt(e(358))/8+-parseInt(e(372))/9+parseInt(e(365))/10*(parseInt(e(317))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ea=[Qo(386),Qo(329),Qo(342),Qo(445),Qo(451),Qo(440),Qo(395)];function ia(){const t=["block","restrictedEditingException","save","data","10271192EEMegV","markers","locale","_enhanceCloseRevisionViewerCallback","removeSelectionAttribute","addRoot","fromCharCode","2834780DkGJAb","toolbar","includes","long","revisionHistory","RevisionHistoryUtils","from","10481499OgbGLz","loadRevisionData","getRevisionDocumentData","revisionHistory.editorContainer","numeric","isReadOnly","define","RevisionViewer","disableReadOnlyMode","tabindex","getRevisionRootsAttributes","changesNavigation","removeMarker","2331WGKPVU","RevisionHistoryUI","config","pluginName","revisionHistory.closeRevisionViewerCallback","_closeRevisionViewer","790DHMNEG","detachRoot","insert","style","AIActions","none","isOpen","keys","refreshPositioning","element","_viewerEditor","DocumentOutlineUI","hide","update","RevisionTracker","restoreRevision","querySelector","end","revisionHistory.showRevisionViewerCallback","set","RevisionViewerIntegration","join","isAttached","revision-history-viewer-opened","remove","init","get","createdAt","Annotations","adapter","427875TCgfjq","repository"," ck-tab-panel_disabled","getRevisions","24bheuCo","_enhanceShowRevisionViewerCallback","addRevisionData","AITabs","has","Autosave","setSelection","removeAttribute","translations","toJSON","push","create","Restored","requires","revisionHistory.requireRevisionName","AIQuickActions","toLocaleDateString","_showRevisionViewer","revision-history-missing-configuration","_restoreRevision","AIReviewMode","RevisionHistory","saveRevision",".ck-ai-chat__prompt-input .ck-textarea","isAnonymous","view","AIBalloon","uiLanguage","revisionHistory.viewerContainer","getRevision","_cleanUp","change","class","Dialog","display","enableReadOnlyMode","exitToEditing","_update","toVersion","_recalculatePageBreaks","catch","RevisionsRepository","isRevisionViewerOpen","then","ck-tab-panel_disabled","error","9360456jOudeS","PaginationLookup","selection","model","_getRevisionViewerEditorConfig","getUser","isReady","283084GuCjuv","getAttributeKeys","$graveyard","panelViews","getRoot","name","refreshVisibility","destroy","121DMkYcU","isOfficialPlugin","getMarkersGroup","fromVersion","isEnabled","revisionHistory.restoreRevisionCallback","parse","isPremiumPlugin","lazyRoots","createRangeIn","toLocaleTimeString","bind","RestrictedEditingMode","indexOf","closeRevisionViewerCallback","Users","editor","addUser","AIChatHistory","creator","DocumentOutline","18mRSgzV","rootName","document","showRevisionViewerCallback","AIChat","users","replace","map","result","enqueueChange","roots","commands","plugins",".ck-ai-chat-history .ck-input","setAttribute","revisionHistory.viewerEditorElement"];return(ia=function(){return t})()}class sa extends G.Plugin{[Qo(346)];static get[Qo(388)](){return Qo(411)}static get[Qo(318)](){return!0}static get[Qo(324)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(345)](t=>String[e(364)](t))[e(412)]("")}super(t),this[e(346)]=e(408),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(401)];static get[Qo(388)](){return Qo(446)}static get[Qo(318)](){return!0}static get[Qo(324)](){return!0}static get[Qo(438)](){return[pt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(333)][i(387)][i(417)](i(369)))throw new t.CKEditorError(i(443),this);this[i(401)]=null,this[i(410)](i(298),!1),this[i(333)][i(387)][i(378)](i(409),t=>this[i(442)]({...t,translations:this[i(333)][i(360)][i(433)]})),this[i(333)][i(387)][i(378)](i(389),t=>this[i(390)](t)),this[i(333)][i(387)][i(378)](i(322),t=>this[i(444)](t)),this[i(333)][i(387)][i(378)](i(439),!1),this[i(426)](),this[i(361)]()}set[Qo(420)](t){const e=Qo;this[e(333)][e(350)][e(417)](e(405))[e(420)]=t}get[Qo(420)](){const t=Qo;return this[t(333)][t(350)][t(417)](t(405))[t(420)]}[Qo(427)](t){const e=Qo;return this[e(333)][e(350)][e(417)](e(405))[e(427)](t)}[Qo(454)](t){const e=Qo;return this[e(333)][e(350)][e(417)](e(297))[e(454)](t)}[Qo(424)](t){const e=Qo;return this[e(333)][e(350)][e(417)](e(297))[e(424)](t||{toJSON:!1})}[Qo(306)](){const e=Qo,i=this[e(333)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(350)][e(417)](e(405)),r=i[e(350)][e(417)](e(332))[e(343)];return s[e(366)]=[e(292),e(406),e(383)],delete s[e(325)],s[e(350)][e(435)](sa,ue,Ae,class extends G.Plugin{static get[e(438)](){return[ue,e(332)]}[e(416)](){const s=e,o=this[s(333)][s(350)][s(417)](s(332));for(const t of r)t[s(449)]||o[s(307)](t.id)||o[s(334)](t);const a=n[s(422)][s(424)]();let c=null;const u=this[s(333)][s(350)][s(417)](s(379));u[s(420)]=n[s(420)],u[s(328)](s(321)).to(n),this[s(333)][s(349)][s(417)](s(406))[s(328)](s(321)).to(i,s(377),t=>!t);for(const e of a){const i=null===e[s(336)];if(i&&e[s(294)]===e[s(320)])continue;const r=e[s(434)]();u[s(427)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(293)](r,o);else if(!o){const e=a[u(434)]();e.id=(0,t.uid)(),n[u(447)](e,a[u(294)])[u(299)](t=>{c=t})}}else e[u(293)](r,o)})}}},jo),s}[Qo(426)](){const t=Qo,e=this[t(333)][t(387)][t(417)](t(369))[t(341)];this[t(333)][t(387)][t(410)](t(409),async()=>{const i=t;this[i(333)][i(291)](i(414));const s=this[i(333)][i(350)][i(417)](i(405));if(this[i(333)][i(350)][i(429)](i(430))){const t=this[i(333)][i(350)][i(417)](i(430));await t[i(356)]()}else await s[i(404)]();if(this[i(333)][i(350)][i(429)](i(303))&&this[i(333)][i(350)][i(417)](i(303))[i(295)](),this[i(333)][i(350)][i(429)](i(289))){const t=this[i(333)][i(350)][i(417)](i(289));t[i(397)]&&t[i(403)]()}if(this[i(333)][i(350)][i(429)](i(428))){const t=this[i(333)][i(350)][i(417)](i(428))[i(450)][i(312)];for(const e of t)e[i(288)]=e[i(288)]?e[i(288)]+i(423):i(300);if(this[i(333)][i(350)][i(429)](i(342))){const t=document[i(407)](i(448));t&&t[i(352)](i(381),"-1")}if(this[i(333)][i(350)][i(429)](i(335))){const t=document[i(407)](i(351));t&&t[i(352)](i(381),"-1")}}const n=this[i(306)]();return e(n)[i(299)](t=>{const e=i;return this[e(401)]=t,this[e(333)][e(350)][e(429)](e(419))&&this[e(333)][e(350)][e(417)](e(419))[e(315)](),this[e(333)][e(350)][e(429)](e(337))&&(this[e(333)][e(350)][e(417)](e(402))[e(450)][e(400)][e(394)][e(290)]=e(396)),t})[i(296)](t=>(console[i(301)](t),this[i(333)][i(380)](i(414)),null))})}[Qo(361)](){const t=Qo,e=this[t(333)][t(387)][t(417)](t(369))[t(331)];this[t(333)][t(387)][t(410)](t(389),()=>{const i=t;if(this[i(333)][i(350)][i(429)](i(303))&&this[i(333)][i(350)][i(417)](i(303))[i(295)](),this[i(333)][i(350)][i(429)](i(337))&&(this[i(333)][i(350)][i(417)](i(402))[i(450)][i(400)][i(394)][i(290)]=""),this[i(333)][i(350)][i(429)](i(428))){const t=this[i(333)][i(350)][i(417)](i(428))[i(450)][i(312)];for(const e of t)e[i(288)]=i(300)===e[i(288)]?"":e[i(288)][i(344)](i(423),"");if(this[i(333)][i(350)][i(429)](i(342))){const t=document[i(407)](i(448));t&&t[i(432)](i(381))}if(this[i(333)][i(350)][i(429)](i(335))){const t=document[i(407)](i(351));t&&t[i(432)](i(381))}}return this[i(401)][i(350)][i(417)](i(379))[i(455)](),e(this[i(401)])[i(299)](()=>{const t=i;if(this[t(333)][t(380)](t(414)),this[t(401)]=null,this[t(333)][t(350)][t(429)](t(419))){const e=this[t(333)][t(350)][t(417)](t(419));e[t(315)](),e[t(399)]()}})})}[Qo(442)](t){const e=Qo,i=this[e(333)][e(387)][e(417)](e(375)),s=this[e(333)][e(387)][e(417)](e(453)),n=this[e(333)][e(387)][e(417)](e(353));return Xo[e(436)](n,t)[e(299)](t=>(s[e(394)][e(290)]=e(354),i[e(394)][e(290)]=e(396),this[e(298)]=!0,t))}[Qo(390)](t){const e=Qo,i=this[e(333)][e(387)][e(417)](e(375));return this[e(333)][e(387)][e(417)](e(453))[e(394)][e(290)]=e(396),i[e(394)][e(290)]="",this[e(298)]=!1,t[e(316)]()}async[Qo(444)](t){const e=Qo,i=this[e(333)],s=this[e(401)][e(350)][e(417)](e(379)),n=i[e(350)][e(417)](e(405)),r=i[e(350)][e(417)](e(370)),o=s[e(422)][e(454)](t);let a,c,u;try{await r[e(373)](o,this[e(420)]),a=r[e(374)](o),c=r[e(382)](o)}catch(t){return void console[e(301)](t)}i[e(305)][e(456)](t=>{const s=e;for(const e of Array[s(371)](i[s(305)][s(359)][s(319)](s(355))))t[s(384)](e)}),s[e(308)]=!1,i[e(305)][e(347)](t=>{const s=e;t[s(431)](null),t[s(362)](i[s(305)][s(340)][s(304)][s(310)]());const n=Object[s(398)](a);for(const e of i[s(305)][s(340)][s(348)])s(311)!=e[s(339)]&&e[s(413)]()&&!n[s(367)](e[s(339)])&&t[s(392)](e);for(const e of n){let n=i[s(305)][s(340)][s(313)](e);n&&n[s(413)]()||(n=t[s(363)](e));const r=c[e],o=Object[s(398)](r),u=a[e];for(const e of n[s(310)]())o[s(367)](e)||t[s(432)](e,n);for(const i of o)t[s(352)](i,c[e][i],n);t[s(415)](t[s(326)](n)),t[s(393)](i[s(357)][s(323)](u,n),n,0)}});const l=at(i[e(360)],e(437));return u=o[e(314)]?-1==o[e(314)][e(330)](l)?l+": "+o[e(314)]:o[e(314)]:l+": "+o[e(418)][e(441)](i[e(360)][e(452)],{month:e(368),day:e(376)})+", "+o[e(418)][e(327)](i[e(360)][e(452)],{hour:e(376),minute:e(376)}),await n[e(447)]({name:u}),s[e(308)]=!0,i[e(387)][e(417)](e(369))[e(331)]()}}function ra(){var t=["1308945FyTIYy","3545248hOxasl","270586EEJWdS","8SUrodL","1862481eAphah","90hTzaTd","565168StSDtX","24213630NUfKeB","6NGwLeN","7144020zkuDEE"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=289]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(739004===-parseInt(e(298))/1*(-parseInt(e(292))/2)+-parseInt(e(294))/3*(parseInt(e(293))/4)+-parseInt(e(290))/5+-parseInt(e(289))/6+-parseInt(e(291))/7+parseInt(e(296))/8*(parseInt(e(295))/9)+parseInt(e(297))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|