@ckeditor/ckeditor5-revision-history 47.4.0 → 47.5.0-alpha.0

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 +13 -13
  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:()=>le,Revision:()=>B,RevisionHistory:()=>na,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ia,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function 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(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?Z(e)?H(t,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(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function $(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const q=J;!function(t){const e=J,i=t();for(;;)try{if(741683===parseInt(e(219))/1+parseInt(e(224))/2+parseInt(e(220))/3+-parseInt(e(223))/4+-parseInt(e(217))/5*(parseInt(e(236))/6)+parseInt(e(230))/7+-parseInt(e(233))/8*(parseInt(e(226))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends((0,t.ObservableMixin)()){id;[q(225)];[q(218)];[q(227)];[q(228)];[q(232)];[q(239)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(225)]=e[i(225)]||null,this[i(218)]=e[i(218)]||[],this[i(227)]=e[i(227)]||null,this[i(228)]=e[i(228)]||0,this[i(232)]=e[i(232)]||0,this[i(229)](i(231),e[i(231)]||""),this[i(229)](i(216),e[i(216)]||new Date),this[i(229)](i(234),e[i(234)]||{})}[q(237)](t){this[q(213)]({name:t})}[q(235)](t,e){const i=q,s=R(this[i(234)]);U(s,t,e),this[i(213)]({attributes:s})}[q(214)](t){const e=q,i=R(this[e(234)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return $(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(213)]({attributes:i})}[q(213)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(231),i(216),i(227),i(218),i(234),i(228),i(232),i(238)];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(218)]&&(n[i(221)]=n[i(218)][i(215)](t=>t.id),delete n[i(218)]),this[i(240)](i(213),n,e))}[q(222)](){const t=q;return{id:this.id,name:this[t(231)],creatorId:this[t(225)]?this[t(225)].id:null,authorsIds:this[t(218)][t(215)](t=>t.id),diffData:this[t(227)],createdAt:this[t(216)],attributes:this[t(234)],fromVersion:this[t(232)],toVersion:this[t(228)]}}}function J(t,e){const i=Y();return(J=function(t,e){return i[t-=213]})(t,e)}function Y(){const t=["3060240FwtQuU","authorsIds","toJSON","3395480mblmnC","439642roVwqZ","creator","9CppsMa","diffData","toVersion","set","10060470ZgBUlV","name","fromVersion","9874448FUpyMu","attributes","setAttribute","24DIvjKD","setName","creatorId","model","fire","_update","removeAttribute","map","createdAt","1574065BtbVQe","authors","1407000lbcHyM"];return(Y=function(){return t})()}var G=i(782),Q=i(211),X=i(783);const K=et;function tt(){const t=["655160NGVFJe","createRevision","get","fromCharCode","isNaN","5986670wcabNp","_revisions","getRevision","fromVersion","add","editor","addRevision","toJSON","newRevisionId","12vwvYLo","37040uhKaFQ","pluginName","oldRevisionId","diffData","12smTePK","1939vhNXhq","earlier","join","910017nldBvm","getUser","attributes","authorsIds","getEarlierVisibleRevision","isOfficialPlugin","from","getRevisionsInDiff","839820SmDVAG","createdAt","push","getLaterVisibleRevision","data","creatorId","705915yIVlGb","getRevisions","afterInit","getIndex","reverse","requires","Users","name","href","toVersion","plugins","RevisionsRepository","12648UOBQLk","isPremiumPlugin","map","getRevisionsIterator","length","later"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(792283===parseInt(e(176))/1*(-parseInt(e(175))/2)+parseInt(e(184))/3+parseInt(e(192))/4+parseInt(e(161))/5*(parseInt(e(180))/6)+-parseInt(e(181))/7*(parseInt(e(155))/8)+parseInt(e(198))/9+parseInt(e(166))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[K(167)];static get[K(203)](){return[Q.Users]}static get[K(177)](){return K(154)}static get[K(189)](){return!0}static get[K(156)](){return!0}get[K(159)](){const t=K;return this[t(167)][t(159)]}constructor(e){const i=K;super(e),this[i(167)]=new t.Collection}[K(200)](){!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(157)](t=>String[e(164)](t))[e(183)]("")}!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:1768348800;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(206)]);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(165)](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)}[K(162)](t){const e=K,i=this[e(171)][e(153)][e(163)](e(204));return new B({id:t.id,name:t[e(205)],creator:t[e(197)]?i[e(185)](t[e(197)]):null,diffData:t[e(179)]||t[e(196)],authors:t[e(187)][e(157)](t=>i[e(185)](t)),createdAt:new Date(t[e(193)]),attributes:t[e(186)],fromVersion:t[e(169)],toVersion:t[e(152)]})}[K(172)](t,e=0){const i=K;this[i(167)][i(170)](t,e)}[K(168)](t){const e=K;return this[e(167)][e(163)](t)}[K(199)](t={toJSON:!1}){const e=K,i=Array[e(190)](this[e(167)]);return i[e(202)](),t[e(173)]?i[e(157)](t=>t[e(173)]()):i}[K(201)](t){const e=K;return this[e(167)][e(201)](t)}[K(188)](t){const e=K,[,i]=this[e(158)](t,{direction:e(182)});return i}[K(195)](t){const e=K,[,i]=this[e(158)](t,{direction:e(160)});return i}[K(191)](t){const e=K,i=[];for(const s of this[e(158)](t[e(174)]))if(i[e(194)](s),s.id===t[e(178)])break;return i}*[K(158)](t,{direction:e=K(182),filter:i=()=>!0}={}){const s=K,n=s(182)===e?1:-1;let r=this[s(167)][s(163)](t),o=this[s(201)](r);for(yield r;r;){if(o+=n,r=this[s(168)](o),!r)return;i(r)&&(yield r)}}}function st(t,e){const i=rt();return(st=function(t,e){return i[t-=435]})(t,e)}const nt=st;function rt(){const t=["fillerOffset","pluginName","createElement","_viewClassToTypeChar","default","attributes","view","insertions","string","map","constructor","diffData","revision-end","filter","get","_getViewFromDiffObj","_removeRevisionMarkers","startsWith","viewChildrenToDom","forEach","render","459819GLJMYm","_appendChild","18428030UJbDjb","customProperties","122376YGWiFX","getRevision","toData","children","div","editing","innerHTML","domDocument","loadRevisionData","domChildrenToView","_setCustomProperty","collaboration.channelId","RevisionHistoryUtils","htmlProcessor","editor","length","getRevisionDocumentData","_getTypeCharForViewElement","from","4TwDfWd","data","_typeCharToViewClass","revision-start","marked","config","60403CQbBdc","isAttached","data-revision-","isPremiumPlugin","5294350kSNwOr","getFillerOffset","childNodes","toModel","784JQpHWF","attachChange","_makeModelFromViewString","4303917WVxQYx","document","domConverter","6275StXlqL","isOfficialPlugin","processor","getRevisionRootsAttributes","parse","useFillerType","append","type","56LDQPwb","name","attributesAfter"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(725081===parseInt(e(463))/1*(parseInt(e(471))/2)+-parseInt(e(495))/3*(-parseInt(e(443))/4)+-parseInt(e(453))/5+-parseInt(e(499))/6+parseInt(e(449))/7*(-parseInt(e(457))/8)+parseInt(e(460))/9+parseInt(e(497))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(475)](){return nt(436)}static get[nt(464)](){return!0}static get[nt(452)](){return!0}[nt(477)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(445)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(507)](t,e){const i=nt;if(t[i(485)]||!e)return;const s=this[i(438)][i(448)][i(488)](i(435)),n=await e[i(500)]({channelId:s,revisionId:t.id});t[i(485)]=n[i(485)]}[nt(440)](t){const e=nt,i={};for(const s in t[e(485)]){if(t[e(485)][s][e(458)]&&!t[e(485)][s][e(458)][e(450)])continue;const n=this[e(490)](JSON[e(467)](t[e(485)][s][e(481)])),r=this[e(438)][e(504)][e(480)][e(461)],o=new X.ViewDocumentFragment(r,n[e(483)](t=>this[e(489)](t,!1)));this[e(438)][e(444)][e(465)][e(468)](e(447)),i[s]=this[e(438)][e(444)][e(465)][e(501)](o),this[e(438)][e(444)][e(465)][e(468)](e(478))}return i}[nt(466)](t){const e=nt,i={};for(const s in t[e(485)])t[e(485)][s][e(458)]&&!t[e(485)][s][e(458)][e(450)]||(i[s]=t[e(485)][s][e(473)]||{});return i}[nt(441)](t){const e=nt;return this[e(477)][e(488)](t[e(484)])}[nt(489)](t,e){const i=nt,s=this[i(438)][i(504)][i(480)][i(461)];if(i(482)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(470)]||"r"==t[i(470)]?[]:t[i(502)][i(483)](t=>this[i(489)](t,e));const o=this[i(445)][i(488)](t[i(470)])||X.ViewElement,a=this[i(438)][i(444)][i(437)][i(462)];if(n=new o(s,t[i(472)],t[i(479)],r),"u"==t[i(470)]&&t[i(502)][0]){const r=t[i(502)][0];if(n[i(494)]=function(t){const e=i,s=t[e(476)](e(503));return s[e(505)]=r,s[e(455)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(496)](n);const e=Array[i(442)](a[i(492)](t,{bind:!1})),r=a[i(506)][i(476)](i(503));r[i(469)](...e),n=Array[i(442)](a[i(508)](r))[0]}}else if("r"==t[i(470)]&&t[i(502)][0]){const r=t[i(502)][0];if(n[i(494)]=function(t){t[i(505)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(496)](n);const e=Array[i(442)](a[i(492)](t,{bind:!1})),r=a[i(506)][i(476)](i(503));r[i(469)](...e);const o=Array[i(442)](a[i(508)](r));o[i(439)]>1?n[i(496)](o):n=o[0]}}if(t[i(498)])for(const[e,s]of t[i(498)])n[i(509)](e,s);const c=void 0===t[i(474)]?null:t[i(474)];return null!==c&&(n[i(454)]=()=>c),n}}[nt(459)](t){const e=nt,i=JSON[e(467)](t),s=this[e(438)][e(504)][e(480)][e(461)],n=new X.ViewDocumentFragment(s,i[e(483)](t=>this[e(489)](t,!0)));return this[e(438)][e(444)][e(456)](n)}[nt(490)](t){const e=nt;return(t=t[e(487)](t=>!t[e(472)]||e(446)!==t[e(472)]&&e(486)!==t[e(472)]))[e(493)](t=>{const i=e;i(482)!=typeof t&&(t[i(502)]=this[i(490)](t[i(502)]),t[i(479)]=t[i(479)][i(487)](t=>!t[0][i(491)](i(451))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,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=kt;function mt(){const t=["getWalker","getTransformedByOperation","fillerOffset","destroy","sort","rootsAttributes","clone","element","getRevisionRootsAttributes","revisionHistoryLicenseKeyEvaluationLimit","baseVersion","source","move","_reset","find","$graveyard","isAdd","range","editor-initial-data-replaced-with-revision-data","add","vid_start","startsWith","affectsData","_setAttribute","_getPreviousFrom","_getViewJson","_makeRevision","_createInitialRevision","ready","end","_baseIdsRoots","includes","_markChanges","stickiness","dataDowncast","Empty document","init","_applyOperations","finally","creatorId","createRangeIn","_setConversion","attributesBefore","addRevision","name","_handleOperation","deletion","plugins","_createCurrentRevision","revisionHistoryLicenseKeyNotAllowed","394MOVrlh","PendingActions","_showLicenseError","810XkaYnw","isAttached","_startingVersion","hasContent","start","keepParagraph","get","getTime","define","addRoot","getIndex","detachRoot","revisionHistoryLicenseKeyValid","toView","_loadState","7780UXsDMH","sendBufferedUpdates","paragraph","upcast","addRootAttribute","conversion","resolve","stringify","delete","markers","_touchedMarkers","_source","_handleMoveOperation","documentFragment","RealTimeCollaborationClient","getAttribute","_prepareViewToSave","userId","isEnabled","revisionHistory.resumeUnsavedRevision","$text","getRootNames","_handleRootOperation","from","createPositionAt","merge","filter","update","shift","createPositionBefore","previousPosition","setSource","loadState","1074704IWCtQI","getRange","length","_continueCurrentRevision","text","_appendChild","_revisionId","getChild","isEqual","data","newRange","_fixRange","createdAt","NEGATIVE_INFINITY","getNodeByPath","_processRootBeforeSave","_copyMarkers","revision","_isAttached","slice","split","nodes","map","domConverter","position","3690701ldJGTA","getRevision","editor","_licenseKeyCheckInterval","_operations","root","_getFromVersion","getFillerOffset","getChildren","push","createRange","fromEntries","attributesAfter","afterInit","_isPendingUpdate","_utils","revisionHistoryLicenseKeyDomainLimit","insert","getCurrentRevisionId","_savedMetaData","_addPendingAction","max","setRevisionData","Users","expired","insertionPosition","79048drgNje","licenseKey","locale","offsetSize","vid","string","11FayPKP","has","getOperations","sourcePosition","PENDING_ACTION_REVISION_HISTORY","uiElement","elementStart","_handleMarkerOperation","createPositionFromPath","item","_createFromRanges","evaluationLimit","domainLimit","isReady","set","buildRevisionData","splitPosition","createRevision","deletions","reInit","remove","changeRootAttribute","_markers","values","getCustomProperties","getUser","_calculateMetaData","22226170bKXmPq","_makeIdsRoot","then","_replaceEditorDataWithRevisionData","vid_end","revision:","Initial revision","targetPosition","bind","usageLimit","_handleRootAttributeOperation","some","RevisionTracker","revisionHistoryLicenseKeyInvalid","getRoot","_getTypeCharForViewElement","graveyardPosition","reinsert","history","_baseRoots","adapter","getData","_fixPosition","roots","markerToData","_loadedStateData","dataToMarker","childCount","key","currentRevision","initialData","_removePendingAction","getMovedRangeStart","_clone","invalid","repository","addRevisionData","insertions","clear","version","diffData","innerHTML","marker","$comment","_diffRootsAttributes","render","fromVersion","_startingRevisionId","parent","getRevisionDocumentData","toVersion","document","_handleSplitOperation","_initialRevisionId","loadRevisionData","for","creator","outerHTML","children","createElement","oldRange","insertion","howMany","tableCell","_saveMetaData","collaboration.channelId","trim","_update","getAncestors","180ajOkAZ","_cloneOperation","_bufferedUpdates","_transformMarkers","updateRevisions","_bufferUpdate","RevisionsRepository","revisionHistoryLicenseKeyUsageLimit","_getVidAttributeName","newValue","rootName","isPremiumPlugin","model","customProperties","authors","_makeModelFromViewString","_lastFrom","initial","_touched","_getBaseVids","attachChange","keys","7584OKCOcF","_diffRoots","getLatestVersion","rawElement","getAttributes","offset","5051274sxjSbr","_handleInsertOperation","_execute","removeRootAttribute","authorsIds","featureNotAllowed","path","_findInsertionIndex","getRevisions","elementEnd","_touchedRoots","_getState","nodeAfter","type","_removeMetaData","isOfficialPlugin","config","_lastTo","_authorId","requires","saveRevision","_revisionDataBuilder","_idsRoots","_handleMergeOperation","RevisionHistory","pluginName","_baseRootsAttributes","domDocument","RevisionHistoryUtils","htmlProcessor","revisionHistoryLicenseKeyExpired","reverse","size","createPositionAfter","getOperation","_fixOperation","_insertChild","_isInit","_generateTape","_pendingAction"];return(mt=function(){return t})()}!function(t){const e=kt,i=t();for(;;)try{if(542463===parseInt(e(419))/1+parseInt(e(368))/2*(-parseInt(e(272))/3)+-parseInt(e(250))/4*(parseInt(e(386))/5)+parseInt(e(278))/6+parseInt(e(122))/7+parseInt(e(148))/8*(parseInt(e(371))/9)+parseInt(e(181))/10*(-parseInt(e(154))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(149)];[ft(125)];[ft(210)]=null;[ft(216)];[ft(201)]=null;[ft(299)];[ft(397)];[ft(234)];[ft(252)];[ft(137)];[ft(317)];[ft(422)];[ft(373)];[ft(206)];static get[ft(303)](){return ft(193)}static get[ft(293)](){return!0}static get[ft(261)](){return!0}static get[ft(297)](){return[Q.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(216)]=this[i(124)][i(365)][i(377)](i(256)),this[i(137)]=this[i(124)][i(365)][i(377)](i(306)),this[i(299)]=new vt(this[i(124)]),this[i(234)]=this[i(124)][i(294)][i(377)](i(246))||i(267),this[i(252)]=new Map,this[i(206)]=null;const s=(0,t.uid)();this[i(397)]={history:this[i(124)][i(262)][i(232)][i(199)],getLatestVersion:()=>Promise[i(392)](this[i(124)][i(262)][i(232)][i(220)]),getCurrentRevisionId:()=>s},this[i(168)](i(167),!1),this[i(168)](i(404),!0),this[i(168)](i(136),!1),this[i(124)][i(294)][i(379)](i(405),!0),this[i(124)][i(391)][i(236)](i(389))[i(207)]({view:i(436)})}[ft(354)](){const t=ft;this[t(359)](),this[t(124)][t(428)].on(t(346),()=>{const e=t,i=this[e(216)][e(123)](0),s=i&&null===i[e(237)]?i:null;if(this[e(422)]=!!s&&this[e(124)][e(294)][e(377)](e(405)),this[e(124)][e(365)][e(155)](e(400))){const t=this[e(397)][e(140)](),n=this[e(216)][e(123)](t);if(n)this[e(373)]=n[e(227)],this[e(422)]=!1;else{const t=this[e(397)][e(199)][e(126)][e(332)](t=>!t[e(315)]),n=t?t[e(328)]:this[e(397)][e(199)][e(220)];i?(i[e(231)]<n&&i[e(248)]({toVersion:n}),this[e(422)]?(this[e(397)][e(140)]=()=>s.id,this[e(373)]=s[e(227)]):(this[e(373)]=i[e(231)],this[e(422)]=!1)):(this[e(373)]=n,this[e(422)]=!1)}}else s&&(this[e(124)][e(262)][e(232)][e(199)][e(220)]=Math[e(143)](s[e(231)],this[e(124)][e(262)][e(232)][e(199)][e(220)]),s[e(227)]===s[e(231)]?(0!==s[e(227)]&&(this[e(397)][e(140)]=()=>s.id),this[e(422)]=!1):this[e(422)]&&(this[e(397)][e(140)]=()=>s.id,this[e(373)]=s[e(227)])),this[e(422)]||(this[e(373)]=this[e(124)][e(262)][e(232)][e(220)]);this[e(299)][e(354)](this[e(397)][e(199)]),this[e(345)](this[e(373)]),this[e(366)](this[e(373)]),this[e(201)]&&this[e(387)]()}),this[t(189)](t(167)).to(this,t(136),t=>!t),this[t(149)]=this[t(124)][t(294)][t(377)](t(149));const e=this[t(124)];this[t(125)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(383)==r||i(194)==r||i(308)==r||i(138)==r||i(367)==r||i(327)==r||i(257)==r){delete e[n],s=r,clearInterval(this[i(125)]),this[i(125)]=void 0;break}}i(194)==s&&e[i(370)](i(215)),i(308)==s&&e[i(370)](i(146)),i(138)==s&&e[i(370)](i(166)),i(367)==s&&e[i(370)](i(283),i(302)),i(327)==s&&e[i(370)](i(165)),i(257)==s&&e[i(370)](i(190))},1e3)}async[ft(135)](){const t=ft;if(this[t(216)][t(421)]>0){const e=this[t(216)][t(123)](0),i=await this[t(230)](e),s=await this[t(326)](e);this[t(184)](i,s)}}[ft(321)](){const t=ft;super[t(321)](),this[t(125)]&&clearInterval(this[t(125)])}[ft(417)](t){this[ft(397)]=t}async[ft(413)](){const t=ft,e=await this[t(397)][t(274)]();if(e>this[t(210)][t(231)]){await this[t(385)]();const i=this[t(169)]({revision:this[t(210)],to:e});i[t(264)]=i[t(282)][t(119)](e=>this[t(124)][t(365)][t(377)](t(145))[t(179)](e)),this[t(210)][t(248)](i)}}async[ft(298)](e={},i=null){const s=ft,n=[];await this[s(385)](),this[s(422)]=!1,i>this[s(210)][s(231)]&&(i=null),null===i&&(i=await this[s(397)][s(274)]());const r=this[s(128)](i),o=this[s(169)]({from:r,to:i});if(this[s(210)][s(231)]<i){const t=this[s(169)]({revision:this[s(210)],from:i,to:i});t[s(264)]=[],t[s(282)]=[],t.id=this[s(210)].id,this[s(210)][s(248)](t,!0),delete t[s(264)],n[s(131)](t)}e[s(357)]=this[s(124)][s(365)][s(377)](s(145)).me.id,e[s(362)]=e[s(362)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(217)](e);n[s(131)](e);const c=this[s(216)][s(381)](a);if(0!==c){const t=this[s(216)][s(123)](c-1);if(t[s(227)]!==i){const r=this[s(299)][s(202)](i,t[s(231)]),o={id:t.id,diffData:r[s(221)],authorsIds:r[s(282)],authors:r[s(282)][s(119)](t=>this[s(124)][s(365)][s(377)](s(145))[s(179)](t)),fromVersion:i};t===this[s(210)]&&(o[s(431)]=new Date(e[s(431)][s(378)]()+10)),t[s(248)](o,!0),delete o[s(264)],n[s(131)](o)}}if(this[s(201)]){for(const t of n)this[s(255)](t.id,t,!0);this[s(387)]()}return a}[ft(217)](t){const e=ft,i=this[e(216)][e(171)](t);return this[e(201)]&&i.on(e(248),(t,i,s)=>{const n=e;s||(this[n(255)](i.id,i,!0),this[n(387)]())}),this[e(216)][e(361)](i,this[e(285)](i)),i}async[ft(230)](t){const e=ft;return await this[e(137)][e(235)](t,this[e(201)]),this[e(137)][e(230)](t)}async[ft(326)](t){const e=ft;return await this[e(137)][e(235)](t,this[e(201)]),this[e(137)][e(326)](t)}[ft(387)](){const t=ft;if(0===this[t(252)][t(310)])return;if(this[t(136)])return;let e=Array[t(409)](this[t(252)][t(177)]());this[t(252)][t(219)]();for(let i=0;i<e[t(421)];i++){const s=e[i];let n=!1;for(const e of Object[t(271)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(412)](t=>null!==t),!e[t(421)])return;for(let i=0;i<e[t(421)];i++){const s=e[i];void 0!==s[t(227)]&&void 0===s[t(231)]&&(s[t(231)]=this[t(216)][t(123)](s.id)[t(231)]),void 0!==s[t(231)]&&void 0===s[t(227)]&&(s[t(227)]=this[t(216)][t(123)](s.id)[t(227)])}const i=this[t(124)][t(294)][t(377)](t(246));this[t(136)]=!0,this[t(142)](),this[t(201)][t(254)](e,i)[t(356)](()=>{this[t(136)]=!1})[t(183)](e=>{const i=t;if(e)for(const t of e)this[i(144)]({id:t.id,createdAt:t[i(431)]});this[i(212)](),this[i(387)]()})}[ft(169)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(227)],i=null!==i?i:t[s(231)];const n=this[s(299)][s(202)](e,i),r={diffData:n[s(221)],authorsIds:n[s(282)],fromVersion:e,toVersion:i};if(!t||i!==t[s(231)]){const t=i-1,e=this[s(397)][s(199)][s(312)](t);r[s(431)]=e&&e[s(431)]||new Date}if(this[s(206)]&&e===this[s(206)][s(227)])for(const t of this[s(206)][s(264)])r[s(282)][s(349)](t.id)||r[s(282)][s(131)](t.id);return r}[ft(255)](t,e,i){const s=ft;if(this[s(252)][s(155)](t)){const n=this[s(252)][s(377)](t);e=i?{...n,...e}:{...e,...n}}this[s(252)][s(168)](t,e)}[ft(144)](t){const e=ft,i=this[e(216)][e(123)](t.id);if(t[e(431)]&&(t[e(431)]=new Date(t[e(431)])),t[e(282)]){const i=this[e(124)][e(365)][e(377)](e(145));t[e(264)]=t[e(282)][e(119)](t=>i[e(179)](t))}i[e(248)](t,!0)}[ft(345)](t){const e=ft,i=this[e(216)][e(123)](this[e(216)][e(421)]-1);if(i)this[e(234)]=i.id;else{const i=!this[e(124)][e(262)][e(232)][e(204)][e(332)](t=>this[e(124)][e(262)][e(374)](t)),s=this[e(124)][e(365)][e(377)](e(145)).me.id,n=at(this[e(124)][e(150)],e(i?353:187));this[e(344)]({from:t,to:t,id:this[e(234)],name:n,creatorId:s})}}[ft(366)](t){const e=ft,i=this[e(397)][e(140)]();this[e(210)]=this[e(216)][e(123)](i),this[e(210)]||(this[e(210)]=this[e(344)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(385)](){const t=ft;this[t(422)]&&!this[t(206)]&&(await this[t(137)][t(235)](this[t(210)],this[t(201)]),this[t(299)][t(418)](this[t(210)]),this[t(206)]={fromVersion:this[t(210)][t(227)],authors:this[t(210)][t(264)][t(116)]()})}[ft(184)](e,i){const s=ft;let n=this[s(124)][s(294)][s(377)](s(211)),r=this[s(124)][s(294)][s(377)](s(323));if(void 0===n){n={};for(const t of this[s(124)][s(262)][s(232)][s(407)]())n[t]=""}if(s(153)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(124)][s(262)][s(232)][s(407)]())r[t]={}}let o=!1;const a=Object[s(271)](n),c=Object[s(271)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(247)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(271)](r[t])[s(421)]>0){o=!0;break}}o||(o=c[s(192)](t=>!this[s(124)][s(262)][s(232)][s(195)](t))),o&&(0,t.logWarning)(s(336),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(124)][s(294)][s(168)](s(211),e),this[s(124)][s(294)][s(168)](s(323),i)}[ft(142)](){const t=ft;if(!this[t(317)]){const e=this[t(124)][t(365)][t(377)](t(369));this[t(317)]=e[t(337)](at(this[t(124)][t(150)],t(158)))}}[ft(212)](){const t=ft;this[t(317)]&&(this[t(124)][t(365)][t(377)](t(369))[t(174)](this[t(317)]),this[t(317)]=null)}[ft(285)](t){const e=ft,i=this[e(216)][e(286)]();i[e(309)]();let s=0;for(;s<i[e(421)];){const n=i[s];if(n===this[e(210)]){s++;continue}if(n.id===this[e(234)])break;const r=t[e(231)]-n[e(231)]||t[e(227)]-n[e(227)];if(r>0)break;if(r<0)s++;else{if(!t[e(237)]&&n[e(237)])break;if(n[e(237)]||!t[e(237)]){if(t[e(431)]>n[e(431)])break;s++}else s++}}return s}[ft(128)](t){const e=ft,i=this[e(216)][e(286)]();i[e(309)](),i[e(414)]();const s=i[e(332)](i=>i[e(231)]<=t)[e(231)];return s<this[e(373)]?this[e(373)]:s}[ft(344)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(169)]({from:e,to:i});o[r(362)]=t,o[r(357)]=s,o.id=n;const a=this[r(217)](o);return this[r(201)]&&this[r(255)](o.id,o,!0),a}[ft(359)](){const t=ft;this[t(124)][t(391)][t(236)](t(352))[t(205)]({model:t(436)})}}class vt{[ft(124)];[ft(329)];[ft(141)];[ft(266)];[ft(295)];[ft(176)];[ft(273)];[ft(225)];[ft(200)];[ft(304)];[ft(300)];[ft(348)];[ft(268)];[ft(396)];[ft(288)];[ft(425)];[ft(228)];constructor(t){const e=ft;this[e(124)]=t,this[e(141)]=new Map,this[e(266)]=-1,this[e(295)]=-1,this[e(176)]=new Map,this[e(273)]=new Map,this[e(225)]=new Map,this[e(200)]=new Map,this[e(304)]=new Map,this[e(300)]=new Map,this[e(348)]=new Map,this[e(268)]=new Map,this[e(396)]=new Map,this[e(288)]=new Map,this[e(425)]=1}[ft(354)](t){const e=ft;this[e(329)]=t;const i=new Map,s=new Map,n=this[e(124)][e(262)][e(232)][e(204)][e(119)](t=>t[e(260)]);for(const t of n){const n=this[e(124)][e(262)][e(232)][e(195)](t),r=gt(n);i[e(168)](t,r),s[e(168)](t,Object[e(133)](n[e(276)]()))}const r=Array[e(409)](this[e(124)][e(262)][e(395)])[e(119)](t=>[t[e(362)],t[e(420)]()]),o=this[e(329)][e(220)];this[e(245)](o,i,r,s),this[e(228)]=this[e(425)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(168)](t,i),c[e(168)](t,{})}this[e(245)](Number[e(432)],a,[],c)}[ft(202)](t,e){const i=ft;if(this[i(266)]===t&&this[i(295)]<=e)this[i(141)][i(310)]>1&&this[i(292)](this[i(295)]),this[i(355)](this[i(295)],e,!0);else{if(!this[i(141)][i(155)](t)){const e=this[i(342)](t);this[i(180)](e,t,!1)}this[i(180)](t,e,!0)}return this[i(266)]=t,this[i(295)]=e,this[i(289)]()}[ft(418)](t){const e=ft;if(!this[e(141)][e(155)](t[e(227)])){const i=this[e(342)](t[e(227)]);this[e(180)](i,t[e(227)],!1)}this[e(180)](t[e(227)],t[e(231)],!1);const i=this[e(124)][e(365)][e(377)](e(306));this[e(331)](),this[e(266)]=t[e(227)],this[e(295)]=t[e(231)];for(const s in t[e(221)]){const n=t[e(221)][s][e(270)],r=R(t[e(221)][s][e(360)])||{},o=i[e(265)](t[e(221)][s][e(172)]);o[e(260)]=s,o[e(437)]=!n||!n[e(372)],o[e(372)]=()=>o[e(437)],this[e(200)][e(168)](s,o),this[e(304)][e(168)](s,r),n&&this[e(288)][e(168)](s,n);const a=this[e(182)](o);this[e(348)][e(168)](s,a);for(const[t,i]of o[e(395)]){if(!t[e(339)](e(186)))continue;const s=t[e(117)](":")[2];for(const t of i[e(318)]({singleCharacters:!0})){const i=this[e(258)](t),n=e(287)==t[e(291)]?t[e(416)][e(284)][e(116)](0,-1):t[e(416)][e(284)],r=a[e(433)](n)[e(401)](i);this[e(268)][e(168)](r,{userId:s})}o[e(395)][e(394)](t)}}this[e(228)]=this[e(425)];const s=[...Array(this[e(425)])[e(271)]()][e(116)](1)[e(412)](t=>!this[e(268)][e(155)](t));let n=0;const r=new Map;for(const o in t[e(221)]){const a=t[e(221)][o][e(270)],c=R(t[e(221)][o][e(134)])||{},u=i[e(265)](t[e(221)][o][e(218)]);u[e(260)]=o,u[e(437)]=!a||a[e(372)],u[e(372)]=()=>u[e(437)],this[e(273)][e(168)](o,u),this[e(225)][e(168)](o,c);const l=this[e(182)](u,Number[e(432)]);this[e(300)][e(168)](o,l),r[e(168)](o,u[e(372)]()?c:{});for(const[t,i]of u[e(395)]){if(!t[e(339)](e(186)))continue;const s=t[e(117)](":")[2];for(const t of i[e(318)]({singleCharacters:!0})){const i=this[e(258)](t),n=this[e(425)]++,r=e(287)==t[e(291)]?t[e(416)][e(284)][e(116)](0,-1):t[e(416)][e(284)];l[e(433)](r)[e(341)](i,n),this[e(268)][e(168)](n,{userId:s})}u[e(395)][e(394)](t)}for(const t of this[e(124)][e(262)][e(358)](u)[e(318)]({singleCharacters:!0})){const i=this[e(258)](t),r=e(287)==t[e(291)]?t[e(416)][e(284)][e(116)](0,-1):t[e(416)][e(284)],o=l[e(433)](r);o[e(401)](i)>0||o[e(341)](i,s[n++])}for(const[t,i]of u[e(395)])t[e(339)](e(186))||this[e(176)][e(168)](t,i)}const{roots:o}=this[e(141)][e(377)](t[e(227)]),{roots:a}=this[e(141)][e(377)](t[e(231)]),c=gt(o[e(377)](e(333)));this[e(200)][e(168)](e(333),c),this[e(348)][e(168)](e(333),this[e(182)](c,Number[e(432)]));const u=gt(a[e(377)](e(333)));this[e(273)][e(168)](e(333),u),this[e(300)][e(168)](e(333),this[e(182)](u));const l=Array[e(409)](this[e(273)])[e(119)](([t,e])=>[t,gt(e)]);this[e(245)](this[e(295)],l,this[e(176)],r)}[ft(173)](){const t=ft;this[t(331)](),this[t(266)]=-1,this[t(295)]=-1,this[t(141)][t(219)](),this[t(354)](this[t(329)])}[ft(245)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(168)](t,{start:e[n(375)][n(324)](),end:e[n(347)][n(324)](),rootName:e[n(127)][n(260)]});this[n(141)][n(168)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(292)](t){const e=ft;this[e(141)][e(394)](t)}[ft(331)](){const t=ft;this[t(268)][t(219)](),this[t(396)][t(219)](),this[t(288)][t(219)](),this[t(273)][t(219)](),this[t(225)][t(219)](),this[t(200)][t(219)](),this[t(304)][t(219)](),this[t(300)][t(219)](),this[t(348)][t(219)](),this[t(176)][t(219)](),this[t(425)]=1,this[t(228)]=this[t(425)]}[ft(182)](t,e=null){const i=ft;let s=null;t.is(i(399))||(s=new X.ModelElement(t[i(362)],{vid_start:null===e?this[i(425)]++:e++}));const n=[];for(const s of t[i(130)]())if(s.is(i(325))){n[i(131)](this[i(182)](s,e));const t=n[n[i(421)]-1];null!==e&&(e=t.is(i(325),i(406))?t[i(401)](i(152))+1:t[i(401)](i(185))+1)}else for(let t=0;t<s[i(151)];t++)n[i(131)](new X.ModelElement(i(406),{vid:null===e?this[i(425)]++:e++}));if(t.is(i(399))){const e=yt(t[i(260)]);return e[i(314)](0,n),e}return s[i(341)](i(185),null===e?this[i(425)]++:e++),s[i(314)](0,n),s}[ft(180)](t,e,i){const s=ft;this[s(331)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(141)][s(377)](t);this[s(200)]=new Map(n),this[s(304)]=new Map(R(o));for(const[t,e]of this[s(200)])if(s(333)!==t&&(this[s(273)][s(168)](t,gt(e)),this[s(225)]=new Map(R(o)),i)){const i=this[s(425)];this[s(300)][s(168)](t,this[s(182)](e)),this[s(348)][s(168)](t,this[s(182)](e,i))}this[s(228)]=this[s(425)],this[s(273)][s(168)](s(333),gt(this[s(200)][s(377)](s(333)))),i&&this[s(300)][s(168)](s(333),this[s(182)](this[s(200)][s(377)](s(333))));for(const[t,e]of r){const i=this[s(200)][s(377)](e[s(260)]),n=this[s(273)][s(377)](e[s(260)]),r=new X.ModelRange(this[s(203)](e[s(375)],i),this[s(203)](e[s(347)],i)),o=this[s(430)](r,n);i[s(395)][s(168)](t,r),this[s(176)][s(168)](t,o)}this[s(355)](t,e,i)}[ft(355)](t,e,i){const s=ft;for(const n of this[s(329)][s(156)](t,e))this[s(363)](n,i);for(const t of this[s(273)][s(177)]())t[s(395)][s(219)]();for(const[t,e]of this[s(176)])this[s(273)][s(377)](e[s(127)][s(260)])[s(395)][s(168)](t,e[s(324)]());const n=new Map,r=new Map;for(const[t,e]of this[s(273)])n[s(168)](t,gt(e)),r[s(168)](t,this[s(225)][s(377)](t));this[s(245)](e,n,this[s(176)],r)}[ft(342)](t){const e=ft,i=Array[e(409)](this[e(141)][e(271)]());i[e(322)]((t,e)=>t-e),i[e(309)]();for(const e of i)if(e<t)return e;return Number[e(432)]}[ft(435)](t,e){const i=ft,s=Array[i(409)](e[i(395)])[i(119)](([e,s])=>[e,this[i(430)](s,t)]);t[i(395)]=new Map(s)}[ft(253)](t){const e=ft;for(const i of this[e(176)][e(177)]()){const s=i[e(319)](t),n=X.ModelRange[e(164)](s);i[e(375)]=n[e(375)],i[e(347)]=n[e(347)]}}[ft(363)](t,e){const i=ft;if(i(380)!=t[i(291)]&&i(382)!=t[i(291)]){if(i(139)==t[i(291)]){const s=t[i(121)][i(127)][i(260)];this[i(273)][i(155)](s)||(this[i(273)][i(168)](s,yt(s,!0)),this[i(225)][i(168)](s,{}),e&&this[i(300)][i(168)](s,yt(s,!0)))}else{if(i(390)==t[i(291)]||i(281)==t[i(291)]||i(175)==t[i(291)])return void this[i(191)](t);i(223)==t[i(291)]&&this[i(161)](t)}if(i(223)!==t[i(291)]){const e=this[i(251)](t,this[i(273)]);e[i(280)](),this[i(253)](e)}if(e)switch(t[i(291)]){case i(139):this[i(279)](t);break;case i(330):case i(174):case i(198):this[i(398)](t);break;case i(411):this[i(301)](t);break;case i(117):this[i(233)](t)}}else this[i(408)](t,e)}[ft(251)](t,e){const i=ft,s=t[i(324)]();return s[i(296)]=t[i(296)],this[i(313)](s,e),s}[ft(269)](t){const e=ft;return t[e(119)](t=>{const i=e,s=this[i(258)](t);return Number(t[i(163)][i(401)](s))})}[ft(316)](t,e){const i=ft;if(t.is(i(325),i(406)))e[i(131)]({item:t,type:i(423)});else{t.is(i(325))&&e[i(131)]({item:t,type:i(160)});for(const s of t[i(130)]())this[i(316)](s,e);t.is(i(325))&&e[i(131)]({item:t,type:i(287)})}return e}[ft(289)](){const t=ft,e=new Map(this[t(268)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(200)][t(271)](),...this[t(273)][t(271)]()]);a[t(394)](t(333));for(const e of a){const i=this[t(273)][t(377)](e)||yt(e,!1),s=this[t(200)][t(377)](e)||yt(e,!1);i[t(372)]()||s[t(372)]()?(n[t(218)][e]=gt(i),n[t(172)][e]=gt(s),this[t(435)](n[t(172)][e],s),this[t(435)](n[t(218)][e],i),r[t(218)][e]=this[t(316)](this[t(300)][t(377)](e),[]),r[t(172)][e]=this[t(316)](this[t(348)][t(377)](e)||yt(e,!1),[])):a[t(394)](e)}for(const n of a){const o=r[t(218)][n];for(const n of o){const r=this[t(258)](n),o=n[t(163)][t(401)](r);i[t(394)](o),o>=this[t(228)]&&s[t(168)](o,e[t(377)](o))}}for(const n of a){const a=r[t(218)][n],c=this[t(269)](r[t(172)][n]);let u=0;for(const n of a){const r=this[t(258)](n),a=n[t(163)][t(401)](r);if(!s[t(155)](a)&&!o[t(155)](a))if(i[t(155)](a))u++;else{if(a!=c[u]){const s=e[t(377)](a)||e[t(377)](c[u]);for(;a!=c[u];)i[t(155)](c[u])||(o[t(168)](c[u],s),e[t(168)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(218)][e];for(const e of n){const n=this[t(258)](e),r=e[t(163)][t(401)](n);if(o[t(155)](r)){const e=o[t(377)](r);i[t(155)](r)||i[t(168)](r,{...e}),s[t(168)](r,{...e})}}}for(const e of i[t(271)]())e>=this[t(228)]&&i[t(394)](e);const c=new Map;for(const e of a){let n=r[t(218)][e];for(const e of n)if(e[t(163)].is(t(325),t(244))){const i=this[t(258)](e),n=e[t(163)][t(401)](i);if(s[t(155)](n)){const i=e[t(163)][t(229)][t(229)][t(401)](t(338)),r=c[t(377)](i)||new Set;r[t(337)](s[t(377)](n)[t(403)]),c[t(168)](i,r)}}n=r[t(172)][e];for(const e of n)if(e[t(163)].is(t(325),t(244))){const s=this[t(258)](e),n=e[t(163)][t(401)](s);if(i[t(155)](n)){const s=e[t(163)][t(229)][t(229)][t(401)](t(338)),r=c[t(377)](s)||new Set;r[t(337)](i[t(377)](n)[t(403)]),c[t(168)](s,r)}}for(const e of c[t(271)]())(s[t(155)](e)||i[t(155)](e))&&c[t(394)](e)}for(const e of a){const n=r[t(218)][e];let o=null,a=null;for(const e of n){const n=this[t(258)](e),r=e[t(163)][t(401)](n),u=c[t(377)](r);u&&t(160)==e[t(291)]&&(o=Array[t(409)](u)[0],a=e[t(163)][t(401)](t(185))),o&&(i[t(168)](r,{userId:o}),s[t(168)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(172)][e],a=n[t(218)][e];for(const{userId:e}of this[t(396)][t(177)]())null!==e&&l[t(337)](e);for(const{userId:e}of this[t(288)][t(177)]())null!==e&&l[t(337)](e);this[t(350)](a,r[t(218)][e],s,t(242),l),this[t(350)](o,r[t(172)][e],i,t(364),l),u[e]={insertions:this[t(402)](a),deletions:this[t(402)](o),attachChange:this[t(288)][t(377)](e)||null,attributesBefore:R(this[t(304)][t(377)](e))||{},attributesAfter:R(this[t(225)][t(377)](e))}}return{diffData:u,authorsIds:Array[t(409)](l)}}[ft(434)](t){const e=ft;for(const[,i]of t[e(395)]){const t=i[e(375)][e(249)]()[e(412)](t=>e(244)==t[e(362)]);for(const i of t)1==i[e(208)]&&i[e(426)](0).is(e(325),e(388))&&i[e(426)](0)[e(341)](e(376),!0)}}[ft(402)](t){const e=ft;this[e(434)](t);const i=this[e(124)][e(428)][e(384)](t,{}),s=Array[e(409)](i[e(130)]())[e(119)](t=>this[e(343)](t));return JSON[e(393)](s)}[ft(343)](t){const e=ft;if(t.is(e(406)))return t[e(428)];{const i=this[e(124)][e(365)][e(377)](e(306)),s=t,n=this[e(124)][e(428)][e(307)][e(120)],r={type:i[e(196)](s),name:s[e(362)],attributes:Array[e(409)](s[e(276)]()),children:Array[e(409)](s[e(130)]())[e(119)](t=>this[e(343)](t))};if(t.is(e(159))&&e(224)!=t[e(362)]){const i=t[e(226)](n[e(305)],n);r[e(239)][e(131)](i[e(238)])}else if(t.is(e(275))){const i=n[e(305)][e(240)](s[e(362)]);t[e(226)](i,n),r[e(239)][e(131)](i[e(222)])}const o=Array[e(409)](s[e(178)]());o[e(421)]>0&&(r[e(263)]=o);const a=s[e(129)]();return null!==a&&(r[e(320)]=a),r}}[ft(350)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(124)][r(262)];for(let s=0;s<e[r(421)];s++){const n=this[r(258)](e[s]),c=e[s][r(163)][r(401)](n),h=i[r(377)](c),d=s==e[r(421)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(403)]!=o[r(403)])&&(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(403)],d=l(186)+s+":"+h+":"+c++,f=u[l(132)](i,a);t[l(395)][l(168)](d,f),null!==h&&n[l(337)](h)}}[ft(258)](t){const e=ft;switch(t[e(291)]){case e(160):return e(338);case e(287):return e(185);default:return e(152)}}[ft(313)](t,e){const i=ft;t[i(328)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(377)](n[i(127)][i(260)]);t[s]=this[i(203)](n,r)}if(n instanceof X.ModelRange){const r=e[i(377)](n[i(127)][i(260)]);t[s]=this[i(430)](n,r)}i(127)===s&&(t[i(127)]=e[i(377)](t[i(127)][i(260)]))}}[ft(430)](t,e){const i=ft;return this[i(124)][i(262)][i(132)](this[i(203)](t[i(375)],e),this[i(203)](t[i(347)],e))}[ft(203)](t,e){const i=ft;return this[i(124)][i(262)][i(162)](e,t[i(284)],t[i(351)])}[ft(279)](t){const e=ft,i=this[e(300)][e(377)](t[e(121)][e(127)][e(260)]),s=this[e(203)](t[e(121)],i),n=null===t[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,r=s[e(229)],o=this[e(425)],a=[];for(const i of t[e(118)])if(i.is(e(325)))a[e(131)](this[e(182)](i));else for(let t=0;t<i[e(151)];t++)a[e(131)](new X.ModelElement(e(406),{vid:this[e(425)]++}));const c=this[e(425)];for(let t=o;t<c;t++)this[e(268)][e(168)](t,{userId:n});r[e(314)](s[e(277)],a)}[ft(398)](t){const e=ft;(t=this[e(251)](t,this[e(300)]))[e(280)]();const i=null===t[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,s=t[e(213)](),n=s[e(229)],r=s[e(277)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(426)](e);r.is(a(325),a(406))?s[a(168)](r[a(401)](a(152)),{userId:i}):(s[a(168)](r[a(401)](a(338)),{userId:i}),t(s,r,0,r[a(208)]),s[a(168)](r[a(401)](a(185)),{userId:i}))}}(this[e(268)],n,r,r+t[e(243)])}[ft(301)](t){const e=ft,i=null===(t=this[e(251)](t,this[e(300)]))[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,s=t[e(188)][e(229)],n=t[e(157)][e(229)],r=s[e(401)](e(185)),o=n[e(401)](e(338));s[e(341)](e(185),n[e(401)](e(185))),n[e(341)](e(185),r),this[e(268)][e(168)](o,{userId:i}),this[e(268)][e(168)](r,{userId:i}),t[e(280)]()}[ft(233)](t){const e=ft,i=null===(t=this[e(251)](t,this[e(300)]))[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,s=t[e(197)],n=t[e(170)][e(229)];t[e(280)]();const r=n[e(401)](e(185)),o=t[e(147)][e(290)];if(s){const t=o[e(401)](e(185)),s=n[e(401)](e(185));n[e(341)](e(185),t),o[e(341)](e(185),s),this[e(268)][e(168)](n[e(401)](e(185)),{userId:i}),this[e(268)][e(168)](o[e(401)](e(338)),{userId:i})}else{const t=this[e(425)]++,s=this[e(425)]++;n[e(341)](e(185),t),o[e(341)](e(338),s),o[e(341)](e(185),r),this[e(268)][e(168)](t,{userId:i}),this[e(268)][e(168)](s,{userId:i})}}[ft(161)](t){const e=ft;if(!t[e(340)])return;const i=(t=this[e(251)](t,this[e(273)]))[e(241)]?t[e(241)][e(127)]:null,s=t[e(429)]?t[e(429)][e(127)]:null;i&&this[e(176)][e(394)](t[e(362)]),s&&this[e(176)][e(168)](t[e(362)],t[e(429)][e(324)]());const n=null===t[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,r=t[e(362)];if(!this[e(396)][e(155)](r))return void this[e(396)][e(168)](r,{range:t[e(241)],userId:n});const o=this[e(396)][e(377)](r),a=o[e(335)],c=t[e(429)];null==a&&null==c||a&&c&&a[e(427)](c)?this[e(396)][e(394)](t[e(362)]):o[e(403)]=n}[ft(408)](t,e){const i=ft;this[i(273)][i(155)](t[i(260)])?this[i(273)][i(377)](t[i(260)])[i(437)]=t[i(334)]:(this[i(273)][i(168)](t[i(260)],yt(t[i(260)],!0)),this[i(225)][i(168)](t[i(260)],{}),e&&this[i(300)][i(168)](t[i(260)],yt(t[i(260)],!0)));const s=null===t[i(296)]?null:t[i(296)]||this[i(124)][i(365)][i(377)](i(145)).me.id,n=this[i(288)][i(377)](t[i(260)]);n&&n[i(403)]===s?this[i(288)][i(394)](t[i(260)]):this[i(288)][i(168)](t[i(260)],{userId:s,isAttached:t[i(334)]})}[ft(191)](t){const e=ft,i=this[e(225)][e(377)](t[e(127)][e(260)]);null===t[e(259)]?delete i[t[e(209)]]:i[t[e(209)]]=t[e(259)]}}function gt(t){const e=ft,i=yt(t[e(260)],t[e(372)]());for(const s of t[e(130)]()){const t=s[e(214)](!0);i[e(424)](t)}return i}function yt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(260)]=t,s[i(437)]=e,s[i(372)]=()=>s[i(437)],s}function kt(t,e){const i=mt();return(kt=function(t,e){return i[t-=116]})(t,e)}function bt(t,e,i){const s=ft,n=s(287)==t[s(291)]?i[s(410)](t[s(163)],s(347)):i[s(415)](t[s(163)]);return i[s(162)](e,n[s(284)],n[s(351)])}function wt(t,e,i){const s=ft,n=s(160)==t[s(291)]?i[s(410)](t[s(163)],0):i[s(311)](t[s(163)]);return i[s(162)](e,n[s(284)],n[s(351)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=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=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=383]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(559236===-parseInt(e(408))/1+-parseInt(e(387))/2*(parseInt(e(413))/3)+-parseInt(e(384))/4+-parseInt(e(396))/5+parseInt(e(422))/6+-parseInt(e(393))/7*(-parseInt(e(409))/8)+parseInt(e(395))/9*(parseInt(e(423))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(407)];[Lt(390)];[Lt(403)];constructor(e,i){const s=Lt;super(e),this[s(407)]=new t.FocusTracker,this[s(390)]=new t.KeystrokeHandler,this[s(416)](s(391),""),this[s(403)]=this[s(385)](i),this[s(414)]({tag:s(421),attributes:{class:["ck",s(386),s(425)],tabindex:"-1"},children:[this[s(403)]]}),this[s(388)]()}[Lt(400)](){const t=Lt;super[t(400)](),(0,It.submitHandler)({view:this}),this[t(407)][t(383)](this[t(403)][t(404)]),this[t(390)][t(418)](this[t(404)]);const e=e=>e[t(420)]();this[t(390)][t(416)](t(405),e),this[t(390)][t(416)](t(398),e),this[t(390)][t(416)](t(410),e),this[t(390)][t(416)](t(406),e)}[Lt(389)](){const t=Lt;this[t(403)][t(389)]()}get[Lt(399)](){const t=Lt;return this[t(403)][t(424)][t(404)][t(417)][t(397)]()}set[Lt(399)](t){const e=Lt;this[e(403)][e(424)][e(404)][e(417)]=t[e(397)]()}[Lt(411)](){const t=Lt;this[t(403)][t(424)][t(404)][t(417)]="",this[t(403)][t(401)]=null}[Lt(385)](t){const e=Lt,i=new It.LabeledFieldView(this[e(419)],It.createLabeledInputText),s=i[e(424)];s[e(392)]({attributes:{maxlength:e(402)}});let n=at(this[e(419)],e(394));return!t&&(n+=" ("+at(this[e(419)],e(412))+")"),i[e(415)]=n,s.on(e(426),()=>{const t=e;this[t(391)]=s[t(404)][t(417)][t(397)]()}),i}}function Wt(){const t=["595742BSooci","Name of the revision","18033336ojVJoJ","3772825xVUqwt","trim","arrowleft","revisionName","render","errorText","220","revisionNameInputView","element","arrowright","arrowdown","focusTracker","219809IBefmq","32pWmIAZ","arrowup","reset","optional","3ZXLSrv","setTemplate","label","set","value","listenTo","locale","stopPropagation","form","1231230adZjfw","10CQDOuZ","fieldView","ck-responsive-form","input","add","3271584fleKEJ","_createRevisionNameInput","ck-revision-history-save-revision-form","395654OQQjhx","initializeCssTransitionDisablerMixin","focus","keystrokes","revisionNameInputValue","extendTemplate"];return(Wt=function(){return t})()}const Ut=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=447]})(t,e)}function Ht(){const t=["32UOAmkw","635165RjjwKf","showRevisionViewerCallback","revisionHistory.requireRevisionName","ck-button-action","RevisionHistoryUI","submit","Cancel","add","Open revision history","Save current revision","menuitem","focus","1516788KAVibf","plugins","get","pluginName","revisionHistory","errorText","Dialog","1408967GSJyjn","isPremiumPlugin","revisionName","Revision history","role","671759QLUKkY","view","bind","listenTo","addMany","hide","276234puwrPp","menu","The revision name cannot be empty.","2291532uElDOo","init","config","isReady","_createOpenRevisionButton","24lPFkwb","buttonView","render","isEnabled","3420000LGVtRF","menuBar:revisionHistory","Accept","componentFactory","310SIekeC","saveRevision","_createSaveRevisionButton","isOfficialPlugin","locale","editing","revisionSave","panelView","low","5zWUnbN","delegate","isReadOnly","requires","children","revisionNameInputView","_saveRevisionFormView","RevisionTracker","_registerMenuComponent","items","_createSaveRevisionFormView","_showDialog","isOpen","editor","set","reset","show","execute"];return(Ht=function(){return t})()}!function(t){const e=Zt,i=t();for(;;)try{if(575437===-parseInt(e(513))/1+parseInt(e(477))/2*(-parseInt(e(469))/3)+parseInt(e(451))/4*(parseInt(e(494))/5)+-parseInt(e(472))/6+parseInt(e(458))/7*(parseInt(e(512))/8)+-parseInt(e(481))/9+parseInt(e(485))/10*(parseInt(e(463))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends G.Plugin{static get[Ut(454)](){return Ut(517)}static get[Ut(488)](){return!0}static get[Ut(459)](){return!0}static get[Ut(497)](){return[pt]}[Ut(500)];[Ut(473)](){const t=Ut,e=this[t(507)],i=e[t(452)][t(453)](t(501));e.ui[t(484)][t(520)](t(455),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(492)][n(498)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(487)](It.ButtonView),l=new It.ListItemView(s),h=this[n(476)](It.ButtonView);return r[n(465)](n(480)).to(i,n(475),i,n(480),e,n(496),(t,e,i)=>t&&e&&!i),r[n(478)][n(508)]({icon:_t.IconHistory,label:at(s,n(461)),tooltip:!0}),u[n(508)]({withText:!0,role:n(449)}),h[n(508)]({withText:!0,role:n(449)}),this[n(466)](h,n(511),()=>{const t=n;r[t(506)]=!1,e[t(490)][t(464)][t(450)]()},{priority:n(493)}),c[n(498)][n(520)](u),l[n(498)][n(520)](h),a[n(462)]=n(470),a[n(503)][n(467)]([c,l]),o[n(520)](a),r}),e.ui[t(484)][t(520)](t(482),()=>this[t(502)]())}[Ut(502)](){const t=Ut,e=this[t(507)],i=e[t(489)],s=e[t(452)][t(453)](t(501)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(465)](t(480)).to(s,t(475),s,t(480),e,t(496),(t,e,i)=>t&&e&&!i),n[t(478)][t(508)]({icon:_t.IconHistory,label:at(i,t(461))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(487)](It.MenuBarMenuListItemButtonView);a[t(495)](t(511)).to(n),o[t(498)][t(520)](a),r[t(503)][t(520)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(476)](It.MenuBarMenuListItemButtonView);return u[t(495)](t(511)).to(n),c[t(498)][t(520)](u),r[t(503)][t(520)](c),n[t(492)][t(498)][t(520)](r),n}[Ut(487)](t){const e=Ut,i=this[e(507)],s=i[e(452)][e(453)](e(501)),n=new t(i[e(489)]);return n[e(508)]({label:at(i[e(489)],e(448))}),n[e(465)](e(480)).to(s,e(475),s,e(480),i,e(496),(t,e,i)=>t&&e&&!i),this[e(466)](n,e(511),()=>{this[e(505)]()}),n}[Ut(476)](t){const e=Ut,i=this[e(507)],s=i[e(452)][e(453)](e(501)),n=new t(i[e(489)]);return n[e(508)]({label:at(i[e(489)],e(447))}),n[e(465)](e(480)).to(s,e(475),i,e(496),(t,e)=>t&&!e),this[e(466)](n,e(511),()=>{const t=e;i[t(474)][t(453)](t(455))[t(514)]()}),n}[Ut(505)](){const t=Ut,e=this[t(507)],i=e[t(489)],s=e[t(452)][t(453)](t(457)),n=e[t(452)][t(453)](t(501));function r(n){const r=t;e[r(474)][r(453)](r(515))&&""===n[r(460)]?n[r(499)][r(456)]=at(i,r(471)):(e[r(452)][r(453)](pt)[r(486)]({name:n[r(460)]}),s[r(468)]())}this[t(500)]||(this[t(504)](),this[t(500)].on(t(518),()=>r(this[t(500)]))),this[t(500)][t(509)](),s[t(510)]({id:t(491),title:at(i,t(448)),isModal:!0,content:this[t(500)],actionButtons:[{label:at(e[t(489)],t(519)),withText:!0,onExecute:()=>s[t(468)]()},{label:at(e[t(489)],t(483)),class:t(516),withText:!0,onCreate(i){const s=t;i[s(465)](s(480)).to(n,s(475),n,s(480),e,s(496),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(500)])}]})}[Ut(504)](){const t=Ut,e=this[t(507)],i=e[t(489)];this[t(500)]=new zt(i,e[t(474)][t(453)](t(515))),this[t(500)][t(479)]()}}const qt=Jt;!function(t){const e=Jt,i=t();for(;;)try{if(385970===-parseInt(e(306))/1*(-parseInt(e(287))/2)+parseInt(e(302))/3*(-parseInt(e(293))/4)+-parseInt(e(283))/5*(parseInt(e(275))/6)+parseInt(e(303))/7+-parseInt(e(292))/8+-parseInt(e(281))/9+parseInt(e(291))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Bt extends It.View{[qt(304)];[qt(295)];constructor(t,e){const i=qt;super(t),this[i(295)]=e,this[i(304)]=e.id;const s=this[i(289)],n=at(t,e[i(305)][i(284)]?i(280):i(294)==e[i(288)]?i(290):i(301));this[i(285)](i(288),e[i(288)]),this[i(279)]({tag:i(282),attributes:{class:[i(276),i(278),s.to(i(288),t=>i(296)+t)],tabindex:-1},children:[{tag:i(297),children:[{tag:i(297),attributes:{class:[i(298)]},children:[{text:n}]},{text:" "+e[i(299)][i(286)]}]}]})}[qt(300)](){const t=qt;this[t(277)][t(300)]()}}function Jt(t,e){const i=Yt();return(Jt=function(t,e){return i[t-=275]})(t,e)}function Yt(){const t=["focus","Removed by","189qaqclr","316120YyHAnJ","changeId","data","86881fQBvHS","258438cThWyA","ck-annotation","element","ck-revision-change","setTemplate","Suggested by","5136147gGrhSz","div","50QYzbEl","isSuggestion","set","name","14nNzuBE","type","bindTemplate","Added by","19634150ylqWmx","3686576FUhElW","48796ytJees","add","_model","ck-revision-change__","span","ck-revision-change__label","author"];return(Yt=function(){return t})()}function Gt(){var t=["type","378162RsEeHS","data","createdAt","rootName","1356492IDGirh","toJSON","1068IkhQCk","3643423arNeZu","8146240oXlGFo","set","3415vBuxik","171882uYtyWf","11yebxcB","88EyJzck","529772IlgRzT","3DHcUQX","author"];return(Gt=function(){return t})()}function Qt(t,e){var i=Gt();return(Qt=function(t,e){return i[t-=244]})(t,e)}var Xt=Qt;!function(t){for(var e=Qt,i=t();;)try{if(263364===-parseInt(e(255))/1+parseInt(e(251))/2+parseInt(e(252))/3*(parseInt(e(259))/4)+-parseInt(e(247))/5*(-parseInt(e(261))/6)+parseInt(e(244))/7+-parseInt(e(250))/8*(-parseInt(e(248))/9)+-parseInt(e(245))/10*(parseInt(e(249))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Kt extends((0,t.ObservableMixin)()){id;[Xt(253)];[Xt(254)];[Xt(256)];[Xt(258)];constructor(e){var i=Xt;super(),this.id=e.id||(0,t.uid)(),this[i(253)]=e[i(253)],this[i(254)]=e[i(254)],this[i(256)]=e[i(256)]||{},this[i(258)]=e[i(258)],this[i(246)](i(257),e[i(257)])}[Xt(260)](){var t=Xt;return{id:this.id,authorId:this[t(253)].id,type:this[t(254)],data:this[t(256)],createdAt:this[t(257)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=454]})(t,e)}function ie(){const t=["oldRevisionId","78zCpNzq","3909598UtKXpV","522378BfAXWo","add","1107222VGweuo","16ykyszl","1416835mKFRqV","newRevisionId","61873XzIiOO","2429076LyHMpm","_setChanges","131210usTXTC","changes","5CQvHLv","10ThhuFJ","4cscYQg"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(191634===parseInt(e(465))/1*(parseInt(e(463))/2)+parseInt(e(456))/3+-parseInt(e(467))/4*(-parseInt(e(458))/5)+-parseInt(e(469))/6*(parseInt(e(460))/7)+parseInt(e(457))/8*(-parseInt(e(454))/9)+parseInt(e(466))/10*(-parseInt(e(470))/11)+-parseInt(e(461))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[te(459)];[te(468)];[te(464)];constructor(e,i){const s=te;this[s(459)]=e,this[s(468)]=i,this[s(464)]=new t.Collection}[te(462)](t){const e=te;for(const i of t)this[e(464)][e(455)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().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=de();return(ae=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(297172===parseInt(e(396))/1*(parseInt(e(553))/2)+parseInt(e(590))/3+parseInt(e(659))/4*(parseInt(e(679))/5)+-parseInt(e(420))/6*(-parseInt(e(709))/7)+-parseInt(e(449))/8+-parseInt(e(504))/9+parseInt(e(685))/10*(-parseInt(e(488))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);class ce extends G.Plugin{[oe(451)];[oe(468)]=null;[oe(557)];[oe(394)];[oe(434)];[oe(668)];[oe(695)];static get[oe(466)](){return oe(706)}static get[oe(441)](){return!0}static get[oe(690)](){return!0}static get[oe(672)](){return[Q.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(451)]=this[e(496)][e(392)][e(633)](e(612)),this[e(557)]=this[e(496)][e(392)][e(633)](e(421)),this[e(708)](e(648),null),this[e(708)](e(436),null),this[e(394)]=null,this[e(708)](e(541),null),this[e(708)](e(511),!1),this[e(708)](e(517),!0),this.on(e(505),(t,i,s)=>{const n=e;this[n(648)]=null,this[n(436)]=null,this[n(496)][n(445)][n(568)][n(675)](t=>{const e=n;for(const i of this[e(496)][e(445)][e(568)][e(667)][e(577)])s?t[e(526)](e(455),i):t[e(701)](e(455),i)})}),this[e(594)](e(418)).to(this,e(648),t=>null!==t),this[e(594)](e(572)).to(this,e(511),this,e(541),this,e(648),(t,i,s)=>t&&s?i[e(495)][e(600)](s):0),this[e(594)](e(533)).to(this,e(511),this,e(541),(t,i)=>t?i[e(495)][e(609)]:0),this[e(434)]=null,this[e(668)]=new Map,this[e(695)]=this[e(496)][e(392)][e(633)](It.ContextualBalloon)}[oe(384)](){const t=oe,e=this[t(496)],i=new he(e,{direction:t(689)}),s=new he(e,{direction:t(634)});e[t(528)][t(619)](t(622),i),e[t(528)][t(619)](t(424),s),e[t(528)][t(619)](t(440),new le(e)),this.on(t(678),()=>{const e=t;i[e(575)](),s[e(575)]()}),this[t(655)](),this[t(621)](),e[t(530)](t(442)),e[t(392)][t(642)](t(407))&&e[t(392)][t(633)](t(407))[t(565)](t(442))}async[oe(390)](t){const e=oe;return await this[e(557)][e(629)](t,this[e(468)]),this[e(557)][e(390)](t)}async[oe(479)](t){const e=oe;return await this[e(557)][e(629)](t,this[e(468)]),this[e(557)][e(479)](t)}async[oe(532)](t,e,i=!1){const s=oe;if(!this[s(517)])return;const n=this[s(541)],r=this[s(451)],o=s(482)==typeof t?r[s(573)](t):t,a=s(482)==typeof e?r[s(573)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(541)]&&this[s(541)][s(647)]===c&&this[s(541)][s(408)]===u)return Promise[s(660)]();this[s(511)]=!1,this[s(436)]=null,this[s(648)]=null,this[s(541)]=new se(c,u);const l=this[s(561)](o,a,!0)[s(523)](t=>this[s(557)][s(629)](t,this[s(468)]));return l[s(694)](new Promise(t=>{setTimeout(t,20)})),Promise[s(651)](l)[s(669)](()=>{const t=s;if(!this[t(517)])return;this[t(610)]();const e=this[t(676)](c,u);for(const i of e[t(495)])this[t(668)][t(708)](i.id,i);this[t(496)][t(444)][t(538)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(496)][s(444)][s(667)][s(524)]())i[s(447)](t);for(const t of Object[s(497)](e[s(444)])){const n=i[s(385)](t);for(const r of Object[s(497)](e[s(458)][t]))i[s(428)](r,e[s(458)][t][r],n);i[s(623)](e[s(444)][t],n,0)}}),this[t(541)][t(636)](this[t(578)](e[t(495)])),this[t(511)]=!0})[s(684)](t=>{const e=s;console[e(391)](t),this[e(610)](),n&&(this[e(541)]=n),this[e(511)]=!0})}[oe(411)](t,e){const i=oe,s=this[i(451)][i(598)](t);return s.on(i(386),(t,i,n)=>e(i,n,s)),this[i(451)][i(422)](s),s}[oe(610)](){const t=oe;this[t(648)]=null,this[t(652)](),this[t(434)]&&this[t(434)][t(433)](),this[t(434)]=null,this[t(668)][t(480)](),this[t(496)][t(444)][t(538)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(496)][i(444)][i(667)][i(524)]())e[i(447)](t)})}[oe(578)](t){const e=oe,i=[],s=new Map;for(const t of this[e(496)][e(444)][e(667)][e(524)]()){const n=this[e(496)][e(445)][e(568)][e(508)](t);if(!n)continue;const r=n[e(401)]()[e(704)](0);r&&(i[e(694)](t),s[e(708)](t,r))}return i[e(687)]((t,i)=>{const n=e,r=s[n(633)](t),o=s[n(633)](i);return r.y-o.y||r.x-o.x}),(t=t[e(521)](t=>i[e(414)](t[e(393)])))[e(687)]((t,s)=>i[e(397)](t[e(393)])-i[e(397)](s[e(393)])),t}[oe(475)](t){const e=oe,i=Array[e(551)](t[e(502)])[e(521)](([t,i])=>t[e(531)](e(703))&&!i[e(645)]),s=Array[e(551)](this[e(496)][e(444)][e(395)](t)[e(671)]({singleCharacters:!0}));if(0!=i[e(609)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(484)](":");if(n[e(649)][e(493)](t[e(481)])&&i[e(552)](),(t[e(583)][e(493)](n[e(562)])||t[e(583)][e(476)](n[e(562)]))&&(e(663)==r?t[e(640)]={userId:o}:e(400)==r&&(t[e(542)]={userId:o})),0==i[e(609)])break}return s}[oe(630)](t){const e=oe,i=new Map;for(let s=0;s<t[e(609)];s++)e(585)===t[s][e(461)]?(t[s][e(704)][e(705)]=s,t[s][e(704)][e(544)]=s):(e(631)===t[s][e(461)]?t[s][e(704)][e(705)]=s:e(464)===t[s][e(461)]&&(t[s][e(704)][e(544)]=s),i[e(708)](t[s].id,s));for(const s of i[e(448)]())e(631)===t[s][e(461)]?t[s][e(704)][e(544)]=i[e(633)](t[s][e(516)]):e(464)===t[s][e(461)]&&(t[s][e(704)][e(705)]=i[e(633)](t[s][e(516)]))}[oe(520)](t){const e=oe;for(let i=0;i<t[e(609)];i++){if(e(631)===t[i][e(461)])t[i][e(704)][e(705)]=i;else if(e(464)===t[i][e(461)]){t[i][e(704)][e(544)]=i;const s=t[i][e(704)][e(705)];t[s][e(516)]=t[i].id,t[i][e(516)]=t[s].id}else t[i][e(704)][e(705)]=i,t[i][e(704)][e(544)]=i,t[i][e(516)]=null;t[i][e(644)]||(t[i][e(644)]=[],t[i][e(499)]=[])}}[oe(606)](t,e){const i=oe,s=t[i(521)](t=>!t[i(640)]);for(let t=0;t<e[i(609)];t++)e[t][i(640)]&&(s[t][i(640)]=e[t][i(640)])}[oe(676)](t,e=null){const i=oe,s=this[i(451)][i(573)](t),n=e?this[i(451)][i(573)](e):null,r=this[i(561)](s,n),o=r[r[i(609)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(609)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(497)](e[i(545)]))if(e[i(545)][t][i(503)]){const s=e[i(545)][t][i(503)];s[i(512)]?(u[i(619)](t),l[i(642)](t)&&l[i(633)](t)[i(555)]==s[i(555)]?l[i(439)](t):l[i(708)](t,s)):l[i(642)](t)?(u[i(439)](t),l[i(439)](t)):(u[i(619)](t),l[i(708)](t,s))}else u[i(619)](t)}for(const t of u){const e=l[i(642)](t)&&!l[i(633)](t)[i(512)];let s=e?r[i(609)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(545)][t]){const s=e?o[i(545)][t][i(492)]:o[i(545)][t][i(403)];c[i(458)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(444)]={};for(const e of t[i(543)])a[i(708)](e.id,e);for(const e of u){const s=t[i(545)][e]?t[i(545)][e][i(462)]:"[]",n=t[i(545)][e]?t[i(545)][e][i(604)]:"[]";t[i(444)][e]={insertions:this[i(557)][i(657)](s),deletions:this[i(557)][i(657)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(551)](s[i(444)][t][i(462)][i(502)])[i(521)](([t])=>!t[i(531)](i(703))));let h=0;for(const o of r){const r=this[i(475)](o[i(444)][t][i(462)]);o==s?(e=r,n=e[i(609)],e[i(443)](t=>{t.id=h++}),this[i(520)](e)):this[i(606)](e,r);const a=e[i(521)](t=>!t[i(640)])[i(523)](t=>t.id);let c=0;const l=this[i(475)](o[i(444)][t][i(604)]);l[i(443)](t=>{t[i(542)]?t.id=n++:t.id=a[c++]}),this[i(520)](l),this[i(399)](e,i(640)),this[i(399)](l,i(542)),o==s&&this[i(432)](e,u),e=this[i(601)](e,l),this[i(630)](e),this[i(399)](e,i(542))}e=e[i(521)](t=>!(t[i(640)]&&t[i(542)]));const d=new Map(o[i(444)][t][i(604)][i(502)]),f=new Set(u[i(497)]());for(const t of d[i(497)]())f[i(439)](t);this[i(539)](e,f),this[i(527)](e),e=this[i(459)](e),e=this[i(580)](e),e=this[i(498)](e);const{root:m,changes:p}=this[i(549)](e,a,t);c[i(444)][t]=m;const v=l[i(633)](t);if(v){const e=a[i(633)](v[i(555)]),s=new Kt({author:e,type:v[i(512)]?i(619):i(501),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(510)](s),c[i(458)][t][i(463)]=s.id}c[i(495)]=c[i(495)][i(595)](p)}return c}[oe(432)](t,e){const i=oe;for(let s=0;s<t[i(609)];s++)for(const[n,r]of e)!r[i(645)]&&r[i(562)][i(493)](t[s][i(583)])&&t[s][i(644)][i(694)](n),r[i(649)][i(493)](t[s][i(481)])&&t[s][i(499)][i(694)](n)}[oe(601)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(609)]||r<e[i(609)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(694)](o);else if(a[i(542)]&&o[i(640)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(564)](t,n,e,r);s=s[i(595)](o),n=a,r=c}else a[i(542)]?(r++,s[i(694)](a)):(n++,s[i(694)](o))}return s}[oe(539)](t,e){const i=oe,s=[];for(let o=0;o<t[i(609)];o++){for(let r=0;r<t[o][i(644)][i(609)];r++){const a=t[o][i(644)][r];if(!e[i(642)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(537)!=c||i(663)!=u&&i(400)!=u||(s[i(510)]({type:u,name:a,userId:l}),t[o][i(644)][i(563)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(499)][i(609)];r++){const a=t[o][i(499)][r];if(!e[i(642)](a))continue;const{group:c,type:u}=n(a);if(i(537)!=c||i(663)!=u&&i(400)!=u)continue;t[o][i(499)][i(563)](r,1),r--;const l=s[i(603)](t=>t[i(404)]==a);l>-1&&s[i(563)](l,1)}}function n(t){const e=i,s=t[e(484)](":");return{group:s[0],type:s[1],subType:s[e(609)]>=5?s[2]:null,id:s[e(609)]<5?s[2]:s[3],authorId:s[e(609)]<5?s[3]:s[4],markerCount:6==s[e(609)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(609)];i++){if(t[e(640)]&&e(663)==s[i][e(461)]&&t[e(640)][e(555)]==s[i][e(555)])return t[e(513)]=s[i],void delete t[e(640)];if(!t[e(640)]&&!t[e(542)]&&e(400)==s[i][e(461)])return void(t[e(692)]=s[i])}}}[oe(399)](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(708)](o.id,s);for(let s=0;s<t[i(609)];s++){if(i(542)==e&&t[s][i(640)]||i(640)==e&&t[s][i(542)])continue;if(i(585)==t[s][i(461)]){t[s][i(494)]=0;continue}const n=r[i(633)](t[s][i(516)]),o=r[i(633)](t[s].id);t[s][i(494)]=n-o}}[oe(561)](t,e,i=!1){const s=oe,n=[];let r=this[s(451)][s(600)](t),o=this[s(451)][s(600)](e);for(-1==o&&(o=this[s(451)][s(487)][s(609)],i=!1);r<o;)n[s(694)](this[s(451)][s(573)](r)),r++;return i&&n[s(694)](this[s(451)][s(573)](r)),n}[oe(564)](t,e,i,s){const n=oe,r=this[n(496)][n(444)][n(410)];let o=e;for(;t[o]&&t[o][n(640)];)o++;let a=s;for(;i[a]&&i[a][n(542)];)a++;u(t,e,o),u(i,s,a);const c=i[n(470)](s,a)[n(595)](t[n(470)](e,o));return c[n(687)]((t,e)=>t[n(680)]!=e[n(680)]?t[n(680)]-e[n(680)]:t[n(673)]!=e[n(673)]?t[n(673)]-e[n(673)]:t[n(494)]!=e[n(494)]?e[n(494)]-t[n(494)]:!!t[n(640)]!=!!e[n(640)]?-1==t[n(680)]||0==t[n(680)]?t[n(640)]?-1:1:t[n(640)]?1:-1:t[n(664)]-e[n(664)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(587)],c=!0;for(let n=e;n<i;n++)if(r[s(429)](t[n][s(704)])||(c=!1),t[n][s(704)][s(705)]<e&&(o=n),t[n][s(704)][s(544)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(680)]=n<=o?-1:n<a?0:1,t[n][s(664)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(494)]?t[i][s(673)]=u:(u++,t[i][s(673)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(680)]&&(t[n][s(673)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(494)]?t[e][s(673)]=u:(u--,t[e][s(673)]=u,u--)}}[oe(527)](t){const e=oe,i=new Map,s=this[e(496)][e(444)][e(410)];for(let n=1;n<t[e(609)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(585)==c[e(461)])continue;if(c[e(461)]!=u[e(461)])continue;if(!s[e(697)](u[e(704)])||s[e(586)](u[e(704)]))continue;if(!s[e(697)](c[e(704)])||s[e(586)](c[e(704)]))continue;if((t[n][e(640)]||t[n][e(513)])&&t[n-1][e(542)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(542)]||!t[n-1][e(640)]&&!t[n-1][e(513)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(673)]==o[e(673)],h=Math[e(624)](r[e(673)])<Math[e(624)](o[e(673)])&&0==o[e(494)];(l||h)&&(i[e(708)](o.id,r.id),t[e(563)](a,1),n--,r[e(640)]=!1)}for(let s=0;s<t[e(609)];s++)i[e(642)](t[s][e(516)])&&(t[s][e(516)]=i[e(633)](t[s][e(516)]))}[oe(459)](t){const e=oe,i=new Set(t[e(523)](t=>t.id));for(let s=0;s<t[e(609)];s++)i[e(642)](t[s][e(516)])||0==t[s][e(494)]||(t[s][e(423)]=!0);return t[e(521)](t=>!t[e(423)])}[oe(580)](t){const e=oe,i=new Set;for(let s=0;s<t[e(609)];s++){if(i[e(642)](t[s].id)&&t[s][e(542)]&&(t[s][e(423)]=!0),t[s][e(423)])continue;if(0==t[s][e(494)])continue;if(e(631)!=t[s][e(461)])continue;if(null==t[s][e(516)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(516)];)e(631)==t[n][e(461)]?r++:e(464)==t[n][e(461)]&&r--,n++;if(0!=r)if(t[s][e(542)])t[s][e(423)]=!0;else for(;n!=s;)t[n][e(542)]&&0!=t[n][e(494)]&&(t[n][e(423)]=!0,i[e(619)](t[n][e(516)])),n--}return t[e(521)](t=>!t[e(423)])}[oe(498)](t){const e=oe,i=this[e(496)][e(444)][e(410)];for(let s=0;s<t[e(609)];s++){if(!(t[s][e(640)]||t[s][e(513)]||t[s][e(542)]||t[s][e(692)]))continue;if(0==t[s][e(494)])continue;const n=t[s][e(704)];i[e(697)](n)||i[e(586)](n)||(t[s][e(640)]&&delete t[s][e(640)],t[s][e(513)]&&delete t[s][e(513)],t[s][e(692)]&&delete t[s][e(692)],t[s][e(542)]&&(t[s][e(423)]=!0))}return t[e(521)](t=>!t[e(423)])}[oe(549)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(496)][s(444)],c=a[s(410)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(609)];e++)if(s(631)===t[e][s(461)]){t[e][s(583)]=a[s(450)](n,f);const i=new X.ModelElement(t[e][s(704)][s(404)],t[e][s(704)][s(566)]());u[0][s(547)](i),f[s(694)](0),u[s(510)](i),t[e][s(481)]=a[s(450)](n,f)}else s(464)===t[e][s(461)]?(u[s(552)](),t[e][s(583)]=a[s(450)](n,f),f[s(625)](),f[f[s(609)]-1]++,t[e][s(481)]=a[s(450)](n,f)):(t[e][s(583)]=a[s(450)](n,f),d?d[s(627)]+=t[e][s(704)][s(454)]:d=new X.ModelText(t[e][s(704)][s(454)],t[e][s(704)][s(566)]()),t[e+1]&&s(585)===t[e+1][s(461)]&&v(d,t[e+1][s(704)])||(u[0][s(547)](d),d=null),f[f[s(609)]-1]+=t[e][s(704)][s(616)],t[e][s(481)]=a[s(450)](n,f));for(let e=0;e<t[s(609)];e++){const i=t[e][s(583)],n=t[e][s(481)];for(const n of t[e][s(644)])o[s(708)](n,{start:i,end:null});m(s(692),e,i,n),m(s(513),e,i,n),m(s(542),e,i,n),m(s(640),e,i,n);for(const i of t[e][s(499)]){const t=o[s(633)](i);t?t[s(649)]=n:o[s(708)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(496)][s(444)][s(525)](e[s(562)],e[s(649)]);n[s(502)][s(708)](t,i)}return r[s(687)]((t,e)=>{const i=s,r=n[i(502)][i(633)](i(703)+t.id),o=n[i(502)][i(633)](i(703)+e.id);return r[i(562)][i(579)](o[i(562)])?-1:r[i(562)][i(476)](o[i(562)])?1:r[i(649)][i(579)](o[i(649)])?-1:r[i(649)][i(476)](o[i(649)])?1:i(619)===t[i(461)]?-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(555)]:null,d=i===t[o(609)]-1,f=h[e][0],m=c[o(626)](t[i][o(704)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(649)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(555)]!==u&&(l[e][o(649)]=n,f&&f[o(555)]===l[e][o(555)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(631)!==t[i][o(461)]||f&&f[o(555)]===u||h[e][o(510)]({userId:u,object:t[i][o(704)],change:l[e]}),o(464)===t[i][o(461)]&&f&&f[o(478)]===t[i][o(704)]&&(h[e][o(552)](),l[e]=f[o(675)])),l[e]&&d&&(l[e][o(649)]=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(704)],f=a[h(410)][h(697)](d)&&!a[h(410)][h(586)](d),m=t[h(710)]==o[h(582)]&&o[h(656)];if(f&&m)return;const p=a[h(525)](t,o),v=e[h(633)](u),g=new Kt({author:v,type:h(640)==l||h(513)==l?h(619):h(501),data:{isSuggestion:h(513)==l||h(692)==l},createdAt:new Date,rootName:i});r[h(694)](g),n[h(502)][h(708)](h(703)+g.id,p)}function v(t,e){const i=s,n=t[i(566)](),r=e[i(566)]();for(const t of n){if(t[1]!==e[i(485)](t[0]))return!1;r[i(452)]()}return r[i(452)]()[i(534)]}}[oe(655)](){const t=oe;this[t(496)][t(417)][t(613)](t(654))[t(558)]({view:t(661)}),this[t(496)][t(417)][t(613)](t(618))[t(567)]({model:t(661),view:e=>{const i=t,s=e[i(702)][i(484)](":")[1],n=this[i(471)](s);if(!n)return null;const r=i(619)==n[i(461)]?i(663):i(400),o=[i(509),i(576)+r];return n[i(454)][i(569)]&&o[i(694)](i(576)+r+i(588)),this[i(648)]==n&&o[i(694)](i(615)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(496)][t(417)][t(613)](t(654))[t(619)](e=>{const i=t;e.on(i(650),(t,e,s)=>{const n=i,r=e[n(683)][n(406)](0);if(!r||!r.is(n(643),n(691)))return;if(!s[n(617)][n(632)](r,{attributes:[n(674),n(614)]}))return;const o=e[n(540)][n(562)][n(710)];s[n(460)][n(428)](n(674),r[n(485)](n(674)),o),s[n(460)][n(428)](n(614),r[n(485)](n(614)),o)},{priority:i(518)})}),this[t(496)][t(417)][t(613)](t(654))[t(619)](e=>{const i=t;e.on(i(643),(t,e,s)=>{const n=i;if(!s[n(617)][n(632)](e[n(683)],{attributes:[n(674),n(614)]}))return;if(e[n(540)][n(645)])return;const r=e[n(540)][n(562)][n(710)];r[n(620)](n(674))||r[n(620)](n(472))||(s[n(460)][n(428)](n(674),e[n(683)][n(485)](n(674)),r),s[n(460)][n(428)](n(614),e[n(683)][n(485)](n(614)),r))},{priority:i(518)})}),this[t(496)][t(417)][t(613)](t(654))[t(639)]({view:{name:t(486),attributes:{vid:!0}},model:{key:t(472),value:e=>e[t(485)](t(472))}}),this[t(496)][t(444)][t(410)].on(t(465),(e,[,i])=>{const s=t;[s(674),s(614),s(472)][s(414)](i)&&(e[s(584)]=!0,e[s(699)]())},{priority:t(412)}),this[t(496)][t(417)][t(613)](t(500))[t(619)](e=>{const i=t;e.on(i(686),(t,e,s)=>{const n=i;if(" "!=e[n(704)][n(454)]||e[n(704)][n(582)][n(581)]>1)return;if(!s[n(617)][n(632)](e[n(704)],t[n(404)]))return;const r=s[n(460)],o=s[n(550)][n(453)](e[n(430)]);r[n(438)](o,r[n(491)](n(486)))})}),this[t(496)][t(417)][t(613)](t(500))[t(437)]({model:t(661)}),this[t(496)][t(445)][t(515)].on(t(607),function(e){const i=t,s=e[i(392)][i(633)](i(706));return(t,n,r)=>{const o=i,a=n[o(702)][o(484)](":")[1],c=s[o(471)](a);if(!c)return null;const u=o(619)==c[o(461)]?o(484):o(707);if(!r[o(617)][o(529)](n[o(666)],t[o(404)]))return;const l=n[o(666)][o(671)](),h=n[o(666)][o(562)],d=e[o(444)][o(410)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(704)];p=p||d[o(677)](e);const i=r[o(550)][o(662)](e);if(i&&i[o(596)](o(489)))return;o(464)==t[o(461)]&&d[o(697)](e)&&!d[o(586)](e)&&(e[o(446)]||h[o(560)]?f&&f[o(582)]==e||(f=e,g(t[o(583)]),v=!0):m=m||t[o(583)])}function g(t){const e=o,i=r[e(460)][e(570)](e(486),{class:e(576)+u}),a=r[e(550)][e(467)](t);c[e(454)][e(569)]&&r[e(460)][e(701)](e(576)+u+e(588),i),s[e(648)]==c&&r[e(460)][e(701)](e(615),i),r[e(460)][e(623)](a,i),r[e(550)][e(574)](i,n[e(702)])}p||v||!m||g(m)}}(this[t(496)]),{priority:t(593)}),this[t(496)][t(445)][t(515)].on(t(387),(e,i,s)=>{const n=t,r=s[n(550)][n(535)](i[n(702)]);if(r)for(const t of r)(t[n(519)](n(477))||t[n(519)](n(605)))&&(s[n(550)][n(522)](t,i[n(702)]),s[n(460)][n(501)](t))},{priority:t(593)}),this[t(496)][t(445)][t(515)].on(t(607),(e,i,s)=>{const n=t,r=i[n(702)][n(484)](":")[1],o=this[n(471)](r);if(!o)return null;const a=n(619)==o[n(461)]?n(484):n(707);if(s[n(617)][n(529)](i[n(666)],e[n(404)]))for(const t of i[n(666)][n(506)]()){if(!t.is(n(643),n(638)))continue;const e=s[n(460)][n(570)](n(486),{class:n(576)+a}),r=s[n(550)][n(467)](this[n(496)][n(444)][n(536)](t));o[n(454)][n(569)]&&s[n(460)][n(701)](n(576)+a+n(588),e),this[n(648)]==o&&s[n(460)][n(701)](n(615),e),s[n(460)][n(623)](r,e),s[n(550)][n(574)](e,i[n(702)])}},{priority:t(593)}),this[t(496)][t(444)][t(667)].on(t(675),()=>{const e=t;this[e(496)][e(445)][e(568)][e(675)](t=>{const i=e;for(const e of this[i(496)][i(444)][i(667)][i(524)]()){const s=this[i(496)][i(444)][i(667)][i(426)](e),n=this[i(496)][i(445)][i(568)][i(667)][i(426)](e);if(n){const e=s[i(485)](i(463));if(t[i(700)](i(599),n),t[i(526)](i(457),n),t[i(526)](i(474),n),t[i(526)](i(548),n),e){const s=this[i(471)](e);if(!s)return null;t[i(428)](i(599),e,n),t[i(701)](i(682)+s[i(461)],n),this[i(648)]==s&&t[i(701)](i(548),n)}}}})}),this[t(496)][t(417)][t(613)](t(654))[t(558)]({view:t(435),model:e=>t(554)+e,converterPriority:t(412)}),this[t(496)][t(417)][t(613)](t(654))[t(558)]({view:t(409),model:e=>t(425)+e,converterPriority:t(412)}),this[t(496)][t(417)][t(613)](t(500))[t(437)]({model:t(537),view:e=>({name:t(591)+e,group:t(537)}),converterPriority:t(412)}),this[t(496)][t(417)][t(613)](t(618))[t(567)]({model:t(537),view:e=>{const i=t,s=e[i(702)][i(484)](":")[1];return i(663)!=s&&i(400)!=s?null:{classes:[i(473),i(665)+s]}}}),this[t(496)][t(445)][t(515)].on(t(514),ue(this[t(496)],t(707)),{priority:t(593)}),this[t(496)][t(445)][t(515)].on(t(416),ue(this[t(496)],t(484)),{priority:t(593)}),this[t(496)][t(445)][t(515)].on(t(611),(e,i,s)=>{const n=t,r=s[n(550)][n(535)](i[n(702)]);if(r)for(const t of r)t.is(n(696))&&(s[n(550)][n(522)](t,i[n(702)]),s[n(460)][n(501)](t))},{priority:t(593)})}[oe(471)](t){const e=oe;return this[e(668)][e(633)](t)}[oe(415)](t){const e=oe;return this[e(434)]&&this[e(434)][e(433)](),this[e(434)]=new Bt(this[e(496)][e(483)],t),this[e(434)]}[oe(621)](){const t=oe;this[t(496)][t(444)][t(667)][t(469)][t(670)](t(661)),this.on(t(559),(e,i,s,n)=>{const r=t;n&&this[r(695)][r(501)](n),s&&(this[r(695)][r(619)]({view:s,stackId:r(592),position:{target:()=>{const t=r,e=this[t(496)][t(445)],i=this[t(471)](s[t(388)]);let n;if(i[t(454)][t(589)]){const s=e[t(568)][t(508)](i[t(393)]);n=Array[t(551)](s[t(401)]())}else{const i=this[t(496)][t(444)][t(502)][t(633)](t(703)+s[t(388)]);n=Array[t(551)](e[t(550)][t(535)](i[t(404)]))[t(523)](i=>e[t(568)][t(402)][t(597)](i))[t(523)](e=>Array[t(551)](e[t(401)]()))[t(628)]()}return this[t(394)]&&n[t(653)](e=>e[t(608)]-3<=this[t(394)].y&&e[t(507)]+3>=this[t(394)].y&&e[t(635)]-3<=this[t(394)].x&&e[t(698)]+3>=this[t(394)].x)||n[0]}}}),this[r(695)][r(490)](r(592)))}),this.on(t(427),(e,i,s,n)=>{const r=t;this[r(436)]=s?this[r(415)](s):null,this[r(496)][r(444)][r(675)](()=>{const t=r,e=this[t(496)][t(445)];n&&(n[t(454)][t(589)]?e[t(568)][t(675)](i=>{const s=t;i[s(526)](s(548),e[s(568)][s(667)][s(426)](n[s(393)]))}):e[t(405)](t(703)+n.id)),s&&(s[t(454)][t(589)]?e[t(568)][t(675)](i=>{const n=t;i[n(701)](n(548),e[n(568)][n(667)][n(426)](s[n(393)]))}):e[t(405)](t(703)+s.id))})}),this[t(602)](this[t(496)][t(445)][t(568)][t(667)],t(681),(e,i)=>{const s=t;if(this[s(648)])return;const n=this[s(413)](i[s(646)]),r=this[s(668)][s(633)](n);r?(this[s(394)]={x:i[s(419)].x,y:i[s(419)].y},this[s(436)]=this[s(415)](r)):(this[s(394)]=null,this[s(436)]=null)}),this[t(602)](this[t(496)][t(445)][t(568)][t(667)],t(658),(e,i)=>{const s=t,n=this[s(413)](i[s(646)]),r=this[s(668)][s(633)](n);r?(this[s(394)]={x:i[s(419)].x,y:i[s(419)].y},r===this[s(648)]?this[s(695)][s(693)]():this[s(648)]=r):(this[s(394)]=null,this[s(648)]=null)})}[oe(413)](t){const e=oe;do{const i=t[e(485)](e(599));if(i)return i;t=t[e(582)]}while(t);return null}[oe(652)](){const t=oe;this[t(496)][t(444)][t(675)](e=>{const i=t;for(const t of this[i(496)][i(444)][i(502)])e[i(556)](t)})}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(617)][r(529)](s[r(666)],i[r(404)]))return;const o=s[r(666)][r(671)](),a=s[r(666)][r(562)],c=t[r(444)][r(410)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(704)];h=h||c[r(677)](e);const i=n[r(550)][r(662)](e);if(i&&i[r(596)](r(489)))return;r(464)==t[r(461)]&&c[r(697)](e)&&!c[r(586)](e)&&(e[r(446)]||a[r(560)]?u&&u[r(582)]==e||(u=e,f(t[r(583)]),d=!0):l=l||t[r(583)])}function f(t){const i=r,o=n[i(550)][i(467)](t),a=n[i(460)][i(570)](i(486),{class:i(665)+e});n[i(460)][i(623)](o,a),n[i(550)][i(574)](a,s[i(702)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(392)][e(633)](ce);this[e(571)]=!1,this[e(602)](i,e(641),()=>this[e(575)]()),this[e(602)](i,e(505),()=>this[e(575)]())}[oe(431)](){const t=oe,e=this[t(496)],i=e[t(392)][t(633)](ce),s=i[t(511)]?i[t(541)][t(647)]:null;e[t(637)][t(633)](t(456))[t(546)](s)}[oe(575)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(496)][t(392)][t(633)](ce),r=n&&s[t(688)](n[t(647)]);this[t(517)]=e&&i&&Boolean(r)}}class he extends G.Command{[oe(389)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(392)][i(633)](ce);this[i(571)]=!1,this[i(389)]=i(634)===e?1:-1,this[i(602)](s,i(641),()=>this[i(575)]()),this[i(602)](s,i(505),()=>this[i(575)]()),this[i(602)](s,i(427),()=>this[i(575)]())}[oe(431)](){const e=oe,i=this[e(496)],s=i[e(392)][e(633)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(648)]=n?s[e(541)][e(495)][e(633)](r+this[e(389)]):s[e(541)][e(495)][e(398)],s[e(648)][e(454)][e(589)])o=i[e(445)][e(568)][e(508)](s[e(648)][e(393)]);else{const t=i[e(444)][e(502)][e(633)](e(703)+s[e(648)].id);o=(0,Q.getMarkerDomElement)(i[e(445)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(575)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(496)][t(392)][t(633)](ce);this[t(517)]=!!(r&&n&&s)&&(!e||(1===this[t(389)]?i<s-1:i>0))}}function de(){const t=["for","vid_end","ck-suggestion-marker--active","offsetSize","consumable","editingDowncast","add","hasAttribute","_initInteractions","showPreviousChange","insert","abs","pop","isObject","_data","flat","loadRevisionData","_refreshStartEndIndex","elementStart","consume","get","forward","left","_setChanges","config","softBreak","elementToAttribute","isAdded","change:isReady","has","element","markersStart","isCollapsed","target","newRevisionId","activeChange","end","element:pre","all","_cleanMarkers","find","upcast","_setConversion","isAtStart","_makeModelFromViewString","mousedown","4BmGbOl","resolve","revision","toViewElement","insertion","index","ck-suggestion-preview-marker-","markerRange","document","_changeIdToChange","then","observeMarkers","getWalker","requires","level","vid_start","change","_getDiff","isContent","change:numberOfChanges","1039815SvXBog","side","mouseover","ck-revision-history-root-","viewItem","catch","2330Bfptxz","attribute:vid","sort","getLaterVisibleRevision","backward","isPremiumPlugin","code","isRemoveSuggestion","updatePosition","push","_balloon","uiElement","isBlock","right","stop","removeAttribute","addClass","markerName","revision:","item","startIndex","RevisionViewer","merge","set","21PTPNRr","nodeAfter","init","addRoot","_update","removeMarker:revision","changeId","_step","getRevisionDocumentData","error","plugins","rootName","_activeViewTarget","createRangeIn","442SZDfTz","indexOf","first","_setDistance","deletion","getClientRects","domConverter","attributesAfter","name","reconvertMarker","getChild","WidgetToolbarRepository","oldRevisionId","suggestion","schema","addRevisionData","highest","_findChangeIdFromDomTarget","includes","_getViewForChange","addMarker:revision-suggestion:insertion","conversion","isNavigationMode","domEvent","1040262lyPhbK","RevisionHistoryUtils","addRevision","isIncorrect","showNextChange","revision-suggestion:","getRoot","change:activeChange","setAttribute","isInline","range","execute","_markMarkers","destroy","_changeView","comment","activeView","markerToData","wrap","delete","restoreRevision","isOfficialPlugin","revision-viewer","forEach","model","editing","nextSibling","detachRoot","values","2238864RnNsGJ","createPositionFromPath","repository","next","toViewRange","data","ck-editor__editable__overlay","revisionHistory","ck-revision-history-root-add","attributes","_removeMissingPairs","writer","type","insertions","revisionHistoryAttachChange","elementEnd","checkAttribute","pluginName","toViewPosition","adapter","selection","slice","_getChangeFromId","vid","ck-suggestion-preview-marker","ck-revision-history-root-remove","_makeTape","isAfter","ck-suggestion-marker-split","object","getRevisionRootsAttributes","clear","nextPosition","string","locale","split","getAttribute","span","_revisions","29942ysAgvB","addHighlight","showStack","createAttributeElement","attributesBefore","isEqual","distance","changes","editor","keys","_removeUnsupportedChanges","markersEnd","dataDowncast","remove","markers","attachChange","520515xQIsjk","change:isEnabled","getItems","bottom","getDomRoot","ck-suggestion-marker","unshift","isReady","isAttached","isAddSuggestion","addMarker:revision-suggestion:deletion","downcastDispatcher","pairId","isEnabled","low","hasClass","_processTape","filter","unbindElementFromMarkerName","map","getRootNames","createRange","removeClass","_fixObsoleteTags","commands","test","enableReadOnlyMode","startsWith","compare","numberOfChanges","done","markerNameToElements","createPositionBefore","revision-suggestion","enqueueChange","_markSuggestions","modelRange","diff","isRemoved","authors","endIndex","diffData","restoreRevisionCallback","_appendChild","ck-revision-history-root--active","_makeModelFromTape","mapper","from","shift","1348TDhOqk","revision-comment:","userId","removeMarker","_utils","dataToMarker","change:activeView","isAtEnd","_getRevisionsRange","start","splice","_threeWayMerge","forceDisabled","getAttributes","markerToHighlight","view","isSuggestion","createUIElement","affectsData","currentChangeNumber","getRevision","bindElementToMarker","refresh","ck-suggestion-marker-","roots","_sortAndFilterDiffChanges","isBefore","_markMismatchedRemovedTags","maxOffset","parent","previousPosition","return","text","isLimit","POSITIVE_INFINITY","-new","isOnRoot","729267ZLkmmp","suggestion:","revisionHistoryLabel","high","bind","concat","getCustomProperty","mapViewToDom","createRevision","data-change-id","getIndex","_joinTapes","listenTo","findIndex","deletions","ck-suggestion-marker-merge","_markInsertions","addMarker:revision","top","length","_cleanUp","removeMarker:revision-suggestion","RevisionsRepository"];return(de=function(){return t})()}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=366]})(t,e)}function ve(){const t=["isReady","80mbagUW","7398360DFcOeF","div","Loading...","forward","_statusText","fire","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","187bzMCIy","Total","execute","numberOfChanges","34470qDgOFn","ck-revision-history-ui__changes-navigation__wrapper","set","ck-revision-history-ui__changes-navigation__navigation","5914545tTjGHZ","_isStatusLabelVisible","ck-revision-history-ui","806739mHunij","currentChangeNumber","backward","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","1587444cGJOpY","Show next change","1739092NvewnF","ck-hidden","NUMBER_OF_CHANGES","bindTemplate","No changes","isNavigationMode","isEnabled","2iutnBN","setTemplate","153948tMqSjw","EDIT_X_OF_Y_REVISIONS","783ngmpRP","3mivudt","span","bind","Show previous change"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(603234===parseInt(e(402))/1*(parseInt(e(371))/2)+parseInt(e(376))/3*(-parseInt(e(409))/4)+parseInt(e(381))/5*(parseInt(e(373))/6)+parseInt(e(399))/7+parseInt(e(382))/8+-parseInt(e(375))/9*(-parseInt(e(395))/10)+parseInt(e(391))/11*(-parseInt(e(407))/12))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(367)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(397)](e(369),!1),this[e(397)](e(380),!1),this[e(397)](e(403),0),this[e(397)](e(394),0),this[e(397)](e(405),!1),this[e(397)](e(388),!1),this[e(378)](e(400)).to(this,e(380),this,e(394),(t,e)=>t&&e>0),this[e(378)](e(386)).to(this,e(380),this,e(403),this,e(394),this,e(369),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(384));if(!n)return at(t,o(368));const a=at(t,o(366),n);return r?at(t,o(390),[s+1,n]):a}),s[e(397)]({label:at(t,e(379)),tooltip:!0,icon:_t.IconChevronUp}),n[e(397)]({label:at(t,e(408)),tooltip:!0,icon:_t.IconChevronDown}),s[e(378)](e(370)).to(this,e(388)),n[e(378)](e(370)).to(this,e(405)),s.on(e(393),()=>this[e(387)](e(393),e(404))),n.on(e(393),()=>this[e(387)](e(393),e(385))),this[e(372)]({tag:e(383),attributes:{class:["ck",e(401),e(389)]},children:[{tag:e(377),attributes:{class:[e(396)]},children:[{tag:e(377),attributes:{class:[e(406),i.if(e(400),e(410),t=>!t)]},children:[{text:i.to(e(369),i=>i?at(t,e(374))+": ":at(t,e(392))+": ")}]},{text:i.to(e(386))}]},new It.ToolbarSeparatorView,{tag:e(383),attributes:{class:[e(398)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=161]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(389513===parseInt(e(166))/1+parseInt(e(176))/2*(parseInt(e(167))/3)+parseInt(e(183))/4*(parseInt(e(180))/5)+-parseInt(e(177))/6+parseInt(e(173))/7*(-parseInt(e(165))/8)+-parseInt(e(172))/9*(parseInt(e(169))/10)+parseInt(e(163))/11*(parseInt(e(170))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(184);function Ie(){const t=["show","36230ScrAda","view","removeClass","44ubJFPb","ck-editor__editable__loading-overlay","isOfficialPlugin","pluginName","hide","RevisionViewerLoadingOverlay","change","708323MkzuZV","addClass","664472OJzspW","50643WaXEMB","470607foobVG","document","480030ZtQtlJ","60MoqJdo","editing","63eBOIMr","7mQmumt","isPremiumPlugin","roots","6krxxjU","685968BDWOdi","editor"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(186)](){return be(161)}static get[be(185)](){return!0}static get[be(174)](){return!0}[be(179)](){const t=be,e=this[t(178)][t(171)][t(181)];e[t(162)](i=>{const s=t;for(const t of e[s(168)][s(175)])i[s(164)](_e,t)})}[be(187)](){const t=be,e=this[t(178)][t(171)][t(181)];e[t(162)](i=>{const s=t;for(const t of e[s(168)][s(175)])i[s(182)](_e,t)})}}function Oe(t,e){const i=xe();return(Oe=function(t,e){return i[t-=442]})(t,e)}const Te=Oe;function xe(){const t=["isNavigationMode","execute","get","13064680acfVmi","hide","listenTo","showNextChange","514145SVAWWv","isBackwardNavigationEnabled","6rbCajf","8480311cBGTRa","config","componentFactory","32483RusXuD","currentChangeNumber","8384JiTBkn","isForwardNavigationEnabled","editor","plugins","set","revisionHistory","isPremiumPlugin","change:isReady","ck-revision-history-ui__back-to-editing","showPreviousChange","exitToEditing","add","changesNavigation","bind","pluginName","forward","init","restoreRevision","isEnabled","numberOfChanges","RevisionViewerUI","requires","commands","isReady","isOfficialPlugin","Restore this revision","Back to editing","7893HWyWOD","56IhBEay","22sTZEuK","show","closeRevisionViewerCallback","7080931DJrNaL","3697296ZtCmcA"];return(xe=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(744867===-parseInt(e(482))/1*(-parseInt(e(464))/2)+-parseInt(e(468))/3+parseInt(e(463))/4*(parseInt(e(476))/5)+-parseInt(e(478))/6*(-parseInt(e(479))/7)+-parseInt(e(484))/8*(-parseInt(e(462))/9)+-parseInt(e(472))/10+-parseInt(e(467))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Te(449)](){return Te(455)}static get[Te(459)](){return!0}static get[Te(490)](){return!0}static get[Te(456)](){return[ce,Se]}[Te(451)](){const t=Te,e=this[t(486)],i=e[t(487)][t(471)](ce),s=e[t(487)][t(471)](Se);e.ui[t(481)][t(446)](t(445),i=>{const s=t,n=new It.ButtonView(i);return n[s(488)]({label:at(i,s(461)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(443)}),this[s(474)](n,s(470),()=>{const t=s;e[t(480)][t(471)](t(489))[t(466)]()}),n}),e.ui[t(481)][t(446)](t(452),i=>{const s=t,n=new It.ButtonView(i);return n[s(488)]({label:at(i,s(460)),withText:!0,tooltip:!0}),n[s(448)](s(453)).to(e[s(457)][s(471)](s(452))),this[s(474)](n,s(470),()=>e[s(470)](s(452))),n}),e.ui[t(481)][t(446)](t(447),s=>{const n=t,r=new ge(s),o=e[n(457)][n(471)](n(444)),a=e[n(457)][n(471)](n(475));return r[n(448)](n(477)).to(o,n(453)),r[n(448)](n(485)).to(a,n(453)),r[n(448)](n(458),n(483),n(454),n(469)).to(i),this[n(474)](r,n(470),(t,i)=>{const s=n;e[s(470)](s(450)===i?s(475):s(444))}),r}),s[t(465)](),i.on(t(442),(e,i,n)=>{const r=t;n?s[r(473)]():s[r(465)]()})}}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(899568===parseInt(e(228))/1+-parseInt(e(249))/2*(-parseInt(e(220))/3)+-parseInt(e(230))/4*(-parseInt(e(223))/5)+parseInt(e(232))/6*(-parseInt(e(235))/7)+-parseInt(e(241))/8*(parseInt(e(221))/9)+parseInt(e(224))/10*(-parseInt(e(239))/11)+parseInt(e(246))/12*(parseInt(e(218))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(248)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(245)];this[i(237)]({label:at(t,i(236)),_tooltipString:""}),this[i(243)][i(238)]=at(t,i(225)),this[i(227)]({tag:i(240),attributes:{class:[i(244)],"data-cke-tooltip-text":s.to(i(217)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(234)}})}[Me(226)](){const e=Me;super[e(226)](),this[e(248)]=new t.ResizeObserver(this[e(243)][e(247)],()=>this[e(233)]()),this[e(229)](this[e(243)],e(222),()=>this[e(233)]())}[Me(231)](){const t=Me;super[t(231)](),this[t(248)]&&this[t(248)][t(231)]()}[Me(233)](){const t=Me,e=this[t(243)][t(247)];this[t(217)]=e[t(216)]>e[t(242)]&&e[t(219)]||""}}function Ee(){const t=["21390KNFmMk","_updateTooltipText","ck-tooltip_multi-line","3003cAurco","Revision name","set","placeholder","392557AwvWTx","span","32jYmPiI","clientWidth","fieldView","ck-revision-history-sidebar__revision-name","bindTemplate","36OODxnG","element","_resizeObserver","1510354hYkTin","scrollWidth","_tooltipString","3086135BAgpee","value","3WQTpET","705582VbENsW","input","5oXRlDg","110VnCuLt","Enter the revision name","render","extendTemplate","885078QvXhVc","listenTo","3130648FYPjJC","destroy"];return(Ee=function(){return t})()}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["Revision creator","4pCADcV","870947TSuuVx","ck-revision-history-sidebar__revision-author","0 0 11 10","93333QTnnXO","span","1008fTEqvH","push","917115qclQdg","393965AUqfSz","Revision author","setTemplate","set","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","870672WlVgcU","2736xywqWo","name","28306LpJQXF"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=266]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(165345===-parseInt(e(273))/1+parseInt(e(267))/2+parseInt(e(277))/3*(parseInt(e(269))/4)+-parseInt(e(278))/5+-parseInt(e(284))/6+parseInt(e(270))/7+parseInt(e(275))/8*(parseInt(e(285))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(281)]({content:_t.IconUser,viewBox:s(272)});const r=["ck",s(271)];i&&r[s(276)](s(282));const o=[{tag:s(274),attributes:{class:["ck",s(283)],title:at(t,s(i?268:279))},children:[n,e[s(266)]]}];this[s(280)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=211]})(t,e)}function We(){var t=["long","toLocaleDateString","317074nZwSIB","2406264jVbczi","156696YjpRlM","toLocaleTimeString","157843FWaqZx","786636pJPdRl","134552TSrgGM","8NsudVA","802265hNNfCV","numeric"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(168498===parseInt(e(214))/1+-parseInt(e(220))/2+parseInt(e(216))/3+parseInt(e(221))/4*(parseInt(e(222))/5)+-parseInt(e(219))/6+-parseInt(e(218))/7+-parseInt(e(215))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(505),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Dt();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-=337]})(t,e)}function $e(){const t=["locale","_action","Show more items","396528kCXUFa","Name this revision","set","374112xhijwA","552210UJByGt","11nHldAc","isEnabled","button","2rmHgRS","menu","execute","add","menuitem","items","change:isActionsDropdownOpen","276ZhGaNG","map","2532yWpylD","ck-revision-history-sidebar__revision__actions","buttonView","45eJqOFc","children","Compare against selected","isVisible","6293dfhqIp","isActionsDropdownOpen","function","source","extendTemplate","1119970YwUciJ","find","isReady","bindTemplate","isOpen","action","stopPropagation","panelPosition","ck-on","first","11435DWCVvu","bind","listenTo","name","listView","Restore this revision","22529136mvRmqx","class","model"];return($e=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(303506===-parseInt(e(383))/1+parseInt(e(387))/2*(-parseInt(e(382))/3)+parseInt(e(343))/4*(-parseInt(e(367))/5)+parseInt(e(345))/6*(-parseInt(e(352))/7)+parseInt(e(379))/8*(-parseInt(e(348))/9)+parseInt(e(357))/10*(-parseInt(e(384))/11)+parseInt(e(373))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Je=Ge;function Ye(){const t=["unshift","ck-revision-history-sidebar__revision__controls-wrapper","220","length","unhighlight","3808434WxoFWV","isSelected","ck-disabled","13380093ocUKhR","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","uiLanguage","set","extendTemplate","bind","div","creator","ck-revision-history-sidebar__revision","_revision","isEnabled","fieldView","isReady","listenTo","bindTemplate","highlight","filter","revisionActionsView","4202DKnZEP","ck-revision-history-sidebar__revision__date","value","2346396bBmmpy","deselect","setTemplate","_createdAtFormatted","fire","span","ck-revision-history-sidebar__revision_highlighted","isHighlighted","isActionsDropdownOpen","name","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__actions_dropdown_open","setName","ck-revision-history-sidebar__revision-wrapper","isConfirm","srcElement","map","ck-revision-history-sidebar__revision_selected","render","createdAt","revisionNameView","from","element","5AiIzvm","874615ETlfTU",".ck-confirm-view","authors","2534452XMTsag","ck-reset","closest","8166576JpXVsz","select","849jIZzDd","_requireRevisionName","change"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(972432===-parseInt(e(539))/1+parseInt(e(512))/2*(parseInt(e(547))/3)+-parseInt(e(542))/4*(-parseInt(e(538))/5)+-parseInt(e(515))/6+parseInt(e(555))/7+-parseInt(e(545))/8+parseInt(e(558))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Qe extends((0,Q.ConfirmMixin)(It.View)){id;[Je(535)];[Je(511)];[Je(503)];[Je(548)];constructor(e,i,s,n){const r=Je;super(e);const o=this[r(508)],a=function(t,e){const i=r,s=Array[i(536)](e[i(541)])[i(510)](t=>t!=e[i(501)]);return e[i(501)]&&s[i(550)](e[i(501)]),s[i(531)](s=>new Pe(t,s,s==e[i(501)]))}(e,i);this.id=i.id,this[r(503)]=i,this[r(548)]=n,this[r(499)](r(524),r(534)).to(i),this[r(499)](r(518)).to(this,r(534),t=>{return i=e[r(560)],(s=t)[(n=ze)(213)](i,{month:n(212),day:n(211)})+", "+s[n(217)](i,{hour:n(211),minute:n(211)});var i,s,n}),this[r(497)](r(556),!1),this[r(497)](r(522),!1),this[r(497)](r(523),!1),this[r(497)](r(506),!1),this[r(497)](r(504),!1),this[r(535)]=new De(e,It.createLabeledInputText),this[r(535)][r(505)][r(498)]({attributes:{maxlength:r(552)}}),this[r(535)][r(505)][r(499)](r(514)).to(this,r(524),t=>t||this[r(518)]),this[r(535)][r(499)](r(504)).to(this,r(556),this,r(504),(t,e)=>t&&e),this[r(511)]=s&&s[r(553)]?function(e,i){const s=He,n=e[s(360)],r=e[s(376)],o=(0,It.createDropdown)(r);o[s(364)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(376)],n={"Compare against selected":at(s,i(350)),"Name this revision":at(s,i(380)),"Restore this revision":at(s,i(372))};return e[i(344)](t=>{const e=i,s=n[t[e(370)]];return s&&s!==t[e(370)]&&(t[e(370)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(386),model:new It.UIModel({label:t[n(370)],class:t[n(374)],withText:!0,role:n(340),_action:t[n(362)]})};i[n(375)][n(368)](n(385)).to(e,n(353),i=>n(354)!=typeof t[n(385)]||!i||t[n(385)](e)),o[n(339)](i)}return o}(e,i);return e[s(368)](s(353)).to(o,s(361)),o[s(347)][s(381)]({label:at(r,s(378)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(356)]({attributes:{class:[s(346),n.if(s(353),s(365))]},on:{click:n.to(t=>t[s(363)]())}}),o.on(s(338),t=>{const i=s;e[i(359)]&&i(354)==typeof t[i(355)][i(377)]&&t[i(355)][i(377)](e)}),(0,It.addListToDropdown)(o,a,{role:s(337)}),o[s(369)](e,s(342),(t,n,r)=>{const a=s;if(r)for(const t of o[a(371)][a(341)]){const s=t[a(349)][a(366)],n=i[a(358)](t=>t[a(362)]===s[a(377)])[a(351)];t[a(351)]=void 0===n||n(e)}}),o}(this,s):"",this[r(511)]&&this[r(511)][r(499)](r(504)).to(this),this[r(517)]({tag:r(500),attributes:{class:["ck",r(543),r(528),o.if(r(529),r(559))]},children:[{tag:r(500),attributes:{class:["ck",r(543),r(502),o.if(r(504),r(557),t=>!t),o.if(r(556),r(532)),o.if(r(522),r(521)),o.if(r(523),r(526))]},children:[this[r(535)],{tag:r(520),attributes:{class:["ck",r(513)]},children:[{text:o.to(r(518))}]},{tag:r(500),attributes:{class:["ck",r(551)]},children:[{tag:"ul",attributes:{class:["ck",r(525)]},children:a}]},this[r(511)]],on:{click:o.to(t=>{const e=r;t[e(530)][e(544)](e(540))||this[e(506)]&&this[e(504)]&&this[e(519)](e(546),{id:this.id})})}}]})}[Je(533)](){const t=Je;super[t(533)]();const e=this[t(535)][t(505)][t(537)];this[t(507)](e,t(549),()=>{const i=t;this[i(548)]&&!e[i(514)]||this[i(519)](i(527),{id:this.id,name:e[i(514)]}),e[i(514)]||(e[i(514)]=this[i(524)]?this[i(524)]:this[i(518)])})}[Je(546)](){this[Je(556)]=!0}[Je(516)](){this[Je(556)]=!1}[Je(509)](){this[Je(522)]=!0}[Je(554)](){this[Je(522)]=!1}}class Xe extends Error{}class Ke extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(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 Ks(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,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let 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 Ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):$s(t,3),this.padTo)}}class Yi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Qi={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 Ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=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={...Qi,...e}),qi.set(t,e)}return e}(this.locale):Qi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ki=null;class ts extends Mi{static get utcInstance(){return null===Ki&&(Ki=new ts(0)),Ki}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Ds(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Di.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+(qs(t)?ks:ys)[e-1]}function Is(t,e){const i=qs(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Qs(c,e,i)):u>Qs(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 As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Js(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Es(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $s(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return qs(t)?366:365}function Js(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 Ys(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Qs(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 Ks(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),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: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$/,Jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Yn(t){const[,e,i,s,n,r,o,a]=t;return[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 Qn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Kn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Ln),ir=Sn(Mn,Fn,jn,Ln),sr=Sn(Vn,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,jn,Ln);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,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 Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$s(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Hs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",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 Jr(t,e,i){return qr(Ys(t),e,i)}function Yr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ys(r);let[c,u]=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 Qr(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 Kr(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(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Jr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=$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=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Ds(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=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,Qs(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Jr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Qn,er],[Xn,ir],[Kn,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,Yn],[Bn,Yn],[Jn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=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 Ke(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ys(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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 Js(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Jr(i,e,t)}return $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=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Js(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Jr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Yr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Yr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Kr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Qr(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":"")+Kr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Qr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Qr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?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")),Qr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=407]})(t,e)}function vo(){const t=["25jMpABw","7660910zoltFo","local","hasSame","934626hCyhFr","301056GzNoyS","4wLGrVG","613052RVZSDm","953460cdcXqE","325924dvrRcK","fromJSDate","year","983928aMoIpF","month","9fnmXMU","week","setLocale","monthLong","startOf","toJSDate","day","weekdayLong","toRelativeCalendar","minus"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(425)](t)[i(407)](e),n=fo[i(417)](),r=n[i(414)]({days:1})[i(409)](i(411));let o,a;return s[i(418)](n,i(411))?(o=s[i(409)](i(411))[i(410)](),a=s[i(413)]()):s[i(418)](r,i(411))?(o=r[i(410)](),a=s[i(413)]()):s[i(418)](n,i(430))?(o=s[i(409)](i(430))[i(410)](),a=s[i(412)]||""):s[i(418)](n,i(426))?(o=s[i(409)](i(428))[i(410)](),a=s[i(408)]||""):(o=s[i(409)](i(426))[i(410)](),a=String(s[i(426)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(188520===-parseInt(e(424))/1+parseInt(e(422))/2+-parseInt(e(423))/3*(parseInt(e(421))/4)+parseInt(e(415))/5*(-parseInt(e(420))/6)+parseInt(e(419))/7+-parseInt(e(427))/8+parseInt(e(429))/9*(parseInt(e(416))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["locale","div","delegate","removeRevision","1013246gVonOO","localizedPeriodName","_requireRevisionName","find","setTemplate","1129116rjbcjj","startDate","4151716AZKTZE","remove","591840Rzszxe","addRevision","ck-revision-history-sidebar__time-period__revisions","add","118764VjeBMn","uiLanguage","7mVXQkc","16zEzJbG","span","ck-revision-history-sidebar__time-period__label","_revisionActions","setName","ck-revision-history-sidebar__time-period","revisionViews","select","8789553NRPyLG","5372124hseQmd","createCollection"];return(bo=function(){return t})()}const wo=_o;function _o(t,e){const i=bo();return(_o=function(t,e){return i[t-=499]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(760498===parseInt(e(514))/1+-parseInt(e(509))/2+parseInt(e(522))/3+parseInt(e(516))/4+parseInt(e(518))/5+-parseInt(e(503))/6*(-parseInt(e(524))/7)+parseInt(e(525))/8*(-parseInt(e(502))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[wo(515)];[wo(500)];[wo(528)];[wo(511)];constructor(t,e,i,s){const n=wo;super(t);const r=go(e,this[n(505)][n(523)])[n(510)];this[n(515)]=e,this[n(500)]=this[n(504)](),this[n(528)]=i,this[n(511)]=s,this[n(500)][n(507)](n(501)).to(this),this[n(500)][n(507)](n(529)).to(this),this[n(513)]({tag:n(506),attributes:{class:["ck",n(499)]},children:[{tag:n(526),attributes:{class:["ck",n(527)]},children:[{text:r}]},{tag:n(506),attributes:{class:["ck",n(520)]},children:this[n(500)]}]})}[wo(519)](t){const e=wo,i=new Qe(this[e(505)],t,this[e(528)],this[e(511)]);this[e(500)][e(521)](i)}[wo(508)](t){const e=wo,i=this[e(500)][e(512)](e=>e.id===t.id);this[e(500)][e(517)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=420]})(t,e)}function xo(){const t=["Revision history","content","setTemplate","34135KYAveB","3180438juGORz","div","490302SyWpFO","2086721cRSfOK","span","ck-reset_all","ck-revision-history-sidebar__header","2810400qPrzhd","124DGJhvK","365140tjxBbk","ck-revision-history-sidebar__header__label","507416IuePfY","4JbcaGN"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(303183===parseInt(e(435))/1+-parseInt(e(421))/2*(parseInt(e(428))/3)+-parseInt(e(434))/4*(parseInt(e(425))/5)+parseInt(e(433))/6+parseInt(e(429))/7+parseInt(e(420))/8+-parseInt(e(426))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(423)]=_t.IconHistory,this[e(424)]({tag:e(427),attributes:{class:["ck",e(431),e(432)]},children:[i,{tag:e(430),attributes:{class:["ck",e(436)]},children:[at(t,e(422))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(){const t=["revisionSetName","render","locale","createCollection","unhighlight","setTemplate","385526jOyGqI","39TyaatE","map","_requireRevisionName","flat","select","_revisionActions","addRevision","ck-disabled","14KXEHcw","some","1725336avTYak","add","290552ptHlct","revisionSelected","removeRevision","find","set","revisionViews","5173880YShENG","fire","ck-revision-history-sidebar__timeline","uiLanguage","deselect","setName","ck-revision-history-sidebar","startDate","get","11asFBre","highlightRevisions","_revisions","234997SCfXvh","22287820OTPhLg","createdAt","getTime","_removeRevision","delegate","599895rAyaIH","isEnabled","40vFQWNi","remove","timePeriodViews","_getTimePeriodViewByStartDate","selectRevision","bindTemplate","ck-reset","highlight","ck-rounded-corners","div","_addRevision"];return(Mo=function(){return t})()}const Vo=Do;function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(533783===parseInt(e(165))/1+-parseInt(e(190))/2+parseInt(e(191))/3*(-parseInt(e(203))/4)+-parseInt(e(153))/5+parseInt(e(201))/6*(parseInt(e(199))/7)+parseInt(e(173))/8*(-parseInt(e(171))/9)+parseInt(e(166))/10*(parseInt(e(162))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends It.View{[Vo(175)];[Vo(164)];[Vo(196)];[Vo(193)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(178)];this[n(175)]=this[n(187)](),this[n(175)][n(170)](n(195)).to(this),this[n(175)][n(170)](n(158)).to(this),this[n(164)]=e,this[n(196)]=i,this[n(193)]=s,this.on(n(195),(t,e)=>{const i=n;this[i(154)](i(204),e)}),this.on(n(158),(t,e)=>{const i=n;this[i(154)](i(184),e)}),this[n(207)](n(172),!1),this[n(189)]({tag:n(182),attributes:{class:["ck",n(179),n(181),n(159)]},children:[new No(t),{tag:n(182),attributes:{class:["ck",n(155),r.if(n(172),n(198),t=>!t)]},children:this[n(175)]}]})}[Vo(185)](){const t=Vo;super[t(185)]();for(const e of this[t(164)])this[t(183)](e);this[t(164)].on(t(202),(e,i)=>{this[t(183)](i)}),this[t(164)].on(t(174),(e,i)=>{this[t(169)](i)})}get[Vo(152)](){const t=Vo;return this[t(175)][t(192)](e=>e[t(152)][t(192)](t=>t))[t(194)]()}[Vo(177)](t){const e=Vo;for(const i of this[e(152)])t&&t.id===i.id?i[e(195)]():i[e(157)]()}[Vo(163)](t){const e=Vo;for(const i of this[e(152)])t[e(200)](({id:t})=>t===i.id)?i[e(180)]():i[e(188)]()}[Vo(183)](t){const e=Vo,i=go(t[e(167)],this[e(186)][e(156)])[e(160)];let s=this[e(175)][e(161)](0);s&&s[e(160)][e(168)]()===i[e(168)]()||(s=new Io(this[e(186)],i,this[e(196)],this[e(193)]),this[e(175)][e(202)](s)),s[e(197)](t)}[Vo(169)](t){const e=Vo,i=go(t[e(167)],this[e(186)][e(156)])[e(160)];this[e(176)](i)[e(205)](t)}[Vo(176)](t){const e=Vo;return this[e(175)][e(206)](i=>i[e(160)][e(168)]()===t[e(168)]())}}function Co(){const t=["Name this revision","fieldView","config","revisionHistory","timePeriodViews","compareAgainstSelected","element","95958mTJDuc","requires","map","focus","_sidebarView","change:diff","restoreRevisionCallback","remove","11278107TjwQLv","setName","395795WlYdgA","Compare against selected","_handleRevisionSetName","_handleDiffChange","29880785XxgXzJ","getEarlierVisibleRevision","highlightRevisions","getLaterVisibleRevision","restoreRevision","name","11493072nVFaQu","editor","locale","revisionHistory.revisionActions","destroy","revisionViews","ready","revisionSetName","appendChild","bind","96NklIzQ","getIndex","repository","409416oMENXZ","diff","getRevision","revisionHistory.requireRevisionName","Restore this revision","_handleRevisionSelected","availableRevisionActions","32109lQJWhh","15yOkBza","defaultRevisionActions","revisionSelected","revisionHistory.viewerSidebarContainer","428qLhagM","get","listenTo","nameRevision","RevisionsSidebar","init","select","_revisionsRepository","_createRevisionActions","isPremiumPlugin","isSelected","_revisions","isReady","_handleEditorDataReady","length","10gjXRtM","add","newRevisionId","isOfficialPlugin","action","pluginName","assign","getRevisionsInDiff","isEnabled","plugins","selectRevision","_revisionViewer","isVisible","data","string","compare","render"];return(Co=function(){return t})()}const Fo=jo;function jo(t,e){const i=Co();return(jo=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(899332===parseInt(e(397))/1*(parseInt(e(440))/2)+-parseInt(e(396))/3*(parseInt(e(401))/4)+-parseInt(e(366))/5*(parseInt(e(386))/6)+parseInt(e(389))/7+-parseInt(e(376))/8+-parseInt(e(364))/9*(-parseInt(e(416))/10)+parseInt(e(370))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class Lo extends G.Plugin{[Fo(427)];[Fo(408)];[Fo(444)];static[Fo(398)]=[Fo(438),Fo(374),Fo(404)];static[Fo(395)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(367),action:({plugins:e},i)=>{const s=t,n=e[s(402)](ce),r=n[s(388)];let o=n[s(390)][s(418)],a=i.id;r[s(387)](o)>r[s(387)](a)&&([o,a]=[a,o]),n[s(431)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(402)](ce);return!(n[s(388)][s(423)](n[s(390)])[s(415)]>2||i[s(411)])}},restoreRevision:{name:t(393),action:(e,{id:i})=>{const s=t;e[s(435)][s(402)](s(436))[s(446)](i)},isVisible:({plugins:e},i)=>!!e[t(402)](ce)[t(388)][t(373)](i.id)},nameRevision:{name:t(433),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(402)](ce),o=r[n(388)][n(371)](i);r[n(431)](i,o),s[n(443)](),s[n(434)][n(407)]()}}}}();static get[Fo(421)](){return Fo(405)}static get[Fo(419)](){return!0}static get[Fo(410)](){return!0}static get[Fo(441)](){return[ce]}constructor(t){const e=Fo;super(t),this[e(427)]=t[e(425)][e(402)](ce),this[e(408)]=this[e(427)][e(388)],this[e(444)]=null}[Fo(406)](){const t=Fo,e=this[t(408)][t(412)],i=this[t(409)](),s=this[t(377)][t(435)][t(402)](t(400));this[t(444)]=new Eo(this[t(377)][t(378)],e,i,this[t(377)][t(435)][t(402)](t(392))),this[t(444)].on(t(399),this[t(394)][t(385)](this)),this[t(444)].on(t(383),this[t(368)][t(385)](this)),this[t(444)][t(385)](t(424)).to(this[t(427)]),this[t(444)][t(437)].on(t(417),(e,i)=>{const s=t;i[s(381)].on(s(417),(t,e)=>{const i=s;e[i(385)](i(424),i(413)).to(this[i(427)])})}),this[t(444)][t(432)](),this[t(403)](this[t(377)][t(429)],t(382),this[t(414)][t(385)](this)),this[t(403)](this[t(427)],t(445),this[t(369)][t(385)](this)),s[t(384)](this[t(444)][t(439)])}[Fo(380)](){const t=Fo;this[t(444)][t(439)][t(447)](),this[t(444)][t(380)]()}[Fo(414)](){const t=Fo,e=this[t(408)][t(391)](0);if(e){const i=this[t(408)][t(371)](e.id);this[t(427)][t(431)](e,i)}}[Fo(394)](t,e){const i=Fo,s=this[i(408)][i(391)](e.id),n=this[i(408)][i(371)](s.id);this[i(427)][i(431)](s,n)}[Fo(368)](t,e){const i=Fo;this[i(408)][i(391)](e.id)[i(365)](e[i(375)])}[Fo(369)](t,e,i){const s=Fo,n=this[s(408)][s(423)](i);n[s(415)]>2?(this[s(444)][s(372)](n),this[s(444)][s(426)](null)):(this[s(444)][s(372)]([]),this[s(444)][s(426)](n[0]))}[Fo(409)](){const t=Fo,e=this[t(377)],i=Lo[t(395)],s=e[t(435)][t(402)](t(379))||Lo[t(398)];if(s[t(415)])return s[t(442)](s=>{const n=t,r=n(430)==typeof s?Object[n(422)]({},i[s]):s;return r[n(420)]=r[n(420)][n(385)](this,e),r[n(428)]&&(r[n(428)]=r[n(428)][n(385)](this,e)),r})}}const Po=Wo;function zo(){const t=["_toolbarConfig","fire","getRoot","componentFactory","destroy","stickyPanel","ready","_view","editable","attachDomRoot","get","focusTracker","name","limiterElement","fillFromConfig","init","1525016EtLUAv","isActive","230902GzQcbW","3244911SaodaV","addToolbar","element","render","_initToolbar","config","rootName","toolbar","viewportOffset","restore","detachDomRoot","_elementReplacer","editor","258STeKSr","906760ZJxsZj","isFocused","document","replace","editing","view","1709990zoRrUT","86upjUHR","bind","117jhlPCG","701GAnVUr","viewportTopOffset","24996320jrtCrj","setEditableElement"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(758785===-parseInt(e(258))/1*(-parseInt(e(255))/2)+parseInt(e(234))/3+parseInt(e(231))/4+-parseInt(e(254))/5+-parseInt(e(247))/6*(parseInt(e(233))/7)+-parseInt(e(248))/8*(parseInt(e(257))/9)+parseInt(e(260))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Po(222)];[Po(262)];[Po(245)];get[Po(253)](){return this[Po(222)]}constructor(e,i){const s=Po;super(e),this[s(222)]=i,this[s(262)]=(0,It.normalizeToolbarConfig)(e[s(239)][s(225)](s(241))),this[s(245)]=new t.ElementReplacer}get[Po(236)](){const t=Po;return this[t(253)][t(236)]}[Po(230)](t){const e=Po,i=this[e(246)],s=this[e(253)],n=i[e(252)][e(253)],r=s[e(223)],o=n[e(250)][e(264)]();r[e(227)]=o[e(240)],s[e(237)]();const a=r[e(236)];this[e(261)](r[e(227)],a),s[e(223)][e(256)](e(249)).to(this[e(226)]),n[e(224)](a),this[e(245)][e(251)](t,this[e(236)]),this[e(238)](),this[e(263)](e(221))}[Po(266)](){const t=Po;super[t(266)]();const e=this[t(253)],i=this[t(246)][t(252)][t(253)];this[t(245)][t(243)](),i[t(244)](e[t(223)][t(227)]),e[t(266)]()}[Po(238)](){const t=Po,e=this[t(253)];e[t(220)][t(256)](t(232)).to(this[t(226)],t(249)),e[t(220)][t(228)]=e[t(236)],e[t(220)][t(256)](t(259)).to(this,t(242),({top:t})=>t),e[t(241)][t(229)](this[t(262)],this[t(265)]),this[t(235)](e[t(241)])}}var Zo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Dt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;function $o(){var t=["1718kVwmwX","stickyPanel","2674020fjPynT","editable","top","shouldToolbarGroupWhenFull","add","1086mrWfoo","95912YbEDgy","4744542ppSGLm","2044047tYunSg","35dQuAjp","toolbar","main","157728emRgjy","render","_editable","9227529bizdSq","content"];return($o=function(){return t})()}var qo=Bo;function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=397]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(745518===-parseInt(e(413))/1*(-parseInt(e(401))/2)+parseInt(e(404))/3+-parseInt(e(408))/4+-parseInt(e(415))/5+parseInt(e(403))/6+parseInt(e(405))/7*(-parseInt(e(402))/8)+-parseInt(e(411))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Jo extends It.BoxedEditorUIView{[qo(410)];[qo(414)];[qo(406)];get[qo(397)](){return this[qo(410)]}constructor(t,e,i={}){var s=qo;super(t),this[s(414)]=new It.StickyPanelView(t),this[s(406)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(399)]}),this[s(410)]=new It.InlineEditableUIView(t,e)}[qo(409)](){var t=qo;super[t(409)](),this[t(414)][t(412)][t(400)](this[t(406)]),this[t(398)][t(400)](this[t(414)]),this[t(407)][t(400)](this[t(397)])}}const Yo=Go;function Go(t,e){const i=Qo();return(Go=function(t,e){return i[t-=277]})(t,e)}function Qo(){const t=["initPlugins","config","40vZRlje","1754PIsBbJ","3481907bDauPt","34678FIyyhN","locale","editing","document","createRoot","destroy","get","view","10344fEzHcf","init","29700WLQuuE","updateSourceElement","create","_ui","1507EzzTIg","200usOmtL","fire","48hbQFIj","1827hLzRPh","1930cQQECb","ready","66vokboK","147715ZyydjI","model","data","initialData","sourceElement"];return(Qo=function(){return t})()}!function(t){const e=Go,i=t();for(;;)try{if(183662===parseInt(e(289))/1*(-parseInt(e(304))/2)+-parseInt(e(291))/3*(-parseInt(e(282))/4)+parseInt(e(296))/5*(parseInt(e(295))/6)+-parseInt(e(306))/7*(-parseInt(e(303))/8)+parseInt(e(292))/9*(parseInt(e(293))/10)+parseInt(e(288))/11*(-parseInt(e(284))/12)+parseInt(e(305))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Yo(287)];get ui(){return this[Yo(287)]}constructor(t,e){const i=Yo;super(e),this[i(300)]=t,this[i(297)][i(277)][i(278)]();const s=new Jo(this[i(307)],this[i(308)][i(281)],{shouldToolbarGroupWhenFull:!0});this[i(287)]=new Uo(this,s)}[Yo(279)](){const t=Yo;return this[t(285)](),this.ui[t(279)](),super[t(279)]()}static async[Yo(286)](t,e){const i=Yo,s=new this(t,e);return await s[i(301)](),await s.ui[i(283)](t),await s[i(298)][i(283)](s[i(302)][i(280)](i(299))||""),s[i(290)](i(294)),s}}const Ko=ta;function ta(t,e){const i=sa();return(ta=function(t,e){return i[t-=320]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(561373===parseInt(e(390))/1*(parseInt(e(382))/2)+-parseInt(e(333))/3+parseInt(e(405))/4+parseInt(e(451))/5*(-parseInt(e(380))/6)+-parseInt(e(464))/7+parseInt(e(424))/8+parseInt(e(417))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);const ea=[Ko(404),Ko(465),Ko(477),Ko(372),Ko(399),Ko(364),Ko(450)];class ia extends G.Plugin{[Ko(476)];static get[Ko(401)](){return Ko(339)}static get[Ko(321)](){return!0}static get[Ko(455)](){return!0}constructor(t){const e=Ko;function i(t){const e=ta;return t[e(411)](t=>String[e(388)](t))[e(460)]("")}super(t),this[e(476)]=e(442),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])})}}function sa(){const t=["translations","destroy","isEnabled","create","_recalculatePageBreaks","RevisionViewerIntegration","toLocaleTimeString","init","disableReadOnlyMode","restrictedEditingException","parse","RevisionHistoryUtils","numeric","toVersion","bind"," ck-tab-panel_disabled","getAttributeKeys","from","DocumentOutlineUI","isAttached","showRevisionViewerCallback","config","revision-history-viewer-opened","long","model","then","getMarkersGroup","revisionHistory.editorContainer","element","RevisionHistory","AIQuickActions","document","_update","locale","addUser","insert","includes","revisionHistory.viewerEditorElement","AIReviewMode","roots","addRoot","tabindex","keys","isReadOnly","toolbar","set","6016674bUcSFZ","update","140426eVYecV","requires",".ck-ai-chat-history .ck-input","revisionHistory.viewerContainer","_getRevisionViewerEditorConfig","block","fromCharCode","RevisionTracker","7ndSXXg","RevisionsRepository","getRevisionRootsAttributes","_enhanceShowRevisionViewerCallback","users","ck-tab-panel_disabled","enqueueChange","isOpen","toLocaleDateString","AIBalloon",".ck-ai-chat__prompt-input .ck-textarea","pluginName","closeRevisionViewerCallback","AIChatHistory","RevisionHistoryUI","2230092TixbyN","DocumentOutline","RevisionViewer","Users","addRevisionData","revisionHistory.requireRevisionName","map","lazyRoots","_enhanceCloseRevisionViewerCallback","isReady","toJSON","uiLanguage","8258121BmhDuF","name","has","_cleanUp","_closeRevisionViewer","hide","panelViews","7582744FyMCJO","saveRevision","setSelection","loadRevisionData","define","exitToEditing","refreshPositioning","repository","revisionHistory.closeRevisionViewerCallback","removeMarker","indexOf","catch","adapter","error","data","markers","Autosave","Annotations","end","_restoreRevision","getRoot","view","setAttribute","fromVersion","revisionHistory.showRevisionViewerCallback","removeSelectionAttribute","AIActions","5PxKUvB","getRevisionDocumentData","isRevisionViewerOpen","PaginationLookup","isPremiumPlugin","none","restoreRevision","remove","getRevisions","join","$graveyard","display","detachRoot","7256382wNDnaz","RestrictedEditingMode","Restored","querySelector","save","createRangeIn","replace","revisionHistory.restoreRevisionCallback","changesNavigation","editor","plugins","selection","result","AIChat","getUser","removeAttribute","class","revision-history-missing-configuration","isAnonymous","rootName","push","refreshVisibility","style","enableReadOnlyMode","isOfficialPlugin","getRevision","revisionHistory","_viewerEditor","Dialog","creator","createdAt","commands","change","_showRevisionViewer","AITabs","get","940944cDTypP"];return(sa=function(){return t})()}class na extends G.Plugin{[Ko(324)];static get[Ko(401)](){return Ko(363)}static get[Ko(321)](){return!0}static get[Ko(455)](){return!0}static get[Ko(383)](){return[pt,$t]}constructor(e){const i=Ko;if(super(e),!this[i(473)][i(355)][i(332)](i(323)))throw new t.CKEditorError(i(481),this);this[i(324)]=null,this[i(379)](i(453),!1),this[i(473)][i(355)][i(428)](i(448),t=>this[i(330)]({...t,translations:this[i(473)][i(367)][i(334)]})),this[i(473)][i(355)][i(428)](i(432),t=>this[i(421)](t)),this[i(473)][i(355)][i(428)](i(471),t=>this[i(443)](t)),this[i(473)][i(355)][i(428)](i(410),!1),this[i(393)](),this[i(413)]()}set[Ko(436)](t){const e=Ko;this[e(473)][e(474)][e(332)](e(389))[e(436)]=t}get[Ko(436)](){const t=Ko;return this[t(473)][t(474)][t(332)](t(389))[t(436)]}[Ko(409)](t){const e=Ko;return this[e(473)][e(474)][e(332)](e(389))[e(409)](t)}[Ko(322)](t){const e=Ko;return this[e(473)][e(474)][e(332)](e(391))[e(322)](t)}[Ko(459)](t){const e=Ko;return this[e(473)][e(474)][e(332)](e(391))[e(459)](t||{toJSON:!1})}[Ko(386)](){const e=Ko,i=this[e(473)],s=(0,Q.sanitizeEditorConfig)(i,ea),n=i[e(474)][e(332)](e(389)),r=i[e(474)][e(332)](e(408))[e(394)];return s[e(378)]=[e(429),e(457),e(472)],delete s[e(412)],s[e(474)][e(484)](ia,ce,Ne,class extends G.Plugin{static get[e(383)](){return[ce,e(408)]}[e(341)](){const s=e,o=this[s(473)][s(474)][s(332)](s(408));for(const t of r)t[s(482)]||o[s(478)](t.id)||o[s(368)](t);const a=n[s(431)][s(459)]();let c=null;const u=this[s(473)][s(474)][s(332)](s(407));u[s(436)]=n[s(436)],u[s(348)](s(336)).to(n),this[s(473)][s(328)][s(332)](s(457))[s(348)](s(336)).to(i,s(377),t=>!t);for(const e of a){const i=null===e[s(326)];if(i&&e[s(347)]===e[s(447)])continue;const r=e[s(415)]();u[s(409)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(366)](r,o);else if(!o){const e=a[u(415)]();e.id=(0,t.uid)(),n[u(425)](e,a[u(347)])[u(359)](t=>{c=t})}}else e[u(366)](r,o)})}}},Lo),s}[Ko(393)](){const t=Ko,e=this[t(473)][t(355)][t(332)](t(323))[t(354)];this[t(473)][t(355)][t(379)](t(448),async()=>{const i=t;this[i(473)][i(320)](i(356));const s=this[i(473)][i(474)][i(332)](i(389));if(this[i(473)][i(474)][i(419)](i(440))){const t=this[i(473)][i(474)][i(332)](i(440));await t[i(468)]()}else await s[i(381)]();if(this[i(473)][i(474)][i(419)](i(454))&&this[i(473)][i(474)][i(332)](i(454))[i(338)](),this[i(473)][i(474)][i(419)](i(325))){const t=this[i(473)][i(474)][i(332)](i(325));t[i(397)]&&t[i(422)]()}if(this[i(473)][i(474)][i(419)](i(331))){const t=this[i(473)][i(474)][i(332)](i(331))[i(445)][i(423)];for(const e of t)e[i(480)]=e[i(480)]?e[i(480)]+i(349):i(395);if(this[i(473)][i(474)][i(419)](i(477))){const t=document[i(467)](i(400));t&&t[i(446)](i(375),"-1")}if(this[i(473)][i(474)][i(419)](i(403))){const t=document[i(467)](i(384));t&&t[i(446)](i(375),"-1")}}const n=this[i(386)]();return e(n)[i(359)](t=>{const e=i;return this[e(324)]=t,this[e(473)][e(474)][e(419)](e(441))&&this[e(473)][e(474)][e(332)](e(441))[e(485)](),this[e(473)][e(474)][e(419)](e(406))&&(this[e(473)][e(474)][e(332)](e(352))[e(445)][e(362)][e(486)][e(462)]=e(456)),t})[i(435)](t=>(console[i(437)](t),this[i(473)][i(342)](i(356)),null))})}[Ko(413)](){const t=Ko,e=this[t(473)][t(355)][t(332)](t(323))[t(402)];this[t(473)][t(355)][t(379)](t(432),()=>{const i=t;if(this[i(473)][i(474)][i(419)](i(454))&&this[i(473)][i(474)][i(332)](i(454))[i(338)](),this[i(473)][i(474)][i(419)](i(406))&&(this[i(473)][i(474)][i(332)](i(352))[i(445)][i(362)][i(486)][i(462)]=""),this[i(473)][i(474)][i(419)](i(331))){const t=this[i(473)][i(474)][i(332)](i(331))[i(445)][i(423)];for(const e of t)e[i(480)]=i(395)===e[i(480)]?"":e[i(480)][i(470)](i(349),"");if(this[i(473)][i(474)][i(419)](i(477))){const t=document[i(467)](i(400));t&&t[i(479)](i(375))}if(this[i(473)][i(474)][i(419)](i(403))){const t=document[i(467)](i(384));t&&t[i(479)](i(375))}}return this[i(324)][i(474)][i(332)](i(407))[i(420)](),e(this[i(324)])[i(359)](()=>{const t=i;if(this[t(473)][t(342)](t(356)),this[t(324)]=null,this[t(473)][t(474)][t(419)](t(441))){const e=this[t(473)][t(474)][t(332)](t(441));e[t(485)](),e[t(430)]()}})})}[Ko(330)](t){const e=Ko,i=this[e(473)][e(355)][e(332)](e(361)),s=this[e(473)][e(355)][e(332)](e(385)),n=this[e(473)][e(355)][e(332)](e(371));return Xo[e(337)](n,t)[e(359)](t=>(s[e(486)][e(462)]=e(387),i[e(486)][e(462)]=e(456),this[e(453)]=!0,t))}[Ko(421)](t){const e=Ko,i=this[e(473)][e(355)][e(332)](e(361));return this[e(473)][e(355)][e(332)](e(385))[e(486)][e(462)]=e(456),i[e(486)][e(462)]="",this[e(453)]=!1,t[e(335)]()}async[Ko(443)](t){const e=Ko,i=this[e(473)],s=this[e(324)][e(474)][e(332)](e(407)),n=i[e(474)][e(332)](e(389)),r=i[e(474)][e(332)](e(345)),o=s[e(431)][e(322)](t);let a,c,u;try{await r[e(427)](o,this[e(436)]),a=r[e(452)](o),c=r[e(392)](o)}catch(t){return void console[e(437)](t)}i[e(358)][e(329)](t=>{const s=e;for(const e of Array[s(351)](i[s(358)][s(439)][s(360)](s(343))))t[s(433)](e)}),s[e(414)]=!1,i[e(358)][e(396)](t=>{const s=e;t[s(426)](null),t[s(449)](i[s(358)][s(365)][s(475)][s(350)]());const n=Object[s(376)](a);for(const e of i[s(358)][s(365)][s(373)])s(461)!=e[s(483)]&&e[s(353)]()&&!n[s(370)](e[s(483)])&&t[s(463)](e);for(const e of n){let n=i[s(358)][s(365)][s(444)](e);n&&n[s(353)]()||(n=t[s(374)](e));const r=c[e],o=Object[s(376)](r),u=a[e];for(const e of n[s(350)]())o[s(370)](e)||t[s(479)](e,n);for(const i of o)t[s(446)](i,c[e][i],n);t[s(458)](t[s(469)](n)),t[s(369)](i[s(438)][s(344)](u,n),n,0)}});const l=at(i[e(367)],e(466));return u=o[e(418)]?-1==o[e(418)][e(434)](l)?l+": "+o[e(418)]:o[e(418)]:l+": "+o[e(327)][e(398)](i[e(367)][e(416)],{month:e(357),day:e(346)})+", "+o[e(327)][e(340)](i[e(367)][e(416)],{hour:e(346),minute:e(346)}),await n[e(425)]({name:u}),s[e(414)]=!0,i[e(355)][e(332)](e(323))[e(402)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=233]})(t,e)}function oa(){var t=["1002464UtlpLq","77MrvzlM","7939881ArgLFo","6549170eRHeSm","4OlcPRy","70674pjHovn","22966MFsZFI","25620881pyuNxl","1075611IxDuho","28qkrOsZ","195ghhrmX"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(492534===parseInt(e(241))/1*(parseInt(e(235))/2)+-parseInt(e(237))/3*(-parseInt(e(233))/4)+-parseInt(e(239))/5*(parseInt(e(234))/6)+parseInt(e(238))/7*(parseInt(e(240))/8)+parseInt(e(242))/9+parseInt(e(243))/10+-parseInt(e(236))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},102:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},297:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},929:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Po,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function P(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function Z(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=j(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?U(e)?H(t,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function $(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const q=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=382]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(366262===-parseInt(e(386))/1*(parseInt(e(392))/2)+-parseInt(e(387))/3+-parseInt(e(400))/4*(-parseInt(e(383))/5)+parseInt(e(393))/6+parseInt(e(398))/7+-parseInt(e(388))/8+-parseInt(e(404))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[q(394)];[q(385)];[q(402)];[q(407)];[q(399)];[q(409)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(394)]=e[i(394)]||null,this[i(385)]=e[i(385)]||[],this[i(402)]=e[i(402)]||null,this[i(407)]=e[i(407)]||0,this[i(399)]=e[i(399)]||0,this[i(406)](i(389),e[i(389)]||""),this[i(406)](i(395),e[i(395)]||new Date),this[i(406)](i(396),e[i(396)]||{})}[q(401)](t){this[q(408)]({name:t})}[q(382)](t,e){const i=q,s=R(this[i(396)]);Z(s,t,e),this[i(408)]({attributes:s})}[q(384)](t){const e=q,i=R(this[e(396)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=j(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&U(e))return $(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(408)]({attributes:i})}[q(408)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(389),i(395),i(402),i(385),i(396),i(407),i(399),i(403)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(385)]&&(n[i(391)]=n[i(385)][i(405)](t=>t.id),delete n[i(385)]),this[i(390)](i(408),n,e))}[q(397)](){const t=q;return{id:this.id,name:this[t(389)],creatorId:this[t(394)]?this[t(394)].id:null,authorsIds:this[t(385)][t(405)](t=>t.id),diffData:this[t(402)],createdAt:this[t(395)],attributes:this[t(396)],fromVersion:this[t(399)],toVersion:this[t(407)]}}}function J(){const t=["authors","1194SNhkee","1429656vOAJgj","1137608yaLtUZ","name","fire","authorsIds","176tDnMJD","1484460BlFGSY","creator","createdAt","attributes","toJSON","3212664KqjTPy","fromVersion","16VkidDl","setName","diffData","creatorId","2451087QUCsZD","map","set","toVersion","_update","model","setAttribute","820085PmunKB","removeAttribute"];return(J=function(){return t})()}var G=i(782),K=i(211),X=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=129]})(t,e)}function et(){const t=["creatorId","attributes","authorsIds","fromVersion","createRevision","oldRevisionId","getRevisionsIterator","get","isNaN","push","newRevisionId","editor","_revisions","getUser","getRevisions","add","reverse","createdAt","later","7ZuSEMM","6124960pCNBTL","getLaterVisibleRevision","data","135435frNRLL","map","3353481mdDUPA","37786uAVCbT","plugins","toVersion","91291DEHMke","Users","54xAKazp","pluginName","toJSON","href","RevisionsRepository","afterInit","fromCharCode","57ksqIit","addRevision","1272664sSXutc","isPremiumPlugin","519736GJucgL","name","length","requires","getRevisionsInDiff","join","isOfficialPlugin","earlier","from","getIndex","diffData","getEarlierVisibleRevision","getRevision"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(625865===-parseInt(e(171))/1+-parseInt(e(168))/2*(-parseInt(e(180))/3)+-parseInt(e(182))/4+-parseInt(e(165))/5*(parseInt(e(173))/6)+-parseInt(e(161))/7*(parseInt(e(129))/8)+parseInt(e(167))/9+parseInt(e(162))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(154)];static get[Q(132)](){return[K.Users]}static get[Q(174)](){return Q(177)}static get[Q(135)](){return!0}static get[Q(183)](){return!0}get[Q(131)](){const t=Q;return this[t(154)][t(131)]}constructor(e){const i=Q;super(e),this[i(154)]=new t.Collection}[Q(178)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[y([121])]:y([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=tt;return t[e(166)](t=>String[e(179)](t))[e(134)]("")}!function(t){const i=u();r[i]=y([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||p(y([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1770163200;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=tt,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(176)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=tt;for(const e in window)if(window[y([78,117,109,98,101,114])][i(150)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[Q(146)](t){const e=Q,i=this[e(153)][e(169)][e(149)](e(172));return new Y({id:t.id,name:t[e(130)],creator:t[e(142)]?i[e(155)](t[e(142)]):null,diffData:t[e(139)]||t[e(164)],authors:t[e(144)][e(166)](t=>i[e(155)](t)),createdAt:new Date(t[e(159)]),attributes:t[e(143)],fromVersion:t[e(145)],toVersion:t[e(170)]})}[Q(181)](t,e=0){const i=Q;this[i(154)][i(157)](t,e)}[Q(141)](t){const e=Q;return this[e(154)][e(149)](t)}[Q(156)](t={toJSON:!1}){const e=Q,i=Array[e(137)](this[e(154)]);return i[e(158)](),t[e(175)]?i[e(166)](t=>t[e(175)]()):i}[Q(138)](t){const e=Q;return this[e(154)][e(138)](t)}[Q(140)](t){const e=Q,[,i]=this[e(148)](t,{direction:e(136)});return i}[Q(163)](t){const e=Q,[,i]=this[e(148)](t,{direction:e(160)});return i}[Q(133)](t){const e=Q,i=[];for(const s of this[e(148)](t[e(152)]))if(i[e(151)](s),s.id===t[e(147)])break;return i}*[Q(148)](t,{direction:e=Q(136),filter:i=()=>!0}={}){const s=Q,n=s(136)===e?1:-1;let r=this[s(154)][s(149)](t),o=this[s(138)](r);for(yield r;r;){if(o+=n,r=this[s(141)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(651623===parseInt(e(522))/1*(-parseInt(e(492))/2)+parseInt(e(488))/3+parseInt(e(489))/4*(-parseInt(e(498))/5)+-parseInt(e(516))/6*(parseInt(e(554))/7)+-parseInt(e(548))/8*(parseInt(e(484))/9)+-parseInt(e(514))/10*(parseInt(e(487))/11)+-parseInt(e(481))/12*(-parseInt(e(480))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[st(546)](){return st(527)}static get[st(544)](){return!0}static get[st(536)](){return!0}[st(518)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(503)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(483)](t,e){const i=st;if(t[i(540)]||!e)return;const s=this[i(525)][i(499)][i(485)](i(509)),n=await e[i(500)]({channelId:s,revisionId:t.id});t[i(540)]=n[i(540)]}[st(493)](t){const e=st,i={};for(const s in t[e(540)]){if(t[e(540)][s][e(515)]&&!t[e(540)][s][e(515)][e(486)])continue;const n=this[e(502)](JSON[e(524)](t[e(540)][s][e(479)])),r=this[e(525)][e(517)][e(538)][e(537)],o=new X.ViewDocumentFragment(r,n[e(482)](t=>this[e(534)](t,!1)));this[e(525)][e(507)][e(496)][e(543)](e(494)),i[s]=this[e(525)][e(507)][e(496)][e(535)](o),this[e(525)][e(507)][e(496)][e(543)](e(491))}return i}[st(545)](t){const e=st,i={};for(const s in t[e(540)])t[e(540)][s][e(515)]&&!t[e(540)][s][e(515)][e(486)]||(i[s]=t[e(540)][s][e(523)]||{});return i}[st(513)](t){const e=st;return this[e(518)][e(485)](t[e(478)])}[st(534)](t,e){const i=st,s=this[i(525)][i(517)][i(538)][i(537)];if(i(505)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(526)]||"r"==t[i(526)]?[]:t[i(506)][i(482)](t=>this[i(534)](t,e));const o=this[i(503)][i(485)](t[i(526)])||X.ViewElement,a=this[i(525)][i(507)][i(542)][i(549)];if(n=new o(s,t[i(510)],t[i(508)],r),"u"==t[i(526)]&&t[i(506)][0]){const r=t[i(506)][0];if(n[i(553)]=function(t){const e=i,s=t[e(555)](e(532));return s[e(550)]=r,s[e(501)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(533)](n);const e=Array[i(552)](a[i(529)](t,{bind:!1})),r=a[i(551)][i(555)](i(532));r[i(519)](...e),n=Array[i(552)](a[i(504)](r))[0]}}else if("r"==t[i(526)]&&t[i(506)][0]){const r=t[i(506)][0];if(n[i(553)]=function(t){t[i(550)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(533)](n);const e=Array[i(552)](a[i(529)](t,{bind:!1})),r=a[i(551)][i(555)](i(532));r[i(519)](...e);const o=Array[i(552)](a[i(504)](r));o[i(511)]>1?n[i(533)](o):n=o[0]}}if(t[i(531)])for(const[e,s]of t[i(531)])n[i(539)](e,s);const c=void 0===t[i(521)]?null:t[i(521)];return null!==c&&(n[i(495)]=()=>c),n}}[st(530)](t){const e=st,i=JSON[e(524)](t),s=this[e(525)][e(517)][e(538)][e(537)],n=new X.ViewDocumentFragment(s,i[e(482)](t=>this[e(534)](t,!0)));return this[e(525)][e(507)][e(490)](n)}[st(502)](t){const e=st;return(t=t[e(512)](t=>!t[e(510)]||e(497)!==t[e(510)]&&e(541)!==t[e(510)]))[e(528)](t=>{const i=e;i(505)!=typeof t&&(t[i(506)]=this[i(502)](t[i(506)]),t[i(508)]=t[i(508)][i(512)](t=>!t[0][i(547)](i(520))))}),t}}function ot(){const t=["isPremiumPlugin","document","view","_setCustomProperty","diffData","revision-end","htmlProcessor","useFillerType","isOfficialPlugin","getRevisionRootsAttributes","pluginName","startsWith","8CbsCCJ","domConverter","innerHTML","domDocument","from","render","366037xTJctn","createElement","constructor","insertions","14915823yoLmEE","36rUKLBy","map","loadRevisionData","9245736yVTmAh","get","isAttached","6878938XloWAB","3015414reJHip","612nqCSXy","toModel","default","218lvoxWo","getRevisionDocumentData","marked","getFillerOffset","processor","revision-start","28195MJyhNI","config","getRevision","childNodes","_removeRevisionMarkers","_typeCharToViewClass","domChildrenToView","string","children","data","attributes","collaboration.channelId","name","length","filter","_getTypeCharForViewElement","10XfdYmn","attachChange","114DCtwtl","editing","_viewClassToTypeChar","append","data-revision-","fillerOffset","2630CsAjVz","attributesAfter","parse","editor","type","RevisionHistoryUtils","forEach","viewChildrenToDom","_makeModelFromViewString","customProperties","div","_appendChild","_getViewFromDiffObj","toData"];return(ot=function(){return t})()}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,T));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&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 mt(){const t=["$text","_touchedRoots","_createCurrentRevision","shift","clear","keys","_handleRootOperation","set","destroy","key","_revisionId","_findInsertionIndex","howMany","outerHTML","rawElement","attributesBefore","revisionHistoryLicenseKeyNotAllowed","_getVidAttributeName","Empty document","ready","sendBufferedUpdates","addRootAttribute","$comment","root","_handleMoveOperation","afterInit","resolve","config","_generateTape","_licenseKeyCheckInterval","_source","initial","text","slice","Users","_utils","fromVersion","revision","getMovedRangeStart","plugins","_diffRoots","_appendChild","diffData","1423205eHvnvy","_replaceEditorDataWithRevisionData","end","_insertChild","define","_reset","insertionPosition","_startingRevisionId","_execute","_baseIdsRoots","_getState","_update","getNodeByPath","expired","reinsert","_handleMergeOperation","removeRootAttribute","name","_removePendingAction","getIndex","_showLicenseError","getRoot","stringify","createPositionAfter","has","_clone","getOperations","_touchedMarkers","model","_isInit","revisionHistoryLicenseKeyExpired","insertion","range","vid_start","affectsData","getAttribute","document","size","finally","_pendingAction","changeRootAttribute","1dieyKD","_initialRevisionId","userId","addRevision","domainLimit","addRevisionData","fillerOffset","RevisionTracker","nodeAfter","getLatestVersion","marker","rootsAttributes","_removeMetaData","816528Fvdxfs","_lastFrom","_bufferedUpdates","createRevision","oldRange","getOperation","dataToMarker","getRootNames","_baseRoots","PENDING_ACTION_REVISION_HISTORY","conversion","_getTypeCharForViewElement","toVersion","788eVAJiW","_createFromRanges","_processRootBeforeSave","fromEntries","move","RevisionsRepository","reInit","getUser","targetPosition","insertions","isOfficialPlugin","find","_authorId","vid_end","innerHTML","_fixOperation","_markers","createRangeIn","initialData","data","position","revisionHistoryLicenseKeyUsageLimit","delete","insert","_fixPosition","116590DBopqL","collaboration.channelId","creator","authorsIds","_saveMetaData","markers","string","revisionHistoryLicenseKeyValid","childCount","repository","render","trim","isAdd","_bufferUpdate","RevisionHistory","PendingActions","isPremiumPlugin","source","markerToData","_isAttached","NEGATIVE_INFINITY","8ckGbrP","from","some","keepParagraph","newRange","90QQWmhO","getFillerOffset","reverse","_getFromVersion","push","remove","max","22Cikeoy","updateRevisions","attributesAfter","deletions","getRevisionDocumentData","getRevisionRootsAttributes","_handleInsertOperation","for","350394jrXqdG","dataDowncast","_idsRoots","locale","_addPendingAction","getRevisions","merge","getAncestors","startsWith","type","newValue","getTime","addRoot","_handleSplitOperation","featureNotAllowed","RealTimeCollaborationClient","871625SnWbDr","saveRevision","isEqual","hasContent","paragraph","_loadState","isAttached","_operations","getWalker","getTransformedByOperation","getRevision","then","_isPendingUpdate","splitPosition","buildRevisionData","get","_baseRootsAttributes","elementStart","requires","upcast","path","_lastTo","_calculateMetaData","createPositionAt","_getPreviousFrom","_applyOperations","setSource","isReady","rootName","_fixRange","clone","detachRoot","setRevisionData","revisionHistoryLicenseKeyDomainLimit","offsetSize","domConverter","getRange","deletion","nodes","creatorId","getCurrentRevisionId","element","documentFragment","length","_handleOperation","authors","previousPosition","attachChange","start","htmlProcessor","createPositionFromPath","revisionHistory.resumeUnsavedRevision","_prepareViewToSave","createElement","RevisionHistoryUtils","roots","_makeRevision","domDocument","loadState","offset","_getBaseVids","_startingVersion","_setConversion","editor-initial-data-replaced-with-revision-data","sort","adapter","vid","getData","tableCell","currentRevision","_diffRootsAttributes","includes","_cloneOperation","item","filter","_touched","_copyMarkers","_makeModelFromViewString","isEnabled","version","_makeIdsRoot","editor","createRange","usageLimit","_loadedStateData","stickiness","history","pluginName","_getViewJson","uiElement","_handleMarkerOperation","baseVersion","customProperties","graveyardPosition","getChildren","revisionHistoryLicenseKeyEvaluationLimit","evaluationLimit","$graveyard","split","parent","invalid","elementEnd","_createInitialRevision","285DDgVnR","_revisionDataBuilder","bind","_markChanges","getCustomProperties","getChild","149054kdotTN","getAttributes","add","toView","_continueCurrentRevision","revision:","Initial revision","licenseKey","revisionHistoryLicenseKeyInvalid","_setAttribute","map","children","init","_savedMetaData","createdAt","_handleRootAttributeOperation","values","_transformMarkers","loadRevisionData","sourcePosition","update","createPositionBefore"];return(mt=function(){return t})()}!function(t){const e=yt,i=t();for(;;)try{if(123703===parseInt(e(461))/1*(parseInt(e(678))/2)+parseInt(e(672))/3*(-parseInt(e(487))/4)+-parseInt(e(569))/5+parseInt(e(553))/6+parseInt(e(420))/7*(parseInt(e(533))/8)+parseInt(e(538))/9*(parseInt(e(512))/10)+parseInt(e(545))/11*(-parseInt(e(474))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(685)];[ft(729)];[ft(638)]=null;[ft(521)];[ft(634)]=null;[ft(673)];[ft(730)];[ft(462)];[ft(476)];[ft(735)];[ft(459)];[ft(682)];[ft(630)];[ft(653)];static get[ft(656)](){return ft(468)}static get[ft(497)](){return!0}static get[ft(528)](){return!0}static get[ft(587)](){return[K.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(521)]=this[i(650)][i(416)][i(584)](i(492)),this[i(735)]=this[i(650)][i(416)][i(584)](i(623)),this[i(673)]=new vt(this[i(650)]),this[i(462)]=this[i(650)][i(727)][i(584)](i(513))||i(731),this[i(476)]=new Map,this[i(653)]=null;const s=(0,t.uid)();this[i(730)]={history:this[i(650)][i(448)][i(456)][i(655)],getLatestVersion:()=>Promise[i(726)](this[i(650)][i(448)][i(456)][i(648)]),getCurrentRevisionId:()=>s},this[i(707)](i(596),!1),this[i(707)](i(647),!0),this[i(707)](i(581),!1),this[i(650)][i(727)][i(424)](i(620),!0),this[i(650)][i(484)][i(552)](i(588))[i(480)]({view:i(737)})}[ft(690)](){const t=ft;this[t(631)](),this[t(650)][t(506)].on(t(719),()=>{const e=t,i=this[e(521)][e(579)](0),s=i&&null===i[e(514)]?i:null;if(this[e(682)]=!!s&&this[e(650)][e(727)][e(584)](e(620)),this[e(650)][e(416)][e(444)](e(568))){const t=this[e(730)][e(609)](),n=this[e(521)][e(579)](t);if(n)this[e(630)]=n[e(736)],this[e(682)]=!1;else{const t=this[e(730)][e(655)][e(576)][e(498)](t=>!t[e(449)]),n=t?t[e(660)]:this[e(730)][e(655)][e(648)];i?(i[e(486)]<n&&i[e(431)]({toVersion:n}),this[e(682)]?(this[e(730)][e(609)]=()=>s.id,this[e(630)]=s[e(736)]):(this[e(630)]=i[e(486)],this[e(682)]=!1)):(this[e(630)]=n,this[e(682)]=!1)}}else s&&(this[e(650)][e(448)][e(456)][e(655)][e(648)]=Math[e(544)](s[e(486)],this[e(650)][e(448)][e(456)][e(655)][e(648)]),s[e(736)]===s[e(486)]?(0!==s[e(736)]&&(this[e(730)][e(609)]=()=>s.id),this[e(682)]=!1):this[e(682)]&&(this[e(730)][e(609)]=()=>s.id,this[e(630)]=s[e(736)])),this[e(682)]||(this[e(630)]=this[e(650)][e(448)][e(456)][e(648)]);this[e(673)][e(690)](this[e(730)][e(655)]),this[e(671)](this[e(630)]),this[e(702)](this[e(630)]),this[e(634)]&&this[e(720)]()}),this[t(674)](t(596)).to(this,t(581),t=>!t),this[t(685)]=this[t(650)][t(727)][t(584)](t(685));const e=this[t(650)];this[t(729)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(519)==r||i(686)==r||i(450)==r||i(602)==r||i(716)==r||i(664)==r||i(508)==r){delete e[n],s=r,clearInterval(this[i(729)]),this[i(729)]=void 0;break}}i(686)==s&&e[i(440)](i(669)),i(450)==s&&e[i(440)](i(433)),i(602)==s&&e[i(440)](i(465)),i(716)==s&&e[i(440)](i(567),i(526)),i(664)==s&&e[i(440)](i(665)),i(508)==s&&e[i(440)](i(652))},1e3)}async[ft(725)](){const t=ft;if(this[t(521)][t(612)]>0){const e=this[t(521)][t(579)](0),i=await this[t(549)](e),s=await this[t(550)](e);this[t(421)](i,s)}}[ft(708)](){const t=ft;super[t(708)](),this[t(729)]&&clearInterval(this[t(729)])}[ft(595)](t){this[ft(730)]=t}async[ft(698)](){const t=ft,e=await this[t(730)][t(470)]();if(e>this[t(638)][t(486)]){await this[t(574)]();const i=this[t(583)]({revision:this[t(638)],to:e});i[t(614)]=i[t(515)][t(688)](e=>this[t(650)][t(416)][t(584)](t(734))[t(494)](e)),this[t(638)][t(431)](i)}}async[ft(570)](e={},i=null){const s=ft,n=[];await this[s(574)](),this[s(682)]=!1,i>this[s(638)][s(486)]&&(i=null),null===i&&(i=await this[s(730)][s(470)]());const r=this[s(541)](i),o=this[s(583)]({from:r,to:i});if(this[s(638)][s(486)]<i){const t=this[s(583)]({revision:this[s(638)],from:i,to:i});t[s(614)]=[],t[s(515)]=[],t.id=this[s(638)].id,this[s(638)][s(431)](t,!0),delete t[s(614)],n[s(542)](t)}e[s(608)]=this[s(650)][s(416)][s(584)](s(734)).me.id,e[s(437)]=e[s(437)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(466)](e);n[s(542)](e);const c=this[s(521)][s(439)](a);if(0!==c){const t=this[s(521)][s(579)](c-1);if(t[s(736)]!==i){const r=this[s(673)][s(636)](i,t[s(486)]),o={id:t.id,diffData:r[s(419)],authorsIds:r[s(515)],authors:r[s(515)][s(688)](t=>this[s(650)][s(416)][s(584)](s(734))[s(494)](t)),fromVersion:i};t===this[s(638)]&&(o[s(692)]=new Date(e[s(692)][s(564)]()+10)),t[s(431)](o,!0),delete o[s(614)],n[s(542)](o)}}if(this[s(634)]){for(const t of n)this[s(525)](t.id,t,!0);this[s(720)]()}return a}[ft(466)](t){const e=ft,i=this[e(521)][e(477)](t);return this[e(634)]&&i.on(e(431),(t,i,s)=>{const n=e;s||(this[n(525)](i.id,i,!0),this[n(720)]())}),this[e(521)][e(464)](i,this[e(711)](i)),i}async[ft(549)](t){const e=ft;return await this[e(735)][e(696)](t,this[e(634)]),this[e(735)][e(549)](t)}async[ft(550)](t){const e=ft;return await this[e(735)][e(696)](t,this[e(634)]),this[e(735)][e(550)](t)}[ft(720)](){const t=ft;if(0===this[t(476)][t(457)])return;if(this[t(581)])return;let e=Array[t(534)](this[t(476)][t(694)]());this[t(476)][t(704)]();for(let i=0;i<e[t(612)];i++){const s=e[i];let n=!1;for(const e of Object[t(705)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(643)](t=>null!==t),!e[t(612)])return;for(let i=0;i<e[t(612)];i++){const s=e[i];void 0!==s[t(736)]&&void 0===s[t(486)]&&(s[t(486)]=this[t(521)][t(579)](s.id)[t(486)]),void 0!==s[t(486)]&&void 0===s[t(736)]&&(s[t(736)]=this[t(521)][t(579)](s.id)[t(736)])}const i=this[t(650)][t(727)][t(584)](t(513));this[t(581)]=!0,this[t(557)](),this[t(634)][t(546)](e,i)[t(458)](()=>{this[t(581)]=!1})[t(580)](e=>{const i=t;if(e)for(const t of e)this[i(601)]({id:t.id,createdAt:t[i(692)]});this[i(438)](),this[i(720)]()})}[ft(583)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(736)],i=null!==i?i:t[s(486)];const n=this[s(673)][s(636)](e,i),r={diffData:n[s(419)],authorsIds:n[s(515)],fromVersion:e,toVersion:i};if(!t||i!==t[s(486)]){const t=i-1,e=this[s(730)][s(655)][s(479)](t);r[s(692)]=e&&e[s(692)]||new Date}if(this[s(653)]&&e===this[s(653)][s(736)])for(const t of this[s(653)][s(614)])r[s(515)][s(640)](t.id)||r[s(515)][s(542)](t.id);return r}[ft(525)](t,e,i){const s=ft;if(this[s(476)][s(444)](t)){const n=this[s(476)][s(584)](t);e=i?{...n,...e}:{...e,...n}}this[s(476)][s(707)](t,e)}[ft(601)](t){const e=ft,i=this[e(521)][e(579)](t.id);if(t[e(692)]&&(t[e(692)]=new Date(t[e(692)])),t[e(515)]){const i=this[e(650)][e(416)][e(584)](e(734));t[e(614)]=t[e(515)][e(688)](t=>i[e(494)](t))}i[e(431)](t,!0)}[ft(671)](t){const e=ft,i=this[e(521)][e(579)](this[e(521)][e(612)]-1);if(i)this[e(462)]=i.id;else{const i=!this[e(650)][e(448)][e(456)][e(624)][e(498)](t=>this[e(650)][e(448)][e(572)](t)),s=this[e(650)][e(416)][e(584)](e(734)).me.id,n=at(this[e(650)][e(556)],e(i?718:684));this[e(625)]({from:t,to:t,id:this[e(462)],name:n,creatorId:s})}}[ft(702)](t){const e=ft,i=this[e(730)][e(609)]();this[e(638)]=this[e(521)][e(579)](i),this[e(638)]||(this[e(638)]=this[e(625)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(574)](){const t=ft;this[t(682)]&&!this[t(653)]&&(await this[t(735)][t(696)](this[t(638)],this[t(634)]),this[t(673)][t(627)](this[t(638)]),this[t(653)]={fromVersion:this[t(638)][t(736)],authors:this[t(638)][t(614)][t(733)]()})}[ft(421)](e,i){const s=ft;let n=this[s(650)][s(727)][s(584)](s(505)),r=this[s(650)][s(727)][s(584)](s(472));if(void 0===n){n={};for(const t of this[s(650)][s(448)][s(456)][s(481)]())n[t]=""}if(s(518)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(650)][s(448)][s(456)][s(481)]())r[t]={}}let o=!1;const a=Object[s(705)](n),c=Object[s(705)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(523)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(705)](r[t])[s(612)]>0){o=!0;break}}o||(o=c[s(535)](t=>!this[s(650)][s(448)][s(456)][s(441)](t))),o&&(0,t.logWarning)(s(632),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(650)][s(727)][s(707)](s(505),e),this[s(650)][s(727)][s(707)](s(472),i)}[ft(557)](){const t=ft;if(!this[t(459)]){const e=this[t(650)][t(416)][t(584)](t(527));this[t(459)]=e[t(680)](at(this[t(650)][t(556)],t(483)))}}[ft(438)](){const t=ft;this[t(459)]&&(this[t(650)][t(416)][t(584)](t(527))[t(543)](this[t(459)]),this[t(459)]=null)}[ft(711)](t){const e=ft,i=this[e(521)][e(558)]();i[e(540)]();let s=0;for(;s<i[e(612)];){const n=i[s];if(n===this[e(638)]){s++;continue}if(n.id===this[e(462)])break;const r=t[e(486)]-n[e(486)]||t[e(736)]-n[e(736)];if(r>0)break;if(r<0)s++;else{if(!t[e(514)]&&n[e(514)])break;if(n[e(514)]||!t[e(514)]){if(t[e(692)]>n[e(692)])break;s++}else s++}}return s}[ft(541)](t){const e=ft,i=this[e(521)][e(558)]();i[e(540)](),i[e(703)]();const s=i[e(498)](i=>i[e(486)]<=t)[e(486)];return s<this[e(630)]?this[e(630)]:s}[ft(625)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(583)]({from:e,to:i});o[r(437)]=t,o[r(608)]=s,o.id=n;const a=this[r(466)](o);return this[r(634)]&&this[r(525)](o.id,o,!0),a}[ft(631)](){const t=ft;this[t(650)][t(484)][t(552)](t(554))[t(530)]({model:t(737)})}}class vt{[ft(650)];[ft(529)];[ft(691)];[ft(475)];[ft(590)];[ft(503)];[ft(417)];[ft(639)];[ft(482)];[ft(585)];[ft(555)];[ft(429)];[ft(644)];[ft(447)];[ft(701)];[ft(710)];[ft(427)];constructor(t){const e=ft;this[e(650)]=t,this[e(691)]=new Map,this[e(475)]=-1,this[e(590)]=-1,this[e(503)]=new Map,this[e(417)]=new Map,this[e(639)]=new Map,this[e(482)]=new Map,this[e(585)]=new Map,this[e(555)]=new Map,this[e(429)]=new Map,this[e(644)]=new Map,this[e(447)]=new Map,this[e(701)]=new Map,this[e(710)]=1}[ft(690)](t){const e=ft;this[e(529)]=t;const i=new Map,s=new Map,n=this[e(650)][e(448)][e(456)][e(624)][e(688)](t=>t[e(597)]);for(const t of n){const n=this[e(650)][e(448)][e(456)][e(441)](t),r=gt(n);i[e(707)](t,r),s[e(707)](t,Object[e(490)](n[e(679)]()))}const r=Array[e(534)](this[e(650)][e(448)][e(517)])[e(688)](t=>[t[e(437)],t[e(605)]()]),o=this[e(529)][e(648)];this[e(516)](o,i,r,s),this[e(427)]=this[e(710)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(707)](t,i),c[e(707)](t,{})}this[e(516)](Number[e(532)],a,[],c)}[ft(636)](t,e){const i=ft;if(this[i(475)]===t&&this[i(590)]<=e)this[i(691)][i(457)]>1&&this[i(473)](this[i(590)]),this[i(594)](this[i(590)],e,!0);else{if(!this[i(691)][i(444)](t)){const e=this[i(593)](t);this[i(591)](e,t,!1)}this[i(591)](t,e,!0)}return this[i(475)]=t,this[i(590)]=e,this[i(430)]()}[ft(627)](t){const e=ft;if(!this[e(691)][e(444)](t[e(736)])){const i=this[e(593)](t[e(736)]);this[e(591)](i,t[e(736)],!1)}this[e(591)](t[e(736)],t[e(486)],!1);const i=this[e(650)][e(416)][e(584)](e(623));this[e(425)](),this[e(475)]=t[e(736)],this[e(590)]=t[e(486)];for(const s in t[e(419)]){const n=t[e(419)][s][e(616)],r=R(t[e(419)][s][e(715)])||{},o=i[e(646)](t[e(419)][s][e(548)]);o[e(597)]=s,o[e(531)]=!n||!n[e(575)],o[e(575)]=()=>o[e(531)],this[e(482)][e(707)](s,o),this[e(585)][e(707)](s,r),n&&this[e(701)][e(707)](s,n);const a=this[e(649)](o);this[e(429)][e(707)](s,a);for(const[t,i]of o[e(517)]){if(!t[e(561)](e(683)))continue;const s=t[e(667)](":")[2];for(const t of i[e(577)]({singleCharacters:!0})){const i=this[e(717)](t),n=e(670)==t[e(562)]?t[e(615)][e(589)][e(733)](0,-1):t[e(615)][e(589)],r=a[e(432)](n)[e(455)](i);this[e(644)][e(707)](r,{userId:s})}o[e(517)][e(509)](t)}}this[e(427)]=this[e(710)];const s=[...Array(this[e(710)])[e(705)]()][e(733)](1)[e(643)](t=>!this[e(644)][e(444)](t));let n=0;const r=new Map;for(const o in t[e(419)]){const a=t[e(419)][o][e(616)],c=R(t[e(419)][o][e(547)])||{},u=i[e(646)](t[e(419)][o][e(496)]);u[e(597)]=o,u[e(531)]=!a||a[e(575)],u[e(575)]=()=>u[e(531)],this[e(417)][e(707)](o,u),this[e(639)][e(707)](o,c);const l=this[e(649)](u,Number[e(532)]);this[e(555)][e(707)](o,l),r[e(707)](o,u[e(575)]()?c:{});for(const[t,i]of u[e(517)]){if(!t[e(561)](e(683)))continue;const s=t[e(667)](":")[2];for(const t of i[e(577)]({singleCharacters:!0})){const i=this[e(717)](t),n=this[e(710)]++,r=e(670)==t[e(562)]?t[e(615)][e(589)][e(733)](0,-1):t[e(615)][e(589)];l[e(432)](r)[e(687)](i,n),this[e(644)][e(707)](n,{userId:s})}u[e(517)][e(509)](t)}for(const t of this[e(650)][e(448)][e(504)](u)[e(577)]({singleCharacters:!0})){const i=this[e(717)](t),r=e(670)==t[e(562)]?t[e(615)][e(589)][e(733)](0,-1):t[e(615)][e(589)],o=l[e(432)](r);o[e(455)](i)>0||o[e(687)](i,s[n++])}for(const[t,i]of u[e(517)])t[e(561)](e(683))||this[e(503)][e(707)](t,i)}const{roots:o}=this[e(691)][e(584)](t[e(736)]),{roots:a}=this[e(691)][e(584)](t[e(486)]),c=gt(o[e(584)](e(666)));this[e(482)][e(707)](e(666),c),this[e(429)][e(707)](e(666),this[e(649)](c,Number[e(532)]));const u=gt(a[e(584)](e(666)));this[e(417)][e(707)](e(666),u),this[e(555)][e(707)](e(666),this[e(649)](u));const l=Array[e(534)](this[e(417)])[e(688)](([t,e])=>[t,gt(e)]);this[e(516)](this[e(590)],l,this[e(503)],r)}[ft(493)](){const t=ft;this[t(425)](),this[t(475)]=-1,this[t(590)]=-1,this[t(691)][t(704)](),this[t(690)](this[t(529)])}[ft(516)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(707)](t,{start:e[n(617)][n(599)](),end:e[n(422)][n(599)](),rootName:e[n(723)][n(597)]});this[n(691)][n(707)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(473)](t){const e=ft;this[e(691)][e(509)](t)}[ft(425)](){const t=ft;this[t(644)][t(704)](),this[t(447)][t(704)](),this[t(701)][t(704)](),this[t(417)][t(704)](),this[t(639)][t(704)](),this[t(482)][t(704)](),this[t(585)][t(704)](),this[t(555)][t(704)](),this[t(429)][t(704)](),this[t(503)][t(704)](),this[t(710)]=1,this[t(427)]=this[t(710)]}[ft(649)](t,e=null){const i=ft;let s=null;t.is(i(611))||(s=new X.ModelElement(t[i(437)],{vid_start:null===e?this[i(710)]++:e++}));const n=[];for(const s of t[i(663)]())if(s.is(i(610))){n[i(542)](this[i(649)](s,e));const t=n[n[i(612)]-1];null!==e&&(e=t.is(i(610),i(700))?t[i(455)](i(635))+1:t[i(455)](i(500))+1)}else for(let t=0;t<s[i(603)];t++)n[i(542)](new X.ModelElement(i(700),{vid:null===e?this[i(710)]++:e++}));if(t.is(i(611))){const e=kt(t[i(597)]);return e[i(423)](0,n),e}return s[i(687)](i(500),null===e?this[i(710)]++:e++),s[i(423)](0,n),s}[ft(591)](t,e,i){const s=ft;this[s(425)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(691)][s(584)](t);this[s(482)]=new Map(n),this[s(585)]=new Map(R(o));for(const[t,e]of this[s(482)])if(s(666)!==t&&(this[s(417)][s(707)](t,gt(e)),this[s(639)]=new Map(R(o)),i)){const i=this[s(710)];this[s(555)][s(707)](t,this[s(649)](e)),this[s(429)][s(707)](t,this[s(649)](e,i))}this[s(427)]=this[s(710)],this[s(417)][s(707)](s(666),gt(this[s(482)][s(584)](s(666)))),i&&this[s(555)][s(707)](s(666),this[s(649)](this[s(482)][s(584)](s(666))));for(const[t,e]of r){const i=this[s(482)][s(584)](e[s(597)]),n=this[s(417)][s(584)](e[s(597)]),r=new X.ModelRange(this[s(511)](e[s(617)],i),this[s(511)](e[s(422)],i)),o=this[s(598)](r,n);i[s(517)][s(707)](t,r),this[s(503)][s(707)](t,o)}this[s(594)](t,e,i)}[ft(594)](t,e,i){const s=ft;for(const n of this[s(529)][s(446)](t,e))this[s(613)](n,i);for(const t of this[s(417)][s(694)]())t[s(517)][s(704)]();for(const[t,e]of this[s(503)])this[s(417)][s(584)](e[s(723)][s(597)])[s(517)][s(707)](t,e[s(599)]());const n=new Map,r=new Map;for(const[t,e]of this[s(417)])n[s(707)](t,gt(e)),r[s(707)](t,this[s(639)][s(584)](t));this[s(516)](e,n,this[s(503)],r)}[ft(593)](t){const e=ft,i=Array[e(534)](this[e(691)][e(705)]());i[e(633)]((t,e)=>t-e),i[e(540)]();for(const e of i)if(e<t)return e;return Number[e(532)]}[ft(645)](t,e){const i=ft,s=Array[i(534)](e[i(517)])[i(688)](([e,s])=>[e,this[i(598)](s,t)]);t[i(517)]=new Map(s)}[ft(695)](t){const e=ft;for(const i of this[e(503)][e(694)]()){const s=i[e(578)](t),n=X.ModelRange[e(488)](s);i[e(617)]=n[e(617)],i[e(422)]=n[e(422)]}}[ft(613)](t,e){const i=ft;if(i(565)!=t[i(562)]&&i(600)!=t[i(562)]){if(i(510)==t[i(562)]){const s=t[i(507)][i(723)][i(597)];this[i(417)][i(444)](s)||(this[i(417)][i(707)](s,kt(s,!0)),this[i(639)][i(707)](s,{}),e&&this[i(555)][i(707)](s,kt(s,!0)))}else{if(i(721)==t[i(562)]||i(436)==t[i(562)]||i(460)==t[i(562)])return void this[i(693)](t);i(471)==t[i(562)]&&this[i(659)](t)}if(i(471)!==t[i(562)]){const e=this[i(641)](t,this[i(417)]);e[i(428)](),this[i(695)](e)}if(e)switch(t[i(562)]){case i(510):this[i(551)](t);break;case i(491):case i(543):case i(434):this[i(724)](t);break;case i(559):this[i(435)](t);break;case i(667):this[i(566)](t)}}else this[i(706)](t,e)}[ft(641)](t,e){const i=ft,s=t[i(599)]();return s[i(499)]=t[i(499)],this[i(502)](s,e),s}[ft(629)](t){const e=ft;return t[e(688)](t=>{const i=e,s=this[i(717)](t);return Number(t[i(642)][i(455)](s))})}[ft(728)](t,e){const i=ft;if(t.is(i(610),i(700)))e[i(542)]({item:t,type:i(732)});else{t.is(i(610))&&e[i(542)]({item:t,type:i(586)});for(const s of t[i(663)]())this[i(728)](s,e);t.is(i(610))&&e[i(542)]({item:t,type:i(670)})}return e}[ft(430)](){const t=ft,e=new Map(this[t(644)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(482)][t(705)](),...this[t(417)][t(705)]()]);a[t(509)](t(666));for(const e of a){const i=this[t(417)][t(584)](e)||kt(e,!1),s=this[t(482)][t(584)](e)||kt(e,!1);i[t(575)]()||s[t(575)]()?(n[t(496)][e]=gt(i),n[t(548)][e]=gt(s),this[t(645)](n[t(548)][e],s),this[t(645)](n[t(496)][e],i),r[t(496)][e]=this[t(728)](this[t(555)][t(584)](e),[]),r[t(548)][e]=this[t(728)](this[t(429)][t(584)](e)||kt(e,!1),[])):a[t(509)](e)}for(const n of a){const o=r[t(496)][n];for(const n of o){const r=this[t(717)](n),o=n[t(642)][t(455)](r);i[t(509)](o),o>=this[t(427)]&&s[t(707)](o,e[t(584)](o))}}for(const n of a){const a=r[t(496)][n],c=this[t(629)](r[t(548)][n]);let u=0;for(const n of a){const r=this[t(717)](n),a=n[t(642)][t(455)](r);if(!s[t(444)](a)&&!o[t(444)](a))if(i[t(444)](a))u++;else{if(a!=c[u]){const s=e[t(584)](a)||e[t(584)](c[u]);for(;a!=c[u];)i[t(444)](c[u])||(o[t(707)](c[u],s),e[t(707)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(496)][e];for(const e of n){const n=this[t(717)](e),r=e[t(642)][t(455)](n);if(o[t(444)](r)){const e=o[t(584)](r);i[t(444)](r)||i[t(707)](r,{...e}),s[t(707)](r,{...e})}}}for(const e of i[t(705)]())e>=this[t(427)]&&i[t(509)](e);const c=new Map;for(const e of a){let n=r[t(496)][e];for(const e of n)if(e[t(642)].is(t(610),t(637))){const i=this[t(717)](e),n=e[t(642)][t(455)](i);if(s[t(444)](n)){const i=e[t(642)][t(668)][t(668)][t(455)](t(453)),r=c[t(584)](i)||new Set;r[t(680)](s[t(584)](n)[t(463)]),c[t(707)](i,r)}}n=r[t(548)][e];for(const e of n)if(e[t(642)].is(t(610),t(637))){const s=this[t(717)](e),n=e[t(642)][t(455)](s);if(i[t(444)](n)){const s=e[t(642)][t(668)][t(668)][t(455)](t(453)),r=c[t(584)](s)||new Set;r[t(680)](i[t(584)](n)[t(463)]),c[t(707)](s,r)}}for(const e of c[t(705)]())(s[t(444)](e)||i[t(444)](e))&&c[t(509)](e)}for(const e of a){const n=r[t(496)][e];let o=null,a=null;for(const e of n){const n=this[t(717)](e),r=e[t(642)][t(455)](n),u=c[t(584)](r);u&&t(586)==e[t(562)]&&(o=Array[t(534)](u)[0],a=e[t(642)][t(455)](t(500))),o&&(i[t(707)](r,{userId:o}),s[t(707)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(548)][e],a=n[t(496)][e];for(const{userId:e}of this[t(447)][t(694)]())null!==e&&l[t(680)](e);for(const{userId:e}of this[t(701)][t(694)]())null!==e&&l[t(680)](e);this[t(675)](a,r[t(496)][e],s,t(451),l),this[t(675)](o,r[t(548)][e],i,t(606),l),u[e]={insertions:this[t(621)](a),deletions:this[t(621)](o),attachChange:this[t(701)][t(584)](e)||null,attributesBefore:R(this[t(585)][t(584)](e))||{},attributesAfter:R(this[t(639)][t(584)](e))}}return{diffData:u,authorsIds:Array[t(534)](l)}}[ft(489)](t){const e=ft;for(const[,i]of t[e(517)]){const t=i[e(617)][e(560)]()[e(643)](t=>e(637)==t[e(437)]);for(const i of t)1==i[e(520)]&&i[e(677)](0).is(e(610),e(573))&&i[e(677)](0)[e(687)](e(536),!0)}}[ft(621)](t){const e=ft;this[e(489)](t);const i=this[e(650)][e(506)][e(681)](t,{}),s=Array[e(534)](i[e(663)]())[e(688)](t=>this[e(657)](t));return JSON[e(442)](s)}[ft(657)](t){const e=ft;if(t.is(e(700)))return t[e(506)];{const i=this[e(650)][e(416)][e(584)](e(623)),s=t,n=this[e(650)][e(506)][e(618)][e(604)],r={type:i[e(485)](s),name:s[e(437)],attributes:Array[e(534)](s[e(679)]()),children:Array[e(534)](s[e(663)]())[e(688)](t=>this[e(657)](t))};if(t.is(e(658))&&e(722)!=t[e(437)]){const i=t[e(522)](n[e(626)],n);r[e(689)][e(542)](i[e(713)])}else if(t.is(e(714))){const i=n[e(626)][e(622)](s[e(437)]);t[e(522)](i,n),r[e(689)][e(542)](i[e(501)])}const o=Array[e(534)](s[e(676)]());o[e(612)]>0&&(r[e(661)]=o);const a=s[e(539)]();return null!==a&&(r[e(467)]=a),r}}[ft(675)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(650)][r(448)];for(let s=0;s<e[r(612)];s++){const n=this[r(717)](e[s]),c=e[s][r(642)][r(455)](n),h=i[r(584)](c),d=s==e[r(612)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(463)]!=o[r(463)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(463)],d=l(683)+s+":"+h+":"+c++,f=u[l(651)](i,a);t[l(517)][l(707)](d,f),null!==h&&n[l(680)](h)}}[ft(717)](t){const e=ft;switch(t[e(562)]){case e(586):return e(453);case e(670):return e(500);default:return e(635)}}[ft(502)](t,e){const i=ft;t[i(660)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(584)](n[i(723)][i(597)]);t[s]=this[i(511)](n,r)}if(n instanceof X.ModelRange){const r=e[i(584)](n[i(723)][i(597)]);t[s]=this[i(598)](n,r)}i(723)===s&&(t[i(723)]=e[i(584)](t[i(723)][i(597)]))}}[ft(598)](t,e){const i=ft;return this[i(650)][i(448)][i(651)](this[i(511)](t[i(617)],e),this[i(511)](t[i(422)],e))}[ft(511)](t,e){const i=ft;return this[i(650)][i(448)][i(619)](e,t[i(589)],t[i(654)])}[ft(551)](t){const e=ft,i=this[e(555)][e(584)](t[e(507)][e(723)][e(597)]),s=this[e(511)](t[e(507)],i),n=null===t[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,r=s[e(668)],o=this[e(710)],a=[];for(const i of t[e(607)])if(i.is(e(610)))a[e(542)](this[e(649)](i));else for(let t=0;t<i[e(603)];t++)a[e(542)](new X.ModelElement(e(700),{vid:this[e(710)]++}));const c=this[e(710)];for(let t=o;t<c;t++)this[e(644)][e(707)](t,{userId:n});r[e(423)](s[e(628)],a)}[ft(724)](t){const e=ft;(t=this[e(641)](t,this[e(555)]))[e(428)]();const i=null===t[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,s=t[e(738)](),n=s[e(668)],r=s[e(628)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(677)](e);r.is(a(610),a(700))?s[a(707)](r[a(455)](a(635)),{userId:i}):(s[a(707)](r[a(455)](a(453)),{userId:i}),t(s,r,0,r[a(520)]),s[a(707)](r[a(455)](a(500)),{userId:i}))}}(this[e(644)],n,r,r+t[e(712)])}[ft(435)](t){const e=ft,i=null===(t=this[e(641)](t,this[e(555)]))[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,s=t[e(495)][e(668)],n=t[e(697)][e(668)],r=s[e(455)](e(500)),o=n[e(455)](e(453));s[e(687)](e(500),n[e(455)](e(500))),n[e(687)](e(500),r),this[e(644)][e(707)](o,{userId:i}),this[e(644)][e(707)](r,{userId:i}),t[e(428)]()}[ft(566)](t){const e=ft,i=null===(t=this[e(641)](t,this[e(555)]))[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,s=t[e(662)],n=t[e(582)][e(668)];t[e(428)]();const r=n[e(455)](e(500)),o=t[e(426)][e(469)];if(s){const t=o[e(455)](e(500)),s=n[e(455)](e(500));n[e(687)](e(500),t),o[e(687)](e(500),s),this[e(644)][e(707)](n[e(455)](e(500)),{userId:i}),this[e(644)][e(707)](o[e(455)](e(453)),{userId:i})}else{const t=this[e(710)]++,s=this[e(710)]++;n[e(687)](e(500),t),o[e(687)](e(453),s),o[e(687)](e(500),r),this[e(644)][e(707)](t,{userId:i}),this[e(644)][e(707)](s,{userId:i})}}[ft(659)](t){const e=ft;if(!t[e(454)])return;const i=(t=this[e(641)](t,this[e(417)]))[e(478)]?t[e(478)][e(723)]:null,s=t[e(537)]?t[e(537)][e(723)]:null;i&&this[e(503)][e(509)](t[e(437)]),s&&this[e(503)][e(707)](t[e(437)],t[e(537)][e(599)]());const n=null===t[e(499)]?null:t[e(499)]||this[e(650)][e(416)][e(584)](e(734)).me.id,r=t[e(437)];if(!this[e(447)][e(444)](r))return void this[e(447)][e(707)](r,{range:t[e(478)],userId:n});const o=this[e(447)][e(584)](r),a=o[e(452)],c=t[e(537)];null==a&&null==c||a&&c&&a[e(571)](c)?this[e(447)][e(509)](t[e(437)]):o[e(463)]=n}[ft(706)](t,e){const i=ft;this[i(417)][i(444)](t[i(597)])?this[i(417)][i(584)](t[i(597)])[i(531)]=t[i(524)]:(this[i(417)][i(707)](t[i(597)],kt(t[i(597)],!0)),this[i(639)][i(707)](t[i(597)],{}),e&&this[i(555)][i(707)](t[i(597)],kt(t[i(597)],!0)));const s=null===t[i(499)]?null:t[i(499)]||this[i(650)][i(416)][i(584)](i(734)).me.id,n=this[i(701)][i(584)](t[i(597)]);n&&n[i(463)]===s?this[i(701)][i(509)](t[i(597)]):this[i(701)][i(707)](t[i(597)],{userId:s,isAttached:t[i(524)]})}[ft(693)](t){const e=ft,i=this[e(639)][e(584)](t[e(723)][e(597)]);null===t[e(563)]?delete i[t[e(709)]]:i[t[e(709)]]=t[e(563)]}}function gt(t){const e=ft,i=kt(t[e(597)],t[e(575)]());for(const s of t[e(663)]()){const t=s[e(445)](!0);i[e(418)](t)}return i}function yt(t,e){const i=mt();return(yt=function(t,e){return i[t-=416]})(t,e)}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(597)]=t,s[i(531)]=e,s[i(575)]=()=>s[i(531)],s}function bt(t,e,i){const s=ft,n=s(670)==t[s(562)]?i[s(592)](t[s(642)],s(422)):i[s(699)](t[s(642)]);return i[s(619)](e,n[s(589)],n[s(654)])}function wt(t,e,i){const s=ft,n=s(586)==t[s(562)]?i[s(592)](t[s(642)],0):i[s(443)](t[s(642)]);return i[s(619)](e,n[s(589)],n[s(654)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),xt=i(297),Tt=i.n(xt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(98),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=Tt(),Lt.insertStyleElement=Dt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=342]})(t,e)}function jt(){const t=["19541005lQrxfs","set","5682SRNtMO","435xVIuDY","extendTemplate","ck-revision-history-save-revision-form","_createRevisionNameInput","arrowdown","ck-responsive-form","1624446zmuMaR","locale","trim","render","revisionNameInputView","51278qMFQiz","220","element","focusTracker","optional","10654dAmXSS","form","label","add","errorText","arrowright","reset","Name of the revision","focus","revisionName","arrowup","initializeCssTransitionDisablerMixin","324qybreL","2712VMWZaZ","arrowleft","keystrokes","38964gyvyNx","stopPropagation","fieldView","40PzeNaL","889046yemNUy","setTemplate","value","revisionNameInputValue","listenTo","input"];return(jt=function(){return t})()}const zt=Pt;!function(t){const e=Pt,i=t();for(;;)try{if(454284===-parseInt(e(363))/1+-parseInt(e(343))/2+parseInt(e(351))/3*(-parseInt(e(380))/4)+-parseInt(e(352))/5*(-parseInt(e(384))/6)+-parseInt(e(368))/7*(parseInt(e(381))/8)+parseInt(e(358))/9*(-parseInt(e(342))/10)+parseInt(e(349))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[zt(366)];[zt(383)];[zt(362)];constructor(e,i){const s=zt;super(e),this[s(366)]=new t.FocusTracker,this[s(383)]=new t.KeystrokeHandler,this[s(350)](s(346),""),this[s(362)]=this[s(355)](i),this[s(344)]({tag:s(369),attributes:{class:["ck",s(354),s(357)],tabindex:"-1"},children:[this[s(362)]]}),this[s(379)]()}[zt(361)](){const t=zt;super[t(361)](),(0,It.submitHandler)({view:this}),this[t(366)][t(371)](this[t(362)][t(365)]),this[t(383)][t(347)](this[t(365)]);const e=e=>e[t(385)]();this[t(383)][t(350)](t(373),e),this[t(383)][t(350)](t(382),e),this[t(383)][t(350)](t(378),e),this[t(383)][t(350)](t(356),e)}[zt(376)](){const t=zt;this[t(362)][t(376)]()}get[zt(377)](){const t=zt;return this[t(362)][t(386)][t(365)][t(345)][t(360)]()}set[zt(377)](t){const e=zt;this[e(362)][e(386)][e(365)][e(345)]=t[e(360)]()}[zt(374)](){const t=zt;this[t(362)][t(386)][t(365)][t(345)]="",this[t(362)][t(372)]=null}[zt(355)](t){const e=zt,i=new It.LabeledFieldView(this[e(359)],It.createLabeledInputText),s=i[e(386)];s[e(353)]({attributes:{maxlength:e(364)}});let n=at(this[e(359)],e(375));return!t&&(n+=" ("+at(this[e(359)],e(367))+")"),i[e(370)]=n,s.on(e(348),()=>{const t=e;this[t(346)]=s[t(365)][t(345)][t(360)]()}),i}}const Zt=Ht;function Ut(){const t=["role","bind","_saveRevisionFormView","revisionSave","plugins","editor","isOpen","24EfYmcg","_registerMenuComponent","5977765cGYhyO","menu","listenTo","revisionHistory.requireRevisionName","10637864WAYaVE","4180940EcOPsZ","editing","The revision name cannot be empty.","config","3911718dLzoKP","Open revision history","add","addMany","_createSaveRevisionButton","Revision history","init","isOfficialPlugin","menuBar:revisionHistory","28873152SRNfDq","_createSaveRevisionFormView","Save current revision","_createOpenRevisionButton","RevisionHistoryUI","showRevisionViewerCallback","revisionNameInputView","delegate","focus","hide","isReadOnly","children","Dialog","reset","Accept","revisionHistory","pluginName","componentFactory","get","RevisionTracker","submit","1405733iGEWRT","render","view","isEnabled","items","ck-button-action","_showDialog","buttonView","isReady","isPremiumPlugin","panelView","set","low","revisionName","Cancel","show","locale","saveRevision","menuitem","execute","2PPKbrc","errorText","906652oGEVzG","requires"];return(Ut=function(){return t})()}function Ht(t,e){const i=Ut();return(Ht=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(768415===parseInt(e(446))/1*(parseInt(e(444))/2)+-parseInt(e(466))/3+parseInt(e(462))/4+parseInt(e(457))/5+parseInt(e(455))/6*(parseInt(e(424))/7)+parseInt(e(461))/8+-parseInt(e(403))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class $t extends G.Plugin{static get[Zt(419)](){return Zt(407)}static get[Zt(401)](){return!0}static get[Zt(433)](){return!0}static get[Zt(447)](){return[pt]}[Zt(450)];[Zt(400)](){const t=Zt,e=this[t(453)],i=e[t(452)][t(421)](t(422));e.ui[t(420)][t(396)](t(418),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(434)][n(414)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(398)](It.ButtonView),l=new It.ListItemView(s),h=this[n(406)](It.ButtonView);return r[n(449)](n(427)).to(i,n(432),i,n(427),e,n(413),(t,e,i)=>t&&e&&!i),r[n(431)][n(435)]({icon:_t.IconHistory,label:at(s,n(399)),tooltip:!0}),u[n(435)]({withText:!0,role:n(442)}),h[n(435)]({withText:!0,role:n(442)}),this[n(459)](h,n(443),()=>{const t=n;r[t(454)]=!1,e[t(463)][t(426)][t(411)]()},{priority:n(436)}),c[n(414)][n(396)](u),l[n(414)][n(396)](h),a[n(448)]=n(458),a[n(428)][n(397)]([c,l]),o[n(396)](a),r}),e.ui[t(420)][t(396)](t(402),()=>this[t(456)]())}[Zt(456)](){const t=Zt,e=this[t(453)],i=e[t(440)],s=e[t(452)][t(421)](t(422)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(449)](t(427)).to(s,t(432),s,t(427),e,t(413),(t,e,i)=>t&&e&&!i),n[t(431)][t(435)]({icon:_t.IconHistory,label:at(i,t(399))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(398)](It.MenuBarMenuListItemButtonView);a[t(410)](t(443)).to(n),o[t(414)][t(396)](a),r[t(428)][t(396)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(406)](It.MenuBarMenuListItemButtonView);return u[t(410)](t(443)).to(n),c[t(414)][t(396)](u),r[t(428)][t(396)](c),n[t(434)][t(414)][t(396)](r),n}[Zt(398)](t){const e=Zt,i=this[e(453)],s=i[e(452)][e(421)](e(422)),n=new t(i[e(440)]);return n[e(435)]({label:at(i[e(440)],e(405))}),n[e(449)](e(427)).to(s,e(432),s,e(427),i,e(413),(t,e,i)=>t&&e&&!i),this[e(459)](n,e(443),()=>{this[e(430)]()}),n}[Zt(406)](t){const e=Zt,i=this[e(453)],s=i[e(452)][e(421)](e(422)),n=new t(i[e(440)]);return n[e(435)]({label:at(i[e(440)],e(395))}),n[e(449)](e(427)).to(s,e(432),i,e(413),(t,e)=>t&&!e),this[e(459)](n,e(443),()=>{const t=e;i[t(465)][t(421)](t(418))[t(408)]()}),n}[Zt(430)](){const t=Zt,e=this[t(453)],i=e[t(440)],s=e[t(452)][t(421)](t(415)),n=e[t(452)][t(421)](t(422));function r(n){const r=t;e[r(465)][r(421)](r(460))&&""===n[r(437)]?n[r(409)][r(445)]=at(i,r(464)):(e[r(452)][r(421)](pt)[r(441)]({name:n[r(437)]}),s[r(412)]())}this[t(450)]||(this[t(404)](),this[t(450)].on(t(423),()=>r(this[t(450)]))),this[t(450)][t(416)](),s[t(439)]({id:t(451),title:at(i,t(405)),isModal:!0,content:this[t(450)],actionButtons:[{label:at(e[t(440)],t(438)),withText:!0,onExecute:()=>s[t(412)]()},{label:at(e[t(440)],t(417)),class:t(429),withText:!0,onCreate(i){const s=t;i[s(449)](s(427)).to(n,s(432),n,s(427),e,s(413),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(450)])}]})}[Zt(404)](){const t=Zt,e=this[t(453)],i=e[t(440)];this[t(450)]=new Wt(i,e[t(465)][t(421)](t(460))),this[t(450)][t(425)]()}}const qt=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=296]})(t,e)}function Yt(){const t=["Added by","4070ccnUxy","type","isSuggestion","name","changeId","605kKvwRN","2VyPBnU","Suggested by","10165050eXJafy","_model","author","2696943ulYdAC","add","bindTemplate","155240cQBQFZ","data","span","ck-revision-change__label","ck-annotation","setTemplate","ck-revision-change__","element","1062618hOtYSx","focus","959878nCSXEc","Removed by","set","ck-revision-change","div","12916TwlbsZ","24464QyGKdc","308BITuGZ"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(567151===parseInt(e(306))/1+-parseInt(e(321))/2*(-parseInt(e(326))/3)+parseInt(e(311))/4*(-parseInt(e(320))/5)+parseInt(e(304))/6+-parseInt(e(313))/7*(parseInt(e(296))/8)+-parseInt(e(323))/9+parseInt(e(315))/10*(parseInt(e(312))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[qt(319)];[qt(324)];constructor(t,e){const i=qt;super(t),this[i(324)]=e,this[i(319)]=e.id;const s=this[i(328)],n=at(t,e[i(297)][i(317)]?i(322):i(327)==e[i(316)]?i(314):i(307));this[i(308)](i(316),e[i(316)]),this[i(301)]({tag:i(310),attributes:{class:[i(300),i(309),s.to(i(316),t=>i(302)+t)],tabindex:-1},children:[{tag:i(298),children:[{tag:i(298),attributes:{class:[i(299)]},children:[{text:n}]},{text:" "+e[i(325)][i(318)]}]}]})}[qt(305)](){const t=qt;this[t(303)][t(305)]()}}var Gt=Xt;function Kt(){var t=["set","createdAt","toJSON","32NdTwif","rootName","9843320jhNaLe","author","type","5813490mUPrMO","data","6FJWzcm","11261772kZlSGQ","1028468BFyioj","1893981WFCbIu","715722XKntcn","7272288VcJIak","81QfQDkZ"];return(Kt=function(){return t})()}function Xt(t,e){var i=Kt();return(Xt=function(t,e){return i[t-=382]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(992306===-parseInt(e(396))/1+-parseInt(e(394))/2*(parseInt(e(397))/3)+-parseInt(e(382))/4+parseInt(e(389))/5+-parseInt(e(395))/6+-parseInt(e(398))/7*(-parseInt(e(387))/8)+parseInt(e(383))/9*(parseInt(e(392))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(390)];[Gt(391)];[Gt(393)];[Gt(388)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(390)]=e[i(390)],this[i(391)]=e[i(391)],this[i(393)]=e[i(393)]||{},this[i(388)]=e[i(388)],this[i(384)](i(385),e[i(385)])}[Gt(386)](){var t=Gt;return{id:this.id,authorId:this[t(390)].id,type:this[t(391)],data:this[t(393)],createdAt:this[t(385)]}}}const te=ie;function ee(){const t=["889eQIqFV","1550CMLbUz","2103ZLCEjG","1099568GUXNny","add","oldRevisionId","changes","_setChanges","523308Vgvbmo","10dqolJo","2785519GilFyq","10eZvhkU","216256ppJpmN","newRevisionId","7638hTWHfi","932418BoeIVZ"];return(ee=function(){return t})()}function ie(t,e){const i=ee();return(ie=function(t,e){return i[t-=321]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(315691===parseInt(e(329))/1+-parseInt(e(334))/2*(parseInt(e(335))/3)+-parseInt(e(325))/4*(-parseInt(e(326))/5)+-parseInt(e(331))/6*(-parseInt(e(333))/7)+-parseInt(e(336))/8+parseInt(e(332))/9+parseInt(e(328))/10*(parseInt(e(327))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class se{[te(330)];[te(322)];[te(323)];constructor(e,i){const s=te;this[s(330)]=e,this[s(322)]=i,this[s(323)]=new t.Collection}[te(324)](t){const e=te;for(const i of t)this[e(323)][e(321)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Dt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ce;function ae(){const t=["set","isBefore","destroy","createRange","_getDiff","_markMarkers","getWalker","getRevisionDocumentData","from","_update","change:activeChange","isAdded","deletions","createPositionBefore","change:numberOfChanges","6337338AsrAZV","parent","forceDisabled","stop","splice","domEvent","_revisions","mapper","getRoot","first","5980545fnShAn","range","isAfter","ck-suggestion-marker-","getDomRoot","_removeUnsupportedChanges","shift","setAttribute","mousedown","revision","data-change-id","error","indexOf","ck-editor__editable__overlay","getChild","code","oldRevisionId","markerNameToElements","addRevision","revision:","unbindElementFromMarkerName","dataDowncast","softBreak","getCustomProperty","_findChangeIdFromDomTarget","getClientRects","currentChangeNumber","distance","revisionHistoryLabel","add","ck-suggestion-marker","hasAttribute","findIndex","enableReadOnlyMode","catch","_setConversion","data","string","_step","addHighlight","_getChangeFromId","filter","_changeView","right","document","isRemoveSuggestion","merge","conversion","mapViewToDom","ck-revision-history-root--active","isEqual","ck-suggestion-preview-marker-","consumable","ck-revision-history-root-add","isSuggestion","repository","type","_setChanges","_setDistance","isAddSuggestion","done","comment","showPreviousChange","forward","resolve","getAttribute","enqueueChange","push","keys","_getRevisionsRange","affectsData","previousPosition","offsetSize","start","sort","editingDowncast","selection","change:activeView","isObject","init","top","vid","reconvertMarker","activeChange","2095320UZpbpN","_markInsertions","_markMismatchedRemovedTags","end","_data","markerToData","RevisionsRepository","revisionHistory","maxOffset","_changeIdToChange","addMarker:revision-suggestion:deletion","_removeMissingPairs","_cleanMarkers","item","dataToMarker","return","_joinTapes","getAttributes","insert","_threeWayMerge","remove","bind","writer","getLaterVisibleRevision","_appendChild","consume","toViewPosition","isCollapsed","checkAttribute","toViewRange","text","addMarker:revision-suggestion:insertion","ck-revision-history-root-","ck-revision-history-root-remove","_balloon","adapter","observeMarkers","roots","removeMarker:revision-suggestion","object","model","low","pairId","isAtStart","addRevisionData","nextPosition","isAtEnd","getRevision","vid_start","RevisionViewer","restoreRevision","createAttributeElement","suggestion","elementToAttribute","4954670MWoJFI","attributesBefore","element:pre","showStack","revision-viewer","elementEnd","unshift","getRevisionRootsAttributes","removeMarker","getItems","_makeTape","addClass","isEnabled","RevisionHistoryUtils","_refreshStartEndIndex","commands","_cleanUp","listenTo","POSITIVE_INFINITY","wrap","isAttached","revision-suggestion","toViewElement","isNavigationMode","_utils","pop","showNextChange","slice","isBlock","revision-comment:","change","attribute:vid","detachRoot","plugins","removeClass","high","newRevisionId","endIndex","delete","loadRevisionData","_markSuggestions","rootName","mouseover","bottom","viewItem","editor","_activeViewTarget","numberOfChanges","vid_end","_processTape","startIndex","removeAttribute","_makeModelFromTape","ck-suggestion-preview-marker","activeView","createUIElement","insertion","removeMarker:revision","getIndex","ck-suggestion-marker-split","diff","createRevision","changes","WidgetToolbarRepository","isLimit","left","_getViewForChange","includes","execute","requires","markerRange","isContent","isReady","backward","revisionHistoryAttachChange","length","-new","6iPSMXT","markersStart","has","schema","test","insertions","all","hasClass","updatePosition","isRemoved","level","modelRange","domConverter","isOnRoot","isOfficialPlugin","downcastDispatcher","then","upcast","side","userId","flat","view","addRoot","markerName","name","298676dAweLh","forEach","find","markers","highest","changeId","markerToHighlight","isIncorrect","nodeAfter","index","startsWith","restoreRevisionCallback","markersEnd","refresh","map","editing","element","for","isPremiumPlugin","authors","abs","locale","suggestion:","values","get","nextSibling","target","_fixObsoleteTags","getRootNames","uiElement","ck-suggestion-marker-merge","concat","config","next","change:isReady","bindElementToMarker","span","ck-suggestion-marker--active","9094477sAGkfI","attributesAfter","8VjrUFI","change:isEnabled","1069267ubJkyn","_sortAndFilterDiffChanges","elementStart","createPositionFromPath","addMarker:revision","_makeModelFromViewString","_initInteractions","compare","attachChange","pluginName","diffData","attributes","deletion","createRangeIn","split","clear","isInline","revision-suggestion:"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(697148===-parseInt(e(257))/1+parseInt(e(384))/2+parseInt(e(515))/3*(parseInt(e(215))/4)+parseInt(e(438))/5+-parseInt(e(290))/6+-parseInt(e(253))/7*(-parseInt(e(255))/8)+-parseInt(e(300))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(355)];[oe(419)]=null;[oe(462)];[oe(484)];[oe(342)];[oe(393)];[oe(418)];static get[oe(266)](){return oe(433)}static get[oe(204)](){return!0}static get[oe(233)](){return!0}static get[oe(507)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(355)]=this[e(483)][e(471)][e(239)](e(390)),this[e(462)]=this[e(483)][e(471)][e(239)](e(451)),this[e(275)](e(383),null),this[e(275)](e(492),null),this[e(484)]=null,this[e(275)](e(498),null),this[e(275)](e(510),!1),this[e(275)](e(450),!0),this.on(e(256),(t,i,s)=>{const n=e;this[n(383)]=null,this[n(492)]=null,this[n(483)][n(230)][n(211)][n(468)](t=>{const e=n;for(const i of this[e(483)][e(230)][e(211)][e(344)][e(421)])s?t[e(472)](e(313),i):t[e(449)](e(313),i)})}),this[e(405)](e(461)).to(this,e(383),t=>null!==t),this[e(405)](e(326)).to(this,e(510),this,e(498),this,e(383),(t,i,s)=>t&&s?i[e(500)][e(496)](s):0),this[e(405)](e(485)).to(this,e(510),this,e(498),(t,i)=>t?i[e(500)][e(513)]:0),this[e(342)]=null,this[e(393)]=new Map,this[e(418)]=this[e(483)][e(471)][e(239)](It.ContextualBalloon)}[oe(379)](){const t=oe,e=this[t(483)],i=new de(e,{direction:t(511)}),s=new de(e,{direction:t(363)});e[t(453)][t(329)](t(362),i),e[t(453)][t(329)](t(464),s),e[t(453)][t(329)](t(434),new he(e)),this.on(t(289),()=>{const e=t;i[e(228)](),s[e(228)]()}),this[t(335)](),this[t(263)](),e[t(333)](t(442)),e[t(471)][t(517)](t(501))&&e[t(471)][t(239)](t(501))[t(292)](t(442))}async[oe(282)](t){const e=oe;return await this[e(462)][e(477)](t,this[e(419)]),this[e(462)][e(282)](t)}async[oe(445)](t){const e=oe;return await this[e(462)][e(477)](t,this[e(419)]),this[e(462)][e(445)](t)}async[oe(264)](t,e,i=!1){const s=oe;if(!this[s(450)])return;const n=this[s(498)],r=this[s(355)],o=s(337)==typeof t?r[s(431)](t):t,a=s(337)==typeof e?r[s(431)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(498)]&&this[s(498)][s(474)]===c&&this[s(498)][s(316)]===u)return Promise[s(364)]();this[s(510)]=!1,this[s(492)]=null,this[s(383)]=null,this[s(498)]=new se(c,u);const l=this[s(369)](o,a,!0)[s(229)](t=>this[s(462)][s(477)](t,this[s(419)]));return l[s(367)](new Promise(t=>{setTimeout(t,20)})),Promise[s(521)](l)[s(206)](()=>{const t=s;if(!this[t(450)])return;this[t(454)]();const e=this[t(279)](c,u);for(const i of e[t(500)])this[t(393)][t(275)](i.id,i);this[t(483)][t(424)][t(366)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(483)][s(424)][s(344)][s(243)]())i[s(470)](t);for(const t of Object[s(368)](e[s(424)])){const n=i[s(212)](t);for(const r of Object[s(368)](e[s(268)][t]))i[s(307)](r,e[s(268)][t][r],n);i[s(402)](e[s(424)][t],n,0)}}),this[t(498)][t(357)](this[t(258)](e[t(500)])),this[t(510)]=!0})[s(334)](t=>{const e=s;console[e(311)](t),this[e(454)](),n&&(this[e(498)]=n),this[e(510)]=!0})}[oe(428)](t,e){const i=oe,s=this[i(355)][i(499)](t);return s.on(i(284),(t,i,n)=>e(i,n,s)),this[i(355)][i(318)](s),s}[oe(454)](){const t=oe;this[t(383)]=null,this[t(396)](),this[t(342)]&&this[t(342)][t(277)](),this[t(342)]=null,this[t(393)][t(272)](),this[t(483)][t(424)][t(366)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(483)][i(424)][i(344)][i(243)]())e[i(470)](t)})}[oe(258)](t){const e=oe,i=[],s=new Map;for(const t of this[e(483)][e(424)][e(344)][e(243)]()){const n=this[e(483)][e(230)][e(211)][e(304)](t);if(!n)continue;const r=n[e(325)]()[e(397)](0);r&&(i[e(367)](t),s[e(275)](t,r))}return i[e(374)]((t,i)=>{const n=e,r=s[n(239)](t),o=s[n(239)](i);return r.y-o.y||r.x-o.x}),(t=t[e(341)](t=>i[e(505)](t[e(479)])))[e(374)]((t,s)=>i[e(312)](t[e(479)])-i[e(312)](s[e(479)])),t}[oe(448)](t){const e=oe,i=Array[e(283)](t[e(218)])[e(341)](([t,i])=>t[e(225)](e(319))&&!i[e(411)]),s=Array[e(283)](this[e(483)][e(424)][e(270)](t)[e(281)]({singleCharacters:!0}));if(0!=i[e(513)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(271)](":");if(n[e(387)][e(350)](t[e(429)])&&i[e(306)](),(t[e(371)][e(350)](n[e(373)])||t[e(371)][e(302)](n[e(373)]))&&(e(494)==r?t[e(286)]={userId:o}:e(269)==r&&(t[e(524)]={userId:o})),0==i[e(513)])break}return s}[oe(452)](t){const e=oe,i=new Map;for(let s=0;s<t[e(513)];s++)e(414)===t[s][e(356)]?(t[s][e(397)][e(488)]=s,t[s][e(397)][e(475)]=s):(e(259)===t[s][e(356)]?t[s][e(397)][e(488)]=s:e(443)===t[s][e(356)]&&(t[s][e(397)][e(475)]=s),i[e(275)](t[s].id,s));for(const s of i[e(238)]())e(259)===t[s][e(356)]?t[s][e(397)][e(475)]=i[e(239)](t[s][e(426)]):e(443)===t[s][e(356)]&&(t[s][e(397)][e(488)]=i[e(239)](t[s][e(426)]))}[oe(487)](t){const e=oe;for(let i=0;i<t[e(513)];i++){if(e(259)===t[i][e(356)])t[i][e(397)][e(488)]=i;else if(e(443)===t[i][e(356)]){t[i][e(397)][e(475)]=i;const s=t[i][e(397)][e(488)];t[s][e(426)]=t[i].id,t[i][e(426)]=t[s].id}else t[i][e(397)][e(488)]=i,t[i][e(397)][e(475)]=i,t[i][e(426)]=null;t[i][e(516)]||(t[i][e(516)]=[],t[i][e(227)]=[])}}[oe(385)](t,e){const i=oe,s=t[i(341)](t=>!t[i(286)]);for(let t=0;t<e[i(513)];t++)e[t][i(286)]&&(s[t][i(286)]=e[t][i(286)])}[oe(279)](t,e=null){const i=oe,s=this[i(355)][i(431)](t),n=e?this[i(355)][i(431)](e):null,r=this[i(369)](s,n),o=r[r[i(513)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(513)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(368)](e[i(267)]))if(e[i(267)][t][i(265)]){const s=e[i(267)][t][i(265)];s[i(458)]?(u[i(329)](t),l[i(517)](t)&&l[i(239)](t)[i(209)]==s[i(209)]?l[i(476)](t):l[i(275)](t,s)):l[i(517)](t)?(u[i(476)](t),l[i(476)](t)):(u[i(329)](t),l[i(275)](t,s))}else u[i(329)](t)}for(const t of u){const e=l[i(517)](t)&&!l[i(239)](t)[i(458)];let s=e?r[i(513)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(267)][t]){const s=e?o[i(267)][t][i(439)]:o[i(267)][t][i(254)];c[i(268)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(424)]={};for(const e of t[i(234)])a[i(275)](e.id,e);for(const e of u){const s=t[i(267)][e]?t[i(267)][e][i(520)]:"[]",n=t[i(267)][e]?t[i(267)][e][i(287)]:"[]";t[i(424)][e]={insertions:this[i(462)][i(262)](s),deletions:this[i(462)][i(262)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(283)](s[i(424)][t][i(520)][i(218)])[i(341)](([t])=>!t[i(225)](i(319))));let h=0;for(const o of r){const r=this[i(448)](o[i(424)][t][i(520)]);o==s?(e=r,n=e[i(513)],e[i(216)](t=>{t.id=h++}),this[i(487)](e)):this[i(385)](e,r);const a=e[i(341)](t=>!t[i(286)])[i(229)](t=>t.id);let c=0;const l=this[i(448)](o[i(424)][t][i(287)]);l[i(216)](t=>{t[i(524)]?t.id=n++:t.id=a[c++]}),this[i(487)](l),this[i(358)](e,i(286)),this[i(358)](l,i(524)),o==s&&this[i(280)](e,u),e=this[i(400)](e,l),this[i(452)](e),this[i(358)](e,i(524))}e=e[i(341)](t=>!(t[i(286)]&&t[i(524)]));const d=new Map(o[i(424)][t][i(287)][i(218)]),f=new Set(u[i(368)]());for(const t of d[i(368)]())f[i(476)](t);this[i(478)](e,f),this[i(242)](e),e=this[i(395)](e),e=this[i(386)](e),e=this[i(305)](e);const{root:m,changes:p}=this[i(490)](e,a,t);c[i(424)][t]=m;const v=l[i(239)](t);if(v){const e=a[i(239)](v[i(209)]),s=new Qt({author:e,type:v[i(458)]?i(329):i(404),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(444)](s),c[i(268)][t][i(512)]=s.id}c[i(500)]=c[i(500)][i(246)](p)}return c}[oe(280)](t,e){const i=oe;for(let s=0;s<t[i(513)];s++)for(const[n,r]of e)!r[i(411)]&&r[i(373)][i(350)](t[s][i(371)])&&t[s][i(516)][i(367)](n),r[i(387)][i(350)](t[s][i(429)])&&t[s][i(227)][i(367)](n)}[oe(400)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(513)]||r<e[i(513)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(367)](o);else if(a[i(524)]&&o[i(286)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(403)](t,n,e,r);s=s[i(246)](o),n=a,r=c}else a[i(524)]?(r++,s[i(367)](a)):(n++,s[i(367)](o))}return s}[oe(478)](t,e){const i=oe,s=[];for(let o=0;o<t[i(513)];o++){for(let r=0;r<t[o][i(516)][i(513)];r++){const a=t[o][i(516)][r];if(!e[i(517)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(459)!=c||i(494)!=u&&i(269)!=u||(s[i(444)]({type:u,name:a,userId:l}),t[o][i(516)][i(294)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(227)][i(513)];r++){const a=t[o][i(227)][r];if(!e[i(517)](a))continue;const{group:c,type:u}=n(a);if(i(459)!=c||i(494)!=u&&i(269)!=u)continue;t[o][i(227)][i(294)](r,1),r--;const l=s[i(332)](t=>t[i(214)]==a);l>-1&&s[i(294)](l,1)}}function n(t){const e=i,s=t[e(271)](":");return{group:s[0],type:s[1],subType:s[e(513)]>=5?s[2]:null,id:s[e(513)]<5?s[2]:s[3],authorId:s[e(513)]<5?s[3]:s[4],markerCount:6==s[e(513)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(513)];i++){if(t[e(286)]&&e(494)==s[i][e(356)]&&t[e(286)][e(209)]==s[i][e(209)])return t[e(359)]=s[i],void delete t[e(286)];if(!t[e(286)]&&!t[e(524)]&&e(269)==s[i][e(356)])return void(t[e(345)]=s[i])}}}[oe(358)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(275)](o.id,s);for(let s=0;s<t[i(513)];s++){if(i(524)==e&&t[s][i(286)]||i(286)==e&&t[s][i(524)])continue;if(i(414)==t[s][i(356)]){t[s][i(327)]=0;continue}const n=r[i(239)](t[s][i(426)]),o=r[i(239)](t[s].id);t[s][i(327)]=n-o}}[oe(369)](t,e,i=!1){const s=oe,n=[];let r=this[s(355)][s(496)](t),o=this[s(355)][s(496)](e);for(-1==o&&(o=this[s(355)][s(296)][s(513)],i=!1);r<o;)n[s(367)](this[s(355)][s(431)](r)),r++;return i&&n[s(367)](this[s(355)][s(431)](r)),n}[oe(403)](t,e,i,s){const n=oe,r=this[n(483)][n(424)][n(518)];let o=e;for(;t[o]&&t[o][n(286)];)o++;let a=s;for(;i[a]&&i[a][n(524)];)a++;u(t,e,o),u(i,s,a);const c=i[n(465)](s,a)[n(246)](t[n(465)](e,o));return c[n(374)]((t,e)=>t[n(208)]!=e[n(208)]?t[n(208)]-e[n(208)]:t[n(525)]!=e[n(525)]?t[n(525)]-e[n(525)]:t[n(327)]!=e[n(327)]?e[n(327)]-t[n(327)]:!!t[n(286)]!=!!e[n(286)]?-1==t[n(208)]||0==t[n(208)]?t[n(286)]?-1:1:t[n(286)]?1:-1:t[n(224)]-e[n(224)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(456)],c=!0;for(let n=e;n<i;n++)if(r[s(273)](t[n][s(397)])||(c=!1),t[n][s(397)][s(488)]<e&&(o=n),t[n][s(397)][s(475)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(208)]=n<=o?-1:n<a?0:1,t[n][s(224)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(327)]?t[i][s(525)]=u:(u++,t[i][s(525)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(208)]&&(t[n][s(525)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(327)]?t[e][s(525)]=u:(u--,t[e][s(525)]=u,u--)}}[oe(242)](t){const e=oe,i=new Map,s=this[e(483)][e(424)][e(518)];for(let n=1;n<t[e(513)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(414)==c[e(356)])continue;if(c[e(356)]!=u[e(356)])continue;if(!s[e(466)](u[e(397)])||s[e(502)](u[e(397)]))continue;if(!s[e(466)](c[e(397)])||s[e(502)](c[e(397)]))continue;if((t[n][e(286)]||t[n][e(359)])&&t[n-1][e(524)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(524)]||!t[n-1][e(286)]&&!t[n-1][e(359)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(525)]==o[e(525)],h=Math[e(235)](r[e(525)])<Math[e(235)](o[e(525)])&&0==o[e(327)];(l||h)&&(i[e(275)](o.id,r.id),t[e(294)](a,1),n--,r[e(286)]=!1)}for(let s=0;s<t[e(513)];s++)i[e(517)](t[s][e(426)])&&(t[s][e(426)]=i[e(239)](t[s][e(426)]))}[oe(395)](t){const e=oe,i=new Set(t[e(229)](t=>t.id));for(let s=0;s<t[e(513)];s++)i[e(517)](t[s][e(426)])||0==t[s][e(327)]||(t[s][e(222)]=!0);return t[e(341)](t=>!t[e(222)])}[oe(386)](t){const e=oe,i=new Set;for(let s=0;s<t[e(513)];s++){if(i[e(517)](t[s].id)&&t[s][e(524)]&&(t[s][e(222)]=!0),t[s][e(222)])continue;if(0==t[s][e(327)])continue;if(e(259)!=t[s][e(356)])continue;if(null==t[s][e(426)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(426)];)e(259)==t[n][e(356)]?r++:e(443)==t[n][e(356)]&&r--,n++;if(0!=r)if(t[s][e(524)])t[s][e(222)]=!0;else for(;n!=s;)t[n][e(524)]&&0!=t[n][e(327)]&&(t[n][e(222)]=!0,i[e(329)](t[n][e(426)])),n--}return t[e(341)](t=>!t[e(222)])}[oe(305)](t){const e=oe,i=this[e(483)][e(424)][e(518)];for(let s=0;s<t[e(513)];s++){if(!(t[s][e(286)]||t[s][e(359)]||t[s][e(524)]||t[s][e(345)]))continue;if(0==t[s][e(327)])continue;const n=t[s][e(397)];i[e(466)](n)||i[e(502)](n)||(t[s][e(286)]&&delete t[s][e(286)],t[s][e(359)]&&delete t[s][e(359)],t[s][e(345)]&&delete t[s][e(345)],t[s][e(524)]&&(t[s][e(222)]=!0))}return t[e(341)](t=>!t[e(222)])}[oe(490)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(483)][s(424)],c=a[s(518)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(513)];e++)if(s(259)===t[e][s(356)]){t[e][s(371)]=a[s(260)](n,f);const i=new X.ModelElement(t[e][s(397)][s(214)],t[e][s(397)][s(401)]());u[0][s(408)](i),f[s(367)](0),u[s(444)](i),t[e][s(429)]=a[s(260)](n,f)}else s(443)===t[e][s(356)]?(u[s(306)](),t[e][s(371)]=a[s(260)](n,f),f[s(463)](),f[f[s(513)]-1]++,t[e][s(429)]=a[s(260)](n,f)):(t[e][s(371)]=a[s(260)](n,f),d?d[s(388)]+=t[e][s(397)][s(336)]:d=new X.ModelText(t[e][s(397)][s(336)],t[e][s(397)][s(401)]()),t[e+1]&&s(414)===t[e+1][s(356)]&&v(d,t[e+1][s(397)])||(u[0][s(408)](d),d=null),f[f[s(513)]-1]+=t[e][s(397)][s(372)],t[e][s(429)]=a[s(260)](n,f));for(let e=0;e<t[s(513)];e++){const i=t[e][s(371)],n=t[e][s(429)];for(const n of t[e][s(516)])o[s(275)](n,{start:i,end:null});m(s(345),e,i,n),m(s(359),e,i,n),m(s(524),e,i,n),m(s(286),e,i,n);for(const i of t[e][s(227)]){const t=o[s(239)](i);t?t[s(387)]=n:o[s(275)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(483)][s(424)][s(278)](e[s(373)],e[s(387)]);n[s(218)][s(275)](t,i)}return r[s(374)]((t,e)=>{const i=s,r=n[i(218)][i(239)](i(319)+t.id),o=n[i(218)][i(239)](i(319)+e.id);return r[i(373)][i(276)](o[i(373)])?-1:r[i(373)][i(302)](o[i(373)])?1:r[i(387)][i(276)](o[i(387)])?-1:r[i(387)][i(302)](o[i(387)])?1:i(329)===t[i(356)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(209)]:null,d=i===t[o(513)]-1,f=h[e][0],m=c[o(378)](t[i][o(397)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(387)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(209)]!==u&&(l[e][o(387)]=n,f&&f[o(209)]===l[e][o(209)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(259)!==t[i][o(356)]||f&&f[o(209)]===u||h[e][o(444)]({userId:u,object:t[i][o(397)],change:l[e]}),o(443)===t[i][o(356)]&&f&&f[o(423)]===t[i][o(397)]&&(h[e][o(306)](),l[e]=f[o(468)])),l[e]&&d&&(l[e][o(387)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(397)],f=a[h(518)][h(466)](d)&&!a[h(518)][h(502)](d),m=t[h(223)]==o[h(291)]&&o[h(427)];if(f&&m)return;const p=a[h(278)](t,o),v=e[h(239)](u),g=new Qt({author:v,type:h(286)==l||h(359)==l?h(329):h(404),data:{isSuggestion:h(359)==l||h(345)==l},createdAt:new Date,rootName:i});r[h(367)](g),n[h(218)][h(275)](h(319)+g.id,p)}function v(t,e){const i=s,n=t[i(401)](),r=e[i(401)]();for(const t of n){if(t[1]!==e[i(365)](t[0]))return!1;r[i(248)]()}return r[i(248)]()[i(360)]}}[oe(335)](){const t=oe;this[t(483)][t(347)][t(232)](t(207))[t(398)]({view:t(309)}),this[t(483)][t(347)][t(232)](t(375))[t(221)]({model:t(309),view:e=>{const i=t,s=e[i(213)][i(271)](":")[1],n=this[i(340)](s);if(!n)return null;const r=i(329)==n[i(356)]?i(494):i(269),o=[i(330),i(303)+r];return n[i(336)][i(354)]&&o[i(367)](i(303)+r+i(514)),this[i(383)]==n&&o[i(367)](i(252)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(483)][t(347)][t(232)](t(207))[t(329)](e=>{const i=t;e.on(i(440),(t,e,s)=>{const n=i,r=e[n(482)][n(314)](0);if(!r||!r.is(n(231),n(315)))return;if(!s[n(352)][n(409)](r,{attributes:[n(432),n(486)]}))return;const o=e[n(526)][n(373)][n(223)];s[n(406)][n(307)](n(432),r[n(365)](n(432)),o),s[n(406)][n(307)](n(486),r[n(365)](n(486)),o)},{priority:i(425)})}),this[t(483)][t(347)][t(232)](t(207))[t(329)](e=>{const i=t;e.on(i(231),(t,e,s)=>{const n=i;if(!s[n(352)][n(409)](e[n(482)],{attributes:[n(432),n(486)]}))return;if(e[n(526)][n(411)])return;const r=e[n(526)][n(373)][n(223)];r[n(331)](n(432))||r[n(331)](n(381))||(s[n(406)][n(307)](n(432),e[n(482)][n(365)](n(432)),r),s[n(406)][n(307)](n(486),e[n(482)][n(365)](n(486)),r))},{priority:i(425)})}),this[t(483)][t(347)][t(232)](t(207))[t(437)]({view:{name:t(251),attributes:{vid:!0}},model:{key:t(381),value:e=>e[t(365)](t(381))}}),this[t(483)][t(424)][t(518)].on(t(412),(e,[,i])=>{const s=t;[s(432),s(486),s(381)][s(505)](i)&&(e[s(399)]=!0,e[s(293)]())},{priority:t(219)}),this[t(483)][t(347)][t(232)](t(321))[t(329)](e=>{const i=t;e.on(i(469),(t,e,s)=>{const n=i;if(" "!=e[n(397)][n(336)]||e[n(397)][n(291)][n(392)]>1)return;if(!s[n(352)][n(409)](e[n(397)],t[n(214)]))return;const r=s[n(406)],o=s[n(297)][n(413)](e[n(301)]);r[n(457)](o,r[n(435)](n(251)))})}),this[t(483)][t(347)][t(232)](t(321))[t(389)]({model:t(309)}),this[t(483)][t(230)][t(205)].on(t(261),function(e){const i=t,s=e[i(471)][i(239)](i(433));return(t,n,r)=>{const o=i,a=n[o(213)][o(271)](":")[1],c=s[o(340)](a);if(!c)return null;const u=o(329)==c[o(356)]?o(271):o(346);if(!r[o(352)][o(519)](n[o(508)],t[o(214)]))return;const l=n[o(508)][o(281)](),h=n[o(508)][o(373)],d=e[o(424)][o(518)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(397)];p=p||d[o(509)](e);const i=r[o(297)][o(460)](e);if(i&&i[o(323)](o(339)))return;o(443)==t[o(356)]&&d[o(466)](e)&&!d[o(502)](e)&&(e[o(240)]||h[o(430)]?f&&f[o(291)]==e||(f=e,g(t[o(371)]),v=!0):m=m||t[o(371)])}function g(t){const e=o,i=r[e(406)][e(493)](e(251),{class:e(303)+u}),a=r[e(297)][e(410)](t);c[e(336)][e(354)]&&r[e(406)][e(449)](e(303)+u+e(514),i),s[e(383)]==c&&r[e(406)][e(449)](e(252),i),r[e(406)][e(402)](a,i),r[e(297)][e(250)](i,n[e(213)])}p||v||!m||g(m)}}(this[t(483)]),{priority:t(473)}),this[t(483)][t(230)][t(205)].on(t(495),(e,i,s)=>{const n=t,r=s[n(297)][n(317)](i[n(213)]);if(r)for(const t of r)(t[n(522)](n(497))||t[n(522)](n(245)))&&(s[n(297)][n(320)](t,i[n(213)]),s[n(406)][n(404)](t))},{priority:t(473)}),this[t(483)][t(230)][t(205)].on(t(261),(e,i,s)=>{const n=t,r=i[n(213)][n(271)](":")[1],o=this[n(340)](r);if(!o)return null;const a=n(329)==o[n(356)]?n(271):n(346);if(s[n(352)][n(519)](i[n(508)],e[n(214)]))for(const t of i[n(508)][n(447)]()){if(!t.is(n(231),n(322)))continue;const e=s[n(406)][n(493)](n(251),{class:n(303)+a}),r=s[n(297)][n(410)](this[n(483)][n(424)][n(288)](t));o[n(336)][n(354)]&&s[n(406)][n(449)](n(303)+a+n(514),e),this[n(383)]==o&&s[n(406)][n(449)](n(252),e),s[n(406)][n(402)](r,e),s[n(297)][n(250)](e,i[n(213)])}},{priority:t(473)}),this[t(483)][t(424)][t(344)].on(t(468),()=>{const e=t;this[e(483)][e(230)][e(211)][e(468)](t=>{const i=e;for(const e of this[i(483)][i(424)][i(344)][i(243)]()){const s=this[i(483)][i(424)][i(344)][i(298)](e),n=this[i(483)][i(230)][i(211)][i(344)][i(298)](e);if(n){const e=s[i(365)](i(512));if(t[i(489)](i(310),n),t[i(472)](i(353),n),t[i(472)](i(417),n),t[i(472)](i(349),n),e){const s=this[i(340)](e);if(!s)return null;t[i(307)](i(310),e,n),t[i(449)](i(416)+s[i(356)],n),this[i(383)]==s&&t[i(449)](i(349),n)}}}})}),this[t(483)][t(347)][t(232)](t(207))[t(398)]({view:t(361),model:e=>t(467)+e,converterPriority:t(219)}),this[t(483)][t(347)][t(232)](t(207))[t(398)]({view:t(436),model:e=>t(274)+e,converterPriority:t(219)}),this[t(483)][t(347)][t(232)](t(321))[t(389)]({model:t(459),view:e=>({name:t(237)+e,group:t(459)}),converterPriority:t(219)}),this[t(483)][t(347)][t(232)](t(375))[t(221)]({model:t(459),view:e=>{const i=t,s=e[i(213)][i(271)](":")[1];return i(494)!=s&&i(269)!=s?null:{classes:[i(491),i(351)+s]}}}),this[t(483)][t(230)][t(205)].on(t(394),le(this[t(483)],t(346)),{priority:t(473)}),this[t(483)][t(230)][t(205)].on(t(415),le(this[t(483)],t(271)),{priority:t(473)}),this[t(483)][t(230)][t(205)].on(t(422),(e,i,s)=>{const n=t,r=s[n(297)][n(317)](i[n(213)]);if(r)for(const t of r)t.is(n(244))&&(s[n(297)][n(320)](t,i[n(213)]),s[n(406)][n(404)](t))},{priority:t(473)})}[oe(340)](t){const e=oe;return this[e(393)][e(239)](t)}[oe(504)](t){const e=oe;return this[e(342)]&&this[e(342)][e(277)](),this[e(342)]=new Jt(this[e(483)][e(236)],t),this[e(342)]}[oe(263)](){const t=oe;this[t(483)][t(424)][t(344)][t(376)][t(420)](t(309)),this.on(t(377),(e,i,s,n)=>{const r=t;n&&this[r(418)][r(404)](n),s&&(this[r(418)][r(329)]({view:s,stackId:r(328),position:{target:()=>{const t=r,e=this[t(483)][t(230)],i=this[t(340)](s[t(220)]);let n;if(i[t(336)][t(203)]){const s=e[t(211)][t(304)](i[t(479)]);n=Array[t(283)](s[t(325)]())}else{const i=this[t(483)][t(424)][t(218)][t(239)](t(319)+s[t(220)]);n=Array[t(283)](e[t(297)][t(317)](i[t(214)]))[t(229)](i=>e[t(211)][t(527)][t(348)](i))[t(229)](e=>Array[t(283)](e[t(325)]()))[t(210)]()}return this[t(484)]&&n[t(217)](e=>e[t(380)]-3<=this[t(484)].y&&e[t(481)]+3>=this[t(484)].y&&e[t(503)]-3<=this[t(484)].x&&e[t(343)]+3>=this[t(484)].x)||n[0]}}}),this[r(418)][r(441)](r(328)))}),this.on(t(285),(e,i,s,n)=>{const r=t;this[r(492)]=s?this[r(504)](s):null,this[r(483)][r(424)][r(468)](()=>{const t=r,e=this[t(483)][t(230)];n&&(n[t(336)][t(203)]?e[t(211)][t(468)](i=>{const s=t;i[s(472)](s(349),e[s(211)][s(344)][s(298)](n[s(479)]))}):e[t(382)](t(319)+n.id)),s&&(s[t(336)][t(203)]?e[t(211)][t(468)](i=>{const n=t;i[n(449)](n(349),e[n(211)][n(344)][n(298)](s[n(479)]))}):e[t(382)](t(319)+s.id))})}),this[t(455)](this[t(483)][t(230)][t(211)][t(344)],t(480),(e,i)=>{const s=t;if(this[s(383)])return;const n=this[s(324)](i[s(241)]),r=this[s(393)][s(239)](n);r?(this[s(484)]={x:i[s(295)].x,y:i[s(295)].y},this[s(492)]=this[s(504)](r)):(this[s(484)]=null,this[s(492)]=null)}),this[t(455)](this[t(483)][t(230)][t(211)][t(344)],t(308),(e,i)=>{const s=t,n=this[s(324)](i[s(241)]),r=this[s(393)][s(239)](n);r?(this[s(484)]={x:i[s(295)].x,y:i[s(295)].y},r===this[s(383)]?this[s(418)][s(523)]():this[s(383)]=r):(this[s(484)]=null,this[s(383)]=null)})}[oe(324)](t){const e=oe;do{const i=t[e(365)](e(310));if(i)return i;t=t[e(291)]}while(t);return null}[oe(396)](){const t=oe;this[t(483)][t(424)][t(468)](e=>{const i=t;for(const t of this[i(483)][i(424)][i(218)])e[i(446)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(352)][r(519)](s[r(508)],i[r(214)]))return;const o=s[r(508)][r(281)](),a=s[r(508)][r(373)],c=t[r(424)][r(518)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(397)];h=h||c[r(509)](e);const i=n[r(297)][r(460)](e);if(i&&i[r(323)](r(339)))return;r(443)==t[r(356)]&&c[r(466)](e)&&!c[r(502)](e)&&(e[r(240)]||a[r(430)]?u&&u[r(291)]==e||(u=e,f(t[r(371)]),d=!0):l=l||t[r(371)])}function f(t){const i=r,o=n[i(297)][i(410)](t),a=n[i(406)][i(493)](i(251),{class:i(351)+e});n[i(406)][i(402)](o,a),n[i(297)][i(250)](a,s[i(213)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(471)][e(239)](ue);this[e(370)]=!1,this[e(455)](i,e(249),()=>this[e(228)]()),this[e(455)](i,e(256),()=>this[e(228)]())}[oe(506)](){const t=oe,e=this[t(483)],i=e[t(471)][t(239)](ue),s=i[t(510)]?i[t(498)][t(474)]:null;e[t(247)][t(239)](t(391))[t(226)](s)}[oe(228)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(483)][t(471)][t(239)](ue),r=n&&s[t(407)](n[t(474)]);this[t(450)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(338)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(471)][i(239)](ue);this[i(370)]=!1,this[i(338)]=i(363)===e?1:-1,this[i(455)](s,i(249),()=>this[i(228)]()),this[i(455)](s,i(256),()=>this[i(228)]()),this[i(455)](s,i(285),()=>this[i(228)]())}[oe(506)](){const e=oe,i=this[e(483)],s=i[e(471)][e(239)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(383)]=n?s[e(498)][e(500)][e(239)](r+this[e(338)]):s[e(498)][e(500)][e(299)],s[e(383)][e(336)][e(203)])o=i[e(230)][e(211)][e(304)](s[e(383)][e(479)]);else{const t=i[e(424)][e(218)][e(239)](e(319)+s[e(383)].id);o=(0,K.getMarkerDomElement)(i[e(230)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(228)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(483)][t(471)][t(239)](ue);this[t(450)]=!!(r&&n&&s)&&(!e||(1===this[t(338)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=Tt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;!function(t){const e=ve,i=t();for(;;)try{if(687493===parseInt(e(176))/1+-parseInt(e(150))/2*(parseInt(e(171))/3)+parseInt(e(183))/4+-parseInt(e(158))/5+-parseInt(e(180))/6*(-parseInt(e(153))/7)+-parseInt(e(181))/8*(parseInt(e(159))/9)+-parseInt(e(152))/10*(-parseInt(e(166))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class pe extends It.View{constructor(t){const e=ve;super(t);const i=this[e(167)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(148)](e(157),!1),this[e(148)](e(172),!1),this[e(148)](e(147),0),this[e(148)](e(160),0),this[e(148)](e(163),!1),this[e(148)](e(174),!1),this[e(169)](e(177)).to(this,e(172),this,e(160),(t,e)=>t&&e>0),this[e(169)](e(156)).to(this,e(172),this,e(147),this,e(160),this,e(157),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(162));if(!n)return at(t,o(179));const a=at(t,o(154),n);return r?at(t,o(161),[s+1,n]):a}),s[e(148)]({label:at(t,e(149)),tooltip:!0,icon:_t.IconChevronUp}),n[e(148)]({label:at(t,e(173)),tooltip:!0,icon:_t.IconChevronDown}),s[e(169)](e(184)).to(this,e(174)),n[e(169)](e(184)).to(this,e(163)),s.on(e(146),()=>this[e(165)](e(146),e(155))),n.on(e(146),()=>this[e(165)](e(146),e(185))),this[e(170)]({tag:e(175),attributes:{class:["ck",e(178),e(188)]},children:[{tag:e(145),attributes:{class:[e(187)]},children:[{tag:e(145),attributes:{class:[e(168),i.if(e(177),e(182),t=>!t)]},children:[{text:i.to(e(157),i=>i?at(t,e(164))+": ":at(t,e(186))+": ")}]},{text:i.to(e(156))}]},new It.ToolbarSeparatorView,{tag:e(175),attributes:{class:[e(151)]},children:[s,n]}]})}}function ve(t,e){const i=ge();return(ve=function(t,e){return i[t-=145]})(t,e)}function ge(){const t=["Total","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation","span","execute","currentChangeNumber","set","Show previous change","2238tJwgJi","ck-revision-history-ui__changes-navigation__navigation","4700lfwbFR","1052751dqpqJc","NUMBER_OF_CHANGES","backward","_statusText","isNavigationMode","4734625aiwNvi","333xQDlre","numberOfChanges","X_OF_Y_CHANGES","Loading...","isForwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","fire","16423JYYufG","bindTemplate","ck-revision-history-ui__changes-navigation__label","bind","setTemplate","1203LNsnZc","isReady","Show next change","isBackwardNavigationEnabled","div","1313568wflBMT","_isStatusLabelVisible","ck-revision-history-ui","No changes","6MFQZoT","26296gHjdEq","ck-hidden","156340rSlild","isEnabled","forward"];return(ge=function(){return t})()}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Tt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(506766===-parseInt(e(118))/1*(-parseInt(e(106))/2)+-parseInt(e(120))/3+parseInt(e(113))/4*(-parseInt(e(128))/5)+parseInt(e(117))/6+-parseInt(e(116))/7+-parseInt(e(130))/8+parseInt(e(114))/9*(parseInt(e(107))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(109);function Ie(){const t=["editor","view","hide","93175IkzeLm","editing","3359248fSmdVi","355646KkSRbH","8641690NouvXl","document","ck-editor__editable__loading-overlay","show","pluginName","RevisionViewerLoadingOverlay","4ekQmvy","18Cseqzg","change","2225195hIoaKT","207594ExXRaU","2iHqKBm","removeClass","2566173vPNddo","addClass","isOfficialPlugin","isPremiumPlugin","roots"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(111)](){return be(112)}static get[be(122)](){return!0}static get[be(123)](){return!0}[be(110)](){const t=be,e=this[t(125)][t(129)][t(126)];e[t(115)](i=>{const s=t;for(const t of e[s(108)][s(124)])i[s(121)](_e,t)})}[be(127)](){const t=be,e=this[t(125)][t(129)][t(126)];e[t(115)](i=>{const s=t;for(const t of e[s(108)][s(124)])i[s(119)](_e,t)})}}function Oe(t,e){const i=Te();return(Oe=function(t,e){return i[t-=264]})(t,e)}const xe=Oe;function Te(){const t=["556164AjsvUm","requires","Back to editing","860555Iozonk","showNextChange","isForwardNavigationEnabled","listenTo","commands","restoreRevision","356uFMVuN","isOfficialPlugin","1315097gCTuVJ","revisionHistory","hide","closeRevisionViewerCallback","editor","numberOfChanges","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","bind","isEnabled","set","show","forward","56194YSjCyB","add","plugins","isNavigationMode","RevisionViewerUI","execute","50090yurTyL","pluginName","get","isPremiumPlugin","2994WZDcop","9iPjBIz","init","isReady","Restore this revision","4289076FUrfFx","exitToEditing","config","componentFactory","currentChangeNumber","change:isReady","showPreviousChange","changesNavigation","16yAVFyP"];return(Te=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(240797===-parseInt(e(285))/1*(parseInt(e(274))/2)+-parseInt(e(284))/3*(parseInt(e(307))/4)+-parseInt(e(301))/5+-parseInt(e(298))/6+parseInt(e(309))/7*(parseInt(e(297))/8)+parseInt(e(289))/9+-parseInt(e(280))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[xe(281)](){return xe(278)}static get[xe(308)](){return!0}static get[xe(283)](){return!0}static get[xe(299)](){return[ue,Se]}[xe(286)](){const t=xe,e=this[t(265)],i=e[t(276)][t(282)](ue),s=e[t(276)][t(282)](Se);e.ui[t(292)][t(275)](t(290),i=>{const s=t,n=new It.ButtonView(i);return n[s(271)]({label:at(i,s(300)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(268)}),this[s(304)](n,s(279),()=>{const t=s;e[t(291)][t(282)](t(310))[t(264)]()}),n}),e.ui[t(292)][t(275)](t(306),i=>{const s=t,n=new It.ButtonView(i);return n[s(271)]({label:at(i,s(288)),withText:!0,tooltip:!0}),n[s(269)](s(270)).to(e[s(305)][s(282)](s(306))),this[s(304)](n,s(279),()=>e[s(279)](s(306))),n}),e.ui[t(292)][t(275)](t(296),s=>{const n=t,r=new pe(s),o=e[n(305)][n(282)](n(295)),a=e[n(305)][n(282)](n(302));return r[n(269)](n(267)).to(o,n(270)),r[n(269)](n(303)).to(a,n(270)),r[n(269)](n(287),n(293),n(266),n(277)).to(i),this[n(304)](r,n(279),(t,i)=>{const s=n;e[s(279)](s(273)===i?s(302):s(295))}),r}),s[t(272)](),i.on(t(294),(e,i,n)=>{const r=t;n?s[r(311)]():s[r(272)]()})}}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;function Me(){const t=["value","span","scrollWidth","1790860fJBcLj","103966pQMBXM","_updateTooltipText","2474472oBOSgy","input","bindTemplate","extendTemplate","element","4980978sBGhyw","set","_resizeObserver","Enter the revision name","ck-tooltip_multi-line","placeholder","7fiGwFt","clientWidth","listenTo","Revision name","destroy","14978700CwWKwp","5FeIhOK","_tooltipString","render","ck-revision-history-sidebar__revision-name","2038264FldPCA","fieldView","704322BjqAqz"];return(Me=function(){return t})()}const Ve=De;function De(t,e){const i=Me();return(De=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(497363===parseInt(e(267))/1*(-parseInt(e(278))/2)+-parseInt(e(273))/3+-parseInt(e(271))/4+parseInt(e(277))/5+-parseInt(e(285))/6*(parseInt(e(261))/7)+parseInt(e(280))/8+parseInt(e(266))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class Ee extends It.LabeledFieldView{[Ve(287)]=null;constructor(t,e){const i=Ve;super(t,e);const s=this[i(282)];this[i(286)]({label:at(t,i(264)),_tooltipString:""}),this[i(272)][i(290)]=at(t,i(288)),this[i(283)]({tag:i(275),attributes:{class:[i(270)],"data-cke-tooltip-text":s.to(i(268)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(289)}})}[Ve(269)](){const e=Ve;super[e(269)](),this[e(287)]=new t.ResizeObserver(this[e(272)][e(284)],()=>this[e(279)]()),this[e(263)](this[e(272)],e(281),()=>this[e(279)]())}[Ve(265)](){const t=Ve;super[t(265)](),this[t(287)]&&this[t(287)][t(265)]()}[Ve(279)](){const t=Ve,e=this[t(272)][t(284)];this[t(268)]=e[t(276)]>e[t(262)]&&e[t(274)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(){const t=["ck-revision-history-sidebar__revision-author__name","setTemplate","1584sptvDn","30EgxkOY","145rSWERb","15221448MCvPxR","push","span","670491GVoeVQ","Revision creator","name","1814Lxvvfw","0 0 11 10","269540KcFuZf","33UyhHcJ","401mCcaiY","ck-revision-history-sidebar__revision-author","Revision author","ck-revision-history-sidebar__revision-author_creator","set","93110rgVNZl","4903908kKZwKL","2601592KAVAfN"];return(Le=function(){return t})()}function Pe(t,e){const i=Le();return(Pe=function(t,e){return i[t-=477]})(t,e)}!function(t){const e=Pe,i=t();for(;;)try{if(998603===parseInt(e(480))/1*(-parseInt(e(499))/2)+-parseInt(e(496))/3+-parseInt(e(478))/4*(-parseInt(e(492))/5)+parseInt(e(491))/6*(-parseInt(e(487))/7)+parseInt(e(493))/8+parseInt(e(490))/9*(-parseInt(e(485))/10)+parseInt(e(479))/11*(parseInt(e(486))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class je extends It.View{constructor(t,e,i){const s=Pe;super(t);const n=new It.IconView;n[s(484)]({content:_t.IconUser,viewBox:s(477)});const r=["ck",s(481)];i&&r[s(494)](s(483));const o=[{tag:s(495),attributes:{class:["ck",s(488)],title:at(t,s(i?497:482))},children:[n,e[s(498)]]}];this[s(489)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["2866389fjYaJB","7574319dKBxwd","9505782NWOKlo","1rRzVjO","43534740ueAowO","28824uysIkA","toLocaleDateString","numeric","toLocaleTimeString","1658244nYViou","290425prTHxp","76YxocRL","497MnNvPv","long"];return(ze=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=422]})(t,e)}!function(t){for(var e=We,i=t();;)try{if(978381===-parseInt(e(425))/1*(parseInt(e(431))/2)+-parseInt(e(422))/3+parseInt(e(433))/4*(-parseInt(e(432))/5)+-parseInt(e(424))/6+parseInt(e(434))/7*(parseInt(e(427))/8)+parseInt(e(423))/9+parseInt(e(426))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ze=i(505),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Mt(),Ue.insert=At().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Dt();Ot()(Ze.A,Ue);Ze.A&&Ze.A.locals&&Ze.A.locals;function He(){const t=["listenTo","isVisible","model","isActionsDropdownOpen","add","menu","140528OlZvwj","13160EmMUWo","button","Name this revision","ck-revision-history-sidebar__revision__actions","bindTemplate","class","action","704895KeunVI","listView","extendTemplate","function","panelPosition","items","isEnabled","find","4113gzXqUn","name","Restore this revision","buttonView","isOpen","_action","312836rXXAeW","set","57980cJufvy","bind","change:isActionsDropdownOpen","ck-on","19243siMUiS","first","isReady","map","570SxEFcc","Show more items","3335125RBJsmY","children","execute","menuitem","locale","2wlkxvk","source","stopPropagation","Compare against selected"];return(He=function(){return t})()}function $e(t,e){const i=He();return($e=function(t,e){return i[t-=319]})(t,e)}!function(t){const e=$e,i=t();for(;;)try{if(491542===-parseInt(e(348))/1+parseInt(e(365))/2*(-parseInt(e(334))/3)+parseInt(e(350))/4+parseInt(e(360))/5+parseInt(e(358))/6*(-parseInt(e(354))/7)+parseInt(e(326))/8+parseInt(e(342))/9*(parseInt(e(327))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var qe=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Tt(),Be.insertStyleElement=Dt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Ge;function Je(){const t=["isHighlighted","ck-revision-history-sidebar__revision__date","element","ck-disabled","_createdAtFormatted","value","4984593HxIFUX","216130xHabLr","fire","setTemplate","fieldView","revisionNameView","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_selected","585hftgmt","ck-revision-history-sidebar__revision__controls-wrapper","srcElement","createdAt","10538FyllMJ","3718806XOUkeI","bindTemplate","isActionsDropdownOpen","unhighlight","deselect","from","revisionActionsView","7XiSyzI","creator","change","isEnabled","set","extendTemplate","render","_requireRevisionName","10745390STfMnc","filter","ck-revision-history-sidebar__revision_highlighted","bind",".ck-confirm-view","setName","2MlPWQl","div","uiLanguage","isReady","highlight","map","ck-reset","4woOmfU","length","isConfirm","38472RMJqYh","ck-revision-history-sidebar__revision-authors","name","1635873deMhaS","ck-revision-history-sidebar__actions_dropdown_open","listenTo","64744xmUMVG","_revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","span","ck-revision-history-sidebar__revision-wrapper","closest","authors","select","unshift","isSelected","220"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=433]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(985465===parseInt(e(486))/1*(-parseInt(e(473))/2)+-parseInt(e(439))/3+parseInt(e(480))/4*(parseInt(e(440))/5)+-parseInt(e(452))/6*(-parseInt(e(459))/7)+parseInt(e(489))/8*(-parseInt(e(447))/9)+parseInt(e(467))/10+-parseInt(e(451))/11*(-parseInt(e(483))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(444)];[Ye(458)];[Ye(490)];[Ye(466)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(453)],a=function(t,e){const i=r,s=Array[i(457)](e[i(495)])[i(468)](t=>t!=e[i(460)]);return e[i(460)]&&s[i(497)](e[i(460)]),s[i(478)](s=>new je(t,s,s==e[i(460)]))}(e,i);this.id=i.id,this[r(490)]=i,this[r(466)]=n,this[r(470)](r(485),r(450)).to(i),this[r(470)](r(437)).to(this,r(450),t=>{return i=e[r(475)],(s=t)[(n=We)(428)](i,{month:n(435),day:n(429)})+", "+s[n(430)](i,{hour:n(429),minute:n(429)});var i,s,n}),this[r(463)](r(498),!1),this[r(463)](r(433),!1),this[r(463)](r(454),!1),this[r(463)](r(476),!1),this[r(463)](r(462),!1),this[r(444)]=new Ee(e,It.createLabeledInputText),this[r(444)][r(443)][r(464)]({attributes:{maxlength:r(499)}}),this[r(444)][r(443)][r(470)](r(438)).to(this,r(485),t=>t||this[r(437)]),this[r(444)][r(470)](r(462)).to(this,r(498),this,r(462),(t,e)=>t&&e),this[r(458)]=s&&s[r(481)]?function(e,i){const s=$e,n=e[s(331)],r=e[s(364)],o=(0,It.createDropdown)(r);o[s(338)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=$e,s=t[i(364)],n={"Compare against selected":at(s,i(319)),"Name this revision":at(s,i(329)),"Restore this revision":at(s,i(344))};return e[i(357)](t=>{const e=i,s=n[t[e(343)]];return s&&s!==t[e(343)]&&(t[e(343)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(328),model:new It.UIModel({label:t[n(343)],class:t[n(332)],withText:!0,role:n(363),_action:t[n(333)]})};i[n(322)][n(351)](n(340)).to(e,n(323),i=>n(337)!=typeof t[n(340)]||!i||t[n(340)](e)),o[n(324)](i)}return o}(e,i);return e[s(351)](s(323)).to(o,s(346)),o[s(345)][s(349)]({label:at(r,s(359)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(336)]({attributes:{class:[s(330),n.if(s(323),s(353))]},on:{click:n.to(t=>t[s(367)]())}}),o.on(s(362),t=>{const i=s;e[i(356)]&&i(337)==typeof t[i(366)][i(347)]&&t[i(366)][i(347)](e)}),(0,It.addListToDropdown)(o,a,{role:s(325)}),o[s(320)](e,s(352),(t,n,r)=>{const a=s;if(r)for(const t of o[a(335)][a(339)]){const s=t[a(361)][a(355)],n=i[a(341)](t=>t[a(333)]===s[a(347)])[a(321)];t[a(321)]=void 0===n||n(e)}}),o}(this,s):"",this[r(458)]&&this[r(458)][r(470)](r(462)).to(this),this[r(442)]({tag:r(474),attributes:{class:["ck",r(479),r(493),o.if(r(482),r(491))]},children:[{tag:r(474),attributes:{class:["ck",r(479),r(445),o.if(r(462),r(436),t=>!t),o.if(r(498),r(446)),o.if(r(433),r(469)),o.if(r(454),r(487))]},children:[this[r(444)],{tag:r(492),attributes:{class:["ck",r(434)]},children:[{text:o.to(r(437))}]},{tag:r(474),attributes:{class:["ck",r(448)]},children:[{tag:"ul",attributes:{class:["ck",r(484)]},children:a}]},this[r(458)]],on:{click:o.to(t=>{const e=r;t[e(449)][e(494)](e(471))||this[e(476)]&&this[e(462)]&&this[e(441)](e(496),{id:this.id})})}}]})}[Ye(465)](){const t=Ye;super[t(465)]();const e=this[t(444)][t(443)][t(435)];this[t(488)](e,t(461),()=>{const i=t;this[i(466)]&&!e[i(438)]||this[i(441)](i(472),{id:this.id,name:e[i(438)]}),e[i(438)]||(e[i(438)]=this[i(485)]?this[i(485)]:this[i(437)])})}[Ye(496)](){this[Ye(498)]=!0}[Ye(456)](){this[Ye(498)]=!1}[Ye(477)](){this[Ye(433)]=!0}[Ye(455)](){this[Ye(433)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const ji=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=ji.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),ji.set(i,s)),s}const Wi=new Map;const Zi=new Map;let Ui=null;const Hi=new Map;function $i(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):$s(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Zi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Zi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=js(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Ui=null,ji.clear(),Wi.clear(),Zi.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$i(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,js(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Pi[i];return s||(s=new Intl.ListFormat(t,e),Pi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Li.create(t)}return Ds(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Di.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=js(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),Li.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+(qs(t)?ks:ys)[e-1]}function Is(t,e){const i=qs(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function xs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ls(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function js(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Es(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zs(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Us(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $s(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return qs(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ps(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ti,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function xn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Zs(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${Tn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=xn("weekYear","weekNumber","weekDay"),Vn=xn("year","ordinal"),Dn=RegExp(`${Nn.source} ?(?:${Tn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Zs(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function Ln(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Pn(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const jn=RegExp(`^T?${Nn.source}$`),zn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Wn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Us(i)),months:d(Us(s)),weeks:d(Us(n)),days:d(Us(r)),hours:d(Us(o)),minutes:d(Us(a)),seconds:d(Us(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Zn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Un(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Zs(e)):Zs(e),month:an.indexOf(i)+1,day:Zs(s),hour:Zs(n),minute:Zs(r)};return o&&(a.second=Zs(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Hn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $n(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Un(e,n,s,i,r,o,a);let f;return f=c?Zn[c]:u?0:tn(l,h),[d,new ts(f)]}const qn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,Ln,Pn),ir=Sn(Mn,Fn,Ln,Pn),sr=Sn(Vn,Fn,Ln,Pn),nr=Sn(Fn,Ln,Pn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,Ln,Pn);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[jn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$s(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ps(e.values,t)||Ps(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function xr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=jr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return xr(u);case"yy":case"kk":return xr(h,Xs);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return xr(c);case"ooo":case"SSS":return xr(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return xr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ps(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=Li.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Hs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ps(i,"a")&&Ps(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Pr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Zr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return qr(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Zr(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=$s(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Zr(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Zr(n))}static fromMillis(t,e={}){if(Ds(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Zr(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=Ts(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?xs(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,$n])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[qn,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?Ts(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return $r(this,{ts:s,zone:t})}return fo.invalid(Zr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=xs({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...Ts(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Lr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=393]})(t,e)}function vo(){const t=["164420cxJENS","378HAQcXg","local","monthLong","month","year","1738106LbZgOB","toJSDate","hasSame","minus","2302113aQwPca","5039260RuqpbE","startOf","weekdayLong","setLocale","1NjMLOW","fromJSDate","week","day","8qGLmvI","5768427JpaQHH","3564108BFhrIm","toRelativeCalendar","5266096hZIDHr"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(399)](t)[i(397)](e),n=fo[i(409)](),r=n[i(416)]({days:1})[i(395)](i(401));let o,a;return s[i(415)](n,i(401))?(o=s[i(395)](i(401))[i(414)](),a=s[i(405)]()):s[i(415)](r,i(401))?(o=r[i(414)](),a=s[i(405)]()):s[i(415)](n,i(400))?(o=s[i(395)](i(400))[i(414)](),a=s[i(396)]||""):s[i(415)](n,i(412))?(o=s[i(395)](i(411))[i(414)](),a=s[i(410)]||""):(o=s[i(395)](i(412))[i(414)](),a=String(s[i(412)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(867231===parseInt(e(398))/1*(parseInt(e(413))/2)+parseInt(e(393))/3+-parseInt(e(406))/4+parseInt(e(394))/5+-parseInt(e(404))/6+parseInt(e(403))/7*(parseInt(e(402))/8)+-parseInt(e(408))/9*(parseInt(e(407))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["_requireRevisionName","span","ck-revision-history-sidebar__time-period","1008462MuMKZD","createCollection","setName","revisionViews","remove","removeRevision","div","setTemplate","_revisionActions","121220yuOnjm","45SZHLWz","addRevision","ck-revision-history-sidebar__time-period__revisions","delegate","find","554920yzaOzZ","59888ixHNNL","localizedPeriodName","add","5EoiuWF","locale","uiLanguage","ck-revision-history-sidebar__time-period__label","152936TVsbmr","187506nzLUZg","startDate","select","522740mqMysv","7eaIEGG"];return(bo=function(){return t})()}const wo=_o;function _o(t,e){const i=bo();return(_o=function(t,e){return i[t-=146]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(125328===-parseInt(e(160))/1+parseInt(e(174))/2+-parseInt(e(175))/3+-parseInt(e(146))/4*(-parseInt(e(170))/5)+-parseInt(e(151))/6*(parseInt(e(147))/7)+-parseInt(e(167))/8+parseInt(e(161))/9*(parseInt(e(166))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[wo(176)];[wo(154)];[wo(159)];[wo(148)];constructor(t,e,i,s){const n=wo;super(t);const r=go(e,this[n(171)][n(172)])[n(168)];this[n(176)]=e,this[n(154)]=this[n(152)](),this[n(159)]=i,this[n(148)]=s,this[n(154)][n(164)](n(177)).to(this),this[n(154)][n(164)](n(153)).to(this),this[n(158)]({tag:n(157),attributes:{class:["ck",n(150)]},children:[{tag:n(149),attributes:{class:["ck",n(173)]},children:[{text:r}]},{tag:n(157),attributes:{class:["ck",n(163)]},children:this[n(154)]}]})}[wo(162)](t){const e=wo,i=new Ke(this[e(171)],t,this[e(159)],this[e(148)]);this[e(154)][e(169)](i)}[wo(156)](t){const e=wo,i=this[e(154)][e(165)](e=>e.id===t.id);this[e(154)][e(155)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=474]})(t,e)}function To(){const t=["ck-revision-history-sidebar__header","194660mdHowC","33656780HmAsRJ","content","102gOLbnp","100770KRNFzk","129987DufYpE","Revision history","ck-reset_all","ck-revision-history-sidebar__header__label","2BRPKSz","div","span","7NMPNKr","2177667eAvoOZ","setTemplate","1222688BPMJGx","12263432scfpVe"];return(To=function(){return t})()}!function(t){const e=xo,i=t();for(;;)try{if(865901===parseInt(e(479))/1+-parseInt(e(484))/2*(parseInt(e(488))/3)+parseInt(e(490))/4+-parseInt(e(475))/5*(parseInt(e(478))/6)+-parseInt(e(487))/7*(parseInt(e(491))/8)+parseInt(e(480))/9+parseInt(e(476))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(477)]=_t.IconHistory,this[e(489)]({tag:e(485),attributes:{class:["ck",e(482),e(474)]},children:[i,{tag:e(486),attributes:{class:["ck",e(483)]},children:[at(t,e(481))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Do;function Vo(){const t=["div","297dHmwej","remove","highlightRevisions","get","find","selectRevision","select","ck-disabled","flat","some","_revisions","10717343rGPqGx","removeRevision","highlight","unhighlight","fire","startDate","bindTemplate","ck-revision-history-sidebar__timeline","ck-revision-history-sidebar","setName","isEnabled","6PfWkTO","createdAt","8294395MsdKsm","_removeRevision","deselect","setTemplate","render","delegate","revisionSelected","ck-reset","349526nSIGVK","64671Mxbrmg","set","_revisionActions","ck-rounded-corners","200hfYsEC","locale","21504wRvdgj","map","1197LweFPM","240230sRFlPR","timePeriodViews","232266LjBwAQ","uiLanguage","_getTimePeriodViewByStartDate","createCollection","addRevision","getTime","revisionViews","_addRevision","add","_requireRevisionName","revisionSetName"];return(Vo=function(){return t})()}function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(872560===-parseInt(e(532))/1+parseInt(e(488))/2+-parseInt(e(533))/3*(parseInt(e(481))/4)+parseInt(e(524))/5*(parseInt(e(522))/6)+parseInt(e(511))/7+parseInt(e(483))/8*(-parseInt(e(485))/9)+parseInt(e(486))/10*(-parseInt(e(500))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends It.View{[Mo(487)];[Mo(510)];[Mo(479)];[Mo(497)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(517)];this[n(487)]=this[n(491)](),this[n(487)][n(529)](n(506)).to(this),this[n(487)][n(529)](n(520)).to(this),this[n(510)]=e,this[n(479)]=i,this[n(497)]=s,this.on(n(506),(t,e)=>{const i=n;this[i(515)](i(530),e)}),this.on(n(520),(t,e)=>{const i=n;this[i(515)](i(498),e)}),this[n(478)](n(521),!1),this[n(527)]({tag:n(499),attributes:{class:["ck",n(531),n(480),n(519)]},children:[new No(t),{tag:n(499),attributes:{class:["ck",n(518),r.if(n(521),n(507),t=>!t)]},children:this[n(487)]}]})}[Mo(528)](){const t=Mo;super[t(528)]();for(const e of this[t(510)])this[t(495)](e);this[t(510)].on(t(496),(e,i)=>{this[t(495)](i)}),this[t(510)].on(t(501),(e,i)=>{this[t(525)](i)})}get[Mo(494)](){const t=Mo;return this[t(487)][t(484)](e=>e[t(494)][t(484)](t=>t))[t(508)]()}[Mo(505)](t){const e=Mo;for(const i of this[e(494)])t&&t.id===i.id?i[e(506)]():i[e(526)]()}[Mo(502)](t){const e=Mo;for(const i of this[e(494)])t[e(509)](({id:t})=>t===i.id)?i[e(513)]():i[e(514)]()}[Mo(495)](t){const e=Mo,i=go(t[e(523)],this[e(482)][e(489)])[e(516)];let s=this[e(487)][e(503)](0);s&&s[e(516)][e(493)]()===i[e(493)]()||(s=new Io(this[e(482)],i,this[e(479)],this[e(497)]),this[e(487)][e(496)](s)),s[e(492)](t)}[Mo(525)](t){const e=Mo,i=go(t[e(523)],this[e(482)][e(489)])[e(516)];this[e(490)](i)[e(512)](t)}[Mo(490)](t){const e=Mo;return this[e(487)][e(504)](i=>i[e(516)][e(493)]()===t[e(493)]())}}const Co=Lo;function Fo(){const t=["render","requires","timePeriodViews","focus","_handleDiffChange","RevisionsSidebar","288IIsIce","newRevisionId","revisionHistory.revisionActions","revisionHistory.viewerSidebarContainer","change:diff","4658760HtxLJW","revisionViews","revisionHistory.requireRevisionName","compareAgainstSelected","map","bind","select","diff","init","assign","isPremiumPlugin","fieldView","773927xmJgfi","_createRevisionActions","string","Restore this revision","_handleEditorDataReady","8NOCgZu","config","selectRevision","add","remove","Name this revision","getRevisionsInDiff","data","isOfficialPlugin","defaultRevisionActions","Compare against selected","getEarlierVisibleRevision","160XJpfzr","availableRevisionActions","editor","name","334618kFPAPL","locale","pluginName","restoreRevisionCallback","344zsWZpK","getRevision","306792vqGaAS","appendChild","ready","_handleRevisionSelected","isReady","plugins","5850614ImAgPw","_sidebarView","compare","isSelected","getIndex","isEnabled","12921EEVRBe","4136180MCFKuV","restoreRevision","_handleRevisionSetName","_revisionsRepository","isVisible","revisionSetName","repository","highlightRevisions","getLaterVisibleRevision","element","_revisions","_revisionViewer","revisionSelected","action","length","get","setName","nameRevision","listenTo","destroy","revisionHistory"];return(Fo=function(){return t})()}function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=267]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(720840===-parseInt(e(301))/1*(-parseInt(e(317))/2)+parseInt(e(335))/3*(parseInt(e(321))/4)+-parseInt(e(336))/5+parseInt(e(284))/6+-parseInt(e(329))/7+-parseInt(e(279))/8*(parseInt(e(323))/9)+parseInt(e(313))/10*(parseInt(e(296))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends G.Plugin{[Co(347)];[Co(339)];[Co(330)];static[Co(310)]=[Co(287),Co(337),Co(269)];static[Co(314)]=function(){const t=Co;return{compareAgainstSelected:{name:t(311),action:({plugins:e},i)=>{const s=t,n=e[s(267)](ue),r=n[s(342)];let o=n[s(291)][s(280)],a=i.id;r[s(333)](o)>r[s(333)](a)&&([o,a]=[a,o]),n[s(331)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(267)](ue);return!(n[s(342)][s(307)](n[s(291)])[s(350)]>2||i[s(332)])}},restoreRevision:{name:t(299),action:(e,{id:i})=>{const s=t;e[s(302)][s(267)](s(272))[s(320)](i)},isVisible:({plugins:e},i)=>!!e[t(267)](ue)[t(342)][t(344)](i.id)},nameRevision:{name:t(306),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(267)](ue),o=r[n(342)][n(312)](i);r[n(331)](i,o),s[n(276)](),s[n(295)][n(290)]()}}}}();static get[Co(319)](){return Co(278)}static get[Co(309)](){return!0}static get[Co(294)](){return!0}static get[Co(274)](){return[ue]}constructor(t){const e=Co;super(t),this[e(347)]=t[e(328)][e(267)](ue),this[e(339)]=this[e(347)][e(342)],this[e(330)]=null}[Co(292)](){const t=Co,e=this[t(339)][t(346)],i=this[t(297)](),s=this[t(315)][t(302)][t(267)](t(282));this[t(330)]=new Eo(this[t(315)][t(318)],e,i,this[t(315)][t(302)][t(267)](t(286))),this[t(330)].on(t(348),this[t(326)][t(289)](this)),this[t(330)].on(t(341),this[t(338)][t(289)](this)),this[t(330)][t(289)](t(334)).to(this[t(347)]),this[t(330)][t(275)].on(t(304),(e,i)=>{const s=t;i[s(285)].on(s(304),(t,e)=>{const i=s;e[i(289)](i(334),i(327)).to(this[i(347)])})}),this[t(330)][t(273)](),this[t(270)](this[t(315)][t(308)],t(325),this[t(300)][t(289)](this)),this[t(270)](this[t(347)],t(283),this[t(277)][t(289)](this)),s[t(324)](this[t(330)][t(345)])}[Co(271)](){const t=Co;this[t(330)][t(345)][t(305)](),this[t(330)][t(271)]()}[Co(300)](){const t=Co,e=this[t(339)][t(322)](0);if(e){const i=this[t(339)][t(312)](e.id);this[t(347)][t(331)](e,i)}}[Co(326)](t,e){const i=Co,s=this[i(339)][i(322)](e.id),n=this[i(339)][i(312)](s.id);this[i(347)][i(331)](s,n)}[Co(338)](t,e){const i=Co;this[i(339)][i(322)](e.id)[i(268)](e[i(316)])}[Co(277)](t,e,i){const s=Co,n=this[s(339)][s(307)](i);n[s(350)]>2?(this[s(330)][s(343)](n),this[s(330)][s(303)](null)):(this[s(330)][s(343)]([]),this[s(330)][s(303)](n[0]))}[Co(297)](){const t=Co,e=this[t(315)],i=Po[t(314)],s=e[t(302)][t(267)](t(281))||Po[t(310)];if(s[t(350)])return s[t(288)](s=>{const n=t,r=n(298)==typeof s?Object[n(293)]({},i[s]):s;return r[n(349)]=r[n(349)][n(289)](this,e),r[n(340)]&&(r[n(340)]=r[n(340)][n(289)](this,e)),r})}}function jo(){const t=["viewportTopOffset","bind","_elementReplacer","_toolbarConfig","render","config","349887JfkcpP","editor","stickyPanel","init","replace","destroy","getRoot","element","fillFromConfig","419384kpzzOS","focusTracker","setEditableElement","_initToolbar","viewportOffset","editable","name","279ZZVHTD","limiterElement","editing","12odDqRb","view","1594735DUqoXD","_view","fire","get","restore","toolbar","1181662XGSNih","rootName","1070629PGlBkd","isFocused","detachDomRoot","ready","isActive","attachDomRoot","491763SHopAV","623780FzAjyK","12mbdzFr","document","componentFactory","addToolbar"];return(jo=function(){return t})()}const zo=Wo;function Wo(t,e){const i=jo();return(Wo=function(t,e){return i[t-=276]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(357747===parseInt(e(300))/1+-parseInt(e(280))/2+parseInt(e(288))/3*(-parseInt(e(319))/4)+parseInt(e(321))/5*(-parseInt(e(290))/6)+-parseInt(e(282))/7+-parseInt(e(309))/8+parseInt(e(316))/9*(parseInt(e(289))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Zo extends It.EditorUI{[zo(322)];[zo(297)];[zo(296)];get[zo(320)](){return this[zo(322)]}constructor(e,i){const s=zo;super(e),this[s(322)]=i,this[s(297)]=(0,It.normalizeToolbarConfig)(e[s(299)][s(277)](s(279))),this[s(296)]=new t.ElementReplacer}get[zo(307)](){const t=zo;return this[t(320)][t(307)]}[zo(303)](t){const e=zo,i=this[e(301)],s=this[e(320)],n=i[e(318)][e(320)],r=s[e(314)],o=n[e(291)][e(306)]();r[e(315)]=o[e(281)],s[e(298)]();const a=r[e(307)];this[e(311)](r[e(315)],a),s[e(314)][e(295)](e(283)).to(this[e(310)]),n[e(287)](a),this[e(296)][e(304)](t,this[e(307)]),this[e(312)](),this[e(276)](e(285))}[zo(305)](){const t=zo;super[t(305)]();const e=this[t(320)],i=this[t(301)][t(318)][t(320)];this[t(296)][t(278)](),i[t(284)](e[t(314)][t(315)]),e[t(305)]()}[zo(312)](){const t=zo,e=this[t(320)];e[t(302)][t(295)](t(286)).to(this[t(310)],t(283)),e[t(302)][t(317)]=e[t(307)],e[t(302)][t(295)](t(294)).to(this,t(313),({top:t})=>t),e[t(279)][t(308)](this[t(297)],this[t(292)]),this[t(293)](e[t(279)])}}var Uo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Dt();Ot()(Uo.A,Ho);Uo.A&&Uo.A.locals&&Uo.A.locals;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=220]})(t,e)}var qo=$o;function Bo(){var t=["add","96108xGfizu","_editable","91kSxoKo","shouldToolbarGroupWhenFull","10eAnbhu","3891536tNySau","11ZDBeaJ","432pXwfsY","toolbar","1141clgsSd","67688VwNMRT","content","39166pZFVvi","1320930dMwsfp","stickyPanel","3sqBMPC","145292ChZwPQ","render","10722YYLCiV","editable","top","main"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(228352===parseInt(e(222))/1*(parseInt(e(228))/2)+parseInt(e(231))/3*(parseInt(e(232))/4)+parseInt(e(229))/5+parseInt(e(234))/6*(-parseInt(e(225))/7)+parseInt(e(226))/8*(-parseInt(e(223))/9)+parseInt(e(220))/10*(parseInt(e(221))/11)+parseInt(e(239))/12*(parseInt(e(241))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(240)];[qo(230)];[qo(224)];get[qo(235)](){return this[qo(240)]}constructor(t,e,i={}){var s=qo;super(t),this[s(230)]=new It.StickyPanelView(t),this[s(224)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(242)]}),this[s(240)]=new It.InlineEditableUIView(t,e)}[qo(233)](){var t=qo;super[t(233)](),this[t(230)][t(227)][t(238)](this[t(224)]),this[t(236)][t(238)](this[t(230)]),this[t(237)][t(238)](this[t(235)])}}const Jo=Ko;function Go(){const t=["updateSourceElement","document","8GcHoAi","initPlugins","527709KwjvjD","296358mqCYrK","fire","890916PFWlvX","config","11oYMLxi","get","data","sourceElement","915750WzdRLV","4171902DNBgzF","initialData","5yxsuuu","createRoot","ready","_ui","init","destroy","model","editing","view","8956089WRkRSp","create","2yxLNsc","locale","298950eZGwEb"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=284]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(642809===parseInt(e(285))/1*(-parseInt(e(307))/2)+parseInt(e(284))/3+parseInt(e(287))/4+parseInt(e(296))/5*(parseInt(e(309))/6)+-parseInt(e(294))/7+-parseInt(e(312))/8*(-parseInt(e(305))/9)+parseInt(e(293))/10*(parseInt(e(289))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(299)];get ui(){return this[Jo(299)]}constructor(t,e){const i=Jo;super(e),this[i(292)]=t,this[i(302)][i(311)][i(297)]();const s=new Yo(this[i(308)],this[i(303)][i(304)],{shouldToolbarGroupWhenFull:!0});this[i(299)]=new Zo(this,s)}[Jo(301)](){const t=Jo;return this[t(310)](),this.ui[t(301)](),super[t(301)]()}static async[Jo(306)](t,e){const i=Jo,s=new this(t,e);return await s[i(313)](),await s.ui[i(300)](t),await s[i(291)][i(300)](s[i(288)][i(290)](i(295))||""),s[i(286)](i(298)),s}}const Qo=ta;function ta(t,e){const i=ia();return(ta=function(t,e){return i[t-=478]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(368785===parseInt(e(643))/1*(parseInt(e(612))/2)+parseInt(e(634))/3+parseInt(e(586))/4+parseInt(e(555))/5*(parseInt(e(522))/6)+parseInt(e(552))/7*(parseInt(e(577))/8)+-parseInt(e(589))/9*(-parseInt(e(602))/10)+-parseInt(e(592))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ea=[Qo(537),Qo(633),Qo(528),Qo(568),Qo(534),Qo(635),Qo(580)];function ia(){const t=["14375427onIuxK","from","remove","_restoreRevision","config","getRevisionRootsAttributes","getAttributeKeys","keys","toLocaleDateString",".ck-ai-chat-history .ck-input","5934120SvQHnc","_enhanceCloseRevisionViewerCallback","getMarkersGroup","Autosave","_showRevisionViewer","removeMarker","Annotations","locale","long","update","70270KrcaXk","class","_cleanUp","$graveyard","adapter","display","setSelection","ck-tab-panel_disabled","rootName","define","saveRevision","restoreRevision","getRevision","document","showRevisionViewerCallback","pluginName","addRoot","hide","style","fromVersion","requires","RestrictedEditingMode","171951PUlfir","AIQuickActions","data","_viewerEditor","DocumentOutlineUI","addUser","revisionHistory.showRevisionViewerCallback","isOpen","users","7HyWJqs","includes","createRangeIn","bind","name","RevisionHistoryUtils","plugins","markers","RevisionHistory","repository","none","RevisionViewerIntegration","block","uiLanguage","parse","isReadOnly","AITabs","selection","change","result","RevisionTracker","toolbar","loadRevisionData","isRevisionViewerOpen","exitToEditing","isAttached","revisionHistory.viewerEditorElement","changesNavigation","error","disableReadOnlyMode","view","revisionHistory.requireRevisionName","querySelector","init","replace","isReady","map","getRoot","Restored","push","tabindex","revisionHistory.restoreRevisionCallback","revisionHistory","refreshPositioning","join","toVersion","lazyRoots"," ck-tab-panel_disabled","2796162gETjfX","get","_enhanceShowRevisionViewerCallback","indexOf","revision-history-viewer-opened","RevisionsRepository","AIChat","set","Users","_getRevisionViewerEditorConfig","getRevisions","revisionHistory.viewerContainer","AIBalloon","panelViews","restrictedEditingException","RevisionHistoryUI","revisionHistory.closeRevisionViewerCallback","_recalculatePageBreaks","DocumentOutline","removeAttribute","fromCharCode","editor","numeric","getUser","toJSON","PaginationLookup","catch","removeSelectionAttribute","enableReadOnlyMode","toLocaleTimeString","25781kkGaTY","enqueueChange","destroy","5GiDGgD","insert","element",".ck-ai-chat__prompt-input .ck-textarea","commands","RevisionViewer","has","isPremiumPlugin","createdAt","Dialog","revisionHistory.editorContainer","isAnonymous","roots","AIReviewMode","closeRevisionViewerCallback","translations","_closeRevisionViewer","creator","detachRoot","revision-history-missing-configuration","refreshVisibility","isEnabled","8RuRSNv","model","end","AIActions","save","AIChatHistory","setAttribute","then","create","1237032ifxtPk","addRevisionData","getRevisionDocumentData","9rdwAtk","_update","isOfficialPlugin"];return(ia=function(){return t})()}class sa extends G.Plugin{[Qo(493)];static get[Qo(627)](){return Qo(485)}static get[Qo(591)](){return!0}static get[Qo(562)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(510)](t=>String[e(542)](t))[e(518)]("")}super(t),this[e(493)]=e(579),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(637)];static get[Qo(627)](){return Qo(482)}static get[Qo(591)](){return!0}static get[Qo(562)](){return!0}static get[Qo(632)](){return[pt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(543)][i(596)][i(523)](i(516)))throw new t.CKEditorError(i(574),this);this[i(637)]=null,this[i(529)](i(497),!1),this[i(543)][i(596)][i(621)](i(640),t=>this[i(606)]({...t,translations:this[i(543)][i(609)][i(570)]})),this[i(543)][i(596)][i(621)](i(538),t=>this[i(571)](t)),this[i(543)][i(596)][i(621)](i(515),t=>this[i(595)](t)),this[i(543)][i(596)][i(621)](i(505),!1),this[i(524)](),this[i(603)]()}set[Qo(616)](t){const e=Qo;this[e(543)][e(480)][e(523)](e(494))[e(616)]=t}get[Qo(616)](){const t=Qo;return this[t(543)][t(480)][t(523)](t(494))[t(616)]}[Qo(587)](t){const e=Qo;return this[e(543)][e(480)][e(523)](e(494))[e(587)](t)}[Qo(624)](t){const e=Qo;return this[e(543)][e(480)][e(523)](e(527))[e(624)](t)}[Qo(532)](t){const e=Qo;return this[e(543)][e(480)][e(523)](e(527))[e(532)](t||{toJSON:!1})}[Qo(531)](){const e=Qo,i=this[e(543)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(480)][e(523)](e(494)),r=i[e(480)][e(523)](e(530))[e(642)];return s[e(495)]=[e(498),e(623),e(501)],delete s[e(520)],s[e(480)][e(513)](sa,ue,Ne,class extends G.Plugin{static get[e(632)](){return[ue,e(530)]}[e(507)](){const s=e,o=this[s(543)][s(480)][s(523)](s(530));for(const t of r)t[s(566)]||o[s(545)](t.id)||o[s(639)](t);const a=n[s(483)][s(532)]();let c=null;const u=this[s(543)][s(480)][s(523)](s(560));u[s(616)]=n[s(616)],u[s(646)](s(576)).to(n),this[s(543)][s(559)][s(523)](s(623))[s(646)](s(576)).to(i,s(489),t=>!t);for(const e of a){const i=null===e[s(572)];if(i&&e[s(519)]===e[s(631)])continue;const r=e[s(546)]();u[s(587)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(590)](r,o);else if(!o){const e=a[u(546)]();e.id=(0,t.uid)(),n[u(622)](e,a[u(519)])[u(584)](t=>{c=t})}}else e[u(590)](r,o)})}}},Po),s}[Qo(524)](){const t=Qo,e=this[t(543)][t(596)][t(523)](t(516))[t(626)];this[t(543)][t(596)][t(529)](t(640),async()=>{const i=t;this[i(543)][i(550)](i(526));const s=this[i(543)][i(480)][i(523)](i(494));if(this[i(543)][i(480)][i(561)](i(605))){const t=this[i(543)][i(480)][i(523)](i(605));await t[i(581)]()}else await s[i(611)]();if(this[i(543)][i(480)][i(561)](i(547))&&this[i(543)][i(480)][i(523)](i(547))[i(539)](),this[i(543)][i(480)][i(561)](i(564))){const t=this[i(543)][i(480)][i(523)](i(564));t[i(641)]&&t[i(629)]()}if(this[i(543)][i(480)][i(561)](i(490))){const t=this[i(543)][i(480)][i(523)](i(490))[i(504)][i(535)];for(const e of t)e[i(613)]=e[i(613)]?e[i(613)]+i(521):i(619);if(this[i(543)][i(480)][i(561)](i(528))){const t=document[i(506)](i(558));t&&t[i(583)](i(514),"-1")}if(this[i(543)][i(480)][i(561)](i(582))){const t=document[i(506)](i(601));t&&t[i(583)](i(514),"-1")}}const n=this[i(531)]();return e(n)[i(584)](t=>{const e=i;return this[e(637)]=t,this[e(543)][e(480)][e(561)](e(608))&&this[e(543)][e(480)][e(523)](e(608))[e(575)](),this[e(543)][e(480)][e(561)](e(540))&&(this[e(543)][e(480)][e(523)](e(638))[e(504)][e(557)][e(630)][e(617)]=e(484)),t})[i(548)](t=>(console[i(502)](t),this[i(543)][i(503)](i(526)),null))})}[Qo(603)](){const t=Qo,e=this[t(543)][t(596)][t(523)](t(516))[t(569)];this[t(543)][t(596)][t(529)](t(538),()=>{const i=t;if(this[i(543)][i(480)][i(561)](i(547))&&this[i(543)][i(480)][i(523)](i(547))[i(539)](),this[i(543)][i(480)][i(561)](i(540))&&(this[i(543)][i(480)][i(523)](i(638))[i(504)][i(557)][i(630)][i(617)]=""),this[i(543)][i(480)][i(561)](i(490))){const t=this[i(543)][i(480)][i(523)](i(490))[i(504)][i(535)];for(const e of t)e[i(613)]=i(619)===e[i(613)]?"":e[i(613)][i(508)](i(521),"");if(this[i(543)][i(480)][i(561)](i(528))){const t=document[i(506)](i(558));t&&t[i(541)](i(514))}if(this[i(543)][i(480)][i(561)](i(582))){const t=document[i(506)](i(601));t&&t[i(541)](i(514))}}return this[i(637)][i(480)][i(523)](i(560))[i(614)](),e(this[i(637)])[i(584)](()=>{const t=i;if(this[t(543)][t(503)](t(526)),this[t(637)]=null,this[t(543)][t(480)][t(561)](t(608))){const e=this[t(543)][t(480)][t(523)](t(608));e[t(575)](),e[t(517)]()}})})}[Qo(606)](t){const e=Qo,i=this[e(543)][e(596)][e(523)](e(565)),s=this[e(543)][e(596)][e(523)](e(533)),n=this[e(543)][e(596)][e(523)](e(500));return Xo[e(585)](n,t)[e(584)](t=>(s[e(630)][e(617)]=e(486),i[e(630)][e(617)]=e(484),this[e(497)]=!0,t))}[Qo(571)](t){const e=Qo,i=this[e(543)][e(596)][e(523)](e(565));return this[e(543)][e(596)][e(523)](e(533))[e(630)][e(617)]=e(484),i[e(630)][e(617)]="",this[e(497)]=!1,t[e(554)]()}async[Qo(595)](t){const e=Qo,i=this[e(543)],s=this[e(637)][e(480)][e(523)](e(560)),n=i[e(480)][e(523)](e(494)),r=i[e(480)][e(523)](e(479)),o=s[e(483)][e(624)](t);let a,c,u;try{await r[e(496)](o,this[e(616)]),a=r[e(588)](o),c=r[e(597)](o)}catch(t){return void console[e(502)](t)}i[e(578)][e(492)](t=>{const s=e;for(const e of Array[s(593)](i[s(578)][s(481)][s(604)](s(536))))t[s(607)](e)}),s[e(509)]=!1,i[e(578)][e(553)](t=>{const s=e;t[s(618)](null),t[s(549)](i[s(578)][s(625)][s(491)][s(598)]());const n=Object[s(599)](a);for(const e of i[s(578)][s(625)][s(567)])s(615)!=e[s(620)]&&e[s(499)]()&&!n[s(644)](e[s(620)])&&t[s(573)](e);for(const e of n){let n=i[s(578)][s(625)][s(511)](e);n&&n[s(499)]()||(n=t[s(628)](e));const r=c[e],o=Object[s(599)](r),u=a[e];for(const e of n[s(598)]())o[s(644)](e)||t[s(541)](e,n);for(const i of o)t[s(583)](i,c[e][i],n);t[s(594)](t[s(645)](n)),t[s(556)](i[s(636)][s(488)](u,n),n,0)}});const l=at(i[e(609)],e(512));return u=o[e(478)]?-1==o[e(478)][e(525)](l)?l+": "+o[e(478)]:o[e(478)]:l+": "+o[e(563)][e(600)](i[e(609)][e(487)],{month:e(610),day:e(544)})+", "+o[e(563)][e(551)](i[e(609)][e(487)],{hour:e(544),minute:e(544)}),await n[e(622)]({name:u}),s[e(509)]=!0,i[e(596)][e(523)](e(516))[e(569)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=454]})(t,e)}function oa(){var t=["295085yhKBIX","8VFtrew","20574306nFrBZS","169752OBvEOc","2UbbvWk","9292992TRfGEs","2413239tTcZjt","3065496ZBiYvb","989561eJQkKp"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(893167===-parseInt(e(457))/1*(parseInt(e(462))/2)+parseInt(e(455))/3+-parseInt(e(459))/4*(parseInt(e(458))/5)+-parseInt(e(454))/6+parseInt(e(456))/7+parseInt(e(461))/8+parseInt(e(460))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();