@ckeditor/ckeditor5-revision-history 47.3.0-alpha.2 → 47.3.0-alpha.3
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:()=>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})();
|
|
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:()=>Bt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function 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,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case 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,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(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 R(t){return A(t)}function M(t){return"__proto__"===t}function D(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&D(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)\]/,P=/^\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&&(P.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=j(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}V(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=j(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function B(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 $=q;function q(t,e){const i=Y();return(q=function(t,e){return i[t-=168]})(t,e)}function Y(){const t=["3709288ZcHqkr","27401064KFORKn","9464427KnrzFy","fromVersion","set","setAttribute","creatorId","toVersion","toJSON","setName","authors","model","68256pAzCMe","_update","authorsIds","attributes","diffData","640ELRHbA","fire","createdAt","2198224PeTfQV","name","creator","removeAttribute","1306130NVPYoO","map","1884006iaGkbh"];return(Y=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(824638===-parseInt(e(184))/1+-parseInt(e(180))/2+parseInt(e(186))/3+-parseInt(e(187))/4+parseInt(e(177))/5*(parseInt(e(172))/6)+-parseInt(e(189))/7+parseInt(e(188))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(182)];[$(170)];[$(176)];[$(194)];[$(190)];[$(171)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(182)]=e[i(182)]||null,this[i(170)]=e[i(170)]||[],this[i(176)]=e[i(176)]||null,this[i(194)]=e[i(194)]||0,this[i(190)]=e[i(190)]||0,this[i(191)](i(181),e[i(181)]||""),this[i(191)](i(179),e[i(179)]||new Date),this[i(191)](i(175),e[i(175)]||{})}[$(169)](t){this[$(173)]({name:t})}[$(192)](t,e){const i=$,s=R(this[i(175)]);U(s,t,e),this[i(173)]({attributes:s})}[$(183)](t){const e=$,i=R(this[e(175)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return B(t,e);if("number"==typeof e?e=j(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return B(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(173)]({attributes:i})}[$(173)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(181),i(179),i(176),i(170),i(175),i(194),i(190),i(193)];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(170)]&&(n[i(174)]=n[i(170)][i(185)](t=>t.id),delete n[i(170)]),this[i(178)](i(173),n,e))}[$(168)](){const t=$;return{id:this.id,name:this[t(181)],creatorId:this[t(182)]?this[t(182)].id:null,authorsIds:this[t(170)][t(185)](t=>t.id),diffData:this[t(176)],createdAt:this[t(179)],attributes:this[t(175)],fromVersion:this[t(190)],toVersion:this[t(194)]}}}var G=i(782),X=i(211),K=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=357]})(t,e)}function et(){const t=["getEarlierVisibleRevision","pluginName","fromVersion","getRevisions","5330264FqWIHC","getUser","getIndex","680gdgBct","fromCharCode","editor","2UKdBmj","plugins","later","_revisions","newRevisionId","from","getRevisionsInDiff","map","createdAt","diffData","96JmaAqw","1392181wkmYYh","length","addRevision","getLaterVisibleRevision","afterInit","isPremiumPlugin","oldRevisionId","2695JBGRXR","attributes","add","createRevision","authorsIds","getRevision","257390sgDNjt","creatorId","toVersion","isNaN","8784226TPwhbE","Users","earlier","getRevisionsIterator","push","join","href","3016719AAUplC","76140daJNcB","name","get","requires","isOfficialPlugin","reverse","960iTxASy","data","RevisionsRepository","toJSON"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(747925===-parseInt(e(391))/1+parseInt(e(380))/2*(parseInt(e(359))/3)+-parseInt(e(374))/4+-parseInt(e(404))/5*(-parseInt(e(390))/6)+-parseInt(e(398))/7*(-parseInt(e(377))/8)+parseInt(e(360))/9*(parseInt(e(366))/10)+parseInt(e(408))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(383)];static get[Q(363)](){return[X.Users]}static get[Q(371)](){return Q(368)}static get[Q(364)](){return!0}static get[Q(396)](){return!0}get[Q(392)](){const t=Q;return this[t(383)][t(392)]}constructor(e){const i=Q;super(e),this[i(383)]=new t.Collection}[Q(395)](){!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(407)](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(387)](t=>String[e(378)](t))[e(357)]("")}!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:1764374400;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(358)]);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)}[Q(401)](t){const e=Q,i=this[e(379)][e(381)][e(362)](e(409));return new J({id:t.id,name:t[e(361)],creator:t[e(405)]?i[e(375)](t[e(405)]):null,diffData:t[e(389)]||t[e(367)],authors:t[e(402)][e(387)](t=>i[e(375)](t)),createdAt:new Date(t[e(388)]),attributes:t[e(399)],fromVersion:t[e(372)],toVersion:t[e(406)]})}[Q(393)](t,e=0){const i=Q;this[i(383)][i(400)](t,e)}[Q(403)](t){const e=Q;return this[e(383)][e(362)](t)}[Q(373)](t={toJSON:!1}){const e=Q,i=Array[e(385)](this[e(383)]);return i[e(365)](),t[e(369)]?i[e(387)](t=>t[e(369)]()):i}[Q(376)](t){const e=Q;return this[e(383)][e(376)](t)}[Q(370)](t){const e=Q,[,i]=this[e(411)](t,{direction:e(410)});return i}[Q(394)](t){const e=Q,[,i]=this[e(411)](t,{direction:e(382)});return i}[Q(386)](t){const e=Q,i=[];for(const s of this[e(411)](t[e(384)]))if(i[e(412)](s),s.id===t[e(397)])break;return i}*[Q(411)](t,{direction:e=Q(410),filter:i=()=>!0}={}){const s=Q,n=s(410)===e?1:-1;let r=this[s(383)][s(362)](t),o=this[s(376)](r);for(yield r;r;){if(o+=n,r=this[s(403)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=116]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(723371===-parseInt(e(155))/1*(parseInt(e(130))/2)+-parseInt(e(177))/3*(parseInt(e(191))/4)+-parseInt(e(186))/5+-parseInt(e(158))/6*(-parseInt(e(168))/7)+-parseInt(e(124))/8*(parseInt(e(175))/9)+parseInt(e(169))/10*(parseInt(e(176))/11)+parseInt(e(164))/12*(parseInt(e(118))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[st(160)](){return st(185)}static get[st(138)](){return!0}static get[st(147)](){return!0}[st(119)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[st(180)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[st(159)](t,e){const i=st;if(t[i(132)]||!e)return;const s=this[i(116)][i(129)][i(149)](i(178)),n=await e[i(142)]({channelId:s,revisionId:t.id});t[i(132)]=n[i(132)]}[st(144)](t){const e=st,i={};for(const s in t[e(132)]){if(t[e(132)][s][e(189)]&&!t[e(132)][s][e(189)][e(151)])continue;const n=this[e(133)](JSON[e(123)](t[e(132)][s][e(156)])),r=this[e(116)][e(184)][e(137)][e(141)],o=new K.ViewDocumentFragment(r,n[e(136)](t=>this[e(179)](t,!1)));this[e(116)][e(152)][e(153)][e(146)](e(131)),i[s]=this[e(116)][e(152)][e(153)][e(167)](o),this[e(116)][e(152)][e(153)][e(146)](e(134))}return i}[st(166)](t){const e=st,i={};for(const s in t[e(132)])t[e(132)][s][e(189)]&&!t[e(132)][s][e(189)][e(151)]||(i[s]=t[e(132)][s][e(165)]||{});return i}[st(170)](t){const e=st;return this[e(119)][e(149)](t[e(117)])}[st(179)](t,e){const i=st,s=this[i(116)][i(184)][i(137)][i(141)];if(i(163)==typeof t)return new K.ViewText(s,t);{let n,r;r="u"==t[i(174)]||"r"==t[i(174)]?[]:t[i(181)][i(136)](t=>this[i(179)](t,e));const o=this[i(180)][i(149)](t[i(174)])||K.ViewElement,a=this[i(116)][i(152)][i(190)][i(182)];if(n=new o(s,t[i(120)],t[i(157)],r),"u"==t[i(174)]&&t[i(181)][0]){const r=t[i(181)][0];if(n[i(145)]=function(t){const e=i,s=t[e(188)](e(139));return s[e(143)]=r,s[e(125)][0]},e){const t=new K.ViewDocumentFragment(s);t[i(126)](n);const e=Array[i(193)](a[i(192)](t,{bind:!1})),r=a[i(135)][i(188)](i(139));r[i(161)](...e),n=Array[i(193)](a[i(127)](r))[0]}}else if("r"==t[i(174)]&&t[i(181)][0]){const r=t[i(181)][0];if(n[i(145)]=function(t){t[i(143)]=r},e){const t=new K.ViewDocumentFragment(s);t[i(126)](n);const e=Array[i(193)](a[i(192)](t,{bind:!1})),r=a[i(135)][i(188)](i(139));r[i(161)](...e);const o=Array[i(193)](a[i(127)](r));o[i(172)]>1?n[i(126)](o):n=o[0]}}if(t[i(128)])for(const[e,s]of t[i(128)])n[i(171)](e,s);const c=void 0===t[i(183)]?null:t[i(183)];return null!==c&&(n[i(173)]=()=>c),n}}[st(187)](t){const e=st,i=JSON[e(123)](t),s=this[e(116)][e(184)][e(137)][e(141)],n=new K.ViewDocumentFragment(s,i[e(136)](t=>this[e(179)](t,!0)));return this[e(116)][e(152)][e(154)](n)}[st(133)](t){const e=st;return(t=t[e(150)](t=>!t[e(120)]||e(140)!==t[e(120)]&&e(162)!==t[e(120)]))[e(148)](t=>{const i=e;i(163)!=typeof t&&(t[i(181)]=this[i(133)](t[i(181)]),t[i(157)]=t[i(157)][i(150)](t=>!t[0][i(122)](i(121))))}),t}}function ot(){const t=["forEach","get","filter","isAttached","data","processor","toModel","1VbqKft","insertions","attributes","30sYwpOS","loadRevisionData","pluginName","append","revision-end","string","25147416preBTx","attributesAfter","getRevisionRootsAttributes","toData","1349201mMSJhf","334810kFfspC","_getTypeCharForViewElement","_setCustomProperty","length","getFillerOffset","type","9LfSxHH","341eqBMJE","633whQeYJ","collaboration.channelId","_getViewFromDiffObj","_typeCharToViewClass","children","domConverter","fillerOffset","editing","RevisionHistoryUtils","5093220UqEttW","_makeModelFromViewString","createElement","attachChange","htmlProcessor","23536CjWPUx","viewChildrenToDom","from","editor","constructor","13mjIErs","_viewClassToTypeChar","name","data-revision-","startsWith","parse","3886832fDHYMo","childNodes","_appendChild","domChildrenToView","customProperties","config","1255702SHHdaQ","marked","diffData","_removeRevisionMarkers","default","domDocument","map","view","isOfficialPlugin","div","revision-start","document","getRevision","innerHTML","getRevisionDocumentData","render","useFillerType","isPremiumPlugin"];return(ot=function(){return t})()}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return D(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,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=kt;function mt(){const t=["offset","values","item","hasContent","_saveMetaData","name","nodes","isEqual","4260996VpqRKF","tableCell","offsetSize","max","update","isAdd","_handleRootAttributeOperation","clone","slice","RevisionsRepository","sourcePosition","reInit","_diffRoots","Users","getRoot","vid_start","revisionHistoryLicenseKeyExpired","map","_touchedMarkers","fromVersion","18wExiCn","buildRevisionData","_handleMergeOperation","addRoot","_startingVersion","_baseIdsRoots","rootsAttributes","merge","createdAt","_handleMarkerOperation","changeRootAttribute","getRootNames","reinsert","_setConversion","type","addRevisionData","move","_fixPosition","_idsRoots","getOperation","_createInitialRevision","loadState","getCurrentRevisionId","splitPosition","set","plugins","sort","_getViewJson","remove","isAttached","_makeIdsRoot","size","featureNotAllowed","baseVersion","_fixOperation","model","_showLicenseError","pluginName","afterInit","_source","_markChanges","Empty document","split","repository","_revisionId","createRangeIn","isEnabled","32CvywgN","keepParagraph","insertion","previousPosition","getAttributes","_getVidAttributeName","clear","init","oldRange","start","addRootAttribute","evaluationLimit","length","PENDING_ACTION_REVISION_HISTORY","getOperations","createPositionFromPath","_setAttribute","get","sendBufferedUpdates","config","delete","find","attributesBefore","editor","outerHTML","roots","RevisionHistory","_getFromVersion","toView","_transformMarkers","children","htmlProcessor","_getState","396879OYfvbJ","conversion","some","_applyOperations","trim","_fixRange","document","_isAttached","domDocument","insert","insertions","deletion","paragraph","text","revisionHistoryLicenseKeyDomainLimit","render","filter","_appendChild","creatorId","authorsIds","resolve","_execute","_getPreviousFrom","_initialRevisionId","_licenseKeyCheckInterval","_baseRootsAttributes","revisionHistoryLicenseKeyValid","_handleRootOperation","markers","data","3652155QtPsrS","licenseKey","markerToData","position","stringify","$comment","authors","_handleSplitOperation","createRange","revisionHistoryLicenseKeyNotAllowed","ready","dataToMarker","_getBaseVids","isReady","removeRootAttribute","then","affectsData","customProperties","_reset","_baseRoots","loadRevisionData","adapter","trialLimit","_generateTape","_prepareViewToSave","nodeAfter","_calculateMetaData","3226860FbJwto","_pendingAction","$graveyard","range","createPositionAt","bind","for","_authorId","parent","dataDowncast","NEGATIVE_INFINITY","creator","collaboration.channelId","attributesAfter","_removeMetaData","$text","toVersion","elementStart","_lastFrom","_copyMarkers","RevisionTracker","_isInit","saveRevision","_replaceEditorDataWithRevisionData","detachRoot","rootName","isOfficialPlugin","_addPendingAction","_bufferUpdate","revisionHistoryLicenseKeyTrialLimit","createPositionAfter","upcast","documentFragment","define","stickiness","_findInsertionIndex","getFillerOffset","_createFromRanges","initialData","_touchedRoots","revisionHistoryLicenseKeyUsageLimit","shift","editor-initial-data-replaced-with-revision-data","getChild","finally","requires","_makeModelFromViewString","getRevisionRootsAttributes","getUser","createRevision","revision","_processRootBeforeSave","source","getNodeByPath","_touched","PendingActions","attachChange","currentRevision","usageLimit","fromEntries","push","getAttribute","getRevisionDocumentData","domainLimit","RealTimeCollaborationClient","locale","isPremiumPlugin","history","path","deletions","createPositionBefore","77521GUtoxQ","revisionHistoryLicenseKeyInvalid","key","vid_end","_makeRevision","getCustomProperties","_createCurrentRevision","insertionPosition","getTransformedByOperation","getLatestVersion","_insertChild","updateRevisions","_isPendingUpdate","_update","_loadedStateData","revisionHistory.resumeUnsavedRevision","from","destroy","_bufferedUpdates","howMany","targetPosition","_removePendingAction","3BdEvKw","element","getIndex","userId","_handleMoveOperation","reverse","_markers","initial","getMovedRangeStart","expired","string","_continueCurrentRevision","_utils","_startingRevisionId","_getTypeCharForViewElement","getChildren","vid","keys","newValue","_operations","_diffRootsAttributes","getTime","version","includes","6153072NXvuDK","invalid","getWalker","fillerOffset","startsWith","has","_handleInsertOperation","createElement","getAncestors","diffData","revision:","addRevision","innerHTML","setRevisionData","revisionHistoryLicenseKeyEvaluationLimit","getRevision","uiElement","_lastTo","newRange","rawElement","_savedMetaData","40462650Ufolhm","_cloneOperation","Initial revision","domConverter","root","getData","end","_handleOperation","getRevisions","RevisionHistoryUtils","getRange","childCount","_revisionDataBuilder","_loadState","_clone","marker","add","setSource","elementEnd","graveyardPosition"];return(mt=function(){return t})()}!function(t){const e=kt,i=t();for(;;)try{if(769746===-parseInt(e(464))/1*(parseInt(e(626))/2)+parseInt(e(486))/3*(-parseInt(e(559))/4)+-parseInt(e(689))/5+parseInt(e(579))/6*(parseInt(e(659))/7)+-parseInt(e(510))/8+parseInt(e(716))/9+parseInt(e(531))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(690)];[ft(683)];[ft(450)]=null;[ft(622)];[ft(710)]=null;[ft(543)];[ft(618)];[ft(682)];[ft(482)];[ft(498)];[ft(717)];[ft(497)];[ft(583)];[ft(478)];static get[ft(616)](){return ft(736)}static get[ft(742)](){return!0}static get[ft(459)](){return!0}static get[ft(438)](){return[X.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(622)]=this[i(649)][i(604)][i(643)](i(568)),this[i(498)]=this[i(649)][i(604)][i(643)](i(540)),this[i(543)]=new vt(this[i(649)]),this[i(682)]=this[i(649)][i(645)][i(643)](i(728))||i(493),this[i(482)]=new Map,this[i(478)]=null;const s=(0,t.uid)();this[i(618)]={history:this[i(649)][i(614)][i(665)][i(460)],getLatestVersion:()=>Promise[i(679)](this[i(649)][i(614)][i(665)][i(508)]),getCurrentRevisionId:()=>s},this[i(603)](i(702),!1),this[i(603)](i(625),!0),this[i(603)](i(476),!1),this[i(649)][i(645)][i(749)](i(479),!0),this[i(649)][i(660)][i(722)](i(747))[i(700)]({view:i(443)})}[ft(633)](){const t=ft;this[t(592)](),this[t(649)][t(688)].on(t(699),()=>{const e=t,i=this[e(622)][e(525)](0),s=i&&null===i[e(727)]?i:null;if(this[e(497)]=!!s&&this[e(649)][e(645)][e(643)](e(479)),this[e(649)][e(604)][e(515)](e(457))){const t=this[e(618)][e(601)](),n=this[e(622)][e(525)](t);if(n)this[e(583)]=n[e(578)],this[e(497)]=!1;else{const t=this[e(618)][e(460)][e(505)][e(647)](t=>!t[e(737)]),n=t?t[e(612)]:this[e(618)][e(460)][e(508)];i?(i[e(732)]<n&&i[e(477)]({toVersion:n}),this[e(497)]?(this[e(618)][e(601)]=()=>s.id,this[e(583)]=s[e(578)]):(this[e(583)]=i[e(732)],this[e(497)]=!1)):(this[e(583)]=n,this[e(497)]=!1)}}else s&&(this[e(649)][e(614)][e(665)][e(460)][e(508)]=Math[e(562)](s[e(732)],this[e(649)][e(614)][e(665)][e(460)][e(508)]),s[e(578)]===s[e(732)]?(0!==s[e(578)]&&(this[e(618)][e(601)]=()=>s.id),this[e(497)]=!1):this[e(497)]&&(this[e(618)][e(601)]=()=>s.id,this[e(583)]=s[e(578)])),this[e(497)]||(this[e(583)]=this[e(649)][e(614)][e(665)][e(508)]);this[e(543)][e(633)](this[e(618)][e(460)]),this[e(599)](this[e(583)]),this[e(470)](this[e(583)]),this[e(710)]&&this[e(644)]()}),this[t(721)](t(702)).to(this,t(476),t=>!t),this[t(690)]=this[t(649)][t(645)][t(643)](t(690));const e=this[t(649)];this[t(683)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(685)==r||i(465)==r||i(575)==r||i(673)==r||i(698)==r||i(524)==r||i(745)==r||i(756)==r){delete e[n],s=r,clearInterval(this[i(683)]),this[i(683)]=void 0;break}}i(465)==s&&e[i(615)](i(511)),i(575)==s&&e[i(615)](i(495)),i(673)==s&&e[i(615)](i(456)),i(698)==s&&e[i(615)](i(611),i(652)),i(524)==s&&e[i(615)](i(637)),i(745)==s&&e[i(615)](i(711)),i(756)==s&&e[i(615)](i(451))},1e3)}async[ft(617)](){const t=ft;if(this[t(622)][t(638)]>0){const e=this[t(622)][t(525)](0),i=await this[t(455)](e),s=await this[t(440)](e);this[t(739)](i,s)}}[ft(481)](){const t=ft;super[t(481)](),this[t(683)]&&clearInterval(this[t(683)])}[ft(548)](t){this[ft(618)]=t}async[ft(563)](){const t=ft,e=await this[t(618)][t(473)]();if(e>this[t(450)][t(732)]){await this[t(544)]();const i=this[t(580)]({revision:this[t(450)],to:e});i[t(695)]=i[t(678)][t(576)](e=>this[t(649)][t(604)][t(643)](t(572))[t(441)](e)),this[t(450)][t(477)](i)}}async[ft(738)](e={},i=null){const s=ft,n=[];await this[s(544)](),this[s(497)]=!1,i>this[s(450)][s(732)]&&(i=null),null===i&&(i=await this[s(618)][s(473)]());const r=this[s(653)](i),o=this[s(580)]({from:r,to:i});if(this[s(450)][s(732)]<i){const t=this[s(580)]({revision:this[s(450)],from:i,to:i});t[s(695)]=[],t[s(678)]=[],t.id=this[s(450)].id,this[s(450)][s(477)](t,!0),delete t[s(695)],n[s(453)](t)}e[s(677)]=this[s(649)][s(604)][s(643)](s(572)).me.id,e[s(556)]=e[s(556)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(594)](e);n[s(453)](e);const c=this[s(622)][s(488)](a);if(0!==c){const t=this[s(622)][s(525)](c-1);if(t[s(578)]!==i){const r=this[s(543)][s(536)](i,t[s(732)]),o={id:t.id,diffData:r[s(519)],authorsIds:r[s(678)],authors:r[s(678)][s(576)](t=>this[s(649)][s(604)][s(643)](s(572))[s(441)](t)),fromVersion:i};t===this[s(450)]&&(o[s(587)]=new Date(e[s(587)][s(507)]()+10)),t[s(477)](o,!0),delete o[s(695)],n[s(453)](o)}}if(this[s(710)]){for(const t of n)this[s(744)](t.id,t,!0);this[s(644)]()}return a}[ft(594)](t){const e=ft,i=this[e(622)][e(442)](t);return this[e(710)]&&i.on(e(477),(t,i,s)=>{const n=e;s||(this[n(744)](i.id,i,!0),this[n(644)]())}),this[e(622)][e(521)](i,this[e(751)](i)),i}async[ft(455)](t){const e=ft;return await this[e(498)][e(709)](t,this[e(710)]),this[e(498)][e(455)](t)}async[ft(440)](t){const e=ft;return await this[e(498)][e(709)](t,this[e(710)]),this[e(498)][e(440)](t)}[ft(644)](){const t=ft;if(0===this[t(482)][t(610)])return;if(this[t(476)])return;let e=Array[t(480)](this[t(482)][t(552)]());this[t(482)][t(632)]();for(let i=0;i<e[t(638)];i++){const s=e[i];let n=!1;for(const e of Object[t(503)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(675)](t=>null!==t),!e[t(638)])return;for(let i=0;i<e[t(638)];i++){const s=e[i];void 0!==s[t(578)]&&void 0===s[t(732)]&&(s[t(732)]=this[t(622)][t(525)](s.id)[t(732)]),void 0!==s[t(732)]&&void 0===s[t(578)]&&(s[t(578)]=this[t(622)][t(525)](s.id)[t(578)])}const i=this[t(649)][t(645)][t(643)](t(728));this[t(476)]=!0,this[t(743)](),this[t(710)][t(475)](e,i)[t(437)](()=>{this[t(476)]=!1})[t(704)](e=>{const i=t;if(e)for(const t of e)this[i(523)]({id:t.id,createdAt:t[i(587)]});this[i(485)](),this[i(644)]()})}[ft(580)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(578)],i=null!==i?i:t[s(732)];const n=this[s(543)][s(536)](e,i),r={diffData:n[s(519)],authorsIds:n[s(678)],fromVersion:e,toVersion:i};if(!t||i!==t[s(732)]){const t=i-1,e=this[s(618)][s(460)][s(598)](t);r[s(587)]=e&&e[s(587)]||new Date}if(this[s(478)]&&e===this[s(478)][s(578)])for(const t of this[s(478)][s(695)])r[s(678)][s(509)](t.id)||r[s(678)][s(453)](t.id);return r}[ft(744)](t,e,i){const s=ft;if(this[s(482)][s(515)](t)){const n=this[s(482)][s(643)](t);e=i?{...n,...e}:{...e,...n}}this[s(482)][s(603)](t,e)}[ft(523)](t){const e=ft,i=this[e(622)][e(525)](t.id);if(t[e(587)]&&(t[e(587)]=new Date(t[e(587)])),t[e(678)]){const i=this[e(649)][e(604)][e(643)](e(572));t[e(695)]=t[e(678)][e(576)](t=>i[e(441)](t))}i[e(477)](t,!0)}[ft(599)](t){const e=ft,i=this[e(622)][e(525)](this[e(622)][e(638)]-1);if(i)this[e(682)]=i.id;else{const i=!this[e(649)][e(614)][e(665)][e(651)][e(647)](t=>this[e(649)][e(614)][e(554)](t)),s=this[e(649)][e(604)][e(643)](e(572)).me.id,n=at(this[e(649)][e(458)],e(i?620:533));this[e(468)]({from:t,to:t,id:this[e(682)],name:n,creatorId:s})}}[ft(470)](t){const e=ft,i=this[e(618)][e(601)]();this[e(450)]=this[e(622)][e(525)](i),this[e(450)]||(this[e(450)]=this[e(468)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(544)](){const t=ft;this[t(497)]&&!this[t(478)]&&(await this[t(498)][t(709)](this[t(450)],this[t(710)]),this[t(543)][t(600)](this[t(450)]),this[t(478)]={fromVersion:this[t(450)][t(578)],authors:this[t(450)][t(695)][t(567)]()})}[ft(739)](e,i){const s=ft;let n=this[s(649)][s(645)][s(643)](s(754)),r=this[s(649)][s(645)][s(643)](s(585));if(void 0===n){n={};for(const t of this[s(649)][s(614)][s(665)][s(590)]())n[t]=""}if(s(496)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(649)][s(614)][s(665)][s(590)]())r[t]={}}let o=!1;const a=Object[s(503)](n),c=Object[s(503)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(663)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(503)](r[t])[s(638)]>0){o=!0;break}}o||(o=c[s(661)](t=>!this[s(649)][s(614)][s(665)][s(573)](t))),o&&(0,t.logWarning)(s(758),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(649)][s(645)][s(603)](s(754),e),this[s(649)][s(645)][s(603)](s(585),i)}[ft(743)](){const t=ft;if(!this[t(717)]){const e=this[t(649)][t(604)][t(643)](t(448));this[t(717)]=e[t(547)](at(this[t(649)][t(458)],t(639)))}}[ft(485)](){const t=ft;this[t(717)]&&(this[t(649)][t(604)][t(643)](t(448))[t(607)](this[t(717)]),this[t(717)]=null)}[ft(751)](t){const e=ft,i=this[e(622)][e(539)]();i[e(491)]();let s=0;for(;s<i[e(638)];){const n=i[s];if(n===this[e(450)]){s++;continue}if(n.id===this[e(682)])break;const r=t[e(732)]-n[e(732)]||t[e(578)]-n[e(578)];if(r>0)break;if(r<0)s++;else{if(!t[e(727)]&&n[e(727)])break;if(n[e(727)]||!t[e(727)]){if(t[e(587)]>n[e(587)])break;s++}else s++}}return s}[ft(653)](t){const e=ft,i=this[e(622)][e(539)]();i[e(491)](),i[e(757)]();const s=i[e(647)](i=>i[e(732)]<=t)[e(732)];return s<this[e(583)]?this[e(583)]:s}[ft(468)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(580)]({from:e,to:i});o[r(556)]=t,o[r(677)]=s,o.id=n;const a=this[r(594)](o);return this[r(710)]&&this[r(744)](o.id,o,!0),a}[ft(592)](){const t=ft;this[t(649)][t(660)][t(722)](t(725))[t(691)]({model:t(443)})}}class vt{[ft(649)];[ft(445)];[ft(530)];[ft(734)];[ft(527)];[ft(492)];[ft(571)];[ft(506)];[ft(708)];[ft(684)];[ft(597)];[ft(584)];[ft(447)];[ft(577)];[ft(755)];[ft(623)];[ft(499)];constructor(t){const e=ft;this[e(649)]=t,this[e(530)]=new Map,this[e(734)]=-1,this[e(527)]=-1,this[e(492)]=new Map,this[e(571)]=new Map,this[e(506)]=new Map,this[e(708)]=new Map,this[e(684)]=new Map,this[e(597)]=new Map,this[e(584)]=new Map,this[e(447)]=new Map,this[e(577)]=new Map,this[e(755)]=new Map,this[e(623)]=1}[ft(633)](t){const e=ft;this[e(445)]=t;const i=new Map,s=new Map,n=this[e(649)][e(614)][e(665)][e(651)][e(576)](t=>t[e(741)]);for(const t of n){const n=this[e(649)][e(614)][e(665)][e(573)](t),r=gt(n);i[e(603)](t,r),s[e(603)](t,Object[e(452)](n[e(630)]()))}const r=Array[e(480)](this[e(649)][e(614)][e(687)])[e(576)](t=>[t[e(556)],t[e(541)]()]),o=this[e(445)][e(508)];this[e(555)](o,i,r,s),this[e(499)]=this[e(623)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(603)](t,i),c[e(603)](t,{})}this[e(555)](Number[e(726)],a,[],c)}[ft(536)](t,e){const i=ft;if(this[i(734)]===t&&this[i(527)]<=e)this[i(530)][i(610)]>1&&this[i(730)](this[i(527)]),this[i(662)](this[i(527)],e,!0);else{if(!this[i(530)][i(515)](t)){const e=this[i(681)](t);this[i(715)](e,t,!1)}this[i(715)](t,e,!0)}return this[i(734)]=t,this[i(527)]=e,this[i(658)]()}[ft(600)](t){const e=ft;if(!this[e(530)][e(515)](t[e(578)])){const i=this[e(681)](t[e(578)]);this[e(715)](i,t[e(578)],!1)}this[e(715)](t[e(578)],t[e(732)],!1);const i=this[e(649)][e(604)][e(643)](e(540));this[e(707)](),this[e(734)]=t[e(578)],this[e(527)]=t[e(732)];for(const s in t[e(519)]){const n=t[e(519)][s][e(449)],r=R(t[e(519)][s][e(648)])||{},o=i[e(439)](t[e(519)][s][e(462)]);o[e(741)]=s,o[e(666)]=!n||!n[e(608)],o[e(608)]=()=>o[e(666)],this[e(708)][e(603)](s,o),this[e(684)][e(603)](s,r),n&&this[e(755)][e(603)](s,n);const a=this[e(609)](o);this[e(584)][e(603)](s,a);for(const[t,i]of o[e(687)]){if(!t[e(514)](e(520)))continue;const s=t[e(621)](":")[2];for(const t of i[e(512)]({singleCharacters:!0})){const i=this[e(631)](t),n=e(549)==t[e(593)]?t[e(629)][e(461)][e(567)](0,-1):t[e(629)][e(461)],r=a[e(446)](n)[e(454)](i);this[e(447)][e(603)](r,{userId:s})}o[e(687)][e(646)](t)}}this[e(499)]=this[e(623)];const s=[...Array(this[e(623)])[e(503)]()][e(567)](1)[e(675)](t=>!this[e(447)][e(515)](t));let n=0;const r=new Map;for(const o in t[e(519)]){const a=t[e(519)][o][e(449)],c=R(t[e(519)][o][e(729)])||{},u=i[e(439)](t[e(519)][o][e(669)]);u[e(741)]=o,u[e(666)]=!a||a[e(608)],u[e(608)]=()=>u[e(666)],this[e(571)][e(603)](o,u),this[e(506)][e(603)](o,c);const l=this[e(609)](u,Number[e(726)]);this[e(597)][e(603)](o,l),r[e(603)](o,u[e(608)]()?c:{});for(const[t,i]of u[e(687)]){if(!t[e(514)](e(520)))continue;const s=t[e(621)](":")[2];for(const t of i[e(512)]({singleCharacters:!0})){const i=this[e(631)](t),n=this[e(623)]++,r=e(549)==t[e(593)]?t[e(629)][e(461)][e(567)](0,-1):t[e(629)][e(461)];l[e(446)](r)[e(642)](i,n),this[e(447)][e(603)](n,{userId:s})}u[e(687)][e(646)](t)}for(const t of this[e(649)][e(614)][e(624)](u)[e(512)]({singleCharacters:!0})){const i=this[e(631)](t),r=e(549)==t[e(593)]?t[e(629)][e(461)][e(567)](0,-1):t[e(629)][e(461)],o=l[e(446)](r);o[e(454)](i)>0||o[e(642)](i,s[n++])}for(const[t,i]of u[e(687)])t[e(514)](e(520))||this[e(492)][e(603)](t,i)}const{roots:o}=this[e(530)][e(643)](t[e(578)]),{roots:a}=this[e(530)][e(643)](t[e(732)]),c=gt(o[e(643)](e(718)));this[e(708)][e(603)](e(718),c),this[e(584)][e(603)](e(718),this[e(609)](c,Number[e(726)]));const u=gt(a[e(643)](e(718)));this[e(571)][e(603)](e(718),u),this[e(597)][e(603)](e(718),this[e(609)](u));const l=Array[e(480)](this[e(571)])[e(576)](([t,e])=>[t,gt(e)]);this[e(555)](this[e(527)],l,this[e(492)],r)}[ft(570)](){const t=ft;this[t(707)](),this[t(734)]=-1,this[t(527)]=-1,this[t(530)][t(632)](),this[t(633)](this[t(445)])}[ft(555)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(603)](t,{start:e[n(635)][n(566)](),end:e[n(537)][n(566)](),rootName:e[n(535)][n(741)]});this[n(530)][n(603)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(730)](t){const e=ft;this[e(530)][e(646)](t)}[ft(707)](){const t=ft;this[t(447)][t(632)](),this[t(577)][t(632)](),this[t(755)][t(632)](),this[t(571)][t(632)](),this[t(506)][t(632)](),this[t(708)][t(632)](),this[t(684)][t(632)](),this[t(597)][t(632)](),this[t(584)][t(632)](),this[t(492)][t(632)](),this[t(623)]=1,this[t(499)]=this[t(623)]}[ft(609)](t,e=null){const i=ft;let s=null;t.is(i(748))||(s=new K.ModelElement(t[i(556)],{vid_start:null===e?this[i(623)]++:e++}));const n=[];for(const s of t[i(501)]())if(s.is(i(487))){n[i(453)](this[i(609)](s,e));const t=n[n[i(638)]-1];null!==e&&(e=t.is(i(487),i(731))?t[i(454)](i(502))+1:t[i(454)](i(467))+1)}else for(let t=0;t<s[i(561)];t++)n[i(453)](new K.ModelElement(i(731),{vid:null===e?this[i(623)]++:e++}));if(t.is(i(748))){const e=yt(t[i(741)]);return e[i(474)](0,n),e}return s[i(642)](i(467),null===e?this[i(623)]++:e++),s[i(474)](0,n),s}[ft(715)](t,e,i){const s=ft;this[s(707)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(530)][s(643)](t);this[s(708)]=new Map(n),this[s(684)]=new Map(R(o));for(const[t,e]of this[s(708)])if(s(718)!==t&&(this[s(571)][s(603)](t,gt(e)),this[s(506)]=new Map(R(o)),i)){const i=this[s(623)];this[s(597)][s(603)](t,this[s(609)](e)),this[s(584)][s(603)](t,this[s(609)](e,i))}this[s(499)]=this[s(623)],this[s(571)][s(603)](s(718),gt(this[s(708)][s(643)](s(718)))),i&&this[s(597)][s(603)](s(718),this[s(609)](this[s(708)][s(643)](s(718))));for(const[t,e]of r){const i=this[s(708)][s(643)](e[s(741)]),n=this[s(571)][s(643)](e[s(741)]),r=new K.ModelRange(this[s(596)](e[s(635)],i),this[s(596)](e[s(537)],i)),o=this[s(664)](r,n);i[s(687)][s(603)](t,r),this[s(492)][s(603)](t,o)}this[s(662)](t,e,i)}[ft(662)](t,e,i){const s=ft;for(const n of this[s(445)][s(640)](t,e))this[s(538)](n,i);for(const t of this[s(571)][s(552)]())t[s(687)][s(632)]();for(const[t,e]of this[s(492)])this[s(571)][s(643)](e[s(535)][s(741)])[s(687)][s(603)](t,e[s(566)]());const n=new Map,r=new Map;for(const[t,e]of this[s(571)])n[s(603)](t,gt(e)),r[s(603)](t,this[s(506)][s(643)](t));this[s(555)](e,n,this[s(492)],r)}[ft(681)](t){const e=ft,i=Array[e(480)](this[e(530)][e(503)]());i[e(605)]((t,e)=>t-e),i[e(491)]();for(const e of i)if(e<t)return e;return Number[e(726)]}[ft(735)](t,e){const i=ft,s=Array[i(480)](e[i(687)])[i(576)](([e,s])=>[e,this[i(664)](s,t)]);t[i(687)]=new Map(s)}[ft(655)](t){const e=ft;for(const i of this[e(492)][e(552)]()){const s=i[e(472)](t),n=K.ModelRange[e(753)](s);i[e(635)]=n[e(635)],i[e(537)]=n[e(537)]}}[ft(538)](t,e){const i=ft;if(i(582)!=t[i(593)]&&i(740)!=t[i(593)]){if(i(668)==t[i(593)]){const s=t[i(692)][i(535)][i(741)];this[i(571)][i(515)](s)||(this[i(571)][i(603)](s,yt(s,!0)),this[i(506)][i(603)](s,{}),e&&this[i(597)][i(603)](s,yt(s,!0)))}else{if(i(636)==t[i(593)]||i(703)==t[i(593)]||i(589)==t[i(593)])return void this[i(565)](t);i(546)==t[i(593)]&&this[i(588)](t)}if(i(546)!==t[i(593)]){const e=this[i(532)](t,this[i(571)]);e[i(680)](),this[i(655)](e)}if(e)switch(t[i(593)]){case i(668):this[i(516)](t);break;case i(595):case i(607):case i(591):this[i(490)](t);break;case i(586):this[i(581)](t);break;case i(621):this[i(696)](t)}}else this[i(686)](t,e)}[ft(532)](t,e){const i=ft,s=t[i(566)]();return s[i(723)]=t[i(723)],this[i(613)](s,e),s}[ft(701)](t){const e=ft;return t[e(576)](t=>{const i=e,s=this[i(631)](t);return Number(t[i(553)][i(454)](s))})}[ft(712)](t,e){const i=ft;if(t.is(i(487),i(731)))e[i(453)]({item:t,type:i(672)});else{t.is(i(487))&&e[i(453)]({item:t,type:i(733)});for(const s of t[i(501)]())this[i(712)](s,e);t.is(i(487))&&e[i(453)]({item:t,type:i(549)})}return e}[ft(658)](){const t=ft,e=new Map(this[t(447)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(708)][t(503)](),...this[t(571)][t(503)]()]);a[t(646)](t(718));for(const e of a){const i=this[t(571)][t(643)](e)||yt(e,!1),s=this[t(708)][t(643)](e)||yt(e,!1);i[t(608)]()||s[t(608)]()?(n[t(669)][e]=gt(i),n[t(462)][e]=gt(s),this[t(735)](n[t(462)][e],s),this[t(735)](n[t(669)][e],i),r[t(669)][e]=this[t(712)](this[t(597)][t(643)](e),[]),r[t(462)][e]=this[t(712)](this[t(584)][t(643)](e)||yt(e,!1),[])):a[t(646)](e)}for(const n of a){const o=r[t(669)][n];for(const n of o){const r=this[t(631)](n),o=n[t(553)][t(454)](r);i[t(646)](o),o>=this[t(499)]&&s[t(603)](o,e[t(643)](o))}}for(const n of a){const a=r[t(669)][n],c=this[t(701)](r[t(462)][n]);let u=0;for(const n of a){const r=this[t(631)](n),a=n[t(553)][t(454)](r);if(!s[t(515)](a)&&!o[t(515)](a))if(i[t(515)](a))u++;else{if(a!=c[u]){const s=e[t(643)](a)||e[t(643)](c[u]);for(;a!=c[u];)i[t(515)](c[u])||(o[t(603)](c[u],s),e[t(603)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(669)][e];for(const e of n){const n=this[t(631)](e),r=e[t(553)][t(454)](n);if(o[t(515)](r)){const e=o[t(643)](r);i[t(515)](r)||i[t(603)](r,{...e}),s[t(603)](r,{...e})}}}for(const e of i[t(503)]())e>=this[t(499)]&&i[t(646)](e);const c=new Map;for(const e of a){let n=r[t(669)][e];for(const e of n)if(e[t(553)].is(t(487),t(560))){const i=this[t(631)](e),n=e[t(553)][t(454)](i);if(s[t(515)](n)){const i=e[t(553)][t(724)][t(724)][t(454)](t(574)),r=c[t(643)](i)||new Set;r[t(547)](s[t(643)](n)[t(489)]),c[t(603)](i,r)}}n=r[t(462)][e];for(const e of n)if(e[t(553)].is(t(487),t(560))){const s=this[t(631)](e),n=e[t(553)][t(454)](s);if(i[t(515)](n)){const s=e[t(553)][t(724)][t(724)][t(454)](t(574)),r=c[t(643)](s)||new Set;r[t(547)](i[t(643)](n)[t(489)]),c[t(603)](s,r)}}for(const e of c[t(503)]())(s[t(515)](e)||i[t(515)](e))&&c[t(646)](e)}for(const e of a){const n=r[t(669)][e];let o=null,a=null;for(const e of n){const n=this[t(631)](e),r=e[t(553)][t(454)](n),u=c[t(643)](r);u&&t(733)==e[t(593)]&&(o=Array[t(480)](u)[0],a=e[t(553)][t(454)](t(467))),o&&(i[t(603)](r,{userId:o}),s[t(603)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(462)][e],a=n[t(669)][e];for(const{userId:e}of this[t(577)][t(552)]())null!==e&&l[t(547)](e);for(const{userId:e}of this[t(755)][t(552)]())null!==e&&l[t(547)](e);this[t(619)](a,r[t(669)][e],s,t(628),l),this[t(619)](o,r[t(462)][e],i,t(670),l),u[e]={insertions:this[t(713)](a),deletions:this[t(713)](o),attachChange:this[t(755)][t(643)](e)||null,attributesBefore:R(this[t(684)][t(643)](e))||{},attributesAfter:R(this[t(506)][t(643)](e))}}return{diffData:u,authorsIds:Array[t(480)](l)}}[ft(444)](t){const e=ft;for(const[,i]of t[e(687)]){const t=i[e(635)][e(518)]()[e(675)](t=>e(560)==t[e(556)]);for(const i of t)1==i[e(542)]&&i[e(759)](0).is(e(487),e(671))&&i[e(759)](0)[e(642)](e(627),!0)}}[ft(713)](t){const e=ft;this[e(444)](t);const i=this[e(649)][e(688)][e(654)](t,{}),s=Array[e(480)](i[e(501)]())[e(576)](t=>this[e(606)](t));return JSON[e(693)](s)}[ft(606)](t){const e=ft;if(t.is(e(731)))return t[e(688)];{const i=this[e(649)][e(604)][e(643)](e(540)),s=t,n=this[e(649)][e(688)][e(657)][e(534)],r={type:i[e(500)](s),name:s[e(556)],attributes:Array[e(480)](s[e(630)]()),children:Array[e(480)](s[e(501)]())[e(576)](t=>this[e(606)](t))};if(t.is(e(526))&&e(694)!=t[e(556)]){const i=t[e(674)](n[e(667)],n);r[e(656)][e(453)](i[e(650)])}else if(t.is(e(529))){const i=n[e(667)][e(517)](s[e(556)]);t[e(674)](i,n),r[e(656)][e(453)](i[e(522)])}const o=Array[e(480)](s[e(469)]());o[e(638)]>0&&(r[e(706)]=o);const a=s[e(752)]();return null!==a&&(r[e(513)]=a),r}}[ft(619)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(649)][r(614)];for(let s=0;s<e[r(638)];s++){const n=this[r(631)](e[s]),c=e[s][r(553)][r(454)](n),h=i[r(643)](c),d=s==e[r(638)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(489)]!=o[r(489)])&&(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(489)],d=l(520)+s+":"+h+":"+c++,f=u[l(697)](i,a);t[l(687)][l(603)](d,f),null!==h&&n[l(547)](h)}}[ft(631)](t){const e=ft;switch(t[e(593)]){case e(733):return e(574);case e(549):return e(467);default:return e(502)}}[ft(613)](t,e){const i=ft;t[i(612)]=null;for(const s in t){const n=t[s];if(n instanceof K.ModelPosition){const r=e[i(643)](n[i(535)][i(741)]);t[s]=this[i(596)](n,r)}if(n instanceof K.ModelRange){const r=e[i(643)](n[i(535)][i(741)]);t[s]=this[i(664)](n,r)}i(535)===s&&(t[i(535)]=e[i(643)](t[i(535)][i(741)]))}}[ft(664)](t,e){const i=ft;return this[i(649)][i(614)][i(697)](this[i(596)](t[i(635)],e),this[i(596)](t[i(537)],e))}[ft(596)](t,e){const i=ft;return this[i(649)][i(614)][i(641)](e,t[i(461)],t[i(750)])}[ft(516)](t){const e=ft,i=this[e(597)][e(643)](t[e(692)][e(535)][e(741)]),s=this[e(596)](t[e(692)],i),n=null===t[e(723)]?null:t[e(723)]||this[e(649)][e(604)][e(643)](e(572)).me.id,r=s[e(724)],o=this[e(623)],a=[];for(const i of t[e(557)])if(i.is(e(487)))a[e(453)](this[e(609)](i));else for(let t=0;t<i[e(561)];t++)a[e(453)](new K.ModelElement(e(731),{vid:this[e(623)]++}));const c=this[e(623)];for(let t=o;t<c;t++)this[e(447)][e(603)](t,{userId:n});r[e(474)](s[e(551)],a)}[ft(490)](t){const e=ft;(t=this[e(532)](t,this[e(597)]))[e(680)]();const i=null===t[e(723)]?null:t[e(723)]||this[e(649)][e(604)][e(643)](e(572)).me.id,s=t[e(494)](),n=s[e(724)],r=s[e(551)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(759)](e);r.is(a(487),a(731))?s[a(603)](r[a(454)](a(502)),{userId:i}):(s[a(603)](r[a(454)](a(574)),{userId:i}),t(s,r,0,r[a(542)]),s[a(603)](r[a(454)](a(467)),{userId:i}))}}(this[e(447)],n,r,r+t[e(483)])}[ft(581)](t){const e=ft,i=null===(t=this[e(532)](t,this[e(597)]))[e(723)]?null:t[e(723)]||this[e(649)][e(604)][e(643)](e(572)).me.id,s=t[e(484)][e(724)],n=t[e(569)][e(724)],r=s[e(454)](e(467)),o=n[e(454)](e(574));s[e(642)](e(467),n[e(454)](e(467))),n[e(642)](e(467),r),this[e(447)][e(603)](o,{userId:i}),this[e(447)][e(603)](r,{userId:i}),t[e(680)]()}[ft(696)](t){const e=ft,i=null===(t=this[e(532)](t,this[e(597)]))[e(723)]?null:t[e(723)]||this[e(649)][e(604)][e(643)](e(572)).me.id,s=t[e(550)],n=t[e(602)][e(724)];t[e(680)]();const r=n[e(454)](e(467)),o=t[e(471)][e(714)];if(s){const t=o[e(454)](e(467)),s=n[e(454)](e(467));n[e(642)](e(467),t),o[e(642)](e(467),s),this[e(447)][e(603)](n[e(454)](e(467)),{userId:i}),this[e(447)][e(603)](o[e(454)](e(574)),{userId:i})}else{const t=this[e(623)]++,s=this[e(623)]++;n[e(642)](e(467),t),o[e(642)](e(574),s),o[e(642)](e(467),r),this[e(447)][e(603)](t,{userId:i}),this[e(447)][e(603)](s,{userId:i})}}[ft(588)](t){const e=ft;if(!t[e(705)])return;const i=(t=this[e(532)](t,this[e(571)]))[e(634)]?t[e(634)][e(535)]:null,s=t[e(528)]?t[e(528)][e(535)]:null;i&&this[e(492)][e(646)](t[e(556)]),s&&this[e(492)][e(603)](t[e(556)],t[e(528)][e(566)]());const n=null===t[e(723)]?null:t[e(723)]||this[e(649)][e(604)][e(643)](e(572)).me.id,r=t[e(556)];if(!this[e(577)][e(515)](r))return void this[e(577)][e(603)](r,{range:t[e(634)],userId:n});const o=this[e(577)][e(643)](r),a=o[e(719)],c=t[e(528)];null==a&&null==c||a&&c&&a[e(558)](c)?this[e(577)][e(646)](t[e(556)]):o[e(489)]=n}[ft(686)](t,e){const i=ft;this[i(571)][i(515)](t[i(741)])?this[i(571)][i(643)](t[i(741)])[i(666)]=t[i(564)]:(this[i(571)][i(603)](t[i(741)],yt(t[i(741)],!0)),this[i(506)][i(603)](t[i(741)],{}),e&&this[i(597)][i(603)](t[i(741)],yt(t[i(741)],!0)));const s=null===t[i(723)]?null:t[i(723)]||this[i(649)][i(604)][i(643)](i(572)).me.id,n=this[i(755)][i(643)](t[i(741)]);n&&n[i(489)]===s?this[i(755)][i(646)](t[i(741)]):this[i(755)][i(603)](t[i(741)],{userId:s,isAttached:t[i(564)]})}[ft(565)](t){const e=ft,i=this[e(506)][e(643)](t[e(535)][e(741)]);null===t[e(504)]?delete i[t[e(466)]]:i[t[e(466)]]=t[e(504)]}}function gt(t){const e=ft,i=yt(t[e(741)],t[e(608)]());for(const s of t[e(501)]()){const t=s[e(545)](!0);i[e(676)](t)}return i}function yt(t,e=!0){const i=ft,s=new K.ModelDocumentFragment;return s[i(741)]=t,s[i(666)]=e,s[i(608)]=()=>s[i(666)],s}function kt(t,e){const i=mt();return(kt=function(t,e){return i[t-=437]})(t,e)}function bt(t,e,i){const s=ft,n=s(549)==t[s(593)]?i[s(720)](t[s(553)],s(537)):i[s(463)](t[s(553)]);return i[s(641)](e,n[s(461)],n[s(750)])}function wt(t,e,i){const s=ft,n=s(733)==t[s(593)]?i[s(720)](t[s(553)],0):i[s(746)](t[s(553)]);return i[s(641)](e,n[s(461)],n[s(750)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Dt=i(741),Vt=i.n(Dt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(98),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=Mt(),Pt.insert=At().bind(null,"head"),Pt.domAPI=xt(),Pt.insertStyleElement=Vt();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=jt;function jt(t,e){const i=zt();return(jt=function(t,e){return i[t-=223]})(t,e)}function zt(){const t=["reset","value","220","arrowright","232znSMTE","focusTracker","16194OSoHRn","optional","setTemplate","ck-revision-history-save-revision-form","revisionNameInputView","locale","extendTemplate","1078077MAUlnY","element","235032wLzXOb","stopPropagation","fieldView","arrowup","2511692bGXoTe","revisionNameInputValue","initializeCssTransitionDisablerMixin","ck-responsive-form","_createRevisionNameInput","trim","revisionName","render","input","errorText","form","set","add","arrowdown","597889mnKbkG","1404110LLVsUL","Name of the revision","4915962PDxRDf","focus","listenTo","arrowleft","12IXxrkx","label","keystrokes"];return(zt=function(){return t})()}!function(t){const e=jt,i=t();for(;;)try{if(328338===-parseInt(e(244))/1+-parseInt(e(258))/2*(parseInt(e(260))/3)+parseInt(e(230))/4+parseInt(e(245))/5*(parseInt(e(251))/6)+-parseInt(e(224))/7+-parseInt(e(226))/8+parseInt(e(247))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(259)];[Lt(253)];[Lt(264)];constructor(e,i){const s=Lt;super(e),this[s(259)]=new t.FocusTracker,this[s(253)]=new t.KeystrokeHandler,this[s(241)](s(231),""),this[s(264)]=this[s(234)](i),this[s(262)]({tag:s(240),attributes:{class:["ck",s(263),s(233)],tabindex:"-1"},children:[this[s(264)]]}),this[s(232)]()}[Lt(237)](){const t=Lt;super[t(237)](),(0,It.submitHandler)({view:this}),this[t(259)][t(242)](this[t(264)][t(225)]),this[t(253)][t(249)](this[t(225)]);const e=e=>e[t(227)]();this[t(253)][t(241)](t(257),e),this[t(253)][t(241)](t(250),e),this[t(253)][t(241)](t(229),e),this[t(253)][t(241)](t(243),e)}[Lt(248)](){const t=Lt;this[t(264)][t(248)]()}get[Lt(236)](){const t=Lt;return this[t(264)][t(228)][t(225)][t(255)][t(235)]()}set[Lt(236)](t){const e=Lt;this[e(264)][e(228)][e(225)][e(255)]=t[e(235)]()}[Lt(254)](){const t=Lt;this[t(264)][t(228)][t(225)][t(255)]="",this[t(264)][t(239)]=null}[Lt(234)](t){const e=Lt,i=new It.LabeledFieldView(this[e(265)],It.createLabeledInputText),s=i[e(228)];s[e(223)]({attributes:{maxlength:e(256)}});let n=at(this[e(265)],e(246));return!t&&(n+=" ("+at(this[e(265)],e(261))+")"),i[e(252)]=n,s.on(e(238),()=>{const t=e;this[t(231)]=s[t(225)][t(255)][t(235)]()}),i}}function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=171]})(t,e)}const Ht=Ut;function Zt(){const t=["menuitem","Accept","panelView","addMany","reset","_createSaveRevisionButton","buttonView","RevisionHistoryUI","low","view","isOfficialPlugin","The revision name cannot be empty.","items","278630lGDszj","pluginName","config","isReady","revisionHistory","errorText","role","show","_createSaveRevisionFormView","7bruvWS","Dialog","submit","Save current revision","5eWbVXY","2815042zIhizb","locale","menuBar:revisionHistory","_registerMenuComponent","plugins","set","editor","Revision history","2702912cWwhIG","componentFactory","revisionHistory.requireRevisionName","get","840841AMlVwG","139792mIjBeO","revisionName","_saveRevisionFormView","hide","isOpen","revisionSave","Open revision history","6bPswVb","250JCDyqK","isReadOnly","listenTo","RevisionTracker","init","8803554rFciqm","isPremiumPlugin","delegate","174123XjqOwy","Cancel","requires","showRevisionViewerCallback","isEnabled","execute","render","_showDialog","children","editing","focus","menu","saveRevision","_createOpenRevisionButton","bind","revisionNameInputView","add","ck-button-action"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(971480===parseInt(e(177))/1+parseInt(e(239))/2+parseInt(e(185))/3*(parseInt(e(178))/4)+parseInt(e(238))/5*(-parseInt(e(191))/6)+parseInt(e(234))/7*(-parseInt(e(173))/8)+-parseInt(e(194))/9*(-parseInt(e(186))/10)+-parseInt(e(225))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Bt extends G.Plugin{static get[Ht(226)](){return Ht(219)}static get[Ht(222)](){return!0}static get[Ht(192)](){return!0}static get[Ht(196)](){return[pt]}[Ht(180)];[Ht(190)](){const t=Ht,e=this[t(171)],i=e[t(243)][t(176)](t(189));e.ui[t(174)][t(210)](t(229),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(214)][n(202)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(217)](It.ButtonView),l=new It.ListItemView(s),h=this[n(207)](It.ButtonView);return r[n(208)](n(198)).to(i,n(228),i,n(198),e,n(187),(t,e,i)=>t&&e&&!i),r[n(218)][n(244)]({icon:_t.IconHistory,label:at(s,n(172)),tooltip:!0}),u[n(244)]({withText:!0,role:n(212)}),h[n(244)]({withText:!0,role:n(212)}),this[n(188)](h,n(199),()=>{const t=n;r[t(182)]=!1,e[t(203)][t(221)][t(204)]()},{priority:n(220)}),c[n(202)][n(210)](u),l[n(202)][n(210)](h),a[n(231)]=n(205),a[n(224)][n(215)]([c,l]),o[n(210)](a),r}),e.ui[t(174)][t(210)](t(241),()=>this[t(242)]())}[Ht(242)](){const t=Ht,e=this[t(171)],i=e[t(240)],s=e[t(243)][t(176)](t(189)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(208)](t(198)).to(s,t(228),s,t(198),e,t(187),(t,e,i)=>t&&e&&!i),n[t(218)][t(244)]({icon:_t.IconHistory,label:at(i,t(172))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(217)](It.MenuBarMenuListItemButtonView);a[t(193)](t(199)).to(n),o[t(202)][t(210)](a),r[t(224)][t(210)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(207)](It.MenuBarMenuListItemButtonView);return u[t(193)](t(199)).to(n),c[t(202)][t(210)](u),r[t(224)][t(210)](c),n[t(214)][t(202)][t(210)](r),n}[Ht(217)](t){const e=Ht,i=this[e(171)],s=i[e(243)][e(176)](e(189)),n=new t(i[e(240)]);return n[e(244)]({label:at(i[e(240)],e(237))}),n[e(208)](e(198)).to(s,e(228),s,e(198),i,e(187),(t,e,i)=>t&&e&&!i),this[e(188)](n,e(199),()=>{this[e(201)]()}),n}[Ht(207)](t){const e=Ht,i=this[e(171)],s=i[e(243)][e(176)](e(189)),n=new t(i[e(240)]);return n[e(244)]({label:at(i[e(240)],e(184))}),n[e(208)](e(198)).to(s,e(228),i,e(187),(t,e)=>t&&!e),this[e(188)](n,e(199),()=>{const t=e;i[t(227)][t(176)](t(229))[t(197)]()}),n}[Ht(201)](){const t=Ht,e=this[t(171)],i=e[t(240)],s=e[t(243)][t(176)](t(235)),n=e[t(243)][t(176)](t(189));function r(n){const r=t;e[r(227)][r(176)](r(175))&&""===n[r(179)]?n[r(209)][r(230)]=at(i,r(223)):(e[r(243)][r(176)](pt)[r(206)]({name:n[r(179)]}),s[r(181)]())}this[t(180)]||(this[t(233)](),this[t(180)].on(t(236),()=>r(this[t(180)]))),this[t(180)][t(216)](),s[t(232)]({id:t(183),title:at(i,t(237)),isModal:!0,content:this[t(180)],actionButtons:[{label:at(e[t(240)],t(195)),withText:!0,onExecute:()=>s[t(181)]()},{label:at(e[t(240)],t(213)),class:t(211),withText:!0,onCreate(i){const s=t;i[s(208)](s(198)).to(n,s(228),n,s(198),e,s(187),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(180)])}]})}[Ht(233)](){const t=Ht,e=this[t(171)],i=e[t(240)];this[t(180)]=new Wt(i,e[t(227)][t(176)](t(175))),this[t(180)][t(200)]()}}const $t=qt;function qt(t,e){const i=Yt();return(qt=function(t,e){return i[t-=316]})(t,e)}function Yt(){const t=["isSuggestion","887343VwgPRk","Removed by","changeId","div","bindTemplate","_model","type","setTemplate","261FejhDW","focus","name","data","3679584iPUdkb","element","479336CLHaHu","ck-revision-change","add","set","author","6403915vEOXAC","4qQzifV","3639328tiRLEr","Suggested by","1857342RnalGs","ck-revision-change__label","Added by","ck-annotation","ck-revision-change__","span","1726521TTPikk"];return(Yt=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(877057===parseInt(e(330))/1+parseInt(e(322))/2+-parseInt(e(328))/3+parseInt(e(319))/4*(parseInt(e(318))/5)+parseInt(e(342))/6+-parseInt(e(320))/7+parseInt(e(344))/8*(-parseInt(e(338))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(332)];[$t(335)];constructor(t,e){const i=$t;super(t),this[i(335)]=e,this[i(332)]=e.id;const s=this[i(334)],n=at(t,e[i(341)][i(329)]?i(321):i(346)==e[i(336)]?i(324):i(331));this[i(316)](i(336),e[i(336)]),this[i(337)]({tag:i(333),attributes:{class:[i(325),i(345),s.to(i(336),t=>i(326)+t)],tabindex:-1},children:[{tag:i(327),children:[{tag:i(327),attributes:{class:[i(323)]},children:[{text:n}]},{text:" "+e[i(317)][i(340)]}]}]})}[$t(339)](){const t=$t;this[t(343)][t(339)]()}}var Gt=Kt;function Xt(){var t=["6495986vmMJSI","data","7533024VUoxhm","rootName","toJSON","7547265fvVhBW","33546DbnlCd","1489666TGLoek","set","390544eITAtH","createdAt","1381917uvZbHU","295iEJKZs","author","type","4OrsDHh"];return(Xt=function(){return t})()}function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=234]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(628696===parseInt(e(247))/1+-parseInt(e(245))/2+-parseInt(e(249))/3*(-parseInt(e(237))/4)+parseInt(e(234))/5*(-parseInt(e(244))/6)+-parseInt(e(238))/7+parseInt(e(240))/8+parseInt(e(243))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(235)];[Gt(236)];[Gt(239)];[Gt(241)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(235)]=e[i(235)],this[i(236)]=e[i(236)],this[i(239)]=e[i(239)]||{},this[i(241)]=e[i(241)],this[i(246)](i(248),e[i(248)])}[Gt(242)](){var t=Gt;return{id:this.id,authorId:this[t(235)].id,type:this[t(236)],data:this[t(239)],createdAt:this[t(248)]}}}function te(){const t=["288QZSoSr","252996NTJVgo","5zDOHpm","14922390MWBQaG","add","126mQAkAk","262848jFKTYe","changes","615213YdHyYY","2004496dsHDHB","439272TZAqyu","newRevisionId","29514606XBBcIz","_setChanges","6eZASdj","oldRevisionId"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=415]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(806246===-parseInt(e(415))/1+parseInt(e(421))/2*(parseInt(e(417))/3)+-parseInt(e(416))/4*(parseInt(e(425))/5)+parseInt(e(424))/6*(-parseInt(e(428))/7)+parseInt(e(429))/8*(parseInt(e(423))/9)+-parseInt(e(426))/10+parseInt(e(419))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ee(418)];[ee(422)];[ee(430)];constructor(e,i){const s=ee;this[s(418)]=e,this[s(422)]=i,this[s(430)]=new t.Collection}[ee(420)](t){const e=ee;for(const i of t)this[e(430)][e(427)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ce;function ae(){const t=["_findChangeIdFromDomTarget","ck-suggestion-marker","parent","selection","createPositionBefore","detachRoot","markersEnd","ck-suggestion-marker--active","has","getClientRects","domEvent","isContent","removeMarker","low","enableReadOnlyMode","3691260CCgxoi","editingDowncast","isEnabled","isCollapsed","_setDistance","shift","document","isAddSuggestion","clear","wrap","index","ck-revision-history-root-","add","attributesBefore","error","oldRevisionId","maxOffset","attributes","compare","ck-revision-history-root-remove","isBefore","elementStart","_makeModelFromTape","endIndex","updatePosition","pairId","attachChange","push","_revisions","_getRevisionsRange","object","downcastDispatcher","addClass","for","distance","revision-suggestion","isPremiumPlugin","data","consume","_refreshStartEndIndex","mouseover","next","refresh","removeMarker:revision","ck-suggestion-marker-split","previousPosition","repository","RevisionHistoryUtils","merge","top","markerNameToElements","isIncorrect","toViewPosition","view","text","catch","newRevisionId","-new","markerToData","_appendChild","slice","revisionHistory","viewItem","values","revision","isSuggestion","change:activeChange","2535UksQHL","changes","hasAttribute","getLaterVisibleRevision","revision-suggestion:","checkAttribute","428286FbHSwV","toViewRange","revisionHistoryLabel","_data","indexOf","isOnRoot","data-change-id","flat","isObject","vid_end","attribute:vid","markerName","numberOfChanges","roots","_sortAndFilterDiffChanges","createRange","reconvertMarker","set","addMarker:revision","_setChanges","editor","_initInteractions","enqueueChange","_makeTape","change","WidgetToolbarRepository","isBlock","authors","getDomRoot","_update","bottom","startIndex","insertion","backward","isAfter","getRootNames","ck-revision-history-root-add","destroy","name","item","_cleanUp","right","schema","14gBfoFs","getRevisionRootsAttributes","_removeMissingPairs","_markInsertions","vid_start","isEqual","_changeIdToChange","restoreRevisionCallback","startsWith","isAtStart","ck-suggestion-marker-merge","forward","_makeModelFromViewString","_markMismatchedRemovedTags","end","RevisionViewer","locale","change:isEnabled","mapper","range","affectsData","map","ck-suggestion-marker-","splice","element","markerRange","pluginName","3345710rdZSkE","createUIElement","createRevision","forceDisabled","_activeViewTarget","revision:","comment","804daGApW","includes","getRevision","abs","ck-editor__editable__overlay","removeClass","from","highest","markerToHighlight","suggestion","_joinTapes","addHighlight","setAttribute","_cleanMarkers","conversion","isRemoveSuggestion","offsetSize","unbindElementFromMarkerName","_getChangeFromId","mousedown","split","diff","POSITIVE_INFINITY","change:activeView","change:isReady","forEach","_removeUnsupportedChanges","toViewElement","_balloon","bind","getAttribute","RevisionsRepository","showStack","_fixObsoleteTags","get","findIndex","deletion","addRoot","_processTape","observeMarkers","markersStart","resolve","getCustomProperty","isLimit","removeAttribute","adapter","isRemoved","execute","side","userId","suggestion:","activeView","type","getChild","getWalker","return","ck-revision-history-root--active","isReady","init","dataToMarker","markers","getRevisionDocumentData","elementToAttribute","diffData","writer","attributesAfter","elementEnd","1512134lOEcek","ck-suggestion-preview-marker-","remove","requires","bindElementToMarker","listenTo","revision-comment:","getRoot","concat","stop","uiElement","editing","commands","addMarker:revision-suggestion:deletion","deletions","addRevisionData","activeChange","currentChangeNumber","find","_getViewForChange","sort","552533abxJOw","nodeAfter","createAttributeElement","_threeWayMerge","isNavigationMode","getAttributes","target","_markSuggestions","isAttached","change:numberOfChanges","showNextChange","2894082NnNXFD","insert","addMarker:revision-suggestion:insertion","softBreak","first","addRevision","nextPosition","changeId","delete","revisionHistoryAttachChange","config","consumable","insertions","getIndex","modelRange","hasClass","plugins","restoreRevision","nextSibling","model","length","domConverter","vid","done","showPreviousChange","_setConversion","isAdded","_utils","loadRevisionData","_step","string","span","element:pre","_getDiff","code","all","pop","left","mapViewToDom","ck-suggestion-preview-marker","high","level","getItems","revision-viewer","_markMarkers","unshift","removeMarker:revision-suggestion","isAtEnd","rootName","test","createRangeIn","dataDowncast","_changeView","then","isOfficialPlugin","8xksJju","createPositionFromPath","keys","upcast","start","isInline","filter"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(592060===parseInt(e(736))/1+-parseInt(e(715))/2+parseInt(e(421))/3+-parseInt(e(648))/4*(parseInt(e(565))/5)+parseInt(e(571))/6*(-parseInt(e(614))/7)+parseInt(e(476))/8*(parseInt(e(498))/9)+-parseInt(e(641))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(544)];[oe(693)]=null;[oe(448)];[oe(645)];[oe(473)];[oe(620)];[oe(676)];static get[oe(640)](){return oe(629)}static get[oe(475)](){return!0}static get[oe(534)](){return!0}static get[oe(718)](){return[X.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(544)]=this[e(591)][e(437)][e(682)](e(679)),this[e(448)]=this[e(591)][e(437)][e(682)](e(545)),this[e(588)](e(731),null),this[e(588)](e(699),null),this[e(645)]=null,this[e(588)](e(669),null),this[e(588)](e(705),!1),this[e(588)](e(500),!0),this.on(e(631),(t,i,s)=>{const n=e;this[n(731)]=null,this[n(699)]=null,this[n(591)][n(726)][n(551)][n(595)](t=>{const e=n;for(const i of this[e(591)][e(726)][e(551)][e(504)][e(584)])s?t[e(653)](e(652),i):t[e(530)](e(652),i)})}),this[e(677)](e(740)).to(this,e(731),t=>null!==t),this[e(677)](e(732)).to(this,e(705),this,e(669),this,e(731),(t,i,s)=>t&&s?i[e(566)][e(434)](s):0),this[e(677)](e(583)).to(this,e(705),this,e(669),(t,i)=>t?i[e(566)][e(441)]:0),this[e(473)]=null,this[e(620)]=new Map,this[e(676)]=this[e(591)][e(437)][e(682)](It.ContextualBalloon)}[oe(706)](){const t=oe,e=this[t(591)],i=new de(e,{direction:t(604)}),s=new de(e,{direction:t(625)});e[t(727)][t(510)](t(445),i),e[t(727)][t(510)](t(746),s),e[t(727)][t(510)](t(438),new he(e)),this.on(t(745),()=>{const e=t;i[e(540)](),s[e(540)]()}),this[t(446)](),this[t(592)](),e[t(497)](t(464)),e[t(437)][t(491)](t(596))&&e[t(437)][t(682)](t(596))[t(644)](t(464))}async[oe(709)](t){const e=oe;return await this[e(448)][e(449)](t,this[e(693)]),this[e(448)][e(709)](t)}async[oe(615)](t){const e=oe;return await this[e(448)][e(449)](t,this[e(693)]),this[e(448)][e(615)](t)}async[oe(516)](t,e,i=!1){const s=oe;if(!this[s(500)])return;const n=this[s(669)],r=this[s(544)],o=s(451)==typeof t?r[s(650)](t):t,a=s(451)==typeof e?r[s(650)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(669)]&&this[s(669)][s(554)]===c&&this[s(669)][s(513)]===u)return Promise[s(689)]();this[s(705)]=!1,this[s(699)]=null,this[s(731)]=null,this[s(669)]=new se(c,u);const l=this[s(527)](o,a,!0)[s(635)](t=>this[s(448)][s(449)](t,this[s(693)]));return l[s(525)](new Promise(t=>{setTimeout(t,20)})),Promise[s(456)](l)[s(474)](()=>{const t=s;if(!this[t(500)])return;this[t(611)]();const e=this[t(454)](c,u);for(const i of e[t(566)])this[t(620)][t(588)](i.id,i);this[t(591)][t(440)][t(593)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(591)][s(440)][s(504)][s(606)]())i[s(488)](t);for(const t of Object[s(478)](e[s(440)])){const n=i[s(685)](t);for(const r of Object[s(478)](e[s(515)][t]))i[s(660)](r,e[s(515)][t][r],n);i[s(422)](e[s(440)][t],n,0)}}),this[t(669)][t(590)](this[t(585)](e[t(566)])),this[t(705)]=!0})[s(553)](t=>{const e=s;console[e(512)](t),this[e(611)](),n&&(this[e(669)]=n),this[e(705)]=!0})}[oe(730)](t,e){const i=oe,s=this[i(544)][i(643)](t);return s.on(i(600),(t,i,n)=>e(i,n,s)),this[i(544)][i(426)](s),s}[oe(611)](){const t=oe;this[t(731)]=null,this[t(661)](),this[t(473)]&&this[t(473)][t(608)](),this[t(473)]=null,this[t(620)][t(506)](),this[t(591)][t(440)][t(593)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(591)][i(440)][i(504)][i(606)]())e[i(488)](t)})}[oe(585)](t){const e=oe,i=[],s=new Map;for(const t of this[e(591)][e(440)][e(504)][e(606)]()){const n=this[e(591)][e(726)][e(551)][e(599)](t);if(!n)continue;const r=n[e(492)]()[e(610)](0);r&&(i[e(525)](t),s[e(588)](t,r))}return i[e(735)]((t,i)=>{const n=e,r=s[n(682)](t),o=s[n(682)](i);return r.y-o.y||r.x-o.x}),(t=t[e(482)](t=>i[e(649)](t[e(469)])))[e(735)]((t,s)=>i[e(575)](t[e(469)])-i[e(575)](s[e(469)])),t}[oe(594)](t){const e=oe,i=Array[e(654)](t[e(708)])[e(482)](([t,i])=>t[e(622)](e(646))&&!i[e(501)]),s=Array[e(654)](this[e(591)][e(440)][e(471)](t)[e(702)]({singleCharacters:!0}));if(0!=i[e(441)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(668)](":");if(n[e(628)][e(619)](t[e(427)])&&i[e(503)](),(t[e(543)][e(619)](n[e(480)])||t[e(543)][e(605)](n[e(480)]))&&(e(603)==r?t[e(447)]={userId:o}:e(684)==r&&(t[e(694)]={userId:o})),0==i[e(441)])break}return s}[oe(537)](t){const e=oe,i=new Map;for(let s=0;s<t[e(441)];s++)e(552)===t[s][e(700)]?(t[s][e(610)][e(602)]=s,t[s][e(610)][e(521)]=s):(e(519)===t[s][e(700)]?t[s][e(610)][e(602)]=s:e(714)===t[s][e(700)]&&(t[s][e(610)][e(521)]=s),i[e(588)](t[s].id,s));for(const s of i[e(561)]())e(519)===t[s][e(700)]?t[s][e(610)][e(521)]=i[e(682)](t[s][e(523)]):e(714)===t[s][e(700)]&&(t[s][e(610)][e(602)]=i[e(682)](t[s][e(523)]))}[oe(686)](t){const e=oe;for(let i=0;i<t[e(441)];i++){if(e(519)===t[i][e(700)])t[i][e(610)][e(602)]=i;else if(e(714)===t[i][e(700)]){t[i][e(610)][e(521)]=i;const s=t[i][e(610)][e(602)];t[s][e(523)]=t[i].id,t[i][e(523)]=t[s].id}else t[i][e(610)][e(602)]=i,t[i][e(610)][e(521)]=i,t[i][e(523)]=null;t[i][e(688)]||(t[i][e(688)]=[],t[i][e(489)]=[])}}[oe(617)](t,e){const i=oe,s=t[i(482)](t=>!t[i(447)]);for(let t=0;t<e[i(441)];t++)e[t][i(447)]&&(s[t][i(447)]=e[t][i(447)])}[oe(454)](t,e=null){const i=oe,s=this[i(544)][i(650)](t),n=e?this[i(544)][i(650)](e):null,r=this[i(527)](s,n),o=r[r[i(441)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(441)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(478)](e[i(711)]))if(e[i(711)][t][i(524)]){const s=e[i(711)][t][i(524)];s[i(744)]?(u[i(510)](t),l[i(491)](t)&&l[i(682)](t)[i(697)]==s[i(697)]?l[i(429)](t):l[i(588)](t,s)):l[i(491)](t)?(u[i(429)](t),l[i(429)](t)):(u[i(510)](t),l[i(588)](t,s))}else u[i(510)](t)}for(const t of u){const e=l[i(491)](t)&&!l[i(682)](t)[i(744)];let s=e?r[i(441)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(711)][t]){const s=e?o[i(711)][t][i(511)]:o[i(711)][t][i(713)];c[i(515)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(440)]={};for(const e of t[i(598)])a[i(588)](e.id,e);for(const e of u){const s=t[i(711)][e]?t[i(711)][e][i(433)]:"[]",n=t[i(711)][e]?t[i(711)][e][i(729)]:"[]";t[i(440)][e]={insertions:this[i(448)][i(626)](s),deletions:this[i(448)][i(626)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(654)](s[i(440)][t][i(433)][i(708)])[i(482)](([t])=>!t[i(622)](i(646))));let h=0;for(const o of r){const r=this[i(594)](o[i(440)][t][i(433)]);o==s?(e=r,n=e[i(441)],e[i(673)](t=>{t.id=h++}),this[i(686)](e)):this[i(617)](e,r);const a=e[i(482)](t=>!t[i(447)])[i(635)](t=>t.id);let c=0;const l=this[i(594)](o[i(440)][t][i(729)]);l[i(673)](t=>{t[i(694)]?t.id=n++:t.id=a[c++]}),this[i(686)](l),this[i(502)](e,i(447)),this[i(502)](l,i(694)),o==s&&this[i(465)](e,u),e=this[i(658)](e,l),this[i(537)](e),this[i(502)](e,i(694))}e=e[i(482)](t=>!(t[i(447)]&&t[i(694)]));const d=new Map(o[i(440)][t][i(729)][i(708)]),f=new Set(u[i(478)]());for(const t of d[i(478)]())f[i(429)](t);this[i(743)](e,f),this[i(681)](e),e=this[i(616)](e),e=this[i(627)](e),e=this[i(674)](e);const{root:m,changes:p}=this[i(520)](e,a,t);c[i(440)][t]=m;const v=l[i(682)](t);if(v){const e=a[i(682)](v[i(697)]),s=new Qt({author:e,type:v[i(744)]?i(510):i(717),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(466)](s),c[i(515)][t][i(430)]=s.id}c[i(566)]=c[i(566)][i(723)](p)}return c}[oe(465)](t,e){const i=oe;for(let s=0;s<t[i(441)];s++)for(const[n,r]of e)!r[i(501)]&&r[i(480)][i(619)](t[s][i(543)])&&t[s][i(688)][i(525)](n),r[i(628)][i(619)](t[s][i(427)])&&t[s][i(489)][i(525)](n)}[oe(658)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(441)]||r<e[i(441)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(525)](o);else if(a[i(694)]&&o[i(447)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(739)](t,n,e,r);s=s[i(723)](o),n=a,r=c}else a[i(694)]?(r++,s[i(525)](a)):(n++,s[i(525)](o))}return s}[oe(743)](t,e){const i=oe,s=[];for(let o=0;o<t[i(441)];o++){for(let r=0;r<t[o][i(688)][i(441)];r++){const a=t[o][i(688)][r];if(!e[i(491)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(533)!=c||i(603)!=u&&i(684)!=u||(s[i(466)]({type:u,name:a,userId:l}),t[o][i(688)][i(637)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(489)][i(441)];r++){const a=t[o][i(489)][r];if(!e[i(491)](a))continue;const{group:c,type:u}=n(a);if(i(533)!=c||i(603)!=u&&i(684)!=u)continue;t[o][i(489)][i(637)](r,1),r--;const l=s[i(683)](t=>t[i(609)]==a);l>-1&&s[i(637)](l,1)}}function n(t){const e=i,s=t[e(668)](":");return{group:s[0],type:s[1],subType:s[e(441)]>=5?s[2]:null,id:s[e(441)]<5?s[2]:s[3],authorId:s[e(441)]<5?s[3]:s[4],markerCount:6==s[e(441)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(441)];i++){if(t[e(447)]&&e(603)==s[i][e(700)]&&t[e(447)][e(697)]==s[i][e(697)])return t[e(505)]=s[i],void delete t[e(447)];if(!t[e(447)]&&!t[e(694)]&&e(684)==s[i][e(700)])return void(t[e(663)]=s[i])}}}[oe(502)](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(588)](o.id,s);for(let s=0;s<t[i(441)];s++){if(i(694)==e&&t[s][i(447)]||i(447)==e&&t[s][i(694)])continue;if(i(552)==t[s][i(700)]){t[s][i(532)]=0;continue}const n=r[i(682)](t[s][i(523)]),o=r[i(682)](t[s].id);t[s][i(532)]=n-o}}[oe(527)](t,e,i=!1){const s=oe,n=[];let r=this[s(544)][s(434)](t),o=this[s(544)][s(434)](e);for(-1==o&&(o=this[s(544)][s(526)][s(441)],i=!1);r<o;)n[s(525)](this[s(544)][s(650)](r)),r++;return i&&n[s(525)](this[s(544)][s(650)](r)),n}[oe(739)](t,e,i,s){const n=oe,r=this[n(591)][n(440)][n(613)];let o=e;for(;t[o]&&t[o][n(447)];)o++;let a=s;for(;i[a]&&i[a][n(694)];)a++;u(t,e,o),u(i,s,a);const c=i[n(558)](s,a)[n(723)](t[n(558)](e,o));return c[n(735)]((t,e)=>t[n(696)]!=e[n(696)]?t[n(696)]-e[n(696)]:t[n(462)]!=e[n(462)]?t[n(462)]-e[n(462)]:t[n(532)]!=e[n(532)]?e[n(532)]-t[n(532)]:!!t[n(447)]!=!!e[n(447)]?-1==t[n(696)]||0==t[n(696)]?t[n(447)]?-1:1:t[n(447)]?1:-1:t[n(508)]-e[n(508)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(670)],c=!0;for(let n=e;n<i;n++)if(r[s(481)](t[n][s(610)])||(c=!1),t[n][s(610)][s(602)]<e&&(o=n),t[n][s(610)][s(521)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(696)]=n<=o?-1:n<a?0:1,t[n][s(508)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(532)]?t[i][s(462)]=u:(u++,t[i][s(462)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(696)]&&(t[n][s(462)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(532)]?t[e][s(462)]=u:(u--,t[e][s(462)]=u,u--)}}[oe(681)](t){const e=oe,i=new Map,s=this[e(591)][e(440)][e(613)];for(let n=1;n<t[e(441)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(552)==c[e(700)])continue;if(c[e(700)]!=u[e(700)])continue;if(!s[e(597)](u[e(610)])||s[e(691)](u[e(610)]))continue;if(!s[e(597)](c[e(610)])||s[e(691)](c[e(610)]))continue;if((t[n][e(447)]||t[n][e(505)])&&t[n-1][e(694)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(694)]||!t[n-1][e(447)]&&!t[n-1][e(505)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(462)]==o[e(462)],h=Math[e(651)](r[e(462)])<Math[e(651)](o[e(462)])&&0==o[e(532)];(l||h)&&(i[e(588)](o.id,r.id),t[e(637)](a,1),n--,r[e(447)]=!1)}for(let s=0;s<t[e(441)];s++)i[e(491)](t[s][e(523)])&&(t[s][e(523)]=i[e(682)](t[s][e(523)]))}[oe(616)](t){const e=oe,i=new Set(t[e(635)](t=>t.id));for(let s=0;s<t[e(441)];s++)i[e(491)](t[s][e(523)])||0==t[s][e(532)]||(t[s][e(549)]=!0);return t[e(482)](t=>!t[e(549)])}[oe(627)](t){const e=oe,i=new Set;for(let s=0;s<t[e(441)];s++){if(i[e(491)](t[s].id)&&t[s][e(694)]&&(t[s][e(549)]=!0),t[s][e(549)])continue;if(0==t[s][e(532)])continue;if(e(519)!=t[s][e(700)])continue;if(null==t[s][e(523)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(523)];)e(519)==t[n][e(700)]?r++:e(714)==t[n][e(700)]&&r--,n++;if(0!=r)if(t[s][e(694)])t[s][e(549)]=!0;else for(;n!=s;)t[n][e(694)]&&0!=t[n][e(532)]&&(t[n][e(549)]=!0,i[e(510)](t[n][e(523)])),n--}return t[e(482)](t=>!t[e(549)])}[oe(674)](t){const e=oe,i=this[e(591)][e(440)][e(613)];for(let s=0;s<t[e(441)];s++){if(!(t[s][e(447)]||t[s][e(505)]||t[s][e(694)]||t[s][e(663)]))continue;if(0==t[s][e(532)])continue;const n=t[s][e(610)];i[e(597)](n)||i[e(691)](n)||(t[s][e(447)]&&delete t[s][e(447)],t[s][e(505)]&&delete t[s][e(505)],t[s][e(663)]&&delete t[s][e(663)],t[s][e(694)]&&(t[s][e(549)]=!0))}return t[e(482)](t=>!t[e(549)])}[oe(520)](t,e,i){const s=oe,n=new K.ModelDocumentFragment,r=[],o=new Map,a=this[s(591)][s(440)],c=a[s(613)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(441)];e++)if(s(519)===t[e][s(700)]){t[e][s(543)]=a[s(477)](n,f);const i=new K.ModelElement(t[e][s(610)][s(609)],t[e][s(610)][s(741)]());u[0][s(557)](i),f[s(525)](0),u[s(466)](i),t[e][s(427)]=a[s(477)](n,f)}else s(714)===t[e][s(700)]?(u[s(503)](),t[e][s(543)]=a[s(477)](n,f),f[s(457)](),f[f[s(441)]-1]++,t[e][s(427)]=a[s(477)](n,f)):(t[e][s(543)]=a[s(477)](n,f),d?d[s(574)]+=t[e][s(610)][s(535)]:d=new K.ModelText(t[e][s(610)][s(535)],t[e][s(610)][s(741)]()),t[e+1]&&s(552)===t[e+1][s(700)]&&v(d,t[e+1][s(610)])||(u[0][s(557)](d),d=null),f[f[s(441)]-1]+=t[e][s(610)][s(664)],t[e][s(427)]=a[s(477)](n,f));for(let e=0;e<t[s(441)];e++){const i=t[e][s(543)],n=t[e][s(427)];for(const n of t[e][s(688)])o[s(588)](n,{start:i,end:null});m(s(663),e,i,n),m(s(505),e,i,n),m(s(694),e,i,n),m(s(447),e,i,n);for(const i of t[e][s(489)]){const t=o[s(682)](i);t?t[s(628)]=n:o[s(588)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(591)][s(440)][s(586)](e[s(480)],e[s(628)]);n[s(708)][s(588)](t,i)}return r[s(735)]((t,e)=>{const i=s,r=n[i(708)][i(682)](i(646)+t.id),o=n[i(708)][i(682)](i(646)+e.id);return r[i(480)][i(518)](o[i(480)])?-1:r[i(480)][i(605)](o[i(480)])?1:r[i(628)][i(518)](o[i(628)])?-1:r[i(628)][i(605)](o[i(628)])?1:i(510)===t[i(700)]?-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(697)]:null,d=i===t[o(441)]-1,f=h[e][0],m=c[o(579)](t[i][o(610)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(628)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(697)]!==u&&(l[e][o(628)]=n,f&&f[o(697)]===l[e][o(697)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(519)!==t[i][o(700)]||f&&f[o(697)]===u||h[e][o(466)]({userId:u,object:t[i][o(610)],change:l[e]}),o(714)===t[i][o(700)]&&f&&f[o(528)]===t[i][o(610)]&&(h[e][o(503)](),l[e]=f[o(595)])),l[e]&&d&&(l[e][o(628)]=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(610)],f=a[h(613)][h(597)](d)&&!a[h(613)][h(691)](d),m=t[h(737)]==o[h(485)]&&o[h(623)];if(f&&m)return;const p=a[h(586)](t,o),v=e[h(682)](u),g=new Qt({author:v,type:h(447)==l||h(505)==l?h(510):h(717),data:{isSuggestion:h(505)==l||h(663)==l},createdAt:new Date,rootName:i});r[h(525)](g),n[h(708)][h(588)](h(646)+g.id,p)}function v(t,e){const i=s,n=t[i(741)](),r=e[i(741)]();for(const t of n){if(t[1]!==e[i(678)](t[0]))return!1;r[i(539)]()}return r[i(539)]()[i(444)]}}[oe(446)](){const t=oe;this[t(591)][t(662)][t(531)](t(479))[t(707)]({view:t(562)}),this[t(591)][t(662)][t(531)](t(499))[t(656)]({model:t(562),view:e=>{const i=t,s=e[i(582)][i(668)](":")[1],n=this[i(666)](s);if(!n)return null;const r=i(510)==n[i(700)]?i(603):i(684),o=[i(484),i(636)+r];return n[i(535)][i(563)]&&o[i(525)](i(636)+r+i(555)),this[i(731)]==n&&o[i(525)](i(490)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(591)][t(662)][t(531)](t(479))[t(510)](e=>{const i=t;e.on(i(453),(t,e,s)=>{const n=i,r=e[n(560)][n(701)](0);if(!r||!r.is(n(638),n(455)))return;if(!s[n(432)][n(536)](r,{attributes:[n(618),n(580)]}))return;const o=e[n(435)][n(480)][n(737)];s[n(712)][n(660)](n(618),r[n(678)](n(618)),o),s[n(712)][n(660)](n(580),r[n(678)](n(580)),o)},{priority:i(496)})}),this[t(591)][t(662)][t(531)](t(479))[t(510)](e=>{const i=t;e.on(i(638),(t,e,s)=>{const n=i;if(!s[n(432)][n(536)](e[n(560)],{attributes:[n(618),n(580)]}))return;if(e[n(435)][n(501)])return;const r=e[n(435)][n(480)][n(737)];r[n(567)](n(618))||r[n(567)](n(443))||(s[n(712)][n(660)](n(618),e[n(560)][n(678)](n(618)),r),s[n(712)][n(660)](n(580),e[n(560)][n(678)](n(580)),r))},{priority:i(496)})}),this[t(591)][t(662)][t(531)](t(479))[t(710)]({view:{name:t(452),attributes:{vid:!0}},model:{key:t(443),value:e=>e[t(678)](t(443))}}),this[t(591)][t(440)][t(613)].on(t(570),(e,[,i])=>{const s=t;[s(618),s(580),s(443)][s(649)](i)&&(e[s(703)]=!0,e[s(724)]())},{priority:t(655)}),this[t(591)][t(662)][t(531)](t(472))[t(510)](e=>{const i=t;e.on(i(581),(t,e,s)=>{const n=i;if(" "!=e[n(610)][n(535)]||e[n(610)][n(485)][n(514)]>1)return;if(!s[n(432)][n(536)](e[n(610)],t[n(609)]))return;const r=s[n(712)],o=s[n(632)][n(572)](e[n(633)]);r[n(507)](o,r[n(738)](n(452)))})}),this[t(591)][t(662)][t(531)](t(472))[t(556)]({model:t(562)}),this[t(591)][t(726)][t(529)].on(t(589),function(e){const i=t,s=e[i(437)][i(682)](i(629));return(t,n,r)=>{const o=i,a=n[o(582)][o(668)](":")[1],c=s[o(666)](a);if(!c)return null;const u=o(510)==c[o(700)]?o(668):o(546);if(!r[o(432)][o(470)](n[o(639)],t[o(609)]))return;const l=n[o(639)][o(702)](),h=n[o(639)][o(480)],d=e[o(440)][o(613)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(610)];p=p||d[o(494)](e);const i=r[o(632)][o(675)](e);if(i&&i[o(690)](o(659)))return;o(714)==t[o(700)]&&d[o(597)](e)&&!d[o(691)](e)&&(e[o(439)]||h[o(468)]?f&&f[o(485)]==e||(f=e,g(t[o(543)]),v=!0):m=m||t[o(543)])}function g(t){const e=o,i=r[e(712)][e(642)](e(452),{class:e(636)+u}),a=r[e(632)][e(550)](t);c[e(535)][e(563)]&&r[e(712)][e(530)](e(636)+u+e(555),i),s[e(731)]==c&&r[e(712)][e(530)](e(490),i),r[e(712)][e(422)](a,i),r[e(632)][e(719)](i,n[e(582)])}p||v||!m||g(m)}}(this[t(591)]),{priority:t(461)}),this[t(591)][t(726)][t(529)].on(t(541),(e,i,s)=>{const n=t,r=s[n(632)][n(548)](i[n(582)]);if(r)for(const t of r)(t[n(436)](n(542))||t[n(436)](n(624)))&&(s[n(632)][n(665)](t,i[n(582)]),s[n(712)][n(717)](t))},{priority:t(461)}),this[t(591)][t(726)][t(529)].on(t(589),(e,i,s)=>{const n=t,r=i[n(582)][n(668)](":")[1],o=this[n(666)](r);if(!o)return null;const a=n(510)==o[n(700)]?n(668):n(546);if(s[n(432)][n(470)](i[n(639)],e[n(609)]))for(const t of i[n(639)][n(463)]()){if(!t.is(n(638),n(424)))continue;const e=s[n(712)][n(642)](n(452),{class:n(636)+a}),r=s[n(632)][n(550)](this[n(591)][n(440)][n(487)](t));o[n(535)][n(563)]&&s[n(712)][n(530)](n(636)+a+n(555),e),this[n(731)]==o&&s[n(712)][n(530)](n(490),e),s[n(712)][n(422)](r,e),s[n(632)][n(719)](e,i[n(582)])}},{priority:t(461)}),this[t(591)][t(440)][t(504)].on(t(595),()=>{const e=t;this[e(591)][e(726)][e(551)][e(595)](t=>{const i=e;for(const e of this[i(591)][i(440)][i(504)][i(606)]()){const s=this[i(591)][i(440)][i(504)][i(722)](e),n=this[i(591)][i(726)][i(551)][i(504)][i(722)](e);if(n){const e=s[i(678)](i(430));if(t[i(692)](i(577),n),t[i(653)](i(607),n),t[i(653)](i(517),n),t[i(653)](i(704),n),e){const s=this[i(666)](e);if(!s)return null;t[i(660)](i(577),e,n),t[i(530)](i(509)+s[i(700)],n),this[i(731)]==s&&t[i(530)](i(704),n)}}}})}),this[t(591)][t(662)][t(531)](t(479))[t(707)]({view:t(647),model:e=>t(721)+e,converterPriority:t(655)}),this[t(591)][t(662)][t(531)](t(479))[t(707)]({view:t(657),model:e=>t(569)+e,converterPriority:t(655)}),this[t(591)][t(662)][t(531)](t(472))[t(556)]({model:t(533),view:e=>({name:t(698)+e,group:t(533)}),converterPriority:t(655)}),this[t(591)][t(662)][t(531)](t(499))[t(656)]({model:t(533),view:e=>{const i=t,s=e[i(582)][i(668)](":")[1];return i(603)!=s&&i(684)!=s?null:{classes:[i(460),i(716)+s]}}}),this[t(591)][t(726)][t(529)].on(t(728),le(this[t(591)],t(546)),{priority:t(461)}),this[t(591)][t(726)][t(529)].on(t(423),le(this[t(591)],t(668)),{priority:t(461)}),this[t(591)][t(726)][t(529)].on(t(467),(e,i,s)=>{const n=t,r=s[n(632)][n(548)](i[n(582)]);if(r)for(const t of r)t.is(n(725))&&(s[n(632)][n(665)](t,i[n(582)]),s[n(712)][n(717)](t))},{priority:t(461)})}[oe(666)](t){const e=oe;return this[e(620)][e(682)](t)}[oe(734)](t){const e=oe;return this[e(473)]&&this[e(473)][e(608)](),this[e(473)]=new Jt(this[e(591)][e(630)],t),this[e(473)]}[oe(592)](){const t=oe;this[t(591)][t(440)][t(504)][t(486)][t(687)](t(562)),this.on(t(671),(e,i,s,n)=>{const r=t;n&&this[r(676)][r(717)](n),s&&(this[r(676)][r(510)]({view:s,stackId:r(573),position:{target:()=>{const t=r,e=this[t(591)][t(726)],i=this[t(666)](s[t(428)]);let n;if(i[t(535)][t(576)]){const s=e[t(551)][t(599)](i[t(469)]);n=Array[t(654)](s[t(492)]())}else{const i=this[t(591)][t(440)][t(708)][t(682)](t(646)+s[t(428)]);n=Array[t(654)](e[t(632)][t(548)](i[t(609)]))[t(635)](i=>e[t(551)][t(442)][t(459)](i))[t(635)](e=>Array[t(654)](e[t(492)]()))[t(578)]()}return this[t(645)]&&n[t(733)](e=>e[t(547)]-3<=this[t(645)].y&&e[t(601)]+3>=this[t(645)].y&&e[t(458)]-3<=this[t(645)].x&&e[t(612)]+3>=this[t(645)].x)||n[0]}}}),this[r(676)][r(680)](r(573)))}),this.on(t(564),(e,i,s,n)=>{const r=t;this[r(699)]=s?this[r(734)](s):null,this[r(591)][r(440)][r(595)](()=>{const t=r,e=this[t(591)][t(726)];n&&(n[t(535)][t(576)]?e[t(551)][t(595)](i=>{const s=t;i[s(653)](s(704),e[s(551)][s(504)][s(722)](n[s(469)]))}):e[t(587)](t(646)+n.id)),s&&(s[t(535)][t(576)]?e[t(551)][t(595)](i=>{const n=t;i[n(530)](n(704),e[n(551)][n(504)][n(722)](s[n(469)]))}):e[t(587)](t(646)+s.id))})}),this[t(720)](this[t(591)][t(726)][t(551)][t(504)],t(538),(e,i)=>{const s=t;if(this[s(731)])return;const n=this[s(483)](i[s(742)]),r=this[s(620)][s(682)](n);r?(this[s(645)]={x:i[s(493)].x,y:i[s(493)].y},this[s(699)]=this[s(734)](r)):(this[s(645)]=null,this[s(699)]=null)}),this[t(720)](this[t(591)][t(726)][t(551)][t(504)],t(667),(e,i)=>{const s=t,n=this[s(483)](i[s(742)]),r=this[s(620)][s(682)](n);r?(this[s(645)]={x:i[s(493)].x,y:i[s(493)].y},r===this[s(731)]?this[s(676)][s(522)]():this[s(731)]=r):(this[s(645)]=null,this[s(731)]=null)})}[oe(483)](t){const e=oe;do{const i=t[e(678)](e(577));if(i)return i;t=t[e(485)]}while(t);return null}[oe(661)](){const t=oe;this[t(591)][t(440)][t(595)](e=>{const i=t;for(const t of this[i(591)][i(440)][i(708)])e[i(495)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(432)][r(470)](s[r(639)],i[r(609)]))return;const o=s[r(639)][r(702)](),a=s[r(639)][r(480)],c=t[r(440)][r(613)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(610)];h=h||c[r(494)](e);const i=n[r(632)][r(675)](e);if(i&&i[r(690)](r(659)))return;r(714)==t[r(700)]&&c[r(597)](e)&&!c[r(691)](e)&&(e[r(439)]||a[r(468)]?u&&u[r(485)]==e||(u=e,f(t[r(543)]),d=!0):l=l||t[r(543)])}function f(t){const i=r,o=n[i(632)][i(550)](t),a=n[i(712)][i(642)](i(452),{class:i(716)+e});n[i(712)][i(422)](o,a),n[i(632)][i(719)](a,s[i(582)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(437)][e(682)](ue);this[e(634)]=!1,this[e(720)](i,e(672),()=>this[e(540)]()),this[e(720)](i,e(631),()=>this[e(540)]())}[oe(695)](){const t=oe,e=this[t(591)],i=e[t(437)][t(682)](ue),s=i[t(705)]?i[t(669)][t(554)]:null;e[t(431)][t(682)](t(559))[t(621)](s)}[oe(540)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(591)][t(437)][t(682)](ue),r=n&&s[t(568)](n[t(554)]);this[t(500)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(450)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(437)][i(682)](ue);this[i(634)]=!1,this[i(450)]=i(625)===e?1:-1,this[i(720)](s,i(672),()=>this[i(540)]()),this[i(720)](s,i(631),()=>this[i(540)]()),this[i(720)](s,i(564),()=>this[i(540)]())}[oe(695)](){const e=oe,i=this[e(591)],s=i[e(437)][e(682)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(731)]=n?s[e(669)][e(566)][e(682)](r+this[e(450)]):s[e(669)][e(566)][e(425)],s[e(731)][e(535)][e(576)])o=i[e(726)][e(551)][e(599)](s[e(731)][e(469)]);else{const t=i[e(440)][e(708)][e(682)](e(646)+s[e(731)].id);o=(0,X.getMarkerDomElement)(i[e(726)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(540)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(591)][t(437)][t(682)](ue);this[t(500)]=!!(r&&n&&s)&&(!e||(1===this[t(450)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();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-=117]})(t,e)}function ve(){const t=["span","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation","ck-hidden","7296576kWRkCe","Total","No changes","isEnabled","Show previous change","isReady","setTemplate","numberOfChanges","set","backward","isForwardNavigationEnabled","forward","_statusText","execute","7007735NBgZWZ","6177582XsdWnP","isBackwardNavigationEnabled","7481425TAxDar","ck-revision-history-ui__changes-navigation__label","X_OF_Y_CHANGES","isNavigationMode","40615101dIMgph","EDIT_X_OF_Y_REVISIONS","fire","4098993xdLNAO","div","bindTemplate","4VjOEbu","Loading...","Show next change","_isStatusLabelVisible","787812EYpnZF","bind","8QCzzyl"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(950135===-parseInt(e(150))/1*(-parseInt(e(154))/2)+parseInt(e(147))/3+parseInt(e(123))/4+-parseInt(e(137))/5+parseInt(e(138))/6+parseInt(e(140))/7*(parseInt(e(156))/8)+-parseInt(e(144))/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(149)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(131)](e(143),!1),this[e(131)](e(128),!1),this[e(131)](e(158),0),this[e(131)](e(130),0),this[e(131)](e(133),!1),this[e(131)](e(139),!1),this[e(155)](e(153)).to(this,e(128),this,e(130),(t,e)=>t&&e>0),this[e(155)](e(135)).to(this,e(128),this,e(158),this,e(130),this,e(143),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(151));if(!n)return at(t,o(125));const a=at(t,o(120),n);return r?at(t,o(142),[s+1,n]):a}),s[e(131)]({label:at(t,e(127)),tooltip:!0,icon:_t.IconChevronUp}),n[e(131)]({label:at(t,e(152)),tooltip:!0,icon:_t.IconChevronDown}),s[e(155)](e(126)).to(this,e(139)),n[e(155)](e(126)).to(this,e(133)),s.on(e(136),()=>this[e(146)](e(136),e(132))),n.on(e(136),()=>this[e(146)](e(136),e(134))),this[e(129)]({tag:e(148),attributes:{class:["ck",e(119),e(121)]},children:[{tag:e(157),attributes:{class:[e(118)]},children:[{tag:e(157),attributes:{class:[e(141),i.if(e(153),e(122),t=>!t)]},children:[{text:i.to(e(143),i=>i?at(t,e(145))+": ":at(t,e(124))+": ")}]},{text:i.to(e(135))}]},new It.ToolbarSeparatorView,{tag:e(148),attributes:{class:[e(117)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;!function(t){const e=_e,i=t();for(;;)try{if(930572===parseInt(e(415))/1*(parseInt(e(423))/2)+-parseInt(e(413))/3*(parseInt(e(410))/4)+-parseInt(e(420))/5+-parseInt(e(407))/6+-parseInt(e(422))/7+parseInt(e(408))/8*(-parseInt(e(419))/9)+parseInt(e(427))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);const we=be(417);function _e(t,e){const i=Se();return(_e=function(t,e){return i[t-=404]})(t,e)}class Ie extends G.Plugin{static get[be(421)](){return be(416)}static get[be(414)](){return!0}static get[be(426)](){return!0}[be(409)](){const t=be,e=this[t(425)][t(404)][t(411)];e[t(424)](i=>{const s=t;for(const t of e[s(418)][s(406)])i[s(412)](we,t)})}[be(405)](){const t=be,e=this[t(425)][t(404)][t(411)];e[t(424)](i=>{const s=t;for(const t of e[s(418)][s(406)])i[s(428)](we,t)})}}function Se(){const t=["editing","hide","roots","1151226NiUOGw","248uxdBPl","show","20moTPFS","view","addClass","605037WNmbDp","isOfficialPlugin","59SEnpKf","RevisionViewerLoadingOverlay","ck-editor__editable__loading-overlay","document","536994mFdoql","8758785hlmxmg","pluginName","380240uYIdRt","34058uNGqgj","change","editor","isPremiumPlugin","47818500xfFoOg","removeClass"];return(Se=function(){return t})()}const Oe=xe;function Te(){const t=["plugins","change:isReady","117VbxYPs","isNavigationMode","set","closeRevisionViewerCallback","bind","showNextChange","showPreviousChange","commands","isPremiumPlugin","init","config","revisionHistory","1385535vrVsYr","exitToEditing","add","currentChangeNumber","ck-revision-history-ui__back-to-editing","7304TGFPSO","isOfficialPlugin","6XRYpXK","Restore this revision","54565KHKLPP","execute","1575TLwaRa","listenTo","pluginName","731210SrrOcF","componentFactory","Back to editing","requires","show","hide","719313FaDkpL","isEnabled","restoreRevision","isReady","2657288yBuCJn","forward","isForwardNavigationEnabled","isBackwardNavigationEnabled","RevisionViewerUI","239078HWYrZl","editor","numberOfChanges","get","changesNavigation"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=128]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(364660===-parseInt(e(146))/1+parseInt(e(155))/2+parseInt(e(174))/3+-parseInt(e(150))/4+-parseInt(e(135))/5*(-parseInt(e(133))/6)+-parseInt(e(137))/7*(-parseInt(e(131))/8)+-parseInt(e(162))/9*(-parseInt(e(140))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(139)](){return Oe(154)}static get[Oe(132)](){return!0}static get[Oe(170)](){return!0}static get[Oe(143)](){return[ue,Ie]}[Oe(171)](){const t=Oe,e=this[t(156)],i=e[t(160)][t(158)](ue),s=e[t(160)][t(158)](Ie);e.ui[t(141)][t(128)](t(175),i=>{const s=t,n=new It.ButtonView(i);return n[s(164)]({label:at(i,s(142)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(130)}),this[s(138)](n,s(136),()=>{const t=s;e[t(172)][t(158)](t(173))[t(165)]()}),n}),e.ui[t(141)][t(128)](t(148),i=>{const s=t,n=new It.ButtonView(i);return n[s(164)]({label:at(i,s(134)),withText:!0,tooltip:!0}),n[s(166)](s(147)).to(e[s(169)][s(158)](s(148))),this[s(138)](n,s(136),()=>e[s(136)](s(148))),n}),e.ui[t(141)][t(128)](t(159),s=>{const n=t,r=new ge(s),o=e[n(169)][n(158)](n(168)),a=e[n(169)][n(158)](n(167));return r[n(166)](n(153)).to(o,n(147)),r[n(166)](n(152)).to(a,n(147)),r[n(166)](n(149),n(129),n(157),n(163)).to(i),this[n(138)](r,n(136),(t,i)=>{const s=n;e[s(136)](s(151)===i?s(167):s(168))}),r}),s[t(144)](),i.on(t(161),(e,i,n)=>{const r=t;n?s[r(145)]():s[r(144)]()})}}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Vt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=De;function De(t,e){const i=Ve();return(De=function(t,e){return i[t-=168]})(t,e)}function Ve(){const t=["ck-revision-history-sidebar__revision-name","value","extendTemplate","listenTo","render","853572xFtjEe","5828328cIbdwh","placeholder","5JGWgka","88GXQOzB","Revision name","7HvZnzY","clientWidth","10zhlwnF","bindTemplate","span","input","scrollWidth","1350460tNktVD","element","Enter the revision name","4420888GwBlUX","172333niEyXh","ck-tooltip_multi-line","_tooltipString","2512420cIdEpd","5458044ILbypY","9qHIcNv","set","fieldView","_updateTooltipText","destroy","_resizeObserver"];return(Ve=function(){return t})()}!function(t){const e=De,i=t();for(;;)try{if(513927===parseInt(e(179))/1*(-parseInt(e(170))/2)+-parseInt(e(195))/3+-parseInt(e(182))/4*(parseInt(e(198))/5)+-parseInt(e(183))/6*(parseInt(e(168))/7)+parseInt(e(178))/8*(-parseInt(e(184))/9)+-parseInt(e(175))/10+-parseInt(e(199))/11*(-parseInt(e(196))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends It.LabeledFieldView{[Me(189)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(171)];this[i(185)]({label:at(t,i(200)),_tooltipString:""}),this[i(186)][i(197)]=at(t,i(177)),this[i(192)]({tag:i(172),attributes:{class:[i(190)],"data-cke-tooltip-text":s.to(i(181)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(180)}})}[Me(194)](){const e=Me;super[e(194)](),this[e(189)]=new t.ResizeObserver(this[e(186)][e(176)],()=>this[e(187)]()),this[e(193)](this[e(186)],e(173),()=>this[e(187)]())}[Me(188)](){const t=Me;super[t(188)](),this[t(189)]&&this[t(189)][t(188)]()}[Me(187)](){const t=Me,e=this[t(186)][t(176)];this[t(181)]=e[t(174)]>e[t(169)]&&e[t(191)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Pe(){const t=["Revision author","set","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","3660112kFERsB","ck-revision-history-sidebar__revision-author_creator","name","45423NbxENR","4QbGNuP","960618VFkuyj","9qlIway","span","285054UJicVb","0 0 11 10","Revision creator","setTemplate","490XMQunU","14324NkYeAw","push","497139NtZFfk","77iDfRjT","595310WXMJHv"];return(Pe=function(){return t})()}function Le(t,e){const i=Pe();return(Le=function(t,e){return i[t-=273]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(267533===parseInt(e(281))/1+parseInt(e(282))/2*(parseInt(e(293))/3)+-parseInt(e(291))/4*(parseInt(e(290))/5)+parseInt(e(283))/6+parseInt(e(286))/7+-parseInt(e(278))/8*(-parseInt(e(284))/9)+-parseInt(e(273))/10*(parseInt(e(294))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class je extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(275)]({content:_t.IconUser,viewBox:s(287)});const r=["ck",s(277)];i&&r[s(292)](s(279));const o=[{tag:s(285),attributes:{class:["ck",s(276)],title:at(t,s(i?288:274))},children:[n,e[s(280)]]}];this[s(289)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["898893Htmvxu","2334885RYpMqw","8ViuipD","4022447OVYOSr","toLocaleDateString","892158prfBkt","numeric","115mWzakP","long","toLocaleTimeString","56884BFdnNt","1179450ywLUmB","4943hJifnr","20sLcgBB","20BlMKwl"];return(ze=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=138]})(t,e)}!function(t){for(var e=We,i=t();;)try{if(197128===parseInt(e(151))/1*(-parseInt(e(152))/2)+parseInt(e(139))/3+-parseInt(e(149))/4*(-parseInt(e(146))/5)+parseInt(e(144))/6+-parseInt(e(140))/7*(-parseInt(e(141))/8)+-parseInt(e(150))/9+-parseInt(e(138))/10*(parseInt(e(142))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ue=i(505),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Vt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=Be();return(Ze=function(t,e){return i[t-=146]})(t,e)}function Be(){const t=["Compare against selected","action","items","isEnabled","function","ck-revision-history-sidebar__revision__actions","isActionsDropdownOpen","menu","isReady","listenTo","source","add","find","400728obYatr","button","253yLyfIT","map","789060FGmbOW","children","menuitem","locale","8286867rtZAsb","set","1783956NezbJK","isOpen","execute","name","class","2830849krObAg","panelPosition","buttonView","bindTemplate","change:isActionsDropdownOpen","isVisible","extendTemplate","Restore this revision","50qltwIx","Name this revision","model","520433txmDnH","4UqRhAb","8JxGloY","Show more items","first","stopPropagation","_action","10ELlPrH","bind","listView","2392959iCfYYp","ck-on"];return(Be=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(614750===-parseInt(e(191))/1*(-parseInt(e(192))/2)+parseInt(e(150))/3+parseInt(e(165))/4*(parseInt(e(188))/5)+-parseInt(e(169))/6+parseInt(e(180))/7*(parseInt(e(193))/8)+-parseInt(e(173))/9*(-parseInt(e(147))/10)+parseInt(e(167))/11*(-parseInt(e(175))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Be);var $e=i(898),qe={attributes:{"data-cke":!0}};qe.setAttributes=Mt(),qe.insert=At().bind(null,"head"),qe.domAPI=xt(),qe.insertStyleElement=Vt();Ot()($e.A,qe);$e.A&&$e.A.locals&&$e.A.locals;function Ye(){const t=["setName","214067wQDEVW","map","isConfirm","element","2JAXETs","createdAt","set","render","ck-revision-history-sidebar__revision_selected","isSelected","highlight","ck-reset","ck-revision-history-sidebar__revision__date","length","listenTo","_createdAtFormatted","filter","958010MDdyvX","change","_revision","bind","30zbYQlp","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision__controls-wrapper","extendTemplate","isReady","unshift","span","1524835IvzlUI","48536PPQoGD","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision-wrapper","uiLanguage","isEnabled","revisionNameView","fire",".ck-confirm-view","ck-disabled","5243696QiusoP","creator","220","_requireRevisionName","value","fieldView","bindTemplate","2362650kFpbSD","ck-revision-history-sidebar__revision","name","div","ck-revision-history-sidebar__revision_highlighted","deselect","authors","1255838XWuQFZ","setTemplate","from","unhighlight","closest","select","revisionActionsView","22EEZJiN","isActionsDropdownOpen","ck-revision-history-sidebar__revision-authors","1332PPOppj","isHighlighted","srcElement"];return(Ye=function(){return t})()}const Je=Ge;function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=213]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(980906===parseInt(e(222))/1*(parseInt(e(240))/2)+parseInt(e(215))/3+-parseInt(e(274))/4+-parseInt(e(264))/5+-parseInt(e(257))/6*(parseInt(e(236))/7)+-parseInt(e(265))/8*(-parseInt(e(232))/9)+-parseInt(e(253))/10*(parseInt(e(229))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Xe extends((0,X.ConfirmMixin)(It.View)){id;[Je(270)];[Je(228)];[Je(255)];[Je(277)];constructor(e,i,s,n){const r=Je;super(e);const o=this[r(214)],a=function(t,e){const i=r,s=Array[i(224)](e[i(221)])[i(252)](t=>t!=e[i(275)]);return e[i(275)]&&s[i(262)](e[i(275)]),s[i(237)](s=>new je(t,s,s==e[i(275)]))}(e,i);this.id=i.id,this[r(255)]=i,this[r(277)]=n,this[r(256)](r(217),r(241)).to(i),this[r(256)](r(251)).to(this,r(241),t=>{return i=e[r(268)],(s=t)[(n=We)(143)](i,{month:n(147),day:n(145)})+", "+s[n(148)](i,{hour:n(145),minute:n(145)});var i,s,n}),this[r(242)](r(245),!1),this[r(242)](r(233),!1),this[r(242)](r(230),!1),this[r(242)](r(261),!1),this[r(242)](r(269),!1),this[r(270)]=new Ee(e,It.createLabeledInputText),this[r(270)][r(213)][r(260)]({attributes:{maxlength:r(276)}}),this[r(270)][r(213)][r(256)](r(278)).to(this,r(217),t=>t||this[r(251)]),this[r(270)][r(256)](r(269)).to(this,r(245),this,r(269),(t,e)=>t&&e),this[r(228)]=s&&s[r(249)]?function(e,i){const s=Ze,n=e[s(183)],r=e[s(172)],o=(0,It.createDropdown)(r);o[s(181)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(172)],n={"Compare against selected":at(s,i(152)),"Name this revision":at(s,i(189)),"Restore this revision":at(s,i(187))};return e[i(168)](t=>{const e=i,s=n[t[e(178)]];return s&&s!==t[e(178)]&&(t[e(178)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(166),model:new It.UIModel({label:t[n(178)],class:t[n(179)],withText:!0,role:n(171),_action:t[n(153)]})};i[n(190)][n(148)](n(155)).to(e,n(158),i=>n(156)!=typeof t[n(155)]||!i||t[n(155)](e)),o[n(163)](i)}return o}(e,i);return e[s(148)](s(158)).to(o,s(176)),o[s(182)][s(174)]({label:at(r,s(194)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(186)]({attributes:{class:[s(157),n.if(s(158),s(151))]},on:{click:n.to(t=>t[s(196)]())}}),o.on(s(177),t=>{const i=s;e[i(160)]&&i(156)==typeof t[i(162)][i(146)]&&t[i(162)][i(146)](e)}),(0,It.addListToDropdown)(o,a,{role:s(159)}),o[s(161)](e,s(184),(t,n,r)=>{const a=s;if(r)for(const t of o[a(149)][a(154)]){const s=t[a(170)][a(195)],n=i[a(164)](t=>t[a(153)]===s[a(146)])[a(185)];t[a(185)]=void 0===n||n(e)}}),o}(this,s):"",this[r(228)]&&this[r(228)][r(256)](r(269)).to(this),this[r(223)]({tag:r(218),attributes:{class:["ck",r(247),r(267),o.if(r(238),r(266))]},children:[{tag:r(218),attributes:{class:["ck",r(247),r(216),o.if(r(269),r(273),t=>!t),o.if(r(245),r(244)),o.if(r(233),r(219)),o.if(r(230),r(258))]},children:[this[r(270)],{tag:r(263),attributes:{class:["ck",r(248)]},children:[{text:o.to(r(251))}]},{tag:r(218),attributes:{class:["ck",r(259)]},children:[{tag:"ul",attributes:{class:["ck",r(231)]},children:a}]},this[r(228)]],on:{click:o.to(t=>{const e=r;t[e(234)][e(226)](e(272))||this[e(261)]&&this[e(269)]&&this[e(271)](e(227),{id:this.id})})}}]})}[Je(243)](){const t=Je;super[t(243)]();const e=this[t(270)][t(213)][t(239)];this[t(250)](e,t(254),()=>{const i=t;this[i(277)]&&!e[i(278)]||this[i(271)](i(235),{id:this.id,name:e[i(278)]}),e[i(278)]||(e[i(278)]=this[i(217)]?this[i(217)]:this[i(251)])})}[Je(227)](){this[Je(245)]=!0}[Je(220)](){this[Je(245)]=!1}[Je(246)](){this[Je(233)]=!0}[Je(225)](){this[Je(233)]=!1}}class Ke extends Error{}class Qe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class si extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Ke{}class ri extends Ke{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Di=null;class Vi extends Mi{static get instance(){return null===Di&&(Di=new Vi),Di}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 Pi extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(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=Pi.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:Ds(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 ji=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=ji.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),ji.set(i,s)),s}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function Bi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function qi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):Bs(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&&Pi.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 Xi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,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=js(s)||vs.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Hi=null,ji.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ki.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"===Bi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,js(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return qi(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 qi(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 qi(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 qi(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()||Bi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Xi,...e}),$i.set(t,e)}return e}(this.locale):Xi}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(Ds(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?Vi.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Pi.create(t)}return Vs(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,Vi.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=js(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Ki.resetCache(),Pi.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Xs(c,e,i)):u>Xs(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=qs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=qs(c)):u>a?(c=s+1,u-=qs(s)):c=s;const{month:l,day:h}=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 As(t,e){if(!Ds(t.localWeekday)||!Ds(t.localWeekNumber)||!Ds(t.localWeekYear)){if(!Ds(t.weekday)||!Ds(t.weekNumber)||!Ds(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Ds(t.localWeekday)||(t.weekday=t.localWeekday),Ds(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ds(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Ds(t){return void 0===t}function Vs(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 Ps(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 js(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Es(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Ds(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Ds(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Ds(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Bs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function qs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Xs(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(qs(t)-s+n)/7}function Ks(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}${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:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function 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}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Dn=Tn("year","ordinal"),Vn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Vn.source})?`);function Cn(t,e,i){const s=t[e];return Ds(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 Pn(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]?Pi.create(t[e]):null,e+1]}const jn=RegExp(`^T?${Nn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Wn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(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?Ks(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 Bn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,qn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Xn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Kn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,Pn,Ln),ir=Sn(Mn,Fn,Pn,Ln),sr=Sn(Dn,Fn,Pn,Ln),nr=Sn(Fn,Pn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Vn),cr=Sn(Fn,Pn,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(Ds(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(Ds(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||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vs(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[jn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Ds(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+=Bs(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;Vs(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vs(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 Pi.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative: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 Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Dr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=jr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{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,Ks);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 Vr(l);case"uu":return Vr(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 Dr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\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 Ds(t.z)||(i=Pi.create(t.z)),Ds(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Ds(t.q)||(t.M=3*(t.q-1)+1),Ds(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),Ds(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function 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 Br(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function qr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Xr(t,e,i=!0){return t.isValid?wn.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Ki.fromObject(e);let n,r;if(Ds(t.year))n=vs.now();else{for(const e of so)Ds(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Ds(i.round)||i.round,n=(t,n)=>{t=Bs(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=Ds(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=Vs(t.o)&&!t.old?t.o:e.offset(this.ts);s=qr(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||Ki.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:Ki.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Vs(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Ki.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vs(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Ki.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=Ki.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Ds(e.specificOffset)?i.offset(a):e.specificOffset,u=!Ds(n.ordinal),l=!Ds(n.year),h=!Ds(n.month)||!Ds(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=qr(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){Ds(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,Xs(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,qs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?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,[Xn,er],[Kn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,Bn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[qn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Ds(t)||Ds(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.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=jr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Ki.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=qr(a,r),l=qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Br(this,{ts:a}),Br(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?qs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xs(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 Br(this,{ts:s,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Br(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Ds(e.weekYear)||!Ds(e.weekNumber)||!Ds(e.weekday),r=!Ds(e.ordinal),o=!Ds(e.year),a=!Ds(e.month)||!Ds(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):Ds(e.ordinal)?(l={...this.toObject(),...e},Ds(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 Br(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Br(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Br(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=Kr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Xr(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 Xr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Xr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Xr(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 Ps(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ps(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Ki.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=Ki.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Pr(n,t)}static fromFormatParser(t,e,i={}){if(Ds(t)||Ds(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.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 Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Vs(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=["16zVJVCZ","284792CIRpOF","fromJSDate","minus","4PUPUxd","startOf","hasSame","month","toJSDate","year","2030328nDRrWr","toRelativeCalendar","week","day","2592090JtGAYy","monthLong","weekdayLong","local","1850sjXTvE","23045cUeSQt","1042055dWxSQT","setLocale","982848WygFDu","2qwETfd","2168215BnhrCn"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=395]})(t,e)}function go(t,e){const i=vo,s=fo[i(410)](t)[i(404)](e),n=fo[i(400)](),r=n[i(411)]({days:1})[i(413)](i(396));let o,a;return s[i(414)](n,i(396))?(o=s[i(413)](i(396))[i(416)](),a=s[i(419)]()):s[i(414)](r,i(396))?(o=r[i(416)](),a=s[i(419)]()):s[i(414)](n,i(395))?(o=s[i(413)](i(395))[i(416)](),a=s[i(399)]||""):s[i(414)](n,i(417))?(o=s[i(413)](i(415))[i(416)](),a=s[i(398)]||""):(o=s[i(413)](i(417))[i(416)](),a=String(s[i(417)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(456054===parseInt(e(409))/1*(-parseInt(e(406))/2)+-parseInt(e(397))/3+parseInt(e(412))/4*(parseInt(e(403))/5)+parseInt(e(405))/6+parseInt(e(407))/7*(parseInt(e(408))/8)+parseInt(e(418))/9+parseInt(e(401))/10*(parseInt(e(402))/11))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=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=289]})(t,e)}function _o(){const t=["5316294TOCbDi","removeRevision","remove","addRevision","518283natmOr","7SHAeff","130JJWZYT","27504KsUiMX","select","startDate","40532987fRyDTw","find","add","revisionViews","207uZFYDP","_revisionActions","505fKgmYH","span","setTemplate","locale","739076eenXDF","delegate","div","localizedPeriodName","uiLanguage","createCollection","5642568loXlRZ","21332MJJTOj","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","_requireRevisionName","setName"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(564262===-parseInt(e(290))/1+-parseInt(e(297))/2*(parseInt(e(317))/3)+-parseInt(e(310))/4*(-parseInt(e(319))/5)+parseInt(e(303))/6*(-parseInt(e(308))/7)+-parseInt(e(296))/8+parseInt(e(307))/9*(-parseInt(e(309))/10)+parseInt(e(313))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(312)];[bo(316)];[bo(318)];[bo(301)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(289)][n(294)])[n(293)];this[n(312)]=e,this[n(316)]=this[n(295)](),this[n(318)]=i,this[n(301)]=s,this[n(316)][n(291)](n(311)).to(this),this[n(316)][n(291)](n(302)).to(this),this[n(321)]({tag:n(292),attributes:{class:["ck",n(300)]},children:[{tag:n(320),attributes:{class:["ck",n(299)]},children:[{text:r}]},{tag:n(292),attributes:{class:["ck",n(298)]},children:this[n(316)]}]})}[bo(306)](t){const e=bo,i=new Xe(this[e(289)],t,this[e(318)],this[e(301)]);this[e(316)][e(315)](i)}[bo(304)](t){const e=bo,i=this[e(316)][e(314)](e=>e.id===t.id);this[e(316)][e(305)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["div","span","ck-revision-history-sidebar__header","33CZoGln","Revision history","1IGkneg","17784mXgtUw","ck-reset_all","15896DbKfol","9920784rADvvi","3630JXPRxJ","5495utYCJV","2426222XmKvtR","9021070KOBFyR","ck-revision-history-sidebar__header__label","content","setTemplate","484456ZJQERd","5338773ezDhDV"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=388]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(904375===-parseInt(e(388))/1*(-parseInt(e(395))/2)+-parseInt(e(405))/3*(-parseInt(e(400))/4)+parseInt(e(396))/5+-parseInt(e(392))/6+parseInt(e(394))/7*(-parseInt(e(391))/8)+-parseInt(e(389))/9*(parseInt(e(393))/10)+parseInt(e(401))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(398)]=_t.IconHistory,this[e(399)]({tag:e(402),attributes:{class:["ck",e(390),e(404)]},children:[i,{tag:e(403),attributes:{class:["ck",e(397)]},children:[at(t,e(406))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Vt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Do;function Do(t,e){const i=Eo();return(Do=function(t,e){return i[t-=324]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(602858===parseInt(e(378))/1*(-parseInt(e(345))/2)+-parseInt(e(361))/3+-parseInt(e(374))/4+parseInt(e(349))/5*(-parseInt(e(330))/6)+parseInt(e(363))/7+parseInt(e(368))/8+parseInt(e(335))/9*(parseInt(e(332))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends It.View{[Mo(352)];[Mo(347)];[Mo(367)];[Mo(342)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(338)];this[n(352)]=this[n(372)](),this[n(352)][n(354)](n(355)).to(this),this[n(352)][n(354)](n(353)).to(this),this[n(347)]=e,this[n(367)]=i,this[n(342)]=s,this.on(n(355),(t,e)=>{const i=n;this[i(343)](i(365),e)}),this.on(n(353),(t,e)=>{const i=n;this[i(343)](i(357),e)}),this[n(369)](n(331),!1),this[n(370)]({tag:n(359),attributes:{class:["ck",n(344),n(358),n(346)]},children:[new No(t),{tag:n(359),attributes:{class:["ck",n(328),r.if(n(331),n(375),t=>!t)]},children:this[n(352)]}]})}[Mo(329)](){const t=Mo;super[t(329)]();for(const e of this[t(347)])this[t(376)](e);this[t(347)].on(t(377),(e,i)=>{this[t(376)](i)}),this[t(347)].on(t(326),(e,i)=>{this[t(327)](i)})}get[Mo(360)](){const t=Mo;return this[t(352)][t(333)](e=>e[t(360)][t(333)](t=>t))[t(362)]()}[Mo(351)](t){const e=Mo;for(const i of this[e(360)])t&&t.id===i.id?i[e(355)]():i[e(336)]()}[Mo(334)](t){const e=Mo;for(const i of this[e(360)])t[e(366)](({id:t})=>t===i.id)?i[e(373)]():i[e(324)]()}[Mo(376)](t){const e=Mo,i=go(t[e(364)],this[e(341)][e(348)])[e(371)];let s=this[e(352)][e(339)](0);s&&s[e(371)][e(340)]()===i[e(340)]()||(s=new Io(this[e(341)],i,this[e(367)],this[e(342)]),this[e(352)][e(377)](s)),s[e(350)](t)}[Mo(327)](t){const e=Mo,i=go(t[e(364)],this[e(341)][e(348)])[e(371)];this[e(356)](i)[e(325)](t)}[Mo(356)](t){const e=Mo;return this[e(352)][e(337)](i=>i[e(371)][e(340)]()===t[e(340)]())}}function Eo(){const t=["60iEvDFw","map","highlightRevisions","3086037SBaHyG","deselect","find","bindTemplate","get","getTime","locale","_requireRevisionName","fire","ck-reset","497828FEVoRG","ck-revision-history-sidebar","_revisions","uiLanguage","2071700FCshHO","addRevision","selectRevision","timePeriodViews","setName","delegate","select","_getTimePeriodViewByStartDate","revisionSetName","ck-rounded-corners","div","revisionViews","904542wdCBuo","flat","3335605WyQjLi","createdAt","revisionSelected","some","_revisionActions","444232dYCNRD","set","setTemplate","startDate","createCollection","highlight","4087104ZjRnVy","ck-disabled","_addRevision","add","1XdTfzA","unhighlight","removeRevision","remove","_removeRevision","ck-revision-history-sidebar__timeline","render","6mJcPgy","isEnabled"];return(Eo=function(){return t})()}const Co=Po;function Fo(){const t=["setName","nameRevision","114646MbkRll","data","string","assign","_handleRevisionSetName","selectRevision","remove","12mMCxMq","timePeriodViews","defaultRevisionActions","2305256XMncYm","revisionHistory","_createRevisionActions","_revisionViewer","88DVNJNO","getIndex","revisionHistory.requireRevisionName","Name this revision","2756765JSgQKM","restoreRevision","_sidebarView","_handleEditorDataReady","Restore this revision","isPremiumPlugin","RevisionsSidebar","name","diff","availableRevisionActions","requires","restoreRevisionCallback","40ycauIS","Compare against selected","333104qxyALo","bind","getEarlierVisibleRevision","element","revisionHistory.revisionActions","plugins","_handleRevisionSelected","isOfficialPlugin","isEnabled","select","add","revisionSetName","pluginName","getRevision","map","get","change:diff","ready","revisionHistory.viewerSidebarContainer","compare","isReady","compareAgainstSelected","_handleDiffChange","editor","length","render","locale","focus","action","248391yusmpD","init","_revisions","appendChild","264246PWejBy","_revisionsRepository","config","listenTo","highlightRevisions","repository","fieldView","getRevisionsInDiff","3172098MkCDPS","isSelected","isVisible","revisionViews","getLaterVisibleRevision","newRevisionId","revisionSelected","destroy"];return(Fo=function(){return t})()}function Po(t,e){const i=Fo();return(Po=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=Po,i=t();for(;;)try{if(288494===parseInt(e(410))/1+-parseInt(e(360))/2*(parseInt(e(385))/3)+parseInt(e(388))/4+-parseInt(e(396))/5+parseInt(e(368))/6+parseInt(e(378))/7*(-parseInt(e(392))/8)+parseInt(e(356))/9*(parseInt(e(408))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends G.Plugin{[Co(391)];[Co(361)];[Co(398)];static[Co(387)]=[Co(348),Co(397),Co(377)];static[Co(405)]=function(){const t=Co;return{compareAgainstSelected:{name:t(409),action:({plugins:e},i)=>{const s=t,n=e[s(342)](ue),r=n[s(365)];let o=n[s(404)][s(373)],a=i.id;r[s(393)](o)>r[s(393)](a)&&([o,a]=[a,o]),n[s(346)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(342)](ue);return!(n[s(365)][s(367)](n[s(404)])[s(351)]>2||i[s(369)])}},restoreRevision:{name:t(400),action:(e,{id:i})=>{const s=t;e[s(362)][s(342)](s(389))[s(407)](i)},isVisible:({plugins:e},i)=>!!e[t(342)](ue)[t(365)][t(372)](i.id)},nameRevision:{name:t(395),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(342)](ue),o=r[n(365)][n(412)](i);r[n(346)](i,o),s[n(354)](),s[n(366)][n(419)]()}}}}();static get[Co(422)](){return Co(402)}static get[Co(417)](){return!0}static get[Co(401)](){return!0}static get[Co(406)](){return[ue]}constructor(t){const e=Co;super(t),this[e(391)]=t[e(415)][e(342)](ue),this[e(361)]=this[e(391)][e(365)],this[e(398)]=null}[Co(357)](){const t=Co,e=this[t(361)][t(358)],i=this[t(390)](),s=this[t(350)][t(362)][t(342)](t(345));this[t(398)]=new Vo(this[t(350)][t(353)],e,i,this[t(350)][t(362)][t(342)](t(394))),this[t(398)].on(t(374),this[t(416)][t(411)](this)),this[t(398)].on(t(421),this[t(382)][t(411)](this)),this[t(398)][t(411)](t(418)).to(this[t(391)]),this[t(398)][t(386)].on(t(420),(e,i)=>{const s=t;i[s(371)].on(s(420),(t,e)=>{const i=s;e[i(411)](i(418),i(347)).to(this[i(391)])})}),this[t(398)][t(352)](),this[t(363)](this[t(350)][t(379)],t(344),this[t(399)][t(411)](this)),this[t(363)](this[t(391)],t(343),this[t(349)][t(411)](this)),s[t(359)](this[t(398)][t(413)])}[Co(375)](){const t=Co;this[t(398)][t(413)][t(384)](),this[t(398)][t(375)]()}[Co(399)](){const t=Co,e=this[t(361)][t(423)](0);if(e){const i=this[t(361)][t(412)](e.id);this[t(391)][t(346)](e,i)}}[Co(416)](t,e){const i=Co,s=this[i(361)][i(423)](e.id),n=this[i(361)][i(412)](s.id);this[i(391)][i(346)](s,n)}[Co(382)](t,e){const i=Co;this[i(361)][i(423)](e.id)[i(376)](e[i(403)])}[Co(349)](t,e,i){const s=Co,n=this[s(361)][s(367)](i);n[s(351)]>2?(this[s(398)][s(364)](n),this[s(398)][s(383)](null)):(this[s(398)][s(364)]([]),this[s(398)][s(383)](n[0]))}[Co(390)](){const t=Co,e=this[t(350)],i=Lo[t(405)],s=e[t(362)][t(342)](t(414))||Lo[t(387)];if(s[t(351)])return s[t(341)](s=>{const n=t,r=n(380)==typeof s?Object[n(381)]({},i[s]):s;return r[n(355)]=r[n(355)][n(411)](this,e),r[n(370)]&&(r[n(370)]=r[n(370)][n(411)](this,e)),r})}}const jo=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=494]})(t,e)}function Wo(){const t=["viewportTopOffset","render","_toolbarConfig","isActive","getRoot","addToolbar","viewportOffset","115409TVVxYZ","bind","1243062GRXtXi","document","attachDomRoot","editable","name","_view","componentFactory","setEditableElement","1619814UapEdU","element","isFocused","editing","init","88XYenlG","ready","toolbar","view","fillFromConfig","2891070PufsOa","87702ALyUQV","replace","editor","rootName","16VbPNBp","config","_initToolbar","_elementReplacer","focusTracker","stickyPanel","destroy","113034OpCmZw","242620NAvfsR","restore","detachDomRoot","5taHiBw","get","limiterElement","fire"];return(Wo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(141168===parseInt(e(509))/1*(parseInt(e(494))/2)+-parseInt(e(505))/3*(parseInt(e(498))/4)+parseInt(e(506))/5+parseInt(e(530))/6+-parseInt(e(520))/7*(-parseInt(e(535))/8)+-parseInt(e(522))/9+-parseInt(e(540))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[jo(527)];[jo(515)];[jo(501)];get[jo(538)](){return this[jo(527)]}constructor(e,i){const s=jo;super(e),this[s(527)]=i,this[s(515)]=(0,It.normalizeToolbarConfig)(e[s(499)][s(510)](s(537))),this[s(501)]=new t.ElementReplacer}get[jo(531)](){const t=jo;return this[t(538)][t(531)]}[jo(534)](t){const e=jo,i=this[e(496)],s=this[e(538)],n=i[e(533)][e(538)],r=s[e(525)],o=n[e(523)][e(517)]();r[e(526)]=o[e(497)],s[e(514)]();const a=r[e(531)];this[e(529)](r[e(526)],a),s[e(525)][e(521)](e(532)).to(this[e(502)]),n[e(524)](a),this[e(501)][e(495)](t,this[e(531)]),this[e(500)](),this[e(512)](e(536))}[jo(504)](){const t=jo;super[t(504)]();const e=this[t(538)],i=this[t(496)][t(533)][t(538)];this[t(501)][t(507)](),i[t(508)](e[t(525)][t(526)]),e[t(504)]()}[jo(500)](){const t=jo,e=this[t(538)];e[t(503)][t(521)](t(516)).to(this[t(502)],t(532)),e[t(503)][t(511)]=e[t(531)],e[t(503)][t(521)](t(513)).to(this,t(519),({top:t})=>t),e[t(537)][t(539)](this[t(515)],this[t(528)]),this[t(518)](e[t(537)])}}var Ho=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Vt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var Bo=qo;function $o(){var t=["top","main","299596IZUrmc","29215BmJMQu","633189BGVXqO","109524cCMkhA","toolbar","4693448wffRmi","content","shouldToolbarGroupWhenFull","_editable","582MOCofp","4GpkSDi","add","960gOeRly","stickyPanel","render","568384gsJhRR","7hvNoLI","11169jmGjOM","editable"];return($o=function(){return t})()}function qo(t,e){var i=$o();return(qo=function(t,e){return i[t-=279]})(t,e)}!function(t){for(var e=qo,i=t();;)try{if(444554===-parseInt(e(290))/1+parseInt(e(285))/2*(-parseInt(e(298))/3)+-parseInt(e(299))/4+-parseInt(e(297))/5*(parseInt(e(284))/6)+-parseInt(e(291))/7*(parseInt(e(280))/8)+parseInt(e(292))/9+parseInt(e(287))/10*(parseInt(e(296))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[Bo(283)];[Bo(288)];[Bo(279)];get[Bo(293)](){return this[Bo(283)]}constructor(t,e,i={}){var s=Bo;super(t),this[s(288)]=new It.StickyPanelView(t),this[s(279)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(282)]}),this[s(283)]=new It.InlineEditableUIView(t,e)}[Bo(289)](){var t=Bo;super[t(289)](),this[t(288)][t(281)][t(286)](this[t(279)]),this[t(294)][t(286)](this[t(288)]),this[t(295)][t(286)](this[t(293)])}}function Jo(t,e){const i=Xo();return(Jo=function(t,e){return i[t-=347]})(t,e)}const Go=Jo;function Xo(){const t=["3fEoIwL","editing","model","sourceElement","ready","document","fire","21CQBLQr","410568PrPlKx","destroy","6368hxKsdW","initPlugins","1548OsrpeL","create","1165747XLGAhP","10tlXDTu","view","_ui","initialData","6920IzASPT","init","239208IgDSDQ","createRoot","524cyJeOR","get","data","253874mYBbsd","2407ptvCme","locale","config","updateSourceElement"];return(Xo=function(){return t})()}!function(t){const e=Jo,i=t();for(;;)try{if(164325===parseInt(e(363))/1+parseInt(e(362))/2*(parseInt(e(367))/3)+-parseInt(e(359))/4*(parseInt(e(355))/5)+-parseInt(e(375))/6*(-parseInt(e(374))/7)+-parseInt(e(377))/8*(-parseInt(e(348))/9)+parseInt(e(351))/10*(-parseInt(e(350))/11)+-parseInt(e(357))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Go(353)];get ui(){return this[Go(353)]}constructor(t,e){const i=Go;super(e),this[i(370)]=t,this[i(369)][i(372)][i(358)]();const s=new Yo(this[i(364)],this[i(368)][i(352)],{shouldToolbarGroupWhenFull:!0});this[i(353)]=new Uo(this,s)}[Go(376)](){const t=Go;return this[t(366)](),this.ui[t(376)](),super[t(376)]()}static async[Go(349)](t,e){const i=Go,s=new this(t,e);return await s[i(347)](),await s.ui[i(356)](t),await s[i(361)][i(356)](s[i(365)][i(360)](i(354))||""),s[i(373)](i(371)),s}}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=266]})(t,e)}function ea(){const t=["disableReadOnlyMode","AIQuickActions","revisionHistory.editorContainer","RevisionHistory","join","getAttributeKeys","enqueueChange",".ck-ai-chat__prompt-input .ck-textarea","toLocaleTimeString","5PwUPAf","isReady","AITabs","config","result","setSelection","restoreRevision","RestrictedEditingMode","define","_recalculatePageBreaks","2087816YlsoTt","1UPxjwR","remove","getRevisionRootsAttributes","3706542SqHOpD","translations","push","7UiaBHq","error","RevisionViewerIntegration","ck-tab-panel_disabled","parse","730ckCxlI","Users","toJSON","editor","repository","style","addUser","removeAttribute","isReadOnly","keys","createdAt","_enhanceCloseRevisionViewerCallback","DocumentOutline","createRangeIn","exitToEditing","data","querySelector","RevisionHistoryUtils","refreshPositioning","isAnonymous","replace","260084emBxGx","DocumentOutlineUI","save","revisionHistory.viewerEditorElement","revisionHistory.restoreRevisionCallback","refreshVisibility","requires","bind","getMarkersGroup","setAttribute","then","AIChatHistory","_showRevisionViewer","isPremiumPlugin","_viewerEditor","fromCharCode","long","view","addRoot","panelViews","change","AIChat","revisionHistory.requireRevisionName","toolbar","getRevisions","_cleanUp","numeric","roots","isAttached","init","display","Dialog","revisionHistory","_update","uiLanguage","saveRevision","changesNavigation","revisionHistory.closeRevisionViewerCallback","map","markers","toLocaleDateString","detachRoot","closeRevisionViewerCallback","creator","none","model","locale","454494NkWIzx","Autosave","document","tabindex","_getRevisionViewerEditorConfig","selection","Restored","create","removeSelectionAttribute"," ck-tab-panel_disabled","commands","AIBalloon","pluginName","isOpen","isOfficialPlugin","block","has","end","set","getRevisionDocumentData","revision-history-viewer-opened","isRevisionViewerOpen","2707320afhYaM","lazyRoots","getUser","$graveyard","users","showRevisionViewerCallback","RevisionsRepository","hide","revision-history-missing-configuration","removeMarker","addRevisionData","RevisionHistoryUI","_restoreRevision","plugins","_enhanceShowRevisionViewerCallback","indexOf",".ck-ai-chat-history .ck-input","AIActions","rootName","restrictedEditingException","fromVersion","name","adapter","revisionHistory.viewerContainer","catch","RevisionViewer","destroy","PaginationLookup","isEnabled","1464902YVtwOn","getRevision","update","get","loadRevisionData","includes","1393266iMKoBT","revisionHistory.showRevisionViewerCallback","getRoot","toVersion","enableReadOnlyMode","class","Annotations","element","insert","_closeRevisionViewer","from","AIReviewMode","RevisionTracker"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(376589===-parseInt(e(341))/1*(parseInt(e(302))/2)+-parseInt(e(308))/3+parseInt(e(340))/4*(parseInt(e(330))/5)+parseInt(e(420))/6+parseInt(e(347))/7*(-parseInt(e(273))/8)+-parseInt(e(344))/9+-parseInt(e(352))/10*(-parseInt(e(373))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(284),Qo(337),Qo(394),Qo(319),Qo(431),Qo(322),Qo(290)];class sa extends G.Plugin{[Qo(334)];static get[Qo(432)](){return Qo(349)}static get[Qo(434)](){return!0}static get[Qo(386)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(411)](t=>String[e(388)](t))[e(325)]("")}super(t),this[e(334)]=e(268),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(387)];static get[Qo(432)](){return Qo(324)}static get[Qo(434)](){return!0}static get[Qo(386)](){return!0}static get[Qo(379)](){return[pt,Bt]}constructor(e){const i=Qo;if(super(e),!this[i(355)][i(333)][i(305)](i(405)))throw new t.CKEditorError(i(281),this);this[i(387)]=null,this[i(269)](i(272),!1),this[i(355)][i(333)][i(338)](i(309),t=>this[i(385)]({...t,translations:this[i(355)][i(419)][i(345)]})),this[i(355)][i(333)][i(338)](i(410),t=>this[i(317)](t)),this[i(355)][i(333)][i(338)](i(377),t=>this[i(285)](t)),this[i(355)][i(333)][i(338)](i(395),!1),this[i(287)](),this[i(363)]()}set[Qo(295)](t){const e=Qo;this[e(355)][e(286)][e(305)](e(320))[e(295)]=t}get[Qo(295)](){const t=Qo;return this[t(355)][t(286)][t(305)](t(320))[t(295)]}[Qo(283)](t){const e=Qo;return this[e(355)][e(286)][e(305)](e(320))[e(283)](t)}[Qo(303)](t){const e=Qo;return this[e(355)][e(286)][e(305)](e(279))[e(303)](t)}[Qo(397)](t){const e=Qo;return this[e(355)][e(286)][e(305)](e(279))[e(397)](t||{toJSON:!1})}[Qo(424)](){const e=Qo,i=this[e(355)],s=(0,X.sanitizeEditorConfig)(i,ia),n=i[e(286)][e(305)](e(320)),r=i[e(286)][e(305)](e(353))[e(277)];return s[e(396)]=[e(366),e(336),e(409)],delete s[e(274)],s[e(286)][e(346)](sa,ue,Ne,class extends G.Plugin{static get[e(379)](){return[ue,e(353)]}[e(402)](){const s=e,o=this[s(355)][s(286)][s(305)](s(353));for(const t of r)t[s(371)]||o[s(275)](t.id)||o[s(358)](t);const a=n[s(356)][s(397)]();let c=null;const u=this[s(355)][s(286)][s(305)](s(298));u[s(295)]=n[s(295)],u[s(380)](s(301)).to(n),this[s(355)][s(430)][s(305)](s(336))[s(380)](s(301)).to(i,s(360),t=>!t);for(const e of a){const i=null===e[s(416)];if(i&&e[s(311)]===e[s(293)])continue;const r=e[s(354)]();u[s(283)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(406)](r,o);else if(!o){const e=a[u(354)]();e.id=(0,t.uid)(),n[u(408)](e,a[u(311)])[u(383)](t=>{c=t})}}else e[u(406)](r,o)})}}},Lo),s}[Qo(287)](){const t=Qo,e=this[t(355)][t(333)][t(305)](t(405))[t(278)];this[t(355)][t(333)][t(269)](t(309),async()=>{const i=t;this[i(355)][i(312)](i(271));const s=this[i(355)][i(286)][i(305)](i(320));if(this[i(355)][i(286)][i(267)](i(421))){const t=this[i(355)][i(286)][i(305)](i(421));await t[i(375)]()}else await s[i(304)]();if(this[i(355)][i(286)][i(267)](i(300))&&this[i(355)][i(286)][i(305)](i(300))[i(339)](),this[i(355)][i(286)][i(267)](i(404))){const t=this[i(355)][i(286)][i(305)](i(404));t[i(433)]&&t[i(280)]()}if(this[i(355)][i(286)][i(267)](i(332))){const t=this[i(355)][i(286)][i(305)](i(332))[i(390)][i(392)];for(const e of t)e[i(313)]=e[i(313)]?e[i(313)]+i(429):i(350);if(this[i(355)][i(286)][i(267)](i(394))){const t=document[i(368)](i(328));t&&t[i(382)](i(423),"-1")}if(this[i(355)][i(286)][i(267)](i(384))){const t=document[i(368)](i(289));t&&t[i(382)](i(423),"-1")}}const n=this[i(424)]();return e(n)[i(383)](t=>{const e=i;return this[e(387)]=t,this[e(355)][e(286)][e(267)](e(314))&&this[e(355)][e(286)][e(305)](e(314))[e(378)](),this[e(355)][e(286)][e(267)](e(364))&&(this[e(355)][e(286)][e(305)](e(374))[e(390)][e(315)][e(357)][e(403)]=e(417)),t})[i(297)](t=>(console[i(348)](t),this[i(355)][i(321)](i(271)),null))})}[Qo(363)](){const t=Qo,e=this[t(355)][t(333)][t(305)](t(405))[t(415)];this[t(355)][t(333)][t(269)](t(410),()=>{const i=t;if(this[i(355)][i(286)][i(267)](i(300))&&this[i(355)][i(286)][i(305)](i(300))[i(339)](),this[i(355)][i(286)][i(267)](i(364))&&(this[i(355)][i(286)][i(305)](i(374))[i(390)][i(315)][i(357)][i(403)]=""),this[i(355)][i(286)][i(267)](i(332))){const t=this[i(355)][i(286)][i(305)](i(332))[i(390)][i(392)];for(const e of t)e[i(313)]=i(350)===e[i(313)]?"":e[i(313)][i(372)](i(429),"");if(this[i(355)][i(286)][i(267)](i(394))){const t=document[i(368)](i(328));t&&t[i(359)](i(423))}if(this[i(355)][i(286)][i(267)](i(384))){const t=document[i(368)](i(289));t&&t[i(359)](i(423))}}return this[i(387)][i(286)][i(305)](i(298))[i(398)](),e(this[i(387)])[i(383)](()=>{const t=i;if(this[t(355)][t(321)](t(271)),this[t(387)]=null,this[t(355)][t(286)][t(267)](t(314))){const e=this[t(355)][t(286)][t(305)](t(314));e[t(378)](),e[t(370)]()}})})}[Qo(385)](t){const e=Qo,i=this[e(355)][e(333)][e(305)](e(323)),s=this[e(355)][e(333)][e(305)](e(296)),n=this[e(355)][e(333)][e(305)](e(376));return Ko[e(427)](n,t)[e(383)](t=>(s[e(357)][e(403)]=e(266),i[e(357)][e(403)]=e(417),this[e(272)]=!0,t))}[Qo(317)](t){const e=Qo,i=this[e(355)][e(333)][e(305)](e(323));return this[e(355)][e(333)][e(305)](e(296))[e(357)][e(403)]=e(417),i[e(357)][e(403)]="",this[e(272)]=!1,t[e(299)]()}async[Qo(285)](t){const e=Qo,i=this[e(355)],s=this[e(387)][e(286)][e(305)](e(298)),n=i[e(286)][e(305)](e(320)),r=i[e(286)][e(305)](e(369)),o=s[e(356)][e(303)](t);let a,c,u;try{await r[e(306)](o,this[e(295)]),a=r[e(270)](o),c=r[e(343)](o)}catch(t){return void console[e(348)](t)}i[e(418)][e(393)](t=>{const s=e;for(const e of Array[s(318)](i[s(418)][s(412)][s(381)](s(292))))t[s(282)](e)}),s[e(331)]=!1,i[e(418)][e(327)](t=>{const s=e;t[s(335)](null),t[s(428)](i[s(418)][s(422)][s(425)][s(326)]());const n=Object[s(361)](a);for(const e of i[s(418)][s(422)][s(400)])s(276)!=e[s(291)]&&e[s(401)]()&&!n[s(307)](e[s(291)])&&t[s(414)](e);for(const e of n){let n=i[s(418)][s(422)][s(310)](e);n&&n[s(401)]()||(n=t[s(391)](e));const r=c[e],o=Object[s(361)](r),u=a[e];for(const e of n[s(326)]())o[s(307)](e)||t[s(359)](e,n);for(const i of o)t[s(382)](i,c[e][i],n);t[s(342)](t[s(365)](n)),t[s(316)](i[s(367)][s(351)](u,n),n,0)}});const l=at(i[e(419)],e(426));return u=o[e(294)]?-1==o[e(294)][e(288)](l)?l+": "+o[e(294)]:o[e(294)]:l+": "+o[e(362)][e(413)](i[e(419)][e(407)],{month:e(389),day:e(399)})+", "+o[e(362)][e(329)](i[e(419)][e(407)],{hour:e(399),minute:e(399)}),await n[e(408)]({name:u}),s[e(331)]=!0,i[e(333)][e(305)](e(405))[e(415)]()}}function ra(){var t=["55302hOyxxN","17980VUdXsv","14502MhTlAN","998106TINZBx","40ApOAYG","96dXQhKm","9871731UzPAGI","4232uquTtq","767819fcPHNl","8393GRyHYA","640agafQq","413nlSLmv","21OJubnX"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=306]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(807269===-parseInt(e(315))/1*(parseInt(e(316))/2)+parseInt(e(318))/3*(parseInt(e(313))/4)+parseInt(e(307))/5*(parseInt(e(306))/6)+-parseInt(e(314))/7*(-parseInt(e(310))/8)+parseInt(e(309))/9+-parseInt(e(317))/10*(parseInt(e(312))/11)+parseInt(e(308))/12*(-parseInt(e(311))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
|