@ckeditor/ckeditor5-revision-history 47.4.0-alpha.1 → 47.4.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +12 -12
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},102:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},297:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},929:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>mt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,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]",x="[object Float64Array]";function T(t,e,i,s=new Map,A=void 0){const M=A?.(t,e,i,s);if(null!=M)return M;if(null==(R=t)||"object"!=typeof R&&"function"!=typeof R)return t;var R;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function M(t){return A(t)}function R(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&E(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function 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 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=P(n[e]);if(R(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 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(R(e))return i;const s=t[e];return void 0===s?Z(e)?H(t,W(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(R(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(R(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(R(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-=276]})(t,e)}function Y(){const t=["map","set","creatorId","fromVersion","setAttribute","removeAttribute","505662MoqxbP","1927386PZuGgW","fire","278735bsXxiz","27xJIgBR","toJSON","attributes","44gnXQOR","creator","_update","2631927weFSvl","14teBuHf","214162zyWCIr","6591790xkbZnX","model","authors","authorsIds","name","toVersion","4317408oYXsVf","diffData","createdAt","setName"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(551128===parseInt(e(285))/1+-parseInt(e(302))/2+-parseInt(e(283))/3+-parseInt(e(280))/4*(parseInt(e(276))/5)+parseInt(e(303))/6*(parseInt(e(284))/7)+-parseInt(e(292))/8+-parseInt(e(277))/9*(-parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[q(281)];[q(288)];[q(293)];[q(291)];[q(299)];[q(287)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(281)]=e[i(281)]||null,this[i(288)]=e[i(288)]||[],this[i(293)]=e[i(293)]||null,this[i(291)]=e[i(291)]||0,this[i(299)]=e[i(299)]||0,this[i(297)](i(290),e[i(290)]||""),this[i(297)](i(294),e[i(294)]||new Date),this[i(297)](i(279),e[i(279)]||{})}[q(295)](t){this[q(282)]({name:t})}[q(300)](t,e){const i=q,s=M(this[i(279)]);U(s,t,e),this[i(282)]({attributes:s})}[q(301)](t){const e=q,i=M(this[e(279)]);(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)),R(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,W(e));if(R(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(282)]({attributes:i})}[q(282)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(290),i(294),i(293),i(288),i(279),i(291),i(299),i(298)];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(288)]&&(n[i(289)]=n[i(288)][i(296)](t=>t.id),delete n[i(288)]),this[i(304)](i(282),n,e))}[q(278)](){const t=q;return{id:this.id,name:this[t(290)],creatorId:this[t(281)]?this[t(281)].id:null,authorsIds:this[t(288)][t(296)](t=>t.id),diffData:this[t(293)],createdAt:this[t(294)],attributes:this[t(279)],fromVersion:this[t(299)],toVersion:this[t(291)]}}}var G=i(782),K=i(211),X=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=362]})(t,e)}function et(){const t=["1527447rhZzDA","toJSON","RevisionsRepository","115438XbBNeT","getIndex","oldRevisionId","join","8xtmCfR","creatorId","reverse","map","earlier","fromCharCode","length","afterInit","createRevision","get","getRevisions","pluginName","addRevision","_revisions","toVersion","plugins","isOfficialPlugin","diffData","2145100xKcHbx","801513FabdIV","newRevisionId","4laskGF","326491SBQwKX","editor","createdAt","add","getEarlierVisibleRevision","requires","8XEuVKF","from","authorsIds","href","Users","912625Uukwwy","later","getLaterVisibleRevision","attributes","getRevision","name","isPremiumPlugin","data","8341005kbQjgO","6LdENdj","getRevisionsInDiff","isNaN","fromVersion","push","getRevisionsIterator","getUser","804ZnUQzQ"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(906303===-parseInt(e(380))/1*(-parseInt(e(412))/2)+-parseInt(e(377))/3*(-parseInt(e(405))/4)+-parseInt(e(368))/5*(-parseInt(e(369))/6)+parseInt(e(417))/7+parseInt(e(384))/8*(-parseInt(e(403))/9)+parseInt(e(402))/10+-parseInt(e(406))/11*(parseInt(e(376))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(397)];static get[Q(411)](){return[K.Users]}static get[Q(395)](){return Q(379)}static get[Q(400)](){return!0}static get[Q(366)](){return!0}get[Q(390)](){const t=Q;return this[t(397)][t(390)]}constructor(e){const i=Q;super(e),this[i(397)]=new t.Collection}[Q(391)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[y([121])]:y([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=tt;return t[e(387)](t=>String[e(389)](t))[e(383)]("")}!function(t){const i=u();r[i]=y([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||p(y([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1767916800;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=tt,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(415)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=tt;for(const e in window)if(window[y([78,117,109,98,101,114])][i(371)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[Q(392)](t){const e=Q,i=this[e(407)][e(399)][e(393)](e(416));return new J({id:t.id,name:t[e(365)],creator:t[e(385)]?i[e(375)](t[e(385)]):null,diffData:t[e(401)]||t[e(367)],authors:t[e(414)][e(387)](t=>i[e(375)](t)),createdAt:new Date(t[e(408)]),attributes:t[e(363)],fromVersion:t[e(372)],toVersion:t[e(398)]})}[Q(396)](t,e=0){const i=Q;this[i(397)][i(409)](t,e)}[Q(364)](t){const e=Q;return this[e(397)][e(393)](t)}[Q(394)](t={toJSON:!1}){const e=Q,i=Array[e(413)](this[e(397)]);return i[e(386)](),t[e(378)]?i[e(387)](t=>t[e(378)]()):i}[Q(381)](t){const e=Q;return this[e(397)][e(381)](t)}[Q(410)](t){const e=Q,[,i]=this[e(374)](t,{direction:e(388)});return i}[Q(362)](t){const e=Q,[,i]=this[e(374)](t,{direction:e(418)});return i}[Q(370)](t){const e=Q,i=[];for(const s of this[e(374)](t[e(404)]))if(i[e(373)](s),s.id===t[e(382)])break;return i}*[Q(374)](t,{direction:e=Q(388),filter:i=()=>!0}={}){const s=Q,n=s(388)===e?1:-1;let r=this[s(397)][s(393)](t),o=this[s(381)](r);for(yield r;r;){if(o+=n,r=this[s(364)](o),!r)return;i(r)&&(yield r)}}}const st=rt;function nt(){const t=["document","getRevision","useFillerType","parse","10jZJTMq","string","2030168SDEZZL","filter","editing","innerHTML","data","domConverter","isOfficialPlugin","data-revision-","9TEBRGX","attachChange","length","1209908QPyXcy","type","default","_appendChild","getRevisionDocumentData","div","customProperties","viewChildrenToDom","startsWith","htmlProcessor","forEach","diffData","5218LMmVHt","_setCustomProperty","attributes","RevisionHistoryUtils","editor","_removeRevisionMarkers","getFillerOffset","createElement","_getViewFromDiffObj","get","processor","getRevisionRootsAttributes","domDocument","render","pluginName","marked","_getTypeCharForViewElement","toModel","8827973qKncMj","250VPNvzj","isAttached","attributesAfter","revision-end","config","342855ilrwbO","name","domChildrenToView","collaboration.channelId","11082FIXrox","constructor","_viewClassToTypeChar","366ZzgXVY","loadRevisionData","children","insertions","isPremiumPlugin","_makeModelFromViewString","append","from","fillerOffset","childNodes","1375432mutpwL","view","revision-start","_typeCharToViewClass","toData","map"];return(nt=function(){return t})()}function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=198]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(186832===parseInt(e(241))/1+parseInt(e(217))/2*(parseInt(e(248))/3)+parseInt(e(205))/4+-parseInt(e(236))/5*(parseInt(e(245))/6)+parseInt(e(270))/7+-parseInt(e(258))/8*(parseInt(e(202))/9)+-parseInt(e(268))/10*(parseInt(e(235))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(231)](){return st(220)}static get[st(200)](){return!0}static get[st(252)](){return!0}[st(247)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(261)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(249)](t,e){const i=st;if(t[i(216)]||!e)return;const s=this[i(221)][i(240)][i(226)](i(244)),n=await e[i(265)]({channelId:s,revisionId:t.id});t[i(216)]=n[i(216)]}[st(209)](t){const e=st,i={};for(const s in t[e(216)]){if(t[e(216)][s][e(203)]&&!t[e(216)][s][e(203)][e(237)])continue;const n=this[e(222)](JSON[e(267)](t[e(216)][s][e(251)])),r=this[e(221)][e(272)][e(259)][e(264)],o=new X.ViewDocumentFragment(r,n[e(263)](t=>this[e(225)](t,!1)));this[e(221)][e(198)][e(227)][e(266)](e(232)),i[s]=this[e(221)][e(198)][e(227)][e(262)](o),this[e(221)][e(198)][e(227)][e(266)](e(207))}return i}[st(228)](t){const e=st,i={};for(const s in t[e(216)])t[e(216)][s][e(203)]&&!t[e(216)][s][e(203)][e(237)]||(i[s]=t[e(216)][s][e(238)]||{});return i}[st(233)](t){const e=st;return this[e(247)][e(226)](t[e(246)])}[st(225)](t,e){const i=st,s=this[i(221)][i(272)][i(259)][i(264)];if(i(269)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(206)]||"r"==t[i(206)]?[]:t[i(250)][i(263)](t=>this[i(225)](t,e));const o=this[i(261)][i(226)](t[i(206)])||X.ViewElement,a=this[i(221)][i(198)][i(214)][i(199)];if(n=new o(s,t[i(242)],t[i(219)],r),"u"==t[i(206)]&&t[i(250)][0]){const r=t[i(250)][0];if(n[i(230)]=function(t){const e=i,s=t[e(224)](e(210));return s[e(273)]=r,s[e(257)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(208)](n);const e=Array[i(255)](a[i(212)](t,{bind:!1})),r=a[i(229)][i(224)](i(210));r[i(254)](...e),n=Array[i(255)](a[i(243)](r))[0]}}else if("r"==t[i(206)]&&t[i(250)][0]){const r=t[i(250)][0];if(n[i(230)]=function(t){t[i(273)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(208)](n);const e=Array[i(255)](a[i(212)](t,{bind:!1})),r=a[i(229)][i(224)](i(210));r[i(254)](...e);const o=Array[i(255)](a[i(243)](r));o[i(204)]>1?n[i(208)](o):n=o[0]}}if(t[i(211)])for(const[e,s]of t[i(211)])n[i(218)](e,s);const c=void 0===t[i(256)]?null:t[i(256)];return null!==c&&(n[i(223)]=()=>c),n}}[st(253)](t){const e=st,i=JSON[e(267)](t),s=this[e(221)][e(272)][e(259)][e(264)],n=new X.ViewDocumentFragment(s,i[e(263)](t=>this[e(225)](t,!0)));return this[e(221)][e(198)][e(234)](n)}[st(222)](t){const e=st;return(t=t[e(271)](t=>!t[e(242)]||e(260)!==t[e(242)]&&e(239)!==t[e(242)]))[e(215)](t=>{const i=e;i(269)!=typeof t&&(t[i(250)]=this[i(222)](t[i(250)]),t[i(219)]=t[i(219)][i(271)](t=>!t[0][i(213)](i(201))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const M=(s=s??new Map).get(t),R=s.get(i);if(null!=M&&null!=R)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,T));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,T)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=yt;!function(t){const e=yt,i=t();for(;;)try{if(359812===parseInt(e(276))/1+-parseInt(e(268))/2+-parseInt(e(110))/3*(-parseInt(e(150))/4)+parseInt(e(154))/5*(-parseInt(e(323))/6)+-parseInt(e(121))/7*(parseInt(e(153))/8)+parseInt(e(309))/9*(parseInt(e(289))/10)+-parseInt(e(151))/11*(-parseInt(e(256))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gt);class mt extends G.Plugin{[ft(419)];[ft(255)];[ft(336)]=null;[ft(143)];[ft(237)]=null;[ft(224)];[ft(277)];[ft(410)];[ft(135)];[ft(218)];[ft(219)];[ft(152)];[ft(287)];[ft(126)];static get[ft(318)](){return ft(363)}static get[ft(428)](){return!0}static get[ft(353)](){return!0}static get[ft(347)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(143)]=this[i(180)][i(222)][i(234)](i(205)),this[i(218)]=this[i(180)][i(222)][i(234)](i(360)),this[i(224)]=new pt(this[i(180)]),this[i(410)]=this[i(180)][i(368)][i(234)](i(243))||i(383),this[i(135)]=new Map,this[i(126)]=null;const s=(0,t.uid)();this[i(277)]={history:this[i(180)][i(274)][i(298)][i(382)],getLatestVersion:()=>Promise[i(187)](this[i(180)][i(274)][i(298)][i(356)]),getCurrentRevisionId:()=>s},this[i(131)](i(207),!1),this[i(131)](i(238),!0),this[i(131)](i(390),!1),this[i(180)][i(368)][i(398)](i(386),!0),this[i(180)][i(422)][i(257)](i(297))[i(374)]({view:i(272)})}[ft(265)](){const t=ft;this[t(346)](),this[t(180)][t(421)].on(t(403),()=>{const e=t,i=this[e(143)][e(156)](0),s=i&&null===i[e(324)]?i:null;if(this[e(152)]=!!s&&this[e(180)][e(368)][e(234)](e(386)),this[e(180)][e(222)][e(319)](e(244))){const t=this[e(277)][e(394)](),n=this[e(143)][e(156)](t);if(n)this[e(287)]=n[e(322)],this[e(152)]=!1;else{const t=this[e(277)][e(382)][e(355)][e(164)](t=>!t[e(225)]),n=t?t[e(169)]:this[e(277)][e(382)][e(356)];i?(i[e(370)]<n&&i[e(200)]({toVersion:n}),this[e(152)]?(this[e(277)][e(394)]=()=>s.id,this[e(287)]=s[e(322)]):(this[e(287)]=i[e(370)],this[e(152)]=!1)):(this[e(287)]=n,this[e(152)]=!1)}}else s&&(this[e(180)][e(274)][e(298)][e(382)][e(356)]=Math[e(307)](s[e(370)],this[e(180)][e(274)][e(298)][e(382)][e(356)]),s[e(322)]===s[e(370)]?(0!==s[e(322)]&&(this[e(277)][e(394)]=()=>s.id),this[e(152)]=!1):this[e(152)]&&(this[e(277)][e(394)]=()=>s.id,this[e(287)]=s[e(322)])),this[e(152)]||(this[e(287)]=this[e(180)][e(274)][e(298)][e(356)]);this[e(224)][e(265)](this[e(277)][e(382)]),this[e(258)](this[e(287)]),this[e(273)](this[e(287)]),this[e(237)]&&this[e(280)]()}),this[t(409)](t(207)).to(this,t(390),t=>!t),this[t(419)]=this[t(180)][t(368)][t(234)](t(419));const e=this[t(180)];this[t(255)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(158)==r||i(418)==r||i(388)==r||i(293)==r||i(197)==r||i(235)==r||i(432)==r){delete e[n],s=r,clearInterval(this[i(255)]),this[i(255)]=void 0;break}}i(418)==s&&e[i(264)](i(266)),i(388)==s&&e[i(264)](i(146)),i(293)==s&&e[i(264)](i(140)),i(197)==s&&e[i(264)](i(262),i(328)),i(235)==s&&e[i(264)](i(304)),i(432)==s&&e[i(264)](i(351))},1e3)}async[ft(242)](){const t=ft;if(this[t(143)][t(229)]>0){const e=this[t(143)][t(156)](0),i=await this[t(249)](e),s=await this[t(179)](e);this[t(385)](i,s)}}[ft(392)](){const t=ft;super[t(392)](),this[t(255)]&&clearInterval(this[t(255)])}[ft(144)](t){this[ft(277)]=t}async[ft(296)](){const t=ft,e=await this[t(277)][t(303)]();if(e>this[t(336)][t(370)]){await this[t(128)]();const i=this[t(248)]({revision:this[t(336)],to:e});i[t(325)]=i[t(221)][t(327)](e=>this[t(180)][t(222)][t(234)](t(283))[t(290)](e)),this[t(336)][t(200)](i)}}async[ft(343)](e={},i=null){const s=ft,n=[];await this[s(128)](),this[s(152)]=!1,i>this[s(336)][s(370)]&&(i=null),null===i&&(i=await this[s(277)][s(303)]());const r=this[s(199)](i),o=this[s(248)]({from:r,to:i});if(this[s(336)][s(370)]<i){const t=this[s(248)]({revision:this[s(336)],from:i,to:i});t[s(325)]=[],t[s(221)]=[],t.id=this[s(336)].id,this[s(336)][s(200)](t,!0),delete t[s(325)],n[s(407)](t)}e[s(116)]=this[s(180)][s(222)][s(234)](s(283)).me.id,e[s(423)]=e[s(423)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(358)](e);n[s(407)](e);const c=this[s(143)][s(412)](a);if(0!==c){const t=this[s(143)][s(156)](c-1);if(t[s(322)]!==i){const r=this[s(224)][s(227)](i,t[s(370)]),o={id:t.id,diffData:r[s(372)],authorsIds:r[s(221)],authors:r[s(221)][s(327)](t=>this[s(180)][s(222)][s(234)](s(283))[s(290)](t)),fromVersion:i};t===this[s(336)]&&(o[s(413)]=new Date(e[s(413)][s(417)]()+10)),t[s(200)](o,!0),delete o[s(325)],n[s(407)](o)}}if(this[s(237)]){for(const t of n)this[s(189)](t.id,t,!0);this[s(280)]()}return a}[ft(358)](t){const e=ft,i=this[e(143)][e(250)](t);return this[e(237)]&&i.on(e(200),(t,i,s)=>{const n=e;s||(this[n(189)](i.id,i,!0),this[n(280)]())}),this[e(143)][e(191)](i,this[e(201)](i)),i}async[ft(249)](t){const e=ft;return await this[e(218)][e(294)](t,this[e(237)]),this[e(218)][e(249)](t)}async[ft(179)](t){const e=ft;return await this[e(218)][e(294)](t,this[e(237)]),this[e(218)][e(179)](t)}[ft(280)](){const t=ft;if(0===this[t(135)][t(111)])return;if(this[t(390)])return;let e=Array[t(232)](this[t(135)][t(275)]());this[t(135)][t(335)]();for(let i=0;i<e[t(229)];i++){const s=e[i];let n=!1;for(const e of Object[t(233)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(123)](t=>null!==t),!e[t(229)])return;for(let i=0;i<e[t(229)];i++){const s=e[i];void 0!==s[t(322)]&&void 0===s[t(370)]&&(s[t(370)]=this[t(143)][t(156)](s.id)[t(370)]),void 0!==s[t(370)]&&void 0===s[t(322)]&&(s[t(322)]=this[t(143)][t(156)](s.id)[t(322)])}const i=this[t(180)][t(368)][t(234)](t(243));this[t(390)]=!0,this[t(147)](),this[t(237)][t(114)](e,i)[t(269)](()=>{this[t(390)]=!1})[t(254)](e=>{const i=t;if(e)for(const t of e)this[i(348)]({id:t.id,createdAt:t[i(413)]});this[i(170)](),this[i(280)]()})}[ft(248)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(322)],i=null!==i?i:t[s(370)];const n=this[s(224)][s(227)](e,i),r={diffData:n[s(372)],authorsIds:n[s(221)],fromVersion:e,toVersion:i};if(!t||i!==t[s(370)]){const t=i-1,e=this[s(277)][s(382)][s(338)](t);r[s(413)]=e&&e[s(413)]||new Date}if(this[s(126)]&&e===this[s(126)][s(322)])for(const t of this[s(126)][s(325)])r[s(221)][s(270)](t.id)||r[s(221)][s(407)](t.id);return r}[ft(189)](t,e,i){const s=ft;if(this[s(135)][s(319)](t)){const n=this[s(135)][s(234)](t);e=i?{...n,...e}:{...e,...n}}this[s(135)][s(131)](t,e)}[ft(348)](t){const e=ft,i=this[e(143)][e(156)](t.id);if(t[e(413)]&&(t[e(413)]=new Date(t[e(413)])),t[e(221)]){const i=this[e(180)][e(222)][e(234)](e(283));t[e(325)]=t[e(221)][e(327)](t=>i[e(290)](t))}i[e(200)](t,!0)}[ft(258)](t){const e=ft,i=this[e(143)][e(156)](this[e(143)][e(229)]-1);if(i)this[e(410)]=i.id;else{const i=!this[e(180)][e(274)][e(298)][e(115)][e(164)](t=>this[e(180)][e(274)][e(408)](t)),s=this[e(180)][e(222)][e(234)](e(283)).me.id,n=at(this[e(180)][e(136)],e(i?278:399));this[e(361)]({from:t,to:t,id:this[e(410)],name:n,creatorId:s})}}[ft(273)](t){const e=ft,i=this[e(277)][e(394)]();this[e(336)]=this[e(143)][e(156)](i),this[e(336)]||(this[e(336)]=this[e(361)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(128)](){const t=ft;this[t(152)]&&!this[t(126)]&&(await this[t(218)][t(294)](this[t(336)],this[t(237)]),this[t(224)][t(263)](this[t(336)]),this[t(126)]={fromVersion:this[t(336)][t(322)],authors:this[t(336)][t(325)][t(331)]()})}[ft(385)](e,i){const s=ft;let n=this[s(180)][s(368)][s(234)](s(404)),r=this[s(180)][s(368)][s(234)](s(397));if(void 0===n){n={};for(const t of this[s(180)][s(274)][s(298)][s(395)]())n[t]=""}if(s(217)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(180)][s(274)][s(298)][s(395)]())r[t]={}}let o=!1;const a=Object[s(233)](n),c=Object[s(233)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(285)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(233)](r[t])[s(229)]>0){o=!0;break}}o||(o=c[s(124)](t=>!this[s(180)][s(274)][s(298)][s(313)](t))),o&&(0,t.logWarning)(s(369),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(180)][s(368)][s(131)](s(404),e),this[s(180)][s(368)][s(131)](s(397),i)}[ft(147)](){const t=ft;if(!this[t(219)]){const e=this[t(180)][t(222)][t(234)](t(387));this[t(219)]=e[t(354)](at(this[t(180)][t(136)],t(389)))}}[ft(170)](){const t=ft;this[t(219)]&&(this[t(180)][t(222)][t(234)](t(387))[t(312)](this[t(219)]),this[t(219)]=null)}[ft(201)](t){const e=ft,i=this[e(143)][e(426)]();i[e(252)]();let s=0;for(;s<i[e(229)];){const n=i[s];if(n===this[e(336)]){s++;continue}if(n.id===this[e(410)])break;const r=t[e(370)]-n[e(370)]||t[e(322)]-n[e(322)];if(r>0)break;if(r<0)s++;else{if(!t[e(324)]&&n[e(324)])break;if(n[e(324)]||!t[e(324)]){if(t[e(413)]>n[e(413)])break;s++}else s++}}return s}[ft(199)](t){const e=ft,i=this[e(143)][e(426)]();i[e(252)](),i[e(306)]();const s=i[e(164)](i=>i[e(370)]<=t)[e(370)];return s<this[e(287)]?this[e(287)]:s}[ft(361)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(248)]({from:e,to:i});o[r(423)]=t,o[r(116)]=s,o.id=n;const a=this[r(358)](o);return this[r(237)]&&this[r(189)](o.id,o,!0),a}[ft(346)](){const t=ft;this[t(180)][t(422)][t(257)](t(122))[t(112)]({model:t(272)})}}class pt{[ft(180)];[ft(165)];[ft(160)];[ft(305)];[ft(174)];[ft(214)];[ft(215)];[ft(396)];[ft(202)];[ft(223)];[ft(260)];[ft(228)];[ft(420)];[ft(216)];[ft(411)];[ft(352)];[ft(168)];constructor(t){const e=ft;this[e(180)]=t,this[e(160)]=new Map,this[e(305)]=-1,this[e(174)]=-1,this[e(214)]=new Map,this[e(215)]=new Map,this[e(396)]=new Map,this[e(202)]=new Map,this[e(223)]=new Map,this[e(260)]=new Map,this[e(228)]=new Map,this[e(420)]=new Map,this[e(216)]=new Map,this[e(411)]=new Map,this[e(352)]=1}[ft(265)](t){const e=ft;this[e(165)]=t;const i=new Map,s=new Map,n=this[e(180)][e(274)][e(298)][e(115)][e(327)](t=>t[e(357)]);for(const t of n){const n=this[e(180)][e(274)][e(298)][e(313)](t),r=vt(n);i[e(131)](t,r),s[e(131)](t,Object[e(425)](n[e(247)]()))}const r=Array[e(232)](this[e(180)][e(274)][e(125)])[e(327)](t=>[t[e(423)],t[e(185)]()]),o=this[e(165)][e(356)];this[e(429)](o,i,r,s),this[e(168)]=this[e(352)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(131)](t,i),c[e(131)](t,{})}this[e(429)](Number[e(359)],a,[],c)}[ft(227)](t,e){const i=ft;if(this[i(305)]===t&&this[i(174)]<=e)this[i(160)][i(111)]>1&&this[i(391)](this[i(174)]),this[i(117)](this[i(174)],e,!0);else{if(!this[i(160)][i(319)](t)){const e=this[i(184)](t);this[i(378)](e,t,!1)}this[i(378)](t,e,!0)}return this[i(305)]=t,this[i(174)]=e,this[i(379)]()}[ft(263)](t){const e=ft;if(!this[e(160)][e(319)](t[e(322)])){const i=this[e(184)](t[e(322)]);this[e(378)](i,t[e(322)],!1)}this[e(378)](t[e(322)],t[e(370)],!1);const i=this[e(180)][e(222)][e(234)](e(360));this[e(120)](),this[e(305)]=t[e(322)],this[e(174)]=t[e(370)];for(const s in t[e(372)]){const n=t[e(372)][s][e(311)],r=M(t[e(372)][s][e(350)])||{},o=i[e(195)](t[e(372)][s][e(341)]);o[e(357)]=s,o[e(161)]=!n||!n[e(172)],o[e(172)]=()=>o[e(161)],this[e(202)][e(131)](s,o),this[e(223)][e(131)](s,r),n&&this[e(411)][e(131)](s,n);const a=this[e(373)](o);this[e(228)][e(131)](s,a);for(const[t,i]of o[e(125)]){if(!t[e(251)](e(393)))continue;const s=t[e(284)](":")[2];for(const t of i[e(239)]({singleCharacters:!0})){const i=this[e(299)](t),n=e(157)==t[e(183)]?t[e(166)][e(253)][e(331)](0,-1):t[e(166)][e(253)],r=a[e(186)](n)[e(267)](i);this[e(420)][e(131)](r,{userId:s})}o[e(125)][e(192)](t)}}this[e(168)]=this[e(352)];const s=[...Array(this[e(352)])[e(233)]()][e(331)](1)[e(123)](t=>!this[e(420)][e(319)](t));let n=0;const r=new Map;for(const o in t[e(372)]){const a=t[e(372)][o][e(311)],c=M(t[e(372)][o][e(245)])||{},u=i[e(195)](t[e(372)][o][e(342)]);u[e(357)]=o,u[e(161)]=!a||a[e(172)],u[e(172)]=()=>u[e(161)],this[e(215)][e(131)](o,u),this[e(396)][e(131)](o,c);const l=this[e(373)](u,Number[e(359)]);this[e(260)][e(131)](o,l),r[e(131)](o,u[e(172)]()?c:{});for(const[t,i]of u[e(125)]){if(!t[e(251)](e(393)))continue;const s=t[e(284)](":")[2];for(const t of i[e(239)]({singleCharacters:!0})){const i=this[e(299)](t),n=this[e(352)]++,r=e(157)==t[e(183)]?t[e(166)][e(253)][e(331)](0,-1):t[e(166)][e(253)];l[e(186)](r)[e(159)](i,n),this[e(420)][e(131)](n,{userId:s})}u[e(125)][e(192)](t)}for(const t of this[e(180)][e(274)][e(302)](u)[e(239)]({singleCharacters:!0})){const i=this[e(299)](t),r=e(157)==t[e(183)]?t[e(166)][e(253)][e(331)](0,-1):t[e(166)][e(253)],o=l[e(186)](r);o[e(267)](i)>0||o[e(159)](i,s[n++])}for(const[t,i]of u[e(125)])t[e(251)](e(393))||this[e(214)][e(131)](t,i)}const{roots:o}=this[e(160)][e(234)](t[e(322)]),{roots:a}=this[e(160)][e(234)](t[e(370)]),c=vt(o[e(234)](e(380)));this[e(202)][e(131)](e(380),c),this[e(228)][e(131)](e(380),this[e(373)](c,Number[e(359)]));const u=vt(a[e(234)](e(380)));this[e(215)][e(131)](e(380),u),this[e(260)][e(131)](e(380),this[e(373)](u));const l=Array[e(232)](this[e(215)])[e(327)](([t,e])=>[t,vt(e)]);this[e(429)](this[e(174)],l,this[e(214)],r)}[ft(230)](){const t=ft;this[t(120)](),this[t(305)]=-1,this[t(174)]=-1,this[t(160)][t(335)](),this[t(265)](this[t(165)])}[ft(429)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(M(s)),a=new Map;for(const[t,e]of i)a[n(131)](t,{start:e[n(213)][n(138)](),end:e[n(366)][n(138)](),rootName:e[n(337)][n(357)]});this[n(160)][n(131)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(391)](t){const e=ft;this[e(160)][e(192)](t)}[ft(120)](){const t=ft;this[t(420)][t(335)](),this[t(216)][t(335)](),this[t(411)][t(335)](),this[t(215)][t(335)](),this[t(396)][t(335)](),this[t(202)][t(335)](),this[t(223)][t(335)](),this[t(260)][t(335)](),this[t(228)][t(335)](),this[t(214)][t(335)](),this[t(352)]=1,this[t(168)]=this[t(352)]}[ft(373)](t,e=null){const i=ft;let s=null;t.is(i(194))||(s=new X.ModelElement(t[i(423)],{vid_start:null===e?this[i(352)]++:e++}));const n=[];for(const s of t[i(316)]())if(s.is(i(375))){n[i(407)](this[i(373)](s,e));const t=n[n[i(229)]-1];null!==e&&(e=t.is(i(375),i(362))?t[i(267)](i(384))+1:t[i(267)](i(334))+1)}else for(let t=0;t<s[i(367)];t++)n[i(407)](new X.ModelElement(i(362),{vid:null===e?this[i(352)]++:e++}));if(t.is(i(194))){const e=kt(t[i(357)]);return e[i(211)](0,n),e}return s[i(159)](i(334),null===e?this[i(352)]++:e++),s[i(211)](0,n),s}[ft(378)](t,e,i){const s=ft;this[s(120)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(160)][s(234)](t);this[s(202)]=new Map(n),this[s(223)]=new Map(M(o));for(const[t,e]of this[s(202)])if(s(380)!==t&&(this[s(215)][s(131)](t,vt(e)),this[s(396)]=new Map(M(o)),i)){const i=this[s(352)];this[s(260)][s(131)](t,this[s(373)](e)),this[s(228)][s(131)](t,this[s(373)](e,i))}this[s(168)]=this[s(352)],this[s(215)][s(131)](s(380),vt(this[s(202)][s(234)](s(380)))),i&&this[s(260)][s(131)](s(380),this[s(373)](this[s(202)][s(234)](s(380))));for(const[t,e]of r){const i=this[s(202)][s(234)](e[s(357)]),n=this[s(215)][s(234)](e[s(357)]),r=new X.ModelRange(this[s(415)](e[s(213)],i),this[s(415)](e[s(366)],i)),o=this[s(203)](r,n);i[s(125)][s(131)](t,r),this[s(214)][s(131)](t,o)}this[s(117)](t,e,i)}[ft(117)](t,e,i){const s=ft;for(const n of this[s(165)][s(376)](t,e))this[s(401)](n,i);for(const t of this[s(215)][s(275)]())t[s(125)][s(335)]();for(const[t,e]of this[s(214)])this[s(215)][s(234)](e[s(337)][s(357)])[s(125)][s(131)](t,e[s(138)]());const n=new Map,r=new Map;for(const[t,e]of this[s(215)])n[s(131)](t,vt(e)),r[s(131)](t,this[s(396)][s(234)](t));this[s(429)](e,n,this[s(214)],r)}[ft(184)](t){const e=ft,i=Array[e(232)](this[e(160)][e(233)]());i[e(127)]((t,e)=>t-e),i[e(252)]();for(const e of i)if(e<t)return e;return Number[e(359)]}[ft(314)](t,e){const i=ft,s=Array[i(232)](e[i(125)])[i(327)](([e,s])=>[e,this[i(203)](s,t)]);t[i(125)]=new Map(s)}[ft(301)](t){const e=ft;for(const i of this[e(214)][e(275)]()){const s=i[e(167)](t),n=X.ModelRange[e(196)](s);i[e(213)]=n[e(213)],i[e(366)]=n[e(366)]}}[ft(401)](t,e){const i=ft;if(i(190)!=t[i(183)]&&i(261)!=t[i(183)]){if(i(119)==t[i(183)]){const s=t[i(236)][i(337)][i(357)];this[i(215)][i(319)](s)||(this[i(215)][i(131)](s,kt(s,!0)),this[i(396)][i(131)](s,{}),e&&this[i(260)][i(131)](s,kt(s,!0)))}else{if(i(365)==t[i(183)]||i(281)==t[i(183)]||i(371)==t[i(183)])return void this[i(330)](t);i(345)==t[i(183)]&&this[i(295)](t)}if(i(345)!==t[i(183)]){const e=this[i(259)](t,this[i(215)]);e[i(279)](),this[i(301)](e)}if(e)switch(t[i(183)]){case i(119):this[i(212)](t);break;case i(113):case i(312):case i(288):this[i(226)](t);break;case i(246):this[i(344)](t);break;case i(284):this[i(310)](t)}}else this[i(171)](t,e)}[ft(259)](t,e){const i=ft,s=t[i(138)]();return s[i(209)]=t[i(209)],this[i(163)](s,e),s}[ft(133)](t){const e=ft;return t[e(327)](t=>{const i=e,s=this[i(299)](t);return Number(t[i(332)][i(267)](s))})}[ft(182)](t,e){const i=ft;if(t.is(i(375),i(362)))e[i(407)]({item:t,type:i(430)});else{t.is(i(375))&&e[i(407)]({item:t,type:i(177)});for(const s of t[i(316)]())this[i(182)](s,e);t.is(i(375))&&e[i(407)]({item:t,type:i(157)})}return e}[ft(379)](){const t=ft,e=new Map(this[t(420)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(202)][t(233)](),...this[t(215)][t(233)]()]);a[t(192)](t(380));for(const e of a){const i=this[t(215)][t(234)](e)||kt(e,!1),s=this[t(202)][t(234)](e)||kt(e,!1);i[t(172)]()||s[t(172)]()?(n[t(342)][e]=vt(i),n[t(341)][e]=vt(s),this[t(314)](n[t(341)][e],s),this[t(314)](n[t(342)][e],i),r[t(342)][e]=this[t(182)](this[t(260)][t(234)](e),[]),r[t(341)][e]=this[t(182)](this[t(228)][t(234)](e)||kt(e,!1),[])):a[t(192)](e)}for(const n of a){const o=r[t(342)][n];for(const n of o){const r=this[t(299)](n),o=n[t(332)][t(267)](r);i[t(192)](o),o>=this[t(168)]&&s[t(131)](o,e[t(234)](o))}}for(const n of a){const a=r[t(342)][n],c=this[t(133)](r[t(341)][n]);let u=0;for(const n of a){const r=this[t(299)](n),a=n[t(332)][t(267)](r);if(!s[t(319)](a)&&!o[t(319)](a))if(i[t(319)](a))u++;else{if(a!=c[u]){const s=e[t(234)](a)||e[t(234)](c[u]);for(;a!=c[u];)i[t(319)](c[u])||(o[t(131)](c[u],s),e[t(131)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(342)][e];for(const e of n){const n=this[t(299)](e),r=e[t(332)][t(267)](n);if(o[t(319)](r)){const e=o[t(234)](r);i[t(319)](r)||i[t(131)](r,{...e}),s[t(131)](r,{...e})}}}for(const e of i[t(233)]())e>=this[t(168)]&&i[t(192)](e);const c=new Map;for(const e of a){let n=r[t(342)][e];for(const e of n)if(e[t(332)].is(t(375),t(206))){const i=this[t(299)](e),n=e[t(332)][t(267)](i);if(s[t(319)](n)){const i=e[t(332)][t(271)][t(271)][t(267)](t(142)),r=c[t(234)](i)||new Set;r[t(354)](s[t(234)](n)[t(241)]),c[t(131)](i,r)}}n=r[t(341)][e];for(const e of n)if(e[t(332)].is(t(375),t(206))){const s=this[t(299)](e),n=e[t(332)][t(267)](s);if(i[t(319)](n)){const s=e[t(332)][t(271)][t(271)][t(267)](t(142)),r=c[t(234)](s)||new Set;r[t(354)](i[t(234)](n)[t(241)]),c[t(131)](s,r)}}for(const e of c[t(233)]())(s[t(319)](e)||i[t(319)](e))&&c[t(192)](e)}for(const e of a){const n=r[t(342)][e];let o=null,a=null;for(const e of n){const n=this[t(299)](e),r=e[t(332)][t(267)](n),u=c[t(234)](r);u&&t(177)==e[t(183)]&&(o=Array[t(232)](u)[0],a=e[t(332)][t(267)](t(334))),o&&(i[t(131)](r,{userId:o}),s[t(131)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(341)][e],a=n[t(342)][e];for(const{userId:e}of this[t(216)][t(275)]())null!==e&&l[t(354)](e);for(const{userId:e}of this[t(411)][t(275)]())null!==e&&l[t(354)](e);this[t(141)](a,r[t(342)][e],s,t(329),l),this[t(141)](o,r[t(341)][e],i,t(188),l),u[e]={insertions:this[t(139)](a),deletions:this[t(139)](o),attachChange:this[t(411)][t(234)](e)||null,attributesBefore:M(this[t(223)][t(234)](e))||{},attributesAfter:M(this[t(396)][t(234)](e))}}return{diffData:u,authorsIds:Array[t(232)](l)}}[ft(364)](t){const e=ft;for(const[,i]of t[e(125)]){const t=i[e(213)][e(176)]()[e(123)](t=>e(206)==t[e(423)]);for(const i of t)1==i[e(349)]&&i[e(300)](0).is(e(375),e(340))&&i[e(300)](0)[e(159)](e(308),!0)}}[ft(139)](t){const e=ft;this[e(364)](t);const i=this[e(180)][e(421)][e(130)](t,{}),s=Array[e(232)](i[e(316)]())[e(327)](t=>this[e(208)](t));return JSON[e(129)](s)}[ft(208)](t){const e=ft;if(t.is(e(362)))return t[e(421)];{const i=this[e(180)][e(222)][e(234)](e(360)),s=t,n=this[e(180)][e(421)][e(424)][e(145)],r={type:i[e(155)](s),name:s[e(423)],attributes:Array[e(232)](s[e(247)]()),children:Array[e(232)](s[e(316)]())[e(327)](t=>this[e(208)](t))};if(t.is(e(193))&&e(431)!=t[e(423)]){const i=t[e(400)](n[e(405)],n);r[e(377)][e(407)](i[e(292)])}else if(t.is(e(339))){const i=n[e(405)][e(240)](s[e(423)]);t[e(400)](i,n),r[e(377)][e(407)](i[e(315)])}const o=Array[e(232)](s[e(137)]());o[e(229)]>0&&(r[e(181)]=o);const a=s[e(175)]();return null!==a&&(r[e(204)]=a),r}}[ft(141)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(180)][r(274)];for(let s=0;s<e[r(229)];s++){const n=this[r(299)](e[s]),c=e[s][r(332)][r(267)](n),h=i[r(234)](c),d=s==e[r(229)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(241)]!=o[r(241)])&&(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(241)],d=l(393)+s+":"+h+":"+c++,f=u[l(414)](i,a);t[l(125)][l(131)](d,f),null!==h&&n[l(354)](h)}}[ft(299)](t){const e=ft;switch(t[e(183)]){case e(177):return e(142);case e(157):return e(334);default:return e(384)}}[ft(163)](t,e){const i=ft;t[i(169)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(234)](n[i(337)][i(357)]);t[s]=this[i(415)](n,r)}if(n instanceof X.ModelRange){const r=e[i(234)](n[i(337)][i(357)]);t[s]=this[i(203)](n,r)}i(337)===s&&(t[i(337)]=e[i(234)](t[i(337)][i(357)]))}}[ft(203)](t,e){const i=ft;return this[i(180)][i(274)][i(414)](this[i(415)](t[i(213)],e),this[i(415)](t[i(366)],e))}[ft(415)](t,e){const i=ft;return this[i(180)][i(274)][i(286)](e,t[i(253)],t[i(173)])}[ft(212)](t){const e=ft,i=this[e(260)][e(234)](t[e(236)][e(337)][e(357)]),s=this[e(415)](t[e(236)],i),n=null===t[e(209)]?null:t[e(209)]||this[e(180)][e(222)][e(234)](e(283)).me.id,r=s[e(271)],o=this[e(352)],a=[];for(const i of t[e(210)])if(i.is(e(375)))a[e(407)](this[e(373)](i));else for(let t=0;t<i[e(367)];t++)a[e(407)](new X.ModelElement(e(362),{vid:this[e(352)]++}));const c=this[e(352)];for(let t=o;t<c;t++)this[e(420)][e(131)](t,{userId:n});r[e(211)](s[e(134)],a)}[ft(226)](t){const e=ft;(t=this[e(259)](t,this[e(260)]))[e(279)]();const i=null===t[e(209)]?null:t[e(209)]||this[e(180)][e(222)][e(234)](e(283)).me.id,s=t[e(220)](),n=s[e(271)],r=s[e(134)];!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(375),a(362))?s[a(131)](r[a(267)](a(384)),{userId:i}):(s[a(131)](r[a(267)](a(142)),{userId:i}),t(s,r,0,r[a(349)]),s[a(131)](r[a(267)](a(334)),{userId:i}))}}(this[e(420)],n,r,r+t[e(291)])}[ft(344)](t){const e=ft,i=null===(t=this[e(259)](t,this[e(260)]))[e(209)]?null:t[e(209)]||this[e(180)][e(222)][e(234)](e(283)).me.id,s=t[e(320)][e(271)],n=t[e(427)][e(271)],r=s[e(267)](e(334)),o=n[e(267)](e(142));s[e(159)](e(334),n[e(267)](e(334))),n[e(159)](e(334),r),this[e(420)][e(131)](o,{userId:i}),this[e(420)][e(131)](r,{userId:i}),t[e(279)]()}[ft(310)](t){const e=ft,i=null===(t=this[e(259)](t,this[e(260)]))[e(209)]?null:t[e(209)]||this[e(180)][e(222)][e(234)](e(283)).me.id,s=t[e(162)],n=t[e(178)][e(271)];t[e(279)]();const r=n[e(267)](e(334)),o=t[e(402)][e(326)];if(s){const t=o[e(267)](e(334)),s=n[e(267)](e(334));n[e(159)](e(334),t),o[e(159)](e(334),s),this[e(420)][e(131)](n[e(267)](e(334)),{userId:i}),this[e(420)][e(131)](o[e(267)](e(142)),{userId:i})}else{const t=this[e(352)]++,s=this[e(352)]++;n[e(159)](e(334),t),o[e(159)](e(142),s),o[e(159)](e(334),r),this[e(420)][e(131)](t,{userId:i}),this[e(420)][e(131)](s,{userId:i})}}[ft(295)](t){const e=ft;if(!t[e(321)])return;const i=(t=this[e(259)](t,this[e(215)]))[e(148)]?t[e(148)][e(337)]:null,s=t[e(118)]?t[e(118)][e(337)]:null;i&&this[e(214)][e(192)](t[e(423)]),s&&this[e(214)][e(131)](t[e(423)],t[e(118)][e(138)]());const n=null===t[e(209)]?null:t[e(209)]||this[e(180)][e(222)][e(234)](e(283)).me.id,r=t[e(423)];if(!this[e(216)][e(319)](r))return void this[e(216)][e(131)](r,{range:t[e(148)],userId:n});const o=this[e(216)][e(234)](r),a=o[e(333)],c=t[e(118)];null==a&&null==c||a&&c&&a[e(406)](c)?this[e(216)][e(192)](t[e(423)]):o[e(241)]=n}[ft(171)](t,e){const i=ft;this[i(215)][i(319)](t[i(357)])?this[i(215)][i(234)](t[i(357)])[i(161)]=t[i(149)]:(this[i(215)][i(131)](t[i(357)],kt(t[i(357)],!0)),this[i(396)][i(131)](t[i(357)],{}),e&&this[i(260)][i(131)](t[i(357)],kt(t[i(357)],!0)));const s=null===t[i(209)]?null:t[i(209)]||this[i(180)][i(222)][i(234)](i(283)).me.id,n=this[i(411)][i(234)](t[i(357)]);n&&n[i(241)]===s?this[i(411)][i(192)](t[i(357)]):this[i(411)][i(131)](t[i(357)],{userId:s,isAttached:t[i(149)]})}[ft(330)](t){const e=ft,i=this[e(396)][e(234)](t[e(337)][e(357)]);null===t[e(416)]?delete i[t[e(381)]]:i[t[e(381)]]=t[e(416)]}}function vt(t){const e=ft,i=kt(t[e(357)],t[e(172)]());for(const s of t[e(316)]()){const t=s[e(282)](!0);i[e(132)](t)}return i}function gt(){const t=["elementStart","splitPosition","getRevisionRootsAttributes","editor","customProperties","_generateTape","type","_getPreviousFrom","getRange","getNodeByPath","resolve","deletion","_bufferUpdate","addRoot","addRevision","delete","uiElement","documentFragment","_makeModelFromViewString","_createFromRanges","revisionHistoryLicenseKeyNotAllowed","createPositionAfter","_getFromVersion","_update","_findInsertionIndex","_baseRoots","_fixRange","fillerOffset","RevisionsRepository","tableCell","isReady","_getViewJson","_authorId","nodes","_insertChild","_handleInsertOperation","start","_markers","_diffRoots","_touchedMarkers","string","_utils","_pendingAction","getMovedRangeStart","authorsIds","plugins","_baseRootsAttributes","_revisionDataBuilder","_isInit","_handleMoveOperation","getData","_baseIdsRoots","length","reInit","createPositionAt","from","keys","get","revisionHistoryLicenseKeyEvaluationLimit","position","adapter","isEnabled","getWalker","createElement","userId","afterInit","collaboration.channelId","RealTimeCollaborationClient","attributesAfter","merge","getAttributes","buildRevisionData","getRevisionDocumentData","createRevision","startsWith","reverse","path","then","_licenseKeyCheckInterval","180060BsDCSL","for","_createInitialRevision","_cloneOperation","_idsRoots","detachRoot","featureNotAllowed","loadState","_showLicenseError","init","invalid","getAttribute","247610xsJwhY","finally","includes","parent","revision","_createCurrentRevision","model","values","240203ttrrNK","_source","Empty document","_execute","sendBufferedUpdates","removeRootAttribute","_clone","Users","split","trim","createPositionFromPath","_startingVersion","reinsert","366770PrcKJL","getUser","howMany","outerHTML","revisionHistoryLicenseKeyDomainLimit","loadRevisionData","_handleMarkerOperation","update","upcast","document","_getVidAttributeName","getChild","_transformMarkers","createRangeIn","getLatestVersion","evaluationLimit","_lastFrom","shift","max","keepParagraph","9NGMqMj","_handleSplitOperation","attachChange","remove","getRoot","_copyMarkers","innerHTML","getChildren","createPositionBefore","pluginName","has","targetPosition","affectsData","fromVersion","6IUHdyC","creator","authors","nodeAfter","map","RevisionHistory","insertion","_handleRootAttributeOperation","slice","item","range","vid_end","clear","currentRevision","root","getOperation","rawElement","paragraph","deletions","insertions","saveRevision","_handleMergeOperation","marker","_setConversion","requires","setRevisionData","childCount","attributesBefore","usageLimit","_revisionId","isPremiumPlugin","add","_operations","version","rootName","addRevisionData","NEGATIVE_INFINITY","RevisionHistoryUtils","_makeRevision","$text","RevisionTracker","_processRootBeforeSave","addRootAttribute","end","offsetSize","config","editor-initial-data-replaced-with-revision-data","toVersion","changeRootAttribute","diffData","_makeIdsRoot","dataToMarker","element","getOperations","children","_calculateMetaData","_getState","$graveyard","key","history","initial","vid","_replaceEditorDataWithRevisionData","revisionHistory.resumeUnsavedRevision","PendingActions","revisionHistoryLicenseKeyExpired","PENDING_ACTION_REVISION_HISTORY","_isPendingUpdate","_removeMetaData","destroy","revision:","getCurrentRevisionId","getRootNames","_diffRootsAttributes","rootsAttributes","define","Initial revision","render","_handleOperation","insertionPosition","ready","initialData","domDocument","isEqual","push","hasContent","bind","_initialRevisionId","_touchedRoots","getIndex","createdAt","createRange","_fixPosition","newValue","getTime","revisionHistoryLicenseKeyInvalid","licenseKey","_touched","data","conversion","name","htmlProcessor","fromEntries","getRevisions","sourcePosition","isOfficialPlugin","_saveMetaData","text","$comment","revisionHistoryLicenseKeyUsageLimit","3XEwxAl","size","markerToData","move","updateRevisions","roots","creatorId","_applyOperations","newRange","insert","_reset","196vEjLxG","dataDowncast","filter","some","markers","_loadedStateData","sort","_loadState","stringify","toView","set","_appendChild","_getBaseVids","offset","_bufferedUpdates","locale","getCustomProperties","clone","_prepareViewToSave","domainLimit","_markChanges","vid_start","repository","setSource","domConverter","expired","_addPendingAction","oldRange","isAdd","1037352pPlCuM","814iVFptQ","_continueCurrentRevision","198872DSCboL","2334595IEackS","_getTypeCharForViewElement","getRevision","elementEnd","revisionHistoryLicenseKeyValid","_setAttribute","_savedMetaData","_isAttached","graveyardPosition","_fixOperation","find","source","previousPosition","getTransformedByOperation","_startingRevisionId","baseVersion","_removePendingAction","_handleRootOperation","isAttached","stickiness","_lastTo","getFillerOffset","getAncestors"];return(gt=function(){return t})()}function yt(t,e){const i=gt();return(yt=function(t,e){return i[t-=110]})(t,e)}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(357)]=t,s[i(161)]=e,s[i(172)]=()=>s[i(161)],s}function bt(t,e,i){const s=ft,n=s(157)==t[s(183)]?i[s(231)](t[s(332)],s(366)):i[s(317)](t[s(332)]);return i[s(286)](e,n[s(253)],n[s(173)])}function wt(t,e,i){const s=ft,n=s(177)==t[s(183)]?i[s(231)](t[s(332)],0):i[s(198)](t[s(332)]);return i[s(286)](e,n[s(253)],n[s(173)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),xt=i(297),Tt=i.n(xt),Nt=i(102),At=i.n(Nt),Mt=i(123),Rt=i.n(Mt),Et=i(741),Vt=i.n(Et),Dt=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Rt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Rt(),jt.insert=At().bind(null,"head"),jt.domAPI=Tt(),jt.insertStyleElement=Vt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=zt;function Pt(){const t=["set","initializeCssTransitionDisablerMixin","extendTemplate","arrowleft","ck-revision-history-save-revision-form","Name of the revision","8SmZAGY","label","12493449BYVshF","form","listenTo","17rwGFwM","ck-responsive-form","fieldView","input","setTemplate","arrowup","reset","stopPropagation","97602vvKEPE","value","arrowright","130NrBTRH","trim","25131840qriQtR","revisionNameInputView","focus","51806Klleap","render","revisionNameInputValue","optional","180912qIbmxi","keystrokes","locale","errorText","add","arrowdown","220","_createRevisionNameInput","8451513ejxAYg","1175236VbEeUE","revisionName","element","focusTracker"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(880692===-parseInt(e(241))/1*(-parseInt(e(257))/2)+parseInt(e(249))/3+-parseInt(e(270))/4+-parseInt(e(252))/5*(-parseInt(e(261))/6)+-parseInt(e(269))/7+parseInt(e(236))/8*(-parseInt(e(238))/9)+parseInt(e(254))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(273)];[Lt(262)];[Lt(255)];constructor(e,i){const s=Lt;super(e),this[s(273)]=new t.FocusTracker,this[s(262)]=new t.KeystrokeHandler,this[s(274)](s(259),""),this[s(255)]=this[s(268)](i),this[s(245)]({tag:s(239),attributes:{class:["ck",s(278),s(242)],tabindex:"-1"},children:[this[s(255)]]}),this[s(275)]()}[Lt(258)](){const t=Lt;super[t(258)](),(0,It.submitHandler)({view:this}),this[t(273)][t(265)](this[t(255)][t(272)]),this[t(262)][t(240)](this[t(272)]);const e=e=>e[t(248)]();this[t(262)][t(274)](t(251),e),this[t(262)][t(274)](t(277),e),this[t(262)][t(274)](t(246),e),this[t(262)][t(274)](t(266),e)}[Lt(256)](){const t=Lt;this[t(255)][t(256)]()}get[Lt(271)](){const t=Lt;return this[t(255)][t(243)][t(272)][t(250)][t(253)]()}set[Lt(271)](t){const e=Lt;this[e(255)][e(243)][e(272)][e(250)]=t[e(253)]()}[Lt(247)](){const t=Lt;this[t(255)][t(243)][t(272)][t(250)]="",this[t(255)][t(264)]=null}[Lt(268)](t){const e=Lt,i=new It.LabeledFieldView(this[e(263)],It.createLabeledInputText),s=i[e(243)];s[e(276)]({attributes:{maxlength:e(267)}});let n=at(this[e(263)],e(235));return!t&&(n+=" ("+at(this[e(263)],e(260))+")"),i[e(237)]=n,s.on(e(244),()=>{const t=e;this[t(259)]=s[t(272)][t(250)][t(253)]()}),i}}const Ut=Zt;function Zt(t,e){const i=$t();return(Zt=function(t,e){return i[t-=314]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(126747===parseInt(e(330))/1+-parseInt(e(372))/2+parseInt(e(365))/3+-parseInt(e(318))/4*(parseInt(e(359))/5)+parseInt(e(357))/6+parseInt(e(331))/7+-parseInt(e(339))/8*(-parseInt(e(360))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Ht extends G.Plugin{static get[Ut(315)](){return Ut(363)}static get[Ut(322)](){return!0}static get[Ut(319)](){return!0}static get[Ut(353)](){return[mt]}[Ut(314)];[Ut(337)](){const t=Ut,e=this[t(321)],i=e[t(364)][t(354)](t(332));e.ui[t(338)][t(361)](t(351),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(383)][n(334)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(375)](It.ButtonView),l=new It.ListItemView(s),h=this[n(377)](It.ButtonView);return r[n(376)](n(345)).to(i,n(367),i,n(345),e,n(333),(t,e,i)=>t&&e&&!i),r[n(350)][n(368)]({icon:_t.IconHistory,label:at(s,n(356)),tooltip:!0}),u[n(368)]({withText:!0,role:n(341)}),h[n(368)]({withText:!0,role:n(341)}),this[n(346)](h,n(366),()=>{const t=n;r[t(328)]=!1,e[t(374)][t(329)][t(336)]()},{priority:n(323)}),c[n(334)][n(361)](u),l[n(334)][n(361)](h),a[n(358)]=n(349),a[n(344)][n(362)]([c,l]),o[n(361)](a),r}),e.ui[t(338)][t(361)](t(373),()=>this[t(369)]())}[Ut(369)](){const t=Ut,e=this[t(321)],i=e[t(317)],s=e[t(364)][t(354)](t(332)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(376)](t(345)).to(s,t(367),s,t(345),e,t(333),(t,e,i)=>t&&e&&!i),n[t(350)][t(368)]({icon:_t.IconHistory,label:at(i,t(356))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(375)](It.MenuBarMenuListItemButtonView);a[t(380)](t(366)).to(n),o[t(334)][t(361)](a),r[t(344)][t(361)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(377)](It.MenuBarMenuListItemButtonView);return u[t(380)](t(366)).to(n),c[t(334)][t(361)](u),r[t(344)][t(361)](c),n[t(383)][t(334)][t(361)](r),n}[Ut(375)](t){const e=Ut,i=this[e(321)],s=i[e(364)][e(354)](e(332)),n=new t(i[e(317)]);return n[e(368)]({label:at(i[e(317)],e(320))}),n[e(376)](e(345)).to(s,e(367),s,e(345),i,e(333),(t,e,i)=>t&&e&&!i),this[e(346)](n,e(366),()=>{this[e(325)]()}),n}[Ut(377)](t){const e=Ut,i=this[e(321)],s=i[e(364)][e(354)](e(332)),n=new t(i[e(317)]);return n[e(368)]({label:at(i[e(317)],e(378))}),n[e(376)](e(345)).to(s,e(367),i,e(333),(t,e)=>t&&!e),this[e(346)](n,e(366),()=>{const t=e;i[t(385)][t(354)](t(351))[t(342)]()}),n}[Ut(325)](){const t=Ut,e=this[t(321)],i=e[t(317)],s=e[t(364)][t(354)](t(384)),n=e[t(364)][t(354)](t(332));function r(n){const r=t;e[r(385)][r(354)](r(371))&&""===n[r(352)]?n[r(348)][r(379)]=at(i,r(370)):(e[r(364)][r(354)](mt)[r(355)]({name:n[r(352)]}),s[r(316)]())}this[t(314)]||(this[t(340)](),this[t(314)].on(t(381),()=>r(this[t(314)]))),this[t(314)][t(343)](),s[t(335)]({id:t(327),title:at(i,t(320)),isModal:!0,content:this[t(314)],actionButtons:[{label:at(e[t(317)],t(324)),withText:!0,onExecute:()=>s[t(316)]()},{label:at(e[t(317)],t(347)),class:t(382),withText:!0,onCreate(i){const s=t;i[s(376)](s(345)).to(n,s(367),n,s(345),e,s(333),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(314)])}]})}[Ut(340)](){const t=Ut,e=this[t(321)],i=e[t(317)];this[t(314)]=new Wt(i,e[t(385)][t(354)](t(371))),this[t(314)][t(326)]()}}function $t(){const t=["render","revisionSave","isOpen","view","51290prWxDz","1221654UubquF","RevisionTracker","isReadOnly","children","show","focus","init","componentFactory","330048hlgQTz","_createSaveRevisionFormView","menuitem","showRevisionViewerCallback","reset","items","isEnabled","listenTo","Accept","revisionNameInputView","menu","buttonView","revisionHistory","revisionName","requires","get","saveRevision","Revision history","299754cVLhES","role","33795OJLAiQ","18pzPkpb","add","addMany","RevisionHistoryUI","plugins","464019jKatXO","execute","isReady","set","_registerMenuComponent","The revision name cannot be empty.","revisionHistory.requireRevisionName","475022hEkumI","menuBar:revisionHistory","editing","_createSaveRevisionButton","bind","_createOpenRevisionButton","Open revision history","errorText","delegate","submit","ck-button-action","panelView","Dialog","config","_saveRevisionFormView","pluginName","hide","locale","88BpypCp","isPremiumPlugin","Save current revision","editor","isOfficialPlugin","low","Cancel","_showDialog"];return($t=function(){return t})()}const qt=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=328]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(858646===-parseInt(e(342))/1+parseInt(e(335))/2+-parseInt(e(355))/3+-parseInt(e(346))/4+-parseInt(e(343))/5*(parseInt(e(338))/6)+parseInt(e(354))/7*(-parseInt(e(345))/8)+parseInt(e(340))/9*(parseInt(e(356))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt extends It.View{[qt(334)];[qt(344)];constructor(t,e){const i=qt;super(t),this[i(344)]=e,this[i(334)]=e.id;const s=this[i(352)],n=at(t,e[i(351)][i(328)]?i(347):i(330)==e[i(357)]?i(349):i(359));this[i(353)](i(357),e[i(357)]),this[i(350)]({tag:i(337),attributes:{class:[i(329),i(358),s.to(i(357),t=>i(332)+t)],tabindex:-1},children:[{tag:i(331),children:[{tag:i(331),attributes:{class:[i(348)]},children:[{text:n}]},{text:" "+e[i(341)][i(336)]}]}]})}[qt(339)](){const t=qt;this[t(333)][t(339)]()}}function Jt(){const t=["ck-revision-change__label","Added by","setTemplate","data","bindTemplate","set","91FLGeVa","4132329vPmXKS","10jnqWaO","type","ck-revision-change","Removed by","isSuggestion","ck-annotation","add","span","ck-revision-change__","element","changeId","1351258FxtYWt","name","div","766896znypdK","focus","40759749TUxhiI","author","47279SOsodI","15nckTUP","_model","1024696YzmchW","3490172lWlIAA","Suggested by"];return(Jt=function(){return t})()}function Gt(t,e){var i=Qt();return(Gt=function(t,e){return i[t-=228]})(t,e)}var Kt=Gt;!function(t){for(var e=Gt,i=t();;)try{if(885806===-parseInt(e(230))/1+-parseInt(e(234))/2+-parseInt(e(229))/3+-parseInt(e(228))/4+parseInt(e(233))/5*(parseInt(e(237))/6)+-parseInt(e(235))/7+parseInt(e(241))/8*(parseInt(e(236))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Kt(231)];[Kt(238)];[Kt(232)];[Kt(242)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(231)]=e[i(231)],this[i(238)]=e[i(238)],this[i(232)]=e[i(232)]||{},this[i(242)]=e[i(242)],this[i(239)](i(240),e[i(240)])}[Kt(243)](){var t=Kt;return{id:this.id,authorId:this[t(231)].id,type:this[t(238)],data:this[t(232)],createdAt:this[t(240)]}}}function Qt(){var t=["48upUJxm","type","set","createdAt","23594072nsbfFR","rootName","toJSON","6150004BIXWmb","2437536IElLCc","307976ZhhTWn","author","data","9605TYkyaN","2861856TePYUa","6574141umdxxJ","18QmUxIt"];return(Qt=function(){return t})()}const te=ie;function ee(){const t=["_setChanges","294856PydNrI","11TPdIXY","1433184dkDLGy","336932VBAhbq","2783220ZAnXKy","5791SPcaED","81hgijKe","oldRevisionId","296469iIqYCT","1176730QWXqyP","add","7HtQspR","newRevisionId","changes","2zLZajq"];return(ee=function(){return t})()}function ie(t,e){const i=ee();return(ie=function(t,e){return i[t-=104]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(342973===-parseInt(e(117))/1+-parseInt(e(110))/2*(parseInt(e(104))/3)+-parseInt(e(115))/4+parseInt(e(116))/5+parseInt(e(114))/6*(-parseInt(e(107))/7)+parseInt(e(112))/8*(parseInt(e(118))/9)+parseInt(e(105))/10*(-parseInt(e(113))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class se{[te(108)];[te(119)];[te(109)];constructor(e,i){const s=te;this[s(108)]=e,this[s(119)]=i,this[s(109)]=new t.Collection}[te(111)](t){const e=te;for(const i of t)this[e(109)][e(106)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Rt(),re.insert=At().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Vt();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-=392]})(t,e)}function ce(){const t=["highest","vid_end","listenTo","getDomRoot","addMarker:revision","catch","enableReadOnlyMode","requires","forward","type","remove","data","isBefore","_processTape","shift","sort","markers","locale","_removeUnsupportedChanges","diff","filter","dataToMarker","mouseover","ck-suggestion-marker-split","_appendChild","editor","pluginName","pairId","change:isEnabled","addMarker:revision-suggestion:deletion","document","changeId","name","insertions","_data","_threeWayMerge","_getViewForChange","object","model","all","values","vid","isReady","revision-suggestion","isOnRoot","upcast","destroy","deletions","isNavigationMode","markerNameToElements","_joinTapes","createRange","editingDowncast","adapter","activeChange","add","_update","compare","pop","_utils","left","change:numberOfChanges","getRoot","addRevisionData","currentChangeNumber","_balloon","restoreRevision","nextPosition","repository","commands","isAttached","set","10261932ShYMgy","_markMismatchedRemovedTags","revision-viewer","changes","39VWpeXF","mapper","markerName","revision-comment:","isEqual","return","_setChanges","createAttributeElement","change:isReady","roots","startsWith","bind","_markInsertions","startIndex","isAddSuggestion","splice","revision:","concat","getClientRects","_fixObsoleteTags","string","isRemoveSuggestion","575647KpUBaM","removeAttribute","element","for","ck-revision-history-root-add","_getDiff","observeMarkers","attachChange","change:activeChange","slice","markersEnd","_initInteractions","detachRoot","bindElementToMarker","ck-suggestion-preview-marker","editing","showNextChange","ck-suggestion-marker-","isObject","createRevision","viewItem","isInline","addHighlight","_activeViewTarget","mapViewToDom","numberOfChanges","addMarker:revision-suggestion:insertion","flat","view","selection","split","_getRevisionsRange","ck-revision-history-root-remove","code","high","_refreshStartEndIndex","getAttributes","isIncorrect","removeClass","span","start","RevisionsRepository","dataDowncast","5404315ZrsiXo","showPreviousChange","refresh","domConverter","side","627515qPiHAr","init","stop","-new","markerRange","toViewRange","next","_markSuggestions","length","showStack","wrap","error","has","_changeIdToChange","test","item","from","_makeTape","_makeModelFromTape","isRemoved","oldRevisionId","isContent","done","indexOf","comment","_markMarkers","addRevision","elementEnd","hasAttribute","change","authors","backward","offsetSize","data-change-id","find","getRevisionDocumentData","elementStart","getRootNames","writer","getWalker","ck-editor__editable__overlay","attributesAfter","endIndex","4490860WFWlpu","getRevisionRootsAttributes","markersStart","unbindElementFromMarkerName","mousedown","332HOKsAD","reconvertMarker","_cleanMarkers","delete","target","first","markerToHighlight","diffData","POSITIVE_INFINITY","getIndex","_findChangeIdFromDomTarget","suggestion:","previousPosition","config","8ZhkPeE","affectsData","getRevision","isEnabled","_step","keys","revision","toViewPosition","createPositionFromPath","change:activeView","checkAttribute","attributes","21876LNAFek","isCollapsed","insert","getLaterVisibleRevision","consume","newRevisionId","vid_start","top","hasClass","bottom","uiElement","range","revisionHistoryLabel","createUIElement","_cleanUp","revisionHistoryAttachChange","right","isAfter","ck-suggestion-marker","revision-suggestion:","restoreRevisionCallback","unshift","loadRevisionData","then","ck-suggestion-marker-merge","markerToData","RevisionViewer","_makeModelFromViewString","createRangeIn","schema","end","userId","push","getAttribute","activeView","isAtStart","revisionHistory","removeMarker:revision-suggestion","enqueueChange","suggestion","distance","findIndex","42uWsxoW","element:pre","RevisionHistoryUtils","conversion","deletion","addRoot","includes","10goovcf","getItems","_revisions","setAttribute","index","low","attributesBefore","getCustomProperty","ck-revision-history-root--active","consumable","abs","isAtEnd","modelRange","get","isLimit","_setDistance","updatePosition","nextSibling","elementToAttribute","nodeAfter","_changeView","resolve","maxOffset","forceDisabled","getChild","_setConversion","WidgetToolbarRepository","_removeMissingPairs","2tKVMtF","insertion","execute","domEvent","createPositionBefore","addClass","map","toViewElement","parent","downcastDispatcher","merge","removeMarker","isOfficialPlugin","ck-suggestion-preview-marker-","attribute:vid","isPremiumPlugin","isSuggestion","isAdded","ck-revision-history-root-","_sortAndFilterDiffChanges","_getChangeFromId","clear","forEach","level","ck-suggestion-marker--active","9971712Nzqwpr","isBlock","text","softBreak","plugins","removeMarker:revision","rootName"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(578416===-parseInt(e(598))/1*(parseInt(e(468))/2)+parseInt(e(720))/3*(-parseInt(e(694))/4)+-parseInt(e(646))/5*(parseInt(e(433))/6)+-parseInt(e(641))/7*(-parseInt(e(708))/8)+-parseInt(e(493))/9+parseInt(e(440))/10*(parseInt(e(689))/11)+-parseInt(e(572))/12*(-parseInt(e(576))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(568)];[oe(553)]=null;[oe(559)];[oe(621)];[oe(460)];[oe(659)];[oe(565)];static get[oe(526)](){return oe(417)}static get[oe(480)](){return!0}static get[oe(483)](){return!0}static get[oe(507)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(568)]=this[e(525)][e(497)][e(453)](e(639)),this[e(559)]=this[e(525)][e(497)][e(453)](e(435)),this[e(571)](e(554),null),this[e(571)](e(425),null),this[e(621)]=null,this[e(571)](e(519),null),this[e(571)](e(542),!1),this[e(571)](e(711),!0),this.on(e(528),(t,i,s)=>{const n=e;this[n(554)]=null,this[n(425)]=null,this[n(525)][n(613)][n(626)][n(675)](t=>{const e=n;for(const i of this[e(525)][e(613)][e(626)][e(530)][e(585)])s?t[e(636)](e(686),i):t[e(473)](e(686),i)})}),this[e(587)](e(548)).to(this,e(554),t=>null!==t),this[e(587)](e(564)).to(this,e(542),this,e(519),this,e(554),(t,i,s)=>t&&s?i[e(575)][e(703)](s):0),this[e(587)](e(623)).to(this,e(542),this,e(519),(t,i)=>t?i[e(575)][e(654)]:0),this[e(460)]=null,this[e(659)]=new Map,this[e(565)]=this[e(525)][e(497)][e(453)](It.ContextualBalloon)}[oe(647)](){const t=oe,e=this[t(525)],i=new de(e,{direction:t(677)}),s=new de(e,{direction:t(508)});e[t(569)][t(555)](t(642),i),e[t(569)][t(555)](t(614),s),e[t(569)][t(555)](t(566),new he(e)),this.on(t(561),()=>{const e=t;i[e(643)](),s[e(643)]()}),this[t(465)](),this[t(609)](),e[t(506)](t(574)),e[t(497)][t(658)](t(466))&&e[t(497)][t(453)](t(466))[t(463)](t(574))}async[oe(681)](t){const e=oe;return await this[e(559)][e(413)](t,this[e(553)]),this[e(559)][e(681)](t)}async[oe(690)](t){const e=oe;return await this[e(559)][e(413)](t,this[e(553)]),this[e(559)][e(690)](t)}async[oe(557)](t,e,i=!1){const s=oe;if(!this[s(711)])return;const n=this[s(519)],r=this[s(568)],o=s(596)==typeof t?r[s(710)](t):t,a=s(596)==typeof e?r[s(710)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(519)]&&this[s(519)][s(396)]===c&&this[s(519)][s(666)]===u)return Promise[s(461)]();this[s(542)]=!1,this[s(425)]=null,this[s(554)]=null,this[s(519)]=new se(c,u);const l=this[s(629)](o,a,!0)[s(474)](t=>this[s(559)][s(413)](t,this[s(553)]));return l[s(423)](new Promise(t=>{setTimeout(t,20)})),Promise[s(539)](l)[s(414)](()=>{const t=s;if(!this[t(711)])return;this[t(405)]();const e=this[t(603)](c,u);for(const i of e[t(575)])this[t(659)][t(571)](i.id,i);this[t(525)][t(538)][t(429)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(525)][s(538)][s(530)][s(683)]())i[s(610)](t);for(const t of Object[s(713)](e[s(538)])){const n=i[s(438)](t);for(const r of Object[s(713)](e[s(719)][t]))i[s(443)](r,e[s(719)][t][r],n);i[s(393)](e[s(538)][t],n,0)}}),this[t(519)][t(582)](this[t(487)](e[t(575)])),this[t(542)]=!0})[s(505)](t=>{const e=s;console[e(657)](t),this[e(405)](),n&&(this[e(519)]=n),this[e(542)]=!0})}[oe(563)](t,e){const i=oe,s=this[i(568)][i(617)](t);return s.on(i(556),(t,i,n)=>e(i,n,s)),this[i(568)][i(672)](s),s}[oe(405)](){const t=oe;this[t(554)]=null,this[t(696)](),this[t(460)]&&this[t(460)][t(546)](),this[t(460)]=null,this[t(659)][t(489)](),this[t(525)][t(538)][t(429)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(525)][i(538)][i(530)][i(683)]())e[i(610)](t)})}[oe(487)](t){const e=oe,i=[],s=new Map;for(const t of this[e(525)][e(538)][e(530)][e(683)]()){const n=this[e(525)][e(613)][e(626)][e(503)](t);if(!n)continue;const r=n[e(594)]()[e(661)](0);r&&(i[e(423)](t),s[e(571)](t,r))}return i[e(515)]((t,i)=>{const n=e,r=s[n(453)](t),o=s[n(453)](i);return r.y-o.y||r.x-o.x}),(t=t[e(520)](t=>i[e(439)](t[e(499)])))[e(515)]((t,s)=>i[e(669)](t[e(499)])-i[e(669)](s[e(499)])),t}[oe(663)](t){const e=oe,i=Array[e(662)](t[e(516)])[e(520)](([t,i])=>t[e(586)](e(592))&&!i[e(392)]),s=Array[e(662)](this[e(525)][e(538)][e(419)](t)[e(685)]({singleCharacters:!0}));if(0!=i[e(654)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(628)](":");if(n[e(421)][e(580)](t[e(567)])&&i[e(514)](),(t[e(706)][e(580)](n[e(638)])||t[e(706)][e(408)](n[e(638)]))&&(e(469)==r?t[e(485)]={userId:o}:e(437)==r&&(t[e(665)]={userId:o})),0==i[e(654)])break}return s}[oe(633)](t){const e=oe,i=new Map;for(let s=0;s<t[e(654)];s++)e(495)===t[s][e(509)]?(t[s][e(661)][e(589)]=s,t[s][e(661)][e(688)]=s):(e(682)===t[s][e(509)]?t[s][e(661)][e(589)]=s:e(673)===t[s][e(509)]&&(t[s][e(661)][e(688)]=s),i[e(571)](t[s].id,s));for(const s of i[e(540)]())e(682)===t[s][e(509)]?t[s][e(661)][e(688)]=i[e(453)](t[s][e(527)]):e(673)===t[s][e(509)]&&(t[s][e(661)][e(589)]=i[e(453)](t[s][e(527)]))}[oe(513)](t){const e=oe;for(let i=0;i<t[e(654)];i++){if(e(682)===t[i][e(509)])t[i][e(661)][e(589)]=i;else if(e(673)===t[i][e(509)]){t[i][e(661)][e(688)]=i;const s=t[i][e(661)][e(589)];t[s][e(527)]=t[i].id,t[i][e(527)]=t[s].id}else t[i][e(661)][e(589)]=i,t[i][e(661)][e(688)]=i,t[i][e(527)]=null;t[i][e(691)]||(t[i][e(691)]=[],t[i][e(608)]=[])}}[oe(588)](t,e){const i=oe,s=t[i(520)](t=>!t[i(485)]);for(let t=0;t<e[i(654)];t++)e[t][i(485)]&&(s[t][i(485)]=e[t][i(485)])}[oe(603)](t,e=null){const i=oe,s=this[i(568)][i(710)](t),n=e?this[i(568)][i(710)](e):null,r=this[i(629)](s,n),o=r[r[i(654)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(654)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(713)](e[i(701)]))if(e[i(701)][t][i(605)]){const s=e[i(701)][t][i(605)];s[i(570)]?(u[i(555)](t),l[i(658)](t)&&l[i(453)](t)[i(422)]==s[i(422)]?l[i(697)](t):l[i(571)](t,s)):l[i(658)](t)?(u[i(697)](t),l[i(697)](t)):(u[i(555)](t),l[i(571)](t,s))}else u[i(555)](t)}for(const t of u){const e=l[i(658)](t)&&!l[i(453)](t)[i(570)];let s=e?r[i(654)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(701)][t]){const s=e?o[i(701)][t][i(446)]:o[i(701)][t][i(687)];c[i(719)][t]=s?M(s):{};break}s+=n}}for(const t of r){t[i(538)]={};for(const e of t[i(676)])a[i(571)](e.id,e);for(const e of u){const s=t[i(701)][e]?t[i(701)][e][i(533)]:"[]",n=t[i(701)][e]?t[i(701)][e][i(547)]:"[]";t[i(538)][e]={insertions:this[i(559)][i(418)](s),deletions:this[i(559)][i(418)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(662)](s[i(538)][t][i(533)][i(516)])[i(520)](([t])=>!t[i(586)](i(592))));let h=0;for(const o of r){const r=this[i(663)](o[i(538)][t][i(533)]);o==s?(e=r,n=e[i(654)],e[i(490)](t=>{t.id=h++}),this[i(513)](e)):this[i(588)](e,r);const a=e[i(520)](t=>!t[i(485)])[i(474)](t=>t.id);let c=0;const l=this[i(663)](o[i(538)][t][i(547)]);l[i(490)](t=>{t[i(665)]?t.id=n++:t.id=a[c++]}),this[i(513)](l),this[i(455)](e,i(485)),this[i(455)](l,i(665)),o==s&&this[i(671)](e,u),e=this[i(550)](e,l),this[i(633)](e),this[i(455)](e,i(665))}e=e[i(520)](t=>!(t[i(485)]&&t[i(665)]));const d=new Map(o[i(538)][t][i(547)][i(516)]),f=new Set(u[i(713)]());for(const t of d[i(713)]())f[i(697)](t);this[i(653)](e,f),this[i(595)](e),e=this[i(467)](e),e=this[i(573)](e),e=this[i(518)](e);const{root:m,changes:p}=this[i(664)](e,a,t);c[i(538)][t]=m;const v=l[i(453)](t);if(v){const e=a[i(453)](v[i(422)]),s=new Xt({author:e,type:v[i(570)]?i(555):i(510),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(412)](s),c[i(719)][t][i(406)]=s.id}c[i(575)]=c[i(575)][i(593)](p)}return c}[oe(671)](t,e){const i=oe;for(let s=0;s<t[i(654)];s++)for(const[n,r]of e)!r[i(392)]&&r[i(638)][i(580)](t[s][i(706)])&&t[s][i(691)][i(423)](n),r[i(421)][i(580)](t[s][i(567)])&&t[s][i(608)][i(423)](n)}[oe(550)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(654)]||r<e[i(654)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(423)](o);else if(a[i(665)]&&o[i(485)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(535)](t,n,e,r);s=s[i(593)](o),n=a,r=c}else a[i(665)]?(r++,s[i(423)](a)):(n++,s[i(423)](o))}return s}[oe(653)](t,e){const i=oe,s=[];for(let o=0;o<t[i(654)];o++){for(let r=0;r<t[o][i(691)][i(654)];r++){const a=t[o][i(691)][r];if(!e[i(658)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(543)!=c||i(469)!=u&&i(437)!=u||(s[i(412)]({type:u,name:a,userId:l}),t[o][i(691)][i(591)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(608)][i(654)];r++){const a=t[o][i(608)][r];if(!e[i(658)](a))continue;const{group:c,type:u}=n(a);if(i(543)!=c||i(469)!=u&&i(437)!=u)continue;t[o][i(608)][i(591)](r,1),r--;const l=s[i(432)](t=>t[i(532)]==a);l>-1&&s[i(591)](l,1)}}function n(t){const e=i,s=t[e(628)](":");return{group:s[0],type:s[1],subType:s[e(654)]>=5?s[2]:null,id:s[e(654)]<5?s[2]:s[3],authorId:s[e(654)]<5?s[3]:s[4],markerCount:6==s[e(654)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(654)];i++){if(t[e(485)]&&e(469)==s[i][e(509)]&&t[e(485)][e(422)]==s[i][e(422)])return t[e(590)]=s[i],void delete t[e(485)];if(!t[e(485)]&&!t[e(665)]&&e(437)==s[i][e(509)])return void(t[e(597)]=s[i])}}}[oe(455)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(571)](o.id,s);for(let s=0;s<t[i(654)];s++){if(i(665)==e&&t[s][i(485)]||i(485)==e&&t[s][i(665)])continue;if(i(495)==t[s][i(509)]){t[s][i(431)]=0;continue}const n=r[i(453)](t[s][i(527)]),o=r[i(453)](t[s].id);t[s][i(431)]=n-o}}[oe(629)](t,e,i=!1){const s=oe,n=[];let r=this[s(568)][s(703)](t),o=this[s(568)][s(703)](e);for(-1==o&&(o=this[s(568)][s(442)][s(654)],i=!1);r<o;)n[s(423)](this[s(568)][s(710)](r)),r++;return i&&n[s(423)](this[s(568)][s(710)](r)),n}[oe(535)](t,e,i,s){const n=oe,r=this[n(525)][n(538)][n(420)];let o=e;for(;t[o]&&t[o][n(485)];)o++;let a=s;for(;i[a]&&i[a][n(665)];)a++;u(t,e,o),u(i,s,a);const c=i[n(607)](s,a)[n(593)](t[n(607)](e,o));return c[n(515)]((t,e)=>t[n(645)]!=e[n(645)]?t[n(645)]-e[n(645)]:t[n(491)]!=e[n(491)]?t[n(491)]-e[n(491)]:t[n(431)]!=e[n(431)]?e[n(431)]-t[n(431)]:!!t[n(485)]!=!!e[n(485)]?-1==t[n(645)]||0==t[n(645)]?t[n(485)]?-1:1:t[n(485)]?1:-1:t[n(444)]-e[n(444)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(702)],c=!0;for(let n=e;n<i;n++)if(r[s(619)](t[n][s(661)])||(c=!1),t[n][s(661)][s(589)]<e&&(o=n),t[n][s(661)][s(688)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(645)]=n<=o?-1:n<a?0:1,t[n][s(444)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(431)]?t[i][s(491)]=u:(u++,t[i][s(491)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(645)]&&(t[n][s(491)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(431)]?t[e][s(491)]=u:(u--,t[e][s(491)]=u,u--)}}[oe(595)](t){const e=oe,i=new Map,s=this[e(525)][e(538)][e(420)];for(let n=1;n<t[e(654)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(495)==c[e(509)])continue;if(c[e(509)]!=u[e(509)])continue;if(!s[e(494)](u[e(661)])||s[e(454)](u[e(661)]))continue;if(!s[e(494)](c[e(661)])||s[e(454)](c[e(661)]))continue;if((t[n][e(485)]||t[n][e(590)])&&t[n-1][e(665)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(665)]||!t[n-1][e(485)]&&!t[n-1][e(590)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(491)]==o[e(491)],h=Math[e(450)](r[e(491)])<Math[e(450)](o[e(491)])&&0==o[e(431)];(l||h)&&(i[e(571)](o.id,r.id),t[e(591)](a,1),n--,r[e(485)]=!1)}for(let s=0;s<t[e(654)];s++)i[e(658)](t[s][e(527)])&&(t[s][e(527)]=i[e(453)](t[s][e(527)]))}[oe(467)](t){const e=oe,i=new Set(t[e(474)](t=>t.id));for(let s=0;s<t[e(654)];s++)i[e(658)](t[s][e(527)])||0==t[s][e(431)]||(t[s][e(635)]=!0);return t[e(520)](t=>!t[e(635)])}[oe(573)](t){const e=oe,i=new Set;for(let s=0;s<t[e(654)];s++){if(i[e(658)](t[s].id)&&t[s][e(665)]&&(t[s][e(635)]=!0),t[s][e(635)])continue;if(0==t[s][e(431)])continue;if(e(682)!=t[s][e(509)])continue;if(null==t[s][e(527)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(527)];)e(682)==t[n][e(509)]?r++:e(673)==t[n][e(509)]&&r--,n++;if(0!=r)if(t[s][e(665)])t[s][e(635)]=!0;else for(;n!=s;)t[n][e(665)]&&0!=t[n][e(431)]&&(t[n][e(635)]=!0,i[e(555)](t[n][e(527)])),n--}return t[e(520)](t=>!t[e(635)])}[oe(518)](t){const e=oe,i=this[e(525)][e(538)][e(420)];for(let s=0;s<t[e(654)];s++){if(!(t[s][e(485)]||t[s][e(590)]||t[s][e(665)]||t[s][e(597)]))continue;if(0==t[s][e(431)])continue;const n=t[s][e(661)];i[e(494)](n)||i[e(454)](n)||(t[s][e(485)]&&delete t[s][e(485)],t[s][e(590)]&&delete t[s][e(590)],t[s][e(597)]&&delete t[s][e(597)],t[s][e(665)]&&(t[s][e(635)]=!0))}return t[e(520)](t=>!t[e(635)])}[oe(664)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(525)][s(538)],c=a[s(420)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(654)];e++)if(s(682)===t[e][s(509)]){t[e][s(706)]=a[s(716)](n,f);const i=new X.ModelElement(t[e][s(661)][s(532)],t[e][s(661)][s(634)]());u[0][s(524)](i),f[s(423)](0),u[s(412)](i),t[e][s(567)]=a[s(716)](n,f)}else s(673)===t[e][s(509)]?(u[s(514)](),t[e][s(706)]=a[s(716)](n,f),f[s(558)](),f[f[s(654)]-1]++,t[e][s(567)]=a[s(716)](n,f)):(t[e][s(706)]=a[s(716)](n,f),d?d[s(534)]+=t[e][s(661)][s(511)]:d=new X.ModelText(t[e][s(661)][s(511)],t[e][s(661)][s(634)]()),t[e+1]&&s(495)===t[e+1][s(509)]&&v(d,t[e+1][s(661)])||(u[0][s(524)](d),d=null),f[f[s(654)]-1]+=t[e][s(661)][s(678)],t[e][s(567)]=a[s(716)](n,f));for(let e=0;e<t[s(654)];e++){const i=t[e][s(706)],n=t[e][s(567)];for(const n of t[e][s(691)])o[s(571)](n,{start:i,end:null});m(s(597),e,i,n),m(s(590),e,i,n),m(s(665),e,i,n),m(s(485),e,i,n);for(const i of t[e][s(608)]){const t=o[s(453)](i);t?t[s(421)]=n:o[s(571)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(525)][s(538)][s(551)](e[s(638)],e[s(421)]);n[s(516)][s(571)](t,i)}return r[s(515)]((t,e)=>{const i=s,r=n[i(516)][i(453)](i(592)+t.id),o=n[i(516)][i(453)](i(592)+e.id);return r[i(638)][i(512)](o[i(638)])?-1:r[i(638)][i(408)](o[i(638)])?1:r[i(421)][i(512)](o[i(421)])?-1:r[i(421)][i(408)](o[i(421)])?1:i(555)===t[i(509)]?-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(422)]:null,d=i===t[o(654)]-1,f=h[e][0],m=c[o(616)](t[i][o(661)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(421)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(422)]!==u&&(l[e][o(421)]=n,f&&f[o(422)]===l[e][o(422)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(682)!==t[i][o(509)]||f&&f[o(422)]===u||h[e][o(412)]({userId:u,object:t[i][o(661)],change:l[e]}),o(673)===t[i][o(509)]&&f&&f[o(537)]===t[i][o(661)]&&(h[e][o(514)](),l[e]=f[o(675)])),l[e]&&d&&(l[e][o(421)]=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(661)],f=a[h(420)][h(494)](d)&&!a[h(420)][h(454)](d),m=t[h(459)]==o[h(476)]&&o[h(426)];if(f&&m)return;const p=a[h(551)](t,o),v=e[h(453)](u),g=new Xt({author:v,type:h(485)==l||h(590)==l?h(555):h(510),data:{isSuggestion:h(590)==l||h(597)==l},createdAt:new Date,rootName:i});r[h(423)](g),n[h(516)][h(571)](h(592)+g.id,p)}function v(t,e){const i=s,n=t[i(634)](),r=e[i(634)]();for(const t of n){if(t[1]!==e[i(424)](t[0]))return!1;r[i(652)]()}return r[i(652)]()[i(668)]}}[oe(465)](){const t=oe;this[t(525)][t(436)][t(601)](t(545))[t(521)]({view:t(714)}),this[t(525)][t(436)][t(601)](t(552))[t(700)]({model:t(714),view:e=>{const i=t,s=e[i(578)][i(628)](":")[1],n=this[i(488)](s);if(!n)return null;const r=i(555)==n[i(509)]?i(469):i(437),o=[i(409),i(615)+r];return n[i(511)][i(484)]&&o[i(423)](i(615)+r+i(649)),this[i(554)]==n&&o[i(423)](i(492)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(525)][t(436)][t(601)](t(545))[t(555)](e=>{const i=t;e.on(i(434),(t,e,s)=>{const n=i,r=e[n(618)][n(464)](0);if(!r||!r.is(n(600),n(631)))return;if(!s[n(449)][n(395)](r,{attributes:[n(397),n(501)]}))return;const o=e[n(452)][n(638)][n(459)];s[n(684)][n(443)](n(397),r[n(424)](n(397)),o),s[n(684)][n(443)](n(501),r[n(424)](n(501)),o)},{priority:i(445)})}),this[t(525)][t(436)][t(601)](t(545))[t(555)](e=>{const i=t;e.on(i(600),(t,e,s)=>{const n=i;if(!s[n(449)][n(395)](e[n(618)],{attributes:[n(397),n(501)]}))return;if(e[n(452)][n(392)])return;const r=e[n(452)][n(638)][n(459)];r[n(674)](n(397))||r[n(674)](n(541))||(s[n(684)][n(443)](n(397),e[n(618)][n(424)](n(397)),r),s[n(684)][n(443)](n(501),e[n(618)][n(424)](n(501)),r))},{priority:i(445)})}),this[t(525)][t(436)][t(601)](t(545))[t(458)]({view:{name:t(637),attributes:{vid:!0}},model:{key:t(541),value:e=>e[t(424)](t(541))}}),this[t(525)][t(538)][t(420)].on(t(718),(e,[,i])=>{const s=t;[s(397),s(501),s(541)][s(439)](i)&&(e[s(581)]=!0,e[s(648)]())},{priority:t(500)}),this[t(525)][t(436)][t(601)](t(640))[t(555)](e=>{const i=t;e.on(i(482),(t,e,s)=>{const n=i;if(" "!=e[n(661)][n(511)]||e[n(661)][n(476)][n(462)]>1)return;if(!s[n(449)][n(395)](e[n(661)],t[n(532)]))return;const r=s[n(684)],o=s[n(577)][n(651)](e[n(402)]);r[n(656)](o,r[n(583)](n(637)))})}),this[t(525)][t(436)][t(601)](t(640))[t(416)]({model:t(714)}),this[t(525)][t(613)][t(477)].on(t(504),function(e){const i=t,s=e[i(497)][i(453)](i(417));return(t,n,r)=>{const o=i,a=n[o(578)][o(628)](":")[1],c=s[o(488)](a);if(!c)return null;const u=o(555)==c[o(509)]?o(628):o(478);if(!r[o(449)][o(660)](n[o(650)],t[o(532)]))return;const l=n[o(650)][o(685)](),h=n[o(650)][o(638)],d=e[o(538)][o(420)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(661)];p=p||d[o(667)](e);const i=r[o(577)][o(475)](e);if(i&&i[o(447)](o(620)))return;o(673)==t[o(509)]&&d[o(494)](e)&&!d[o(454)](e)&&(e[o(457)]||h[o(451)]?f&&f[o(476)]==e||(f=e,g(t[o(706)]),v=!0):m=m||t[o(706)])}function g(t){const e=o,i=r[e(684)][e(404)](e(637),{class:e(615)+u}),a=r[e(577)][e(715)](t);c[e(511)][e(484)]&&r[e(684)][e(473)](e(615)+u+e(649),i),s[e(554)]==c&&r[e(684)][e(473)](e(492),i),r[e(684)][e(393)](a,i),r[e(577)][e(611)](i,n[e(578)])}p||v||!m||g(m)}}(this[t(525)]),{priority:t(632)}),this[t(525)][t(613)][t(477)].on(t(498),(e,i,s)=>{const n=t,r=s[n(577)][n(549)](i[n(578)]);if(r)for(const t of r)(t[n(399)](n(523))||t[n(399)](n(415)))&&(s[n(577)][n(692)](t,i[n(578)]),s[n(684)][n(510)](t))},{priority:t(632)}),this[t(525)][t(613)][t(477)].on(t(504),(e,i,s)=>{const n=t,r=i[n(578)][n(628)](":")[1],o=this[n(488)](r);if(!o)return null;const a=n(555)==o[n(509)]?n(628):n(478);if(s[n(449)][n(660)](i[n(650)],e[n(532)]))for(const t of i[n(650)][n(441)]()){if(!t.is(n(600),n(496)))continue;const e=s[n(684)][n(404)](n(637),{class:n(615)+a}),r=s[n(577)][n(715)](this[n(525)][n(538)][n(472)](t));o[n(511)][n(484)]&&s[n(684)][n(473)](n(615)+a+n(649),e),this[n(554)]==o&&s[n(684)][n(473)](n(492),e),s[n(684)][n(393)](r,e),s[n(577)][n(611)](e,i[n(578)])}},{priority:t(632)}),this[t(525)][t(538)][t(530)].on(t(675),()=>{const e=t;this[e(525)][e(613)][e(626)][e(675)](t=>{const i=e;for(const e of this[i(525)][i(538)][i(530)][i(683)]()){const s=this[i(525)][i(538)][i(530)][i(562)](e),n=this[i(525)][i(613)][i(626)][i(530)][i(562)](e);if(n){const e=s[i(424)](i(406));if(t[i(599)](i(679),n),t[i(636)](i(602),n),t[i(636)](i(630),n),t[i(636)](i(448),n),e){const s=this[i(488)](e);if(!s)return null;t[i(443)](i(679),e,n),t[i(473)](i(486)+s[i(509)],n),this[i(554)]==s&&t[i(473)](i(448),n)}}}})}),this[t(525)][t(436)][t(601)](t(545))[t(521)]({view:t(670),model:e=>t(579)+e,converterPriority:t(500)}),this[t(525)][t(436)][t(601)](t(545))[t(521)]({view:t(430),model:e=>t(410)+e,converterPriority:t(500)}),this[t(525)][t(436)][t(601)](t(640))[t(416)]({model:t(543),view:e=>({name:t(705)+e,group:t(543)}),converterPriority:t(500)}),this[t(525)][t(436)][t(601)](t(552))[t(700)]({model:t(543),view:e=>{const i=t,s=e[i(578)][i(628)](":")[1];return i(469)!=s&&i(437)!=s?null:{classes:[i(612),i(481)+s]}}}),this[t(525)][t(613)][t(477)].on(t(529),le(this[t(525)],t(478)),{priority:t(632)}),this[t(525)][t(613)][t(477)].on(t(624),le(this[t(525)],t(628)),{priority:t(632)}),this[t(525)][t(613)][t(477)].on(t(428),(e,i,s)=>{const n=t,r=s[n(577)][n(549)](i[n(578)]);if(r)for(const t of r)t.is(n(401))&&(s[n(577)][n(692)](t,i[n(578)]),s[n(684)][n(510)](t))},{priority:t(632)})}[oe(488)](t){const e=oe;return this[e(659)][e(453)](t)}[oe(536)](t){const e=oe;return this[e(460)]&&this[e(460)][e(546)](),this[e(460)]=new Yt(this[e(525)][e(517)],t),this[e(460)]}[oe(609)](){const t=oe;this[t(525)][t(538)][t(530)][t(627)][t(604)](t(714)),this.on(t(717),(e,i,s,n)=>{const r=t;n&&this[r(565)][r(510)](n),s&&(this[r(565)][r(555)]({view:s,stackId:r(403),position:{target:()=>{const t=r,e=this[t(525)][t(613)],i=this[t(488)](s[t(531)]);let n;if(i[t(511)][t(544)]){const s=e[t(626)][t(503)](i[t(499)]);n=Array[t(662)](s[t(594)]())}else{const i=this[t(525)][t(538)][t(516)][t(453)](t(592)+s[t(531)]);n=Array[t(662)](e[t(577)][t(549)](i[t(532)]))[t(474)](i=>e[t(626)][t(644)][t(622)](i))[t(474)](e=>Array[t(662)](e[t(594)]()))[t(625)]()}return this[t(621)]&&n[t(680)](e=>e[t(398)]-3<=this[t(621)].y&&e[t(400)]+3>=this[t(621)].y&&e[t(560)]-3<=this[t(621)].x&&e[t(407)]+3>=this[t(621)].x)||n[0]}}}),this[r(565)][r(655)](r(403)))}),this.on(t(606),(e,i,s,n)=>{const r=t;this[r(425)]=s?this[r(536)](s):null,this[r(525)][r(538)][r(675)](()=>{const t=r,e=this[t(525)][t(613)];n&&(n[t(511)][t(544)]?e[t(626)][t(675)](i=>{const s=t;i[s(636)](s(448),e[s(626)][s(530)][s(562)](n[s(499)]))}):e[t(695)](t(592)+n.id)),s&&(s[t(511)][t(544)]?e[t(626)][t(675)](i=>{const n=t;i[n(473)](n(448),e[n(626)][n(530)][n(562)](s[n(499)]))}):e[t(695)](t(592)+s.id))})}),this[t(502)](this[t(525)][t(613)][t(626)][t(530)],t(522),(e,i)=>{const s=t;if(this[s(554)])return;const n=this[s(704)](i[s(698)]),r=this[s(659)][s(453)](n);r?(this[s(621)]={x:i[s(471)].x,y:i[s(471)].y},this[s(425)]=this[s(536)](r)):(this[s(621)]=null,this[s(425)]=null)}),this[t(502)](this[t(525)][t(613)][t(626)][t(530)],t(693),(e,i)=>{const s=t,n=this[s(704)](i[s(698)]),r=this[s(659)][s(453)](n);r?(this[s(621)]={x:i[s(471)].x,y:i[s(471)].y},r===this[s(554)]?this[s(565)][s(456)]():this[s(554)]=r):(this[s(621)]=null,this[s(554)]=null)})}[oe(704)](t){const e=oe;do{const i=t[e(424)](e(679));if(i)return i;t=t[e(476)]}while(t);return null}[oe(696)](){const t=oe;this[t(525)][t(538)][t(675)](e=>{const i=t;for(const t of this[i(525)][i(538)][i(516)])e[i(479)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(449)][r(660)](s[r(650)],i[r(532)]))return;const o=s[r(650)][r(685)](),a=s[r(650)][r(638)],c=t[r(538)][r(420)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(661)];h=h||c[r(667)](e);const i=n[r(577)][r(475)](e);if(i&&i[r(447)](r(620)))return;r(673)==t[r(509)]&&c[r(494)](e)&&!c[r(454)](e)&&(e[r(457)]||a[r(451)]?u&&u[r(476)]==e||(u=e,f(t[r(706)]),d=!0):l=l||t[r(706)])}function f(t){const i=r,o=n[i(577)][i(715)](t),a=n[i(684)][i(404)](i(637),{class:i(481)+e});n[i(684)][i(393)](o,a),n[i(577)][i(611)](a,s[i(578)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(497)][e(453)](ue);this[e(709)]=!1,this[e(502)](i,e(584),()=>this[e(643)]()),this[e(502)](i,e(528),()=>this[e(643)]())}[oe(470)](){const t=oe,e=this[t(525)],i=e[t(497)][t(453)](ue),s=i[t(542)]?i[t(519)][t(396)]:null;e[t(707)][t(453)](t(427))[t(411)](s)}[oe(643)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(525)][t(497)][t(453)](ue),r=n&&s[t(394)](n[t(396)]);this[t(711)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(712)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(497)][i(453)](ue);this[i(709)]=!1,this[i(712)]=i(508)===e?1:-1,this[i(502)](s,i(584),()=>this[i(643)]()),this[i(502)](s,i(528),()=>this[i(643)]()),this[i(502)](s,i(606),()=>this[i(643)]())}[oe(470)](){const e=oe,i=this[e(525)],s=i[e(497)][e(453)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(554)]=n?s[e(519)][e(575)][e(453)](r+this[e(712)]):s[e(519)][e(575)][e(699)],s[e(554)][e(511)][e(544)])o=i[e(613)][e(626)][e(503)](s[e(554)][e(499)]);else{const t=i[e(538)][e(516)][e(453)](e(592)+s[e(554)].id);o=(0,K.getMarkerDomElement)(i[e(613)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(643)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(525)][t(497)][t(453)](ue);this[t(711)]=!!(r&&n&&s)&&(!e||(1===this[t(712)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Rt(),me.insert=At().bind(null,"head"),me.domAPI=Tt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=418]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(996861===parseInt(e(452))/1*(-parseInt(e(443))/2)+-parseInt(e(432))/3*(-parseInt(e(446))/4)+parseInt(e(447))/5+-parseInt(e(433))/6*(parseInt(e(441))/7)+-parseInt(e(444))/8+-parseInt(e(436))/9+parseInt(e(457))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(440)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(442)](e(456),!1),this[e(442)](e(419),!1),this[e(442)](e(420),0),this[e(442)](e(458),0),this[e(442)](e(429),!1),this[e(442)](e(425),!1),this[e(449)](e(448)).to(this,e(419),this,e(458),(t,e)=>t&&e>0),this[e(449)](e(428)).to(this,e(419),this,e(420),this,e(458),this,e(456),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(431));if(!n)return at(t,o(434));const a=at(t,o(451),n);return r?at(t,o(421),[s+1,n]):a}),s[e(442)]({label:at(t,e(439)),tooltip:!0,icon:_t.IconChevronUp}),n[e(442)]({label:at(t,e(422)),tooltip:!0,icon:_t.IconChevronDown}),s[e(449)](e(423)).to(this,e(425)),n[e(449)](e(423)).to(this,e(429)),s.on(e(454),()=>this[e(455)](e(454),e(437))),n.on(e(454),()=>this[e(455)](e(454),e(450))),this[e(460)]({tag:e(430),attributes:{class:["ck",e(424),e(453)]},children:[{tag:e(426),attributes:{class:[e(445)]},children:[{tag:e(426),attributes:{class:[e(435),i.if(e(448),e(427),t=>!t)]},children:[{text:i.to(e(456),i=>i?at(t,e(418))+": ":at(t,e(459))+": ")}]},{text:i.to(e(428))}]},new It.ToolbarSeparatorView,{tag:e(430),attributes:{class:[e(438)]},children:[s,n]}]})}}function ge(){const t=["_statusText","isForwardNavigationEnabled","div","Loading...","1762806IBjgJg","14226UNTKkf","No changes","ck-revision-history-ui__changes-navigation__label","9726894uboCHt","backward","ck-revision-history-ui__changes-navigation__navigation","Show previous change","bindTemplate","1001Sanaju","set","34jSYftj","5426384mMzYLB","ck-revision-history-ui__changes-navigation__wrapper","12dAvkdU","5685245fciLjo","_isStatusLabelVisible","bind","forward","NUMBER_OF_CHANGES","78296FppUKW","ck-revision-history-ui__changes-navigation","execute","fire","isNavigationMode","15261550rrRZUo","numberOfChanges","Total","setTemplate","EDIT_X_OF_Y_REVISIONS","isReady","currentChangeNumber","X_OF_Y_CHANGES","Show next change","isEnabled","ck-revision-history-ui","isBackwardNavigationEnabled","span","ck-hidden"];return(ge=function(){return t})()}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Rt(),ke.insert=At().bind(null,"head"),ke.domAPI=Tt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["106674zuVpCQ","3810554wsszCc","addClass","change","hide","4070lXJRgO","editor","78FMZMgz","1201432FgHfGL","RevisionViewerLoadingOverlay","51632OvNzDF","725016Hzbxky","view","7dHkKgT","ck-editor__editable__loading-overlay","roots","isPremiumPlugin","show","removeClass","pluginName","isOfficialPlugin","document","495pVEkBU","editing","390756TUKqLu","5FrmBMx"];return(be=function(){return t})()}const we=_e;function _e(t,e){const i=be();return(_e=function(t,e){return i[t-=376]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(215502===parseInt(e(397))/1+-parseInt(e(395))/2+-parseInt(e(378))/3*(parseInt(e(381))/4)+-parseInt(e(396))/5*(-parseInt(e(382))/6)+-parseInt(e(384))/7*(-parseInt(e(379))/8)+parseInt(e(393))/9*(parseInt(e(376))/10)+parseInt(e(398))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const Ie=we(385);class Se extends G.Plugin{static get[we(390)](){return we(380)}static get[we(391)](){return!0}static get[we(387)](){return!0}[we(388)](){const t=we,e=this[t(377)][t(394)][t(383)];e[t(400)](i=>{const s=t;for(const t of e[s(392)][s(386)])i[s(399)](Ie,t)})}[we(401)](){const t=we,e=this[t(377)][t(394)][t(383)];e[t(400)](i=>{const s=t;for(const t of e[s(392)][s(386)])i[s(389)](Ie,t)})}}const Oe=xe;function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=247]})(t,e)}function Te(){const t=["showNextChange","hide","closeRevisionViewerCallback","showPreviousChange","change:isReady","isNavigationMode","isReady","listenTo","isForwardNavigationEnabled","changesNavigation","restoreRevision","plugins","isEnabled","init","currentChangeNumber","numberOfChanges","editor","60548QmPgJa","show","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","22281633iRulCq","revisionHistory","isOfficialPlugin","7kzPGeO","execute","componentFactory","Back to editing","bind","1292mPfBkU","set","1006kNInEV","390baauMf","1539504HSbnoD","528978BKhsYM","add","commands","exitToEditing","config","Restore this revision","9557838McMuBg","forward","10CSQKmC","get","isPremiumPlugin","pluginName","5885024OfrbeE","RevisionViewerUI","requires"];return(Te=function(){return t})()}!function(t){const e=xe,i=t();for(;;)try{if(727822===parseInt(e(256))/1*(-parseInt(e(254))/2)+parseInt(e(258))/3+-parseInt(e(291))/4*(-parseInt(e(257))/5)+parseInt(e(259))/6*(-parseInt(e(249))/7)+parseInt(e(271))/8+parseInt(e(265))/9+-parseInt(e(267))/10*(parseInt(e(295))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(270)](){return Oe(272)}static get[Oe(248)](){return!0}static get[Oe(269)](){return!0}static get[Oe(273)](){return[ue,Se]}[Oe(287)](){const t=Oe,e=this[t(290)],i=e[t(285)][t(268)](ue),s=e[t(285)][t(268)](Se);e.ui[t(251)][t(260)](t(262),i=>{const s=t,n=new It.ButtonView(i);return n[s(255)]({label:at(i,s(252)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(294)}),this[s(281)](n,s(250),()=>{const t=s;e[t(263)][t(268)](t(247))[t(276)]()}),n}),e.ui[t(251)][t(260)](t(284),i=>{const s=t,n=new It.ButtonView(i);return n[s(255)]({label:at(i,s(264)),withText:!0,tooltip:!0}),n[s(253)](s(286)).to(e[s(261)][s(268)](s(284))),this[s(281)](n,s(250),()=>e[s(250)](s(284))),n}),e.ui[t(251)][t(260)](t(283),s=>{const n=t,r=new ve(s),o=e[n(261)][n(268)](n(277)),a=e[n(261)][n(268)](n(274));return r[n(253)](n(293)).to(o,n(286)),r[n(253)](n(282)).to(a,n(286)),r[n(253)](n(280),n(288),n(289),n(279)).to(i),this[n(281)](r,n(250),(t,i)=>{const s=n;e[s(250)](s(266)===i?s(274):s(277))}),r}),s[t(292)](),i.on(t(278),(e,i,n)=>{const r=t;n?s[r(275)]():s[r(292)]()})}}var Ae=i(815),Me={attributes:{"data-cke":!0}};Me.setAttributes=Rt(),Me.insert=At().bind(null,"head"),Me.domAPI=Tt(),Me.insertStyleElement=Vt();Ot()(Ae.A,Me);Ae.A&&Ae.A.locals&&Ae.A.locals;const Re=Ee;function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=186]})(t,e)}function Ve(){const t=["287229WzQDaY","Revision name","element","Enter the revision name","_tooltipString","4820627QHJHdL","bindTemplate","render","ck-tooltip_multi-line","ck-revision-history-sidebar__revision-name","_updateTooltipText","15BBLtZk","scrollWidth","listenTo","value","_resizeObserver","fieldView","extendTemplate","1456796tFlvfE","placeholder","2390124qcQtXU","818652KnGjnb","clientWidth","input","set","2979954QFdeRQ","destroy","2392504bMAJng","span"];return(Ve=function(){return t})()}!function(t){const e=Ee,i=t();for(;;)try{if(533016===parseInt(e(190))/1+-parseInt(e(208))/2+parseInt(e(186))/3+-parseInt(e(210))/4+parseInt(e(201))/5*(-parseInt(e(211))/6)+parseInt(e(195))/7+parseInt(e(188))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Re(205)]=null;constructor(t,e){const i=Re;super(t,e);const s=this[i(196)];this[i(214)]({label:at(t,i(191)),_tooltipString:""}),this[i(206)][i(209)]=at(t,i(193)),this[i(207)]({tag:i(189),attributes:{class:[i(199)],"data-cke-tooltip-text":s.to(i(194)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(198)}})}[Re(197)](){const e=Re;super[e(197)](),this[e(205)]=new t.ResizeObserver(this[e(206)][e(192)],()=>this[e(200)]()),this[e(203)](this[e(206)],e(213),()=>this[e(200)]())}[Re(187)](){const t=Re;super[t(187)](),this[t(205)]&&this[t(205)][t(187)]()}[Re(200)](){const t=Re,e=this[t(206)][t(192)];this[t(194)]=e[t(202)]>e[t(212)]&&e[t(204)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Rt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Vt();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-=390]})(t,e)}function Le(){const t=["23093ZswBqI","13678DflkHV","492wHZFgN","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","2405220dvbYek","252JWejjA","884364moLVKN","11sFlRZa","Revision creator","5WDfKxg","push","name","ck-revision-history-sidebar__revision-author_creator","1970600kOlebl","Revision author","42392yZEuXp","span","0 0 11 10","16aOLyuH","setTemplate","203972mtrMnq","set"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(166422===-parseInt(e(390))/1*(parseInt(e(395))/2)+-parseInt(e(401))/3+-parseInt(e(392))/4*(-parseInt(e(404))/5)+parseInt(e(396))/6*(parseInt(e(394))/7)+parseInt(e(410))/8*(-parseInt(e(400))/9)+parseInt(e(408))/10+-parseInt(e(402))/11*(-parseInt(e(399))/12))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(393)]({content:_t.IconUser,viewBox:s(412)});const r=["ck",s(398)];i&&r[s(405)](s(407));const o=[{tag:s(411),attributes:{class:["ck",s(397)],title:at(t,s(i?403:409))},children:[n,e[s(406)]]}];this[s(391)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=329]})(t,e)}function We(){var t=["453865FTukLq","1053408MtsNZq","564336DsKBmx","9010HrbRoV","112938jKlvrk","toLocaleDateString","long","14upWjXB","numeric","263295uXMmsv","toLocaleTimeString","37TpntjN","23810rLwVng","36ZygjwJ"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(126147===-parseInt(e(329))/1*(-parseInt(e(335))/2)+parseInt(e(341))/3+-parseInt(e(334))/4+-parseInt(e(332))/5+-parseInt(e(336))/6*(parseInt(e(339))/7)+parseInt(e(333))/8+parseInt(e(331))/9*(parseInt(e(330))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(505),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Rt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=Tt(),Ze.insertStyleElement=Vt();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(t,e){const i=$e();return(He=function(t,e){return i[t-=400]})(t,e)}function $e(){const t=["panelPosition","find","ck-revision-history-sidebar__revision__actions","listView","isVisible","2504803JNBZWy","isReady","action","locale","isActionsDropdownOpen","Name this revision","name","10pVWffm","Restore this revision","model","103EDxFVg","5bJlYLA","6092468XmdgjD","26olTYZb","execute","4949016WfsNEK","change:isActionsDropdownOpen","isEnabled","function","3946FxmWPs","listenTo","26193000aheKPD","12474781wDYhmu","first","Compare against selected","10359dEnsFu","children","Show more items","items","isOpen","12632EPFhzv","_action","ck-on","6ptYEhr","menuitem","buttonView","bindTemplate","class","stopPropagation","add","button","bind","extendTemplate","map","source","set","menu"];return($e=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(979507===-parseInt(e(404))/1*(parseInt(e(413))/2)+parseInt(e(409))/3+parseInt(e(406))/4*(-parseInt(e(405))/5)+-parseInt(e(427))/6*(parseInt(e(446))/7)+parseInt(e(424))/8*(-parseInt(e(419))/9)+-parseInt(e(401))/10*(parseInt(e(416))/11)+-parseInt(e(415))/12*(-parseInt(e(407))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Rt(),Be.insert=At().bind(null,"head"),Be.domAPI=Tt(),Be.insertStyleElement=Vt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;function Ye(){const t=["isReady","fire","revisionActionsView","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision__controls-wrapper","extendTemplate","select","530260ZykHNj","220","ck-revision-history-sidebar__revision_selected","uiLanguage","ck-revision-history-sidebar__revision__date","isHighlighted","setName","bind","isActionsDropdownOpen","_createdAtFormatted","170fHEaGe","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","69888xbLuoR","deselect","name","11895djUMHq","closest","setTemplate","creator","filter","ck-reset","ck-revision-history-sidebar__revision-wrapper",".ck-confirm-view","revisionNameView","isSelected","bindTemplate","13328343ZpaSsN","listenTo","highlight","ck-revision-history-sidebar__revision_highlighted","div","_requireRevisionName","272jBnfzV","span","length","value","set","change","_revision","map","render","unhighlight","isEnabled","isConfirm","ck-disabled","2245480HNoRBC","element","createdAt","ck-revision-history-sidebar__revision-authors","fieldView","ck-revision-history-sidebar__revision","srcElement","authors","from","unshift","566195opZFvg","6971816zGCtoe"];return(Ye=function(){return t})()}const Je=Ge;function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=104]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(567797===-parseInt(e(138))/1+parseInt(e(119))/2+parseInt(e(153))/3*(parseInt(e(106))/4)+-parseInt(e(148))/5*(-parseInt(e(150))/6)+-parseInt(e(129))/7+parseInt(e(130))/8+-parseInt(e(164))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(161)];[Je(133)];[Je(112)];[Je(105)];constructor(e,i,s,n){const r=Je;super(e);const o=this[r(163)],a=function(t,e){const i=r,s=Array[i(127)](e[i(126)])[i(157)](t=>t!=e[i(156)]);return e[i(156)]&&s[i(128)](e[i(156)]),s[i(113)](s=>new Pe(t,s,s==e[i(156)]))}(e,i);this.id=i.id,this[r(112)]=i,this[r(105)]=n,this[r(145)](r(152),r(121)).to(i),this[r(145)](r(147)).to(this,r(121),t=>{return i=e[r(141)],(s=t)[(n=ze)(337)](i,{month:n(338),day:n(340)})+", "+s[n(342)](i,{hour:n(340),minute:n(340)});var i,s,n}),this[r(110)](r(162),!1),this[r(110)](r(143),!1),this[r(110)](r(146),!1),this[r(110)](r(131),!1),this[r(110)](r(116),!1),this[r(161)]=new De(e,It.createLabeledInputText),this[r(161)][r(123)][r(136)]({attributes:{maxlength:r(139)}}),this[r(161)][r(123)][r(145)](r(109)).to(this,r(152),t=>t||this[r(147)]),this[r(161)][r(145)](r(116)).to(this,r(162),this,r(116),(t,e)=>t&&e),this[r(133)]=s&&s[r(108)]?function(e,i){const s=He,n=e[s(430)],r=e[s(449)],o=(0,It.createDropdown)(r);o[s(441)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(449)],n={"Compare against selected":at(s,i(418)),"Name this revision":at(s,i(451)),"Restore this revision":at(s,i(402))};return e[i(437)](t=>{const e=i,s=n[t[e(400)]];return s&&s!==t[e(400)]&&(t[e(400)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(434),model:new It.UIModel({label:t[n(400)],class:t[n(431)],withText:!0,role:n(428),_action:t[n(448)]})};i[n(403)][n(435)](n(411)).to(e,n(450),i=>n(412)!=typeof t[n(411)]||!i||t[n(411)](e)),o[n(433)](i)}return o}(e,i);return e[s(435)](s(450)).to(o,s(423)),o[s(429)][s(439)]({label:at(r,s(421)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(436)]({attributes:{class:[s(443),n.if(s(450),s(426))]},on:{click:n.to(t=>t[s(432)]())}}),o.on(s(408),t=>{const i=s;e[i(447)]&&i(412)==typeof t[i(438)][i(425)]&&t[i(438)][i(425)](e)}),(0,It.addListToDropdown)(o,a,{role:s(440)}),o[s(414)](e,s(410),(t,n,r)=>{const a=s;if(r)for(const t of o[a(444)][a(422)]){const s=t[a(420)][a(417)],n=i[a(442)](t=>t[a(448)]===s[a(425)])[a(445)];t[a(445)]=void 0===n||n(e)}}),o}(this,s):"",this[r(133)]&&this[r(133)][r(145)](r(116)).to(this),this[r(155)]({tag:r(104),attributes:{class:["ck",r(158),r(159),o.if(r(117),r(149))]},children:[{tag:r(104),attributes:{class:["ck",r(158),r(124),o.if(r(116),r(118),t=>!t),o.if(r(162),r(140)),o.if(r(143),r(167)),o.if(r(146),r(134))]},children:[this[r(161)],{tag:r(107),attributes:{class:["ck",r(142)]},children:[{text:o.to(r(147))}]},{tag:r(104),attributes:{class:["ck",r(135)]},children:[{tag:"ul",attributes:{class:["ck",r(122)]},children:a}]},this[r(133)]],on:{click:o.to(t=>{const e=r;t[e(125)][e(154)](e(160))||this[e(131)]&&this[e(116)]&&this[e(132)](e(137),{id:this.id})})}}]})}[Je(114)](){const t=Je;super[t(114)]();const e=this[t(161)][t(123)][t(120)];this[t(165)](e,t(111),()=>{const i=t;this[i(105)]&&!e[i(109)]||this[i(132)](i(144),{id:this.id,name:e[i(109)]}),e[i(109)]||(e[i(109)]=this[i(152)]?this[i(152)]:this[i(147)])})}[Je(137)](){this[Je(162)]=!0}[Je(151)](){this[Je(162)]=!1}[Je(166)](){this[Je(143)]=!0}[Je(115)](){this[Je(143)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Mi={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Ri{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Vi extends Ri{static get instance(){return null===Ei&&(Ei=new Vi),Ei}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 Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Ri{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Es(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 Wi=new Map;const Ui=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=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):$s(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class 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(),Wi.clear(),Ui.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 Ri{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 Ri{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(Es(t)||null===t)return e;if(t instanceof Ri)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)||ji.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=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 xs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Es(t.localWeekday)||!Es(t.localWeekNumber)||!Es(t.localWeekYear)){if(!Es(t.weekday)||!Es(t.weekNumber)||!Es(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Es(t.localWeekday)||(t.weekday=t.localWeekday),Es(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Es(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 Ms(t){const e=Ds(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 Rs(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 Es(t){return void 0===t}function Vs(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function 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 Ds(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Es(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Es(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Es(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}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ti,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Mi};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function xn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${Tn.source}?(?:\\[(${_n.source})\\])?)?`}`),Mn=RegExp(`(?:T${An.source})?`),Rn=xn("weekYear","weekNumber","weekDay"),En=xn("year","ordinal"),Vn=RegExp(`${Nn.source} ?(?:${Tn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${Vn.source})?`);function Cn(t,e,i){const s=t[e];return Es(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: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 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(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 Un={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(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 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?Un[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))?)?/,Mn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Mn),Qn=In(/(\d{4})-?(\d{3})/,Mn),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,jn,Ln),ir=Sn(Rn,Fn,jn,Ln),sr=Sn(En,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(Vn),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(Es(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(Es(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(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,[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 Es(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;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 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 xr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}function Mr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Rr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Mr(i)===Mr(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=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 Rr(e.eras("short"),0);case"GG":return Rr(e.eras("long"),0);case"y":return xr(u);case"yy":case"kk":return xr(h,Xs);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(s);case"MMM":return Rr(e.months("short",!0),1);case"MMMM":return Rr(e.months("long",!0),1);case"LLL":return Rr(e.months("short",!1),1);case"LLLL":return Rr(e.months("long",!1),1);case"o":case"S":return xr(c);case"ooo":case"SSS":return xr(n);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return xr(i);case"a":return Rr(e.meridiems(),0);case"EEE":return Rr(e.weekdays("short",!1),1);case"EEEE":return Rr(e.weekdays("long",!1),1);case"ccc":return Rr(e.weekdays("short",!0),1);case"cccc":return Rr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Er(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 Es(t.z)||(i=ji.create(t.z)),Es(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Es(t.q)||(t.M=3*(t.q-1)+1),Es(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),Es(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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function 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+=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=Xi.fromObject(e);let n,r;if(Es(t.year))n=vs.now();else{for(const e of so)Es(t[e])&&(t[e]=to[e]);const e=Ms(t)||Rs(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=!!Es(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:Ur(e));this.ts=Es(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=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Vs(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vs(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Es(e.specificOffset)?i.offset(a):e.specificOffset,u=!Es(n.ordinal),l=!Es(n.year),h=!Es(n.month)||!Es(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=Ts(g)):(p=so,v=to);let y=!1;for(const t of p){Es(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Ms(n),b=k||Rs(n);if(b)return fo.invalid(b);const w=m?xs(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,$n])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[qn,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Es(t)||Es(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?Ts(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return $r(this,{ts:s,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Es(e.weekYear)||!Es(e.weekNumber)||!Es(e.weekday),r=!Es(e.ordinal),o=!Es(e.year),a=!Es(e.month)||!Es(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=xs({...Os(this.c,i,s),...e},i,s):Es(e.ordinal)?(l={...this.toObject(),...e},Es(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...Ts(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return 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(Es(t)||Es(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Mi}}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=["3157236irBPqE","toRelativeCalendar","week","20199EaEtCz","399515eTlVPd","7642790tfhREM","year","245UMqyRn","toJSDate","minus","1868465LsskkE","startOf","weekdayLong","4ugrWTE","860534Cyycqq","month","hasSame","setLocale","day","monthLong","fromJSDate","local","11gpWPLW","52050sKkUxo","8tXUyGB"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=334]})(t,e)}function go(t,e){const i=vo,s=fo[i(358)](t)[i(355)](e),n=fo[i(334)](),r=n[i(347)]({days:1})[i(349)](i(356));let o,a;return s[i(354)](n,i(356))?(o=s[i(349)](i(356))[i(346)](),a=s[i(339)]()):s[i(354)](r,i(356))?(o=r[i(346)](),a=s[i(339)]()):s[i(354)](n,i(340))?(o=s[i(349)](i(340))[i(346)](),a=s[i(350)]||""):s[i(354)](n,i(344))?(o=s[i(349)](i(353))[i(346)](),a=s[i(357)]||""):(o=s[i(349)](i(344))[i(346)](),a=String(s[i(344)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(226358===parseInt(e(342))/1+-parseInt(e(352))/2+-parseInt(e(341))/3*(parseInt(e(351))/4)+parseInt(e(348))/5+-parseInt(e(336))/6*(-parseInt(e(345))/7)+-parseInt(e(337))/8*(-parseInt(e(338))/9)+-parseInt(e(343))/10*(parseInt(e(335))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Rt(),ko.insert=At().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["revisionViews","54967LyWqNn","locale","_requireRevisionName","uiLanguage","2324460OpEWGV","addRevision","189848FJWUhX","setName","1056XKExDJ","remove","add","localizedPeriodName","15036IewGGM","890Tbbuzz","21oqkDtv","find","_revisionActions","270ofaYhc","ck-revision-history-sidebar__time-period__revisions","startDate","3wjOGSu","createCollection","span","select","removeRevision","ck-revision-history-sidebar__time-period__label","div","150761ptIfvy","ck-revision-history-sidebar__time-period","delegate","27xcuvzn","1096ESKVtY","50302BIlAfH","setTemplate"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(397874===parseInt(e(333))/1*(parseInt(e(335))/2)+parseInt(e(323))/3*(-parseInt(e(334))/4)+parseInt(e(342))/5+parseInt(e(350))/6*(parseInt(e(352))/7)+parseInt(e(344))/8*(parseInt(e(355))/9)+parseInt(e(351))/10*(-parseInt(e(338))/11)+-parseInt(e(346))/12*(parseInt(e(330))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(322)];[bo(337)];[bo(354)];[bo(340)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(339)][n(341)])[n(349)];this[n(322)]=e,this[n(337)]=this[n(324)](),this[n(354)]=i,this[n(340)]=s,this[n(337)][n(332)](n(326)).to(this),this[n(337)][n(332)](n(345)).to(this),this[n(336)]({tag:n(329),attributes:{class:["ck",n(331)]},children:[{tag:n(325),attributes:{class:["ck",n(328)]},children:[{text:r}]},{tag:n(329),attributes:{class:["ck",n(356)]},children:this[n(337)]}]})}[bo(343)](t){const e=bo,i=new Ke(this[e(339)],t,this[e(354)],this[e(340)]);this[e(337)][e(348)](i)}[bo(327)](t){const e=bo,i=this[e(337)][e(353)](e=>e.id===t.id);this[e(337)][e(347)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Rt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(t,e){const i=No();return(xo=function(t,e){return i[t-=124]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(466831===parseInt(e(138))/1*(-parseInt(e(134))/2)+parseInt(e(124))/3+parseInt(e(141))/4*(-parseInt(e(139))/5)+-parseInt(e(133))/6+parseInt(e(127))/7*(-parseInt(e(137))/8)+-parseInt(e(126))/9+-parseInt(e(129))/10*(-parseInt(e(140))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class To extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(128)]=_t.IconHistory,this[e(136)]({tag:e(131),attributes:{class:["ck",e(130),e(135)]},children:[i,{tag:e(142),attributes:{class:["ck",e(132)]},children:[at(t,e(125))]}]})}}function No(){const t=["4CHGIjX","span","585054MRlyYD","Revision history","1887831CcTNMz","11375cWbxwi","content","1090KCZkwY","ck-reset_all","div","ck-revision-history-sidebar__header__label","3355044txzvvs","374ZLfOWQ","ck-revision-history-sidebar__header","setTemplate","1312tdXuVX","4778KrwuOv","729645BTaMLn","236819pssfno"];return(No=function(){return t})()}var Ao=i(692),Mo={attributes:{"data-cke":!0}};Mo.setAttributes=Rt(),Mo.insert=At().bind(null,"head"),Mo.domAPI=Tt(),Mo.insertStyleElement=Vt();Ot()(Ao.A,Mo);Ao.A&&Ao.A.locals&&Ao.A.locals;function Ro(t,e){const i=Eo();return(Ro=function(t,e){return i[t-=413]})(t,e)}function Eo(){const t=["_revisionActions","setName","fire","_getTimePeriodViewByStartDate","getTime","delegate","deselect","revisionSetName","map","select","2120371AriEOr","ck-revision-history-sidebar","uiLanguage","removeRevision","_revisions","createCollection","656332amIBqf","14EXatQw","bindTemplate","get","startDate","ck-disabled","_addRevision","ck-reset","41uUbBML","add","selectRevision","12FcHtOb","some","96695lzjAAV","highlightRevisions","set","ck-rounded-corners","locale","790WFSkNM","isEnabled","addRevision","revisionViews","unhighlight","15278HIKLbK","_requireRevisionName","ck-revision-history-sidebar__timeline","2205ZabUnH","find","highlight","setTemplate","flat","timePeriodViews","div","createdAt","77154myoCTk","render","remove","96FTQIbG","1455560XkfFAr","revisionSelected","_removeRevision"];return(Eo=function(){return t})()}const Vo=Ro;!function(t){const e=Ro,i=t();for(;;)try{if(293774===-parseInt(e(444))/1*(-parseInt(e(459))/2)+parseInt(e(413))/3+-parseInt(e(436))/4+parseInt(e(449))/5*(parseInt(e(416))/6)+-parseInt(e(437))/7*(parseInt(e(417))/8)+parseInt(e(462))/9*(-parseInt(e(454))/10)+-parseInt(e(430))/11*(-parseInt(e(447))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Vo(467)];[Vo(434)];[Vo(420)];[Vo(460)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(438)];this[n(467)]=this[n(435)](),this[n(467)][n(425)](n(429)).to(this),this[n(467)][n(425)](n(421)).to(this),this[n(434)]=e,this[n(420)]=i,this[n(460)]=s,this.on(n(429),(t,e)=>{const i=n;this[i(422)](i(418),e)}),this.on(n(421),(t,e)=>{const i=n;this[i(422)](i(427),e)}),this[n(451)](n(455),!1),this[n(465)]({tag:n(468),attributes:{class:["ck",n(443),n(452),n(431)]},children:[new To(t),{tag:n(468),attributes:{class:["ck",n(461),r.if(n(455),n(441),t=>!t)]},children:this[n(467)]}]})}[Vo(414)](){const t=Vo;super[t(414)]();for(const e of this[t(434)])this[t(442)](e);this[t(434)].on(t(445),(e,i)=>{this[t(442)](i)}),this[t(434)].on(t(415),(e,i)=>{this[t(419)](i)})}get[Vo(457)](){const t=Vo;return this[t(467)][t(428)](e=>e[t(457)][t(428)](t=>t))[t(466)]()}[Vo(446)](t){const e=Vo;for(const i of this[e(457)])t&&t.id===i.id?i[e(429)]():i[e(426)]()}[Vo(450)](t){const e=Vo;for(const i of this[e(457)])t[e(448)](({id:t})=>t===i.id)?i[e(464)]():i[e(458)]()}[Vo(442)](t){const e=Vo,i=go(t[e(469)],this[e(453)][e(432)])[e(440)];let s=this[e(467)][e(439)](0);s&&s[e(440)][e(424)]()===i[e(424)]()||(s=new Io(this[e(453)],i,this[e(420)],this[e(460)]),this[e(467)][e(445)](s)),s[e(456)](t)}[Vo(419)](t){const e=Vo,i=go(t[e(469)],this[e(453)][e(432)])[e(440)];this[e(423)](i)[e(433)](t)}[Vo(423)](t){const e=Vo;return this[e(467)][e(463)](i=>i[e(440)][e(424)]()===t[e(424)]())}}function Co(t,e){const i=Lo();return(Co=function(t,e){return i[t-=338]})(t,e)}const Fo=Co;!function(t){const e=Co,i=t();for(;;)try{if(986264===-parseInt(e(346))/1+parseInt(e(396))/2*(-parseInt(e(414))/3)+-parseInt(e(419))/4*(-parseInt(e(401))/5)+parseInt(e(363))/6*(parseInt(e(393))/7)+parseInt(e(420))/8*(-parseInt(e(349))/9)+-parseInt(e(386))/10*(-parseInt(e(388))/11)+-parseInt(e(422))/12*(-parseInt(e(421))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Fo(380)];[Fo(374)];[Fo(375)];static[Fo(389)]=[Fo(404),Fo(365),Fo(342)];static[Fo(408)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(381),action:({plugins:e},i)=>{const s=t,n=e[s(391)](ue),r=n[s(350)];let o=n[s(387)][s(353)],a=i.id;r[s(370)](o)>r[s(370)](a)&&([o,a]=[a,o]),n[s(373)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(391)](ue);return!(n[s(350)][s(348)](n[s(387)])[s(347)]>2||i[s(383)])}},restoreRevision:{name:t(357),action:(e,{id:i})=>{const s=t;e[s(417)][s(391)](s(423))[s(395)](i)},isVisible:({plugins:e},i)=>!!e[t(391)](ue)[t(350)][t(385)](i.id)},nameRevision:{name:t(364),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(391)](ue),o=r[n(350)][n(338)](i);r[n(373)](i,o),s[n(360)](),s[n(341)][n(418)]()}}}}();static get[Fo(399)](){return Fo(371)}static get[Fo(344)](){return!0}static get[Fo(410)](){return!0}static get[Fo(358)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(380)]=t[e(376)][e(391)](ue),this[e(374)]=this[e(380)][e(350)],this[e(375)]=null}[Fo(382)](){const t=Fo,e=this[t(374)][t(368)],i=this[t(359)](),s=this[t(355)][t(417)][t(391)](t(398));this[t(375)]=new Do(this[t(355)][t(394)],e,i,this[t(355)][t(417)][t(391)](t(354))),this[t(375)].on(t(362),this[t(415)][t(405)](this)),this[t(375)].on(t(403),this[t(407)][t(405)](this)),this[t(375)][t(405)](t(356)).to(this[t(380)]),this[t(375)][t(367)].on(t(411),(e,i)=>{const s=t;i[s(413)].on(s(411),(t,e)=>{const i=s;e[i(405)](i(356),i(361)).to(this[i(380)])})}),this[t(375)][t(339)](),this[t(400)](this[t(355)][t(409)],t(392),this[t(378)][t(405)](this)),this[t(400)](this[t(380)],t(352),this[t(379)][t(405)](this)),s[t(366)](this[t(375)][t(340)])}[Fo(416)](){const t=Fo;this[t(375)][t(340)][t(369)](),this[t(375)][t(416)]()}[Fo(378)](){const t=Fo,e=this[t(374)][t(406)](0);if(e){const i=this[t(374)][t(338)](e.id);this[t(380)][t(373)](e,i)}}[Fo(415)](t,e){const i=Fo,s=this[i(374)][i(406)](e.id),n=this[i(374)][i(338)](s.id);this[i(380)][i(373)](s,n)}[Fo(407)](t,e){const i=Fo;this[i(374)][i(406)](e.id)[i(372)](e[i(402)])}[Fo(379)](t,e,i){const s=Fo,n=this[s(374)][s(348)](i);n[s(347)]>2?(this[s(375)][s(345)](n),this[s(375)][s(343)](null)):(this[s(375)][s(345)]([]),this[s(375)][s(343)](n[0]))}[Fo(359)](){const t=Fo,e=this[t(355)],i=jo[t(408)],s=e[t(417)][t(391)](t(351))||jo[t(389)];if(s[t(347)])return s[t(412)](s=>{const n=t,r=n(397)==typeof s?Object[n(390)]({},i[s]):s;return r[n(377)]=r[n(377)][n(405)](this,e),r[n(384)]&&(r[n(384)]=r[n(384)][n(405)](this,e)),r})}}function Lo(){const t=["836668CFEdxy","locale","restoreRevisionCallback","808394xiZwEn","string","revisionHistory.viewerSidebarContainer","pluginName","listenTo","15695NbLBLM","name","revisionSetName","compareAgainstSelected","bind","getRevision","_handleRevisionSetName","availableRevisionActions","data","isPremiumPlugin","add","map","revisionViews","6rjTxcd","_handleRevisionSelected","destroy","config","select","2224AxOYkL","4002472IsoIXQ","1963tjpDoX","32964Jmdwin","revisionHistory","getEarlierVisibleRevision","render","element","fieldView","nameRevision","selectRevision","isOfficialPlugin","highlightRevisions","1032791NZHaGm","length","getRevisionsInDiff","9ciydWR","repository","revisionHistory.revisionActions","change:diff","newRevisionId","revisionHistory.requireRevisionName","editor","isEnabled","Restore this revision","requires","_createRevisionActions","focus","isReady","revisionSelected","42hacpte","Name this revision","restoreRevision","appendChild","timePeriodViews","_revisions","remove","getIndex","RevisionsSidebar","setName","compare","_revisionsRepository","_sidebarView","plugins","action","_handleEditorDataReady","_handleDiffChange","_revisionViewer","Compare against selected","init","isSelected","isVisible","getLaterVisibleRevision","10wmOanE","diff","3641099fMjxSV","defaultRevisionActions","assign","get","ready"];return(Lo=function(){return t})()}function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=182]})(t,e)}const zo=Po;function Wo(){const t=["_view","view","fire","stickyPanel","237100NmbPRt","addToolbar","57588sjCkpE","get","3rERdEw","replace","name","attachDomRoot","viewportTopOffset","fillFromConfig","isFocused","editor","63SUWVNW","462reFCPm","1529HGFUPL","config","_initToolbar","document","ready","restore","4263384KVAbCK","element","25341914LWdoHJ","destroy","viewportOffset","getRoot","rootName","isActive","7TorSsv","focusTracker","3siwKSc","detachDomRoot","55730bOlTlo","limiterElement","toolbar","_elementReplacer","setEditableElement","_toolbarConfig","editing","1113496yNrQsw","editable","81694TESMjm","bind","componentFactory","init","render"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(430651===parseInt(e(229))/1*(-parseInt(e(216))/2)+parseInt(e(205))/3*(parseInt(e(214))/4)+parseInt(e(207))/5*(parseInt(e(188))/6)+parseInt(e(203))/7*(parseInt(e(195))/8)+-parseInt(e(187))/9*(-parseInt(e(225))/10)+-parseInt(e(189))/11*(-parseInt(e(227))/12)+-parseInt(e(197))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[zo(221)];[zo(212)];[zo(210)];get[zo(222)](){return this[zo(221)]}constructor(e,i){const s=zo;super(e),this[s(221)]=i,this[s(212)]=(0,It.normalizeToolbarConfig)(e[s(190)][s(228)](s(209))),this[s(210)]=new t.ElementReplacer}get[zo(196)](){const t=zo;return this[t(222)][t(196)]}[zo(219)](t){const e=zo,i=this[e(186)],s=this[e(222)],n=i[e(213)][e(222)],r=s[e(215)],o=n[e(192)][e(200)]();r[e(231)]=o[e(201)],s[e(220)]();const a=r[e(196)];this[e(211)](r[e(231)],a),s[e(215)][e(217)](e(185)).to(this[e(204)]),n[e(182)](a),this[e(210)][e(230)](t,this[e(196)]),this[e(191)](),this[e(223)](e(193))}[zo(198)](){const t=zo;super[t(198)]();const e=this[t(222)],i=this[t(186)][t(213)][t(222)];this[t(210)][t(194)](),i[t(206)](e[t(215)][t(231)]),e[t(198)]()}[zo(191)](){const t=zo,e=this[t(222)];e[t(224)][t(217)](t(202)).to(this[t(204)],t(185)),e[t(224)][t(208)]=e[t(196)],e[t(224)][t(217)](t(183)).to(this,t(199),({top:t})=>t),e[t(209)][t(184)](this[t(212)],this[t(218)]),this[t(226)](e[t(209)])}}var Zo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Rt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Vt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var $o=Bo;function qo(){var t=["content","main","759FMokoP","6ANkTCD","toolbar","5560734tDMMVK","render","stickyPanel","5xybTnD","_editable","6400890KEcqzj","178140ExZntJ","shouldToolbarGroupWhenFull","7593688vCeXZG","825792divKIL","top","7ircgYn","editable","1215678uyQYIM","2822370OAiBQi","add"];return(qo=function(){return t})()}function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=460]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(757767===parseInt(e(460))/1+-parseInt(e(461))/2+parseInt(e(466))/3*(parseInt(e(477))/4)+-parseInt(e(471))/5*(parseInt(e(468))/6)+-parseInt(e(479))/7*(-parseInt(e(476))/8)+-parseInt(e(473))/9+parseInt(e(474))/10*(parseInt(e(465))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(472)];[$o(470)];[$o(467)];get[$o(480)](){return this[$o(472)]}constructor(t,e,i={}){var s=$o;super(t),this[s(470)]=new It.StickyPanelView(t),this[s(467)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(475)]}),this[s(472)]=new It.InlineEditableUIView(t,e)}[$o(469)](){var t=$o;super[t(469)](),this[t(470)][t(463)][t(462)](this[t(467)]),this[t(478)][t(462)](this[t(470)]),this[t(464)][t(462)](this[t(480)])}}const Jo=Ko;function Go(){const t=["fire","sourceElement","document","locale","1899876YJZhsu","createRoot","get","view","17367LLJkQa","677796FpBBSB","2386650MCbyYn","79839naFlFI","228zusoYm","5337013gBCFFI","destroy","ready","336jlBWkW","_ui","init","initialData","50mahDUW","editing","model","updateSourceElement","31215sGtaQS","data","create","initPlugins","config","328cZcigD"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=303]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(580711===parseInt(e(306))/1+-parseInt(e(331))/2+parseInt(e(321))/3*(-parseInt(e(309))/4)+-parseInt(e(307))/5+parseInt(e(313))/6*(-parseInt(e(305))/7)+parseInt(e(326))/8*(-parseInt(e(308))/9)+-parseInt(e(317))/10*(-parseInt(e(310))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(314)];get ui(){return this[Jo(314)]}constructor(t,e){const i=Jo;super(e),this[i(328)]=t,this[i(319)][i(329)][i(332)]();const s=new Yo(this[i(330)],this[i(318)][i(304)],{shouldToolbarGroupWhenFull:!0});this[i(314)]=new Uo(this,s)}[Jo(311)](){const t=Jo;return this[t(320)](),this.ui[t(311)](),super[t(311)]()}static async[Jo(323)](t,e){const i=Jo,s=new this(t,e);return await s[i(324)](),await s.ui[i(315)](t),await s[i(322)][i(315)](s[i(325)][i(303)](i(316))||""),s[i(327)](i(312)),s}}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=134]})(t,e)}function ea(){const t=["saveRevision","requires","fromCharCode","closeRevisionViewerCallback",".ck-ai-chat__prompt-input .ck-textarea","disableReadOnlyMode","_getRevisionViewerEditorConfig","creator","adapter","init","isEnabled","toVersion","_enhanceCloseRevisionViewerCallback","model","rootName","pluginName","then","from","isOfficialPlugin","DocumentOutline","6HafOZl","revisionHistory","getRevisionRootsAttributes","commands","revision-history-viewer-opened","display","revisionHistory.requireRevisionName","toLocaleDateString","has","hide","setSelection","showRevisionViewerCallback","revision-history-missing-configuration","_update","Users","isRevisionViewerOpen","markers","_restoreRevision","end","keys","data","save","addRevisionData","tabindex","revisionHistory.closeRevisionViewerCallback","$graveyard"," ck-tab-panel_disabled","define","set","includes","removeMarker","join","RevisionViewerIntegration","result","_cleanUp","_closeRevisionViewer","1829979vzMhzQ","Annotations","editor","indexOf","108716JgHokK","push","AIActions","style","526760yVYwOh","1149420PWRjag","removeAttribute","AIQuickActions","RevisionHistoryUtils","parse","revisionHistory.viewerEditorElement","AITabs","removeSelectionAttribute","bind","7xENuky","getAttributeKeys","13924359yMMDDc","RevisionsRepository","repository","AIChatHistory","getRevision","refreshPositioning","change","panelViews","getRoot","update","exitToEditing","PaginationLookup","revisionHistory.editorContainer","AIBalloon","getRevisions","5021832fSmuzR","locale","createdAt","uiLanguage","RevisionTracker","toLocaleTimeString","replace","fromVersion","catch","RevisionHistoryUI","isAttached","lazyRoots","getRevisionDocumentData","toolbar","DocumentOutlineUI","RevisionViewer","ck-tab-panel_disabled","name","2763480ZFHTtQ","RevisionHistory","restoreRevision","remove","get","create","error","changesNavigation","revisionHistory.showRevisionViewerCallback","map","isReadOnly","block","_showRevisionViewer",".ck-ai-chat-history .ck-input","_enhanceShowRevisionViewerCallback","config","enableReadOnlyMode","users","revisionHistory.viewerContainer","getUser","isAnonymous","view","Restored","none","refreshVisibility","Autosave","_viewerEditor","selection","isReady","revisionHistory.restoreRevisionCallback","element","translations","addUser","toJSON","loadRevisionData","class","getMarkersGroup","RestrictedEditingMode","AIChat","destroy","plugins","restrictedEditingException","createRangeIn","_recalculatePageBreaks","insert","querySelector","setAttribute","numeric","long","enqueueChange","addRoot","isOpen","isPremiumPlugin","document","Dialog","roots","AIReviewMode","detachRoot"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(466586===parseInt(e(201))/1*(-parseInt(e(161))/2)+parseInt(e(197))/3+-parseInt(e(206))/4+parseInt(e(205))/5+-parseInt(e(232))/6*(parseInt(e(215))/7)+-parseInt(e(250))/8+parseInt(e(217))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(241),Qo(287),Qo(288),Qo(139),Qo(230),Qo(208),Qo(203)];class sa extends G.Plugin{[Qo(194)];static get[Qo(156)](){return Qo(193)}static get[Qo(159)](){return!0}static get[Qo(135)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(259)](t=>String[e(143)](t))[e(192)]("")}super(t),this[e(194)]=e(179),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(276)];static get[Qo(156)](){return Qo(251)}static get[Qo(159)](){return!0}static get[Qo(135)](){return!0}static get[Qo(142)](){return[mt,Ht]}constructor(e){const i=Qo;if(super(e),!this[i(199)][i(265)][i(254)](i(162)))throw new t.CKEditorError(i(173),this);this[i(276)]=null,this[i(189)](i(176),!1),this[i(199)][i(265)][i(188)](i(258),t=>this[i(262)]({...t,translations:this[i(199)][i(233)][i(281)]})),this[i(199)][i(265)][i(188)](i(185),t=>this[i(196)](t)),this[i(199)][i(265)][i(188)](i(279),t=>this[i(178)](t)),this[i(199)][i(265)][i(188)](i(167),!1),this[i(264)](),this[i(153)]()}set[Qo(149)](t){const e=Qo;this[e(199)][e(290)][e(254)](e(236))[e(149)]=t}get[Qo(149)](){const t=Qo;return this[t(199)][t(290)][t(254)](t(236))[t(149)]}[Qo(183)](t){const e=Qo;return this[e(199)][e(290)][e(254)](e(236))[e(183)](t)}[Qo(221)](t){const e=Qo;return this[e(199)][e(290)][e(254)](e(218))[e(221)](t)}[Qo(231)](t){const e=Qo;return this[e(199)][e(290)][e(254)](e(218))[e(231)](t||{toJSON:!1})}[Qo(147)](){const e=Qo,i=this[e(199)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(290)][e(254)](e(236)),r=i[e(290)][e(254)](e(175))[e(267)];return s[e(245)]=[e(227),e(252),e(257)],delete s[e(243)],s[e(290)][e(202)](sa,ue,Ne,class extends G.Plugin{static get[e(142)](){return[ue,e(175)]}[e(150)](){const s=e,o=this[s(199)][s(290)][s(254)](s(175));for(const t of r)t[s(270)]||o[s(269)](t.id)||o[s(282)](t);const a=n[s(219)][s(231)]();let c=null;const u=this[s(199)][s(290)][s(254)](s(247));u[s(149)]=n[s(149)],u[s(214)](s(151)).to(n),this[s(199)][s(164)][s(254)](s(252))[s(214)](s(151)).to(i,s(260),t=>!t);for(const e of a){const i=null===e[s(148)];if(i&&e[s(152)]===e[s(239)])continue;const r=e[s(283)]();u[s(183)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(174)](r,o);else if(!o){const e=a[u(283)]();e.id=(0,t.uid)(),n[u(141)](e,a[u(152)])[u(157)](t=>{c=t})}}else e[u(174)](r,o)})}}},jo),s}[Qo(264)](){const t=Qo,e=this[t(199)][t(265)][t(254)](t(162))[t(172)];this[t(199)][t(265)][t(189)](t(258),async()=>{const i=t;this[i(199)][i(266)](i(165));const s=this[i(199)][i(290)][i(254)](i(236));if(this[i(199)][i(290)][i(169)](i(275))){const t=this[i(199)][i(290)][i(254)](i(275));await t[i(182)]()}else await s[i(226)]();if(this[i(199)][i(290)][i(169)](i(228))&&this[i(199)][i(290)][i(254)](i(228))[i(293)](),this[i(199)][i(290)][i(169)](i(137))){const t=this[i(199)][i(290)][i(254)](i(137));t[i(134)]&&t[i(170)]()}if(this[i(199)][i(290)][i(169)](i(212))){const t=this[i(199)][i(290)][i(254)](i(212))[i(271)][i(224)];for(const e of t)e[i(285)]=e[i(285)]?e[i(285)]+i(187):i(248);if(this[i(199)][i(290)][i(169)](i(288))){const t=document[i(295)](i(145));t&&t[i(296)](i(184),"-1")}if(this[i(199)][i(290)][i(169)](i(220))){const t=document[i(295)](i(263));t&&t[i(296)](i(184),"-1")}}const n=this[i(147)]();return e(n)[i(157)](t=>{const e=i;return this[e(276)]=t,this[e(199)][e(290)][e(169)](e(198))&&this[e(199)][e(290)][e(254)](e(198))[e(274)](),this[e(199)][e(290)][e(169)](e(160))&&(this[e(199)][e(290)][e(254)](e(246))[e(271)][e(280)][e(204)][e(166)]=e(273)),t})[i(240)](t=>(console[i(256)](t),this[i(199)][i(146)](i(165)),null))})}[Qo(153)](){const t=Qo,e=this[t(199)][t(265)][t(254)](t(162))[t(144)];this[t(199)][t(265)][t(189)](t(185),()=>{const i=t;if(this[i(199)][i(290)][i(169)](i(228))&&this[i(199)][i(290)][i(254)](i(228))[i(293)](),this[i(199)][i(290)][i(169)](i(160))&&(this[i(199)][i(290)][i(254)](i(246))[i(271)][i(280)][i(204)][i(166)]=""),this[i(199)][i(290)][i(169)](i(212))){const t=this[i(199)][i(290)][i(254)](i(212))[i(271)][i(224)];for(const e of t)e[i(285)]=i(248)===e[i(285)]?"":e[i(285)][i(238)](i(187),"");if(this[i(199)][i(290)][i(169)](i(288))){const t=document[i(295)](i(145));t&&t[i(207)](i(184))}if(this[i(199)][i(290)][i(169)](i(220))){const t=document[i(295)](i(263));t&&t[i(207)](i(184))}}return this[i(276)][i(290)][i(254)](i(247))[i(195)](),e(this[i(276)])[i(157)](()=>{const t=i;if(this[t(199)][t(146)](t(165)),this[t(276)]=null,this[t(199)][t(290)][t(169)](t(198))){const e=this[t(199)][t(290)][t(254)](t(198));e[t(274)](),e[t(222)]()}})})}[Qo(262)](t){const e=Qo,i=this[e(199)][e(265)][e(254)](e(229)),s=this[e(199)][e(265)][e(254)](e(268)),n=this[e(199)][e(265)][e(254)](e(211));return Xo[e(255)](n,t)[e(157)](t=>(s[e(204)][e(166)]=e(261),i[e(204)][e(166)]=e(273),this[e(176)]=!0,t))}[Qo(196)](t){const e=Qo,i=this[e(199)][e(265)][e(254)](e(229));return this[e(199)][e(265)][e(254)](e(268))[e(204)][e(166)]=e(273),i[e(204)][e(166)]="",this[e(176)]=!1,t[e(289)]()}async[Qo(178)](t){const e=Qo,i=this[e(199)],s=this[e(276)][e(290)][e(254)](e(247)),n=i[e(290)][e(254)](e(236)),r=i[e(290)][e(254)](e(209)),o=s[e(219)][e(221)](t);let a,c,u;try{await r[e(284)](o,this[e(149)]),a=r[e(244)](o),c=r[e(163)](o)}catch(t){return void console[e(256)](t)}i[e(154)][e(223)](t=>{const s=e;for(const e of Array[s(158)](i[s(154)][s(177)][s(286)](s(291))))t[s(191)](e)}),s[e(278)]=!1,i[e(154)][e(299)](t=>{const s=e;t[s(171)](null),t[s(213)](i[s(154)][s(136)][s(277)][s(216)]());const n=Object[s(180)](a);for(const e of i[s(154)][s(136)][s(138)])s(186)!=e[s(155)]&&e[s(242)]()&&!n[s(190)](e[s(155)])&&t[s(140)](e);for(const e of n){let n=i[s(154)][s(136)][s(225)](e);n&&n[s(242)]()||(n=t[s(300)](e));const r=c[e],o=Object[s(180)](r),u=a[e];for(const e of n[s(216)]())o[s(190)](e)||t[s(207)](e,n);for(const i of o)t[s(296)](i,c[e][i],n);t[s(253)](t[s(292)](n)),t[s(294)](i[s(181)][s(210)](u,n),n,0)}});const l=at(i[e(233)],e(272));return u=o[e(249)]?-1==o[e(249)][e(200)](l)?l+": "+o[e(249)]:o[e(249)]:l+": "+o[e(234)][e(168)](i[e(233)][e(235)],{month:e(298),day:e(297)})+", "+o[e(234)][e(237)](i[e(233)][e(235)],{hour:e(297),minute:e(297)}),await n[e(141)]({name:u}),s[e(278)]=!0,i[e(265)][e(254)](e(162))[e(144)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=185]})(t,e)}function oa(){var t=["336992uaFlKs","410836EihTYW","12GKACbS","36593UyyjrU","1615635ixaoaL","1092210couhSn","20480QHwovE","2098960EisZNh"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(212063===parseInt(e(188))/1+parseInt(e(186))/2+-parseInt(e(187))/3*(parseInt(e(185))/4)+-parseInt(e(191))/5+-parseInt(e(190))/6+parseInt(e(189))/7+parseInt(e(192))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},102:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},297:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},929:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Po,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",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 P(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function 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=P(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=L(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?H(e)?Z(t,U(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=Y;function B(){const t=["fromVersion","setName","2747637Zoaqco","3446890cTBaHY","44joniKN","attributes","_update","21795jjnByU","4180DLjEiF","2346096VXhSMX","set","11JuzufO","creatorId","removeAttribute","2877180iOaCAb","diffData","creator","model","73vvlXTv","authors","1023400WIpoie","5iVjqBn","toVersion","toJSON","createdAt","fire","map","setAttribute","authorsIds","name","7juFHDJ"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(219781===parseInt(e(344))/1*(parseInt(e(334))/2)+parseInt(e(333))/3*(-parseInt(e(330))/4)+-parseInt(e(316))/5*(parseInt(e(335))/6)+parseInt(e(325))/7*(parseInt(e(315))/8)+parseInt(e(328))/9+-parseInt(e(329))/10*(-parseInt(e(337))/11)+-parseInt(e(340))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[$(342)];[$(345)];[$(341)];[$(317)];[$(326)];[$(343)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(342)]=e[i(342)]||null,this[i(345)]=e[i(345)]||[],this[i(341)]=e[i(341)]||null,this[i(317)]=e[i(317)]||0,this[i(326)]=e[i(326)]||0,this[i(336)](i(324),e[i(324)]||""),this[i(336)](i(319),e[i(319)]||new Date),this[i(336)](i(331),e[i(331)]||{})}[$(327)](t){this[$(332)]({name:t})}[$(322)](t,e){const i=$,s=A(this[i(331)]);W(s,t,e),this[i(332)]({attributes:s})}[$(339)](t){const e=$,i=A(this[e(331)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(332)]({attributes:i})}[$(332)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(324),i(319),i(341),i(345),i(331),i(317),i(326),i(338)];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(345)]&&(n[i(323)]=n[i(345)][i(321)](t=>t.id),delete n[i(345)]),this[i(320)](i(332),n,e))}[$(318)](){const t=$;return{id:this.id,name:this[t(324)],creatorId:this[t(342)]?this[t(342)].id:null,authorsIds:this[t(345)][t(321)](t=>t.id),diffData:this[t(341)],createdAt:this[t(319)],attributes:this[t(331)],fromVersion:this[t(326)],toVersion:this[t(317)]}}}var G=i(782),K=i(211),Q=i(783);const X=et;function tt(){const t=["href","diffData","addRevision","afterInit","createRevision","get","data","getEarlierVisibleRevision","getRevisionsInDiff","12826917wAfUMX","earlier","from","isPremiumPlugin","push","join","creatorId","name","getRevision","1974404nnqmcY","reverse","4CIBTxE","getRevisions","getRevisionsIterator","createdAt","map","isNaN","fromCharCode","toVersion","pluginName","add","requires","toJSON","getUser","1315863bjHfTg","attributes","length","later","500628PTAVaz","30851360HcPCKD","isOfficialPlugin","editor","getIndex","fromVersion","plugins","388129boOzcB","Users","24nsUeXu","authorsIds","5nNkYxW","RevisionsRepository","_revisions","getLaterVisibleRevision","newRevisionId","oldRevisionId","7734966CQdlHn"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=294]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(951593===parseInt(e(337))/1+-parseInt(e(324))/2*(-parseInt(e(341))/3)+-parseInt(e(322))/4+parseInt(e(297))/5*(parseInt(e(303))/6)+-parseInt(e(348))/7*(-parseInt(e(295))/8)+parseInt(e(313))/9+-parseInt(e(342))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[X(299)];static get[X(334)](){return[K.Users]}static get[X(332)](){return X(298)}static get[X(343)](){return!0}static get[X(316)](){return!0}get[X(339)](){const t=X;return this[t(299)][t(339)]}constructor(e){const i=X;super(e),this[i(299)]=new t.Collection}[X(307)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[y([121])]:y([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=et;return t[e(328)](t=>String[e(330)](t))[e(318)]("")}!function(t){const i=u();r[i]=y([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||p(y([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1768003200;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=et,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(304)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=et;for(const e in window)if(window[y([78,117,109,98,101,114])][i(329)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[X(308)](t){const e=X,i=this[e(344)][e(347)][e(309)](e(294));return new J({id:t.id,name:t[e(320)],creator:t[e(319)]?i[e(336)](t[e(319)]):null,diffData:t[e(305)]||t[e(310)],authors:t[e(296)][e(328)](t=>i[e(336)](t)),createdAt:new Date(t[e(327)]),attributes:t[e(338)],fromVersion:t[e(346)],toVersion:t[e(331)]})}[X(306)](t,e=0){const i=X;this[i(299)][i(333)](t,e)}[X(321)](t){const e=X;return this[e(299)][e(309)](t)}[X(325)](t={toJSON:!1}){const e=X,i=Array[e(315)](this[e(299)]);return i[e(323)](),t[e(335)]?i[e(328)](t=>t[e(335)]()):i}[X(345)](t){const e=X;return this[e(299)][e(345)](t)}[X(311)](t){const e=X,[,i]=this[e(326)](t,{direction:e(314)});return i}[X(300)](t){const e=X,[,i]=this[e(326)](t,{direction:e(340)});return i}[X(312)](t){const e=X,i=[];for(const s of this[e(326)](t[e(301)]))if(i[e(317)](s),s.id===t[e(302)])break;return i}*[X(326)](t,{direction:e=X(314),filter:i=()=>!0}={}){const s=X,n=s(314)===e?1:-1;let r=this[s(299)][s(309)](t),o=this[s(345)](r);for(yield r;r;){if(o+=n,r=this[s(321)](o),!r)return;i(r)&&(yield r)}}}function st(){const t=["_viewClassToTypeChar","editor","attachChange","isOfficialPlugin","9dwROYw","forEach","_removeRevisionMarkers","filter","from","type","toData","8yZJbPn","_appendChild","childNodes","859406WnwvjB","toModel","config","data","constructor","diffData","htmlProcessor","map","146565ystKdy","customProperties","string","isAttached","209qDxLwT","attributesAfter","domDocument","name","getRevision","render","66nVbUim","getRevisionRootsAttributes","viewChildrenToDom","getRevisionDocumentData","1007114lVHUTa","data-revision-","domChildrenToView","document","_makeModelFromViewString","attributes","processor","length","646170msQjnH","RevisionHistoryUtils","get","collaboration.channelId","insertions","pluginName","fillerOffset","_typeCharToViewClass","append","editing","view","startsWith","isPremiumPlugin","revision-end","_setCustomProperty","revision-start","5142090bGCSJN","6395627ChKgSE","children","marked","parse","getFillerOffset","useFillerType","_getViewFromDiffObj","loadRevisionData","domConverter","52KknKiB","8952WWnKuq","innerHTML","_getTypeCharForViewElement","div","default","createElement"];return(st=function(){return t})()}function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=359]})(t,e)}const rt=nt;!function(t){const e=nt,i=t();for(;;)try{if(763338===-parseInt(e(388))/1+-parseInt(e(366))/2+-parseInt(e(374))/3*(parseInt(e(422))/4)+-parseInt(e(396))/5*(-parseInt(e(384))/6)+-parseInt(e(413))/7*(-parseInt(e(363))/8)+parseInt(e(433))/9*(parseInt(e(412))/10)+parseInt(e(378))/11*(-parseInt(e(423))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[rt(401)](){return rt(397)}static get[rt(432)](){return!0}static get[rt(408)](){return!0}[rt(429)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[rt(403)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[rt(420)](t,e){const i=rt;if(t[i(371)]||!e)return;const s=this[i(430)][i(368)][i(398)](i(399)),n=await e[i(382)]({channelId:s,revisionId:t.id});t[i(371)]=n[i(371)]}[rt(387)](t){const e=rt,i={};for(const s in t[e(371)]){if(t[e(371)][s][e(431)]&&!t[e(371)][s][e(431)][e(377)])continue;const n=this[e(435)](JSON[e(416)](t[e(371)][s][e(400)])),r=this[e(430)][e(405)][e(406)][e(391)],o=new Q.ViewDocumentFragment(r,n[e(373)](t=>this[e(419)](t,!1)));this[e(430)][e(369)][e(394)][e(418)](e(415)),i[s]=this[e(430)][e(369)][e(394)][e(362)](o),this[e(430)][e(369)][e(394)][e(418)](e(427))}return i}[rt(385)](t){const e=rt,i={};for(const s in t[e(371)])t[e(371)][s][e(431)]&&!t[e(371)][s][e(431)][e(377)]||(i[s]=t[e(371)][s][e(379)]||{});return i}[rt(425)](t){const e=rt;return this[e(429)][e(398)](t[e(370)])}[rt(419)](t,e){const i=rt,s=this[i(430)][i(405)][i(406)][i(391)];if(i(376)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(361)]||"r"==t[i(361)]?[]:t[i(414)][i(373)](t=>this[i(419)](t,e));const o=this[i(403)][i(398)](t[i(361)])||Q.ViewElement,a=this[i(430)][i(369)][i(372)][i(421)];if(n=new o(s,t[i(381)],t[i(393)],r),"u"==t[i(361)]&&t[i(414)][0]){const r=t[i(414)][0];if(n[i(383)]=function(t){const e=i,s=t[e(428)](e(426));return s[e(424)]=r,s[e(365)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(364)](n);const e=Array[i(360)](a[i(386)](t,{bind:!1})),r=a[i(380)][i(428)](i(426));r[i(404)](...e),n=Array[i(360)](a[i(390)](r))[0]}}else if("r"==t[i(361)]&&t[i(414)][0]){const r=t[i(414)][0];if(n[i(383)]=function(t){t[i(424)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(364)](n);const e=Array[i(360)](a[i(386)](t,{bind:!1})),r=a[i(380)][i(428)](i(426));r[i(404)](...e);const o=Array[i(360)](a[i(390)](r));o[i(395)]>1?n[i(364)](o):n=o[0]}}if(t[i(375)])for(const[e,s]of t[i(375)])n[i(410)](e,s);const c=void 0===t[i(402)]?null:t[i(402)];return null!==c&&(n[i(417)]=()=>c),n}}[rt(392)](t){const e=rt,i=JSON[e(416)](t),s=this[e(430)][e(405)][e(406)][e(391)],n=new Q.ViewDocumentFragment(s,i[e(373)](t=>this[e(419)](t,!0)));return this[e(430)][e(369)][e(367)](n)}[rt(435)](t){const e=rt;return(t=t[e(359)](t=>!t[e(381)]||e(411)!==t[e(381)]&&e(409)!==t[e(381)]))[e(434)](t=>{const i=e;i(376)!=typeof t&&(t[i(414)]=this[i(435)](t[i(414)]),t[i(393)]=t[i(393)][i(359)](t=>!t[0][i(407)](i(389))))}),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&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(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=bt;function mt(){const t=["setRevisionData","documentFragment","text","updateRevisions","_transformMarkers","attributesBefore","RevisionHistory","length","delete","string","getMovedRangeStart","version","authors","toVersion","invalid","getChildren","_cloneOperation","creator","domDocument","_showLicenseError","licenseKey","elementStart","getIndex","elementEnd","_loadState","_utils","stickiness","loadRevisionData","_fixRange","revisionHistoryLicenseKeyInvalid","move","320296WVFhEa","Users","getRevisionRootsAttributes","addRoot","userId","split","push","_findInsertionIndex","_revisionDataBuilder","getAttribute","insertion","RealTimeCollaborationClient","createPositionFromPath","_handleOperation","values","some","end","_touchedRoots","_handleSplitOperation","attachChange","type","markers","PENDING_ACTION_REVISION_HISTORY","nodeAfter","upcast","getChild","has","$graveyard","domConverter","_isPendingUpdate","buildRevisionData","detachRoot","_calculateMetaData","clone","nodes","revisionHistoryLicenseKeyDomainLimit","bind","position","_startingRevisionId","_createFromRanges","item","loadState","remove","marker","deletions","markerToData","_handleInsertOperation","_makeRevision","outerHTML","_createCurrentRevision","config","$comment","sendBufferedUpdates","_getTypeCharForViewElement","getOperations","model","sort","expired","currentRevision","dataDowncast","isEqual","name","from","rawElement","revision:","_makeModelFromViewString","RevisionsRepository","collaboration.channelId","_authorId","_licenseKeyCheckInterval","createPositionBefore","tableCell","getCurrentRevisionId","isAdd","_markChanges","conversion","initialData","_getVidAttributeName","277824FYGGHu","_touchedMarkers","addRevisionData","finally","_fixOperation","ready","slice","revisionHistoryLicenseKeyUsageLimit","define","deletion","8aNlnKV","initial","_idsRoots","children","includes","editor","_diffRootsAttributes","getAttributes","authorsIds","roots","_lastTo","changeRootAttribute","vid","evaluationLimit","reInit","revisionHistoryLicenseKeyEvaluationLimit","paragraph","_pendingAction","removeRootAttribute","_isAttached","adapter","getLatestVersion","parent","_reset","setSource","getRevision","document","RevisionHistoryUtils","_handleRootAttributeOperation","revisionHistory.resumeUnsavedRevision","_handleMarkerOperation","getCustomProperties","_replaceEditorDataWithRevisionData","baseVersion","revisionHistoryLicenseKeyNotAllowed","_handleRootOperation","vid_end","sourcePosition","getTime","_getFromVersion","_loadedStateData","repository","fromVersion","createRangeIn","_addPendingAction","isReady","Empty document","rootsAttributes","customProperties","innerHTML","targetPosition","history","trim","root","rootName","_applyOperations","newRange","htmlProcessor","for","dataToMarker","isEnabled","max","_getPreviousFrom","_execute","_setConversion","size","start","toView","destroy","_getViewJson","_handleMoveOperation","merge","reinsert","newValue","$text","_insertChild","getRevisions","_bufferedUpdates","_continueCurrentRevision","requires","9764343BsVPFn","_handleMergeOperation","vid_start","_startingVersion","offset","_appendChild","_revisionId","Initial revision","getOperation","isOfficialPlugin","getRoot","update","isAttached","_baseIdsRoots","_getState","editor-initial-data-replaced-with-revision-data","_prepareViewToSave","shift","diffData","set","getFillerOffset","getWalker","resolve","createPositionAfter","source","domainLimit","addRevision","_savedMetaData","createdAt","getData","find","_touched","revision","_makeIdsRoot","featureNotAllowed","_baseRootsAttributes","NEGATIVE_INFINITY","offsetSize","968620keNamR","_source","get","getUser","splitPosition","childCount","keys","revisionHistoryLicenseKeyExpired","PendingActions","_update","_markers","createPositionAt","affectsData","_operations","plugins","64047pXROow","creatorId","oldRange","_removeMetaData","getRange","previousPosition","clear","1578689lLeteI","getRootNames","_baseRoots","getNodeByPath","createElement","howMany","_createInitialRevision","fromEntries","_saveMetaData","uiElement","_getBaseVids","_fixPosition","_initialRevisionId","usageLimit","_bufferUpdate","_isInit","_setAttribute","createRevision","path","getTransformedByOperation","then","revisionHistoryLicenseKeyValid","getRevisionDocumentData","hasContent","element","data","insert","getAncestors","57844MrYdxY","fillerOffset","createRange","isPremiumPlugin","graveyardPosition","pluginName","locale","_generateTape","init","range","_copyMarkers","reverse","_lastFrom","keepParagraph","attributesAfter","key","insertions","map","_diffRoots","_removePendingAction","startsWith","insertionPosition","stringify","saveRevision","addRootAttribute","RevisionTracker","_processRootBeforeSave","afterInit","add","filter","_clone","140JdRfJO","render"];return(mt=function(){return t})()}!function(t){const e=bt,i=t();for(;;)try{if(265523===parseInt(e(341))/1+-parseInt(e(227))/2+parseInt(e(242))/3+-parseInt(e(277))/4*(parseInt(e(308))/5)+-parseInt(e(419))/6+-parseInt(e(249))/7+-parseInt(e(429))/8*(-parseInt(e(189))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(330)];[ft(410)];[ft(399)]=null;[ft(470)];[ft(449)]=null;[ft(349)];[ft(228)];[ft(261)];[ft(186)];[ft(335)];[ft(446)];[ft(187)];[ft(192)];[ft(469)];static get[ft(282)](){return ft(302)}static get[ft(198)](){return!0}static get[ft(280)](){return!0}static get[ft(188)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(470)]=this[i(434)][i(241)][i(229)](i(407)),this[i(335)]=this[i(434)][i(241)][i(229)](i(456)),this[i(349)]=new vt(this[i(434)]),this[i(261)]=this[i(434)][i(391)][i(229)](i(408))||i(430),this[i(186)]=new Map,this[i(469)]=null;const s=(0,t.uid)();this[i(228)]={history:this[i(434)][i(396)][i(455)][i(480)],getLatestVersion:()=>Promise[i(211)](this[i(434)][i(396)][i(455)][i(321)]),getCurrentRevisionId:()=>s},this[i(208)](i(474),!1),this[i(208)](i(169),!0),this[i(208)](i(370),!1),this[i(434)][i(391)][i(427)](i(458),!0),this[i(434)][i(416)][i(167)](i(365))[i(168)]({view:i(221)})}[ft(285)](){const t=ft;this[t(173)](),this[t(434)][t(274)].on(t(424),()=>{const e=t,i=this[e(470)][e(454)](0),s=i&&null===i[e(327)]?i:null;if(this[e(187)]=!!s&&this[e(434)][e(391)][e(229)](e(458)),this[e(434)][e(241)][e(367)](e(352))){const t=this[e(228)][e(413)](),n=this[e(470)][e(454)](t);if(n)this[e(192)]=n[e(471)],this[e(187)]=!1;else{const t=this[e(228)][e(480)][e(240)][e(219)](t=>!t[e(264)]),n=t?t[e(462)]:this[e(228)][e(480)][e(321)];i?(i[e(323)]<n&&i[e(236)]({toVersion:n}),this[e(187)]?(this[e(228)][e(413)]=()=>s.id,this[e(192)]=s[e(471)]):(this[e(192)]=i[e(323)],this[e(187)]=!1)):(this[e(192)]=n,this[e(187)]=!1)}}else s&&(this[e(434)][e(396)][e(455)][e(480)][e(321)]=Math[e(170)](s[e(323)],this[e(434)][e(396)][e(455)][e(480)][e(321)]),s[e(471)]===s[e(323)]?(0!==s[e(471)]&&(this[e(228)][e(413)]=()=>s.id),this[e(187)]=!1):this[e(187)]&&(this[e(228)][e(413)]=()=>s.id,this[e(192)]=s[e(471)])),this[e(187)]||(this[e(192)]=this[e(434)][e(396)][e(455)][e(321)]);this[e(349)][e(285)](this[e(228)][e(480)]),this[e(255)](this[e(192)]),this[e(390)](this[e(192)]),this[e(449)]&&this[e(393)]()}),this[t(377)](t(474)).to(this,t(370),t=>!t),this[t(330)]=this[t(434)][t(391)][t(229)](t(330));const e=this[t(434)];this[t(410)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(270)==r||i(339)==r||i(234)==r||i(376)==r||i(463)==r||i(444)==r||i(426)==r){delete e[n],s=r,clearInterval(this[i(410)]),this[i(410)]=void 0;break}}i(339)==s&&e[i(329)](i(324)),i(234)==s&&e[i(329)](i(398)),i(376)==s&&e[i(329)](i(214)),i(463)==s&&e[i(329)](i(223),i(316)),i(444)==s&&e[i(329)](i(442)),i(426)==s&&e[i(329)](i(262))},1e3)}async[ft(304)](){const t=ft;if(this[t(470)][t(317)]>0){const e=this[t(470)][t(454)](0),i=await this[t(271)](e),s=await this[t(343)](e);this[t(461)](i,s)}}[ft(177)](){const t=ft;super[t(177)](),this[t(410)]&&clearInterval(this[t(410)])}[ft(453)](t){this[ft(228)]=t}async[ft(200)](){const t=ft,e=await this[t(228)][t(450)]();if(e>this[t(399)][t(323)]){await this[t(334)]();const i=this[t(371)]({revision:this[t(399)],to:e});i[t(322)]=i[t(437)][t(294)](e=>this[t(434)][t(241)][t(229)](t(342))[t(230)](e)),this[t(399)][t(236)](i)}}async[ft(300)](e={},i=null){const s=ft,n=[];await this[s(334)](),this[s(187)]=!1,i>this[s(399)][s(323)]&&(i=null),null===i&&(i=await this[s(228)][s(450)]());const r=this[s(468)](i),o=this[s(371)]({from:r,to:i});if(this[s(399)][s(323)]<i){const t=this[s(371)]({revision:this[s(399)],from:i,to:i});t[s(322)]=[],t[s(437)]=[],t.id=this[s(399)].id,this[s(399)][s(236)](t,!0),delete t[s(322)],n[s(347)](t)}e[s(243)]=this[s(434)][s(241)][s(229)](s(342)).me.id,e[s(402)]=e[s(402)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(421)](e);n[s(347)](e);const c=this[s(470)][s(332)](a);if(0!==c){const t=this[s(470)][s(454)](c-1);if(t[s(471)]!==i){const r=this[s(349)][s(218)](i,t[s(323)]),o={id:t.id,diffData:r[s(207)],authorsIds:r[s(437)],authors:r[s(437)][s(294)](t=>this[s(434)][s(241)][s(229)](s(342))[s(230)](t)),fromVersion:i};t===this[s(399)]&&(o[s(217)]=new Date(e[s(217)][s(467)]()+10)),t[s(236)](o,!0),delete o[s(322)],n[s(347)](o)}}if(this[s(449)]){for(const t of n)this[s(263)](t.id,t,!0);this[s(393)]()}return a}[ft(421)](t){const e=ft,i=this[e(470)][e(266)](t);return this[e(449)]&&i.on(e(236),(t,i,s)=>{const n=e;s||(this[n(263)](i.id,i,!0),this[n(393)]())}),this[e(470)][e(215)](i,this[e(348)](i)),i}async[ft(271)](t){const e=ft;return await this[e(335)][e(337)](t,this[e(449)]),this[e(335)][e(271)](t)}async[ft(343)](t){const e=ft;return await this[e(335)][e(337)](t,this[e(449)]),this[e(335)][e(343)](t)}[ft(393)](){const t=ft;if(0===this[t(186)][t(174)])return;if(this[t(370)])return;let e=Array[t(403)](this[t(186)][t(355)]());this[t(186)][t(248)]();for(let i=0;i<e[t(317)];i++){const s=e[i];let n=!1;for(const e of Object[t(233)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(306)](t=>null!==t),!e[t(317)])return;for(let i=0;i<e[t(317)];i++){const s=e[i];void 0!==s[t(471)]&&void 0===s[t(323)]&&(s[t(323)]=this[t(470)][t(454)](s.id)[t(323)]),void 0!==s[t(323)]&&void 0===s[t(471)]&&(s[t(471)]=this[t(470)][t(454)](s.id)[t(471)])}const i=this[t(434)][t(391)][t(229)](t(408));this[t(370)]=!0,this[t(473)](),this[t(449)][t(313)](e,i)[t(422)](()=>{this[t(370)]=!1})[t(269)](e=>{const i=t;if(e)for(const t of e)this[i(310)]({id:t.id,createdAt:t[i(217)]});this[i(296)](),this[i(393)]()})}[ft(371)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(471)],i=null!==i?i:t[s(323)];const n=this[s(349)][s(218)](e,i),r={diffData:n[s(207)],authorsIds:n[s(437)],fromVersion:e,toVersion:i};if(!t||i!==t[s(323)]){const t=i-1,e=this[s(228)][s(480)][s(197)](t);r[s(217)]=e&&e[s(217)]||new Date}if(this[s(469)]&&e===this[s(469)][s(471)])for(const t of this[s(469)][s(322)])r[s(437)][s(433)](t.id)||r[s(437)][s(347)](t.id);return r}[ft(263)](t,e,i){const s=ft;if(this[s(186)][s(367)](t)){const n=this[s(186)][s(229)](t);e=i?{...n,...e}:{...e,...n}}this[s(186)][s(208)](t,e)}[ft(310)](t){const e=ft,i=this[e(470)][e(454)](t.id);if(t[e(217)]&&(t[e(217)]=new Date(t[e(217)])),t[e(437)]){const i=this[e(434)][e(241)][e(229)](e(342));t[e(322)]=t[e(437)][e(294)](t=>i[e(230)](t))}i[e(236)](t,!0)}[ft(255)](t){const e=ft,i=this[e(470)][e(454)](this[e(470)][e(317)]-1);if(i)this[e(261)]=i.id;else{const i=!this[e(434)][e(396)][e(455)][e(438)][e(219)](t=>this[e(434)][e(396)][e(272)](t)),s=this[e(434)][e(241)][e(229)](e(342)).me.id,n=at(this[e(434)][e(283)],e(i?475:196));this[e(388)]({from:t,to:t,id:this[e(261)],name:n,creatorId:s})}}[ft(390)](t){const e=ft,i=this[e(228)][e(413)]();this[e(399)]=this[e(470)][e(454)](i),this[e(399)]||(this[e(399)]=this[e(388)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(334)](){const t=ft;this[t(187)]&&!this[t(469)]&&(await this[t(335)][t(337)](this[t(399)],this[t(449)]),this[t(349)][t(382)](this[t(399)]),this[t(469)]={fromVersion:this[t(399)][t(471)],authors:this[t(399)][t(322)][t(425)]()})}[ft(461)](e,i){const s=ft;let n=this[s(434)][s(391)][s(229)](s(417)),r=this[s(434)][s(391)][s(229)](s(476));if(void 0===n){n={};for(const t of this[s(434)][s(396)][s(455)][s(250)]())n[t]=""}if(s(319)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(434)][s(396)][s(455)][s(250)]())r[t]={}}let o=!1;const a=Object[s(233)](n),c=Object[s(233)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(481)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(233)](r[t])[s(317)]>0){o=!0;break}}o||(o=c[s(356)](t=>!this[s(434)][s(396)][s(455)][s(199)](t))),o&&(0,t.logWarning)(s(204),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(434)][s(391)][s(208)](s(417),e),this[s(434)][s(391)][s(208)](s(476),i)}[ft(473)](){const t=ft;if(!this[t(446)]){const e=this[t(434)][t(241)][t(229)](t(235));this[t(446)]=e[t(305)](at(this[t(434)][t(283)],t(363)))}}[ft(296)](){const t=ft;this[t(446)]&&(this[t(434)][t(241)][t(229)](t(235))[t(383)](this[t(446)]),this[t(446)]=null)}[ft(348)](t){const e=ft,i=this[e(470)][e(185)]();i[e(288)]();let s=0;for(;s<i[e(317)];){const n=i[s];if(n===this[e(399)]){s++;continue}if(n.id===this[e(261)])break;const r=t[e(323)]-n[e(323)]||t[e(471)]-n[e(471)];if(r>0)break;if(r<0)s++;else{if(!t[e(327)]&&n[e(327)])break;if(n[e(327)]||!t[e(327)]){if(t[e(217)]>n[e(217)])break;s++}else s++}}return s}[ft(468)](t){const e=ft,i=this[e(470)][e(185)]();i[e(288)](),i[e(206)]();const s=i[e(219)](i=>i[e(323)]<=t)[e(323)];return s<this[e(192)]?this[e(192)]:s}[ft(388)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(371)]({from:e,to:i});o[r(402)]=t,o[r(243)]=s,o.id=n;const a=this[r(421)](o);return this[r(449)]&&this[r(263)](o.id,o,!0),a}[ft(173)](){const t=ft;this[t(434)][t(416)][t(167)](t(400))[t(386)]({model:t(221)})}}class vt{[ft(434)];[ft(213)];[ft(216)];[ft(289)];[ft(439)];[ft(237)];[ft(295)];[ft(435)];[ft(251)];[ft(224)];[ft(431)];[ft(202)];[ft(220)];[ft(420)];[ft(358)];[ft(195)];[ft(379)];constructor(t){const e=ft;this[e(434)]=t,this[e(216)]=new Map,this[e(289)]=-1,this[e(439)]=-1,this[e(237)]=new Map,this[e(295)]=new Map,this[e(435)]=new Map,this[e(251)]=new Map,this[e(224)]=new Map,this[e(431)]=new Map,this[e(202)]=new Map,this[e(220)]=new Map,this[e(420)]=new Map,this[e(358)]=new Map,this[e(195)]=1}[ft(285)](t){const e=ft;this[e(213)]=t;const i=new Map,s=new Map,n=this[e(434)][e(396)][e(455)][e(438)][e(294)](t=>t[e(163)]);for(const t of n){const n=this[e(434)][e(396)][e(455)][e(199)](t),r=gt(n);i[e(208)](t,r),s[e(208)](t,Object[e(256)](n[e(436)]()))}const r=Array[e(403)](this[e(434)][e(396)][e(362)])[e(294)](t=>[t[e(402)],t[e(246)]()]),o=this[e(213)][e(321)];this[e(257)](o,i,r,s),this[e(379)]=this[e(195)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(208)](t,i),c[e(208)](t,{})}this[e(257)](Number[e(225)],a,[],c)}[ft(218)](t,e){const i=ft;if(this[i(289)]===t&&this[i(439)]<=e)this[i(216)][i(174)]>1&&this[i(245)](this[i(439)]),this[i(164)](this[i(439)],e,!0);else{if(!this[i(216)][i(367)](t)){const e=this[i(171)](t);this[i(373)](e,t,!1)}this[i(373)](t,e,!0)}return this[i(289)]=t,this[i(439)]=e,this[i(203)]()}[ft(382)](t){const e=ft;if(!this[e(216)][e(367)](t[e(471)])){const i=this[e(171)](t[e(471)]);this[e(373)](i,t[e(471)],!1)}this[e(373)](t[e(471)],t[e(323)],!1);const i=this[e(434)][e(241)][e(229)](e(456));this[e(452)](),this[e(289)]=t[e(471)],this[e(439)]=t[e(323)];for(const s in t[e(207)]){const n=t[e(207)][s][e(360)],r=A(t[e(207)][s][e(315)])||{},o=i[e(406)](t[e(207)][s][e(385)]);o[e(163)]=s,o[e(448)]=!n||!n[e(201)],o[e(201)]=()=>o[e(448)],this[e(251)][e(208)](s,o),this[e(224)][e(208)](s,r),n&&this[e(358)][e(208)](s,n);const a=this[e(222)](o);this[e(202)][e(208)](s,a);for(const[t,i]of o[e(362)]){if(!t[e(297)](e(405)))continue;const s=t[e(346)](":")[2];for(const t of i[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),n=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)],r=a[e(252)](n)[e(350)](i);this[e(220)][e(208)](r,{userId:s})}o[e(362)][e(318)](t)}}this[e(379)]=this[e(195)];const s=[...Array(this[e(195)])[e(233)]()][e(425)](1)[e(306)](t=>!this[e(220)][e(367)](t));let n=0;const r=new Map;for(const o in t[e(207)]){const a=t[e(207)][o][e(360)],c=A(t[e(207)][o][e(291)])||{},u=i[e(406)](t[e(207)][o][e(293)]);u[e(163)]=o,u[e(448)]=!a||a[e(201)],u[e(201)]=()=>u[e(448)],this[e(295)][e(208)](o,u),this[e(435)][e(208)](o,c);const l=this[e(222)](u,Number[e(225)]);this[e(431)][e(208)](o,l),r[e(208)](o,u[e(201)]()?c:{});for(const[t,i]of u[e(362)]){if(!t[e(297)](e(405)))continue;const s=t[e(346)](":")[2];for(const t of i[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),n=this[e(195)]++,r=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)];l[e(252)](r)[e(265)](i,n),this[e(220)][e(208)](n,{userId:s})}u[e(362)][e(318)](t)}for(const t of this[e(434)][e(396)][e(472)](u)[e(210)]({singleCharacters:!0})){const i=this[e(418)](t),r=e(333)==t[e(361)]?t[e(247)][e(267)][e(425)](0,-1):t[e(247)][e(267)],o=l[e(252)](r);o[e(350)](i)>0||o[e(265)](i,s[n++])}for(const[t,i]of u[e(362)])t[e(297)](e(405))||this[e(237)][e(208)](t,i)}const{roots:o}=this[e(216)][e(229)](t[e(471)]),{roots:a}=this[e(216)][e(229)](t[e(323)]),c=gt(o[e(229)](e(368)));this[e(251)][e(208)](e(368),c),this[e(202)][e(208)](e(368),this[e(222)](c,Number[e(225)]));const u=gt(a[e(229)](e(368)));this[e(295)][e(208)](e(368),u),this[e(431)][e(208)](e(368),this[e(222)](u));const l=Array[e(403)](this[e(295)])[e(294)](([t,e])=>[t,gt(e)]);this[e(257)](this[e(439)],l,this[e(237)],r)}[ft(443)](){const t=ft;this[t(452)](),this[t(289)]=-1,this[t(439)]=-1,this[t(216)][t(248)](),this[t(285)](this[t(213)])}[ft(257)](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(208)](t,{start:e[n(175)][n(374)](),end:e[n(357)][n(374)](),rootName:e[n(162)][n(163)]});this[n(216)][n(208)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(245)](t){const e=ft;this[e(216)][e(318)](t)}[ft(452)](){const t=ft;this[t(220)][t(248)](),this[t(420)][t(248)](),this[t(358)][t(248)](),this[t(295)][t(248)](),this[t(435)][t(248)](),this[t(251)][t(248)](),this[t(224)][t(248)](),this[t(431)][t(248)](),this[t(202)][t(248)](),this[t(237)][t(248)](),this[t(195)]=1,this[t(379)]=this[t(195)]}[ft(222)](t,e=null){const i=ft;let s=null;t.is(i(311))||(s=new Q.ModelElement(t[i(402)],{vid_start:null===e?this[i(195)]++:e++}));const n=[];for(const s of t[i(325)]())if(s.is(i(273))){n[i(347)](this[i(222)](s,e));const t=n[n[i(317)]-1];null!==e&&(e=t.is(i(273),i(183))?t[i(350)](i(441))+1:t[i(350)](i(465))+1)}else for(let t=0;t<s[i(226)];t++)n[i(347)](new Q.ModelElement(i(183),{vid:null===e?this[i(195)]++:e++}));if(t.is(i(311))){const e=yt(t[i(163)]);return e[i(184)](0,n),e}return s[i(265)](i(465),null===e?this[i(195)]++:e++),s[i(184)](0,n),s}[ft(373)](t,e,i){const s=ft;this[s(452)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(216)][s(229)](t);this[s(251)]=new Map(n),this[s(224)]=new Map(A(o));for(const[t,e]of this[s(251)])if(s(368)!==t&&(this[s(295)][s(208)](t,gt(e)),this[s(435)]=new Map(A(o)),i)){const i=this[s(195)];this[s(431)][s(208)](t,this[s(222)](e)),this[s(202)][s(208)](t,this[s(222)](e,i))}this[s(379)]=this[s(195)],this[s(295)][s(208)](s(368),gt(this[s(251)][s(229)](s(368)))),i&&this[s(431)][s(208)](s(368),this[s(222)](this[s(251)][s(229)](s(368))));for(const[t,e]of r){const i=this[s(251)][s(229)](e[s(163)]),n=this[s(295)][s(229)](e[s(163)]),r=new Q.ModelRange(this[s(260)](e[s(175)],i),this[s(260)](e[s(357)],i)),o=this[s(338)](r,n);i[s(362)][s(208)](t,r),this[s(237)][s(208)](t,o)}this[s(164)](t,e,i)}[ft(164)](t,e,i){const s=ft;for(const n of this[s(213)][s(395)](t,e))this[s(354)](n,i);for(const t of this[s(295)][s(355)]())t[s(362)][s(248)]();for(const[t,e]of this[s(237)])this[s(295)][s(229)](e[s(162)][s(163)])[s(362)][s(208)](t,e[s(374)]());const n=new Map,r=new Map;for(const[t,e]of this[s(295)])n[s(208)](t,gt(e)),r[s(208)](t,this[s(435)][s(229)](t));this[s(257)](e,n,this[s(237)],r)}[ft(171)](t){const e=ft,i=Array[e(403)](this[e(216)][e(233)]());i[e(397)]((t,e)=>t-e),i[e(288)]();for(const e of i)if(e<t)return e;return Number[e(225)]}[ft(287)](t,e){const i=ft,s=Array[i(403)](e[i(362)])[i(294)](([e,s])=>[e,this[i(338)](s,t)]);t[i(362)]=new Map(s)}[ft(314)](t){const e=ft;for(const i of this[e(237)][e(355)]()){const s=i[e(268)](t),n=Q.ModelRange[e(380)](s);i[e(175)]=n[e(175)],i[e(357)]=n[e(357)]}}[ft(354)](t,e){const i=ft;if(i(344)!=t[i(361)]&&i(372)!=t[i(361)]){if(i(275)==t[i(361)]){const s=t[i(378)][i(162)][i(163)];this[i(295)][i(367)](s)||(this[i(295)][i(208)](s,yt(s,!0)),this[i(435)][i(208)](s,{}),e&&this[i(431)][i(208)](s,yt(s,!0)))}else{if(i(301)==t[i(361)]||i(447)==t[i(361)]||i(440)==t[i(361)])return void this[i(457)](t);i(384)==t[i(361)]&&this[i(459)](t)}if(i(384)!==t[i(361)]){const e=this[i(326)](t,this[i(295)]);e[i(172)](),this[i(314)](e)}if(e)switch(t[i(361)]){case i(275):this[i(387)](t);break;case i(340):case i(383):case i(181):this[i(179)](t);break;case i(180):this[i(190)](t);break;case i(346):this[i(359)](t)}}else this[i(464)](t,e)}[ft(326)](t,e){const i=ft,s=t[i(374)]();return s[i(409)]=t[i(409)],this[i(423)](s,e),s}[ft(259)](t){const e=ft;return t[e(294)](t=>{const i=e,s=this[i(418)](t);return Number(t[i(381)][i(350)](s))})}[ft(284)](t,e){const i=ft;if(t.is(i(273),i(183)))e[i(347)]({item:t,type:i(312)});else{t.is(i(273))&&e[i(347)]({item:t,type:i(331)});for(const s of t[i(325)]())this[i(284)](s,e);t.is(i(273))&&e[i(347)]({item:t,type:i(333)})}return e}[ft(203)](){const t=ft,e=new Map(this[t(220)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(251)][t(233)](),...this[t(295)][t(233)]()]);a[t(318)](t(368));for(const e of a){const i=this[t(295)][t(229)](e)||yt(e,!1),s=this[t(251)][t(229)](e)||yt(e,!1);i[t(201)]()||s[t(201)]()?(n[t(293)][e]=gt(i),n[t(385)][e]=gt(s),this[t(287)](n[t(385)][e],s),this[t(287)](n[t(293)][e],i),r[t(293)][e]=this[t(284)](this[t(431)][t(229)](e),[]),r[t(385)][e]=this[t(284)](this[t(202)][t(229)](e)||yt(e,!1),[])):a[t(318)](e)}for(const n of a){const o=r[t(293)][n];for(const n of o){const r=this[t(418)](n),o=n[t(381)][t(350)](r);i[t(318)](o),o>=this[t(379)]&&s[t(208)](o,e[t(229)](o))}}for(const n of a){const a=r[t(293)][n],c=this[t(259)](r[t(385)][n]);let u=0;for(const n of a){const r=this[t(418)](n),a=n[t(381)][t(350)](r);if(!s[t(367)](a)&&!o[t(367)](a))if(i[t(367)](a))u++;else{if(a!=c[u]){const s=e[t(229)](a)||e[t(229)](c[u]);for(;a!=c[u];)i[t(367)](c[u])||(o[t(208)](c[u],s),e[t(208)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(293)][e];for(const e of n){const n=this[t(418)](e),r=e[t(381)][t(350)](n);if(o[t(367)](r)){const e=o[t(229)](r);i[t(367)](r)||i[t(208)](r,{...e}),s[t(208)](r,{...e})}}}for(const e of i[t(233)]())e>=this[t(379)]&&i[t(318)](e);const c=new Map;for(const e of a){let n=r[t(293)][e];for(const e of n)if(e[t(381)].is(t(273),t(412))){const i=this[t(418)](e),n=e[t(381)][t(350)](i);if(s[t(367)](n)){const i=e[t(381)][t(451)][t(451)][t(350)](t(191)),r=c[t(229)](i)||new Set;r[t(305)](s[t(229)](n)[t(345)]),c[t(208)](i,r)}}n=r[t(385)][e];for(const e of n)if(e[t(381)].is(t(273),t(412))){const s=this[t(418)](e),n=e[t(381)][t(350)](s);if(i[t(367)](n)){const s=e[t(381)][t(451)][t(451)][t(350)](t(191)),r=c[t(229)](s)||new Set;r[t(305)](i[t(229)](n)[t(345)]),c[t(208)](s,r)}}for(const e of c[t(233)]())(s[t(367)](e)||i[t(367)](e))&&c[t(318)](e)}for(const e of a){const n=r[t(293)][e];let o=null,a=null;for(const e of n){const n=this[t(418)](e),r=e[t(381)][t(350)](n),u=c[t(229)](r);u&&t(331)==e[t(361)]&&(o=Array[t(403)](u)[0],a=e[t(381)][t(350)](t(465))),o&&(i[t(208)](r,{userId:o}),s[t(208)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(385)][e],a=n[t(293)][e];for(const{userId:e}of this[t(420)][t(355)]())null!==e&&l[t(305)](e);for(const{userId:e}of this[t(358)][t(355)]())null!==e&&l[t(305)](e);this[t(415)](a,r[t(293)][e],s,t(351),l),this[t(415)](o,r[t(385)][e],i,t(428),l),u[e]={insertions:this[t(205)](a),deletions:this[t(205)](o),attachChange:this[t(358)][t(229)](e)||null,attributesBefore:A(this[t(224)][t(229)](e))||{},attributesAfter:A(this[t(435)][t(229)](e))}}return{diffData:u,authorsIds:Array[t(403)](l)}}[ft(303)](t){const e=ft;for(const[,i]of t[e(362)]){const t=i[e(175)][e(276)]()[e(306)](t=>e(412)==t[e(402)]);for(const i of t)1==i[e(232)]&&i[e(366)](0).is(e(273),e(445))&&i[e(366)](0)[e(265)](e(290),!0)}}[ft(205)](t){const e=ft;this[e(303)](t);const i=this[e(434)][e(274)][e(176)](t,{}),s=Array[e(403)](i[e(325)]())[e(294)](t=>this[e(178)](t));return JSON[e(299)](s)}[ft(178)](t){const e=ft;if(t.is(e(183)))return t[e(274)];{const i=this[e(434)][e(241)][e(229)](e(456)),s=t,n=this[e(434)][e(274)][e(166)][e(369)],r={type:i[e(394)](s),name:s[e(402)],attributes:Array[e(403)](s[e(436)]()),children:Array[e(403)](s[e(325)]())[e(294)](t=>this[e(178)](t))};if(t.is(e(258))&&e(392)!=t[e(402)]){const i=t[e(309)](n[e(328)],n);r[e(432)][e(347)](i[e(389)])}else if(t.is(e(404))){const i=n[e(328)][e(253)](s[e(402)]);t[e(309)](i,n),r[e(432)][e(347)](i[e(478)])}const o=Array[e(403)](s[e(460)]());o[e(317)]>0&&(r[e(477)]=o);const a=s[e(209)]();return null!==a&&(r[e(278)]=a),r}}[ft(415)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(434)][r(396)];for(let s=0;s<e[r(317)];s++){const n=this[r(418)](e[s]),c=e[s][r(381)][r(350)](n),h=i[r(229)](c),d=s==e[r(317)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(345)]!=o[r(345)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(345)],d=l(405)+s+":"+h+":"+c++,f=u[l(279)](i,a);t[l(362)][l(208)](d,f),null!==h&&n[l(305)](h)}}[ft(418)](t){const e=ft;switch(t[e(361)]){case e(331):return e(191);case e(333):return e(465);default:return e(441)}}[ft(423)](t,e){const i=ft;t[i(462)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(229)](n[i(162)][i(163)]);t[s]=this[i(260)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(229)](n[i(162)][i(163)]);t[s]=this[i(338)](n,r)}i(162)===s&&(t[i(162)]=e[i(229)](t[i(162)][i(163)]))}}[ft(338)](t,e){const i=ft;return this[i(434)][i(396)][i(279)](this[i(260)](t[i(175)],e),this[i(260)](t[i(357)],e))}[ft(260)](t,e){const i=ft;return this[i(434)][i(396)][i(353)](e,t[i(267)],t[i(336)])}[ft(387)](t){const e=ft,i=this[e(431)][e(229)](t[e(378)][e(162)][e(163)]),s=this[e(260)](t[e(378)],i),n=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,r=s[e(451)],o=this[e(195)],a=[];for(const i of t[e(375)])if(i.is(e(273)))a[e(347)](this[e(222)](i));else for(let t=0;t<i[e(226)];t++)a[e(347)](new Q.ModelElement(e(183),{vid:this[e(195)]++}));const c=this[e(195)];for(let t=o;t<c;t++)this[e(220)][e(208)](t,{userId:n});r[e(184)](s[e(193)],a)}[ft(179)](t){const e=ft;(t=this[e(326)](t,this[e(431)]))[e(172)]();const i=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(320)](),n=s[e(451)],r=s[e(193)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(366)](e);r.is(a(273),a(183))?s[a(208)](r[a(350)](a(441)),{userId:i}):(s[a(208)](r[a(350)](a(191)),{userId:i}),t(s,r,0,r[a(232)]),s[a(208)](r[a(350)](a(465)),{userId:i}))}}(this[e(220)],n,r,r+t[e(254)])}[ft(190)](t){const e=ft,i=null===(t=this[e(326)](t,this[e(431)]))[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(479)][e(451)],n=t[e(466)][e(451)],r=s[e(350)](e(465)),o=n[e(350)](e(191));s[e(265)](e(465),n[e(350)](e(465))),n[e(265)](e(465),r),this[e(220)][e(208)](o,{userId:i}),this[e(220)][e(208)](r,{userId:i}),t[e(172)]()}[ft(359)](t){const e=ft,i=null===(t=this[e(326)](t,this[e(431)]))[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,s=t[e(281)],n=t[e(231)][e(451)];t[e(172)]();const r=n[e(350)](e(465)),o=t[e(298)][e(364)];if(s){const t=o[e(350)](e(465)),s=n[e(350)](e(465));n[e(265)](e(465),t),o[e(265)](e(465),s),this[e(220)][e(208)](n[e(350)](e(465)),{userId:i}),this[e(220)][e(208)](o[e(350)](e(191)),{userId:i})}else{const t=this[e(195)]++,s=this[e(195)]++;n[e(265)](e(465),t),o[e(265)](e(191),s),o[e(265)](e(465),r),this[e(220)][e(208)](t,{userId:i}),this[e(220)][e(208)](s,{userId:i})}}[ft(459)](t){const e=ft;if(!t[e(239)])return;const i=(t=this[e(326)](t,this[e(295)]))[e(244)]?t[e(244)][e(162)]:null,s=t[e(165)]?t[e(165)][e(162)]:null;i&&this[e(237)][e(318)](t[e(402)]),s&&this[e(237)][e(208)](t[e(402)],t[e(165)][e(374)]());const n=null===t[e(409)]?null:t[e(409)]||this[e(434)][e(241)][e(229)](e(342)).me.id,r=t[e(402)];if(!this[e(420)][e(367)](r))return void this[e(420)][e(208)](r,{range:t[e(244)],userId:n});const o=this[e(420)][e(229)](r),a=o[e(286)],c=t[e(165)];null==a&&null==c||a&&c&&a[e(401)](c)?this[e(420)][e(318)](t[e(402)]):o[e(345)]=n}[ft(464)](t,e){const i=ft;this[i(295)][i(367)](t[i(163)])?this[i(295)][i(229)](t[i(163)])[i(448)]=t[i(414)]:(this[i(295)][i(208)](t[i(163)],yt(t[i(163)],!0)),this[i(435)][i(208)](t[i(163)],{}),e&&this[i(431)][i(208)](t[i(163)],yt(t[i(163)],!0)));const s=null===t[i(409)]?null:t[i(409)]||this[i(434)][i(241)][i(229)](i(342)).me.id,n=this[i(358)][i(229)](t[i(163)]);n&&n[i(345)]===s?this[i(358)][i(318)](t[i(163)]):this[i(358)][i(208)](t[i(163)],{userId:s,isAttached:t[i(414)]})}[ft(457)](t){const e=ft,i=this[e(435)][e(229)](t[e(162)][e(163)]);null===t[e(182)]?delete i[t[e(292)]]:i[t[e(292)]]=t[e(182)]}}function gt(t){const e=ft,i=yt(t[e(163)],t[e(201)]());for(const s of t[e(325)]()){const t=s[e(307)](!0);i[e(194)](t)}return i}function yt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(163)]=t,s[i(448)]=e,s[i(201)]=()=>s[i(448)],s}function kt(t,e,i){const s=ft,n=s(333)==t[s(361)]?i[s(238)](t[s(381)],s(357)):i[s(411)](t[s(381)]);return i[s(353)](e,n[s(267)],n[s(336)])}function bt(t,e){const i=mt();return(bt=function(t,e){return i[t-=162]})(t,e)}function wt(t,e,i){const s=ft,n=s(331)==t[s(361)]?i[s(238)](t[s(381)],0):i[s(212)](t[s(381)]);return i[s(353)](e,n[s(267)],n[s(336)])}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 Pt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=235]})(t,e)}function zt(){const t=["focus","optional","render","fieldView","extendTemplate","arrowright","listenTo","input","10DijsCb","initializeCssTransitionDisablerMixin","errorText","keystrokes","500984wHEcyN","arrowup","revisionNameInputView","revisionName","add","revisionNameInputValue","label","element","743562obSysa","arrowdown","_createRevisionNameInput","trim","setTemplate","216FYDKpJ","98281zpnltj","stopPropagation","77HGTNcj","7735705nUGdlb","set","locale","value","arrowleft","6SODpwQ","220","focusTracker","10274752JmTwtC","reset","Name of the revision","form","1395656NoYcju","10xpDpZu","11910654SUKnwk","ck-revision-history-save-revision-form","ck-responsive-form"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(836375===parseInt(e(267))/1*(parseInt(e(237))/2)+parseInt(e(275))/3*(-parseInt(e(236))/4)+parseInt(e(270))/5+-parseInt(e(261))/6*(parseInt(e(269))/7)+-parseInt(e(278))/8+parseInt(e(238))/9*(parseInt(e(249))/10)+parseInt(e(253))/11*(parseInt(e(266))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(277)];[Pt(252)];[Pt(255)];constructor(e,i){const s=Pt;super(e),this[s(277)]=new t.FocusTracker,this[s(252)]=new t.KeystrokeHandler,this[s(271)](s(258),""),this[s(255)]=this[s(263)](i),this[s(265)]({tag:s(235),attributes:{class:["ck",s(239),s(240)],tabindex:"-1"},children:[this[s(255)]]}),this[s(250)]()}[Pt(243)](){const t=Pt;super[t(243)](),(0,It.submitHandler)({view:this}),this[t(277)][t(257)](this[t(255)][t(260)]),this[t(252)][t(247)](this[t(260)]);const e=e=>e[t(268)]();this[t(252)][t(271)](t(246),e),this[t(252)][t(271)](t(274),e),this[t(252)][t(271)](t(254),e),this[t(252)][t(271)](t(262),e)}[Pt(241)](){const t=Pt;this[t(255)][t(241)]()}get[Pt(256)](){const t=Pt;return this[t(255)][t(244)][t(260)][t(273)][t(264)]()}set[Pt(256)](t){const e=Pt;this[e(255)][e(244)][e(260)][e(273)]=t[e(264)]()}[Pt(279)](){const t=Pt;this[t(255)][t(244)][t(260)][t(273)]="",this[t(255)][t(251)]=null}[Pt(263)](t){const e=Pt,i=new It.LabeledFieldView(this[e(272)],It.createLabeledInputText),s=i[e(244)];s[e(245)]({attributes:{maxlength:e(276)}});let n=at(this[e(272)],e(280));return!t&&(n+=" ("+at(this[e(272)],e(242))+")"),i[e(259)]=n,s.on(e(248),()=>{const t=e;this[t(258)]=s[t(260)][t(273)][t(264)]()}),i}}const Wt=Ht;function Ht(t,e){const i=qt();return(Ht=function(t,e){return i[t-=212]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(358196===-parseInt(e(265))/1+parseInt(e(232))/2+parseInt(e(226))/3*(-parseInt(e(218))/4)+-parseInt(e(236))/5+-parseInt(e(277))/6+-parseInt(e(228))/7+parseInt(e(275))/8*(parseInt(e(255))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends G.Plugin{static get[Wt(238)](){return Wt(242)}static get[Wt(273)](){return!0}static get[Wt(278)](){return!0}static get[Wt(246)](){return[pt]}[Wt(241)];[Wt(223)](){const t=Wt,e=this[t(215)],i=e[t(243)][t(237)](t(269));e.ui[t(267)][t(221)](t(231),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(264)][n(249)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(225)](It.ButtonView),l=new It.ListItemView(s),h=this[n(234)](It.ButtonView);return r[n(245)](n(251)).to(i,n(227),i,n(251),e,n(248),(t,e,i)=>t&&e&&!i),r[n(258)][n(260)]({icon:_t.IconHistory,label:at(s,n(217)),tooltip:!0}),u[n(260)]({withText:!0,role:n(262)}),h[n(260)]({withText:!0,role:n(262)}),this[n(256)](h,n(282),()=>{const t=n;r[t(220)]=!1,e[t(252)][t(268)][t(280)]()},{priority:n(272)}),c[n(249)][n(221)](u),l[n(249)][n(221)](h),a[n(283)]=n(281),a[n(259)][n(250)]([c,l]),o[n(221)](a),r}),e.ui[t(267)][t(221)](t(276),()=>this[t(271)]())}[Wt(271)](){const t=Wt,e=this[t(215)],i=e[t(266)],s=e[t(243)][t(237)](t(269)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(245)](t(251)).to(s,t(227),s,t(251),e,t(248),(t,e,i)=>t&&e&&!i),n[t(258)][t(260)]({icon:_t.IconHistory,label:at(i,t(217))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(225)](It.MenuBarMenuListItemButtonView);a[t(263)](t(282)).to(n),o[t(249)][t(221)](a),r[t(259)][t(221)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(234)](It.MenuBarMenuListItemButtonView);return u[t(263)](t(282)).to(n),c[t(249)][t(221)](u),r[t(259)][t(221)](c),n[t(264)][t(249)][t(221)](r),n}[Wt(225)](t){const e=Wt,i=this[e(215)],s=i[e(243)][e(237)](e(269)),n=new t(i[e(266)]);return n[e(260)]({label:at(i[e(266)],e(212))}),n[e(245)](e(251)).to(s,e(227),s,e(251),i,e(248),(t,e,i)=>t&&e&&!i),this[e(256)](n,e(282),()=>{this[e(240)]()}),n}[Wt(234)](t){const e=Wt,i=this[e(215)],s=i[e(243)][e(237)](e(269)),n=new t(i[e(266)]);return n[e(260)]({label:at(i[e(266)],e(270))}),n[e(245)](e(251)).to(s,e(227),i,e(248),(t,e)=>t&&!e),this[e(256)](n,e(282),()=>{const t=e;i[t(224)][t(237)](t(231))[t(254)]()}),n}[Wt(240)](){const t=Wt,e=this[t(215)],i=e[t(266)],s=e[t(243)][t(237)](t(214)),n=e[t(243)][t(237)](t(269));function r(n){const r=t;e[r(224)][r(237)](r(213))&&""===n[r(261)]?n[r(274)][r(235)]=at(i,r(239)):(e[r(243)][r(237)](pt)[r(244)]({name:n[r(261)]}),s[r(219)]())}this[t(241)]||(this[t(230)](),this[t(241)].on(t(247),()=>r(this[t(241)]))),this[t(241)][t(279)](),s[t(233)]({id:t(253),title:at(i,t(212)),isModal:!0,content:this[t(241)],actionButtons:[{label:at(e[t(266)],t(257)),withText:!0,onExecute:()=>s[t(219)]()},{label:at(e[t(266)],t(229)),class:t(216),withText:!0,onCreate(i){const s=t;i[s(245)](s(251)).to(n,s(227),n,s(251),e,s(248),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(241)])}]})}[Wt(230)](){const t=Wt,e=this[t(215)],i=e[t(266)];this[t(241)]=new Ut(i,e[t(224)][t(237)](t(213))),this[t(241)][t(222)]()}}function qt(){const t=["_createSaveRevisionButton","300IdpeEP","isReady","3807041QvXkQq","Accept","_createSaveRevisionFormView","revisionHistory","986896LExBkD","show","_createOpenRevisionButton","errorText","3578580DTRhrU","get","pluginName","The revision name cannot be empty.","_showDialog","_saveRevisionFormView","RevisionHistoryUI","plugins","saveRevision","bind","requires","submit","isReadOnly","children","addMany","isEnabled","editing","revisionSave","showRevisionViewerCallback","27376659Qmphjo","listenTo","Cancel","buttonView","items","set","revisionName","menuitem","delegate","panelView","672627VetRVa","locale","componentFactory","view","RevisionTracker","Open revision history","_registerMenuComponent","low","isOfficialPlugin","revisionNameInputView","8RVxIoV","menuBar:revisionHistory","4030182pIVSBA","isPremiumPlugin","reset","focus","menu","execute","role","Save current revision","revisionHistory.requireRevisionName","Dialog","editor","ck-button-action","Revision history","22928kRYpFm","hide","isOpen","add","render","init","config"];return(qt=function(){return t})()}function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=373]})(t,e)}function Bt(){const t=["type","data","ck-revision-change","element","span","8311737SaExoA","_model","bindTemplate","445806LFOCtG","ck-revision-change__label","214650pmULEt","3511395xRjFLz","1202096taAdLD","name","Suggested by","1552TdjKFY","div","setTemplate","1665sjMDTO","set","ck-revision-change__","ck-annotation","focus","8585168cyAcRt","changeId","50lEFJGF","718eajvBQ","isSuggestion","add","Added by","Removed by","author"];return(Bt=function(){return t})()}const Yt=$t;!function(t){const e=$t,i=t();for(;;)try{if(654705===parseInt(e(395))/1*(parseInt(e(384))/2)+-parseInt(e(380))/3+parseInt(e(381))/4+-parseInt(e(394))/5*(parseInt(e(377))/6)+-parseInt(e(374))/7+-parseInt(e(392))/8+-parseInt(e(387))/9*(-parseInt(e(379))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[Yt(393)];[Yt(375)];constructor(t,e){const i=Yt;super(t),this[i(375)]=e,this[i(393)]=e.id;const s=this[i(376)],n=at(t,e[i(402)][i(396)]?i(383):i(397)==e[i(401)]?i(398):i(399));this[i(388)](i(401),e[i(401)]),this[i(386)]({tag:i(385),attributes:{class:[i(390),i(403),s.to(i(401),t=>i(389)+t)],tabindex:-1},children:[{tag:i(373),children:[{tag:i(373),attributes:{class:[i(378)]},children:[{text:n}]},{text:" "+e[i(400)][i(382)]}]}]})}[Yt(391)](){const t=Yt;this[t(404)][t(391)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=256]})(t,e)}function Qt(){var t=["1392503TIjHpm","rootName","author","set","12067BGXewE","96ySwsaq","4974RJNyEG","type","toJSON","8070ZHlIIB","2545eqvOdO","createdAt","data","21165yibQJP","23481TXsAOx","236PTqaGt","1709194XegOeg","138700WVKSom"];return(Qt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(499951===-parseInt(e(261))/1+-parseInt(e(260))/2+-parseInt(e(257))/3*(-parseInt(e(259))/4)+-parseInt(e(272))/5*(-parseInt(e(268))/6)+-parseInt(e(262))/7+parseInt(e(267))/8*(-parseInt(e(258))/9)+-parseInt(e(271))/10*(-parseInt(e(266))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(264)];[Gt(269)];[Gt(256)];[Gt(263)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(264)]=e[i(264)],this[i(269)]=e[i(269)],this[i(256)]=e[i(256)]||{},this[i(263)]=e[i(263)],this[i(265)](i(273),e[i(273)])}[Gt(270)](){var t=Gt;return{id:this.id,authorId:this[t(264)].id,type:this[t(269)],data:this[t(256)],createdAt:this[t(273)]}}}function te(){const t=["362776KWOHmq","add","8965890FfPcHu","oldRevisionId","1207470RiTfYm","3909936ACYvMK","newRevisionId","7431HBeGHz","91yEGidn","_setChanges","841072gbdAaf","446DeEkke","changes","5173992iYhbhi","5RGBUIF"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=162]})(t,e)}const ie=ee;!function(t){const e=ee,i=t();for(;;)try{if(667252===-parseInt(e(166))/1+-parseInt(e(167))/2*(parseInt(e(163))/3)+parseInt(e(176))/4+parseInt(e(170))/5*(parseInt(e(175))/6)+parseInt(e(164))/7*(-parseInt(e(171))/8)+parseInt(e(169))/9+parseInt(e(173))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ie(162)];[ie(174)];[ie(168)];constructor(e,i){const s=ie;this[s(162)]=e,this[s(174)]=i,this[s(168)]=new t.Collection}[ie(165)](t){const e=ie;for(const i of t)this[e(168)][e(172)](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=le();return(ae=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(630445===parseInt(e(546))/1*(parseInt(e(384))/2)+parseInt(e(637))/3*(parseInt(e(430))/4)+-parseInt(e(338))/5+-parseInt(e(621))/6*(parseInt(e(329))/7)+parseInt(e(616))/8*(-parseInt(e(485))/9)+-parseInt(e(392))/10+-parseInt(e(452))/11*(-parseInt(e(333))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(le);class ce extends G.Plugin{[oe(465)];[oe(427)]=null;[oe(404)];[oe(544)];[oe(417)];[oe(467)];[oe(515)];static get[oe(632)](){return oe(596)}static get[oe(495)](){return!0}static get[oe(358)](){return!0}static get[oe(509)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(465)]=this[e(453)][e(363)][e(336)](e(575)),this[e(404)]=this[e(453)][e(363)][e(336)](e(471)),this[e(456)](e(371),null),this[e(456)](e(505),null),this[e(544)]=null,this[e(456)](e(369),null),this[e(456)](e(335),!1),this[e(456)](e(572),!0),this.on(e(545),(t,i,s)=>{const n=e;this[n(371)]=null,this[n(505)]=null,this[n(453)][n(464)][n(470)][n(624)](t=>{const e=n;for(const i of this[e(453)][e(464)][e(470)][e(594)][e(377)])s?t[e(366)](e(387),i):t[e(397)](e(387),i)})}),this[e(643)](e(493)).to(this,e(371),t=>null!==t),this[e(643)](e(341)).to(this,e(335),this,e(369),this,e(371),(t,i,s)=>t&&s?i[e(362)][e(606)](s):0),this[e(643)](e(434)).to(this,e(335),this,e(369),(t,i)=>t?i[e(362)][e(492)]:0),this[e(417)]=null,this[e(467)]=new Map,this[e(515)]=this[e(453)][e(363)][e(336)](It.ContextualBalloon)}[oe(501)](){const t=oe,e=this[t(453)],i=new de(e,{direction:t(410)}),s=new de(e,{direction:t(610)});e[t(322)][t(556)](t(380),i),e[t(322)][t(556)](t(393),s),e[t(322)][t(556)](t(447),new he(e)),this.on(t(605),()=>{const e=t;i[e(595)](),s[e(595)]()}),this[t(327)](),this[t(552)](),e[t(476)](t(463)),e[t(363)][t(615)](t(386))&&e[t(363)][t(336)](t(386))[t(444)](t(463))}async[oe(337)](t){const e=oe;return await this[e(404)][e(381)](t,this[e(427)]),this[e(404)][e(337)](t)}async[oe(318)](t){const e=oe;return await this[e(404)][e(381)](t,this[e(427)]),this[e(404)][e(318)](t)}async[oe(537)](t,e,i=!1){const s=oe;if(!this[s(572)])return;const n=this[s(369)],r=this[s(465)],o=s(475)==typeof t?r[s(504)](t):t,a=s(475)==typeof e?r[s(504)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(369)]&&this[s(369)][s(566)]===c&&this[s(369)][s(344)]===u)return Promise[s(613)]();this[s(335)]=!1,this[s(505)]=null,this[s(371)]=null,this[s(369)]=new se(c,u);const l=this[s(511)](o,a,!0)[s(460)](t=>this[s(404)][s(381)](t,this[s(427)]));return l[s(422)](new Promise(t=>{setTimeout(t,20)})),Promise[s(347)](l)[s(607)](()=>{const t=s;if(!this[t(572)])return;this[t(436)]();const e=this[t(508)](c,u);for(const i of e[t(362)])this[t(467)][t(456)](i.id,i);this[t(453)][t(525)][t(623)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(453)][s(525)][s(594)][s(532)]())i[s(635)](t);for(const t of Object[s(324)](e[s(525)])){const n=i[s(538)](t);for(const r of Object[s(324)](e[s(478)][t]))i[s(459)](r,e[s(478)][t][r],n);i[s(524)](e[s(525)][t],n,0)}}),this[t(369)][t(634)](this[t(630)](e[t(362)])),this[t(335)]=!0})[s(482)](t=>{const e=s;console[e(536)](t),this[e(436)](),n&&(this[e(369)]=n),this[e(335)]=!0})}[oe(457)](t,e){const i=oe,s=this[i(465)][i(573)](t);return s.on(i(383),(t,i,n)=>e(i,n,s)),this[i(465)][i(491)](s),s}[oe(436)](){const t=oe;this[t(371)]=null,this[t(514)](),this[t(417)]&&this[t(417)][t(390)](),this[t(417)]=null,this[t(467)][t(385)](),this[t(453)][t(525)][t(623)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(453)][i(525)][i(594)][i(532)]())e[i(635)](t)})}[oe(630)](t){const e=oe,i=[],s=new Map;for(const t of this[e(453)][e(525)][e(594)][e(532)]()){const n=this[e(453)][e(464)][e(470)][e(578)](t);if(!n)continue;const r=n[e(370)]()[e(450)](0);r&&(i[e(422)](t),s[e(456)](t,r))}return i[e(440)]((t,i)=>{const n=e,r=s[n(336)](t),o=s[n(336)](i);return r.y-o.y||r.x-o.x}),(t=t[e(620)](t=>i[e(522)](t[e(406)])))[e(440)]((t,s)=>i[e(585)](t[e(406)])-i[e(585)](s[e(406)])),t}[oe(388)](t){const e=oe,i=Array[e(541)](t[e(565)])[e(620)](([t,i])=>t[e(374)](e(520))&&!i[e(540)]),s=Array[e(541)](this[e(453)][e(525)][e(528)](t)[e(497)]({singleCharacters:!0}));if(0!=i[e(492)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(628)](":");if(n[e(451)][e(354)](t[e(359)])&&i[e(553)](),(t[e(499)][e(354)](n[e(437)])||t[e(499)][e(445)](n[e(437)]))&&(e(489)==r?t[e(446)]={userId:o}:e(519)==r&&(t[e(400)]={userId:o})),0==i[e(492)])break}return s}[oe(560)](t){const e=oe,i=new Map;for(let s=0;s<t[e(492)];s++)e(619)===t[s][e(399)]?(t[s][e(450)][e(483)]=s,t[s][e(450)][e(576)]=s):(e(373)===t[s][e(399)]?t[s][e(450)][e(483)]=s:e(455)===t[s][e(399)]&&(t[s][e(450)][e(576)]=s),i[e(456)](t[s].id,s));for(const s of i[e(543)]())e(373)===t[s][e(399)]?t[s][e(450)][e(576)]=i[e(336)](t[s][e(559)]):e(455)===t[s][e(399)]&&(t[s][e(450)][e(483)]=i[e(336)](t[s][e(559)]))}[oe(502)](t){const e=oe;for(let i=0;i<t[e(492)];i++){if(e(373)===t[i][e(399)])t[i][e(450)][e(483)]=i;else if(e(455)===t[i][e(399)]){t[i][e(450)][e(576)]=i;const s=t[i][e(450)][e(483)];t[s][e(559)]=t[i].id,t[i][e(559)]=t[s].id}else t[i][e(450)][e(483)]=i,t[i][e(450)][e(576)]=i,t[i][e(559)]=null;t[i][e(629)]||(t[i][e(629)]=[],t[i][e(599)]=[])}}[oe(521)](t,e){const i=oe,s=t[i(620)](t=>!t[i(446)]);for(let t=0;t<e[i(492)];t++)e[t][i(446)]&&(s[t][i(446)]=e[t][i(446)])}[oe(508)](t,e=null){const i=oe,s=this[i(465)][i(504)](t),n=e?this[i(465)][i(504)](e):null,r=this[i(511)](s,n),o=r[r[i(492)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(492)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(324)](e[i(342)]))if(e[i(342)][t][i(513)]){const s=e[i(342)][t][i(513)];s[i(626)]?(u[i(556)](t),l[i(615)](t)&&l[i(336)](t)[i(580)]==s[i(580)]?l[i(411)](t):l[i(456)](t,s)):l[i(615)](t)?(u[i(411)](t),l[i(411)](t)):(u[i(556)](t),l[i(456)](t,s))}else u[i(556)](t)}for(const t of u){const e=l[i(615)](t)&&!l[i(336)](t)[i(626)];let s=e?r[i(492)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(342)][t]){const s=e?o[i(342)][t][i(614)]:o[i(342)][t][i(535)];c[i(478)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(525)]={};for(const e of t[i(435)])a[i(456)](e.id,e);for(const e of u){const s=t[i(342)][e]?t[i(342)][e][i(429)]:"[]",n=t[i(342)][e]?t[i(342)][e][i(328)]:"[]";t[i(525)][e]={insertions:this[i(404)][i(642)](s),deletions:this[i(404)][i(642)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(541)](s[i(525)][t][i(429)][i(565)])[i(620)](([t])=>!t[i(374)](i(520))));let h=0;for(const o of r){const r=this[i(388)](o[i(525)][t][i(429)]);o==s?(e=r,n=e[i(492)],e[i(554)](t=>{t.id=h++}),this[i(502)](e)):this[i(521)](e,r);const a=e[i(620)](t=>!t[i(446)])[i(460)](t=>t.id);let c=0;const l=this[i(388)](o[i(525)][t][i(328)]);l[i(554)](t=>{t[i(400)]?t.id=n++:t.id=a[c++]}),this[i(502)](l),this[i(591)](e,i(446)),this[i(591)](l,i(400)),o==s&&this[i(396)](e,u),e=this[i(481)](e,l),this[i(560)](e),this[i(591)](e,i(400))}e=e[i(620)](t=>!(t[i(446)]&&t[i(400)]));const d=new Map(o[i(525)][t][i(328)][i(565)]),f=new Set(u[i(324)]());for(const t of d[i(324)]())f[i(411)](t);this[i(357)](e,f),this[i(330)](e),e=this[i(414)](e),e=this[i(421)](e),e=this[i(600)](e);const{root:m,changes:p}=this[i(510)](e,a,t);c[i(525)][t]=m;const v=l[i(336)](t);if(v){const e=a[i(336)](v[i(580)]),s=new Xt({author:e,type:v[i(626)]?i(556):i(530),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(331)](s),c[i(478)][t][i(326)]=s.id}c[i(362)]=c[i(362)][i(379)](p)}return c}[oe(396)](t,e){const i=oe;for(let s=0;s<t[i(492)];s++)for(const[n,r]of e)!r[i(540)]&&r[i(437)][i(354)](t[s][i(499)])&&t[s][i(629)][i(422)](n),r[i(451)][i(354)](t[s][i(359)])&&t[s][i(599)][i(422)](n)}[oe(481)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(492)]||r<e[i(492)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(422)](o);else if(a[i(400)]&&o[i(446)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(586)](t,n,e,r);s=s[i(379)](o),n=a,r=c}else a[i(400)]?(r++,s[i(422)](a)):(n++,s[i(422)](o))}return s}[oe(357)](t,e){const i=oe,s=[];for(let o=0;o<t[i(492)];o++){for(let r=0;r<t[o][i(629)][i(492)];r++){const a=t[o][i(629)][r];if(!e[i(615)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(507)!=c||i(489)!=u&&i(519)!=u||(s[i(331)]({type:u,name:a,userId:l}),t[o][i(629)][i(598)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(599)][i(492)];r++){const a=t[o][i(599)][r];if(!e[i(615)](a))continue;const{group:c,type:u}=n(a);if(i(507)!=c||i(489)!=u&&i(519)!=u)continue;t[o][i(599)][i(598)](r,1),r--;const l=s[i(500)](t=>t[i(317)]==a);l>-1&&s[i(598)](l,1)}}function n(t){const e=i,s=t[e(628)](":");return{group:s[0],type:s[1],subType:s[e(492)]>=5?s[2]:null,id:s[e(492)]<5?s[2]:s[3],authorId:s[e(492)]<5?s[3]:s[4],markerCount:6==s[e(492)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(492)];i++){if(t[e(446)]&&e(489)==s[i][e(399)]&&t[e(446)][e(580)]==s[i][e(580)])return t[e(353)]=s[i],void delete t[e(446)];if(!t[e(446)]&&!t[e(400)]&&e(519)==s[i][e(399)])return void(t[e(506)]=s[i])}}}[oe(591)](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(456)](o.id,s);for(let s=0;s<t[i(492)];s++){if(i(400)==e&&t[s][i(446)]||i(446)==e&&t[s][i(400)])continue;if(i(619)==t[s][i(399)]){t[s][i(412)]=0;continue}const n=r[i(336)](t[s][i(559)]),o=r[i(336)](t[s].id);t[s][i(412)]=n-o}}[oe(511)](t,e,i=!1){const s=oe,n=[];let r=this[s(465)][s(606)](t),o=this[s(465)][s(606)](e);for(-1==o&&(o=this[s(465)][s(332)][s(492)],i=!1);r<o;)n[s(422)](this[s(465)][s(504)](r)),r++;return i&&n[s(422)](this[s(465)][s(504)](r)),n}[oe(586)](t,e,i,s){const n=oe,r=this[n(453)][n(525)][n(424)];let o=e;for(;t[o]&&t[o][n(446)];)o++;let a=s;for(;i[a]&&i[a][n(400)];)a++;u(t,e,o),u(i,s,a);const c=i[n(415)](s,a)[n(379)](t[n(415)](e,o));return c[n(440)]((t,e)=>t[n(571)]!=e[n(571)]?t[n(571)]-e[n(571)]:t[n(639)]!=e[n(639)]?t[n(639)]-e[n(639)]:t[n(412)]!=e[n(412)]?e[n(412)]-t[n(412)]:!!t[n(446)]!=!!e[n(446)]?-1==t[n(571)]||0==t[n(571)]?t[n(446)]?-1:1:t[n(446)]?1:-1:t[n(355)]-e[n(355)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(562)],c=!0;for(let n=e;n<i;n++)if(r[s(432)](t[n][s(450)])||(c=!1),t[n][s(450)][s(483)]<e&&(o=n),t[n][s(450)][s(576)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(571)]=n<=o?-1:n<a?0:1,t[n][s(355)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(412)]?t[i][s(639)]=u:(u++,t[i][s(639)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(571)]&&(t[n][s(639)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(412)]?t[e][s(639)]=u:(u--,t[e][s(639)]=u,u--)}}[oe(330)](t){const e=oe,i=new Map,s=this[e(453)][e(525)][e(424)];for(let n=1;n<t[e(492)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(619)==c[e(399)])continue;if(c[e(399)]!=u[e(399)])continue;if(!s[e(350)](u[e(450)])||s[e(518)](u[e(450)]))continue;if(!s[e(350)](c[e(450)])||s[e(518)](c[e(450)]))continue;if((t[n][e(446)]||t[n][e(353)])&&t[n-1][e(400)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(400)]||!t[n-1][e(446)]&&!t[n-1][e(353)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(639)]==o[e(639)],h=Math[e(468)](r[e(639)])<Math[e(468)](o[e(639)])&&0==o[e(412)];(l||h)&&(i[e(456)](o.id,r.id),t[e(598)](a,1),n--,r[e(446)]=!1)}for(let s=0;s<t[e(492)];s++)i[e(615)](t[s][e(559)])&&(t[s][e(559)]=i[e(336)](t[s][e(559)]))}[oe(414)](t){const e=oe,i=new Set(t[e(460)](t=>t.id));for(let s=0;s<t[e(492)];s++)i[e(615)](t[s][e(559)])||0==t[s][e(412)]||(t[s][e(349)]=!0);return t[e(620)](t=>!t[e(349)])}[oe(421)](t){const e=oe,i=new Set;for(let s=0;s<t[e(492)];s++){if(i[e(615)](t[s].id)&&t[s][e(400)]&&(t[s][e(349)]=!0),t[s][e(349)])continue;if(0==t[s][e(412)])continue;if(e(373)!=t[s][e(399)])continue;if(null==t[s][e(559)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(559)];)e(373)==t[n][e(399)]?r++:e(455)==t[n][e(399)]&&r--,n++;if(0!=r)if(t[s][e(400)])t[s][e(349)]=!0;else for(;n!=s;)t[n][e(400)]&&0!=t[n][e(412)]&&(t[n][e(349)]=!0,i[e(556)](t[n][e(559)])),n--}return t[e(620)](t=>!t[e(349)])}[oe(600)](t){const e=oe,i=this[e(453)][e(525)][e(424)];for(let s=0;s<t[e(492)];s++){if(!(t[s][e(446)]||t[s][e(353)]||t[s][e(400)]||t[s][e(506)]))continue;if(0==t[s][e(412)])continue;const n=t[s][e(450)];i[e(350)](n)||i[e(518)](n)||(t[s][e(446)]&&delete t[s][e(446)],t[s][e(353)]&&delete t[s][e(353)],t[s][e(506)]&&delete t[s][e(506)],t[s][e(400)]&&(t[s][e(349)]=!0))}return t[e(620)](t=>!t[e(349)])}[oe(510)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(453)][s(525)],c=a[s(424)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(492)];e++)if(s(373)===t[e][s(399)]){t[e][s(499)]=a[s(407)](n,f);const i=new Q.ModelElement(t[e][s(450)][s(317)],t[e][s(450)][s(555)]());u[0][s(609)](i),f[s(422)](0),u[s(331)](i),t[e][s(359)]=a[s(407)](n,f)}else s(455)===t[e][s(399)]?(u[s(553)](),t[e][s(499)]=a[s(407)](n,f),f[s(608)](),f[f[s(492)]-1]++,t[e][s(359)]=a[s(407)](n,f)):(t[e][s(499)]=a[s(407)](n,f),d?d[s(633)]+=t[e][s(450)][s(558)]:d=new Q.ModelText(t[e][s(450)][s(558)],t[e][s(450)][s(555)]()),t[e+1]&&s(619)===t[e+1][s(399)]&&v(d,t[e+1][s(450)])||(u[0][s(609)](d),d=null),f[f[s(492)]-1]+=t[e][s(450)][s(547)],t[e][s(359)]=a[s(407)](n,f));for(let e=0;e<t[s(492)];e++){const i=t[e][s(499)],n=t[e][s(359)];for(const n of t[e][s(629)])o[s(456)](n,{start:i,end:null});m(s(506),e,i,n),m(s(353),e,i,n),m(s(400),e,i,n),m(s(446),e,i,n);for(const i of t[e][s(599)]){const t=o[s(336)](i);t?t[s(451)]=n:o[s(456)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(453)][s(525)][s(401)](e[s(437)],e[s(451)]);n[s(565)][s(456)](t,i)}return r[s(440)]((t,e)=>{const i=s,r=n[i(565)][i(336)](i(520)+t.id),o=n[i(565)][i(336)](i(520)+e.id);return r[i(437)][i(601)](o[i(437)])?-1:r[i(437)][i(445)](o[i(437)])?1:r[i(451)][i(601)](o[i(451)])?-1:r[i(451)][i(445)](o[i(451)])?1:i(556)===t[i(399)]?-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(580)]:null,d=i===t[o(492)]-1,f=h[e][0],m=c[o(472)](t[i][o(450)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(451)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(580)]!==u&&(l[e][o(451)]=n,f&&f[o(580)]===l[e][o(580)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(373)!==t[i][o(399)]||f&&f[o(580)]===u||h[e][o(331)]({userId:u,object:t[i][o(450)],change:l[e]}),o(455)===t[i][o(399)]&&f&&f[o(638)]===t[i][o(450)]&&(h[e][o(553)](),l[e]=f[o(624)])),l[e]&&d&&(l[e][o(451)]=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(450)],f=a[h(424)][h(350)](d)&&!a[h(424)][h(518)](d),m=t[h(420)]==o[h(593)]&&o[h(592)];if(f&&m)return;const p=a[h(401)](t,o),v=e[h(336)](u),g=new Xt({author:v,type:h(446)==l||h(353)==l?h(556):h(530),data:{isSuggestion:h(353)==l||h(506)==l},createdAt:new Date,rootName:i});r[h(422)](g),n[h(565)][h(456)](h(520)+g.id,p)}function v(t,e){const i=s,n=t[i(555)](),r=e[i(555)]();for(const t of n){if(t[1]!==e[i(389)](t[0]))return!1;r[i(534)]()}return r[i(534)]()[i(570)]}}[oe(327)](){const t=oe;this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(529)}),this[t(453)][t(568)][t(488)](t(480))[t(583)]({model:t(529),view:e=>{const i=t,s=e[i(442)][i(628)](":")[1],n=this[i(574)](s);if(!n)return null;const r=i(556)==n[i(399)]?i(489):i(519),o=[i(484),i(458)+r];return n[i(558)][i(448)]&&o[i(422)](i(458)+r+i(368)),this[i(371)]==n&&o[i(422)](i(346)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(453)][t(568)][t(488)](t(636))[t(556)](e=>{const i=t;e.on(i(542),(t,e,s)=>{const n=i,r=e[n(320)][n(548)](0);if(!r||!r.is(n(409),n(466)))return;if(!s[n(569)][n(351)](r,{attributes:[n(527),n(345)]}))return;const o=e[n(533)][n(437)][n(420)];s[n(441)][n(459)](n(527),r[n(389)](n(527)),o),s[n(441)][n(459)](n(345),r[n(389)](n(345)),o)},{priority:i(394)})}),this[t(453)][t(568)][t(488)](t(636))[t(556)](e=>{const i=t;e.on(i(409),(t,e,s)=>{const n=i;if(!s[n(569)][n(351)](e[n(320)],{attributes:[n(527),n(345)]}))return;if(e[n(533)][n(540)])return;const r=e[n(533)][n(437)][n(420)];r[n(539)](n(527))||r[n(539)](n(526))||(s[n(441)][n(459)](n(527),e[n(320)][n(389)](n(527)),r),s[n(441)][n(459)](n(345),e[n(320)][n(389)](n(345)),r))},{priority:i(394)})}),this[t(453)][t(568)][t(488)](t(636))[t(625)]({view:{name:t(426),attributes:{vid:!0}},model:{key:t(526),value:e=>e[t(389)](t(526))}}),this[t(453)][t(525)][t(424)].on(t(551),(e,[,i])=>{const s=t;[s(527),s(345),s(526)][s(522)](i)&&(e[s(382)]=!0,e[s(376)]())},{priority:t(419)}),this[t(453)][t(568)][t(488)](t(439))[t(556)](e=>{const i=t;e.on(i(474),(t,e,s)=>{const n=i;if(" "!=e[n(450)][n(558)]||e[n(450)][n(593)][n(402)]>1)return;if(!s[n(569)][n(351)](e[n(450)],t[n(317)]))return;const r=s[n(441)],o=s[n(398)][n(433)](e[n(561)]);r[n(403)](o,r[n(641)](n(426)))})}),this[t(453)][t(568)][t(488)](t(439))[t(431)]({model:t(529)}),this[t(453)][t(464)][t(325)].on(t(564),function(e){const i=t,s=e[i(363)][i(336)](i(596));return(t,n,r)=>{const o=i,a=n[o(442)][o(628)](":")[1],c=s[o(574)](a);if(!c)return null;const u=o(556)==c[o(399)]?o(628):o(494);if(!r[o(569)][o(443)](n[o(581)],t[o(317)]))return;const l=n[o(581)][o(497)](),h=n[o(581)][o(437)],d=e[o(525)][o(424)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(450)];p=p||d[o(321)](e);const i=r[o(398)][o(498)](e);if(i&&i[o(319)](o(416)))return;o(455)==t[o(399)]&&d[o(350)](e)&&!d[o(518)](e)&&(e[o(612)]||h[o(405)]?f&&f[o(593)]==e||(f=e,g(t[o(499)]),v=!0):m=m||t[o(499)])}function g(t){const e=o,i=r[e(441)][e(428)](e(426),{class:e(458)+u}),a=r[e(398)][e(496)](t);c[e(558)][e(448)]&&r[e(441)][e(397)](e(458)+u+e(368),i),s[e(371)]==c&&r[e(441)][e(397)](e(346),i),r[e(441)][e(524)](a,i),r[e(398)][e(334)](i,n[e(442)])}p||v||!m||g(m)}}(this[t(453)]),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(584),(e,i,s)=>{const n=t,r=s[n(398)][n(563)](i[n(442)]);if(r)for(const t of r)(t[n(622)](n(418))||t[n(622)](n(391)))&&(s[n(398)][n(512)](t,i[n(442)]),s[n(441)][n(530)](t))},{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(564),(e,i,s)=>{const n=t,r=i[n(442)][n(628)](":")[1],o=this[n(574)](r);if(!o)return null;const a=n(556)==o[n(399)]?n(628):n(494);if(s[n(569)][n(443)](i[n(581)],e[n(317)]))for(const t of i[n(581)][n(618)]()){if(!t.is(n(409),n(461)))continue;const e=s[n(441)][n(428)](n(426),{class:n(458)+a}),r=s[n(398)][n(496)](this[n(453)][n(525)][n(611)](t));o[n(558)][n(448)]&&s[n(441)][n(397)](n(458)+a+n(368),e),this[n(371)]==o&&s[n(441)][n(397)](n(346),e),s[n(441)][n(524)](r,e),s[n(398)][n(334)](e,i[n(442)])}},{priority:t(631)}),this[t(453)][t(525)][t(594)].on(t(624),()=>{const e=t;this[e(453)][e(464)][e(470)][e(624)](t=>{const i=e;for(const e of this[i(453)][i(525)][i(594)][i(532)]()){const s=this[i(453)][i(525)][i(594)][i(627)](e),n=this[i(453)][i(464)][i(470)][i(594)][i(627)](e);if(n){const e=s[i(389)](i(326));if(t[i(423)](i(487),n),t[i(366)](i(378),n),t[i(366)](i(408),n),t[i(366)](i(603),n),e){const s=this[i(574)](e);if(!s)return null;t[i(459)](i(487),e,n),t[i(397)](i(516)+s[i(399)],n),this[i(371)]==s&&t[i(397)](i(603),n)}}}})}),this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(348),model:e=>t(588)+e,converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(636))[t(589)]({view:t(531),model:e=>t(425)+e,converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(439))[t(431)]({model:t(507),view:e=>({name:t(477)+e,group:t(507)}),converterPriority:t(419)}),this[t(453)][t(568)][t(488)](t(480))[t(583)]({model:t(507),view:e=>{const i=t,s=e[i(442)][i(628)](":")[1];return i(489)!=s&&i(519)!=s?null:{classes:[i(372),i(360)+s]}}}),this[t(453)][t(464)][t(325)].on(t(449),ue(this[t(453)],t(494)),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(479),ue(this[t(453)],t(628)),{priority:t(631)}),this[t(453)][t(464)][t(325)].on(t(567),(e,i,s)=>{const n=t,r=s[n(398)][n(563)](i[n(442)]);if(r)for(const t of r)t.is(n(361))&&(s[n(398)][n(512)](t,i[n(442)]),s[n(441)][n(530)](t))},{priority:t(631)})}[oe(574)](t){const e=oe;return this[e(467)][e(336)](t)}[oe(486)](t){const e=oe;return this[e(417)]&&this[e(417)][e(390)](),this[e(417)]=new Jt(this[e(453)][e(367)],t),this[e(417)]}[oe(552)](){const t=oe;this[t(453)][t(525)][t(594)][t(364)][t(517)](t(529)),this.on(t(550),(e,i,s,n)=>{const r=t;n&&this[r(515)][r(530)](n),s&&(this[r(515)][r(556)]({view:s,stackId:r(503),position:{target:()=>{const t=r,e=this[t(453)][t(464)],i=this[t(574)](s[t(340)]);let n;if(i[t(558)][t(316)]){const s=e[t(470)][t(578)](i[t(406)]);n=Array[t(541)](s[t(370)]())}else{const i=this[t(453)][t(525)][t(565)][t(336)](t(520)+s[t(340)]);n=Array[t(541)](e[t(398)][t(563)](i[t(317)]))[t(460)](i=>e[t(470)][t(640)][t(604)](i))[t(460)](e=>Array[t(541)](e[t(370)]()))[t(395)]()}return this[t(544)]&&n[t(549)](e=>e[t(365)]-3<=this[t(544)].y&&e[t(356)]+3>=this[t(544)].y&&e[t(617)]-3<=this[t(544)].x&&e[t(339)]+3>=this[t(544)].x)||n[0]}}}),this[r(515)][r(473)](r(503)))}),this.on(t(469),(e,i,s,n)=>{const r=t;this[r(505)]=s?this[r(486)](s):null,this[r(453)][r(525)][r(624)](()=>{const t=r,e=this[t(453)][t(464)];n&&(n[t(558)][t(316)]?e[t(470)][t(624)](i=>{const s=t;i[s(366)](s(603),e[s(470)][s(594)][s(627)](n[s(406)]))}):e[t(490)](t(520)+n.id)),s&&(s[t(558)][t(316)]?e[t(470)][t(624)](i=>{const n=t;i[n(397)](n(603),e[n(470)][n(594)][n(627)](s[n(406)]))}):e[t(490)](t(520)+s.id))})}),this[t(587)](this[t(453)][t(464)][t(470)][t(594)],t(557),(e,i)=>{const s=t;if(this[s(371)])return;const n=this[s(323)](i[s(582)]),r=this[s(467)][s(336)](n);r?(this[s(544)]={x:i[s(462)].x,y:i[s(462)].y},this[s(505)]=this[s(486)](r)):(this[s(544)]=null,this[s(505)]=null)}),this[t(587)](this[t(453)][t(464)][t(470)][t(594)],t(413),(e,i)=>{const s=t,n=this[s(323)](i[s(582)]),r=this[s(467)][s(336)](n);r?(this[s(544)]={x:i[s(462)].x,y:i[s(462)].y},r===this[s(371)]?this[s(515)][s(343)]():this[s(371)]=r):(this[s(544)]=null,this[s(371)]=null)})}[oe(323)](t){const e=oe;do{const i=t[e(389)](e(487));if(i)return i;t=t[e(593)]}while(t);return null}[oe(514)](){const t=oe;this[t(453)][t(525)][t(624)](e=>{const i=t;for(const t of this[i(453)][i(525)][i(565)])e[i(375)](t)})}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(569)][r(443)](s[r(581)],i[r(317)]))return;const o=s[r(581)][r(497)](),a=s[r(581)][r(437)],c=t[r(525)][r(424)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(450)];h=h||c[r(321)](e);const i=n[r(398)][r(498)](e);if(i&&i[r(319)](r(416)))return;r(455)==t[r(399)]&&c[r(350)](e)&&!c[r(518)](e)&&(e[r(612)]||a[r(405)]?u&&u[r(593)]==e||(u=e,f(t[r(499)]),d=!0):l=l||t[r(499)])}function f(t){const i=r,o=n[i(398)][i(496)](t),a=n[i(441)][i(428)](i(426),{class:i(360)+e});n[i(441)][i(524)](o,a),n[i(398)][i(334)](a,s[i(442)])}h||d||!l||f(l)}}function le(){const t=["refresh","RevisionViewer","change:isReady","splice","markersEnd","_removeUnsupportedChanges","isBefore","config","ck-revision-history-root--active","mapViewToDom","change:numberOfChanges","getIndex","then","pop","_appendChild","forward","createPositionBefore","nextSibling","resolve","attributesBefore","has","4440776LuTfMp","left","getItems","text","filter","2473206HSgTYc","hasClass","enqueueChange","change","elementToAttribute","isAttached","getRoot","split","markersStart","_sortAndFilterDiffChanges","high","pluginName","_data","_setChanges","detachRoot","upcast","187011ZjnJGH","object","level","domConverter","createAttributeElement","_makeModelFromViewString","bind","isOnRoot","name","getRevisionRootsAttributes","getCustomProperty","viewItem","isContent","commands","_findChangeIdFromDomTarget","keys","downcastDispatcher","revisionHistoryAttachChange","_setConversion","deletions","7NGvKOK","_fixObsoleteTags","unshift","_revisions","3237348VLkrTD","bindElementToMarker","isReady","get","getRevisionDocumentData","4741190OsrxdL","right","changeId","currentChangeNumber","diffData","updatePosition","oldRevisionId","vid_end","ck-suggestion-marker--active","all","comment","isIncorrect","isBlock","consume","first","isAddSuggestion","isEqual","index","bottom","_markSuggestions","isPremiumPlugin","nextPosition","ck-suggestion-preview-marker-","uiElement","changes","plugins","selection","top","removeClass","locale","-new","diff","getClientRects","activeChange","ck-suggestion-preview-marker","elementStart","startsWith","removeMarker","stop","roots","ck-revision-history-root-add","concat","showPreviousChange","loadRevisionData","return","_update","4DKDfar","clear","WidgetToolbarRepository","ck-editor__editable__overlay","_makeTape","getAttribute","destroy","ck-suggestion-marker-merge","2969910lPGjhJ","showNextChange","low","flat","_markMarkers","addClass","mapper","type","isRemoved","createRange","maxOffset","wrap","_utils","isAtEnd","rootName","createPositionFromPath","ck-revision-history-root-remove","element","backward","delete","distance","mousedown","_removeMissingPairs","slice","addHighlight","_changeView","ck-suggestion-marker-split","highest","nodeAfter","_markMismatchedRemovedTags","push","removeAttribute","schema","revision-suggestion:","span","adapter","createUIElement","insertions","68TcMMxU","markerToData","isInline","toViewRange","numberOfChanges","authors","_cleanUp","start","affectsData","dataDowncast","sort","writer","markerName","test","forceDisabled","isAfter","isAdded","restoreRevision","isSuggestion","addMarker:revision-suggestion:deletion","item","end","55bQTUQT","editor","restoreRevisionCallback","elementEnd","set","addRevisionData","ck-suggestion-marker-","setAttribute","map","softBreak","domEvent","revision-viewer","editing","repository","code","_changeIdToChange","abs","change:activeChange","view","RevisionHistoryUtils","isObject","showStack","attribute:vid","string","enableReadOnlyMode","suggestion:","attributes","addMarker:revision-suggestion:insertion","editingDowncast","_joinTapes","catch","startIndex","ck-suggestion-marker","9RiYzZe","_getViewForChange","data-change-id","for","insertion","reconvertMarker","addRevision","length","isNavigationMode","merge","isOfficialPlugin","toViewPosition","getWalker","toViewElement","previousPosition","findIndex","init","_processTape","revisionHistoryLabel","getRevision","activeView","isRemoveSuggestion","revision-suggestion","_getDiff","requires","_makeModelFromTape","_getRevisionsRange","unbindElementFromMarkerName","attachChange","_cleanMarkers","_balloon","ck-revision-history-root-","observeMarkers","isLimit","deletion","revision:","_markInsertions","includes","_step","insert","model","vid","vid_start","createRangeIn","revision","remove","suggestion","getRootNames","modelRange","next","attributesAfter","error","compare","addRoot","hasAttribute","isCollapsed","from","element:pre","values","_activeViewTarget","change:isEnabled","217174iKQCfC","offsetSize","getChild","find","change:activeView","checkAttribute","_initInteractions","shift","forEach","getAttributes","add","mouseover","data","pairId","_refreshStartEndIndex","range","POSITIVE_INFINITY","markerNameToElements","addMarker:revision","markers","newRevisionId","removeMarker:revision-suggestion","conversion","consumable","done","side","isEnabled","createRevision","_getChangeFromId","RevisionsRepository","endIndex","revisionHistory","getDomRoot","getLaterVisibleRevision","userId","markerRange","target","markerToHighlight","removeMarker:revision","indexOf","_threeWayMerge","listenTo","revision-comment:","dataToMarker","execute","_setDistance","isAtStart","parent","document"];return(le=function(){return t})()}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(363)][e(336)](ce);this[e(438)]=!1,this[e(587)](i,e(597),()=>this[e(595)]()),this[e(587)](i,e(545),()=>this[e(595)]())}[oe(590)](){const t=oe,e=this[t(453)],i=e[t(363)][t(336)](ce),s=i[t(335)]?i[t(369)][t(566)]:null;e[t(602)][t(336)](t(577))[t(454)](s)}[oe(595)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(453)][t(363)][t(336)](ce),r=n&&s[t(579)](n[t(566)]);this[t(572)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(523)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(363)][i(336)](ce);this[i(438)]=!1,this[i(523)]=i(610)===e?1:-1,this[i(587)](s,i(597),()=>this[i(595)]()),this[i(587)](s,i(545),()=>this[i(595)]()),this[i(587)](s,i(469),()=>this[i(595)]())}[oe(590)](){const e=oe,i=this[e(453)],s=i[e(363)][e(336)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(371)]=n?s[e(369)][e(362)][e(336)](r+this[e(523)]):s[e(369)][e(362)][e(352)],s[e(371)][e(558)][e(316)])o=i[e(464)][e(470)][e(578)](s[e(371)][e(406)]);else{const t=i[e(525)][e(565)][e(336)](e(520)+s[e(371)].id);o=(0,K.getMarkerDomElement)(i[e(464)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(595)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(453)][t(363)][t(336)](ce);this[t(572)]=!!(r&&n&&s)&&(!e||(1===this[t(523)]?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-=357]})(t,e)}function ve(){const t=["1001670EdgmIQ","isForwardNavigationEnabled","isReady","3605329RvjYDS","131048Gybfdq","420bfeVAP","forward","1840080PdOALG","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__label","11927940qFDVJs","8145sWUkWB","1JZEnsw","backward","setTemplate","set","span","_isStatusLabelVisible","isEnabled","_statusText","NUMBER_OF_CHANGES","div","No changes","isBackwardNavigationEnabled","fire","ck-revision-history-ui__changes-navigation","Total","333KfBWXv","765768KnMZnB","isNavigationMode","ck-revision-history-ui__changes-navigation__wrapper","bindTemplate","ck-revision-history-ui__changes-navigation__navigation","Show previous change","Show next change","currentChangeNumber","EDIT_X_OF_Y_REVISIONS","numberOfChanges","execute","ck-hidden","bind","Loading...","X_OF_Y_CHANGES"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(317923===-parseInt(e(395))/1*(-parseInt(e(383))/2)+parseInt(e(390))/3+parseInt(e(368))/4+-parseInt(e(394))/5*(-parseInt(e(388))/6)+-parseInt(e(386))/7+parseInt(e(387))/8*(parseInt(e(367))/9)+-parseInt(e(393))/10)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(371)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(398)](e(369),!1),this[e(398)](e(385),!1),this[e(398)](e(375),0),this[e(398)](e(377),0),this[e(398)](e(384),!1),this[e(398)](e(363),!1),this[e(380)](e(357)).to(this,e(385),this,e(377),(t,e)=>t&&e>0),this[e(380)](e(359)).to(this,e(385),this,e(375),this,e(377),this,e(369),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(381));if(!n)return at(t,o(362));const a=at(t,o(360),n);return r?at(t,o(382),[s+1,n]):a}),s[e(398)]({label:at(t,e(373)),tooltip:!0,icon:_t.IconChevronUp}),n[e(398)]({label:at(t,e(374)),tooltip:!0,icon:_t.IconChevronDown}),s[e(380)](e(358)).to(this,e(363)),n[e(380)](e(358)).to(this,e(384)),s.on(e(378),()=>this[e(364)](e(378),e(396))),n.on(e(378),()=>this[e(364)](e(378),e(389))),this[e(397)]({tag:e(361),attributes:{class:["ck",e(391),e(365)]},children:[{tag:e(399),attributes:{class:[e(370)]},children:[{tag:e(399),attributes:{class:[e(392),i.if(e(357),e(379),t=>!t)]},children:[{text:i.to(e(369),i=>i?at(t,e(376))+": ":at(t,e(366))+": ")}]},{text:i.to(e(359))}]},new It.ToolbarSeparatorView,{tag:e(361),attributes:{class:[e(372)]},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=_e;!function(t){const e=_e,i=t();for(;;)try{if(870200===parseInt(e(123))/1*(-parseInt(e(137))/2)+parseInt(e(148))/3*(-parseInt(e(136))/4)+parseInt(e(143))/5+-parseInt(e(124))/6*(-parseInt(e(130))/7)+-parseInt(e(141))/8*(parseInt(e(134))/9)+parseInt(e(135))/10*(parseInt(e(140))/11)+-parseInt(e(146))/12*(-parseInt(e(127))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const we=be(133);function _e(t,e){const i=Ie();return(_e=function(t,e){return i[t-=121]})(t,e)}function Ie(){const t=["document","editor","7wDKNmp","pluginName","hide","ck-editor__editable__loading-overlay","37161NZJLjk","20fDWfzM","68xAaspd","2AiURMC","addClass","isPremiumPlugin","5541217tmJrYi","2488KyEZJc","view","7480355EaBIbP","RevisionViewerLoadingOverlay","roots","21926316qVxQaf","removeClass","253749FHvIfo","change","show","1599649sddPoZ","5166726tbKqrq","isOfficialPlugin","editing","13BDgCUY"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(131)](){return be(144)}static get[be(125)](){return!0}static get[be(139)](){return!0}[be(122)](){const t=be,e=this[t(129)][t(126)][t(142)];e[t(121)](i=>{const s=t;for(const t of e[s(128)][s(145)])i[s(138)](we,t)})}[be(132)](){const t=be,e=this[t(129)][t(126)][t(142)];e[t(121)](i=>{const s=t;for(const t of e[s(128)][s(145)])i[s(147)](we,t)})}}const Oe=xe;function Te(){const t=["plugins","isPremiumPlugin","isNavigationMode","73923zAhybc","numberOfChanges","set","hide","get","566396xneXvY","add","revisionHistory","7CbCVRD","173028pzmpFz","editor","isReady","isEnabled","isBackwardNavigationEnabled","commands","forward","2bslsLF","275nErDwy","Back to editing","bind","componentFactory","execute","11oeJDJg","2709488KihJgX","3957405xINqcO","2363170SNLcGy","currentChangeNumber","showNextChange","isOfficialPlugin","change:isReady","closeRevisionViewerCallback","pluginName","requires","showPreviousChange","RevisionViewerUI","show","14231097hRlGoI","Restore this revision","exitToEditing","ck-revision-history-ui__back-to-editing","listenTo","restoreRevision","config","init","changesNavigation","isForwardNavigationEnabled"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=304]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(816665===-parseInt(e(332))/1+-parseInt(e(348))/2*(-parseInt(e(307))/3)+parseInt(e(337))/4+-parseInt(e(349))/5*(-parseInt(e(341))/6)+-parseInt(e(340))/7*(parseInt(e(306))/8)+-parseInt(e(319))/9+parseInt(e(308))/10*(-parseInt(e(305))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(314)](){return Oe(317)}static get[Oe(311)](){return!0}static get[Oe(330)](){return!0}static get[Oe(315)](){return[ce,Se]}[Oe(326)](){const t=Oe,e=this[t(342)],i=e[t(329)][t(336)](ce),s=e[t(329)][t(336)](Se);e.ui[t(352)][t(338)](t(321),i=>{const s=t,n=new It.ButtonView(i);return n[s(334)]({label:at(i,s(350)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(322)}),this[s(323)](n,s(304),()=>{const t=s;e[t(325)][t(336)](t(339))[t(313)]()}),n}),e.ui[t(352)][t(338)](t(324),i=>{const s=t,n=new It.ButtonView(i);return n[s(334)]({label:at(i,s(320)),withText:!0,tooltip:!0}),n[s(351)](s(344)).to(e[s(346)][s(336)](s(324))),this[s(323)](n,s(304),()=>e[s(304)](s(324))),n}),e.ui[t(352)][t(338)](t(327),s=>{const n=t,r=new ge(s),o=e[n(346)][n(336)](n(316)),a=e[n(346)][n(336)](n(310));return r[n(351)](n(345)).to(o,n(344)),r[n(351)](n(328)).to(a,n(344)),r[n(351)](n(343),n(309),n(333),n(331)).to(i),this[n(323)](r,n(304),(t,i)=>{const s=n;e[s(304)](s(347)===i?s(310):s(316))}),r}),s[t(318)](),i.on(t(312),(e,i,n)=>{const r=t;n?s[r(335)]():s[r(318)]()})}}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=Ve;function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=462]})(t,e)}function De(){const t=["Enter the revision name","Revision name","5277582oJlnHS","_updateTooltipText","33VEvRoI","_resizeObserver","clientWidth","_tooltipString","input","fieldView","listenTo","108626cSgYms","ck-tooltip_multi-line","842376GizxHW","span","scrollWidth","bindTemplate","render","9uvZquz","1817690wIFfsF","4JnVqmO","destroy","2808695jyXUpm","placeholder","value","element","set","213209gkfLEX","extendTemplate","ck-revision-history-sidebar__revision-name","1857541FKRphN"];return(De=function(){return t})()}!function(t){const e=Ve,i=t();for(;;)try{if(471091===parseInt(e(480))/1+parseInt(e(464))/2*(parseInt(e(488))/3)+parseInt(e(473))/4*(parseInt(e(475))/5)+-parseInt(e(486))/6+parseInt(e(483))/7+-parseInt(e(466))/8+parseInt(e(471))/9*(-parseInt(e(472))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(489)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(469)];this[i(479)]({label:at(t,i(485)),_tooltipString:""}),this[i(462)][i(476)]=at(t,i(484)),this[i(481)]({tag:i(467),attributes:{class:[i(482)],"data-cke-tooltip-text":s.to(i(491)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(465)}})}[Me(470)](){const e=Me;super[e(470)](),this[e(489)]=new t.ResizeObserver(this[e(462)][e(478)],()=>this[e(487)]()),this[e(463)](this[e(462)],e(492),()=>this[e(487)]())}[Me(474)](){const t=Me;super[t(474)](),this[t(489)]&&this[t(489)][t(474)]()}[Me(487)](){const t=Me,e=this[t(462)][t(478)];this[t(491)]=e[t(468)]>e[t(490)]&&e[t(477)]||""}}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=Pe();return(je=function(t,e){return i[t-=383]})(t,e)}function Pe(){const t=["57690CAsKjB","40344mxFAdF","306RfiFUb","9uIhuBT","push","Revision author","3799088zLDqPX","966658NdZOKS","ck-revision-history-sidebar__revision-author_creator","0 0 11 10","setTemplate","set","ck-revision-history-sidebar__revision-author","890967xmjTDg","Revision creator","span","3725825vDkifB","name","18cJTiif","3379776bixqjj","ck-revision-history-sidebar__revision-author__name"];return(Pe=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(442774===-parseInt(e(399))/1*(-parseInt(e(397))/2)+parseInt(e(388))/3+parseInt(e(394))/4+-parseInt(e(391))/5+-parseInt(e(393))/6*(parseInt(e(403))/7)+parseInt(e(402))/8+parseInt(e(398))/9*(-parseInt(e(396))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Le extends It.View{constructor(t,e,i){const s=je;super(t);const n=new It.IconView;n[s(386)]({content:_t.IconUser,viewBox:s(384)});const r=["ck",s(387)];i&&r[s(400)](s(383));const o=[{tag:s(390),attributes:{class:["ck",s(395)],title:at(t,s(i?389:401))},children:[n,e[s(392)]]}];this[s(385)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=482]})(t,e)}function Ue(){var t=["12164175yVwYNi","numeric","2xawTGR","66gZVNRs","285178AecUsT","2606343KGKmDf","214116PPjLgP","2659176pQcJxd","long","toLocaleDateString","toLocaleTimeString","3734455OURaAa","8383032skVPgI"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(534278===parseInt(e(486))/1*(-parseInt(e(484))/2)+parseInt(e(487))/3+parseInt(e(489))/4+-parseInt(e(493))/5+-parseInt(e(485))/6*(-parseInt(e(488))/7)+parseInt(e(494))/8+-parseInt(e(482))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(505),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Dt();Ot()(We.A,He);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=302]})(t,e)}function qe(){const t=["1616504XEGRtc","561140JERYLr","model","2178771UbnHmj","listView","name","items","Restore this revision","listenTo","82oJxUFe","Compare against selected","add","set","function","ck-revision-history-sidebar__revision__actions","locale","find","bind","execute","isEnabled","source","isActionsDropdownOpen","36FCTMvi","stopPropagation","isVisible","extendTemplate","panelPosition","_action","ck-on","map","Name this revision","10jrHveP","25971JXYpaq","children","isOpen","Show more items","44WmSKpT","class","bindTemplate","1146370NylQAs","first","137370DOBUQU","menu","isReady","button","597979qTckfM","action","buttonView","menuitem","change:isActionsDropdownOpen"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(439062===-parseInt(e(326))/1+-parseInt(e(340))/2*(parseInt(e(313))/3)+-parseInt(e(332))/4+-parseInt(e(312))/5*(parseInt(e(322))/6)+parseInt(e(334))/7+parseInt(e(331))/8*(parseInt(e(303))/9)+parseInt(e(320))/10*(parseInt(e(317))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["ck-revision-history-sidebar__revision-wrapper","555736HyiwTp","isHighlighted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","div","highlight","listenTo","fire","ck-disabled","5128608gOdubF","set","deselect","2202665IgRkix","_requireRevisionName","ck-revision-history-sidebar__revision_selected","change","1135663RfsOFk","select","name","revisionActionsView","closest","revisionNameView","filter","2424294fmhvkG","extendTemplate","element","ck-revision-history-sidebar__actions_dropdown_open","render","bind","unshift","ck-revision-history-sidebar__revision-authors","150156ZiFbDT",".ck-confirm-view","_createdAtFormatted","_revision","isEnabled","unhighlight","setTemplate","isActionsDropdownOpen","uiLanguage","isConfirm","map","220","44yeIzdN","length","fieldView","42GsiOgV","isReady","authors","6TFtGKM","srcElement","ck-revision-history-sidebar__revision","isSelected","span","setName","ck-revision-history-sidebar__revision__date","ck-reset","16201590auryKP","creator","value","ck-revision-history-sidebar__revision__controls-wrapper","bindTemplate","ck-revision-history-sidebar__revision_highlighted","from","createdAt"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=399]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(754175===-parseInt(e(423))/1+parseInt(e(450))/2*(parseInt(e(438))/3)+parseInt(e(416))/4+parseInt(e(419))/5*(parseInt(e(456))/6)+parseInt(e(453))/7*(parseInt(e(408))/8)+parseInt(e(430))/9+-parseInt(e(399))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(428)];[Ye(426)];[Ye(441)];[Ye(420)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(403)],a=function(t,e){const i=r,s=Array[i(405)](e[i(455)])[i(429)](t=>t!=e[i(400)]);return e[i(400)]&&s[i(436)](e[i(400)]),s[i(448)](s=>new Le(t,s,s==e[i(400)]))}(e,i);this.id=i.id,this[r(441)]=i,this[r(420)]=n,this[r(435)](r(425),r(406)).to(i),this[r(435)](r(440)).to(this,r(406),t=>{return i=e[r(446)],(s=t)[(n=ze)(491)](i,{month:n(490),day:n(483)})+", "+s[n(492)](i,{hour:n(483),minute:n(483)});var i,s,n}),this[r(417)](r(459),!1),this[r(417)](r(409),!1),this[r(417)](r(445),!1),this[r(417)](r(454),!1),this[r(417)](r(442),!1),this[r(428)]=new Ee(e,It.createLabeledInputText),this[r(428)][r(452)][r(431)]({attributes:{maxlength:r(449)}}),this[r(428)][r(452)][r(435)](r(401)).to(this,r(425),t=>t||this[r(440)]),this[r(428)][r(435)](r(442)).to(this,r(459),this,r(442),(t,e)=>t&&e),this[r(426)]=s&&s[r(451)]?function(e,i){const s=Ze,n=e[s(319)],r=e[s(346)],o=(0,It.createDropdown)(r);o[s(307)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(346)],n={"Compare against selected":at(s,i(341)),"Name this revision":at(s,i(311)),"Restore this revision":at(s,i(338))};return e[i(310)](t=>{const e=i,s=n[t[e(336)]];return s&&s!==t[e(336)]&&(t[e(336)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(325),model:new It.UIModel({label:t[n(336)],class:t[n(318)],withText:!0,role:n(329),_action:t[n(327)]})};i[n(333)][n(348)](n(350)).to(e,n(302),i=>n(344)!=typeof t[n(350)]||!i||t[n(350)](e)),o[n(342)](i)}return o}(e,i);return e[s(348)](s(302)).to(o,s(315)),o[s(328)][s(343)]({label:at(r,s(316)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(306)]({attributes:{class:[s(345),n.if(s(302),s(309))]},on:{click:n.to(t=>t[s(304)]())}}),o.on(s(349),t=>{const i=s;e[i(324)]&&i(344)==typeof t[i(351)][i(308)]&&t[i(351)][i(308)](e)}),(0,It.addListToDropdown)(o,a,{role:s(323)}),o[s(339)](e,s(330),(t,n,r)=>{const a=s;if(r)for(const t of o[a(335)][a(337)]){const s=t[a(314)][a(321)],n=i[a(347)](t=>t[a(327)]===s[a(308)])[a(305)];t[a(305)]=void 0===n||n(e)}}),o}(this,s):"",this[r(426)]&&this[r(426)][r(435)](r(442)).to(this),this[r(444)]({tag:r(411),attributes:{class:["ck",r(463),r(407),o.if(r(447),r(410))]},children:[{tag:r(411),attributes:{class:["ck",r(463),r(458),o.if(r(442),r(415),t=>!t),o.if(r(459),r(421)),o.if(r(409),r(404)),o.if(r(445),r(433))]},children:[this[r(428)],{tag:r(460),attributes:{class:["ck",r(462)]},children:[{text:o.to(r(440))}]},{tag:r(411),attributes:{class:["ck",r(402)]},children:[{tag:"ul",attributes:{class:["ck",r(437)]},children:a}]},this[r(426)]],on:{click:o.to(t=>{const e=r;t[e(457)][e(427)](e(439))||this[e(454)]&&this[e(442)]&&this[e(414)](e(424),{id:this.id})})}}]})}[Ye(434)](){const t=Ye;super[t(434)]();const e=this[t(428)][t(452)][t(432)];this[t(413)](e,t(422),()=>{const i=t;this[i(420)]&&!e[i(401)]||this[i(414)](i(461),{id:this.id,name:e[i(401)]}),e[i(401)]||(e[i(401)]=this[i(425)]?this[i(425)]:this[i(440)])})}[Ye(424)](){this[Ye(459)]=!0}[Ye(418)](){this[Ye(459)]=!1}[Ye(412)](){this[Ye(409)]=!0}[Ye(443)](){this[Ye(409)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class 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 Xs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const 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 Xs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Li.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Li.set(i,s)),s}const Ui=new Map;const Wi=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=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):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=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 Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ls(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Hi=null,Li.clear(),Ui.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ls(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Pi[i];return s||(s=new Intl.ListFormat(t,e),Pi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?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=Ls(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function 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 Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return 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 Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Qs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Xs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ps(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${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:Zs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Pn(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ln=RegExp(`^T?${Nn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function 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(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 Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Qs(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 Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Wn[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,An),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Xn=In(/(\d{4})-?(\d{3})/,An),tr=In(Rn),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Pn),ir=Sn(Mn,Fn,jn,Pn),sr=Sn(Vn,Fn,jn,Pn),nr=Sn(Fn,jn,Pn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,jn,Pn);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(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,[Ln,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ps(e.values,t)||Ps(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;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||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function 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=Lr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return 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(Ps(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ps(i,"a")&&Ps(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Pr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=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 Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=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 Xr(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=Qi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=As(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null: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||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Qi.fromObject(e)}):fo.invalid(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:Qi.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:Qi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const s=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rs(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=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],[Qn,ir],[Xn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=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 qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=283]})(t,e)}function vo(){const t=["fromJSDate","1376908ricFFm","year","hasSame","2214270NmrxiP","local","toJSDate","setLocale","day","startOf","minus","month","toRelativeCalendar","3443064IiUSxS","monthLong","week","9pGzrCP","571650srvfQZ","543376XRlXUG","2257605dBWNOZ","weekdayLong","6HoiTbT","574776ZdfUOG"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(290)](t)[i(297)](e),n=fo[i(295)](),r=n[i(300)]({days:1})[i(299)](i(298));let o,a;return s[i(293)](n,i(298))?(o=s[i(299)](i(298))[i(296)](),a=s[i(302)]()):s[i(293)](r,i(298))?(o=r[i(296)](),a=s[i(302)]()):s[i(293)](n,i(305))?(o=s[i(299)](i(305))[i(296)](),a=s[i(287)]||""):s[i(293)](n,i(292))?(o=s[i(299)](i(301))[i(296)](),a=s[i(304)]||""):(o=s[i(299)](i(292))[i(296)](),a=String(s[i(292)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(520749===-parseInt(e(284))/1+parseInt(e(285))/2*(-parseInt(e(288))/3)+parseInt(e(291))/4+parseInt(e(294))/5+parseInt(e(289))/6+parseInt(e(286))/7+parseInt(e(303))/8*(parseInt(e(283))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=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=["16hIhyQu","removeRevision","22030560FaIQnQ","setName","span","uiLanguage","24696qsUxxo","find","33hbJJDN","452VCQwJg","div","select","localizedPeriodName","_revisionActions","764155mVQSaY","createCollection","609164fBOPpC","4dIpwEO","3818835sZSHJf","locale","2776067TRwNbL","42SIQIpx","delegate","ck-revision-history-sidebar__time-period__revisions","revisionViews","remove","setTemplate","_requireRevisionName","add","232590NkqeeO","ck-revision-history-sidebar__time-period__label","addRevision","startDate","ck-revision-history-sidebar__time-period"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(755105===-parseInt(e(342))/1*(-parseInt(e(341))/2)+-parseInt(e(331))/3*(parseInt(e(334))/4)+-parseInt(e(339))/5*(parseInt(e(346))/6)+-parseInt(e(345))/7*(parseInt(e(359))/8)+parseInt(e(343))/9+-parseInt(e(354))/10*(-parseInt(e(333))/11)+parseInt(e(361))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(357)];[bo(349)];[bo(338)];[bo(352)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(344)][n(330)])[n(337)];this[n(357)]=e,this[n(349)]=this[n(340)](),this[n(338)]=i,this[n(352)]=s,this[n(349)][n(347)](n(336)).to(this),this[n(349)][n(347)](n(362)).to(this),this[n(351)]({tag:n(335),attributes:{class:["ck",n(358)]},children:[{tag:n(363),attributes:{class:["ck",n(355)]},children:[{text:r}]},{tag:n(335),attributes:{class:["ck",n(348)]},children:this[n(349)]}]})}[bo(356)](t){const e=bo,i=new Ke(this[e(344)],t,this[e(338)],this[e(352)]);this[e(349)][e(353)](i)}[bo(360)](t){const e=bo,i=this[e(349)][e(332)](e=>e.id===t.id);this[e(349)][e(350)](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=No();return(To=function(t,e){return i[t-=306]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(136468===-parseInt(e(313))/1*(parseInt(e(308))/2)+-parseInt(e(309))/3*(-parseInt(e(316))/4)+-parseInt(e(307))/5+parseInt(e(310))/6+parseInt(e(318))/7*(-parseInt(e(315))/8)+-parseInt(e(306))/9*(-parseInt(e(324))/10)+parseInt(e(320))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(314)]=_t.IconHistory,this[e(322)]({tag:e(317),attributes:{class:["ck",e(321),e(311)]},children:[i,{tag:e(312),attributes:{class:["ck",e(323)]},children:[at(t,e(319))]}]})}}function No(){const t=["span","2FKWOCn","content","3264TrBayW","827760OIrRQJ","div","2331yIKxPq","Revision history","2197305YcIAfz","ck-reset_all","setTemplate","ck-revision-history-sidebar__header__label","70EdxNrT","115029SGoPPx","747255cTsDok","224166WVAnWv","3pPIyOK","898722VJWaaB","ck-revision-history-sidebar__header"];return(No=function(){return t})()}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;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=188]})(t,e)}function Do(){const t=["uiLanguage","add","selectRevision","remove","15mGmqfm","some","unhighlight","startDate","select","ck-disabled","_requireRevisionName","createdAt","ck-rounded-corners","2614LAdLhj","1777167TilUHk","fire","flat","delegate","_removeRevision","highlightRevisions","1237wSOuEs","div","6843900QLlXIT","bindTemplate","locale","revisionViews","ck-revision-history-sidebar","ck-reset","find","10530909TvwcQM","deselect","highlight","1817838zWTkHc","setName","removeRevision","getTime","addRevision","_revisionActions","map","set","createCollection","_revisions","ck-revision-history-sidebar__timeline","revisionSelected","_addRevision","render","revisionSetName","_getTimePeriodViewByStartDate","30GDParl","3613104spjePa","isEnabled","4904469xwsjWZ","setTemplate","get","timePeriodViews"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(863020===-parseInt(e(217))/1*(parseInt(e(210))/2)+-parseInt(e(193))/3+parseInt(e(219))/4+parseInt(e(201))/5*(-parseInt(e(229))/6)+parseInt(e(211))/7+-parseInt(e(191))/8+parseInt(e(226))/9*(parseInt(e(190))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(196)];[Mo(238)];[Mo(234)];[Mo(207)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(220)];this[n(196)]=this[n(237)](),this[n(196)][n(214)](n(205)).to(this),this[n(196)][n(214)](n(230)).to(this),this[n(238)]=e,this[n(234)]=i,this[n(207)]=s,this.on(n(205),(t,e)=>{const i=n;this[i(212)](i(240),e)}),this.on(n(230),(t,e)=>{const i=n;this[i(212)](i(188),e)}),this[n(236)](n(192),!1),this[n(194)]({tag:n(218),attributes:{class:["ck",n(224),n(209),n(223)]},children:[new xo(t),{tag:n(218),attributes:{class:["ck",n(239),r.if(n(192),n(206),t=>!t)]},children:this[n(196)]}]})}[Mo(242)](){const t=Mo;super[t(242)]();for(const e of this[t(238)])this[t(241)](e);this[t(238)].on(t(198),(e,i)=>{this[t(241)](i)}),this[t(238)].on(t(200),(e,i)=>{this[t(215)](i)})}get[Mo(222)](){const t=Mo;return this[t(196)][t(235)](e=>e[t(222)][t(235)](t=>t))[t(213)]()}[Mo(199)](t){const e=Mo;for(const i of this[e(222)])t&&t.id===i.id?i[e(205)]():i[e(227)]()}[Mo(216)](t){const e=Mo;for(const i of this[e(222)])t[e(202)](({id:t})=>t===i.id)?i[e(228)]():i[e(203)]()}[Mo(241)](t){const e=Mo,i=go(t[e(208)],this[e(221)][e(197)])[e(204)];let s=this[e(196)][e(195)](0);s&&s[e(204)][e(232)]()===i[e(232)]()||(s=new Io(this[e(221)],i,this[e(234)],this[e(207)]),this[e(196)][e(198)](s)),s[e(233)](t)}[Mo(215)](t){const e=Mo,i=go(t[e(208)],this[e(221)][e(197)])[e(204)];this[e(189)](i)[e(231)](t)}[Mo(189)](t){const e=Mo;return this[e(196)][e(225)](i=>i[e(204)][e(232)]()===t[e(232)]())}}const Co=jo;function Fo(){const t=["locale","909178MRDQIB","_revisions","bind","_handleDiffChange","availableRevisionActions","defaultRevisionActions","revisionHistory.revisionActions","1cWPsZR","length","_handleEditorDataReady","_revisionsRepository","map","nameRevision","get","_revisionViewer","newRevisionId","editor","11xSPmge","isVisible","Restore this revision","fieldView","init","_handleRevisionSetName","2643708RQLJBG","action","getRevisionsInDiff","isOfficialPlugin","highlightRevisions","_sidebarView","isSelected","element","appendChild","repository","change:diff","remove","_handleRevisionSelected","2834368ZhNVLG","pluginName","isEnabled","compare","timePeriodViews","1040169TFdJPS","diff","revisionHistory","revisionSetName","focus","Compare against selected","setName","requires","isPremiumPlugin","5pOuoTJ","Name this revision","ready","revisionHistory.requireRevisionName","getLaterVisibleRevision","revisionSelected","getIndex","name","RevisionsSidebar","4510908fajDoj","compareAgainstSelected","string","restoreRevisionCallback","getRevision","selectRevision","select","7wqszTd","add","config","render","restoreRevision","getEarlierVisibleRevision","6020ArrZVW","assign","revisionViews","plugins","destroy","revisionHistory.viewerSidebarContainer","listenTo","_createRevisionActions","7574740nsApFV","isReady","data"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(276301===-parseInt(e(286))/1*(-parseInt(e(279))/2)+-parseInt(e(236))/3+-parseInt(e(267))/4*(parseInt(e(245))/5)+-parseInt(e(218))/6+parseInt(e(261))/7*(parseInt(e(231))/8)+-parseInt(e(254))/9+parseInt(e(275))/10*(parseInt(e(296))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends G.Plugin{[Co(293)];[Co(289)];[Co(223)];static[Co(284)]=[Co(255),Co(265),Co(291)];static[Co(283)]=function(){const t=Co;return{compareAgainstSelected:{name:t(241),action:({plugins:e},i)=>{const s=t,n=e[s(292)](ce),r=n[s(227)];let o=n[s(237)][s(294)],a=i.id;r[s(251)](o)>r[s(251)](a)&&([o,a]=[a,o]),n[s(234)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(292)](ce);return!(n[s(227)][s(220)](n[s(237)])[s(287)]>2||i[s(224)])}},restoreRevision:{name:t(298),action:(e,{id:i})=>{const s=t;e[s(263)][s(292)](s(238))[s(257)](i)},isVisible:({plugins:e},i)=>!!e[t(292)](ce)[t(227)][t(249)](i.id)},nameRevision:{name:t(246),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(292)](ce),o=r[n(227)][n(266)](i);r[n(234)](i,o),s[n(240)](),s[n(299)][n(260)]()}}}}();static get[Co(232)](){return Co(253)}static get[Co(221)](){return!0}static get[Co(244)](){return!0}static get[Co(243)](){return[ce]}constructor(t){const e=Co;super(t),this[e(293)]=t[e(270)][e(292)](ce),this[e(289)]=this[e(293)][e(227)],this[e(223)]=null}[Co(216)](){const t=Co,e=this[t(289)][t(280)],i=this[t(274)](),s=this[t(295)][t(263)][t(292)](t(272));this[t(223)]=new Eo(this[t(295)][t(278)],e,i,this[t(295)][t(263)][t(292)](t(248))),this[t(223)].on(t(250),this[t(230)][t(281)](this)),this[t(223)].on(t(239),this[t(217)][t(281)](this)),this[t(223)][t(281)](t(233)).to(this[t(293)]),this[t(223)][t(235)].on(t(262),(e,i)=>{const s=t;i[s(269)].on(s(262),(t,e)=>{const i=s;e[i(281)](i(233),i(276)).to(this[i(293)])})}),this[t(223)][t(264)](),this[t(273)](this[t(295)][t(277)],t(247),this[t(288)][t(281)](this)),this[t(273)](this[t(293)],t(228),this[t(282)][t(281)](this)),s[t(226)](this[t(223)][t(225)])}[Co(271)](){const t=Co;this[t(223)][t(225)][t(229)](),this[t(223)][t(271)]()}[Co(288)](){const t=Co,e=this[t(289)][t(258)](0);if(e){const i=this[t(289)][t(266)](e.id);this[t(293)][t(234)](e,i)}}[Co(230)](t,e){const i=Co,s=this[i(289)][i(258)](e.id),n=this[i(289)][i(266)](s.id);this[i(293)][i(234)](s,n)}[Co(217)](t,e){const i=Co;this[i(289)][i(258)](e.id)[i(242)](e[i(252)])}[Co(282)](t,e,i){const s=Co,n=this[s(289)][s(220)](i);n[s(287)]>2?(this[s(223)][s(222)](n),this[s(223)][s(259)](null)):(this[s(223)][s(222)]([]),this[s(223)][s(259)](n[0]))}[Co(274)](){const t=Co,e=this[t(295)],i=Po[t(283)],s=e[t(263)][t(292)](t(285))||Po[t(284)];if(s[t(287)])return s[t(290)](s=>{const n=t,r=n(256)==typeof s?Object[n(268)]({},i[s]):s;return r[n(219)]=r[n(219)][n(281)](this,e),r[n(297)]&&(r[n(297)]=r[n(297)][n(281)](this,e)),r})}}const Lo=Uo;!function(t){const e=Uo,i=t();for(;;)try{if(410095===-parseInt(e(119))/1*(parseInt(e(110))/2)+-parseInt(e(157))/3*(-parseInt(e(122))/4)+parseInt(e(149))/5*(parseInt(e(142))/6)+parseInt(e(146))/7+parseInt(e(123))/8*(-parseInt(e(154))/9)+parseInt(e(145))/10*(-parseInt(e(133))/11)+parseInt(e(109))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class zo extends It.EditorUI{[Lo(115)];[Lo(144)];[Lo(116)];get[Lo(113)](){return this[Lo(115)]}constructor(e,i){const s=Lo;super(e),this[s(115)]=i,this[s(144)]=(0,It.normalizeToolbarConfig)(e[s(137)][s(141)](s(120))),this[s(116)]=new t.ElementReplacer}get[Lo(155)](){const t=Lo;return this[t(113)][t(155)]}[Lo(126)](t){const e=Lo,i=this[e(127)],s=this[e(113)],n=i[e(125)][e(113)],r=s[e(134)],o=n[e(117)][e(148)]();r[e(132)]=o[e(114)],s[e(136)]();const a=r[e(155)];this[e(128)](r[e(132)],a),s[e(134)][e(112)](e(156)).to(this[e(152)]),n[e(124)](a),this[e(116)][e(153)](t,this[e(155)]),this[e(118)](),this[e(150)](e(138))}[Lo(143)](){const t=Lo;super[t(143)]();const e=this[t(113)],i=this[t(127)][t(125)][t(113)];this[t(116)][t(111)](),i[t(121)](e[t(134)][t(132)]),e[t(143)]()}[Lo(118)](){const t=Lo,e=this[t(113)];e[t(140)][t(112)](t(139)).to(this[t(152)],t(156)),e[t(140)][t(135)]=e[t(155)],e[t(140)][t(112)](t(129)).to(this,t(131),({top:t})=>t),e[t(120)][t(151)](this[t(144)],this[t(130)]),this[t(147)](e[t(120)])}}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=109]})(t,e)}function Wo(){const t=["ready","isActive","stickyPanel","get","122658rnHluR","destroy","_toolbarConfig","7349330qldjGA","1953091gWIoIt","addToolbar","getRoot","50FBFdXi","fire","fillFromConfig","focusTracker","replace","9syKIzJ","element","isFocused","87jcPKxN","11340852ZCcQaC","34CsoNGR","restore","bind","view","rootName","_view","_elementReplacer","document","_initToolbar","45274fZuXNm","toolbar","detachDomRoot","82060hxyyfy","870104woRiHd","attachDomRoot","editing","init","editor","setEditableElement","viewportTopOffset","componentFactory","viewportOffset","name","11ivkeKa","editable","limiterElement","render","config"];return(Wo=function(){return t})()}var Ho=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function $o(){var t=["3690atTrIC","content","503019NukFJD","10371210gmnPgN","5881785KEDQbI","7FqYUZH","40sIajSU","shouldToolbarGroupWhenFull","toolbar","85qbRjEF","89837zMvBAq","render","stickyPanel","top","main","add","_editable","editable","291408HMQDOU","180642GxZMiB","4093482VsHrLv"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=303]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(923635===parseInt(e(309))/1*(parseInt(e(323))/2)+parseInt(e(303))/3+-parseInt(e(322))/4*(parseInt(e(313))/5)+-parseInt(e(307))/6+-parseInt(e(308))/7+parseInt(e(310))/8*(-parseInt(e(306))/9)+-parseInt(e(304))/10*(-parseInt(e(314))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(320)];[qo(316)];[qo(312)];get[qo(321)](){return this[qo(320)]}constructor(t,e,i={}){var s=qo;super(t),this[s(316)]=new It.StickyPanelView(t),this[s(312)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(311)]}),this[s(320)]=new It.InlineEditableUIView(t,e)}[qo(315)](){var t=qo;super[t(315)](),this[t(316)][t(305)][t(319)](this[t(312)]),this[t(317)][t(319)](this[t(316)]),this[t(318)][t(319)](this[t(321)])}}const Jo=Ko;function Go(){const t=["sourceElement","initialData","fire","updateSourceElement","910IvSYhi","view","editing","initPlugins","locale","config","init","createRoot","1982558ghGDHa","1505895TdRfZA","create","destroy","6879544GgZLvy","ready","model","121185csIKIJ","6JcZftN","1078817EERFhb","_ui","data","3VaYGWo","get","document","6255536uJuPoq","6305306HQAgJs"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(979467===-parseInt(e(274))/1+-parseInt(e(294))/2*(parseInt(e(277))/3)+parseInt(e(280))/4+parseInt(e(295))/5*(parseInt(e(273))/6)+-parseInt(e(281))/7+parseInt(e(298))/8+parseInt(e(272))/9*(parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(275)];get ui(){return this[Jo(275)]}constructor(t,e){const i=Jo;super(e),this[i(282)]=t,this[i(300)][i(279)][i(293)]();const s=new Yo(this[i(290)],this[i(288)][i(287)],{shouldToolbarGroupWhenFull:!0});this[i(275)]=new zo(this,s)}[Jo(297)](){const t=Jo;return this[t(285)](),this.ui[t(297)](),super[t(297)]()}static async[Jo(296)](t,e){const i=Jo,s=new this(t,e);return await s[i(289)](),await s.ui[i(292)](t),await s[i(276)][i(292)](s[i(291)][i(278)](i(283))||""),s[i(284)](i(299)),s}}const Xo=ea;function ta(){const t=["panelViews","rootName","1216638jpXlKw","fromCharCode","insert","revisionHistory","create","revisionHistory.viewerContainer","AIReviewMode","has","getRevision","name","isReady","none","isOfficialPlugin","pluginName","revision-history-missing-configuration","getMarkersGroup","addUser","_getRevisionViewerEditorConfig","creator","isReadOnly","replace","AIChatHistory","isEnabled","restoreRevision","bind","Annotations","long","AIActions","PaginationLookup","_closeRevisionViewer","_recalculatePageBreaks","91122cfQyJd","editor","define","save","element","enqueueChange","config","saveRevision","RestrictedEditingMode","AIBalloon","Users","setSelection","_showRevisionViewer","refreshVisibility","block","then","_viewerEditor","addRoot","uiLanguage","getRevisions","474159VvjFkp","error","revisionHistory.requireRevisionName","display","toJSON","disableReadOnlyMode","removeSelectionAttribute","createRangeIn","Autosave","model","RevisionHistory","RevisionTracker","translations","lazyRoots","markers","requires","repository","revisionHistory.showRevisionViewerCallback","DocumentOutline","revision-history-viewer-opened","adapter","addRevisionData","loadRevisionData","_restoreRevision","catch","isAnonymous","ck-tab-panel_disabled","keys","users","exitToEditing","locale","numeric","getAttributeKeys","isOpen","join","_enhanceShowRevisionViewerCallback","result","getRoot","querySelector","showRevisionViewerCallback","RevisionHistoryUtils","revisionHistory.editorContainer","AITabs","isPremiumPlugin","includes","set","push","_cleanUp","revisionHistory.restoreRevisionCallback","refreshPositioning","RevisionHistoryUI","_update","_enhanceCloseRevisionViewerCallback","commands","revisionHistory.viewerEditorElement","map","setAttribute","end","createdAt","data","style","selection","tabindex","view","remove","indexOf","RevisionViewerIntegration","344588jjqpem","parse","document","enableReadOnlyMode","4FZYOcl","toolbar","getRevisionDocumentData","AIChat","743824WDroYU","init","Restored","detachRoot","removeAttribute","change","DocumentOutlineUI","toLocaleTimeString","1268568QKYVos",".ck-ai-chat__prompt-input .ck-textarea","from","hide","fromVersion","isRevisionViewerOpen","update","getRevisionRootsAttributes","toLocaleDateString"," ck-tab-panel_disabled","closeRevisionViewerCallback","getUser","destroy","restrictedEditingException","plugins","toVersion","changesNavigation","35cuhSeH","AIQuickActions","RevisionViewer","class",".ck-ai-chat-history .ck-input","123475pCUNrN","revisionHistory.closeRevisionViewerCallback","roots","get","RevisionsRepository","isAttached","$graveyard","removeMarker","Dialog"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=184]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(122865===parseInt(e(211))/1+-parseInt(e(340))/2+parseInt(e(273))/3*(-parseInt(e(344))/4)+parseInt(e(206))/5*(parseInt(e(253))/6)+parseInt(e(189))/7+-parseInt(e(348))/8+parseInt(e(222))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(323),Xo(261),Xo(347),Xo(228),Xo(262),Xo(207),Xo(249)];class sa extends G.Plugin{[Xo(309)];static get[Xo(235)](){return Xo(339)}static get[Xo(234)](){return!0}static get[Xo(316)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(328)](t=>String[e(223)](t))[e(307)]("")}super(t),this[e(309)]=e(330),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Xo(269)];static get[Xo(235)](){return Xo(283)}static get[Xo(234)](){return!0}static get[Xo(316)](){return!0}static get[Xo(288)](){return[pt,Zt]}constructor(e){const i=Xo;if(super(e),!this[i(254)][i(259)][i(214)](i(225)))throw new t.CKEditorError(i(236),this);this[i(269)]=null,this[i(318)](i(194),!1),this[i(254)][i(259)][i(255)](i(290),t=>this[i(265)]({...t,translations:this[i(254)][i(303)][i(285)]})),this[i(254)][i(259)][i(255)](i(212),t=>this[i(251)](t)),this[i(254)][i(259)][i(255)](i(321),t=>this[i(296)](t)),this[i(254)][i(259)][i(255)](i(275),!1),this[i(308)](),this[i(325)]()}set[Xo(293)](t){const e=Xo;this[e(254)][e(203)][e(214)](e(284))[e(293)]=t}get[Xo(293)](){const t=Xo;return this[t(254)][t(203)][t(214)](t(284))[t(293)]}[Xo(294)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(284))[e(294)](t)}[Xo(230)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(215))[e(230)](t)}[Xo(272)](t){const e=Xo;return this[e(254)][e(203)][e(214)](e(215))[e(272)](t||{toJSON:!1})}[Xo(239)](){const e=Xo,i=this[e(254)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(203)][e(214)](e(284)),r=i[e(203)][e(214)](e(263))[e(301)];return s[e(345)]=[e(302),e(245),e(205)],delete s[e(286)],s[e(203)][e(319)](sa,ce,Ne,class extends G.Plugin{static get[e(288)](){return[ce,e(263)]}[e(349)](){const s=e,o=this[s(254)][s(203)][s(214)](s(263));for(const t of r)t[s(298)]||o[s(200)](t.id)||o[s(238)](t);const a=n[s(289)][s(272)]();let c=null;const u=this[s(254)][s(203)][s(214)](s(208));u[s(293)]=n[s(293)],u[s(246)](s(244)).to(n),this[s(254)][s(326)][s(214)](s(245))[s(246)](s(244)).to(i,s(241),t=>!t);for(const e of a){const i=null===e[s(240)];if(i&&e[s(204)]===e[s(193)])continue;const r=e[s(277)]();u[s(294)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(324)](r,o);else if(!o){const e=a[u(277)]();e.id=(0,t.uid)(),n[u(260)](e,a[u(204)])[u(268)](t=>{c=t})}}else e[u(324)](r,o)})}}},Po),s}[Xo(308)](){const t=Xo,e=this[t(254)][t(259)][t(214)](t(225))[t(312)];this[t(254)][t(259)][t(318)](t(290),async()=>{const i=t;this[i(254)][i(343)](i(292));const s=this[i(254)][i(203)][i(214)](i(284));if(this[i(254)][i(203)][i(229)](i(281))){const t=this[i(254)][i(203)][i(214)](i(281));await t[i(256)]()}else await s[i(195)]();if(this[i(254)][i(203)][i(229)](i(250))&&this[i(254)][i(203)][i(214)](i(250))[i(252)](),this[i(254)][i(203)][i(229)](i(219))){const t=this[i(254)][i(203)][i(214)](i(219));t[i(306)]&&t[i(192)]()}if(this[i(254)][i(203)][i(229)](i(315))){const t=this[i(254)][i(203)][i(214)](i(315))[i(336)][i(220)];for(const e of t)e[i(209)]=e[i(209)]?e[i(209)]+i(198):i(299);if(this[i(254)][i(203)][i(229)](i(347))){const t=document[i(311)](i(190));t&&t[i(329)](i(335),"-1")}if(this[i(254)][i(203)][i(229)](i(243))){const t=document[i(311)](i(210));t&&t[i(329)](i(335),"-1")}}const n=this[i(239)]();return e(n)[i(268)](t=>{const e=i;return this[e(269)]=t,this[e(254)][e(203)][e(229)](e(247))&&this[e(254)][e(203)][e(214)](e(247))[e(266)](),this[e(254)][e(203)][e(229)](e(291))&&(this[e(254)][e(203)][e(214)](e(187))[e(336)][e(257)][e(333)][e(276)]=e(233)),t})[i(297)](t=>(console[i(274)](t),this[i(254)][i(278)](i(292)),null))})}[Xo(325)](){const t=Xo,e=this[t(254)][t(259)][t(214)](t(225))[t(199)];this[t(254)][t(259)][t(318)](t(212),()=>{const i=t;if(this[i(254)][i(203)][i(229)](i(250))&&this[i(254)][i(203)][i(214)](i(250))[i(252)](),this[i(254)][i(203)][i(229)](i(291))&&(this[i(254)][i(203)][i(214)](i(187))[i(336)][i(257)][i(333)][i(276)]=""),this[i(254)][i(203)][i(229)](i(315))){const t=this[i(254)][i(203)][i(214)](i(315))[i(336)][i(220)];for(const e of t)e[i(209)]=i(299)===e[i(209)]?"":e[i(209)][i(242)](i(198),"");if(this[i(254)][i(203)][i(229)](i(347))){const t=document[i(311)](i(190));t&&t[i(185)](i(335))}if(this[i(254)][i(203)][i(229)](i(243))){const t=document[i(311)](i(210));t&&t[i(185)](i(335))}}return this[i(269)][i(203)][i(214)](i(208))[i(320)](),e(this[i(269)])[i(268)](()=>{const t=i;if(this[t(254)][t(278)](t(292)),this[t(269)]=null,this[t(254)][t(203)][t(229)](t(247))){const e=this[t(254)][t(203)][t(214)](t(247));e[t(266)](),e[t(322)]()}})})}[Xo(265)](t){const e=Xo,i=this[e(254)][e(259)][e(214)](e(314)),s=this[e(254)][e(259)][e(214)](e(227)),n=this[e(254)][e(259)][e(214)](e(327));return Qo[e(226)](n,t)[e(268)](t=>(s[e(333)][e(276)]=e(267),i[e(333)][e(276)]=e(233),this[e(194)]=!0,t))}[Xo(251)](t){const e=Xo,i=this[e(254)][e(259)][e(214)](e(314));return this[e(254)][e(259)][e(214)](e(227))[e(333)][e(276)]=e(233),i[e(333)][e(276)]="",this[e(194)]=!1,t[e(201)]()}async[Xo(296)](t){const e=Xo,i=this[e(254)],s=this[e(269)][e(203)][e(214)](e(208)),n=i[e(203)][e(214)](e(284)),r=i[e(203)][e(214)](e(313)),o=s[e(289)][e(230)](t);let a,c,u;try{await r[e(295)](o,this[e(293)]),a=r[e(346)](o),c=r[e(196)](o)}catch(t){return void console[e(274)](t)}i[e(282)][e(186)](t=>{const s=e;for(const e of Array[s(191)](i[s(282)][s(287)][s(237)](s(202))))t[s(218)](e)}),s[e(232)]=!1,i[e(282)][e(258)](t=>{const s=e;t[s(264)](null),t[s(279)](i[s(282)][s(342)][s(334)][s(305)]());const n=Object[s(300)](a);for(const e of i[s(282)][s(342)][s(213)])s(217)!=e[s(221)]&&e[s(216)]()&&!n[s(317)](e[s(221)])&&t[s(184)](e);for(const e of n){let n=i[s(282)][s(342)][s(310)](e);n&&n[s(216)]()||(n=t[s(270)](e));const r=c[e],o=Object[s(300)](r),u=a[e];for(const e of n[s(305)]())o[s(317)](e)||t[s(185)](e,n);for(const i of o)t[s(329)](i,c[e][i],n);t[s(337)](t[s(280)](n)),t[s(224)](i[s(332)][s(341)](u,n),n,0)}});const l=at(i[e(303)],e(350));return u=o[e(231)]?-1==o[e(231)][e(338)](l)?l+": "+o[e(231)]:o[e(231)]:l+": "+o[e(331)][e(197)](i[e(303)][e(271)],{month:e(248),day:e(304)})+", "+o[e(331)][e(188)](i[e(303)][e(271)],{hour:e(304),minute:e(304)}),await n[e(260)]({name:u}),s[e(232)]=!0,i[e(259)][e(214)](e(225))[e(199)]()}}function ra(){var t=["5873fxRQNV","147480tWpxTE","7408ogfOCq","2172525LYmzBa","9aBScxC","5838UndHfO","1465MajAbt","21025vtZAWX","6323640dSIhaj","2622186RYTaqo"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=361]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(711612===parseInt(e(363))/1+parseInt(e(365))/2+-parseInt(e(369))/3+-parseInt(e(367))/4+-parseInt(e(362))/5*(-parseInt(e(361))/6)+parseInt(e(366))/7*(-parseInt(e(368))/8)+parseInt(e(370))/9*(parseInt(e(364))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();