@ckeditor/ckeditor5-revision-history 47.3.0-alpha.1 → 47.3.0-alpha.2
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-2025, 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{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},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:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>et,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]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case 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),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(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 N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?: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 D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\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&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=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=L(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])?[]:{}}E(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,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=L(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 $(t,e){const i=J();return($=function(t,e){return i[t-=148]})(t,e)}function J(){const t=["toJSON","map","creatorId","createdAt","1767156FQmRFm","removeAttribute","33088620ydslyv","230015nrYpca","12aZGJHY","diffData","creator","set","812346mELzdx","_update","494861gmjdHd","fire","authorsIds","toVersion","16NtDBoi","setAttribute","attributes","model","name","setName","2282967pnzrMN","authors","fromVersion","5668992ibqxjH","3LKKQbI"];return(J=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(615859===-parseInt(e(156))/1+parseInt(e(175))/2*(-parseInt(e(170))/3)+-parseInt(e(150))/4*(-parseInt(e(149))/5)+-parseInt(e(154))/6+-parseInt(e(169))/7+-parseInt(e(160))/8*(parseInt(e(166))/9)+parseInt(e(148))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[B(152)];[B(167)];[B(151)];[B(159)];[B(168)];[B(163)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(152)]=e[i(152)]||null,this[i(167)]=e[i(167)]||[],this[i(151)]=e[i(151)]||null,this[i(159)]=e[i(159)]||0,this[i(168)]=e[i(168)]||0,this[i(153)](i(164),e[i(164)]||""),this[i(153)](i(174),e[i(174)]||new Date),this[i(153)](i(162),e[i(162)]||{})}[B(165)](t){this[B(155)]({name:t})}[B(161)](t,e){const i=B,s=A(this[i(162)]);U(s,t,e),this[i(155)]({attributes:s})}[B(176)](t){const e=B,i=A(this[e(162)]);(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=L(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,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(155)]({attributes:i})}[B(155)](t,e=!1){const i=B;let s=!1;const n={id:this.id},r=[i(164),i(174),i(151),i(167),i(162),i(159),i(168),i(173)];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(167)]&&(n[i(158)]=n[i(167)][i(172)](t=>t.id),delete n[i(167)]),this[i(157)](i(155),n,e))}[B(171)](){const t=B;return{id:this.id,name:this[t(164)],creatorId:this[t(152)]?this[t(152)].id:null,authorsIds:this[t(167)][t(172)](t=>t.id),diffData:this[t(151)],createdAt:this[t(174)],attributes:this[t(162)],fromVersion:this[t(168)],toVersion:this[t(159)]}}}var G=i(782),K=i(211),Q=i(783);function X(t,e){const i=it();return(X=function(t,e){return i[t-=452]})(t,e)}const tt=X;!function(t){const e=X,i=t();for(;;)try{if(144133===parseInt(e(491))/1*(-parseInt(e(473))/2)+parseInt(e(486))/3+parseInt(e(454))/4*(-parseInt(e(479))/5)+-parseInt(e(474))/6+parseInt(e(505))/7*(parseInt(e(456))/8)+parseInt(e(480))/9*(-parseInt(e(467))/10)+parseInt(e(466))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class et extends G.Plugin{[tt(503)];static get[tt(485)](){return[K.Users]}static get[tt(465)](){return tt(496)}static get[tt(457)](){return!0}static get[tt(494)](){return!0}get[tt(498)](){const t=tt;return this[t(503)][t(498)]}constructor(e){const i=tt;super(e),this[i(503)]=new t.Collection}[tt(489)](){!async function(e){const i=k([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[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=X;for(const e in window)if(window[k([78,117,109,98,101,114])][i(476)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([118]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=X;return t[e(490)](t=>String[e(459)](t))[e(488)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1764201600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=X,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(462)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(477)](t){const e=tt,i=this[e(500)][e(492)][e(460)](e(453));return new Y({id:t.id,name:t[e(469)],creator:t[e(502)]?i[e(481)](t[e(502)]):null,diffData:t[e(482)]||t[e(463)],authors:t[e(468)][e(490)](t=>i[e(481)](t)),createdAt:new Date(t[e(507)]),attributes:t[e(475)],fromVersion:t[e(472)],toVersion:t[e(478)]})}[tt(506)](t,e=0){const i=tt;this[i(503)][i(483)](t,e)}[tt(455)](t){const e=tt;return this[e(503)][e(460)](t)}[tt(495)](t={toJSON:!1}){const e=tt,i=Array[e(471)](this[e(503)]);return i[e(452)](),t[e(484)]?i[e(490)](t=>t[e(484)]()):i}[tt(464)](t){const e=tt;return this[e(503)][e(464)](t)}[tt(501)](t){const e=tt,[,i]=this[e(487)](t,{direction:e(470)});return i}[tt(499)](t){const e=tt,[,i]=this[e(487)](t,{direction:e(504)});return i}[tt(461)](t){const e=tt,i=[];for(const s of this[e(487)](t[e(497)]))if(i[e(493)](s),s.id===t[e(458)])break;return i}*[tt(487)](t,{direction:e=tt(470),filter:i=()=>!0}={}){const s=tt,n=s(470)===e?1:-1;let r=this[s(503)][s(460)](t),o=this[s(464)](r);for(yield r;r;){if(o+=n,r=this[s(455)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["toJSON","requires","104373jcfBxf","getRevisionsIterator","join","afterInit","map","252991prbVmh","plugins","push","isPremiumPlugin","getRevisions","RevisionsRepository","newRevisionId","length","getLaterVisibleRevision","editor","getEarlierVisibleRevision","creatorId","_revisions","later","21tHIVBF","addRevision","createdAt","reverse","Users","4eYFVVQ","getRevision","326896jgBhPb","isOfficialPlugin","oldRevisionId","fromCharCode","get","getRevisionsInDiff","href","data","getIndex","pluginName","6563623VWyMuL","929420atrJcu","authorsIds","name","earlier","from","fromVersion","2rIpegJ","173202SrgFnS","attributes","isNaN","createRevision","toVersion","246265Erqkln","27zGoiED","getUser","diffData","add"];return(it=function(){return t})()}const st=rt;function nt(){const t=["editor","attributes","_getViewFromDiffObj","marked","getFillerOffset","from","_viewClassToTypeChar","data-revision-","processor","string","config","578895ePAqvT","append","getRevision","startsWith","customProperties","parse","_appendChild","30636UrfKqx","htmlProcessor","render","getRevisionDocumentData","map","length","36FOTGMf","2242528OeSRgZ","view","isOfficialPlugin","filter","name","_typeCharToViewClass","editing","10930808PEdqMT","920710Ddcbky","_setCustomProperty","innerHTML","RevisionHistoryUtils","attachChange","collaboration.channelId","toModel","toData","_removeRevisionMarkers","createElement","revision-start","domConverter","2463738fzlCOG","getRevisionRootsAttributes","revision-end","div","type","diffData","useFillerType","fillerOffset","pluginName","isAttached","forEach","2630733FCNazu","children","childNodes","domChildrenToView","isPremiumPlugin","constructor","_getTypeCharForViewElement","attributesAfter","insertions","default","_makeModelFromViewString","domDocument","document","loadRevisionData","get","data","viewChildrenToDom"];return(nt=function(){return t})()}function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=118]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(563975===-parseInt(e(123))/1+-parseInt(e(138))/2+-parseInt(e(150))/3+-parseInt(e(130))/4+parseInt(e(189))/5*(parseInt(e(129))/6)+parseInt(e(161))/7+parseInt(e(137))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(158)](){return st(141)}static get[st(132)](){return!0}static get[st(165)](){return!0}[st(184)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[st(135)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[st(174)](t,e){const i=st;if(t[i(155)]||!e)return;const s=this[i(178)][i(188)][i(175)](i(143)),n=await e[i(118)]({channelId:s,revisionId:t.id});t[i(155)]=n[i(155)]}[st(126)](t){const e=st,i={};for(const s in t[e(155)]){if(t[e(155)][s][e(142)]&&!t[e(155)][s][e(142)][e(159)])continue;const n=this[e(146)](JSON[e(121)](t[e(155)][s][e(169)])),r=this[e(178)][e(136)][e(131)][e(173)],o=new Q.ViewDocumentFragment(r,n[e(127)](t=>this[e(180)](t,!1)));this[e(178)][e(176)][e(186)][e(156)](e(181)),i[s]=this[e(178)][e(176)][e(186)][e(145)](o),this[e(178)][e(176)][e(186)][e(156)](e(170))}return i}[st(151)](t){const e=st,i={};for(const s in t[e(155)])t[e(155)][s][e(142)]&&!t[e(155)][s][e(142)][e(159)]||(i[s]=t[e(155)][s][e(168)]||{});return i}[st(167)](t){const e=st;return this[e(184)][e(175)](t[e(166)])}[st(180)](t,e){const i=st,s=this[i(178)][i(136)][i(131)][i(173)];if(i(187)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(154)]||"r"==t[i(154)]?[]:t[i(162)][i(127)](t=>this[i(180)](t,e));const o=this[i(135)][i(175)](t[i(154)])||Q.ViewElement,a=this[i(178)][i(176)][i(124)][i(149)];if(n=new o(s,t[i(134)],t[i(179)],r),"u"==t[i(154)]&&t[i(162)][0]){const r=t[i(162)][0];if(n[i(125)]=function(t){const e=i,s=t[e(147)](e(153));return s[e(140)]=r,s[e(163)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(122)](n);const e=Array[i(183)](a[i(177)](t,{bind:!1})),r=a[i(172)][i(147)](i(153));r[i(190)](...e),n=Array[i(183)](a[i(164)](r))[0]}}else if("r"==t[i(154)]&&t[i(162)][0]){const r=t[i(162)][0];if(n[i(125)]=function(t){t[i(140)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(122)](n);const e=Array[i(183)](a[i(177)](t,{bind:!1})),r=a[i(172)][i(147)](i(153));r[i(190)](...e);const o=Array[i(183)](a[i(164)](r));o[i(128)]>1?n[i(122)](o):n=o[0]}}if(t[i(120)])for(const[e,s]of t[i(120)])n[i(139)](e,s);const c=void 0===t[i(157)]?null:t[i(157)];return null!==c&&(n[i(182)]=()=>c),n}}[st(171)](t){const e=st,i=JSON[e(121)](t),s=this[e(178)][e(136)][e(131)][e(173)],n=new Q.ViewDocumentFragment(s,i[e(127)](t=>this[e(180)](t,!0)));return this[e(178)][e(176)][e(144)](n)}[st(146)](t){const e=st;return(t=t[e(133)](t=>!t[e(134)]||e(148)!==t[e(134)]&&e(152)!==t[e(134)]))[e(160)](t=>{const i=e;i(187)!=typeof t&&(t[i(162)]=this[i(146)](t[i(162)]),t[i(179)]=t[i(179)][i(133)](t=>!t[0][i(119)](i(185))))}),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 N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return 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 A=(s=s??new Map).get(t),M=s.get(i);if(null!=A&&null!=M)return A===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!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=gt();return(mt=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(818783===parseInt(e(398))/1+-parseInt(e(462))/2*(-parseInt(e(542))/3)+parseInt(e(406))/4+parseInt(e(521))/5+-parseInt(e(624))/6*(parseInt(e(539))/7)+parseInt(e(621))/8*(parseInt(e(684))/9)+parseInt(e(429))/10*(-parseInt(e(622))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gt);class pt extends G.Plugin{[ft(672)];[ft(433)];[ft(609)]=null;[ft(390)];[ft(467)]=null;[ft(570)];[ft(582)];[ft(525)];[ft(486)];[ft(674)];[ft(657)];[ft(432)];[ft(443)];[ft(440)];static get[ft(682)](){return ft(402)}static get[ft(601)](){return!0}static get[ft(507)](){return!0}static get[ft(496)](){return[K.Users,et,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(390)]=this[i(405)][i(579)][i(655)](i(420)),this[i(674)]=this[i(405)][i(579)][i(655)](i(504)),this[i(570)]=new vt(this[i(405)]),this[i(525)]=this[i(405)][i(543)][i(655)](i(485))||i(434),this[i(486)]=new Map,this[i(440)]=null;const s=(0,t.uid)();this[i(582)]={history:this[i(405)][i(455)][i(444)][i(667)],getLatestVersion:()=>Promise[i(510)](this[i(405)][i(455)][i(444)][i(663)]),getCurrentRevisionId:()=>s},this[i(645)](i(683),!1),this[i(645)](i(506),!0),this[i(645)](i(566),!1),this[i(405)][i(543)][i(586)](i(693),!0),this[i(405)][i(468)][i(515)](i(593))[i(688)]({view:i(700)})}[ft(691)](){const t=ft;this[t(549)](),this[t(405)][t(581)].on(t(436),()=>{const e=t,i=this[e(390)][e(603)](0),s=i&&null===i[e(600)]?i:null;if(this[e(432)]=!!s&&this[e(405)][e(543)][e(655)](e(693)),this[e(405)][e(579)][e(573)](e(524))){const t=this[e(582)][e(512)](),n=this[e(390)][e(603)](t);if(n)this[e(443)]=n[e(453)],this[e(432)]=!1;else{const t=this[e(582)][e(667)][e(464)][e(502)](t=>!t[e(418)]),n=t?t[e(625)]:this[e(582)][e(667)][e(663)];i?(i[e(439)]<n&&i[e(397)]({toVersion:n}),this[e(432)]?(this[e(582)][e(512)]=()=>s.id,this[e(443)]=s[e(453)]):(this[e(443)]=i[e(439)],this[e(432)]=!1)):(this[e(443)]=n,this[e(432)]=!1)}}else s&&(this[e(405)][e(455)][e(444)][e(667)][e(663)]=Math[e(477)](s[e(439)],this[e(405)][e(455)][e(444)][e(667)][e(663)]),s[e(453)]===s[e(439)]?(0!==s[e(453)]&&(this[e(582)][e(512)]=()=>s.id),this[e(432)]=!1):this[e(432)]&&(this[e(582)][e(512)]=()=>s.id,this[e(443)]=s[e(453)])),this[e(432)]||(this[e(443)]=this[e(405)][e(455)][e(444)][e(663)]);this[e(570)][e(691)](this[e(582)][e(667)]),this[e(599)](this[e(443)]),this[e(595)](this[e(443)]),this[e(467)]&&this[e(697)]()}),this[t(399)](t(683)).to(this,t(566),t=>!t),this[t(672)]=this[t(405)][t(543)][t(655)](t(672));const e=this[t(405)];this[t(433)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(555)==r||i(476)==r||i(412)==r||i(653)==r||i(589)==r||i(394)==r||i(541)==r||i(532)==r){delete e[n],s=r,clearInterval(this[i(433)]),this[i(433)]=void 0;break}}i(476)==s&&e[i(419)](i(414)),i(412)==s&&e[i(419)](i(617)),i(653)==s&&e[i(419)](i(651)),i(589)==s&&e[i(419)](i(489),i(607)),i(394)==s&&e[i(419)](i(628)),i(541)==s&&e[i(419)](i(558)),i(532)==s&&e[i(419)](i(608))},1e3)}async[ft(643)](){const t=ft;if(this[t(390)][t(563)]>0){const e=this[t(390)][t(603)](0),i=await this[t(631)](e),s=await this[t(466)](e);this[t(560)](i,s)}}[ft(529)](){const t=ft;super[t(529)](),this[t(433)]&&clearInterval(this[t(433)])}[ft(448)](t){this[ft(582)]=t}async[ft(571)](){const t=ft,e=await this[t(582)][t(404)]();if(e>this[t(609)][t(439)]){await this[t(509)]();const i=this[t(565)]({revision:this[t(609)],to:e});i[t(634)]=i[t(452)][t(596)](e=>this[t(405)][t(579)][t(655)](t(620))[t(709)](e)),this[t(609)][t(397)](i)}}async[ft(442)](e={},i=null){const s=ft,n=[];await this[s(509)](),this[s(432)]=!1,i>this[s(609)][s(439)]&&(i=null),null===i&&(i=await this[s(582)][s(404)]());const r=this[s(503)](i),o=this[s(565)]({from:r,to:i});if(this[s(609)][s(439)]<i){const t=this[s(565)]({revision:this[s(609)],from:i,to:i});t[s(634)]=[],t[s(452)]=[],t.id=this[s(609)].id,this[s(609)][s(397)](t,!0),delete t[s(634)],n[s(421)](t)}e[s(638)]=this[s(405)][s(579)][s(655)](s(620)).me.id,e[s(574)]=e[s(574)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(435)](e);n[s(421)](e);const c=this[s(390)][s(702)](a);if(0!==c){const t=this[s(390)][s(603)](c-1);if(t[s(453)]!==i){const r=this[s(570)][s(469)](i,t[s(439)]),o={id:t.id,diffData:r[s(644)],authorsIds:r[s(452)],authors:r[s(452)][s(596)](t=>this[s(405)][s(579)][s(655)](s(620))[s(709)](t)),fromVersion:i};t===this[s(609)]&&(o[s(690)]=new Date(e[s(690)][s(703)]()+10)),t[s(397)](o,!0),delete o[s(634)],n[s(421)](o)}}if(this[s(467)]){for(const t of n)this[s(707)](t.id,t,!0);this[s(697)]()}return a}[ft(435)](t){const e=ft,i=this[e(390)][e(514)](t);return this[e(467)]&&i.on(e(397),(t,i,s)=>{const n=e;s||(this[n(707)](i.id,i,!0),this[n(697)]())}),this[e(390)][e(522)](i,this[e(673)](i)),i}async[ft(631)](t){const e=ft;return await this[e(674)][e(407)](t,this[e(467)]),this[e(674)][e(631)](t)}async[ft(466)](t){const e=ft;return await this[e(674)][e(407)](t,this[e(467)]),this[e(674)][e(466)](t)}[ft(697)](){const t=ft;if(0===this[t(486)][t(417)])return;if(this[t(566)])return;let e=Array[t(454)](this[t(486)][t(483)]());this[t(486)][t(647)]();for(let i=0;i<e[t(563)];i++){const s=e[i];let n=!1;for(const e of Object[t(519)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(471)](t=>null!==t),!e[t(563)])return;for(let i=0;i<e[t(563)];i++){const s=e[i];void 0!==s[t(453)]&&void 0===s[t(439)]&&(s[t(439)]=this[t(390)][t(603)](s.id)[t(439)]),void 0!==s[t(439)]&&void 0===s[t(453)]&&(s[t(453)]=this[t(390)][t(603)](s.id)[t(453)])}const i=this[t(405)][t(543)][t(655)](t(485));this[t(566)]=!0,this[t(427)](),this[t(467)][t(562)](e,i)[t(660)](()=>{this[t(566)]=!1})[t(493)](e=>{const i=t;if(e)for(const t of e)this[i(605)]({id:t.id,createdAt:t[i(690)]});this[i(572)](),this[i(697)]()})}[ft(565)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(453)],i=null!==i?i:t[s(439)];const n=this[s(570)][s(469)](e,i),r={diffData:n[s(644)],authorsIds:n[s(452)],fromVersion:e,toVersion:i};if(!t||i!==t[s(439)]){const t=i-1,e=this[s(582)][s(667)][s(642)](t);r[s(690)]=e&&e[s(690)]||new Date}if(this[s(440)]&&e===this[s(440)][s(453)])for(const t of this[s(440)][s(634)])r[s(452)][s(646)](t.id)||r[s(452)][s(421)](t.id);return r}[ft(707)](t,e,i){const s=ft;if(this[s(486)][s(573)](t)){const n=this[s(486)][s(655)](t);e=i?{...n,...e}:{...e,...n}}this[s(486)][s(645)](t,e)}[ft(605)](t){const e=ft,i=this[e(390)][e(603)](t.id);if(t[e(690)]&&(t[e(690)]=new Date(t[e(690)])),t[e(452)]){const i=this[e(405)][e(579)][e(655)](e(620));t[e(634)]=t[e(452)][e(596)](t=>i[e(709)](t))}i[e(397)](t,!0)}[ft(599)](t){const e=ft,i=this[e(390)][e(603)](this[e(390)][e(563)]-1);if(i)this[e(525)]=i.id;else{const i=!this[e(405)][e(455)][e(444)][e(482)][e(502)](t=>this[e(405)][e(455)][e(520)](t)),s=this[e(405)][e(579)][e(655)](e(620)).me.id,n=at(this[e(405)][e(561)],e(i?696:588));this[e(518)]({from:t,to:t,id:this[e(525)],name:n,creatorId:s})}}[ft(595)](t){const e=ft,i=this[e(582)][e(512)]();this[e(609)]=this[e(390)][e(603)](i),this[e(609)]||(this[e(609)]=this[e(518)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(509)](){const t=ft;this[t(432)]&&!this[t(440)]&&(await this[t(674)][t(407)](this[t(609)],this[t(467)]),this[t(570)][t(480)](this[t(609)]),this[t(440)]={fromVersion:this[t(609)][t(453)],authors:this[t(609)][t(634)][t(577)]()})}[ft(560)](e,i){const s=ft;let n=this[s(405)][s(543)][s(655)](s(559)),r=this[s(405)][s(543)][s(655)](s(671));if(void 0===n){n={};for(const t of this[s(405)][s(455)][s(444)][s(639)]())n[t]=""}if(s(531)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(405)][s(455)][s(444)][s(639)]())r[t]={}}let o=!1;const a=Object[s(519)](n),c=Object[s(519)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(676)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(519)](r[t])[s(563)]>0){o=!0;break}}o||(o=c[s(456)](t=>!this[s(405)][s(455)][s(444)][s(389)](t))),o&&(0,t.logWarning)(s(694),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(405)][s(543)][s(645)](s(559),e),this[s(405)][s(543)][s(645)](s(671),i)}[ft(427)](){const t=ft;if(!this[t(657)]){const e=this[t(405)][t(579)][t(655)](t(712));this[t(657)]=e[t(649)](at(this[t(405)][t(561)],t(505)))}}[ft(572)](){const t=ft;this[t(657)]&&(this[t(405)][t(579)][t(655)](t(712))[t(474)](this[t(657)]),this[t(657)]=null)}[ft(673)](t){const e=ft,i=this[e(390)][e(656)]();i[e(431)]();let s=0;for(;s<i[e(563)];){const n=i[s];if(n===this[e(609)]){s++;continue}if(n.id===this[e(525)])break;const r=t[e(439)]-n[e(439)]||t[e(453)]-n[e(453)];if(r>0)break;if(r<0)s++;else{if(!t[e(600)]&&n[e(600)])break;if(n[e(600)]||!t[e(600)]){if(t[e(690)]>n[e(690)])break;s++}else s++}}return s}[ft(503)](t){const e=ft,i=this[e(390)][e(656)]();i[e(431)](),i[e(705)]();const s=i[e(502)](i=>i[e(439)]<=t)[e(439)];return s<this[e(443)]?this[e(443)]:s}[ft(518)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(565)]({from:e,to:i});o[r(574)]=t,o[r(638)]=s,o.id=n;const a=this[r(435)](o);return this[r(467)]&&this[r(707)](o.id,o,!0),a}[ft(549)](){const t=ft;this[t(405)][t(468)][t(515)](t(426))[t(687)]({model:t(700)})}}class vt{[ft(405)];[ft(666)];[ft(447)];[ft(465)];[ft(401)];[ft(594)];[ft(606)];[ft(475)];[ft(487)];[ft(449)];[ft(422)];[ft(616)];[ft(451)];[ft(545)];[ft(576)];[ft(554)];[ft(450)];constructor(t){const e=ft;this[e(405)]=t,this[e(447)]=new Map,this[e(465)]=-1,this[e(401)]=-1,this[e(594)]=new Map,this[e(606)]=new Map,this[e(475)]=new Map,this[e(487)]=new Map,this[e(449)]=new Map,this[e(422)]=new Map,this[e(616)]=new Map,this[e(451)]=new Map,this[e(545)]=new Map,this[e(576)]=new Map,this[e(554)]=1}[ft(691)](t){const e=ft;this[e(666)]=t;const i=new Map,s=new Map,n=this[e(405)][e(455)][e(444)][e(482)][e(596)](t=>t[e(445)]);for(const t of n){const n=this[e(405)][e(455)][e(444)][e(389)](t),r=yt(n);i[e(645)](t,r),s[e(645)](t,Object[e(612)](n[e(636)]()))}const r=Array[e(454)](this[e(405)][e(455)][e(537)])[e(596)](t=>[t[e(574)],t[e(640)]()]),o=this[e(666)][e(663)];this[e(592)](o,i,r,s),this[e(450)]=this[e(554)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(645)](t,i),c[e(645)](t,{})}this[e(592)](Number[e(641)],a,[],c)}[ft(469)](t,e){const i=ft;if(this[i(465)]===t&&this[i(401)]<=e)this[i(447)][i(417)]>1&&this[i(704)](this[i(401)]),this[i(633)](this[i(401)],e,!0);else{if(!this[i(447)][i(573)](t)){const e=this[i(481)](t);this[i(392)](e,t,!1)}this[i(392)](t,e,!0)}return this[i(465)]=t,this[i(401)]=e,this[i(637)]()}[ft(480)](t){const e=ft;if(!this[e(447)][e(573)](t[e(453)])){const i=this[e(481)](t[e(453)]);this[e(392)](i,t[e(453)],!1)}this[e(392)](t[e(453)],t[e(439)],!1);const i=this[e(405)][e(579)][e(655)](e(504));this[e(665)](),this[e(465)]=t[e(453)],this[e(401)]=t[e(439)];for(const s in t[e(644)]){const n=t[e(644)][s][e(472)],r=A(t[e(644)][s][e(598)])||{},o=i[e(602)](t[e(644)][s][e(395)]);o[e(445)]=s,o[e(409)]=!n||!n[e(654)],o[e(654)]=()=>o[e(409)],this[e(487)][e(645)](s,o),this[e(449)][e(645)](s,r),n&&this[e(576)][e(645)](s,n);const a=this[e(497)](o);this[e(616)][e(645)](s,a);for(const[t,i]of o[e(537)]){if(!t[e(689)](e(400)))continue;const s=t[e(473)](":")[2];for(const t of i[e(396)]({singleCharacters:!0})){const i=this[e(403)](t),n=e(533)==t[e(670)]?t[e(527)][e(424)][e(577)](0,-1):t[e(527)][e(424)],r=a[e(546)](n)[e(460)](i);this[e(451)][e(645)](r,{userId:s})}o[e(537)][e(580)](t)}}this[e(450)]=this[e(554)];const s=[...Array(this[e(554)])[e(519)]()][e(577)](1)[e(471)](t=>!this[e(451)][e(573)](t));let n=0;const r=new Map;for(const o in t[e(644)]){const a=t[e(644)][o][e(472)],c=A(t[e(644)][o][e(678)])||{},u=i[e(602)](t[e(644)][o][e(629)]);u[e(445)]=o,u[e(409)]=!a||a[e(654)],u[e(654)]=()=>u[e(409)],this[e(606)][e(645)](o,u),this[e(475)][e(645)](o,c);const l=this[e(497)](u,Number[e(641)]);this[e(422)][e(645)](o,l),r[e(645)](o,u[e(654)]()?c:{});for(const[t,i]of u[e(537)]){if(!t[e(689)](e(400)))continue;const s=t[e(473)](":")[2];for(const t of i[e(396)]({singleCharacters:!0})){const i=this[e(403)](t),n=this[e(554)]++,r=e(533)==t[e(670)]?t[e(527)][e(424)][e(577)](0,-1):t[e(527)][e(424)];l[e(546)](r)[e(701)](i,n),this[e(451)][e(645)](n,{userId:s})}u[e(537)][e(580)](t)}for(const t of this[e(405)][e(455)][e(698)](u)[e(396)]({singleCharacters:!0})){const i=this[e(403)](t),r=e(533)==t[e(670)]?t[e(527)][e(424)][e(577)](0,-1):t[e(527)][e(424)],o=l[e(546)](r);o[e(460)](i)>0||o[e(701)](i,s[n++])}for(const[t,i]of u[e(537)])t[e(689)](e(400))||this[e(594)][e(645)](t,i)}const{roots:o}=this[e(447)][e(655)](t[e(453)]),{roots:a}=this[e(447)][e(655)](t[e(439)]),c=yt(o[e(655)](e(567)));this[e(487)][e(645)](e(567),c),this[e(616)][e(645)](e(567),this[e(497)](c,Number[e(641)]));const u=yt(a[e(655)](e(567)));this[e(606)][e(645)](e(567),u),this[e(422)][e(645)](e(567),this[e(497)](u));const l=Array[e(454)](this[e(606)])[e(596)](([t,e])=>[t,yt(e)]);this[e(592)](this[e(401)],l,this[e(594)],r)}[ft(677)](){const t=ft;this[t(665)](),this[t(465)]=-1,this[t(401)]=-1,this[t(447)][t(647)](),this[t(691)](this[t(666)])}[ft(592)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(645)](t,{start:e[n(538)][n(484)](),end:e[n(441)][n(484)](),rootName:e[n(425)][n(445)]});this[n(447)][n(645)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(704)](t){const e=ft;this[e(447)][e(580)](t)}[ft(665)](){const t=ft;this[t(451)][t(647)](),this[t(545)][t(647)](),this[t(576)][t(647)](),this[t(606)][t(647)](),this[t(475)][t(647)](),this[t(487)][t(647)](),this[t(449)][t(647)](),this[t(422)][t(647)](),this[t(616)][t(647)](),this[t(594)][t(647)](),this[t(554)]=1,this[t(450)]=this[t(554)]}[ft(497)](t,e=null){const i=ft;let s=null;t.is(i(614))||(s=new Q.ModelElement(t[i(574)],{vid_start:null===e?this[i(554)]++:e++}));const n=[];for(const s of t[i(619)]())if(s.is(i(523))){n[i(421)](this[i(497)](s,e));const t=n[n[i(563)]-1];null!==e&&(e=t.is(i(523),i(446))?t[i(460)](i(552))+1:t[i(460)](i(550))+1)}else for(let t=0;t<s[i(492)];t++)n[i(421)](new Q.ModelElement(i(446),{vid:null===e?this[i(554)]++:e++}));if(t.is(i(614))){const e=kt(t[i(445)]);return e[i(708)](0,n),e}return s[i(701)](i(550),null===e?this[i(554)]++:e++),s[i(708)](0,n),s}[ft(392)](t,e,i){const s=ft;this[s(665)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(447)][s(655)](t);this[s(487)]=new Map(n),this[s(449)]=new Map(A(o));for(const[t,e]of this[s(487)])if(s(567)!==t&&(this[s(606)][s(645)](t,yt(e)),this[s(475)]=new Map(A(o)),i)){const i=this[s(554)];this[s(422)][s(645)](t,this[s(497)](e)),this[s(616)][s(645)](t,this[s(497)](e,i))}this[s(450)]=this[s(554)],this[s(606)][s(645)](s(567),yt(this[s(487)][s(655)](s(567)))),i&&this[s(422)][s(645)](s(567),this[s(497)](this[s(487)][s(655)](s(567))));for(const[t,e]of r){const i=this[s(487)][s(655)](e[s(445)]),n=this[s(606)][s(655)](e[s(445)]),r=new Q.ModelRange(this[s(461)](e[s(538)],i),this[s(461)](e[s(441)],i)),o=this[s(535)](r,n);i[s(537)][s(645)](t,r),this[s(594)][s(645)](t,o)}this[s(633)](t,e,i)}[ft(633)](t,e,i){const s=ft;for(const n of this[s(666)][s(611)](t,e))this[s(501)](n,i);for(const t of this[s(606)][s(483)]())t[s(537)][s(647)]();for(const[t,e]of this[s(594)])this[s(606)][s(655)](e[s(425)][s(445)])[s(537)][s(645)](t,e[s(484)]());const n=new Map,r=new Map;for(const[t,e]of this[s(606)])n[s(645)](t,yt(e)),r[s(645)](t,this[s(475)][s(655)](t));this[s(592)](e,n,this[s(594)],r)}[ft(481)](t){const e=ft,i=Array[e(454)](this[e(447)][e(519)]());i[e(551)]((t,e)=>t-e),i[e(431)]();for(const e of i)if(e<t)return e;return Number[e(641)]}[ft(662)](t,e){const i=ft,s=Array[i(454)](e[i(537)])[i(596)](([e,s])=>[e,this[i(535)](s,t)]);t[i(537)]=new Map(s)}[ft(569)](t){const e=ft;for(const i of this[e(594)][e(483)]()){const s=i[e(695)](t),n=Q.ModelRange[e(498)](s);i[e(538)]=n[e(538)],i[e(441)]=n[e(441)]}}[ft(501)](t,e){const i=ft;if(i(597)!=t[i(670)]&&i(457)!=t[i(670)]){if(i(530)==t[i(670)]){const s=t[i(479)][i(425)][i(445)];this[i(606)][i(573)](s)||(this[i(606)][i(645)](s,kt(s,!0)),this[i(475)][i(645)](s,{}),e&&this[i(422)][i(645)](s,kt(s,!0)))}else{if(i(556)==t[i(670)]||i(463)==t[i(670)]||i(437)==t[i(670)])return void this[i(540)](t);i(528)==t[i(670)]&&this[i(626)](t)}if(i(528)!==t[i(670)]){const e=this[i(669)](t,this[i(606)]);e[i(583)](),this[i(569)](e)}if(e)switch(t[i(670)]){case i(530):this[i(544)](t);break;case i(618):case i(474):case i(632):this[i(516)](t);break;case i(459):this[i(668)](t);break;case i(473):this[i(438)](t)}}else this[i(585)](t,e)}[ft(669)](t,e){const i=ft,s=t[i(484)]();return s[i(410)]=t[i(410)],this[i(578)](s,e),s}[ft(511)](t){const e=ft;return t[e(596)](t=>{const i=e,s=this[i(403)](t);return Number(t[i(679)][i(460)](s))})}[ft(615)](t,e){const i=ft;if(t.is(i(523),i(446)))e[i(421)]({item:t,type:i(630)});else{t.is(i(523))&&e[i(421)]({item:t,type:i(411)});for(const s of t[i(619)]())this[i(615)](s,e);t.is(i(523))&&e[i(421)]({item:t,type:i(533)})}return e}[ft(637)](){const t=ft,e=new Map(this[t(451)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(487)][t(519)](),...this[t(606)][t(519)]()]);a[t(580)](t(567));for(const e of a){const i=this[t(606)][t(655)](e)||kt(e,!1),s=this[t(487)][t(655)](e)||kt(e,!1);i[t(654)]()||s[t(654)]()?(n[t(629)][e]=yt(i),n[t(395)][e]=yt(s),this[t(662)](n[t(395)][e],s),this[t(662)](n[t(629)][e],i),r[t(629)][e]=this[t(615)](this[t(422)][t(655)](e),[]),r[t(395)][e]=this[t(615)](this[t(616)][t(655)](e)||kt(e,!1),[])):a[t(580)](e)}for(const n of a){const o=r[t(629)][n];for(const n of o){const r=this[t(403)](n),o=n[t(679)][t(460)](r);i[t(580)](o),o>=this[t(450)]&&s[t(645)](o,e[t(655)](o))}}for(const n of a){const a=r[t(629)][n],c=this[t(511)](r[t(395)][n]);let u=0;for(const n of a){const r=this[t(403)](n),a=n[t(679)][t(460)](r);if(!s[t(573)](a)&&!o[t(573)](a))if(i[t(573)](a))u++;else{if(a!=c[u]){const s=e[t(655)](a)||e[t(655)](c[u]);for(;a!=c[u];)i[t(573)](c[u])||(o[t(645)](c[u],s),e[t(645)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(629)][e];for(const e of n){const n=this[t(403)](e),r=e[t(679)][t(460)](n);if(o[t(573)](r)){const e=o[t(655)](r);i[t(573)](r)||i[t(645)](r,{...e}),s[t(645)](r,{...e})}}}for(const e of i[t(519)]())e>=this[t(450)]&&i[t(580)](e);const c=new Map;for(const e of a){let n=r[t(629)][e];for(const e of n)if(e[t(679)].is(t(523),t(553))){const i=this[t(403)](e),n=e[t(679)][t(460)](i);if(s[t(573)](n)){const i=e[t(679)][t(408)][t(408)][t(460)](t(575)),r=c[t(655)](i)||new Set;r[t(649)](s[t(655)](n)[t(692)]),c[t(645)](i,r)}}n=r[t(395)][e];for(const e of n)if(e[t(679)].is(t(523),t(553))){const s=this[t(403)](e),n=e[t(679)][t(460)](s);if(i[t(573)](n)){const s=e[t(679)][t(408)][t(408)][t(460)](t(575)),r=c[t(655)](s)||new Set;r[t(649)](i[t(655)](n)[t(692)]),c[t(645)](s,r)}}for(const e of c[t(519)]())(s[t(573)](e)||i[t(573)](e))&&c[t(580)](e)}for(const e of a){const n=r[t(629)][e];let o=null,a=null;for(const e of n){const n=this[t(403)](e),r=e[t(679)][t(460)](n),u=c[t(655)](r);u&&t(411)==e[t(670)]&&(o=Array[t(454)](u)[0],a=e[t(679)][t(460)](t(550))),o&&(i[t(645)](r,{userId:o}),s[t(645)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(395)][e],a=n[t(629)][e];for(const{userId:e}of this[t(545)][t(483)]())null!==e&&l[t(649)](e);for(const{userId:e}of this[t(576)][t(483)]())null!==e&&l[t(649)](e);this[t(591)](a,r[t(629)][e],s,t(536),l),this[t(591)](o,r[t(395)][e],i,t(652),l),u[e]={insertions:this[t(393)](a),deletions:this[t(393)](o),attachChange:this[t(576)][t(655)](e)||null,attributesBefore:A(this[t(449)][t(655)](e))||{},attributesAfter:A(this[t(475)][t(655)](e))}}return{diffData:u,authorsIds:Array[t(454)](l)}}[ft(478)](t){const e=ft;for(const[,i]of t[e(537)]){const t=i[e(538)][e(415)]()[e(471)](t=>e(553)==t[e(574)]);for(const i of t)1==i[e(587)]&&i[e(491)](0).is(e(523),e(710))&&i[e(491)](0)[e(701)](e(413),!0)}}[ft(393)](t){const e=ft;this[e(478)](t);const i=this[e(405)][e(581)][e(416)](t,{}),s=Array[e(454)](i[e(619)]())[e(596)](t=>this[e(661)](t));return JSON[e(675)](s)}[ft(661)](t){const e=ft;if(t.is(e(446)))return t[e(581)];{const i=this[e(405)][e(579)][e(655)](e(504)),s=t,n=this[e(405)][e(581)][e(686)][e(557)],r={type:i[e(659)](s),name:s[e(574)],attributes:Array[e(454)](s[e(636)]()),children:Array[e(454)](s[e(619)]())[e(596)](t=>this[e(661)](t))};if(t.is(e(548))&&e(500)!=t[e(574)]){const i=t[e(635)](n[e(458)],n);r[e(391)][e(421)](i[e(499)])}else if(t.is(e(706))){const i=n[e(458)][e(658)](s[e(574)]);t[e(635)](i,n),r[e(391)][e(421)](i[e(685)])}const o=Array[e(454)](s[e(517)]());o[e(563)]>0&&(r[e(568)]=o);const a=s[e(648)]();return null!==a&&(r[e(470)]=a),r}}[ft(591)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(405)][r(455)];for(let s=0;s<e[r(563)];s++){const n=this[r(403)](e[s]),c=e[s][r(679)][r(460)](n),h=i[r(655)](c),d=s==e[r(563)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(692)]!=o[r(692)])&&(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(692)],d=l(400)+s+":"+h+":"+c++,f=u[l(590)](i,a);t[l(537)][l(645)](d,f),null!==h&&n[l(649)](h)}}[ft(403)](t){const e=ft;switch(t[e(670)]){case e(411):return e(575);case e(533):return e(550);default:return e(552)}}[ft(578)](t,e){const i=ft;t[i(625)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(655)](n[i(425)][i(445)]);t[s]=this[i(461)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(655)](n[i(425)][i(445)]);t[s]=this[i(535)](n,r)}i(425)===s&&(t[i(425)]=e[i(655)](t[i(425)][i(445)]))}}[ft(535)](t,e){const i=ft;return this[i(405)][i(455)][i(590)](this[i(461)](t[i(538)],e),this[i(461)](t[i(441)],e))}[ft(461)](t,e){const i=ft;return this[i(405)][i(455)][i(613)](e,t[i(424)],t[i(488)])}[ft(544)](t){const e=ft,i=this[e(422)][e(655)](t[e(479)][e(425)][e(445)]),s=this[e(461)](t[e(479)],i),n=null===t[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,r=s[e(408)],o=this[e(554)],a=[];for(const i of t[e(564)])if(i.is(e(523)))a[e(421)](this[e(497)](i));else for(let t=0;t<i[e(492)];t++)a[e(421)](new Q.ModelElement(e(446),{vid:this[e(554)]++}));const c=this[e(554)];for(let t=o;t<c;t++)this[e(451)][e(645)](t,{userId:n});r[e(708)](s[e(430)],a)}[ft(516)](t){const e=ft;(t=this[e(669)](t,this[e(422)]))[e(583)]();const i=null===t[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,s=t[e(680)](),n=s[e(408)],r=s[e(430)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(491)](e);r.is(a(523),a(446))?s[a(645)](r[a(460)](a(552)),{userId:i}):(s[a(645)](r[a(460)](a(575)),{userId:i}),t(s,r,0,r[a(587)]),s[a(645)](r[a(460)](a(550)),{userId:i}))}}(this[e(451)],n,r,r+t[e(490)])}[ft(668)](t){const e=ft,i=null===(t=this[e(669)](t,this[e(422)]))[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,s=t[e(604)][e(408)],n=t[e(681)][e(408)],r=s[e(460)](e(550)),o=n[e(460)](e(575));s[e(701)](e(550),n[e(460)](e(550))),n[e(701)](e(550),r),this[e(451)][e(645)](o,{userId:i}),this[e(451)][e(645)](r,{userId:i}),t[e(583)]()}[ft(438)](t){const e=ft,i=null===(t=this[e(669)](t,this[e(422)]))[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,s=t[e(508)],n=t[e(526)][e(408)];t[e(583)]();const r=n[e(460)](e(550)),o=t[e(534)][e(428)];if(s){const t=o[e(460)](e(550)),s=n[e(460)](e(550));n[e(701)](e(550),t),o[e(701)](e(550),s),this[e(451)][e(645)](n[e(460)](e(550)),{userId:i}),this[e(451)][e(645)](o[e(460)](e(575)),{userId:i})}else{const t=this[e(554)]++,s=this[e(554)]++;n[e(701)](e(550),t),o[e(701)](e(575),s),o[e(701)](e(550),r),this[e(451)][e(645)](t,{userId:i}),this[e(451)][e(645)](s,{userId:i})}}[ft(626)](t){const e=ft;if(!t[e(584)])return;const i=(t=this[e(669)](t,this[e(606)]))[e(650)]?t[e(650)][e(425)]:null,s=t[e(495)]?t[e(495)][e(425)]:null;i&&this[e(594)][e(580)](t[e(574)]),s&&this[e(594)][e(645)](t[e(574)],t[e(495)][e(484)]());const n=null===t[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,r=t[e(574)];if(!this[e(545)][e(573)](r))return void this[e(545)][e(645)](r,{range:t[e(650)],userId:n});const o=this[e(545)][e(655)](r),a=o[e(699)],c=t[e(495)];null==a&&null==c||a&&c&&a[e(627)](c)?this[e(545)][e(580)](t[e(574)]):o[e(692)]=n}[ft(585)](t,e){const i=ft;this[i(606)][i(573)](t[i(445)])?this[i(606)][i(655)](t[i(445)])[i(409)]=t[i(423)]:(this[i(606)][i(645)](t[i(445)],kt(t[i(445)],!0)),this[i(475)][i(645)](t[i(445)],{}),e&&this[i(422)][i(645)](t[i(445)],kt(t[i(445)],!0)));const s=null===t[i(410)]?null:t[i(410)]||this[i(405)][i(579)][i(655)](i(620)).me.id,n=this[i(576)][i(655)](t[i(445)]);n&&n[i(692)]===s?this[i(576)][i(580)](t[i(445)]):this[i(576)][i(645)](t[i(445)],{userId:s,isAttached:t[i(423)]})}[ft(540)](t){const e=ft,i=this[e(475)][e(655)](t[e(425)][e(445)]);null===t[e(513)]?delete i[t[e(494)]]:i[t[e(494)]]=t[e(513)]}}function gt(){const t=["_baseIdsRoots","expired","move","getChildren","Users","6616SDsSBf","33hfZaDv","createPositionBefore","6XzMoUP","baseVersion","_handleMarkerOperation","isEqual","evaluationLimit","insertions","text","getRevisionDocumentData","reinsert","_applyOperations","authors","render","getAttributes","_getState","creatorId","getRootNames","getRange","NEGATIVE_INFINITY","getOperation","afterInit","diffData","set","includes","clear","getFillerOffset","add","oldRange","domainLimit","deletion","revisionHistoryLicenseKeyDomainLimit","isAttached","get","getRevisions","_pendingAction","createElement","_getTypeCharForViewElement","finally","_getViewJson","_copyMarkers","version","createPositionAfter","_reset","source","history","_handleMergeOperation","_cloneOperation","type","rootsAttributes","licenseKey","_findInsertionIndex","_utils","stringify","trim","reInit","attributesAfter","item","getMovedRangeStart","sourcePosition","pluginName","isReady","7461GrziBa","innerHTML","htmlProcessor","markerToData","dataToMarker","startsWith","createdAt","init","userId","revisionHistory.resumeUnsavedRevision","editor-initial-data-replaced-with-revision-data","getTransformedByOperation","Empty document","sendBufferedUpdates","createRangeIn","range","revision","_setAttribute","getIndex","getTime","_removeMetaData","shift","rawElement","_bufferUpdate","_insertChild","getUser","paragraph","createPositionAt","PendingActions","getRoot","repository","children","_calculateMetaData","_prepareViewToSave","revisionHistoryLicenseKeyEvaluationLimit","deletions","getWalker","_update","114440XgoWQZ","bind","revision:","_lastTo","RevisionTracker","_getVidAttributeName","getLatestVersion","editor","3297044XeVhyv","loadRevisionData","parent","_isAttached","_authorId","elementStart","revisionHistoryLicenseKeyExpired","keepParagraph","invalid","getAncestors","toView","size","_isInit","_showLicenseError","RevisionsRepository","push","_idsRoots","isAdd","path","root","dataDowncast","_addPendingAction","nodeAfter","8964070sJlBws","offset","reverse","_continueCurrentRevision","_licenseKeyCheckInterval","initial","addRevisionData","ready","changeRootAttribute","_handleSplitOperation","toVersion","_loadedStateData","end","saveRevision","_startingVersion","document","rootName","$text","_savedMetaData","setSource","_baseRootsAttributes","_startingRevisionId","_touched","authorsIds","fromVersion","from","model","some","detachRoot","domDocument","merge","getAttribute","_fixPosition","1478114dqoPvf","removeRootAttribute","_operations","_lastFrom","getRevisionRootsAttributes","adapter","conversion","getData","fillerOffset","filter","attachChange","split","remove","_diffRootsAttributes","revisionHistoryLicenseKeyInvalid","max","_processRootBeforeSave","position","loadState","_getPreviousFrom","roots","values","clone","collaboration.channelId","_bufferedUpdates","_baseRoots","stickiness","featureNotAllowed","howMany","getChild","offsetSize","then","key","newRange","requires","_makeIdsRoot","_createFromRanges","outerHTML","$comment","_handleOperation","find","_getFromVersion","RevisionHistoryUtils","PENDING_ACTION_REVISION_HISTORY","isEnabled","isPremiumPlugin","graveyardPosition","_loadState","resolve","_getBaseVids","getCurrentRevisionId","newValue","createRevision","for","_handleMoveOperation","getCustomProperties","_makeRevision","keys","hasContent","2983570UCOgmQ","addRevision","element","RealTimeCollaborationClient","_initialRevisionId","splitPosition","previousPosition","marker","destroy","insert","string","revisionHistoryLicenseKeyUsageLimit","elementEnd","insertionPosition","_fixRange","insertion","markers","start","1337756UAHlec","_handleRootAttributeOperation","revisionHistoryLicenseKeyTrialLimit","6SOpOCL","config","_handleInsertOperation","_touchedMarkers","getNodeByPath","_clone","uiElement","_setConversion","vid_end","sort","vid","tableCell","_revisionId","revisionHistoryLicenseKeyValid","addRootAttribute","domConverter","trialLimit","initialData","_replaceEditorDataWithRevisionData","locale","updateRevisions","length","nodes","buildRevisionData","_isPendingUpdate","$graveyard","customProperties","_transformMarkers","_revisionDataBuilder","update","_removePendingAction","has","name","vid_start","_touchedRoots","slice","_fixOperation","plugins","delete","data","_source","_execute","affectsData","_handleRootOperation","define","childCount","Initial revision","revisionHistoryLicenseKeyNotAllowed","createRange","_markChanges","_saveMetaData","upcast","_markers","_createCurrentRevision","map","addRoot","attributesBefore","_createInitialRevision","creator","isOfficialPlugin","_makeModelFromViewString","getRevision","targetPosition","setRevisionData","_diffRoots","RevisionHistory","usageLimit","currentRevision","_appendChild","getOperations","fromEntries","createPositionFromPath","documentFragment","_generateTape"];return(gt=function(){return t})()}function yt(t){const e=ft,i=kt(t[e(445)],t[e(654)]());for(const s of t[e(619)]()){const t=s[e(547)](!0);i[e(610)](t)}return i}function kt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(445)]=t,s[i(409)]=e,s[i(654)]=()=>s[i(409)],s}function bt(t,e,i){const s=ft,n=s(533)==t[s(670)]?i[s(711)](t[s(679)],s(441)):i[s(623)](t[s(679)]);return i[s(613)](e,n[s(424)],n[s(488)])}function wt(t,e,i){const s=ft,n=s(411)==t[s(670)]?i[s(711)](t[s(679)],0):i[s(664)](t[s(679)]);return i[s(613)](e,n[s(424)],n[s(488)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),Rt=i.n(Nt),At=i(123),Mt=i.n(At),Vt=i(741),Et=i.n(Vt),Dt=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=zt;function Lt(){const t=["175iJxhbo","add","label","arrowdown","keystrokes","ck-responsive-form","input","focus","arrowup","errorText","arrowright","set","159536PygtLe","reset","optional","956763vFcfSA","setTemplate","238492YFMPIR","356666VQRpDB","ck-revision-history-save-revision-form","8022gpbrMy","revisionNameInputView","_createRevisionNameInput","listenTo","Name of the revision","form","revisionName","583872KmCuqu","extendTemplate","revisionNameInputValue","fieldView","90MfnVtD","arrowleft","locale","220","render","focusTracker","2hKMIPN","trim","initializeCssTransitionDisablerMixin","stopPropagation","element","1529969xEDgNp","value"];return(Lt=function(){return t})()}function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=334]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(179792===parseInt(e(344))/1*(-parseInt(e(369))/2)+-parseInt(e(334))/3+parseInt(e(368))/4+parseInt(e(351))/5*(-parseInt(e(371))/6)+-parseInt(e(349))/7+-parseInt(e(363))/8+-parseInt(e(366))/9*(-parseInt(e(338))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(343)];[Pt(355)];[Pt(372)];constructor(e,i){const s=Pt;super(e),this[s(343)]=new t.FocusTracker,this[s(355)]=new t.KeystrokeHandler,this[s(362)](s(336),""),this[s(372)]=this[s(373)](i),this[s(367)]({tag:s(376),attributes:{class:["ck",s(370),s(356)],tabindex:"-1"},children:[this[s(372)]]}),this[s(346)]()}[Pt(342)](){const t=Pt;super[t(342)](),(0,It.submitHandler)({view:this}),this[t(343)][t(352)](this[t(372)][t(348)]),this[t(355)][t(374)](this[t(348)]);const e=e=>e[t(347)]();this[t(355)][t(362)](t(361),e),this[t(355)][t(362)](t(339),e),this[t(355)][t(362)](t(359),e),this[t(355)][t(362)](t(354),e)}[Pt(358)](){const t=Pt;this[t(372)][t(358)]()}get[Pt(377)](){const t=Pt;return this[t(372)][t(337)][t(348)][t(350)][t(345)]()}set[Pt(377)](t){const e=Pt;this[e(372)][e(337)][e(348)][e(350)]=t[e(345)]()}[Pt(364)](){const t=Pt;this[t(372)][t(337)][t(348)][t(350)]="",this[t(372)][t(360)]=null}[Pt(373)](t){const e=Pt,i=new It.LabeledFieldView(this[e(340)],It.createLabeledInputText),s=i[e(337)];s[e(335)]({attributes:{maxlength:e(341)}});let n=at(this[e(340)],e(375));return!t&&(n+=" ("+at(this[e(340)],e(365))+")"),i[e(353)]=n,s.on(e(357),()=>{const t=e;this[t(336)]=s[t(348)][t(350)][t(345)]()}),i}}const Ut=Zt;function Ht(){const t=["hide","4232xMVBOq","revisionHistory.requireRevisionName","plugins","isOfficialPlugin","saveRevision","isEnabled","locale","465723ISMqFZ","RevisionTracker","_createSaveRevisionFormView","addMany","componentFactory","execute","showRevisionViewerCallback","19863820opBBJr","Dialog","isReadOnly","Accept","3486624AgxjYd","_createSaveRevisionButton","add","delegate","pluginName","config","focus","menuitem","isOpen","get","4600syImsR","panelView","show","_saveRevisionFormView","menu","42136OtEBeX","_registerMenuComponent","children","buttonView","Cancel","reset","RevisionHistoryUI","role","Save current revision","_createOpenRevisionButton","requires","submit","Open revision history","ck-button-action","menuBar:revisionHistory","low","view","Revision history","revisionNameInputView","items","4hDjaPn","listenTo","render","set","init","revisionSave","isReady","editor","The revision name cannot be empty.","isPremiumPlugin","bind","editing","errorText","681572WpuhTH","revisionHistory","_showDialog","14FboDOc","revisionName","10412238gqmoBC"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=298]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(961152===-parseInt(e(338))/1*(parseInt(e(351))/2)+parseInt(e(303))/3+-parseInt(e(358))/4*(-parseInt(e(313))/5)+-parseInt(e(356))/6+-parseInt(e(354))/7*(parseInt(e(318))/8)+-parseInt(e(365))/9+parseInt(e(299))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Ut(307)](){return Ut(324)}static get[Ut(361)](){return!0}static get[Ut(347)](){return!0}static get[Ut(328)](){return[pt]}[Ut(316)];[Ut(342)](){const t=Ut,e=this[t(345)],i=e[t(360)][t(312)](t(366));e.ui[t(369)][t(305)](t(352),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(314)][n(320)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(304)](It.ButtonView),l=new It.ListItemView(s),h=this[n(327)](It.ButtonView);return r[n(348)](n(363)).to(i,n(344),i,n(363),e,n(301),(t,e,i)=>t&&e&&!i),r[n(321)][n(341)]({icon:_t.IconHistory,label:at(s,n(335)),tooltip:!0}),u[n(341)]({withText:!0,role:n(310)}),h[n(341)]({withText:!0,role:n(310)}),this[n(339)](h,n(370),()=>{const t=n;r[t(311)]=!1,e[t(349)][t(334)][t(309)]()},{priority:n(333)}),c[n(320)][n(305)](u),l[n(320)][n(305)](h),a[n(325)]=n(317),a[n(337)][n(368)]([c,l]),o[n(305)](a),r}),e.ui[t(369)][t(305)](t(332),()=>this[t(319)]())}[Ut(319)](){const t=Ut,e=this[t(345)],i=e[t(364)],s=e[t(360)][t(312)](t(366)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(348)](t(363)).to(s,t(344),s,t(363),e,t(301),(t,e,i)=>t&&e&&!i),n[t(321)][t(341)]({icon:_t.IconHistory,label:at(i,t(335))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(304)](It.MenuBarMenuListItemButtonView);a[t(306)](t(370)).to(n),o[t(320)][t(305)](a),r[t(337)][t(305)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(327)](It.MenuBarMenuListItemButtonView);return u[t(306)](t(370)).to(n),c[t(320)][t(305)](u),r[t(337)][t(305)](c),n[t(314)][t(320)][t(305)](r),n}[Ut(304)](t){const e=Ut,i=this[e(345)],s=i[e(360)][e(312)](e(366)),n=new t(i[e(364)]);return n[e(341)]({label:at(i[e(364)],e(326))}),n[e(348)](e(363)).to(s,e(344),s,e(363),i,e(301),(t,e,i)=>t&&e&&!i),this[e(339)](n,e(370),()=>{this[e(353)]()}),n}[Ut(327)](t){const e=Ut,i=this[e(345)],s=i[e(360)][e(312)](e(366)),n=new t(i[e(364)]);return n[e(341)]({label:at(i[e(364)],e(330))}),n[e(348)](e(363)).to(s,e(344),i,e(301),(t,e)=>t&&!e),this[e(339)](n,e(370),()=>{const t=e;i[t(308)][t(312)](t(352))[t(298)]()}),n}[Ut(353)](){const t=Ut,e=this[t(345)],i=e[t(364)],s=e[t(360)][t(312)](t(300)),n=e[t(360)][t(312)](t(366));function r(n){const r=t;e[r(308)][r(312)](r(359))&&""===n[r(355)]?n[r(336)][r(350)]=at(i,r(346)):(e[r(360)][r(312)](pt)[r(362)]({name:n[r(355)]}),s[r(357)]())}this[t(316)]||(this[t(367)](),this[t(316)].on(t(329),()=>r(this[t(316)]))),this[t(316)][t(323)](),s[t(315)]({id:t(343),title:at(i,t(326)),isModal:!0,content:this[t(316)],actionButtons:[{label:at(e[t(364)],t(322)),withText:!0,onExecute:()=>s[t(357)]()},{label:at(e[t(364)],t(302)),class:t(331),withText:!0,onCreate(i){const s=t;i[s(348)](s(363)).to(n,s(344),n,s(363),e,s(301),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(316)])}]})}[Ut(367)](){const t=Ut,e=this[t(345)],i=e[t(364)];this[t(316)]=new Wt(i,e[t(308)][t(312)](t(359))),this[t(316)][t(340)]()}}const Bt=Jt;function $t(){const t=["type","4596lHAfbw","61448zsjqWl","3639200EAKnGH","isSuggestion","Suggested by","10IlUQXJ","add","focus","Added by","_model","setTemplate","468bxCohl","set","ck-revision-change","9762235ZYzZPm","element","ck-revision-change__","span","ck-revision-change__label","div","1324MZlnHl","bindTemplate","3033942egcDgd","data","ck-annotation","author","changeId","369301EAUNnz","name","Removed by","1502954RUWAvo"];return($t=function(){return t})()}function Jt(t,e){const i=$t();return(Jt=function(t,e){return i[t-=149]})(t,e)}!function(t){const e=Jt,i=t();for(;;)try{if(742557===-parseInt(e(164))/1+-parseInt(e(167))/2+-parseInt(e(169))/3*(parseInt(e(157))/4)+parseInt(e(174))/5*(parseInt(e(159))/6)+parseInt(e(151))/7+-parseInt(e(170))/8*(parseInt(e(180))/9)+parseInt(e(171))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Yt extends It.View{[Bt(163)];[Bt(178)];constructor(t,e){const i=Bt;super(t),this[i(178)]=e,this[i(163)]=e.id;const s=this[i(158)],n=at(t,e[i(160)][i(172)]?i(173):i(175)==e[i(168)]?i(177):i(166));this[i(149)](i(168),e[i(168)]),this[i(179)]({tag:i(156),attributes:{class:[i(161),i(150),s.to(i(168),t=>i(153)+t)],tabindex:-1},children:[{tag:i(154),children:[{tag:i(154),attributes:{class:[i(155)]},children:[{text:n}]},{text:" "+e[i(162)][i(165)]}]}]})}[Bt(176)](){const t=Bt;this[t(152)][t(176)]()}}var Gt=Qt;function Kt(){var t=["data","toJSON","350892kWZjNk","1078088lzmgox","368426SskoJE","18372MVIzRF","6zlHjUx","7970mYcUAa","rootName","241422ETEprq","type","set","2815015yEKvnd","560fJZRGB","968UxIIiQ","9PycRec","author","createdAt"];return(Kt=function(){return t})()}function Qt(t,e){var i=Kt();return(Qt=function(t,e){return i[t-=436]})(t,e)}!function(t){for(var e=Qt,i=t();;)try{if(220151===-parseInt(e(450))/1+parseInt(e(445))/2*(parseInt(e(447))/3)+parseInt(e(443))/4+parseInt(e(436))/5*(parseInt(e(446))/6)+-parseInt(e(453))/7+-parseInt(e(444))/8*(-parseInt(e(438))/9)+-parseInt(e(448))/10*(parseInt(e(437))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(439)];[Gt(451)];[Gt(441)];[Gt(449)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(439)]=e[i(439)],this[i(451)]=e[i(451)],this[i(441)]=e[i(441)]||{},this[i(449)]=e[i(449)],this[i(452)](i(440),e[i(440)])}[Gt(442)](){var t=Gt;return{id:this.id,authorId:this[t(439)].id,type:this[t(451)],data:this[t(441)],createdAt:this[t(440)]}}}const te=ee;function ee(t,e){const i=se();return(ee=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(217696===-parseInt(e(417))/1*(parseInt(e(418))/2)+parseInt(e(409))/3+-parseInt(e(416))/4+parseInt(e(420))/5+-parseInt(e(419))/6*(parseInt(e(423))/7)+-parseInt(e(414))/8*(-parseInt(e(415))/9)+-parseInt(e(408))/10*(-parseInt(e(410))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class ie{[te(422)];[te(411)];[te(421)];constructor(e,i){const s=te;this[s(422)]=e,this[s(411)]=i,this[s(421)]=new t.Collection}[te(412)](t){const e=te;for(const i of t)this[e(421)][e(413)](i)}}function se(){const t=["3671127xjubXQ","982656CMlgdl","1544APoEFL","402OhyzyV","12xFOZzz","1671310osCDll","changes","newRevisionId","1088311IirkOc","746180zosUQA","803601eUPdGv","11VJORwK","oldRevisionId","_setChanges","add","8XZvBfQ"];return(se=function(){return t})()}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=ue();return(ae=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(298910===parseInt(e(795))/1*(-parseInt(e(603))/2)+-parseInt(e(649))/3*(parseInt(e(661))/4)+-parseInt(e(689))/5+-parseInt(e(734))/6+parseInt(e(674))/7*(parseInt(e(565))/8)+-parseInt(e(638))/9*(-parseInt(e(517))/10)+parseInt(e(767))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends G.Plugin{[oe(610)];[oe(474)]=null;[oe(747)];[oe(494)];[oe(746)];[oe(680)];[oe(522)];static get[oe(757)](){return oe(764)}static get[oe(762)](){return!0}static get[oe(620)](){return!0}static get[oe(606)](){return[K.Users,It.ContextualBalloon,et,ot]}constructor(t){const e=oe;super(t),this[e(610)]=this[e(660)][e(618)][e(731)](e(683)),this[e(747)]=this[e(660)][e(618)][e(731)](e(766)),this[e(550)](e(491),null),this[e(550)](e(700),null),this[e(494)]=null,this[e(550)](e(551),null),this[e(550)](e(627),!1),this[e(550)](e(793),!0),this.on(e(788),(t,i,s)=>{const n=e;this[n(491)]=null,this[n(700)]=null,this[n(660)][n(501)][n(656)][n(784)](t=>{const e=n;for(const i of this[e(660)][e(501)][e(656)][e(744)][e(636)])s?t[e(569)](e(645),i):t[e(743)](e(645),i)})}),this[e(642)](e(728)).to(this,e(491),t=>null!==t),this[e(642)](e(704)).to(this,e(627),this,e(551),this,e(491),(t,i,s)=>t&&s?i[e(533)][e(685)](s):0),this[e(642)](e(614)).to(this,e(627),this,e(551),(t,i)=>t?i[e(533)][e(691)]:0),this[e(746)]=null,this[e(680)]=new Map,this[e(522)]=this[e(660)][e(618)][e(731)](It.ContextualBalloon)}[oe(571)](){const t=oe,e=this[t(660)],i=new de(e,{direction:t(710)}),s=new de(e,{direction:t(495)});e[t(724)][t(646)](t(686),i),e[t(724)][t(646)](t(782),s),e[t(724)][t(646)](t(505),new he(e)),this.on(t(721),()=>{const e=t;i[e(633)](),s[e(633)]()}),this[t(601)](),this[t(585)](),e[t(527)](t(692)),e[t(618)][t(504)](t(741))&&e[t(618)][t(731)](t(741))[t(508)](t(692))}async[oe(662)](t){const e=oe;return await this[e(747)][e(663)](t,this[e(474)]),this[e(747)][e(662)](t)}async[oe(794)](t){const e=oe;return await this[e(747)][e(663)](t,this[e(474)]),this[e(747)][e(794)](t)}async[oe(616)](t,e,i=!1){const s=oe;if(!this[s(793)])return;const n=this[s(551)],r=this[s(610)],o=s(629)==typeof t?r[s(624)](t):t,a=s(629)==typeof e?r[s(624)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(551)]&&this[s(551)][s(485)]===c&&this[s(551)][s(791)]===u)return Promise[s(615)]();this[s(627)]=!1,this[s(700)]=null,this[s(491)]=null,this[s(551)]=new ie(c,u);const l=this[s(479)](o,a,!0)[s(652)](t=>this[s(747)][s(663)](t,this[s(474)]));return l[s(781)](new Promise(t=>{setTimeout(t,20)})),Promise[s(486)](l)[s(568)](()=>{const t=s;if(!this[t(793)])return;this[t(671)]();const e=this[t(573)](c,u);for(const i of e[t(533)])this[t(680)][t(550)](i.id,i);this[t(660)][t(598)][t(532)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(660)][s(598)][s(744)][s(480)]())i[s(643)](t);for(const t of Object[s(667)](e[s(598)])){const n=i[s(584)](t);for(const r of Object[s(667)](e[s(675)][t]))i[s(510)](r,e[s(675)][t][r],n);i[s(771)](e[s(598)][t],n,0)}}),this[t(551)][t(531)](this[t(572)](e[t(533)])),this[t(627)]=!0})[s(754)](t=>{const e=s;console[e(732)](t),this[e(671)](),n&&(this[e(551)]=n),this[e(627)]=!0})}[oe(612)](t,e){const i=oe,s=this[i(610)][i(582)](t);return s.on(i(735),(t,i,n)=>e(i,n,s)),this[i(610)][i(562)](s),s}[oe(671)](){const t=oe;this[t(491)]=null,this[t(564)](),this[t(746)]&&this[t(746)][t(595)](),this[t(746)]=null,this[t(680)][t(655)](),this[t(660)][t(598)][t(532)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(660)][i(598)][i(744)][i(480)]())e[i(643)](t)})}[oe(572)](t){const e=oe,i=[],s=new Map;for(const t of this[e(660)][e(598)][e(744)][e(480)]()){const n=this[e(660)][e(501)][e(656)][e(694)](t);if(!n)continue;const r=n[e(742)]()[e(760)](0);r&&(i[e(781)](t),s[e(550)](t,r))}return i[e(563)]((t,i)=>{const n=e,r=s[n(731)](t),o=s[n(731)](i);return r.y-o.y||r.x-o.x}),(t=t[e(718)](t=>i[e(516)](t[e(768)])))[e(563)]((t,s)=>i[e(693)](t[e(768)])-i[e(693)](s[e(768)])),t}[oe(587)](t){const e=oe,i=Array[e(545)](t[e(547)])[e(718)](([t,i])=>t[e(608)](e(740))&&!i[e(720)]),s=Array[e(545)](this[e(660)][e(598)][e(725)](t)[e(758)]({singleCharacters:!0}));if(0!=i[e(691)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(557)](":");if(n[e(632)][e(637)](t[e(499)])&&i[e(714)](),(t[e(776)][e(637)](n[e(477)])||t[e(776)][e(514)](n[e(477)]))&&(e(673)==r?t[e(659)]={userId:o}:e(554)==r&&(t[e(555)]={userId:o})),0==i[e(691)])break}return s}[oe(670)](t){const e=oe,i=new Map;for(let s=0;s<t[e(691)];s++)e(525)===t[s][e(719)]?(t[s][e(760)][e(489)]=s,t[s][e(760)][e(716)]=s):(e(684)===t[s][e(719)]?t[s][e(760)][e(489)]=s:e(588)===t[s][e(719)]&&(t[s][e(760)][e(716)]=s),i[e(550)](t[s].id,s));for(const s of i[e(518)]())e(684)===t[s][e(719)]?t[s][e(760)][e(716)]=i[e(731)](t[s][e(769)]):e(588)===t[s][e(719)]&&(t[s][e(760)][e(489)]=i[e(731)](t[s][e(769)]))}[oe(483)](t){const e=oe;for(let i=0;i<t[e(691)];i++){if(e(684)===t[i][e(719)])t[i][e(760)][e(489)]=i;else if(e(588)===t[i][e(719)]){t[i][e(760)][e(716)]=i;const s=t[i][e(760)][e(489)];t[s][e(769)]=t[i].id,t[i][e(769)]=t[s].id}else t[i][e(760)][e(489)]=i,t[i][e(760)][e(716)]=i,t[i][e(769)]=null;t[i][e(602)]||(t[i][e(602)]=[],t[i][e(575)]=[])}}[oe(711)](t,e){const i=oe,s=t[i(718)](t=>!t[i(659)]);for(let t=0;t<e[i(691)];t++)e[t][i(659)]&&(s[t][i(659)]=e[t][i(659)])}[oe(573)](t,e=null){const i=oe,s=this[i(610)][i(624)](t),n=e?this[i(610)][i(624)](e):null,r=this[i(479)](s,n),o=r[r[i(691)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(691)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(667)](e[i(570)]))if(e[i(570)][t][i(556)]){const s=e[i(570)][t][i(556)];s[i(639)]?(u[i(646)](t),l[i(504)](t)&&l[i(731)](t)[i(542)]==s[i(542)]?l[i(599)](t):l[i(550)](t,s)):l[i(504)](t)?(u[i(599)](t),l[i(599)](t)):(u[i(646)](t),l[i(550)](t,s))}else u[i(646)](t)}for(const t of u){const e=l[i(504)](t)&&!l[i(731)](t)[i(639)];let s=e?r[i(691)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(570)][t]){const s=e?o[i(570)][t][i(783)]:o[i(570)][t][i(523)];c[i(675)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(598)]={};for(const e of t[i(640)])a[i(550)](e.id,e);for(const e of u){const s=t[i(570)][e]?t[i(570)][e][i(515)]:"[]",n=t[i(570)][e]?t[i(570)][e][i(702)]:"[]";t[i(598)][e]={insertions:this[i(747)][i(668)](s),deletions:this[i(747)][i(668)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(545)](s[i(598)][t][i(515)][i(547)])[i(718)](([t])=>!t[i(608)](i(740))));let h=0;for(const o of r){const r=this[i(587)](o[i(598)][t][i(515)]);o==s?(e=r,n=e[i(691)],e[i(631)](t=>{t.id=h++}),this[i(483)](e)):this[i(711)](e,r);const a=e[i(718)](t=>!t[i(659)])[i(652)](t=>t.id);let c=0;const l=this[i(587)](o[i(598)][t][i(702)]);l[i(631)](t=>{t[i(555)]?t.id=n++:t.id=a[c++]}),this[i(483)](l),this[i(763)](e,i(659)),this[i(763)](l,i(555)),o==s&&this[i(748)](e,u),e=this[i(604)](e,l),this[i(670)](e),this[i(763)](e,i(555))}e=e[i(718)](t=>!(t[i(659)]&&t[i(555)]));const d=new Map(o[i(598)][t][i(702)][i(547)]),f=new Set(u[i(667)]());for(const t of d[i(667)]())f[i(599)](t);this[i(739)](e,f),this[i(755)](e),e=this[i(540)](e),e=this[i(535)](e),e=this[i(658)](e);const{root:m,changes:p}=this[i(623)](e,a,t);c[i(598)][t]=m;const v=l[i(731)](t);if(v){const e=a[i(731)](v[i(542)]),s=new Xt({author:e,type:v[i(639)]?i(646):i(537),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(678)](s),c[i(675)][t][i(471)]=s.id}c[i(533)]=c[i(533)][i(544)](p)}return c}[oe(748)](t,e){const i=oe;for(let s=0;s<t[i(691)];s++)for(const[n,r]of e)!r[i(720)]&&r[i(477)][i(637)](t[s][i(776)])&&t[s][i(602)][i(781)](n),r[i(632)][i(637)](t[s][i(499)])&&t[s][i(575)][i(781)](n)}[oe(604)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(691)]||r<e[i(691)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(781)](o);else if(a[i(555)]&&o[i(659)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(541)](t,n,e,r);s=s[i(544)](o),n=a,r=c}else a[i(555)]?(r++,s[i(781)](a)):(n++,s[i(781)](o))}return s}[oe(739)](t,e){const i=oe,s=[];for(let o=0;o<t[i(691)];o++){for(let r=0;r<t[o][i(602)][i(691)];r++){const a=t[o][i(602)][r];if(!e[i(504)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(493)!=c||i(673)!=u&&i(554)!=u||(s[i(678)]({type:u,name:a,userId:l}),t[o][i(602)][i(628)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(575)][i(691)];r++){const a=t[o][i(575)][r];if(!e[i(504)](a))continue;const{group:c,type:u}=n(a);if(i(493)!=c||i(673)!=u&&i(554)!=u)continue;t[o][i(575)][i(628)](r,1),r--;const l=s[i(497)](t=>t[i(472)]==a);l>-1&&s[i(628)](l,1)}}function n(t){const e=i,s=t[e(557)](":");return{group:s[0],type:s[1],subType:s[e(691)]>=5?s[2]:null,id:s[e(691)]<5?s[2]:s[3],authorId:s[e(691)]<5?s[3]:s[4],markerCount:6==s[e(691)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(691)];i++){if(t[e(659)]&&e(673)==s[i][e(719)]&&t[e(659)][e(542)]==s[i][e(542)])return t[e(512)]=s[i],void delete t[e(659)];if(!t[e(659)]&&!t[e(555)]&&e(554)==s[i][e(719)])return void(t[e(529)]=s[i])}}}[oe(763)](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(550)](o.id,s);for(let s=0;s<t[i(691)];s++){if(i(555)==e&&t[s][i(659)]||i(659)==e&&t[s][i(555)])continue;if(i(525)==t[s][i(719)]){t[s][i(626)]=0;continue}const n=r[i(731)](t[s][i(769)]),o=r[i(731)](t[s].id);t[s][i(626)]=n-o}}[oe(479)](t,e,i=!1){const s=oe,n=[];let r=this[s(610)][s(685)](t),o=this[s(610)][s(685)](e);for(-1==o&&(o=this[s(610)][s(677)][s(691)],i=!1);r<o;)n[s(781)](this[s(610)][s(624)](r)),r++;return i&&n[s(781)](this[s(610)][s(624)](r)),n}[oe(541)](t,e,i,s){const n=oe,r=this[n(660)][n(598)][n(774)];let o=e;for(;t[o]&&t[o][n(659)];)o++;let a=s;for(;i[a]&&i[a][n(555)];)a++;u(t,e,o),u(i,s,a);const c=i[n(797)](s,a)[n(544)](t[n(797)](e,o));return c[n(563)]((t,e)=>t[n(736)]!=e[n(736)]?t[n(736)]-e[n(736)]:t[n(576)]!=e[n(576)]?t[n(576)]-e[n(576)]:t[n(626)]!=e[n(626)]?e[n(626)]-t[n(626)]:!!t[n(659)]!=!!e[n(659)]?-1==t[n(736)]||0==t[n(736)]?t[n(659)]?-1:1:t[n(659)]?1:-1:t[n(503)]-e[n(503)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(696)],c=!0;for(let n=e;n<i;n++)if(r[s(492)](t[n][s(760)])||(c=!1),t[n][s(760)][s(489)]<e&&(o=n),t[n][s(760)][s(716)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(736)]=n<=o?-1:n<a?0:1,t[n][s(503)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(626)]?t[i][s(576)]=u:(u++,t[i][s(576)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(736)]&&(t[n][s(576)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(626)]?t[e][s(576)]=u:(u--,t[e][s(576)]=u,u--)}}[oe(755)](t){const e=oe,i=new Map,s=this[e(660)][e(598)][e(774)];for(let n=1;n<t[e(691)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(525)==c[e(719)])continue;if(c[e(719)]!=u[e(719)])continue;if(!s[e(786)](u[e(760)])||s[e(476)](u[e(760)]))continue;if(!s[e(786)](c[e(760)])||s[e(476)](c[e(760)]))continue;if((t[n][e(659)]||t[n][e(512)])&&t[n-1][e(555)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(555)]||!t[n-1][e(659)]&&!t[n-1][e(512)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(576)]==o[e(576)],h=Math[e(737)](r[e(576)])<Math[e(737)](o[e(576)])&&0==o[e(626)];(l||h)&&(i[e(550)](o.id,r.id),t[e(628)](a,1),n--,r[e(659)]=!1)}for(let s=0;s<t[e(691)];s++)i[e(504)](t[s][e(769)])&&(t[s][e(769)]=i[e(731)](t[s][e(769)]))}[oe(540)](t){const e=oe,i=new Set(t[e(652)](t=>t.id));for(let s=0;s<t[e(691)];s++)i[e(504)](t[s][e(769)])||0==t[s][e(626)]||(t[s][e(789)]=!0);return t[e(718)](t=>!t[e(789)])}[oe(535)](t){const e=oe,i=new Set;for(let s=0;s<t[e(691)];s++){if(i[e(504)](t[s].id)&&t[s][e(555)]&&(t[s][e(789)]=!0),t[s][e(789)])continue;if(0==t[s][e(626)])continue;if(e(684)!=t[s][e(719)])continue;if(null==t[s][e(769)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(769)];)e(684)==t[n][e(719)]?r++:e(588)==t[n][e(719)]&&r--,n++;if(0!=r)if(t[s][e(555)])t[s][e(789)]=!0;else for(;n!=s;)t[n][e(555)]&&0!=t[n][e(626)]&&(t[n][e(789)]=!0,i[e(646)](t[n][e(769)])),n--}return t[e(718)](t=>!t[e(789)])}[oe(658)](t){const e=oe,i=this[e(660)][e(598)][e(774)];for(let s=0;s<t[e(691)];s++){if(!(t[s][e(659)]||t[s][e(512)]||t[s][e(555)]||t[s][e(529)]))continue;if(0==t[s][e(626)])continue;const n=t[s][e(760)];i[e(786)](n)||i[e(476)](n)||(t[s][e(659)]&&delete t[s][e(659)],t[s][e(512)]&&delete t[s][e(512)],t[s][e(529)]&&delete t[s][e(529)],t[s][e(555)]&&(t[s][e(789)]=!0))}return t[e(718)](t=>!t[e(789)])}[oe(623)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(660)][s(598)],c=a[s(774)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(691)];e++)if(s(684)===t[e][s(719)]){t[e][s(776)]=a[s(478)](n,f);const i=new Q.ModelElement(t[e][s(760)][s(472)],t[e][s(760)][s(560)]());u[0][s(579)](i),f[s(781)](0),u[s(678)](i),t[e][s(499)]=a[s(478)](n,f)}else s(588)===t[e][s(719)]?(u[s(714)](),t[e][s(776)]=a[s(478)](n,f),f[s(654)](),f[f[s(691)]-1]++,t[e][s(499)]=a[s(478)](n,f)):(t[e][s(776)]=a[s(478)](n,f),d?d[s(676)]+=t[e][s(760)][s(733)]:d=new Q.ModelText(t[e][s(760)][s(733)],t[e][s(760)][s(560)]()),t[e+1]&&s(525)===t[e+1][s(719)]&&v(d,t[e+1][s(760)])||(u[0][s(579)](d),d=null),f[f[s(691)]-1]+=t[e][s(760)][s(488)],t[e][s(499)]=a[s(478)](n,f));for(let e=0;e<t[s(691)];e++){const i=t[e][s(776)],n=t[e][s(499)];for(const n of t[e][s(602)])o[s(550)](n,{start:i,end:null});m(s(529),e,i,n),m(s(512),e,i,n),m(s(555),e,i,n),m(s(659),e,i,n);for(const i of t[e][s(575)]){const t=o[s(731)](i);t?t[s(632)]=n:o[s(550)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(660)][s(598)][s(765)](e[s(477)],e[s(632)]);n[s(547)][s(550)](t,i)}return r[s(563)]((t,e)=>{const i=s,r=n[i(547)][i(731)](i(740)+t.id),o=n[i(547)][i(731)](i(740)+e.id);return r[i(477)][i(530)](o[i(477)])?-1:r[i(477)][i(514)](o[i(477)])?1:r[i(632)][i(530)](o[i(632)])?-1:r[i(632)][i(514)](o[i(632)])?1:i(646)===t[i(719)]?-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(542)]:null,d=i===t[o(691)]-1,f=h[e][0],m=c[o(524)](t[i][o(760)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(632)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(542)]!==u&&(l[e][o(632)]=n,f&&f[o(542)]===l[e][o(542)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(684)!==t[i][o(719)]||f&&f[o(542)]===u||h[e][o(678)]({userId:u,object:t[i][o(760)],change:l[e]}),o(588)===t[i][o(719)]&&f&&f[o(647)]===t[i][o(760)]&&(h[e][o(714)](),l[e]=f[o(784)])),l[e]&&d&&(l[e][o(632)]=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(760)],f=a[h(774)][h(786)](d)&&!a[h(774)][h(476)](d),m=t[h(787)]==o[h(580)]&&o[h(653)];if(f&&m)return;const p=a[h(765)](t,o),v=e[h(731)](u),g=new Xt({author:v,type:h(659)==l||h(512)==l?h(646):h(537),data:{isSuggestion:h(512)==l||h(529)==l},createdAt:new Date,rootName:i});r[h(781)](g),n[h(547)][h(550)](h(740)+g.id,p)}function v(t,e){const i=s,n=t[i(560)](),r=e[i(560)]();for(const t of n){if(t[1]!==e[i(546)](t[0]))return!1;r[i(775)]()}return r[i(775)]()[i(561)]}}[oe(601)](){const t=oe;this[t(660)][t(751)][t(709)](t(695))[t(723)]({view:t(490)}),this[t(660)][t(751)][t(709)](t(796))[t(534)]({model:t(490),view:e=>{const i=t,s=e[i(509)][i(557)](":")[1],n=this[i(539)](s);if(!n)return null;const r=i(646)==n[i(719)]?i(673):i(554),o=[i(634),i(708)+r];return n[i(733)][i(577)]&&o[i(781)](i(708)+r+i(619)),this[i(491)]==n&&o[i(781)](i(699)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(660)][t(751)][t(709)](t(695))[t(646)](e=>{const i=t;e.on(i(513),(t,e,s)=>{const n=i,r=e[n(727)][n(761)](0);if(!r||!r.is(n(669),n(484)))return;if(!s[n(536)][n(496)](r,{attributes:[n(583),n(635)]}))return;const o=e[n(753)][n(477)][n(787)];s[n(648)][n(510)](n(583),r[n(546)](n(583)),o),s[n(648)][n(510)](n(635),r[n(546)](n(635)),o)},{priority:i(756)})}),this[t(660)][t(751)][t(709)](t(695))[t(646)](e=>{const i=t;e.on(i(669),(t,e,s)=>{const n=i;if(!s[n(536)][n(496)](e[n(727)],{attributes:[n(583),n(635)]}))return;if(e[n(753)][n(720)])return;const r=e[n(753)][n(477)][n(787)];r[n(500)](n(583))||r[n(500)](n(622))||(s[n(648)][n(510)](n(583),e[n(727)][n(546)](n(583)),r),s[n(648)][n(510)](n(635),e[n(727)][n(546)](n(635)),r))},{priority:i(756)})}),this[t(660)][t(751)][t(709)](t(695))[t(697)]({view:{name:t(644),attributes:{vid:!0}},model:{key:t(622),value:e=>e[t(546)](t(622))}}),this[t(660)][t(598)][t(774)].on(t(749),(e,[,i])=>{const s=t;[s(583),s(635),s(622)][s(516)](i)&&(e[s(511)]=!0,e[s(641)]())},{priority:t(574)}),this[t(660)][t(751)][t(709)](t(657))[t(646)](e=>{const i=t;e.on(i(682),(t,e,s)=>{const n=i;if(" "!=e[n(760)][n(733)]||e[n(760)][n(580)][n(520)]>1)return;if(!s[n(536)][n(496)](e[n(760)],t[n(472)]))return;const r=s[n(648)],o=s[n(594)][n(690)](e[n(777)]);r[n(688)](o,r[n(507)](n(644)))})}),this[t(660)][t(751)][t(709)](t(657))[t(549)]({model:t(490)}),this[t(660)][t(501)][t(650)].on(t(681),function(e){const i=t,s=e[i(618)][i(731)](i(764));return(t,n,r)=>{const o=i,a=n[o(509)][o(557)](":")[1],c=s[o(539)](a);if(!c)return null;const u=o(646)==c[o(719)]?o(557):o(790);if(!r[o(536)][o(475)](n[o(707)],t[o(472)]))return;const l=n[o(707)][o(758)](),h=n[o(707)][o(477)],d=e[o(598)][o(774)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(760)];p=p||d[o(581)](e);const i=r[o(594)][o(543)](e);if(i&&i[o(713)](o(630)))return;o(588)==t[o(719)]&&d[o(786)](e)&&!d[o(476)](e)&&(e[o(589)]||h[o(559)]?f&&f[o(580)]==e||(f=e,g(t[o(776)]),v=!0):m=m||t[o(776)])}function g(t){const e=o,i=r[e(648)][e(698)](e(644),{class:e(708)+u}),a=r[e(594)][e(487)](t);c[e(733)][e(577)]&&r[e(648)][e(743)](e(708)+u+e(619),i),s[e(491)]==c&&r[e(648)][e(743)](e(699),i),r[e(648)][e(771)](a,i),r[e(594)][e(498)](i,n[e(509)])}p||v||!m||g(m)}}(this[t(660)]),{priority:t(778)}),this[t(660)][t(501)][t(650)].on(t(552),(e,i,s)=>{const n=t,r=s[n(594)][n(597)](i[n(509)]);if(r)for(const t of r)(t[n(600)](n(785))||t[n(600)](n(502)))&&(s[n(594)][n(750)](t,i[n(509)]),s[n(648)][n(537)](t))},{priority:t(778)}),this[t(660)][t(501)][t(650)].on(t(681),(e,i,s)=>{const n=t,r=i[n(509)][n(557)](":")[1],o=this[n(539)](r);if(!o)return null;const a=n(646)==o[n(719)]?n(557):n(790);if(s[n(536)][n(475)](i[n(707)],e[n(472)]))for(const t of i[n(707)][n(672)]()){if(!t.is(n(669),n(566)))continue;const e=s[n(648)][n(698)](n(644),{class:n(708)+a}),r=s[n(594)][n(487)](this[n(660)][n(598)][n(526)](t));o[n(733)][n(577)]&&s[n(648)][n(743)](n(708)+a+n(619),e),this[n(491)]==o&&s[n(648)][n(743)](n(699),e),s[n(648)][n(771)](r,e),s[n(594)][n(498)](e,i[n(509)])}},{priority:t(778)}),this[t(660)][t(598)][t(744)].on(t(784),()=>{const e=t;this[e(660)][e(501)][e(656)][e(784)](t=>{const i=e;for(const e of this[i(660)][i(598)][i(744)][i(480)]()){const s=this[i(660)][i(598)][i(744)][i(703)](e),n=this[i(660)][i(501)][i(656)][i(744)][i(703)](e);if(n){const e=s[i(546)](i(471));if(t[i(729)](i(770),n),t[i(569)](i(558),n),t[i(569)](i(706),n),t[i(569)](i(717),n),e){const s=this[i(539)](e);if(!s)return null;t[i(510)](i(770),e,n),t[i(743)](i(586)+s[i(719)],n),this[i(491)]==s&&t[i(743)](i(717),n)}}}})}),this[t(660)][t(751)][t(709)](t(695))[t(723)]({view:t(596),model:e=>t(738)+e,converterPriority:t(574)}),this[t(660)][t(751)][t(709)](t(695))[t(723)]({view:t(759),model:e=>t(609)+e,converterPriority:t(574)}),this[t(660)][t(751)][t(709)](t(657))[t(549)]({model:t(493),view:e=>({name:t(538)+e,group:t(493)}),converterPriority:t(574)}),this[t(660)][t(751)][t(709)](t(796))[t(534)]({model:t(493),view:e=>{const i=t,s=e[i(509)][i(557)](":")[1];return i(673)!=s&&i(554)!=s?null:{classes:[i(715),i(548)+s]}}}),this[t(660)][t(501)][t(650)].on(t(665),le(this[t(660)],t(790)),{priority:t(778)}),this[t(660)][t(501)][t(650)].on(t(625),le(this[t(660)],t(557)),{priority:t(778)}),this[t(660)][t(501)][t(650)].on(t(705),(e,i,s)=>{const n=t,r=s[n(594)][n(597)](i[n(509)]);if(r)for(const t of r)t.is(n(482))&&(s[n(594)][n(750)](t,i[n(509)]),s[n(648)][n(537)](t))},{priority:t(778)})}[oe(539)](t){const e=oe;return this[e(680)][e(731)](t)}[oe(473)](t){const e=oe;return this[e(746)]&&this[e(746)][e(595)](),this[e(746)]=new Yt(this[e(660)][e(752)],t),this[e(746)]}[oe(585)](){const t=oe;this[t(660)][t(598)][t(744)][t(607)][t(528)](t(490)),this.on(t(593),(e,i,s,n)=>{const r=t;n&&this[r(522)][r(537)](n),s&&(this[r(522)][r(646)]({view:s,stackId:r(521),position:{target:()=>{const t=r,e=this[t(660)][t(501)],i=this[t(539)](s[t(519)]);let n;if(i[t(733)][t(701)]){const s=e[t(656)][t(694)](i[t(768)]);n=Array[t(545)](s[t(742)]())}else{const i=this[t(660)][t(598)][t(547)][t(731)](t(740)+s[t(519)]);n=Array[t(545)](e[t(594)][t(597)](i[t(472)]))[t(652)](i=>e[t(656)][t(592)][t(745)](i))[t(652)](e=>Array[t(545)](e[t(742)]()))[t(773)]()}return this[t(494)]&&n[t(481)](e=>e[t(722)]-3<=this[t(494)].y&&e[t(605)]+3>=this[t(494)].y&&e[t(679)]-3<=this[t(494)].x&&e[t(621)]+3>=this[t(494)].x)||n[0]}}}),this[r(522)][r(792)](r(521)))}),this.on(t(780),(e,i,s,n)=>{const r=t;this[r(700)]=s?this[r(473)](s):null,this[r(660)][r(598)][r(784)](()=>{const t=r,e=this[t(660)][t(501)];n&&(n[t(733)][t(701)]?e[t(656)][t(784)](i=>{const s=t;i[s(569)](s(717),e[s(656)][s(744)][s(703)](n[s(768)]))}):e[t(651)](t(740)+n.id)),s&&(s[t(733)][t(701)]?e[t(656)][t(784)](i=>{const n=t;i[n(743)](n(717),e[n(656)][n(744)][n(703)](s[n(768)]))}):e[t(651)](t(740)+s.id))})}),this[t(712)](this[t(660)][t(501)][t(656)][t(744)],t(687),(e,i)=>{const s=t;if(this[s(491)])return;const n=this[s(772)](i[s(553)]),r=this[s(680)][s(731)](n);r?(this[s(494)]={x:i[s(506)].x,y:i[s(506)].y},this[s(700)]=this[s(473)](r)):(this[s(494)]=null,this[s(700)]=null)}),this[t(712)](this[t(660)][t(501)][t(656)][t(744)],t(611),(e,i)=>{const s=t,n=this[s(772)](i[s(553)]),r=this[s(680)][s(731)](n);r?(this[s(494)]={x:i[s(506)].x,y:i[s(506)].y},r===this[s(491)]?this[s(522)][s(726)]():this[s(491)]=r):(this[s(494)]=null,this[s(491)]=null)})}[oe(772)](t){const e=oe;do{const i=t[e(546)](e(770));if(i)return i;t=t[e(580)]}while(t);return null}[oe(564)](){const t=oe;this[t(660)][t(598)][t(784)](e=>{const i=t;for(const t of this[i(660)][i(598)][i(547)])e[i(666)](t)})}}function ue(){const t=["wrap","2711025ZakbIs","toViewRange","length","revision-viewer","indexOf","getDomRoot","upcast","POSITIVE_INFINITY","elementToAttribute","createUIElement","ck-suggestion-marker--active","activeView","isOnRoot","deletions","getRoot","currentChangeNumber","removeMarker:revision-suggestion","ck-revision-history-root-remove","markerRange","ck-suggestion-marker-","for","backward","_markInsertions","listenTo","getCustomProperty","shift","ck-suggestion-preview-marker","endIndex","ck-revision-history-root--active","filter","type","isCollapsed","change:numberOfChanges","top","dataToMarker","commands","createRangeIn","updatePosition","viewItem","isNavigationMode","removeAttribute","execute","get","error","data","1093326HSphWm","_update","side","abs","revision-comment:","_markSuggestions","revision:","WidgetToolbarRepository","getClientRects","addClass","document","mapViewToDom","_changeView","_utils","_markMarkers","checkAttribute","unbindElementFromMarkerName","conversion","locale","modelRange","catch","_fixObsoleteTags","low","pluginName","getWalker","suggestion","item","getChild","isOfficialPlugin","_setDistance","RevisionViewer","createRange","RevisionHistoryUtils","8000421AHqgnX","rootName","pairId","data-change-id","insert","_findChangeIdFromDomTarget","flat","schema","next","previousPosition","range","high","getLaterVisibleRevision","change:activeChange","push","showNextChange","attributesBefore","change","ck-suggestion-marker-split","isBlock","nodeAfter","change:isEnabled","isIncorrect","merge","oldRevisionId","showStack","isEnabled","getRevisionRootsAttributes","1OzHzWP","editingDowncast","slice","revisionHistoryAttachChange","name","_getViewForChange","adapter","test","isLimit","start","createPositionFromPath","_getRevisionsRange","getRootNames","find","uiElement","_processTape","code","newRevisionId","all","toViewPosition","offsetSize","startIndex","revision","activeChange","isInline","revision-suggestion","_activeViewTarget","forward","consume","findIndex","bindElementToMarker","nextPosition","hasAttribute","editing","ck-suggestion-marker-merge","index","has","restoreRevision","domEvent","createAttributeElement","forceDisabled","markerName","setAttribute","return","isAddSuggestion","element:pre","isAfter","insertions","includes","368710HnwkfP","values","changeId","maxOffset","revisionHistoryLabel","_balloon","attributesAfter","isObject","text","createPositionBefore","enableReadOnlyMode","observeMarkers","isRemoveSuggestion","isBefore","_setChanges","enqueueChange","changes","markerToHighlight","_markMismatchedRemovedTags","consumable","remove","suggestion:","_getChangeFromId","_removeMissingPairs","_threeWayMerge","userId","toViewElement","concat","from","getAttribute","markers","ck-suggestion-preview-marker-","markerToData","set","diff","removeMarker:revision","target","deletion","isRemoved","attachChange","split","ck-revision-history-root-add","isAtEnd","getAttributes","done","addRevision","sort","_cleanMarkers","428008gBNKke","softBreak","affectsData","then","removeClass","diffData","init","_sortAndFilterDiffChanges","_getDiff","highest","markersEnd","level","isSuggestion","_step","_appendChild","parent","isContent","createRevision","vid_start","addRoot","_initInteractions","ck-revision-history-root-","_makeTape","elementEnd","nextSibling","config","first","domConverter","change:activeView","mapper","destroy","comment","markerNameToElements","model","delete","hasClass","_setConversion","markersStart","138232iYhtWL","_joinTapes","bottom","requires","selection","startsWith","revision-suggestion:","repository","mousedown","addRevisionData","restoreRevisionCallback","numberOfChanges","resolve","compare","revisionHistory","plugins","-new","isPremiumPlugin","right","vid","_makeModelFromTape","getRevision","addMarker:revision-suggestion:insertion","distance","isReady","splice","string","addHighlight","forEach","end","refresh","ck-suggestion-marker","vid_end","roots","isEqual","54HleIgj","isAttached","authors","stop","bind","detachRoot","span","ck-editor__editable__overlay","add","object","writer","370770iJyFPv","downcastDispatcher","reconvertMarker","map","isAtStart","pop","clear","view","dataDowncast","_removeUnsupportedChanges","isAdded","editor","4OneIbS","getRevisionDocumentData","loadRevisionData","change:isReady","addMarker:revision-suggestion:deletion","removeMarker","keys","_makeModelFromViewString","element","_refreshStartEndIndex","_cleanUp","getItems","insertion","35szmJZA","attributes","_data","_revisions","unshift","left","_changeIdToChange","addMarker:revision","attribute:vid","RevisionsRepository","elementStart","getIndex","showPreviousChange","mouseover"];return(ue=function(){return t})()}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(536)][r(475)](s[r(707)],i[r(472)]))return;const o=s[r(707)][r(758)](),a=s[r(707)][r(477)],c=t[r(598)][r(774)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(760)];h=h||c[r(581)](e);const i=n[r(594)][r(543)](e);if(i&&i[r(713)](r(630)))return;r(588)==t[r(719)]&&c[r(786)](e)&&!c[r(476)](e)&&(e[r(589)]||a[r(559)]?u&&u[r(580)]==e||(u=e,f(t[r(776)]),d=!0):l=l||t[r(776)])}function f(t){const i=r,o=n[i(594)][i(487)](t),a=n[i(648)][i(698)](i(644),{class:i(548)+e});n[i(648)][i(771)](o,a),n[i(594)][i(498)](a,s[i(509)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(618)][e(731)](ce);this[e(567)]=!1,this[e(712)](i,e(664),()=>this[e(633)]()),this[e(712)](i,e(788),()=>this[e(633)]())}[oe(730)](){const t=oe,e=this[t(660)],i=e[t(618)][t(731)](ce),s=i[t(627)]?i[t(551)][t(485)]:null;e[t(590)][t(731)](t(617))[t(613)](s)}[oe(633)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(660)][t(618)][t(731)](ce),r=n&&s[t(779)](n[t(485)]);this[t(793)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(578)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(618)][i(731)](ce);this[i(567)]=!1,this[i(578)]=i(495)===e?1:-1,this[i(712)](s,i(664),()=>this[i(633)]()),this[i(712)](s,i(788),()=>this[i(633)]()),this[i(712)](s,i(780),()=>this[i(633)]())}[oe(730)](){const e=oe,i=this[e(660)],s=i[e(618)][e(731)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(491)]=n?s[e(551)][e(533)][e(731)](r+this[e(578)]):s[e(551)][e(533)][e(591)],s[e(491)][e(733)][e(701)])o=i[e(501)][e(656)][e(694)](s[e(491)][e(768)]);else{const t=i[e(598)][e(547)][e(731)](e(740)+s[e(491)].id);o=(0,K.getMarkerDomElement)(i[e(501)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(633)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(660)][t(618)][t(731)](ce);this[t(793)]=!!(r&&n&&s)&&(!e||(1===this[t(578)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=143]})(t,e)}function ve(){const t=["5GEnYed","10105730OQgjCp","553209qnbJbt","isNavigationMode","11cRMueG","169768RhcOFj","ck-revision-history-ui__changes-navigation__label","2958SGBYuo","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui","isForwardNavigationEnabled","30760qQjRBi","execute","isReady","63LSLvld","set","bind","2753124kWHffG","NUMBER_OF_CHANGES","No changes","Show next change","span","setTemplate","24hOhKRd","currentChangeNumber","ck-hidden","Total","X_OF_Y_CHANGES","div","Show previous change","_statusText","2977524lUPiPX","Loading...","forward","bindTemplate","isBackwardNavigationEnabled","isEnabled","fire","numberOfChanges","ck-revision-history-ui__changes-navigation","backward","_isStatusLabelVisible"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(398535===-parseInt(e(162))/1+parseInt(e(167))/2*(parseInt(e(185))/3)+parseInt(e(173))/4*(-parseInt(e(160))/5)+parseInt(e(179))/6+-parseInt(e(176))/7*(parseInt(e(165))/8)+-parseInt(e(149))/9+-parseInt(e(161))/10*(-parseInt(e(164))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(152)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(177)](e(163),!1),this[e(177)](e(175),!1),this[e(177)](e(186),0),this[e(177)](e(156),0),this[e(177)](e(172),!1),this[e(177)](e(153),!1),this[e(178)](e(159)).to(this,e(175),this,e(156),(t,e)=>t&&e>0),this[e(178)](e(148)).to(this,e(175),this,e(186),this,e(156),this,e(163),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(150));if(!n)return at(t,o(181));const a=at(t,o(180),n);return r?at(t,o(145),[s+1,n]):a}),s[e(177)]({label:at(t,e(147)),tooltip:!0,icon:_t.IconChevronUp}),n[e(177)]({label:at(t,e(182)),tooltip:!0,icon:_t.IconChevronDown}),s[e(178)](e(154)).to(this,e(153)),n[e(178)](e(154)).to(this,e(172)),s.on(e(174),()=>this[e(155)](e(174),e(158))),n.on(e(174),()=>this[e(155)](e(174),e(151))),this[e(184)]({tag:e(146),attributes:{class:["ck",e(171),e(157)]},children:[{tag:e(183),attributes:{class:[e(170)]},children:[{tag:e(183),attributes:{class:[e(166),i.if(e(159),e(143),t=>!t)]},children:[{text:i.to(e(163),i=>i?at(t,e(168))+": ":at(t,e(144))+": ")}]},{text:i.to(e(148))}]},new It.ToolbarSeparatorView,{tag:e(146),attributes:{class:[e(169)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();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-=263]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(210968===parseInt(e(274))/1*(-parseInt(e(278))/2)+-parseInt(e(279))/3*(parseInt(e(282))/4)+parseInt(e(289))/5*(-parseInt(e(267))/6)+-parseInt(e(264))/7+parseInt(e(275))/8*(-parseInt(e(263))/9)+parseInt(e(286))/10*(parseInt(e(271))/11)+parseInt(e(283))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(268);function Ie(){const t=["76jHVbGz","14185404WjDooU","removeClass","isOfficialPlugin","20evJSGx","editing","document","3490YIFzih","625545cEAbir","1909663InIRfs","show","RevisionViewerLoadingOverlay","2532OnlIjQ","ck-editor__editable__loading-overlay","change","isPremiumPlugin","980485GVnaEy","roots","addClass","1gMEKzJ","40cvGNOQ","view","editor","20202RCKwrI","35436HEzbfW","hide","pluginName"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(281)](){return be(266)}static get[be(285)](){return!0}static get[be(270)](){return!0}[be(265)](){const t=be,e=this[t(277)][t(287)][t(276)];e[t(269)](i=>{const s=t;for(const t of e[s(288)][s(272)])i[s(273)](_e,t)})}[be(280)](){const t=be,e=this[t(277)][t(287)][t(276)];e[t(269)](i=>{const s=t;for(const t of e[s(288)][s(272)])i[s(284)](_e,t)})}}const Oe=xe;function Te(){const t=["plugins","hide","show","isPremiumPlugin","showNextChange","commands","6000084QROuzS","showPreviousChange","set","12TaUKsV","isBackwardNavigationEnabled","30282593xVJQbO","RevisionViewerUI","pluginName","numberOfChanges","1117330IhbomK","change:isReady","Restore this revision","closeRevisionViewerCallback","Back to editing","get","config","componentFactory","279707iYPEnv","ck-revision-history-ui__back-to-editing","revisionHistory","execute","isForwardNavigationEnabled","6mdxtuf","873675JGRPpB","isEnabled","isReady","10qgSfEW","add","listenTo","8161832JyIrHi","4158477cIKhYD","currentChangeNumber","init","forward","7sijSwv","editor","requires","changesNavigation","isOfficialPlugin","isNavigationMode","restoreRevision","bind","exitToEditing"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=431]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(528687===-parseInt(e(461))/1*(parseInt(e(466))/2)+-parseInt(e(467))/3*(-parseInt(e(447))/4)+parseInt(e(453))/5+-parseInt(e(444))/6+parseInt(e(478))/7*(-parseInt(e(473))/8)+-parseInt(e(474))/9*(parseInt(e(470))/10)+parseInt(e(449))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(451)](){return Oe(450)}static get[Oe(433)](){return!0}static get[Oe(441)](){return!0}static get[Oe(431)](){return[ce,Se]}[Oe(476)](){const t=Oe,e=this[t(479)],i=e[t(438)][t(458)](ce),s=e[t(438)][t(458)](Se);e.ui[t(460)][t(471)](t(437),i=>{const s=t,n=new It.ButtonView(i);return n[s(446)]({label:at(i,s(457)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(462)}),this[s(472)](n,s(464),()=>{const t=s;e[t(459)][t(458)](t(463))[t(456)]()}),n}),e.ui[t(460)][t(471)](t(435),i=>{const s=t,n=new It.ButtonView(i);return n[s(446)]({label:at(i,s(455)),withText:!0,tooltip:!0}),n[s(436)](s(468)).to(e[s(443)][s(458)](s(435))),this[s(472)](n,s(464),()=>e[s(464)](s(435))),n}),e.ui[t(460)][t(471)](t(432),s=>{const n=t,r=new ge(s),o=e[n(443)][n(458)](n(445)),a=e[n(443)][n(458)](n(442));return r[n(436)](n(448)).to(o,n(468)),r[n(436)](n(465)).to(a,n(468)),r[n(436)](n(469),n(475),n(452),n(434)).to(i),this[n(472)](r,n(464),(t,i)=>{const s=n;e[s(464)](s(477)===i?s(442):s(445))}),r}),s[t(440)](),i.on(t(454),(e,i,n)=>{const r=t;n?s[r(439)]():s[r(440)]()})}}var Re=i(815),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ee;function Ve(){const t=["destroy","element","placeholder","ck-revision-history-sidebar__revision-name","3374144ldCVwT","_tooltipString","span","10xWNhmE","fieldView","6hcCyMt","10298xbjtpR","_resizeObserver","extendTemplate","35mrsApJ","Enter the revision name","clientWidth","listenTo","render","scrollWidth","ck-tooltip_multi-line","10113381UbFsbV","value","3056505DGVXWJ","975792AZMipX","bindTemplate","_updateTooltipText","584456ppCadG","set","237vFHpvF","690522ZbpMrd","Revision name","143lBfHYW","input"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=157]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(644446===parseInt(e(164))/1+-parseInt(e(178))/2*(parseInt(e(163))/3)+-parseInt(e(172))/4+parseInt(e(157))/5*(-parseInt(e(177))/6)+parseInt(e(181))/7*(-parseInt(e(161))/8)+parseInt(e(188))/9*(parseInt(e(175))/10)+-parseInt(e(166))/11*(-parseInt(e(158))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(179)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(159)];this[i(162)]({label:at(t,i(165)),_tooltipString:""}),this[i(176)][i(170)]=at(t,i(182)),this[i(180)]({tag:i(174),attributes:{class:[i(171)],"data-cke-tooltip-text":s.to(i(173)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(187)}})}[Me(185)](){const e=Me;super[e(185)](),this[e(179)]=new t.ResizeObserver(this[e(176)][e(169)],()=>this[e(160)]()),this[e(184)](this[e(176)],e(167),()=>this[e(160)]())}[Me(168)](){const t=Me;super[t(168)](),this[t(179)]&&this[t(179)][t(168)]()}[Me(160)](){const t=Me,e=this[t(176)][t(169)];this[t(173)]=e[t(186)]>e[t(183)]&&e[t(189)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=340]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(819994===-parseInt(e(352))/1+-parseInt(e(351))/2+parseInt(e(343))/3*(-parseInt(e(342))/4)+-parseInt(e(341))/5+parseInt(e(354))/6+-parseInt(e(358))/7+parseInt(e(340))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const s=je;super(t);const n=new It.IconView;n[s(357)]({content:_t.IconUser,viewBox:s(347)});const r=["ck",s(349)];i&&r[s(355)](s(353));const o=[{tag:s(344),attributes:{class:["ck",s(350)],title:at(t,s(i?346:356))},children:[n,e[s(345)]]}];this[s(348)]({tag:"li",attributes:{class:r},children:o})}}function Le(){const t=["1909032dwpMld","125746cRUrBh","ck-revision-history-sidebar__revision-author_creator","663774hAyucz","push","Revision author","set","8670508RdmFkw","34503344vvCBCC","1468475TZVrft","495476fsEazR","24kBNHAK","span","name","Revision creator","0 0 11 10","setTemplate","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name"];return(Le=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=110]})(t,e)}function We(){var t=["6207243VdGqfb","6ySwmlb","64pUotmf","toLocaleTimeString","1059057QdKMnR","1830252BoCKdm","25GRcohC","33969859rpPqUX","8534PPsHvN","long","133WwBAkO","numeric","791958TaCwON","toLocaleDateString","8777880APrZAf"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(694598===parseInt(e(117))/1*(parseInt(e(115))/2)+parseInt(e(123))/3*(-parseInt(e(112))/4)+-parseInt(e(113))/5*(-parseInt(e(119))/6)+-parseInt(e(122))/7+-parseInt(e(124))/8*(parseInt(e(111))/9)+-parseInt(e(121))/10+parseInt(e(114))/11)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=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(){const t=["items","Restore this revision","1599516WkqDkE","2211727yCAVHz","7512wNmciS","source","isVisible","function","set","Compare against selected","Show more items","class","execute","locale","stopPropagation","name","buttonView","panelPosition","isActionsDropdownOpen","map","change:isActionsDropdownOpen","isEnabled","85756jpXUUq","6944080mpkgHK","model","children","first","menu","145466BNqBxf","ck-on","9UiJekB","extendTemplate","find","isReady","4948750kKgXbW","Name this revision","isOpen","8Pjgrhp","bindTemplate","button","listView","ck-revision-history-sidebar__revision__actions","listenTo","add","_action","menuitem","bind","action","11mZgxGq","9dOtDTr","1292334bQvskY"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(665088===parseInt(e(451))/1*(-parseInt(e(431))/2)+-parseInt(e(452))/3*(parseInt(e(405))/4)+-parseInt(e(437))/5+-parseInt(e(453))/6+-parseInt(e(406))/7*(parseInt(e(440))/8)+-parseInt(e(433))/9*(parseInt(e(426))/10)+parseInt(e(425))/11*(parseInt(e(407))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var Be=i(898),$e={attributes:{"data-cke":!0}};$e.setAttributes=Mt(),$e.insert=Rt().bind(null,"head"),$e.domAPI=xt(),$e.insertStyleElement=Et();Ot()(Be.A,$e);Be.A&&Be.A.locals&&Be.A.locals;const Je=Ge;function Ye(){const t=["revisionActionsView","fieldView","srcElement","220","806oKRsZX","select","creator","ck-revision-history-sidebar__actions_dropdown_open","bind","isEnabled","ck-reset","setName","603oiwbSY","closest","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision","fire","span","_revision",".ck-confirm-view","createdAt","ck-revision-history-sidebar__revision__date","element","isConfirm","deselect","ck-revision-history-sidebar__revision-authors","value","unhighlight","revisionNameView","3690GZIceg","authors","14701812mEvWPK","length","11011NkNuGp","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision_highlighted","_requireRevisionName","isReady","ck-disabled","render","347012JayAuo","filter","setTemplate","map","_createdAtFormatted","highlight","set","1506jfpKTu","11kWyhHJ","change","838330nMCqyY","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper","327068fbDZAc","7048txziaj","from","20kFLmIp","name","unshift","isHighlighted","div","isActionsDropdownOpen","uiLanguage","listenTo","bindTemplate","isSelected","extendTemplate"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=438]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(329776===-parseInt(e(500))/1+-parseInt(e(451))/2*(parseInt(e(476))/3)+parseInt(e(487))/4*(parseInt(e(503))/5)+parseInt(e(494))/6*(-parseInt(e(480))/7)+parseInt(e(501))/8*(parseInt(e(459))/9)+parseInt(e(497))/10*(-parseInt(e(495))/11)+parseInt(e(478))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(475)];[Je(447)];[Je(465)];[Je(483)];constructor(e,i,s,n){const r=Je;super(e);const o=this[r(444)],a=function(t,e){const i=r,s=Array[i(502)](e[i(477)])[i(488)](t=>t!=e[i(453)]);return e[i(453)]&&s[i(438)](e[i(453)]),s[i(490)](s=>new Pe(t,s,s==e[i(453)]))}(e,i);this.id=i.id,this[r(465)]=i,this[r(483)]=n,this[r(455)](r(504),r(467)).to(i),this[r(455)](r(491)).to(this,r(467),t=>{return i=e[r(442)],(s=t)[(n=ze)(120)](i,{month:n(116),day:n(118)})+", "+s[n(110)](i,{hour:n(118),minute:n(118)});var i,s,n}),this[r(493)](r(445),!1),this[r(493)](r(439),!1),this[r(493)](r(441),!1),this[r(493)](r(484),!1),this[r(493)](r(456),!1),this[r(475)]=new De(e,It.createLabeledInputText),this[r(475)][r(448)][r(446)]({attributes:{maxlength:r(450)}}),this[r(475)][r(448)][r(455)](r(473)).to(this,r(504),t=>t||this[r(491)]),this[r(475)][r(455)](r(456)).to(this,r(445),this,r(456),(t,e)=>t&&e),this[r(447)]=s&&s[r(479)]?function(e,i){const s=qe,n=e[s(441)],r=e[s(416)],o=(0,It.createDropdown)(r);o[s(420)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(416)],n={"Compare against selected":at(s,i(412)),"Name this revision":at(s,i(438)),"Restore this revision":at(s,i(404))};return e[i(422)](t=>{const e=i,s=n[t[e(418)]];return s&&s!==t[e(418)]&&(t[e(418)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(442),model:new It.UIModel({label:t[n(418)],class:t[n(414)],withText:!0,role:n(448),_action:t[n(450)]})};i[n(427)][n(449)](n(424)).to(e,n(421),i=>n(410)!=typeof t[n(424)]||!i||t[n(424)](e)),o[n(446)](i)}return o}(e,i);return e[s(449)](s(421)).to(o,s(439)),o[s(419)][s(411)]({label:at(r,s(413)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(434)]({attributes:{class:[s(444),n.if(s(421),s(432))]},on:{click:n.to(t=>t[s(417)]())}}),o.on(s(415),t=>{const i=s;e[i(436)]&&i(410)==typeof t[i(408)][i(447)]&&t[i(408)][i(447)](e)}),(0,It.addListToDropdown)(o,a,{role:s(430)}),o[s(445)](e,s(423),(t,n,r)=>{const a=s;if(r)for(const t of o[a(443)][a(454)]){const s=t[a(428)][a(429)],n=i[a(435)](t=>t[a(450)]===s[a(447)])[a(409)];t[a(409)]=void 0===n||n(e)}}),o}(this,s):"",this[r(447)]&&this[r(447)][r(455)](r(456)).to(this),this[r(489)]({tag:r(440),attributes:{class:["ck",r(457),r(499),o.if(r(470),r(481))]},children:[{tag:r(440),attributes:{class:["ck",r(457),r(462),o.if(r(456),r(485),t=>!t),o.if(r(445),r(461)),o.if(r(439),r(482)),o.if(r(441),r(454))]},children:[this[r(475)],{tag:r(464),attributes:{class:["ck",r(468)]},children:[{text:o.to(r(491))}]},{tag:r(440),attributes:{class:["ck",r(498)]},children:[{tag:"ul",attributes:{class:["ck",r(472)]},children:a}]},this[r(447)]],on:{click:o.to(t=>{const e=r;t[e(449)][e(460)](e(466))||this[e(484)]&&this[e(456)]&&this[e(463)](e(452),{id:this.id})})}}]})}[Je(486)](){const t=Je;super[t(486)]();const e=this[t(475)][t(448)][t(469)];this[t(443)](e,t(496),()=>{const i=t;this[i(483)]&&!e[i(473)]||this[i(463)](i(458),{id:this.id,name:e[i(473)]}),e[i(473)]||(e[i(473)]=this[i(504)]?this[i(504)]:this[i(491)])})}[Je(452)](){this[Je(445)]=!0}[Je(471)](){this[Je(445)]=!1}[Je(492)](){this[Je(439)]=!0}[Je(474)](){this[Je(439)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={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 Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=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(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.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"}),Di.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,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Li.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Li.set(i,s)),s}const Wi=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 Bi=new Map;function $i(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Yi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ls(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Hi=null,Li.clear(),Wi.clear(),Ui.clear(),Zi.clear(),Bi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ls(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return $i(this,t,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 $i(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 $i(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 $i(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 Ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(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()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=Bi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),Bi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Es(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,Ei.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=Ls(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+(Bs(t)?ks:ys)[e-1]}function Is(t,e){const i=Bs(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=$s(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=$s(c)):u>a?(c=s+1,u-=$s(s)):c=s;const{month:l,day:h}=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 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 Rs(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 As(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Js(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 Es(t){return"number"==typeof t}function Ds(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 Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(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 Ds(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function 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 Bs(t){return t%4==0&&(t%100!=0||t%400==0)}function $s(t){return Bs(t)?366:365}function Js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function 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($s(t)-s+n)/7}function Qs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Xs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(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:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rn=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),An=RegExp(`(?:T${Rn.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),En=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${En.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 Pn(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ln=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(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?Qs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const 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 Bn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,$n=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Yn(t){const[,e,i,s,n,r,o,a]=t;return[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))?)?/,An),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Xn=In(/(\d{4})-?(\d{3})/,An),tr=In(Rn),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,Pn),ir=Sn(Mn,Fn,jn,Pn),sr=Sn(Vn,Fn,jn,Pn),nr=Sn(Fn,jn,Pn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(Fn,jn,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||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Es(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,[Ln,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)(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;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}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)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={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=Lr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Er(l);case"uu":return Er(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 Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\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=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(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 jr(t,i).explainFromTokens(e)}function Lr(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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function 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 Br(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function $r(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Jr(t,e,i){return Br(Ys(t),e,i)}function Yr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Js(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=Ys(r);let[c,u]=Br(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Qi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=As(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]=Jr(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=Es(t.o)&&!t.old?t.o:e.offset(this.ts);s=$r(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Qi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Es(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Es(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rs(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=$r(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=Ds(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=Ds(t.year),i=zs(t.ordinal,1,$s(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):As(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Jr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Qn,ir],[Xn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[Bn,Yn],[$n,Yn],[Jn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=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 Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?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=Ys(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bs(this.year)}get daysInMonth(){return Js(this.year,this.month)}get daysInYear(){return this.isValid?$s(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]=Jr(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}=Rs(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(Js(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Jr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Yr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Yr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Es(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,s=fo[i(298)](t)[i(312)](e),n=fo[i(311)](),r=n[i(309)]({days:1})[i(317)](i(307));let o,a;return s[i(303)](n,i(307))?(o=s[i(317)](i(307))[i(304)](),a=s[i(316)]()):s[i(303)](r,i(307))?(o=r[i(304)](),a=s[i(316)]()):s[i(303)](n,i(296))?(o=s[i(317)](i(296))[i(304)](),a=s[i(321)]||""):s[i(303)](n,i(308))?(o=s[i(317)](i(318))[i(304)](),a=s[i(310)]||""):(o=s[i(317)](i(308))[i(304)](),a=String(s[i(308)])),{startDate:o,localizedPeriodName:a}}function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=296]})(t,e)}function go(){const t=["72055dhkNMV","2674392GUFKFc","weekdayLong","week","77145KNiQOn","fromJSDate","11875792EGgRFw","28klhJLa","1698XoGeVc","1722432CjSNTw","hasSame","toJSDate","3683140mZvvih","37268RIPIwC","day","year","minus","monthLong","local","setLocale","110XjADrq","12BtdJAz","18TuJOBz","toRelativeCalendar","startOf","month"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(840107===parseInt(e(319))/1*(parseInt(e(300))/2)+-parseInt(e(320))/3+parseInt(e(314))/4*(parseInt(e(297))/5)+parseInt(e(301))/6*(-parseInt(e(306))/7)+parseInt(e(299))/8+-parseInt(e(315))/9*(parseInt(e(305))/10)+parseInt(e(313))/11*(parseInt(e(302))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;!function(t){const e=_o,i=t();for(;;)try{if(882868===-parseInt(e(148))/1*(-parseInt(e(171))/2)+-parseInt(e(149))/3+-parseInt(e(169))/4+parseInt(e(156))/5+parseInt(e(159))/6+-parseInt(e(157))/7*(parseInt(e(168))/8)+parseInt(e(144))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class wo extends It.View{[bo(167)];[bo(158)];[bo(170)];[bo(166)];constructor(t,e,i,s){const n=bo;super(t);const r=po(e,this[n(165)][n(173)])[n(160)];this[n(167)]=e,this[n(158)]=this[n(153)](),this[n(170)]=i,this[n(166)]=s,this[n(158)][n(164)](n(146)).to(this),this[n(158)][n(164)](n(151)).to(this),this[n(161)]({tag:n(163),attributes:{class:["ck",n(152)]},children:[{tag:n(174),attributes:{class:["ck",n(155)]},children:[{text:r}]},{tag:n(163),attributes:{class:["ck",n(162)]},children:this[n(158)]}]})}[bo(154)](t){const e=bo,i=new Ke(this[e(165)],t,this[e(170)],this[e(166)]);this[e(158)][e(147)](i)}[bo(145)](t){const e=bo,i=this[e(158)][e(150)](e=>e.id===t.id);this[e(158)][e(172)](i)}}function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=144]})(t,e)}function Io(){const t=["addRevision","ck-revision-history-sidebar__time-period__label","4212390jxUzkp","119pSbDlT","revisionViews","6634248NYmdbW","localizedPeriodName","setTemplate","ck-revision-history-sidebar__time-period__revisions","div","delegate","locale","_requireRevisionName","startDate","593672wfkdYg","3136124qfzdtA","_revisionActions","156SIZFXs","remove","uiLanguage","span","4065012bTakGk","removeRevision","select","add","17693IPMRuK","2554368bFlMHT","find","setName","ck-revision-history-sidebar__time-period","createCollection"];return(Io=function(){return t})()}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();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-=177]})(t,e)}function xo(){const t=["4632464dYngSE","content","ck-reset_all","Revision history","span","setTemplate","144711rsNgXa","173876tciUNZ","684957QbJtat","ck-revision-history-sidebar__header","div","4794oyWtgF","257686GyxAQt","ck-revision-history-sidebar__header__label","135464sSzCoM","495fDGeVD"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(140314===-parseInt(e(180))/1+-parseInt(e(185))/2+-parseInt(e(181))/3+parseInt(e(187))/4+-parseInt(e(188))/5*(-parseInt(e(184))/6)+-parseInt(e(179))/7+parseInt(e(189))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(190)]=_t.IconHistory,this[e(178)]({tag:e(183),attributes:{class:["ck",e(191),e(182)]},children:[i,{tag:e(177),attributes:{class:["ck",e(186)]},children:[at(t,e(192))]}]})}}var Ro=i(692),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Eo;function Vo(){const t=["createdAt","setName","ck-revision-history-sidebar","_addRevision","ck-revision-history-sidebar__timeline","selectRevision","revisionSetName","fire","56574aRPtrH","isEnabled","startDate","3592136zZKIOM","find","76bjlAjd","highlight","102umbWDK","52619kfXNQW","delegate","uiLanguage","some","locale","9185847PcYkRk","_removeRevision","addRevision","_requireRevisionName","deselect","highlightRevisions","remove","3119605vvwmtV","4OIIILD","flat","render","ck-reset","createCollection","get","990RsiRnl","setTemplate","1593660wGJSJY","bindTemplate","revisionSelected","div","14410xKPZMM","set","ck-rounded-corners","timePeriodViews","map","_revisionActions","getTime","12NfdABp","ck-disabled","revisionViews","_revisions","unhighlight","select","removeRevision","_getTimePeriodViewByStartDate","add"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=205]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(334690===parseInt(e(256))/1*(-parseInt(e(227))/2)+-parseInt(e(223))/3+-parseInt(e(215))/4*(-parseInt(e(214))/5)+parseInt(e(258))/6*(parseInt(e(259))/7)+parseInt(e(254))/8+parseInt(e(251))/9*(-parseInt(e(221))/10)+-parseInt(e(207))/11*(-parseInt(e(234))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(230)];[Mo(237)];[Mo(232)];[Mo(210)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(224)];this[n(230)]=this[n(219)](),this[n(230)][n(260)](n(239)).to(this),this[n(230)][n(260)](n(244)).to(this),this[n(237)]=e,this[n(232)]=i,this[n(210)]=s,this.on(n(239),(t,e)=>{const i=n;this[i(250)](i(225),e)}),this.on(n(244),(t,e)=>{const i=n;this[i(250)](i(249),e)}),this[n(228)](n(252),!1),this[n(222)]({tag:n(226),attributes:{class:["ck",n(218),n(229),n(245)]},children:[new No(t),{tag:n(226),attributes:{class:["ck",n(247),r.if(n(252),n(235),t=>!t)]},children:this[n(230)]}]})}[Mo(217)](){const t=Mo;super[t(217)]();for(const e of this[t(237)])this[t(246)](e);this[t(237)].on(t(242),(e,i)=>{this[t(246)](i)}),this[t(237)].on(t(213),(e,i)=>{this[t(208)](i)})}get[Mo(236)](){const t=Mo;return this[t(230)][t(231)](e=>e[t(236)][t(231)](t=>t))[t(216)]()}[Mo(248)](t){const e=Mo;for(const i of this[e(236)])t&&t.id===i.id?i[e(239)]():i[e(211)]()}[Mo(212)](t){const e=Mo;for(const i of this[e(236)])t[e(205)](({id:t})=>t===i.id)?i[e(257)]():i[e(238)]()}[Mo(246)](t){const e=Mo,i=po(t[e(243)],this[e(206)][e(261)])[e(253)];let s=this[e(230)][e(220)](0);s&&s[e(253)][e(233)]()===i[e(233)]()||(s=new wo(this[e(206)],i,this[e(232)],this[e(210)]),this[e(230)][e(242)](s)),s[e(209)](t)}[Mo(208)](t){const e=Mo,i=po(t[e(243)],this[e(206)][e(261)])[e(253)];this[e(241)](i)[e(240)](t)}[Mo(241)](t){const e=Mo;return this[e(230)][e(255)](i=>i[e(253)][e(233)]()===t[e(233)]())}}const Co=jo;function Fo(){const t=["nameRevision","data","ready","change:diff","map","isEnabled","locale","revisionHistory.requireRevisionName","isSelected","_handleRevisionSelected","pluginName","_revisions","getLaterVisibleRevision","appendChild","focus","12480912PJxEJe","repository","editor","destroy","render","defaultRevisionActions","1019460yTOiws","requires","revisionHistory","_createRevisionActions","listenTo","init","Restore this revision","bind","compareAgainstSelected","isPremiumPlugin","config","isReady","diff","Name this revision","revisionViews","revisionHistory.revisionActions","_sidebarView","highlightRevisions","revisionHistory.viewerSidebarContainer","restoreRevision","timePeriodViews","getRevisionsInDiff","1042433NfILcf","getRevision","_handleEditorDataReady","selectRevision","9016665HKZhwF","isOfficialPlugin","restoreRevisionCallback","setName","_handleRevisionSetName","newRevisionId","fieldView","3083298zeHwet","Compare against selected","6729870yWYMww","length","plugins","remove","getEarlierVisibleRevision","_revisionViewer","string","compare","name","2ljtFxi","revisionSelected","isVisible","availableRevisionActions","action","_revisionsRepository","get","RevisionsSidebar","revisionSetName","getIndex","select","element","_handleDiffChange","5600580AkQInJ","assign","add"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(924761===-parseInt(e(150))/1+-parseInt(e(172))/2*(-parseInt(e(161))/3)+parseInt(e(128))/4+parseInt(e(163))/5+-parseInt(e(185))/6+-parseInt(e(154))/7+parseInt(e(122))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends G.Plugin{[Co(168)];[Co(177)];[Co(144)];static[Co(127)]=[Co(136),Co(147),Co(188)];static[Co(175)]=function(){const t=Co;return{compareAgainstSelected:{name:t(162),action:({plugins:e},i)=>{const s=t,n=e[s(178)](ce),r=n[s(123)];let o=n[s(140)][s(159)],a=i.id;r[s(181)](o)>r[s(181)](a)&&([o,a]=[a,o]),n[s(170)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(178)](ce);return!(n[s(123)][s(149)](n[s(140)])[s(164)]>2||i[s(196)])}},restoreRevision:{name:t(134),action:(e,{id:i})=>{const s=t;e[s(138)][s(178)](s(130))[s(156)](i)},isVisible:({plugins:e},i)=>!!e[t(178)](ce)[t(123)][t(200)](i.id)},nameRevision:{name:t(141),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(178)](ce),o=r[n(123)][n(167)](i);r[n(170)](i,o),s[n(202)](),s[n(160)][n(182)]()}}}}();static get[Co(198)](){return Co(179)}static get[Co(155)](){return!0}static get[Co(137)](){return!0}static get[Co(129)](){return[ce]}constructor(t){const e=Co;super(t),this[e(168)]=t[e(165)][e(178)](ce),this[e(177)]=this[e(168)][e(123)],this[e(144)]=null}[Co(133)](){const t=Co,e=this[t(177)][t(199)],i=this[t(131)](),s=this[t(124)][t(138)][t(178)](t(146));this[t(144)]=new Do(this[t(124)][t(194)],e,i,this[t(124)][t(138)][t(178)](t(195))),this[t(144)].on(t(173),this[t(197)][t(135)](this)),this[t(144)].on(t(180),this[t(158)][t(135)](this)),this[t(144)][t(135)](t(193)).to(this[t(168)]),this[t(144)][t(148)].on(t(187),(e,i)=>{const s=t;i[s(142)].on(s(187),(t,e)=>{const i=s;e[i(135)](i(193),i(139)).to(this[i(168)])})}),this[t(144)][t(126)](),this[t(132)](this[t(124)][t(189)],t(190),this[t(152)][t(135)](this)),this[t(132)](this[t(168)],t(191),this[t(184)][t(135)](this)),s[t(201)](this[t(144)][t(183)])}[Co(125)](){const t=Co;this[t(144)][t(183)][t(166)](),this[t(144)][t(125)]()}[Co(152)](){const t=Co,e=this[t(177)][t(151)](0);if(e){const i=this[t(177)][t(167)](e.id);this[t(168)][t(170)](e,i)}}[Co(197)](t,e){const i=Co,s=this[i(177)][i(151)](e.id),n=this[i(177)][i(167)](s.id);this[i(168)][i(170)](s,n)}[Co(158)](t,e){const i=Co;this[i(177)][i(151)](e.id)[i(157)](e[i(171)])}[Co(184)](t,e,i){const s=Co,n=this[s(177)][s(149)](i);n[s(164)]>2?(this[s(144)][s(145)](n),this[s(144)][s(153)](null)):(this[s(144)][s(145)]([]),this[s(144)][s(153)](n[0]))}[Co(131)](){const t=Co,e=this[t(124)],i=Po[t(175)],s=e[t(138)][t(178)](t(143))||Po[t(127)];if(s[t(164)])return s[t(192)](s=>{const n=t,r=n(169)==typeof s?Object[n(186)]({},i[s]):s;return r[n(176)]=r[n(176)][n(135)](this,e),r[n(174)]&&(r[n(174)]=r[n(174)][n(135)](this,e)),r})}}function Lo(t,e){const i=zo();return(Lo=function(t,e){return i[t-=229]})(t,e)}function zo(){const t=["2878827ukhpjQ","restore","1783464fRXbkx","setEditableElement","313035oPBXEM","438471IQRWUj","getRoot","viewportOffset","name","5579dQfBOR","4CQyVMe","element","config","1948408JbBhdv","view","rootName","bind","isFocused","editable","stickyPanel","_initToolbar","fire","destroy","detachDomRoot","fillFromConfig","isActive","init","componentFactory","addToolbar","viewportTopOffset","_elementReplacer","_toolbarConfig","render","_view","limiterElement","editing","get","2250dFpOoo","document","6280985BuvjZd","250bgBIFx","ready","editor","replace","focusTracker","toolbar","attachDomRoot"];return(zo=function(){return t})()}const Wo=Lo;!function(t){const e=Lo,i=t();for(;;)try{if(749132===-parseInt(e(253))/1+-parseInt(e(262))/2+-parseInt(e(249))/3+-parseInt(e(259))/4*(-parseInt(e(241))/5)+-parseInt(e(239))/6*(-parseInt(e(258))/7)+parseInt(e(251))/8+parseInt(e(254))/9*(parseInt(e(242))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Wo(235)];[Wo(233)];[Wo(232)];get[Wo(263)](){return this[Wo(235)]}constructor(e,i){const s=Wo;super(e),this[s(235)]=i,this[s(233)]=(0,It.normalizeToolbarConfig)(e[s(261)][s(238)](s(247))),this[s(232)]=new t.ElementReplacer}get[Wo(260)](){const t=Wo;return this[t(263)][t(260)]}[Wo(275)](t){const e=Wo,i=this[e(244)],s=this[e(263)],n=i[e(237)][e(263)],r=s[e(267)],o=n[e(240)][e(255)]();r[e(257)]=o[e(264)],s[e(234)]();const a=r[e(260)];this[e(252)](r[e(257)],a),s[e(267)][e(265)](e(266)).to(this[e(246)]),n[e(248)](a),this[e(232)][e(245)](t,this[e(260)]),this[e(269)](),this[e(270)](e(243))}[Wo(271)](){const t=Wo;super[t(271)]();const e=this[t(263)],i=this[t(244)][t(237)][t(263)];this[t(232)][t(250)](),i[t(272)](e[t(267)][t(257)]),e[t(271)]()}[Wo(269)](){const t=Wo,e=this[t(263)];e[t(268)][t(265)](t(274)).to(this[t(246)],t(266)),e[t(268)][t(236)]=e[t(260)],e[t(268)][t(265)](t(231)).to(this,t(256),({top:t})=>t),e[t(247)][t(273)](this[t(233)],this[t(229)]),this[t(230)](e[t(247)])}}var Ho=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function Bo(t,e){var i=Jo();return(Bo=function(t,e){return i[t-=201]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(759050===parseInt(e(216))/1+-parseInt(e(217))/2*(-parseInt(e(204))/3)+-parseInt(e(212))/4+parseInt(e(210))/5+parseInt(e(202))/6+-parseInt(e(208))/7+parseInt(e(201))/8*(parseInt(e(214))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class $o extends It.BoxedEditorUIView{[qo(218)];[qo(213)];[qo(219)];get[qo(211)](){return this[qo(218)]}constructor(t,e,i={}){var s=qo;super(t),this[s(213)]=new It.StickyPanelView(t),this[s(219)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(207)]}),this[s(218)]=new It.InlineEditableUIView(t,e)}[qo(215)](){var t=qo;super[t(215)](),this[t(213)][t(206)][t(203)](this[t(219)]),this[t(209)][t(203)](this[t(213)]),this[t(205)][t(203)](this[t(211)])}}function Jo(){var t=["3045000wRehXZ","stickyPanel","634689QrsQMN","render","259692wyegJq","244XJMdCe","_editable","toolbar","64mbLuxh","3736998kGvBas","add","7212kLpZai","main","content","shouldToolbarGroupWhenFull","9430491eImLlC","top","5637660jlpZhh","editable"];return(Jo=function(){return t})()}function Yo(){const t=["4464430zvSsJL","1161434cIQpTv","1541136OLKucz","fire","locale","initialData","ready","editing","1BHpYHC","document","destroy","733236eteyuT","164494hhpXqF","36cltmAC","create","630pISTFw","_ui","data","197848yvIhSC","config","createRoot","model","initPlugins","init","9bIQNBJ","1757565AUTlId","sourceElement","view","get","updateSourceElement"];return(Yo=function(){return t})()}const Go=Ko;function Ko(t,e){const i=Yo();return(Ko=function(t,e){return i[t-=136]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(575937===-parseInt(e(162))/1*(parseInt(e(155))/2)+-parseInt(e(148))/3*(-parseInt(e(165))/4)+-parseInt(e(154))/5+parseInt(e(137))/6*(parseInt(e(142))/7)+parseInt(e(156))/8+parseInt(e(149))/9+parseInt(e(139))/10*(parseInt(e(136))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Go(140)];get ui(){return this[Go(140)]}constructor(t,e){const i=Go;super(e),this[i(150)]=t,this[i(145)][i(163)][i(144)]();const s=new $o(this[i(158)],this[i(161)][i(151)],{shouldToolbarGroupWhenFull:!0});this[i(140)]=new Uo(this,s)}[Go(164)](){const t=Go;return this[t(153)](),this.ui[t(164)](),super[t(164)]()}static async[Go(138)](t,e){const i=Go,s=new this(t,e);return await s[i(146)](),await s.ui[i(147)](t),await s[i(141)][i(147)](s[i(143)][i(152)](i(159))||""),s[i(157)](i(160)),s}}const Xo=ta;function ta(t,e){const i=ia();return(ta=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(731359===parseInt(e(461))/1+-parseInt(e(491))/2+-parseInt(e(496))/3*(-parseInt(e(490))/4)+parseInt(e(538))/5+-parseInt(e(393))/6*(-parseInt(e(466))/7)+-parseInt(e(472))/8*(-parseInt(e(540))/9)+-parseInt(e(463))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ea=[Xo(543),Xo(426),Xo(449),Xo(407),Xo(424),Xo(473),Xo(499)];function ia(){const t=["toolbar","AIChatHistory","RevisionViewerIntegration","revision-history-missing-configuration","exitToEditing","showRevisionViewerCallback","toLocaleDateString","roots","enqueueChange","ck-tab-panel_disabled","hide","remove","getRevision","result","config","Autosave","44yOhtRe","2229408kQMTqz","requires","_restoreRevision","model","RevisionHistory","67941wcazyO","element","loadRevisionData","AIActions","revision-history-viewer-opened","catch","saveRevision","changesNavigation","view","revisionHistory.showRevisionViewerCallback","getRevisions","detachRoot","AITabs","push","DocumentOutline","refreshVisibility"," ck-tab-panel_disabled","revisionHistory","getUser","isAttached","removeSelectionAttribute","style","uiLanguage","Annotations","isRevisionViewerOpen","insert","markers","revisionHistory.closeRevisionViewerCallback","isOfficialPlugin","end","isReadOnly","error","create","editor","_recalculatePageBreaks","long","addRevisionData","commands","rootName","data","translations","get","3882205nojFLb","replace","342VSpqql","getRevisionDocumentData","has","RevisionHistoryUI","_enhanceShowRevisionViewerCallback","pluginName","locale","update","repository","Dialog","isAnonymous","numeric","createdAt","_update","addRoot","removeAttribute","class","createRangeIn","display","_showRevisionViewer","fromVersion","47946FJMFqI","lazyRoots","panelViews","block","adapter","set","_cleanUp","keys","_viewerEditor","refreshPositioning","$graveyard","document","RevisionViewer","getRoot","AIReviewMode","destroy",".ck-ai-chat-history .ck-input","fromCharCode","parse","revisionHistory.viewerEditorElement","toVersion","plugins","restoreRevision","isOpen","init","from","tabindex","setSelection","RevisionsRepository","none","RevisionHistoryUtils","AIBalloon","isReady","RestrictedEditingMode","_closeRevisionViewer","isPremiumPlugin","getRevisionRootsAttributes","setAttribute","selection","Users","_getRevisionViewerEditorConfig","revisionHistory.restoreRevisionCallback","revisionHistory.viewerContainer",".ck-ai-chat__prompt-input .ck-textarea","creator","users","toJSON","getMarkersGroup","PaginationLookup","join","isEnabled","change","Restored","indexOf","getAttributeKeys","toLocaleTimeString","AIChat","bind","RevisionTracker","name","disableReadOnlyMode","revisionHistory.requireRevisionName","closeRevisionViewerCallback","save","enableReadOnlyMode","revisionHistory.editorContainer","includes","addUser","94641uLyerM","querySelector","19261940WvuBcL","DocumentOutlineUI","then","1064yoYDUF","map","restrictedEditingException","define","_enhanceCloseRevisionViewerCallback","removeMarker","302616Hflqvy","AIQuickActions"];return(ia=function(){return t})()}class sa extends G.Plugin{[Xo(487)];static get[Xo(545)](){return Xo(476)}static get[Xo(524)](){return!0}static get[Xo(428)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(467)](t=>String[e(410)](t))[e(442)]("")}super(t),this[e(487)]=e(525),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Xo(401)];static get[Xo(545)](){return Xo(495)}static get[Xo(524)](){return!0}static get[Xo(428)](){return!0}static get[Xo(492)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(529)][i(488)][i(537)](i(513)))throw new t.CKEditorError(i(477),this);this[i(401)]=null,this[i(398)](i(520),!1),this[i(529)][i(488)][i(469)](i(505),t=>this[i(391)]({...t,translations:this[i(529)][i(546)][i(536)]})),this[i(529)][i(488)][i(469)](i(523),t=>this[i(427)](t)),this[i(529)][i(488)][i(469)](i(434),t=>this[i(493)](t)),this[i(529)][i(488)][i(469)](i(454),!1),this[i(544)](),this[i(470)]()}set[Xo(397)](t){const e=Xo;this[e(529)][e(414)][e(537)](e(451))[e(397)]=t}get[Xo(397)](){const t=Xo;return this[t(529)][t(414)][t(537)](t(451))[t(397)]}[Xo(532)](t){const e=Xo;return this[e(529)][e(414)][e(537)](e(451))[e(532)](t)}[Xo(486)](t){const e=Xo;return this[e(529)][e(414)][e(537)](e(421))[e(486)](t)}[Xo(506)](t){const e=Xo;return this[e(529)][e(414)][e(537)](e(421))[e(506)](t||{toJSON:!1})}[Xo(433)](){const e=Xo,i=this[e(529)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(414)][e(537)](e(451)),r=i[e(414)][e(537)](e(432))[e(438)];return s[e(474)]=[e(478),e(415),e(503)],delete s[e(394)],s[e(414)][e(509)](sa,ce,Ne,class extends G.Plugin{static get[e(492)](){return[ce,e(432)]}[e(417)](){const s=e,o=this[s(529)][s(414)][s(537)](s(432));for(const t of r)t[s(550)]||o[s(514)](t.id)||o[s(460)](t);const a=n[s(548)][s(506)]();let c=null;const u=this[s(529)][s(414)][s(537)](s(405));u[s(397)]=n[s(397)],u[s(450)](s(443)).to(n),this[s(529)][s(533)][s(537)](s(415))[s(450)](s(443)).to(i,s(526),t=>!t);for(const e of a){const i=null===e[s(437)];if(i&&e[s(413)]===e[s(392)])continue;const r=e[s(439)]();u[s(532)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(553)](r,o);else if(!o){const e=a[u(439)]();e.id=(0,t.uid)(),n[u(502)](e,a[u(413)])[u(465)](t=>{c=t})}}else e[u(553)](r,o)})}}},Po),s}[Xo(544)](){const t=Xo,e=this[t(529)][t(488)][t(537)](t(513))[t(479)];this[t(529)][t(488)][t(398)](t(505),async()=>{const i=t;this[i(529)][i(457)](i(500));const s=this[i(529)][i(414)][i(537)](i(451));if(this[i(529)][i(414)][i(542)](i(489))){const t=this[i(529)][i(414)][i(537)](i(489));await t[i(456)]()}else await s[i(547)]();if(this[i(529)][i(414)][i(542)](i(441))&&this[i(529)][i(414)][i(537)](i(441))[i(530)](),this[i(529)][i(414)][i(542)](i(549))){const t=this[i(529)][i(414)][i(537)](i(549));t[i(416)]&&t[i(484)]()}if(this[i(529)][i(414)][i(542)](i(508))){const t=this[i(529)][i(414)][i(537)](i(508))[i(504)][i(395)];for(const e of t)e[i(556)]=e[i(556)]?e[i(556)]+i(512):i(483);if(this[i(529)][i(414)][i(542)](i(449))){const t=document[i(462)](i(436));t&&t[i(430)](i(419),"-1")}if(this[i(529)][i(414)][i(542)](i(475))){const t=document[i(462)](i(409));t&&t[i(430)](i(419),"-1")}}const n=this[i(433)]();return e(n)[i(465)](t=>{const e=i;return this[e(401)]=t,this[e(529)][e(414)][e(542)](e(519))&&this[e(529)][e(414)][e(537)](e(519))[e(511)](),this[e(529)][e(414)][e(542)](e(510))&&(this[e(529)][e(414)][e(537)](e(464))[e(504)][e(497)][e(517)][e(390)]=e(422)),t})[i(501)](t=>(console[i(527)](t),this[i(529)][i(453)](i(500)),null))})}[Xo(470)](){const t=Xo,e=this[t(529)][t(488)][t(537)](t(513))[t(455)];this[t(529)][t(488)][t(398)](t(523),()=>{const i=t;if(this[i(529)][i(414)][i(542)](i(441))&&this[i(529)][i(414)][i(537)](i(441))[i(530)](),this[i(529)][i(414)][i(542)](i(510))&&(this[i(529)][i(414)][i(537)](i(464))[i(504)][i(497)][i(517)][i(390)]=""),this[i(529)][i(414)][i(542)](i(508))){const t=this[i(529)][i(414)][i(537)](i(508))[i(504)][i(395)];for(const e of t)e[i(556)]=i(483)===e[i(556)]?"":e[i(556)][i(539)](i(512),"");if(this[i(529)][i(414)][i(542)](i(449))){const t=document[i(462)](i(436));t&&t[i(555)](i(419))}if(this[i(529)][i(414)][i(542)](i(475))){const t=document[i(462)](i(409));t&&t[i(555)](i(419))}}return this[i(401)][i(414)][i(537)](i(405))[i(399)](),e(this[i(401)])[i(465)](()=>{const t=i;if(this[t(529)][t(453)](t(500)),this[t(401)]=null,this[t(529)][t(414)][t(542)](t(519))){const e=this[t(529)][t(414)][t(537)](t(519));e[t(511)](),e[t(402)]()}})})}[Xo(391)](t){const e=Xo,i=this[e(529)][e(488)][e(537)](e(458)),s=this[e(529)][e(488)][e(537)](e(435)),n=this[e(529)][e(488)][e(537)](e(412));return Qo[e(528)](n,t)[e(465)](t=>(s[e(517)][e(390)]=e(396),i[e(517)][e(390)]=e(422),this[e(520)]=!0,t))}[Xo(427)](t){const e=Xo,i=this[e(529)][e(488)][e(537)](e(458));return this[e(529)][e(488)][e(537)](e(435))[e(517)][e(390)]=e(422),i[e(517)][e(390)]="",this[e(520)]=!1,t[e(408)]()}async[Xo(493)](t){const e=Xo,i=this[e(529)],s=this[e(401)][e(414)][e(537)](e(405)),n=i[e(414)][e(537)](e(451)),r=i[e(414)][e(537)](e(423)),o=s[e(548)][e(486)](t);let a,c,u;try{await r[e(498)](o,this[e(397)]),a=r[e(541)](o),c=r[e(429)](o)}catch(t){return void console[e(527)](t)}i[e(494)][e(444)](t=>{const s=e;for(const e of Array[s(418)](i[s(494)][s(522)][s(440)](s(468))))t[s(471)](e)}),s[e(425)]=!1,i[e(494)][e(482)](t=>{const s=e;t[s(420)](null),t[s(516)](i[s(494)][s(404)][s(431)][s(447)]());const n=Object[s(400)](a);for(const e of i[s(494)][s(404)][s(481)])s(403)!=e[s(534)]&&e[s(515)]()&&!n[s(459)](e[s(534)])&&t[s(507)](e);for(const e of n){let n=i[s(494)][s(404)][s(406)](e);n&&n[s(515)]()||(n=t[s(554)](e));const r=c[e],o=Object[s(400)](r),u=a[e];for(const e of n[s(447)]())o[s(459)](e)||t[s(555)](e,n);for(const i of o)t[s(430)](i,c[e][i],n);t[s(485)](t[s(389)](n)),t[s(521)](i[s(535)][s(411)](u,n),n,0)}});const l=at(i[e(546)],e(445));return u=o[e(452)]?-1==o[e(452)][e(446)](l)?l+": "+o[e(452)]:o[e(452)]:l+": "+o[e(552)][e(480)](i[e(546)][e(518)],{month:e(531),day:e(551)})+", "+o[e(552)][e(448)](i[e(546)][e(518)],{hour:e(551),minute:e(551)}),await n[e(502)]({name:u}),s[e(425)]=!0,i[e(488)][e(537)](e(513))[e(455)]()}}function ra(){var t=["8980412AWNbyH","10841208JUPGKg","3413172yKnItl","53645640tDXwcY","1137742VhVNEB","5QTJulp","8XWIfGI","7495884pxXvwV","7107804xyUSRz","1UESYsp"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=206]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(957800===parseInt(e(206))/1*(-parseInt(e(211))/2)+parseInt(e(209))/3+parseInt(e(214))/4*(parseInt(e(212))/5)+parseInt(e(208))/6+parseInt(e(207))/7*(parseInt(e(213))/8)+parseInt(e(215))/9+-parseInt(e(210))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(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{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},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:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,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,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case 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),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(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 N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(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 W(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?Z(e)?H(t,U(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 $(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=Y();return(B=function(t,e){return i[t-=397]})(t,e)}function Y(){const t=["setAttribute","removeAttribute","attributes","creator","fire","creatorId","toVersion","createdAt","4763272tEpOCS","3gyUWLV","1235216pWnHVU","setName","3566646CIUSiT","_update","1889312yifYdV","toJSON","map","name","2250840ElcVxl","model","2267265UXyQRs","authorsIds","1503017wNqfoc","set","diffData","fromVersion","authors"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(789959===-parseInt(e(401))/1+parseInt(e(416))/2+parseInt(e(415))/3*(parseInt(e(414))/4)+parseInt(e(397))/5+parseInt(e(418))/6+-parseInt(e(399))/7+-parseInt(e(420))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[q(409)];[q(405)];[q(403)];[q(412)];[q(404)];[q(398)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(409)]=e[i(409)]||null,this[i(405)]=e[i(405)]||[],this[i(403)]=e[i(403)]||null,this[i(412)]=e[i(412)]||0,this[i(404)]=e[i(404)]||0,this[i(402)](i(423),e[i(423)]||""),this[i(402)](i(413),e[i(413)]||new Date),this[i(402)](i(408),e[i(408)]||{})}[q(417)](t){this[q(419)]({name:t})}[q(406)](t,e){const i=q,s=A(this[i(408)]);W(s,t,e),this[i(419)]({attributes:s})}[q(407)](t){const e=q,i=A(this[e(408)]);(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=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return $(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(419)]({attributes:i})}[q(419)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(423),i(413),i(403),i(405),i(408),i(412),i(404),i(411)];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(405)]&&(n[i(400)]=n[i(405)][i(422)](t=>t.id),delete n[i(405)]),this[i(410)](i(419),n,e))}[q(421)](){const t=q;return{id:this.id,name:this[t(423)],creatorId:this[t(409)]?this[t(409)].id:null,authorsIds:this[t(405)][t(422)](t=>t.id),diffData:this[t(403)],createdAt:this[t(413)],attributes:this[t(408)],fromVersion:this[t(404)],toVersion:this[t(412)]}}}var G=i(782),K=i(211),X=i(783);function Q(){const t=["833627ayjUsE","requires","65DnTeCJ","name","2432868nQyBpF","127132yJfFBd","toJSON","push","getUser","Users","plugins","getEarlierVisibleRevision","8IPmgHx","get","diffData","data","newRevisionId","length","isOfficialPlugin","getRevisionsInDiff","addRevision","map","earlier","4291028jXTWsJ","getRevision","isNaN","getIndex","fromCharCode","4LbwKkl","href","attributes","from","afterInit","add","authorsIds","6uhhXDl","6031890tDspSP","reverse","toVersion","join","createdAt","getRevisions","pluginName","1825287vSxFzS","getLaterVisibleRevision","RevisionsRepository","getRevisionsIterator","creatorId","oldRevisionId","542570JKzsvq","fromVersion","77nPXVZY","editor","later","isPremiumPlugin","createRevision","_revisions"];return(Q=function(){return t})()}function tt(t,e){const i=Q();return(tt=function(t,e){return i[t-=481]})(t,e)}const et=tt;!function(t){const e=tt,i=t();for(;;)try{if(663864===parseInt(e(486))/1+-parseInt(e(514))/2*(parseInt(e(529))/3)+parseInt(e(491))/4*(-parseInt(e(488))/5)+-parseInt(e(521))/6*(-parseInt(e(509))/7)+parseInt(e(498))/8*(parseInt(e(522))/9)+-parseInt(e(535))/10*(-parseInt(e(537))/11)+-parseInt(e(490))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class it extends G.Plugin{[et(485)];static get[et(487)](){return[K.Users]}static get[et(528)](){return et(531)}static get[et(504)](){return!0}static get[et(483)](){return!0}get[et(503)](){const t=et;return this[t(485)][t(503)]}constructor(e){const i=et;super(e),this[i(485)]=new t.Collection}[et(518)](){!async function(e){const i=k([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[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(511)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([118]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=tt;return t[e(507)](t=>String[e(513)](t))[e(525)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1764288e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(515)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[et(484)](t){const e=et,i=this[e(481)][e(496)][e(499)](e(495));return new J({id:t.id,name:t[e(489)],creator:t[e(533)]?i[e(494)](t[e(533)]):null,diffData:t[e(500)]||t[e(501)],authors:t[e(520)][e(507)](t=>i[e(494)](t)),createdAt:new Date(t[e(526)]),attributes:t[e(516)],fromVersion:t[e(536)],toVersion:t[e(524)]})}[et(506)](t,e=0){const i=et;this[i(485)][i(519)](t,e)}[et(510)](t){const e=et;return this[e(485)][e(499)](t)}[et(527)](t={toJSON:!1}){const e=et,i=Array[e(517)](this[e(485)]);return i[e(523)](),t[e(492)]?i[e(507)](t=>t[e(492)]()):i}[et(512)](t){const e=et;return this[e(485)][e(512)](t)}[et(497)](t){const e=et,[,i]=this[e(532)](t,{direction:e(508)});return i}[et(530)](t){const e=et,[,i]=this[e(532)](t,{direction:e(482)});return i}[et(505)](t){const e=et,i=[];for(const s of this[e(532)](t[e(502)]))if(i[e(493)](s),s.id===t[e(534)])break;return i}*[et(532)](t,{direction:e=et(508),filter:i=()=>!0}={}){const s=et,n=s(508)===e?1:-1;let r=this[s(485)][s(499)](t),o=this[s(512)](r);for(yield r;r;){if(o+=n,r=this[s(510)](o),!r)return;i(r)&&(yield r)}}}const st=rt;function nt(){const t=["div","75UiwEyK","parse","htmlProcessor","data-revision-","1jEnzuL","string","20stGbtD","editor","length","getRevision","isOfficialPlugin","getRevisionRootsAttributes","data","attachChange","revision-start","3660CjALlD","attributes","domChildrenToView","loadRevisionData","from","attributesAfter","22MVuSIV","viewChildrenToDom","RevisionHistoryUtils","useFillerType","5412152vRnlbP","startsWith","_typeCharToViewClass","222279HiYHsR","get","processor","constructor","forEach","collaboration.channelId","1818711yoyTGF","map","_removeRevisionMarkers","35648SGkJsG","children","diffData","name","view","pluginName","marked","domConverter","insertions","342492NlWcGq","render","innerHTML","document","isPremiumPlugin","toModel","default","getFillerOffset","append","fillerOffset","_getViewFromDiffObj","_makeModelFromViewString","_viewClassToTypeChar","_getTypeCharForViewElement","isAttached","config","filter","type","toData","getRevisionDocumentData","customProperties","3059UaoaZA","_setCustomProperty","_appendChild","childNodes","createElement","297526IOLdVt","editing","domDocument","revision-end"];return(nt=function(){return t})()}function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=237]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(422839===parseInt(e(298))/1*(parseInt(e(289))/2)+-parseInt(e(245))/3+-parseInt(e(254))/4*(parseInt(e(294))/5)+-parseInt(e(309))/6*(-parseInt(e(284))/7)+parseInt(e(242))/8+-parseInt(e(251))/9*(parseInt(e(300))/10)+parseInt(e(238))/11*(-parseInt(e(263))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(259)](){return st(240)}static get[st(304)](){return!0}static get[st(267)](){return!0}[st(275)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(244)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(312)](t,e){const i=st;if(t[i(256)]||!e)return;const s=this[i(301)][i(278)][i(246)](i(250)),n=await e[i(303)]({channelId:s,revisionId:t.id});t[i(256)]=n[i(256)]}[st(282)](t){const e=st,i={};for(const s in t[e(256)]){if(t[e(256)][s][e(307)]&&!t[e(256)][s][e(307)][e(277)])continue;const n=this[e(253)](JSON[e(295)](t[e(256)][s][e(262)])),r=this[e(301)][e(290)][e(258)][e(266)],o=new X.ViewDocumentFragment(r,n[e(252)](t=>this[e(273)](t,!1)));this[e(301)][e(306)][e(247)][e(241)](e(260)),i[s]=this[e(301)][e(306)][e(247)][e(281)](o),this[e(301)][e(306)][e(247)][e(241)](e(269))}return i}[st(305)](t){const e=st,i={};for(const s in t[e(256)])t[e(256)][s][e(307)]&&!t[e(256)][s][e(307)][e(277)]||(i[s]=t[e(256)][s][e(237)]||{});return i}[st(276)](t){const e=st;return this[e(275)][e(246)](t[e(248)])}[st(273)](t,e){const i=st,s=this[i(301)][i(290)][i(258)][i(266)];if(i(299)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(280)]||"r"==t[i(280)]?[]:t[i(255)][i(252)](t=>this[i(273)](t,e));const o=this[i(244)][i(246)](t[i(280)])||X.ViewElement,a=this[i(301)][i(306)][i(296)][i(261)];if(n=new o(s,t[i(257)],t[i(310)],r),"u"==t[i(280)]&&t[i(255)][0]){const r=t[i(255)][0];if(n[i(264)]=function(t){const e=i,s=t[e(288)](e(293));return s[e(265)]=r,s[e(287)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(286)](n);const e=Array[i(313)](a[i(239)](t,{bind:!1})),r=a[i(291)][i(288)](i(293));r[i(271)](...e),n=Array[i(313)](a[i(311)](r))[0]}}else if("r"==t[i(280)]&&t[i(255)][0]){const r=t[i(255)][0];if(n[i(264)]=function(t){t[i(265)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(286)](n);const e=Array[i(313)](a[i(239)](t,{bind:!1})),r=a[i(291)][i(288)](i(293));r[i(271)](...e);const o=Array[i(313)](a[i(311)](r));o[i(302)]>1?n[i(286)](o):n=o[0]}}if(t[i(283)])for(const[e,s]of t[i(283)])n[i(285)](e,s);const c=void 0===t[i(272)]?null:t[i(272)];return null!==c&&(n[i(270)]=()=>c),n}}[st(274)](t){const e=st,i=JSON[e(295)](t),s=this[e(301)][e(290)][e(258)][e(266)],n=new X.ViewDocumentFragment(s,i[e(252)](t=>this[e(273)](t,!0)));return this[e(301)][e(306)][e(268)](n)}[st(253)](t){const e=st;return(t=t[e(279)](t=>!t[e(257)]||e(308)!==t[e(257)]&&e(292)!==t[e(257)]))[e(249)](t=>{const i=e;i(299)!=typeof t&&(t[i(255)]=this[i(253)](t[i(255)]),t[i(310)]=t[i(310)][i(279)](t=>!t[0][i(243)](i(297))))}),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 N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return 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 A=(s=s??new Map).get(t),M=s.get(i);if(null!=A&&null!=M)return A===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!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=pt();return(mt=function(t,e){return i[t-=230]})(t,e)}function pt(){const t=["_generateTape","_transformMarkers","RevisionHistory","getIndex","RevisionsRepository","addRootAttribute","previousPosition","fillerOffset","domDocument","_baseRoots","_replaceEditorDataWithRevisionData","revision:","afterInit","isEqual","toView","$comment","clear","baseVersion","changeRootAttribute","getCurrentRevisionId","attributesBefore","setSource","_operations","_createCurrentRevision","children","getData","revisionHistory.resumeUnsavedRevision","licenseKey","_appendChild","_idsRoots","createRangeIn","createElement","has","insertions","Empty document","createPositionFromPath","detachRoot","_isAttached","split","_insertChild","_markChanges","authorsIds","item","history","merge","move","getRevisions","currentRevision","delete","getAncestors","type","startsWith","evaluationLimit","getFillerOffset","getCustomProperties","getUser","toVersion","paragraph","insertion","uiElement","stringify","getRevision","getOperations","_lastTo","affectsData","loadState","attachChange","nodes","createPositionAt","userId","_licenseKeyCheckInterval","createPositionBefore","roots","_bufferedUpdates","_startingVersion","_copyMarkers","RealTimeCollaborationClient","isEnabled","_setConversion","_touched","getTime","_savedMetaData","innerHTML","outerHTML","push","config","howMany","createdAt","root","_execute","42oDMLLM","trim","map","_getFromVersion","domainLimit","RevisionTracker","revisionHistoryLicenseKeyNotAllowed","targetPosition","vid","documentFragment","upcast","remove","NEGATIVE_INFINITY","fromVersion","870160hynGvj","_isPendingUpdate","11ATaAdS","_bufferUpdate","createRange","creator","_getPreviousFrom","attributesAfter","set","reinsert","255562RoQlVn","isAttached","_source","end","getWalker","getRevisionDocumentData","offsetSize","editor","trialLimit","add","keepParagraph","define","collaboration.channelId","offset","initial","elementStart","_startingRevisionId","name","$graveyard","isAdd","_handleSplitOperation","getAttribute","_handleMarkerOperation","plugins","_handleRootOperation","editor-initial-data-replaced-with-revision-data","_reset","resolve","childCount","_handleRootAttributeOperation","graveyardPosition","3920462xTfOds","update","_revisionDataBuilder","_diffRoots","61179PSOmVt","_getTypeCharForViewElement","vid_end","hasContent","_markers","source","_getBaseVids","_continueCurrentRevision","insertionPosition","revisionHistoryLicenseKeyValid","42893820xTRylc","domConverter","_revisionId","180MpAMHA","some","getRootNames","getTransformedByOperation","_showLicenseError","newRange","stickiness","PendingActions","getMovedRangeStart","destroy","find","_baseIdsRoots","size","keys","getChildren","nodeAfter","_processRootBeforeSave","_makeModelFromViewString","updateRevisions","sourcePosition","63UQpKKT","dataToMarker","finally","locale","_createInitialRevision","expired","tableCell","initialData","includes","Users","getRoot","repository","setRevisionData","usageLimit","getNodeByPath","_makeRevision","shift","rawElement","pluginName","length","getChild","dataDowncast","then","1257832ZOEFxm","fromEntries","init","_getViewJson","_pendingAction","revisionHistoryLicenseKeyExpired","_fixRange","_removePendingAction","invalid","adapter","loadRevisionData","createRevision","_touchedMarkers","deletion","_lastFrom","version","_isInit","creatorId","deletions","createPositionAfter","getAttributes","_handleInsertOperation","_loadState","_diffRootsAttributes","insert","splitPosition","PENDING_ACTION_REVISION_HISTORY","values","_addPendingAction","newValue","for","_fixPosition","start","bind","markers","_saveMetaData","_findInsertionIndex","max","getRange","revision","saveRevision","_handleMoveOperation","getOperation","addRevision","render","featureNotAllowed","$text","_getVidAttributeName","marker","_handleOperation","parent","_touchedRoots","string","path","_clone","text","getLatestVersion","buildRevisionData","reInit","_applyOperations","_handleMergeOperation","RevisionHistoryUtils","Initial revision","range","_removeMetaData","isPremiumPlugin","revisionHistoryLicenseKeyDomainLimit","revisionHistoryLicenseKeyInvalid","addRoot","12180420KyzLYv","requires","getRevisionRootsAttributes","document","isReady","3IetTcE","isOfficialPlugin","sort","rootName","sendBufferedUpdates","_createFromRanges","clone","authors","removeRootAttribute","from","model","_initialRevisionId","diffData","slice","_setAttribute","position","element","elementEnd","markerToData","_fixOperation","_makeIdsRoot","data","addRevisionData","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyTrialLimit","_loadedStateData","rootsAttributes","_calculateMetaData","filter","_baseRootsAttributes","customProperties","_prepareViewToSave","vid_start","oldRange","_cloneOperation","get","key","reverse","ready","conversion","_authorId","_getState","htmlProcessor","revisionHistoryLicenseKeyUsageLimit","_utils","_update"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(612970===parseInt(e(377))/1*(-parseInt(e(537))/2)+parseInt(e(247))/3*(-parseInt(e(260))/4)+-parseInt(e(527))/5*(-parseInt(e(513))/6)+-parseInt(e(243))/7+-parseInt(e(303))/8*(parseInt(e(280))/9)+-parseInt(e(372))/10+-parseInt(e(529))/11*(-parseInt(e(257))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(450)];[ft(493)];[ft(470)]=null;[ft(291)];[ft(312)]=null;[ft(245)];[ft(539)];[ft(388)];[ft(496)];[ft(421)];[ft(307)];[ft(254)];[ft(497)];[ft(402)];static get[ft(298)](){return ft(518)}static get[ft(378)](){return!0}static get[ft(368)](){return!0}static get[ft(373)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(291)]=this[i(544)][i(235)][i(412)](i(427)),this[i(421)]=this[i(544)][i(235)][i(412)](i(364)),this[i(245)]=new gt(this[i(544)]),this[i(388)]=this[i(544)][i(508)][i(412)](i(549))||i(551),this[i(496)]=new Map,this[i(402)]=null;const s=(0,t.uid)();this[i(539)]={history:this[i(544)][i(387)][i(375)][i(466)],getLatestVersion:()=>Promise[i(239)](this[i(544)][i(387)][i(375)][i(318)]),getCurrentRevisionId:()=>s},this[i(535)](i(376),!1),this[i(535)](i(500),!0),this[i(535)](i(528),!1),this[i(544)][i(508)][i(548)](i(449),!0),this[i(544)][i(416)][i(333)](i(523))[i(281)]({view:i(342)})}[ft(305)](){const t=ft;this[t(501)](),this[t(544)][t(398)].on(t(415),()=>{const e=t,i=this[e(291)][e(484)](0),s=i&&null===i[e(532)]?i:null;if(this[e(254)]=!!s&&this[e(544)][e(508)][e(412)](e(449)),this[e(544)][e(235)][e(455)](e(499))){const t=this[e(539)][e(442)](),n=this[e(291)][e(484)](t);if(n)this[e(497)]=n[e(526)],this[e(254)]=!1;else{const t=this[e(539)][e(466)][e(445)][e(270)](t=>!t[e(319)]),n=t?t[e(440)]:this[e(539)][e(466)][e(318)];i?(i[e(479)]<n&&i[e(422)]({toVersion:n}),this[e(254)]?(this[e(539)][e(442)]=()=>s.id,this[e(497)]=s[e(526)]):(this[e(497)]=i[e(479)],this[e(254)]=!1)):(this[e(497)]=n,this[e(254)]=!1)}}else s&&(this[e(544)][e(387)][e(375)][e(466)][e(318)]=Math[e(340)](s[e(479)],this[e(544)][e(387)][e(375)][e(466)][e(318)]),s[e(526)]===s[e(479)]?(0!==s[e(526)]&&(this[e(539)][e(442)]=()=>s.id),this[e(254)]=!1):this[e(254)]&&(this[e(539)][e(442)]=()=>s.id,this[e(497)]=s[e(526)])),this[e(254)]||(this[e(497)]=this[e(544)][e(387)][e(375)][e(318)]);this[e(245)][e(305)](this[e(539)][e(466)]),this[e(284)](this[e(497)]),this[e(446)](this[e(497)]),this[e(312)]&&this[e(381)]()}),this[t(336)](t(376)).to(this,t(528),t=>!t),this[t(450)]=this[t(544)][t(508)][t(412)](t(450));const e=this[t(544)];this[t(493)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(256)==r||i(370)==r||i(308)==r||i(369)==r||i(519)==r||i(400)==r||i(401)==r||i(420)==r){delete e[n],s=r,clearInterval(this[i(493)]),this[i(493)]=void 0;break}}i(370)==s&&e[i(264)](i(311)),i(308)==s&&e[i(264)](i(285)),i(369)==s&&e[i(264)](i(517)),i(519)==s&&e[i(264)](i(348),i(425)),i(400)==s&&e[i(264)](i(475)),i(401)==s&&e[i(264)](i(545)),i(420)==s&&e[i(264)](i(293))},1e3)}async[ft(435)](){const t=ft;if(this[t(291)][t(299)]>0){const e=this[t(291)][t(484)](0),i=await this[t(542)](e),s=await this[t(374)](e);this[t(433)](i,s)}}[ft(269)](){const t=ft;super[t(269)](),this[t(493)]&&clearInterval(this[t(493)])}[ft(444)](t){this[ft(539)]=t}async[ft(244)](){const t=ft,e=await this[t(539)][t(359)]();if(e>this[t(470)][t(479)]){await this[t(325)]();const i=this[t(360)]({revision:this[t(470)],to:e});i[t(384)]=i[t(464)][t(515)](e=>this[t(544)][t(235)][t(412)](t(289))[t(478)](e)),this[t(470)][t(422)](i)}}async[ft(343)](e={},i=null){const s=ft,n=[];await this[s(325)](),this[s(254)]=!1,i>this[s(470)][s(479)]&&(i=null),null===i&&(i=await this[s(539)][s(359)]());const r=this[s(516)](i),o=this[s(360)]({from:r,to:i});if(this[s(470)][s(479)]<i){const t=this[s(360)]({revision:this[s(470)],from:i,to:i});t[s(384)]=[],t[s(464)]=[],t.id=this[s(470)].id,this[s(470)][s(422)](t,!0),delete t[s(384)],n[s(507)](t)}e[s(320)]=this[s(544)][s(235)][s(412)](s(289)).me.id,e[s(554)]=e[s(554)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(399)](e);n[s(507)](e);const c=this[s(291)][s(426)](a);if(0!==c){const t=this[s(291)][s(484)](c-1);if(t[s(526)]!==i){const r=this[s(245)][s(448)](i,t[s(479)]),o={id:t.id,diffData:r[s(389)],authorsIds:r[s(464)],authors:r[s(464)][s(515)](t=>this[s(544)][s(235)][s(412)](s(289))[s(478)](t)),fromVersion:i};t===this[s(470)]&&(o[s(510)]=new Date(e[s(510)][s(503)]()+10)),t[s(422)](o,!0),delete o[s(384)],n[s(507)](o)}}if(this[s(312)]){for(const t of n)this[s(530)](t.id,t,!0);this[s(381)]()}return a}[ft(399)](t){const e=ft,i=this[e(291)][e(314)](t);return this[e(312)]&&i.on(e(422),(t,i,s)=>{const n=e;s||(this[n(530)](i.id,i,!0),this[n(381)]())}),this[e(291)][e(346)](i,this[e(339)](i)),i}async[ft(542)](t){const e=ft;return await this[e(421)][e(313)](t,this[e(312)]),this[e(421)][e(542)](t)}async[ft(374)](t){const e=ft;return await this[e(421)][e(313)](t,this[e(312)]),this[e(421)][e(374)](t)}[ft(381)](){const t=ft;if(0===this[t(496)][t(272)])return;if(this[t(528)])return;let e=Array[t(386)](this[t(496)][t(330)]());this[t(496)][t(439)]();for(let i=0;i<e[t(299)];i++){const s=e[i];let n=!1;for(const e of Object[t(273)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(405)](t=>null!==t),!e[t(299)])return;for(let i=0;i<e[t(299)];i++){const s=e[i];void 0!==s[t(526)]&&void 0===s[t(479)]&&(s[t(479)]=this[t(291)][t(484)](s.id)[t(479)]),void 0!==s[t(479)]&&void 0===s[t(526)]&&(s[t(526)]=this[t(291)][t(484)](s.id)[t(526)])}const i=this[t(544)][t(508)][t(412)](t(549));this[t(528)]=!0,this[t(331)](),this[t(312)][t(278)](e,i)[t(282)](()=>{this[t(528)]=!1})[t(302)](e=>{const i=t;if(e)for(const t of e)this[i(292)]({id:t.id,createdAt:t[i(510)]});this[i(310)](),this[i(381)]()})}[ft(360)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(526)],i=null!==i?i:t[s(479)];const n=this[s(245)][s(448)](e,i),r={diffData:n[s(389)],authorsIds:n[s(464)],fromVersion:e,toVersion:i};if(!t||i!==t[s(479)]){const t=i-1,e=this[s(539)][s(466)][s(345)](t);r[s(510)]=e&&e[s(510)]||new Date}if(this[s(402)]&&e===this[s(402)][s(526)])for(const t of this[s(402)][s(384)])r[s(464)][s(288)](t.id)||r[s(464)][s(507)](t.id);return r}[ft(530)](t,e,i){const s=ft;if(this[s(496)][s(455)](t)){const n=this[s(496)][s(412)](t);e=i?{...n,...e}:{...e,...n}}this[s(496)][s(535)](t,e)}[ft(292)](t){const e=ft,i=this[e(291)][e(484)](t.id);if(t[e(510)]&&(t[e(510)]=new Date(t[e(510)])),t[e(464)]){const i=this[e(544)][e(235)][e(412)](e(289));t[e(384)]=t[e(464)][e(515)](t=>i[e(478)](t))}i[e(422)](t,!0)}[ft(284)](t){const e=ft,i=this[e(291)][e(484)](this[e(291)][e(299)]-1);if(i)this[e(388)]=i.id;else{const i=!this[e(544)][e(387)][e(375)][e(495)][e(270)](t=>this[e(544)][e(387)][e(250)](t)),s=this[e(544)][e(235)][e(412)](e(289)).me.id,n=at(this[e(544)][e(283)],e(i?457:365));this[e(295)]({from:t,to:t,id:this[e(388)],name:n,creatorId:s})}}[ft(446)](t){const e=ft,i=this[e(539)][e(442)]();this[e(470)]=this[e(291)][e(484)](i),this[e(470)]||(this[e(470)]=this[e(295)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(325)](){const t=ft;this[t(254)]&&!this[t(402)]&&(await this[t(421)][t(313)](this[t(470)],this[t(312)]),this[t(245)][t(488)](this[t(470)]),this[t(402)]={fromVersion:this[t(470)][t(526)],authors:this[t(470)][t(384)][t(390)]()})}[ft(433)](e,i){const s=ft;let n=this[s(544)][s(508)][s(412)](s(287)),r=this[s(544)][s(508)][s(412)](s(403));if(void 0===n){n={};for(const t of this[s(544)][s(387)][s(375)][s(262)]())n[t]=""}if(s(355)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(544)][s(387)][s(375)][s(262)]())r[t]={}}let o=!1;const a=Object[s(273)](n),c=Object[s(273)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(514)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(273)](r[t])[s(299)]>0){o=!0;break}}o||(o=c[s(261)](t=>!this[s(544)][s(387)][s(375)][s(290)](t))),o&&(0,t.logWarning)(s(237),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(544)][s(508)][s(535)](s(287),e),this[s(544)][s(508)][s(535)](s(403),i)}[ft(331)](){const t=ft;if(!this[t(307)]){const e=this[t(544)][t(235)][t(412)](t(267));this[t(307)]=e[t(546)](at(this[t(544)][t(283)],t(329)))}}[ft(310)](){const t=ft;this[t(307)]&&(this[t(544)][t(235)][t(412)](t(267))[t(524)](this[t(307)]),this[t(307)]=null)}[ft(339)](t){const e=ft,i=this[e(291)][e(469)]();i[e(414)]();let s=0;for(;s<i[e(299)];){const n=i[s];if(n===this[e(470)]){s++;continue}if(n.id===this[e(388)])break;const r=t[e(479)]-n[e(479)]||t[e(526)]-n[e(526)];if(r>0)break;if(r<0)s++;else{if(!t[e(532)]&&n[e(532)])break;if(n[e(532)]||!t[e(532)]){if(t[e(510)]>n[e(510)])break;s++}else s++}}return s}[ft(516)](t){const e=ft,i=this[e(291)][e(469)]();i[e(414)](),i[e(296)]();const s=i[e(270)](i=>i[e(479)]<=t)[e(479)];return s<this[e(497)]?this[e(497)]:s}[ft(295)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(360)]({from:e,to:i});o[r(554)]=t,o[r(320)]=s,o.id=n;const a=this[r(399)](o);return this[r(312)]&&this[r(530)](o.id,o,!0),a}[ft(501)](){const t=ft;this[t(544)][t(416)][t(333)](t(301))[t(395)]({model:t(342)})}}class gt{[ft(544)];[ft(252)];[ft(504)];[ft(317)];[ft(486)];[ft(251)];[ft(246)];[ft(326)];[ft(432)];[ft(406)];[ft(452)];[ft(271)];[ft(502)];[ft(315)];[ft(354)];[ft(259)];[ft(553)];constructor(t){const e=ft;this[e(544)]=t,this[e(504)]=new Map,this[e(317)]=-1,this[e(486)]=-1,this[e(251)]=new Map,this[e(246)]=new Map,this[e(326)]=new Map,this[e(432)]=new Map,this[e(406)]=new Map,this[e(452)]=new Map,this[e(271)]=new Map,this[e(502)]=new Map,this[e(315)]=new Map,this[e(354)]=new Map,this[e(259)]=1}[ft(305)](t){const e=ft;this[e(252)]=t;const i=new Map,s=new Map,n=this[e(544)][e(387)][e(375)][e(495)][e(515)](t=>t[e(380)]);for(const t of n){const n=this[e(544)][e(387)][e(375)][e(290)](t),r=yt(n);i[e(535)](t,r),s[e(535)](t,Object[e(304)](n[e(323)]()))}const r=Array[e(386)](this[e(544)][e(387)][e(337)])[e(515)](t=>[t[e(554)],t[e(341)]()]),o=this[e(252)][e(318)];this[e(338)](o,i,r,s),this[e(553)]=this[e(259)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(535)](t,i),c[e(535)](t,{})}this[e(338)](Number[e(525)],a,[],c)}[ft(448)](t,e){const i=ft;if(this[i(317)]===t&&this[i(486)]<=e)this[i(504)][i(272)]>1&&this[i(367)](this[i(486)]),this[i(362)](this[i(486)],e,!0);else{if(!this[i(504)][i(455)](t)){const e=this[i(533)](t);this[i(404)](e,t,!1)}this[i(404)](t,e,!0)}return this[i(317)]=t,this[i(486)]=e,this[i(418)]()}[ft(488)](t){const e=ft;if(!this[e(504)][e(455)](t[e(526)])){const i=this[e(533)](t[e(526)]);this[e(404)](i,t[e(526)],!1)}this[e(404)](t[e(526)],t[e(479)],!1);const i=this[e(544)][e(235)][e(412)](e(364));this[e(238)](),this[e(317)]=t[e(526)],this[e(486)]=t[e(479)];for(const s in t[e(389)]){const n=t[e(389)][s][e(489)],r=A(t[e(389)][s][e(443)])||{},o=i[e(277)](t[e(389)][s][e(321)]);o[e(380)]=s,o[e(460)]=!n||!n[e(538)],o[e(538)]=()=>o[e(460)],this[e(432)][e(535)](s,o),this[e(406)][e(535)](s,r),n&&this[e(354)][e(535)](s,n);const a=this[e(397)](o);this[e(271)][e(535)](s,a);for(const[t,i]of o[e(337)]){if(!t[e(474)](e(434)))continue;const s=t[e(461)](":")[2];for(const t of i[e(541)]({singleCharacters:!0})){const i=this[e(350)](t),n=e(394)==t[e(473)]?t[e(429)][e(356)][e(390)](0,-1):t[e(429)][e(356)],r=a[e(294)](n)[e(233)](i);this[e(502)][e(535)](r,{userId:s})}o[e(337)][e(471)](t)}}this[e(553)]=this[e(259)];const s=[...Array(this[e(259)])[e(273)]()][e(390)](1)[e(405)](t=>!this[e(502)][e(455)](t));let n=0;const r=new Map;for(const o in t[e(389)]){const a=t[e(389)][o][e(489)],c=A(t[e(389)][o][e(534)])||{},u=i[e(277)](t[e(389)][o][e(456)]);u[e(380)]=o,u[e(460)]=!a||a[e(538)],u[e(538)]=()=>u[e(460)],this[e(246)][e(535)](o,u),this[e(326)][e(535)](o,c);const l=this[e(397)](u,Number[e(525)]);this[e(452)][e(535)](o,l),r[e(535)](o,u[e(538)]()?c:{});for(const[t,i]of u[e(337)]){if(!t[e(474)](e(434)))continue;const s=t[e(461)](":")[2];for(const t of i[e(541)]({singleCharacters:!0})){const i=this[e(350)](t),n=this[e(259)]++,r=e(394)==t[e(473)]?t[e(429)][e(356)][e(390)](0,-1):t[e(429)][e(356)];l[e(294)](r)[e(391)](i,n),this[e(502)][e(535)](n,{userId:s})}u[e(337)][e(471)](t)}for(const t of this[e(544)][e(387)][e(453)](u)[e(541)]({singleCharacters:!0})){const i=this[e(350)](t),r=e(394)==t[e(473)]?t[e(429)][e(356)][e(390)](0,-1):t[e(429)][e(356)],o=l[e(294)](r);o[e(233)](i)>0||o[e(391)](i,s[n++])}for(const[t,i]of u[e(337)])t[e(474)](e(434))||this[e(251)][e(535)](t,i)}const{roots:o}=this[e(504)][e(412)](t[e(526)]),{roots:a}=this[e(504)][e(412)](t[e(479)]),c=yt(o[e(412)](e(230)));this[e(432)][e(535)](e(230),c),this[e(271)][e(535)](e(230),this[e(397)](c,Number[e(525)]));const u=yt(a[e(412)](e(230)));this[e(246)][e(535)](e(230),u),this[e(452)][e(535)](e(230),this[e(397)](u));const l=Array[e(386)](this[e(246)])[e(515)](([t,e])=>[t,yt(e)]);this[e(338)](this[e(486)],l,this[e(251)],r)}[ft(361)](){const t=ft;this[t(238)](),this[t(317)]=-1,this[t(486)]=-1,this[t(504)][t(439)](),this[t(305)](this[t(252)])}[ft(338)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(535)](t,{start:e[n(335)][n(383)](),end:e[n(540)][n(383)](),rootName:e[n(511)][n(380)]});this[n(504)][n(535)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(367)](t){const e=ft;this[e(504)][e(471)](t)}[ft(238)](){const t=ft;this[t(502)][t(439)](),this[t(315)][t(439)](),this[t(354)][t(439)](),this[t(246)][t(439)](),this[t(326)][t(439)](),this[t(432)][t(439)](),this[t(406)][t(439)](),this[t(452)][t(439)](),this[t(271)][t(439)](),this[t(251)][t(439)](),this[t(259)]=1,this[t(553)]=this[t(259)]}[ft(397)](t,e=null){const i=ft;let s=null;t.is(i(522))||(s=new X.ModelElement(t[i(554)],{vid_start:null===e?this[i(259)]++:e++}));const n=[];for(const s of t[i(274)]())if(s.is(i(393))){n[i(507)](this[i(397)](s,e));const t=n[n[i(299)]-1];null!==e&&(e=t.is(i(393),i(349))?t[i(233)](i(521))+1:t[i(233)](i(249))+1)}else for(let t=0;t<s[i(543)];t++)n[i(507)](new X.ModelElement(i(349),{vid:null===e?this[i(259)]++:e++}));if(t.is(i(522))){const e=kt(t[i(380)]);return e[i(462)](0,n),e}return s[i(391)](i(249),null===e?this[i(259)]++:e++),s[i(462)](0,n),s}[ft(404)](t,e,i){const s=ft;this[s(238)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(504)][s(412)](t);this[s(432)]=new Map(n),this[s(406)]=new Map(A(o));for(const[t,e]of this[s(432)])if(s(230)!==t&&(this[s(246)][s(535)](t,yt(e)),this[s(326)]=new Map(A(o)),i)){const i=this[s(259)];this[s(452)][s(535)](t,this[s(397)](e)),this[s(271)][s(535)](t,this[s(397)](e,i))}this[s(553)]=this[s(259)],this[s(246)][s(535)](s(230),yt(this[s(432)][s(412)](s(230)))),i&&this[s(452)][s(535)](s(230),this[s(397)](this[s(432)][s(412)](s(230))));for(const[t,e]of r){const i=this[s(432)][s(412)](e[s(380)]),n=this[s(246)][s(412)](e[s(380)]),r=new X.ModelRange(this[s(334)](e[s(335)],i),this[s(334)](e[s(540)],i)),o=this[s(309)](r,n);i[s(337)][s(535)](t,r),this[s(251)][s(535)](t,o)}this[s(362)](t,e,i)}[ft(362)](t,e,i){const s=ft;for(const n of this[s(252)][s(485)](t,e))this[s(352)](n,i);for(const t of this[s(246)][s(330)]())t[s(337)][s(439)]();for(const[t,e]of this[s(251)])this[s(246)][s(412)](e[s(511)][s(380)])[s(337)][s(535)](t,e[s(383)]());const n=new Map,r=new Map;for(const[t,e]of this[s(246)])n[s(535)](t,yt(e)),r[s(535)](t,this[s(326)][s(412)](t));this[s(338)](e,n,this[s(251)],r)}[ft(533)](t){const e=ft,i=Array[e(386)](this[e(504)][e(273)]());i[e(379)]((t,e)=>t-e),i[e(414)]();for(const e of i)if(e<t)return e;return Number[e(525)]}[ft(498)](t,e){const i=ft,s=Array[i(386)](e[i(337)])[i(515)](([e,s])=>[e,this[i(309)](s,t)]);t[i(337)]=new Map(s)}[ft(424)](t){const e=ft;for(const i of this[e(251)][e(330)]()){const s=i[e(263)](t),n=X.ModelRange[e(382)](s);i[e(335)]=n[e(335)],i[e(540)]=n[e(540)]}}[ft(352)](t,e){const i=ft;if(i(371)!=t[i(473)]&&i(459)!=t[i(473)]){if(i(327)==t[i(473)]){const s=t[i(392)][i(511)][i(380)];this[i(246)][i(455)](s)||(this[i(246)][i(535)](s,kt(s,!0)),this[i(326)][i(535)](s,{}),e&&this[i(452)][i(535)](s,kt(s,!0)))}else{if(i(428)==t[i(473)]||i(385)==t[i(473)]||i(441)==t[i(473)])return void this[i(241)](t);i(351)==t[i(473)]&&this[i(234)](t)}if(i(351)!==t[i(473)]){const e=this[i(411)](t,this[i(246)]);e[i(512)](),this[i(424)](e)}if(e)switch(t[i(473)]){case i(327):this[i(324)](t);break;case i(468):case i(524):case i(536):this[i(344)](t);break;case i(467):this[i(363)](t);break;case i(461):this[i(232)](t)}}else this[i(236)](t,e)}[ft(411)](t,e){const i=ft,s=t[i(383)]();return s[i(417)]=t[i(417)],this[i(396)](s,e),s}[ft(253)](t){const e=ft;return t[e(515)](t=>{const i=e,s=this[i(350)](t);return Number(t[i(465)][i(233)](s))})}[ft(423)](t,e){const i=ft;if(t.is(i(393),i(349)))e[i(507)]({item:t,type:i(358)});else{t.is(i(393))&&e[i(507)]({item:t,type:i(552)});for(const s of t[i(274)]())this[i(423)](s,e);t.is(i(393))&&e[i(507)]({item:t,type:i(394)})}return e}[ft(418)](){const t=ft,e=new Map(this[t(502)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(432)][t(273)](),...this[t(246)][t(273)]()]);a[t(471)](t(230));for(const e of a){const i=this[t(246)][t(412)](e)||kt(e,!1),s=this[t(432)][t(412)](e)||kt(e,!1);i[t(538)]()||s[t(538)]()?(n[t(456)][e]=yt(i),n[t(321)][e]=yt(s),this[t(498)](n[t(321)][e],s),this[t(498)](n[t(456)][e],i),r[t(456)][e]=this[t(423)](this[t(452)][t(412)](e),[]),r[t(321)][e]=this[t(423)](this[t(271)][t(412)](e)||kt(e,!1),[])):a[t(471)](e)}for(const n of a){const o=r[t(456)][n];for(const n of o){const r=this[t(350)](n),o=n[t(465)][t(233)](r);i[t(471)](o),o>=this[t(553)]&&s[t(535)](o,e[t(412)](o))}}for(const n of a){const a=r[t(456)][n],c=this[t(253)](r[t(321)][n]);let u=0;for(const n of a){const r=this[t(350)](n),a=n[t(465)][t(233)](r);if(!s[t(455)](a)&&!o[t(455)](a))if(i[t(455)](a))u++;else{if(a!=c[u]){const s=e[t(412)](a)||e[t(412)](c[u]);for(;a!=c[u];)i[t(455)](c[u])||(o[t(535)](c[u],s),e[t(535)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(456)][e];for(const e of n){const n=this[t(350)](e),r=e[t(465)][t(233)](n);if(o[t(455)](r)){const e=o[t(412)](r);i[t(455)](r)||i[t(535)](r,{...e}),s[t(535)](r,{...e})}}}for(const e of i[t(273)]())e>=this[t(553)]&&i[t(471)](e);const c=new Map;for(const e of a){let n=r[t(456)][e];for(const e of n)if(e[t(465)].is(t(393),t(286))){const i=this[t(350)](e),n=e[t(465)][t(233)](i);if(s[t(455)](n)){const i=e[t(465)][t(353)][t(353)][t(233)](t(409)),r=c[t(412)](i)||new Set;r[t(546)](s[t(412)](n)[t(492)]),c[t(535)](i,r)}}n=r[t(321)][e];for(const e of n)if(e[t(465)].is(t(393),t(286))){const s=this[t(350)](e),n=e[t(465)][t(233)](s);if(i[t(455)](n)){const s=e[t(465)][t(353)][t(353)][t(233)](t(409)),r=c[t(412)](s)||new Set;r[t(546)](i[t(412)](n)[t(492)]),c[t(535)](s,r)}}for(const e of c[t(273)]())(s[t(455)](e)||i[t(455)](e))&&c[t(471)](e)}for(const e of a){const n=r[t(456)][e];let o=null,a=null;for(const e of n){const n=this[t(350)](e),r=e[t(465)][t(233)](n),u=c[t(412)](r);u&&t(552)==e[t(473)]&&(o=Array[t(386)](u)[0],a=e[t(465)][t(233)](t(249))),o&&(i[t(535)](r,{userId:o}),s[t(535)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(321)][e],a=n[t(456)][e];for(const{userId:e}of this[t(315)][t(330)]())null!==e&&l[t(546)](e);for(const{userId:e}of this[t(354)][t(330)]())null!==e&&l[t(546)](e);this[t(463)](a,r[t(456)][e],s,t(481),l),this[t(463)](o,r[t(321)][e],i,t(316),l),u[e]={insertions:this[t(408)](a),deletions:this[t(408)](o),attachChange:this[t(354)][t(412)](e)||null,attributesBefore:A(this[t(406)][t(412)](e))||{},attributesAfter:A(this[t(326)][t(412)](e))}}return{diffData:u,authorsIds:Array[t(386)](l)}}[ft(276)](t){const e=ft;for(const[,i]of t[e(337)]){const t=i[e(335)][e(472)]()[e(405)](t=>e(286)==t[e(554)]);for(const i of t)1==i[e(240)]&&i[e(300)](0).is(e(393),e(480))&&i[e(300)](0)[e(391)](e(547),!0)}}[ft(408)](t){const e=ft;this[e(276)](t);const i=this[e(544)][e(398)][e(437)](t,{}),s=Array[e(386)](i[e(274)]())[e(515)](t=>this[e(306)](t));return JSON[e(483)](s)}[ft(306)](t){const e=ft;if(t.is(e(349)))return t[e(398)];{const i=this[e(544)][e(235)][e(412)](e(364)),s=t,n=this[e(544)][e(398)][e(419)][e(258)],r={type:i[e(248)](s),name:s[e(554)],attributes:Array[e(386)](s[e(323)]()),children:Array[e(386)](s[e(274)]())[e(515)](t=>this[e(306)](t))};if(t.is(e(482))&&e(438)!=t[e(554)]){const i=t[e(347)](n[e(431)],n);r[e(447)][e(507)](i[e(506)])}else if(t.is(e(297))){const i=n[e(431)][e(454)](s[e(554)]);t[e(347)](i,n),r[e(447)][e(507)](i[e(505)])}const o=Array[e(386)](s[e(477)]());o[e(299)]>0&&(r[e(407)]=o);const a=s[e(476)]();return null!==a&&(r[e(430)]=a),r}}[ft(463)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(544)][r(387)];for(let s=0;s<e[r(299)];s++){const n=this[r(350)](e[s]),c=e[s][r(465)][r(233)](n),h=i[r(412)](c),d=s==e[r(299)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(492)]!=o[r(492)])&&(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(492)],d=l(434)+s+":"+h+":"+c++,f=u[l(531)](i,a);t[l(337)][l(535)](d,f),null!==h&&n[l(546)](h)}}[ft(350)](t){const e=ft;switch(t[e(473)]){case e(552):return e(409);case e(394):return e(249);default:return e(521)}}[ft(396)](t,e){const i=ft;t[i(440)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(412)](n[i(511)][i(380)]);t[s]=this[i(334)](n,r)}if(n instanceof X.ModelRange){const r=e[i(412)](n[i(511)][i(380)]);t[s]=this[i(309)](n,r)}i(511)===s&&(t[i(511)]=e[i(412)](t[i(511)][i(380)]))}}[ft(309)](t,e){const i=ft;return this[i(544)][i(387)][i(531)](this[i(334)](t[i(335)],e),this[i(334)](t[i(540)],e))}[ft(334)](t,e){const i=ft;return this[i(544)][i(387)][i(458)](e,t[i(356)],t[i(266)])}[ft(324)](t){const e=ft,i=this[e(452)][e(412)](t[e(392)][e(511)][e(380)]),s=this[e(334)](t[e(392)],i),n=null===t[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,r=s[e(353)],o=this[e(259)],a=[];for(const i of t[e(490)])if(i.is(e(393)))a[e(507)](this[e(397)](i));else for(let t=0;t<i[e(543)];t++)a[e(507)](new X.ModelElement(e(349),{vid:this[e(259)]++}));const c=this[e(259)];for(let t=o;t<c;t++)this[e(502)][e(535)](t,{userId:n});r[e(462)](s[e(550)],a)}[ft(344)](t){const e=ft;(t=this[e(411)](t,this[e(452)]))[e(512)]();const i=null===t[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,s=t[e(268)](),n=s[e(353)],r=s[e(550)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(300)](e);r.is(a(393),a(349))?s[a(535)](r[a(233)](a(521)),{userId:i}):(s[a(535)](r[a(233)](a(409)),{userId:i}),t(s,r,0,r[a(240)]),s[a(535)](r[a(233)](a(249)),{userId:i}))}}(this[e(502)],n,r,r+t[e(509)])}[ft(363)](t){const e=ft,i=null===(t=this[e(411)](t,this[e(452)]))[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,s=t[e(520)][e(353)],n=t[e(279)][e(353)],r=s[e(233)](e(249)),o=n[e(233)](e(409));s[e(391)](e(249),n[e(233)](e(249))),n[e(391)](e(249),r),this[e(502)][e(535)](o,{userId:i}),this[e(502)][e(535)](r,{userId:i}),t[e(512)]()}[ft(232)](t){const e=ft,i=null===(t=this[e(411)](t,this[e(452)]))[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,s=t[e(242)],n=t[e(328)][e(353)];t[e(512)]();const r=n[e(233)](e(249)),o=t[e(255)][e(275)];if(s){const t=o[e(233)](e(249)),s=n[e(233)](e(249));n[e(391)](e(249),t),o[e(391)](e(249),s),this[e(502)][e(535)](n[e(233)](e(249)),{userId:i}),this[e(502)][e(535)](o[e(233)](e(409)),{userId:i})}else{const t=this[e(259)]++,s=this[e(259)]++;n[e(391)](e(249),t),o[e(391)](e(409),s),o[e(391)](e(249),r),this[e(502)][e(535)](t,{userId:i}),this[e(502)][e(535)](s,{userId:i})}}[ft(234)](t){const e=ft;if(!t[e(487)])return;const i=(t=this[e(411)](t,this[e(246)]))[e(410)]?t[e(410)][e(511)]:null,s=t[e(265)]?t[e(265)][e(511)]:null;i&&this[e(251)][e(471)](t[e(554)]),s&&this[e(251)][e(535)](t[e(554)],t[e(265)][e(383)]());const n=null===t[e(417)]?null:t[e(417)]||this[e(544)][e(235)][e(412)](e(289)).me.id,r=t[e(554)];if(!this[e(315)][e(455)](r))return void this[e(315)][e(535)](r,{range:t[e(410)],userId:n});const o=this[e(315)][e(412)](r),a=o[e(366)],c=t[e(265)];null==a&&null==c||a&&c&&a[e(436)](c)?this[e(315)][e(471)](t[e(554)]):o[e(492)]=n}[ft(236)](t,e){const i=ft;this[i(246)][i(455)](t[i(380)])?this[i(246)][i(412)](t[i(380)])[i(460)]=t[i(231)]:(this[i(246)][i(535)](t[i(380)],kt(t[i(380)],!0)),this[i(326)][i(535)](t[i(380)],{}),e&&this[i(452)][i(535)](t[i(380)],kt(t[i(380)],!0)));const s=null===t[i(417)]?null:t[i(417)]||this[i(544)][i(235)][i(412)](i(289)).me.id,n=this[i(354)][i(412)](t[i(380)]);n&&n[i(492)]===s?this[i(354)][i(471)](t[i(380)]):this[i(354)][i(535)](t[i(380)],{userId:s,isAttached:t[i(231)]})}[ft(241)](t){const e=ft,i=this[e(326)][e(412)](t[e(511)][e(380)]);null===t[e(332)]?delete i[t[e(413)]]:i[t[e(413)]]=t[e(332)]}}function yt(t){const e=ft,i=kt(t[e(380)],t[e(538)]());for(const s of t[e(274)]()){const t=s[e(357)](!0);i[e(451)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(380)]=t,s[i(460)]=e,s[i(538)]=()=>s[i(460)],s}function bt(t,e,i){const s=ft,n=s(394)==t[s(473)]?i[s(491)](t[s(465)],s(540)):i[s(494)](t[s(465)]);return i[s(458)](e,n[s(356)],n[s(266)])}function wt(t,e,i){const s=ft,n=s(552)==t[s(473)]?i[s(491)](t[s(465)],0):i[s(322)](t[s(465)]);return i[s(458)](e,n[s(356)],n[s(266)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),Rt=i.n(Nt),At=i(123),Mt=i.n(At),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().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=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=180]})(t,e)}function zt(){const t=["focus","revisionNameInputView","arrowup","listenTo","728557bpPcrw","220","input","5488036KkwWZJ","setTemplate","20KQgTAg","fieldView","render","keystrokes","add","label","revisionNameInputValue","arrowdown","arrowleft","150NIMbDW","extendTemplate","errorText","focusTracker","revisionName","23334QCggYe","optional","Name of the revision","form","reset","ck-responsive-form","6221220odJdWT","418355aGDweN","1709760HmaQjW","_createRevisionNameInput","trim","value","arrowright","4UJJRoY","7487253skInjF","initializeCssTransitionDisablerMixin","locale","element","ck-revision-history-save-revision-form","set","stopPropagation"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(884777===parseInt(e(202))/1+-parseInt(e(190))/2*(parseInt(e(221))/3)+parseInt(e(205))/4+-parseInt(e(183))/5+parseInt(e(216))/6*(parseInt(e(184))/7)+parseInt(e(185))/8+-parseInt(e(191))/9*(parseInt(e(207))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(219)];[Lt(210)];[Lt(199)];constructor(e,i){const s=Lt;super(e),this[s(219)]=new t.FocusTracker,this[s(210)]=new t.KeystrokeHandler,this[s(196)](s(213),""),this[s(199)]=this[s(186)](i),this[s(206)]({tag:s(180),attributes:{class:["ck",s(195),s(182)],tabindex:"-1"},children:[this[s(199)]]}),this[s(192)]()}[Lt(209)](){const t=Lt;super[t(209)](),(0,It.submitHandler)({view:this}),this[t(219)][t(211)](this[t(199)][t(194)]),this[t(210)][t(201)](this[t(194)]);const e=e=>e[t(197)]();this[t(210)][t(196)](t(189),e),this[t(210)][t(196)](t(215),e),this[t(210)][t(196)](t(200),e),this[t(210)][t(196)](t(214),e)}[Lt(198)](){const t=Lt;this[t(199)][t(198)]()}get[Lt(220)](){const t=Lt;return this[t(199)][t(208)][t(194)][t(188)][t(187)]()}set[Lt(220)](t){const e=Lt;this[e(199)][e(208)][e(194)][e(188)]=t[e(187)]()}[Lt(181)](){const t=Lt;this[t(199)][t(208)][t(194)][t(188)]="",this[t(199)][t(218)]=null}[Lt(186)](t){const e=Lt,i=new It.LabeledFieldView(this[e(193)],It.createLabeledInputText),s=i[e(208)];s[e(217)]({attributes:{maxlength:e(203)}});let n=at(this[e(193)],e(223));return!t&&(n+=" ("+at(this[e(193)],e(222))+")"),i[e(212)]=n,s.on(e(204),()=>{const t=e;this[t(213)]=s[t(194)][t(188)][t(187)]()}),i}}function Wt(t,e){const i=Ht();return(Wt=function(t,e){return i[t-=101]})(t,e)}const Zt=Wt;function Ht(){const t=["focus","_showDialog","ck-button-action","menu","Accept","set","add","Save current revision","execute","isReady","134888MofNNz","Open revision history","children","errorText","init","saveRevision","requires","buttonView","isEnabled","_saveRevisionFormView","Revision history","_registerMenuComponent","569352bNrhxz","config","1933125VrwGxh","pluginName","36EVBNog","showRevisionViewerCallback","11672eiKydS","render","_createOpenRevisionButton","reset","view","revisionName","locale","revisionHistory.requireRevisionName","isOfficialPlugin","bind","plugins","Cancel","RevisionHistoryUI","items","listenTo","RevisionTracker","Dialog","isOpen","editing","menuBar:revisionHistory","submit","1828580LMYuQK","show","The revision name cannot be empty.","hide","revisionNameInputView","get","isReadOnly","_createSaveRevisionFormView","delegate","low","revisionSave","addMany","_createSaveRevisionButton","12282sDZHzq","menuitem","revisionHistory","panelView","isPremiumPlugin","componentFactory","role","editor","276108pRTGeM","750eyyhay"];return(Ht=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(460222===-parseInt(e(124))/1+parseInt(e(163))/2+-parseInt(e(138))/3+-parseInt(e(112))/4+-parseInt(e(113))/5*(-parseInt(e(104))/6)+parseInt(e(136))/7+-parseInt(e(142))/8*(-parseInt(e(140))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends G.Plugin{static get[Zt(139)](){return Zt(154)}static get[Zt(150)](){return!0}static get[Zt(108)](){return!0}static get[Zt(130)](){return[vt]}[Zt(133)];[Zt(128)](){const t=Zt,e=this[t(111)],i=e[t(152)][t(168)](t(157));e.ui[t(109)][t(120)](t(106),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(107)][n(126)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(103)](It.ButtonView),l=new It.ListItemView(s),h=this[n(144)](It.ButtonView);return r[n(151)](n(132)).to(i,n(123),i,n(132),e,n(169),(t,e,i)=>t&&e&&!i),r[n(131)][n(119)]({icon:_t.IconHistory,label:at(s,n(134)),tooltip:!0}),u[n(119)]({withText:!0,role:n(105)}),h[n(119)]({withText:!0,role:n(105)}),this[n(156)](h,n(122),()=>{const t=n;r[t(159)]=!1,e[t(160)][t(146)][t(114)]()},{priority:n(172)}),c[n(126)][n(120)](u),l[n(126)][n(120)](h),a[n(110)]=n(117),a[n(155)][n(102)]([c,l]),o[n(120)](a),r}),e.ui[t(109)][t(120)](t(161),()=>this[t(135)]())}[Zt(135)](){const t=Zt,e=this[t(111)],i=e[t(148)],s=e[t(152)][t(168)](t(157)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(151)](t(132)).to(s,t(123),s,t(132),e,t(169),(t,e,i)=>t&&e&&!i),n[t(131)][t(119)]({icon:_t.IconHistory,label:at(i,t(134))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(103)](It.MenuBarMenuListItemButtonView);a[t(171)](t(122)).to(n),o[t(126)][t(120)](a),r[t(155)][t(120)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(144)](It.MenuBarMenuListItemButtonView);return u[t(171)](t(122)).to(n),c[t(126)][t(120)](u),r[t(155)][t(120)](c),n[t(107)][t(126)][t(120)](r),n}[Zt(103)](t){const e=Zt,i=this[e(111)],s=i[e(152)][e(168)](e(157)),n=new t(i[e(148)]);return n[e(119)]({label:at(i[e(148)],e(121))}),n[e(151)](e(132)).to(s,e(123),s,e(132),i,e(169),(t,e,i)=>t&&e&&!i),this[e(156)](n,e(122),()=>{this[e(115)]()}),n}[Zt(144)](t){const e=Zt,i=this[e(111)],s=i[e(152)][e(168)](e(157)),n=new t(i[e(148)]);return n[e(119)]({label:at(i[e(148)],e(125))}),n[e(151)](e(132)).to(s,e(123),i,e(169),(t,e)=>t&&!e),this[e(156)](n,e(122),()=>{const t=e;i[t(137)][t(168)](t(106))[t(141)]()}),n}[Zt(115)](){const t=Zt,e=this[t(111)],i=e[t(148)],s=e[t(152)][t(168)](t(158)),n=e[t(152)][t(168)](t(157));function r(n){const r=t;e[r(137)][r(168)](r(149))&&""===n[r(147)]?n[r(167)][r(127)]=at(i,r(165)):(e[r(152)][r(168)](vt)[r(129)]({name:n[r(147)]}),s[r(166)]())}this[t(133)]||(this[t(170)](),this[t(133)].on(t(162),()=>r(this[t(133)]))),this[t(133)][t(145)](),s[t(164)]({id:t(101),title:at(i,t(121)),isModal:!0,content:this[t(133)],actionButtons:[{label:at(e[t(148)],t(153)),withText:!0,onExecute:()=>s[t(166)]()},{label:at(e[t(148)],t(118)),class:t(116),withText:!0,onCreate(i){const s=t;i[s(151)](s(132)).to(n,s(123),n,s(132),e,s(169),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(133)])}]})}[Zt(170)](){const t=Zt,e=this[t(111)],i=e[t(148)];this[t(133)]=new Ut(i,e[t(137)][t(168)](t(149))),this[t(133)][t(143)]()}}const qt=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=412]})(t,e)}function Yt(){const t=["Added by","ck-revision-change","930414XagJlo","name","26383956vblXEB","add","1276192EZlkxI","changeId","type","element","Removed by","bindTemplate","_model","1379LhXjDW","data","ck-revision-change__","author","setTemplate","6inNECe","focus","4562596DCngbX","18jRXpBS","1684640RaNrFc","div","11ZtmtVj","span","isSuggestion","ck-annotation","set","ck-revision-change__label","Suggested by","33256cfflLG","10xCbnDw","744567PJzDlj"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(743920===parseInt(e(421))/1+parseInt(e(433))/2*(-parseInt(e(414))/3)+-parseInt(e(435))/4+-parseInt(e(413))/5*(-parseInt(e(417))/6)+parseInt(e(428))/7*(-parseInt(e(412))/8)+parseInt(e(436))/9*(-parseInt(e(437))/10)+parseInt(e(439))/11*(parseInt(e(419))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[qt(422)];[qt(427)];constructor(t,e){const i=qt;super(t),this[i(427)]=e,this[i(422)]=e.id;const s=this[i(426)],n=at(t,e[i(429)][i(441)]?i(445):i(420)==e[i(423)]?i(415):i(425));this[i(443)](i(423),e[i(423)]),this[i(432)]({tag:i(438),attributes:{class:[i(442),i(416),s.to(i(423),t=>i(430)+t)],tabindex:-1},children:[{tag:i(440),children:[{tag:i(440),attributes:{class:[i(444)]},children:[{text:n}]},{text:" "+e[i(431)][i(418)]}]}]})}[qt(434)](){const t=qt;this[t(424)][t(434)]()}}var Gt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=243]})(t,e)}function Xt(){var t=["9418651MUbCMl","2952nVwJXe","1808XnDgQe","2406SUskWo","data","2702RFPHrk","set","author","911833jgnWsU","rootName","10BwydPj","9415788uUQRMT","toJSON","26pbDTXb","80979iqLkdb","12LoGTFZ","createdAt","6104cDkdYp","type","980eFkxkm"];return(Xt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(456824===-parseInt(e(257))/1+parseInt(e(244))/2*(parseInt(e(243))/3)+parseInt(e(251))/4*(parseInt(e(248))/5)+parseInt(e(252))/6*(parseInt(e(254))/7)+-parseInt(e(246))/8*(-parseInt(e(250))/9)+parseInt(e(259))/10*(-parseInt(e(249))/11)+parseInt(e(260))/12*(parseInt(e(262))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(256)];[Gt(247)];[Gt(253)];[Gt(258)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(256)]=e[i(256)],this[i(247)]=e[i(247)],this[i(253)]=e[i(253)]||{},this[i(258)]=e[i(258)],this[i(255)](i(245),e[i(245)])}[Gt(261)](){var t=Gt;return{id:this.id,authorId:this[t(256)].id,type:this[t(247)],data:this[t(253)],createdAt:this[t(245)]}}}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=425]})(t,e)}const ee=te;function ie(){const t=["5132gxXnOX","1751436RRIMnT","57804kwFaQp","8iZjpet","254744fdbKpk","3281930vFrIkT","oldRevisionId","newRevisionId","4782YXLSGW","add","210411xARQcb","_setChanges","1547Cyesgb","changes","1195NUxRit"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(156263===-parseInt(e(426))/1*(parseInt(e(427))/2)+parseInt(e(434))/3+parseInt(e(439))/4*(parseInt(e(438))/5)+-parseInt(e(432))/6*(-parseInt(e(436))/7)+-parseInt(e(428))/8+parseInt(e(425))/9+-parseInt(e(429))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[ee(431)];[ee(430)];[ee(437)];constructor(e,i){const s=ee;this[s(431)]=e,this[s(430)]=i,this[s(437)]=new t.Collection}[ee(435)](t){const e=ee;for(const i of t)this[e(437)][e(433)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().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-=416]})(t,e)}function ce(){const t=["forceDisabled","_makeModelFromViewString","rootName","then","backward","isNavigationMode","repository","_threeWayMerge","RevisionsRepository","includes","revisionHistoryLabel","viewItem","addMarker:revision-suggestion:insertion","createRange","span","_initInteractions","values","first","parent","elementToAttribute","length","selection","attribute:vid","isObject","_activeViewTarget","modelRange","for","isAttached","add","createPositionBefore","createRevision","hasClass","downcastDispatcher","catch","_makeModelFromTape","isReady","removeMarker:revision-suggestion","_removeMissingPairs","_removeUnsupportedChanges","all","_makeTape","suggestion:","_setDistance","ck-revision-history-root--active","top","right","conversion","maxOffset","next","getRevisionDocumentData","delete","_markSuggestions","end","diff","625534EIJTvF","push","bottom","removeClass","activeChange","addRoot","ck-suggestion-marker--active","stop","attributesAfter","authors","RevisionViewer","getIndex","concat","getItems","currentChangeNumber","ck-suggestion-preview-marker","addMarker:revision-suggestion:deletion","8526PfdZzU","getAttribute","start","addRevision","2502689KmbtaH","level","markersEnd","getDomRoot","isAfter","ck-editor__editable__overlay","writer","toViewPosition","done","merge","isEnabled","markers","pop","addMarker:revision","enableReadOnlyMode","833214VnyqwO","consume","WidgetToolbarRepository","getAttributes","627510mHMZbm","_revisions","name","revisionHistoryAttachChange","reconvertMarker","getRootNames","updatePosition","revision-viewer","isEqual","_setChanges","slice","insert","document","vid","findIndex","RevisionHistoryUtils","change","suggestion","mouseover","compare","getCustomProperty","_cleanMarkers","observeMarkers","showPreviousChange","editingDowncast","isAddSuggestion","destroy","enqueueChange","execute","setAttribute","ck-revision-history-root-","ck-revision-history-root-remove","range","adapter","toViewRange","_getRevisionsRange","shift","POSITIVE_INFINITY","revision-suggestion:","oldRevisionId","highest","restoreRevisionCallback","_fixObsoleteTags","hasAttribute","isPremiumPlugin","markerToData","model","isContent","previousPosition","addHighlight","-new","init","uiElement","isOnRoot","data-change-id","isOfficialPlugin","distance","get","markerName","restoreRevision","endIndex","addRevisionData","keys","ck-suggestion-marker","_joinTapes","revision-suggestion","getLaterVisibleRevision","getClientRects","target","createPositionFromPath","remove","_changeView","sort","listenTo","comment","_utils","error","ck-suggestion-marker-merge","index","resolve","getWalker","userId","_refreshStartEndIndex","ck-suggestion-marker-split","locale","side","offsetSize","element","return","_appendChild","plugins","item","upcast","clear","indexOf","refresh","change:isReady","isBefore","isRemoveSuggestion","isSuggestion","getChild","736776YtKZFJ","consumable","type","dataDowncast","elementStart","checkAttribute","createRangeIn","isAdded","forEach","from","editor","isCollapsed","markerRange","has","unshift","markersStart","_getViewForChange","code","isIncorrect","insertion","nextPosition","startsWith","schema","domEvent","high","change:numberOfChanges","change:isEnabled","1395fEkWiu","abs","attributesBefore","getRoot","_findChangeIdFromDomTarget","isInline","isAtStart","vid_end","_processTape","low","view","loadRevisionData","activeView","ck-suggestion-preview-marker-","attributes","text","changeId","_markMismatchedRemovedTags","markerNameToElements","wrap","dataToMarker","insertions","numberOfChanges","isAtEnd","removeMarker:revision","config","removeMarker","deletions","showNextChange","mapViewToDom","test","isBlock","createAttributeElement","left","pairId","set","_balloon","getRevisionRootsAttributes","revision","mousedown","_getChangeFromId","change:activeChange","markerToHighlight","isLimit","revision-comment:","detachRoot","nextSibling","attachChange","mapper","softBreak","removeAttribute","commands","flat","_sortAndFilterDiffChanges","showStack","split","filter","elementEnd","_data","domConverter","nodeAfter","startIndex","roots","1355052PonjeI","revision:","_step","forward","find","object","isRemoved","change:activeView","string","_update","revisionHistory","diffData","element:pre","getRevision","affectsData","_changeIdToChange","deletion","map","_markInsertions","_markMarkers","pluginName","ck-revision-history-root-add","createUIElement","ck-suggestion-marker-","splice","bind","changes","unbindElementFromMarkerName","data","addClass","_setConversion","bindElementToMarker","_getDiff","_cleanUp","editing","vid_start","newRevisionId","requires","toViewElement"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(509845===parseInt(e(732))/1+parseInt(e(444))/2+-parseInt(e(448))/3+parseInt(e(639))/4+parseInt(e(576))/5*(-parseInt(e(425))/6)+-parseInt(e(429))/7+parseInt(e(549))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(684)];[oe(481)]=null;[oe(523)];[oe(702)];[oe(519)];[oe(654)];[oe(612)];static get[oe(659)](){return oe(418)}static get[oe(503)](){return!0}static get[oe(492)](){return!0}static get[oe(676)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(684)]=this[e(559)][e(538)][e(505)](e(686)),this[e(523)]=this[e(559)][e(538)][e(505)](e(463)),this[e(611)](e(736),null),this[e(611)](e(588),null),this[e(702)]=null,this[e(611)](e(731),null),this[e(611)](e(713),!1),this[e(611)](e(439),!0),this.on(e(575),(t,i,s)=>{const n=e;this[n(736)]=null,this[n(588)]=null,this[n(559)][n(673)][n(586)][n(464)](t=>{const e=n;for(const i of this[e(559)][e(673)][e(586)][e(460)][e(638)])s?t[e(735)](e(434),i):t[e(668)](e(434),i)})}),this[e(664)](e(683)).to(this,e(736),t=>null!==t),this[e(664)](e(422)).to(this,e(713),this,e(731),this,e(736),(t,i,s)=>t&&s?i[e(665)][e(419)](s):0),this[e(664)](e(598)).to(this,e(713),this,e(731),(t,i)=>t?i[e(665)][e(698)]:0),this[e(519)]=null,this[e(654)]=new Map,this[e(612)]=this[e(559)][e(538)][e(505)](It.ContextualBalloon)}[oe(499)](){const t=oe,e=this[t(559)],i=new de(e,{direction:t(682)}),s=new de(e,{direction:t(642)});e[t(627)][t(706)](t(471),i),e[t(627)][t(706)](t(604),s),e[t(627)][t(706)](t(507),new he(e)),this.on(t(574),()=>{const e=t;i[e(543)](),s[e(543)]()}),this[t(669)](),this[t(693)](),e[t(443)](t(455)),e[t(538)][t(562)](t(446))&&e[t(538)][t(505)](t(446))[t(678)](t(455))}async[oe(727)](t){const e=oe;return await this[e(523)][e(587)](t,this[e(481)]),this[e(523)][e(727)](t)}async[oe(613)](t){const e=oe;return await this[e(523)][e(587)](t,this[e(481)]),this[e(523)][e(613)](t)}async[oe(467)](t,e,i=!1){const s=oe;if(!this[s(439)])return;const n=this[s(731)],r=this[s(684)],o=s(647)==typeof t?r[s(652)](t):t,a=s(647)==typeof e?r[s(652)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(731)]&&this[s(731)][s(675)]===c&&this[s(731)][s(487)]===u)return Promise[s(527)]();this[s(713)]=!1,this[s(588)]=null,this[s(736)]=null,this[s(731)]=new se(c,u);const l=this[s(483)](o,a,!0)[s(656)](t=>this[s(523)][s(587)](t,this[s(481)]));return l[s(733)](new Promise(t=>{setTimeout(t,20)})),Promise[s(717)](l)[s(681)](()=>{const t=s;if(!this[t(439)])return;this[t(672)]();const e=this[t(671)](c,u);for(const i of e[t(665)])this[t(654)][t(611)](i.id,i);this[t(559)][t(494)][t(475)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(559)][s(494)][s(460)][s(453)]())i[s(621)](t);for(const t of Object[s(510)](e[s(494)])){const n=i[s(737)](t);for(const r of Object[s(510)](e[s(590)][t]))i[s(477)](r,e[s(590)][t][r],n);i[s(459)](e[s(494)][t],n,0)}}),this[t(731)][t(457)](this[t(629)](e[t(665)])),this[t(713)]=!0})[s(711)](t=>{const e=s;console[e(524)](t),this[e(672)](),n&&(this[e(731)]=n),this[e(713)]=!0})}[oe(509)](t,e){const i=oe,s=this[i(684)][i(708)](t);return s.on(i(648),(t,i,n)=>e(i,n,s)),this[i(684)][i(428)](s),s}[oe(672)](){const t=oe;this[t(736)]=null,this[t(469)](),this[t(519)]&&this[t(519)][t(474)](),this[t(519)]=null,this[t(654)][t(541)](),this[t(559)][t(494)][t(475)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(559)][i(494)][i(460)][i(453)]())e[i(621)](t)})}[oe(629)](t){const e=oe,i=[],s=new Map;for(const t of this[e(559)][e(494)][e(460)][e(453)]()){const n=this[e(559)][e(673)][e(586)][e(432)](t);if(!n)continue;const r=n[e(515)]()[e(539)](0);r&&(i[e(733)](t),s[e(611)](t,r))}return i[e(520)]((t,i)=>{const n=e,r=s[n(505)](t),o=s[n(505)](i);return r.y-o.y||r.x-o.x}),(t=t[e(632)](t=>i[e(687)](t[e(680)])))[e(520)]((t,s)=>i[e(542)](t[e(680)])-i[e(542)](s[e(680)])),t}[oe(718)](t){const e=oe,i=Array[e(558)](t[e(440)])[e(632)](([t,i])=>t[e(570)](e(640))&&!i[e(560)]),s=Array[e(558)](this[e(559)][e(494)][e(555)](t)[e(528)]({singleCharacters:!0}));if(0!=i[e(698)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(631)](":");if(n[e(730)][e(456)](t[e(569)])&&i[e(484)](),(t[e(496)][e(456)](n[e(427)])||t[e(496)][e(433)](n[e(427)]))&&(e(568)==r?t[e(556)]={userId:o}:e(655)==r&&(t[e(645)]={userId:o})),0==i[e(698)])break}return s}[oe(530)](t){const e=oe,i=new Map;for(let s=0;s<t[e(698)];s++)e(591)===t[s][e(551)]?(t[s][e(539)][e(637)]=s,t[s][e(539)][e(508)]=s):(e(553)===t[s][e(551)]?t[s][e(539)][e(637)]=s:e(633)===t[s][e(551)]&&(t[s][e(539)][e(508)]=s),i[e(611)](t[s].id,s));for(const s of i[e(694)]())e(553)===t[s][e(551)]?t[s][e(539)][e(508)]=i[e(505)](t[s][e(610)]):e(633)===t[s][e(551)]&&(t[s][e(539)][e(637)]=i[e(505)](t[s][e(610)]))}[oe(584)](t){const e=oe;for(let i=0;i<t[e(698)];i++){if(e(553)===t[i][e(551)])t[i][e(539)][e(637)]=i;else if(e(633)===t[i][e(551)]){t[i][e(539)][e(508)]=i;const s=t[i][e(539)][e(637)];t[s][e(610)]=t[i].id,t[i][e(610)]=t[s].id}else t[i][e(539)][e(637)]=i,t[i][e(539)][e(508)]=i,t[i][e(610)]=null;t[i][e(564)]||(t[i][e(564)]=[],t[i][e(431)]=[])}}[oe(657)](t,e){const i=oe,s=t[i(632)](t=>!t[i(556)]);for(let t=0;t<e[i(698)];t++)e[t][i(556)]&&(s[t][i(556)]=e[t][i(556)])}[oe(671)](t,e=null){const i=oe,s=this[i(684)][i(652)](t),n=e?this[i(684)][i(652)](e):null,r=this[i(483)](s,n),o=r[r[i(698)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(698)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(510)](e[i(650)]))if(e[i(650)][t][i(623)]){const s=e[i(650)][t][i(623)];s[i(705)]?(u[i(706)](t),l[i(562)](t)&&l[i(505)](t)[i(529)]==s[i(529)]?l[i(728)](t):l[i(611)](t,s)):l[i(562)](t)?(u[i(728)](t),l[i(728)](t)):(u[i(706)](t),l[i(611)](t,s))}else u[i(706)](t)}for(const t of u){const e=l[i(562)](t)&&!l[i(505)](t)[i(705)];let s=e?r[i(698)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(650)][t]){const s=e?o[i(650)][t][i(578)]:o[i(650)][t][i(416)];c[i(590)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(494)]={};for(const e of t[i(417)])a[i(611)](e.id,e);for(const e of u){const s=t[i(650)][e]?t[i(650)][e][i(597)]:"[]",n=t[i(650)][e]?t[i(650)][e][i(603)]:"[]";t[i(494)][e]={insertions:this[i(523)][i(679)](s),deletions:this[i(523)][i(679)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(558)](s[i(494)][t][i(597)][i(440)])[i(632)](([t])=>!t[i(570)](i(640))));let h=0;for(const o of r){const r=this[i(718)](o[i(494)][t][i(597)]);o==s?(e=r,n=e[i(698)],e[i(557)](t=>{t.id=h++}),this[i(584)](e)):this[i(657)](e,r);const a=e[i(632)](t=>!t[i(556)])[i(656)](t=>t.id);let c=0;const l=this[i(718)](o[i(494)][t][i(603)]);l[i(557)](t=>{t[i(645)]?t.id=n++:t.id=a[c++]}),this[i(584)](l),this[i(720)](e,i(556)),this[i(720)](l,i(645)),o==s&&this[i(658)](e,u),e=this[i(512)](e,l),this[i(530)](e),this[i(720)](e,i(645))}e=e[i(632)](t=>!(t[i(556)]&&t[i(645)]));const d=new Map(o[i(494)][t][i(603)][i(440)]),f=new Set(u[i(510)]());for(const t of d[i(510)]())f[i(728)](t);this[i(729)](e,f),this[i(490)](e),e=this[i(715)](e),e=this[i(593)](e),e=this[i(716)](e);const{root:m,changes:p}=this[i(712)](e,a,t);c[i(494)][t]=m;const v=l[i(505)](t);if(v){const e=a[i(505)](v[i(529)]),s=new Qt({author:e,type:v[i(705)]?i(706):i(518),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(563)](s),c[i(590)][t][i(451)]=s.id}c[i(665)]=c[i(665)][i(420)](p)}return c}[oe(658)](t,e){const i=oe;for(let s=0;s<t[i(698)];s++)for(const[n,r]of e)!r[i(560)]&&r[i(427)][i(456)](t[s][i(496)])&&t[s][i(564)][i(733)](n),r[i(730)][i(456)](t[s][i(569)])&&t[s][i(431)][i(733)](n)}[oe(512)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(698)]||r<e[i(698)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(733)](o);else if(a[i(645)]&&o[i(556)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(685)](t,n,e,r);s=s[i(420)](o),n=a,r=c}else a[i(645)]?(r++,s[i(733)](a)):(n++,s[i(733)](o))}return s}[oe(729)](t,e){const i=oe,s=[];for(let o=0;o<t[i(698)];o++){for(let r=0;r<t[o][i(564)][i(698)];r++){const a=t[o][i(564)][r];if(!e[i(562)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(513)!=c||i(568)!=u&&i(655)!=u||(s[i(563)]({type:u,name:a,userId:l}),t[o][i(564)][i(663)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(431)][i(698)];r++){const a=t[o][i(431)][r];if(!e[i(562)](a))continue;const{group:c,type:u}=n(a);if(i(513)!=c||i(568)!=u&&i(655)!=u)continue;t[o][i(431)][i(663)](r,1),r--;const l=s[i(462)](t=>t[i(450)]==a);l>-1&&s[i(663)](l,1)}}function n(t){const e=i,s=t[e(631)](":");return{group:s[0],type:s[1],subType:s[e(698)]>=5?s[2]:null,id:s[e(698)]<5?s[2]:s[3],authorId:s[e(698)]<5?s[3]:s[4],markerCount:6==s[e(698)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(698)];i++){if(t[e(556)]&&e(568)==s[i][e(551)]&&t[e(556)][e(529)]==s[i][e(529)])return t[e(473)]=s[i],void delete t[e(556)];if(!t[e(556)]&&!t[e(645)]&&e(655)==s[i][e(551)])return void(t[e(546)]=s[i])}}}[oe(720)](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(611)](o.id,s);for(let s=0;s<t[i(698)];s++){if(i(645)==e&&t[s][i(556)]||i(556)==e&&t[s][i(645)])continue;if(i(591)==t[s][i(551)]){t[s][i(504)]=0;continue}const n=r[i(505)](t[s][i(610)]),o=r[i(505)](t[s].id);t[s][i(504)]=n-o}}[oe(483)](t,e,i=!1){const s=oe,n=[];let r=this[s(684)][s(419)](t),o=this[s(684)][s(419)](e);for(-1==o&&(o=this[s(684)][s(449)][s(698)],i=!1);r<o;)n[s(733)](this[s(684)][s(652)](r)),r++;return i&&n[s(733)](this[s(684)][s(652)](r)),n}[oe(685)](t,e,i,s){const n=oe,r=this[n(559)][n(494)][n(571)];let o=e;for(;t[o]&&t[o][n(556)];)o++;let a=s;for(;i[a]&&i[a][n(645)];)a++;u(t,e,o),u(i,s,a);const c=i[n(458)](s,a)[n(420)](t[n(458)](e,o));return c[n(520)]((t,e)=>t[n(533)]!=e[n(533)]?t[n(533)]-e[n(533)]:t[n(430)]!=e[n(430)]?t[n(430)]-e[n(430)]:t[n(504)]!=e[n(504)]?e[n(504)]-t[n(504)]:!!t[n(556)]!=!!e[n(556)]?-1==t[n(533)]||0==t[n(533)]?t[n(556)]?-1:1:t[n(556)]?1:-1:t[n(526)]-e[n(526)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(485)],c=!0;for(let n=e;n<i;n++)if(r[s(581)](t[n][s(539)])||(c=!1),t[n][s(539)][s(637)]<e&&(o=n),t[n][s(539)][s(508)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(533)]=n<=o?-1:n<a?0:1,t[n][s(526)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(504)]?t[i][s(430)]=u:(u++,t[i][s(430)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(533)]&&(t[n][s(430)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(504)]?t[e][s(430)]=u:(u--,t[e][s(430)]=u,u--)}}[oe(490)](t){const e=oe,i=new Map,s=this[e(559)][e(494)][e(571)];for(let n=1;n<t[e(698)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(591)==c[e(551)])continue;if(c[e(551)]!=u[e(551)])continue;if(!s[e(607)](u[e(539)])||s[e(619)](u[e(539)]))continue;if(!s[e(607)](c[e(539)])||s[e(619)](c[e(539)]))continue;if((t[n][e(556)]||t[n][e(473)])&&t[n-1][e(645)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(645)]||!t[n-1][e(556)]&&!t[n-1][e(473)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(430)]==o[e(430)],h=Math[e(577)](r[e(430)])<Math[e(577)](o[e(430)])&&0==o[e(504)];(l||h)&&(i[e(611)](o.id,r.id),t[e(663)](a,1),n--,r[e(556)]=!1)}for(let s=0;s<t[e(698)];s++)i[e(562)](t[s][e(610)])&&(t[s][e(610)]=i[e(505)](t[s][e(610)]))}[oe(715)](t){const e=oe,i=new Set(t[e(656)](t=>t.id));for(let s=0;s<t[e(698)];s++)i[e(562)](t[s][e(610)])||0==t[s][e(504)]||(t[s][e(567)]=!0);return t[e(632)](t=>!t[e(567)])}[oe(593)](t){const e=oe,i=new Set;for(let s=0;s<t[e(698)];s++){if(i[e(562)](t[s].id)&&t[s][e(645)]&&(t[s][e(567)]=!0),t[s][e(567)])continue;if(0==t[s][e(504)])continue;if(e(553)!=t[s][e(551)])continue;if(null==t[s][e(610)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(610)];)e(553)==t[n][e(551)]?r++:e(633)==t[n][e(551)]&&r--,n++;if(0!=r)if(t[s][e(645)])t[s][e(567)]=!0;else for(;n!=s;)t[n][e(645)]&&0!=t[n][e(504)]&&(t[n][e(567)]=!0,i[e(706)](t[n][e(610)])),n--}return t[e(632)](t=>!t[e(567)])}[oe(716)](t){const e=oe,i=this[e(559)][e(494)][e(571)];for(let s=0;s<t[e(698)];s++){if(!(t[s][e(556)]||t[s][e(473)]||t[s][e(645)]||t[s][e(546)]))continue;if(0==t[s][e(504)])continue;const n=t[s][e(539)];i[e(607)](n)||i[e(619)](n)||(t[s][e(556)]&&delete t[s][e(556)],t[s][e(473)]&&delete t[s][e(473)],t[s][e(546)]&&delete t[s][e(546)],t[s][e(645)]&&(t[s][e(567)]=!0))}return t[e(632)](t=>!t[e(567)])}[oe(712)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(559)][s(494)],c=a[s(571)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(698)];e++)if(s(553)===t[e][s(551)]){t[e][s(496)]=a[s(517)](n,f);const i=new X.ModelElement(t[e][s(539)][s(450)],t[e][s(539)][s(447)]());u[0][s(537)](i),f[s(733)](0),u[s(563)](i),t[e][s(569)]=a[s(517)](n,f)}else s(633)===t[e][s(551)]?(u[s(484)](),t[e][s(496)]=a[s(517)](n,f),f[s(441)](),f[f[s(698)]-1]++,t[e][s(569)]=a[s(517)](n,f)):(t[e][s(496)]=a[s(517)](n,f),d?d[s(634)]+=t[e][s(539)][s(667)]:d=new X.ModelText(t[e][s(539)][s(667)],t[e][s(539)][s(447)]()),t[e+1]&&s(591)===t[e+1][s(551)]&&v(d,t[e+1][s(539)])||(u[0][s(537)](d),d=null),f[f[s(698)]-1]+=t[e][s(539)][s(534)],t[e][s(569)]=a[s(517)](n,f));for(let e=0;e<t[s(698)];e++){const i=t[e][s(496)],n=t[e][s(569)];for(const n of t[e][s(564)])o[s(611)](n,{start:i,end:null});m(s(546),e,i,n),m(s(473),e,i,n),m(s(645),e,i,n),m(s(556),e,i,n);for(const i of t[e][s(431)]){const t=o[s(505)](i);t?t[s(730)]=n:o[s(611)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(559)][s(494)][s(691)](e[s(427)],e[s(730)]);n[s(440)][s(611)](t,i)}return r[s(520)]((t,e)=>{const i=s,r=n[i(440)][i(505)](i(640)+t.id),o=n[i(440)][i(505)](i(640)+e.id);return r[i(427)][i(545)](o[i(427)])?-1:r[i(427)][i(433)](o[i(427)])?1:r[i(730)][i(545)](o[i(730)])?-1:r[i(730)][i(433)](o[i(730)])?1:i(706)===t[i(551)]?-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(529)]:null,d=i===t[o(698)]-1,f=h[e][0],m=c[o(701)](t[i][o(539)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(730)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(529)]!==u&&(l[e][o(730)]=n,f&&f[o(529)]===l[e][o(529)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(553)!==t[i][o(551)]||f&&f[o(529)]===u||h[e][o(563)]({userId:u,object:t[i][o(539)],change:l[e]}),o(633)===t[i][o(551)]&&f&&f[o(644)]===t[i][o(539)]&&(h[e][o(484)](),l[e]=f[o(464)])),l[e]&&d&&(l[e][o(730)]=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(539)],f=a[h(571)][h(607)](d)&&!a[h(571)][h(619)](d),m=t[h(636)]==o[h(696)]&&o[h(582)];if(f&&m)return;const p=a[h(691)](t,o),v=e[h(505)](u),g=new Qt({author:v,type:h(556)==l||h(473)==l?h(706):h(518),data:{isSuggestion:h(473)==l||h(546)==l},createdAt:new Date,rootName:i});r[h(733)](g),n[h(440)][h(611)](h(640)+g.id,p)}function v(t,e){const i=s,n=t[i(447)](),r=e[i(447)]();for(const t of n){if(t[1]!==e[i(426)](t[0]))return!1;r[i(726)]()}return r[i(726)]()[i(437)]}}[oe(669)](){const t=oe;this[t(559)][t(724)][t(704)](t(540))[t(596)]({view:t(614)}),this[t(559)][t(724)][t(704)](t(472))[t(618)]({model:t(614),view:e=>{const i=t,s=e[i(506)][i(631)](":")[1],n=this[i(616)](s);if(!n)return null;const r=i(706)==n[i(551)]?i(568):i(655),o=[i(511),i(662)+r];return n[i(667)][i(547)]&&o[i(733)](i(662)+r+i(498)),this[i(736)]==n&&o[i(733)](i(738)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(559)][t(724)][t(704)](t(540))[t(706)](e=>{const i=t;e.on(i(651),(t,e,s)=>{const n=i,r=e[n(689)][n(548)](0);if(!r||!r.is(n(535),n(566)))return;if(!s[n(550)][n(445)](r,{attributes:[n(674),n(583)]}))return;const o=e[n(703)][n(427)][n(636)];s[n(435)][n(477)](n(674),r[n(426)](n(674)),o),s[n(435)][n(477)](n(583),r[n(426)](n(583)),o)},{priority:i(585)})}),this[t(559)][t(724)][t(704)](t(540))[t(706)](e=>{const i=t;e.on(i(535),(t,e,s)=>{const n=i;if(!s[n(550)][n(445)](e[n(689)],{attributes:[n(674),n(583)]}))return;if(e[n(703)][n(560)])return;const r=e[n(703)][n(427)][n(636)];r[n(491)](n(674))||r[n(491)](n(461))||(s[n(435)][n(477)](n(674),e[n(689)][n(426)](n(674)),r),s[n(435)][n(477)](n(583),e[n(689)][n(426)](n(583)),r))},{priority:i(585)})}),this[t(559)][t(724)][t(704)](t(540))[t(697)]({view:{name:t(692),attributes:{vid:!0}},model:{key:t(461),value:e=>e[t(426)](t(461))}}),this[t(559)][t(494)][t(571)].on(t(554),(e,[,i])=>{const s=t;[s(674),s(583),s(461)][s(687)](i)&&(e[s(536)]=!0,e[s(739)]())},{priority:t(488)}),this[t(559)][t(724)][t(704)](t(552))[t(706)](e=>{const i=t;e.on(i(700),(t,e,s)=>{const n=i;if(" "!=e[n(539)][n(667)]||e[n(539)][n(696)][n(725)]>1)return;if(!s[n(550)][n(445)](e[n(539)],t[n(450)]))return;const r=s[n(435)],o=s[n(624)][n(482)](e[n(480)]);r[n(595)](o,r[n(608)](n(692)))})}),this[t(559)][t(724)][t(704)](t(552))[t(493)]({model:t(614)}),this[t(559)][t(673)][t(710)].on(t(442),function(e){const i=t,s=e[i(538)][i(505)](i(418));return(t,n,r)=>{const o=i,a=n[o(506)][o(631)](":")[1],c=s[o(616)](a);if(!c)return null;const u=o(706)==c[o(551)]?o(631):o(438);if(!r[o(550)][o(606)](n[o(561)],t[o(450)]))return;const l=n[o(561)][o(528)](),h=n[o(561)][o(427)],d=e[o(494)][o(571)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(539)];p=p||d[o(495)](e);const i=r[o(624)][o(677)](e);if(i&&i[o(468)](o(497)))return;o(633)==t[o(551)]&&d[o(607)](e)&&!d[o(619)](e)&&(e[o(622)]||h[o(599)]?f&&f[o(696)]==e||(f=e,g(t[o(496)]),v=!0):m=m||t[o(496)])}function g(t){const e=o,i=r[e(435)][e(661)](e(692),{class:e(662)+u}),a=r[e(624)][e(436)](t);c[e(667)][e(547)]&&r[e(435)][e(668)](e(662)+u+e(498),i),s[e(736)]==c&&r[e(435)][e(668)](e(738),i),r[e(435)][e(459)](a,i),r[e(624)][e(670)](i,n[e(506)])}p||v||!m||g(m)}}(this[t(559)]),{priority:t(573)}),this[t(559)][t(673)][t(710)].on(t(600),(e,i,s)=>{const n=t,r=s[n(624)][n(594)](i[n(506)]);if(r)for(const t of r)(t[n(709)](n(531))||t[n(709)](n(525)))&&(s[n(624)][n(666)](t,i[n(506)]),s[n(435)][n(518)](t))},{priority:t(573)}),this[t(559)][t(673)][t(710)].on(t(442),(e,i,s)=>{const n=t,r=i[n(506)][n(631)](":")[1],o=this[n(616)](r);if(!o)return null;const a=n(706)==o[n(551)]?n(631):n(438);if(s[n(550)][n(606)](i[n(561)],e[n(450)]))for(const t of i[n(561)][n(421)]()){if(!t.is(n(535),n(625)))continue;const e=s[n(435)][n(661)](n(692),{class:n(662)+a}),r=s[n(624)][n(436)](this[n(559)][n(494)][n(707)](t));o[n(667)][n(547)]&&s[n(435)][n(668)](n(662)+a+n(498),e),this[n(736)]==o&&s[n(435)][n(668)](n(738),e),s[n(435)][n(459)](r,e),s[n(624)][n(670)](e,i[n(506)])}},{priority:t(573)}),this[t(559)][t(494)][t(460)].on(t(464),()=>{const e=t;this[e(559)][e(673)][e(586)][e(464)](t=>{const i=e;for(const e of this[i(559)][i(494)][i(460)][i(453)]()){const s=this[i(559)][i(494)][i(460)][i(579)](e),n=this[i(559)][i(673)][i(586)][i(460)][i(579)](e);if(n){const e=s[i(426)](i(451));if(t[i(626)](i(502),n),t[i(735)](i(660),n),t[i(735)](i(479),n),t[i(735)](i(721),n),e){const s=this[i(616)](e);if(!s)return null;t[i(477)](i(502),e,n),t[i(668)](i(478)+s[i(551)],n),this[i(736)]==s&&t[i(668)](i(721),n)}}}})}),this[t(559)][t(724)][t(704)](t(540))[t(596)]({view:t(522),model:e=>t(620)+e,converterPriority:t(488)}),this[t(559)][t(724)][t(704)](t(540))[t(596)]({view:t(465),model:e=>t(486)+e,converterPriority:t(488)}),this[t(559)][t(724)][t(704)](t(552))[t(493)]({model:t(513),view:e=>({name:t(719)+e,group:t(513)}),converterPriority:t(488)}),this[t(559)][t(724)][t(704)](t(472))[t(618)]({model:t(513),view:e=>{const i=t,s=e[i(506)][i(631)](":")[1];return i(568)!=s&&i(655)!=s?null:{classes:[i(423),i(589)+s]}}}),this[t(559)][t(673)][t(710)].on(t(424),le(this[t(559)],t(438)),{priority:t(573)}),this[t(559)][t(673)][t(710)].on(t(690),le(this[t(559)],t(631)),{priority:t(573)}),this[t(559)][t(673)][t(710)].on(t(714),(e,i,s)=>{const n=t,r=s[n(624)][n(594)](i[n(506)]);if(r)for(const t of r)t.is(n(500))&&(s[n(624)][n(666)](t,i[n(506)]),s[n(435)][n(518)](t))},{priority:t(573)})}[oe(616)](t){const e=oe;return this[e(654)][e(505)](t)}[oe(565)](t){const e=oe;return this[e(519)]&&this[e(519)][e(474)](),this[e(519)]=new Jt(this[e(559)][e(532)],t),this[e(519)]}[oe(693)](){const t=oe;this[t(559)][t(494)][t(460)][t(699)][t(470)](t(614)),this.on(t(646),(e,i,s,n)=>{const r=t;n&&this[r(612)][r(518)](n),s&&(this[r(612)][r(706)]({view:s,stackId:r(688),position:{target:()=>{const t=r,e=this[t(559)][t(673)],i=this[t(616)](s[t(592)]);let n;if(i[t(667)][t(501)]){const s=e[t(586)][t(432)](i[t(680)]);n=Array[t(558)](s[t(515)]())}else{const i=this[t(559)][t(494)][t(440)][t(505)](t(640)+s[t(592)]);n=Array[t(558)](e[t(624)][t(594)](i[t(450)]))[t(656)](i=>e[t(586)][t(635)][t(605)](i))[t(656)](e=>Array[t(558)](e[t(515)]()))[t(628)]()}return this[t(702)]&&n[t(643)](e=>e[t(722)]-3<=this[t(702)].y&&e[t(734)]+3>=this[t(702)].y&&e[t(609)]-3<=this[t(702)].x&&e[t(723)]+3>=this[t(702)].x)||n[0]}}}),this[r(612)][r(630)](r(688)))}),this.on(t(617),(e,i,s,n)=>{const r=t;this[r(588)]=s?this[r(565)](s):null,this[r(559)][r(494)][r(464)](()=>{const t=r,e=this[t(559)][t(673)];n&&(n[t(667)][t(501)]?e[t(586)][t(464)](i=>{const s=t;i[s(735)](s(721),e[s(586)][s(460)][s(579)](n[s(680)]))}):e[t(452)](t(640)+n.id)),s&&(s[t(667)][t(501)]?e[t(586)][t(464)](i=>{const n=t;i[n(668)](n(721),e[n(586)][n(460)][n(579)](s[n(680)]))}):e[t(452)](t(640)+s.id))})}),this[t(521)](this[t(559)][t(673)][t(586)][t(460)],t(466),(e,i)=>{const s=t;if(this[s(736)])return;const n=this[s(580)](i[s(516)]),r=this[s(654)][s(505)](n);r?(this[s(702)]={x:i[s(572)].x,y:i[s(572)].y},this[s(588)]=this[s(565)](r)):(this[s(702)]=null,this[s(588)]=null)}),this[t(521)](this[t(559)][t(673)][t(586)][t(460)],t(615),(e,i)=>{const s=t,n=this[s(580)](i[s(516)]),r=this[s(654)][s(505)](n);r?(this[s(702)]={x:i[s(572)].x,y:i[s(572)].y},r===this[s(736)]?this[s(612)][s(454)]():this[s(736)]=r):(this[s(702)]=null,this[s(736)]=null)})}[oe(580)](t){const e=oe;do{const i=t[e(426)](e(502));if(i)return i;t=t[e(696)]}while(t);return null}[oe(469)](){const t=oe;this[t(559)][t(494)][t(464)](e=>{const i=t;for(const t of this[i(559)][i(494)][i(440)])e[i(602)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(550)][r(606)](s[r(561)],i[r(450)]))return;const o=s[r(561)][r(528)](),a=s[r(561)][r(427)],c=t[r(494)][r(571)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(539)];h=h||c[r(495)](e);const i=n[r(624)][r(677)](e);if(i&&i[r(468)](r(497)))return;r(633)==t[r(551)]&&c[r(607)](e)&&!c[r(619)](e)&&(e[r(622)]||a[r(599)]?u&&u[r(696)]==e||(u=e,f(t[r(496)]),d=!0):l=l||t[r(496)])}function f(t){const i=r,o=n[i(624)][i(436)](t),a=n[i(435)][i(661)](i(692),{class:i(589)+e});n[i(435)][i(459)](o,a),n[i(624)][i(670)](a,s[i(506)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(538)][e(505)](ue);this[e(653)]=!1,this[e(521)](i,e(544),()=>this[e(543)]()),this[e(521)](i,e(575),()=>this[e(543)]())}[oe(476)](){const t=oe,e=this[t(559)],i=e[t(538)][t(505)](ue),s=i[t(713)]?i[t(731)][t(675)]:null;e[t(601)][t(505)](t(649))[t(489)](s)}[oe(543)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(559)][t(538)][t(505)](ue),r=n&&s[t(514)](n[t(675)]);this[t(439)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(641)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(538)][i(505)](ue);this[i(653)]=!1,this[i(641)]=i(642)===e?1:-1,this[i(521)](s,i(544),()=>this[i(543)]()),this[i(521)](s,i(575),()=>this[i(543)]()),this[i(521)](s,i(617),()=>this[i(543)]())}[oe(476)](){const e=oe,i=this[e(559)],s=i[e(538)][e(505)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(736)]=n?s[e(731)][e(665)][e(505)](r+this[e(641)]):s[e(731)][e(665)][e(695)],s[e(736)][e(667)][e(501)])o=i[e(673)][e(586)][e(432)](s[e(736)][e(680)]);else{const t=i[e(494)][e(440)][e(505)](e(640)+s[e(736)].id);o=(0,K.getMarkerDomElement)(i[e(673)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(543)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(559)][t(538)][t(505)](ue);this[t(439)]=!!(r&&n&&s)&&(!e||(1===this[t(641)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=409]})(t,e)}function ve(){const t=["NUMBER_OF_CHANGES","6126ZAkbZJ","695CtlBmG","setTemplate","ck-revision-history-ui","1662DNBDgU","ck-revision-history-ui__changes-navigation__wrapper","bind","ck-revision-history-ui__changes-navigation__navigation","1727179oPQUPG","isNavigationMode","isBackwardNavigationEnabled","No changes","9836czduJG","10782128xDHaHU","Show previous change","X_OF_Y_CHANGES","4393746LcOVOC","Loading...","execute","Show next change","forward","fire","_statusText","Total","ck-hidden","ck-revision-history-ui__changes-navigation","3405580pmQiIT","bindTemplate","EDIT_X_OF_Y_REVISIONS","numberOfChanges","_isStatusLabelVisible","43110981NfbhIv","div","isForwardNavigationEnabled","currentChangeNumber","ck-revision-history-ui__changes-navigation__label","set","backward","isEnabled","isReady","span"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(888901===-parseInt(e(434))/1+-parseInt(e(410))/2+parseInt(e(430))/3*(parseInt(e(438))/4)+-parseInt(e(427))/5*(-parseInt(e(426))/6)+-parseInt(e(442))/7+-parseInt(e(439))/8+parseInt(e(415))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(411)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(420)](e(435),!1),this[e(420)](e(423),!1),this[e(420)](e(418),0),this[e(420)](e(413),0),this[e(420)](e(417),!1),this[e(420)](e(436),!1),this[e(432)](e(414)).to(this,e(423),this,e(413),(t,e)=>t&&e>0),this[e(432)](e(448)).to(this,e(423),this,e(418),this,e(413),this,e(435),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(443));if(!n)return at(t,o(437));const a=at(t,o(425),n);return r?at(t,o(441),[s+1,n]):a}),s[e(420)]({label:at(t,e(440)),tooltip:!0,icon:_t.IconChevronUp}),n[e(420)]({label:at(t,e(445)),tooltip:!0,icon:_t.IconChevronDown}),s[e(432)](e(422)).to(this,e(436)),n[e(432)](e(422)).to(this,e(417)),s.on(e(444),()=>this[e(447)](e(444),e(421))),n.on(e(444),()=>this[e(447)](e(444),e(446))),this[e(428)]({tag:e(416),attributes:{class:["ck",e(429),e(409)]},children:[{tag:e(424),attributes:{class:[e(431)]},children:[{tag:e(424),attributes:{class:[e(419),i.if(e(414),e(450),t=>!t)]},children:[{text:i.to(e(435),i=>i?at(t,e(412))+": ":at(t,e(449))+": ")}]},{text:i.to(e(448))}]},new It.ToolbarSeparatorView,{tag:e(416),attributes:{class:[e(433)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=Ie;!function(t){const e=Ie,i=t();for(;;)try{if(387038===-parseInt(e(349))/1*(parseInt(e(352))/2)+-parseInt(e(345))/3+parseInt(e(364))/4*(-parseInt(e(354))/5)+-parseInt(e(363))/6*(parseInt(e(343))/7)+parseInt(e(365))/8*(parseInt(e(348))/9)+parseInt(e(362))/10+-parseInt(e(360))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const we=be(347);function _e(){const t=["change","document","show","roots","addClass","2049894TBVAZO","removeClass","4858440CHNkkM","3594ojfFoa","312988gDZyJU","8eHhpgR","hide","pluginName","isPremiumPlugin","434cjMFIO","isOfficialPlugin","786012icbgfx","view","ck-editor__editable__loading-overlay","6625809UayESo","346zbuXxh","editing","editor","1568nBdDQd","RevisionViewerLoadingOverlay","5jspWqR"];return(_e=function(){return t})()}function Ie(t,e){const i=_e();return(Ie=function(t,e){return i[t-=343]})(t,e)}class Se extends G.Plugin{static get[be(367)](){return be(353)}static get[be(344)](){return!0}static get[be(368)](){return!0}[be(357)](){const t=be,e=this[t(351)][t(350)][t(346)];e[t(355)](i=>{const s=t;for(const t of e[s(356)][s(358)])i[s(359)](we,t)})}[be(366)](){const t=be,e=this[t(351)][t(350)][t(346)];e[t(355)](i=>{const s=t;for(const t of e[s(356)][s(358)])i[s(361)](we,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=249]})(t,e)}function xe(){const t=["isNavigationMode","isReady","Restore this revision","restoreRevision","change:isReady","get","828061vsMyZI","bind","isBackwardNavigationEnabled","commands","1205864FEAWPK","closeRevisionViewerCallback","showPreviousChange","requires","14cmSPhF","RevisionViewerUI","isPremiumPlugin","set","exitToEditing","currentChangeNumber","show","5RxqbGt","12BvfiTd","13974nXSlZC","changesNavigation","init","Back to editing","forward","editor","710xnFBpw","9783SSCOVH","isForwardNavigationEnabled","listenTo","ck-revision-history-ui__back-to-editing","862616ecPQwJ","plugins","componentFactory","pluginName","config","hide","88117TKvzeN","8RWhOlE","212358uHthYG","2JSYQSv","isEnabled","revisionHistory","showNextChange","numberOfChanges","isOfficialPlugin","execute","add"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(112508===parseInt(e(252))/1*(parseInt(e(255))/2)+parseInt(e(254))/3*(parseInt(e(253))/4)+parseInt(e(284))/5*(parseInt(e(286))/6)+parseInt(e(277))/7*(-parseInt(e(297))/8)+-parseInt(e(293))/9*(parseInt(e(292))/10)+parseInt(e(273))/11+-parseInt(e(285))/12*(-parseInt(e(269))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(249)](){return Oe(278)}static get[Oe(260)](){return!0}static get[Oe(279)](){return!0}static get[Oe(276)](){return[ue,Se]}[Oe(288)](){const t=Oe,e=this[t(291)],i=e[t(298)][t(268)](ue),s=e[t(298)][t(268)](Se);e.ui[t(299)][t(262)](t(281),i=>{const s=t,n=new It.ButtonView(i);return n[s(280)]({label:at(i,s(289)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(296)}),this[s(295)](n,s(261),()=>{const t=s;e[t(250)][t(268)](t(257))[t(274)]()}),n}),e.ui[t(299)][t(262)](t(266),i=>{const s=t,n=new It.ButtonView(i);return n[s(280)]({label:at(i,s(265)),withText:!0,tooltip:!0}),n[s(270)](s(256)).to(e[s(272)][s(268)](s(266))),this[s(295)](n,s(261),()=>e[s(261)](s(266))),n}),e.ui[t(299)][t(262)](t(287),s=>{const n=t,r=new ge(s),o=e[n(272)][n(268)](n(275)),a=e[n(272)][n(268)](n(258));return r[n(270)](n(271)).to(o,n(256)),r[n(270)](n(294)).to(a,n(256)),r[n(270)](n(264),n(282),n(259),n(263)).to(i),this[n(295)](r,n(261),(t,i)=>{const s=n;e[s(261)](s(290)===i?s(258):s(275))}),r}),s[t(283)](),i.on(t(267),(e,i,n)=>{const r=t;n?s[r(251)]():s[r(283)]()})}}var Re=i(815),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Dt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=De;function Ve(){const t=["4602aDmfhU","value","fieldView","1358710gNQsVS","_updateTooltipText","listenTo","3381030uprMxq","set","ck-tooltip_multi-line","element","bindTemplate","Revision name","446136jUOcQZ","destroy","Enter the revision name","clientWidth","extendTemplate","input","182vQEydX","1589msoKIi","398236XLiRnN","placeholder","4701XQvCdX","118545pSTikK","render","_resizeObserver","_tooltipString","ck-revision-history-sidebar__revision-name","scrollWidth","span"];return(Ve=function(){return t})()}function De(t,e){const i=Ve();return(De=function(t,e){return i[t-=147]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(172221===-parseInt(e(160))/1+-parseInt(e(155))/2*(parseInt(e(159))/3)+parseInt(e(157))/4+-parseInt(e(170))/5+parseInt(e(167))/6*(parseInt(e(156))/7)+parseInt(e(149))/8+parseInt(e(173))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends It.LabeledFieldView{[Me(162)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(147)];this[i(174)]({label:at(t,i(148)),_tooltipString:""}),this[i(169)][i(158)]=at(t,i(151)),this[i(153)]({tag:i(166),attributes:{class:[i(164)],"data-cke-tooltip-text":s.to(i(163)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(175)}})}[Me(161)](){const e=Me;super[e(161)](),this[e(162)]=new t.ResizeObserver(this[e(169)][e(176)],()=>this[e(171)]()),this[e(172)](this[e(169)],e(154),()=>this[e(171)]())}[Me(150)](){const t=Me;super[t(150)](),this[t(162)]&&this[t(162)][t(150)]()}[Me(171)](){const t=Me,e=this[t(169)][t(176)];this[t(163)]=e[t(165)]>e[t(152)]&&e[t(168)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=335]})(t,e)}function Le(){const t=["ck-revision-history-sidebar__revision-author_creator","setTemplate","602024xhgOZZ","ck-revision-history-sidebar__revision-author__name","7632457cwryVi","134085osdveR","push","ck-revision-history-sidebar__revision-author","15186000tYAbGd","Revision author","Revision creator","span","4489536YCHlET","set","167283sJYOoG","name","16tiCQrl","755161lrozAk","0 0 11 10"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(546039===parseInt(e(335))/1+-parseInt(e(353))/2*(parseInt(e(351))/3)+parseInt(e(339))/4+parseInt(e(342))/5+-parseInt(e(349))/6+-parseInt(e(341))/7+parseInt(e(345))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const s=je;super(t);const n=new It.IconView;n[s(350)]({content:_t.IconUser,viewBox:s(336)});const r=["ck",s(344)];i&&r[s(343)](s(337));const o=[{tag:s(348),attributes:{class:["ck",s(340)],title:at(t,s(i?347:346))},children:[n,e[s(352)]]}];this[s(338)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=346]})(t,e)}function Ue(){var t=["252911PDpJVR","toLocaleTimeString","91OuNrXH","990LFbauE","370DIFSMN","2501202vsPUSe","4608yNKzAH","13248TpHvtN","long","toLocaleDateString","2DHHwYq","4518FyxznU","1475aKFlSJ","numeric","13016WFtObj","70788lZVFcN"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(320207===-parseInt(e(348))/1+-parseInt(e(358))/2*(parseInt(e(359))/3)+-parseInt(e(354))/4*(parseInt(e(360))/5)+parseInt(e(353))/6+parseInt(e(350))/7*(parseInt(e(346))/8)+-parseInt(e(355))/9*(parseInt(e(352))/10)+parseInt(e(351))/11*(parseInt(e(347))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(505),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=Rt().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Dt();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(t,e){const i=$e();return(He=function(t,e){return i[t-=342]})(t,e)}function $e(){const t=["items","ck-on","buttonView","menu","children","menuitem","1773586Auysku","11890683XMOgnj","isActionsDropdownOpen","set","source","first","4245180wLYShX","Compare against selected","panelPosition","stopPropagation","name","class","find","listenTo","Name this revision","1403280hMhzXw","_action","1cOhicz","extendTemplate","change:isActionsDropdownOpen","3605130OiLoKh","action","ck-revision-history-sidebar__revision__actions","model","locale","isReady","Restore this revision","execute","button","4JIzBZv","isOpen","map","bind","isVisible","isEnabled","listView","387339LgOjhi","bindTemplate","Show more items","function","add","1711576mTOcVg"];return($e=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(869466===-parseInt(e(345))/1*(parseInt(e(376))/2)+-parseInt(e(364))/3*(-parseInt(e(357))/4)+-parseInt(e(348))/5+parseInt(e(382))/6+parseInt(e(377))/7+-parseInt(e(369))/8+parseInt(e(343))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Je;function Je(t,e){const i=Ke();return(Je=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(524931===parseInt(e(475))/1+-parseInt(e(503))/2*(parseInt(e(531))/3)+-parseInt(e(487))/4+parseInt(e(512))/5+-parseInt(e(525))/6*(parseInt(e(537))/7)+-parseInt(e(518))/8*(-parseInt(e(497))/9)+-parseInt(e(520))/10*(-parseInt(e(509))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ke);class Ge extends((0,K.ConfirmMixin)(It.View)){id;[Ye(502)];[Ye(522)];[Ye(499)];[Ye(514)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(532)],a=function(t,e){const i=r,s=Array[i(474)](e[i(534)])[i(478)](t=>t!=e[i(481)]);return e[i(481)]&&s[i(524)](e[i(481)]),s[i(511)](s=>new Pe(t,s,s==e[i(481)]))}(e,i);this.id=i.id,this[r(499)]=i,this[r(514)]=n,this[r(486)](r(500),r(519)).to(i),this[r(486)](r(501)).to(this,r(519),t=>{return i=e[r(494)],(s=t)[(n=ze)(357)](i,{month:n(356),day:n(361)})+", "+s[n(349)](i,{hour:n(361),minute:n(361)});var i,s,n}),this[r(492)](r(506),!1),this[r(492)](r(485),!1),this[r(492)](r(484),!1),this[r(492)](r(517),!1),this[r(492)](r(476),!1),this[r(502)]=new Ee(e,It.createLabeledInputText),this[r(502)][r(536)][r(495)]({attributes:{maxlength:r(516)}}),this[r(502)][r(536)][r(486)](r(488)).to(this,r(500),t=>t||this[r(501)]),this[r(502)][r(486)](r(476)).to(this,r(506),this,r(476),(t,e)=>t&&e),this[r(522)]=s&&s[r(507)]?function(e,i){const s=He,n=e[s(365)],r=e[s(352)],o=(0,It.createDropdown)(r);o[s(384)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(352)],n={"Compare against selected":at(s,i(383)),"Name this revision":at(s,i(342)),"Restore this revision":at(s,i(354))};return e[i(359)](t=>{const e=i,s=n[t[e(386)]];return s&&s!==t[e(386)]&&(t[e(386)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(356),model:new It.UIModel({label:t[n(386)],class:t[n(387)],withText:!0,role:n(375),_action:t[n(349)]})};i[n(351)][n(360)](n(362)).to(e,n(378),i=>n(367)!=typeof t[n(362)]||!i||t[n(362)](e)),o[n(368)](i)}return o}(e,i);return e[s(360)](s(378)).to(o,s(358)),o[s(372)][s(379)]({label:at(r,s(366)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(346)]({attributes:{class:[s(350),n.if(s(378),s(371))]},on:{click:n.to(t=>t[s(385)]())}}),o.on(s(355),t=>{const i=s;e[i(353)]&&i(367)==typeof t[i(380)][i(344)]&&t[i(380)][i(344)](e)}),(0,It.addListToDropdown)(o,a,{role:s(373)}),o[s(389)](e,s(347),(t,n,r)=>{const a=s;if(r)for(const t of o[a(363)][a(370)]){const s=t[a(374)][a(381)],n=i[a(388)](t=>t[a(349)]===s[a(344)])[a(361)];t[a(361)]=void 0===n||n(e)}}),o}(this,s):"",this[r(522)]&&this[r(522)][r(486)](r(476)).to(this),this[r(515)]({tag:r(538),attributes:{class:["ck",r(526),r(533),o.if(r(477),r(491))]},children:[{tag:r(538),attributes:{class:["ck",r(526),r(527),o.if(r(476),r(529),t=>!t),o.if(r(506),r(489)),o.if(r(485),r(482)),o.if(r(484),r(479))]},children:[this[r(502)],{tag:r(521),attributes:{class:["ck",r(505)]},children:[{text:o.to(r(501))}]},{tag:r(538),attributes:{class:["ck",r(523)]},children:[{tag:"ul",attributes:{class:["ck",r(513)]},children:a}]},this[r(522)]],on:{click:o.to(t=>{const e=r;t[e(504)][e(508)](e(535))||this[e(517)]&&this[e(476)]&&this[e(498)](e(530),{id:this.id})})}}]})}[Ye(528)](){const t=Ye;super[t(528)]();const e=this[t(502)][t(536)][t(493)];this[t(539)](e,t(480),()=>{const i=t;this[i(514)]&&!e[i(488)]||this[i(498)](i(496),{id:this.id,name:e[i(488)]}),e[i(488)]||(e[i(488)]=this[i(500)]?this[i(500)]:this[i(501)])})}[Ye(530)](){this[Ye(506)]=!0}[Ye(483)](){this[Ye(506)]=!1}[Ye(510)](){this[Ye(485)]=!0}[Ye(490)](){this[Ye(485)]=!1}}function Ke(){const t=["isSelected","length","closest","12894596WoKNKL","highlight","map","1909705zqqGSZ","ck-revision-history-sidebar__revision-authors","_requireRevisionName","setTemplate","220","isReady","96yDyomx","createdAt","10wTWuOx","span","revisionActionsView","ck-revision-history-sidebar__revision__controls-wrapper","unshift","5964wpNyuS","ck-reset","ck-revision-history-sidebar__revision","render","ck-disabled","select","453nMWVKG","bindTemplate","ck-revision-history-sidebar__revision-wrapper","authors",".ck-confirm-view","fieldView","1267UYxnUa","div","listenTo","from","139216APagIb","isEnabled","isConfirm","filter","ck-revision-history-sidebar__actions_dropdown_open","change","creator","ck-revision-history-sidebar__revision_highlighted","deselect","isActionsDropdownOpen","isHighlighted","bind","2412980HCfyqY","value","ck-revision-history-sidebar__revision_selected","unhighlight","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","set","element","uiLanguage","extendTemplate","setName","204453rtIYmz","fire","_revision","name","_createdAtFormatted","revisionNameView","8714BEdsxi","srcElement","ck-revision-history-sidebar__revision__date"];return(Ke=function(){return t})()}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},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={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 zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Ui=new Map;const Wi=new Map;let Zi=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=Ui.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Ui.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 Us(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&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.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":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Ui.clear(),Wi.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,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()||$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)||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+(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 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 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 Rs(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 As(t){const e=Es(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Es(t)&&t>=e&&t<=i}function Us(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $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(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}${Us(i,2)}:${Us(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Us(i,2)}${Us(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:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};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 Us(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]]=Ws(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rn=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),An=RegExp(`(?:T${Rn.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),Dn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Ws(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${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 Un(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zs(i)),months:d(Zs(s)),weeks:d(Zs(n)),days:d(Zs(r)),hours:d(Zs(o)),minutes:d(Zs(a)),seconds:d(Zs(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Ws(e)):Ws(e),month:an.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(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=Zn(e,n,s,i,r,o,a);let f;return f=c?Wn[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[Zn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,An),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Qn=In(/(\d{4})-?(\d{3})/,An),tr=In(Rn),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,[zn,Un])}(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+=$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)(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)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(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=Hs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $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+=Us(t.c.year,i?6:4),e?(s+="-",s+=Us(t.c.month),s+="-",s+=Us(t.c.day)):(s+=Us(t.c.month),s+=Us(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Us(t.c.hour);return e?(o+=":",o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Us(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Us(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Us(Math.trunc(-t.o/60)),o+=":",o+=Us(Math.trunc(-t.o%60))):(o+="+",o+=Us(Math.trunc(t.o/60)),o+=":",o+=Us(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(Wr(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=As(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:Wr(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(Wr(n))}static fromMillis(t,e={}){if(Ds(t))return t<-Ur||t>Ur?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(Wr(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rs(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=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):As(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(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}=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?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?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?[$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(Wr(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}=Rs(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=Ns({...xs(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 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 Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}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(){const t=["monthLong","day","startOf","setLocale","week","toRelativeCalendar","toJSDate","9168480UTGOqo","12csMqZI","minus","142184JtZiYK","local","522vlutEZ","677589heMQZt","hasSame","1435cBoRak","weekdayLong","fromJSDate","30576vbMRpC","910784eCHrAr","5693840eTBFrq","64488zRYacI","4yfrOST","month","46HmEsjb","year"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=352]})(t,e)}function go(t,e){const i=vo,s=fo[i(354)](t)[i(366)](e),n=fo[i(374)](),r=n[i(372)]({days:1})[i(365)](i(364));let o,a;return s[i(377)](n,i(364))?(o=s[i(365)](i(364))[i(369)](),a=s[i(368)]()):s[i(377)](r,i(364))?(o=r[i(369)](),a=s[i(368)]()):s[i(377)](n,i(367))?(o=s[i(365)](i(367))[i(369)](),a=s[i(353)]||""):s[i(377)](n,i(362))?(o=s[i(365)](i(360))[i(369)](),a=s[i(363)]||""):(o=s[i(365)](i(362))[i(369)](),a=String(s[i(362)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(602671===-parseInt(e(356))/1+parseInt(e(361))/2*(-parseInt(e(358))/3)+parseInt(e(359))/4*(parseInt(e(357))/5)+parseInt(e(355))/6*(parseInt(e(352))/7)+parseInt(e(373))/8*(-parseInt(e(375))/9)+parseInt(e(370))/10+parseInt(e(376))/11*(-parseInt(e(371))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["1253CifWCl","43110jwuLVI","revisionViews","div","2ZcbhdZ","_revisionActions","removeRevision","uiLanguage","delegate","ck-revision-history-sidebar__time-period","add","14622krLuCa","setTemplate","136399TmFhnd","createCollection","startDate","_requireRevisionName","span","select","34575CBHfNh","21396518hVKJUI","setName","640IuooOq","ck-revision-history-sidebar__time-period__revisions","268vZGwZx","find","locale","5616310YRvXJS","911478pevYaJ","remove","addRevision","ck-revision-history-sidebar__time-period__label","localizedPeriodName"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=314]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(339446===-parseInt(e(334))/1*(-parseInt(e(325))/2)+parseInt(e(316))/3+-parseInt(e(345))/4*(-parseInt(e(340))/5)+parseInt(e(332))/6*(parseInt(e(321))/7)+parseInt(e(343))/8*(parseInt(e(322))/9)+parseInt(e(315))/10+-parseInt(e(341))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(336)];[bo(323)];[bo(326)];[bo(337)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(314)][n(328)])[n(320)];this[n(336)]=e,this[n(323)]=this[n(335)](),this[n(326)]=i,this[n(337)]=s,this[n(323)][n(329)](n(339)).to(this),this[n(323)][n(329)](n(342)).to(this),this[n(333)]({tag:n(324),attributes:{class:["ck",n(330)]},children:[{tag:n(338),attributes:{class:["ck",n(319)]},children:[{text:r}]},{tag:n(324),attributes:{class:["ck",n(344)]},children:this[n(323)]}]})}[bo(318)](t){const e=bo,i=new Ge(this[e(314)],t,this[e(326)],this[e(337)]);this[e(323)][e(331)](i)}[bo(327)](t){const e=bo,i=this[e(323)][e(346)](e=>e.id===t.id);this[e(323)][e(317)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().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-=449]})(t,e)}function xo(){const t=["ck-revision-history-sidebar__header","412600tKfxPI","div","932205ukGdjk","Revision history","span","636955uqpmkZ","6056742Bqwkpa","8LJjtsA","3218080dZdSYh","3140oSejfy","ck-revision-history-sidebar__header__label","ck-reset_all","content","7TwFFXs","3871505YSOjOF","setTemplate","24642aYOSqC"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(836021===parseInt(e(460))/1+-parseInt(e(455))/2+parseInt(e(457))/3*(-parseInt(e(462))/4)+parseInt(e(451))/5+-parseInt(e(461))/6*(parseInt(e(450))/7)+parseInt(e(463))/8+parseInt(e(453))/9*(parseInt(e(464))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(449)]=_t.IconHistory,this[e(452)]({tag:e(456),attributes:{class:["ck",e(466),e(454)]},children:[i,{tag:e(459),attributes:{class:["ck",e(465)]},children:[at(t,e(458))]}]})}}var Ro=i(692),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Dt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;function Mo(){const t=["_revisionActions","bindTemplate","33HXHRaa","revisionViews","highlightRevisions","delegate","some","revisionSelected","set","remove","2712231LojiiB","selectRevision","revisionSetName","startDate","setName","ck-rounded-corners","81fSncUt","ck-revision-history-sidebar__timeline","_requireRevisionName","getTime","1152650xXlMwB","locale","_revisions","map","find","4rbIHLx","uiLanguage","55TJYTxP","deselect","ck-reset","189492zrnKfU","div","setTemplate","removeRevision","_getTimePeriodViewByStartDate","ck-disabled","ck-revision-history-sidebar","fire","render","_addRevision","flat","663324bfLQHy","select","createCollection","804913oYjKZv","timePeriodViews","787808qYTKEZ","createdAt","306BbFutu","175966KgVoHp","unhighlight","_removeRevision","isEnabled","add","get","highlight","addRevision"];return(Mo=function(){return t})()}const Vo=Do;function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(828264===-parseInt(e(166))/1*(parseInt(e(147))/2)+parseInt(e(132))/3+-parseInt(e(152))/4*(parseInt(e(149))/5)+parseInt(e(113))/6*(parseInt(e(114))/7)+-parseInt(e(111))/8+parseInt(e(138))/9*(parseInt(e(142))/10)+parseInt(e(124))/11*(-parseInt(e(163))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends It.View{[Vo(110)];[Vo(144)];[Vo(122)];[Vo(140)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(123)];this[n(110)]=this[n(165)](),this[n(110)][n(127)](n(164)).to(this),this[n(110)][n(127)](n(136)).to(this),this[n(144)]=e,this[n(122)]=i,this[n(140)]=s,this.on(n(164),(t,e)=>{const i=n;this[i(159)](i(129),e)}),this.on(n(136),(t,e)=>{const i=n;this[i(159)](i(134),e)}),this[n(130)](n(117),!1),this[n(154)]({tag:n(153),attributes:{class:["ck",n(151),n(137),n(158)]},children:[new No(t),{tag:n(153),attributes:{class:["ck",n(139),r.if(n(117),n(157),t=>!t)]},children:this[n(110)]}]})}[Vo(160)](){const t=Vo;super[t(160)]();for(const e of this[t(144)])this[t(161)](e);this[t(144)].on(t(118),(e,i)=>{this[t(161)](i)}),this[t(144)].on(t(131),(e,i)=>{this[t(116)](i)})}get[Vo(125)](){const t=Vo;return this[t(110)][t(145)](e=>e[t(125)][t(145)](t=>t))[t(162)]()}[Vo(133)](t){const e=Vo;for(const i of this[e(125)])t&&t.id===i.id?i[e(164)]():i[e(150)]()}[Vo(126)](t){const e=Vo;for(const i of this[e(125)])t[e(128)](({id:t})=>t===i.id)?i[e(120)]():i[e(115)]()}[Vo(161)](t){const e=Vo,i=go(t[e(112)],this[e(143)][e(148)])[e(135)];let s=this[e(110)][e(119)](0);s&&s[e(135)][e(141)]()===i[e(141)]()||(s=new Io(this[e(143)],i,this[e(122)],this[e(140)]),this[e(110)][e(118)](s)),s[e(121)](t)}[Vo(116)](t){const e=Vo,i=go(t[e(112)],this[e(143)][e(148)])[e(135)];this[e(156)](i)[e(155)](t)}[Vo(156)](t){const e=Vo;return this[e(110)][e(146)](i=>i[e(135)][e(141)]()===t[e(141)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=392]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(162524===parseInt(e(469))/1+-parseInt(e(421))/2+parseInt(e(470))/3*(parseInt(e(437))/4)+-parseInt(e(403))/5*(-parseInt(e(451))/6)+parseInt(e(392))/7+parseInt(e(448))/8*(-parseInt(e(393))/9)+-parseInt(e(466))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Co(468)];[Co(461)];[Co(445)];static[Co(438)]=[Co(408),Co(419),Co(397)];static[Co(398)]=function(){const t=Co;return{compareAgainstSelected:{name:t(417),action:({plugins:e},i)=>{const s=t,n=e[s(414)](ue),r=n[s(457)];let o=n[s(413)][s(435)],a=i.id;r[s(415)](o)>r[s(415)](a)&&([o,a]=[a,o]),n[s(441)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(414)](ue);return!(n[s(457)][s(409)](n[s(413)])[s(434)]>2||i[s(424)])}},restoreRevision:{name:t(430),action:(e,{id:i})=>{const s=t;e[s(396)][s(414)](s(407))[s(444)](i)},isVisible:({plugins:e},i)=>!!e[t(414)](ue)[t(457)][t(411)](i.id)},nameRevision:{name:t(420),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(414)](ue),o=r[n(457)][n(427)](i);r[n(441)](i,o),s[n(467)](),s[n(423)][n(400)]()}}}}();static get[Co(416)](){return Co(440)}static get[Co(463)](){return!0}static get[Co(425)](){return!0}static get[Co(473)](){return[ue]}constructor(t){const e=Co;super(t),this[e(468)]=t[e(442)][e(414)](ue),this[e(461)]=this[e(468)][e(457)],this[e(445)]=null}[Co(426)](){const t=Co,e=this[t(461)][t(432)],i=this[t(436)](),s=this[t(471)][t(396)][t(414)](t(431));this[t(445)]=new Eo(this[t(471)][t(439)],e,i,this[t(471)][t(396)][t(414)](t(455))),this[t(445)].on(t(402),this[t(450)][t(429)](this)),this[t(445)].on(t(433),this[t(462)][t(429)](this)),this[t(445)][t(429)](t(406)).to(this[t(468)]),this[t(445)][t(395)].on(t(452),(e,i)=>{const s=t;i[s(456)].on(s(452),(t,e)=>{const i=s;e[i(429)](i(406),i(447)).to(this[i(468)])})}),this[t(445)][t(472)](),this[t(412)](this[t(471)][t(458)],t(404),this[t(394)][t(429)](this)),this[t(412)](this[t(468)],t(460),this[t(428)][t(429)](this)),s[t(401)](this[t(445)][t(418)])}[Co(405)](){const t=Co;this[t(445)][t(418)][t(443)](),this[t(445)][t(405)]()}[Co(394)](){const t=Co,e=this[t(461)][t(465)](0);if(e){const i=this[t(461)][t(427)](e.id);this[t(468)][t(441)](e,i)}}[Co(450)](t,e){const i=Co,s=this[i(461)][i(465)](e.id),n=this[i(461)][i(427)](s.id);this[i(468)][i(441)](s,n)}[Co(462)](t,e){const i=Co;this[i(461)][i(465)](e.id)[i(410)](e[i(446)])}[Co(428)](t,e,i){const s=Co,n=this[s(461)][s(409)](i);n[s(434)]>2?(this[s(445)][s(399)](n),this[s(445)][s(459)](null)):(this[s(445)][s(399)]([]),this[s(445)][s(459)](n[0]))}[Co(436)](){const t=Co,e=this[t(471)],i=jo[t(398)],s=e[t(396)][t(414)](t(453))||jo[t(438)];if(s[t(434)])return s[t(474)](s=>{const n=t,r=n(422)==typeof s?Object[n(464)]({},i[s]):s;return r[n(449)]=r[n(449)][n(429)](this,e),r[n(454)]&&(r[n(454)]=r[n(454)][n(429)](this,e)),r})}}function Lo(){const t=["timePeriodViews","config","nameRevision","availableRevisionActions","highlightRevisions","select","appendChild","revisionSelected","5KbrPbC","ready","destroy","isEnabled","revisionHistory","compareAgainstSelected","getRevisionsInDiff","setName","getLaterVisibleRevision","listenTo","diff","get","getIndex","pluginName","Compare against selected","element","restoreRevision","Name this revision","427514sbpqWQ","string","fieldView","isSelected","isPremiumPlugin","init","getEarlierVisibleRevision","_handleDiffChange","bind","Restore this revision","revisionHistory.viewerSidebarContainer","_revisions","revisionSetName","length","newRevisionId","_createRevisionActions","1214512pvpdSY","defaultRevisionActions","locale","RevisionsSidebar","compare","plugins","remove","restoreRevisionCallback","_sidebarView","name","isReady","536XZrUdk","action","_handleRevisionSelected","582438Ozfpey","add","revisionHistory.revisionActions","isVisible","revisionHistory.requireRevisionName","revisionViews","repository","data","selectRevision","change:diff","_revisionsRepository","_handleRevisionSetName","isOfficialPlugin","assign","getRevision","1757020rMRIYV","focus","_revisionViewer","124987cTnluc","3KOqPGs","editor","render","requires","map","809242smyNPn","11997RmOjQo","_handleEditorDataReady"];return(Lo=function(){return t})()}function Po(){const t=["_initToolbar","name","fillFromConfig","editable","render","view","620796lujnSq","_view","init","restore","_elementReplacer","isFocused","componentFactory","7179024CCIKoL","replace","2211rzjwgK","document","2115546mMFlWG","detachDomRoot","config","25767WImxeq","destroy","7NLvHVG","ready","viewportOffset","bind","isActive","limiterElement","2210ZlcQMH","attachDomRoot","649WurtRX","449642TLMKdH","stickyPanel","setEditableElement","get","editing","addToolbar","rootName","viewportTopOffset","3270424EceQvt","334HMZqSJ","element","focusTracker","editor","fire","5hcqzxT","toolbar","getRoot","_toolbarConfig"];return(Po=function(){return t})()}function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=124]})(t,e)}const Uo=zo;!function(t){const e=zo,i=t();for(;;)try{if(484410===-parseInt(e(148))/1+-parseInt(e(157))/2*(parseInt(e(132))/3)+-parseInt(e(156))/4+-parseInt(e(162))/5*(-parseInt(e(134))/6)+parseInt(e(139))/7*(-parseInt(e(130))/8)+parseInt(e(137))/9*(-parseInt(e(145))/10)+-parseInt(e(147))/11*(-parseInt(e(172))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Wo extends It.EditorUI{[Uo(124)];[Uo(165)];[Uo(127)];get[Uo(171)](){return this[Uo(124)]}constructor(e,i){const s=Uo;super(e),this[s(124)]=i,this[s(165)]=(0,It.normalizeToolbarConfig)(e[s(136)][s(151)](s(163))),this[s(127)]=new t.ElementReplacer}get[Uo(158)](){const t=Uo;return this[t(171)][t(158)]}[Uo(125)](t){const e=Uo,i=this[e(160)],s=this[e(171)],n=i[e(152)][e(171)],r=s[e(169)],o=n[e(133)][e(164)]();r[e(167)]=o[e(154)],s[e(170)]();const a=r[e(158)];this[e(150)](r[e(167)],a),s[e(169)][e(142)](e(128)).to(this[e(159)]),n[e(146)](a),this[e(127)][e(131)](t,this[e(158)]),this[e(166)](),this[e(161)](e(140))}[Uo(138)](){const t=Uo;super[t(138)]();const e=this[t(171)],i=this[t(160)][t(152)][t(171)];this[t(127)][t(126)](),i[t(135)](e[t(169)][t(167)]),e[t(138)]()}[Uo(166)](){const t=Uo,e=this[t(171)];e[t(149)][t(142)](t(143)).to(this[t(159)],t(128)),e[t(149)][t(144)]=e[t(158)],e[t(149)][t(142)](t(155)).to(this,t(141),({top:t})=>t),e[t(163)][t(168)](this[t(165)],this[t(129)]),this[t(153)](e[t(163)])}}var Zo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Dt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var $o=Bo;function qo(){var t=["1090228OaFoQc","_editable","add","render","35820nmGZkF","editable","top","533CcOWpL","2976QUDyMi","34738SbrLHN","shouldToolbarGroupWhenFull","main","661696JjtjXn","toolbar","1305rZxilO","25644Pvgcie","stickyPanel","9628032iKngnn","content","2439hyccBr","319768AWdquQ","9OXBgls","7qcJhLi","4SNeyqZ"];return(qo=function(){return t})()}function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=352]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(677893===parseInt(e(362))/1*(-parseInt(e(365))/2)+-parseInt(e(363))/3*(parseInt(e(366))/4)+parseInt(e(356))/5*(parseInt(e(357))/6)+parseInt(e(364))/7*(parseInt(e(359))/8)+parseInt(e(361))/9*(parseInt(e(370))/10)+-parseInt(e(375))/11*(-parseInt(e(374))/12)+parseInt(e(373))/13*(-parseInt(e(354))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(367)];[$o(358)];[$o(355)];get[$o(371)](){return this[$o(367)]}constructor(t,e,i={}){var s=$o;super(t),this[s(358)]=new It.StickyPanelView(t),this[s(355)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(352)]}),this[s(367)]=new It.InlineEditableUIView(t,e)}[$o(369)](){var t=$o;super[t(369)](),this[t(358)][t(360)][t(368)](this[t(355)]),this[t(372)][t(368)](this[t(358)]),this[t(353)][t(368)](this[t(371)])}}const Jo=Go;function Go(t,e){const i=Xo();return(Go=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(566862===-parseInt(e(481))/1*(parseInt(e(498))/2)+parseInt(e(472))/3+-parseInt(e(489))/4*(parseInt(e(486))/5)+-parseInt(e(487))/6+-parseInt(e(479))/7*(parseInt(e(494))/8)+parseInt(e(491))/9*(-parseInt(e(469))/10)+parseInt(e(477))/11*(parseInt(e(493))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(497)];get ui(){return this[Jo(497)]}constructor(t,e){const i=Jo;super(e),this[i(483)]=t,this[i(471)][i(490)][i(478)]();const s=new Yo(this[i(476)],this[i(470)][i(475)],{shouldToolbarGroupWhenFull:!0});this[i(497)]=new Wo(this,s)}[Jo(488)](){const t=Jo;return this[t(468)](),this.ui[t(488)](),super[t(488)]()}static async[Jo(473)](t,e){const i=Jo,s=new this(t,e);return await s[i(495)](),await s.ui[i(474)](t),await s[i(485)][i(474)](s[i(480)][i(482)](i(484))||""),s[i(492)](i(496)),s}}function Xo(){const t=["88cYSzoz","initPlugins","ready","_ui","102730NrKODW","updateSourceElement","10yljRBE","editing","model","41430dVsxlB","create","init","view","locale","1573286kMErde","createRoot","226667sHCKgh","config","20aFTnML","get","sourceElement","initialData","data","174310DBMCTB","1464480hGtIEx","destroy","16bzeVVO","document","1002339sdvSca","fire","204xUhNKB"];return(Xo=function(){return t})()}const Qo=ea;function ta(){const t=["toLocaleDateString","_closeRevisionViewer","createdAt","getMarkersGroup","_showRevisionViewer","requires","Users","createRangeIn","panelViews","revisionHistory.restoreRevisionCallback","getRevision","revisionHistory","PaginationLookup","config","style","toLocaleTimeString","isOfficialPlugin","_enhanceCloseRevisionViewerCallback","352922LdRyXj","change","lazyRoots","display","RevisionHistory","_cleanUp","getRevisionDocumentData","getAttributeKeys","translations","set","Autosave","AIBalloon","RevisionViewer","indexOf","closeRevisionViewerCallback","refreshVisibility","revisionHistory.closeRevisionViewerCallback","DocumentOutline","$graveyard","tabindex","_enhanceShowRevisionViewerCallback","AIChatHistory","toVersion","parse","keys","editor","fromVersion","revisionHistory.showRevisionViewerCallback","addRoot","data","isRevisionViewerOpen","block","AIChat","push","init","Annotations","ck-tab-panel_disabled","AIReviewMode","restrictedEditingException","RevisionHistoryUtils","setAttribute","RevisionTracker","17764SpKkkC"," ck-tab-panel_disabled","isOpen","changesNavigation","RevisionViewerIntegration","has","insert","element","create","isPremiumPlugin","selection","revisionHistory.editorContainer","revisionHistory.viewerContainer","178655ygtCfB","roots","detachRoot","restoreRevision","118824eKoAee","removeAttribute","Dialog","fromCharCode","long","numeric","end","catch","addRevisionData","disableReadOnlyMode","isAnonymous","replace","RestrictedEditingMode","define",".ck-ai-chat-history .ck-input","2068915jjXzHr","pluginName","adapter","getRoot","destroy","class","revisionHistory.requireRevisionName","2924453CosURl","uiLanguage","users","isAttached","isReady","_restoreRevision","AIQuickActions","map","RevisionsRepository","querySelector","commands","getRevisionRootsAttributes","creator",".ck-ai-chat__prompt-input .ck-textarea","getUser","removeMarker","isEnabled","enableReadOnlyMode","name","exitToEditing","addUser","enqueueChange","bind","toJSON","hide","refreshPositioning","RevisionHistoryUI","AITabs","get","locale","showRevisionViewerCallback","141nbvDEn","model","error","join","isReadOnly","5892424lsxsZi","setSelection","remove","markers","saveRevision","removeSelectionAttribute","DocumentOutlineUI","_viewerEditor","_update","revision-history-missing-configuration","loadRevisionData","AIActions","_getRevisionViewerEditorConfig","result","update","rootName","save","toolbar","getRevisions","repository","view","_recalculatePageBreaks","none","plugins","document","revisionHistory.viewerEditorElement","then","includes","Restored","from","revision-history-viewer-opened"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(221594===parseInt(e(486))/1+parseInt(e(431))/2+parseInt(e(377))/3*(-parseInt(e(473))/4)+parseInt(e(505))/5+-parseInt(e(490))/6+parseInt(e(512))/7+-parseInt(e(382))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Qo(372),Qo(502),Qo(463),Qo(468),Qo(442),Qo(352),Qo(393)];class sa extends G.Plugin{[Qo(395)];static get[Qo(506)](){return Qo(477)}static get[Qo(429)](){return!0}static get[Qo(482)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(353)](t=>String[e(493)](t))[e(380)]("")}super(t),this[e(395)]=e(496),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(389)];static get[Qo(506)](){return Qo(435)}static get[Qo(429)](){return!0}static get[Qo(482)](){return!0}static get[Qo(418)](){return[vt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(456)][i(426)][i(374)](i(424)))throw new t.CKEditorError(i(391),this);this[i(389)]=null,this[i(440)](i(461),!1),this[i(456)][i(426)][i(503)](i(458),t=>this[i(417)]({...t,translations:this[i(456)][i(375)][i(439)]})),this[i(456)][i(426)][i(503)](i(447),t=>this[i(414)](t)),this[i(456)][i(426)][i(503)](i(422),t=>this[i(351)](t)),this[i(456)][i(426)][i(503)](i(511),!1),this[i(451)](),this[i(430)]()}set[Qo(507)](t){const e=Qo;this[e(456)][e(405)][e(374)](e(472))[e(507)]=t}get[Qo(507)](){const t=Qo;return this[t(456)][t(405)][t(374)](t(472))[t(507)]}[Qo(498)](t){const e=Qo;return this[e(456)][e(405)][e(374)](e(472))[e(498)](t)}[Qo(423)](t){const e=Qo;return this[e(456)][e(405)][e(374)](e(354))[e(423)](t)}[Qo(400)](t){const e=Qo;return this[e(456)][e(405)][e(374)](e(354))[e(400)](t||{toJSON:!1})}[Qo(394)](){const e=Qo,i=this[e(456)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(405)][e(374)](e(472)),r=i[e(405)][e(374)](e(419))[e(514)];return s[e(399)]=[e(365),e(489),e(476)],delete s[e(433)],s[e(405)][e(464)](sa,ue,Ne,class extends G.Plugin{static get[e(418)](){return[ue,e(419)]}[e(465)](){const s=e,o=this[s(456)][s(405)][s(374)](s(419));for(const t of r)t[s(500)]||o[s(360)](t.id)||o[s(366)](t);const a=n[s(401)][s(400)]();let c=null;const u=this[s(456)][s(405)][s(374)](s(443));u[s(507)]=n[s(507)],u[s(368)](s(362)).to(n),this[s(456)][s(356)][s(374)](s(489))[s(368)](s(362)).to(i,s(381),t=>!t);for(const e of a){const i=null===e[s(358)];if(i&&e[s(453)]===e[s(457)])continue;const r=e[s(369)]();u[s(498)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(390)](r,o);else if(!o){const e=a[u(369)]();e.id=(0,t.uid)(),n[u(386)](e,a[u(453)])[u(408)](t=>{c=t})}}else e[u(390)](r,o)})}}},jo),s}[Qo(451)](){const t=Qo,e=this[t(456)][t(426)][t(374)](t(424))[t(376)];this[t(456)][t(426)][t(440)](t(458),async()=>{const i=t;this[i(456)][i(363)](i(412));const s=this[i(456)][i(405)][i(374)](i(472));if(this[i(456)][i(405)][i(478)](i(441))){const t=this[i(456)][i(405)][i(374)](i(441));await t[i(398)]()}else await s[i(396)]();if(this[i(456)][i(405)][i(478)](i(425))&&this[i(456)][i(405)][i(374)](i(425))[i(403)](),this[i(456)][i(405)][i(478)](i(492))){const t=this[i(456)][i(405)][i(374)](i(492));t[i(475)]&&t[i(370)]()}if(this[i(456)][i(405)][i(478)](i(373))){const t=this[i(456)][i(405)][i(374)](i(373))[i(402)][i(421)];for(const e of t)e[i(510)]=e[i(510)]?e[i(510)]+i(474):i(467);if(this[i(456)][i(405)][i(478)](i(463))){const t=document[i(355)](i(359));t&&t[i(471)](i(450),"-1")}if(this[i(456)][i(405)][i(478)](i(452))){const t=document[i(355)](i(504));t&&t[i(471)](i(450),"-1")}}const n=this[i(394)]();return e(n)[i(408)](t=>{const e=i;return this[e(389)]=t,this[e(456)][e(405)][e(478)](e(466))&&this[e(456)][e(405)][e(374)](e(466))[e(446)](),this[e(456)][e(405)][e(478)](e(448))&&(this[e(456)][e(405)][e(374)](e(388))[e(402)][e(480)][e(427)][e(434)]=e(404)),t})[i(497)](t=>(console[i(379)](t),this[i(456)][i(499)](i(412)),null))})}[Qo(430)](){const t=Qo,e=this[t(456)][t(426)][t(374)](t(424))[t(445)];this[t(456)][t(426)][t(440)](t(447),()=>{const i=t;if(this[i(456)][i(405)][i(478)](i(425))&&this[i(456)][i(405)][i(374)](i(425))[i(403)](),this[i(456)][i(405)][i(478)](i(448))&&(this[i(456)][i(405)][i(374)](i(388))[i(402)][i(480)][i(427)][i(434)]=""),this[i(456)][i(405)][i(478)](i(373))){const t=this[i(456)][i(405)][i(374)](i(373))[i(402)][i(421)];for(const e of t)e[i(510)]=i(467)===e[i(510)]?"":e[i(510)][i(501)](i(474),"");if(this[i(456)][i(405)][i(478)](i(463))){const t=document[i(355)](i(359));t&&t[i(491)](i(450))}if(this[i(456)][i(405)][i(478)](i(452))){const t=document[i(355)](i(504));t&&t[i(491)](i(450))}}return this[i(389)][i(405)][i(374)](i(443))[i(436)](),e(this[i(389)])[i(408)](()=>{const t=i;if(this[t(456)][t(499)](t(412)),this[t(389)]=null,this[t(456)][t(405)][t(478)](t(466))){const e=this[t(456)][t(405)][t(374)](t(466));e[t(446)](),e[t(371)]()}})})}[Qo(417)](t){const e=Qo,i=this[e(456)][e(426)][e(374)](e(484)),s=this[e(456)][e(426)][e(374)](e(485)),n=this[e(456)][e(426)][e(374)](e(407));return Ko[e(481)](n,t)[e(408)](t=>(s[e(427)][e(434)]=e(462),i[e(427)][e(434)]=e(404),this[e(461)]=!0,t))}[Qo(414)](t){const e=Qo,i=this[e(456)][e(426)][e(374)](e(484));return this[e(456)][e(426)][e(374)](e(485))[e(427)][e(434)]=e(404),i[e(427)][e(434)]="",this[e(461)]=!1,t[e(509)]()}async[Qo(351)](t){const e=Qo,i=this[e(456)],s=this[e(389)][e(405)][e(374)](e(443)),n=i[e(405)][e(374)](e(472)),r=i[e(405)][e(374)](e(470)),o=s[e(401)][e(423)](t);let a,c,u;try{await r[e(392)](o,this[e(507)]),a=r[e(437)](o),c=r[e(357)](o)}catch(t){return void console[e(379)](t)}i[e(378)][e(432)](t=>{const s=e;for(const e of Array[s(411)](i[s(378)][s(385)][s(416)](s(469))))t[s(361)](e)}),s[e(350)]=!1,i[e(378)][e(367)](t=>{const s=e;t[s(383)](null),t[s(387)](i[s(378)][s(406)][s(483)][s(438)]());const n=Object[s(455)](a);for(const e of i[s(378)][s(406)][s(487)])s(449)!=e[s(397)]&&e[s(515)]()&&!n[s(409)](e[s(397)])&&t[s(488)](e);for(const e of n){let n=i[s(378)][s(406)][s(508)](e);n&&n[s(515)]()||(n=t[s(459)](e));const r=c[e],o=Object[s(455)](r),u=a[e];for(const e of n[s(438)]())o[s(409)](e)||t[s(491)](e,n);for(const i of o)t[s(471)](i,c[e][i],n);t[s(384)](t[s(420)](n)),t[s(479)](i[s(460)][s(454)](u,n),n,0)}});const l=at(i[e(375)],e(410));return u=o[e(364)]?-1==o[e(364)][e(444)](l)?l+": "+o[e(364)]:o[e(364)]:l+": "+o[e(415)][e(413)](i[e(375)][e(513)],{month:e(494),day:e(495)})+", "+o[e(415)][e(428)](i[e(375)][e(513)],{hour:e(495),minute:e(495)}),await n[e(386)]({name:u}),s[e(350)]=!0,i[e(426)][e(374)](e(424))[e(445)]()}}function ra(){var t=["7953386PAjKfQ","1260JKiDsL","1283324HmKUOL","7195152mlmojk","795978DIsdPt","2285736iVZxFs","5781056QatLvl","8750RWGuUK"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=370]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(603292===parseInt(e(370))/1+-parseInt(e(376))/2+-parseInt(e(371))/3+-parseInt(e(375))/4*(-parseInt(e(373))/5)+-parseInt(e(377))/6+parseInt(e(374))/7+parseInt(e(372))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|