@ckeditor/ckeditor5-revision-history 47.7.1 → 47.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +12 -12
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={76(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},450(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},522(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},898(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},433(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},443(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},223(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},416(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},812(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},651(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},4(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},434(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},418(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},271(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},366(t){"use strict";t.exports=function(t){return t[1]}},789(t){"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},298(t){"use strict";var e={};t.exports=function(t,i){var n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},437(t){"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211(t,e,i){t.exports=i(312)("./src/collaboration-core.js")},782(t,e,i){t.exports=i(237)("./src/core.js")},783(t,e,i){t.exports=i(237)("./src/engine.js")},355(t,e,i){t.exports=i(237)("./src/icons.js")},311(t,e,i){t.exports=i(237)("./src/ui.js")},584(t,e,i){t.exports=i(237)("./src/utils.js")},312(t){"use strict";t.exports=CKEditor5.collaborationDll},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(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,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,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,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,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 E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?: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 V.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function j(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 P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function U(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!U(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:U(i)?i:C(s[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 n=t[e];return void 0===n?Z(e)?H(t,z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=H(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const B=Y;function $(){const t=["set","setName","741075dJoWXS","creator","removeAttribute","toJSON","_update","creatorId","10164uPyjyM","1956290Xrraqp","49yBvHTg","authors","attributes","9WsmMci","fromVersion","9036WbVpzm","fire","setAttribute","model","toVersion","2361632krpDmF","createdAt","diffData","1410SeuoYx","map","4496624kSKfFR","1420PwBFBI","name","1232UdhZRB","authorsIds"];return($=function(){return t})()}function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=107]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(270056===parseInt(e(133))/1*(-parseInt(e(108))/2)+parseInt(e(116))/3*(-parseInt(e(119))/4)+-parseInt(e(125))/5+parseInt(e(131))/6*(parseInt(e(121))/7)+-parseInt(e(113))/8*(-parseInt(e(136))/9)+-parseInt(e(132))/10+parseInt(e(118))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[B(126)];[B(134)];[B(115)];[B(112)];[B(107)];[B(111)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(126)]=e[i(126)]||null,this[i(134)]=e[i(134)]||[],this[i(115)]=e[i(115)]||null,this[i(112)]=e[i(112)]||0,this[i(107)]=e[i(107)]||0,this[i(123)](i(120),e[i(120)]||""),this[i(123)](i(114),e[i(114)]||new Date),this[i(123)](i(135),e[i(135)]||{})}[B(124)](t){this[B(129)]({name:t})}[B(110)](t,e){const i=B,n=R(this[i(135)]);W(n,t,e),this[i(129)]({attributes:n})}[B(127)](t){const e=B,i=R(this[e(135)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return q(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(129)]({attributes:i})}[B(129)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(120),i(114),i(115),i(134),i(135),i(112),i(107),i(130)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(134)]&&(s[i(122)]=s[i(134)][i(117)](t=>t.id),delete s[i(134)]),this[i(109)](i(129),s,e))}[B(128)](){const t=B;return{id:this.id,name:this[t(120)],creatorId:this[t(126)]?this[t(126)].id:null,authorsIds:this[t(134)][t(117)](t=>t.id),diffData:this[t(115)],createdAt:this[t(114)],attributes:this[t(135)],fromVersion:this[t(107)],toVersion:this[t(112)]}}}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["171909CEUcnz","length","push","27880yEgdph","getEarlierVisibleRevision","join","name","352LvPUdh","createRevision","get","isPremiumPlugin","getRevisionsIterator","authorsIds","getIndex","getLaterVisibleRevision","diffData","1246755FFtdET","toJSON","getRevision","4609ZUQrsB","_revisions","createdAt","isNaN","reverse","getUser","afterInit","earlier","newRevisionId","attributes","isOfficialPlugin","toVersion","from","getRevisionsInDiff","1005148xnEmVf","fromCharCode","creatorId","7889XJxeTu","addRevision","getRevisions","fromVersion","Users","href","RevisionsRepository","later","add","5598lunLFC","data","869379VJaebr","map","1047628YPGzqs","plugins","requires","oldRevisionId","15gfnrAQ","editor","pluginName"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=104]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(557886===parseInt(e(147))/1+-parseInt(e(149))/2+parseInt(e(116))/3+parseInt(e(133))/4*(parseInt(e(153))/5)+-parseInt(e(145))/6*(-parseInt(e(136))/7)+parseInt(e(107))/8*(-parseInt(e(156))/9)+-parseInt(e(159))/10*(parseInt(e(119))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(120)];static get[Q(151)](){return[K.Users]}static get[Q(155)](){return Q(142)}static get[Q(129)](){return!0}static get[Q(110)](){return!0}get[Q(157)](){const t=Q;return this[t(120)][t(157)]}constructor(e){const i=Q;super(e),this[i(120)]=new t.Collection}[Q(125)](){!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]),n=964649,s=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 n=0;n<t[y([108,101,110,103,116,104])];n+=2){let s=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[y([108,101,110,103,116,104])]&&(s-=i[y([108,101,110,103,116,104])]),e+=i[s]}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 n=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)}):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(148)](t=>String[e(134)](t))[e(105)]("")}!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()]=n),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])]),n=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),n[y([105,115,69,110,97,98,108,101,100])]=!1,n[y([99,111,109,112,97,114,101])]=g,void(n[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),n={...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 n[y([118,99])],d(n)==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(n())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(s-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 n=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])](s/n)));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)*n: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 n(){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 n=c[y([115,112,108,105,116])](y([46])),[s,r,o]=n;return e(s),await i(s,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,n){const s=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(n),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,s,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])])?s/1e3:1776902400;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:n}=new URL(window[y([108,111,99,97,116,105,111,110])][t(141)]);if(e[y([105,110,99,108,117,100,101,115])](n))return!0;const s=n[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])]<=s[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(s[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=>s[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,n=e[y([95,114,101,118,105,115,105,111,110,115])];function s(){n[y([108,101,110,103,116,104])]>=i&&t()}s(),n[y([111,110])](y([97,100,100]),s)})),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(122)](window[y([78,117,109,98,101,114])](e))&&window[e]==n)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(108)](t){const e=Q,i=this[e(154)][e(150)][e(109)](e(140));return new J({id:t.id,name:t[e(106)],creator:t[e(135)]?i[e(124)](t[e(135)]):null,diffData:t[e(115)]||t[e(146)],authors:t[e(112)][e(148)](t=>i[e(124)](t)),createdAt:new Date(t[e(121)]),attributes:t[e(128)],fromVersion:t[e(139)],toVersion:t[e(130)]})}[Q(137)](t,e=0){const i=Q;this[i(120)][i(144)](t,e)}[Q(118)](t){const e=Q;return this[e(120)][e(109)](t)}[Q(138)](t={toJSON:!1}){const e=Q,i=Array[e(131)](this[e(120)]);return i[e(123)](),t[e(117)]?i[e(148)](t=>t[e(117)]()):i}[Q(113)](t){const e=Q;return this[e(120)][e(113)](t)}[Q(104)](t){const e=Q,[,i]=this[e(111)](t,{direction:e(126)});return i}[Q(114)](t){const e=Q,[,i]=this[e(111)](t,{direction:e(143)});return i}[Q(132)](t){const e=Q,i=[];for(const n of this[e(111)](t[e(127)]))if(i[e(158)](n),n.id===t[e(152)])break;return i}*[Q(111)](t,{direction:e=Q(126),filter:i=()=>!0}={}){const n=Q,s=n(126)===e?1:-1;let r=this[n(120)][n(109)](t),o=this[n(113)](r);for(yield r;r;){if(o+=s,r=this[n(118)](o),!r)return;i(r)&&(yield r)}}}function nt(){const t=["getFillerOffset","append","toModel","editor","customProperties","domChildrenToView","filter","51582TQGEPA","_getTypeCharForViewElement","_makeModelFromViewString","323486KneolN","createElement","forEach","domDocument","pluginName","535lSXLnC","2143508eDtLMd","length","getRevisionDocumentData","htmlProcessor","map","insertions","getRevisionRootsAttributes","processor","_setCustomProperty","render","diffData","editing","3920014lbJUte","revision-end","config","document","5869904JUePFH","constructor","innerHTML","type","attributes","string","_getViewFromDiffObj","toData","get","viewChildrenToDom","data-revision-","1707516NlCDej","isPremiumPlugin","_typeCharToViewClass","data","marked","domConverter","isOfficialPlugin","from","getRevision","attributesAfter","_removeRevisionMarkers","parse","default","_viewClassToTypeChar","loadRevisionData","name","3341440wAMbRK","children","attachChange","startsWith","div","_appendChild","fillerOffset","isAttached","RevisionHistoryUtils","collaboration.channelId","revision-start","useFillerType","view","childNodes"];return(nt=function(){return t})()}const st=rt;function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=464]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(567813===parseInt(e(491))/1+parseInt(e(497))/2+-parseInt(e(524))/3+parseInt(e(467))/4+-parseInt(e(496))/5*(parseInt(e(488))/6)+parseInt(e(509))/7+-parseInt(e(513))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(495)](){return st(475)}static get[st(530)](){return!0}static get[st(525)](){return!0}[st(464)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(526)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(465)](t,e){const i=st;if(t[i(507)]||!e)return;const n=this[i(484)][i(511)][i(521)](i(476)),s=await e[i(532)]({channelId:n,revisionId:t.id});t[i(507)]=s[i(507)]}[st(499)](t){const e=st,i={};for(const n in t[e(507)]){if(t[e(507)][n][e(469)]&&!t[e(507)][n][e(469)][e(474)])continue;const s=this[e(534)](JSON[e(535)](t[e(507)][n][e(502)])),r=this[e(484)][e(508)][e(479)][e(512)],o=new X.ViewDocumentFragment(r,s[e(501)](t=>this[e(519)](t,!1)));this[e(484)][e(527)][e(504)][e(478)](e(528)),i[n]=this[e(484)][e(527)][e(504)][e(520)](o),this[e(484)][e(527)][e(504)][e(478)](e(536))}return i}[st(503)](t){const e=st,i={};for(const n in t[e(507)])t[e(507)][n][e(469)]&&!t[e(507)][n][e(469)][e(474)]||(i[n]=t[e(507)][n][e(533)]||{});return i}[st(489)](t){const e=st;return this[e(464)][e(521)](t[e(514)])}[st(519)](t,e){const i=st,n=this[i(484)][i(508)][i(479)][i(512)];if(i(518)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(516)]||"r"==t[i(516)]?[]:t[i(468)][i(501)](t=>this[i(519)](t,e));const o=this[i(526)][i(521)](t[i(516)])||X.ViewElement,a=this[i(484)][i(527)][i(500)][i(529)];if(s=new o(n,t[i(466)],t[i(517)],r),"u"==t[i(516)]&&t[i(468)][0]){const r=t[i(468)][0];if(s[i(506)]=function(t){const e=i,n=t[e(492)](e(471));return n[e(515)]=r,n[e(480)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(472)](s);const e=Array[i(531)](a[i(522)](t,{bind:!1})),r=a[i(494)][i(492)](i(471));r[i(482)](...e),s=Array[i(531)](a[i(486)](r))[0]}}else if("r"==t[i(516)]&&t[i(468)][0]){const r=t[i(468)][0];if(s[i(506)]=function(t){t[i(515)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(472)](s);const e=Array[i(531)](a[i(522)](t,{bind:!1})),r=a[i(494)][i(492)](i(471));r[i(482)](...e);const o=Array[i(531)](a[i(486)](r));o[i(498)]>1?s[i(472)](o):s=o[0]}}if(t[i(485)])for(const[e,n]of t[i(485)])s[i(505)](e,n);const c=void 0===t[i(473)]?null:t[i(473)];return null!==c&&(s[i(481)]=()=>c),s}}[st(490)](t){const e=st,i=JSON[e(535)](t),n=this[e(484)][e(508)][e(479)][e(512)],s=new X.ViewDocumentFragment(n,i[e(501)](t=>this[e(519)](t,!0)));return this[e(484)][e(527)][e(483)](s)}[st(534)](t){const e=st;return(t=t[e(487)](t=>!t[e(466)]||e(477)!==t[e(466)]&&e(510)!==t[e(466)]))[e(493)](t=>{const i=e;i(518)!=typeof t&&(t[i(468)]=this[i(534)](t[i(468)]),t[i(517)]=t[i(517)][i(487)](t=>!t[0][i(470)](i(523))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("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,n,s,r,o){const a=o(t,e,i,n,s,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,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.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,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.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=pt;function mt(){const t=["outerHTML","_reset","insertionPosition","featureNotAllowed","parent","destroy","addRevisionData","_pendingAction","_lastTo","_source","domainLimit","nodes","_bufferUpdate","_handleRootAttributeOperation","getNodeByPath","createPositionAt","_getVidAttributeName","afterInit","getRevisions","saveRevision","fromVersion","_touchedMarkers","_prepareViewToSave","split","then","editor","1HnLhIP","userId","_clone","fromEntries","evaluationLimit","from","RevisionsRepository","reinsert","isAdd","find","_createCurrentRevision","_makeRevision","_baseRootsAttributes","collaboration.channelId","move","createdAt","revisionHistoryLicenseKeyInvalid","deletion","_initialRevisionId","max","getChild","bind","getUser","revision","Empty document","$text","_touched","createRangeIn","marker","initialData","hasContent","model","splitPosition","update","childCount","createRange","source","_handleOperation","_startingVersion","_isAttached","some","graveyardPosition","initial","_fixOperation","getAncestors","upcast","revisionHistoryLicenseKeyExpired","_getBaseVids","PendingActions","getIndex","isReady","_removePendingAction","htmlProcessor","PENDING_ACTION_REVISION_HISTORY","insert","requires","_authorId","revisionHistory.resumeUnsavedRevision","element","affectsData","NEGATIVE_INFINITY","_fixRange","8874AiNizF","_revisionDataBuilder","getRange","ready","documentFragment","init","_bufferedUpdates","uiElement","vid","targetPosition","_handleMergeOperation","deletions","_cloneOperation","createPositionFromPath","_setAttribute","_idsRoots","type","vid_end","history","_isPendingUpdate","creatorId","Users","updateRevisions","offset","rootsAttributes","children","getChildren","insertion","_generateTape","_revisionId","addRevision","adapter","Initial revision","getFillerOffset","_createInitialRevision","_replaceEditorDataWithRevisionData","pluginName","position","version","getAttribute","205ZeYZDm","dataToMarker","getOperations","$graveyard","_lastFrom","diffData","length","_removeMetaData","_getViewJson","_markers","define","for","markers","root","item","previousPosition","createPositionAfter","_handleMarkerOperation","path","startsWith","newValue","getLatestVersion","repository","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyValid","locale","expired","setRevisionData","elementStart","editor-initial-data-replaced-with-revision-data","_getState","config","newRange","range","isAttached","_baseIdsRoots","currentRevision","_getFromVersion","usageLimit","_copyMarkers","sourcePosition","_operations","rootName","_applyOperations","finally","remove","changeRootAttribute","shift","setSource","748504UJSpyi","elementEnd","isEnabled","rawElement","removeRootAttribute","getRootNames","revisionHistoryLicenseKeyNotAllowed","reverse","_savedMetaData","getTransformedByOperation","_makeModelFromViewString","nodeAfter","_processRootBeforeSave","revisionHistoryLicenseKeyUsageLimit","get","licenseKey","getAttributes","fillerOffset","revision:","howMany","tableCell","getCustomProperties","_isInit","document","_transformMarkers","add","_showLicenseError","_createFromRanges","invalid","revisionHistoryLicenseKeyDomainLimit","name","_setConversion","_startingRevisionId","authors","isEqual","loadRevisionData","4025304lWERYl","data","RevisionTracker","createElement","domConverter","loadState","RevisionHistoryUtils","2726276yuVgkl","merge","getCurrentRevisionId","buildRevisionData","_execute","filter","keepParagraph","_utils","reInit","key","_update","paragraph","getRoot","attachChange","_calculateMetaData","attributesAfter","getData","_fixPosition","includes","domDocument","_appendChild","authorsIds","push","getTime","607461vBknbi","getRevisionDocumentData","getWalker","_getPreviousFrom","vid_start","creator","_findInsertionIndex","_loadedStateData","getOperation","addRootAttribute","keys","addRoot","detachRoot","RealTimeCollaborationClient","createRevision","stickiness","text","delete","baseVersion","roots","_saveMetaData","set","attributesBefore","_insertChild","toView","_markChanges","innerHTML","getRevision","trim","string","clone","insertions","markerToData","clear","_handleRootOperation","end","138302MXLXFm","_licenseKeyCheckInterval","_diffRootsAttributes","start","slice","$comment","plugins","_continueCurrentRevision","resolve","stringify","1358000McIyjc","_addPendingAction","dataDowncast","_makeIdsRoot","RevisionHistory","map","_handleMoveOperation","customProperties","isPremiumPlugin","has","_loadState","offsetSize","getMovedRangeStart","getRevisionRootsAttributes","sort","_handleSplitOperation","_touchedRoots","conversion","values","createPositionBefore","render","_diffRoots","_baseRoots","_getTypeCharForViewElement","isOfficialPlugin","sendBufferedUpdates","_handleInsertOperation","size","toVersion","oldRange"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(209686===-parseInt(e(441))/1*(-parseInt(e(695))/2)+-parseInt(e(659))/3+-parseInt(e(705))/4+-parseInt(e(543))/5*(parseInt(e(503))/6)+parseInt(e(635))/7+-parseInt(e(592))/8+parseInt(e(628))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends G.Plugin{[ft(607)];[ft(696)];[ft(579)]=null;[ft(565)];[ft(534)]=null;[ft(504)];[ft(424)];[ft(459)];[ft(509)];[ft(642)];[ft(422)];[ft(702)];[ft(479)];[ft(666)];static get[ft(539)](){return ft(630)}static get[ft(409)](){return!0}static get[ft(393)](){return!0}static get[ft(496)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(565)]=this[i(440)][i(701)][i(606)](i(447)),this[i(642)]=this[i(440)][i(701)][i(606)](i(634)),this[i(504)]=new gt(this[i(440)]),this[i(459)]=this[i(440)][i(574)][i(606)](i(454))||i(483),this[i(509)]=new Map,this[i(666)]=null;const n=(0,t.uid)();this[i(424)]={history:this[i(440)][i(472)][i(615)][i(521)],getLatestVersion:()=>Promise[i(703)](this[i(440)][i(472)][i(615)][i(541)]),getCurrentRevisionId:()=>n},this[i(680)](i(491),!1),this[i(680)](i(594),!0),this[i(680)](i(522),!1),this[i(440)][i(574)][i(553)](i(498),!0),this[i(440)][i(402)][i(554)](i(486))[i(544)]({view:i(464)})}[ft(508)](){const t=ft;this[t(623)](),this[t(440)][t(629)].on(t(506),()=>{const e=t,i=this[e(565)][e(686)](0),n=i&&null===i[e(664)]?i:null;if(this[e(702)]=!!n&&this[e(440)][e(574)][e(606)](e(498)),this[e(440)][e(701)][e(394)](e(672))){const t=this[e(424)][e(637)](),s=this[e(565)][e(686)](t);if(s)this[e(479)]=s[e(435)],this[e(702)]=!1;else{const t=this[e(424)][e(521)][e(584)][e(450)](t=>!t[e(614)]),s=t?t[e(677)]:this[e(424)][e(521)][e(541)];i?(i[e(413)]<s&&i[e(645)]({toVersion:s}),this[e(702)]?(this[e(424)][e(637)]=()=>n.id,this[e(479)]=n[e(435)]):(this[e(479)]=i[e(413)],this[e(702)]=!1)):(this[e(479)]=s,this[e(702)]=!1)}}else n&&(this[e(440)][e(472)][e(615)][e(521)][e(541)]=Math[e(460)](n[e(413)],this[e(440)][e(472)][e(615)][e(521)][e(541)]),n[e(435)]===n[e(413)]?(0!==n[e(435)]&&(this[e(424)][e(637)]=()=>n.id),this[e(702)]=!1):this[e(702)]&&(this[e(424)][e(637)]=()=>n.id,this[e(479)]=n[e(435)])),this[e(702)]||(this[e(479)]=this[e(440)][e(472)][e(615)][e(541)]);this[e(504)][e(508)](this[e(424)][e(521)]),this[e(537)](this[e(479)]),this[e(451)](this[e(479)]),this[e(534)]&&this[e(410)]()}),this[t(462)](t(491)).to(this,t(522),t=>!t),this[t(607)]=this[t(440)][t(574)][t(606)](t(607));const e=this[t(440)];this[t(696)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(567)==r||i(457)==r||i(487)==r||i(621)==r||i(598)==r||i(566)==r||i(605)==r){delete e[s],n=r,clearInterval(this[i(696)]),this[i(696)]=void 0;break}}i(457)==n&&e[i(618)](i(620)),i(487)==n&&e[i(618)](i(569)),i(621)==n&&e[i(618)](i(425)),i(598)==n&&e[i(618)](i(418),i(709)),i(566)==n&&e[i(618)](i(445)),i(605)==n&&e[i(618)](i(581))},1e3)}async[ft(432)](){const t=ft;if(this[t(565)][t(549)]>0){const e=this[t(565)][t(686)](0),i=await this[t(660)](e),n=await this[t(398)](e);this[t(538)](i,n)}}[ft(420)](){const t=ft;super[t(420)](),this[t(696)]&&clearInterval(this[t(696)])}[ft(591)](t){this[ft(424)]=t}async[ft(474)](){const t=ft,e=await this[t(424)][t(564)]();if(e>this[t(579)][t(413)]){await this[t(395)]();const i=this[t(638)]({revision:this[t(579)],to:e});i[t(625)]=i[t(656)][t(390)](e=>this[t(440)][t(701)][t(606)](t(524))[t(463)](e)),this[t(579)][t(645)](i)}}async[ft(434)](e={},i=null){const n=ft,s=[];await this[n(395)](),this[n(702)]=!1,i>this[n(579)][n(413)]&&(i=null),null===i&&(i=await this[n(424)][n(564)]());const r=this[n(580)](i),o=this[n(638)]({from:r,to:i});if(this[n(579)][n(413)]<i){const t=this[n(638)]({revision:this[n(579)],from:i,to:i});t[n(625)]=[],t[n(656)]=[],t.id=this[n(579)].id,this[n(579)][n(645)](t,!0),delete t[n(625)],s[n(657)](t)}e[n(523)]=this[n(440)][n(701)][n(606)](n(524)).me.id,e[n(622)]=e[n(622)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(421)](e);s[n(657)](e);const c=this[n(565)][n(490)](a);if(0!==c){const t=this[n(565)][n(686)](c-1);if(t[n(435)]!==i){const r=this[n(504)][n(651)](i,t[n(413)]),o={id:t.id,diffData:r[n(548)],authorsIds:r[n(656)],authors:r[n(656)][n(390)](t=>this[n(440)][n(701)][n(606)](n(524))[n(463)](t)),fromVersion:i};t===this[n(579)]&&(o[n(456)]=new Date(e[n(456)][n(658)]()+10)),t[n(645)](o,!0),delete o[n(625)],s[n(657)](o)}}if(this[n(534)]){for(const t of s)this[n(427)](t.id,t,!0);this[n(410)]()}return a}[ft(421)](t){const e=ft,i=this[e(565)][e(673)](t);return this[e(534)]&&i.on(e(645),(t,i,n)=>{const s=e;n||(this[s(427)](i.id,i,!0),this[s(410)]())}),this[e(565)][e(533)](i,this[e(665)](i)),i}async[ft(660)](t){const e=ft;return await this[e(642)][e(627)](t,this[e(534)]),this[e(642)][e(660)](t)}async[ft(398)](t){const e=ft;return await this[e(642)][e(627)](t,this[e(534)]),this[e(642)][e(398)](t)}[ft(410)](){const t=ft;if(0===this[t(509)][t(412)])return;if(this[t(522)])return;let e=Array[t(446)](this[t(509)][t(403)]());this[t(509)][t(692)]();for(let i=0;i<e[t(549)];i++){const n=e[i];let s=!1;for(const e of Object[t(669)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(640)](t=>null!==t),!e[t(549)])return;for(let i=0;i<e[t(549)];i++){const n=e[i];void 0!==n[t(435)]&&void 0===n[t(413)]&&(n[t(413)]=this[t(565)][t(686)](n.id)[t(413)]),void 0!==n[t(413)]&&void 0===n[t(435)]&&(n[t(435)]=this[t(565)][t(686)](n.id)[t(435)])}const i=this[t(440)][t(574)][t(606)](t(454));this[t(522)]=!0,this[t(706)](),this[t(534)][t(525)](e,i)[t(587)](()=>{this[t(522)]=!1})[t(439)](e=>{const i=t;if(e)for(const t of e)this[i(570)]({id:t.id,createdAt:t[i(456)]});this[i(492)](),this[i(410)]()})}[ft(638)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(435)],i=null!==i?i:t[n(413)];const s=this[n(504)][n(651)](e,i),r={diffData:s[n(548)],authorsIds:s[n(656)],fromVersion:e,toVersion:i};if(!t||i!==t[n(413)]){const t=i-1,e=this[n(424)][n(521)][n(667)](t);r[n(456)]=e&&e[n(456)]||new Date}if(this[n(666)]&&e===this[n(666)][n(435)])for(const t of this[n(666)][n(625)])r[n(656)][n(653)](t.id)||r[n(656)][n(657)](t.id);return r}[ft(427)](t,e,i){const n=ft;if(this[n(509)][n(394)](t)){const s=this[n(509)][n(606)](t);e=i?{...s,...e}:{...e,...s}}this[n(509)][n(680)](t,e)}[ft(570)](t){const e=ft,i=this[e(565)][e(686)](t.id);if(t[e(456)]&&(t[e(456)]=new Date(t[e(456)])),t[e(656)]){const i=this[e(440)][e(701)][e(606)](e(524));t[e(625)]=t[e(656)][e(390)](t=>i[e(463)](t))}i[e(645)](t,!0)}[ft(537)](t){const e=ft,i=this[e(565)][e(686)](this[e(565)][e(549)]-1);if(i)this[e(459)]=i.id;else{const i=!this[e(440)][e(472)][e(615)][e(678)][e(450)](t=>this[e(440)][e(472)][e(471)](t)),n=this[e(440)][e(701)][e(606)](e(524)).me.id,s=at(this[e(440)][e(568)],e(i?465:535));this[e(452)]({from:t,to:t,id:this[e(459)],name:s,creatorId:n})}}[ft(451)](t){const e=ft,i=this[e(424)][e(637)]();this[e(579)]=this[e(565)][e(686)](i),this[e(579)]||(this[e(579)]=this[e(452)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(395)](){const t=ft;this[t(702)]&&!this[t(666)]&&(await this[t(642)][t(627)](this[t(579)],this[t(534)]),this[t(504)][t(633)](this[t(579)]),this[t(666)]={fromVersion:this[t(579)][t(435)],authors:this[t(579)][t(625)][t(699)]()})}[ft(538)](e,i){const n=ft;let s=this[n(440)][n(574)][n(606)](n(470)),r=this[n(440)][n(574)][n(606)](n(527));if(void 0===s){s={};for(const t of this[n(440)][n(472)][n(615)][n(597)]())s[t]=""}if(n(688)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(440)][n(472)][n(615)][n(597)]())r[t]={}}let o=!1;const a=Object[n(669)](s),c=Object[n(669)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(687)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(669)](r[t])[n(549)]>0){o=!0;break}}o||(o=c[n(481)](t=>!this[n(440)][n(472)][n(615)][n(647)](t))),o&&(0,t.logWarning)(n(572),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(440)][n(574)][n(680)](n(470),e),this[n(440)][n(574)][n(680)](n(527),i)}[ft(706)](){const t=ft;if(!this[t(422)]){const e=this[t(440)][t(701)][t(606)](t(489));this[t(422)]=e[t(617)](at(this[t(440)][t(568)],t(494)))}}[ft(492)](){const t=ft;this[t(422)]&&(this[t(440)][t(701)][t(606)](t(489))[t(588)](this[t(422)]),this[t(422)]=null)}[ft(665)](t){const e=ft,i=this[e(565)][e(433)]();i[e(599)]();let n=0;for(;n<i[e(549)];){const s=i[n];if(s===this[e(579)]){n++;continue}if(s.id===this[e(459)])break;const r=t[e(413)]-s[e(413)]||t[e(435)]-s[e(435)];if(r>0)break;if(r<0)n++;else{if(!t[e(664)]&&s[e(664)])break;if(s[e(664)]||!t[e(664)]){if(t[e(456)]>s[e(456)])break;n++}else n++}}return n}[ft(580)](t){const e=ft,i=this[e(565)][e(433)]();i[e(599)](),i[e(590)]();const n=i[e(450)](i=>i[e(413)]<=t)[e(413)];return n<this[e(479)]?this[e(479)]:n}[ft(452)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(638)]({from:e,to:i});o[r(622)]=t,o[r(523)]=n,o.id=s;const a=this[r(421)](o);return this[r(534)]&&this[r(427)](o.id,o,!0),a}[ft(623)](){const t=ft;this[t(440)][t(402)][t(554)](t(707))[t(691)]({model:t(464)})}}class gt{[ft(440)];[ft(477)];[ft(600)];[ft(547)];[ft(423)];[ft(552)];[ft(406)];[ft(697)];[ft(407)];[ft(453)];[ft(518)];[ft(578)];[ft(467)];[ft(436)];[ft(401)];[ft(532)];[ft(624)];constructor(t){const e=ft;this[e(440)]=t,this[e(600)]=new Map,this[e(547)]=-1,this[e(423)]=-1,this[e(552)]=new Map,this[e(406)]=new Map,this[e(697)]=new Map,this[e(407)]=new Map,this[e(453)]=new Map,this[e(518)]=new Map,this[e(578)]=new Map,this[e(467)]=new Map,this[e(436)]=new Map,this[e(401)]=new Map,this[e(532)]=1}[ft(508)](t){const e=ft;this[e(477)]=t;const i=new Map,n=new Map,s=this[e(440)][e(472)][e(615)][e(678)][e(390)](t=>t[e(585)]);for(const t of s){const s=this[e(440)][e(472)][e(615)][e(647)](t),r=yt(s);i[e(680)](t,r),n[e(680)](t,Object[e(444)](s[e(608)]()))}const r=Array[e(446)](this[e(440)][e(472)][e(555)])[e(390)](t=>[t[e(622)],t[e(505)]()]),o=this[e(477)][e(541)];this[e(679)](o,i,r,n),this[e(624)]=this[e(532)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(680)](t,i),c[e(680)](t,{})}this[e(679)](Number[e(501)],a,[],c)}[ft(651)](t,e){const i=ft;if(this[i(547)]===t&&this[i(423)]<=e)this[i(600)][i(412)]>1&&this[i(550)](this[i(423)]),this[i(586)](this[i(423)],e,!0);else{if(!this[i(600)][i(394)](t)){const e=this[i(662)](t);this[i(649)](e,t,!1)}this[i(649)](t,e,!0)}return this[i(547)]=t,this[i(423)]=e,this[i(573)]()}[ft(633)](t){const e=ft;if(!this[e(600)][e(394)](t[e(435)])){const i=this[e(662)](t[e(435)]);this[e(649)](i,t[e(435)],!1)}this[e(649)](t[e(435)],t[e(413)],!1);const i=this[e(440)][e(701)][e(606)](e(634));this[e(416)](),this[e(547)]=t[e(435)],this[e(423)]=t[e(413)];for(const n in t[e(548)]){const s=t[e(548)][n][e(648)],r=R(t[e(548)][n][e(681)])||{},o=i[e(602)](t[e(548)][n][e(514)]);o[e(585)]=n,o[e(480)]=!s||!s[e(577)],o[e(577)]=()=>o[e(480)],this[e(407)][e(680)](n,o),this[e(453)][e(680)](n,r),s&&this[e(401)][e(680)](n,s);const a=this[e(708)](o);this[e(578)][e(680)](n,a);for(const[t,i]of o[e(555)]){if(!t[e(562)](e(610)))continue;const n=t[e(438)](":")[2];for(const t of i[e(661)]({singleCharacters:!0})){const i=this[e(431)](t),s=e(593)==t[e(519)]?t[e(558)][e(561)][e(699)](0,-1):t[e(558)][e(561)],r=a[e(429)](s)[e(542)](i);this[e(467)][e(680)](r,{userId:n})}o[e(555)][e(676)](t)}}this[e(624)]=this[e(532)];const n=[...Array(this[e(532)])[e(669)]()][e(699)](1)[e(640)](t=>!this[e(467)][e(394)](t));let s=0;const r=new Map;for(const o in t[e(548)]){const a=t[e(548)][o][e(648)],c=R(t[e(548)][o][e(650)])||{},u=i[e(602)](t[e(548)][o][e(690)]);u[e(585)]=o,u[e(480)]=!a||a[e(577)],u[e(577)]=()=>u[e(480)],this[e(406)][e(680)](o,u),this[e(697)][e(680)](o,c);const l=this[e(708)](u,Number[e(501)]);this[e(518)][e(680)](o,l),r[e(680)](o,u[e(577)]()?c:{});for(const[t,i]of u[e(555)]){if(!t[e(562)](e(610)))continue;const n=t[e(438)](":")[2];for(const t of i[e(661)]({singleCharacters:!0})){const i=this[e(431)](t),s=this[e(532)]++,r=e(593)==t[e(519)]?t[e(558)][e(561)][e(699)](0,-1):t[e(558)][e(561)];l[e(429)](r)[e(517)](i,s),this[e(467)][e(680)](s,{userId:n})}u[e(555)][e(676)](t)}for(const t of this[e(440)][e(472)][e(468)](u)[e(661)]({singleCharacters:!0})){const i=this[e(431)](t),r=e(593)==t[e(519)]?t[e(558)][e(561)][e(699)](0,-1):t[e(558)][e(561)],o=l[e(429)](r);o[e(542)](i)>0||o[e(517)](i,n[s++])}for(const[t,i]of u[e(555)])t[e(562)](e(610))||this[e(552)][e(680)](t,i)}const{roots:o}=this[e(600)][e(606)](t[e(435)]),{roots:a}=this[e(600)][e(606)](t[e(413)]),c=yt(o[e(606)](e(546)));this[e(407)][e(680)](e(546),c),this[e(578)][e(680)](e(546),this[e(708)](c,Number[e(501)]));const u=yt(a[e(606)](e(546)));this[e(406)][e(680)](e(546),u),this[e(518)][e(680)](e(546),this[e(708)](u));const l=Array[e(446)](this[e(406)])[e(390)](([t,e])=>[t,yt(e)]);this[e(679)](this[e(423)],l,this[e(552)],r)}[ft(643)](){const t=ft;this[t(416)](),this[t(547)]=-1,this[t(423)]=-1,this[t(600)][t(692)](),this[t(508)](this[t(477)])}[ft(679)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(680)](t,{start:e[s(698)][s(689)](),end:e[s(694)][s(689)](),rootName:e[s(556)][s(585)]});this[s(600)][s(680)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(550)](t){const e=ft;this[e(600)][e(676)](t)}[ft(416)](){const t=ft;this[t(467)][t(692)](),this[t(436)][t(692)](),this[t(401)][t(692)](),this[t(406)][t(692)](),this[t(697)][t(692)](),this[t(407)][t(692)](),this[t(453)][t(692)](),this[t(518)][t(692)](),this[t(578)][t(692)](),this[t(552)][t(692)](),this[t(532)]=1,this[t(624)]=this[t(532)]}[ft(708)](t,e=null){const i=ft;let n=null;t.is(i(507))||(n=new X.ModelElement(t[i(622)],{vid_start:null===e?this[i(532)]++:e++}));const s=[];for(const n of t[i(529)]())if(n.is(i(499))){s[i(657)](this[i(708)](n,e));const t=s[s[i(549)]-1];null!==e&&(e=t.is(i(499),i(466))?t[i(542)](i(511))+1:t[i(542)](i(520))+1)}else for(let t=0;t<n[i(396)];t++)s[i(657)](new X.ModelElement(i(466),{vid:null===e?this[i(532)]++:e++}));if(t.is(i(507))){const e=kt(t[i(585)]);return e[i(682)](0,s),e}return n[i(517)](i(520),null===e?this[i(532)]++:e++),n[i(682)](0,s),n}[ft(649)](t,e,i){const n=ft;this[n(416)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(600)][n(606)](t);this[n(407)]=new Map(s),this[n(453)]=new Map(R(o));for(const[t,e]of this[n(407)])if(n(546)!==t&&(this[n(406)][n(680)](t,yt(e)),this[n(697)]=new Map(R(o)),i)){const i=this[n(532)];this[n(518)][n(680)](t,this[n(708)](e)),this[n(578)][n(680)](t,this[n(708)](e,i))}this[n(624)]=this[n(532)],this[n(406)][n(680)](n(546),yt(this[n(407)][n(606)](n(546)))),i&&this[n(518)][n(680)](n(546),this[n(708)](this[n(407)][n(606)](n(546))));for(const[t,e]of r){const i=this[n(407)][n(606)](e[n(585)]),s=this[n(406)][n(606)](e[n(585)]),r=new X.ModelRange(this[n(652)](e[n(698)],i),this[n(652)](e[n(694)],i)),o=this[n(502)](r,s);i[n(555)][n(680)](t,r),this[n(552)][n(680)](t,o)}this[n(586)](t,e,i)}[ft(586)](t,e,i){const n=ft;for(const s of this[n(477)][n(545)](t,e))this[n(478)](s,i);for(const t of this[n(406)][n(403)]())t[n(555)][n(692)]();for(const[t,e]of this[n(552)])this[n(406)][n(606)](e[n(556)][n(585)])[n(555)][n(680)](t,e[n(689)]());const s=new Map,r=new Map;for(const[t,e]of this[n(406)])s[n(680)](t,yt(e)),r[n(680)](t,this[n(697)][n(606)](t));this[n(679)](e,s,this[n(552)],r)}[ft(662)](t){const e=ft,i=Array[e(446)](this[e(600)][e(669)]());i[e(399)]((t,e)=>t-e),i[e(599)]();for(const e of i)if(e<t)return e;return Number[e(501)]}[ft(582)](t,e){const i=ft,n=Array[i(446)](e[i(555)])[i(390)](([e,n])=>[e,this[i(502)](n,t)]);t[i(555)]=new Map(n)}[ft(616)](t){const e=ft;for(const i of this[e(552)][e(403)]()){const n=i[e(601)](t),s=X.ModelRange[e(619)](n);i[e(698)]=s[e(698)],i[e(694)]=s[e(694)]}}[ft(478)](t,e){const i=ft;if(i(670)!=t[i(519)]&&i(671)!=t[i(519)]){if(i(495)==t[i(519)]){const n=t[i(540)][i(556)][i(585)];this[i(406)][i(394)](n)||(this[i(406)][i(680)](n,kt(n,!0)),this[i(697)][i(680)](n,{}),e&&this[i(518)][i(680)](n,kt(n,!0)))}else{if(i(668)==t[i(519)]||i(596)==t[i(519)]||i(589)==t[i(519)])return void this[i(428)](t);i(469)==t[i(519)]&&this[i(560)](t)}if(i(469)!==t[i(519)]){const e=this[i(515)](t,this[i(406)]);e[i(639)](),this[i(616)](e)}if(e)switch(t[i(519)]){case i(495):this[i(411)](t);break;case i(455):case i(588):case i(448):this[i(391)](t);break;case i(636):this[i(513)](t);break;case i(438):this[i(400)](t)}}else this[i(693)](t,e)}[ft(515)](t,e){const i=ft,n=t[i(689)]();return n[i(497)]=t[i(497)],this[i(484)](n,e),n}[ft(488)](t){const e=ft;return t[e(390)](t=>{const i=e,n=this[i(431)](t);return Number(t[i(557)][i(542)](n))})}[ft(531)](t,e){const i=ft;if(t.is(i(499),i(466)))e[i(657)]({item:t,type:i(675)});else{t.is(i(499))&&e[i(657)]({item:t,type:i(571)});for(const n of t[i(529)]())this[i(531)](n,e);t.is(i(499))&&e[i(657)]({item:t,type:i(593)})}return e}[ft(573)](){const t=ft,e=new Map(this[t(467)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(407)][t(669)](),...this[t(406)][t(669)]()]);a[t(676)](t(546));for(const e of a){const i=this[t(406)][t(606)](e)||kt(e,!1),n=this[t(407)][t(606)](e)||kt(e,!1);i[t(577)]()||n[t(577)]()?(s[t(690)][e]=yt(i),s[t(514)][e]=yt(n),this[t(582)](s[t(514)][e],n),this[t(582)](s[t(690)][e],i),r[t(690)][e]=this[t(531)](this[t(518)][t(606)](e),[]),r[t(514)][e]=this[t(531)](this[t(578)][t(606)](e)||kt(e,!1),[])):a[t(676)](e)}for(const s of a){const o=r[t(690)][s];for(const s of o){const r=this[t(431)](s),o=s[t(557)][t(542)](r);i[t(676)](o),o>=this[t(624)]&&n[t(680)](o,e[t(606)](o))}}for(const s of a){const a=r[t(690)][s],c=this[t(488)](r[t(514)][s]);let u=0;for(const s of a){const r=this[t(431)](s),a=s[t(557)][t(542)](r);if(!n[t(394)](a)&&!o[t(394)](a))if(i[t(394)](a))u++;else{if(a!=c[u]){const n=e[t(606)](a)||e[t(606)](c[u]);for(;a!=c[u];)i[t(394)](c[u])||(o[t(680)](c[u],n),e[t(680)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(690)][e];for(const e of s){const s=this[t(431)](e),r=e[t(557)][t(542)](s);if(o[t(394)](r)){const e=o[t(606)](r);i[t(394)](r)||i[t(680)](r,{...e}),n[t(680)](r,{...e})}}}for(const e of i[t(669)]())e>=this[t(624)]&&i[t(676)](e);const c=new Map;for(const e of a){let s=r[t(690)][e];for(const e of s)if(e[t(557)].is(t(499),t(612))){const i=this[t(431)](e),s=e[t(557)][t(542)](i);if(n[t(394)](s)){const i=e[t(557)][t(419)][t(419)][t(542)](t(663)),r=c[t(606)](i)||new Set;r[t(617)](n[t(606)](s)[t(442)]),c[t(680)](i,r)}}s=r[t(514)][e];for(const e of s)if(e[t(557)].is(t(499),t(612))){const n=this[t(431)](e),s=e[t(557)][t(542)](n);if(i[t(394)](s)){const n=e[t(557)][t(419)][t(419)][t(542)](t(663)),r=c[t(606)](n)||new Set;r[t(617)](i[t(606)](s)[t(442)]),c[t(680)](n,r)}}for(const e of c[t(669)]())(n[t(394)](e)||i[t(394)](e))&&c[t(676)](e)}for(const e of a){const s=r[t(690)][e];let o=null,a=null;for(const e of s){const s=this[t(431)](e),r=e[t(557)][t(542)](s),u=c[t(606)](r);u&&t(571)==e[t(519)]&&(o=Array[t(446)](u)[0],a=e[t(557)][t(542)](t(520))),o&&(i[t(680)](r,{userId:o}),n[t(680)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(514)][e],a=s[t(690)][e];for(const{userId:e}of this[t(436)][t(403)]())null!==e&&l[t(617)](e);for(const{userId:e}of this[t(401)][t(403)]())null!==e&&l[t(617)](e);this[t(684)](a,r[t(690)][e],n,t(530),l),this[t(684)](o,r[t(514)][e],i,t(458),l),u[e]={insertions:this[t(437)](a),deletions:this[t(437)](o),attachChange:this[t(401)][t(606)](e)||null,attributesBefore:R(this[t(453)][t(606)](e))||{},attributesAfter:R(this[t(697)][t(606)](e))}}return{diffData:u,authorsIds:Array[t(446)](l)}}[ft(604)](t){const e=ft;for(const[,i]of t[e(555)]){const t=i[e(698)][e(485)]()[e(640)](t=>e(612)==t[e(622)]);for(const i of t)1==i[e(475)]&&i[e(461)](0).is(e(499),e(646))&&i[e(461)](0)[e(517)](e(641),!0)}}[ft(437)](t){const e=ft;this[e(604)](t);const i=this[e(440)][e(629)][e(683)](t,{}),n=Array[e(446)](i[e(529)]())[e(390)](t=>this[e(551)](t));return JSON[e(704)](n)}[ft(551)](t){const e=ft;if(t.is(e(466)))return t[e(629)];{const i=this[e(440)][e(701)][e(606)](e(634)),n=t,s=this[e(440)][e(629)][e(493)][e(632)],r={type:i[e(408)](n),name:n[e(622)],attributes:Array[e(446)](n[e(608)]()),children:Array[e(446)](n[e(529)]())[e(390)](t=>this[e(551)](t))};if(t.is(e(510))&&e(700)!=t[e(622)]){const i=t[e(405)](s[e(654)],s);r[e(528)][e(657)](i[e(415)])}else if(t.is(e(595))){const i=s[e(654)][e(631)](n[e(622)]);t[e(405)](i,s),r[e(528)][e(657)](i[e(685)])}const o=Array[e(446)](n[e(613)]());o[e(549)]>0&&(r[e(392)]=o);const a=n[e(536)]();return null!==a&&(r[e(609)]=a),r}}[ft(684)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(440)][r(472)];for(let n=0;n<e[r(549)];n++){const s=this[r(431)](e[n]),c=e[n][r(557)][r(542)](s),h=i[r(606)](c),d=n==e[r(549)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(442)]!=o[r(442)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(442)],d=l(610)+n+":"+h+":"+c++,f=u[l(476)](i,a);t[l(555)][l(680)](d,f),null!==h&&s[l(617)](h)}}[ft(431)](t){const e=ft;switch(t[e(519)]){case e(571):return e(663);case e(593):return e(520);default:return e(511)}}[ft(484)](t,e){const i=ft;t[i(677)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(606)](s[i(556)][i(585)]);t[n]=this[i(652)](s,r)}if(s instanceof X.ModelRange){const r=e[i(606)](s[i(556)][i(585)]);t[n]=this[i(502)](s,r)}i(556)===n&&(t[i(556)]=e[i(606)](t[i(556)][i(585)]))}}[ft(502)](t,e){const i=ft;return this[i(440)][i(472)][i(476)](this[i(652)](t[i(698)],e),this[i(652)](t[i(694)],e))}[ft(652)](t,e){const i=ft;return this[i(440)][i(472)][i(516)](e,t[i(561)],t[i(674)])}[ft(411)](t){const e=ft,i=this[e(518)][e(606)](t[e(540)][e(556)][e(585)]),n=this[e(652)](t[e(540)],i),s=null===t[e(497)]?null:t[e(497)]||this[e(440)][e(701)][e(606)](e(524)).me.id,r=n[e(419)],o=this[e(532)],a=[];for(const i of t[e(426)])if(i.is(e(499)))a[e(657)](this[e(708)](i));else for(let t=0;t<i[e(396)];t++)a[e(657)](new X.ModelElement(e(466),{vid:this[e(532)]++}));const c=this[e(532)];for(let t=o;t<c;t++)this[e(467)][e(680)](t,{userId:s});r[e(682)](n[e(526)],a)}[ft(391)](t){const e=ft;(t=this[e(515)](t,this[e(518)]))[e(639)]();const i=null===t[e(497)]?null:t[e(497)]||this[e(440)][e(701)][e(606)](e(524)).me.id,n=t[e(397)](),s=n[e(419)],r=n[e(526)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(461)](e);r.is(a(499),a(466))?n[a(680)](r[a(542)](a(511)),{userId:i}):(n[a(680)](r[a(542)](a(663)),{userId:i}),t(n,r,0,r[a(475)]),n[a(680)](r[a(542)](a(520)),{userId:i}))}}(this[e(467)],s,r,r+t[e(611)])}[ft(513)](t){const e=ft,i=null===(t=this[e(515)](t,this[e(518)]))[e(497)]?null:t[e(497)]||this[e(440)][e(701)][e(606)](e(524)).me.id,n=t[e(512)][e(419)],s=t[e(583)][e(419)],r=n[e(542)](e(520)),o=s[e(542)](e(663));n[e(517)](e(520),s[e(542)](e(520))),s[e(517)](e(520),r),this[e(467)][e(680)](o,{userId:i}),this[e(467)][e(680)](r,{userId:i}),t[e(639)]()}[ft(400)](t){const e=ft,i=null===(t=this[e(515)](t,this[e(518)]))[e(497)]?null:t[e(497)]||this[e(440)][e(701)][e(606)](e(524)).me.id,n=t[e(482)],s=t[e(473)][e(419)];t[e(639)]();const r=s[e(542)](e(520)),o=t[e(417)][e(603)];if(n){const t=o[e(542)](e(520)),n=s[e(542)](e(520));s[e(517)](e(520),t),o[e(517)](e(520),n),this[e(467)][e(680)](s[e(542)](e(520)),{userId:i}),this[e(467)][e(680)](o[e(542)](e(663)),{userId:i})}else{const t=this[e(532)]++,n=this[e(532)]++;s[e(517)](e(520),t),o[e(517)](e(663),n),o[e(517)](e(520),r),this[e(467)][e(680)](t,{userId:i}),this[e(467)][e(680)](n,{userId:i})}}[ft(560)](t){const e=ft;if(!t[e(500)])return;const i=(t=this[e(515)](t,this[e(406)]))[e(414)]?t[e(414)][e(556)]:null,n=t[e(575)]?t[e(575)][e(556)]:null;i&&this[e(552)][e(676)](t[e(622)]),n&&this[e(552)][e(680)](t[e(622)],t[e(575)][e(689)]());const s=null===t[e(497)]?null:t[e(497)]||this[e(440)][e(701)][e(606)](e(524)).me.id,r=t[e(622)];if(!this[e(436)][e(394)](r))return void this[e(436)][e(680)](r,{range:t[e(414)],userId:s});const o=this[e(436)][e(606)](r),a=o[e(576)],c=t[e(575)];null==a&&null==c||a&&c&&a[e(626)](c)?this[e(436)][e(676)](t[e(622)]):o[e(442)]=s}[ft(693)](t,e){const i=ft;this[i(406)][i(394)](t[i(585)])?this[i(406)][i(606)](t[i(585)])[i(480)]=t[i(449)]:(this[i(406)][i(680)](t[i(585)],kt(t[i(585)],!0)),this[i(697)][i(680)](t[i(585)],{}),e&&this[i(518)][i(680)](t[i(585)],kt(t[i(585)],!0)));const n=null===t[i(497)]?null:t[i(497)]||this[i(440)][i(701)][i(606)](i(524)).me.id,s=this[i(401)][i(606)](t[i(585)]);s&&s[i(442)]===n?this[i(401)][i(676)](t[i(585)]):this[i(401)][i(680)](t[i(585)],{userId:n,isAttached:t[i(449)]})}[ft(428)](t){const e=ft,i=this[e(697)][e(606)](t[e(556)][e(585)]);null===t[e(563)]?delete i[t[e(644)]]:i[t[e(644)]]=t[e(563)]}}function yt(t){const e=ft,i=kt(t[e(585)],t[e(577)]());for(const n of t[e(529)]()){const t=n[e(443)](!0);i[e(655)](t)}return i}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(585)]=t,n[i(480)]=e,n[i(577)]=()=>n[i(480)],n}function bt(t,e,i){const n=ft,s=n(593)==t[n(519)]?i[n(430)](t[n(557)],n(694)):i[n(404)](t[n(557)]);return i[n(516)](e,s[n(561)],s[n(674)])}function wt(t,e,i){const n=ft,s=n(571)==t[n(519)]?i[n(430)](t[n(557)],0):i[n(559)](t[n(557)]);return i[n(516)](e,s[n(561)],s[n(674)])}var _t=i(355),It=i(311),St=i(789),Ot=i.n(St),Tt=i(437),xt=i.n(Tt),Nt=i(298),At=i.n(Nt),Rt=i(207),Mt=i.n(Rt),Et=i(825),Dt=i.n(Et),Vt=i(416),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Vt.A,Ct);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ft=i(450),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Dt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Ut;function Pt(){const t=["arrowright","render","keystrokes","locale","set","add","arrowdown","setTemplate","439632qFgmwB","_createRevisionNameInput","label","220","fieldView","revisionNameInputView","initializeCssTransitionDisablerMixin","ck-responsive-form","form","revisionNameInputValue","element","trim","listenTo","arrowup","value","88591iFBORJ","focusTracker","optional","revisionName","extendTemplate","ck-revision-history-save-revision-form","arrowleft","reset","errorText","2057730mZHXkw","7xbOiZV","focus","162840eFEbgg","1109328OrjIwF","Name of the revision","stopPropagation","1483464MbzKdG","8167528dEzhcZ","input"];return(Pt=function(){return t})()}function Ut(t,e){const i=Pt();return(Ut=function(t,e){return i[t-=313]})(t,e)}!function(t){const e=Ut,i=t();for(;;)try{if(346948===-parseInt(e(325))/1+parseInt(e(338))/2+parseInt(e(352))/3+parseInt(e(341))/4+parseInt(e(334))/5+-parseInt(e(337))/6+-parseInt(e(335))/7*(parseInt(e(342))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(326)];[jt(346)];[jt(315)];constructor(e,i){const n=jt;super(e),this[n(326)]=new t.FocusTracker,this[n(346)]=new t.KeystrokeHandler,this[n(348)](n(319),""),this[n(315)]=this[n(353)](i),this[n(351)]({tag:n(318),attributes:{class:["ck",n(330),n(317)],tabindex:"-1"},children:[this[n(315)]]}),this[n(316)]()}[jt(345)](){const t=jt;super[t(345)](),(0,It.submitHandler)({view:this}),this[t(326)][t(349)](this[t(315)][t(320)]),this[t(346)][t(322)](this[t(320)]);const e=e=>e[t(340)]();this[t(346)][t(348)](t(344),e),this[t(346)][t(348)](t(331),e),this[t(346)][t(348)](t(323),e),this[t(346)][t(348)](t(350),e)}[jt(336)](){const t=jt;this[t(315)][t(336)]()}get[jt(328)](){const t=jt;return this[t(315)][t(314)][t(320)][t(324)][t(321)]()}set[jt(328)](t){const e=jt;this[e(315)][e(314)][e(320)][e(324)]=t[e(321)]()}[jt(332)](){const t=jt;this[t(315)][t(314)][t(320)][t(324)]="",this[t(315)][t(333)]=null}[jt(353)](t){const e=jt,i=new It.LabeledFieldView(this[e(347)],It.createLabeledInputText),n=i[e(314)];n[e(329)]({attributes:{maxlength:e(313)}});let s=at(this[e(347)],e(339));return!t&&(s+=" ("+at(this[e(347)],e(327))+")"),i[e(354)]=s,n.on(e(343),()=>{const t=e;this[t(319)]=n[t(320)][t(324)][t(321)]()}),i}}function Wt(t,e){const i=Ht();return(Wt=function(t,e){return i[t-=446]})(t,e)}const Zt=Wt;function Ht(){const t=["render","_createOpenRevisionButton","734106AJjnfT","pluginName","2072zFZfes","Cancel","focus","revisionHistory.requireRevisionName","_createSaveRevisionFormView","_saveRevisionFormView","saveRevision","menuitem","hide","set","menuBar:revisionHistory","add","requires","plugins","9535KJiTrN","The revision name cannot be empty.","show","924aSEyup","revisionNameInputView","buttonView","panelView","errorText","execute","children","16liNDjU","submit","init","Revision history","ck-button-action","menu","addMany","RevisionHistoryUI","isReady","_showDialog","revisionHistory","Save current revision","role","isPremiumPlugin","17436WrAyfn","delegate","isOpen","Open revision history","RevisionTracker","_registerMenuComponent","bind","editor","listenTo","Accept","11608xQnEph","locale","Dialog","7802667HjdpiX","isEnabled","isOfficialPlugin","1194818pOuOAD","items","reset","editing","view","494315qMMhBM","revisionSave","_createSaveRevisionButton","config","showRevisionViewerCallback","isReadOnly","low","get","revisionName","10wdRpzh","19217nEdDpU","componentFactory"];return(Ht=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(534922===parseInt(e(470))/1+parseInt(e(465))/2+parseInt(e(484))/3*(parseInt(e(510))/4)+-parseInt(e(500))/5*(parseInt(e(503))/6)+-parseInt(e(486))/7*(-parseInt(e(459))/8)+parseInt(e(462))/9*(parseInt(e(479))/10)+-parseInt(e(480))/11*(parseInt(e(449))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Zt(485)](){return Zt(517)}static get[Zt(464)](){return!0}static get[Zt(448)](){return!0}static get[Zt(498)](){return[vt]}[Zt(491)];[Zt(512)](){const t=Zt,e=this[t(456)],i=e[t(499)][t(477)](t(453));e.ui[t(481)][t(497)](t(520),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(506)][s(509)],a=new It.ListView(n),c=new It.ListItemView(n),u=this[s(472)](It.ButtonView),l=new It.ListItemView(n),h=this[s(483)](It.ButtonView);return r[s(455)](s(463)).to(i,s(518),i,s(463),e,s(475),(t,e,i)=>t&&e&&!i),r[s(505)][s(495)]({icon:_t.IconHistory,label:at(n,s(513)),tooltip:!0}),u[s(495)]({withText:!0,role:s(493)}),h[s(495)]({withText:!0,role:s(493)}),this[s(457)](h,s(508),()=>{const t=s;r[t(451)]=!1,e[t(468)][t(469)][t(488)]()},{priority:s(476)}),c[s(509)][s(497)](u),l[s(509)][s(497)](h),a[s(447)]=s(515),a[s(466)][s(516)]([c,l]),o[s(497)](a),r}),e.ui[t(481)][t(497)](t(496),()=>this[t(454)]())}[Zt(454)](){const t=Zt,e=this[t(456)],i=e[t(460)],n=e[t(499)][t(477)](t(453)),s=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);s[t(455)](t(463)).to(n,t(518),n,t(463),e,t(475),(t,e,i)=>t&&e&&!i),s[t(505)][t(495)]({icon:_t.IconHistory,label:at(i,t(513))});const o=new It.MenuBarMenuListItemView(i,s),a=this[t(472)](It.MenuBarMenuListItemButtonView);a[t(450)](t(508)).to(s),o[t(509)][t(497)](a),r[t(466)][t(497)](o);const c=new It.MenuBarMenuListItemView(i,s),u=this[t(483)](It.MenuBarMenuListItemButtonView);return u[t(450)](t(508)).to(s),c[t(509)][t(497)](u),r[t(466)][t(497)](c),s[t(506)][t(509)][t(497)](r),s}[Zt(472)](t){const e=Zt,i=this[e(456)],n=i[e(499)][e(477)](e(453)),s=new t(i[e(460)]);return s[e(495)]({label:at(i[e(460)],e(446))}),s[e(455)](e(463)).to(n,e(518),n,e(463),i,e(475),(t,e,i)=>t&&e&&!i),this[e(457)](s,e(508),()=>{this[e(519)]()}),s}[Zt(483)](t){const e=Zt,i=this[e(456)],n=i[e(499)][e(477)](e(453)),s=new t(i[e(460)]);return s[e(495)]({label:at(i[e(460)],e(452))}),s[e(455)](e(463)).to(n,e(518),i,e(475),(t,e)=>t&&!e),this[e(457)](s,e(508),()=>{const t=e;i[t(473)][t(477)](t(520))[t(474)]()}),s}[Zt(519)](){const t=Zt,e=this[t(456)],i=e[t(460)],n=e[t(499)][t(477)](t(461)),s=e[t(499)][t(477)](t(453));function r(s){const r=t;e[r(473)][r(477)](r(489))&&""===s[r(478)]?s[r(504)][r(507)]=at(i,r(501)):(e[r(499)][r(477)](vt)[r(492)]({name:s[r(478)]}),n[r(494)]())}this[t(491)]||(this[t(490)](),this[t(491)].on(t(511),()=>r(this[t(491)]))),this[t(491)][t(467)](),n[t(502)]({id:t(471),title:at(i,t(446)),isModal:!0,content:this[t(491)],actionButtons:[{label:at(e[t(460)],t(487)),withText:!0,onExecute:()=>n[t(494)]()},{label:at(e[t(460)],t(458)),class:t(514),withText:!0,onCreate(i){const n=t;i[n(455)](n(463)).to(s,n(518),s,n(463),e,n(475),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(491)])}]})}[Zt(490)](){const t=Zt,e=this[t(456)],i=e[t(460)];this[t(491)]=new zt(i,e[t(473)][t(477)](t(489))),this[t(491)][t(482)]()}}function Bt(t,e){const i=$t();return(Bt=function(t,e){return i[t-=377]})(t,e)}function $t(){const t=["changeId","data","focus","_model","430LPQQZn","author","ck-revision-change__label","2481qBXJri","ck-revision-change__","975578WfZqhB","8cqsvxK","div","Added by","12947uYrprG","set","87648AeVlTn","Suggested by","type","52533143oyUisl","27704YueyUY","isSuggestion","ck-revision-change","add","name","10820ImBKeA","ck-annotation","12bSwgKq","bindTemplate","5989293JpxBGt","14pFIthd","Removed by","span","2498pgQKCX","element","setTemplate"];return($t=function(){return t})()}const Yt=Bt;!function(t){const e=Bt,i=t();for(;;)try{if(659939===-parseInt(e(379))/1+parseInt(e(402))/2*(-parseInt(e(377))/3)+parseInt(e(389))/4*(parseInt(e(409))/5)+parseInt(e(385))/6*(-parseInt(e(399))/7)+-parseInt(e(380))/8*(parseInt(e(398))/9)+-parseInt(e(394))/10*(parseInt(e(383))/11)+parseInt(e(396))/12*(parseInt(e(388))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends It.View{[Yt(405)];[Yt(408)];constructor(t,e){const i=Yt;super(t),this[i(408)]=e,this[i(405)]=e.id;const n=this[i(397)],s=at(t,e[i(406)][i(390)]?i(386):i(392)==e[i(387)]?i(382):i(400));this[i(384)](i(387),e[i(387)]),this[i(404)]({tag:i(381),attributes:{class:[i(395),i(391),n.to(i(387),t=>i(378)+t)],tabindex:-1},children:[{tag:i(401),children:[{tag:i(401),attributes:{class:[i(411)]},children:[{text:s}]},{text:" "+e[i(410)][i(393)]}]}]})}[Yt(407)](){const t=Yt;this[t(403)][t(407)]()}}var Gt=Xt;!function(t){for(var e=Xt,i=t();;)try{if(426382===parseInt(e(291))/1+-parseInt(e(286))/2+parseInt(e(289))/3*(-parseInt(e(283))/4)+parseInt(e(285))/5*(-parseInt(e(290))/6)+parseInt(e(277))/7*(parseInt(e(287))/8)+parseInt(e(292))/9+parseInt(e(288))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Kt extends((0,t.ObservableMixin)()){id;[Gt(279)];[Gt(282)];[Gt(281)];[Gt(284)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(279)]=e[i(279)],this[i(282)]=e[i(282)],this[i(281)]=e[i(281)]||{},this[i(284)]=e[i(284)],this[i(280)](i(278),e[i(278)])}[Gt(293)](){var t=Gt;return{id:this.id,authorId:this[t(279)].id,type:this[t(282)],data:this[t(281)],createdAt:this[t(278)]}}}function Xt(t,e){var i=Qt();return(Xt=function(t,e){return i[t-=277]})(t,e)}function Qt(){var t=["747610UDnhHf","632XFINeE","1811920KLevsn","115890GZBKwy","6pMAqSw","58078JXSJUq","5604309BjcZQq","toJSON","39613aQTNsz","createdAt","author","set","data","type","12uUWplh","rootName","1964775NHOBzA"];return(Qt=function(){return t})()}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=367]})(t,e)}const ee=te;function ie(){const t=["add","12ICKEqQ","changes","_setChanges","newRevisionId","1552450husPQm","6UJMDxu","749fJBPXE","141506KxRZzI","oldRevisionId","632349YCSoiG","803601ErUaOO","3197744RrlOZF","30786zpyYeC","358575YxfzZP"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(491955===parseInt(e(377))/1*(-parseInt(e(375))/2)+parseInt(e(380))/3+parseInt(e(370))/4*(-parseInt(e(368))/5)+parseInt(e(367))/6*(parseInt(e(376))/7)+parseInt(e(381))/8+parseInt(e(379))/9+-parseInt(e(374))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[ee(373)];[ee(378)];[ee(371)];constructor(e,i){const n=ee;this[n(373)]=e,this[n(378)]=i,this[n(371)]=new t.Collection}[ee(372)](t){const e=ee;for(const i of t)this[e(371)][e(369)](i)}}var se=i(434),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ue;function ae(){const t=["isRemoveSuggestion","isAtEnd","attributes","document","restoreRevision","removeMarker","_utils","createUIElement","has","restoreRevisionCallback","activeChange","_threeWayMerge","insertions","_update","_processTape","currentChangeNumber","getAttributes","changes","isAdded","element:pre","plugins","getAttribute","_joinTapes","_getRevisionsRange","index","_makeTape","change","startsWith","isInline","mouseover","ck-suggestion-marker-split","string","filter","_changeView","_refreshStartEndIndex","repository","addMarker:revision","attributesAfter","showStack","toViewElement","init","find","getDomRoot","13WRDuAe","revisionHistoryAttachChange","getRevisionDocumentData","domEvent","view","uiElement","parent","isOnRoot","enableReadOnlyMode","from","elementEnd","unbindElementFromMarkerName","getIndex","isAttached","sort","return","_setDistance","markers","splice","hasAttribute","model","maxOffset","_cleanUp","isEqual","isNavigationMode","indexOf","getWalker","newRevisionId","change:numberOfChanges","right","removeAttribute","softBreak","attachChange","deletions","attribute:vid","offsetSize","bind","target","ck-suggestion-marker","_balloon","setAttribute","vid_start","findIndex","isObject","revision-suggestion","highest","addHighlight","compare","isOfficialPlugin","refresh","vid","_markMismatchedRemovedTags","_sortAndFilterDiffChanges","createPositionFromPath","RevisionViewer","consumable","checkAttribute","_removeUnsupportedChanges","isAfter","backward","config","getClientRects","elementToAttribute","selection","_removeMissingPairs","addRoot","delete","side","change:isReady","name","numberOfChanges","dataToMarker","_cleanMarkers","showNextChange","mapper","addMarker:revision-suggestion:insertion","element","_makeModelFromViewString","error","ck-revision-history-root-remove","change:isEnabled","left","_fixObsoleteTags","catch","isIncorrect","viewItem","end","ck-suggestion-marker--active","span","endIndex","addRevisionData","conversion","flat","nodeAfter","distance","revisionHistory","change:activeView","remove","_setChanges","values","getCustomProperty","first","upcast","isLimit","POSITIVE_INFINITY","revision-suggestion:","_step","map","adapter","_markMarkers","markersStart","621620abMytB","_getChangeFromId","data-change-id","roots","changeId","rootName","isSuggestion","1099VfYyln","_getDiff","_data","WidgetToolbarRepository","removeMarker:revision","domConverter","_revisions","detachRoot","1268019AgZnlY","37472cXYkxS","requires","add","change:activeChange","length","code","editor","getRoot","isPremiumPlugin","elementStart","isAtStart","_changeIdToChange","loadRevisionData","showPreviousChange","done","push","isContent","bindElementToMarker","ck-revision-history-root-add","insertion","pop","markerRange","pluginName","writer","for","reconvertMarker","48710NZWbPk","bottom","low","attributesBefore","locale","affectsData","insert","merge","forward","7736XkVbnZ","set","_findChangeIdFromDomTarget","2170LrLRFI","level","addMarker:revision-suggestion:deletion","2931852YEhXPr","listenTo","updatePosition","10423233TWYMVr","revision-comment:","consume","_setConversion","removeMarker:revision-suggestion","toViewPosition","revisionHistoryLabel","item","includes","enqueueChange","_markSuggestions","revision:","createRangeIn","forceDisabled","type","keys","text","slice","diffData","observeMarkers","schema","mapViewToDom","_appendChild","_initInteractions","RevisionsRepository","suggestion:","previousPosition","isBefore","createAttributeElement","getRevision","markerNameToElements","vid_end","ck-suggestion-preview-marker","top","wrap","getItems","_getViewForChange","markerName","nextPosition","modelRange","hasClass","getChild","_makeModelFromTape","editing","editingDowncast","diff","addClass","markerToData","markerToHighlight","ck-suggestion-preview-marker-","deletion","-new","data","revision-viewer","getRevisionRootsAttributes","ck-revision-history-root-","test","isCollapsed","suggestion","pairId","shift","RevisionHistoryUtils","isRemoved","commands","oldRevisionId","dataDowncast","ck-suggestion-marker-merge","isBlock","object","_markInsertions","unshift","start","_activeViewTarget","forEach","authors","split","all","ck-revision-history-root--active","getRootNames","createRange","ck-editor__editable__overlay","nextSibling","get","high","isAddSuggestion","range","isEnabled","clear","downcastDispatcher","then","resolve","getLaterVisibleRevision","createRevision","concat","destroy","createPositionBefore","activeView","startIndex","removeClass","markersEnd","stop","execute","revision","next","isReady","userId","abs","comment","toViewRange","addRevision","mousedown","ck-suggestion-marker-"];return(ae=function(){return t})()}!function(t){const e=ue,i=t();for(;;)try{if(949297===parseInt(e(469))/1*(-parseInt(e(622))/2)+-parseInt(e(595))/3+parseInt(e(631))/4*(parseInt(e(634))/5)+parseInt(e(637))/6+-parseInt(e(587))/7*(parseInt(e(596))/8)+parseInt(e(640))/9+-parseInt(e(580))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends G.Plugin{[oe(461)];[oe(577)]=null;[oe(432)];[oe(386)];[oe(459)];[oe(607)];[oe(508)];static get[oe(618)](){return oe(523)}static get[oe(517)](){return!0}static get[oe(604)](){return!0}static get[oe(597)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(461)]=this[e(602)][e(446)][e(396)](e(664)),this[e(432)]=this[e(602)][e(446)][e(396)](e(375)),this[e(632)](e(436),null),this[e(632)](e(410),null),this[e(386)]=null,this[e(632)](e(685),null),this[e(632)](e(418),!1),this[e(632)](e(400),!0),this.on(e(549),(t,i,n)=>{const s=e;this[s(436)]=null,this[s(410)]=null,this[s(602)][s(683)][s(473)][s(452)](t=>{const e=s;for(const i of this[e(602)][e(683)][e(473)][e(429)][e(583)])n?t[e(412)](e(394),i):t[e(686)](e(394),i)})}),this[e(505)](e(493)).to(this,e(436),t=>null!==t),this[e(505)](e(441)).to(this,e(418),this,e(685),this,e(436),(t,i,n)=>t&&n?i[e(443)][e(481)](n):0),this[e(505)](e(539)).to(this,e(418),this,e(685),(t,i)=>t?i[e(443)][e(600)]:0),this[e(459)]=null,this[e(607)]=new Map,this[e(508)]=this[e(602)][e(446)][e(396)](It.ContextualBalloon)}[oe(466)](){const t=oe,e=this[t(602)],i=new de(e,{direction:t(528)}),n=new de(e,{direction:t(630)});e[t(377)][t(598)](t(609),i),e[t(377)][t(598)](t(542),n),e[t(377)][t(598)](t(430),new he(e)),this.on(t(497),()=>{const e=t;i[e(518)](),n[e(518)]()}),this[t(643)](),this[t(663)](),e[t(477)](t(367)),e[t(446)][t(434)](t(590))&&e[t(446)][t(396)](t(590))[t(653)](t(367))}async[oe(471)](t){const e=oe;return await this[e(432)][e(608)](t,this[e(577)]),this[e(432)][e(471)](t)}async[oe(368)](t){const e=oe;return await this[e(432)][e(608)](t,this[e(577)]),this[e(432)][e(368)](t)}async[oe(516)](t,e,i=!1){const n=oe;if(!this[n(400)])return;const s=this[n(685)],r=this[n(461)],o=n(457)==typeof t?r[n(669)](t):t,a=n(457)==typeof e?r[n(669)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(685)]&&this[n(685)][n(496)]===c&&this[n(685)][n(378)]===u)return Promise[n(404)]();this[n(418)]=!1,this[n(410)]=null,this[n(436)]=null,this[n(685)]=new ne(c,u);const l=this[n(449)](o,a,!0)[n(576)](t=>this[n(432)][n(608)](t,this[n(577)]));return l[n(611)](new Promise(t=>{setTimeout(t,20)})),Promise[n(390)](l)[n(403)](()=>{const t=n;if(!this[t(400)])return;this[t(491)]();const e=this[t(588)](c,u);for(const i of e[t(443)])this[t(607)][t(632)](i.id,i);this[t(602)][t(489)][t(649)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(602)][n(489)][n(429)][n(392)]())i[n(594)](t);for(const t of Object[n(655)](e[n(489)])){const s=i[n(534)](t);for(const r of Object[n(655)](e[n(428)][t]))i[n(509)](r,e[n(428)][t][r],s);i[n(628)](e[n(489)][t],s,0)}}),this[t(685)][t(567)](this[t(521)](e[t(443)])),this[t(418)]=!0})[n(552)](t=>{const e=n;console[e(547)](t),this[e(491)](),s&&(this[e(685)]=s),this[e(418)]=!0})}[oe(559)](t,e){const i=oe,n=this[i(461)][i(406)](t);return n.on(i(439),(t,i,s)=>e(i,s,n)),this[i(461)][i(423)](n),n}[oe(491)](){const t=oe;this[t(436)]=null,this[t(541)](),this[t(459)]&&this[t(459)][t(408)](),this[t(459)]=null,this[t(607)][t(401)](),this[t(602)][t(489)][t(649)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(602)][i(489)][i(429)][i(392)]())e[i(594)](t)})}[oe(521)](t){const e=oe,i=[],n=new Map;for(const t of this[e(602)][e(489)][e(429)][e(392)]()){const s=this[e(602)][e(683)][e(473)][e(468)](t);if(!s)continue;const r=s[e(530)]()[e(647)](0);r&&(i[e(611)](t),n[e(632)](t,r))}return i[e(483)]((t,i)=>{const s=e,r=n[s(396)](t),o=n[s(396)](i);return r.y-o.y||r.x-o.x}),(t=t[e(458)](t=>i[e(648)](t[e(585)])))[e(483)]((t,n)=>i[e(494)](t[e(585)])-i[e(494)](n[e(585)])),t}[oe(451)](t){const e=oe,i=Array[e(478)](t[e(486)])[e(458)](([t,i])=>t[e(453)](e(651))&&!i[e(371)]),n=Array[e(478)](this[e(602)][e(489)][e(652)](t)[e(495)]({singleCharacters:!0}));if(0!=i[e(600)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(389)](":");if(s[e(555)][e(492)](t[e(678)])&&i[e(374)](),(t[e(666)][e(492)](s[e(385)])||t[e(666)][e(527)](s[e(385)]))&&(e(615)==r?t[e(444)]={userId:o}:e(690)==r&&(t[e(376)]={userId:o})),0==i[e(600)])break}return n}[oe(460)](t){const e=oe,i=new Map;for(let n=0;n<t[e(600)];n++)e(656)===t[n][e(654)]?(t[n][e(647)][e(411)]=n,t[n][e(647)][e(558)]=n):(e(605)===t[n][e(654)]?t[n][e(647)][e(411)]=n:e(479)===t[n][e(654)]&&(t[n][e(647)][e(558)]=n),i[e(632)](t[n].id,n));for(const n of i[e(568)]())e(605)===t[n][e(654)]?t[n][e(647)][e(558)]=i[e(396)](t[n][e(373)]):e(479)===t[n][e(654)]&&(t[n][e(647)][e(411)]=i[e(396)](t[n][e(373)]))}[oe(440)](t){const e=oe;for(let i=0;i<t[e(600)];i++){if(e(605)===t[i][e(654)])t[i][e(647)][e(411)]=i;else if(e(479)===t[i][e(654)]){t[i][e(647)][e(558)]=i;const n=t[i][e(647)][e(411)];t[n][e(373)]=t[i].id,t[i][e(373)]=t[n].id}else t[i][e(647)][e(411)]=i,t[i][e(647)][e(558)]=i,t[i][e(373)]=null;t[i][e(579)]||(t[i][e(579)]=[],t[i][e(413)]=[])}}[oe(383)](t,e){const i=oe,n=t[i(458)](t=>!t[i(444)]);for(let t=0;t<e[i(600)];t++)e[t][i(444)]&&(n[t][i(444)]=e[t][i(444)])}[oe(588)](t,e=null){const i=oe,n=this[i(461)][i(669)](t),s=e?this[i(461)][i(669)](e):null,r=this[i(449)](n,s),o=r[r[i(600)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(600)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(655)](e[i(658)]))if(e[i(658)][t][i(501)]){const n=e[i(658)][t][i(501)];n[i(482)]?(u[i(598)](t),l[i(434)](t)&&l[i(396)](t)[i(419)]==n[i(419)]?l[i(535)](t):l[i(632)](t,n)):l[i(434)](t)?(u[i(535)](t),l[i(535)](t)):(u[i(598)](t),l[i(632)](t,n))}else u[i(598)](t)}for(const t of u){const e=l[i(434)](t)&&!l[i(396)](t)[i(482)];let n=e?r[i(600)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(658)][t]){const n=e?o[i(658)][t][i(625)]:o[i(658)][t][i(463)];c[i(428)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(489)]={};for(const e of t[i(388)])a[i(632)](e.id,e);for(const e of u){const n=t[i(658)][e]?t[i(658)][e][i(438)]:"[]",s=t[i(658)][e]?t[i(658)][e][i(502)]:"[]";t[i(489)][e]={insertions:this[i(432)][i(546)](n),deletions:this[i(432)][i(546)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(478)](n[i(489)][t][i(438)][i(486)])[i(458)](([t])=>!t[i(453)](i(651))));let h=0;for(const o of r){const r=this[i(451)](o[i(489)][t][i(438)]);o==n?(e=r,s=e[i(600)],e[i(387)](t=>{t.id=h++}),this[i(440)](e)):this[i(383)](e,r);const a=e[i(458)](t=>!t[i(444)])[i(576)](t=>t.id);let c=0;const l=this[i(451)](o[i(489)][t][i(502)]);l[i(387)](t=>{t[i(376)]?t.id=s++:t.id=a[c++]}),this[i(440)](l),this[i(485)](e,i(444)),this[i(485)](l,i(376)),o==n&&this[i(578)](e,u),e=this[i(448)](e,l),this[i(460)](e),this[i(485)](e,i(376))}e=e[i(458)](t=>!(t[i(444)]&&t[i(376)]));const d=new Map(o[i(489)][t][i(502)][i(486)]),f=new Set(u[i(655)]());for(const t of d[i(655)]())f[i(535)](t);this[i(650)](e,f),this[i(551)](e),e=this[i(533)](e),e=this[i(520)](e),e=this[i(526)](e);const{root:m,changes:p}=this[i(682)](e,a,t);c[i(489)][t]=m;const v=l[i(396)](t);if(v){const e=a[i(396)](v[i(419)]),n=new Kt({author:e,type:v[i(482)]?i(598):i(566),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(384)](n),c[i(428)][t][i(470)]=n.id}c[i(443)]=c[i(443)][i(407)](p)}return c}[oe(578)](t,e){const i=oe;for(let n=0;n<t[i(600)];n++)for(const[s,r]of e)!r[i(371)]&&r[i(385)][i(492)](t[n][i(666)])&&t[n][i(579)][i(611)](s),r[i(555)][i(492)](t[n][i(678)])&&t[n][i(413)][i(611)](s)}[oe(448)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(600)]||r<e[i(600)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(611)](o);else if(a[i(376)]&&o[i(444)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(437)](t,s,e,r);n=n[i(407)](o),s=a,r=c}else a[i(376)]?(r++,n[i(611)](a)):(s++,n[i(611)](o))}return n}[oe(650)](t,e){const i=oe,n=[];for(let o=0;o<t[i(600)];o++){for(let r=0;r<t[o][i(579)][i(600)];r++){const a=t[o][i(579)][r];if(!e[i(434)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(513)!=c||i(615)!=u&&i(690)!=u||(n[i(384)]({type:u,name:a,userId:l}),t[o][i(579)][i(487)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(413)][i(600)];r++){const a=t[o][i(413)][r];if(!e[i(434)](a))continue;const{group:c,type:u}=s(a);if(i(513)!=c||i(615)!=u&&i(690)!=u)continue;t[o][i(413)][i(487)](r,1),r--;const l=n[i(511)](t=>t[i(538)]==a);l>-1&&n[i(487)](l,1)}}function s(t){const e=i,n=t[e(389)](":");return{group:n[0],type:n[1],subType:n[e(600)]>=5?n[2]:null,id:n[e(600)]<5?n[2]:n[3],authorId:n[e(600)]<5?n[3]:n[4],markerCount:6==n[e(600)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(600)];i++){if(t[e(444)]&&e(615)==n[i][e(654)]&&t[e(444)][e(419)]==n[i][e(419)])return t[e(398)]=n[i],void delete t[e(444)];if(!t[e(444)]&&!t[e(376)]&&e(690)==n[i][e(654)])return void(t[e(426)]=n[i])}}}[oe(485)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(632)](o.id,n);for(let n=0;n<t[i(600)];n++){if(i(376)==e&&t[n][i(444)]||i(444)==e&&t[n][i(376)])continue;if(i(656)==t[n][i(654)]){t[n][i(563)]=0;continue}const s=r[i(396)](t[n][i(373)]),o=r[i(396)](t[n].id);t[n][i(563)]=s-o}}[oe(449)](t,e,i=!1){const n=oe,s=[];let r=this[n(461)][n(481)](t),o=this[n(461)][n(481)](e);for(-1==o&&(o=this[n(461)][n(593)][n(600)],i=!1);r<o;)s[n(611)](this[n(461)][n(669)](r)),r++;return i&&s[n(611)](this[n(461)][n(669)](r)),s}[oe(437)](t,e,i,n){const s=oe,r=this[s(602)][s(489)][s(660)];let o=e;for(;t[o]&&t[o][s(444)];)o++;let a=n;for(;i[a]&&i[a][s(376)];)a++;u(t,e,o),u(i,n,a);const c=i[s(657)](n,a)[s(407)](t[s(657)](e,o));return c[s(483)]((t,e)=>t[s(536)]!=e[s(536)]?t[s(536)]-e[s(536)]:t[s(635)]!=e[s(635)]?t[s(635)]-e[s(635)]:t[s(563)]!=e[s(563)]?e[s(563)]-t[s(563)]:!!t[s(444)]!=!!e[s(444)]?-1==t[s(536)]||0==t[s(536)]?t[s(444)]?-1:1:t[s(444)]?1:-1:t[s(450)]-e[s(450)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(573)],c=!0;for(let s=e;s<i;s++)if(r[n(454)](t[s][n(647)])||(c=!1),t[s][n(647)][n(411)]<e&&(o=s),t[s][n(647)][n(558)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(536)]=s<=o?-1:s<a?0:1,t[s][n(450)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(563)]?t[i][n(635)]=u:(u++,t[i][n(635)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(536)]&&(t[s][n(635)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(563)]?t[e][n(635)]=u:(u--,t[e][n(635)]=u,u--)}}[oe(551)](t){const e=oe,i=new Map,n=this[e(602)][e(489)][e(660)];for(let s=1;s<t[e(600)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(656)==c[e(654)])continue;if(c[e(654)]!=u[e(654)])continue;if(!n[e(381)](u[e(647)])||n[e(572)](u[e(647)]))continue;if(!n[e(381)](c[e(647)])||n[e(572)](c[e(647)]))continue;if((t[s][e(444)]||t[s][e(398)])&&t[s-1][e(376)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(376)]||!t[s-1][e(444)]&&!t[s-1][e(398)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(635)]==o[e(635)],h=Math[e(420)](r[e(635)])<Math[e(420)](o[e(635)])&&0==o[e(563)];(l||h)&&(i[e(632)](o.id,r.id),t[e(487)](a,1),s--,r[e(444)]=!1)}for(let n=0;n<t[e(600)];n++)i[e(434)](t[n][e(373)])&&(t[n][e(373)]=i[e(396)](t[n][e(373)]))}[oe(533)](t){const e=oe,i=new Set(t[e(576)](t=>t.id));for(let n=0;n<t[e(600)];n++)i[e(434)](t[n][e(373)])||0==t[n][e(563)]||(t[n][e(553)]=!0);return t[e(458)](t=>!t[e(553)])}[oe(520)](t){const e=oe,i=new Set;for(let n=0;n<t[e(600)];n++){if(i[e(434)](t[n].id)&&t[n][e(376)]&&(t[n][e(553)]=!0),t[n][e(553)])continue;if(0==t[n][e(563)])continue;if(e(605)!=t[n][e(654)])continue;if(null==t[n][e(373)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(373)];)e(605)==t[s][e(654)]?r++:e(479)==t[s][e(654)]&&r--,s++;if(0!=r)if(t[n][e(376)])t[n][e(553)]=!0;else for(;s!=n;)t[s][e(376)]&&0!=t[s][e(563)]&&(t[s][e(553)]=!0,i[e(598)](t[s][e(373)])),s--}return t[e(458)](t=>!t[e(553)])}[oe(526)](t){const e=oe,i=this[e(602)][e(489)][e(660)];for(let n=0;n<t[e(600)];n++){if(!(t[n][e(444)]||t[n][e(398)]||t[n][e(376)]||t[n][e(426)]))continue;if(0==t[n][e(563)])continue;const s=t[n][e(647)];i[e(381)](s)||i[e(572)](s)||(t[n][e(444)]&&delete t[n][e(444)],t[n][e(398)]&&delete t[n][e(398)],t[n][e(426)]&&delete t[n][e(426)],t[n][e(376)]&&(t[n][e(553)]=!0))}return t[e(458)](t=>!t[e(553)])}[oe(682)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(602)][n(489)],c=a[n(660)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(600)];e++)if(n(605)===t[e][n(654)]){t[e][n(666)]=a[n(522)](s,f);const i=new X.ModelElement(t[e][n(647)][n(538)],t[e][n(647)][n(442)]());u[0][n(662)](i),f[n(611)](0),u[n(384)](i),t[e][n(678)]=a[n(522)](s,f)}else n(479)===t[e][n(654)]?(u[n(374)](),t[e][n(666)]=a[n(522)](s,f),f[n(616)](),f[f[n(600)]-1]++,t[e][n(678)]=a[n(522)](s,f)):(t[e][n(666)]=a[n(522)](s,f),d?d[n(589)]+=t[e][n(647)][n(366)]:d=new X.ModelText(t[e][n(647)][n(366)],t[e][n(647)][n(442)]()),t[e+1]&&n(656)===t[e+1][n(654)]&&v(d,t[e+1][n(647)])||(u[0][n(662)](d),d=null),f[f[n(600)]-1]+=t[e][n(647)][n(504)],t[e][n(678)]=a[n(522)](s,f));for(let e=0;e<t[n(600)];e++){const i=t[e][n(666)],s=t[e][n(678)];for(const s of t[e][n(579)])o[n(632)](s,{start:i,end:null});m(n(426),e,i,s),m(n(398),e,i,s),m(n(376),e,i,s),m(n(444),e,i,s);for(const i of t[e][n(413)]){const t=o[n(396)](i);t?t[n(555)]=s:o[n(632)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(602)][n(489)][n(393)](e[n(385)],e[n(555)]);s[n(486)][n(632)](t,i)}return r[n(483)]((t,e)=>{const i=n,r=s[i(486)][i(396)](i(651)+t.id),o=s[i(486)][i(396)](i(651)+e.id);return r[i(385)][i(667)](o[i(385)])?-1:r[i(385)][i(527)](o[i(385)])?1:r[i(555)][i(667)](o[i(555)])?-1:r[i(555)][i(527)](o[i(555)])?1:i(598)===t[i(654)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(419)]:null,d=i===t[o(600)]-1,f=h[e][0],m=c[o(512)](t[i][o(647)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(555)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(419)]!==u&&(l[e][o(555)]=s,f&&f[o(419)]===l[e][o(419)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(605)!==t[i][o(654)]||f&&f[o(419)]===u||h[e][o(384)]({userId:u,object:t[i][o(647)],change:l[e]}),o(479)===t[i][o(654)]&&f&&f[o(382)]===t[i][o(647)]&&(h[e][o(374)](),l[e]=f[o(452)])),l[e]&&d&&(l[e][o(555)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(647)],f=a[h(660)][h(381)](d)&&!a[h(660)][h(572)](d),m=t[h(562)]==o[h(475)]&&o[h(606)];if(f&&m)return;const p=a[h(393)](t,o),v=e[h(396)](u),g=new Kt({author:v,type:h(444)==l||h(398)==l?h(598):h(566),data:{isSuggestion:h(398)==l||h(426)==l},createdAt:new Date,rootName:i});r[h(611)](g),s[h(486)][h(632)](h(651)+g.id,p)}function v(t,e){const i=n,s=t[i(442)](),r=e[i(442)]();for(const t of s){if(t[1]!==e[i(447)](t[0]))return!1;r[i(417)]()}return r[i(417)]()[i(610)]}}[oe(643)](){const t=oe;this[t(602)][t(560)][t(620)](t(571))[t(540)]({view:t(416)}),this[t(602)][t(560)][t(620)](t(684))[t(688)]({model:t(416),view:e=>{const i=t,n=e[i(677)][i(389)](":")[1],s=this[i(581)](n);if(!s)return null;const r=i(598)==s[i(654)]?i(615):i(690),o=[i(507),i(425)+r];return s[i(366)][i(586)]&&o[i(611)](i(425)+r+i(365)),this[i(436)]==s&&o[i(611)](i(556)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(602)][t(560)][t(620)](t(571))[t(598)](e=>{const i=t;e.on(i(445),(t,e,n)=>{const s=i,r=e[s(554)][s(681)](0);if(!r||!r.is(s(545),s(601)))return;if(!n[s(524)][s(642)](r,{attributes:[s(510),s(671)]}))return;const o=e[s(679)][s(385)][s(562)];n[s(619)][s(509)](s(510),r[s(447)](s(510)),o),n[s(619)][s(509)](s(671),r[s(447)](s(671)),o)},{priority:i(624)})}),this[t(602)][t(560)][t(620)](t(571))[t(598)](e=>{const i=t;e.on(i(545),(t,e,n)=>{const s=i;if(!n[s(524)][s(642)](e[s(554)],{attributes:[s(510),s(671)]}))return;if(e[s(679)][s(371)])return;const r=e[s(679)][s(385)][s(562)];r[s(488)](s(510))||r[s(488)](s(519))||(n[s(619)][s(509)](s(510),e[s(554)][s(447)](s(510)),r),n[s(619)][s(509)](s(671),e[s(554)][s(447)](s(671)),r))},{priority:i(624)})}),this[t(602)][t(560)][t(620)](t(571))[t(531)]({view:{name:t(557),attributes:{vid:!0}},model:{key:t(519),value:e=>e[t(447)](t(519))}}),this[t(602)][t(489)][t(660)].on(t(525),(e,[,i])=>{const n=t;[n(510),n(671),n(519)][n(648)](i)&&(e[n(484)]=!0,e[n(414)]())},{priority:t(514)}),this[t(602)][t(560)][t(620)](t(379))[t(598)](e=>{const i=t;e.on(i(503),(t,e,n)=>{const s=i;if(" "!=e[s(647)][s(366)]||e[s(647)][s(475)][s(490)]>1)return;if(!n[s(524)][s(642)](e[s(647)],t[s(538)]))return;const r=n[s(619)],o=n[s(543)][s(422)](e[s(399)]);r[s(674)](o,r[s(668)](s(557)))})}),this[t(602)][t(560)][t(620)](t(379))[t(687)]({model:t(416)}),this[t(602)][t(683)][t(402)].on(t(462),function(e){const i=t,n=e[i(446)][i(396)](i(523));return(t,s,r)=>{const o=i,a=s[o(677)][o(389)](":")[1],c=n[o(581)](a);if(!c)return null;const u=o(598)==c[o(654)]?o(389):o(629);if(!r[o(524)][o(370)](s[o(617)],t[o(538)]))return;const l=s[o(617)][o(495)](),h=s[o(617)][o(385)],d=e[o(489)][o(660)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(647)];p=p||d[o(612)](e);const i=r[o(543)][o(465)](e);if(i&&i[o(569)](o(515)))return;o(479)==t[o(654)]&&d[o(381)](e)&&!d[o(572)](e)&&(e[o(395)]||h[o(427)]?f&&f[o(475)]==e||(f=e,g(t[o(666)]),v=!0):m=m||t[o(666)])}function g(t){const e=o,i=r[e(619)][e(433)](e(557),{class:e(425)+u}),a=r[e(543)][e(645)](t);c[e(366)][e(586)]&&r[e(619)][e(686)](e(425)+u+e(365),i),n[e(436)]==c&&r[e(619)][e(686)](e(556),i),r[e(619)][e(628)](a,i),r[e(543)][e(613)](i,s[e(677)])}p||v||!m||g(m)}}(this[t(602)]),{priority:t(397)}),this[t(602)][t(683)][t(402)].on(t(591),(e,i,n)=>{const s=t,r=n[s(543)][s(670)](i[s(677)]);if(r)for(const t of r)(t[s(680)](s(456))||t[s(680)](s(380)))&&(n[s(543)][s(480)](t,i[s(677)]),n[s(619)][s(566)](t))},{priority:t(397)}),this[t(602)][t(683)][t(402)].on(t(462),(e,i,n)=>{const s=t,r=i[s(677)][s(389)](":")[1],o=this[s(581)](r);if(!o)return null;const a=s(598)==o[s(654)]?s(389):s(629);if(n[s(524)][s(370)](i[s(617)],e[s(538)]))for(const t of i[s(617)][s(675)]()){if(!t.is(s(545),s(500)))continue;const e=n[s(619)][s(433)](s(557),{class:s(425)+a}),r=n[s(543)][s(645)](this[s(602)][s(489)][s(409)](t));o[s(366)][s(586)]&&n[s(619)][s(686)](s(425)+a+s(365),e),this[s(436)]==o&&n[s(619)][s(686)](s(556),e),n[s(619)][s(628)](r,e),n[s(543)][s(613)](e,i[s(677)])}},{priority:t(397)}),this[t(602)][t(489)][t(429)].on(t(452),()=>{const e=t;this[e(602)][e(683)][e(473)][e(452)](t=>{const i=e;for(const e of this[i(602)][i(489)][i(429)][i(392)]()){const n=this[i(602)][i(489)][i(429)][i(603)](e),s=this[i(602)][i(683)][i(473)][i(429)][i(603)](e);if(s){const e=n[i(447)](i(470));if(t[i(499)](i(582),s),t[i(412)](i(614),s),t[i(412)](i(548),s),t[i(412)](i(391),s),e){const n=this[i(581)](e);if(!n)return null;t[i(509)](i(582),e,s),t[i(686)](i(369)+n[i(654)],s),this[i(436)]==n&&t[i(686)](i(391),s)}}}})}),this[t(602)][t(560)][t(620)](t(571))[t(540)]({view:t(421),model:e=>t(641)+e,converterPriority:t(514)}),this[t(602)][t(560)][t(620)](t(571))[t(540)]({view:t(372),model:e=>t(574)+e,converterPriority:t(514)}),this[t(602)][t(560)][t(620)](t(379))[t(687)]({model:t(513),view:e=>({name:t(665)+e,group:t(513)}),converterPriority:t(514)}),this[t(602)][t(560)][t(620)](t(684))[t(688)]({model:t(513),view:e=>{const i=t,n=e[i(677)][i(389)](":")[1];return i(615)!=n&&i(690)!=n?null:{classes:[i(672),i(689)+n]}}}),this[t(602)][t(683)][t(402)].on(t(636),le(this[t(602)],t(629)),{priority:t(397)}),this[t(602)][t(683)][t(402)].on(t(544),le(this[t(602)],t(389)),{priority:t(397)}),this[t(602)][t(683)][t(402)].on(t(644),(e,i,n)=>{const s=t,r=n[s(543)][s(670)](i[s(677)]);if(r)for(const t of r)t.is(s(474))&&(n[s(543)][s(480)](t,i[s(677)]),n[s(619)][s(566)](t))},{priority:t(397)})}[oe(581)](t){const e=oe;return this[e(607)][e(396)](t)}[oe(676)](t){const e=oe;return this[e(459)]&&this[e(459)][e(408)](),this[e(459)]=new Jt(this[e(602)][e(626)],t),this[e(459)]}[oe(663)](){const t=oe;this[t(602)][t(489)][t(429)][t(532)][t(659)](t(416)),this.on(t(565),(e,i,n,s)=>{const r=t;s&&this[r(508)][r(566)](s),n&&(this[r(508)][r(598)]({view:n,stackId:r(646),position:{target:()=>{const t=r,e=this[t(602)][t(683)],i=this[t(581)](n[t(584)]);let s;if(i[t(366)][t(476)]){const n=e[t(473)][t(468)](i[t(585)]);s=Array[t(478)](n[t(530)]())}else{const i=this[t(602)][t(489)][t(486)][t(396)](t(651)+n[t(584)]);s=Array[t(478)](e[t(543)][t(670)](i[t(538)]))[t(576)](i=>e[t(473)][t(592)][t(661)](i))[t(576)](e=>Array[t(478)](e[t(530)]()))[t(561)]()}return this[t(386)]&&s[t(467)](e=>e[t(673)]-3<=this[t(386)].y&&e[t(623)]+3>=this[t(386)].y&&e[t(550)]-3<=this[t(386)].x&&e[t(498)]+3>=this[t(386)].x)||s[0]}}}),this[r(508)][r(464)](r(646)))}),this.on(t(599),(e,i,n,s)=>{const r=t;this[r(410)]=n?this[r(676)](n):null,this[r(602)][r(489)][r(452)](()=>{const t=r,e=this[t(602)][t(683)];s&&(s[t(366)][t(476)]?e[t(473)][t(452)](i=>{const n=t;i[n(412)](n(391),e[n(473)][n(429)][n(603)](s[n(585)]))}):e[t(621)](t(651)+s.id)),n&&(n[t(366)][t(476)]?e[t(473)][t(452)](i=>{const s=t;i[s(686)](s(391),e[s(473)][s(429)][s(603)](n[s(585)]))}):e[t(621)](t(651)+n.id))})}),this[t(638)](this[t(602)][t(683)][t(473)][t(429)],t(455),(e,i)=>{const n=t;if(this[n(436)])return;const s=this[n(633)](i[n(506)]),r=this[n(607)][n(396)](s);r?(this[n(386)]={x:i[n(472)].x,y:i[n(472)].y},this[n(410)]=this[n(676)](r)):(this[n(386)]=null,this[n(410)]=null)}),this[t(638)](this[t(602)][t(683)][t(473)][t(429)],t(424),(e,i)=>{const n=t,s=this[n(633)](i[n(506)]),r=this[n(607)][n(396)](s);r?(this[n(386)]={x:i[n(472)].x,y:i[n(472)].y},r===this[n(436)]?this[n(508)][n(639)]():this[n(436)]=r):(this[n(386)]=null,this[n(436)]=null)})}[oe(633)](t){const e=oe;do{const i=t[e(447)](e(582));if(i)return i;t=t[e(475)]}while(t);return null}[oe(541)](){const t=oe;this[t(602)][t(489)][t(452)](e=>{const i=t;for(const t of this[i(602)][i(489)][i(486)])e[i(431)](t)})}}function ue(t,e){const i=ae();return(ue=function(t,e){return i[t-=365]})(t,e)}function le(t,e){return(i,n,s)=>{const r=ue;if(!s[r(524)][r(370)](n[r(617)],i[r(538)]))return;const o=n[r(617)][r(495)](),a=n[r(617)][r(385)],c=t[r(489)][r(660)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(647)];h=h||c[r(612)](e);const i=s[r(543)][r(465)](e);if(i&&i[r(569)](r(515)))return;r(479)==t[r(654)]&&c[r(381)](e)&&!c[r(572)](e)&&(e[r(395)]||a[r(427)]?u&&u[r(475)]==e||(u=e,f(t[r(666)]),d=!0):l=l||t[r(666)])}function f(t){const i=r,o=s[i(543)][i(645)](t),a=s[i(619)][i(433)](i(557),{class:i(689)+e});s[i(619)][i(628)](o,a),s[i(543)][i(613)](a,n[i(677)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(446)][e(396)](ce);this[e(627)]=!1,this[e(638)](i,e(537),()=>this[e(518)]()),this[e(638)](i,e(549),()=>this[e(518)]())}[oe(415)](){const t=oe,e=this[t(602)],i=e[t(446)][t(396)](ce),n=i[t(418)]?i[t(685)][t(496)]:null;e[t(529)][t(396)](t(564))[t(435)](n)}[oe(518)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(602)][t(446)][t(396)](ce),r=s&&n[t(405)](s[t(496)]);this[t(400)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(575)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(446)][i(396)](ce);this[i(627)]=!1,this[i(575)]=i(630)===e?1:-1,this[i(638)](n,i(537),()=>this[i(518)]()),this[i(638)](n,i(549),()=>this[i(518)]()),this[i(638)](n,i(599),()=>this[i(518)]())}[oe(415)](){const e=oe,i=this[e(602)],n=i[e(446)][e(396)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(436)]=s?n[e(685)][e(443)][e(396)](r+this[e(575)]):n[e(685)][e(443)][e(570)],n[e(436)][e(366)][e(476)])o=i[e(683)][e(473)][e(468)](n[e(436)][e(585)]);else{const t=i[e(489)][e(486)][e(396)](e(651)+n[e(436)].id);o=(0,K.getMarkerDomElement)(i[e(683)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(518)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(602)][t(446)][t(396)](ce);this[t(400)]=!!(r&&s&&n)&&(!e||(1===this[t(575)]?i<n-1:i>0))}}var fe=i(522),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-=450]})(t,e)}function ve(){const t=["isNavigationMode","10yfHheF","Show previous change","isEnabled","_isStatusLabelVisible","4039856eJVyQe","NUMBER_OF_CHANGES","576059XLQxhr","ck-revision-history-ui","isForwardNavigationEnabled","43458kkmwpt","EDIT_X_OF_Y_REVISIONS","numberOfChanges","No changes","7032591AMbkni","currentChangeNumber","div","379228yomHFo","ck-revision-history-ui__changes-navigation","span","bind","setTemplate","231DAkYUX","240600OIiTnK","ck-hidden","forward","_statusText","execute","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__label","isReady","fire","Total","Show next change","2878oBfWZr","Loading...","set","backward","X_OF_Y_CHANGES","bindTemplate","1758XBrKwn","isBackwardNavigationEnabled"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(461915===parseInt(e(476))/1+-parseInt(e(461))/2*(parseInt(e(467))/3)+-parseInt(e(486))/4*(-parseInt(e(470))/5)+-parseInt(e(479))/6*(-parseInt(e(491))/7)+-parseInt(e(474))/8+parseInt(e(483))/9+parseInt(e(492))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(466)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(463)](e(469),!1),this[e(463)](e(457),!1),this[e(463)](e(484),0),this[e(463)](e(481),0),this[e(463)](e(478),!1),this[e(463)](e(468),!1),this[e(489)](e(473)).to(this,e(457),this,e(481),(t,e)=>t&&e>0),this[e(489)](e(452)).to(this,e(457),this,e(484),this,e(481),this,e(469),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(462));if(!s)return at(t,o(482));const a=at(t,o(475),s);return r?at(t,o(465),[n+1,s]):a}),n[e(463)]({label:at(t,e(471)),tooltip:!0,icon:_t.IconChevronUp}),s[e(463)]({label:at(t,e(460)),tooltip:!0,icon:_t.IconChevronDown}),n[e(489)](e(472)).to(this,e(468)),s[e(489)](e(472)).to(this,e(478)),n.on(e(453),()=>this[e(458)](e(453),e(464))),s.on(e(453),()=>this[e(458)](e(453),e(451))),this[e(490)]({tag:e(485),attributes:{class:["ck",e(477),e(487)]},children:[{tag:e(488),attributes:{class:[e(455)]},children:[{tag:e(488),attributes:{class:[e(456),i.if(e(473),e(450),t=>!t)]},children:[{text:i.to(e(469),i=>i?at(t,e(480))+": ":at(t,e(459))+": ")}]},{text:i.to(e(452))}]},new It.ToolbarSeparatorView,{tag:e(485),attributes:{class:[e(454)]},children:[n,s]}]})}}var ye=i(418),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;function be(){const t=["9254736AJcCOU","removeClass","1247755QMbCjp","pluginName","editor","isPremiumPlugin","document","addClass","947988KyiUCi","show","view","change","166WYtokX","1204007knOdWE","isOfficialPlugin","24BUtRJL","hide","372384fEbHVB","23321772pvkAmz","roots","RevisionViewerLoadingOverlay","editing","ck-editor__editable__loading-overlay","8055XSwXwR"];return(be=function(){return t})()}const we=Ie;!function(t){const e=Ie,i=t();for(;;)try{if(608980===-parseInt(e(321))/1+-parseInt(e(325))/2*(parseInt(e(312))/3)+-parseInt(e(306))/4+-parseInt(e(315))/5+parseInt(e(328))/6*(parseInt(e(326))/7)+-parseInt(e(313))/8+parseInt(e(307))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const _e=we(311);function Ie(t,e){const i=be();return(Ie=function(t,e){return i[t-=305]})(t,e)}class Se extends G.Plugin{static get[we(316)](){return we(309)}static get[we(327)](){return!0}static get[we(318)](){return!0}[we(322)](){const t=we,e=this[t(317)][t(310)][t(323)];e[t(324)](i=>{const n=t;for(const t of e[n(319)][n(308)])i[n(320)](_e,t)})}[we(305)](){const t=we,e=this[t(317)][t(310)][t(323)];e[t(324)](i=>{const n=t;for(const t of e[n(319)][n(308)])i[n(314)](_e,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=492]})(t,e)}function xe(){const t=["256044gtvaLC","780085Trpzdw","change:isReady","config","pluginName","1323192AbZRTf","numberOfChanges","115647pdxTFG","exitToEditing","RevisionViewerUI","isOfficialPlugin","Back to editing","9SYFwYy","10zotBjo","get","changesNavigation","closeRevisionViewerCallback","add","isPremiumPlugin","editor","showPreviousChange","init","8BNOsrR","Restore this revision","2hxbFik","bind","2905078ILxqsa","hide","forward","isEnabled","restoreRevision","showNextChange","execute","plugins","isForwardNavigationEnabled","1299732ZDFKVf","922593kmhnxS","commands","componentFactory","isReady","requires","isNavigationMode","ck-revision-history-ui__back-to-editing","isBackwardNavigationEnabled","listenTo","set","show","revisionHistory","currentChangeNumber"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(215905===-parseInt(e(517))/1+-parseInt(e(534))/2*(parseInt(e(497))/3)+-parseInt(e(532))/4*(-parseInt(e(511))/5)+parseInt(e(510))/6+parseInt(e(496))/7+parseInt(e(515))/8*(-parseInt(e(522))/9)+parseInt(e(523))/10*(parseInt(e(536))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(514)](){return Oe(519)}static get[Oe(520)](){return!0}static get[Oe(528)](){return!0}static get[Oe(501)](){return[ce,Se]}[Oe(531)](){const t=Oe,e=this[t(529)],i=e[t(494)][t(524)](ce),n=e[t(494)][t(524)](Se);e.ui[t(499)][t(527)](t(518),i=>{const n=t,s=new It.ButtonView(i);return s[n(506)]({label:at(i,n(521)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(503)}),this[n(505)](s,n(493),()=>{const t=n;e[t(513)][t(524)](t(508))[t(526)]()}),s}),e.ui[t(499)][t(527)](t(540),i=>{const n=t,s=new It.ButtonView(i);return s[n(506)]({label:at(i,n(533)),withText:!0,tooltip:!0}),s[n(535)](n(539)).to(e[n(498)][n(524)](n(540))),this[n(505)](s,n(493),()=>e[n(493)](n(540))),s}),e.ui[t(499)][t(527)](t(525),n=>{const s=t,r=new ge(n),o=e[s(498)][s(524)](s(530)),a=e[s(498)][s(524)](s(492));return r[s(535)](s(504)).to(o,s(539)),r[s(535)](s(495)).to(a,s(539)),r[s(535)](s(500),s(509),s(516),s(502)).to(i),this[s(505)](r,s(493),(t,i)=>{const n=s;e[n(493)](n(538)===i?n(492):n(530))}),r}),n[t(507)](),i.on(t(512),(e,i,s)=>{const r=t;s?n[r(537)]():n[r(507)]()})}}var Ae=i(223),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=De;function Ee(){const t=["scrollWidth","1392870HzxHSU","value","2776NXpnek","clientWidth","ck-tooltip_multi-line","destroy","input","element","27mtIAVG","_tooltipString","Revision name","ck-revision-history-sidebar__revision-name","bindTemplate","_updateTooltipText","Enter the revision name","_resizeObserver","1674183iJZcAj","888cDEztq","978ryKJFf","14ExWIKu","fieldView","13621fJqEsU","listenTo","render","span","extendTemplate","placeholder","set","8435UNUxrh","375512DlWFDL","3471204GBrvBe"];return(Ee=function(){return t})()}function De(t,e){const i=Ee();return(De=function(t,e){return i[t-=491]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(146780===parseInt(e(504))/1*(parseInt(e(502))/2)+-parseInt(e(501))/3*(-parseInt(e(517))/4)+parseInt(e(511))/5*(-parseInt(e(500))/6)+-parseInt(e(499))/7+-parseInt(e(512))/8*(parseInt(e(491))/9)+parseInt(e(515))/10+parseInt(e(513))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class Ve extends It.LabeledFieldView{[Me(498)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(495)];this[i(510)]({label:at(t,i(493)),_tooltipString:""}),this[i(503)][i(509)]=at(t,i(497)),this[i(508)]({tag:i(507),attributes:{class:[i(494)],"data-cke-tooltip-text":n.to(i(492)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(519)}})}[Me(506)](){const e=Me;super[e(506)](),this[e(498)]=new t.ResizeObserver(this[e(503)][e(522)],()=>this[e(496)]()),this[e(505)](this[e(503)],e(521),()=>this[e(496)]())}[Me(520)](){const t=Me;super[t(520)](),this[t(498)]&&this[t(498)][t(520)]()}[Me(496)](){const t=Me,e=this[t(503)][t(522)];this[t(492)]=e[t(514)]>e[t(518)]&&e[t(516)]||""}}var Ce=i(443),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 Le(){const t=["Revision author","628168LprfZE","push","8339635QcvrLw","Revision creator","0 0 11 10","setTemplate","span","name","3246678zcsZJo","set","ck-revision-history-sidebar__revision-author","9629333kRvCGH","2646822hiolIx","1339528dYdaUd","189gxrHoh","7627jqDYXB","ck-revision-history-sidebar__revision-author_creator","236fPAcvT","ck-revision-history-sidebar__revision-author__name"];return(Le=function(){return t})()}function je(t,e){const i=Le();return(je=function(t,e){return i[t-=180]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(839074===parseInt(e(180))/1*(-parseInt(e(182))/2)+parseInt(e(197))/3+-parseInt(e(185))/4+-parseInt(e(187))/5+parseInt(e(193))/6+-parseInt(e(196))/7+-parseInt(e(198))/8*(-parseInt(e(199))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(194)]({content:_t.IconUser,viewBox:n(189)});const r=["ck",n(195)];i&&r[n(186)](n(181));const o=[{tag:n(191),attributes:{class:["ck",n(183)],title:at(t,n(i?188:184))},children:[s,e[n(192)]]}];this[n(190)]({tag:"li",attributes:{class:r},children:o})}}function Ue(t,e){var i=ze();return(Ue=function(t,e){return i[t-=236]})(t,e)}function ze(){var t=["2559980dTqrQB","1005786zXShrB","long","138fJPFBc","492345YqemVC","5567UCHnvR","toLocaleDateString","28qDavNA","toLocaleTimeString","104592JIUsOp","numeric","1523708DBDNlA","5KZMTcU","1361439DZvGbI"];return(ze=function(){return t})()}!function(t){for(var e=Ue,i=t();;)try{if(282511===parseInt(e(238))/1*(parseInt(e(236))/2)+parseInt(e(237))/3+parseInt(e(244))/4*(-parseInt(e(245))/5)+parseInt(e(248))/6+-parseInt(e(240))/7*(-parseInt(e(242))/8)+parseInt(e(246))/9+-parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(433),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Dt();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(){const t=["Name this revision","name","Show more items","model","find","action","class","isReady","isEnabled","2183657CwmxFu","execute","map","first","6777774lxDEGZ","Compare against selected","Restore this revision","extendTemplate","1421065kKWmkc","6Ykwcfm","add","bind","menu","58484oCXdUl","ck-on","ck-revision-history-sidebar__revision__actions","_action","function","15840ScDezP","isVisible","isActionsDropdownOpen","set","listenTo","locale","change:isActionsDropdownOpen","849928DApGUe","source","stopPropagation","10110mUWtBC","bindTemplate","children","items","button","panelPosition","36BBGtqR","336370GmYSUe","menuitem","2ihxnHQ","buttonView","listView","isOpen"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(407857===-parseInt(e(533))/1*(parseInt(e(531))/2)+-parseInt(e(530))/3*(-parseInt(e(509))/4)+parseInt(e(504))/5+-parseInt(e(505))/6*(parseInt(e(496))/7)+-parseInt(e(521))/8+-parseInt(e(500))/9+-parseInt(e(524))/10*(-parseInt(e(514))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var Be=i(898),$e={attributes:{"data-cke":!0}};$e.setAttributes=Mt(),$e.insert=At().bind(null,"head"),$e.domAPI=xt(),$e.insertStyleElement=Dt();Ot()(Be.A,$e);Be.A&&Be.A.locals&&Be.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=169]})(t,e)}function Ge(){const t=["render","fire","10aPmtLU","isEnabled","closest","ck-revision-history-sidebar__revision-wrapper","map","ck-revision-history-sidebar__revision__date","setName","deselect","set","_requireRevisionName","filter","_createdAtFormatted","select","246850spMnQA","element","fieldView","10757997wVMHHp","name","change","length","revisionNameView","div","1349064OoTWtM","isActionsDropdownOpen","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision_highlighted","authors","unshift","isHighlighted","isSelected","highlight","ck-reset","unhighlight","ck-revision-history-sidebar__revision-authors","createdAt","value","span","creator","ck-disabled","bind","298388YQofDm","from","152vybPHT","listenTo","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setTemplate","10hFYIkr","ck-revision-history-sidebar__revision","srcElement","isReady","revisionActionsView","extendTemplate","isConfirm","1210772CLVdym","uiLanguage","272559EebJJX","_revision","220",".ck-confirm-view","ck-revision-history-sidebar__revision_selected","771447CfpyHg","bindTemplate"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(697177===-parseInt(e(176))/1+parseInt(e(217))/2+parseInt(e(224))/3+parseInt(e(204))/4*(-parseInt(e(228))/5)+-parseInt(e(185))/6+parseInt(e(219))/7*(-parseInt(e(206))/8)+parseInt(e(179))/9*(parseInt(e(210))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(183)];[Ye(214)];[Ye(220)];[Ye(172)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(225)],a=function(t,e){const i=r,n=Array[i(205)](e[i(190)])[i(173)](t=>t!=e[i(201)]);return e[i(201)]&&n[i(191)](e[i(201)]),n[i(232)](n=>new Pe(t,n,n==e[i(201)]))}(e,i);this.id=i.id,this[r(220)]=i,this[r(172)]=s,this[r(203)](r(180),r(198)).to(i),this[r(203)](r(174)).to(this,r(198),t=>{return i=e[r(218)],(n=t)[(s=Ue)(239)](i,{month:s(249),day:s(243)})+", "+n[s(241)](i,{hour:s(243),minute:s(243)});var i,n,s}),this[r(171)](r(193),!1),this[r(171)](r(192),!1),this[r(171)](r(186),!1),this[r(171)](r(213),!1),this[r(171)](r(229),!1),this[r(183)]=new Ve(e,It.createLabeledInputText),this[r(183)][r(178)][r(215)]({attributes:{maxlength:r(221)}}),this[r(183)][r(178)][r(203)](r(199)).to(this,r(180),t=>t||this[r(174)]),this[r(183)][r(203)](r(229)).to(this,r(193),this,r(229),(t,e)=>t&&e),this[r(214)]=n&&n[r(182)]?function(e,i){const n=qe,s=e[n(525)],r=e[n(519)],o=(0,It.createDropdown)(r);o[n(529)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(519)],s={"Compare against selected":at(n,i(501)),"Name this revision":at(n,i(537)),"Restore this revision":at(n,i(502))};return e[i(498)](t=>{const e=i,n=s[t[e(488)]];return n&&n!==t[e(488)]&&(t[e(488)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(528),model:new It.UIModel({label:t[s(488)],class:t[s(493)],withText:!0,role:s(532),_action:t[s(492)]})};i[s(490)][s(507)](s(495)).to(e,s(516),i=>s(513)!=typeof t[s(495)]||!i||t[s(495)](e)),o[s(506)](i)}return o}(e,i);return e[n(507)](n(516)).to(o,n(536)),o[n(534)][n(517)]({label:at(r,n(489)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(503)]({attributes:{class:[n(511),s.if(n(516),n(510))]},on:{click:s.to(t=>t[n(523)]())}}),o.on(n(497),t=>{const i=n;e[i(494)]&&i(513)==typeof t[i(522)][i(512)]&&t[i(522)][i(512)](e)}),(0,It.addListToDropdown)(o,a,{role:n(508)}),o[n(518)](e,n(520),(t,s,r)=>{const a=n;if(r)for(const t of o[a(535)][a(527)]){const n=t[a(526)][a(499)],s=i[a(491)](t=>t[a(492)]===n[a(512)])[a(515)];t[a(515)]=void 0===s||s(e)}}),o}(this,n):"",this[r(214)]&&this[r(214)][r(203)](r(229)).to(this),this[r(209)]({tag:r(184),attributes:{class:["ck",r(195),r(231),o.if(r(216),r(208))]},children:[{tag:r(184),attributes:{class:["ck",r(195),r(211),o.if(r(229),r(202),t=>!t),o.if(r(193),r(223)),o.if(r(192),r(189)),o.if(r(186),r(188))]},children:[this[r(183)],{tag:r(200),attributes:{class:["ck",r(233)]},children:[{text:o.to(r(174))}]},{tag:r(184),attributes:{class:["ck",r(187)]},children:[{tag:"ul",attributes:{class:["ck",r(197)]},children:a}]},this[r(214)]],on:{click:o.to(t=>{const e=r;t[e(212)][e(230)](e(222))||this[e(213)]&&this[e(229)]&&this[e(227)](e(175),{id:this.id})})}}]})}[Ye(226)](){const t=Ye;super[t(226)]();const e=this[t(183)][t(178)][t(177)];this[t(207)](e,t(181),()=>{const i=t;this[i(172)]&&!e[i(199)]||this[i(227)](i(169),{id:this.id,name:e[i(199)]}),e[i(199)]||(e[i(199)]=this[i(180)]?this[i(180)]:this[i(174)])})}[Ye(175)](){this[Ye(193)]=!0}[Ye(170)](){this[Ye(193)]=!1}[Ye(194)](){this[Ye(192)]=!0}[Ye(196)](){this[Ye(192)]=!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 ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si 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 Ei=null;class Di extends Mi{static get instance(){return null===Ei&&(Ei=new Di),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=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(),Vi.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 ts(t,e,i,this.name)}formatOffset(t,e){return ss(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=Vi.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"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,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 ji={};const Pi=new Map;function Ui(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const zi=new Map;const Wi=new Map;let Zi=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const Bi=new Map;function $i(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),zi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):Bn(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;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?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Ui(e,s)}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&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=Un(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),zi.clear(),Wi.clear(),Hi.clear(),Bi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=Ui(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Ui(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Un(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return $i(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return $i(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return $i(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return $i(this,t,ys,()=>{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 n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.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 n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ln()?function(t){let e=Bi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),Bi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en 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 nn(t,e){if(Dn(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?tn.utcInstance:tn.parseSpecifier(i)||Li.create(t)}return Vn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=Un(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),Li.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+($n(t)?bn:kn)[e-1]}function Sn(t,e){const i=$n(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(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 Mn(t){const e=Cn(t.year),i=zn(t.month,1,12),n=zn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function En(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=zn(i,0,59),a=zn(n,0,59),c=zn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function Vn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ln(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Un(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!zn(t.firstDay,1,7)||!zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Bn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function $n(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return $n(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$n(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={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 ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Wn(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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 n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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 n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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 n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Zn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Es=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Vs=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Zn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function Ls(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function js(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),Us=/^-?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 zs(t){const[e,i,n,s,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(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Zs(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const Bs=/^(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$/,$s=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,Ls,js),ir=Ss(Ms,Fs,Ls,js),nr=Ss(Es,Fs,Ls,js),sr=Ss(Fs,Ls,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Vs),ar=Is(Ds),cr=Ss(Fs,Ls,js);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 n={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(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},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 si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[Us,zs])}(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 Os(t,[Ps,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 si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.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 ni(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?ws.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 Dn(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+=Bn(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)(Pn(e.values,t)||Pn(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]=is(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,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,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,n]of Object.entries(t))0!==n&&(e[i]=n);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={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=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,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=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 n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).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&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}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?ws.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=gn.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 nn(t,gn.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:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||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:Fn(),localeWeek:Ln()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["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]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}Object.defineProperty(Or,"name",{value:"default",configurable:!0});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 n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-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 Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Vr={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(ws.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(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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,Qn);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(n);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(s);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 Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return Dn(t.z)||(i=Li.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(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),Dn(t.u)||(t.S=qn(t.u)),[Object.keys(t).reduce((e,i)=>{const n=(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 n&&(e[n]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(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:n,zone:s,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 jr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(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=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Ur="Invalid DateTime",zr=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function Br(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function $r(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return Br(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+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=Gn(r);let[c,u]=Br(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.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 n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(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},no=["year","month","day","hour","minute","second","millisecond"],so=["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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.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);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=Bn(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(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||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=$r(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(Vn(t))return t<-zr||t>zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.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||s.weekday&&!d;let p,v,g=$r(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=zn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=zn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=zn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||En(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[Bs,Js],[$s,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=jr(t,e,i);return[n,s,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,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.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?Nn(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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $n(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(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;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){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"===n)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"===n){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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ur}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):Ur}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),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:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}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 n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ur}[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 n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);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 n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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 n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}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 si("min requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Lr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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&&Vn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=118]})(t,e)}function vo(){const t=["monthLong","93ZXTNzK","year","2653HtzIWz","2519hJYyEg","day","17694qLojXZ","695669sNcMDT","hasSame","10422JqAroz","toRelativeCalendar","minus","week","1006686iJRfye","fromJSDate","local","toJSDate","22028rCArMw","setLocale","startOf","59060gTbAKM","5191736HKioEU","weekdayLong","month","1065zHYxbP"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(123)](t)[i(127)](e),s=fo[i(124)](),r=s[i(120)]({days:1})[i(128)](i(139));let o,a;return n[i(142)](s,i(139))?(o=n[i(128)](i(139))[i(125)](),a=n[i(119)]()):n[i(142)](r,i(139))?(o=r[i(125)](),a=n[i(119)]()):n[i(142)](s,i(121))?(o=n[i(128)](i(121))[i(125)](),a=n[i(131)]||""):n[i(142)](s,i(136))?(o=n[i(128)](i(132))[i(125)](),a=n[i(134)]||""):(o=n[i(128)](i(136))[i(125)](),a=String(n[i(136)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(711495===parseInt(e(141))/1+parseInt(e(118))/2*(-parseInt(e(135))/3)+parseInt(e(126))/4*(parseInt(e(133))/5)+-parseInt(e(140))/6*(-parseInt(e(137))/7)+-parseInt(e(130))/8+-parseInt(e(122))/9+parseInt(e(129))/10*(-parseInt(e(138))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(4),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;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=201]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(279001===-parseInt(e(215))/1*(parseInt(e(219))/2)+-parseInt(e(211))/3+parseInt(e(204))/4+parseInt(e(202))/5+parseInt(e(225))/6*(parseInt(e(221))/7)+parseInt(e(213))/8+-parseInt(e(220))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends It.View{[bo(222)];[bo(230)];[bo(210)];[bo(214)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(227)][s(231)])[s(203)];this[s(222)]=e,this[s(230)]=this[s(228)](),this[s(210)]=i,this[s(214)]=n,this[s(230)][s(229)](s(206)).to(this),this[s(230)][s(229)](s(205)).to(this),this[s(207)]({tag:s(212),attributes:{class:["ck",s(224)]},children:[{tag:s(217),attributes:{class:["ck",s(208)]},children:[{text:r}]},{tag:s(212),attributes:{class:["ck",s(201)]},children:this[s(230)]}]})}[bo(216)](t){const e=bo,i=new Ke(this[e(227)],t,this[e(210)],this[e(214)]);this[e(230)][e(223)](i)}[bo(209)](t){const e=bo,i=this[e(230)][e(218)](e=>e.id===t.id);this[e(230)][e(226)](i)}}function Io(){const t=["6618411SYXRLS","28679ZfgBKz","startDate","add","ck-revision-history-sidebar__time-period","720aaPfDk","remove","locale","createCollection","delegate","revisionViews","uiLanguage","ck-revision-history-sidebar__time-period__revisions","2074720DChIOl","localizedPeriodName","925220WGtVSp","setName","select","setTemplate","ck-revision-history-sidebar__time-period__label","removeRevision","_revisionActions","1271994ksHkUT","div","2640616CHYFRH","_requireRevisionName","4NNMsFU","addRevision","span","find","14794STrYRq"];return(Io=function(){return t})()}var So=i(651),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(){const t=["Revision history","content","22192KfKtzD","480XfuLdc","12rBoUsD","2981100hlCBtC","ck-reset_all","ck-revision-history-sidebar__header__label","11968130ZffONL","9vAwXhP","setTemplate","9701304xIWoov","div","1868447wuYlvd","2385572tmikWU","789921cOJRVk","span","ck-revision-history-sidebar__header"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=430]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(661097===-parseInt(e(437))/1+parseInt(e(436))/2+parseInt(e(443))/3*(-parseInt(e(442))/4)+parseInt(e(445))/5+-parseInt(e(444))/6*(-parseInt(e(435))/7)+parseInt(e(433))/8+-parseInt(e(431))/9*(parseInt(e(430))/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(441)]=_t.IconHistory,this[e(432)]({tag:e(434),attributes:{class:["ck",e(446),e(439)]},children:[i,{tag:e(438),attributes:{class:["ck",e(447)]},children:[at(t,e(440))]}]})}}var Ao=i(812),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;const Mo=Eo;function Eo(t,e){const i=Do();return(Eo=function(t,e){return i[t-=205]})(t,e)}function Do(){const t=["locale","revisionSelected","14253zcrjRf","15IeQwdu","12120uTqnxq","timePeriodViews","ck-rounded-corners","div","select","delegate","2804857fsXmIe","566670yLpNgE","createCollection","selectRevision","createdAt","_revisionActions","highlight","revisionViews","unhighlight","_requireRevisionName","ck-revision-history-sidebar","get","revisionSetName","20dleZKp","remove","fire","1432753SfqLQf","394yrfoOw","_revisions","ck-disabled","544484OqqcGD","setName","uiLanguage","find","_addRevision","removeRevision","deselect","flat","map","ck-reset","bindTemplate","_getTimePeriodViewByStartDate","add","761731EbZzhR","addRevision","startDate","getTime","highlightRevisions","ck-revision-history-sidebar__timeline","2601GRnich","set","_removeRevision","render","isEnabled","setTemplate","some"];return(Do=function(){return t})()}!function(t){const e=Eo,i=t();for(;;)try{if(544484===-parseInt(e(254))/1+-parseInt(e(238))/2*(-parseInt(e(213))/3)+parseInt(e(241))/4*(parseInt(e(214))/5)+parseInt(e(222))/6+-parseInt(e(237))/7+parseInt(e(215))/8*(-parseInt(e(260))/9)+parseInt(e(234))/10*(parseInt(e(221))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends It.View{[Mo(216)];[Mo(239)];[Mo(226)];[Mo(230)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(251)];this[s(216)]=this[s(223)](),this[s(216)][s(220)](s(219)).to(this),this[s(216)][s(220)](s(242)).to(this),this[s(239)]=e,this[s(226)]=i,this[s(230)]=n,this.on(s(219),(t,e)=>{const i=s;this[i(236)](i(212),e)}),this.on(s(242),(t,e)=>{const i=s;this[i(236)](i(233),e)}),this[s(205)](s(208),!1),this[s(209)]({tag:s(218),attributes:{class:["ck",s(250),s(217),s(231)]},children:[new No(t),{tag:s(218),attributes:{class:["ck",s(259),r.if(s(208),s(240),t=>!t)]},children:this[s(216)]}]})}[Mo(207)](){const t=Mo;super[t(207)]();for(const e of this[t(239)])this[t(245)](e);this[t(239)].on(t(253),(e,i)=>{this[t(245)](i)}),this[t(239)].on(t(235),(e,i)=>{this[t(206)](i)})}get[Mo(228)](){const t=Mo;return this[t(216)][t(249)](e=>e[t(228)][t(249)](t=>t))[t(248)]()}[Mo(224)](t){const e=Mo;for(const i of this[e(228)])t&&t.id===i.id?i[e(219)]():i[e(247)]()}[Mo(258)](t){const e=Mo;for(const i of this[e(228)])t[e(210)](({id:t})=>t===i.id)?i[e(227)]():i[e(229)]()}[Mo(245)](t){const e=Mo,i=go(t[e(225)],this[e(211)][e(243)])[e(256)];let n=this[e(216)][e(232)](0);n&&n[e(256)][e(257)]()===i[e(257)]()||(n=new _o(this[e(211)],i,this[e(226)],this[e(230)]),this[e(216)][e(253)](n)),n[e(255)](t)}[Mo(206)](t){const e=Mo,i=go(t[e(225)],this[e(211)][e(243)])[e(256)];this[e(252)](i)[e(246)](t)}[Mo(252)](t){const e=Mo;return this[e(216)][e(244)](i=>i[e(256)][e(257)]()===t[e(257)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=179]})(t,e)}function Lo(){const t=["selectRevision","2hOuXWQ","803DnPaMa","isSelected","locale","bind","remove","_revisionsRepository","isOfficialPlugin","8wHAwFl","compareAgainstSelected","plugins","render","_revisions","requires","_sidebarView","highlightRevisions","restoreRevisionCallback","revisionSelected","getLaterVisibleRevision","4583169AGmQUd","getRevisionsInDiff","_handleRevisionSetName","focus","map","availableRevisionActions","destroy","1867686vnGtFx","ready","init","newRevisionId","change:diff","983612WaZLzs","compare","_revisionViewer","getRevision","isPremiumPlugin","action","string","isReady","timePeriodViews","length","fieldView","RevisionsSidebar","isEnabled","_createRevisionActions","40fjVOTT","diff","nameRevision","element","get","_handleDiffChange","restoreRevision","getEarlierVisibleRevision","362720YVKflg","isVisible","setName","revisionViews","revisionHistory","1284213ewOnVk","Name this revision","_handleEditorDataReady","revisionHistory.requireRevisionName","data","config","revisionSetName","Compare against selected","editor","assign","add","getIndex","1482775sbhlIM","_handleRevisionSelected","select","name","appendChild","revisionHistory.viewerSidebarContainer","defaultRevisionActions","revisionHistory.revisionActions","396535VflhEp","repository","pluginName","Restore this revision","listenTo"];return(Lo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(904978===parseInt(e(244))/1*(-parseInt(e(258))/2)+-parseInt(e(232))/3+-parseInt(e(219))/4*(parseInt(e(252))/5)+parseInt(e(200))/6+parseInt(e(205))/7+parseInt(e(182))/8*(parseInt(e(193))/9)+-parseInt(e(227))/10*(-parseInt(e(259))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Co(207)];[Co(180)];[Co(188)];static[Co(250)]=[Co(183),Co(225),Co(221)];static[Co(198)]=function(){const t=Co;return{compareAgainstSelected:{name:t(239),action:({plugins:e},i)=>{const n=t,s=e[n(223)](ce),r=s[n(253)];let o=s[n(220)][n(203)],a=i.id;r[n(243)](o)>r[n(243)](a)&&([o,a]=[a,o]),s[n(206)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(223)](ce);return!(s[n(253)][n(194)](s[n(220)])[n(214)]>2||i[n(260)])}},restoreRevision:{name:t(255),action:(e,{id:i})=>{const n=t;e[n(237)][n(223)](n(231))[n(190)](i)},isVisible:({plugins:e},i)=>!!e[t(223)](ce)[t(253)][t(192)](i.id)},nameRevision:{name:t(233),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(223)](ce),o=r[s(253)][s(226)](i);r[s(206)](i,o),n[s(196)](),n[s(215)][s(246)]()}}}}();static get[Co(254)](){return Co(216)}static get[Co(181)](){return!0}static get[Co(209)](){return!0}static get[Co(187)](){return[ce]}constructor(t){const e=Co;super(t),this[e(207)]=t[e(184)][e(223)](ce),this[e(180)]=this[e(207)][e(253)],this[e(188)]=null}[Co(202)](){const t=Co,e=this[t(180)][t(186)],i=this[t(218)](),n=this[t(240)][t(237)][t(223)](t(249));this[t(188)]=new Vo(this[t(240)][t(261)],e,i,this[t(240)][t(237)][t(223)](t(235))),this[t(188)].on(t(191),this[t(245)][t(262)](this)),this[t(188)].on(t(238),this[t(195)][t(262)](this)),this[t(188)][t(262)](t(217)).to(this[t(207)]),this[t(188)][t(213)].on(t(242),(e,i)=>{const n=t;i[n(230)].on(n(242),(t,e)=>{const i=n;e[i(262)](i(217),i(212)).to(this[i(207)])})}),this[t(188)][t(185)](),this[t(256)](this[t(240)][t(236)],t(201),this[t(234)][t(262)](this)),this[t(256)](this[t(207)],t(204),this[t(224)][t(262)](this)),n[t(248)](this[t(188)][t(222)])}[Co(199)](){const t=Co;this[t(188)][t(222)][t(179)](),this[t(188)][t(199)]()}[Co(234)](){const t=Co,e=this[t(180)][t(208)](0);if(e){const i=this[t(180)][t(226)](e.id);this[t(207)][t(206)](e,i)}}[Co(245)](t,e){const i=Co,n=this[i(180)][i(208)](e.id),s=this[i(180)][i(226)](n.id);this[i(207)][i(206)](n,s)}[Co(195)](t,e){const i=Co;this[i(180)][i(208)](e.id)[i(229)](e[i(247)])}[Co(224)](t,e,i){const n=Co,s=this[n(180)][n(194)](i);s[n(214)]>2?(this[n(188)][n(189)](s),this[n(188)][n(257)](null)):(this[n(188)][n(189)]([]),this[n(188)][n(257)](s[0]))}[Co(218)](){const t=Co,e=this[t(240)],i=jo[t(198)],n=e[t(237)][t(223)](t(251))||jo[t(250)];if(n[t(214)])return n[t(197)](n=>{const s=t,r=s(211)==typeof n?Object[s(241)]({},i[n]):n;return r[s(210)]=r[s(210)][s(262)](this,e),r[s(228)]&&(r[s(228)]=r[s(228)][s(262)](this,e)),r})}}const Po=Uo;function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=360]})(t,e)}function zo(){const t=["324300ZpqAJC","2041524sEFFcc","editing","name","_view","setEditableElement","273xQsqED","1696141oMlFjs","rootName","init","fillFromConfig","document","viewportOffset","ready","194936WTvyyf","render","view","editor","destroy","viewportTopOffset","componentFactory","fire","_toolbarConfig","3615564xNjEzR","limiterElement","stickyPanel","restore","bind","2004380Koiahe","_initToolbar","5LHVRhW","detachDomRoot","get","isActive","getRoot","30875670hBCcZs","editable","toolbar","replace","focusTracker","isFocused","_elementReplacer","config","addToolbar","attachDomRoot","element"];return(zo=function(){return t})()}!function(t){const e=Uo,i=t();for(;;)try{if(929761===-parseInt(e(392))/1+-parseInt(e(362))/2+-parseInt(e(385))/3+parseInt(e(367))/4+parseInt(e(369))/5*(-parseInt(e(386))/6)+parseInt(e(391))/7*(parseInt(e(399))/8)+parseInt(e(374))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Wo extends It.EditorUI{[Po(389)];[Po(361)];[Po(380)];get[Po(401)](){return this[Po(389)]}constructor(e,i){const n=Po;super(e),this[n(389)]=i,this[n(361)]=(0,It.normalizeToolbarConfig)(e[n(381)][n(371)](n(376))),this[n(380)]=new t.ElementReplacer}get[Po(384)](){const t=Po;return this[t(401)][t(384)]}[Po(394)](t){const e=Po,i=this[e(402)],n=this[e(401)],s=i[e(387)][e(401)],r=n[e(375)],o=s[e(396)][e(373)]();r[e(388)]=o[e(393)],n[e(400)]();const a=r[e(384)];this[e(390)](r[e(388)],a),n[e(375)][e(366)](e(379)).to(this[e(378)]),s[e(383)](a),this[e(380)][e(377)](t,this[e(384)]),this[e(368)](),this[e(360)](e(398))}[Po(403)](){const t=Po;super[t(403)]();const e=this[t(401)],i=this[t(402)][t(387)][t(401)];this[t(380)][t(365)](),i[t(370)](e[t(375)][t(388)]),e[t(403)]()}[Po(368)](){const t=Po,e=this[t(401)];e[t(364)][t(366)](t(372)).to(this[t(378)],t(379)),e[t(364)][t(363)]=e[t(384)],e[t(364)][t(366)](t(404)).to(this,t(397),({top:t})=>t),e[t(376)][t(395)](this[t(361)],this[t(405)]),this[t(382)](e[t(376)])}}var Zo=i(76),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 qo(t,e){var i=$o();return(qo=function(t,e){return i[t-=328]})(t,e)}var Bo=qo;function $o(){var t=["toolbar","3296695JuXyoy","1029142JTBSyc","editable","add","_editable","top","main","43023852cBIdAR","2lHLkvD","287493UpsnUQ","5478408wuILOr","content","9613456LdUEXE","stickyPanel","shouldToolbarGroupWhenFull","8921654vtLvRi","render","40OobBqX"];return($o=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(802649===parseInt(e(336))/1*(parseInt(e(343))/2)+parseInt(e(344))/3*(-parseInt(e(333))/4)+-parseInt(e(335))/5+-parseInt(e(345))/6+-parseInt(e(331))/7+-parseInt(e(328))/8+parseInt(e(342))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[Bo(339)];[Bo(329)];[Bo(334)];get[Bo(337)](){return this[Bo(339)]}constructor(t,e,i={}){var n=Bo;super(t),this[n(329)]=new It.StickyPanelView(t),this[n(334)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(330)]}),this[n(339)]=new It.InlineEditableUIView(t,e)}[Bo(332)](){var t=Bo;super[t(332)](),this[t(329)][t(346)][t(338)](this[t(334)]),this[t(340)][t(338)](this[t(329)]),this[t(341)][t(338)](this[t(337)])}}function Jo(){const t=["view","_ui","updateSourceElement","10190NWGbKU","destroy","92964dUfgKg","345apUmsl","editing","locale","sourceElement","5962448GWGEYK","15686UzWCSj","model","5211mCKiOg","config","initPlugins","ready","1470WAdJrH","108NafzVc","document","create","4554DCYrKi","initialData","101965qlMbeq","1454246MJgURT","get","18991uqNOdH","fire","init","createRoot","data"];return(Jo=function(){return t})()}function Go(t,e){const i=Jo();return(Go=function(t,e){return i[t-=491]})(t,e)}const Ko=Go;!function(t){const e=Go,i=t();for(;;)try{if(809836===-parseInt(e(506))/1+-parseInt(e(493))/2*(parseInt(e(519))/3)+-parseInt(e(500))/4*(parseInt(e(505))/5)+-parseInt(e(499))/6*(-parseInt(e(508))/7)+-parseInt(e(492))/8+parseInt(e(495))/9*(parseInt(e(516))/10)+-parseInt(e(503))/11*(-parseInt(e(518))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Ko(514)];get ui(){return this[Ko(514)]}constructor(t,e){const i=Ko;super(e),this[i(491)]=t,this[i(494)][i(501)][i(511)]();const n=new Yo(this[i(521)],this[i(520)][i(513)],{shouldToolbarGroupWhenFull:!0});this[i(514)]=new Wo(this,n)}[Ko(517)](){const t=Ko;return this[t(515)](),this.ui[t(517)](),super[t(517)]()}static async[Ko(502)](t,e){const i=Ko,n=new this(t,e);return await n[i(497)](),await n.ui[i(510)](t),await n[i(512)][i(510)](n[i(496)][i(507)](i(504))||""),n[i(509)](i(498)),n}}const Qo=ea;function ta(){const t=["result","334848gNTSxB","isReadOnly","_enhanceShowRevisionViewerCallback","selection","panelViews","getUser","save","AITranslate","update","Restored","enqueueChange","map","RestrictedEditingMode","revisionHistory.editorContainer","end","changesNavigation","bind","isAttached","AIChatHistory","AIActions","Autosave","push","style","1dfcfdI","repository","createdAt","426910aKtgkZ","keys","block","pluginName","revision-history-viewer-opened","302846AkGLyE","model","revisionHistory.viewerEditorElement","display","getRevisionDocumentData","refreshPositioning","addRoot","revisionHistory.showRevisionViewerCallback","AITabs","revisionHistory.closeRevisionViewerCallback","DocumentOutline","PaginationLookup","translations","refreshVisibility","36008NHcKZi","name","toolbar","isEnabled","document","getAttributeKeys","Users","toLocaleDateString"," ck-tab-panel_disabled","isOfficialPlugin","AIBalloon","AIChat","roots","join","AIQuickActions","2269539jdVoBR","data","view","RevisionHistoryUtils","commands","revisionHistory.viewerContainer","error","removeMarker","getRevision","rootName","removeAttribute","closeRevisionViewerCallback","Dialog","getRevisionRootsAttributes","insert","parse","plugins","RevisionHistoryUI","createRangeIn","remove","AIReviewMode","catch","RevisionTracker","RevisionHistory",".ck-ai-chat-history .ck-input","destroy","then",".ck-ai-chat__prompt-input .ck-textarea","from","toVersion","toJSON","users","class","isReady","RevisionViewer","DocumentOutlineUI","saveRevision","Annotations","detachRoot","removeSelectionAttribute","_showRevisionViewer","element","isAnonymous","enableReadOnlyMode","_enhanceCloseRevisionViewerCallback","none","_viewerEditor","toLocaleTimeString","includes","addUser","loadRevisionData","getRevisions","_restoreRevision","has","markers","ck-tab-panel_disabled","258VUROMz","550125vDhzkC","adapter","restoreRevision","RevisionsRepository","$graveyard","init","revisionHistory.restoreRevisionCallback","fromCharCode","numeric","setAttribute","setSelection","editor","exitToEditing","getRoot","creator","_recalculatePageBreaks","requires","locale","1166064awRLcx","change","isPremiumPlugin","config","revisionHistory.requireRevisionName","getMarkersGroup","restrictedEditingException","addRevisionData","revisionHistory","showRevisionViewerCallback","tabindex","hide","_getRevisionViewerEditorConfig","lazyRoots","indexOf","replace","_cleanUp","disableReadOnlyMode","RevisionViewerIntegration","_update","create","fromVersion","get","set","_closeRevisionViewer","querySelector","long","isRevisionViewerOpen","define","revision-history-missing-configuration","AIChatShortcuts","isOpen","uiLanguage"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(115229===parseInt(e(286))/1*(-parseInt(e(294))/2)+-parseInt(e(380))/3+-parseInt(e(263))/4+-parseInt(e(289))/5+parseInt(e(379))/6*(parseInt(e(308))/7)+parseInt(e(398))/8+parseInt(e(323))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Qo(340),Qo(275),Qo(319),Qo(343),Qo(318),Qo(322),Qo(282),Qo(428),Qo(270)];class na extends G.Plugin{[Qo(262)];static get[Qo(292)](){return Qo(416)}static get[Qo(317)](){return!0}static get[Qo(400)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(274)](t=>String[e(387)](t))[e(321)]("")}super(t),this[e(262)]=e(277),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 sa extends G.Plugin{[Qo(369)];static get[Qo(292)](){return Qo(346)}static get[Qo(317)](){return!0}static get[Qo(400)](){return!0}static get[Qo(396)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(391)][i(401)][i(420)](i(406)))throw new t.CKEditorError(i(427),this);this[i(369)]=null,this[i(421)](i(425),!1),this[i(391)][i(401)][i(426)](i(301),t=>this[i(363)]({...t,translations:this[i(391)][i(397)][i(306)]})),this[i(391)][i(401)][i(426)](i(303),t=>this[i(422)](t)),this[i(391)][i(401)][i(426)](i(386),t=>this[i(375)](t)),this[i(391)][i(401)][i(426)](i(402),!1),this[i(265)](),this[i(367)]()}set[Qo(381)](t){const e=Qo;this[e(391)][e(339)][e(420)](e(345))[e(381)]=t}get[Qo(381)](){const t=Qo;return this[t(391)][t(339)][t(420)](t(345))[t(381)]}[Qo(405)](t){const e=Qo;return this[e(391)][e(339)][e(420)](e(345))[e(405)](t)}[Qo(331)](t){const e=Qo;return this[e(391)][e(339)][e(420)](e(383))[e(331)](t)}[Qo(374)](t){const e=Qo;return this[e(391)][e(339)][e(420)](e(383))[e(374)](t||{toJSON:!1})}[Qo(410)](){const e=Qo,i=this[e(391)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(339)][e(420)](e(345)),r=i[e(339)][e(420)](e(314))[e(354)];return n[e(310)]=[e(392),e(382),e(278)],delete n[e(411)],n[e(339)][e(284)](na,ce,Ne,class extends G.Plugin{static get[e(396)](){return[ce,e(314)]}[e(385)](){const n=e,o=this[n(391)][n(339)][n(420)](n(314));for(const t of r)t[n(365)]||o[n(268)](t.id)||o[n(372)](t);const a=s[n(287)][n(374)]();let c=null;const u=this[n(391)][n(339)][n(420)](n(357));u[n(381)]=s[n(381)],u[n(279)](n(311)).to(s),this[n(391)][n(327)][n(420)](n(382))[n(279)](n(311)).to(i,n(264),t=>!t);for(const e of a){const i=null===e[n(394)];if(i&&e[n(352)]===e[n(419)])continue;const r=e[n(353)]();u[n(405)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(417)](r,o);else if(!o){const e=a[u(353)]();e.id=(0,t.uid)(),s[u(359)](e,a[u(352)])[u(349)](t=>{c=t})}}else e[u(417)](r,o)})}}},jo),n}[Qo(265)](){const t=Qo,e=this[t(391)][t(401)][t(420)](t(406))[t(407)];this[t(391)][t(401)][t(421)](t(301),async()=>{const i=t;this[i(391)][i(366)](i(293));const n=this[i(391)][i(339)][i(420)](i(345));if(this[i(391)][i(339)][i(376)](i(283))){const t=this[i(391)][i(339)][i(420)](i(283));await t[i(269)]()}else await n[i(271)]();if(this[i(391)][i(339)][i(376)](i(305))&&this[i(391)][i(339)][i(420)](i(305))[i(395)](),this[i(391)][i(339)][i(376)](i(335))){const t=this[i(391)][i(339)][i(420)](i(335));t[i(429)]&&t[i(409)]()}if(this[i(391)][i(339)][i(376)](i(302))){const t=this[i(391)][i(339)][i(420)](i(302))[i(325)][i(267)];for(const e of t)e[i(355)]=e[i(355)]?e[i(355)]+i(316):i(378);if(this[i(391)][i(339)][i(376)](i(319))){const t=document[i(423)](i(350));t&&t[i(389)](i(408),"-1")}if(this[i(391)][i(339)][i(376)](i(281))){const t=document[i(423)](i(347));t&&t[i(389)](i(408),"-1")}}const s=this[i(410)]();return e(s)[i(349)](t=>{const e=i;return this[e(369)]=t,this[e(391)][e(339)][e(376)](e(360))&&this[e(391)][e(339)][e(420)](e(360))[e(307)](),this[e(391)][e(339)][e(376)](e(304))&&(this[e(391)][e(339)][e(420)](e(358))[e(325)][e(364)][e(285)][e(297)]=e(368)),t})[i(344)](t=>(console[i(329)](t),this[i(391)][i(415)](i(293)),null))})}[Qo(367)](){const t=Qo,e=this[t(391)][t(401)][t(420)](t(406))[t(334)];this[t(391)][t(401)][t(421)](t(303),()=>{const i=t;if(this[i(391)][i(339)][i(376)](i(305))&&this[i(391)][i(339)][i(420)](i(305))[i(395)](),this[i(391)][i(339)][i(376)](i(304))&&(this[i(391)][i(339)][i(420)](i(358))[i(325)][i(364)][i(285)][i(297)]=""),this[i(391)][i(339)][i(376)](i(302))){const t=this[i(391)][i(339)][i(420)](i(302))[i(325)][i(267)];for(const e of t)e[i(355)]=i(378)===e[i(355)]?"":e[i(355)][i(413)](i(316),"");if(this[i(391)][i(339)][i(376)](i(319))){const t=document[i(423)](i(350));t&&t[i(333)](i(408))}if(this[i(391)][i(339)][i(376)](i(281))){const t=document[i(423)](i(347));t&&t[i(333)](i(408))}}return this[i(369)][i(339)][i(420)](i(357))[i(414)](),e(this[i(369)])[i(349)](()=>{const t=i;if(this[t(391)][t(415)](t(293)),this[t(369)]=null,this[t(391)][t(339)][t(376)](t(360))){const e=this[t(391)][t(339)][t(420)](t(360));e[t(307)](),e[t(299)]()}})})}[Qo(363)](t){const e=Qo,i=this[e(391)][e(401)][e(420)](e(276)),n=this[e(391)][e(401)][e(420)](e(328)),s=this[e(391)][e(401)][e(420)](e(296));return Xo[e(418)](s,t)[e(349)](t=>(n[e(285)][e(297)]=e(291),i[e(285)][e(297)]=e(368),this[e(425)]=!0,t))}[Qo(422)](t){const e=Qo,i=this[e(391)][e(401)][e(420)](e(276));return this[e(391)][e(401)][e(420)](e(328))[e(285)][e(297)]=e(368),i[e(285)][e(297)]="",this[e(425)]=!1,t[e(348)]()}async[Qo(375)](t){const e=Qo,i=this[e(391)],n=this[e(369)][e(339)][e(420)](e(357)),s=i[e(339)][e(420)](e(345)),r=i[e(339)][e(420)](e(326)),o=n[e(287)][e(331)](t);let a,c,u;try{await r[e(373)](o,this[e(381)]),a=r[e(298)](o),c=r[e(336)](o)}catch(t){return void console[e(329)](t)}i[e(295)][e(399)](t=>{const n=e;for(const e of Array[n(351)](i[n(295)][n(377)][n(403)](n(404))))t[n(330)](e)}),n[e(356)]=!1,i[e(295)][e(273)](t=>{const n=e;t[n(390)](null),t[n(362)](i[n(295)][n(312)][n(266)][n(313)]());const s=Object[n(290)](a);for(const e of i[n(295)][n(312)][n(320)])n(384)!=e[n(332)]&&e[n(280)]()&&!s[n(371)](e[n(332)])&&t[n(361)](e);for(const e of s){let s=i[n(295)][n(312)][n(393)](e);s&&s[n(280)]()||(s=t[n(300)](e));const r=c[e],o=Object[n(290)](r),u=a[e];for(const e of s[n(313)]())o[n(371)](e)||t[n(333)](e,s);for(const i of o)t[n(389)](i,c[e][i],s);t[n(342)](t[n(341)](s)),t[n(337)](i[n(324)][n(338)](u,s),s,0)}});const l=at(i[e(397)],e(272));return u=o[e(309)]?-1==o[e(309)][e(412)](l)?l+": "+o[e(309)]:o[e(309)]:l+": "+o[e(288)][e(315)](i[e(397)][e(430)],{month:e(424),day:e(388)})+", "+o[e(288)][e(370)](i[e(397)][e(430)],{hour:e(388),minute:e(388)}),await s[e(359)]({name:u}),n[e(356)]=!0,i[e(401)][e(420)](e(406))[e(334)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=255]})(t,e)}function oa(){var t=["21227994MzhcMA","65765GYOUuS","33wSIobc","447092HsryzW","147xuUIqk","415542YpFytR","3092516mroUfF","7401445RufaWj","10352408hyKUOB"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(837083===-parseInt(e(256))/1+-parseInt(e(261))/2+-parseInt(e(257))/3*(parseInt(e(258))/4)+parseInt(e(262))/5+parseInt(e(260))/6*(-parseInt(e(259))/7)+parseInt(e(263))/8+parseInt(e(255))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={76(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},450(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},522(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},898(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},433(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},443(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},223(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},416(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},812(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},651(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},4(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},434(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},418(t,e,i){"use strict";i.d(e,{A:()=>a});var n=i(366),s=i.n(n),r=i(271),o=i.n(r)()(s());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},271(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},366(t){"use strict";t.exports=function(t){return t[1]}},789(t){"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},298(t){"use strict";var e={};t.exports=function(t,i){var n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},437(t){"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211(t,e,i){t.exports=i(312)("./src/collaboration-core.js")},782(t,e,i){t.exports=i(237)("./src/core.js")},783(t,e,i){t.exports=i(237)("./src/engine.js")},355(t,e,i){t.exports=i(237)("./src/icons.js")},311(t,e,i){t.exports=i(237)("./src/ui.js")},584(t,e,i){t.exports=i(237)("./src/utils.js")},312(t){"use strict";t.exports=CKEditor5.collaborationDll},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>le,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>et,RevisionsSidebar:()=>Fo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(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,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,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,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,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 n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(P.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function H(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function W(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?W(e)?Z(t,U(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=170]})(t,e)}function Y(){const t=["97416KMDEqy","diffData","fire","toJSON","fromVersion","map","model","441hWuqFr","authors","830754FpHEeu","createdAt","8197497iUqMbC","creator","creatorId","1092558TTNHzL","25PqfsQM","_update","removeAttribute","369876HSuSRa","toVersion","attributes","authorsIds","set","setName","setAttribute","3XbSXlO","2686396xFUKnk","5341740nEbNst","name"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(586611===parseInt(e(191))/1+-parseInt(e(182))/2*(-parseInt(e(198))/3)+parseInt(e(170))/4+parseInt(e(188))/5*(-parseInt(e(187))/6)+parseInt(e(184))/7+parseInt(e(173))/8*(-parseInt(e(180))/9)+-parseInt(e(171))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(185)];[$(181)];[$(174)];[$(192)];[$(177)];[$(179)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(185)]=e[i(185)]||null,this[i(181)]=e[i(181)]||[],this[i(174)]=e[i(174)]||null,this[i(192)]=e[i(192)]||0,this[i(177)]=e[i(177)]||0,this[i(195)](i(172),e[i(172)]||""),this[i(195)](i(183),e[i(183)]||new Date),this[i(195)](i(193),e[i(193)]||{})}[$(196)](t){this[$(189)]({name:t})}[$(197)](t,e){const i=$,n=R(this[i(193)]);H(n,t,e),this[i(189)]({attributes:n})}[$(190)](t){const e=$,i=R(this[e(193)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&W(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(189)]({attributes:i})}[$(189)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(172),i(183),i(174),i(181),i(193),i(192),i(177),i(186)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(181)]&&(s[i(194)]=s[i(181)][i(178)](t=>t.id),delete s[i(181)]),this[i(175)](i(189),s,e))}[$(176)](){const t=$;return{id:this.id,name:this[t(172)],creatorId:this[t(185)]?this[t(185)].id:null,authorsIds:this[t(181)][t(178)](t=>t.id),diffData:this[t(174)],createdAt:this[t(183)],attributes:this[t(193)],fromVersion:this[t(177)],toVersion:this[t(192)]}}}var G=i(782),K=i(211),Q=i(783);const X=tt;function tt(t,e){const i=it();return(tt=function(t,e){return i[t-=375]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(378621===parseInt(e(390))/1*(parseInt(e(405))/2)+parseInt(e(413))/3*(parseInt(e(417))/4)+parseInt(e(395))/5*(parseInt(e(400))/6)+-parseInt(e(378))/7+parseInt(e(401))/8*(-parseInt(e(380))/9)+parseInt(e(425))/10*(-parseInt(e(427))/11)+parseInt(e(409))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class et extends G.Plugin{[X(396)];static get[X(404)](){return[K.Users]}static get[X(377)](){return X(394)}static get[X(402)](){return!0}static get[X(420)](){return!0}get[X(423)](){const t=X;return this[t(396)][t(423)]}constructor(e){const i=X;super(e),this[i(396)]=new t.Collection}[X(403)](){!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]),n=964649,s=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 n=0;n<t[y([108,101,110,103,116,104])];n+=2){let s=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[y([108,101,110,103,116,104])]&&(s-=i[y([108,101,110,103,116,104])]),e+=i[s]}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 n=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)}):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(398)](t=>String[e(391)](t))[e(381)]("")}!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()]=n),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])]),n=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),n[y([105,115,69,110,97,98,108,101,100])]=!1,n[y([99,111,109,112,97,114,101])]=g,void(n[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),n={...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 n[y([118,99])],d(n)==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(n())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(s-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 n=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])](s/n)));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)*n: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 n(){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 n=c[y([115,112,108,105,116])](y([46])),[s,r,o]=n;return e(s),await i(s,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,n){const s=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(n),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,s,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])])?s/1e3:1779062400;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:n}=new URL(window[y([108,111,99,97,116,105,111,110])][t(422)]);if(e[y([105,110,99,108,117,100,101,115])](n))return!0;const s=n[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])]<=s[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(s[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=>s[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,n=e[y([95,114,101,118,105,115,105,111,110,115])];function s(){n[y([108,101,110,103,116,104])]>=i&&t()}s(),n[y([111,110])](y([97,100,100]),s)})),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(411)](window[y([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[X(424)](t){const e=X,i=this[e(429)][e(431)][e(426)](e(419));return new J({id:t.id,name:t[e(383)],creator:t[e(393)]?i[e(412)](t[e(393)]):null,diffData:t[e(410)]||t[e(416)],authors:t[e(392)][e(398)](t=>i[e(412)](t)),createdAt:new Date(t[e(388)]),attributes:t[e(397)],fromVersion:t[e(430)],toVersion:t[e(387)]})}[X(375)](t,e=0){const i=X;this[i(396)][i(385)](t,e)}[X(415)](t){const e=X;return this[e(396)][e(426)](t)}[X(414)](t={toJSON:!1}){const e=X,i=Array[e(379)](this[e(396)]);return i[e(418)](),t[e(428)]?i[e(398)](t=>t[e(428)]()):i}[X(384)](t){const e=X;return this[e(396)][e(384)](t)}[X(399)](t){const e=X,[,i]=this[e(386)](t,{direction:e(376)});return i}[X(408)](t){const e=X,[,i]=this[e(386)](t,{direction:e(406)});return i}[X(389)](t){const e=X,i=[];for(const n of this[e(386)](t[e(382)]))if(i[e(421)](n),n.id===t[e(407)])break;return i}*[X(386)](t,{direction:e=X(376),filter:i=()=>!0}={}){const n=X,s=n(376)===e?1:-1;let r=this[n(396)][n(426)](t),o=this[n(384)](r);for(yield r;r;){if(o+=s,r=this[n(415)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["185zqmwER","_revisions","attributes","map","getEarlierVisibleRevision","52950uNPUDb","11432hraooc","isOfficialPlugin","afterInit","requires","133344zkvpzw","later","oldRevisionId","getLaterVisibleRevision","13858128VFGEaC","diffData","isNaN","getUser","18903NpEPVe","getRevisions","getRevision","data","24XNJkio","reverse","Users","isPremiumPlugin","push","href","length","createRevision","1499710BciYpp","get","33FtPwZj","toJSON","editor","fromVersion","plugins","addRevision","earlier","pluginName","4917640kKCMzc","from","765pNWSxf","join","newRevisionId","name","getIndex","add","getRevisionsIterator","toVersion","createdAt","getRevisionsInDiff","2bJcxNp","fromCharCode","authorsIds","creatorId","RevisionsRepository"];return(it=function(){return t})()}const nt=st;function st(t,e){const i=ot();return(st=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(103391===parseInt(e(314))/1+parseInt(e(347))/2*(parseInt(e(360))/3)+-parseInt(e(330))/4*(parseInt(e(299))/5)+parseInt(e(309))/6*(-parseInt(e(307))/7)+-parseInt(e(341))/8*(-parseInt(e(315))/9)+parseInt(e(321))/10*(-parseInt(e(327))/11)+parseInt(e(334))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[nt(296)](){return nt(351)}static get[nt(295)](){return!0}static get[nt(326)](){return!0}[nt(361)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(316)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(332)](t,e){const i=nt;if(t[i(313)]||!e)return;const n=this[i(342)][i(335)][i(348)](i(292)),s=await e[i(349)]({channelId:n,revisionId:t.id});t[i(313)]=s[i(313)]}[nt(312)](t){const e=nt,i={};for(const n in t[e(313)]){if(t[e(313)][n][e(290)]&&!t[e(313)][n][e(290)][e(352)])continue;const s=this[e(355)](JSON[e(337)](t[e(313)][n][e(356)])),r=this[e(342)][e(318)][e(300)][e(306)],o=new Q.ViewDocumentFragment(r,s[e(291)](t=>this[e(317)](t,!1)));this[e(342)][e(304)][e(301)][e(324)](e(358)),i[n]=this[e(342)][e(304)][e(301)][e(297)](o),this[e(342)][e(304)][e(301)][e(324)](e(293))}return i}[nt(350)](t){const e=nt,i={};for(const n in t[e(313)])t[e(313)][n][e(290)]&&!t[e(313)][n][e(290)][e(352)]||(i[n]=t[e(313)][n][e(363)]||{});return i}[nt(323)](t){const e=nt;return this[e(361)][e(348)](t[e(333)])}[nt(317)](t,e){const i=nt,n=this[i(342)][i(318)][i(300)][i(306)];if(i(353)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(364)]||"r"==t[i(364)]?[]:t[i(289)][i(291)](t=>this[i(317)](t,e));const o=this[i(316)][i(348)](t[i(364)])||Q.ViewElement,a=this[i(342)][i(304)][i(340)][i(305)];if(s=new o(n,t[i(310)],t[i(344)],r),"u"==t[i(364)]&&t[i(289)][0]){const r=t[i(289)][0];if(s[i(345)]=function(t){const e=i,n=t[e(325)](e(328));return n[e(343)]=r,n[e(302)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(308)](s);const e=Array[i(298)](a[i(336)](t,{bind:!1})),r=a[i(311)][i(325)](i(328));r[i(331)](...e),s=Array[i(298)](a[i(357)](r))[0]}}else if("r"==t[i(364)]&&t[i(289)][0]){const r=t[i(289)][0];if(s[i(345)]=function(t){t[i(343)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(308)](s);const e=Array[i(298)](a[i(336)](t,{bind:!1})),r=a[i(311)][i(325)](i(328));r[i(331)](...e);const o=Array[i(298)](a[i(357)](r));o[i(359)]>1?s[i(308)](o):s=o[0]}}if(t[i(329)])for(const[e,n]of t[i(329)])s[i(354)](e,n);const c=void 0===t[i(288)]?null:t[i(288)];return null!==c&&(s[i(319)]=()=>c),s}}[nt(346)](t){const e=nt,i=JSON[e(337)](t),n=this[e(342)][e(318)][e(300)][e(306)],s=new Q.ViewDocumentFragment(n,i[e(291)](t=>this[e(317)](t,!0)));return this[e(342)][e(304)][e(320)](s)}[nt(355)](t){const e=nt;return(t=t[e(338)](t=>!t[e(310)]||e(362)!==t[e(310)]&&e(339)!==t[e(310)]))[e(294)](t=>{const i=e;i(353)!=typeof t&&(t[i(289)]=this[i(355)](t[i(289)]),t[i(344)]=t[i(344)][i(338)](t=>!t[0][i(322)](i(303))))}),t}}function ot(){const t=["insertions","domChildrenToView","marked","length","36RKOelK","_viewClassToTypeChar","revision-start","attributesAfter","type","fillerOffset","children","attachChange","map","collaboration.channelId","default","forEach","isOfficialPlugin","pluginName","toData","from","793340SgzBRs","view","processor","childNodes","data-revision-","data","domConverter","document","481397nmzaUp","_appendChild","6ZUcZsr","name","domDocument","getRevisionDocumentData","diffData","87403RSIPIQ","36RvUNEM","_typeCharToViewClass","_getViewFromDiffObj","editing","getFillerOffset","toModel","30vKvKXT","startsWith","_getTypeCharForViewElement","useFillerType","createElement","isPremiumPlugin","422147kZUScz","div","customProperties","4KAwxAX","append","loadRevisionData","constructor","1381752dbEckk","config","viewChildrenToDom","parse","filter","revision-end","htmlProcessor","334160kccUve","editor","innerHTML","attributes","render","_makeModelFromViewString","12722oqznGO","get","getRevision","getRevisionRootsAttributes","RevisionHistoryUtils","isAttached","string","_setCustomProperty","_removeRevisionMarkers"];return(ot=function(){return t})()}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("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,n,s,r,o){const a=o(t,e,i,n,s,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,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(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=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.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,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.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=pt;function mt(){const t=["getCurrentRevisionId","outerHTML","includes","_fixOperation","getNodeByPath","targetPosition","init","isPremiumPlugin","_calculateMetaData","removeRootAttribute","_diffRootsAttributes","_setConversion","1864gMtReO","insert","_insertChild","_idsRoots","revisionHistoryLicenseKeyDomainLimit","_source","merge","shift","authorsIds","editor-initial-data-replaced-with-revision-data","_handleRootOperation","903CFgTQi","licenseKey","5076aslNiQ","getRange","key","name","locale","deletions","splitPosition","model","childCount","adapter","createRangeIn","bind","uiElement","vid","_getVidAttributeName","_handleMoveOperation","_createFromRanges","getRoot","children","trim","fromEntries","getOperations","keepParagraph","some","_baseIdsRoots","sourcePosition","PENDING_ACTION_REVISION_HISTORY","insertion","_authorId","revisionHistoryLicenseKeyValid","fillerOffset","vid_end","evaluationLimit","createRevision","roots","end","position","revisionHistoryLicenseKeyUsageLimit","set","_isInit","_createCurrentRevision","reverse","expired","innerHTML","_startingVersion","$comment","_getPreviousFrom","destroy","_lastTo","_fixRange","_update","slice","PendingActions","insertions","_execute","isAdd","getAncestors","_lastFrom","Initial revision","$graveyard","nodes","_makeRevision","domDocument","deletion","createRange","sort","_getFromVersion","toVersion","getRevisions","vid_start","history","dataDowncast","newValue","move","_getState","_showLicenseError","_baseRoots","getRevisionRootsAttributes","_markChanges","nodeAfter","values","_addPendingAction","_findInsertionIndex","afterInit","_continueCurrentRevision","then","domConverter","_touchedMarkers","markerToData","documentFragment","source","getData","invalid","getRevisionDocumentData","pluginName","authors","addRevisionData","19577BCJGHA","define","elementEnd","finally","createPositionBefore","upcast","path","item","rootsAttributes","config","_applyOperations","_revisionId","for","_fixPosition","825FporRd","_appendChild","render","oldRange","revisionHistoryLicenseKeyNotAllowed","document","userId","creatorId","isEnabled","loadState","_handleSplitOperation","changeRootAttribute","isEqual","Empty document","has","48dPIpPJ","previousPosition","getCustomProperties","addRootAttribute","_savedMetaData","setSource","RevisionHistory","RevisionTracker","_loadState","isOfficialPlugin","_copyMarkers","createPositionAt","getLatestVersion","revisionHistoryLicenseKeyExpired","_clone","fromVersion","detachRoot","getWalker","_baseRootsAttributes","filter","revision:","getRootNames","attributesAfter","stringify","3264bdEaPh","plugins","$text","_getTypeCharForViewElement","htmlProcessor","_removePendingAction","customProperties","data","65848MGnkia","repository","_setAttribute","sendBufferedUpdates","resolve","_generateTape","_createInitialRevision","attributesBefore","_makeModelFromViewString","rootName","_diffRoots","offsetSize","attachChange","featureNotAllowed","createElement","start","_markers","markers","110115PALSeb","howMany","buildRevisionData","RevisionHistoryUtils","getAttributes","saveRevision","insertionPosition","_operations","usageLimit","getAttribute","_bufferedUpdates","initial","_removeMetaData","_isAttached","_loadedStateData","add","getIndex","_cloneOperation","isAttached","graveyardPosition","_reset","addRevision","_processRootBeforeSave","tableCell","delete","getRevision","_isPendingUpdate","currentRevision","_handleMergeOperation","getFillerOffset","createPositionFromPath","reinsert","_startingRevisionId","clear","max","hasContent","_makeIdsRoot","get","initialData","getMovedRangeStart","clone","size","isReady","text","Users","push","revision","loadRevisionData","updateRevisions","range","_getViewJson","revisionHistoryLicenseKeyInvalid","_bufferUpdate","_utils","offset","6863259QCyhNQ","_getBaseVids","element","find","paragraph","rawElement","dataToMarker","elementStart","_licenseKeyCheckInterval","type","reInit","createdAt","_handleInsertOperation","creator","addRoot","RevisionsRepository","_handleMarkerOperation","_touchedRoots","requires","version","_replaceEditorDataWithRevisionData","update","baseVersion","_pendingAction","map","290gOHVJH","_transformMarkers","_initialRevisionId","collaboration.channelId","setRevisionData","getUser","_handleOperation","conversion","keys","getTransformedByOperation","length","remove","RealTimeCollaborationClient","from","domainLimit","newRange","_revisionDataBuilder","string","NEGATIVE_INFINITY","getChildren","startsWith","getOperation","revisionHistory.resumeUnsavedRevision","split","_saveMetaData","diffData","stickiness","affectsData","62VQhOQN","createPositionAfter","editor","getChild","root","_handleRootAttributeOperation","getTime","_prepareViewToSave","revisionHistoryLicenseKeyEvaluationLimit","parent","703670hvYlxm","_touched","toView","marker","ready"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=400]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(539384===parseInt(e(610))/1*(parseInt(e(473))/2)+-parseInt(e(663))/3*(-parseInt(e(500))/4)+parseInt(e(624))/5*(-parseInt(e(513))/6)+parseInt(e(511))/7*(-parseInt(e(671))/8)+parseInt(e(689))/9*(parseInt(e(445))/10)+parseInt(e(483))/11*(-parseInt(e(639))/12)+parseInt(e(420))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends G.Plugin{[ft(512)];[ft(428)];[ft(716)]=null;[ft(672)];[ft(522)]=null;[ft(461)];[ft(505)];[ft(447)];[ft(699)];[ft(418)];[ft(443)];[ft(597)];[ft(557)];[ft(703)];static get[ft(607)](){return ft(646)}static get[ft(648)](){return!0}static get[ft(495)](){return!0}static get[ft(438)](){return[K.Users,et,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(672)]=this[i(475)][i(664)][i(402)](i(435)),this[i(418)]=this[i(475)][i(664)][i(402)](i(692)),this[i(461)]=new gt(this[i(475)]),this[i(447)]=this[i(475)][i(619)][i(402)](i(448))||i(700),this[i(699)]=new Map,this[i(703)]=null;const n=(0,t.uid)();this[i(505)]={history:this[i(475)][i(520)][i(629)][i(583)],getLatestVersion:()=>Promise[i(675)](this[i(475)][i(520)][i(629)][i(439)]),getCurrentRevisionId:()=>n},this[i(551)](i(407),!1),this[i(551)](i(632),!0),this[i(551)](i(715),!1),this[i(475)][i(619)][i(611)](i(467),!0),this[i(475)][i(452)][i(622)](i(615))[i(426)]({view:i(411)})}[ft(494)](){const t=ft;this[t(499)](),this[t(475)][t(670)].on(t(487),()=>{const e=t,i=this[e(672)][e(714)](0),n=i&&null===i[e(433)]?i:null;if(this[e(597)]=!!n&&this[e(475)][e(619)][e(402)](e(467)),this[e(475)][e(664)][e(638)](e(457))){const t=this[e(505)][e(488)](),s=this[e(672)][e(714)](t);if(s)this[e(557)]=s[e(654)],this[e(597)]=!1;else{const t=this[e(505)][e(583)][e(696)][e(423)](t=>!t[e(552)]),s=t?t[e(442)]:this[e(505)][e(583)][e(439)];i?(i[e(580)]<s&&i[e(563)]({toVersion:s}),this[e(597)]?(this[e(505)][e(488)]=()=>n.id,this[e(557)]=n[e(654)]):(this[e(557)]=i[e(580)],this[e(597)]=!1)):(this[e(557)]=s,this[e(597)]=!1)}}else n&&(this[e(475)][e(520)][e(629)][e(583)][e(439)]=Math[e(723)](n[e(580)],this[e(475)][e(520)][e(629)][e(583)][e(439)]),n[e(654)]===n[e(580)]?(0!==n[e(654)]&&(this[e(505)][e(488)]=()=>n.id),this[e(597)]=!1):this[e(597)]&&(this[e(505)][e(488)]=()=>n.id,this[e(557)]=n[e(654)])),this[e(597)]||(this[e(557)]=this[e(475)][e(520)][e(629)][e(439)]);this[e(461)][e(494)](this[e(505)][e(583)]),this[e(677)](this[e(557)]),this[e(553)](this[e(557)]),this[e(522)]&&this[e(674)]()}),this[t(524)](t(407)).to(this,t(715),t=>!t),this[t(512)]=this[t(475)][t(619)][t(402)](t(512));const e=this[t(475)];this[t(428)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(542)==r||i(416)==r||i(652)==r||i(504)==r||i(628)==r||i(481)==r||i(550)==r){delete e[s],n=r,clearInterval(this[i(428)]),this[i(428)]=void 0;break}}i(416)==n&&e[i(588)](i(605)),i(652)==n&&e[i(588)](i(555)),i(504)==n&&e[i(588)](i(459)),i(628)==n&&e[i(588)](i(684),i(645)),i(481)==n&&e[i(588)](i(545)),i(550)==n&&e[i(588)](i(697))},1e3)}async[ft(596)](){const t=ft;if(this[t(672)][t(455)]>0){const e=this[t(672)][t(714)](0),i=await this[t(606)](e),n=await this[t(590)](e);this[t(440)](i,n)}}[ft(560)](){const t=ft;super[t(560)](),this[t(428)]&&clearInterval(this[t(428)])}[ft(644)](t){this[ft(505)]=t}async[ft(441)](){const t=ft,e=await this[t(505)][t(651)]();if(e>this[t(716)][t(580)]){await this[t(647)]();const i=this[t(691)]({revision:this[t(716)],to:e});i[t(608)]=i[t(508)][t(444)](e=>this[t(475)][t(664)][t(402)](t(409))[t(450)](e)),this[t(716)][t(563)](i)}}async[ft(694)](e={},i=null){const n=ft,s=[];await this[n(647)](),this[n(597)]=!1,i>this[n(716)][n(580)]&&(i=null),null===i&&(i=await this[n(505)][n(651)]());const r=this[n(579)](i),o=this[n(691)]({from:r,to:i});if(this[n(716)][n(580)]<i){const t=this[n(691)]({revision:this[n(716)],from:i,to:i});t[n(608)]=[],t[n(508)]=[],t.id=this[n(716)].id,this[n(716)][n(563)](t,!0),delete t[n(608)],s[n(410)](t)}e[n(631)]=this[n(475)][n(664)][n(402)](n(409)).me.id,e[n(516)]=e[n(516)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(609)](e);s[n(410)](e);const c=this[n(672)][n(705)](a);if(0!==c){const t=this[n(672)][n(714)](c-1);if(t[n(654)]!==i){const r=this[n(461)][n(604)](i,t[n(580)]),o={id:t.id,diffData:r[n(470)],authorsIds:r[n(508)],authors:r[n(508)][n(444)](t=>this[n(475)][n(664)][n(402)](n(409))[n(450)](t)),fromVersion:i};t===this[n(716)]&&(o[n(431)]=new Date(e[n(431)][n(479)]()+10)),t[n(563)](o,!0),delete o[n(608)],s[n(410)](o)}}if(this[n(522)]){for(const t of s)this[n(417)](t.id,t,!0);this[n(674)]()}return a}[ft(609)](t){const e=ft,i=this[e(672)][e(546)](t);return this[e(522)]&&i.on(e(563),(t,i,n)=>{const s=e;n||(this[s(417)](i.id,i,!0),this[s(674)]())}),this[e(672)][e(710)](i,this[e(595)](i)),i}async[ft(606)](t){const e=ft;return await this[e(418)][e(412)](t,this[e(522)]),this[e(418)][e(606)](t)}async[ft(590)](t){const e=ft;return await this[e(418)][e(412)](t,this[e(522)]),this[e(418)][e(590)](t)}[ft(674)](){const t=ft;if(0===this[t(699)][t(406)])return;if(this[t(715)])return;let e=Array[t(458)](this[t(699)][t(593)]());this[t(699)][t(722)]();for(let i=0;i<e[t(455)];i++){const n=e[i];let s=!1;for(const e of Object[t(453)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(658)](t=>null!==t),!e[t(455)])return;for(let i=0;i<e[t(455)];i++){const n=e[i];void 0!==n[t(654)]&&void 0===n[t(580)]&&(n[t(580)]=this[t(672)][t(714)](n.id)[t(580)]),void 0!==n[t(580)]&&void 0===n[t(654)]&&(n[t(654)]=this[t(672)][t(714)](n.id)[t(654)])}const i=this[t(475)][t(619)][t(402)](t(448));this[t(715)]=!0,this[t(594)](),this[t(522)][t(413)](e,i)[t(613)](()=>{this[t(715)]=!1})[t(598)](e=>{const i=t;if(e)for(const t of e)this[i(449)]({id:t.id,createdAt:t[i(431)]});this[i(668)](),this[i(674)]()})}[ft(691)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(654)],i=null!==i?i:t[n(580)];const s=this[n(461)][n(604)](e,i),r={diffData:s[n(470)],authorsIds:s[n(508)],fromVersion:e,toVersion:i};if(!t||i!==t[n(580)]){const t=i-1,e=this[n(505)][n(583)][n(466)](t);r[n(431)]=e&&e[n(431)]||new Date}if(this[n(703)]&&e===this[n(703)][n(654)])for(const t of this[n(703)][n(608)])r[n(508)][n(490)](t.id)||r[n(508)][n(410)](t.id);return r}[ft(417)](t,e,i){const n=ft;if(this[n(699)][n(638)](t)){const s=this[n(699)][n(402)](t);e=i?{...s,...e}:{...e,...s}}this[n(699)][n(551)](t,e)}[ft(449)](t){const e=ft,i=this[e(672)][e(714)](t.id);if(t[e(431)]&&(t[e(431)]=new Date(t[e(431)])),t[e(508)]){const i=this[e(475)][e(664)][e(402)](e(409));t[e(608)]=t[e(508)][e(444)](t=>i[e(450)](t))}i[e(563)](t,!0)}[ft(677)](t){const e=ft,i=this[e(672)][e(714)](this[e(672)][e(455)]-1);if(i)this[e(447)]=i.id;else{const i=!this[e(475)][e(520)][e(629)][e(547)][e(423)](t=>this[e(475)][e(520)][e(400)](t)),n=this[e(475)][e(664)][e(402)](e(409)).me.id,s=at(this[e(475)][e(517)],e(i?637:571));this[e(574)]({from:t,to:t,id:this[e(447)],name:s,creatorId:n})}}[ft(553)](t){const e=ft,i=this[e(505)][e(488)]();this[e(716)]=this[e(672)][e(714)](i),this[e(716)]||(this[e(716)]=this[e(574)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(647)](){const t=ft;this[t(597)]&&!this[t(703)]&&(await this[t(418)][t(412)](this[t(716)],this[t(522)]),this[t(461)][t(633)](this[t(716)]),this[t(703)]={fromVersion:this[t(716)][t(654)],authors:this[t(716)][t(608)][t(564)]()})}[ft(440)](e,i){const n=ft;let s=this[n(475)][n(619)][n(402)](n(403)),r=this[n(475)][n(619)][n(402)](n(618));if(void 0===s){s={};for(const t of this[n(475)][n(520)][n(629)][n(660)]())s[t]=""}if(n(462)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(475)][n(520)][n(629)][n(660)]())r[t]={}}let o=!1;const a=Object[n(453)](s),c=Object[n(453)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(532)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(453)](r[t])[n(455)]>0){o=!0;break}}o||(o=c[n(536)](t=>!this[n(475)][n(520)][n(629)][n(530)](t))),o&&(0,t.logWarning)(n(509),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(475)][n(619)][n(551)](n(403),e),this[n(475)][n(619)][n(551)](n(618),i)}[ft(594)](){const t=ft;if(!this[t(443)]){const e=this[t(475)][t(664)][t(402)](t(565));this[t(443)]=e[t(704)](at(this[t(475)][t(517)],t(539)))}}[ft(668)](){const t=ft;this[t(443)]&&(this[t(475)][t(664)][t(402)](t(565))[t(456)](this[t(443)]),this[t(443)]=null)}[ft(595)](t){const e=ft,i=this[e(672)][e(581)]();i[e(554)]();let n=0;for(;n<i[e(455)];){const s=i[n];if(s===this[e(716)]){n++;continue}if(s.id===this[e(447)])break;const r=t[e(580)]-s[e(580)]||t[e(654)]-s[e(654)];if(r>0)break;if(r<0)n++;else{if(!t[e(433)]&&s[e(433)])break;if(s[e(433)]||!t[e(433)]){if(t[e(431)]>s[e(431)])break;n++}else n++}}return n}[ft(579)](t){const e=ft,i=this[e(672)][e(581)]();i[e(554)](),i[e(507)]();const n=i[e(423)](i=>i[e(580)]<=t)[e(580)];return n<this[e(557)]?this[e(557)]:n}[ft(574)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(691)]({from:e,to:i});o[r(516)]=t,o[r(631)]=n,o.id=s;const a=this[r(609)](o);return this[r(522)]&&this[r(417)](o.id,o,!0),a}[ft(499)](){const t=ft;this[t(475)][t(452)][t(622)](t(584))[t(601)]({model:t(411)})}}class gt{[ft(475)];[ft(603)];[ft(643)];[ft(570)];[ft(561)];[ft(687)];[ft(681)];[ft(498)];[ft(589)];[ft(657)];[ft(503)];[ft(537)];[ft(484)];[ft(600)];[ft(437)];[ft(621)];[ft(721)];constructor(t){const e=ft;this[e(475)]=t,this[e(643)]=new Map,this[e(570)]=-1,this[e(561)]=-1,this[e(687)]=new Map,this[e(681)]=new Map,this[e(498)]=new Map,this[e(589)]=new Map,this[e(657)]=new Map,this[e(503)]=new Map,this[e(537)]=new Map,this[e(484)]=new Map,this[e(600)]=new Map,this[e(437)]=new Map,this[e(621)]=1}[ft(494)](t){const e=ft;this[e(603)]=t;const i=new Map,n=new Map,s=this[e(475)][e(520)][e(629)][e(547)][e(444)](t=>t[e(680)]);for(const t of s){const s=this[e(475)][e(520)][e(629)][e(530)](t),r=yt(s);i[e(551)](t,r),n[e(551)](t,Object[e(533)](s[e(693)]()))}const r=Array[e(458)](this[e(475)][e(520)][e(688)])[e(444)](t=>[t[e(516)],t[e(514)]()]),o=this[e(603)][e(439)];this[e(469)](o,i,r,n),this[e(721)]=this[e(621)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(551)](t,i),c[e(551)](t,{})}this[e(469)](Number[e(463)],a,[],c)}[ft(604)](t,e){const i=ft;if(this[i(570)]===t&&this[i(561)]<=e)this[i(643)][i(406)]>1&&this[i(701)](this[i(561)]),this[i(620)](this[i(561)],e,!0);else{if(!this[i(643)][i(638)](t)){const e=this[i(559)](t);this[i(496)](e,t,!1)}this[i(496)](t,e,!0)}return this[i(570)]=t,this[i(561)]=e,this[i(587)]()}[ft(633)](t){const e=ft;if(!this[e(643)][e(638)](t[e(654)])){const i=this[e(559)](t[e(654)]);this[e(496)](i,t[e(654)],!1)}this[e(496)](t[e(654)],t[e(580)],!1);const i=this[e(475)][e(664)][e(402)](e(692));this[e(709)](),this[e(570)]=t[e(654)],this[e(561)]=t[e(580)];for(const n in t[e(470)]){const s=t[e(470)][n][e(683)],r=R(t[e(470)][n][e(678)])||{},o=i[e(679)](t[e(470)][n][e(518)]);o[e(680)]=n,o[e(702)]=!s||!s[e(707)],o[e(707)]=()=>o[e(702)],this[e(589)][e(551)](n,o),this[e(657)][e(551)](n,r),s&&this[e(437)][e(551)](n,s);const a=this[e(401)](o);this[e(537)][e(551)](n,a);for(const[t,i]of o[e(688)]){if(!t[e(465)](e(659)))continue;const n=t[e(468)](":")[2];for(const t of i[e(656)]({singleCharacters:!0})){const i=this[e(527)](t),s=e(612)==t[e(429)]?t[e(640)][e(616)][e(564)](0,-1):t[e(640)][e(616)],r=a[e(492)](s)[e(698)](i);this[e(484)][e(551)](r,{userId:n})}o[e(688)][e(713)](t)}}this[e(721)]=this[e(621)];const n=[...Array(this[e(621)])[e(453)]()][e(564)](1)[e(658)](t=>!this[e(484)][e(638)](t));let s=0;const r=new Map;for(const o in t[e(470)]){const a=t[e(470)][o][e(683)],c=R(t[e(470)][o][e(661)])||{},u=i[e(679)](t[e(470)][o][e(566)]);u[e(680)]=o,u[e(702)]=!a||a[e(707)],u[e(707)]=()=>u[e(702)],this[e(681)][e(551)](o,u),this[e(498)][e(551)](o,c);const l=this[e(401)](u,Number[e(463)]);this[e(503)][e(551)](o,l),r[e(551)](o,u[e(707)]()?c:{});for(const[t,i]of u[e(688)]){if(!t[e(465)](e(659)))continue;const n=t[e(468)](":")[2];for(const t of i[e(656)]({singleCharacters:!0})){const i=this[e(527)](t),s=this[e(621)]++,r=e(612)==t[e(429)]?t[e(640)][e(616)][e(564)](0,-1):t[e(640)][e(616)];l[e(492)](r)[e(673)](i,s),this[e(484)][e(551)](s,{userId:n})}u[e(688)][e(713)](t)}for(const t of this[e(475)][e(520)][e(523)](u)[e(656)]({singleCharacters:!0})){const i=this[e(527)](t),r=e(612)==t[e(429)]?t[e(640)][e(616)][e(564)](0,-1):t[e(640)][e(616)],o=l[e(492)](r);o[e(698)](i)>0||o[e(673)](i,n[s++])}for(const[t,i]of u[e(688)])t[e(465)](e(659))||this[e(687)][e(551)](t,i)}const{roots:o}=this[e(643)][e(402)](t[e(654)]),{roots:a}=this[e(643)][e(402)](t[e(580)]),c=yt(o[e(402)](e(572)));this[e(589)][e(551)](e(572),c),this[e(537)][e(551)](e(572),this[e(401)](c,Number[e(463)]));const u=yt(a[e(402)](e(572)));this[e(681)][e(551)](e(572),u),this[e(503)][e(551)](e(572),this[e(401)](u));const l=Array[e(458)](this[e(681)])[e(444)](([t,e])=>[t,yt(e)]);this[e(469)](this[e(561)],l,this[e(687)],r)}[ft(430)](){const t=ft;this[t(709)](),this[t(570)]=-1,this[t(561)]=-1,this[t(643)][t(722)](),this[t(494)](this[t(603)])}[ft(469)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(551)](t,{start:e[s(686)][s(405)](),end:e[s(548)][s(405)](),rootName:e[s(477)][s(680)]});this[s(643)][s(551)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(701)](t){const e=ft;this[e(643)][e(713)](t)}[ft(709)](){const t=ft;this[t(484)][t(722)](),this[t(600)][t(722)](),this[t(437)][t(722)](),this[t(681)][t(722)](),this[t(498)][t(722)](),this[t(589)][t(722)](),this[t(657)][t(722)](),this[t(503)][t(722)](),this[t(537)][t(722)](),this[t(687)][t(722)](),this[t(621)]=1,this[t(721)]=this[t(621)]}[ft(401)](t,e=null){const i=ft;let n=null;t.is(i(602))||(n=new Q.ModelElement(t[i(516)],{vid_start:null===e?this[i(621)]++:e++}));const s=[];for(const n of t[i(464)]())if(n.is(i(422))){s[i(410)](this[i(401)](n,e));const t=s[s[i(455)]-1];null!==e&&(e=t.is(i(422),i(665))?t[i(698)](i(526))+1:t[i(698)](i(544))+1)}else for(let t=0;t<n[i(682)];t++)s[i(410)](new Q.ModelElement(i(665),{vid:null===e?this[i(621)]++:e++}));if(t.is(i(602))){const e=kt(t[i(680)]);return e[i(502)](0,s),e}return n[i(673)](i(544),null===e?this[i(621)]++:e++),n[i(502)](0,s),n}[ft(496)](t,e,i){const n=ft;this[n(709)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(643)][n(402)](t);this[n(589)]=new Map(s),this[n(657)]=new Map(R(o));for(const[t,e]of this[n(589)])if(n(572)!==t&&(this[n(681)][n(551)](t,yt(e)),this[n(498)]=new Map(R(o)),i)){const i=this[n(621)];this[n(503)][n(551)](t,this[n(401)](e)),this[n(537)][n(551)](t,this[n(401)](e,i))}this[n(721)]=this[n(621)],this[n(681)][n(551)](n(572),yt(this[n(589)][n(402)](n(572)))),i&&this[n(503)][n(551)](n(572),this[n(401)](this[n(589)][n(402)](n(572))));for(const[t,e]of r){const i=this[n(589)][n(402)](e[n(680)]),s=this[n(681)][n(402)](e[n(680)]),r=new Q.ModelRange(this[n(623)](e[n(686)],i),this[n(623)](e[n(548)],i)),o=this[n(562)](r,s);i[n(688)][n(551)](t,r),this[n(687)][n(551)](t,o)}this[n(620)](t,e,i)}[ft(620)](t,e,i){const n=ft;for(const s of this[n(603)][n(534)](t,e))this[n(451)](s,i);for(const t of this[n(681)][n(593)]())t[n(688)][n(722)]();for(const[t,e]of this[n(687)])this[n(681)][n(402)](e[n(477)][n(680)])[n(688)][n(551)](t,e[n(405)]());const s=new Map,r=new Map;for(const[t,e]of this[n(681)])s[n(551)](t,yt(e)),r[n(551)](t,this[n(498)][n(402)](t));this[n(469)](e,s,this[n(687)],r)}[ft(559)](t){const e=ft,i=Array[e(458)](this[e(643)][e(453)]());i[e(578)]((t,e)=>t-e),i[e(554)]();for(const e of i)if(e<t)return e;return Number[e(463)]}[ft(649)](t,e){const i=ft,n=Array[i(458)](e[i(688)])[i(444)](([e,n])=>[e,this[i(562)](n,t)]);t[i(688)]=new Map(n)}[ft(446)](t){const e=ft;for(const i of this[e(687)][e(593)]()){const n=i[e(454)](t),s=Q.ModelRange[e(529)](n);i[e(686)]=s[e(686)],i[e(548)]=s[e(548)]}}[ft(451)](t,e){const i=ft;if(i(434)!=t[i(429)]&&i(655)!=t[i(429)]){if(i(501)==t[i(429)]){const n=t[i(549)][i(477)][i(680)];this[i(681)][i(638)](n)||(this[i(681)][i(551)](n,kt(n,!0)),this[i(498)][i(551)](n,{}),e&&this[i(503)][i(551)](n,kt(n,!0)))}else{if(i(642)==t[i(429)]||i(497)==t[i(429)]||i(635)==t[i(429)])return void this[i(478)](t);i(486)==t[i(429)]&&this[i(436)](t)}if(i(486)!==t[i(429)]){const e=this[i(706)](t,this[i(681)]);e[i(567)](),this[i(446)](e)}if(e)switch(t[i(429)]){case i(501):this[i(432)](t);break;case i(586):case i(456):case i(720):this[i(528)](t);break;case i(506):this[i(717)](t);break;case i(468):this[i(634)](t)}}else this[i(510)](t,e)}[ft(706)](t,e){const i=ft,n=t[i(405)]();return n[i(541)]=t[i(541)],this[i(491)](n,e),n}[ft(421)](t){const e=ft;return t[e(444)](t=>{const i=e,n=this[i(527)](t);return Number(t[i(617)][i(698)](n))})}[ft(676)](t,e){const i=ft;if(t.is(i(422),i(665)))e[i(410)]({item:t,type:i(408)});else{t.is(i(422))&&e[i(410)]({item:t,type:i(427)});for(const n of t[i(464)]())this[i(676)](n,e);t.is(i(422))&&e[i(410)]({item:t,type:i(612)})}return e}[ft(587)](){const t=ft,e=new Map(this[t(484)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(589)][t(453)](),...this[t(681)][t(453)]()]);a[t(713)](t(572));for(const e of a){const i=this[t(681)][t(402)](e)||kt(e,!1),n=this[t(589)][t(402)](e)||kt(e,!1);i[t(707)]()||n[t(707)]()?(s[t(566)][e]=yt(i),s[t(518)][e]=yt(n),this[t(649)](s[t(518)][e],n),this[t(649)](s[t(566)][e],i),r[t(566)][e]=this[t(676)](this[t(503)][t(402)](e),[]),r[t(518)][e]=this[t(676)](this[t(537)][t(402)](e)||kt(e,!1),[])):a[t(713)](e)}for(const s of a){const o=r[t(566)][s];for(const s of o){const r=this[t(527)](s),o=s[t(617)][t(698)](r);i[t(713)](o),o>=this[t(721)]&&n[t(551)](o,e[t(402)](o))}}for(const s of a){const a=r[t(566)][s],c=this[t(421)](r[t(518)][s]);let u=0;for(const s of a){const r=this[t(527)](s),a=s[t(617)][t(698)](r);if(!n[t(638)](a)&&!o[t(638)](a))if(i[t(638)](a))u++;else{if(a!=c[u]){const n=e[t(402)](a)||e[t(402)](c[u]);for(;a!=c[u];)i[t(638)](c[u])||(o[t(551)](c[u],n),e[t(551)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(566)][e];for(const e of s){const s=this[t(527)](e),r=e[t(617)][t(698)](s);if(o[t(638)](r)){const e=o[t(402)](r);i[t(638)](r)||i[t(551)](r,{...e}),n[t(551)](r,{...e})}}}for(const e of i[t(453)]())e>=this[t(721)]&&i[t(713)](e);const c=new Map;for(const e of a){let s=r[t(566)][e];for(const e of s)if(e[t(617)].is(t(422),t(712))){const i=this[t(527)](e),s=e[t(617)][t(698)](i);if(n[t(638)](s)){const i=e[t(617)][t(482)][t(482)][t(698)](t(582)),r=c[t(402)](i)||new Set;r[t(704)](n[t(402)](s)[t(630)]),c[t(551)](i,r)}}s=r[t(518)][e];for(const e of s)if(e[t(617)].is(t(422),t(712))){const n=this[t(527)](e),s=e[t(617)][t(698)](n);if(i[t(638)](s)){const n=e[t(617)][t(482)][t(482)][t(698)](t(582)),r=c[t(402)](n)||new Set;r[t(704)](i[t(402)](s)[t(630)]),c[t(551)](n,r)}}for(const e of c[t(453)]())(n[t(638)](e)||i[t(638)](e))&&c[t(713)](e)}for(const e of a){const s=r[t(566)][e];let o=null,a=null;for(const e of s){const s=this[t(527)](e),r=e[t(617)][t(698)](s),u=c[t(402)](r);u&&t(427)==e[t(429)]&&(o=Array[t(458)](u)[0],a=e[t(617)][t(698)](t(544))),o&&(i[t(551)](r,{userId:o}),n[t(551)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(518)][e],a=s[t(566)][e];for(const{userId:e}of this[t(600)][t(593)]())null!==e&&l[t(704)](e);for(const{userId:e}of this[t(437)][t(593)]())null!==e&&l[t(704)](e);this[t(591)](a,r[t(566)][e],n,t(540),l),this[t(591)](o,r[t(518)][e],i,t(576),l),u[e]={insertions:this[t(480)](a),deletions:this[t(480)](o),attachChange:this[t(437)][t(402)](e)||null,attributesBefore:R(this[t(657)][t(402)](e))||{},attributesAfter:R(this[t(498)][t(402)](e))}}return{diffData:u,authorsIds:Array[t(458)](l)}}[ft(711)](t){const e=ft;for(const[,i]of t[e(688)]){const t=i[e(686)][e(569)]()[e(658)](t=>e(712)==t[e(516)]);for(const i of t)1==i[e(521)]&&i[e(476)](0).is(e(422),e(424))&&i[e(476)](0)[e(673)](e(535),!0)}}[ft(480)](t){const e=ft;this[e(711)](t);const i=this[e(475)][e(670)][e(485)](t,{}),n=Array[e(458)](i[e(464)]())[e(444)](t=>this[e(415)](t));return JSON[e(662)](n)}[ft(415)](t){const e=ft;if(t.is(e(665)))return t[e(670)];{const i=this[e(475)][e(664)][e(402)](e(692)),n=t,s=this[e(475)][e(670)][e(667)][e(599)],r={type:i[e(666)](n),name:n[e(516)],attributes:Array[e(458)](n[e(693)]()),children:Array[e(458)](n[e(464)]())[e(444)](t=>this[e(415)](t))};if(t.is(e(525))&&e(558)!=t[e(516)]){const i=t[e(626)](s[e(575)],s);r[e(531)][e(410)](i[e(489)])}else if(t.is(e(425))){const i=s[e(575)][e(685)](n[e(516)]);t[e(626)](i,s),r[e(531)][e(410)](i[e(556)])}const o=Array[e(458)](n[e(641)]());o[e(455)]>0&&(r[e(669)]=o);const a=n[e(718)]();return null!==a&&(r[e(543)]=a),r}}[ft(591)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(475)][r(520)];for(let n=0;n<e[r(455)];n++){const s=this[r(527)](e[n]),c=e[n][r(617)][r(698)](s),h=i[r(402)](c),d=n==e[r(455)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(630)]!=o[r(630)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(630)],d=l(659)+n+":"+h+":"+c++,f=u[l(577)](i,a);t[l(688)][l(551)](d,f),null!==h&&s[l(704)](h)}}[ft(527)](t){const e=ft;switch(t[e(429)]){case e(427):return e(582);case e(612):return e(544);default:return e(526)}}[ft(491)](t,e){const i=ft;t[i(442)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(402)](s[i(477)][i(680)]);t[n]=this[i(623)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(402)](s[i(477)][i(680)]);t[n]=this[i(562)](s,r)}i(477)===n&&(t[i(477)]=e[i(402)](t[i(477)][i(680)]))}}[ft(562)](t,e){const i=ft;return this[i(475)][i(520)][i(577)](this[i(623)](t[i(686)],e),this[i(623)](t[i(548)],e))}[ft(623)](t,e){const i=ft;return this[i(475)][i(520)][i(719)](e,t[i(616)],t[i(471)])}[ft(432)](t){const e=ft,i=this[e(503)][e(402)](t[e(549)][e(477)][e(680)]),n=this[e(623)](t[e(549)],i),s=null===t[e(541)]?null:t[e(541)]||this[e(475)][e(664)][e(402)](e(409)).me.id,r=n[e(482)],o=this[e(621)],a=[];for(const i of t[e(573)])if(i.is(e(422)))a[e(410)](this[e(401)](i));else for(let t=0;t<i[e(682)];t++)a[e(410)](new Q.ModelElement(e(665),{vid:this[e(621)]++}));const c=this[e(621)];for(let t=o;t<c;t++)this[e(484)][e(551)](t,{userId:s});r[e(502)](n[e(419)],a)}[ft(528)](t){const e=ft;(t=this[e(706)](t,this[e(503)]))[e(567)]();const i=null===t[e(541)]?null:t[e(541)]||this[e(475)][e(664)][e(402)](e(409)).me.id,n=t[e(404)](),s=n[e(482)],r=n[e(419)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(476)](e);r.is(a(422),a(665))?n[a(551)](r[a(698)](a(526)),{userId:i}):(n[a(551)](r[a(698)](a(582)),{userId:i}),t(n,r,0,r[a(521)]),n[a(551)](r[a(698)](a(544)),{userId:i}))}}(this[e(484)],s,r,r+t[e(690)])}[ft(717)](t){const e=ft,i=null===(t=this[e(706)](t,this[e(503)]))[e(541)]?null:t[e(541)]||this[e(475)][e(664)][e(402)](e(409)).me.id,n=t[e(493)][e(482)],s=t[e(538)][e(482)],r=n[e(698)](e(544)),o=s[e(698)](e(582));n[e(673)](e(544),s[e(698)](e(544))),s[e(673)](e(544),r),this[e(484)][e(551)](o,{userId:i}),this[e(484)][e(551)](r,{userId:i}),t[e(567)]()}[ft(634)](t){const e=ft,i=null===(t=this[e(706)](t,this[e(503)]))[e(541)]?null:t[e(541)]||this[e(475)][e(664)][e(402)](e(409)).me.id,n=t[e(708)],s=t[e(519)][e(482)];t[e(567)]();const r=s[e(698)](e(544)),o=t[e(695)][e(592)];if(n){const t=o[e(698)](e(544)),n=s[e(698)](e(544));s[e(673)](e(544),t),o[e(673)](e(544),n),this[e(484)][e(551)](s[e(698)](e(544)),{userId:i}),this[e(484)][e(551)](o[e(698)](e(582)),{userId:i})}else{const t=this[e(621)]++,n=this[e(621)]++;s[e(673)](e(544),t),o[e(673)](e(582),n),o[e(673)](e(544),r),this[e(484)][e(551)](t,{userId:i}),this[e(484)][e(551)](n,{userId:i})}}[ft(436)](t){const e=ft;if(!t[e(472)])return;const i=(t=this[e(706)](t,this[e(681)]))[e(627)]?t[e(627)][e(477)]:null,n=t[e(460)]?t[e(460)][e(477)]:null;i&&this[e(687)][e(713)](t[e(516)]),n&&this[e(687)][e(551)](t[e(516)],t[e(460)][e(405)]());const s=null===t[e(541)]?null:t[e(541)]||this[e(475)][e(664)][e(402)](e(409)).me.id,r=t[e(516)];if(!this[e(600)][e(638)](r))return void this[e(600)][e(551)](r,{range:t[e(627)],userId:s});const o=this[e(600)][e(402)](r),a=o[e(414)],c=t[e(460)];null==a&&null==c||a&&c&&a[e(636)](c)?this[e(600)][e(713)](t[e(516)]):o[e(630)]=s}[ft(510)](t,e){const i=ft;this[i(681)][i(638)](t[i(680)])?this[i(681)][i(402)](t[i(680)])[i(702)]=t[i(568)]:(this[i(681)][i(551)](t[i(680)],kt(t[i(680)],!0)),this[i(498)][i(551)](t[i(680)],{}),e&&this[i(503)][i(551)](t[i(680)],kt(t[i(680)],!0)));const n=null===t[i(541)]?null:t[i(541)]||this[i(475)][i(664)][i(402)](i(409)).me.id,s=this[i(437)][i(402)](t[i(680)]);s&&s[i(630)]===n?this[i(437)][i(713)](t[i(680)]):this[i(437)][i(551)](t[i(680)],{userId:n,isAttached:t[i(568)]})}[ft(478)](t){const e=ft,i=this[e(498)][e(402)](t[e(477)][e(680)]);null===t[e(585)]?delete i[t[e(515)]]:i[t[e(515)]]=t[e(585)]}}function yt(t){const e=ft,i=kt(t[e(680)],t[e(707)]());for(const n of t[e(464)]()){const t=n[e(653)](!0);i[e(625)](t)}return i}function kt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(680)]=t,n[i(702)]=e,n[i(707)]=()=>n[i(702)],n}function bt(t,e,i){const n=ft,s=n(612)==t[n(429)]?i[n(650)](t[n(617)],n(548)):i[n(614)](t[n(617)]);return i[n(719)](e,s[n(616)],s[n(471)])}function wt(t,e,i){const n=ft,s=n(427)==t[n(429)]?i[n(650)](t[n(617)],0):i[n(474)](t[n(617)]);return i[n(719)](e,s[n(616)],s[n(471)])}var _t=i(355),It=i(311),St=i(789),Ot=i.n(St),Tt=i(437),xt=i.n(Tt),Nt=i(298),At=i.n(Nt),Rt=i(207),Mt=i.n(Rt),Vt=i(825),Dt=i.n(Vt),Et=i(416),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(450),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=Mt(),Pt.insert=At().bind(null,"head"),Pt.domAPI=xt(),Pt.insertStyleElement=Dt();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=482]})(t,e)}function zt(){const t=["340850PhulTI","label","arrowright","render","arrowdown","7986890dwMLVc","280648ycBpAu","944166SSjTfo","form","revisionName","ck-revision-history-save-revision-form","revisionNameInputView","initializeCssTransitionDisablerMixin","32NeoRmO","focusTracker","extendTemplate","_createRevisionNameInput","element","812466VOQKrt","arrowup","trim","optional","arrowleft","452481KkWopY","focus","16WtvNzh","set","revisionNameInputValue","listenTo","Name of the revision","stopPropagation","220","18PPrDnL","add","fieldView","ck-responsive-form","keystrokes","reset","input","setTemplate","1053185kuvCVN","value","errorText","locale"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(624516===parseInt(e(520))/1+parseInt(e(494))/2*(-parseInt(e(492))/3)+-parseInt(e(519))/4+parseInt(e(513))/5+-parseInt(e(501))/6*(-parseInt(e(509))/7)+parseInt(e(482))/8*(-parseInt(e(487))/9)+parseInt(e(518))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(483)];[jt(505)];[jt(524)];constructor(e,i){const n=jt;super(e),this[n(483)]=new t.FocusTracker,this[n(505)]=new t.KeystrokeHandler,this[n(495)](n(496),""),this[n(524)]=this[n(485)](i),this[n(508)]({tag:n(521),attributes:{class:["ck",n(523),n(504)],tabindex:"-1"},children:[this[n(524)]]}),this[n(525)]()}[jt(516)](){const t=jt;super[t(516)](),(0,It.submitHandler)({view:this}),this[t(483)][t(502)](this[t(524)][t(486)]),this[t(505)][t(497)](this[t(486)]);const e=e=>e[t(499)]();this[t(505)][t(495)](t(515),e),this[t(505)][t(495)](t(491),e),this[t(505)][t(495)](t(488),e),this[t(505)][t(495)](t(517),e)}[jt(493)](){const t=jt;this[t(524)][t(493)]()}get[jt(522)](){const t=jt;return this[t(524)][t(503)][t(486)][t(510)][t(489)]()}set[jt(522)](t){const e=jt;this[e(524)][e(503)][e(486)][e(510)]=t[e(489)]()}[jt(506)](){const t=jt;this[t(524)][t(503)][t(486)][t(510)]="",this[t(524)][t(511)]=null}[jt(485)](t){const e=jt,i=new It.LabeledFieldView(this[e(512)],It.createLabeledInputText),n=i[e(503)];n[e(484)]({attributes:{maxlength:e(500)}});let s=at(this[e(512)],e(498));return!t&&(s+=" ("+at(this[e(512)],e(490))+")"),i[e(514)]=s,n.on(e(507),()=>{const t=e;this[t(496)]=n[t(486)][t(510)][t(489)]()}),i}}function Ht(){const t=["panelView","_registerMenuComponent","items","Save current revision","_createSaveRevisionFormView","get","5bUMKaD","isPremiumPlugin","_saveRevisionFormView","1384621yermRJ","listenTo","view","RevisionHistoryUI","config","submit","editor","menu","9QFJTiO","revisionName","5088186jlAQDf","execute","24PpOOFL","pluginName","isOfficialPlugin","revisionSave","saveRevision","378936CSUPDy","308352tnUMex","menuitem","revisionNameInputView","init","requires","revisionHistory.requireRevisionName","RevisionTracker","365587MyBWVc","buttonView","addMany","isReady","isOpen","show","reset","_createSaveRevisionButton","role","children","573807srRAQe","_showDialog","isEnabled","errorText","Dialog","bind","The revision name cannot be empty.","locale","focus","delegate","render","showRevisionViewerCallback","add","set","plugins","revisionHistory","hide","Revision history","editing","componentFactory","Accept","menuBar:revisionHistory","ck-button-action","5801730uGklro","Open revision history","_createOpenRevisionButton","isReadOnly","Cancel","low"];return(Ht=function(){return t})()}const Wt=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(438039===-parseInt(e(165))/1+-parseInt(e(158))/2+parseInt(e(175))/3+-parseInt(e(157))/4+parseInt(e(137))/5*(parseInt(e(150))/6)+-parseInt(e(140))/7*(-parseInt(e(152))/8)+-parseInt(e(148))/9*(parseInt(e(198))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Wt(153)](){return Wt(143)}static get[Wt(154)](){return!0}static get[Wt(138)](){return!0}static get[Wt(162)](){return[vt]}[Wt(139)];[Wt(161)](){const t=Wt,e=this[t(146)],i=e[t(189)][t(136)](t(164));e.ui[t(194)][t(187)](t(190),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(204)][s(174)],a=new It.ListView(n),c=new It.ListItemView(n),u=this[s(172)](It.ButtonView),l=new It.ListItemView(n),h=this[s(200)](It.ButtonView);return r[s(180)](s(177)).to(i,s(168),i,s(177),e,s(201),(t,e,i)=>t&&e&&!i),r[s(166)][s(188)]({icon:_t.IconHistory,label:at(n,s(192)),tooltip:!0}),u[s(188)]({withText:!0,role:s(159)}),h[s(188)]({withText:!0,role:s(159)}),this[s(141)](h,s(151),()=>{const t=s;r[t(169)]=!1,e[t(193)][t(142)][t(183)]()},{priority:s(203)}),c[s(174)][s(187)](u),l[s(174)][s(187)](h),a[s(173)]=s(147),a[s(206)][s(167)]([c,l]),o[s(187)](a),r}),e.ui[t(194)][t(187)](t(196),()=>this[t(205)]())}[Wt(205)](){const t=Wt,e=this[t(146)],i=e[t(182)],n=e[t(189)][t(136)](t(164)),s=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);s[t(180)](t(177)).to(n,t(168),n,t(177),e,t(201),(t,e,i)=>t&&e&&!i),s[t(166)][t(188)]({icon:_t.IconHistory,label:at(i,t(192))});const o=new It.MenuBarMenuListItemView(i,s),a=this[t(172)](It.MenuBarMenuListItemButtonView);a[t(184)](t(151)).to(s),o[t(174)][t(187)](a),r[t(206)][t(187)](o);const c=new It.MenuBarMenuListItemView(i,s),u=this[t(200)](It.MenuBarMenuListItemButtonView);return u[t(184)](t(151)).to(s),c[t(174)][t(187)](u),r[t(206)][t(187)](c),s[t(204)][t(174)][t(187)](r),s}[Wt(172)](t){const e=Wt,i=this[e(146)],n=i[e(189)][e(136)](e(164)),s=new t(i[e(182)]);return s[e(188)]({label:at(i[e(182)],e(134))}),s[e(180)](e(177)).to(n,e(168),n,e(177),i,e(201),(t,e,i)=>t&&e&&!i),this[e(141)](s,e(151),()=>{this[e(176)]()}),s}[Wt(200)](t){const e=Wt,i=this[e(146)],n=i[e(189)][e(136)](e(164)),s=new t(i[e(182)]);return s[e(188)]({label:at(i[e(182)],e(199))}),s[e(180)](e(177)).to(n,e(168),i,e(201),(t,e)=>t&&!e),this[e(141)](s,e(151),()=>{const t=e;i[t(144)][t(136)](t(190))[t(186)]()}),s}[Wt(176)](){const t=Wt,e=this[t(146)],i=e[t(182)],n=e[t(189)][t(136)](t(179)),s=e[t(189)][t(136)](t(164));function r(s){const r=t;e[r(144)][r(136)](r(163))&&""===s[r(149)]?s[r(160)][r(178)]=at(i,r(181)):(e[r(189)][r(136)](vt)[r(156)]({name:s[r(149)]}),n[r(191)]())}this[t(139)]||(this[t(135)](),this[t(139)].on(t(145),()=>r(this[t(139)]))),this[t(139)][t(171)](),n[t(170)]({id:t(155),title:at(i,t(134)),isModal:!0,content:this[t(139)],actionButtons:[{label:at(e[t(182)],t(202)),withText:!0,onExecute:()=>n[t(191)]()},{label:at(e[t(182)],t(195)),class:t(197),withText:!0,onCreate(i){const n=t;i[n(180)](n(177)).to(s,n(168),s,n(177),e,n(201),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(139)])}]})}[Wt(135)](){const t=Wt,e=this[t(146)],i=e[t(182)];this[t(139)]=new Ut(i,e[t(144)][t(136)](t(163))),this[t(139)][t(185)]()}}const $t=Yt;function Bt(){const t=["1537810gpIZdH","add","Suggested by","type","_model","div","7819176uRziqJ","ck-revision-change__label","data","focus","603138JeHIim","Removed by","setTemplate","changeId","span","set","ck-revision-change","63KbtGvF","3600885RQKITh","Added by","ck-revision-change__","element","ck-annotation","isSuggestion","150927gnshaH","author","1972296RBXPzO","457dFyIah","bindTemplate","name","4782qbYyfM","48ZtptWB"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=431]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(729461===parseInt(e(438))/1*(-parseInt(e(441))/2)+-parseInt(e(453))/3+parseInt(e(437))/4+-parseInt(e(461))/5+parseInt(e(449))/6+parseInt(e(435))/7*(-parseInt(e(442))/8)+parseInt(e(460))/9*(parseInt(e(443))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[$t(456)];[$t(447)];constructor(t,e){const i=$t;super(t),this[i(447)]=e,this[i(456)]=e.id;const n=this[i(439)],s=at(t,e[i(451)][i(434)]?i(445):i(444)==e[i(446)]?i(462):i(454));this[i(458)](i(446),e[i(446)]),this[i(455)]({tag:i(448),attributes:{class:[i(433),i(459),n.to(i(446),t=>i(431)+t)],tabindex:-1},children:[{tag:i(457),children:[{tag:i(457),attributes:{class:[i(450)]},children:[{text:s}]},{text:" "+e[i(436)][i(440)]}]}]})}[$t(452)](){const t=$t;this[t(432)][t(452)]()}}var Gt=Qt;function Kt(){var t=["data","211137aNDspL","rootName","set","1432989agxAiA","toJSON","type","3146760QzqgHm","125190aVnEHL","createdAt","57366ltUfTI","author","5YbNgbX","8KhVGnD","2AFOiFD","290696HfpcoT","87676IxjYCc"];return(Kt=function(){return t})()}function Qt(t,e){var i=Kt();return(Qt=function(t,e){return i[t-=395]})(t,e)}!function(t){for(var e=Qt,i=t();;)try{if(101968===parseInt(e(400))/1+parseInt(e(404))/2*(-parseInt(e(408))/3)+parseInt(e(406))/4*(parseInt(e(402))/5)+-parseInt(e(398))/6+-parseInt(e(405))/7+parseInt(e(403))/8*(-parseInt(e(411))/9)+parseInt(e(397))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(401)];[Gt(396)];[Gt(407)];[Gt(409)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(401)]=e[i(401)],this[i(396)]=e[i(396)],this[i(407)]=e[i(407)]||{},this[i(409)]=e[i(409)],this[i(410)](i(399),e[i(399)])}[Gt(395)](){var t=Gt;return{id:this.id,authorId:this[t(401)].id,type:this[t(396)],data:this[t(407)],createdAt:this[t(399)]}}}function te(){const t=["2002563lXxiHJ","newRevisionId","38dTHOlh","12555dypVzS","_setChanges","732151mCqdrk","439350fjtdvD","add","8aoEvkw","2460282IuHerl","12XlItbU","19259bGfkNW","oldRevisionId","30gDegMj","2207610opQeSZ","changes"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=321]})(t,e)}const ie=ee;!function(t){const e=ee,i=t();for(;;)try{if(251313===-parseInt(e(328))/1*(parseInt(e(335))/2)+parseInt(e(336))/3*(-parseInt(e(327))/4)+-parseInt(e(331))/5+parseInt(e(323))/6+-parseInt(e(322))/7*(-parseInt(e(325))/8)+parseInt(e(333))/9+-parseInt(e(330))/10*(-parseInt(e(326))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ie(334)];[ie(329)];[ie(332)];constructor(e,i){const n=ie;this[n(334)]=e,this[n(329)]=i,this[n(332)]=new t.Collection}[ie(321)](t){const e=ie;for(const i of t)this[e(332)][e(324)](i)}}var se=i(434),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=he();return(ae=function(t,e){return i[t-=145]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(268206===parseInt(e(352))/1+parseInt(e(366))/2*(parseInt(e(183))/3)+parseInt(e(276))/4+-parseInt(e(265))/5+-parseInt(e(191))/6+parseInt(e(261))/7+parseInt(e(195))/8*(-parseInt(e(247))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class ce extends G.Plugin{[oe(146)];[oe(187)]=null;[oe(199)];[oe(328)];[oe(327)];[oe(232)];[oe(180)];static get[oe(248)](){return oe(429)}static get[oe(207)](){return!0}static get[oe(334)](){return!0}static get[oe(374)](){return[K.Users,It.ContextualBalloon,et,rt]}constructor(t){const e=oe;super(t),this[e(146)]=this[e(182)][e(349)][e(332)](e(293)),this[e(199)]=this[e(182)][e(349)][e(332)](e(370)),this[e(438)](e(303),null),this[e(438)](e(359),null),this[e(328)]=null,this[e(438)](e(208),null),this[e(438)](e(150),!1),this[e(438)](e(222),!0),this.on(e(305),(t,i,n)=>{const s=e;this[s(303)]=null,this[s(359)]=null,this[s(182)][s(443)][s(364)][s(297)](t=>{const e=s;for(const i of this[e(182)][e(443)][e(364)][e(431)][e(396)])n?t[e(190)](e(301),i):t[e(219)](e(301),i)})}),this[e(314)](e(312)).to(this,e(303),t=>null!==t),this[e(314)](e(353)).to(this,e(150),this,e(208),this,e(303),(t,i,n)=>t&&n?i[e(216)][e(457)](n):0),this[e(314)](e(282)).to(this,e(150),this,e(208),(t,i)=>t?i[e(216)][e(329)]:0),this[e(327)]=null,this[e(232)]=new Map,this[e(180)]=this[e(182)][e(349)][e(332)](It.ContextualBalloon)}[oe(259)](){const t=oe,e=this[t(182)],i=new de(e,{direction:t(256)}),n=new de(e,{direction:t(200)});e[t(228)][t(391)](t(157),i),e[t(228)][t(391)](t(214),n),e[t(228)][t(391)](t(193),new le(e)),this.on(t(320),()=>{const e=t;i[e(462)](),n[e(462)]()}),this[t(194)](),this[t(165)](),e[t(148)](t(371)),e[t(349)][t(251)](t(175))&&e[t(349)][t(332)](t(175))[t(234)](t(371))}async[oe(161)](t){const e=oe;return await this[e(199)][e(360)](t,this[e(187)]),this[e(199)][e(161)](t)}async[oe(243)](t){const e=oe;return await this[e(199)][e(360)](t,this[e(187)]),this[e(199)][e(243)](t)}async[oe(224)](t,e,i=!1){const n=oe;if(!this[n(222)])return;const s=this[n(208)],r=this[n(146)],o=n(447)==typeof t?r[n(155)](t):t,a=n(447)==typeof e?r[n(155)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(208)]&&this[n(208)][n(440)]===c&&this[n(208)][n(164)]===u)return Promise[n(311)]();this[n(150)]=!1,this[n(359)]=null,this[n(303)]=null,this[n(208)]=new ne(c,u);const l=this[n(147)](o,a,!0)[n(286)](t=>this[n(199)][n(360)](t,this[n(187)]));return l[n(170)](new Promise(t=>{setTimeout(t,20)})),Promise[n(386)](l)[n(403)](()=>{const t=n;if(!this[t(222)])return;this[t(464)]();const e=this[t(197)](c,u);for(const i of e[t(216)])this[t(232)][t(438)](i.id,i);this[t(182)][t(448)][t(298)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(182)][n(448)][n(431)][n(173)]())i[n(452)](t);for(const t of Object[n(346)](e[n(448)])){const s=i[n(317)](t);for(const r of Object[n(346)](e[n(184)][t]))i[n(221)](r,e[n(184)][t][r],s);i[n(347)](e[n(448)][t],s,0)}}),this[t(208)][t(178)](this[t(236)](e[t(216)])),this[t(150)]=!0})[n(357)](t=>{const e=n;console[e(246)](t),this[e(464)](),s&&(this[e(208)]=s),this[e(150)]=!0})}[oe(239)](t,e){const i=oe,n=this[i(146)][i(377)](t);return n.on(i(325),(t,i,s)=>e(i,s,n)),this[i(146)][i(354)](n),n}[oe(464)](){const t=oe;this[t(303)]=null,this[t(253)](),this[t(327)]&&this[t(327)][t(407)](),this[t(327)]=null,this[t(232)][t(285)](),this[t(182)][t(448)][t(298)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(182)][i(448)][i(431)][i(173)]())e[i(452)](t)})}[oe(236)](t){const e=oe,i=[],n=new Map;for(const t of this[e(182)][e(448)][e(431)][e(173)]()){const s=this[e(182)][e(443)][e(364)][e(231)](t);if(!s)continue;const r=s[e(393)]()[e(345)](0);r&&(i[e(170)](t),n[e(438)](t,r))}return i[e(426)]((t,i)=>{const s=e,r=n[s(332)](t),o=n[s(332)](i);return r.y-o.y||r.x-o.x}),(t=t[e(439)](t=>i[e(166)](t[e(220)])))[e(426)]((t,n)=>i[e(289)](t[e(220)])-i[e(289)](n[e(220)])),t}[oe(434)](t){const e=oe,i=Array[e(424)](t[e(296)])[e(439)](([t,i])=>t[e(172)](e(402))&&!i[e(368)]),n=Array[e(424)](this[e(182)][e(448)][e(367)](t)[e(177)]({singleCharacters:!0}));if(0!=i[e(329)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(427)](":");if(s[e(430)][e(189)](t[e(245)])&&i[e(310)](),(t[e(181)][e(189)](s[e(267)])||t[e(181)][e(263)](s[e(267)]))&&(e(415)==r?t[e(154)]={userId:o}:e(290)==r&&(t[e(428)]={userId:o})),0==i[e(329)])break}return n}[oe(205)](t){const e=oe,i=new Map;for(let n=0;n<t[e(329)];n++)e(210)===t[n][e(315)]?(t[n][e(345)][e(435)]=n,t[n][e(345)][e(279)]=n):(e(151)===t[n][e(315)]?t[n][e(345)][e(435)]=n:e(392)===t[n][e(315)]&&(t[n][e(345)][e(279)]=n),i[e(438)](t[n].id,n));for(const n of i[e(330)]())e(151)===t[n][e(315)]?t[n][e(345)][e(279)]=i[e(332)](t[n][e(215)]):e(392)===t[n][e(315)]&&(t[n][e(345)][e(435)]=i[e(332)](t[n][e(215)]))}[oe(363)](t){const e=oe;for(let i=0;i<t[e(329)];i++){if(e(151)===t[i][e(315)])t[i][e(345)][e(435)]=i;else if(e(392)===t[i][e(315)]){t[i][e(345)][e(279)]=i;const n=t[i][e(345)][e(435)];t[n][e(215)]=t[i].id,t[i][e(215)]=t[n].id}else t[i][e(345)][e(435)]=i,t[i][e(345)][e(279)]=i,t[i][e(215)]=null;t[i][e(446)]||(t[i][e(446)]=[],t[i][e(204)]=[])}}[oe(206)](t,e){const i=oe,n=t[i(439)](t=>!t[i(154)]);for(let t=0;t<e[i(329)];t++)e[t][i(154)]&&(n[t][i(154)]=e[t][i(154)])}[oe(197)](t,e=null){const i=oe,n=this[i(146)][i(155)](t),s=e?this[i(146)][i(155)](e):null,r=this[i(147)](n,s),o=r[r[i(329)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(329)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(346)](e[i(412)]))if(e[i(412)][t][i(469)]){const n=e[i(412)][t][i(469)];n[i(186)]?(u[i(391)](t),l[i(251)](t)&&l[i(332)](t)[i(302)]==n[i(302)]?l[i(230)](t):l[i(438)](t,n)):l[i(251)](t)?(u[i(230)](t),l[i(230)](t)):(u[i(391)](t),l[i(438)](t,n))}else u[i(391)](t)}for(const t of u){const e=l[i(251)](t)&&!l[i(332)](t)[i(186)];let n=e?r[i(329)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(412)][t]){const n=e?o[i(412)][t][i(288)]:o[i(412)][t][i(408)];c[i(184)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(448)]={};for(const e of t[i(167)])a[i(438)](e.id,e);for(const e of u){const n=t[i(412)][e]?t[i(412)][e][i(168)]:"[]",s=t[i(412)][e]?t[i(412)][e][i(337)]:"[]";t[i(448)][e]={insertions:this[i(199)][i(388)](n),deletions:this[i(199)][i(388)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(424)](n[i(448)][t][i(168)][i(296)])[i(439)](([t])=>!t[i(172)](i(402))));let h=0;for(const o of r){const r=this[i(434)](o[i(448)][t][i(168)]);o==n?(e=r,s=e[i(329)],e[i(375)](t=>{t.id=h++}),this[i(363)](e)):this[i(206)](e,r);const a=e[i(439)](t=>!t[i(154)])[i(286)](t=>t.id);let c=0;const l=this[i(434)](o[i(448)][t][i(337)]);l[i(375)](t=>{t[i(428)]?t.id=s++:t.id=a[c++]}),this[i(363)](l),this[i(339)](e,i(154)),this[i(339)](l,i(428)),o==n&&this[i(250)](e,u),e=this[i(269)](e,l),this[i(205)](e),this[i(339)](e,i(428))}e=e[i(439)](t=>!(t[i(154)]&&t[i(428)]));const d=new Map(o[i(448)][t][i(337)][i(296)]),f=new Set(u[i(346)]());for(const t of d[i(346)]())f[i(230)](t);this[i(318)](e,f),this[i(398)](e),e=this[i(369)](e),e=this[i(258)](e),e=this[i(203)](e);const{root:m,changes:p}=this[i(418)](e,a,t);c[i(448)][t]=m;const v=l[i(332)](t);if(v){const e=a[i(332)](v[i(302)]),n=new Xt({author:e,type:v[i(186)]?i(391):i(158),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(278)](n),c[i(184)][t][i(257)]=n.id}c[i(216)]=c[i(216)][i(252)](p)}return c}[oe(250)](t,e){const i=oe;for(let n=0;n<t[i(329)];n++)for(const[s,r]of e)!r[i(368)]&&r[i(267)][i(189)](t[n][i(181)])&&t[n][i(446)][i(170)](s),r[i(430)][i(189)](t[n][i(245)])&&t[n][i(204)][i(170)](s)}[oe(269)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(329)]||r<e[i(329)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(170)](o);else if(a[i(428)]&&o[i(154)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(389)](t,s,e,r);n=n[i(252)](o),s=a,r=c}else a[i(428)]?(r++,n[i(170)](a)):(s++,n[i(170)](o))}return n}[oe(318)](t,e){const i=oe,n=[];for(let o=0;o<t[i(329)];o++){for(let r=0;r<t[o][i(446)][i(329)];r++){const a=t[o][i(446)][r];if(!e[i(251)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(202)!=c||i(415)!=u&&i(290)!=u||(n[i(278)]({type:u,name:a,userId:l}),t[o][i(446)][i(384)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(204)][i(329)];r++){const a=t[o][i(204)][r];if(!e[i(251)](a))continue;const{group:c,type:u}=s(a);if(i(202)!=c||i(415)!=u&&i(290)!=u)continue;t[o][i(204)][i(384)](r,1),r--;const l=n[i(411)](t=>t[i(273)]==a);l>-1&&n[i(384)](l,1)}}function s(t){const e=i,n=t[e(427)](":");return{group:n[0],type:n[1],subType:n[e(329)]>=5?n[2]:null,id:n[e(329)]<5?n[2]:n[3],authorId:n[e(329)]<5?n[3]:n[4],markerCount:6==n[e(329)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(329)];i++){if(t[e(154)]&&e(415)==n[i][e(315)]&&t[e(154)][e(302)]==n[i][e(302)])return t[e(262)]=n[i],void delete t[e(154)];if(!t[e(154)]&&!t[e(428)]&&e(290)==n[i][e(315)])return void(t[e(319)]=n[i])}}}[oe(339)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(438)](o.id,n);for(let n=0;n<t[i(329)];n++){if(i(428)==e&&t[n][i(154)]||i(154)==e&&t[n][i(428)])continue;if(i(210)==t[n][i(315)]){t[n][i(237)]=0;continue}const s=r[i(332)](t[n][i(215)]),o=r[i(332)](t[n].id);t[n][i(237)]=s-o}}[oe(147)](t,e,i=!1){const n=oe,s=[];let r=this[n(146)][n(457)](t),o=this[n(146)][n(457)](e);for(-1==o&&(o=this[n(146)][n(212)][n(329)],i=!1);r<o;)s[n(170)](this[n(146)][n(155)](r)),r++;return i&&s[n(170)](this[n(146)][n(155)](r)),s}[oe(389)](t,e,i,n){const s=oe,r=this[s(182)][s(448)][s(300)];let o=e;for(;t[o]&&t[o][s(154)];)o++;let a=n;for(;i[a]&&i[a][s(428)];)a++;u(t,e,o),u(i,n,a);const c=i[s(336)](n,a)[s(252)](t[s(336)](e,o));return c[s(426)]((t,e)=>t[s(401)]!=e[s(401)]?t[s(401)]-e[s(401)]:t[s(395)]!=e[s(395)]?t[s(395)]-e[s(395)]:t[s(237)]!=e[s(237)]?e[s(237)]-t[s(237)]:!!t[s(154)]!=!!e[s(154)]?-1==t[s(401)]||0==t[s(401)]?t[s(154)]?-1:1:t[s(154)]?1:-1:t[s(394)]-e[s(394)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(436)],c=!0;for(let s=e;s<i;s++)if(r[n(223)](t[s][n(345)])||(c=!1),t[s][n(345)][n(435)]<e&&(o=s),t[s][n(345)][n(279)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(401)]=s<=o?-1:s<a?0:1,t[s][n(394)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(237)]?t[i][n(395)]=u:(u++,t[i][n(395)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(401)]&&(t[s][n(395)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(237)]?t[e][n(395)]=u:(u--,t[e][n(395)]=u,u--)}}[oe(398)](t){const e=oe,i=new Map,n=this[e(182)][e(448)][e(300)];for(let s=1;s<t[e(329)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(210)==c[e(315)])continue;if(c[e(315)]!=u[e(315)])continue;if(!n[e(185)](u[e(345)])||n[e(254)](u[e(345)]))continue;if(!n[e(185)](c[e(345)])||n[e(254)](c[e(345)]))continue;if((t[s][e(154)]||t[s][e(262)])&&t[s-1][e(428)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(428)]||!t[s-1][e(154)]&&!t[s-1][e(262)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(395)]==o[e(395)],h=Math[e(326)](r[e(395)])<Math[e(326)](o[e(395)])&&0==o[e(237)];(l||h)&&(i[e(438)](o.id,r.id),t[e(384)](a,1),s--,r[e(154)]=!1)}for(let n=0;n<t[e(329)];n++)i[e(251)](t[n][e(215)])&&(t[n][e(215)]=i[e(332)](t[n][e(215)]))}[oe(369)](t){const e=oe,i=new Set(t[e(286)](t=>t.id));for(let n=0;n<t[e(329)];n++)i[e(251)](t[n][e(215)])||0==t[n][e(237)]||(t[n][e(275)]=!0);return t[e(439)](t=>!t[e(275)])}[oe(258)](t){const e=oe,i=new Set;for(let n=0;n<t[e(329)];n++){if(i[e(251)](t[n].id)&&t[n][e(428)]&&(t[n][e(275)]=!0),t[n][e(275)])continue;if(0==t[n][e(237)])continue;if(e(151)!=t[n][e(315)])continue;if(null==t[n][e(215)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(215)];)e(151)==t[s][e(315)]?r++:e(392)==t[s][e(315)]&&r--,s++;if(0!=r)if(t[n][e(428)])t[n][e(275)]=!0;else for(;s!=n;)t[s][e(428)]&&0!=t[s][e(237)]&&(t[s][e(275)]=!0,i[e(391)](t[s][e(215)])),s--}return t[e(439)](t=>!t[e(275)])}[oe(203)](t){const e=oe,i=this[e(182)][e(448)][e(300)];for(let n=0;n<t[e(329)];n++){if(!(t[n][e(154)]||t[n][e(262)]||t[n][e(428)]||t[n][e(319)]))continue;if(0==t[n][e(237)])continue;const s=t[n][e(345)];i[e(185)](s)||i[e(254)](s)||(t[n][e(154)]&&delete t[n][e(154)],t[n][e(262)]&&delete t[n][e(262)],t[n][e(319)]&&delete t[n][e(319)],t[n][e(428)]&&(t[n][e(275)]=!0))}return t[e(439)](t=>!t[e(275)])}[oe(418)](t,e,i){const n=oe,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(182)][n(448)],c=a[n(300)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(329)];e++)if(n(151)===t[e][n(315)]){t[e][n(181)]=a[n(372)](s,f);const i=new Q.ModelElement(t[e][n(345)][n(273)],t[e][n(345)][n(163)]());u[0][n(376)](i),f[n(170)](0),u[n(278)](i),t[e][n(245)]=a[n(372)](s,f)}else n(392)===t[e][n(315)]?(u[n(310)](),t[e][n(181)]=a[n(372)](s,f),f[n(291)](),f[f[n(329)]-1]++,t[e][n(245)]=a[n(372)](s,f)):(t[e][n(181)]=a[n(372)](s,f),d?d[n(373)]+=t[e][n(345)][n(344)]:d=new Q.ModelText(t[e][n(345)][n(344)],t[e][n(345)][n(163)]()),t[e+1]&&n(210)===t[e+1][n(315)]&&v(d,t[e+1][n(345)])||(u[0][n(376)](d),d=null),f[f[n(329)]-1]+=t[e][n(345)][n(421)],t[e][n(245)]=a[n(372)](s,f));for(let e=0;e<t[n(329)];e++){const i=t[e][n(181)],s=t[e][n(245)];for(const s of t[e][n(446)])o[n(438)](s,{start:i,end:null});m(n(319),e,i,s),m(n(262),e,i,s),m(n(428),e,i,s),m(n(154),e,i,s);for(const i of t[e][n(204)]){const t=o[n(332)](i);t?t[n(430)]=s:o[n(438)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(182)][n(448)][n(176)](e[n(267)],e[n(430)]);s[n(296)][n(438)](t,i)}return r[n(426)]((t,e)=>{const i=n,r=s[i(296)][i(332)](i(402)+t.id),o=s[i(296)][i(332)](i(402)+e.id);return r[i(267)][i(294)](o[i(267)])?-1:r[i(267)][i(263)](o[i(267)])?1:r[i(430)][i(294)](o[i(430)])?-1:r[i(430)][i(263)](o[i(430)])?1:i(391)===t[i(315)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(302)]:null,d=i===t[o(329)]-1,f=h[e][0],m=c[o(149)](t[i][o(345)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(430)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(302)]!==u&&(l[e][o(430)]=s,f&&f[o(302)]===l[e][o(302)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(151)!==t[i][o(315)]||f&&f[o(302)]===u||h[e][o(278)]({userId:u,object:t[i][o(345)],change:l[e]}),o(392)===t[i][o(315)]&&f&&f[o(466)]===t[i][o(345)]&&(h[e][o(310)](),l[e]=f[o(297)])),l[e]&&d&&(l[e][o(430)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(345)],f=a[h(300)][h(185)](d)&&!a[h(300)][h(254)](d),m=t[h(283)]==o[h(280)]&&o[h(192)];if(f&&m)return;const p=a[h(176)](t,o),v=e[h(332)](u),g=new Xt({author:v,type:h(154)==l||h(262)==l?h(391):h(158),data:{isSuggestion:h(262)==l||h(319)==l},createdAt:new Date,rootName:i});r[h(170)](g),s[h(296)][h(438)](h(402)+g.id,p)}function v(t,e){const i=n,s=t[i(163)](),r=e[i(163)]();for(const t of s){if(t[1]!==e[i(463)](t[0]))return!1;r[i(281)]()}return r[i(281)]()[i(306)]}}[oe(194)](){const t=oe;this[t(182)][t(381)][t(461)](t(468))[t(218)]({view:t(201)}),this[t(182)][t(381)][t(461)](t(379))[t(444)]({model:t(201),view:e=>{const i=t,n=e[i(340)][i(427)](":")[1],s=this[i(423)](n);if(!s)return null;const r=i(391)==s[i(315)]?i(415):i(290),o=[i(238),i(217)+r];return s[i(344)][i(455)]&&o[i(170)](i(217)+r+i(284)),this[i(303)]==s&&o[i(170)](i(380)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(182)][t(381)][t(461)](t(468))[t(391)](e=>{const i=t;e.on(i(226),(t,e,n)=>{const s=i,r=e[s(355)][s(414)](0);if(!r||!r.is(s(153),s(295)))return;if(!n[s(437)][s(266)](r,{attributes:[s(410),s(405)]}))return;const o=e[s(378)][s(267)][s(283)];n[s(442)][s(221)](s(410),r[s(463)](s(410)),o),n[s(442)][s(221)](s(405),r[s(463)](s(405)),o)},{priority:i(465)})}),this[t(182)][t(381)][t(461)](t(468))[t(391)](e=>{const i=t;e.on(i(153),(t,e,n)=>{const s=i;if(!n[s(437)][s(266)](e[s(355)],{attributes:[s(410),s(405)]}))return;if(e[s(378)][s(368)])return;const r=e[s(378)][s(267)][s(283)];r[s(211)](s(410))||r[s(211)](s(382))||(n[s(442)][s(221)](s(410),e[s(355)][s(463)](s(410)),r),n[s(442)][s(221)](s(405),e[s(355)][s(463)](s(405)),r))},{priority:i(465)})}),this[t(182)][t(381)][t(461)](t(468))[t(404)]({view:{name:t(460),attributes:{vid:!0}},model:{key:t(382),value:e=>e[t(463)](t(382))}}),this[t(182)][t(448)][t(300)].on(t(145),(e,[,i])=>{const n=t;[n(410),n(405),n(382)][n(166)](i)&&(e[n(450)]=!0,e[n(335)]())},{priority:t(270)}),this[t(182)][t(381)][t(461)](t(348))[t(391)](e=>{const i=t;e.on(i(331),(t,e,n)=>{const s=i;if(" "!=e[s(345)][s(344)]||e[s(345)][s(280)][s(159)]>1)return;if(!n[s(437)][s(266)](e[s(345)],t[s(273)]))return;const r=n[s(442)],o=n[s(249)][s(409)](e[s(227)]);r[s(225)](o,r[s(441)](s(460)))})}),this[t(182)][t(381)][t(461)](t(348))[t(449)]({model:t(201)}),this[t(182)][t(443)][t(432)].on(t(406),function(e){const i=t,n=e[i(349)][i(332)](i(429));return(t,s,r)=>{const o=i,a=s[o(340)][o(427)](":")[1],c=n[o(423)](a);if(!c)return null;const u=o(391)==c[o(315)]?o(427):o(162);if(!r[o(437)][o(244)](s[o(169)],t[o(273)]))return;const l=s[o(169)][o(177)](),h=s[o(169)][o(267)],d=e[o(448)][o(300)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(345)];p=p||d[o(350)](e);const i=r[o(249)][o(362)](e);if(i&&i[o(390)](o(454)))return;o(392)==t[o(315)]&&d[o(185)](e)&&!d[o(254)](e)&&(e[o(385)]||h[o(451)]?f&&f[o(280)]==e||(f=e,g(t[o(181)]),v=!0):m=m||t[o(181)])}function g(t){const e=o,i=r[e(442)][e(445)](e(460),{class:e(217)+u}),a=r[e(249)][e(341)](t);c[e(344)][e(455)]&&r[e(442)][e(219)](e(217)+u+e(284),i),n[e(303)]==c&&r[e(442)][e(219)](e(380),i),r[e(442)][e(347)](a,i),r[e(249)][e(321)](i,s[e(340)])}p||v||!m||g(m)}}(this[t(182)]),{priority:t(292)}),this[t(182)][t(443)][t(432)].on(t(272),(e,i,n)=>{const s=t,r=n[s(249)][s(260)](i[s(340)]);if(r)for(const t of r)(t[s(255)](s(233))||t[s(255)](s(365)))&&(n[s(249)][s(264)](t,i[s(340)]),n[s(442)][s(158)](t))},{priority:t(292)}),this[t(182)][t(443)][t(432)].on(t(406),(e,i,n)=>{const s=t,r=i[s(340)][s(427)](":")[1],o=this[s(423)](r);if(!o)return null;const a=s(391)==o[s(315)]?s(427):s(162);if(n[s(437)][s(244)](i[s(169)],e[s(273)]))for(const t of i[s(169)][s(307)]()){if(!t.is(s(153),s(268)))continue;const e=n[s(442)][s(445)](s(460),{class:s(217)+a}),r=n[s(249)][s(341)](this[s(182)][s(448)][s(422)](t));o[s(344)][s(455)]&&n[s(442)][s(219)](s(217)+a+s(284),e),this[s(303)]==o&&n[s(442)][s(219)](s(380),e),n[s(442)][s(347)](r,e),n[s(249)][s(321)](e,i[s(340)])}},{priority:t(292)}),this[t(182)][t(448)][t(431)].on(t(297),()=>{const e=t;this[e(182)][e(443)][e(364)][e(297)](t=>{const i=e;for(const e of this[i(182)][i(448)][i(431)][i(173)]()){const n=this[i(182)][i(448)][i(431)][i(179)](e),s=this[i(182)][i(443)][i(364)][i(431)][i(179)](e);if(s){const e=n[i(463)](i(257));if(t[i(160)](i(416),s),t[i(190)](i(235),s),t[i(190)](i(304),s),t[i(190)](i(324),s),e){const n=this[i(423)](e);if(!n)return null;t[i(221)](i(416),e,s),t[i(219)](i(198)+n[i(315)],s),this[i(303)]==n&&t[i(219)](i(324),s)}}}})}),this[t(182)][t(381)][t(461)](t(468))[t(218)]({view:t(196),model:e=>t(456)+e,converterPriority:t(270)}),this[t(182)][t(381)][t(461)](t(468))[t(218)]({view:t(458),model:e=>t(322)+e,converterPriority:t(270)}),this[t(182)][t(381)][t(461)](t(348))[t(449)]({model:t(202),view:e=>({name:t(308)+e,group:t(202)}),converterPriority:t(270)}),this[t(182)][t(381)][t(461)](t(379))[t(444)]({model:t(202),view:e=>{const i=t,n=e[i(340)][i(427)](":")[1];return i(415)!=n&&i(290)!=n?null:{classes:[i(387),i(213)+n]}}}),this[t(182)][t(443)][t(432)].on(t(343),ue(this[t(182)],t(162)),{priority:t(292)}),this[t(182)][t(443)][t(432)].on(t(342),ue(this[t(182)],t(427)),{priority:t(292)}),this[t(182)][t(443)][t(432)].on(t(171),(e,i,n)=>{const s=t,r=n[s(249)][s(260)](i[s(340)]);if(r)for(const t of r)t.is(s(400))&&(n[s(249)][s(264)](t,i[s(340)]),n[s(442)][s(158)](t))},{priority:t(292)})}[oe(423)](t){const e=oe;return this[e(232)][e(332)](t)}[oe(287)](t){const e=oe;return this[e(327)]&&this[e(327)][e(407)](),this[e(327)]=new Jt(this[e(182)][e(309)],t),this[e(327)]}[oe(165)](){const t=oe;this[t(182)][t(448)][t(431)][t(333)][t(240)](t(201)),this.on(t(399),(e,i,n,s)=>{const r=t;s&&this[r(180)][r(158)](s),n&&(this[r(180)][r(391)]({view:n,stackId:r(277),position:{target:()=>{const t=r,e=this[t(182)][t(443)],i=this[t(423)](n[t(361)]);let s;if(i[t(344)][t(417)]){const n=e[t(364)][t(231)](i[t(220)]);s=Array[t(424)](n[t(393)]())}else{const i=this[t(182)][t(448)][t(296)][t(332)](t(402)+n[t(361)]);s=Array[t(424)](e[t(249)][t(260)](i[t(273)]))[t(286)](i=>e[t(364)][t(419)][t(242)](i))[t(286)](e=>Array[t(424)](e[t(393)]()))[t(209)]()}return this[t(328)]&&s[t(313)](e=>e[t(299)]-3<=this[t(328)].y&&e[t(274)]+3>=this[t(328)].y&&e[t(241)]-3<=this[t(328)].x&&e[t(156)]+3>=this[t(328)].x)||s[0]}}}),this[r(180)][r(316)](r(277)))}),this.on(t(413),(e,i,n,s)=>{const r=t;this[r(359)]=n?this[r(287)](n):null,this[r(182)][r(448)][r(297)](()=>{const t=r,e=this[t(182)][t(443)];s&&(s[t(344)][t(417)]?e[t(364)][t(297)](i=>{const n=t;i[n(190)](n(324),e[n(364)][n(431)][n(179)](s[n(220)]))}):e[t(188)](t(402)+s.id)),n&&(n[t(344)][t(417)]?e[t(364)][t(297)](i=>{const s=t;i[s(219)](s(324),e[s(364)][s(431)][s(179)](n[s(220)]))}):e[t(188)](t(402)+n.id))})}),this[t(152)](this[t(182)][t(443)][t(364)][t(431)],t(453),(e,i)=>{const n=t;if(this[n(303)])return;const s=this[n(467)](i[n(383)]),r=this[n(232)][n(332)](s);r?(this[n(328)]={x:i[n(323)].x,y:i[n(323)].y},this[n(359)]=this[n(287)](r)):(this[n(328)]=null,this[n(359)]=null)}),this[t(152)](this[t(182)][t(443)][t(364)][t(431)],t(420),(e,i)=>{const n=t,s=this[n(467)](i[n(383)]),r=this[n(232)][n(332)](s);r?(this[n(328)]={x:i[n(323)].x,y:i[n(323)].y},r===this[n(303)]?this[n(180)][n(174)]():this[n(303)]=r):(this[n(328)]=null,this[n(303)]=null)})}[oe(467)](t){const e=oe;do{const i=t[e(463)](e(416));if(i)return i;t=t[e(280)]}while(t);return null}[oe(253)](){const t=oe;this[t(182)][t(448)][t(297)](e=>{const i=t;for(const t of this[i(182)][i(448)][i(296)])e[i(351)](t)})}}function ue(t,e){return(i,n,s)=>{const r=ae;if(!s[r(437)][r(244)](n[r(169)],i[r(273)]))return;const o=n[r(169)][r(177)](),a=n[r(169)][r(267)],c=t[r(448)][r(300)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(345)];h=h||c[r(350)](e);const i=s[r(249)][r(362)](e);if(i&&i[r(390)](r(454)))return;r(392)==t[r(315)]&&c[r(185)](e)&&!c[r(254)](e)&&(e[r(385)]||a[r(451)]?u&&u[r(280)]==e||(u=e,f(t[r(181)]),d=!0):l=l||t[r(181)])}function f(t){const i=r,o=s[i(249)][i(341)](t),a=s[i(442)][i(445)](i(460),{class:i(213)+e});s[i(442)][i(347)](o,a),s[i(249)][i(321)](a,n[i(340)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(349)][e(332)](ce);this[e(433)]=!1,this[e(152)](i,e(425),()=>this[e(462)]()),this[e(152)](i,e(305),()=>this[e(462)]())}[oe(229)](){const t=oe,e=this[t(182)],i=e[t(349)][t(332)](ce),n=i[t(150)]?i[t(208)][t(440)]:null;e[t(358)][t(332)](t(338))[t(397)](n)}[oe(462)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(182)][t(349)][t(332)](ce),r=s&&n[t(356)](s[t(440)]);this[t(222)]=e&&i&&Boolean(r)}}function he(){const t=["unbindElementFromMarkerName","2129780kKLgYA","consume","start","softBreak","_joinTapes","highest","_step","removeMarker:revision","name","bottom","isIncorrect","1642252ADtwrt","revisionHistoryLabel","unshift","endIndex","parent","next","numberOfChanges","nodeAfter","-new","clear","map","_getViewForChange","attributesBefore","indexOf","deletion","pop","high","RevisionsRepository","isBefore","code","markers","change","enqueueChange","top","schema","ck-editor__editable__overlay","userId","activeChange","ck-revision-history-root-remove","change:isEnabled","done","getItems","suggestion:","locale","shift","resolve","isNavigationMode","find","bind","type","showStack","addRoot","_markSuggestions","isRemoveSuggestion","change:numberOfChanges","bindElementToMarker","revision-suggestion:","domEvent","ck-revision-history-root--active","_update","abs","_changeView","_activeViewTarget","length","values","attribute:vid","get","selection","isPremiumPlugin","stop","slice","deletions","revisionHistory","_setDistance","markerName","toViewPosition","addMarker:revision-suggestion:insertion","addMarker:revision-suggestion:deletion","data","item","keys","insert","dataDowncast","plugins","isContent","removeMarker","349014Hyngma","currentChangeNumber","addRevision","viewItem","getLaterVisibleRevision","catch","config","activeView","loadRevisionData","changeId","toViewElement","_processTape","view","ck-suggestion-marker-merge","2owvaQL","createRangeIn","isCollapsed","_removeMissingPairs","RevisionHistoryUtils","revision-viewer","createPositionFromPath","_data","requires","forEach","_appendChild","createRevision","modelRange","editingDowncast","ck-suggestion-marker--active","conversion","vid","target","splice","nextSibling","all","ck-suggestion-preview-marker","_makeModelFromViewString","_threeWayMerge","getCustomProperty","add","elementEnd","getClientRects","index","level","roots","restoreRevisionCallback","_fixObsoleteTags","change:activeView","uiElement","side","revision:","then","elementToAttribute","vid_end","addMarker:revision","destroy","attributesAfter","toViewRange","vid_start","findIndex","diffData","change:activeChange","getChild","insertion","data-change-id","isOnRoot","_makeModelFromTape","domConverter","mousedown","offsetSize","createPositionBefore","_getChangeFromId","from","change:isReady","sort","split","isRemoved","RevisionViewer","end","document","downcastDispatcher","affectsData","_makeTape","startIndex","POSITIVE_INFINITY","consumable","set","filter","newRevisionId","createAttributeElement","writer","editing","markerToHighlight","createUIElement","markersStart","string","model","markerToData","return","isAtEnd","detachRoot","mouseover","addHighlight","isSuggestion","revision-comment:","getIndex","suggestion","first","span","for","refresh","getAttribute","_cleanUp","low","object","_findChangeIdFromDomTarget","upcast","attachChange","checkAttribute","repository","_getRevisionsRange","enableReadOnlyMode","isObject","isReady","elementStart","listenTo","element","isAdded","getRevision","right","showPreviousChange","remove","maxOffset","removeAttribute","getRevisionDocumentData","merge","getAttributes","oldRevisionId","_initInteractions","includes","authors","insertions","markerRange","push","removeMarker:revision-suggestion","startsWith","getRootNames","updatePosition","WidgetToolbarRepository","createRange","getWalker","_setChanges","getRoot","_balloon","previousPosition","editor","391131LgOhpX","attributes","isBlock","isAttached","adapter","reconvertMarker","isEqual","removeClass","232524kiLbEU","isAtStart","restoreRevision","_setConversion","1928kxJyVI","comment","_getDiff","ck-revision-history-root-","_utils","forward","revision","revision-suggestion","_removeUnsupportedChanges","markersEnd","_refreshStartEndIndex","_markInsertions","isOfficialPlugin","diff","flat","text","hasAttribute","_revisions","ck-suggestion-preview-marker-","showNextChange","pairId","changes","ck-suggestion-marker-","dataToMarker","addClass","rootName","setAttribute","isEnabled","isInline","compare","wrap","element:pre","range","commands","execute","delete","getDomRoot","_changeIdToChange","ck-suggestion-marker-split","forceDisabled","ck-revision-history-root-add","_sortAndFilterDiffChanges","distance","ck-suggestion-marker","addRevisionData","observeMarkers","left","mapViewToDom","getRevisionRootsAttributes","test","nextPosition","error","16839lqegNi","pluginName","mapper","_markMarkers","has","concat","_cleanMarkers","isLimit","hasClass","backward","revisionHistoryAttachChange","_markMismatchedRemovedTags","init","markerNameToElements","2057111zqFfgv","isAddSuggestion","isAfter"];return(he=function(){return t})()}class de extends G.Command{[oe(271)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(349)][i(332)](ce);this[i(433)]=!1,this[i(271)]=i(200)===e?1:-1,this[i(152)](n,i(425),()=>this[i(462)]()),this[i(152)](n,i(305),()=>this[i(462)]()),this[i(152)](n,i(413),()=>this[i(462)]())}[oe(229)](){const e=oe,i=this[e(182)],n=i[e(349)][e(332)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(303)]=s?n[e(208)][e(216)][e(332)](r+this[e(271)]):n[e(208)][e(216)][e(459)],n[e(303)][e(344)][e(417)])o=i[e(443)][e(364)][e(231)](n[e(303)][e(220)]);else{const t=i[e(448)][e(296)][e(332)](e(402)+n[e(303)].id);o=(0,K.getMarkerDomElement)(i[e(443)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(462)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(182)][t(349)][t(332)](ce);this[t(222)]=!!(r&&s&&n)&&(!e||(1===this[t(271)]?i<n-1:i>0))}}var fe=i(522),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(){const t=["isEnabled","X_OF_Y_CHANGES","10kLYAuF","span","ck-revision-history-ui__changes-navigation__label","ck-hidden","No changes","execute","isReady","ck-revision-history-ui","220622rkrZjQ","div","isForwardNavigationEnabled","forward","bind","8liAqjc","isNavigationMode","_statusText","isBackwardNavigationEnabled","2725388MnfDUC","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__navigation","Show next change","backward","EDIT_X_OF_Y_REVISIONS","258034kUMdZv","set","4774042mXXjPw","5010444CYvOsG","currentChangeNumber","fire","3JOJbVa","NUMBER_OF_CHANGES","setTemplate","ck-revision-history-ui__changes-navigation__wrapper","bindTemplate","numberOfChanges","3581145DYBEiA","Loading...","_isStatusLabelVisible","Total","Show previous change","10879418slwhdv","5fYqbPB"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=418]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(431199===parseInt(e(423))/1+-parseInt(e(452))/2*(-parseInt(e(429))/3)+parseInt(e(461))/4*(-parseInt(e(441))/5)+parseInt(e(426))/6+-parseInt(e(425))/7*(parseInt(e(457))/8)+-parseInt(e(435))/9+-parseInt(e(444))/10*(-parseInt(e(440))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(433)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(424)](e(458),!1),this[e(424)](e(450),!1),this[e(424)](e(427),0),this[e(424)](e(434),0),this[e(424)](e(454),!1),this[e(424)](e(460),!1),this[e(456)](e(437)).to(this,e(450),this,e(434),(t,e)=>t&&e>0),this[e(456)](e(459)).to(this,e(450),this,e(427),this,e(434),this,e(458),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(436));if(!s)return at(t,o(448));const a=at(t,o(430),s);return r?at(t,o(443),[n+1,s]):a}),n[e(424)]({label:at(t,e(439)),tooltip:!0,icon:_t.IconChevronUp}),s[e(424)]({label:at(t,e(420)),tooltip:!0,icon:_t.IconChevronDown}),n[e(456)](e(442)).to(this,e(460)),s[e(456)](e(442)).to(this,e(454)),n.on(e(449),()=>this[e(428)](e(449),e(421))),s.on(e(449),()=>this[e(428)](e(449),e(455))),this[e(431)]({tag:e(453),attributes:{class:["ck",e(451),e(418)]},children:[{tag:e(445),attributes:{class:[e(432)]},children:[{tag:e(445),attributes:{class:[e(446),i.if(e(437),e(447),t=>!t)]},children:[{text:i.to(e(458),i=>i?at(t,e(422))+": ":at(t,e(438))+": ")}]},{text:i.to(e(459))}]},new It.ToolbarSeparatorView,{tag:e(453),attributes:{class:[e(419)]},children:[n,s]}]})}}var ye=i(418),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;function be(t,e){const i=Ie();return(be=function(t,e){return i[t-=306]})(t,e)}const we=be;!function(t){const e=be,i=t();for(;;)try{if(325873===parseInt(e(306))/1*(parseInt(e(308))/2)+parseInt(e(323))/3*(parseInt(e(327))/4)+-parseInt(e(320))/5+parseInt(e(319))/6*(parseInt(e(322))/7)+-parseInt(e(324))/8*(-parseInt(e(318))/9)+-parseInt(e(307))/10+-parseInt(e(314))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=we(328);function Ie(){const t=["removeClass","3004brNKll","ck-editor__editable__loading-overlay","document","isPremiumPlugin","editing","31BmaRWy","2076460gsyhmS","1106ZFVVVq","isOfficialPlugin","editor","view","pluginName","roots","577478BaVdHp","change","addClass","RevisionViewerLoadingOverlay","1824435hUbwCP","129642GUWtOQ","1266345SePzfQ","show","126VehyWz","111wpcLzf","16PkdaJS","hide"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[we(312)](){return we(317)}static get[we(309)](){return!0}static get[we(330)](){return!0}[we(321)](){const t=we,e=this[t(310)][t(331)][t(311)];e[t(315)](i=>{const n=t;for(const t of e[n(329)][n(313)])i[n(316)](_e,t)})}[we(325)](){const t=we,e=this[t(310)][t(331)][t(311)];e[t(315)](i=>{const n=t;for(const t of e[n(329)][n(313)])i[n(326)](_e,t)})}}const Oe=xe;function Te(){const t=["currentChangeNumber","675428vhVKQY","init","exitToEditing","editor","583688bCJUEa","requires","listenTo","restoreRevision","showNextChange","componentFactory","2425998hJmHyH","forward","RevisionViewerUI","ck-revision-history-ui__back-to-editing","Back to editing","isBackwardNavigationEnabled","closeRevisionViewerCallback","execute","config","bind","add","plugins","8rZMlyp","Restore this revision","get","4105hPjAnf","showPreviousChange","changesNavigation","4427721zDSjfY","commands","isEnabled","1651200McxGMz","hide","numberOfChanges","isReady","change:isReady","6018QdFIMG","revisionHistory","set","show","isOfficialPlugin","isNavigationMode","isPremiumPlugin","pluginName","isForwardNavigationEnabled","731191dJJsDW"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=307]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(502104===parseInt(e(351))/1+parseInt(e(337))/2+-parseInt(e(316))/3+parseInt(e(353))/4+parseInt(e(331))/5*(-parseInt(e(342))/6)+-parseInt(e(310))/7+-parseInt(e(328))/8*(-parseInt(e(334))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(349)](){return Oe(318)}static get[Oe(346)](){return!0}static get[Oe(348)](){return!0}static get[Oe(311)](){return[ce,Se]}[Oe(307)](){const t=Oe,e=this[t(309)],i=e[t(327)][t(330)](ce),n=e[t(327)][t(330)](Se);e.ui[t(315)][t(326)](t(308),i=>{const n=t,s=new It.ButtonView(i);return s[n(344)]({label:at(i,n(320)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(319)}),this[n(312)](s,n(323),()=>{const t=n;e[t(324)][t(330)](t(343))[t(322)]()}),s}),e.ui[t(315)][t(326)](t(313),i=>{const n=t,s=new It.ButtonView(i);return s[n(344)]({label:at(i,n(329)),withText:!0,tooltip:!0}),s[n(325)](n(336)).to(e[n(335)][n(330)](n(313))),this[n(312)](s,n(323),()=>e[n(323)](n(313))),s}),e.ui[t(315)][t(326)](t(333),n=>{const s=t,r=new ge(n),o=e[s(335)][s(330)](s(332)),a=e[s(335)][s(330)](s(314));return r[s(325)](s(321)).to(o,s(336)),r[s(325)](s(350)).to(a,s(336)),r[s(325)](s(340),s(352),s(339),s(347)).to(i),this[s(312)](r,s(323),(t,i)=>{const n=s;e[n(323)](n(317)===i?n(314):n(332))}),r}),n[t(345)](),i.on(t(341),(e,i,s)=>{const r=t;s?n[r(338)]():n[r(345)]()})}}var Ae=i(223),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=De;function Ve(){const t=["destroy","43516asFKhW","8aNVFCa","value","1197540IishRk","72VyGnLp","bindTemplate","ck-revision-history-sidebar__revision-name","Revision name","Enter the revision name","input","_tooltipString","6VtdFTn","_updateTooltipText","scrollWidth","span","set","2741045aYMygz","3890980Souvhu","render","fieldView","extendTemplate","1809535dzBRVg","232408CFgoCt","_resizeObserver","22HCUoVj","element","placeholder","clientWidth","listenTo","1988370kTUnBO","ck-tooltip_multi-line"];return(Ve=function(){return t})()}function De(t,e){const i=Ve();return(De=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(277163===parseInt(e(493))/1+-parseInt(e(503))/2*(parseInt(e(507))/3)+parseInt(e(506))/4+-parseInt(e(487))/5*(parseInt(e(514))/6)+parseInt(e(492))/7*(parseInt(e(504))/8)+-parseInt(e(500))/9+-parseInt(e(488))/10*(-parseInt(e(495))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends It.LabeledFieldView{[Me(494)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(508)];this[i(486)]({label:at(t,i(510)),_tooltipString:""}),this[i(490)][i(497)]=at(t,i(511)),this[i(491)]({tag:i(485),attributes:{class:[i(509)],"data-cke-tooltip-text":n.to(i(513)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(501)}})}[Me(489)](){const e=Me;super[e(489)](),this[e(494)]=new t.ResizeObserver(this[e(490)][e(496)],()=>this[e(515)]()),this[e(499)](this[e(490)],e(512),()=>this[e(515)]())}[Me(502)](){const t=Me;super[t(502)](),this[t(494)]&&this[t(494)][t(502)]()}[Me(515)](){const t=Me,e=this[t(490)][t(496)];this[t(513)]=e[t(516)]>e[t(498)]&&e[t(505)]||""}}var Ce=i(443),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 Pe(t,e){const i=je();return(Pe=function(t,e){return i[t-=231]})(t,e)}function je(){const t=["ck-revision-history-sidebar__revision-author__name","set","ck-revision-history-sidebar__revision-author_creator","Revision creator","0 0 11 10","1557TYouoy","setTemplate","2121016kTtwvm","Revision author","push","span","35372gMwXkO","5848VkTKKV","88196AxjUQd","ck-revision-history-sidebar__revision-author","471Dcqeyp","6oESXpI","name","6529369KnphUy","3007090WQIttY","15381960JBbNqo"];return(je=function(){return t})()}!function(t){const e=Pe,i=t();for(;;)try{if(838181===parseInt(e(235))/1+-parseInt(e(250))/2+parseInt(e(237))/3*(-parseInt(e(233))/4)+parseInt(e(241))/5+-parseInt(e(238))/6*(-parseInt(e(240))/7)+-parseInt(e(234))/8*(-parseInt(e(248))/9)+parseInt(e(242))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends It.View{constructor(t,e,i){const n=Pe;super(t);const s=new It.IconView;s[n(244)]({content:_t.IconUser,viewBox:n(247)});const r=["ck",n(236)];i&&r[n(231)](n(245));const o=[{tag:n(232),attributes:{class:["ck",n(243)],title:at(t,n(i?246:251))},children:[s,e[n(239)]]}];this[n(249)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=223]})(t,e)}function Ue(){var t=["772292UdhbZO","toLocaleTimeString","271870uTpqGH","747306fTnPjN","1148PUSrgL","69120MvcitO","46650KkDEPT","long","numeric","2368Bydcmn","9048sszkPk","6wrFZbI","27yYwmwV","toLocaleDateString"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(111483===parseInt(e(230))/1+parseInt(e(234))/2*(-parseInt(e(236))/3)+-parseInt(e(225))/4+parseInt(e(231))/5+parseInt(e(228))/6+-parseInt(e(229))/7*(-parseInt(e(235))/8)+-parseInt(e(223))/9*(parseInt(e(227))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var He=i(433),We={attributes:{"data-cke":!0}};We.setAttributes=Mt(),We.insert=At().bind(null,"head"),We.domAPI=xt(),We.insertStyleElement=Dt();Ot()(He.A,We);He.A&&He.A.locals&&He.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=238]})(t,e)}function qe(){const t=["bind","set","button","isVisible","change:isActionsDropdownOpen","menu","first","execute","source","panelPosition","Show more items","extendTemplate","class","name","10315HVUeeJ","map","model","1250730UnNsed","buttonView","listView","ck-revision-history-sidebar__revision__actions","1131528uGHOQW","ck-on","stopPropagation","listenTo","1JcCOjw","find","add","270168beyMoq","children","Restore this revision","locale","Compare against selected","isEnabled","isActionsDropdownOpen","7379170KydgJB","function","isOpen","944ilePdA","items","_action","Name this revision","1059230fiDJVV","bindTemplate","147Tbeaxz","5181228oHMTGc","action","menuitem","isReady"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(392950===-parseInt(e(283))/1*(parseInt(e(251))/2)+-parseInt(e(279))/3+-parseInt(e(247))/4*(-parseInt(e(272))/5)+parseInt(e(275))/6+parseInt(e(253))/7*(-parseInt(e(286))/8)+parseInt(e(254))/9+parseInt(e(244))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;function Ye(t,e){const i=Ge();return(Ye=function(t,e){return i[t-=289]})(t,e)}const Je=Ye;function Ge(){const t=["authors","bind","from","220","map","unshift","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","6ZFqVax","value","130xqvucK","srcElement","32463lAktCV","ck-reset","set","creator","ck-revision-history-sidebar__actions_dropdown_open","length","closest","revisionActionsView","isSelected","uiLanguage",".ck-confirm-view","highlight","deselect","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__date","_requireRevisionName","ck-revision-history-sidebar__revision_selected","isHighlighted","render","ck-revision-history-sidebar__revision_highlighted","_revision","listenTo","ck-revision-history-sidebar__revision__controls-wrapper","div","118114EwAFJD","select","isActionsDropdownOpen","ck-disabled","revisionNameView","span","isEnabled","_createdAtFormatted","name","setName","ck-revision-history-sidebar__revision","2141818gFnqHa","isReady","141276exWGJN","change","ck-revision-history-sidebar__revision-authors","element","extendTemplate","40HRvDEI","588904VBnBAF","setTemplate","881258LXDZXS","unhighlight","filter","isConfirm","bindTemplate","fire","createdAt","1367968tegJyp","fieldView"];return(Ge=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(257792===parseInt(e(327))/1+parseInt(e(348))/2+parseInt(e(299))/3*(-parseInt(e(346))/4)+-parseInt(e(345))/5*(parseInt(e(340))/6)+parseInt(e(338))/7+-parseInt(e(290))/8+-parseInt(e(303))/9*(-parseInt(e(301))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(331)];[Je(310)];[Je(323)];[Je(318)];constructor(e,i,n,s){const r=Je;super(e);const o=this[r(352)],a=function(t,e){const i=r,n=Array[i(294)](e[i(292)])[i(350)](t=>t!=e[i(306)]);return e[i(306)]&&n[i(297)](e[i(306)]),n[i(296)](n=>new Le(t,n,n==e[i(306)]))}(e,i);this.id=i.id,this[r(323)]=i,this[r(318)]=s,this[r(293)](r(335),r(289)).to(i),this[r(293)](r(334)).to(this,r(289),t=>{return i=e[r(312)],(n=t)[(s=ze)(224)](i,{month:s(232),day:s(233)})+", "+n[s(226)](i,{hour:s(233),minute:s(233)});var i,n,s}),this[r(305)](r(311),!1),this[r(305)](r(320),!1),this[r(305)](r(329),!1),this[r(305)](r(339),!1),this[r(305)](r(333),!1),this[r(331)]=new Ee(e,It.createLabeledInputText),this[r(331)][r(291)][r(344)]({attributes:{maxlength:r(295)}}),this[r(331)][r(291)][r(293)](r(300)).to(this,r(335),t=>t||this[r(334)]),this[r(331)][r(293)](r(333)).to(this,r(311),this,r(333),(t,e)=>t&&e),this[r(310)]=n&&n[r(308)]?function(e,i){const n=Ze,s=e[n(252)],r=e[n(240)],o=(0,It.createDropdown)(r);o[n(267)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(240)],s={"Compare against selected":at(n,i(241)),"Name this revision":at(n,i(250)),"Restore this revision":at(n,i(239))};return e[i(273)](t=>{const e=i,n=s[t[e(271)]];return n&&n!==t[e(271)]&&(t[e(271)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(260),model:new It.UIModel({label:t[s(271)],class:t[s(270)],withText:!0,role:s(256),_action:t[s(255)]})};i[s(274)][s(258)](s(242)).to(e,s(243),i=>s(245)!=typeof t[s(242)]||!i||t[s(242)](e)),o[s(285)](i)}return o}(e,i);return e[n(258)](n(243)).to(o,n(246)),o[n(276)][n(259)]({label:at(r,n(268)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(269)]({attributes:{class:[n(278),s.if(n(243),n(280))]},on:{click:s.to(t=>t[n(281)]())}}),o.on(n(265),t=>{const i=n;e[i(257)]&&i(245)==typeof t[i(266)][i(249)]&&t[i(266)][i(249)](e)}),(0,It.addListToDropdown)(o,a,{role:n(263)}),o[n(282)](e,n(262),(t,s,r)=>{const a=n;if(r)for(const t of o[a(277)][a(248)]){const n=t[a(238)][a(264)],s=i[a(284)](t=>t[a(255)]===n[a(249)])[a(261)];t[a(261)]=void 0===s||s(e)}}),o}(this,n):"",this[r(310)]&&this[r(310)][r(293)](r(333)).to(this),this[r(347)]({tag:r(326),attributes:{class:["ck",r(304),r(316),o.if(r(351),r(298))]},children:[{tag:r(326),attributes:{class:["ck",r(304),r(337),o.if(r(333),r(330),t=>!t),o.if(r(311),r(319)),o.if(r(320),r(322)),o.if(r(329),r(307))]},children:[this[r(331)],{tag:r(332),attributes:{class:["ck",r(317)]},children:[{text:o.to(r(334))}]},{tag:r(326),attributes:{class:["ck",r(325)]},children:[{tag:"ul",attributes:{class:["ck",r(342)]},children:a}]},this[r(310)]],on:{click:o.to(t=>{const e=r;t[e(302)][e(309)](e(313))||this[e(339)]&&this[e(333)]&&this[e(353)](e(328),{id:this.id})})}}]})}[Je(321)](){const t=Je;super[t(321)]();const e=this[t(331)][t(291)][t(343)];this[t(324)](e,t(341),()=>{const i=t;this[i(318)]&&!e[i(300)]||this[i(353)](i(336),{id:this.id,name:e[i(300)]}),e[i(300)]||(e[i(300)]=this[i(335)]?this[i(335)]:this[i(334)])})}[Je(328)](){this[Je(311)]=!0}[Je(315)](){this[Je(311)]=!1}[Je(314)](){this[Je(320)]=!0}[Je(349)](){this[Je(320)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class ni extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},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 ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Pi extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Pi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(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[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,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 ji={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Ui=new Map;const Hi=new Map;let Wi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Hn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Pi.create(i).valid?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}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&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Hi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Hi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Wi||(Wi=(new Intl.DateTimeFormat).resolvedOptions().locale,Wi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Wi=null,Li.clear(),Ui.clear(),Hi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Qi.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(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,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{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,ys,()=>{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 n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.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 n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Pn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en 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 nn(t,e){if(Dn(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?tn.utcInstance:tn.parseSpecifier(i)||Pi.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Qi.resetCache(),Pi.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Qn(c,e,i)):u>Qn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(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 Mn(t){const e=Cn(t.year),i=Un(t.month,1,12),n=Un(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Pn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Hn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Wn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Qn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Hn(i,2)}:${Hn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Hn(i,2)}${Hn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={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 ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[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 Hn(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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 n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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 n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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 n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Wn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Wn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function Ps(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function js(t,e){return[{},t[e]?Pi.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Us(t){const[e,i,n,s,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(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Hs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ws(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Wn(e)):Wn(e),month:as.indexOf(i)+1,day:Wn(n),hour:Wn(s),minute:Wn(r)};return o&&(a.second=Wn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(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 qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Ws(e,s,n,i,r,o,a);let f;return f=c?Hs[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(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$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Ws(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Ws(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Qs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Xs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,Ps,js),ir=Ss(Ms,Fs,Ps,js),nr=Ss(Vs,Fs,Ps,js),sr=Ss(Fs,Ps,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Ds),cr=Ss(Fs,Ps,js);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 n={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(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Us])}(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 Os(t,[Ls,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 si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.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 ni(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?ws.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 Dn(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+=$n(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)(Ln(e.values,t)||Ln(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]=is(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,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,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,n]of Object.entries(t))0!==n&&(e[i]=n);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={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][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 si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=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,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=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 n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).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&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}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?ws.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=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Pi.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:Pn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["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]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}Object.defineProperty(Or,"name",{value:"default",configurable:!0});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 n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-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])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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,Xn);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(n);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(s);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})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return Dn(t.z)||(i=Pi.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(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),Dn(t.u)||(t.S=qn(t.u)),[Object.keys(t).reduce((e,i)=>{const n=(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 n&&(e[n]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ln(i,"a")&&Ln(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:n,zone:s,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 jr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(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,s))}const zr="Invalid DateTime",Ur=864e13;function Hr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Wr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+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=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Hn(t.c.year,i?6:4),e?(n+="-",n+=Hn(t.c.month),n+="-",n+=Hn(t.c.day)):(n+=Hn(t.c.month),n+=Hn(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Hn(t.c.hour);return e?(o+=":",o+=Hn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Hn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Hn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Hn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Hn(Math.trunc(-t.o/60)),o+=":",o+=Hn(Math.trunc(-t.o%60))):(o+="+",o+=Hn(Math.trunc(t.o/60)),o+=":",o+=Hn(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},no=["year","month","day","hour","minute","second","millisecond"],so=["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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const n=Qi.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.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);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(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||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Hr(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Qi.fromObject(e)}):fo.invalid(Hr(s))}static fromMillis(t,e={}){if(En(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.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||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Un(t.weekNumber,1,Qn(t.weekYear,e,i)),r=Un(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Un(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Qs,ir],[Xs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=jr(t,e,i);return[n,s,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,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Wr(this).weekYear:NaN}get weekNumber(){return this.isValid?Wr(this).weekNumber:NaN}get weekday(){return this.isValid?Wr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(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=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Hr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(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;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){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"===n)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"===n){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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!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 n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);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 n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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 n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}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 si("min requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Qi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Pr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=454]})(t,e)}function vo(){const t=["year","1303906NEpXdF","toRelativeCalendar","fromJSDate","monthLong","local","5344878zyPbZL","minus","6729025aeaHVq","setLocale","startOf","weekdayLong","1128mRbwbn","hasSame","602dFYeWd","3129632OrOAqv","3cCzAMN","week","175725PBRAjj","month","day","toJSDate","506876cvXJhq"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(471)](t)[i(454)](e),s=fo[i(473)](),r=s[i(475)]({days:1})[i(455)](i(465));let o,a;return n[i(458)](s,i(465))?(o=n[i(455)](i(465))[i(466)](),a=n[i(470)]()):n[i(458)](r,i(465))?(o=r[i(466)](),a=n[i(470)]()):n[i(458)](s,i(462))?(o=n[i(455)](i(462))[i(466)](),a=n[i(456)]||""):n[i(458)](s,i(468))?(o=n[i(455)](i(464))[i(466)](),a=n[i(472)]||""):(o=n[i(455)](i(468))[i(466)](),a=String(n[i(468)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(691401===parseInt(e(469))/1+parseInt(e(467))/2*(-parseInt(e(461))/3)+-parseInt(e(460))/4+parseInt(e(476))/5+-parseInt(e(474))/6+-parseInt(e(459))/7*(parseInt(e(457))/8)+-parseInt(e(463))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(4),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;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=187]})(t,e)}function _o(){const t=["1467188RxnAVq","delegate","_revisionActions","locale","8896970msLQSE","remove","6267792noIjoG","addRevision","div","3490bezXIW","5547285pEClIm","revisionViews","createCollection","uiLanguage","startDate","ck-revision-history-sidebar__time-period__label","removeRevision","4711608zYPwhj","15TBtwIE","1084gAedmQ","setTemplate","ck-revision-history-sidebar__time-period__revisions","select","span","add","7ecAakk","localizedPeriodName","find","295270KQsHwA","setName","_requireRevisionName","ck-revision-history-sidebar__time-period"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(980851===parseInt(e(201))/1+parseInt(e(197))/2*(-parseInt(e(187))/3)+parseInt(e(188))/4*(parseInt(e(210))/5)+parseInt(e(218))/6*(parseInt(e(194))/7)+parseInt(e(207))/8+-parseInt(e(211))/9+-parseInt(e(205))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(215)];[bo(212)];[bo(203)];[bo(199)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(204)][s(214)])[s(195)];this[s(215)]=e,this[s(212)]=this[s(213)](),this[s(203)]=i,this[s(199)]=n,this[s(212)][s(202)](s(191)).to(this),this[s(212)][s(202)](s(198)).to(this),this[s(189)]({tag:s(209),attributes:{class:["ck",s(200)]},children:[{tag:s(192),attributes:{class:["ck",s(216)]},children:[{text:r}]},{tag:s(209),attributes:{class:["ck",s(190)]},children:this[s(212)]}]})}[bo(208)](t){const e=bo,i=new Ke(this[e(204)],t,this[e(203)],this[e(199)]);this[e(212)][e(193)](i)}[bo(217)](t){const e=bo,i=this[e(212)][e(196)](e=>e.id===t.id);this[e(212)][e(206)](i)}}var So=i(651),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-=367]})(t,e)}function xo(){const t=["8255248eoEnHc","10636274ddRPxC","ck-reset_all","30LZwBFx","7gQFRHz","ck-revision-history-sidebar__header__label","14446971iTCzPu","15TnsCZh","content","ck-revision-history-sidebar__header","span","setTemplate","4421680qljYWu","4JqdBvP","div","3595824VBxDEQ","597282QJwCAW","321890uNVHxq","Revision history"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(965882===parseInt(e(371))/1*(parseInt(e(367))/2)+-parseInt(e(369))/3+-parseInt(e(385))/4+parseInt(e(380))/5*(parseInt(e(370))/6)+-parseInt(e(377))/7*(-parseInt(e(373))/8)+-parseInt(e(379))/9+-parseInt(e(376))/10*(-parseInt(e(374))/11))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(381)]=_t.IconHistory,this[e(384)]({tag:e(368),attributes:{class:["ck",e(375),e(382)]},children:[i,{tag:e(383),attributes:{class:["ck",e(378)]},children:[at(t,e(372))]}]})}}var Ao=i(812),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(t,e){const i=Vo();return(Mo=function(t,e){return i[t-=353]})(t,e)}function Vo(){const t=["createdAt","fire","revisionViews","763302XiPfNF","unhighlight","set","setTemplate","highlight","get","2BwHaJR","ck-revision-history-sidebar__timeline","setName","_removeRevision","_revisions","flat","ck-rounded-corners","_getTimePeriodViewByStartDate","remove","revisionSetName","deselect","215373RrrOYG","select","ck-revision-history-sidebar","locale","div","63jLzZwv","isEnabled","createCollection","672376TxBUSo","some","selectRevision","_addRevision","highlightRevisions","find","1023396bWmaIK","ck-disabled","render","_requireRevisionName","_revisionActions","21OpiYoN","uiLanguage","revisionSelected","759420EQLCLU","422110NVLATh","timePeriodViews","ck-reset","addRevision","678880JyQiSw","removeRevision","getTime","bindTemplate","startDate","delegate","map","add"];return(Vo=function(){return t})()}const Do=Mo;!function(t){const e=Mo,i=t();for(;;)try{if(279232===parseInt(e(371))/1+-parseInt(e(360))/2*(parseInt(e(354))/3)+parseInt(e(398))/4+parseInt(e(394))/5+-parseInt(e(385))/6*(-parseInt(e(390))/7)+parseInt(e(379))/8+parseInt(e(376))/9*(-parseInt(e(393))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends It.View{[Do(395)];[Do(364)];[Do(389)];[Do(388)];constructor(t,e,i,n){const s=Do;super(t);const r=this[s(401)];this[s(395)]=this[s(378)](),this[s(395)][s(403)](s(372)).to(this),this[s(395)][s(403)](s(362)).to(this),this[s(364)]=e,this[s(389)]=i,this[s(388)]=n,this.on(s(372),(t,e)=>{const i=s;this[i(407)](i(392),e)}),this.on(s(362),(t,e)=>{const i=s;this[i(407)](i(369),e)}),this[s(356)](s(377),!1),this[s(357)]({tag:s(375),attributes:{class:["ck",s(396),s(366),s(373)]},children:[new No(t),{tag:s(375),attributes:{class:["ck",s(361),r.if(s(377),s(386),t=>!t)]},children:this[s(395)]}]})}[Do(387)](){const t=Do;super[t(387)]();for(const e of this[t(364)])this[t(382)](e);this[t(364)].on(t(405),(e,i)=>{this[t(382)](i)}),this[t(364)].on(t(368),(e,i)=>{this[t(363)](i)})}get[Do(353)](){const t=Do;return this[t(395)][t(404)](e=>e[t(353)][t(404)](t=>t))[t(365)]()}[Do(381)](t){const e=Do;for(const i of this[e(353)])t&&t.id===i.id?i[e(372)]():i[e(370)]()}[Do(383)](t){const e=Do;for(const i of this[e(353)])t[e(380)](({id:t})=>t===i.id)?i[e(358)]():i[e(355)]()}[Do(382)](t){const e=Do,i=go(t[e(406)],this[e(374)][e(391)])[e(402)];let n=this[e(395)][e(359)](0);n&&n[e(402)][e(400)]()===i[e(400)]()||(n=new Io(this[e(374)],i,this[e(389)],this[e(388)]),this[e(395)][e(405)](n)),n[e(397)](t)}[Do(363)](t){const e=Do,i=go(t[e(406)],this[e(374)][e(391)])[e(402)];this[e(367)](i)[e(399)](t)}[Do(367)](t){const e=Do;return this[e(395)][e(384)](i=>i[e(402)][e(400)]()===t[e(400)]())}}const Co=Po;!function(t){const e=Po,i=t();for(;;)try{if(782642===parseInt(e(291))/1*(parseInt(e(220))/2)+-parseInt(e(238))/3+parseInt(e(259))/4+-parseInt(e(283))/5+parseInt(e(263))/6+parseInt(e(267))/7*(-parseInt(e(232))/8)+-parseInt(e(278))/9*(-parseInt(e(273))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Fo extends G.Plugin{[Co(245)];[Co(219)];[Co(268)];static[Co(250)]=[Co(241),Co(272),Co(234)];static[Co(285)]=function(){const t=Co;return{compareAgainstSelected:{name:t(276),action:({plugins:e},i)=>{const n=t,s=e[n(216)](ce),r=s[n(269)];let o=s[n(290)][n(247)],a=i.id;r[n(246)](o)>r[n(246)](a)&&([o,a]=[a,o]),s[n(287)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(216)](ce);return!(s[n(269)][n(256)](s[n(290)])[n(281)]>2||i[n(244)])}},restoreRevision:{name:t(229),action:(e,{id:i})=>{const n=t;e[n(254)][n(216)](n(277))[n(266)](i)},isVisible:({plugins:e},i)=>!!e[t(216)](ce)[t(269)][t(274)](i.id)},nameRevision:{name:t(218),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(216)](ce),o=r[s(269)][s(221)](i);r[s(287)](i,o),n[s(236)](),n[s(253)][s(237)]()}}}}();static get[Co(228)](){return Co(284)}static get[Co(260)](){return!0}static get[Co(235)](){return!0}static get[Co(248)](){return[ce]}constructor(t){const e=Co;super(t),this[e(245)]=t[e(257)][e(216)](ce),this[e(219)]=this[e(245)][e(269)],this[e(268)]=null}[Co(280)](){const t=Co,e=this[t(219)][t(212)],i=this[t(293)](),n=this[t(255)][t(254)][t(216)](t(243));this[t(268)]=new Eo(this[t(255)][t(262)],e,i,this[t(255)][t(254)][t(216)](t(261))),this[t(268)].on(t(226),this[t(240)][t(251)](this)),this[t(268)].on(t(258),this[t(223)][t(251)](this)),this[t(268)][t(251)](t(271)).to(this[t(245)]),this[t(268)][t(222)].on(t(215),(e,i)=>{const n=t;i[n(214)].on(n(215),(t,e)=>{const i=n;e[i(251)](i(271),i(264)).to(this[i(245)])})}),this[t(268)][t(217)](),this[t(265)](this[t(255)][t(282)],t(231),this[t(242)][t(251)](this)),this[t(265)](this[t(245)],t(233),this[t(279)][t(251)](this)),n[t(213)](this[t(268)][t(211)])}[Co(286)](){const t=Co;this[t(268)][t(211)][t(230)](),this[t(268)][t(286)]()}[Co(242)](){const t=Co,e=this[t(219)][t(224)](0);if(e){const i=this[t(219)][t(221)](e.id);this[t(245)][t(287)](e,i)}}[Co(240)](t,e){const i=Co,n=this[i(219)][i(224)](e.id),s=this[i(219)][i(221)](n.id);this[i(245)][i(287)](n,s)}[Co(223)](t,e){const i=Co;this[i(219)][i(224)](e.id)[i(292)](e[i(288)])}[Co(279)](t,e,i){const n=Co,s=this[n(219)][n(256)](i);s[n(281)]>2?(this[n(268)][n(270)](s),this[n(268)][n(225)](null)):(this[n(268)][n(270)]([]),this[n(268)][n(225)](s[0]))}[Co(293)](){const t=Co,e=this[t(255)],i=Fo[t(285)],n=e[t(254)][t(216)](t(289))||Fo[t(250)];if(n[t(281)])return n[t(249)](n=>{const s=t,r=s(227)==typeof n?Object[s(252)]({},i[n]):n;return r[s(239)]=r[s(239)][s(251)](this,e),r[s(275)]&&(r[s(275)]=r[s(275)][s(251)](this,e)),r})}}function Po(t,e){const i=jo();return(Po=function(t,e){return i[t-=211]})(t,e)}function jo(){const t=["element","_revisions","appendChild","revisionViews","add","get","render","Name this revision","_revisionsRepository","26UmVyaj","getEarlierVisibleRevision","timePeriodViews","_handleRevisionSetName","getRevision","selectRevision","revisionSelected","string","pluginName","Restore this revision","remove","ready","8wvnKms","change:diff","nameRevision","isPremiumPlugin","focus","select","394323FwddKN","action","_handleRevisionSelected","compareAgainstSelected","_handleEditorDataReady","revisionHistory.viewerSidebarContainer","isSelected","_revisionViewer","getIndex","newRevisionId","requires","map","defaultRevisionActions","bind","assign","fieldView","config","editor","getRevisionsInDiff","plugins","revisionSetName","2733052mQGvLl","isOfficialPlugin","revisionHistory.requireRevisionName","locale","3427314KfgsCA","isReady","listenTo","restoreRevisionCallback","3996559iTGalz","_sidebarView","repository","highlightRevisions","isEnabled","restoreRevision","1997300PVLfwl","getLaterVisibleRevision","isVisible","Compare against selected","revisionHistory","45huScmy","_handleDiffChange","init","length","data","4751145vCxtZy","RevisionsSidebar","availableRevisionActions","destroy","compare","name","revisionHistory.revisionActions","diff","14009ExFngB","setName","_createRevisionActions"];return(jo=function(){return t})()}const Lo=zo;function zo(t,e){const i=Ho();return(zo=function(t,e){return i[t-=376]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(516382===-parseInt(e(386))/1*(-parseInt(e(415))/2)+parseInt(e(420))/3*(-parseInt(e(416))/4)+-parseInt(e(399))/5*(-parseInt(e(409))/6)+parseInt(e(407))/7*(-parseInt(e(411))/8)+-parseInt(e(392))/9*(-parseInt(e(425))/10)+-parseInt(e(394))/11+parseInt(e(418))/12*(parseInt(e(419))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Uo extends It.EditorUI{[Lo(388)];[Lo(421)];[Lo(397)];get[Lo(417)](){return this[Lo(388)]}constructor(e,i){const n=Lo;super(e),this[n(388)]=i,this[n(421)]=(0,It.normalizeToolbarConfig)(e[n(406)][n(404)](n(378))),this[n(397)]=new t.ElementReplacer}get[Lo(424)](){const t=Lo;return this[t(417)][t(424)]}[Lo(389)](t){const e=Lo,i=this[e(383)],n=this[e(417)],s=i[e(381)][e(417)],r=n[e(391)],o=s[e(396)][e(405)]();r[e(401)]=o[e(412)],n[e(377)]();const a=r[e(424)];this[e(410)](r[e(401)],a),n[e(391)][e(395)](e(390)).to(this[e(403)]),s[e(387)](a),this[e(397)][e(393)](t,this[e(424)]),this[e(413)](),this[e(398)](e(408))}[Lo(414)](){const t=Lo;super[t(414)]();const e=this[t(417)],i=this[t(383)][t(381)][t(417)];this[t(397)][t(376)](),i[t(423)](e[t(391)][t(401)]),e[t(414)]()}[Lo(413)](){const t=Lo,e=this[t(417)];e[t(382)][t(395)](t(400)).to(this[t(403)],t(390)),e[t(382)][t(384)]=e[t(424)],e[t(382)][t(395)](t(379)).to(this,t(385),({top:t})=>t),e[t(378)][t(402)](this[t(421)],this[t(380)]),this[t(422)](e[t(378)])}}function Ho(){const t=["render","toolbar","viewportTopOffset","componentFactory","editing","stickyPanel","editor","limiterElement","viewportOffset","646873MLiQUf","attachDomRoot","_view","init","isFocused","editable","1800XRIRaR","replace","10867472ZZjufv","bind","document","_elementReplacer","fire","4606165UePyHS","isActive","name","fillFromConfig","focusTracker","get","getRoot","config","2650039qjwuva","ready","6GDVLik","setEditableElement","16PrHCXh","rootName","_initToolbar","destroy","2VJmVyF","4wLnHby","view","396iSnZvu","382317plSYQz","3021945fOrKcs","_toolbarConfig","addToolbar","detachDomRoot","element","36510WhvCQd","restore"];return(Ho=function(){return t})()}var Wo=i(76),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Wo.A,Zo);Wo.A&&Wo.A.locals&&Wo.A.locals;function qo(t,e){var i=$o();return(qo=function(t,e){return i[t-=174]})(t,e)}function $o(){var t=["14071581ZNGPIX","1541127PUeukM","stickyPanel","toolbar","5592cjhopT","26682DENVFg","_editable","main","top","add","shouldToolbarGroupWhenFull","5895OmbGJs","8edtLbI","editable","60jjnBSt","858558hCzkTN","33084690pDIQdr","render","content","7773696mSflDV"];return($o=function(){return t})()}var Bo=qo;!function(t){for(var e=qo,i=t();;)try{if(827321===-parseInt(e(183))/1+parseInt(e(193))/2*(parseInt(e(182))/3)+parseInt(e(192))/4*(parseInt(e(179))/5)+parseInt(e(187))/6+parseInt(e(189))/7+parseInt(e(180))/8*(parseInt(e(188))/9)+-parseInt(e(184))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[Bo(174)];[Bo(190)];[Bo(191)];get[Bo(181)](){return this[Bo(174)]}constructor(t,e,i={}){var n=Bo;super(t),this[n(190)]=new It.StickyPanelView(t),this[n(191)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(178)]}),this[n(174)]=new It.InlineEditableUIView(t,e)}[Bo(185)](){var t=Bo;super[t(185)](),this[t(190)][t(186)][t(177)](this[t(191)]),this[t(176)][t(177)](this[t(190)]),this[t(175)][t(177)](this[t(181)])}}const Jo=Ko;function Go(){const t=["20tQyION","data","createRoot","model","editing","901434WGFPIs","get","18289678GEefGC","fire","6126704VtliXI","4zUdWyJ","ready","1030DYsXIy","updateSourceElement","config","774eGGAXA","create","init","1446NChOdH","sourceElement","destroy","locale","initialData","initPlugins","document","7079205bpbVxw","128052rVdFNR","_ui","view","6453uKPYkn"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(532798===-parseInt(e(390))/1*(-parseInt(e(387))/2)+parseInt(e(377))/3*(-parseInt(e(382))/4)+parseInt(e(372))/5*(parseInt(e(368))/6)+parseInt(e(367))/7+parseInt(e(381))/8+-parseInt(e(371))/9*(-parseInt(e(384))/10)+-parseInt(e(379))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(369)];get ui(){return this[Jo(369)]}constructor(t,e){const i=Jo;super(e),this[i(391)]=t,this[i(375)][i(366)][i(374)]();const n=new Yo(this[i(393)],this[i(376)][i(370)],{shouldToolbarGroupWhenFull:!0});this[i(369)]=new Uo(this,n)}[Jo(392)](){const t=Jo;return this[t(385)](),this.ui[t(392)](),super[t(392)]()}static async[Jo(388)](t,e){const i=Jo,n=new this(t,e);return await n[i(365)](),await n.ui[i(389)](t),await n[i(373)][i(389)](n[i(386)][i(378)](i(364))||""),n[i(380)](i(383)),n}}const Xo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=355]})(t,e)}function ea(){const t=["8361kWqtlc","indexOf","showRevisionViewerCallback","change","RevisionsRepository","2761mLcJKR","revisionHistory.editorContainer","AIQuickActions","view","lazyRoots","rootName",".ck-ai-chat__prompt-input .ck-textarea","isAnonymous","display","67040NTgOcA","Restored","then","restoreRevision","176aqZRLL","_viewerEditor","getRevisionRootsAttributes","error","selection","removeMarker","12FRPUgB","update","adapter","init","fromCharCode","locale","get","commands","replace","_recalculatePageBreaks","create","detachRoot","revisionHistory.closeRevisionViewerCallback","RevisionViewer","repository","removeAttribute","revisionHistory.restoreRevisionCallback","result","document"," ck-tab-panel_disabled","includes","getRevisions","saveRevision","48EzdBbj","plugins","requires","RevisionHistoryUI","translations","roots","RevisionHistoryUtils","isOfficialPlugin","Annotations","Dialog","toJSON","addRoot","insert","revisionHistory.viewerContainer","parse","RestrictedEditingMode","_update","enqueueChange","disableReadOnlyMode","config","element","querySelector","from","AITranslate","name","push","554605bueEdp","changesNavigation","getAttributeKeys","markers","isEnabled","AIChatHistory","style","class","restrictedEditingException","hide","destroy","getUser","ck-tab-panel_disabled","getRoot","model","revisionHistory","fromVersion","setSelection","closeRevisionViewerCallback","RevisionHistory","isReady","Autosave","toVersion","removeSelectionAttribute","isOpen","addUser","revisionHistory.viewerEditorElement","RevisionTracker","Users","toolbar","keys","3890306uSHvqi","loadRevisionData","set","creator","_cleanUp","isPremiumPlugin","editor","getRevisionDocumentData","toLocaleDateString","_showRevisionViewer","54070cqvqDV","remove","createRangeIn","revision-history-viewer-opened","isRevisionViewerOpen","pluginName","DocumentOutline","uiLanguage","getRevision","define","_enhanceShowRevisionViewerCallback","revision-history-missing-configuration","getMarkersGroup","save","AIActions","tabindex","createdAt","346806qGHCaG","_closeRevisionViewer","AIReviewMode","exitToEditing","map","bind","_restoreRevision","numeric","catch","DocumentOutlineUI","end","1061186LGUqof","AIBalloon","refreshPositioning",".ck-ai-chat-history .ck-input","isReadOnly","AIChat","has","revisionHistory.showRevisionViewerCallback","RevisionViewerIntegration","_getRevisionViewerEditorConfig","AIChatShortcuts","AITabs","toLocaleTimeString","revisionHistory.requireRevisionName","isAttached","setAttribute","users","long","addRevisionData","join","enableReadOnlyMode","PaginationLookup","refreshVisibility","data","panelViews","$graveyard","block","_enhanceCloseRevisionViewerCallback","none"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(787267===parseInt(e(407))/1+-parseInt(e(450))/2+parseInt(e(396))/3*(-parseInt(e(460))/4)+-parseInt(e(509))/5*(-parseInt(e(483))/6)+parseInt(e(369))/7+-parseInt(e(454))/8*(-parseInt(e(436))/9)+parseInt(e(379))/10*(-parseInt(e(441))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Xo(486),Xo(498),Xo(412),Xo(398),Xo(408),Xo(443),Xo(393),Xo(417),Xo(506)];class na extends G.Plugin{[Xo(477)];static get[Xo(384)](){return Xo(415)}static get[Xo(490)](){return!0}static get[Xo(374)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(400)](t=>String[e(464)](t))[e(426)]("")}super(t),this[e(477)]=e(406),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 sa extends G.Plugin{[Xo(455)];static get[Xo(384)](){return Xo(357)}static get[Xo(490)](){return!0}static get[Xo(374)](){return!0}static get[Xo(485)](){return[vt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(375)][i(502)][i(466)](i(524)))throw new t.CKEditorError(i(390),this);this[i(455)]=null,this[i(371)](i(383),!1),this[i(375)][i(502)][i(388)](i(414),t=>this[i(378)]({...t,translations:this[i(375)][i(465)][i(487)]})),this[i(375)][i(502)][i(388)](i(472),t=>this[i(397)](t)),this[i(375)][i(502)][i(388)](i(476),t=>this[i(402)](t)),this[i(375)][i(502)][i(388)](i(420),!1),this[i(389)](),this[i(434)]()}set[Xo(462)](t){const e=Xo;this[e(375)][e(484)][e(466)](e(365))[e(462)]=t}get[Xo(462)](){const t=Xo;return this[t(375)][t(484)][t(466)](t(365))[t(462)]}[Xo(425)](t){const e=Xo;return this[e(375)][e(484)][e(466)](e(365))[e(425)](t)}[Xo(387)](t){const e=Xo;return this[e(375)][e(484)][e(466)](e(440))[e(387)](t)}[Xo(481)](t){const e=Xo;return this[e(375)][e(484)][e(466)](e(440))[e(481)](t||{toJSON:!1})}[Xo(416)](){const e=Xo,i=this[e(375)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(484)][e(466)](e(365)),r=i[e(484)][e(466)](e(366))[e(423)];return n[e(367)]=[e(399),e(453),e(510)],delete n[e(445)],n[e(484)][e(508)](na,ce,Ne,class extends G.Plugin{static get[e(485)](){return[ce,e(366)]}[e(463)](){const n=e,o=this[n(375)][n(484)][n(466)](n(366));for(const t of r)t[n(448)]||o[n(520)](t.id)||o[n(363)](t);const a=s[n(474)][n(481)]();let c=null;const u=this[n(375)][n(484)][n(466)](n(473));u[n(462)]=s[n(462)],u[n(401)](n(513)).to(s),this[n(375)][n(467)][n(466)](n(453))[n(401)](n(513)).to(i,n(411),t=>!t);for(const e of a){const i=null===e[n(372)];if(i&&e[n(360)]===e[n(525)])continue;const r=e[n(493)]();u[n(425)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(499)](r,o);else if(!o){const e=a[u(493)]();e.id=(0,t.uid)(),s[u(482)](e,a[u(360)])[u(452)](t=>{c=t})}}else e[u(499)](r,o)})}}},Fo),n}[Xo(389)](){const t=Xo,e=this[t(375)][t(502)][t(466)](t(524))[t(438)];this[t(375)][t(502)][t(371)](t(414),async()=>{const i=t;this[i(375)][i(427)](i(382));const n=this[i(375)][i(484)][i(466)](i(365));if(this[i(375)][i(484)][i(413)](i(359))){const t=this[i(375)][i(484)][i(466)](i(359));await t[i(392)]()}else await n[i(461)]();if(this[i(375)][i(484)][i(413)](i(428))&&this[i(375)][i(484)][i(466)](i(428))[i(469)](),this[i(375)][i(484)][i(413)](i(492))){const t=this[i(375)][i(484)][i(466)](i(492));t[i(362)]&&t[i(518)]()}if(this[i(375)][i(484)][i(413)](i(418))){const t=this[i(375)][i(484)][i(466)](i(418))[i(444)][i(431)];for(const e of t)e[i(516)]=e[i(516)]?e[i(516)]+i(479):i(521);if(this[i(375)][i(484)][i(413)](i(412))){const t=document[i(504)](i(447));t&&t[i(422)](i(394),"-1")}if(this[i(375)][i(484)][i(413)](i(514))){const t=document[i(504)](i(410));t&&t[i(422)](i(394),"-1")}}const s=this[i(416)]();return e(s)[i(452)](t=>{const e=i;return this[e(455)]=t,this[e(375)][e(484)][e(413)](e(491))&&this[e(375)][e(484)][e(466)](e(491))[e(429)](),this[e(375)][e(484)][e(413)](e(385))&&(this[e(375)][e(484)][e(466)](e(405))[e(444)][e(503)][e(515)][e(449)]=e(435)),t})[i(404)](t=>(console[i(457)](t),this[i(375)][i(501)](i(382)),null))})}[Xo(434)](){const t=Xo,e=this[t(375)][t(502)][t(466)](t(524))[t(356)];this[t(375)][t(502)][t(371)](t(472),()=>{const i=t;if(this[i(375)][i(484)][i(413)](i(428))&&this[i(375)][i(484)][i(466)](i(428))[i(469)](),this[i(375)][i(484)][i(413)](i(385))&&(this[i(375)][i(484)][i(466)](i(405))[i(444)][i(503)][i(515)][i(449)]=""),this[i(375)][i(484)][i(413)](i(418))){const t=this[i(375)][i(484)][i(466)](i(418))[i(444)][i(431)];for(const e of t)e[i(516)]=i(521)===e[i(516)]?"":e[i(516)][i(468)](i(479),"");if(this[i(375)][i(484)][i(413)](i(412))){const t=document[i(504)](i(447));t&&t[i(475)](i(394))}if(this[i(375)][i(484)][i(413)](i(514))){const t=document[i(504)](i(410));t&&t[i(475)](i(394))}}return this[i(455)][i(484)][i(466)](i(473))[i(373)](),e(this[i(455)])[i(452)](()=>{const t=i;if(this[t(375)][t(501)](t(382)),this[t(455)]=null,this[t(375)][t(484)][t(413)](t(491))){const e=this[t(375)][t(484)][t(466)](t(491));e[t(429)](),e[t(409)]()}})})}[Xo(378)](t){const e=Xo,i=this[e(375)][e(502)][e(466)](e(442)),n=this[e(375)][e(502)][e(466)](e(496)),s=this[e(375)][e(502)][e(466)](e(364));return Qo[e(470)](s,t)[e(452)](t=>(n[e(515)][e(449)]=e(433),i[e(515)][e(449)]=e(435),this[e(383)]=!0,t))}[Xo(397)](t){const e=Xo,i=this[e(375)][e(502)][e(466)](e(442));return this[e(375)][e(502)][e(466)](e(496))[e(515)][e(449)]=e(435),i[e(515)][e(449)]="",this[e(383)]=!1,t[e(519)]()}async[Xo(402)](t){const e=Xo,i=this[e(375)],n=this[e(455)][e(484)][e(466)](e(473)),s=i[e(484)][e(466)](e(365)),r=i[e(484)][e(466)](e(489)),o=n[e(474)][e(387)](t);let a,c,u;try{await r[e(370)](o,this[e(462)]),a=r[e(376)](o),c=r[e(456)](o)}catch(t){return void console[e(457)](t)}i[e(523)][e(439)](t=>{const n=e;for(const e of Array[n(505)](i[n(523)][n(512)][n(391)](n(517))))t[n(459)](e)}),n[e(358)]=!1,i[e(523)][e(500)](t=>{const n=e;t[n(355)](null),t[n(361)](i[n(523)][n(478)][n(458)][n(511)]());const s=Object[n(368)](a);for(const e of i[n(523)][n(478)][n(488)])n(432)!=e[n(446)]&&e[n(421)]()&&!s[n(480)](e[n(446)])&&t[n(471)](e);for(const e of s){let s=i[n(523)][n(478)][n(522)](e);s&&s[n(421)]()||(s=t[n(494)](e));const r=c[e],o=Object[n(368)](r),u=a[e];for(const e of s[n(511)]())o[n(480)](e)||t[n(475)](e,s);for(const i of o)t[n(422)](i,c[e][i],s);t[n(380)](t[n(381)](s)),t[n(495)](i[n(430)][n(497)](u,s),s,0)}});const l=at(i[e(465)],e(451));return u=o[e(507)]?-1==o[e(507)][e(437)](l)?l+": "+o[e(507)]:o[e(507)]:l+": "+o[e(395)][e(377)](i[e(465)][e(386)],{month:e(424),day:e(403)})+", "+o[e(395)][e(419)](i[e(465)][e(386)],{hour:e(403),minute:e(403)}),await s[e(482)]({name:u}),n[e(358)]=!0,i[e(502)][e(466)](e(524))[e(356)]()}}function ra(){var t=["11026968QyjRFM","2472790mLCvvP","653405QZKKMY","262325PfXYXO","84ygIjqp","325041TwyPRG","4641988lsGcyM","3159840epDMXp"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=370]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(623655===parseInt(e(377))/1+parseInt(e(376))/2+parseInt(e(372))/3+parseInt(e(373))/4+-parseInt(e(374))/5+parseInt(e(371))/6*(-parseInt(e(370))/7)+-parseInt(e(375))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();