@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250709.0 → 0.0.0-nightly-20250710.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  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-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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-thread__remove-confirm{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-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-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},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},262: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)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},433: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}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},545: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)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673: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}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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}},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:()=>ue,RevisionViewerEditor:()=>Ko,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 V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function P(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let 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 U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(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])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(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}}function $(){const t=["6863521jmPapD","createdAt","attributes","34beHbTh","toVersion","64865UouTDb","72oGIQZO","setAttribute","removeAttribute","toJSON","setName","name","set","12697520Yuntae","_update","308OPgyLN","map","model","6PvZedo","1152680hJFzBc","creatorId","fire","7114352JvwZai","fromVersion","diffData","2861088MxUlDY","14162KskQhE","creator","authorsIds","authors"];return($=function(){return t})()}const B=Y;function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=467]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(609364===parseInt(e(473))/1*(parseInt(e(496))/2)+-parseInt(e(495))/3+-parseInt(e(485))/4*(-parseInt(e(475))/5)+-parseInt(e(488))/6*(-parseInt(e(470))/7)+-parseInt(e(492))/8+parseInt(e(476))/9*(-parseInt(e(489))/10)+parseInt(e(483))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[B(467)];[B(469)];[B(494)];[B(474)];[B(493)];[B(487)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(467)]=e[i(467)]||null,this[i(469)]=e[i(469)]||[],this[i(494)]=e[i(494)]||null,this[i(474)]=e[i(474)]||0,this[i(493)]=e[i(493)]||0,this[i(482)](i(481),e[i(481)]||""),this[i(482)](i(471),e[i(471)]||new Date),this[i(482)](i(472),e[i(472)]||{})}[B(480)](t){this[B(484)]({name:t})}[B(477)](t,e){const i=B,n=R(this[i(472)]);U(n,t,e),this[i(484)]({attributes:n})}[B(478)](t){const e=B,i=R(this[e(472)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(484)]({attributes:i})}[B(484)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(481),i(471),i(494),i(469),i(472),i(474),i(493),i(490)];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(469)]&&(s[i(468)]=s[i(469)][i(486)](t=>t.id),delete s[i(469)]),this[i(491)](i(484),s,e))}[B(479)](){const t=B;return{id:this.id,name:this[t(481)],creatorId:this[t(467)]?this[t(467)].id:null,authorsIds:this[t(469)][t(486)](t=>t.id),diffData:this[t(494)],createdAt:this[t(471)],attributes:this[t(472)],fromVersion:this[t(493)],toVersion:this[t(474)]}}}var G=i(782),K=i(211),X=i(783);function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=240]})(t,e)}function tt(){const t=["Users","10300320AtZlfY","from","pluginName","getLaterVisibleRevision","toVersion","_revisions","push","getRevisionsInDiff","fromCharCode","toJSON","name","getIndex","length","join","106125SKPGRG","5WJiGYU","getRevisions","creatorId","isNaN","authorsIds","1456nAaGww","requires","plugins","later","newRevisionId","1944Hxqnga","editor","map","863270DzTSuB","getEarlierVisibleRevision","36PXaalD","oldRevisionId","diffData","getRevisionsIterator","data","add","1542318cKVZYW","attributes","isPremiumPlugin","href","isOfficialPlugin","RevisionsRepository","earlier","get","getUser","addRevision","reverse","afterInit","6096762cgsDah","createRevision","fromVersion","getRevision","2838456qqkHFJ","createdAt"];return(tt=function(){return t})()}const et=Q;!function(t){const e=Q,i=t();for(;;)try{if(559327===parseInt(e(274))/1+parseInt(e(276))/2*(-parseInt(e(260))/3)+parseInt(e(243))/4+parseInt(e(261))/5*(-parseInt(e(282))/6)+parseInt(e(294))/7+parseInt(e(266))/8*(parseInt(e(271))/9)+-parseInt(e(246))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[et(251)];static get[et(267)](){return[K.Users]}static get[et(248)](){return et(287)}static get[et(286)](){return!0}static get[et(284)](){return!0}get[et(258)](){const t=et;return this[t(251)][t(258)]}constructor(e){const i=et;super(e),this[i(251)]=new t.Collection}[et(293)](){!async function(e){const i=k([56,65,122,50,82,87,72,98,52,100,118,78,73,107,105,53,70,75,111,119,110,104,86,121,71,80,68,49,77,85,113,81,76,88,69,83,120,74,101,109,102,117,99,106,66,55,79,112,90,89,115,57,108,114,54,84,48,116,51,103,97,67]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(264)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([65]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(273)](t=>String[e(254)](t))[e(259)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1752019200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(285)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[et(240)](t){const e=et,i=this[e(272)][e(268)][e(289)](e(245));return new J({id:t.id,name:t[e(256)],creator:t[e(263)]?i[e(290)](t[e(263)]):null,diffData:t[e(278)]||t[e(280)],authors:t[e(265)][e(273)](t=>i[e(290)](t)),createdAt:new Date(t[e(244)]),attributes:t[e(283)],fromVersion:t[e(241)],toVersion:t[e(250)]})}[et(291)](t,e=0){const i=et;this[i(251)][i(281)](t,e)}[et(242)](t){const e=et;return this[e(251)][e(289)](t)}[et(262)](t={toJSON:!1}){const e=et,i=Array[e(247)](this[e(251)]);return i[e(292)](),t[e(255)]?i[e(273)](t=>t[e(255)]()):i}[et(257)](t){const e=et;return this[e(251)][e(257)](t)}[et(275)](t){const e=et,[,i]=this[e(279)](t,{direction:e(288)});return i}[et(249)](t){const e=et,[,i]=this[e(279)](t,{direction:e(269)});return i}[et(253)](t){const e=et,i=[];for(const n of this[e(279)](t[e(270)]))if(i[e(252)](n),n.id===t[e(277)])break;return i}*[et(279)](t,{direction:e=et(288),filter:i=()=>!0}={}){const n=et,s=n(288)===e?1:-1;let r=this[n(251)][n(289)](t),o=this[n(257)](r);for(yield r;r;){if(o+=s,r=this[n(242)](o),!r)return;i(r)&&(yield r)}}}const nt=rt;function st(){const t=["domConverter","createElement","domChildrenToView","fillerOffset","isPremiumPlugin","viewChildrenToDom","processor","_removeRevisionMarkers","htmlProcessor","151615NVWjaF","_makeModelFromViewString","revision-end","184wVknca","_getViewFromDiffObj","isOfficialPlugin","_appendChild","1675113nZriro","useFillerType","5613986SRFnuC","diffData","parse","forEach","8853552fANYyI","_getTypeCharForViewElement","RevisionHistoryUtils","getRevisionDocumentData","editor","children","length","collaboration.channelId","revision-start","childNodes","6FPRhpX","isAttached","7955568rdOKWa","_typeCharToViewClass","37744220cVEYlS","loadRevisionData","default","getRevisionRootsAttributes","string","insertions","from","attributes","pluginName","getRevision","customProperties","_setCustomProperty","type","get","editing","data-revision-","_viewClassToTypeChar","document","attributesAfter","innerHTML","config","startsWith","view","map","getFillerOffset","filter","render","constructor","name","data","div","298646ERYcDK","attachChange","marked","toData","toModel","7eqhzqE","domDocument","append"];return(st=function(){return t})()}function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=240]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(716498===-parseInt(e(245))/1*(parseInt(e(240))/2)+parseInt(e(264))/3+parseInt(e(260))/4*(-parseInt(e(257))/5)+-parseInt(e(280))/6*(-parseInt(e(266))/7)+-parseInt(e(282))/8+-parseInt(e(270))/9+parseInt(e(284))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[nt(292)](){return nt(272)}static get[nt(262)](){return!0}static get[nt(252)](){return!0}[nt(300)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(283)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(285)](t,e){const i=nt;if(t[i(267)]||!e)return;const n=this[i(274)][i(304)][i(297)](i(277)),s=await e[i(293)]({channelId:n,revisionId:t.id});t[i(267)]=s[i(267)]}[nt(273)](t){const e=nt,i={};for(const n in t[e(267)]){if(t[e(267)][n][e(241)]&&!t[e(267)][n][e(241)][e(281)])continue;const s=this[e(255)](JSON[e(268)](t[e(267)][n][e(289)])),r=this[e(274)][e(298)][e(306)][e(301)],o=new X.ViewDocumentFragment(r,s[e(307)](t=>this[e(261)](t,!1)));this[e(274)][e(313)][e(254)][e(265)](e(242)),i[n]=this[e(274)][e(313)][e(254)][e(243)](o),this[e(274)][e(313)][e(254)][e(265)](e(286))}return i}[nt(287)](t){const e=nt,i={};for(const n in t[e(267)])t[e(267)][n][e(241)]&&!t[e(267)][n][e(241)][e(281)]||(i[n]=t[e(267)][n][e(302)]||{});return i}[nt(271)](t){const e=nt;return this[e(300)][e(297)](t[e(311)])}[nt(261)](t,e){const i=nt,n=this[i(274)][i(298)][i(306)][i(301)];if(i(288)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(296)]||"r"==t[i(296)]?[]:t[i(275)][i(307)](t=>this[i(261)](t,e));const o=this[i(283)][i(297)](t[i(296)])||X.ViewElement,a=this[i(274)][i(313)][i(256)][i(248)];if(s=new o(n,t[i(312)],t[i(291)],r),"u"==t[i(296)]&&t[i(275)][0]){const r=t[i(275)][0];if(s[i(310)]=function(t){const e=i,n=t[e(249)](e(314));return n[e(303)]=r,n[e(279)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(263)](s);const e=Array[i(290)](a[i(253)](t,{bind:!1})),r=a[i(246)][i(249)](i(314));r[i(247)](...e),s=Array[i(290)](a[i(250)](r))[0]}}else if("r"==t[i(296)]&&t[i(275)][0]){const r=t[i(275)][0];if(s[i(310)]=function(t){t[i(303)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(263)](s);const e=Array[i(290)](a[i(253)](t,{bind:!1})),r=a[i(246)][i(249)](i(314));r[i(247)](...e);const o=Array[i(290)](a[i(250)](r));o[i(276)]>1?s[i(263)](o):s=o[0]}}if(t[i(294)])for(const[e,n]of t[i(294)])s[i(295)](e,n);const c=void 0===t[i(251)]?null:t[i(251)];return null!==c&&(s[i(308)]=()=>c),s}}[nt(258)](t){const e=nt,i=JSON[e(268)](t),n=this[e(274)][e(298)][e(306)][e(301)],s=new X.ViewDocumentFragment(n,i[e(307)](t=>this[e(261)](t,!0)));return this[e(274)][e(313)][e(244)](s)}[nt(255)](t){const e=nt;return(t=t[e(309)](t=>!t[e(312)]||e(278)!==t[e(312)]&&e(259)!==t[e(312)]))[e(269)](t=>{const i=e;i(288)!=typeof t&&(t[i(275)]=this[i(255)](t[i(275)]),t[i(291)]=t[i(291)][i(309)](t=>!t[0][i(305)](i(299))))}),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=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=395]})(t,e)}function pt(){const t=["attributesBefore","getLatestVersion","howMany","shift","sort","vid_end","document","getUser","_getBaseVids","_makeModelFromViewString","upcast","_markChanges","authorsIds","rootName","text","isAttached","initialData","marker","start","12CzfkrZ","insertionPosition","nodes","values","_bufferUpdate","domDocument","isEqual","setSource","insert","getChild","conversion","_lastFrom","8173XnrwcK","getRevisionRootsAttributes","getRevision","_baseIdsRoots","markerToData","getAttribute","key","_idsRoots","_handleOperation","_getVidAttributeName","affectsData","_revisionId","repository","removeRootAttribute","splitPosition","getChildren","getCustomProperties","getTransformedByOperation","sourcePosition","bind","usageLimit","_startingVersion","fromEntries","markers","revisionHistoryLicenseKeyValid","revisionHistoryLicenseKeyExpired","getOperation","resolve","createRange","30249neXQqh","_initialRevisionId","stringify","RevisionTracker","position","revision","Empty document","_authorId","filter","startsWith","requires","evaluationLimit","_saveMetaData","_createCurrentRevision","_startingRevisionId","_showLicenseError","length","get","createRevision","_touchedMarkers","trialLimit","_getFromVersion","_removeMetaData","element","662077UJXNVg","_getTypeCharForViewElement","RevisionsRepository","_createInitialRevision","$comment","createdAt","map","_fixPosition","_getViewJson","roots","_handleMergeOperation","max","RevisionHistory","_loadState","_bufferedUpdates","keepParagraph","data","_loadedStateData","find","PENDING_ACTION_REVISION_HISTORY","_clone","_execute","452LYPrDH","domainLimit","fromVersion","_generateTape","_prepareViewToSave","oldRange","createPositionAt","parent","isOfficialPlugin","type","outerHTML","_lastTo","includes","revisionHistory.resumeUnsavedRevision","_getState","loadState","size","initial","_utils","render","_findInsertionIndex","$text","rootsAttributes","_touchedRoots","paragraph","reInit","toView","deletion","getRevisionDocumentData","_revisionDataBuilder","offsetSize","addRevisionData","adapter","licenseKey","root","nodeAfter","NEGATIVE_INFINITY","creator","createPositionBefore","finally","clear","getCurrentRevisionId","_processRootBeforeSave","_setConversion","authors","string","add","_createFromRanges","fillerOffset","for","_fixRange","name","delete","changeRootAttribute","reinsert","pluginName","define","revisionHistoryLicenseKeyUsageLimit","getAncestors","updateRevisions","sendBufferedUpdates","some","deletions","customProperties","2676TmKYal","getRootNames","targetPosition","from","getRange","loadRevisionData","collaboration.channelId","addRoot","_isInit","stickiness","getRoot","getAttributes","_copyMarkers","8DmQbWS","4607523kRXFHR","afterInit","$graveyard","newRange","newValue","featureNotAllowed","addRevision","merge","createPositionFromPath","_source","_reset","dataToMarker","getData","history","detachRoot","getRevisions","_transformMarkers","model","ready","tableCell","revision:","range","5095Icvvse","offset","_isPendingUpdate","editor-initial-data-replaced-with-revision-data","addRootAttribute","_diffRoots","item","isPremiumPlugin","isReady","_diffRootsAttributes","_handleMarkerOperation","_addPendingAction","_fixOperation","_makeIdsRoot","_appendChild","2315156CdMkvZ","push","destroy","isAdd","expired","keys","invalid","setRevisionData","domConverter","_insertChild","_removePendingAction","_handleInsertOperation","_handleMoveOperation","revisionHistoryLicenseKeyInvalid","_setAttribute","getWalker","set","_replaceEditorDataWithRevisionData","plugins","isEnabled","getTime","toVersion","getOperations","remove","attributesAfter","currentRevision","getNodeByPath","_makeRevision","getFillerOffset","createPositionAfter","documentFragment","_continueCurrentRevision","init","_licenseKeyCheckInterval","rawElement","_handleRootOperation","childCount","slice","revisionHistoryLicenseKeyTrialLimit","_operations","dataDowncast","previousPosition","Users","Initial revision","then","uiElement","insertions","revisionHistoryLicenseKeyDomainLimit","trim","version","_handleRootAttributeOperation","source","_calculateMetaData","_applyOperations","_savedMetaData","locale","has","editor","path","htmlProcessor","13480LpabpB","end","graveyardPosition","update","insertion","_baseRoots","buildRevisionData","elementEnd","baseVersion","move","_baseRootsAttributes","1XNCFJc","PendingActions","config","8729273KYhxwz","_getPreviousFrom","revisionHistoryLicenseKeyNotAllowed","vid","_cloneOperation","_touched","elementStart","getMovedRangeStart","hasContent","getIndex","innerHTML","saveRevision","creatorId","createElement","RevisionHistoryUtils","vid_start","children","RealTimeCollaborationClient","userId","_handleSplitOperation","_pendingAction","split","clone","reverse","_markers","createRangeIn","_isAttached","diffData","revisionHistoryLicenseKeyEvaluationLimit","attachChange","_update"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(753676===parseInt(e(428))/1*(-parseInt(e(683))/2)+-parseInt(e(522))/3*(-parseInt(e(568))/4)+parseInt(e(668))/5*(parseInt(e(632))/6)+-parseInt(e(431))/7+-parseInt(e(645))/8*(-parseInt(e(646))/9)+-parseInt(e(417))/10*(-parseInt(e(493))/11)+parseInt(e(481))/12*(parseInt(e(546))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(601)];[ft(716)];[ft(708)]=null;[ft(505)];[ft(600)]=null;[ft(597)];[ft(655)];[ft(523)];[ft(560)];[ft(586)];[ft(451)];[ft(714)];[ft(514)];[ft(563)];static get[ft(623)](){return ft(525)}static get[ft(576)](){return!0}static get[ft(675)](){return!0}static get[ft(532)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(505)]=this[i(414)][i(701)][i(539)](i(548)),this[i(586)]=this[i(414)][i(701)][i(539)](i(445)),this[i(597)]=new gt(this[i(414)]),this[i(523)]=this[i(414)][i(430)][i(539)](i(638))||i(585),this[i(560)]=new Map,this[i(563)]=null;const n=(0,t.uid)();this[i(655)]={history:this[i(414)][i(663)][i(468)][i(659)],getLatestVersion:()=>Promise[i(520)](this[i(414)][i(663)][i(468)][i(406)]),getCurrentRevisionId:()=>n},this[i(699)](i(676),!1),this[i(699)](i(702),!0),this[i(699)](i(670),!1),this[i(414)][i(430)][i(624)](i(581),!0),this[i(414)][i(491)][i(617)](i(472))[i(657)]({view:i(527)})}[ft(715)](){const t=ft;this[t(611)](),this[t(414)][t(562)].on(t(664),()=>{const e=t,i=this[e(505)][e(495)](0),n=i&&null===i[e(605)]?i:null;if(this[e(714)]=!!n&&this[e(414)][e(430)][e(539)](e(581)),this[e(414)][e(701)][e(413)](e(448))){const t=this[e(655)][e(609)](),s=this[e(505)][e(495)](t);if(s)this[e(514)]=s[e(570)],this[e(714)]=!1;else{const t=this[e(655)][e(659)][e(396)][e(564)](t=>!t[e(640)]),s=t?t[e(425)]:this[e(655)][e(659)][e(406)];i?(i[e(704)]<s&&i[e(461)]({toVersion:s}),this[e(714)]?(this[e(655)][e(609)]=()=>n.id,this[e(514)]=n[e(570)]):(this[e(514)]=i[e(704)],this[e(714)]=!1)):(this[e(514)]=s,this[e(714)]=!1)}}else n&&(this[e(414)][e(663)][e(468)][e(659)][e(406)]=Math[e(557)](n[e(704)],this[e(414)][e(663)][e(468)][e(659)][e(406)]),n[e(570)]===n[e(704)]?(0!==n[e(570)]&&(this[e(655)][e(609)]=()=>n.id),this[e(714)]=!1):this[e(714)]&&(this[e(655)][e(609)]=()=>n.id,this[e(514)]=n[e(570)])),this[e(714)]||(this[e(514)]=this[e(414)][e(663)][e(468)][e(406)]);this[e(597)][e(715)](this[e(655)][e(659)]),this[e(549)](this[e(514)]),this[e(535)](this[e(514)]),this[e(600)]&&this[e(628)]()}),this[t(512)](t(676)).to(this,t(670),t=>!t),this[t(601)]=this[t(414)][t(430)][t(539)](t(601));const e=this[t(414)];this[t(716)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(517)==r||i(696)==r||i(518)==r||i(404)==r||i(433)==r||i(459)==r||i(395)==r||i(625)==r){delete e[s],n=r,clearInterval(this[i(716)]),this[i(716)]=void 0;break}}i(696)==n&&e[i(537)](i(689)),i(518)==n&&e[i(537)](i(687)),i(404)==n&&e[i(537)](i(569)),i(433)==n&&e[i(537)](i(651),i(558)),i(459)==n&&e[i(537)](i(533)),i(395)==n&&e[i(537)](i(542)),i(625)==n&&e[i(537)](i(513))},1e3)}async[ft(647)](){const t=ft;if(this[t(505)][t(538)]>0){const e=this[t(505)][t(495)](0),i=await this[t(596)](e),n=await this[t(494)](e);this[t(700)](i,n)}}[ft(685)](){const t=ft;super[t(685)](),this[t(716)]&&clearInterval(this[t(716)])}[ft(488)](t){this[ft(655)]=t}async[ft(420)](){const t=ft,e=await this[t(655)][t(463)]();if(e>this[t(708)][t(704)]){await this[t(559)]();const i=this[t(423)]({revision:this[t(708)],to:e});i[t(612)]=i[t(474)][t(552)](e=>this[t(414)][t(701)][t(539)](t(399))[t(469)](e)),this[t(708)][t(461)](i)}}async[ft(442)](e={},i=null){const n=ft,s=[];await this[n(559)](),this[n(714)]=!1,i>this[n(708)][n(704)]&&(i=null),null===i&&(i=await this[n(655)][n(463)]());const r=this[n(543)](i),o=this[n(423)]({from:r,to:i});if(this[n(708)][n(704)]<i){const t=this[n(423)]({revision:this[n(708)],from:i,to:i});t[n(612)]=[],t[n(474)]=[],t.id=this[n(708)].id,this[n(708)][n(461)](t,!0),delete t[n(612)],s[n(684)](t)}e[n(443)]=this[n(414)][n(701)][n(539)](n(399)).me.id,e[n(619)]=e[n(619)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(599)](e);s[n(684)](e);const c=this[n(505)][n(440)](a);if(0!==c){const t=this[n(505)][n(495)](c-1);if(t[n(570)]!==i){const r=this[n(597)][n(658)](i,t[n(704)]),o={id:t.id,diffData:r[n(458)],authorsIds:r[n(474)],authors:r[n(474)][n(552)](t=>this[n(414)][n(701)][n(539)](n(399))[n(469)](t)),fromVersion:i};t===this[n(708)]&&(o[n(551)]=new Date(e[n(551)][n(703)]()+10)),t[n(461)](o,!0),delete o[n(612)],s[n(684)](o)}}if(this[n(600)]){for(const t of s)this[n(485)](t.id,t,!0);this[n(628)]()}return a}[ft(599)](t){const e=ft,i=this[e(505)][e(540)](t);return this[e(600)]&&i.on(e(461),(t,i,n)=>{const s=e;n||(this[s(485)](i.id,i,!0),this[s(628)]())}),this[e(505)][e(652)](i,this[e(588)](i)),i}async[ft(596)](t){const e=ft;return await this[e(586)][e(637)](t,this[e(600)]),this[e(586)][e(596)](t)}async[ft(494)](t){const e=ft;return await this[e(586)][e(637)](t,this[e(600)]),this[e(586)][e(494)](t)}[ft(628)](){const t=ft;if(0===this[t(560)][t(584)])return;if(this[t(670)])return;let e=Array[t(635)](this[t(560)][t(484)]());this[t(560)][t(608)]();for(let i=0;i<e[t(538)];i++){const n=e[i];let s=!1;for(const e of Object[t(688)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(530)](t=>null!==t),!e[t(538)])return;for(let i=0;i<e[t(538)];i++){const n=e[i];void 0!==n[t(570)]&&void 0===n[t(704)]&&(n[t(704)]=this[t(505)][t(495)](n.id)[t(704)]),void 0!==n[t(704)]&&void 0===n[t(570)]&&(n[t(570)]=this[t(505)][t(495)](n.id)[t(570)])}const i=this[t(414)][t(430)][t(539)](t(638));this[t(670)]=!0,this[t(679)](),this[t(600)][t(627)](e,i)[t(607)](()=>{this[t(670)]=!1})[t(401)](e=>{const i=t;if(e)for(const t of e)this[i(690)]({id:t.id,createdAt:t[i(551)]});this[i(693)](),this[i(628)]()})}[ft(423)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(570)],i=null!==i?i:t[n(704)];const s=this[n(597)][n(658)](e,i),r={diffData:s[n(458)],authorsIds:s[n(474)],fromVersion:e,toVersion:i};if(!t||i!==t[n(704)]){const t=i-1,e=this[n(655)][n(659)][n(519)](t);r[n(551)]=e&&e[n(551)]||new Date}if(this[n(563)]&&e===this[n(563)][n(570)])for(const t of this[n(563)][n(612)])r[n(474)][n(580)](t.id)||r[n(474)][n(684)](t.id);return r}[ft(485)](t,e,i){const n=ft;if(this[n(560)][n(413)](t)){const s=this[n(560)][n(539)](t);e=i?{...s,...e}:{...e,...s}}this[n(560)][n(699)](t,e)}[ft(690)](t){const e=ft,i=this[e(505)][e(495)](t.id);if(t[e(551)]&&(t[e(551)]=new Date(t[e(551)])),t[e(474)]){const i=this[e(414)][e(701)][e(539)](e(399));t[e(612)]=t[e(474)][e(552)](t=>i[e(469)](t))}i[e(461)](t,!0)}[ft(549)](t){const e=ft,i=this[e(505)][e(495)](this[e(505)][e(538)]-1);if(i)this[e(523)]=i.id;else{const i=!this[e(414)][e(663)][e(468)][e(555)][e(564)](t=>this[e(414)][e(663)][e(439)](t)),n=this[e(414)][e(701)][e(539)](e(399)).me.id,s=at(this[e(414)][e(412)],e(i?528:400));this[e(710)]({from:t,to:t,id:this[e(523)],name:s,creatorId:n})}}[ft(535)](t){const e=ft,i=this[e(655)][e(609)]();this[e(708)]=this[e(505)][e(495)](i),this[e(708)]||(this[e(708)]=this[e(710)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(559)](){const t=ft;this[t(714)]&&!this[t(563)]&&(await this[t(586)][t(637)](this[t(708)],this[t(600)]),this[t(597)][t(583)](this[t(708)]),this[t(563)]={fromVersion:this[t(708)][t(570)],authors:this[t(708)][t(612)][t(720)]()})}[ft(700)](e,i){const n=ft;let s=this[n(414)][n(430)][n(539)](n(478)),r=this[n(414)][n(430)][n(539)](n(590));if(void 0===s){s={};for(const t of this[n(414)][n(663)][n(468)][n(633)]())s[t]=""}if(n(613)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(414)][n(663)][n(468)][n(633)]())r[t]={}}let o=!1;const a=Object[n(688)](s),c=Object[n(688)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(405)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(688)](r[t])[n(538)]>0){o=!0;break}}o||(o=c[n(629)](t=>!this[n(414)][n(663)][n(468)][n(642)](t))),o&&(0,t.logWarning)(n(671),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(414)][n(430)][n(699)](n(478),e),this[n(414)][n(430)][n(699)](n(590),i)}[ft(679)](){const t=ft;if(!this[t(451)]){const e=this[t(414)][t(701)][t(539)](t(429));this[t(451)]=e[t(614)](at(this[t(414)][t(412)],t(565)))}}[ft(693)](){const t=ft;this[t(451)]&&(this[t(414)][t(701)][t(539)](t(429))[t(706)](this[t(451)]),this[t(451)]=null)}[ft(588)](t){const e=ft,i=this[e(505)][e(661)]();i[e(454)]();let n=0;for(;n<i[e(538)];){const s=i[n];if(s===this[e(708)]){n++;continue}if(s.id===this[e(523)])break;const r=t[e(704)]-s[e(704)]||t[e(570)]-s[e(570)];if(r>0)break;if(r<0)n++;else{if(!t[e(605)]&&s[e(605)])break;if(s[e(605)]||!t[e(605)]){if(t[e(551)]>s[e(551)])break;n++}else n++}}return n}[ft(543)](t){const e=ft,i=this[e(505)][e(661)]();i[e(454)](),i[e(465)]();const n=i[e(564)](i=>i[e(704)]<=t)[e(704)];return n<this[e(514)]?this[e(514)]:n}[ft(710)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(423)]({from:e,to:i});o[r(619)]=t,o[r(443)]=n,o.id=s;const a=this[r(599)](o);return this[r(600)]&&this[r(485)](o.id,o,!0),a}[ft(611)](){const t=ft;this[t(414)][t(491)][t(617)](t(397))[t(497)]({model:t(527)})}}class gt{[ft(414)];[ft(408)];[ft(411)];[ft(492)];[ft(579)];[ft(455)];[ft(673)];[ft(677)];[ft(422)];[ft(427)];[ft(500)];[ft(496)];[ft(436)];[ft(541)];[ft(591)];[ft(504)];[ft(536)];constructor(t){const e=ft;this[e(414)]=t,this[e(411)]=new Map,this[e(492)]=-1,this[e(579)]=-1,this[e(455)]=new Map,this[e(673)]=new Map,this[e(677)]=new Map,this[e(422)]=new Map,this[e(427)]=new Map,this[e(500)]=new Map,this[e(496)]=new Map,this[e(436)]=new Map,this[e(541)]=new Map,this[e(591)]=new Map,this[e(504)]=1}[ft(715)](t){const e=ft;this[e(408)]=t;const i=new Map,n=new Map,s=this[e(414)][e(663)][e(468)][e(555)][e(552)](t=>t[e(475)]);for(const t of s){const s=this[e(414)][e(663)][e(468)][e(642)](t),r=yt(s);i[e(699)](t,r),n[e(699)](t,Object[e(515)](s[e(643)]()))}const r=Array[e(635)](this[e(414)][e(663)][e(516)])[e(552)](t=>[t[e(619)],t[e(636)]()]),o=this[e(408)][e(406)];this[e(534)](o,i,r,n),this[e(536)]=this[e(504)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(699)](t,i),c[e(699)](t,{})}this[e(534)](Number[e(604)],a,[],c)}[ft(658)](t,e){const i=ft;if(this[i(492)]===t&&this[i(579)]<=e)this[i(411)][i(584)]>1&&this[i(544)](this[i(579)]),this[i(410)](this[i(579)],e,!0);else{if(!this[i(411)][i(413)](t)){const e=this[i(432)](t);this[i(409)](e,t,!1)}this[i(409)](t,e,!0)}return this[i(492)]=t,this[i(579)]=e,this[i(582)]()}[ft(583)](t){const e=ft,i=this[e(414)][e(701)][e(539)](e(445));this[e(656)](),this[e(492)]=t[e(570)],this[e(579)]=t[e(704)];for(const n in t[e(458)]){const s=t[e(458)][n][e(460)],r=R(t[e(458)][n][e(462)])||{},o=i[e(471)](t[e(458)][n][e(630)]);o[e(475)]=n,o[e(457)]=!s||!s[e(477)],o[e(477)]=()=>o[e(457)],this[e(422)][e(699)](n,o),this[e(427)][e(699)](n,r),s&&this[e(591)][e(699)](n,s);const a=this[e(681)](o);this[e(496)][e(699)](n,a);for(const[t,i]of o[e(516)]){if(!t[e(531)](e(666)))continue;const n=t[e(452)](":")[2];for(const t of i[e(698)]({singleCharacters:!0})){const i=this[e(502)](t),s=e(424)==t[e(577)]?t[e(398)][e(415)][e(720)](0,-1):t[e(398)][e(415)],r=a[e(709)](s)[e(498)](i);this[e(436)][e(699)](r,{userId:n})}}}this[e(536)]=this[e(504)];const n=[...Array(this[e(504)])[e(688)]()][e(720)](1)[e(530)](t=>!this[e(436)][e(413)](t));let s=0;const r=new Map;for(const o in t[e(458)]){const a=t[e(458)][o][e(460)],c=R(t[e(458)][o][e(707)])||{},u=i[e(471)](t[e(458)][o][e(403)]);u[e(475)]=o,u[e(457)]=!a||a[e(477)],u[e(477)]=()=>u[e(457)],this[e(673)][e(699)](o,u),this[e(677)][e(699)](o,c);const l=this[e(681)](u,Number[e(604)]);this[e(500)][e(699)](o,l),r[e(699)](o,u[e(477)]()?c:{});for(const[t,i]of u[e(516)]){if(!t[e(531)](e(666)))continue;const n=t[e(452)](":")[2];for(const t of i[e(698)]({singleCharacters:!0})){const i=this[e(502)](t),s=this[e(504)]++,r=e(424)==t[e(577)]?t[e(398)][e(415)][e(720)](0,-1):t[e(398)][e(415)];l[e(709)](r)[e(697)](i,s),this[e(436)][e(699)](s,{userId:n})}}for(const t of this[e(414)][e(663)][e(456)](u)[e(698)]({singleCharacters:!0})){const i=this[e(502)](t),r=e(424)==t[e(577)]?t[e(398)][e(415)][e(720)](0,-1):t[e(398)][e(415)],o=l[e(709)](r);o[e(498)](i)>0||o[e(697)](i,n[s++])}for(const[t,i]of u[e(516)])t[e(531)](e(666))||this[e(455)][e(699)](t,i)}const o=kt(e(648));this[e(422)][e(699)](e(648),o),this[e(496)][e(699)](e(648),this[e(681)](o,1));const a=kt(e(648));this[e(673)][e(699)](e(648),a),this[e(500)][e(699)](e(648),this[e(681)](a,1));const c=Array[e(635)](this[e(673)])[e(552)](([t,e])=>[t,yt(e)]);this[e(534)](this[e(579)],c,this[e(455)],r)}[ft(593)](){const t=ft;this[t(656)](),this[t(492)]=-1,this[t(579)]=-1,this[t(411)][t(608)](),this[t(715)](this[t(408)])}[ft(534)](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(699)](t,{start:e[s(480)][s(453)](),end:e[s(418)][s(453)](),rootName:e[s(602)][s(475)]});this[s(411)][s(699)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(544)](t){const e=ft;this[e(411)][e(620)](t)}[ft(656)](){const t=ft;this[t(436)][t(608)](),this[t(541)][t(608)](),this[t(591)][t(608)](),this[t(673)][t(608)](),this[t(677)][t(608)](),this[t(422)][t(608)](),this[t(427)][t(608)](),this[t(500)][t(608)](),this[t(496)][t(608)](),this[t(455)][t(608)](),this[t(504)]=1,this[t(536)]=this[t(504)]}[ft(681)](t,e=null){const i=ft;let n=null;t.is(i(713))||(n=new X.ModelElement(t[i(619)],{vid_start:null===e?this[i(504)]++:e++}));const s=[];for(const n of t[i(508)]())if(n.is(i(545))){s[i(684)](this[i(681)](n,e));const t=s[s[i(538)]-1];null!==e&&(e=t.is(i(545),i(589))?t[i(498)](i(434))+1:t[i(498)](i(467))+1)}else for(let t=0;t<n[i(598)];t++)s[i(684)](new X.ModelElement(i(589),{vid:null===e?this[i(504)]++:e++}));if(t.is(i(713))){const e=kt(t[i(475)]);return e[i(692)](0,s),e}return n[i(697)](i(467),null===e?this[i(504)]++:e++),n[i(692)](0,s),n}[ft(409)](t,e,i){const n=ft;this[n(656)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(411)][n(539)](t);this[n(422)]=new Map(s),this[n(427)]=new Map(R(o));for(const[t,e]of this[n(422)])if(n(648)!==t&&(this[n(673)][n(699)](t,yt(e)),this[n(677)]=new Map(R(o)),i)){const i=this[n(504)];this[n(500)][n(699)](t,this[n(681)](e)),this[n(496)][n(699)](t,this[n(681)](e,i))}this[n(536)]=this[n(504)],this[n(673)][n(699)](n(648),yt(this[n(422)][n(539)](n(648)))),i&&this[n(500)][n(699)](n(648),this[n(681)](this[n(422)][n(539)](n(648))));for(const[t,e]of r){const i=this[n(422)][n(539)](e[n(475)]),s=this[n(673)][n(539)](e[n(475)]),r=new X.ModelRange(this[n(553)](e[n(480)],i),this[n(553)](e[n(418)],i)),o=this[n(618)](r,s);i[n(516)][n(699)](t,r),this[n(455)][n(699)](t,o)}this[n(410)](t,e,i)}[ft(410)](t,e,i){const n=ft;for(const s of this[n(408)][n(705)](t,e))this[n(501)](s,i);for(const t of this[n(673)][n(484)]())t[n(516)][n(608)]();for(const[t,e]of this[n(455)])this[n(673)][n(539)](e[n(602)][n(475)])[n(516)][n(699)](t,e[n(453)]());const s=new Map,r=new Map;for(const[t,e]of this[n(673)])s[n(699)](t,yt(e)),r[n(699)](t,this[n(677)][n(539)](t));this[n(534)](e,s,this[n(455)],r)}[ft(432)](t){const e=ft,i=Array[e(635)](this[e(411)][e(688)]());i[e(466)]((t,e)=>t-e),i[e(454)]();for(const e of i)if(e<t)return e;return Number[e(604)]}[ft(644)](t,e){const i=ft,n=Array[i(635)](e[i(516)])[i(552)](([e,n])=>[e,this[i(618)](n,t)]);t[i(516)]=new Map(n)}[ft(662)](t){const e=ft;for(const i of this[e(455)][e(484)]()){const n=i[e(510)](t),s=X.ModelRange[e(615)](n);i[e(480)]=s[e(480)],i[e(418)]=s[e(418)]}}[ft(501)](t,e){const i=ft;if(i(639)!=t[i(577)]&&i(660)!=t[i(577)]){if(i(489)==t[i(577)]){const n=t[i(526)][i(602)][i(475)];this[i(673)][i(413)](n)||(this[i(673)][i(699)](n,kt(n,!0)),this[i(677)][i(699)](n,{}),e&&this[i(500)][i(699)](n,kt(n,!0)))}else{if(i(672)==t[i(577)]||i(506)==t[i(577)]||i(621)==t[i(577)])return void this[i(407)](t);i(479)==t[i(577)]&&this[i(678)](t)}if(i(479)!==t[i(577)]){const e=this[i(435)](t,this[i(673)]);e[i(567)](),this[i(662)](e)}if(e)switch(t[i(577)]){case i(489):this[i(694)](t);break;case i(426):case i(706):case i(622):this[i(695)](t);break;case i(653):this[i(556)](t);break;case i(452):this[i(450)](t)}}else this[i(718)](t,e)}[ft(435)](t,e){const i=ft,n=t[i(453)]();return n[i(529)]=t[i(529)],this[i(680)](n,e),n}[ft(470)](t){const e=ft;return t[e(552)](t=>{const i=e,n=this[i(502)](t);return Number(t[i(674)][i(498)](n))})}[ft(571)](t,e){const i=ft;if(t.is(i(545),i(589)))e[i(684)]({item:t,type:i(476)});else{t.is(i(545))&&e[i(684)]({item:t,type:i(437)});for(const n of t[i(508)]())this[i(571)](n,e);t.is(i(545))&&e[i(684)]({item:t,type:i(424)})}return e}[ft(582)](){const t=ft,e=new Map(this[t(436)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(422)][t(688)](),...this[t(673)][t(688)]()]);a[t(620)](t(648));for(const e of a){const i=this[t(673)][t(539)](e)||kt(e,!1),n=this[t(422)][t(539)](e)||kt(e,!1);i[t(477)]()||n[t(477)]()?(s[t(403)][e]=yt(i),s[t(630)][e]=yt(n),this[t(644)](s[t(630)][e],n),this[t(644)](s[t(403)][e],i),r[t(403)][e]=this[t(571)](this[t(500)][t(539)](e),[]),r[t(630)][e]=this[t(571)](this[t(496)][t(539)](e)||kt(e,!1),[])):a[t(620)](e)}for(const s of a){const o=r[t(403)][s];for(const s of o){const r=this[t(502)](s),o=s[t(674)][t(498)](r);i[t(620)](o),o>=this[t(536)]&&n[t(699)](o,e[t(539)](o))}}for(const s of a){const a=r[t(403)][s],c=this[t(470)](r[t(630)][s]);let u=0;for(const s of a){const r=this[t(502)](s),a=s[t(674)][t(498)](r);if(!n[t(413)](a)&&!o[t(413)](a))if(i[t(413)](a))u++;else{if(a!=c[u]){const n=e[t(539)](a)||e[t(539)](c[u]);for(;a!=c[u];)i[t(413)](c[u])||(o[t(699)](c[u],n),e[t(699)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(403)][e];for(const e of s){const s=this[t(502)](e),r=e[t(674)][t(498)](s);if(o[t(413)](r)){const e=o[t(539)](r);i[t(413)](r)||i[t(699)](r,{...e}),n[t(699)](r,{...e})}}}for(const e of i[t(688)]())e>=this[t(536)]&&i[t(620)](e);const c=new Map;for(const e of a){let s=r[t(403)][e];for(const e of s)if(e[t(674)].is(t(545),t(665))){const i=this[t(502)](e),s=e[t(674)][t(498)](i);if(n[t(413)](s)){const i=e[t(674)][t(575)][t(575)][t(498)](t(446)),r=c[t(539)](i)||new Set;r[t(614)](n[t(539)](s)[t(449)]),c[t(699)](i,r)}}s=r[t(630)][e];for(const e of s)if(e[t(674)].is(t(545),t(665))){const n=this[t(502)](e),s=e[t(674)][t(498)](n);if(i[t(413)](s)){const n=e[t(674)][t(575)][t(575)][t(498)](t(446)),r=c[t(539)](n)||new Set;r[t(614)](i[t(539)](s)[t(449)]),c[t(699)](n,r)}}for(const e of c[t(688)]())(n[t(413)](e)||i[t(413)](e))&&c[t(620)](e)}for(const e of a){const s=r[t(403)][e];let o=null,a=null;for(const e of s){const s=this[t(502)](e),r=e[t(674)][t(498)](s),u=c[t(539)](r);u&&t(437)==e[t(577)]&&(o=Array[t(635)](u)[0],a=e[t(674)][t(498)](t(467))),o&&(i[t(699)](r,{userId:o}),n[t(699)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(630)][e],a=s[t(403)][e];for(const{userId:e}of this[t(541)][t(484)]())null!==e&&l[t(614)](e);for(const{userId:e}of this[t(591)][t(484)]())null!==e&&l[t(614)](e);this[t(473)](a,r[t(403)][e],n,t(421),l),this[t(473)](o,r[t(630)][e],i,t(595),l),u[e]={insertions:this[t(572)](a),deletions:this[t(572)](o),attachChange:this[t(591)][t(539)](e)||null,attributesBefore:R(this[t(427)][t(539)](e))||{},attributesAfter:R(this[t(677)][t(539)](e))}}return{diffData:u,authorsIds:Array[t(635)](l)}}[ft(610)](t){const e=ft;for(const[,i]of t[e(516)]){const t=i[e(480)][e(626)]()[e(530)](t=>e(665)==t[e(619)]);for(const i of t)1==i[e(719)]&&i[e(490)](0).is(e(545),e(592))&&i[e(490)](0)[e(697)](e(561),!0)}}[ft(572)](t){const e=ft;this[e(610)](t);const i=this[e(414)][e(562)][e(594)](t,{}),n=Array[e(635)](i[e(508)]())[e(552)](t=>this[e(554)](t));return JSON[e(524)](n)}[ft(554)](t){const e=ft;if(t.is(e(589)))return t[e(562)];{const i=this[e(414)][e(701)][e(539)](e(445)),n=t,s=this[e(414)][e(562)][e(416)][e(691)],r={type:i[e(547)](n),name:n[e(619)],attributes:Array[e(635)](n[e(643)]()),children:Array[e(635)](n[e(508)]())[e(552)](t=>this[e(554)](t))};if(t.is(e(402))&&e(550)!=t[e(619)]){const i=t[e(587)](s[e(486)],s);r[e(447)][e(684)](i[e(578)])}else if(t.is(e(717))){const i=s[e(486)][e(444)](n[e(619)]);t[e(587)](i,s),r[e(447)][e(684)](i[e(441)])}const o=Array[e(635)](n[e(509)]());o[e(538)]>0&&(r[e(631)]=o);const a=n[e(711)]();return null!==a&&(r[e(616)]=a),r}}[ft(473)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(414)][r(663)];for(let n=0;n<e[r(538)];n++){const s=this[r(502)](e[n]),c=e[n][r(674)][r(498)](s),h=i[r(539)](c),d=n==e[r(538)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(449)]!=o[r(449)])&&(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(449)],d=l(666)+n+":"+h+":"+c++,f=u[l(521)](i,a);t[l(516)][l(699)](d,f),null!==h&&s[l(614)](h)}}[ft(502)](t){const e=ft;switch(t[e(577)]){case e(437):return e(446);case e(424):return e(467);default:return e(434)}}[ft(680)](t,e){const i=ft;t[i(425)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(539)](s[i(602)][i(475)]);t[n]=this[i(553)](s,r)}if(s instanceof X.ModelRange){const r=e[i(539)](s[i(602)][i(475)]);t[n]=this[i(618)](s,r)}i(602)===n&&(t[i(602)]=e[i(539)](t[i(602)][i(475)]))}}[ft(618)](t,e){const i=ft;return this[i(414)][i(663)][i(521)](this[i(553)](t[i(480)],e),this[i(553)](t[i(418)],e))}[ft(553)](t,e){const i=ft;return this[i(414)][i(663)][i(654)](e,t[i(415)],t[i(641)])}[ft(694)](t){const e=ft,i=this[e(500)][e(539)](t[e(526)][e(602)][e(475)]),n=this[e(553)](t[e(526)],i),s=null===t[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,r=n[e(575)],o=this[e(504)],a=[];for(const i of t[e(483)])if(i.is(e(545)))a[e(684)](this[e(681)](i));else for(let t=0;t<i[e(598)];t++)a[e(684)](new X.ModelElement(e(589),{vid:this[e(504)]++}));const c=this[e(504)];for(let t=o;t<c;t++)this[e(436)][e(699)](t,{userId:s});r[e(692)](n[e(669)],a)}[ft(695)](t){const e=ft;(t=this[e(435)](t,this[e(500)]))[e(567)]();const i=null===t[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,n=t[e(438)](),s=n[e(575)],r=n[e(669)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(490)](e);r.is(a(545),a(589))?n[a(699)](r[a(498)](a(434)),{userId:i}):(n[a(699)](r[a(498)](a(446)),{userId:i}),t(n,r,0,r[a(719)]),n[a(699)](r[a(498)](a(467)),{userId:i}))}}(this[e(436)],s,r,r+t[e(464)])}[ft(556)](t){const e=ft,i=null===(t=this[e(435)](t,this[e(500)]))[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,n=t[e(634)][e(575)],s=t[e(511)][e(575)],r=n[e(498)](e(467)),o=s[e(498)](e(446));n[e(697)](e(467),s[e(498)](e(467))),s[e(697)](e(467),r),this[e(436)][e(699)](o,{userId:i}),this[e(436)][e(699)](r,{userId:i}),t[e(567)]()}[ft(450)](t){const e=ft,i=null===(t=this[e(435)](t,this[e(500)]))[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,n=t[e(419)],s=t[e(507)][e(575)];t[e(567)]();const r=s[e(498)](e(467)),o=t[e(482)][e(603)];if(n){const t=o[e(498)](e(467)),n=s[e(498)](e(467));s[e(697)](e(467),t),o[e(697)](e(467),n),this[e(436)][e(699)](s[e(498)](e(467)),{userId:i}),this[e(436)][e(699)](o[e(498)](e(446)),{userId:i})}else{const t=this[e(504)]++,n=this[e(504)]++;s[e(697)](e(467),t),o[e(697)](e(446),n),o[e(697)](e(467),r),this[e(436)][e(699)](t,{userId:i}),this[e(436)][e(699)](n,{userId:i})}}[ft(678)](t){const e=ft;if(!t[e(503)])return;const i=(t=this[e(435)](t,this[e(673)]))[e(573)]?t[e(573)][e(602)]:null,n=t[e(649)]?t[e(649)][e(602)]:null;i&&this[e(455)][e(620)](t[e(619)]),n&&this[e(455)][e(699)](t[e(619)],t[e(649)][e(453)]());const s=null===t[e(529)]?null:t[e(529)]||this[e(414)][e(701)][e(539)](e(399)).me.id,r=t[e(619)];if(!this[e(541)][e(413)](r))return void this[e(541)][e(699)](r,{range:t[e(573)],userId:s});const o=this[e(541)][e(539)](r),a=o[e(667)],c=t[e(649)];null==a&&null==c||a&&c&&a[e(487)](c)?this[e(541)][e(620)](t[e(619)]):o[e(449)]=s}[ft(718)](t,e){const i=ft;this[i(673)][i(413)](t[i(475)])?this[i(673)][i(539)](t[i(475)])[i(457)]=t[i(686)]:(this[i(673)][i(699)](t[i(475)],kt(t[i(475)],!0)),this[i(677)][i(699)](t[i(475)],{}),e&&this[i(500)][i(699)](t[i(475)],kt(t[i(475)],!0)));const n=null===t[i(529)]?null:t[i(529)]||this[i(414)][i(701)][i(539)](i(399)).me.id,s=this[i(591)][i(539)](t[i(475)]);s&&s[i(449)]===n?this[i(591)][i(620)](t[i(475)]):this[i(591)][i(699)](t[i(475)],{userId:n,isAttached:t[i(686)]})}[ft(407)](t){const e=ft,i=this[e(677)][e(539)](t[e(602)][e(475)]);null===t[e(650)]?delete i[t[e(499)]]:i[t[e(499)]]=t[e(650)]}}function yt(t){const e=ft,i=kt(t[e(475)],t[e(477)]());for(const n of t[e(508)]()){const t=n[e(566)](!0);i[e(682)](t)}return i}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(475)]=t,n[i(457)]=e,n[i(477)]=()=>n[i(457)],n}function bt(t,e,i){const n=ft,s=n(424)==t[n(577)]?i[n(574)](t[n(674)],n(418)):i[n(606)](t[n(674)]);return i[n(654)](e,s[n(415)],s[n(641)])}function wt(t,e,i){const n=ft,s=n(437)==t[n(577)]?i[n(574)](t[n(674)],0):i[n(712)](t[n(674)]);return i[n(654)](e,s[n(415)],s[n(641)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),At=i.n(Nt),Rt=i(667),Mt=i.n(Rt),Et=i(357),Vt=i.n(Et),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Vt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=zt;function Lt(){const t=["value","setTemplate","focus","ck-responsive-form","set","locale","928992HFzENW","arrowdown","1004xpTKbH","extendTemplate","element","arrowright","302931KDHIBg","add","revisionName","1659SkQWzb","220","focusTracker","reset","1937644LXdYKk","form","_createRevisionNameInput","errorText","revisionNameInputValue","render","label","initializeCssTransitionDisablerMixin","keystrokes","2966649LMEXPt","optional","ck-revision-history-save-revision-form","input","listenTo","revisionNameInputView","Name of the revision","fieldView","stopPropagation","357129NijhEU","5PAKAHC","arrowup","arrowleft","4022944isJLXr","trim"];return(Lt=function(){return t})()}function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(313644===parseInt(e(141))/1+parseInt(e(155))/2*(parseInt(e(162))/3)+-parseInt(e(166))/4*(-parseInt(e(142))/5)+parseInt(e(153))/6+-parseInt(e(132))/7+-parseInt(e(145))/8+-parseInt(e(159))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(164)];[Pt(131)];[Pt(137)];constructor(e,i){const n=Pt;super(e),this[n(164)]=new t.FocusTracker,this[n(131)]=new t.KeystrokeHandler,this[n(151)](n(127),""),this[n(137)]=this[n(125)](i),this[n(148)]({tag:n(167),attributes:{class:["ck",n(134),n(150)],tabindex:"-1"},children:[this[n(137)]]}),this[n(130)]()}[Pt(128)](){const t=Pt;super[t(128)](),(0,It.submitHandler)({view:this}),this[t(164)][t(160)](this[t(137)][t(157)]),this[t(131)][t(136)](this[t(157)]);const e=e=>e[t(140)]();this[t(131)][t(151)](t(158),e),this[t(131)][t(151)](t(144),e),this[t(131)][t(151)](t(143),e),this[t(131)][t(151)](t(154),e)}[Pt(149)](){const t=Pt;this[t(137)][t(149)]()}get[Pt(161)](){const t=Pt;return this[t(137)][t(139)][t(157)][t(147)][t(146)]()}set[Pt(161)](t){const e=Pt;this[e(137)][e(139)][e(157)][e(147)]=t[e(146)]()}[Pt(165)](){const t=Pt;this[t(137)][t(139)][t(157)][t(147)]="",this[t(137)][t(126)]=null}[Pt(125)](t){const e=Pt,i=new It.LabeledFieldView(this[e(152)],It.createLabeledInputText),n=i[e(139)];n[e(156)]({attributes:{maxlength:e(163)}});let s=at(this[e(152)],e(138));return!t&&(s+=" ("+at(this[e(152)],e(133))+")"),i[e(129)]=s,n.on(e(135),()=>{const t=e;this[t(127)]=n[t(157)][t(147)][t(146)]()}),i}}const Ut=Zt;function Ht(){const t=["_createSaveRevisionFormView","showRevisionViewerCallback","Revision history","addMany","2892qtgnzg","children","Dialog","revisionSave","968427mJsjSt","locale","1834300EPpsfp","menuBar:revisionHistory","editing","panelView","buttonView","errorText","view","RevisionTracker","saveRevision","componentFactory","show","revisionNameInputView","add","1880790JIFVsn","reset","ck-button-action","isOpen","requires","revisionHistory.requireRevisionName","bind","Save current revision","config","set","1244608zbRYOI","isEnabled","1376340gAqZAq","render","items","role","revisionHistory","Open revision history","isReadOnly","menu","delegate","5243YtVHkH","isReady","get","execute","revisionName","_showDialog","RevisionHistoryUI","hide","menuitem","init","45OiUCVa","10yxNDEx","Cancel","isOfficialPlugin","The revision name cannot be empty.","focus","submit","_registerMenuComponent","editor","pluginName","Accept","10282bhWQOr","_saveRevisionFormView","isPremiumPlugin","plugins"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(247391===parseInt(e(298))/1*(-parseInt(e(308))/2)+parseInt(e(320))/3+parseInt(e(347))/4+parseInt(e(322))/5+parseInt(e(316))/6*(parseInt(e(356))/7)+-parseInt(e(345))/8+-parseInt(e(297))/9*(parseInt(e(335))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Ut(306)](){return Ut(293)}static get[Ut(300)](){return!0}static get[Ut(310)](){return!0}static get[Ut(339)](){return[vt]}[Ut(309)];[Ut(296)](){const t=Ut,e=this[t(305)],i=e[t(311)][t(358)](t(329));e.ui[t(331)][t(334)](t(351),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(325)][s(317)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(341)](s(346)).to(i,s(357),i,s(346),e,s(353),(t,e,i)=>t&&e&&!i),r[s(326)][s(344)]({icon:_t.IconHistory,label:at(n,s(314)),tooltip:!0}),u[s(344)]({label:at(n,s(342)),withText:!0,role:s(295)}),u[s(341)](s(346)).to(i,s(357),i,s(346),e,s(353),(t,e,i)=>t&&e&&!i),u.on(s(359),()=>this[s(361)]()),h[s(344)]({label:at(n,s(352)),withText:!0,role:s(295)}),h[s(341)](s(346)).to(i,s(357),e,s(353),(t,e)=>t&&!e),h.on(s(359),()=>{const t=s;e[t(343)][t(358)](t(351))[t(313)](),r[t(338)]=!1,e[t(324)][t(328)][t(302)]()}),c[s(317)][s(334)](u),l[s(317)][s(334)](h),a[s(350)]=s(354),a[s(349)][s(315)]([c,l]),o[s(334)](a),r}),e.ui[t(331)][t(334)](t(323),()=>this[t(304)]())}[Ut(304)](){const t=Ut,e=this[t(305)],i=e[t(321)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(326)][t(344)]({icon:_t.IconHistory,label:at(i,t(314))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(344)]({label:at(i,t(342))}),o[t(355)](t(359)).to(n),o.on(t(359),()=>{this[t(361)]()}),r[t(317)][t(334)](o),s[t(349)][t(334)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(344)]({label:at(i,t(352))}),c[t(355)](t(359)).to(n),c.on(t(359),()=>{const i=t;e[i(343)][i(358)](i(351))[i(313)]()}),a[t(317)][t(334)](c),s[t(349)][t(334)](a),n[t(325)][t(317)][t(334)](s),n}[Ut(361)](){const t=Ut,e=this[t(305)],i=e[t(321)],n=e[t(311)][t(358)](t(318)),s=e[t(311)][t(358)](t(329));function r(s){const r=t;e[r(343)][r(358)](r(340))&&""===s[r(360)]?s[r(333)][r(327)]=at(i,r(301)):(e[r(311)][r(358)](vt)[r(330)]({name:s[r(360)]}),n[r(294)]())}this[t(309)]||(this[t(312)](),this[t(309)].on(t(303),()=>r(this[t(309)]))),this[t(309)][t(336)](),n[t(332)]({id:t(319),title:at(i,t(342)),isModal:!0,content:this[t(309)],actionButtons:[{label:at(e[t(321)],t(299)),withText:!0,onExecute:()=>n[t(294)]()},{label:at(e[t(321)],t(307)),class:t(337),withText:!0,onCreate(i){const n=t;i[n(341)](n(346)).to(s,n(357),s,n(346),e,n(353),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(309)])}]})}[Ut(312)](){const t=Ut,e=this[t(305)],i=e[t(321)];this[t(309)]=new Wt(i,e[t(343)][t(358)](t(340))),this[t(309)][t(348)]()}}function $t(){const t=["Added by","2878948BYNoyk","element","169353mkUOcq","changeId","_model","1826536brCSkX","11133670ZVyESP","setTemplate","5dpQrhp","Suggested by","add","author","name","ck-revision-change","isSuggestion","8997940vMjNxD","type","set","Removed by","bindTemplate","232942pbFCMY","3262596oEAteb","9uCUlry","ck-annotation","data","ck-revision-change__label","6uuqvmP","div","span","ck-revision-change__","focus"];return($t=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=$t();return(Yt=function(t,e){return i[t-=281]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(721226===-parseInt(e(282))/1*(parseInt(e(308))/2)+parseInt(e(290))/3+parseInt(e(288))/4*(-parseInt(e(296))/5)+-parseInt(e(309))/6+parseInt(e(303))/7+parseInt(e(293))/8*(parseInt(e(310))/9)+parseInt(e(294))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends It.View{[Bt(291)];[Bt(292)];constructor(t,e){const i=Bt;super(t),this[i(292)]=e,this[i(291)]=e.id;const n=this[i(307)],s=at(t,e[i(312)][i(302)]?i(297):i(298)==e[i(304)]?i(287):i(306));this[i(305)](i(304),e[i(304)]),this[i(295)]({tag:i(283),attributes:{class:[i(311),i(301),n.to(i(304),t=>i(285)+t)],tabindex:-1},children:[{tag:i(284),children:[{tag:i(284),attributes:{class:[i(281)]},children:[{text:s}]},{text:" "+e[i(299)][i(300)]}]}]})}[Bt(286)](){const t=Bt;this[t(289)][t(286)]()}}function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=229]})(t,e)}var Kt=Gt;function Xt(){var t=["toJSON","type","4GAsdXm","11478888jEmLrm","1290113kuQboa","54601209FCTsyu","author","rootName","data","createdAt","2426028zfwnWv","3328539cyYZvO","set","12644604BSurMn","20wyQeYa","1373370pQsjkS"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(991627===-parseInt(e(235))/1+-parseInt(e(230))/2+parseInt(e(242))/3*(-parseInt(e(233))/4)+parseInt(e(229))/5*(-parseInt(e(241))/6)+-parseInt(e(244))/7+parseInt(e(234))/8+parseInt(e(236))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(237)];[Kt(232)];[Kt(239)];[Kt(238)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(237)]=e[i(237)],this[i(232)]=e[i(232)],this[i(239)]=e[i(239)]||{},this[i(238)]=e[i(238)],this[i(243)](i(240),e[i(240)])}[Kt(231)](){var t=Kt;return{id:this.id,authorId:this[t(237)].id,type:this[t(232)],data:this[t(239)],createdAt:this[t(240)]}}}function te(){const t=["newRevisionId","18qACIxm","add","1357573aANaOm","16uHDKmh","1142NouHDv","17549818GGgdfM","33910VEKXSO","73SOhmZu","364wijoVi","12WsQQiD","changes","1130565XWvEuo","oldRevisionId","_setChanges","2053251TKNExY","427650hDOXIj"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=136]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(315954===parseInt(e(145))/1*(parseInt(e(142))/2)+parseInt(e(149))/3+-parseInt(e(146))/4*(parseInt(e(144))/5)+parseInt(e(138))/6*(-parseInt(e(140))/7)+-parseInt(e(141))/8*(parseInt(e(152))/9)+-parseInt(e(136))/10+-parseInt(e(143))/11*(-parseInt(e(147))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ee(137)];[ee(150)];[ee(148)];constructor(e,i){const n=ee;this[n(137)]=e,this[n(150)]=i,this[n(148)]=new t.Collection}[ee(151)](t){const e=ee;for(const i of t)this[e(148)][e(139)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["keys","forEach","consume","shift","_setChanges","_sortAndFilterDiffChanges","getCustomProperty","change:activeChange","showNextChange","forward","restoreRevision","schema","getRevisionDocumentData","changeId","_getRevisionsRange","RevisionHistoryUtils","bindElementToMarker","ck-suggestion-preview-marker-","repository","hasClass","find","mousedown","activeChange","createRangeIn","item","resolve","catch","markerRange","_markMismatchedRemovedTags","refresh","document","level","map","top","ck-editor__editable__overlay","_makeModelFromTape","editor","vid_start","isInline","parent","mouseover","_balloon","numberOfChanges","config","15lnWzdt","low","_markMarkers","_findChangeIdFromDomTarget","domEvent","includes","hasAttribute","removeClass","next","startsWith","revision-viewer","pluginName","compare","showPreviousChange","3976OisHYL","markerToData","detachRoot","attribute:vid","_revisions","suggestion","ck-suggestion-marker","error","span","_getDiff","getIndex","concat","isAfter","_utils","_setDistance","string","nextPosition","_activeViewTarget","oldRevisionId","_changeView","offsetSize","isBefore","upcast","isAttached","target","revisionHistoryAttachChange","findIndex","pop","elementToAttribute","isPremiumPlugin","return","uiElement","markerName","distance","revisionHistoryLabel","addMarker:revision-suggestion:deletion","_getViewForChange","_cleanMarkers","index","removeAttribute","isRemoveSuggestion","30mQFETO","vid_end","markerNameToElements","text","userId","_fixObsoleteTags","getLaterVisibleRevision","viewItem","createRange","filter","conversion","POSITIVE_INFINITY","createRevision","30VOsPoj","isContent","diffData","createAttributeElement","-new","length","flat","previousPosition","_markSuggestions","_data","slice","unbindElementFromMarkerName","stop","ck-suggestion-marker--active","isReady","removeMarker","domConverter","getRevisionRootsAttributes","elementStart","high","toViewElement","isSuggestion","isLimit","markers","showStack","changes","locale","data-change-id","ck-suggestion-preview-marker","addHighlight","isNavigationMode","createPositionFromPath","_step","markerToHighlight","56690tMNERB","sort","backward","left","first","code","indexOf","ck-revision-history-root--active","enqueueChange","forceDisabled","execute","dataDowncast","editing","element","merge","data","destroy","push","2157683PcVxMH","newRevisionId","WidgetToolbarRepository","insertions","getRootNames","roots","addRevisionData","_refreshStartEndIndex","getRoot","softBreak","_markInsertions","range","maxOffset","removeMarker:revision-suggestion","change:isReady","isAdded","_removeMissingPairs","nextSibling","getItems","selection","getAttribute","RevisionViewer","attributesBefore","revision","values","modelRange","_joinTapes","elementEnd","revision-suggestion:","getChild","for","change:activeView","adapter","createPositionBefore","view","highest","5760kBKBTb","checkAttribute","updatePosition","requires","getAttributes","vid","_processTape","672655tsckLA","isAddSuggestion","comment","revisionHistory","init","authors","remove","createUIElement","addClass","markersEnd","loadRevisionData","deletions","ck-suggestion-marker-merge","attachChange","revision-suggestion","_getChangeFromId","ck-suggestion-marker-split","affectsData","endIndex","isAtStart","_update","toViewPosition","isRemoved","all","delete","name","isBlock","isAtEnd","_initInteractions","addMarker:revision-suggestion:insertion","plugins","ck-revision-history-root-","side","markersStart","addMarker:revision","object","observeMarkers","_appendChild","_cleanUp","getRevision","RevisionsRepository","insert","add","diff","suggestion:","wrap","revision-comment:","_makeModelFromViewString","revision:","end","type","isCollapsed","right","currentChangeNumber","mapViewToDom","done","startIndex","dataToMarker","change","split","_changeIdToChange","deletion","bind","_setConversion","downcastDispatcher","commands","addRevision","splice","isEnabled","reconvertMarker","model","then","1081115pxYCUh","isOfficialPlugin","isIncorrect","nodeAfter","_threeWayMerge","mapper","22pKuLEc","test","get","isOnRoot","rootName","getClientRects","attributes","activeView","bottom","attributesAfter","ck-revision-history-root-remove","toViewRange","_makeTape","enableReadOnlyMode","_removeUnsupportedChanges","getWalker","from","ck-revision-history-root-add","abs","addRoot","1563732TgpIty","setAttribute","isEqual","has","start","insertion","change:numberOfChanges","pairId","getDomRoot","restoreRevisionCallback","unshift","isObject","listenTo","change:isEnabled","set","ck-suggestion-marker-","element:pre","writer","removeMarker:revision","clear","editingDowncast","215172GNydlL","consumable"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(423137===parseInt(e(310))/1*(-parseInt(e(449))/2)+parseInt(e(536))/3*(parseInt(e(490))/4)+-parseInt(e(371))/5+-parseInt(e(276))/6*(-parseInt(e(443))/7)+parseInt(e(550))/8*(-parseInt(e(364))/9)+parseInt(e(263))/10*(parseInt(e(328))/11)+-parseInt(e(469))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(510)];[oe(360)]=null;[oe(235)];[oe(239)];[oe(241)];[oe(431)];[oe(533)];static get[oe(547)](){return oe(349)}static get[oe(444)](){return!0}static get[oe(251)](){return!0}static get[oe(367)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(510)]=this[e(528)][e(401)][e(451)](e(411)),this[e(235)]=this[e(528)][e(401)][e(451)](e(507)),this[e(483)](e(514),null),this[e(483)](e(456),null),this[e(239)]=null,this[e(483)](e(414),null),this[e(483)](e(290),!1),this[e(483)](e(439),!0),this.on(e(482),(t,i,n)=>{const s=e;this[s(514)]=null,this[s(456)]=null,this[s(528)][s(322)][s(362)][s(429)](t=>{const e=s;for(const i of this[e(528)][e(322)][e(362)][e(522)][e(333)])n?t[e(543)](e(526),i):t[e(379)](e(526),i)})}),this[e(433)](e(306)).to(this,e(514),t=>null!==t),this[e(433)](e(424)).to(this,e(290),this,e(414),this,e(514),(t,i,n)=>t&&n?i[e(301)][e(232)](n):0),this[e(433)](e(534)).to(this,e(290),this,e(414),(t,i)=>t?i[e(301)][e(281)]:0),this[e(241)]=null,this[e(431)]=new Map,this[e(533)]=this[e(528)][e(401)][e(451)](It.ContextualBalloon)}[oe(375)](){const t=oe,e=this[t(528)],i=new de(e,{direction:t(312)}),n=new de(e,{direction:t(501)});e[t(436)][t(413)](t(549),i),e[t(436)][t(413)](t(500),n),e[t(436)][t(413)](t(502),new he(e)),this.on(t(475),()=>{const e=t;i[e(521)](),n[e(521)]()}),this[t(434)](),this[t(399)](),e[t(462)](t(546)),e[t(401)][t(472)](t(330))&&e[t(401)][t(451)](t(330))[t(319)](t(546))}async[oe(504)](t){const e=oe;return await this[e(235)][e(381)](t,this[e(360)]),this[e(235)][e(504)](t)}async[oe(293)](t){const e=oe;return await this[e(235)][e(381)](t,this[e(360)]),this[e(235)][e(293)](t)}async[oe(548)](t,e,i=!1){const n=oe;if(!this[n(439)])return;const s=this[n(414)],r=this[n(510)],o=n(237)==typeof t?r[n(410)](t):t,a=n(237)==typeof e?r[n(410)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(414)]&&this[n(414)][n(329)]===c&&this[n(414)][n(240)]===u)return Promise[n(517)]();this[n(290)]=!1,this[n(456)]=null,this[n(514)]=null,this[n(414)]=new ne(c,u);const l=this[n(506)](o,a,!0)[n(524)](t=>this[n(235)][n(381)](t,this[n(360)]));return l[n(327)](new Promise(t=>{setTimeout(t,20)})),Promise[n(394)](l)[n(442)](()=>{const t=n;if(!this[t(439)])return;this[t(409)]();const e=this[t(231)](c,u);for(const i of e[t(301)])this[t(431)][t(483)](i.id,i);this[t(528)][t(441)][t(318)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(528)][n(441)][n(522)][n(332)]())i[n(552)](t);for(const t of Object[n(492)](e[n(441)])){const s=i[n(468)](t);for(const r of Object[n(492)](e[n(455)][t]))i[n(470)](r,e[n(455)][t][r],s);i[n(412)](e[n(441)][t],s,0)}}),this[t(414)][t(496)](this[t(497)](e[t(301)])),this[t(290)]=!0})[n(518)](t=>{const e=n;console[e(557)](t),this[e(409)](),s&&(this[e(414)]=s),this[e(290)]=!0})}[oe(334)](t,e){const i=oe,n=this[i(510)][i(275)](t);return n.on(i(391),(t,i,s)=>e(i,s,n)),this[i(510)][i(437)](n),n}[oe(409)](){const t=oe;this[t(514)]=null,this[t(259)](),this[t(241)]&&this[t(241)][t(326)](),this[t(241)]=null,this[t(431)][t(488)](),this[t(528)][t(441)][t(318)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(528)][i(441)][i(522)][i(332)]())e[i(552)](t)})}[oe(497)](t){const e=oe,i=[],n=new Map;for(const t of this[e(528)][e(441)][e(522)][e(332)]()){const s=this[e(528)][e(322)][e(362)][e(477)](t);if(!s)continue;const r=s[e(454)]()[e(516)](0);r&&(i[e(327)](t),n[e(483)](t,r))}return i[e(311)]((t,i)=>{const s=e,r=n[s(451)](t),o=n[s(451)](i);return r.y-o.y||r.x-o.x}),(t=t[e(272)](t=>i[e(541)](t[e(453)])))[e(311)]((t,n)=>i[e(316)](t[e(453)])-i[e(316)](n[e(453)])),t}[oe(461)](t){const e=oe,i=Array[e(465)](t[e(299)])[e(272)](([t,i])=>t[e(545)](e(419))&&!i[e(422)]),n=Array[e(465)](this[e(528)][e(441)][e(515)](t)[e(464)]({singleCharacters:!0}));if(0!=i[e(281)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(430)](":");if(s[e(420)][e(471)](t[e(238)])&&i[e(495)](),(t[e(283)][e(471)](s[e(473)])||t[e(283)][e(234)](s[e(473)]))&&(e(474)==r?t[e(343)]={userId:o}:e(432)==r&&(t[e(393)]={userId:o})),0==i[e(281)])break}return n}[oe(335)](t){const e=oe,i=new Map;for(let n=0;n<t[e(281)];n++)e(266)===t[n][e(421)]?(t[n][e(516)][e(427)]=n,t[n][e(516)][e(389)]=n):(e(294)===t[n][e(421)]?t[n][e(516)][e(427)]=n:e(355)===t[n][e(421)]&&(t[n][e(516)][e(389)]=n),i[e(483)](t[n].id,n));for(const n of i[e(352)]())e(294)===t[n][e(421)]?t[n][e(516)][e(389)]=i[e(451)](t[n][e(476)]):e(355)===t[n][e(421)]&&(t[n][e(516)][e(427)]=i[e(451)](t[n][e(476)]))}[oe(370)](t){const e=oe;for(let i=0;i<t[e(281)];i++){if(e(294)===t[i][e(421)])t[i][e(516)][e(427)]=i;else if(e(355)===t[i][e(421)]){t[i][e(516)][e(389)]=i;const n=t[i][e(516)][e(427)];t[n][e(476)]=t[i].id,t[i][e(476)]=t[n].id}else t[i][e(516)][e(427)]=i,t[i][e(516)][e(389)]=i,t[i][e(476)]=null;t[i][e(404)]||(t[i][e(404)]=[],t[i][e(380)]=[])}}[oe(338)](t,e){const i=oe,n=t[i(272)](t=>!t[i(343)]);for(let t=0;t<e[i(281)];t++)e[t][i(343)]&&(n[t][i(343)]=e[t][i(343)])}[oe(231)](t,e=null){const i=oe,n=this[i(510)][i(410)](t),s=e?this[i(510)][i(410)](e):null,r=this[i(506)](n,s),o=r[r[i(281)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(281)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(492)](e[i(278)]))if(e[i(278)][t][i(384)]){const n=e[i(278)][t][i(384)];n[i(245)]?(u[i(413)](t),l[i(472)](t)&&l[i(451)](t)[i(267)]==n[i(267)]?l[i(395)](t):l[i(483)](t,n)):l[i(472)](t)?(u[i(395)](t),l[i(395)](t)):(u[i(413)](t),l[i(483)](t,n))}else u[i(413)](t)}for(const t of u){const e=l[i(472)](t)&&!l[i(451)](t)[i(245)];let n=e?r[i(281)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(278)][t]){const n=e?o[i(278)][t][i(350)]:o[i(278)][t][i(458)];c[i(455)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(441)]={};for(const e of t[i(376)])a[i(483)](e.id,e);for(const e of u){const n=t[i(278)][e]?t[i(278)][e][i(331)]:"[]",s=t[i(278)][e]?t[i(278)][e][i(382)]:"[]";t[i(441)][e]={insertions:this[i(235)][i(418)](n),deletions:this[i(235)][i(418)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(465)](n[i(441)][t][i(331)][i(299)])[i(272)](([t])=>!t[i(545)](i(419))));let h=0;for(const o of r){const r=this[i(461)](o[i(441)][t][i(331)]);o==n?(e=r,s=e[i(281)],e[i(493)](t=>{t.id=h++}),this[i(370)](e)):this[i(338)](e,r);const a=e[i(272)](t=>!t[i(343)])[i(524)](t=>t.id);let c=0;const l=this[i(461)](o[i(441)][t][i(382)]);l[i(493)](t=>{t[i(393)]?t.id=s++:t.id=a[c++]}),this[i(370)](l),this[i(236)](e,i(343)),this[i(236)](l,i(393)),o==n&&this[i(538)](e,u),e=this[i(354)](e,l),this[i(335)](e),this[i(236)](e,i(393))}e=e[i(272)](t=>!(t[i(343)]&&t[i(393)]));const d=new Map(o[i(441)][t][i(382)][i(299)]),f=new Set(u[i(492)]());for(const t of d[i(492)]())f[i(395)](t);this[i(284)](e,f),this[i(268)](e),e=this[i(344)](e),e=this[i(520)](e),e=this[i(463)](e);const{root:m,changes:p}=this[i(527)](e,a,t);c[i(441)][t]=m;const v=l[i(451)](t);if(v){const e=a[i(451)](v[i(267)]),n=new Qt({author:e,type:v[i(245)]?i(413):i(377),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(479)](n),c[i(455)][t][i(247)]=n.id}c[i(301)]=c[i(301)][i(233)](p)}return c}[oe(538)](t,e){const i=oe;for(let n=0;n<t[i(281)];n++)for(const[s,r]of e)!r[i(422)]&&r[i(473)][i(471)](t[n][i(283)])&&t[n][i(404)][i(327)](s),r[i(420)][i(471)](t[n][i(238)])&&t[n][i(380)][i(327)](s)}[oe(354)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(281)]||r<e[i(281)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(327)](o);else if(a[i(393)]&&o[i(343)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(447)](t,s,e,r);n=n[i(233)](o),s=a,r=c}else a[i(393)]?(r++,n[i(327)](a)):(s++,n[i(327)](o))}return n}[oe(284)](t,e){const i=oe,n=[];for(let o=0;o<t[i(281)];o++){for(let r=0;r<t[o][i(404)][i(281)];r++){const a=t[o][i(404)][r];if(!e[i(472)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(385)!=c||i(474)!=u&&i(432)!=u||(n[i(479)]({type:u,name:a,userId:l}),t[o][i(404)][i(438)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(380)][i(281)];r++){const a=t[o][i(380)][r];if(!e[i(472)](a))continue;const{group:c,type:u}=s(a);if(i(385)!=c||i(474)!=u&&i(432)!=u)continue;t[o][i(380)][i(438)](r,1),r--;const l=n[i(248)](t=>t[i(396)]==a);l>-1&&n[i(438)](l,1)}}function s(t){const e=i,n=t[e(430)](":");return{group:n[0],type:n[1],subType:n[e(281)]>=5?n[2]:null,id:n[e(281)]<5?n[2]:n[3],authorId:n[e(281)]<5?n[3]:n[4],markerCount:6==n[e(281)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(281)];i++){if(t[e(343)]&&e(474)==n[i][e(421)]&&t[e(343)][e(267)]==n[i][e(267)])return t[e(372)]=n[i],void delete t[e(343)];if(!t[e(343)]&&!t[e(393)]&&e(432)==n[i][e(421)])return void(t[e(262)]=n[i])}}}[oe(236)](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(483)](o.id,n);for(let n=0;n<t[i(281)];n++){if(i(393)==e&&t[n][i(343)]||i(343)==e&&t[n][i(393)])continue;if(i(266)==t[n][i(421)]){t[n][i(255)]=0;continue}const s=r[i(451)](t[n][i(476)]),o=r[i(451)](t[n].id);t[n][i(255)]=s-o}}[oe(506)](t,e,i=!1){const n=oe,s=[];let r=this[n(510)][n(232)](t),o=this[n(510)][n(232)](e);for(-1==o&&(o=this[n(510)][n(554)][n(281)],i=!1);r<o;)s[n(327)](this[n(510)][n(410)](r)),r++;return i&&s[n(327)](this[n(510)][n(410)](r)),s}[oe(447)](t,e,i,n){const s=oe,r=this[s(528)][s(441)][s(503)];let o=e;for(;t[o]&&t[o][s(343)];)o++;let a=n;for(;i[a]&&i[a][s(393)];)a++;u(t,e,o),u(i,n,a);const c=i[s(286)](n,a)[s(233)](t[s(286)](e,o));return c[s(311)]((t,e)=>t[s(403)]!=e[s(403)]?t[s(403)]-e[s(403)]:t[s(523)]!=e[s(523)]?t[s(523)]-e[s(523)]:t[s(255)]!=e[s(255)]?e[s(255)]-t[s(255)]:!!t[s(343)]!=!!e[s(343)]?-1==t[s(403)]||0==t[s(403)]?t[s(343)]?-1:1:t[s(343)]?1:-1:t[s(260)]-e[s(260)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(274)],c=!0;for(let s=e;s<i;s++)if(r[n(530)](t[s][n(516)])||(c=!1),t[s][n(516)][n(427)]<e&&(o=s),t[s][n(516)][n(389)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(403)]=s<=o?-1:s<a?0:1,t[s][n(260)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(255)]?t[i][n(523)]=u:(u++,t[i][n(523)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(403)]&&(t[s][n(523)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(255)]?t[e][n(523)]=u:(u--,t[e][n(523)]=u,u--)}}[oe(268)](t){const e=oe,i=new Map,n=this[e(528)][e(441)][e(503)];for(let s=1;s<t[e(281)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(266)==c[e(421)])continue;if(c[e(421)]!=u[e(421)])continue;if(!n[e(397)](u[e(516)])||n[e(298)](u[e(516)]))continue;if(!n[e(397)](c[e(516)])||n[e(298)](c[e(516)]))continue;if((t[s][e(343)]||t[s][e(372)])&&t[s-1][e(393)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(393)]||!t[s-1][e(343)]&&!t[s-1][e(372)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(523)]==o[e(523)],h=Math[e(467)](r[e(523)])<Math[e(467)](o[e(523)])&&0==o[e(255)];(l||h)&&(i[e(483)](o.id,r.id),t[e(438)](a,1),s--,r[e(343)]=!1)}for(let n=0;n<t[e(281)];n++)i[e(472)](t[n][e(476)])&&(t[n][e(476)]=i[e(451)](t[n][e(476)]))}[oe(344)](t){const e=oe,i=new Set(t[e(524)](t=>t.id));for(let n=0;n<t[e(281)];n++)i[e(472)](t[n][e(476)])||0==t[n][e(255)]||(t[n][e(445)]=!0);return t[e(272)](t=>!t[e(445)])}[oe(520)](t){const e=oe,i=new Set;for(let n=0;n<t[e(281)];n++){if(i[e(472)](t[n].id)&&t[n][e(393)]&&(t[n][e(445)]=!0),t[n][e(445)])continue;if(0==t[n][e(255)])continue;if(e(294)!=t[n][e(421)])continue;if(null==t[n][e(476)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(476)];)e(294)==t[s][e(421)]?r++:e(355)==t[s][e(421)]&&r--,s++;if(0!=r)if(t[n][e(393)])t[n][e(445)]=!0;else for(;s!=n;)t[s][e(393)]&&0!=t[s][e(255)]&&(t[s][e(445)]=!0,i[e(413)](t[s][e(476)])),s--}return t[e(272)](t=>!t[e(445)])}[oe(463)](t){const e=oe,i=this[e(528)][e(441)][e(503)];for(let n=0;n<t[e(281)];n++){if(!(t[n][e(343)]||t[n][e(372)]||t[n][e(393)]||t[n][e(262)]))continue;if(0==t[n][e(255)])continue;const s=t[n][e(516)];i[e(397)](s)||i[e(298)](s)||(t[n][e(343)]&&delete t[n][e(343)],t[n][e(372)]&&delete t[n][e(372)],t[n][e(262)]&&delete t[n][e(262)],t[n][e(393)]&&(t[n][e(445)]=!0))}return t[e(272)](t=>!t[e(445)])}[oe(527)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(528)][n(441)],c=a[n(503)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(281)];e++)if(n(294)===t[e][n(421)]){t[e][n(283)]=a[n(307)](s,f);const i=new X.ModelElement(t[e][n(516)][n(396)],t[e][n(516)][n(368)]());u[0][n(408)](i),f[n(327)](0),u[n(479)](i),t[e][n(238)]=a[n(307)](s,f)}else n(355)===t[e][n(421)]?(u[n(495)](),t[e][n(283)]=a[n(307)](s,f),f[n(249)](),f[f[n(281)]-1]++,t[e][n(238)]=a[n(307)](s,f)):(t[e][n(283)]=a[n(307)](s,f),d?d[n(285)]+=t[e][n(516)][n(325)]:d=new X.ModelText(t[e][n(516)][n(325)],t[e][n(516)][n(368)]()),t[e+1]&&n(266)===t[e+1][n(421)]&&v(d,t[e+1][n(516)])||(u[0][n(408)](d),d=null),f[f[n(281)]-1]+=t[e][n(516)][n(242)],t[e][n(238)]=a[n(307)](s,f));for(let e=0;e<t[n(281)];e++){const i=t[e][n(283)],s=t[e][n(238)];for(const s of t[e][n(404)])o[n(483)](s,{start:i,end:null});m(n(262),e,i,s),m(n(372),e,i,s),m(n(393),e,i,s),m(n(343),e,i,s);for(const i of t[e][n(380)]){const t=o[n(451)](i);t?t[n(420)]=s:o[n(483)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(528)][n(441)][n(271)](e[n(473)],e[n(420)]);s[n(299)][n(483)](t,i)}return r[n(311)]((t,e)=>{const i=n,r=s[i(299)][i(451)](i(419)+t.id),o=s[i(299)][i(451)](i(419)+e.id);return r[i(473)][i(243)](o[i(473)])?-1:r[i(473)][i(234)](o[i(473)])?1:r[i(420)][i(243)](o[i(420)])?-1:r[i(420)][i(234)](o[i(420)])?1:i(413)===t[i(421)]?-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(267)]:null,d=i===t[o(281)]-1,f=h[e][0],m=c[o(480)](t[i][o(516)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(420)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(267)]!==u&&(l[e][o(420)]=s,f&&f[o(267)]===l[e][o(267)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(294)!==t[i][o(421)]||f&&f[o(267)]===u||h[e][o(479)]({userId:u,object:t[i][o(516)],change:l[e]}),o(355)===t[i][o(421)]&&f&&f[o(406)]===t[i][o(516)]&&(h[e][o(495)](),l[e]=f[o(429)])),l[e]&&d&&(l[e][o(420)]=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(516)],f=a[h(503)][h(397)](d)&&!a[h(503)][h(298)](d),m=t[h(446)]==o[h(531)]&&o[h(390)];if(f&&m)return;const p=a[h(271)](t,o),v=e[h(451)](u),g=new Qt({author:v,type:h(343)==l||h(372)==l?h(413):h(377),data:{isSuggestion:h(372)==l||h(262)==l},createdAt:new Date,rootName:i});r[h(327)](g),s[h(299)][h(483)](h(419)+g.id,p)}function v(t,e){const i=n,s=t[i(368)](),r=e[i(368)]();for(const t of s){if(t[1]!==e[i(348)](t[0]))return!1;r[i(544)]()}return r[i(544)]()[i(426)]}}[oe(434)](){const t=oe;this[t(528)][t(273)][t(358)](t(244))[t(428)]({view:t(351)}),this[t(528)][t(273)][t(358)](t(489))[t(309)]({model:t(351),view:e=>{const i=t,n=e[i(254)][i(430)](":")[1],s=this[i(386)](n);if(!s)return null;const r=i(413)==s[i(421)]?i(474):i(432),o=[i(556),i(484)+r];return s[i(325)][i(297)]&&o[i(327)](i(484)+r+i(280)),this[i(514)]==s&&o[i(327)](i(289)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(528)][t(273)][t(358)](t(244))[t(413)](e=>{const i=t;e.on(i(485),(t,e,n)=>{const s=i,r=e[s(270)][s(357)](0);if(!r||!r.is(s(323),s(315)))return;if(!n[s(491)][s(494)](r,{attributes:[s(529),s(264)]}))return;const o=e[s(353)][s(473)][s(446)];n[s(486)][s(470)](s(529),r[s(348)](s(529)),o),n[s(486)][s(470)](s(264),r[s(348)](s(264)),o)},{priority:i(537)})}),this[t(528)][t(273)][t(358)](t(244))[t(413)](e=>{const i=t;e.on(i(323),(t,e,n)=>{const s=i;if(!n[s(491)][s(494)](e[s(270)],{attributes:[s(529),s(264)]}))return;if(e[s(353)][s(422)])return;const r=e[s(353)][s(473)][s(446)];r[s(542)](s(529))||r[s(542)](s(369))||(n[s(486)][s(470)](s(529),e[s(270)][s(348)](s(529)),r),n[s(486)][s(470)](s(264),e[s(270)][s(348)](s(264)),r))},{priority:i(537)})}),this[t(528)][t(273)][t(358)](t(244))[t(250)]({view:{name:t(558),attributes:{vid:!0}},model:{key:t(369),value:e=>e[t(348)](t(369))}}),this[t(528)][t(441)][t(503)].on(t(365),(e,[,i])=>{const n=t;[n(529),n(264),n(369)][n(541)](i)&&(e[n(252)]=!0,e[n(288)]())},{priority:t(363)}),this[t(528)][t(273)][t(358)](t(321))[t(413)](e=>{const i=t;e.on(i(553),(t,e,n)=>{const s=i;if(" "!=e[s(516)][s(325)]||e[s(516)][s(531)][s(340)]>1)return;if(!n[s(491)][s(494)](e[s(516)],t[s(396)]))return;const r=n[s(486)],o=n[s(448)][s(460)](e[s(339)]);r[s(416)](o,r[s(279)](s(558)))})}),this[t(528)][t(273)][t(358)](t(321))[t(551)]({model:t(351)}),this[t(528)][t(322)][t(435)].on(t(405),function(e){const i=t,n=e[i(401)][i(451)](i(349));return(t,s,r)=>{const o=i,a=s[o(254)][o(430)](":")[1],c=n[o(386)](a);if(!c)return null;const u=o(413)==c[o(421)]?o(430):o(324);if(!r[o(491)][o(450)](s[o(519)],t[o(396)]))return;const l=s[o(519)][o(464)](),h=s[o(519)][o(473)],d=e[o(441)][o(503)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(516)];p=p||d[o(277)](e);const i=r[o(448)][o(296)](e);if(i&&i[o(498)](o(305)))return;o(355)==t[o(421)]&&d[o(397)](e)&&!d[o(298)](e)&&(e[o(345)]||h[o(398)]?f&&f[o(531)]==e||(f=e,g(t[o(283)]),v=!0):m=m||t[o(283)])}function g(t){const e=o,i=r[e(486)][e(378)](e(558),{class:e(484)+u}),a=r[e(448)][e(392)](t);c[e(325)][e(297)]&&r[e(486)][e(379)](e(484)+u+e(280),i),n[e(514)]==c&&r[e(486)][e(379)](e(289),i),r[e(486)][e(412)](a,i),r[e(448)][e(508)](i,s[e(254)])}p||v||!m||g(m)}}(this[t(528)]),{priority:t(295)}),this[t(528)][t(322)][t(435)].on(t(487),(e,i,n)=>{const s=t,r=n[s(448)][s(265)](i[s(254)]);if(r)for(const t of r)(t[s(511)](s(387))||t[s(511)](s(383)))&&(n[s(448)][s(287)](t,i[s(254)]),n[s(486)][s(377)](t))},{priority:t(295)}),this[t(528)][t(322)][t(435)].on(t(405),(e,i,n)=>{const s=t,r=i[s(254)][s(430)](":")[1],o=this[s(386)](r);if(!o)return null;const a=s(413)==o[s(421)]?s(430):s(324);if(n[s(491)][s(450)](i[s(519)],e[s(396)]))for(const t of i[s(519)][s(346)]()){if(!t.is(s(323),s(337)))continue;const e=n[s(486)][s(378)](s(558),{class:s(484)+a}),r=n[s(448)][s(392)](this[s(528)][s(441)][s(361)](t));o[s(325)][s(297)]&&n[s(486)][s(379)](s(484)+a+s(280),e),this[s(514)]==o&&n[s(486)][s(379)](s(289),e),n[s(486)][s(412)](r,e),n[s(448)][s(508)](e,i[s(254)])}},{priority:t(295)}),this[t(528)][t(441)][t(522)].on(t(429),()=>{const e=t;this[e(528)][e(322)][e(362)][e(429)](t=>{const i=e;for(const e of this[i(528)][i(441)][i(522)][i(332)]()){const n=this[i(528)][i(441)][i(522)][i(336)](e),s=this[i(528)][i(322)][i(362)][i(522)][i(336)](e);if(s){const e=n[i(348)](i(247));if(t[i(261)](i(303),s),t[i(543)](i(466),s),t[i(543)](i(459),s),t[i(543)](i(317),s),e){const n=this[i(386)](e);if(!n)return null;t[i(470)](i(303),e,s),t[i(379)](i(402)+n[i(421)],s),this[i(514)]==n&&t[i(379)](i(317),s)}}}})}),this[t(528)][t(273)][t(358)](t(244))[t(428)]({view:t(373),model:e=>t(417)+e,converterPriority:t(363)}),this[t(528)][t(273)][t(358)](t(244))[t(428)]({view:t(555),model:e=>t(356)+e,converterPriority:t(363)}),this[t(528)][t(273)][t(358)](t(321))[t(551)]({model:t(385),view:e=>({name:t(415)+e,group:t(385)}),converterPriority:t(363)}),this[t(528)][t(273)][t(358)](t(489))[t(309)]({model:t(385),view:e=>{const i=t,n=e[i(254)][i(430)](":")[1];return i(474)!=n&&i(432)!=n?null:{classes:[i(304),i(509)+n]}}}),this[t(528)][t(322)][t(435)].on(t(257),le(this[t(528)],t(324)),{priority:t(295)}),this[t(528)][t(322)][t(435)].on(t(400),le(this[t(528)],t(430)),{priority:t(295)}),this[t(528)][t(322)][t(435)].on(t(341),(e,i,n)=>{const s=t,r=n[s(448)][s(265)](i[s(254)]);if(r)for(const t of r)t.is(s(253))&&(n[s(448)][s(287)](t,i[s(254)]),n[s(486)][s(377)](t))},{priority:t(295)})}[oe(386)](t){const e=oe;return this[e(431)][e(451)](t)}[oe(258)](t){const e=oe;return this[e(241)]&&this[e(241)][e(326)](),this[e(241)]=new Jt(this[e(528)][e(302)],t),this[e(241)]}[oe(399)](){const t=oe;this[t(528)][t(441)][t(522)][t(347)][t(407)](t(351)),this.on(t(359),(e,i,n,s)=>{const r=t;s&&this[r(533)][r(377)](s),n&&(this[r(533)][r(413)]({view:n,stackId:r(256),position:{target:()=>{const t=r,e=this[t(528)][t(322)],i=this[t(386)](n[t(505)]);let s;if(i[t(325)][t(452)]){const n=e[t(362)][t(477)](i[t(453)]);s=Array[t(465)](n[t(454)]())}else{const i=this[t(528)][t(441)][t(299)][t(451)](t(419)+n[t(505)]);s=Array[t(465)](e[t(448)][t(265)](i[t(396)]))[t(524)](i=>e[t(362)][t(292)][t(425)](i))[t(524)](e=>Array[t(465)](e[t(454)]()))[t(282)]()}return this[t(239)]&&s[t(512)](e=>e[t(525)]-3<=this[t(239)].y&&e[t(457)]+3>=this[t(239)].y&&e[t(313)]-3<=this[t(239)].x&&e[t(423)]+3>=this[t(239)].x)||s[0]}}}),this[r(533)][r(300)](r(256)))}),this.on(t(499),(e,i,n,s)=>{const r=t;this[r(456)]=n?this[r(258)](n):null,this[r(528)][r(441)][r(429)](()=>{const t=r,e=this[t(528)][t(322)];s&&(s[t(325)][t(452)]?e[t(362)][t(429)](i=>{const n=t;i[n(543)](n(317),e[n(362)][n(522)][n(336)](s[n(453)]))}):e[t(440)](t(419)+s.id)),n&&(n[t(325)][t(452)]?e[t(362)][t(429)](i=>{const s=t;i[s(379)](s(317),e[s(362)][s(522)][s(336)](n[s(453)]))}):e[t(440)](t(419)+n.id))})}),this[t(481)](this[t(528)][t(322)][t(362)][t(522)],t(532),(e,i)=>{const n=t;if(this[n(514)])return;const s=this[n(539)](i[n(246)]),r=this[n(431)][n(451)](s);r?(this[n(239)]={x:i[n(540)].x,y:i[n(540)].y},this[n(456)]=this[n(258)](r)):(this[n(239)]=null,this[n(456)]=null)}),this[t(481)](this[t(528)][t(322)][t(362)][t(522)],t(513),(e,i)=>{const n=t,s=this[n(539)](i[n(246)]),r=this[n(431)][n(451)](s);r?(this[n(239)]={x:i[n(540)].x,y:i[n(540)].y},r===this[n(514)]?this[n(533)][n(366)]():this[n(514)]=r):(this[n(239)]=null,this[n(514)]=null)})}[oe(539)](t){const e=oe;do{const i=t[e(348)](e(303));if(i)return i;t=t[e(531)]}while(t);return null}[oe(259)](){const t=oe;this[t(528)][t(441)][t(429)](e=>{const i=t;for(const t of this[i(528)][i(441)][i(299)])e[i(291)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(491)][r(450)](n[r(519)],i[r(396)]))return;const o=n[r(519)][r(464)](),a=n[r(519)][r(473)],c=t[r(441)][r(503)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(516)];h=h||c[r(277)](e);const i=s[r(448)][r(296)](e);if(i&&i[r(498)](r(305)))return;r(355)==t[r(421)]&&c[r(397)](e)&&!c[r(298)](e)&&(e[r(345)]||a[r(398)]?u&&u[r(531)]==e||(u=e,f(t[r(283)]),d=!0):l=l||t[r(283)])}function f(t){const i=r,o=s[i(448)][i(392)](t),a=s[i(486)][i(378)](i(558),{class:i(509)+e});s[i(486)][i(412)](o,a),s[i(448)][i(508)](a,n[i(254)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(401)][e(451)](ue);this[e(388)]=!1,this[e(481)](i,e(342),()=>this[e(521)]()),this[e(481)](i,e(482),()=>this[e(521)]())}[oe(320)](){const t=oe,e=this[t(528)],i=e[t(401)][t(451)](ue),n=i[t(290)]?i[t(414)][t(329)]:null;e[t(535)][t(451)](t(374))[t(478)](n)}[oe(521)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(528)][t(401)][t(451)](ue),r=s&&n[t(269)](s[t(329)]);this[t(439)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(308)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(401)][i(451)](ue);this[i(388)]=!1,this[i(308)]=i(501)===e?1:-1,this[i(481)](n,i(342),()=>this[i(521)]()),this[i(481)](n,i(482),()=>this[i(521)]()),this[i(481)](n,i(499),()=>this[i(521)]())}[oe(320)](){const e=oe,i=this[e(528)],n=i[e(401)][e(451)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(514)]=s?n[e(414)][e(301)][e(451)](r+this[e(308)]):n[e(414)][e(301)][e(314)],n[e(514)][e(325)][e(452)])o=i[e(322)][e(362)][e(477)](n[e(514)][e(453)]);else{const t=i[e(441)][e(299)][e(451)](e(419)+n[e(514)].id);o=(0,K.getMarkerDomElement)(i[e(322)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(521)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(528)][t(401)][t(451)](ue);this[t(439)]=!!(r&&s&&n)&&(!e||(1===this[t(308)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["currentChangeNumber","87721HANCvm","6356PtMikJ","Show next change","ck-revision-history-ui__changes-navigation__label","No changes","ck-hidden","bindTemplate","setTemplate","fire","execute","Total","ck-revision-history-ui","333693yJiYLt","ck-revision-history-ui__changes-navigation__navigation","isEnabled","Show previous change","numberOfChanges","div","_statusText","916CCaabi","isReady","ck-revision-history-ui__changes-navigation","isNavigationMode","set","Loading...","12rGOypb","isForwardNavigationEnabled","NUMBER_OF_CHANGES","backward","2832lTQSqi","span","2045JwhBmT","X_OF_Y_CHANGES","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","3210vYoHbD","5055xJXlcR","2288330fTnmOt","forward","bind","EDIT_X_OF_Y_REVISIONS","2719640ismAYZ"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=120]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(296424===-parseInt(e(120))/1*(-parseInt(e(145))/2)+-parseInt(e(157))/3*(-parseInt(e(139))/4)+-parseInt(e(151))/5*(-parseInt(e(156))/6)+parseInt(e(121))/7*(-parseInt(e(149))/8)+-parseInt(e(132))/9+-parseInt(e(158))/10+-parseInt(e(162))/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(126)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(143)](e(142),!1),this[e(143)](e(140),!1),this[e(143)](e(163),0),this[e(143)](e(136),0),this[e(143)](e(146),!1),this[e(143)](e(153),!1),this[e(160)](e(155)).to(this,e(140),this,e(136),(t,e)=>t&&e>0),this[e(160)](e(138)).to(this,e(140),this,e(163),this,e(136),this,e(142),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(144));if(!s)return at(t,o(124));const a=at(t,o(147),s);return r?at(t,o(152),[n+1,s]):a}),n[e(143)]({label:at(t,e(135)),tooltip:!0,icon:_t.IconChevronUp}),s[e(143)]({label:at(t,e(122)),tooltip:!0,icon:_t.IconChevronDown}),n[e(160)](e(134)).to(this,e(153)),s[e(160)](e(134)).to(this,e(146)),n.on(e(129),()=>this[e(128)](e(129),e(148))),s.on(e(129),()=>this[e(128)](e(129),e(159))),this[e(127)]({tag:e(137),attributes:{class:["ck",e(131),e(141)]},children:[{tag:e(150),attributes:{class:[e(154)]},children:[{tag:e(150),attributes:{class:[e(123),i.if(e(155),e(125),t=>!t)]},children:[{text:i.to(e(142),i=>i?at(t,e(161))+": ":at(t,e(130))+": ")}]},{text:i.to(e(138))}]},new It.ToolbarSeparatorView,{tag:e(137),attributes:{class:[e(133)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=_e();return(we=function(t,e){return i[t-=415]})(t,e)}function _e(){const t=["show","2189170ocfkyv","69198SaYtyT","35sseNMx","65610IukNFB","RevisionViewerLoadingOverlay","364899NhkgaC","isPremiumPlugin","editor","1238088WGtFIO","372372SzdjtL","882nJccqz","change","hide","2vgcFrb","413296qNunnY","pluginName","addClass","removeClass","roots","view","ck-editor__editable__loading-overlay","isOfficialPlugin","document","editing"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(282633===parseInt(e(420))/1+parseInt(e(424))/2*(parseInt(e(416))/3)+-parseInt(e(425))/4+parseInt(e(436))/5+-parseInt(e(437))/6*(parseInt(e(438))/7)+parseInt(e(419))/8+parseInt(e(421))/9*(-parseInt(e(439))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(431);class Se extends G.Plugin{static get[be(426)](){return be(415)}static get[be(432)](){return!0}static get[be(417)](){return!0}[be(435)](){const t=be,e=this[t(418)][t(434)][t(430)];e[t(422)](i=>{const n=t;for(const t of e[n(433)][n(429)])i[n(427)](Ie,t)})}[be(423)](){const t=be,e=this[t(418)][t(434)][t(430)];e[t(422)](i=>{const n=t;for(const t of e[n(433)][n(429)])i[n(428)](Ie,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=410]})(t,e)}function xe(){const t=["690244UArzGY","179610gkSzBB","forward","ck-revision-history-ui__back-to-editing","2952126Lyfvwa","closeRevisionViewerCallback","showNextChange","get","5216NOkyRR","restoreRevision","requires","RevisionViewerUI","plugins","listenTo","exitToEditing","change:isReady","isOfficialPlugin","show","set","pluginName","Restore this revision","isPremiumPlugin","editor","771303aYPQVN","add","bind","numberOfChanges","680365zpWquS","execute","showPreviousChange","hide","changesNavigation","3447jjZNDV","24311170BizFNO","isReady","25PyxrMJ","30ezyrTt","isBackwardNavigationEnabled","isForwardNavigationEnabled","isEnabled","revisionHistory","isNavigationMode","Back to editing","currentChangeNumber","commands","init","componentFactory","config"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(530077===parseInt(e(437))/1+-parseInt(e(415))/2+-parseInt(e(418))/3+-parseInt(e(414))/4*(parseInt(e(449))/5)+parseInt(e(450))/6*(-parseInt(e(441))/7)+parseInt(e(422))/8*(-parseInt(e(446))/9)+parseInt(e(447))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(433)](){return Oe(425)}static get[Oe(430)](){return!0}static get[Oe(435)](){return!0}static get[Oe(424)](){return[ue,Se]}[Oe(411)](){const t=Oe,e=this[t(436)],i=e[t(426)][t(421)](ue),n=e[t(426)][t(421)](Se);e.ui[t(412)][t(438)](t(428),i=>{const n=t,s=new It.ButtonView(i);return s[n(432)]({label:at(i,n(456)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(417)}),this[n(427)](s,n(442),()=>{const t=n;e[t(413)][t(421)](t(454))[t(419)]()}),s}),e.ui[t(412)][t(438)](t(423),i=>{const n=t,s=new It.ButtonView(i);return s[n(432)]({label:at(i,n(434)),withText:!0,tooltip:!0}),s[n(439)](n(453)).to(e[n(410)][n(421)](n(423))),this[n(427)](s,n(442),()=>e[n(442)](n(423))),s}),e.ui[t(412)][t(438)](t(445),n=>{const s=t,r=new ge(n),o=e[s(410)][s(421)](s(443)),a=e[s(410)][s(421)](s(420));return r[s(439)](s(451)).to(o,s(453)),r[s(439)](s(452)).to(a,s(453)),r[s(439)](s(448),s(457),s(440),s(455)).to(i),this[s(427)](r,s(442),(t,i)=>{const n=s;e[n(442)](n(416)===i?n(420):n(443))}),r}),n[t(431)](),i.on(t(429),(e,i,s)=>{const r=t;s?n[r(444)]():n[r(431)]()})}}var Ae=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Vt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ee(){const t=["35686MUwRuu","ck-revision-history-sidebar__revision-name","782MjoMXe","extendTemplate","_updateTooltipText","input","161876tAIBgM","904256MDVRRO","20RzaKJz","clientWidth","317727ViaMVC","fieldView","listenTo","1037889BWSQFy","Enter the revision name","set","2165MbVYjL","_resizeObserver","element","318mqpMwP","scrollWidth","_tooltipString","2132vEaBVG","bindTemplate","placeholder","ck-tooltip_multi-line","destroy","render","value","span","57TyNcKj","Revision name"];return(Ee=function(){return t})()}function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=483]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(167705===parseInt(e(510))/1+parseInt(e(502))/2*(-parseInt(e(498))/3)+parseInt(e(490))/4*(-parseInt(e(484))/5)+-parseInt(e(487))/6*(parseInt(e(500))/7)+parseInt(e(507))/8+-parseInt(e(513))/9*(-parseInt(e(508))/10)+parseInt(e(506))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(485)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(491)];this[i(483)]({label:at(t,i(499)),_tooltipString:""}),this[i(511)][i(492)]=at(t,i(514)),this[i(503)]({tag:i(497),attributes:{class:[i(501)],"data-cke-tooltip-text":n.to(i(489)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(493)}})}[Me(495)](){const e=Me;super[e(495)](),this[e(485)]=new t.ResizeObserver(this[e(511)][e(486)],()=>this[e(504)]()),this[e(512)](this[e(511)],e(505),()=>this[e(504)]())}[Me(494)](){const t=Me;super[t(494)](),this[t(485)]&&this[t(485)][t(494)]()}[Me(504)](){const t=Me,e=this[t(511)][t(486)];this[t(489)]=e[t(488)]>e[t(509)]&&e[t(496)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(826114===-parseInt(e(479))/1*(-parseInt(e(489))/2)+-parseInt(e(484))/3+-parseInt(e(480))/4+-parseInt(e(476))/5*(-parseInt(e(486))/6)+-parseInt(e(478))/7+-parseInt(e(483))/8+parseInt(e(482))/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(485)]({content:_t.IconUser,viewBox:n(487)});const r=["ck",n(492)];i&&r[n(474)](n(490));const o=[{tag:n(477),attributes:{class:["ck",n(475)],title:at(t,n(i?481:488))},children:[s,e[n(493)]]}];this[n(491)]({tag:"li",attributes:{class:r},children:o})}}function Le(){const t=["3586vnrgUM","ck-revision-history-sidebar__revision-author_creator","setTemplate","ck-revision-history-sidebar__revision-author","name","push","ck-revision-history-sidebar__revision-author__name","395OhkkTo","span","9178960NxDVHx","8JBRxRi","2657448hdNvCk","Revision creator","25311861OWwhBQ","469296euMMDL","3921666qeAMLR","set","101838dbzsBT","0 0 11 10","Revision author"];return(Le=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=170]})(t,e)}function We(){var t=["2367VrkawW","2680NonQnJ","32721omeOnX","557810GmKfZi","129170eaIRXz","63PFdDvy","numeric","30Dicpjc","1104lwddEr","24QsxdsW","88mwgykr","11319nVqEJo","toLocaleTimeString","2676zfQdfr","7637izkIWg","long","toLocaleDateString"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(330612===-parseInt(e(186))/1*(parseInt(e(179))/2)+-parseInt(e(172))/3*(-parseInt(e(182))/4)+parseInt(e(173))/5*(-parseInt(e(180))/6)+parseInt(e(183))/7*(parseInt(e(181))/8)+-parseInt(e(177))/9*(parseInt(e(176))/10)+parseInt(e(175))/11+-parseInt(e(185))/12*(-parseInt(e(174))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Vt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=447]})(t,e)}function qe(){const t=["stopPropagation","isActionsDropdownOpen","locale","menu","isEnabled","bindTemplate","234khmjNI","class","1811736yBGGla","action","ck-revision-history-sidebar__revision__actions","4374678jGcgON","name","first","30412iPceRM","Restore this revision","add","find","children","isOpen","listView","1506FmrHFU","set","source","map","execute","20taofqA","panelPosition","change:isActionsDropdownOpen","5165bVYJac","_action","items","menuitem","Compare against selected","extendTemplate","buttonView","isReady","ck-on","function","model","listenTo","82rbleqr","Name this revision","15501zEGbBu","Show more items","3697958IYZRRD","3727472AoGxtG","button","isVisible","bind"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(318046===-parseInt(e(469))/1*(parseInt(e(467))/2)+-parseInt(e(482))/3*(-parseInt(e(490))/4)+-parseInt(e(455))/5*(parseInt(e(447))/6)+parseInt(e(487))/7+parseInt(e(472))/8+parseInt(e(484))/9+parseInt(e(452))/10*(-parseInt(e(471))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=342]})(t,e)}function Ge(){const t=["7050930mAukaH","8654400RnzrOw","ck-revision-history-sidebar__revision-wrapper","6KAgAEu","isEnabled","ck-revision-history-sidebar__revision_highlighted","createdAt","setTemplate",".ck-thread__remove-confirm","value","render","220","9396270CepwPd","isActionsDropdownOpen","isConfirm","from","div","ck-revision-history-sidebar__revision_selected","span","extendTemplate","fire","listenTo","4668027qECKQT","change","_requireRevisionName","isHighlighted","closest","revisionNameView","select","name","bindTemplate","ck-reset","780gfMNHZ","authors","revisionActionsView","length","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision","1961QYhApM","element","ck-revision-history-sidebar__actions_dropdown_open","_revision","uiLanguage","map","setName","ck-revision-history-sidebar__revision__date","453615rzLSie","isReady","bind","unhighlight","_createdAtFormatted","isSelected","creator","set","1148864vFPMRl","ck-revision-history-sidebar__revision-authors","deselect","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unshift","ck-disabled","highlight","filter","fieldView","srcElement"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(753726===parseInt(e(374))/1*(-parseInt(e(368))/2)+-parseInt(e(382))/3+parseInt(e(390))/4+-parseInt(e(400))/5+parseInt(e(403))/6*(parseInt(e(358))/7)+parseInt(e(401))/8+parseInt(e(348))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(363)];[Ye(370)];[Ye(377)];[Ye(360)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(366)],a=function(t,e){const i=r,n=Array[i(351)](e[i(369)])[i(397)](t=>t!=e[i(388)]);return e[i(388)]&&n[i(394)](e[i(388)]),n[i(379)](n=>new Pe(t,n,n==e[i(388)]))}(e,i);this.id=i.id,this[r(377)]=i,this[r(360)]=s,this[r(384)](r(365),r(342)).to(i),this[r(384)](r(386)).to(this,r(342),t=>{return i=e[r(378)],(n=t)[(s=ze)(171)](i,{month:s(170),day:s(178)})+", "+n[s(184)](i,{hour:s(178),minute:s(178)});var i,n,s}),this[r(389)](r(387),!1),this[r(389)](r(361),!1),this[r(389)](r(349),!1),this[r(389)](r(383),!1),this[r(389)](r(404),!1),this[r(363)]=new De(e,It.createLabeledInputText),this[r(363)][r(398)][r(355)]({attributes:{maxlength:r(347)}}),this[r(363)][r(398)][r(384)](r(345)).to(this,r(365),t=>t||this[r(386)]),this[r(363)][r(384)](r(404)).to(this,r(387),this,r(404),(t,e)=>t&&e),this[r(370)]=n&&n[r(371)]?function(e,i){const n=Ze,s=e[n(481)],r=e[n(478)],o=(0,It.createDropdown)(r);o[n(453)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(478)],s={"Compare against selected":at(n,i(459)),"Name this revision":at(n,i(468)),"Restore this revision":at(n,i(491))};return e[i(450)](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(473),model:new It.UIModel({label:t[s(488)],class:t[s(483)],withText:!0,role:s(458),_action:t[s(485)]})};i[s(465)][s(475)](s(480)).to(e,s(477),i=>s(464)!=typeof t[s(480)]||!i||t[s(480)](e)),o[s(492)](i)}return o}(e,i);return e[n(475)](n(477)).to(o,n(495)),o[n(461)][n(448)]({label:at(r,n(470)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(460)]({attributes:{class:[n(486),s.if(n(477),n(463))]},on:{click:s.to(t=>t[n(476)]())}}),o.on(n(451),t=>{const i=n;e[i(462)]&&i(464)==typeof t[i(449)][i(456)]&&t[i(449)][i(456)](e)}),(0,It.addListToDropdown)(o,a,{role:n(479)}),o[n(466)](e,n(454),(t,s,r)=>{const a=n;if(r)for(const t of o[a(496)][a(457)]){const n=t[a(494)][a(489)],s=i[a(493)](t=>t[a(485)]===n[a(456)])[a(474)];t[a(474)]=void 0===s||s(e)}}),o}(this,n):"",this[r(370)]&&this[r(370)][r(384)](r(404)).to(this),this[r(343)]({tag:r(352),attributes:{class:["ck",r(367),r(402),o.if(r(350),r(393))]},children:[{tag:r(352),attributes:{class:["ck",r(367),r(373),o.if(r(404),r(395),t=>!t),o.if(r(387),r(353)),o.if(r(361),r(405)),o.if(r(349),r(376))]},children:[this[r(363)],{tag:r(354),attributes:{class:["ck",r(381)]},children:[{text:o.to(r(386))}]},{tag:r(352),attributes:{class:["ck",r(372)]},children:[{tag:"ul",attributes:{class:["ck",r(391)]},children:a}]},this[r(370)]],on:{click:o.to(t=>{const e=r;t[e(399)][e(362)](e(344))||this[e(383)]&&this[e(404)]&&this[e(356)](e(364),{id:this.id})})}}]})}[Ye(346)](){const t=Ye;super[t(346)]();const e=this[t(363)][t(398)][t(375)];this[t(357)](e,t(359),()=>{const i=t;this[i(360)]&&!e[i(345)]||this[i(356)](i(380),{id:this.id,name:e[i(345)]}),e[i(345)]||(e[i(345)]=this[i(365)]?this[i(365)]:this[i(386)])})}[Ye(364)](){this[Ye(387)]=!0}[Ye(392)](){this[Ye(387)]=!1}[Ye(396)](){this[Ye(361)]=!0}[Ye(385)](){this[Ye(361)]=!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 Vi extends Mi{static get instance(){return null===Ei&&(Ei=new Vi),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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 Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[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:Vn(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 Pi={};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 Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $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=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.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 Un(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&&ji.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=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.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":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Li.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.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=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?Xi.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=Pi[i];return n||(n=new Intl.ListFormat(t,e),Pi[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:jn()?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 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(Vn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(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,Vi.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(){Xi.resetCache(),ji.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=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(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(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=Wn(t.month,1,12),n=Wn(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=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Vn(t){return void 0===t}function Dn(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 jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Pn(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(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Vn(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 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(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}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(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 Un(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]]=Hn(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"),Vs=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Vs.source})?`);function Cs(t,e,i){const n=t[e];return Vn(n)?i:Hn(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 js(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 Ps(t,e){return[{},t[e]?ji.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 Ws(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 Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(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=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[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[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(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,js,Ps),ir=Ss(Ms,Fs,js,Ps),nr=Ss(Es,Fs,js,Ps),sr=Ss(Fs,js,Ps);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Vs),cr=Ss(Fs,js,Ps);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(Vn(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(Vn(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(Dn(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,Ws])}(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 Vn(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;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(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 ji.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:jn()}}}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}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 Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(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 Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}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;Vn(t.z)||(i=ji.create(t.z)),Vn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(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),Vn(t.u)||(t.S=qn(t.u));const n=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},{});return[n,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 Pr(t,e,i){return new jr(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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(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(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+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(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(Ur(i));const n=Xi.fromObject(e);let s,r;if(Vn(t.year))s=gn.now();else{for(const e of no)Vn(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=!!Vn(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:Ur(e));this.ts=Vn(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=Dn(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||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(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?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(Dn(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(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(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){Vn(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=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(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=Wn(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),[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(Vn(t)||Vn(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}=Pr(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=Lr(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?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?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?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(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(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):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(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=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():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 Pn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Pn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Pr(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 jr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(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&&Dn(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=go();return(po=function(t,e){return i[t-=180]})(t,e)}function vo(t,e){const i=po,n=fo[i(191)](t)[i(200)](e),s=fo[i(198)](),r=s[i(188)]({days:1})[i(185)](i(197));let o,a;return n[i(196)](s,i(197))?(o=n[i(185)](i(197))[i(194)](),a=n[i(192)]()):n[i(196)](r,i(197))?(o=r[i(194)](),a=n[i(192)]()):n[i(196)](s,i(186))?(o=n[i(185)](i(186))[i(194)](),a=n[i(190)]||""):n[i(196)](s,i(189))?(o=n[i(185)](i(201))[i(194)](),a=n[i(199)]||""):(o=n[i(185)](i(189))[i(194)](),a=String(n[i(189)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["3675060inmIIA","5695038XWZbWy","4309744hossLq","2SPWOvv","2061272xCHrOZ","startOf","week","1328814qUkYpd","minus","year","weekdayLong","fromJSDate","toRelativeCalendar","54oEHDNk","toJSDate","8818201aDUFbw","hasSame","day","local","monthLong","setLocale","month","4464495JTbPzm"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(951293===-parseInt(e(187))/1*(-parseInt(e(183))/2)+-parseInt(e(180))/3+parseInt(e(182))/4+-parseInt(e(202))/5+parseInt(e(181))/6+parseInt(e(195))/7+-parseInt(e(184))/8*(parseInt(e(193))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["find","3780328vlZQNJ","_requireRevisionName","delegate","add","select","setName","localizedPeriodName","createCollection","div","60856OPXCSL","3093396rwRJwx","100709speUHv","setTemplate","2371175iEtYZX","uiLanguage","17290935bctTQo","ck-revision-history-sidebar__time-period__revisions","_revisionActions","85422HyOIFL","ck-revision-history-sidebar__time-period","startDate","addRevision","remove","span","25VZVDGc","removeRevision","ck-revision-history-sidebar__time-period__label","342tSzaOP","revisionViews","locale"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(674559===-parseInt(e(208))/1*(-parseInt(e(202))/2)+-parseInt(e(225))/3+-parseInt(e(215))/4+parseInt(e(197))/5+-parseInt(e(211))/6*(parseInt(e(226))/7)+parseInt(e(224))/8+parseInt(e(199))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(204)];[bo(212)];[bo(201)];[bo(216)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(213)][s(198)])[s(221)];this[s(204)]=e,this[s(212)]=this[s(222)](),this[s(201)]=i,this[s(216)]=n,this[s(212)][s(217)](s(219)).to(this),this[s(212)][s(217)](s(220)).to(this),this[s(227)]({tag:s(223),attributes:{class:["ck",s(203)]},children:[{tag:s(207),attributes:{class:["ck",s(210)]},children:[{text:r}]},{tag:s(223),attributes:{class:["ck",s(200)]},children:this[s(212)]}]})}[bo(205)](t){const e=bo,i=new Ke(this[e(213)],t,this[e(201)],this[e(216)]);this[e(212)][e(218)](i)}[bo(209)](t){const e=bo,i=this[e(212)][e(214)](e=>e.id===t.id);this[e(212)][e(206)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=No();return(To=function(t,e){return i[t-=437]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(962533===-parseInt(e(446))/1+-parseInt(e(441))/2*(parseInt(e(442))/3)+-parseInt(e(449))/4+parseInt(e(444))/5+parseInt(e(438))/6+parseInt(e(453))/7*(parseInt(e(437))/8)+parseInt(e(450))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(440)]=_t.IconHistory,this[e(452)]({tag:e(443),attributes:{class:["ck",e(445),e(447)]},children:[i,{tag:e(451),attributes:{class:["ck",e(439)]},children:[at(t,e(448))]}]})}}function No(){const t=["setTemplate","10816274SzBcvo","8cNqcCP","1031394FWjVkL","ck-revision-history-sidebar__header__label","content","74cnMOQr","77019sYFvxn","div","2007025JYzvYy","ck-reset_all","502416fTEHXM","ck-revision-history-sidebar__header","Revision history","7395980ctUheR","19308231cvEPXg","span"];return(No=function(){return t})()}var Ao=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Vt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Eo;function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=270]})(t,e)}function Vo(){const t=["get","revisionSelected","ck-revision-history-sidebar","revisionViews","find","_revisions","createdAt","1162588AbmAOB","highlight","unhighlight","ck-rounded-corners","5RzmBhn","removeRevision","1592162jHiFFp","select","1072urSsAz","setTemplate","bindTemplate","getTime","_revisionActions","_getTimePeriodViewByStartDate","map","_addRevision","190071qplEKO","revisionSetName","deselect","addRevision","uiLanguage","locale","highlightRevisions","4IirwqB","_requireRevisionName","render","selectRevision","some","fire","ck-revision-history-sidebar__timeline","delegate","remove","15980041VEUcxB","set","createCollection","flat","ck-reset","startDate","10znRUbi","add","_removeRevision","224853kHiOtD","div","isEnabled","ck-disabled","timePeriodViews","setName","287eShsvK","7965192QPXaAq"];return(Vo=function(){return t})()}!function(t){const e=Eo,i=t();for(;;)try{if(869932===-parseInt(e(314))/1+-parseInt(e(320))/2+-parseInt(e(299))/3*(-parseInt(e(281))/4)+-parseInt(e(318))/5*(-parseInt(e(306))/6)+parseInt(e(305))/7*(-parseInt(e(322))/8)+-parseInt(e(274))/9*(parseInt(e(296))/10)+parseInt(e(290))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(303)];[Mo(312)];[Mo(270)];[Mo(282)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(324)];this[s(303)]=this[s(292)](),this[s(303)][s(288)](s(321)).to(this),this[s(303)][s(288)](s(304)).to(this),this[s(312)]=e,this[s(270)]=i,this[s(282)]=n,this.on(s(321),(t,e)=>{const i=s;this[i(286)](i(308),e)}),this.on(s(304),(t,e)=>{const i=s;this[i(286)](i(275),e)}),this[s(291)](s(301),!1),this[s(323)]({tag:s(300),attributes:{class:["ck",s(294),s(317),s(309)]},children:[new xo(t),{tag:s(300),attributes:{class:["ck",s(287),r.if(s(301),s(302),t=>!t)]},children:this[s(303)]}]})}[Mo(283)](){const t=Mo;super[t(283)]();for(const e of this[t(312)])this[t(273)](e);this[t(312)].on(t(297),(e,i)=>{this[t(273)](i)}),this[t(312)].on(t(289),(e,i)=>{this[t(298)](i)})}get[Mo(310)](){const t=Mo;return this[t(303)][t(272)](e=>e[t(310)][t(272)](t=>t))[t(293)]()}[Mo(284)](t){const e=Mo;for(const i of this[e(310)])t&&t.id===i.id?i[e(321)]():i[e(276)]()}[Mo(280)](t){const e=Mo;for(const i of this[e(310)])t[e(285)](({id:t})=>t===i.id)?i[e(315)]():i[e(316)]()}[Mo(273)](t){const e=Mo,i=vo(t[e(313)],this[e(279)][e(278)])[e(295)];let n=this[e(303)][e(307)](0);n&&n[e(295)][e(325)]()===i[e(325)]()||(n=new Io(this[e(279)],i,this[e(270)],this[e(282)]),this[e(303)][e(297)](n)),n[e(277)](t)}[Mo(298)](t){const e=Mo,i=vo(t[e(313)],this[e(279)][e(278)])[e(295)];this[e(271)](i)[e(319)](t)}[Mo(271)](t){const e=Mo;return this[e(303)][e(311)](i=>i[e(295)][e(325)]()===t[e(325)]())}}const Co=Fo;function Fo(t,e){const i=Po();return(Fo=function(t,e){return i[t-=447]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(934083===-parseInt(e(487))/1+-parseInt(e(459))/2*(parseInt(e(462))/3)+-parseInt(e(478))/4+parseInt(e(461))/5*(-parseInt(e(456))/6)+-parseInt(e(448))/7+parseInt(e(451))/8*(-parseInt(e(515))/9)+parseInt(e(472))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends G.Plugin{[Co(504)];[Co(469)];[Co(486)];static[Co(481)]=[Co(480),Co(518),Co(477)];static[Co(509)]=function(){const t=Co;return{compareAgainstSelected:{name:t(476),action:({plugins:e},i)=>{const n=t,s=e[n(528)](ue),r=s[n(450)];let o=s[n(488)][n(529)],a=i.id;r[n(492)](o)>r[n(492)](a)&&([o,a]=[a,o]),s[n(506)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(528)](ue);return!(s[n(450)][n(499)](s[n(488)])[n(470)]>2||i[n(479)])}},restoreRevision:{name:t(463),action:(e,{id:i})=>{const n=t;e[n(523)][n(528)](n(473))[n(517)](i)},isVisible:({plugins:e},i)=>!!e[t(528)](ue)[t(450)][t(489)](i.id)},nameRevision:{name:t(454),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(528)](ue),o=r[s(450)][s(449)](i);r[s(506)](i,o),n[s(510)](),n[s(484)][s(498)]()}}}}();static get[Co(526)](){return Co(502)}static get[Co(455)](){return!0}static get[Co(453)](){return!0}static get[Co(468)](){return[ue]}constructor(t){const e=Co;super(t),this[e(504)]=t[e(460)][e(528)](ue),this[e(469)]=this[e(504)][e(450)],this[e(486)]=null}[Co(494)](){const t=Co,e=this[t(469)][t(524)],i=this[t(467)](),n=this[t(507)][t(523)][t(528)](t(527));this[t(486)]=new Do(this[t(507)][t(522)],e,i,this[t(507)][t(523)][t(528)](t(496))),this[t(486)].on(t(490),this[t(474)][t(512)](this)),this[t(486)].on(t(457),this[t(447)][t(512)](this)),this[t(486)][t(512)](t(514)).to(this[t(504)]),this[t(486)][t(513)].on(t(485),(e,i)=>{const n=t;i[n(505)].on(n(485),(t,e)=>{const i=n;e[i(512)](i(514),i(519)).to(this[i(504)])})}),this[t(486)][t(500)](),this[t(458)](this[t(507)][t(520)],t(497),this[t(501)][t(512)](this)),this[t(458)](this[t(504)],t(482),this[t(493)][t(512)](this)),n[t(471)](this[t(486)][t(511)])}[Co(483)](){const t=Co;this[t(486)][t(511)][t(508)](),this[t(486)][t(483)]()}[Co(501)](){const t=Co,e=this[t(469)][t(464)](0);if(e){const i=this[t(469)][t(449)](e.id);this[t(504)][t(506)](e,i)}}[Co(474)](t,e){const i=Co,n=this[i(469)][i(464)](e.id),s=this[i(469)][i(449)](n.id);this[i(504)][i(506)](n,s)}[Co(447)](t,e){const i=Co;this[i(469)][i(464)](e.id)[i(466)](e[i(465)])}[Co(493)](t,e,i){const n=Co,s=this[n(469)][n(499)](i);s[n(470)]>2?(this[n(486)][n(475)](s),this[n(486)][n(495)](null)):(this[n(486)][n(475)]([]),this[n(486)][n(495)](s[0]))}[Co(467)](){const t=Co,e=this[t(507)],i=jo[t(509)],n=e[t(523)][t(528)](t(525))||jo[t(481)];if(n[t(470)])return n[t(516)](n=>{const s=t,r=s(503)==typeof n?Object[s(452)]({},i[n]):n;return r[s(521)]=r[s(521)][s(512)](this,e),r[s(491)]&&(r[s(491)]=r[s(491)][s(512)](this,e)),r})}}function Po(){const t=["revisionSetName","listenTo","86hiUnpr","plugins","5pWAlLY","37779CitMKX","Restore this revision","getRevision","name","setName","_createRevisionActions","requires","_revisionsRepository","length","appendChild","76808240OMkYfb","revisionHistory","_handleRevisionSelected","highlightRevisions","Compare against selected","nameRevision","3681132IvvyeE","isSelected","compareAgainstSelected","defaultRevisionActions","change:diff","destroy","fieldView","add","_sidebarView","899799MOayCe","diff","getLaterVisibleRevision","revisionSelected","isVisible","getIndex","_handleDiffChange","init","selectRevision","revisionHistory.requireRevisionName","ready","select","getRevisionsInDiff","render","_handleEditorDataReady","RevisionsSidebar","string","_revisionViewer","revisionViews","compare","editor","remove","availableRevisionActions","focus","element","bind","timePeriodViews","isEnabled","174591cmqqnj","map","restoreRevisionCallback","restoreRevision","isReady","data","action","locale","config","_revisions","revisionHistory.revisionActions","pluginName","revisionHistory.viewerSidebarContainer","get","newRevisionId","_handleRevisionSetName","10375610XmfmHy","getEarlierVisibleRevision","repository","648Fuaxog","assign","isPremiumPlugin","Name this revision","isOfficialPlugin","7989666cDiBXW"];return(Po=function(){return t})()}const Lo=zo;function zo(t,e){const i=Wo();return(zo=function(t,e){return i[t-=185]})(t,e)}function Wo(){const t=["restore","1791059TwQcBx","3598962CamlEO","replace","destroy","view","get","isActive","63tzzVTX","1634144PuUKNq","getRoot","setEditableElement","attachDomRoot","rootName","init","157452CTISKB","fillFromConfig","editing","document","bind","editable","detachDomRoot","fire","editor","limiterElement","_toolbarConfig","element","_initToolbar","stickyPanel","_elementReplacer","288351fCAcNC","isFocused","2804152FQpqgs","config","_view","toolbar","viewportTopOffset","focusTracker","addToolbar","305RcMkqI","5189262SrOGnX","viewportOffset","ready","render","name","componentFactory"];return(Wo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(907445===-parseInt(e(187))/1+parseInt(e(188))/2+parseInt(e(226))/3+-parseInt(e(218))/4+-parseInt(e(225))/5*(parseInt(e(201))/6)+parseInt(e(216))/7+parseInt(e(195))/8*(parseInt(e(194))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends It.EditorUI{[Lo(220)];[Lo(211)];[Lo(215)];get[Lo(191)](){return this[Lo(220)]}constructor(e,i){const n=Lo;super(e),this[n(220)]=i,this[n(211)]=(0,It.normalizeToolbarConfig)(e[n(219)][n(192)](n(221))),this[n(215)]=new t.ElementReplacer}get[Lo(212)](){const t=Lo;return this[t(191)][t(212)]}[Lo(200)](t){const e=Lo,i=this[e(209)],n=this[e(191)],s=i[e(203)][e(191)],r=n[e(206)],o=s[e(204)][e(196)]();r[e(230)]=o[e(199)],n[e(229)]();const a=r[e(212)];this[e(197)](r[e(230)],a),n[e(206)][e(205)](e(217)).to(this[e(223)]),s[e(198)](a),this[e(215)][e(189)](t,this[e(212)]),this[e(213)](),this[e(208)](e(228))}[Lo(190)](){const t=Lo;super[t(190)]();const e=this[t(191)],i=this[t(209)][t(203)][t(191)];this[t(215)][t(186)](),i[t(207)](e[t(206)][t(230)]),e[t(190)]()}[Lo(213)](){const t=Lo,e=this[t(191)];e[t(214)][t(205)](t(193)).to(this[t(223)],t(217)),e[t(214)][t(210)]=e[t(212)],e[t(214)][t(205)](t(222)).to(this,t(227),({top:t})=>t),e[t(221)][t(202)](this[t(211)],this[t(185)]),this[t(224)](e[t(221)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Vt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=334]})(t,e)}function Bo(){var t=["144824oTYBoO","content","editable","697656gdErwd","112508RRDiwC","5148SvYnCA","628vfkeAD","154hlBCWm","38570MhtzYk","shouldToolbarGroupWhenFull","1016210pfhDGk","top","add","63EFVYeE","toolbar","1079805OKESbG","_editable","450666kjRwtb","15KUiPvs","render","stickyPanel","main"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(773439===-parseInt(e(338))/1+parseInt(e(340))/2*(-parseInt(e(341))/3)+parseInt(e(351))/4*(-parseInt(e(353))/5)+parseInt(e(348))/6+-parseInt(e(352))/7*(-parseInt(e(345))/8)+parseInt(e(336))/9*(-parseInt(e(355))/10)+-parseInt(e(349))/11*(-parseInt(e(350))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(339)];[qo(343)];[qo(337)];get[qo(347)](){return this[qo(339)]}constructor(t,e,i={}){var n=qo;super(t),this[n(343)]=new It.StickyPanelView(t),this[n(337)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(354)]}),this[n(339)]=new It.InlineEditableUIView(t,e)}[qo(342)](){var t=qo;super[t(342)](),this[t(343)][t(346)][t(335)](this[t(337)]),this[t(334)][t(335)](this[t(343)]),this[t(344)][t(335)](this[t(347)])}}const Jo=Go;function Go(t,e){const i=Xo();return(Go=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(330840===-parseInt(e(279))/1+-parseInt(e(262))/2*(parseInt(e(257))/3)+parseInt(e(260))/4*(parseInt(e(267))/5)+parseInt(e(263))/6*(-parseInt(e(276))/7)+parseInt(e(273))/8+-parseInt(e(268))/9+parseInt(e(278))/10*(parseInt(e(264))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(253)];get ui(){return this[Jo(253)]}constructor(t,e){const i=Jo;super(e),this[i(271)]=t,this[i(261)][i(269)][i(274)]();const n=new Yo(this[i(256)],this[i(259)][i(265)],{shouldToolbarGroupWhenFull:!0});this[i(253)]=new Uo(this,n)}[Jo(252)](){const t=Jo;return this[t(258)](),this.ui[t(252)](),super[t(252)]()}static async[Jo(254)](t,e){const i=Jo,n=new this(t,e);return await n[i(255)](),await n.ui[i(270)](t),await n[i(272)][i(270)](n[i(277)][i(266)](i(275))||""),n[i(280)](i(281)),n}}function Xo(){const t=["model","29534kWMjLG","244908uvmKso","77bNynWC","view","get","4405fTyaWs","3917160ZtYLYA","document","init","sourceElement","data","2036944mZWHXG","createRoot","initialData","77mkgqcV","config","1988300MqAxgZ","287168UnHuOi","fire","ready","destroy","_ui","create","initPlugins","locale","105QYeCHF","updateSourceElement","editing","1692HvPznY"];return(Xo=function(){return t})()}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=427]})(t,e)}function ea(){const t=["detachRoot","rootName","Autosave","isAttached","loadRevisionData","removeMarker","_enhanceShowRevisionViewerCallback","from","insert","DocumentOutlineUI","_update","getRevisionDocumentData","598994wkyOyO","6748064ihUBpQ","plugins","createdAt","getUser","refreshVisibility","restoreRevision","set","revisionHistory.viewerContainer","setAttribute","end","lazyRoots","revision-history-viewer-opened","_recalculatePageBreaks","long","exitToEditing","revisionHistory.restoreRevisionCallback","isEnabled","roots","save","style","creator","model","join","create","getRevisionRootsAttributes","repository","isReady","$graveyard","locale","adapter","Annotations","RevisionHistoryUtils","toLocaleDateString","toVersion","hide","isAnonymous","revisionHistory","selection","uiLanguage","has","isOpen","_getRevisionViewerEditorConfig","translations","RevisionViewer","_showRevisionViewer","users","init","revisionHistory.closeRevisionViewerCallback","149514xsslRt","data","getMarkersGroup","catch","editor","_restoreRevision","keys","RestrictedEditingMode","enqueueChange","enableReadOnlyMode","get","addRevisionData","_enhanceCloseRevisionViewerCallback","39385gGQQdx","getAttributeKeys","508VKwJib","includes","revisionHistory.requireRevisionName","push","saveRevision","error","getRevisions","then","Users","revision-history-missing-configuration","PaginationLookup","element","restrictedEditingException","parse","disableReadOnlyMode","showRevisionViewerCallback","toJSON","createRangeIn","toLocaleTimeString","DocumentOutline","numeric","document","closeRevisionViewerCallback","Restored","RevisionTracker","fromCharCode","3106845apVEbM","_closeRevisionViewer","change","getRoot","isPremiumPlugin","_viewerEditor","addUser","_cleanUp","none","map","isReadOnly","getRevision","view","fromVersion","RevisionViewerIntegration","changesNavigation","remove","revisionHistory.editorContainer","isRevisionViewerOpen","toolbar","indexOf","requires","display","name","addRoot","removeAttribute","bind","RevisionHistoryUI","804804AJZuUw","markers","update","define","result","isOfficialPlugin","pluginName","setSelection","RevisionsRepository","revisionHistory.viewerEditorElement","Dialog","commands","removeSelectionAttribute","block","revisionHistory.showRevisionViewerCallback","4485999vQgbpK","RevisionHistory","refreshPositioning","config","destroy"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(577591===parseInt(e(570))/1+parseInt(e(452))/2+-parseInt(e(542))/3+-parseInt(e(516))/4*(parseInt(e(514))/5)+parseInt(e(501))/6+parseInt(e(435))/7+parseInt(e(453))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(569),Qo(508)];class na extends G.Plugin{[Qo(574)];static get[Qo(576)](){return Qo(556)}static get[Qo(575)](){return!0}static get[Qo(546)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(551)](t=>String[e(541)](t))[e(475)]("")}super(t),this[e(574)]=e(462),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(547)];static get[Qo(576)](){return Qo(436)}static get[Qo(575)](){return!0}static get[Qo(546)](){return!0}static get[Qo(563)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(505)][i(438)][i(511)](i(489)))throw new t.CKEditorError(i(525),this);this[i(547)]=null,this[i(459)](i(560),!1),this[i(505)][i(438)][i(573)](i(434),t=>this[i(497)]({...t,translations:this[i(505)][i(481)][i(495)]})),this[i(505)][i(438)][i(573)](i(500),t=>this[i(543)](t)),this[i(505)][i(438)][i(573)](i(468),t=>this[i(506)](t)),this[i(505)][i(438)][i(573)](i(518),!1),this[i(446)](),this[i(513)]()}set[Qo(482)](t){const e=Qo;this[e(505)][e(454)][e(511)](e(540))[e(482)]=t}get[Qo(482)](){const t=Qo;return this[t(505)][t(454)][t(511)](t(540))[t(482)]}[Qo(512)](t){const e=Qo;return this[e(505)][e(454)][e(511)](e(540))[e(512)](t)}[Qo(553)](t){const e=Qo;return this[e(505)][e(454)][e(511)](e(428))[e(553)](t)}[Qo(522)](t){const e=Qo;return this[e(505)][e(454)][e(511)](e(428))[e(522)](t||{toJSON:!1})}[Qo(494)](){const e=Qo,i=this[e(505)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(454)][e(511)](e(540)),r=i[e(454)][e(511)](e(524))[e(498)];return n[e(561)]=[e(467),e(458),e(557)],delete n[e(463)],n[e(454)][e(519)](na,ue,Ne,class extends G.Plugin{static get[e(563)](){return[ue,e(524)]}[e(499)](){const n=e,o=this[n(505)][n(454)][n(511)](n(524));for(const t of r)t[n(488)]||o[n(456)](t.id)||o[n(548)](t);const a=s[n(478)][n(522)]();let c=null;const u=this[n(505)][n(454)][n(511)](n(496));u[n(482)]=s[n(482)],u[n(568)](n(469)).to(s),this[n(505)][n(431)][n(511)](n(458))[n(568)](n(469)).to(i,n(552),t=>!t);for(const e of a){const i=null===e[n(473)];if(i&&e[n(486)]===e[n(555)])continue;const r=e[n(532)]();u[n(512)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(450)](r,o);else if(!o){const e=a[u(532)]();e.id=(0,t.uid)(),s[u(520)](e,a[u(486)])[u(523)](t=>{c=t})}}else e[u(450)](r,o)})}}},jo),n}[Qo(446)](){const t=Qo,e=this[t(505)][t(438)][t(511)](t(489))[t(531)];this[t(505)][t(438)][t(459)](t(434),async()=>{const i=t;this[i(505)][i(510)](i(464));const n=this[i(505)][i(454)][i(511)](i(540));if(this[i(505)][i(454)][i(492)](i(442))){const t=this[i(505)][i(454)][i(511)](i(442));await t[i(471)]()}else await n[i(572)]();if(this[i(505)][i(454)][i(492)](i(526))&&this[i(505)][i(454)][i(511)](i(526))[i(465)](),this[i(505)][i(454)][i(492)](i(430))){const t=this[i(505)][i(454)][i(511)](i(430));t[i(493)]&&t[i(487)]()}const s=this[i(494)]();return e(s)[i(523)](t=>{const e=i;return this[e(547)]=t,this[e(505)][e(454)][e(492)](e(483))&&this[e(505)][e(454)][e(511)](e(483))[e(457)](),this[e(505)][e(454)][e(492)](e(535))&&(this[e(505)][e(454)][e(511)](e(449))[e(554)][e(527)][e(472)][e(564)]=e(550)),t})[i(504)](t=>(console[i(521)](t),this[i(505)][i(530)](i(464)),null))})}[Qo(513)](){const t=Qo,e=this[t(505)][t(438)][t(511)](t(489))[t(538)];this[t(505)][t(438)][t(459)](t(500),()=>(this[t(505)][t(454)][t(492)](t(526))&&this[t(505)][t(454)][t(511)](t(526))[t(465)](),this[t(505)][t(454)][t(492)](t(535))&&(this[t(505)][t(454)][t(511)](t(449))[t(554)][t(527)][t(472)][t(564)]=""),this[t(547)][t(454)][t(511)](t(496))[t(549)](),e(this[t(547)])[t(523)](()=>{const e=t;if(this[e(505)][e(530)](e(464)),this[e(547)]=null,this[e(505)][e(454)][e(492)](e(483))){const t=this[e(505)][e(454)][e(511)](e(483));t[e(457)](),t[e(437)]()}})))}[Qo(497)](t){const e=Qo,i=this[e(505)][e(438)][e(511)](e(559)),n=this[e(505)][e(438)][e(511)](e(460)),s=this[e(505)][e(438)][e(511)](e(429));return Ko[e(476)](s,t)[e(523)](t=>(n[e(472)][e(564)]=e(433),i[e(472)][e(564)]=e(550),this[e(560)]=!0,t))}[Qo(543)](t){const e=Qo,i=this[e(505)][e(438)][e(511)](e(559));return this[e(505)][e(438)][e(511)](e(460))[e(472)][e(564)]=e(550),i[e(472)][e(564)]="",this[e(560)]=!1,t[e(439)]()}async[Qo(506)](t){const e=Qo,i=this[e(505)],n=this[e(547)][e(454)][e(511)](e(496)),s=i[e(454)][e(511)](e(540)),r=i[e(454)][e(511)](e(484)),o=n[e(478)][e(553)](t);let a,c,u;try{await r[e(444)](o,this[e(482)]),a=r[e(451)](o),c=r[e(477)](o)}catch(t){return void console[e(521)](t)}i[e(474)][e(544)](t=>{const n=e;for(const e of Array[n(447)](i[n(474)][n(571)][n(503)](n(528))))t[n(445)](e)}),n[e(479)]=!1,i[e(474)][e(509)](t=>{const n=e;t[n(427)](null),t[n(432)](i[n(474)][n(537)][n(490)][n(515)]());const s=Object[n(507)](a);for(const e of i[n(474)][n(537)][n(470)])n(480)!=e[n(441)]&&e[n(443)]()&&!s[n(517)](e[n(441)])&&t[n(440)](e);for(const e of s){let s=i[n(474)][n(537)][n(545)](e);s&&s[n(443)]()||(s=t[n(566)](e));const r=c[e],o=Object[n(507)](r),u=a[e];for(const e of s[n(515)]())o[n(517)](e)||t[n(567)](e,s);for(const i of o)t[n(461)](i,c[e][i],s);t[n(558)](t[n(533)](s)),t[n(448)](i[n(502)][n(529)](u,s),s,0)}});const l=at(i[e(481)],e(539));return u=o[e(565)]?-1==o[e(565)][e(562)](l)?l+": "+o[e(565)]:o[e(565)]:l+": "+o[e(455)][e(485)](i[e(481)][e(491)],{month:e(466),day:e(536)})+", "+o[e(455)][e(534)](i[e(481)][e(491)],{hour:e(536),minute:e(536)}),await s[e(520)]({name:u}),n[e(479)]=!0,i[e(438)][e(511)](e(489))[e(538)]()}}function ra(){var t=["1757236gJEvrK","2782692ANrewt","18jGOGlO","7955dPQMaM","1245449rcECVc","6094536GuZTDE","2748zopUdJ","4613672yAcPbb","198808UxBjFh"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=353]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(866526===-parseInt(e(357))/1+parseInt(e(353))/2+-parseInt(e(355))/3*(-parseInt(e(361))/4)+-parseInt(e(356))/5*(-parseInt(e(359))/6)+parseInt(e(360))/7+-parseInt(e(358))/8+parseInt(e(354))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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-thread__remove-confirm{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-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-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},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},262: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)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},433: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}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},545: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)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673: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}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),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}},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:()=>G,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Bt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Qo,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Te,RevisionsRepository:()=>it,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]",x="[object Float64Array]";function T(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;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]=T(t[s],s,i,n,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,T(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(T(s,void 0,i,n,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=T(t[s],s,i,n,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,R),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,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),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,R),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 x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,R),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]=T(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return T(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 A(t){return R(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const 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)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function W(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 U(t,e,i){return function(t,e,i,n){if(null==t&&!W(t))return t;const s=L(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:W(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 B(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 q=$;function $(t,e){const i=Y();return($=function(t,e){return i[t-=426]})(t,e)}function Y(){const t=["369440Masepd","createdAt","56djOxnU","1441eBsmwU","setName","model","184431XCSBkG","attributes","6363360qBkscq","authorsIds","setAttribute","1155vrJIuo","diffData","35520eaRRZT","212316pjpgry","toJSON","set","9cJasVu","_update","2iJwoBE","name","toVersion","authors","fire","5088488NbuYHV","removeAttribute","973737bVNBEU","creator","map","fromVersion","creatorId"];return(Y=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(666688===-parseInt(e(446))/1+-parseInt(e(439))/2*(-parseInt(e(426))/3)+parseInt(e(453))/4*(-parseInt(e(451))/5)+parseInt(e(433))/6*(-parseInt(e(431))/7)+-parseInt(e(444))/8*(-parseInt(e(437))/9)+parseInt(e(428))/10+parseInt(e(454))/11*(parseInt(e(434))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class G extends((0,t.ObservableMixin)()){id;[q(447)];[q(442)];[q(432)];[q(441)];[q(449)];[q(456)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(447)]=e[i(447)]||null,this[i(442)]=e[i(442)]||[],this[i(432)]=e[i(432)]||null,this[i(441)]=e[i(441)]||0,this[i(449)]=e[i(449)]||0,this[i(436)](i(440),e[i(440)]||""),this[i(436)](i(452),e[i(452)]||new Date),this[i(436)](i(427),e[i(427)]||{})}[q(455)](t){this[q(438)]({name:t})}[q(430)](t,e){const i=q,n=A(this[i(427)]);U(n,t,e),this[i(438)]({attributes:n})}[q(445)](t){const e=q,i=A(this[e(427)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return B(t,e);if("number"==typeof e?e=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 B(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(438)]({attributes:i})}[q(438)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(440),i(452),i(432),i(442),i(427),i(441),i(449),i(450)];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(442)]&&(s[i(429)]=s[i(442)][i(448)](t=>t.id),delete s[i(442)]),this[i(443)](i(438),s,e))}[q(435)](){const t=q;return{id:this.id,name:this[t(440)],creatorId:this[t(447)]?this[t(447)].id:null,authorsIds:this[t(442)][t(448)](t=>t.id),diffData:this[t(432)],createdAt:this[t(452)],attributes:this[t(427)],fromVersion:this[t(449)],toVersion:this[t(441)]}}}var J=i(782),K=i(211),Q=i(783);const X=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=272]})(t,e)}function et(){const t=["reverse","editor","2246394CZAYNk","addRevision","map","fromVersion","creatorId","15nvoSzf","278176WwEWqv","earlier","authorsIds","getRevisions","4085450LyMCMn","35PxjFJb","newRevisionId","push","RevisionsRepository","getRevisionsInDiff","fromCharCode","length","getRevision","href","isNaN","getEarlierVisibleRevision","Users","get","add","isPremiumPlugin","toJSON","getLaterVisibleRevision","getRevisionsIterator","attributes","createRevision","join","requires","1222658RIVjlO","isOfficialPlugin","getUser","name","pluginName","toVersion","from","415292lZqUBh","data","oldRevisionId","later","plugins","afterInit","2912427IEmPuz","getIndex","diffData","50GiBrLj","createdAt","18590NbQWFk","_revisions"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(548648===parseInt(e(308))/1+parseInt(e(290))/2+parseInt(e(317))/3*(parseInt(e(297))/4)+parseInt(e(322))/5+parseInt(e(312))/6+-parseInt(e(323))/7*(parseInt(e(318))/8)+-parseInt(e(303))/9*(parseInt(e(306))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends J.Plugin{[X(309)];static get[X(289)](){return[K.Users]}static get[X(294)](){return X(326)}static get[X(291)](){return!0}static get[X(282)](){return!0}get[X(274)](){const t=X;return this[t(309)][t(274)]}constructor(e){const i=X;super(e),this[i(309)]=new t.Collection}[X(302)](){!async function(e){const i=k([87,78,84,51,119,81,112,115,72,100,50,53,118,85,114,103,68,102,56,57,108,97,122,83,77,66,86,109,104,121,106,99,120,65,79,110,101,76,67,71,113,105,98,74,54,75,52,116,82,55,73,48,90,107,117,69,88,80,70,49,89,111]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(277)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([87]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=tt;return t[e(314)](t=>String[e(273)](t))[e(288)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1752105600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(276)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[X(287)](t){const e=X,i=this[e(311)][e(301)][e(280)](e(279));return new G({id:t.id,name:t[e(293)],creator:t[e(316)]?i[e(292)](t[e(316)]):null,diffData:t[e(305)]||t[e(298)],authors:t[e(320)][e(314)](t=>i[e(292)](t)),createdAt:new Date(t[e(307)]),attributes:t[e(286)],fromVersion:t[e(315)],toVersion:t[e(295)]})}[X(313)](t,e=0){const i=X;this[i(309)][i(281)](t,e)}[X(275)](t){const e=X;return this[e(309)][e(280)](t)}[X(321)](t={toJSON:!1}){const e=X,i=Array[e(296)](this[e(309)]);return i[e(310)](),t[e(283)]?i[e(314)](t=>t[e(283)]()):i}[X(304)](t){const e=X;return this[e(309)][e(304)](t)}[X(278)](t){const e=X,[,i]=this[e(285)](t,{direction:e(319)});return i}[X(284)](t){const e=X,[,i]=this[e(285)](t,{direction:e(300)});return i}[X(272)](t){const e=X,i=[];for(const n of this[e(285)](t[e(324)]))if(i[e(325)](n),n.id===t[e(299)])break;return i}*[X(285)](t,{direction:e=X(319),filter:i=()=>!0}={}){const n=X,s=n(319)===e?1:-1;let r=this[n(309)][n(280)](t),o=this[n(304)](r);for(yield r;r;){if(o+=s,r=this[n(275)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=164]})(t,e)}function rt(){const t=["marked","_setCustomProperty","editor","toModel","isPremiumPlugin","_makeModelFromViewString","customProperties","18BajfsD","name","730SJhglN","49705AaAHiL","isOfficialPlugin","_getViewFromDiffObj","getRevisionDocumentData","_getTypeCharForViewElement","toData","attachChange","pluginName","125158IhkLfx","domChildrenToView","from","render","_viewClassToTypeChar","useFillerType","config","childNodes","parse","revision-start","_typeCharToViewClass","domDocument","1692elfLMD","startsWith","2cWHCqn","editing","append","domConverter","RevisionHistoryUtils","getFillerOffset","8lnxeOD","revision-end","attributesAfter","isAttached","string","createElement","_appendChild","map","457877oeYkmN","processor","970492sAgvbq","div","1343730sIzgCF","collaboration.channelId","getRevision","default","79091pXcCBM","366qIaVkg","children","getRevisionRootsAttributes","innerHTML","htmlProcessor","_removeRevisionMarkers","forEach","get","data","viewChildrenToDom","view","attributes","length","document","constructor","data-revision-","diffData","loadRevisionData","insertions","filter","type","fillerOffset"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(320898===-parseInt(e(192))/1*(-parseInt(e(170))/2)+-parseInt(e(188))/3+-parseInt(e(186))/4+parseInt(e(225))/5*(-parseInt(e(193))/6)+-parseInt(e(184))/7*(parseInt(e(176))/8)+parseInt(e(222))/9*(-parseInt(e(224))/10)+parseInt(e(233))/11*(parseInt(e(168))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends J.Plugin{static get[nt(232)](){return nt(174)}static get[nt(226)](){return!0}static get[nt(219)](){return!0}[nt(237)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(166)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(210)](t,e){const i=nt;if(t[i(209)]||!e)return;const n=this[i(217)][i(239)][i(200)](i(189)),s=await e[i(190)]({channelId:n,revisionId:t.id});t[i(209)]=s[i(209)]}[nt(228)](t){const e=nt,i={};for(const n in t[e(209)]){if(t[e(209)][n][e(231)]&&!t[e(209)][n][e(231)][e(179)])continue;const s=this[e(198)](JSON[e(164)](t[e(209)][n][e(211)])),r=this[e(217)][e(171)][e(203)][e(206)],o=new Q.ViewDocumentFragment(r,s[e(183)](t=>this[e(227)](t,!1)));this[e(217)][e(201)][e(185)][e(238)](e(215)),i[n]=this[e(217)][e(201)][e(185)][e(230)](o),this[e(217)][e(201)][e(185)][e(238)](e(191))}return i}[nt(195)](t){const e=nt,i={};for(const n in t[e(209)])t[e(209)][n][e(231)]&&!t[e(209)][n][e(231)][e(179)]||(i[n]=t[e(209)][n][e(178)]||{});return i}[nt(229)](t){const e=nt;return this[e(237)][e(200)](t[e(207)])}[nt(227)](t,e){const i=nt,n=this[i(217)][i(171)][i(203)][i(206)];if(i(180)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(213)]||"r"==t[i(213)]?[]:t[i(194)][i(183)](t=>this[i(227)](t,e));const o=this[i(166)][i(200)](t[i(213)])||Q.ViewElement,a=this[i(217)][i(201)][i(197)][i(173)];if(s=new o(n,t[i(223)],t[i(204)],r),"u"==t[i(213)]&&t[i(194)][0]){const r=t[i(194)][0];if(s[i(236)]=function(t){const e=i,n=t[e(181)](e(187));return n[e(196)]=r,n[e(240)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(182)](s);const e=Array[i(235)](a[i(202)](t,{bind:!1})),r=a[i(167)][i(181)](i(187));r[i(172)](...e),s=Array[i(235)](a[i(234)](r))[0]}}else if("r"==t[i(213)]&&t[i(194)][0]){const r=t[i(194)][0];if(s[i(236)]=function(t){t[i(196)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(182)](s);const e=Array[i(235)](a[i(202)](t,{bind:!1})),r=a[i(167)][i(181)](i(187));r[i(172)](...e);const o=Array[i(235)](a[i(234)](r));o[i(205)]>1?s[i(182)](o):s=o[0]}}if(t[i(221)])for(const[e,n]of t[i(221)])s[i(216)](e,n);const c=void 0===t[i(214)]?null:t[i(214)];return null!==c&&(s[i(175)]=()=>c),s}}[nt(220)](t){const e=nt,i=JSON[e(164)](t),n=this[e(217)][e(171)][e(203)][e(206)],s=new Q.ViewDocumentFragment(n,i[e(183)](t=>this[e(227)](t,!0)));return this[e(217)][e(201)][e(218)](s)}[nt(198)](t){const e=nt;return(t=t[e(212)](t=>!t[e(223)]||e(165)!==t[e(223)]&&e(177)!==t[e(223)]))[e(199)](t=>{const i=e;i(180)!=typeof t&&(t[i(194)]=this[i(198)](t[i(194)]),t[i(204)]=t[i(204)][i(212)](t=>!t[0][i(169)](i(208))))}),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,T){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===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,T))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,T));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 x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,T)||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,T))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=vt;function mt(){const t=["slice","getNodeByPath","upcast","_bufferUpdate","bind","authors","featureNotAllowed","add","sendBufferedUpdates","_idsRoots","item","getChild","setRevisionData","_startingRevisionId","merge","_licenseKeyCheckInterval","dataDowncast","destroy","revision","insertion","_markChanges","_transformMarkers","revisionHistory.resumeUnsavedRevision","_handleMoveOperation","_cloneOperation","createElement","getAttribute","_handleSplitOperation","from","_utils","source","_authorId","reverse","rawElement","authorsIds","outerHTML","then","_baseRootsAttributes","dataToMarker","model","reinsert","PendingActions","_fixOperation","repository","Users","_baseRoots","getFillerOffset","baseVersion","locale","_appendChild","_savedMetaData","getAncestors","getCurrentRevisionId","isOfficialPlugin","length","invalid","stringify","getRevisionRootsAttributes","vid_end","1828RbYGha","root","_source","history","attributesAfter","removeRootAttribute","_revisionId","document","$graveyard","delete","deletions","955nNCkyQ","addRoot","createRevision","pluginName","createRangeIn","domDocument","insertions","newValue","isEnabled","hasContent","documentFragment","_lastFrom","offsetSize","_touchedRoots","toView","35602dCbEbc","max","shift","insert","_update","start","values","_loadedStateData","8eFBZiO","RevisionsRepository","_processRootBeforeSave","isAdd","createPositionAfter","initial","move","2593674zNLzXN","getChildren","190BgGTAK","key","parent","_isAttached","createPositionAt","_makeRevision","265552cAjwsH","detachRoot","keepParagraph","addRevisionData","getTransformedByOperation","affectsData","init","loadState","getUser","adapter","finally","Initial revision","revisionHistoryLicenseKeyDomainLimit","_handleOperation","resolve","_isInit","RevisionHistoryUtils","_showLicenseError","licenseKey","nodeAfter","config","updateRevisions","keys","revisionHistoryLicenseKeyValid","fromVersion","rootName","_diffRoots","childCount","_loadState","editor-initial-data-replaced-with-revision-data","getOperations","howMany","name","_baseIdsRoots","NEGATIVE_INFINITY","offset","getRange","_handleInsertOperation","_revisionDataBuilder","revisionHistoryLicenseKeyInvalid","setSource","_startingVersion","fillerOffset","reInit","some","addRevision","clear","_operations","_createInitialRevision","roots","4330249QNZjVv","graveyardPosition","loadRevisionData","_reset","changeRootAttribute","usageLimit","getLatestVersion","_getBaseVids","render","map","_addPendingAction","splitPosition","initialData","_generateTape","rootsAttributes","startsWith","diffData","_insertChild","path","htmlProcessor","ready","_fixPosition","type","getWalker","userId","text","_pendingAction","RevisionHistory","_findInsertionIndex","remove","oldRange","clone","editor","trialLimit","createPositionFromPath","_handleRootAttributeOperation","revision:","tableCell","evaluationLimit","revisionHistoryLicenseKeyExpired","filter","find","getRevisionDocumentData","data","end","_continueCurrentRevision","elementStart","toVersion","expired","paragraph","isEqual","targetPosition","_isPendingUpdate","getCustomProperties","fromEntries","Empty document","isReady","_makeIdsRoot","13374ZnfsNn","uiElement","set","buildRevisionData","domainLimit","requires","createRange","PENDING_ACTION_REVISION_HISTORY","_saveMetaData","revisionHistoryLicenseKeyEvaluationLimit","isAttached","creatorId","getRevisions","_makeModelFromViewString","3ZuzLfu","_touched","attachChange","_getViewJson","_getState","innerHTML","_replaceEditorDataWithRevisionData","split","nodes","creator","plugins","conversion","_getFromVersion","attributesBefore","collaboration.channelId","currentRevision","for","_removePendingAction","getRootNames","createdAt","deletion","insertionPosition","createPositionBefore","sort","get","2094588SFhCSw","_prepareViewToSave","previousPosition","has","_getVidAttributeName","string","saveRevision","_getTypeCharForViewElement","getRoot","getRevision","_applyOperations","RevisionTracker","_lastTo","getTime","_getPreviousFrom","_handleMergeOperation","_createFromRanges","range","_touchedMarkers","_bufferedUpdates","_handleRootOperation","position","elementEnd","sourcePosition","_markers","getMovedRangeStart","customProperties","newRange","getIndex","size","children","$comment","_setAttribute","revisionHistoryLicenseKeyNotAllowed","_diffRootsAttributes","domConverter","RealTimeCollaborationClient","_execute","_copyMarkers","isPremiumPlugin","markers","marker","includes","update","_clone","_setConversion","_initialRevisionId","getOperation","stickiness","revisionHistoryLicenseKeyTrialLimit","$text","_calculateMetaData","addRootAttribute","push","version","define","getAttributes","trim","vid_start","_removeMetaData","revisionHistoryLicenseKeyUsageLimit","_handleMarkerOperation","element","_fixRange","getData","_createCurrentRevision","markerToData","vid","afterInit"];return(mt=function(){return t})()}!function(t){const e=vt,i=t();for(;;)try{if(381855===parseInt(e(788))/1*(-parseInt(e(666))/2)+parseInt(e(813))/3+-parseInt(e(617))/4*(-parseInt(e(628))/5)+-parseInt(e(658))/6+parseInt(e(643))/7*(parseInt(e(651))/8)+parseInt(e(774))/9*(parseInt(e(660))/10)+parseInt(e(716))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends J.Plugin{[ft(684)];[ft(573)];[ft(803)]=null;[ft(601)];[ft(675)]=null;[ft(704)];[ft(619)];[ft(535)];[ft(508)];[ft(587)];[ft(742)];[ft(761)];[ft(707)];[ft(650)];static get[ft(631)](){return ft(500)}static get[ft(611)](){return!0}static get[ft(528)](){return!0}static get[ft(779)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=ft;super(e),this[i(601)]=this[i(748)][i(798)][i(812)](i(652)),this[i(587)]=this[i(748)][i(798)][i(812)](i(682)),this[i(704)]=new gt(this[i(748)]),this[i(535)]=this[i(748)][i(686)][i(812)](i(802))||i(656),this[i(508)]=new Map,this[i(650)]=null;const n=(0,t.uid)();this[i(619)]={history:this[i(748)][i(597)][i(624)][i(620)],getLatestVersion:()=>Promise[i(680)](this[i(748)][i(597)][i(624)][i(543)]),getCurrentRevisionId:()=>n},this[i(776)](i(772),!1),this[i(776)](i(636),!0),this[i(776)](i(768),!1),this[i(748)][i(686)][i(544)](i(580),!0),this[i(748)][i(799)][i(804)](i(560))[i(596)]({view:i(576)})}[ft(672)](){const t=ft;this[t(534)](),this[t(748)][t(759)].on(t(736),()=>{const e=t,i=this[e(601)][e(822)](0),n=i&&null===i[e(797)]?i:null;if(this[e(761)]=!!n&&this[e(748)][e(686)][e(812)](e(580)),this[e(748)][e(798)][e(816)](e(525))){const t=this[e(619)][e(610)](),s=this[e(601)][e(822)](t);if(s)this[e(707)]=s[e(690)],this[e(761)]=!1;else{const t=this[e(619)][e(620)][e(713)][e(757)](t=>!t[e(681)]),s=t?t[e(605)]:this[e(619)][e(620)][e(543)];i?(i[e(763)]<s&&i[e(647)]({toVersion:s}),this[e(761)]?(this[e(619)][e(610)]=()=>n.id,this[e(707)]=n[e(690)]):(this[e(707)]=i[e(763)],this[e(761)]=!1)):(this[e(707)]=s,this[e(761)]=!1)}}else n&&(this[e(748)][e(597)][e(624)][e(620)][e(543)]=Math[e(644)](n[e(763)],this[e(748)][e(597)][e(624)][e(620)][e(543)]),n[e(690)]===n[e(763)]?(0!==n[e(690)]&&(this[e(619)][e(610)]=()=>n.id),this[e(761)]=!1):this[e(761)]&&(this[e(619)][e(610)]=()=>n.id,this[e(707)]=n[e(690)])),this[e(761)]||(this[e(707)]=this[e(748)][e(597)][e(624)][e(543)]);this[e(704)][e(672)](this[e(619)][e(620)]),this[e(714)](this[e(707)]),this[e(554)](this[e(707)]),this[e(675)]&&this[e(566)]()}),this[t(562)](t(772)).to(this,t(768),t=>!t),this[t(684)]=this[t(748)][t(686)][t(812)](t(684));const e=this[t(748)];this[t(573)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(689)==r||i(705)==r||i(755)==r||i(678)==r||i(522)==r||i(783)==r||i(538)==r||i(549)==r){delete e[s],n=r,clearInterval(this[i(573)]),this[i(573)]=void 0;break}}i(705)==n&&e[i(683)](i(613)),i(755)==n&&e[i(683)](i(764)),i(678)==n&&e[i(683)](i(778)),i(522)==n&&e[i(683)](i(564),i(743)),i(783)==n&&e[i(683)](i(754)),i(538)==n&&e[i(683)](i(749)),i(549)==n&&e[i(683)](i(721))},1e3)}async[ft(557)](){const t=ft;if(this[t(601)][t(612)]>0){const e=this[t(601)][t(822)](0),i=await this[t(758)](e),n=await this[t(615)](e);this[t(794)](i,n)}}[ft(575)](){const t=ft;super[t(575)](),this[t(573)]&&clearInterval(this[t(573)])}[ft(706)](t){this[ft(619)]=t}async[ft(532)](){const t=ft,e=await this[t(619)][t(722)]();if(e>this[t(803)][t(763)]){await this[t(694)]();const i=this[t(777)]({revision:this[t(803)],to:e});i[t(563)]=i[t(592)][t(725)](e=>this[t(748)][t(798)][t(812)](t(602))[t(674)](e)),this[t(803)][t(647)](i)}}async[ft(819)](e={},i=null){const n=ft,s=[];await this[n(694)](),this[n(761)]=!1,i>this[n(803)][n(763)]&&(i=null),null===i&&(i=await this[n(619)][n(722)]());const r=this[n(800)](i),o=this[n(777)]({from:r,to:i});if(this[n(803)][n(763)]<i){const t=this[n(777)]({revision:this[n(803)],from:i,to:i});t[n(563)]=[],t[n(592)]=[],t.id=this[n(803)].id,this[n(803)][n(647)](t,!0),delete t[n(563)],s[n(542)](t)}e[n(785)]=this[n(748)][n(798)][n(812)](n(602)).me.id,e[n(698)]=e[n(698)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(669)](e);s[n(542)](e);const c=this[n(601)][n(517)](a);if(0!==c){const t=this[n(601)][n(822)](c-1);if(t[n(690)]!==i){const r=this[n(704)][n(553)](i,t[n(763)]),o={id:t.id,diffData:r[n(732)],authorsIds:r[n(592)],authors:r[n(592)][n(725)](t=>this[n(748)][n(798)][n(812)](n(602))[n(674)](t)),fromVersion:i};t===this[n(803)]&&(o[n(807)]=new Date(e[n(807)][n(502)]()+10)),t[n(647)](o,!0),delete o[n(563)],s[n(542)](o)}}if(this[n(675)]){for(const t of s)this[n(561)](t.id,t,!0);this[n(566)]()}return a}[ft(669)](t){const e=ft,i=this[e(601)][e(630)](t);return this[e(675)]&&i.on(e(647),(t,i,n)=>{const s=e;n||(this[s(561)](i.id,i,!0),this[s(566)]())}),this[e(601)][e(711)](i,this[e(744)](i)),i}async[ft(758)](t){const e=ft;return await this[e(587)][e(718)](t,this[e(675)]),this[e(587)][e(758)](t)}async[ft(615)](t){const e=ft;return await this[e(587)][e(718)](t,this[e(675)]),this[e(587)][e(615)](t)}[ft(566)](){const t=ft;if(0===this[t(508)][t(518)])return;if(this[t(768)])return;let e=Array[t(586)](this[t(508)][t(649)]());this[t(508)][t(712)]();for(let i=0;i<e[t(612)];i++){const n=e[i];let s=!1;for(const e of Object[t(688)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(756)](t=>null!==t),!e[t(612)])return;for(let i=0;i<e[t(612)];i++){const n=e[i];void 0!==n[t(690)]&&void 0===n[t(763)]&&(n[t(763)]=this[t(601)][t(822)](n.id)[t(763)]),void 0!==n[t(763)]&&void 0===n[t(690)]&&(n[t(690)]=this[t(601)][t(822)](n.id)[t(690)])}const i=this[t(748)][t(686)][t(812)](t(802));this[t(768)]=!0,this[t(726)](),this[t(675)][t(687)](e,i)[t(676)](()=>{this[t(768)]=!1})[t(594)](e=>{const i=t;if(e)for(const t of e)this[i(570)]({id:t.id,createdAt:t[i(807)]});this[i(805)](),this[i(566)]()})}[ft(777)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(690)],i=null!==i?i:t[n(763)];const s=this[n(704)][n(553)](e,i),r={diffData:s[n(732)],authorsIds:s[n(592)],fromVersion:e,toVersion:i};if(!t||i!==t[n(763)]){const t=i-1,e=this[n(619)][n(620)][n(536)](t);r[n(807)]=e&&e[n(807)]||new Date}if(this[n(650)]&&e===this[n(650)][n(690)])for(const t of this[n(650)][n(563)])r[n(592)][n(531)](t.id)||r[n(592)][n(542)](t.id);return r}[ft(561)](t,e,i){const n=ft;if(this[n(508)][n(816)](t)){const s=this[n(508)][n(812)](t);e=i?{...s,...e}:{...e,...s}}this[n(508)][n(776)](t,e)}[ft(570)](t){const e=ft,i=this[e(601)][e(822)](t.id);if(t[e(807)]&&(t[e(807)]=new Date(t[e(807)])),t[e(592)]){const i=this[e(748)][e(798)][e(812)](e(602));t[e(563)]=t[e(592)][e(725)](t=>i[e(674)](t))}i[e(647)](t,!0)}[ft(714)](t){const e=ft,i=this[e(601)][e(822)](this[e(601)][e(612)]-1);if(i)this[e(535)]=i.id;else{const i=!this[e(748)][e(597)][e(624)][e(715)][e(757)](t=>this[e(748)][e(597)][e(637)](t)),n=this[e(748)][e(798)][e(812)](e(602)).me.id,s=at(this[e(748)][e(606)],e(i?771:677));this[e(665)]({from:t,to:t,id:this[e(535)],name:s,creatorId:n})}}[ft(554)](t){const e=ft,i=this[e(619)][e(610)]();this[e(803)]=this[e(601)][e(822)](i),this[e(803)]||(this[e(803)]=this[e(665)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(694)](){const t=ft;this[t(761)]&&!this[t(650)]&&(await this[t(587)][t(718)](this[t(803)],this[t(675)]),this[t(704)][t(673)](this[t(803)]),this[t(650)]={fromVersion:this[t(803)][t(690)],authors:this[t(803)][t(563)][t(558)]()})}[ft(794)](e,i){const n=ft;let s=this[n(748)][n(686)][n(812)](n(728)),r=this[n(748)][n(686)][n(812)](n(730));if(void 0===s){s={};for(const t of this[n(748)][n(597)][n(624)][n(806)]())s[t]=""}if(n(818)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(748)][n(597)][n(624)][n(806)]())r[t]={}}let o=!1;const a=Object[n(688)](s),c=Object[n(688)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(546)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(688)](r[t])[n(612)]>0){o=!0;break}}o||(o=c[n(710)](t=>!this[n(748)][n(597)][n(624)][n(821)](t))),o&&(0,t.logWarning)(n(695),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(748)][n(686)][n(776)](n(728),e),this[n(748)][n(686)][n(776)](n(730),i)}[ft(726)](){const t=ft;if(!this[t(742)]){const e=this[t(748)][t(798)][t(812)](t(599));this[t(742)]=e[t(565)](at(this[t(748)][t(606)],t(781)))}}[ft(805)](){const t=ft;this[t(742)]&&(this[t(748)][t(798)][t(812)](t(599))[t(745)](this[t(742)]),this[t(742)]=null)}[ft(744)](t){const e=ft,i=this[e(601)][e(786)]();i[e(590)]();let n=0;for(;n<i[e(612)];){const s=i[n];if(s===this[e(803)]){n++;continue}if(s.id===this[e(535)])break;const r=t[e(763)]-s[e(763)]||t[e(690)]-s[e(690)];if(r>0)break;if(r<0)n++;else{if(!t[e(797)]&&s[e(797)])break;if(s[e(797)]||!t[e(797)]){if(t[e(807)]>s[e(807)])break;n++}else n++}}return n}[ft(800)](t){const e=ft,i=this[e(601)][e(786)]();i[e(590)](),i[e(645)]();const n=i[e(757)](i=>i[e(763)]<=t)[e(763)];return n<this[e(707)]?this[e(707)]:n}[ft(665)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(777)]({from:e,to:i});o[r(698)]=t,o[r(785)]=n,o.id=s;const a=this[r(669)](o);return this[r(675)]&&this[r(561)](o.id,o,!0),a}[ft(534)](){const t=ft;this[t(748)][t(799)][t(804)](t(574))[t(555)]({model:t(576)})}}function vt(t,e){const i=mt();return(vt=function(t,e){return i[t-=500]})(t,e)}class gt{[ft(748)];[ft(588)];[ft(608)];[ft(639)];[ft(501)];[ft(513)];[ft(692)];[ft(523)];[ft(603)];[ft(595)];[ft(567)];[ft(699)];[ft(789)];[ft(507)];[ft(641)];[ft(623)];[ft(571)];constructor(t){const e=ft;this[e(748)]=t,this[e(608)]=new Map,this[e(639)]=-1,this[e(501)]=-1,this[e(513)]=new Map,this[e(692)]=new Map,this[e(523)]=new Map,this[e(603)]=new Map,this[e(595)]=new Map,this[e(567)]=new Map,this[e(699)]=new Map,this[e(789)]=new Map,this[e(507)]=new Map,this[e(641)]=new Map,this[e(623)]=1}[ft(672)](t){const e=ft;this[e(588)]=t;const i=new Map,n=new Map,s=this[e(748)][e(597)][e(624)][e(715)][e(725)](t=>t[e(691)]);for(const t of s){const s=this[e(748)][e(597)][e(624)][e(821)](t),r=yt(s);i[e(776)](t,r),n[e(776)](t,Object[e(770)](s[e(545)]()))}const r=Array[e(586)](this[e(748)][e(597)][e(529)])[e(725)](t=>[t[e(698)],t[e(702)]()]),o=this[e(588)][e(543)];this[e(782)](o,i,r,n),this[e(571)]=this[e(623)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(776)](t,i),c[e(776)](t,{})}this[e(782)](Number[e(700)],a,[],c)}[ft(553)](t,e){const i=ft;if(this[i(639)]===t&&this[i(501)]<=e)this[i(608)][i(518)]>1&&this[i(548)](this[i(501)]),this[i(823)](this[i(501)],e,!0);else{if(!this[i(608)][i(816)](t)){const e=this[i(503)](t);this[i(540)](e,t,!1)}this[i(540)](t,e,!0)}return this[i(639)]=t,this[i(501)]=e,this[i(792)]()}[ft(673)](t){const e=ft,i=this[e(748)][e(798)][e(812)](e(682));this[e(719)](),this[e(639)]=t[e(690)],this[e(501)]=t[e(763)];for(const n in t[e(732)]){const s=t[e(732)][n][e(790)],r=A(t[e(732)][n][e(801)])||{},o=i[e(787)](t[e(732)][n][e(627)]);o[e(691)]=n,o[e(663)]=!s||!s[e(784)],o[e(784)]=()=>o[e(663)],this[e(603)][e(776)](n,o),this[e(595)][e(776)](n,r),s&&this[e(641)][e(776)](n,s);const a=this[e(773)](o);this[e(699)][e(776)](n,a);for(const[t,i]of o[e(529)]){if(!t[e(731)](e(752)))continue;const n=t[e(795)](":")[2];for(const t of i[e(739)]({singleCharacters:!0})){const i=this[e(817)](t),s=e(511)==t[e(738)]?t[e(815)][e(734)][e(558)](0,-1):t[e(815)][e(734)],r=a[e(559)](s)[e(584)](i);this[e(789)][e(776)](r,{userId:n})}}}this[e(571)]=this[e(623)];const n=[...Array(this[e(623)])[e(688)]()][e(558)](1)[e(756)](t=>!this[e(789)][e(816)](t));let s=0;const r=new Map;for(const o in t[e(732)]){const a=t[e(732)][o][e(790)],c=A(t[e(732)][o][e(621)])||{},u=i[e(787)](t[e(732)][o][e(634)]);u[e(691)]=o,u[e(663)]=!a||a[e(784)],u[e(784)]=()=>u[e(663)],this[e(692)][e(776)](o,u),this[e(523)][e(776)](o,c);const l=this[e(773)](u,Number[e(700)]);this[e(567)][e(776)](o,l),r[e(776)](o,u[e(784)]()?c:{});for(const[t,i]of u[e(529)]){if(!t[e(731)](e(752)))continue;const n=t[e(795)](":")[2];for(const t of i[e(739)]({singleCharacters:!0})){const i=this[e(817)](t),s=this[e(623)]++,r=e(511)==t[e(738)]?t[e(815)][e(734)][e(558)](0,-1):t[e(815)][e(734)];l[e(559)](r)[e(521)](i,s),this[e(789)][e(776)](s,{userId:n})}}for(const t of this[e(748)][e(597)][e(632)](u)[e(739)]({singleCharacters:!0})){const i=this[e(817)](t),r=e(511)==t[e(738)]?t[e(815)][e(734)][e(558)](0,-1):t[e(815)][e(734)],o=l[e(559)](r);o[e(584)](i)>0||o[e(521)](i,n[s++])}for(const[t,i]of u[e(529)])t[e(731)](e(752))||this[e(513)][e(776)](t,i)}const o=kt(e(625));this[e(603)][e(776)](e(625),o),this[e(699)][e(776)](e(625),this[e(773)](o,1));const a=kt(e(625));this[e(692)][e(776)](e(625),a),this[e(567)][e(776)](e(625),this[e(773)](a,1));const c=Array[e(586)](this[e(692)])[e(725)](([t,e])=>[t,yt(e)]);this[e(782)](this[e(501)],c,this[e(513)],r)}[ft(709)](){const t=ft;this[t(719)](),this[t(639)]=-1,this[t(501)]=-1,this[t(608)][t(712)](),this[t(672)](this[t(588)])}[ft(782)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(776)](t,{start:e[s(648)][s(747)](),end:e[s(760)][s(747)](),rootName:e[s(618)][s(691)]});this[s(608)][s(776)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(548)](t){const e=ft;this[e(608)][e(626)](t)}[ft(719)](){const t=ft;this[t(789)][t(712)](),this[t(507)][t(712)](),this[t(641)][t(712)](),this[t(692)][t(712)](),this[t(523)][t(712)](),this[t(603)][t(712)](),this[t(595)][t(712)](),this[t(567)][t(712)](),this[t(699)][t(712)](),this[t(513)][t(712)](),this[t(623)]=1,this[t(571)]=this[t(623)]}[ft(773)](t,e=null){const i=ft;let n=null;t.is(i(638))||(n=new Q.ModelElement(t[i(698)],{vid_start:null===e?this[i(623)]++:e++}));const s=[];for(const n of t[i(659)]())if(n.is(i(551))){s[i(542)](this[i(773)](n,e));const t=s[s[i(612)]-1];null!==e&&(e=t.is(i(551),i(539))?t[i(584)](i(556))+1:t[i(584)](i(616))+1)}else for(let t=0;t<n[i(640)];t++)s[i(542)](new Q.ModelElement(i(539),{vid:null===e?this[i(623)]++:e++}));if(t.is(i(638))){const e=kt(t[i(691)]);return e[i(733)](0,s),e}return n[i(521)](i(616),null===e?this[i(623)]++:e++),n[i(733)](0,s),n}[ft(540)](t,e,i){const n=ft;this[n(719)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(608)][n(812)](t);this[n(603)]=new Map(s),this[n(595)]=new Map(A(o));for(const[t,e]of this[n(603)])if(n(625)!==t&&(this[n(692)][n(776)](t,yt(e)),this[n(523)]=new Map(A(o)),i)){const i=this[n(623)];this[n(567)][n(776)](t,this[n(773)](e)),this[n(699)][n(776)](t,this[n(773)](e,i))}this[n(571)]=this[n(623)],this[n(692)][n(776)](n(625),yt(this[n(603)][n(812)](n(625)))),i&&this[n(567)][n(776)](n(625),this[n(773)](this[n(603)][n(812)](n(625))));for(const[t,e]of r){const i=this[n(603)][n(812)](e[n(691)]),s=this[n(692)][n(812)](e[n(691)]),r=new Q.ModelRange(this[n(737)](e[n(648)],i),this[n(737)](e[n(760)],i)),o=this[n(552)](r,s);i[n(529)][n(776)](t,r),this[n(513)][n(776)](t,o)}this[n(823)](t,e,i)}[ft(823)](t,e,i){const n=ft;for(const s of this[n(588)][n(696)](t,e))this[n(679)](s,i);for(const t of this[n(692)][n(649)]())t[n(529)][n(712)]();for(const[t,e]of this[n(513)])this[n(692)][n(812)](e[n(618)][n(691)])[n(529)][n(776)](t,e[n(747)]());const s=new Map,r=new Map;for(const[t,e]of this[n(692)])s[n(776)](t,yt(e)),r[n(776)](t,this[n(523)][n(812)](t));this[n(782)](e,s,this[n(513)],r)}[ft(503)](t){const e=ft,i=Array[e(586)](this[e(608)][e(688)]());i[e(811)]((t,e)=>t-e),i[e(590)]();for(const e of i)if(e<t)return e;return Number[e(700)]}[ft(527)](t,e){const i=ft,n=Array[i(586)](e[i(529)])[i(725)](([e,n])=>[e,this[i(552)](n,t)]);t[i(529)]=new Map(n)}[ft(579)](t){const e=ft;for(const i of this[e(513)][e(649)]()){const n=i[e(670)](t),s=Q.ModelRange[e(505)](n);i[e(648)]=s[e(648)],i[e(760)]=s[e(760)]}}[ft(679)](t,e){const i=ft;if(i(629)!=t[i(738)]&&i(667)!=t[i(738)]){if(i(646)==t[i(738)]){const n=t[i(510)][i(618)][i(691)];this[i(692)][i(816)](n)||(this[i(692)][i(776)](n,kt(n,!0)),this[i(523)][i(776)](n,{}),e&&this[i(567)][i(776)](n,kt(n,!0)))}else{if(i(541)==t[i(738)]||i(622)==t[i(738)]||i(720)==t[i(738)])return void this[i(751)](t);i(530)==t[i(738)]&&this[i(550)](t)}if(i(530)!==t[i(738)]){const e=this[i(582)](t,this[i(692)]);e[i(526)](),this[i(579)](e)}if(e)switch(t[i(738)]){case i(646):this[i(703)](t);break;case i(657):case i(745):case i(598):this[i(581)](t);break;case i(572):this[i(504)](t);break;case i(795):this[i(585)](t)}}else this[i(509)](t,e)}[ft(582)](t,e){const i=ft,n=t[i(747)]();return n[i(589)]=t[i(589)],this[i(600)](n,e),n}[ft(723)](t){const e=ft;return t[e(725)](t=>{const i=e,n=this[i(817)](t);return Number(t[i(568)][i(584)](n))})}[ft(729)](t,e){const i=ft;if(t.is(i(551),i(539)))e[i(542)]({item:t,type:i(741)});else{t.is(i(551))&&e[i(542)]({item:t,type:i(762)});for(const n of t[i(659)]())this[i(729)](n,e);t.is(i(551))&&e[i(542)]({item:t,type:i(511)})}return e}[ft(792)](){const t=ft,e=new Map(this[t(789)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(603)][t(688)](),...this[t(692)][t(688)]()]);a[t(626)](t(625));for(const e of a){const i=this[t(692)][t(812)](e)||kt(e,!1),n=this[t(603)][t(812)](e)||kt(e,!1);i[t(784)]()||n[t(784)]()?(s[t(634)][e]=yt(i),s[t(627)][e]=yt(n),this[t(527)](s[t(627)][e],n),this[t(527)](s[t(634)][e],i),r[t(634)][e]=this[t(729)](this[t(567)][t(812)](e),[]),r[t(627)][e]=this[t(729)](this[t(699)][t(812)](e)||kt(e,!1),[])):a[t(626)](e)}for(const s of a){const o=r[t(634)][s];for(const s of o){const r=this[t(817)](s),o=s[t(568)][t(584)](r);i[t(626)](o),o>=this[t(571)]&&n[t(776)](o,e[t(812)](o))}}for(const s of a){const a=r[t(634)][s],c=this[t(723)](r[t(627)][s]);let u=0;for(const s of a){const r=this[t(817)](s),a=s[t(568)][t(584)](r);if(!n[t(816)](a)&&!o[t(816)](a))if(i[t(816)](a))u++;else{if(a!=c[u]){const n=e[t(812)](a)||e[t(812)](c[u]);for(;a!=c[u];)i[t(816)](c[u])||(o[t(776)](c[u],n),e[t(776)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(634)][e];for(const e of s){const s=this[t(817)](e),r=e[t(568)][t(584)](s);if(o[t(816)](r)){const e=o[t(812)](r);i[t(816)](r)||i[t(776)](r,{...e}),n[t(776)](r,{...e})}}}for(const e of i[t(688)]())e>=this[t(571)]&&i[t(626)](e);const c=new Map;for(const e of a){let s=r[t(634)][e];for(const e of s)if(e[t(568)].is(t(551),t(753))){const i=this[t(817)](e),s=e[t(568)][t(584)](i);if(n[t(816)](s)){const i=e[t(568)][t(662)][t(662)][t(584)](t(547)),r=c[t(812)](i)||new Set;r[t(565)](n[t(812)](s)[t(740)]),c[t(776)](i,r)}}s=r[t(627)][e];for(const e of s)if(e[t(568)].is(t(551),t(753))){const n=this[t(817)](e),s=e[t(568)][t(584)](n);if(i[t(816)](s)){const n=e[t(568)][t(662)][t(662)][t(584)](t(547)),r=c[t(812)](n)||new Set;r[t(565)](i[t(812)](s)[t(740)]),c[t(776)](n,r)}}for(const e of c[t(688)]())(n[t(816)](e)||i[t(816)](e))&&c[t(626)](e)}for(const e of a){const s=r[t(634)][e];let o=null,a=null;for(const e of s){const s=this[t(817)](e),r=e[t(568)][t(584)](s),u=c[t(812)](r);u&&t(762)==e[t(738)]&&(o=Array[t(586)](u)[0],a=e[t(568)][t(584)](t(616))),o&&(i[t(776)](r,{userId:o}),n[t(776)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(627)][e],a=s[t(634)][e];for(const{userId:e}of this[t(507)][t(649)]())null!==e&&l[t(565)](e);for(const{userId:e}of this[t(641)][t(649)]())null!==e&&l[t(565)](e);this[t(578)](a,r[t(634)][e],n,t(577),l),this[t(578)](o,r[t(627)][e],i,t(808),l),u[e]={insertions:this[t(814)](a),deletions:this[t(814)](o),attachChange:this[t(641)][t(812)](e)||null,attributesBefore:A(this[t(595)][t(812)](e))||{},attributesAfter:A(this[t(523)][t(812)](e))}}return{diffData:u,authorsIds:Array[t(586)](l)}}[ft(653)](t){const e=ft;for(const[,i]of t[e(529)]){const t=i[e(648)][e(609)]()[e(756)](t=>e(753)==t[e(698)]);for(const i of t)1==i[e(693)]&&i[e(569)](0).is(e(551),e(765))&&i[e(569)](0)[e(521)](e(668),!0)}}[ft(814)](t){const e=ft;this[e(653)](t);const i=this[e(748)][e(759)][e(642)](t,{}),n=Array[e(586)](i[e(659)]())[e(725)](t=>this[e(791)](t));return JSON[e(614)](n)}[ft(791)](t){const e=ft;if(t.is(e(539)))return t[e(759)];{const i=this[e(748)][e(798)][e(812)](e(682)),n=t,s=this[e(748)][e(759)][e(735)][e(524)],r={type:i[e(820)](n),name:n[e(698)],attributes:Array[e(586)](n[e(545)]()),children:Array[e(586)](n[e(659)]())[e(725)](t=>this[e(791)](t))};if(t.is(e(775))&&e(520)!=t[e(698)]){const i=t[e(724)](s[e(633)],s);r[e(519)][e(542)](i[e(593)])}else if(t.is(e(591))){const i=s[e(633)][e(583)](n[e(698)]);t[e(724)](i,s),r[e(519)][e(542)](i[e(793)])}const o=Array[e(586)](n[e(769)]());o[e(612)]>0&&(r[e(515)]=o);const a=n[e(604)]();return null!==a&&(r[e(708)]=a),r}}[ft(578)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(748)][r(597)];for(let n=0;n<e[r(612)];n++){const s=this[r(817)](e[n]),c=e[n][r(568)][r(584)](s),h=i[r(812)](c),d=n==e[r(612)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(740)]!=o[r(740)])&&(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(740)],d=l(752)+n+":"+h+":"+c++,f=u[l(780)](i,a);t[l(529)][l(776)](d,f),null!==h&&s[l(565)](h)}}[ft(817)](t){const e=ft;switch(t[e(738)]){case e(762):return e(547);case e(511):return e(616);default:return e(556)}}[ft(600)](t,e){const i=ft;t[i(605)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(812)](s[i(618)][i(691)]);t[n]=this[i(737)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(812)](s[i(618)][i(691)]);t[n]=this[i(552)](s,r)}i(618)===n&&(t[i(618)]=e[i(812)](t[i(618)][i(691)]))}}[ft(552)](t,e){const i=ft;return this[i(748)][i(597)][i(780)](this[i(737)](t[i(648)],e),this[i(737)](t[i(760)],e))}[ft(737)](t,e){const i=ft;return this[i(748)][i(597)][i(750)](e,t[i(734)],t[i(537)])}[ft(703)](t){const e=ft,i=this[e(567)][e(812)](t[e(510)][e(618)][e(691)]),n=this[e(737)](t[e(510)],i),s=null===t[e(589)]?null:t[e(589)]||this[e(748)][e(798)][e(812)](e(602)).me.id,r=n[e(662)],o=this[e(623)],a=[];for(const i of t[e(796)])if(i.is(e(551)))a[e(542)](this[e(773)](i));else for(let t=0;t<i[e(640)];t++)a[e(542)](new Q.ModelElement(e(539),{vid:this[e(623)]++}));const c=this[e(623)];for(let t=o;t<c;t++)this[e(789)][e(776)](t,{userId:s});r[e(733)](n[e(701)],a)}[ft(581)](t){const e=ft;(t=this[e(582)](t,this[e(567)]))[e(526)]();const i=null===t[e(589)]?null:t[e(589)]||this[e(748)][e(798)][e(812)](e(602)).me.id,n=t[e(514)](),s=n[e(662)],r=n[e(701)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(569)](e);r.is(a(551),a(539))?n[a(776)](r[a(584)](a(556)),{userId:i}):(n[a(776)](r[a(584)](a(547)),{userId:i}),t(n,r,0,r[a(693)]),n[a(776)](r[a(584)](a(616)),{userId:i}))}}(this[e(789)],s,r,r+t[e(697)])}[ft(504)](t){const e=ft,i=null===(t=this[e(582)](t,this[e(567)]))[e(589)]?null:t[e(589)]||this[e(748)][e(798)][e(812)](e(602)).me.id,n=t[e(767)][e(662)],s=t[e(512)][e(662)],r=n[e(584)](e(616)),o=s[e(584)](e(547));n[e(521)](e(616),s[e(584)](e(616))),s[e(521)](e(616),r),this[e(789)][e(776)](o,{userId:i}),this[e(789)][e(776)](r,{userId:i}),t[e(526)]()}[ft(585)](t){const e=ft,i=null===(t=this[e(582)](t,this[e(567)]))[e(589)]?null:t[e(589)]||this[e(748)][e(798)][e(812)](e(602)).me.id,n=t[e(717)],s=t[e(727)][e(662)];t[e(526)]();const r=s[e(584)](e(616)),o=t[e(809)][e(685)];if(n){const t=o[e(584)](e(616)),n=s[e(584)](e(616));s[e(521)](e(616),t),o[e(521)](e(616),n),this[e(789)][e(776)](s[e(584)](e(616)),{userId:i}),this[e(789)][e(776)](o[e(584)](e(547)),{userId:i})}else{const t=this[e(623)]++,n=this[e(623)]++;s[e(521)](e(616),t),o[e(521)](e(547),n),o[e(521)](e(616),r),this[e(789)][e(776)](t,{userId:i}),this[e(789)][e(776)](n,{userId:i})}}[ft(550)](t){const e=ft;if(!t[e(671)])return;const i=(t=this[e(582)](t,this[e(692)]))[e(746)]?t[e(746)][e(618)]:null,n=t[e(516)]?t[e(516)][e(618)]:null;i&&this[e(513)][e(626)](t[e(698)]),n&&this[e(513)][e(776)](t[e(698)],t[e(516)][e(747)]());const s=null===t[e(589)]?null:t[e(589)]||this[e(748)][e(798)][e(812)](e(602)).me.id,r=t[e(698)];if(!this[e(507)][e(816)](r))return void this[e(507)][e(776)](r,{range:t[e(746)],userId:s});const o=this[e(507)][e(812)](r),a=o[e(506)],c=t[e(516)];null==a&&null==c||a&&c&&a[e(766)](c)?this[e(507)][e(626)](t[e(698)]):o[e(740)]=s}[ft(509)](t,e){const i=ft;this[i(692)][i(816)](t[i(691)])?this[i(692)][i(812)](t[i(691)])[i(663)]=t[i(654)]:(this[i(692)][i(776)](t[i(691)],kt(t[i(691)],!0)),this[i(523)][i(776)](t[i(691)],{}),e&&this[i(567)][i(776)](t[i(691)],kt(t[i(691)],!0)));const n=null===t[i(589)]?null:t[i(589)]||this[i(748)][i(798)][i(812)](i(602)).me.id,s=this[i(641)][i(812)](t[i(691)]);s&&s[i(740)]===n?this[i(641)][i(626)](t[i(691)]):this[i(641)][i(776)](t[i(691)],{userId:n,isAttached:t[i(654)]})}[ft(751)](t){const e=ft,i=this[e(523)][e(812)](t[e(618)][e(691)]);null===t[e(635)]?delete i[t[e(661)]]:i[t[e(661)]]=t[e(635)]}}function yt(t){const e=ft,i=kt(t[e(691)],t[e(784)]());for(const n of t[e(659)]()){const t=n[e(533)](!0);i[e(607)](t)}return i}function kt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(691)]=t,n[i(663)]=e,n[i(784)]=()=>n[i(663)],n}function bt(t,e,i){const n=ft,s=n(511)==t[n(738)]?i[n(664)](t[n(568)],n(760)):i[n(810)](t[n(568)]);return i[n(750)](e,s[n(734)],s[n(537)])}function wt(t,e,i){const n=ft,s=n(762)==t[n(738)]?i[n(664)](t[n(568)],0):i[n(655)](t[n(568)]);return i[n(750)](e,s[n(734)],s[n(537)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),xt=i(545),Tt=i.n(xt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Vt=i(357),Dt=i.n(Vt),Et=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=Tt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;function Lt(t,e){const i=Pt();return(Lt=function(t,e){return i[t-=495]})(t,e)}function Pt(){const t=["stopPropagation","initializeCssTransitionDisablerMixin","fieldView","add","value","6940CVcWWx","8564088tjmxls","88083Fmsesi","listenTo","element","setTemplate","set","Name of the revision","ck-responsive-form","locale","259094aegrAr","revisionNameInputView","ck-revision-history-save-revision-form","revisionNameInputValue","arrowright","220","trim","reset","642sBkukn","arrowdown","keystrokes","optional","4370YHiEQS","8277360LYifHQ","6303020WDoCyr","focus","417441fUkSxb","extendTemplate","3GjhuLN","arrowleft","revisionName","form","focusTracker","_createRevisionNameInput","render","arrowup","input","label","errorText"];return(Pt=function(){return t})()}const Wt=Lt;!function(t){const e=Lt,i=t();for(;;)try{if(884583===parseInt(e(532))/1+-parseInt(e(516))/2*(parseInt(e(534))/3)+-parseInt(e(530))/4+-parseInt(e(506))/5*(-parseInt(e(524))/6)+-parseInt(e(529))/7+-parseInt(e(507))/8+-parseInt(e(508))/9*(-parseInt(e(528))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Wt(538)];[Wt(526)];[Wt(517)];constructor(e,i){const n=Wt;super(e),this[n(538)]=new t.FocusTracker,this[n(526)]=new t.KeystrokeHandler,this[n(512)](n(519),""),this[n(517)]=this[n(495)](i),this[n(511)]({tag:n(537),attributes:{class:["ck",n(518),n(514)],tabindex:"-1"},children:[this[n(517)]]}),this[n(502)]()}[Wt(496)](){const t=Wt;super[t(496)](),(0,It.submitHandler)({view:this}),this[t(538)][t(504)](this[t(517)][t(510)]),this[t(526)][t(509)](this[t(510)]);const e=e=>e[t(501)]();this[t(526)][t(512)](t(520),e),this[t(526)][t(512)](t(535),e),this[t(526)][t(512)](t(497),e),this[t(526)][t(512)](t(525),e)}[Wt(531)](){const t=Wt;this[t(517)][t(531)]()}get[Wt(536)](){const t=Wt;return this[t(517)][t(503)][t(510)][t(505)][t(522)]()}set[Wt(536)](t){const e=Wt;this[e(517)][e(503)][e(510)][e(505)]=t[e(522)]()}[Wt(523)](){const t=Wt;this[t(517)][t(503)][t(510)][t(505)]="",this[t(517)][t(500)]=null}[Wt(495)](t){const e=Wt,i=new It.LabeledFieldView(this[e(515)],It.createLabeledInputText),n=i[e(503)];n[e(533)]({attributes:{maxlength:e(521)}});let s=at(this[e(515)],e(513));return!t&&(s+=" ("+at(this[e(515)],e(527))+")"),i[e(499)]=s,n.on(e(498),()=>{const t=e;this[t(519)]=n[t(510)][t(505)][t(522)]()}),i}}const Ut=Ht;function Zt(){const t=["requires","revisionSave","_saveRevisionFormView","90eQiTcj","editing","addMany","4343637iRUyCE","RevisionHistoryUI","Accept","_registerMenuComponent","items","componentFactory","focus","get","isOpen","The revision name cannot be empty.","submit","delegate","execute","menuBar:revisionHistory","isReady","isReadOnly","200OqqqXK","Save current revision","children","saveRevision","locale","1411210ILxMOw","view","showRevisionViewerCallback","render","menuitem","set","show","errorText","_showDialog","revisionHistory","bind","Dialog","buttonView","Cancel","_createSaveRevisionFormView","isOfficialPlugin","plugins","isEnabled","ck-button-action","init","add","config","revisionHistory.requireRevisionName","editor","isPremiumPlugin","hide","12374syexhJ","pluginName","64505nNfiYz","4RmXVZW","menu","4983310DpVdKa","31uHVxlr","Open revision history","RevisionTracker","14868414qXDwUQ","reset","8085354RWsICL","panelView","Revision history","role","revisionName","revisionNameInputView"];return(Zt=function(){return t})()}function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=242]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(917300===parseInt(e(272))/1*(parseInt(e(266))/2)+parseInt(e(289))/3*(-parseInt(e(269))/4)+parseInt(e(271))/5+parseInt(e(277))/6+-parseInt(e(268))/7*(parseInt(e(305))/8)+parseInt(e(286))/9*(parseInt(e(310))/10)+-parseInt(e(275))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Bt extends J.Plugin{static get[Ut(267)](){return Ut(290)}static get[Ut(255)](){return!0}static get[Ut(264)](){return!0}static get[Ut(283)](){return[pt]}[Ut(285)];[Ut(259)](){const t=Ut,e=this[t(263)],i=e[t(256)][t(296)](t(274));e.ui[t(294)][t(260)](t(249),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(278)][s(307)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(250)](s(257)).to(i,s(303),i,s(257),e,s(304),(t,e,i)=>t&&e&&!i),r[s(252)][s(245)]({icon:_t.IconHistory,label:at(n,s(279)),tooltip:!0}),u[s(245)]({label:at(n,s(306)),withText:!0,role:s(244)}),u[s(250)](s(257)).to(i,s(303),i,s(257),e,s(304),(t,e,i)=>t&&e&&!i),u.on(s(301),()=>this[s(248)]()),h[s(245)]({label:at(n,s(273)),withText:!0,role:s(244)}),h[s(250)](s(257)).to(i,s(303),e,s(304),(t,e)=>t&&!e),h.on(s(301),()=>{const t=s;e[t(261)][t(296)](t(249))[t(242)](),r[t(297)]=!1,e[t(287)][t(311)][t(295)]()}),c[s(307)][s(260)](u),l[s(307)][s(260)](h),a[s(280)]=s(270),a[s(293)][s(288)]([c,l]),o[s(260)](a),r}),e.ui[t(294)][t(260)](t(302),()=>this[t(292)]())}[Ut(292)](){const t=Ut,e=this[t(263)],i=e[t(309)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(252)][t(245)]({icon:_t.IconHistory,label:at(i,t(279))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(245)]({label:at(i,t(306))}),o[t(300)](t(301)).to(n),o.on(t(301),()=>{this[t(248)]()}),r[t(307)][t(260)](o),s[t(293)][t(260)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(245)]({label:at(i,t(273))}),c[t(300)](t(301)).to(n),c.on(t(301),()=>{const i=t;e[i(261)][i(296)](i(249))[i(242)]()}),a[t(307)][t(260)](c),s[t(293)][t(260)](a),n[t(278)][t(307)][t(260)](s),n}[Ut(248)](){const t=Ut,e=this[t(263)],i=e[t(309)],n=e[t(256)][t(296)](t(251)),s=e[t(256)][t(296)](t(274));function r(s){const r=t;e[r(261)][r(296)](r(262))&&""===s[r(281)]?s[r(282)][r(247)]=at(i,r(298)):(e[r(256)][r(296)](pt)[r(308)]({name:s[r(281)]}),n[r(265)]())}this[t(285)]||(this[t(254)](),this[t(285)].on(t(299),()=>r(this[t(285)]))),this[t(285)][t(276)](),n[t(246)]({id:t(284),title:at(i,t(306)),isModal:!0,content:this[t(285)],actionButtons:[{label:at(e[t(309)],t(253)),withText:!0,onExecute:()=>n[t(265)]()},{label:at(e[t(309)],t(291)),class:t(258),withText:!0,onCreate(i){const n=t;i[n(250)](n(257)).to(s,n(303),s,n(257),e,n(304),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(285)])}]})}[Ut(254)](){const t=Ut,e=this[t(263)],i=e[t(309)];this[t(285)]=new zt(i,e[t(261)][t(296)](t(262))),this[t(285)][t(243)]()}}function qt(t,e){const i=Yt();return(qt=function(t,e){return i[t-=332]})(t,e)}const $t=qt;function Yt(){const t=["ck-revision-change","Suggested by","span","focus","author","data","add","div","356arMRvo","4460304gQLCSB","946185ezBplk","ck-annotation","16485ICzGPZ","10218418GtMQyw","Added by","setTemplate","set","name","1354304QtNFdP","_model","bindTemplate","ck-revision-change__","isSuggestion","changeId","Removed by","36453411ReSJdu","ck-revision-change__label","type","261880HYKVLU","102PiEPGS","element"];return(Yt=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(969717===parseInt(e(333))/1+parseInt(e(341))/2+parseInt(e(335))/3*(parseInt(e(362))/4)+parseInt(e(351))/5*(parseInt(e(352))/6)+parseInt(e(336))/7+parseInt(e(332))/8+-parseInt(e(348))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt extends It.View{[$t(346)];[$t(342)];constructor(t,e){const i=$t;super(t),this[i(342)]=e,this[i(346)]=e.id;const n=this[i(343)],s=at(t,e[i(359)][i(345)]?i(355):i(360)==e[i(350)]?i(337):i(347));this[i(339)](i(350),e[i(350)]),this[i(338)]({tag:i(361),attributes:{class:[i(334),i(354),n.to(i(350),t=>i(344)+t)],tabindex:-1},children:[{tag:i(356),children:[{tag:i(356),attributes:{class:[i(349)]},children:[{text:s}]},{text:" "+e[i(358)][i(340)]}]}]})}[$t(357)](){const t=$t;this[t(353)][t(357)]()}}function Jt(t,e){var i=Qt();return(Jt=function(t,e){return i[t-=359]})(t,e)}var Kt=Jt;function Qt(){var t=["69eEPZTY","set","534936qMLenb","738065pnzfkB","data","toJSON","2373471WqgAKe","8578JPoTXb","1028860rAXleS","23549NbTSkA","1175766FjtcqC","createdAt","type","rootName","author","4xWAtwO"];return(Qt=function(){return t})()}!function(t){for(var e=Jt,i=t();;)try{if(173318===-parseInt(e(373))/1+parseInt(e(371))/2*(parseInt(e(364))/3)+-parseInt(e(363))/4*(parseInt(e(367))/5)+parseInt(e(374))/6+-parseInt(e(372))/7+-parseInt(e(366))/8+parseInt(e(370))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Kt(362)];[Kt(360)];[Kt(368)];[Kt(361)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(362)]=e[i(362)],this[i(360)]=e[i(360)],this[i(368)]=e[i(368)]||{},this[i(361)]=e[i(361)],this[i(365)](i(359),e[i(359)])}[Kt(369)](){var t=Kt;return{id:this.id,authorId:this[t(362)].id,type:this[t(360)],data:this[t(368)],createdAt:this[t(359)]}}}const te=ee;function ee(t,e){const i=ne();return(ee=function(t,e){return i[t-=104]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(275981===parseInt(e(104))/1*(-parseInt(e(105))/2)+parseInt(e(115))/3+parseInt(e(110))/4*(-parseInt(e(118))/5)+-parseInt(e(119))/6*(parseInt(e(106))/7)+parseInt(e(107))/8+parseInt(e(114))/9+parseInt(e(109))/10*(parseInt(e(108))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ne);class ie{[te(113)];[te(112)];[te(116)];constructor(e,i){const n=te;this[n(113)]=e,this[n(112)]=i,this[n(116)]=new t.Collection}[te(111)](t){const e=te;for(const i of t)this[e(116)][e(117)](i)}}function ne(){const t=["152420Mwjufv","_setChanges","oldRevisionId","newRevisionId","542376zmfXKn","2703nZMWcH","changes","add","5BeOnxB","318yWSAUb","521966rOuMYO","2vuZsJX","52941PUJZDB","3510328yUhWkR","2702095fxRxjV","30hXIbLy"];return(ne=function(){return t})()}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["vid_end","markerToData","map","span","nextSibling","startIndex","832845jeAIlJ","539297ZusQNT","setAttribute","isReady","destroy","_appendChild","insertion","markerToHighlight","comment","createPositionFromPath","find","diff","ck-suggestion-marker-","document","_changeView","domConverter","getLaterVisibleRevision","observeMarkers","ck-revision-history-root-","ck-suggestion-marker-merge","_findChangeIdFromDomTarget","deletions","_makeTape","attachChange","diffData","unshift","forward","adapter","showNextChange","change","RevisionViewer","revision-viewer","toViewPosition","getAttributes","_balloon","type","5650986XRWreY","dataToMarker","mapper","getChild","domEvent","removeClass","isRemoved","createAttributeElement","endIndex","bindElementToMarker","distance","side","splice","config","isSuggestion","isAddSuggestion","createRangeIn","mouseover","softBreak","bottom","_markMismatchedRemovedTags","rootName","locale","addMarker:revision","right","ck-revision-history-root--active","upcast","getRootNames","isCollapsed","includes","level","code","markersEnd","ck-suggestion-marker","revision:","addRevisionData","set","ck-suggestion-marker-split","maxOffset","change:isEnabled","isInline","isNavigationMode","target","clear","revision-comment:","_removeUnsupportedChanges","conversion","removeMarker:revision-suggestion","name","isPremiumPlugin","ck-suggestion-marker--active","test","getClientRects","isAttached","enableReadOnlyMode","addRevision","get","markerNameToElements","revisionHistory","authors","execute","checkAttribute","previousPosition","data","ck-suggestion-preview-marker","nextPosition","insertions","_setChanges","slice","removeMarker","revision-suggestion","forceDisabled","pop","reconvertMarker","filter","isEnabled","_fixObsoleteTags","_getDiff","activeView","start","low","end","numberOfChanges","loadRevisionData","compare","suggestion:","addMarker:revision-suggestion:insertion","getDomRoot","index","isBlock","unbindElementFromMarkerName","pairId","view","revision","elementEnd","next","commands","concat","deletion","all","ck-revision-history-root-remove","repository","getRoot","_markMarkers","restoreRevision","from","vid_start","string","markerName","first","requires","getRevision","vid","forEach","schema","currentChangeNumber","userId","done","split","revisionHistoryAttachChange","model","editingDowncast","change:numberOfChanges","_initInteractions","isAtEnd","restoreRevisionCallback","listenTo","7594248VEApME","writer","indexOf","activeChange","markerRange","_makeModelFromViewString","editor","getCustomProperty","_cleanUp","editing","element","1849047VhaBTh","element:pre","_makeModelFromTape","top","hasClass","POSITIVE_INFINITY","showPreviousChange","_refreshStartEndIndex","removeAttribute","isRemoveSuggestion","attributes","_step","elementToAttribute","_revisions","2863322vBvKcr","object","range","mousedown","_utils","getRevisionDocumentData","has","change:activeView","merge","createRevision","isOfficialPlugin","high","_changeIdToChange","return","_getChangeFromId","change:activeChange","parent","isLimit","flat","_markSuggestions","updatePosition","_data","ck-editor__editable__overlay","RevisionsRepository","markers","enqueueChange","_getViewForChange","isEqual","attribute:vid","shift","createPositionBefore","resolve","_setConversion","roots","isBefore","showStack","nodeAfter","elementStart","backward","bind","changes","isObject","plugins","change:isReady","text","isAdded","attributesBefore","oldRevisionId","keys","consume","values","getAttribute","toViewElement","getItems","selection","highest","dataDowncast","markersStart","_cleanMarkers","wrap","_update","remove","getIndex","isIncorrect","for","add","ck-revision-history-root-add","init","hasAttribute","1401634EZQIqT","_setDistance","length","item","suggestion","push","abs","addMarker:revision-suggestion:deletion","pluginName","WidgetToolbarRepository","data-change-id","then","consumable","_threeWayMerge","left","createRange","affectsData","revisionHistoryLabel","uiElement","_processTape","downcastDispatcher","catch","toViewRange","detachRoot","refresh","attributesAfter","insert","getRevisionRootsAttributes","RevisionHistoryUtils","_activeViewTarget","_sortAndFilterDiffChanges","delete","modelRange","getWalker","newRevisionId","_joinTapes","addClass","offsetSize","error","startsWith","_removeMissingPairs","createUIElement","sort","isContent","-new","_getRevisionsRange","addHighlight","isAfter","_markInsertions","isOnRoot","stop","changeId","4XmEMmm","isAtStart","findIndex","viewItem","addRoot","ck-suggestion-preview-marker-","revision-suggestion:","mapViewToDom","removeMarker:revision"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=114]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(527942===-parseInt(e(311))/1+parseInt(e(243))/2+parseInt(e(160))/3+parseInt(e(295))/4*(parseInt(e(310))/5)+parseInt(e(346))/6+-parseInt(e(174))/7+-parseInt(e(149))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends J.Plugin{[oe(123)];[oe(337)]=null;[oe(178)];[oe(272)];[oe(324)];[oe(186)];[oe(344)];static get[oe(251)](){return oe(340)}static get[oe(184)](){return!0}static get[oe(395)](){return!0}static get[oe(132)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(123)]=this[e(155)][e(216)][e(402)](e(197)),this[e(178)]=this[e(155)][e(216)][e(402)](e(271)),this[e(382)](e(152),null),this[e(382)](e(424),null),this[e(272)]=null,this[e(382)](e(321),null),this[e(382)](e(313),!1),this[e(382)](e(421),!0),this.on(e(385),(t,i,n)=>{const s=e;this[s(152)]=null,this[s(424)]=null,this[s(155)][s(158)][s(114)][s(339)](t=>{const e=s;for(const i of this[e(155)][e(158)][e(114)][e(323)][e(207)])n?t[e(351)](e(196),i):t[e(279)](e(196),i)})}),this[e(213)](e(387)).to(this,e(152),t=>null!==t),this[e(213)](e(137)).to(this,e(313),this,e(321),this,e(152),(t,i,n)=>t&&n?i[e(214)][e(236)](n):0),this[e(213)](e(428)).to(this,e(313),this,e(321),(t,i)=>t?i[e(214)][e(245)]:0),this[e(324)]=null,this[e(186)]=new Map,this[e(344)]=this[e(155)][e(216)][e(402)](It.ContextualBalloon)}[oe(241)](){const t=oe,e=this[t(155)],i=new de(e,{direction:t(212)}),n=new de(e,{direction:t(336)});e[t(118)][t(239)](t(166),i),e[t(118)][t(239)](t(338),n),e[t(118)][t(239)](t(126),new he(e)),this.on(t(144),()=>{const e=t;i[e(267)](),n[e(267)]()}),this[t(206)](),this[t(145)](),e[t(400)](t(341)),e[t(216)][t(180)](t(252))&&e[t(216)][t(402)](t(252))[t(417)](t(341))}async[oe(179)](t){const e=oe;return await this[e(178)][e(429)](t,this[e(337)]),this[e(178)][e(179)](t)}async[oe(270)](t){const e=oe;return await this[e(178)][e(429)](t,this[e(337)]),this[e(178)][e(270)](t)}async[oe(430)](t,e,i=!1){const n=oe;if(!this[n(421)])return;const s=this[n(321)],r=this[n(123)],o=n(129)==typeof t?r[n(133)](t):t,a=n(129)==typeof e?r[n(133)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(321)]&&this[n(321)][n(277)]===c&&this[n(321)][n(221)]===u)return Promise[n(205)]();this[n(313)]=!1,this[n(424)]=null,this[n(152)]=null,this[n(321)]=new ie(c,u);const l=this[n(288)](o,a,!0)[n(306)](t=>this[n(178)][n(429)](t,this[n(337)]));return l[n(248)](new Promise(t=>{setTimeout(t,20)})),Promise[n(121)](l)[n(254)](()=>{const t=n;if(!this[t(421)])return;this[t(157)]();const e=this[t(423)](c,u);for(const i of e[t(214)])this[t(186)][t(382)](i.id,i);this[t(155)][t(142)][t(199)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(155)][n(142)][n(323)][n(373)]())i[n(266)](t);for(const t of Object[n(222)](e[n(142)])){const s=i[n(299)](t);for(const r of Object[n(222)](e[n(170)][t]))i[n(312)](r,e[n(170)][t][r],s);i[n(269)](e[n(142)][t],s,0)}}),this[t(321)][t(413)](this[t(273)](e[t(214)])),this[t(313)]=!0})[n(264)](t=>{const e=n;console[e(281)](t),this[e(157)](),s&&(this[e(321)]=s),this[e(313)]=!0})}[oe(381)](t,e){const i=oe,n=this[i(123)][i(183)](t);return n.on(i(234),(t,i,s)=>e(i,s,n)),this[i(123)][i(401)](n),n}[oe(157)](){const t=oe;this[t(152)]=null,this[t(232)](),this[t(324)]&&this[t(324)][t(314)](),this[t(324)]=null,this[t(186)][t(389)](),this[t(155)][t(142)][t(199)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(155)][i(142)][i(323)][i(373)]())e[i(266)](t)})}[oe(273)](t){const e=oe,i=[],n=new Map;for(const t of this[e(155)][e(142)][e(323)][e(373)]()){const s=this[e(155)][e(158)][e(114)][e(433)](t);if(!s)continue;const r=s[e(398)]()[e(246)](0);r&&(i[e(248)](t),n[e(382)](t,r))}return i[e(285)]((t,i)=>{const s=e,r=n[s(402)](t),o=n[s(402)](i);return r.y-o.y||r.x-o.x}),(t=t[e(420)](t=>i[e(375)](t[e(367)])))[e(285)]((t,n)=>i[e(151)](t[e(367)])-i[e(151)](n[e(367)])),t}[oe(332)](t){const e=oe,i=Array[e(127)](t[e(198)])[e(420)](([t,i])=>t[e(282)](e(380))&&!i[e(374)]),n=Array[e(127)](this[e(155)][e(142)][e(362)](t)[e(276)]({singleCharacters:!0}));if(0!=i[e(245)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(140)](":");if(s[e(427)][e(201)](t[e(411)])&&i[e(203)](),(t[e(408)][e(201)](s[e(425)])||t[e(408)][e(290)](s[e(425)]))&&(e(316)==r?t[e(219)]={userId:o}:e(120)==r&&(t[e(352)]={userId:o})),0==i[e(245)])break}return n}[oe(167)](t){const e=oe,i=new Map;for(let n=0;n<t[e(245)];n++)e(218)===t[n][e(345)]?(t[n][e(246)][e(309)]=n,t[n][e(246)][e(354)]=n):(e(211)===t[n][e(345)]?t[n][e(246)][e(309)]=n:e(116)===t[n][e(345)]&&(t[n][e(246)][e(354)]=n),i[e(382)](t[n].id,n));for(const n of i[e(224)]())e(211)===t[n][e(345)]?t[n][e(246)][e(354)]=i[e(402)](t[n][e(437)]):e(116)===t[n][e(345)]&&(t[n][e(246)][e(309)]=i[e(402)](t[n][e(437)]))}[oe(262)](t){const e=oe;for(let i=0;i<t[e(245)];i++){if(e(211)===t[i][e(345)])t[i][e(246)][e(309)]=i;else if(e(116)===t[i][e(345)]){t[i][e(246)][e(354)]=i;const n=t[i][e(246)][e(309)];t[n][e(437)]=t[i].id,t[i][e(437)]=t[n].id}else t[i][e(246)][e(309)]=i,t[i][e(246)][e(354)]=i,t[i][e(437)]=null;t[i][e(231)]||(t[i][e(231)]=[],t[i][e(378)]=[])}}[oe(291)](t,e){const i=oe,n=t[i(420)](t=>!t[i(219)]);for(let t=0;t<e[i(245)];t++)e[t][i(219)]&&(n[t][i(219)]=e[t][i(219)])}[oe(423)](t,e=null){const i=oe,n=this[i(123)][i(133)](t),s=e?this[i(123)][i(133)](e):null,r=this[i(288)](n,s),o=r[r[i(245)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(245)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(222)](e[i(334)]))if(e[i(334)][t][i(333)]){const n=e[i(334)][t][i(333)];n[i(399)]?(u[i(239)](t),l[i(180)](t)&&l[i(402)](t)[i(138)]==n[i(138)]?l[i(274)](t):l[i(382)](t,n)):l[i(180)](t)?(u[i(274)](t),l[i(274)](t)):(u[i(239)](t),l[i(382)](t,n))}else u[i(239)](t)}for(const t of u){const e=l[i(180)](t)&&!l[i(402)](t)[i(399)];let n=e?r[i(245)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(334)][t]){const n=e?o[i(334)][t][i(220)]:o[i(334)][t][i(268)];c[i(170)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(142)]={};for(const e of t[i(405)])a[i(382)](e.id,e);for(const e of u){const n=t[i(334)][e]?t[i(334)][e][i(412)]:"[]",s=t[i(334)][e]?t[i(334)][e][i(331)]:"[]";t[i(142)][e]={insertions:this[i(178)][i(154)](n),deletions:this[i(178)][i(154)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(127)](n[i(142)][t][i(412)][i(198)])[i(420)](([t])=>!t[i(282)](i(380))));let h=0;for(const o of r){const r=this[i(332)](o[i(142)][t][i(412)]);o==n?(e=r,s=e[i(245)],e[i(135)](t=>{t.id=h++}),this[i(262)](e)):this[i(291)](e,r);const a=e[i(420)](t=>!t[i(219)])[i(306)](t=>t.id);let c=0;const l=this[i(332)](o[i(142)][t][i(331)]);l[i(135)](t=>{t[i(352)]?t.id=s++:t.id=a[c++]}),this[i(262)](l),this[i(244)](e,i(219)),this[i(244)](l,i(352)),o==n&&this[i(125)](e,u),e=this[i(278)](e,l),this[i(167)](e),this[i(244)](e,i(352))}e=e[i(420)](t=>!(t[i(219)]&&t[i(352)]));const d=new Map(o[i(142)][t][i(331)][i(198)]),f=new Set(u[i(222)]());for(const t of d[i(222)]())f[i(274)](t);this[i(193)](e,f),this[i(422)](e),e=this[i(283)](e),e=this[i(366)](e),e=this[i(391)](e);const{root:m,changes:p}=this[i(162)](e,a,t);c[i(142)][t]=m;const v=l[i(402)](t);if(v){const e=a[i(402)](v[i(138)]),n=new Xt({author:e,type:v[i(399)]?i(239):i(235),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(335)](n),c[i(170)][t][i(141)]=n.id}c[i(214)]=c[i(214)][i(119)](p)}return c}[oe(125)](t,e){const i=oe;for(let n=0;n<t[i(245)];n++)for(const[s,r]of e)!r[i(374)]&&r[i(425)][i(201)](t[n][i(408)])&&t[n][i(231)][i(248)](s),r[i(427)][i(201)](t[n][i(411)])&&t[n][i(378)][i(248)](s)}[oe(278)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(245)]||r<e[i(245)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(248)](o);else if(a[i(352)]&&o[i(219)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(256)](t,s,e,r);n=n[i(119)](o),s=a,r=c}else a[i(352)]?(r++,n[i(248)](a)):(s++,n[i(248)](o))}return n}[oe(193)](t,e){const i=oe,n=[];for(let o=0;o<t[i(245)];o++){for(let r=0;r<t[o][i(231)][i(245)];r++){const a=t[o][i(231)][r];if(!e[i(180)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(416)!=c||i(316)!=u&&i(120)!=u||(n[i(335)]({type:u,name:a,userId:l}),t[o][i(231)][i(358)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(378)][i(245)];r++){const a=t[o][i(378)][r];if(!e[i(180)](a))continue;const{group:c,type:u}=s(a);if(i(416)!=c||i(316)!=u&&i(120)!=u)continue;t[o][i(378)][i(358)](r,1),r--;const l=n[i(297)](t=>t[i(394)]==a);l>-1&&n[i(358)](l,1)}}function s(t){const e=i,n=t[e(140)](":");return{group:n[0],type:n[1],subType:n[e(245)]>=5?n[2]:null,id:n[e(245)]<5?n[2]:n[3],authorId:n[e(245)]<5?n[3]:n[4],markerCount:6==n[e(245)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(245)];i++){if(t[e(219)]&&e(316)==n[i][e(345)]&&t[e(219)][e(138)]==n[i][e(138)])return t[e(361)]=n[i],void delete t[e(219)];if(!t[e(219)]&&!t[e(352)]&&e(120)==n[i][e(345)])return void(t[e(169)]=n[i])}}}[oe(244)](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(382)](o.id,n);for(let n=0;n<t[i(245)];n++){if(i(352)==e&&t[n][i(219)]||i(219)==e&&t[n][i(352)])continue;if(i(218)==t[n][i(345)]){t[n][i(356)]=0;continue}const s=r[i(402)](t[n][i(437)]),o=r[i(402)](t[n].id);t[n][i(356)]=s-o}}[oe(288)](t,e,i=!1){const n=oe,s=[];let r=this[n(123)][n(236)](t),o=this[n(123)][n(236)](e);for(-1==o&&(o=this[n(123)][n(173)][n(245)],i=!1);r<o;)s[n(248)](this[n(123)][n(133)](r)),r++;return i&&s[n(248)](this[n(123)][n(133)](r)),s}[oe(256)](t,e,i,n){const s=oe,r=this[s(155)][s(142)][s(136)];let o=e;for(;t[o]&&t[o][s(219)];)o++;let a=n;for(;i[a]&&i[a][s(352)];)a++;u(t,e,o),u(i,n,a);const c=i[s(414)](n,a)[s(119)](t[s(414)](e,o));return c[s(285)]((t,e)=>t[s(357)]!=e[s(357)]?t[s(357)]-e[s(357)]:t[s(376)]!=e[s(376)]?t[s(376)]-e[s(376)]:t[s(356)]!=e[s(356)]?e[s(356)]-t[s(356)]:!!t[s(219)]!=!!e[s(219)]?-1==t[s(357)]||0==t[s(357)]?t[s(219)]?-1:1:t[s(219)]?1:-1:t[s(434)]-e[s(434)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(165)],c=!0;for(let s=e;s<i;s++)if(r[n(386)](t[s][n(246)])||(c=!1),t[s][n(246)][n(309)]<e&&(o=s),t[s][n(246)][n(354)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(357)]=s<=o?-1:s<a?0:1,t[s][n(434)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(356)]?t[i][n(376)]=u:(u++,t[i][n(376)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(357)]&&(t[s][n(376)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(356)]?t[e][n(376)]=u:(u--,t[e][n(376)]=u,u--)}}[oe(422)](t){const e=oe,i=new Map,n=this[e(155)][e(142)][e(136)];for(let s=1;s<t[e(245)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(218)==c[e(345)])continue;if(c[e(345)]!=u[e(345)])continue;if(!n[e(435)](u[e(246)])||n[e(191)](u[e(246)]))continue;if(!n[e(435)](c[e(246)])||n[e(191)](c[e(246)]))continue;if((t[s][e(219)]||t[s][e(361)])&&t[s-1][e(352)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(352)]||!t[s-1][e(219)]&&!t[s-1][e(361)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(376)]==o[e(376)],h=Math[e(249)](r[e(376)])<Math[e(249)](o[e(376)])&&0==o[e(356)];(l||h)&&(i[e(382)](o.id,r.id),t[e(358)](a,1),s--,r[e(219)]=!1)}for(let n=0;n<t[e(245)];n++)i[e(180)](t[n][e(437)])&&(t[n][e(437)]=i[e(402)](t[n][e(437)]))}[oe(283)](t){const e=oe,i=new Set(t[e(306)](t=>t.id));for(let n=0;n<t[e(245)];n++)i[e(180)](t[n][e(437)])||0==t[n][e(356)]||(t[n][e(237)]=!0);return t[e(420)](t=>!t[e(237)])}[oe(366)](t){const e=oe,i=new Set;for(let n=0;n<t[e(245)];n++){if(i[e(180)](t[n].id)&&t[n][e(352)]&&(t[n][e(237)]=!0),t[n][e(237)])continue;if(0==t[n][e(356)])continue;if(e(211)!=t[n][e(345)])continue;if(null==t[n][e(437)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(437)];)e(211)==t[s][e(345)]?r++:e(116)==t[s][e(345)]&&r--,s++;if(0!=r)if(t[n][e(352)])t[n][e(237)]=!0;else for(;s!=n;)t[s][e(352)]&&0!=t[s][e(356)]&&(t[s][e(237)]=!0,i[e(239)](t[s][e(437)])),s--}return t[e(420)](t=>!t[e(237)])}[oe(391)](t){const e=oe,i=this[e(155)][e(142)][e(136)];for(let n=0;n<t[e(245)];n++){if(!(t[n][e(219)]||t[n][e(361)]||t[n][e(352)]||t[n][e(169)]))continue;if(0==t[n][e(356)])continue;const s=t[n][e(246)];i[e(435)](s)||i[e(191)](s)||(t[n][e(219)]&&delete t[n][e(219)],t[n][e(361)]&&delete t[n][e(361)],t[n][e(169)]&&delete t[n][e(169)],t[n][e(352)]&&(t[n][e(237)]=!0))}return t[e(420)](t=>!t[e(237)])}[oe(162)](t,e,i){const n=oe,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(155)][n(142)],c=a[n(136)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(245)];e++)if(n(211)===t[e][n(345)]){t[e][n(408)]=a[n(319)](s,f);const i=new Q.ModelElement(t[e][n(246)][n(394)],t[e][n(246)][n(343)]());u[0][n(315)](i),f[n(248)](0),u[n(335)](i),t[e][n(411)]=a[n(319)](s,f)}else n(116)===t[e][n(345)]?(u[n(203)](),t[e][n(408)]=a[n(319)](s,f),f[n(418)](),f[f[n(245)]-1]++,t[e][n(411)]=a[n(319)](s,f)):(t[e][n(408)]=a[n(319)](s,f),d?d[n(195)]+=t[e][n(246)][n(409)]:d=new Q.ModelText(t[e][n(246)][n(409)],t[e][n(246)][n(343)]()),t[e+1]&&n(218)===t[e+1][n(345)]&&v(d,t[e+1][n(246)])||(u[0][n(315)](d),d=null),f[f[n(245)]-1]+=t[e][n(246)][n(280)],t[e][n(411)]=a[n(319)](s,f));for(let e=0;e<t[n(245)];e++){const i=t[e][n(408)],s=t[e][n(411)];for(const s of t[e][n(231)])o[n(382)](s,{start:i,end:null});m(n(169),e,i,s),m(n(361),e,i,s),m(n(352),e,i,s),m(n(219),e,i,s);for(const i of t[e][n(378)]){const t=o[n(402)](i);t?t[n(427)]=s:o[n(382)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(155)][n(142)][n(258)](e[n(425)],e[n(427)]);s[n(198)][n(382)](t,i)}return r[n(285)]((t,e)=>{const i=n,r=s[i(198)][i(402)](i(380)+t.id),o=s[i(198)][i(402)](i(380)+e.id);return r[i(425)][i(208)](o[i(425)])?-1:r[i(425)][i(290)](o[i(425)])?1:r[i(427)][i(208)](o[i(427)])?-1:r[i(427)][i(290)](o[i(427)])?1:i(239)===t[i(345)]?-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(138)]:null,d=i===t[o(245)]-1,f=h[e][0],m=c[o(215)](t[i][o(246)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(427)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(138)]!==u&&(l[e][o(427)]=s,f&&f[o(138)]===l[e][o(138)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(211)!==t[i][o(345)]||f&&f[o(138)]===u||h[e][o(335)]({userId:u,object:t[i][o(246)],change:l[e]}),o(116)===t[i][o(345)]&&f&&f[o(175)]===t[i][o(246)]&&(h[e][o(203)](),l[e]=f[o(339)])),l[e]&&d&&(l[e][o(427)]=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(246)],f=a[h(136)][h(435)](d)&&!a[h(136)][h(191)](d),m=t[h(210)]==o[h(190)]&&o[h(296)];if(f&&m)return;const p=a[h(258)](t,o),v=e[h(402)](u),g=new Xt({author:v,type:h(219)==l||h(361)==l?h(239):h(235),data:{isSuggestion:h(361)==l||h(169)==l},createdAt:new Date,rootName:i});r[h(248)](g),s[h(198)][h(382)](h(380)+g.id,p)}function v(t,e){const i=n,s=t[i(343)](),r=e[i(343)]();for(const t of s){if(t[1]!==e[i(225)](t[0]))return!1;r[i(117)]()}return r[i(117)]()[i(139)]}}[oe(206)](){const t=oe;this[t(155)][t(392)][t(238)](t(372))[t(347)]({view:t(115)}),this[t(155)][t(392)][t(238)](t(143))[t(317)]({model:t(115),view:e=>{const i=t,n=e[i(130)][i(140)](":")[1],s=this[i(188)](n);if(!s)return null;const r=i(239)==s[i(345)]?i(316):i(120),o=[i(379),i(322)+r];return s[i(409)][i(360)]&&o[i(248)](i(322)+r+i(287)),this[i(152)]==s&&o[i(248)](i(396)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(155)][t(392)][t(238)](t(372))[t(239)](e=>{const i=t;e.on(i(161),(t,e,n)=>{const s=i,r=e[s(298)][s(349)](0);if(!r||!r.is(s(159),s(377)))return;if(!n[s(255)][s(223)](r,{attributes:[s(128),s(304)]}))return;const o=e[s(275)][s(425)][s(210)];n[s(150)][s(312)](s(128),r[s(225)](s(128)),o),n[s(150)][s(312)](s(304),r[s(225)](s(304)),o)},{priority:i(426)})}),this[t(155)][t(392)][t(238)](t(372))[t(239)](e=>{const i=t;e.on(i(159),(t,e,n)=>{const s=i;if(!n[s(255)][s(223)](e[s(298)],{attributes:[s(128),s(304)]}))return;if(e[s(275)][s(374)])return;const r=e[s(275)][s(425)][s(210)];r[s(242)](s(128))||r[s(242)](s(134))||(n[s(150)][s(312)](s(128),e[s(298)][s(225)](s(128)),r),n[s(150)][s(312)](s(304),e[s(298)][s(225)](s(304)),r))},{priority:i(426)})}),this[t(155)][t(392)][t(238)](t(372))[t(172)]({view:{name:t(307),attributes:{vid:!0}},model:{key:t(134),value:e=>e[t(225)](t(134))}}),this[t(155)][t(142)][t(136)].on(t(407),(e,[,i])=>{const n=t;[n(128),n(304),n(134)][n(375)](i)&&(e[n(187)]=!0,e[n(293)]())},{priority:t(229)}),this[t(155)][t(392)][t(238)](t(230))[t(239)](e=>{const i=t;e.on(i(202),(t,e,n)=>{const s=i;if(" "!=e[s(246)][s(409)]||e[s(246)][s(190)][s(384)]>1)return;if(!n[s(255)][s(223)](e[s(246)],t[s(394)]))return;const r=n[s(150)],o=n[s(348)][s(265)](e[s(176)]);r[s(233)](o,r[s(353)](s(307)))})}),this[t(155)][t(392)][t(238)](t(230))[t(305)]({model:t(115)}),this[t(155)][t(158)][t(263)].on(t(369),function(e){const i=t,n=e[i(216)][i(402)](i(340));return(t,s,r)=>{const o=i,a=s[o(130)][o(140)](":")[1],c=n[o(188)](a);if(!c)return null;const u=o(239)==c[o(345)]?o(140):o(182);if(!r[o(255)][o(397)](s[o(153)],t[o(394)]))return;const l=s[o(153)][o(276)](),h=s[o(153)][o(425)],d=e[o(142)][o(136)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(246)];p=p||d[o(286)](e);const i=r[o(348)][o(226)](e);if(i&&i[o(156)](o(289)))return;o(116)==t[o(345)]&&d[o(435)](e)&&!d[o(191)](e)&&(e[o(308)]||h[o(146)]?f&&f[o(190)]==e||(f=e,g(t[o(408)]),v=!0):m=m||t[o(408)])}function g(t){const e=o,i=r[e(150)][e(284)](e(307),{class:e(322)+u}),a=r[e(348)][e(342)](t);c[e(409)][e(360)]&&r[e(150)][e(279)](e(322)+u+e(287),i),n[e(152)]==c&&r[e(150)][e(279)](e(396),i),r[e(150)][e(269)](a,i),r[e(348)][e(355)](i,s[e(130)])}p||v||!m||g(m)}}(this[t(155)]),{priority:t(185)}),this[t(155)][t(158)][t(263)].on(t(303),(e,i,n)=>{const s=t,r=n[s(348)][s(403)](i[s(130)]);if(r)for(const t of r)(t[s(164)](s(383))||t[s(164)](s(329)))&&(n[s(348)][s(436)](t,i[s(130)]),n[s(150)][s(235)](t))},{priority:t(185)}),this[t(155)][t(158)][t(263)].on(t(369),(e,i,n)=>{const s=t,r=i[s(130)][s(140)](":")[1],o=this[s(188)](r);if(!o)return null;const a=s(239)==o[s(345)]?s(140):s(182);if(n[s(255)][s(397)](i[s(153)],e[s(394)]))for(const t of i[s(153)][s(227)]()){if(!t.is(s(159),s(364)))continue;const e=n[s(150)][s(284)](s(307),{class:s(322)+a}),r=n[s(348)][s(342)](this[s(155)][s(142)][s(204)](t));o[s(409)][s(360)]&&n[s(150)][s(279)](s(322)+a+s(287),e),this[s(152)]==o&&n[s(150)][s(279)](s(396),e),n[s(150)][s(269)](r,e),n[s(348)][s(355)](e,i[s(130)])}},{priority:t(185)}),this[t(155)][t(142)][t(323)].on(t(339),()=>{const e=t;this[e(155)][e(158)][e(114)][e(339)](t=>{const i=e;for(const e of this[i(155)][i(142)][i(323)][i(373)]()){const n=this[i(155)][i(142)][i(323)][i(124)](e),s=this[i(155)][i(158)][i(114)][i(323)][i(124)](e);if(s){const e=n[i(225)](i(141));if(t[i(168)](i(253),s),t[i(351)](i(240),s),t[i(351)](i(122),s),t[i(351)](i(371),s),e){const n=this[i(188)](e);if(!n)return null;t[i(312)](i(253),e,s),t[i(279)](i(328)+n[i(345)],s),this[i(152)]==n&&t[i(279)](i(371),s)}}}})}),this[t(155)][t(392)][t(238)](t(372))[t(347)]({view:t(318),model:e=>t(390)+e,converterPriority:t(229)}),this[t(155)][t(392)][t(238)](t(372))[t(347)]({view:t(247),model:e=>t(301)+e,converterPriority:t(229)}),this[t(155)][t(392)][t(238)](t(230))[t(305)]({model:t(416),view:e=>({name:t(431)+e,group:t(416)}),converterPriority:t(229)}),this[t(155)][t(392)][t(238)](t(143))[t(317)]({model:t(416),view:e=>{const i=t,n=e[i(130)][i(140)](":")[1];return i(316)!=n&&i(120)!=n?null:{classes:[i(410),i(300)+n]}}}),this[t(155)][t(158)][t(263)].on(t(250),le(this[t(155)],t(182)),{priority:t(185)}),this[t(155)][t(158)][t(263)].on(t(432),le(this[t(155)],t(140)),{priority:t(185)}),this[t(155)][t(158)][t(263)].on(t(393),(e,i,n)=>{const s=t,r=n[s(348)][s(403)](i[s(130)]);if(r)for(const t of r)t.is(s(261))&&(n[s(348)][s(436)](t,i[s(130)]),n[s(150)][s(235)](t))},{priority:t(185)})}[oe(188)](t){const e=oe;return this[e(186)][e(402)](t)}[oe(200)](t){const e=oe;return this[e(324)]&&this[e(324)][e(314)](),this[e(324)]=new Gt(this[e(155)][e(368)],t),this[e(324)]}[oe(145)](){const t=oe;this[t(155)][t(142)][t(323)][t(228)][t(327)](t(115)),this.on(t(181),(e,i,n,s)=>{const r=t;s&&this[r(344)][r(235)](s),n&&(this[r(344)][r(239)]({view:n,stackId:r(260),position:{target:()=>{const t=r,e=this[t(155)][t(158)],i=this[t(188)](n[t(294)]);let s;if(i[t(409)][t(292)]){const n=e[t(114)][t(433)](i[t(367)]);s=Array[t(127)](n[t(398)]())}else{const i=this[t(155)][t(142)][t(198)][t(402)](t(380)+n[t(294)]);s=Array[t(127)](e[t(348)][t(403)](i[t(394)]))[t(306)](i=>e[t(114)][t(325)][t(302)](i))[t(306)](e=>Array[t(127)](e[t(398)]()))[t(192)]()}return this[t(272)]&&s[t(320)](e=>e[t(163)]-3<=this[t(272)].y&&e[t(365)]+3>=this[t(272)].y&&e[t(257)]-3<=this[t(272)].x&&e[t(370)]+3>=this[t(272)].x)||s[0]}}}),this[r(344)][r(209)](r(260)))}),this.on(t(189),(e,i,n,s)=>{const r=t;this[r(424)]=n?this[r(200)](n):null,this[r(155)][r(142)][r(339)](()=>{const t=r,e=this[t(155)][t(158)];s&&(s[t(409)][t(292)]?e[t(114)][t(339)](i=>{const n=t;i[n(351)](n(371),e[n(114)][n(323)][n(124)](s[n(367)]))}):e[t(419)](t(380)+s.id)),n&&(n[t(409)][t(292)]?e[t(114)][t(339)](i=>{const s=t;i[s(279)](s(371),e[s(114)][s(323)][s(124)](n[s(367)]))}):e[t(419)](t(380)+n.id))})}),this[t(148)](this[t(155)][t(158)][t(114)][t(323)],t(363),(e,i)=>{const n=t;if(this[n(152)])return;const s=this[n(330)](i[n(388)]),r=this[n(186)][n(402)](s);r?(this[n(272)]={x:i[n(350)].x,y:i[n(350)].y},this[n(424)]=this[n(200)](r)):(this[n(272)]=null,this[n(424)]=null)}),this[t(148)](this[t(155)][t(158)][t(114)][t(323)],t(177),(e,i)=>{const n=t,s=this[n(330)](i[n(388)]),r=this[n(186)][n(402)](s);r?(this[n(272)]={x:i[n(350)].x,y:i[n(350)].y},r===this[n(152)]?this[n(344)][n(194)]():this[n(152)]=r):(this[n(272)]=null,this[n(152)]=null)})}[oe(330)](t){const e=oe;do{const i=t[e(225)](e(253));if(i)return i;t=t[e(190)]}while(t);return null}[oe(232)](){const t=oe;this[t(155)][t(142)][t(339)](e=>{const i=t;for(const t of this[i(155)][i(142)][i(198)])e[i(415)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(255)][r(397)](n[r(153)],i[r(394)]))return;const o=n[r(153)][r(276)](),a=n[r(153)][r(425)],c=t[r(142)][r(136)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(246)];h=h||c[r(286)](e);const i=s[r(348)][r(226)](e);if(i&&i[r(156)](r(289)))return;r(116)==t[r(345)]&&c[r(435)](e)&&!c[r(191)](e)&&(e[r(308)]||a[r(146)]?u&&u[r(190)]==e||(u=e,f(t[r(408)]),d=!0):l=l||t[r(408)])}function f(t){const i=r,o=s[i(348)][i(342)](t),a=s[i(150)][i(284)](i(307),{class:i(300)+e});s[i(150)][i(269)](o,a),s[i(348)][i(355)](a,n[i(130)])}h||d||!l||f(l)}}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(216)][e(402)](ue);this[e(259)]=!1,this[e(148)](i,e(217),()=>this[e(267)]()),this[e(148)](i,e(385),()=>this[e(267)]())}[oe(406)](){const t=oe,e=this[t(155)],i=e[t(216)][t(402)](ue),n=i[t(313)]?i[t(321)][t(277)]:null;e[t(359)][t(402)](t(404))[t(147)](n)}[oe(267)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(155)][t(216)][t(402)](ue),r=s&&n[t(326)](s[t(277)]);this[t(421)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(171)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(216)][i(402)](ue);this[i(259)]=!1,this[i(171)]=i(336)===e?1:-1,this[i(148)](n,i(217),()=>this[i(267)]()),this[i(148)](n,i(385),()=>this[i(267)]()),this[i(148)](n,i(189),()=>this[i(267)]())}[oe(406)](){const e=oe,i=this[e(155)],n=i[e(216)][e(402)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(152)]=s?n[e(321)][e(214)][e(402)](r+this[e(171)]):n[e(321)][e(214)][e(131)],n[e(152)][e(409)][e(292)])o=i[e(158)][e(114)][e(433)](n[e(152)][e(367)]);else{const t=i[e(142)][e(198)][e(402)](e(380)+n[e(152)].id);o=(0,K.getMarkerDomElement)(i[e(158)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(267)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(155)][t(216)][t(402)](ue);this[t(421)]=!!(r&&s&&n)&&(!e||(1===this[t(171)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=Tt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(329140===parseInt(e(406))/1*(-parseInt(e(408))/2)+parseInt(e(369))/3*(-parseInt(e(387))/4)+parseInt(e(368))/5+parseInt(e(391))/6*(-parseInt(e(373))/7)+-parseInt(e(381))/8*(parseInt(e(372))/9)+-parseInt(e(375))/10+parseInt(e(385))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(404)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(407)](e(379),!1),this[e(407)](e(405),!1),this[e(407)](e(397),0),this[e(407)](e(382),0),this[e(407)](e(384),!1),this[e(407)](e(395),!1),this[e(383)](e(400)).to(this,e(405),this,e(382),(t,e)=>t&&e>0),this[e(383)](e(398)).to(this,e(405),this,e(397),this,e(382),this,e(379),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(396));if(!s)return at(t,o(393));const a=at(t,o(401),s);return r?at(t,o(370),[n+1,s]):a}),n[e(407)]({label:at(t,e(394)),tooltip:!0,icon:_t.IconChevronUp}),s[e(407)]({label:at(t,e(402)),tooltip:!0,icon:_t.IconChevronDown}),n[e(383)](e(410)).to(this,e(395)),s[e(383)](e(410)).to(this,e(384)),n.on(e(380),()=>this[e(371)](e(380),e(376))),s.on(e(380),()=>this[e(371)](e(380),e(392))),this[e(367)]({tag:e(377),attributes:{class:["ck",e(374),e(378)]},children:[{tag:e(390),attributes:{class:[e(399)]},children:[{tag:e(390),attributes:{class:[e(409),i.if(e(400),e(386),t=>!t)]},children:[{text:i.to(e(379),i=>i?at(t,e(388))+": ":at(t,e(389))+": ")}]},{text:i.to(e(398))}]},new It.ToolbarSeparatorView,{tag:e(377),attributes:{class:[e(403)]},children:[n,s]}]})}}function ge(){const t=["isReady","1ouGoZd","set","509758UEDiUg","ck-revision-history-ui__changes-navigation__label","isEnabled","setTemplate","1208660xMgddd","3YJPagg","X_OF_Y_CHANGES","fire","7002VRZMGr","3101VJGfVh","ck-revision-history-ui","1432730OBwdtB","backward","div","ck-revision-history-ui__changes-navigation","isNavigationMode","execute","4024foDfQf","numberOfChanges","bind","isForwardNavigationEnabled","15039519RMAIfp","ck-hidden","242500MsjahN","EDIT_X_OF_Y_REVISIONS","Total","span","5820KAvkwh","forward","No changes","Show previous change","isBackwardNavigationEnabled","Loading...","currentChangeNumber","_statusText","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","NUMBER_OF_CHANGES","Show next change","ck-revision-history-ui__changes-navigation__navigation","bindTemplate"];return(ge=function(){return t})()}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=Tt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["294425RYwRHa","11338jTQCAw","7JeHqIi","1633808PmsuAf","241728ylSlaO","isOfficialPlugin","hide","removeClass","editing","20GPcexB","10JxLSjf","document","view","9jqAYpb","ck-editor__editable__loading-overlay","61eESBBf","isPremiumPlugin","pluginName","editor","show","1725840xIhzNh","roots","3606416KIUoAh","RevisionViewerLoadingOverlay","addClass","change","1136634ooGgzq"];return(be=function(){return t})()}const we=Ie;!function(t){const e=Ie,i=t();for(;;)try{if(228015===-parseInt(e(497))/1*(parseInt(e(510))/2)+parseInt(e(513))/3+parseInt(e(518))/4*(parseInt(e(509))/5)+parseInt(e(508))/6*(-parseInt(e(511))/7)+parseInt(e(512))/8*(parseInt(e(495))/9)+-parseInt(e(492))/10*(-parseInt(e(504))/11)+-parseInt(e(502))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const _e=we(496);function Ie(t,e){const i=be();return(Ie=function(t,e){return i[t-=492]})(t,e)}class Se extends J.Plugin{static get[we(499)](){return we(505)}static get[we(514)](){return!0}static get[we(498)](){return!0}[we(501)](){const t=we,e=this[t(500)][t(517)][t(494)];e[t(507)](i=>{const n=t;for(const t of e[n(493)][n(503)])i[n(506)](_e,t)})}[we(515)](){const t=we,e=this[t(500)][t(517)][t(494)];e[t(507)](i=>{const n=t;for(const t of e[n(493)][n(503)])i[n(516)](_e,t)})}}const Oe=xe;function xe(t,e){const i=Ne();return(xe=function(t,e){return i[t-=140]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(200899===parseInt(e(144))/1*(parseInt(e(150))/2)+-parseInt(e(151))/3*(parseInt(e(187))/4)+parseInt(e(179))/5*(parseInt(e(174))/6)+parseInt(e(159))/7+parseInt(e(169))/8+parseInt(e(168))/9*(-parseInt(e(184))/10)+-parseInt(e(165))/11*(-parseInt(e(158))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Te extends J.Plugin{static get[Oe(160)](){return Oe(147)}static get[Oe(175)](){return!0}static get[Oe(176)](){return!0}static get[Oe(171)](){return[ue,Se]}[Oe(146)](){const t=Oe,e=this[t(148)],i=e[t(167)][t(143)](ue),n=e[t(167)][t(143)](Se);e.ui[t(181)][t(189)](t(155),i=>{const n=t,s=new It.ButtonView(i);return s[n(154)]({label:at(i,n(162)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(180)}),this[n(156)](s,n(161),()=>{const t=n;e[t(186)][t(143)](t(163))[t(149)]()}),s}),e.ui[t(181)][t(189)](t(141),i=>{const n=t,s=new It.ButtonView(i);return s[n(154)]({label:at(i,n(152)),withText:!0,tooltip:!0}),s[n(145)](n(166)).to(e[n(177)][n(143)](n(141))),this[n(156)](s,n(161),()=>e[n(161)](n(141))),s}),e.ui[t(181)][t(189)](t(185),n=>{const s=t,r=new ve(n),o=e[s(177)][s(143)](s(183)),a=e[s(177)][s(143)](s(170));return r[s(145)](s(173)).to(o,s(166)),r[s(145)](s(188)).to(a,s(166)),r[s(145)](s(178),s(153),s(172),s(157)).to(i),this[s(156)](r,s(161),(t,i)=>{const n=s;e[n(161)](n(142)===i?n(170):n(183))}),r}),n[t(182)](),i.on(t(140),(e,i,s)=>{const r=t;s?n[r(164)]():n[r(182)]()})}}function Ne(){const t=["1047312DQtulV","pluginName","execute","Back to editing","revisionHistory","hide","737GIhbFk","isEnabled","plugins","1768905xOKMzQ","1808528JZVYMg","showNextChange","requires","numberOfChanges","isBackwardNavigationEnabled","988104xlgNhh","isOfficialPlugin","isPremiumPlugin","commands","isReady","5tNPPGQ","ck-revision-history-ui__back-to-editing","componentFactory","show","showPreviousChange","20oBfDoO","changesNavigation","config","12gjhkfR","isForwardNavigationEnabled","add","change:isReady","restoreRevision","forward","get","1JbWUnA","bind","init","RevisionViewerUI","editor","closeRevisionViewerCallback","546850qduDPn","314607fJbGHj","Restore this revision","currentChangeNumber","set","exitToEditing","listenTo","isNavigationMode","16980ubSOPf"];return(Ne=function(){return t})()}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=Tt(),Ae.insertStyleElement=Dt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=De;function Ve(){const t=["ck-revision-history-sidebar__revision-name","_updateTooltipText","span","Enter the revision name","ck-tooltip_multi-line","4884190KDMtme","set","scrollWidth","_resizeObserver","11694634DmOEPB","fieldView","3tmbwXO","1648760VFIJSE","4240182DFujSE","element","extendTemplate","render","value","Revision name","destroy","_tooltipString","7573564uihbfK","placeholder","5LpQulH","9953823GspxMJ","input","2FzqxKg","bindTemplate","clientWidth","3195BZCOiS","38504pqGgSq","listenTo"];return(Ve=function(){return t})()}function De(t,e){const i=Ve();return(De=function(t,e){return i[t-=495]})(t,e)}!function(t){const e=De,i=t();for(;;)try{if(960297===-parseInt(e(505))/1*(parseInt(e(519))/2)+-parseInt(e(504))/3*(parseInt(e(514))/4)+-parseInt(e(516))/5*(-parseInt(e(506))/6)+parseInt(e(502))/7+-parseInt(e(523))/8*(-parseInt(e(522))/9)+-parseInt(e(498))/10+parseInt(e(517))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends It.LabeledFieldView{[Me(501)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(520)];this[i(499)]({label:at(t,i(511)),_tooltipString:""}),this[i(503)][i(515)]=at(t,i(496)),this[i(508)]({tag:i(495),attributes:{class:[i(525)],"data-cke-tooltip-text":n.to(i(513)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(497)}})}[Me(509)](){const e=Me;super[e(509)](),this[e(501)]=new t.ResizeObserver(this[e(503)][e(507)],()=>this[e(526)]()),this[e(524)](this[e(503)],e(518),()=>this[e(526)]())}[Me(512)](){const t=Me;super[t(512)](),this[t(501)]&&this[t(501)][t(512)]()}[Me(526)](){const t=Me,e=this[t(503)][t(507)];this[t(513)]=e[t(500)]>e[t(521)]&&e[t(510)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["set","Revision creator","Revision author","ck-revision-history-sidebar__revision-author__name","125995voHAOG","name","945608deKZpl","25655bFaxnM","ck-revision-history-sidebar__revision-author","0 0 11 10","72SlDwdy","2237752yCSDrq","672030PydfNf","306DPNrVV","setTemplate","ck-revision-history-sidebar__revision-author_creator","span","push","1182723IaHMEU","3213972zssZks"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=213]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(368093===parseInt(e(229))/1+-parseInt(e(223))/2+-parseInt(e(215))/3+-parseInt(e(227))/4*(-parseInt(e(221))/5)+-parseInt(e(230))/6*(-parseInt(e(224))/7)+parseInt(e(228))/8+-parseInt(e(216))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(217)]({content:_t.IconUser,viewBox:n(226)});const r=["ck",n(225)];i&&r[n(214)](n(232));const o=[{tag:n(213),attributes:{class:["ck",n(220)],title:at(t,n(i?218:219))},children:[s,e[n(222)]]}];this[n(231)]({tag:"li",attributes:{class:r},children:o})}}function We(){var t=["long","6555808WEauiU","926931LgGVLG","6ZNKIuM","numeric","toLocaleDateString","12DDqojx","22970obfUSk","4217885TRJiKd","314SvPaQC","3177QpWCuK","502ktNQzk","toLocaleTimeString","2885377YePpfI","4507769SXkXsN","8osemKW"];return(We=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=320]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(471632===parseInt(e(326))/1*(-parseInt(e(324))/2)+parseInt(e(333))/3*(-parseInt(e(330))/4)+-parseInt(e(323))/5+parseInt(e(334))/6*(parseInt(e(329))/7)+parseInt(e(332))/8+parseInt(e(325))/9*(parseInt(e(322))/10)+-parseInt(e(328))/11*(parseInt(e(321))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=Rt().bind(null,"head"),Ze.domAPI=Tt(),Ze.insertStyleElement=Dt();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(t,e){const i=Be();return(He=function(t,e){return i[t-=473]})(t,e)}function Be(){const t=["_action","menu","execute","menuitem","9ExBLTb","ck-revision-history-sidebar__revision__actions","children","20jeMyGG","panelPosition","isActionsDropdownOpen","button","buttonView","351999vbEhVb","1188001SEtNcj","set","add","Restore this revision","model","1275AtvtsG","first","listenTo","locale","find","isReady","bind","listView","source","isVisible","Show more items","5113440RfwcHx","map","19948450ZbFdHw","function","10656tYlwao","action","items","extendTemplate","name","Compare against selected","bindTemplate","change:isActionsDropdownOpen","stopPropagation","isEnabled","ck-on","Name this revision","8832341mEOIVd","7732184ztOQCG","isOpen","class"];return(Be=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(896726===parseInt(e(520))/1+-parseInt(e(514))/2*(-parseInt(e(519))/3)+parseInt(e(487))/4+-parseInt(e(476))/5*(parseInt(e(491))/6)+-parseInt(e(503))/7+parseInt(e(504))/8*(parseInt(e(511))/9)+-parseInt(e(489))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Be);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=Mt(),$e.insert=Rt().bind(null,"head"),$e.domAPI=Tt(),$e.insertStyleElement=Dt();Ot()(qe.A,$e);qe.A&&qe.A.locals&&qe.A.locals;function Ye(t,e){const i=Je();return(Ye=function(t,e){return i[t-=255]})(t,e)}const Ge=Ye;function Je(){const t=["change","isActionsDropdownOpen","map","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","render","_createdAtFormatted","isReady","220","3301032sPVHfB","srcElement","unshift","1945866iPUURG","4605573FvKWFf","238584IsDFTe","1WtHagO","extendTemplate","from","isEnabled","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision","name","deselect","_revision","ck-revision-history-sidebar__revision__controls-wrapper","createdAt","span","select","closest","setName","set","1619570JvoKXU","ck-revision-history-sidebar__actions_dropdown_open","bind","1230648WBavrW","fieldView","ck-reset","209rpLLBv","ck-revision-history-sidebar__revision_highlighted","highlight","creator","length","3713896ppITsh","isConfirm","element","revisionNameView","div","authors","listenTo","isSelected","bindTemplate","setTemplate","uiLanguage","unhighlight","ck-disabled","filter","revisionActionsView","27FbTdIp","fire","_requireRevisionName",".ck-thread__remove-confirm","isHighlighted","value","5NsJccT"];return(Je=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(617732===parseInt(e(255))/1*(-parseInt(e(318))/2)+-parseInt(e(315))/3+-parseInt(e(282))/4+-parseInt(e(303))/5*(parseInt(e(274))/6)+parseInt(e(319))/7+-parseInt(e(320))/8*(-parseInt(e(297))/9)+parseInt(e(271))/10*(parseInt(e(277))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ge(285)];[Ge(296)];[Ge(263)];[Ge(299)];constructor(e,i,n,s){const r=Ge;super(e);const o=this[r(290)],a=function(t,e){const i=r,n=Array[i(257)](e[i(287)])[i(295)](t=>t!=e[i(280)]);return e[i(280)]&&n[i(317)](e[i(280)]),n[i(306)](n=>new Pe(t,n,n==e[i(280)]))}(e,i);this.id=i.id,this[r(263)]=i,this[r(299)]=s,this[r(273)](r(261),r(265)).to(i),this[r(273)](r(312)).to(this,r(265),t=>{return i=e[r(292)],(n=t)[(s=ze)(320)](i,{month:s(331),day:s(335)})+", "+n[s(327)](i,{hour:s(335),minute:s(335)});var i,n,s}),this[r(270)](r(289),!1),this[r(270)](r(301),!1),this[r(270)](r(305),!1),this[r(270)](r(313),!1),this[r(270)](r(258),!1),this[r(285)]=new Ee(e,It.createLabeledInputText),this[r(285)][r(275)][r(256)]({attributes:{maxlength:r(314)}}),this[r(285)][r(275)][r(273)](r(302)).to(this,r(261),t=>t||this[r(312)]),this[r(285)][r(273)](r(258)).to(this,r(289),this,r(258),(t,e)=>t&&e),this[r(296)]=n&&n[r(281)]?function(e,i){const n=He,s=e[n(497)],r=e[n(479)],o=(0,It.createDropdown)(r);o[n(515)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=He,n=t[i(479)],s={"Compare against selected":at(n,i(496)),"Name this revision":at(n,i(502)),"Restore this revision":at(n,i(474))};return e[i(488)](t=>{const e=i,n=s[t[e(495)]];return n&&n!==t[e(495)]&&(t[e(495)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(517),model:new It.UIModel({label:t[s(495)],class:t[s(506)],withText:!0,role:s(510),_action:t[s(492)]})};i[s(475)][s(482)](s(500)).to(e,s(516),i=>s(490)!=typeof t[s(500)]||!i||t[s(500)](e)),o[s(473)](i)}return o}(e,i);return e[n(482)](n(516)).to(o,n(505)),o[n(518)][n(521)]({label:at(r,n(486)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(494)]({attributes:{class:[n(512),s.if(n(516),n(501))]},on:{click:s.to(t=>t[n(499)]())}}),o.on(n(509),t=>{const i=n;e[i(481)]&&i(490)==typeof t[i(484)][i(507)]&&t[i(484)][i(507)](e)}),(0,It.addListToDropdown)(o,a,{role:n(508)}),o[n(478)](e,n(498),(t,s,r)=>{const a=n;if(r)for(const t of o[a(483)][a(493)]){const n=t[a(513)][a(477)],s=i[a(480)](t=>t[a(492)]===n[a(507)])[a(485)];t[a(485)]=void 0===s||s(e)}}),o}(this,n):"",this[r(296)]&&this[r(296)][r(273)](r(258)).to(this),this[r(291)]({tag:r(286),attributes:{class:["ck",r(276),r(259),o.if(r(283),r(310))]},children:[{tag:r(286),attributes:{class:["ck",r(276),r(260),o.if(r(258),r(294),t=>!t),o.if(r(289),r(307)),o.if(r(301),r(278)),o.if(r(305),r(272))]},children:[this[r(285)],{tag:r(266),attributes:{class:["ck",r(308)]},children:[{text:o.to(r(312))}]},{tag:r(286),attributes:{class:["ck",r(264)]},children:[{tag:"ul",attributes:{class:["ck",r(309)]},children:a}]},this[r(296)]],on:{click:o.to(t=>{const e=r;t[e(316)][e(268)](e(300))||this[e(313)]&&this[e(258)]&&this[e(298)](e(267),{id:this.id})})}}]})}[Ge(311)](){const t=Ge;super[t(311)]();const e=this[t(285)][t(275)][t(284)];this[t(288)](e,t(304),()=>{const i=t;this[i(299)]&&!e[i(302)]||this[i(298)](i(269),{id:this.id,name:e[i(302)]}),e[i(302)]||(e[i(302)]=this[i(261)]?this[i(261)]:this[i(312)])})}[Ge(267)](){this[Ge(289)]=!0}[Ge(262)](){this[Ge(289)]=!1}[Ge(279)](){this[Ge(301)]=!0}[Ge(293)](){this[Ge(301)]=!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},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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 ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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,(Jn({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 Li={};const Pi=new Map;function Wi(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 Ui=new Map;let Zi=null;const Hi=new Map;function Bi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function $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 Un(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Gi{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&&ji.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=Wi(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 Ji{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=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.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":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=Wn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),zi.clear(),Ui.clear(),Hi.clear(),qi.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=Wi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Wi(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"===Bi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Wn(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 Gi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Bi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let 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)||ji.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=Wn(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(),ji.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 xn(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 Tn(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 Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(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,Gn(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=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 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 jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(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 Wn(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 Un(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 Bn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(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 Gn(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 Jn(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(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}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(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:Ti,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};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 Un(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 xs(...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 Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${Ts.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=xs("weekYear","weekNumber","weekDay"),Vs=xs("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${Ts.source}|(${_s.source}))?`),Es=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:Bn(t[e+3])},null,e+4]}function js(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 Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),Ws=/^-?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(Bn(u),h)}]}const Us={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?Xn(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 Bs(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?Us[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(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 Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(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))?)?/,As),Qs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Xs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),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,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Ds),cr=Ss(Fs,js,Ls);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,[Ws,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+=qn(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;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 ji.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:jn()}}}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}function xr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const 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 Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>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=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(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 xr(u);case"yy":case"kk":return xr(h,Xn);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(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 xr(c);case"ooo":case"SSS":return xr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return xr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${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]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}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;Dn(t.z)||(i=ji.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=Bn(t.u));const n=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},{});return[n,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 Lr(t,e,i){return new jr(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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=xn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=xn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Br(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(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 qr(Jn(t),e,i)}function Gr(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,Gn(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=Jn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(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+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(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(Ur(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=qn(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:Ur(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=$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||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(Ur(s))}static fromMillis(t,e={}){if(En(t))return t<-zr||t>zr?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(Ur(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(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=xn(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,Qn(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||Vn(s);if(b)return fo.invalid(b);const w=m?Tn(s,r,o):u?Rn(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 Jr(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,Bs])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Gs],[$s,Gs],[Ys,Js])}(t);return Jr(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}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Jr(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 Jr(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=Pr(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?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=Jn(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?[Br(this,{ts:a}),Br(this,{ts:c})]:[this]}get isInLeapYear(){return $n(this.year)}get daysInMonth(){return Gn(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 Br(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Br(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(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=Tn({...xn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Gn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return Br(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Br(this,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Br(this,Gr(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):Wr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):Wr}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():Wr}[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 Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(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 jr(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):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}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-=436]})(t,e)}function vo(){const t=["601870kWdbjN","weekdayLong","1514292WQFSRv","3083625hfRvws","hasSame","1193474RaeVFJ","2306622NFlNIZ","setLocale","toRelativeCalendar","day","month","year","monthLong","local","startOf","fromJSDate","14gCssBR","4uRRVyv","106595kVXfKw","11pLHgOQ","114kUGokl","week","735776peHzWo","toJSDate","minus"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(452)](t)[i(444)](e),s=fo[i(450)](),r=s[i(436)]({days:1})[i(451)](i(446));let o,a;return n[i(441)](s,i(446))?(o=n[i(451)](i(446))[i(460)](),a=n[i(445)]()):n[i(441)](r,i(446))?(o=r[i(460)](),a=n[i(445)]()):n[i(441)](s,i(458))?(o=n[i(451)](i(458))[i(460)](),a=n[i(438)]||""):n[i(441)](s,i(448))?(o=n[i(451)](i(447))[i(460)](),a=n[i(449)]||""):(o=n[i(451)](i(448))[i(460)](),a=String(n[i(448)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(659271===parseInt(e(442))/1+-parseInt(e(439))/2+parseInt(e(443))/3*(-parseInt(e(454))/4)+parseInt(e(455))/5*(parseInt(e(457))/6)+parseInt(e(453))/7*(parseInt(e(459))/8)+parseInt(e(440))/9+-parseInt(e(437))/10*(-parseInt(e(456))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["1380AjLkyC","851848YaXCoy","setTemplate","ck-revision-history-sidebar__time-period","select","1250874KiPRdJ","21kWLQDE","find","1721028UGBbUi","89914iiRaxc","add","locale","removeRevision","span","_requireRevisionName","addRevision","_revisionActions","ck-revision-history-sidebar__time-period__revisions","4241980OetzBB","delegate","localizedPeriodName","div","5sKXgui","uiLanguage","startDate","createCollection","ck-revision-history-sidebar__time-period__label","remove","3tRIvUv","40hBLChL","revisionViews","752562joRfAw","1093336WUGFYV","setName"];return(bo=function(){return t})()}const wo=_o;function _o(t,e){const i=bo();return(_o=function(t,e){return i[t-=382]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(426972===parseInt(e(397))/1+parseInt(e(394))/2*(-parseInt(e(390))/3)+-parseInt(e(404))/4*(-parseInt(e(384))/5)+-parseInt(e(401))/6*(-parseInt(e(402))/7)+parseInt(e(391))/8*(-parseInt(e(393))/9)+parseInt(e(414))/10+parseInt(e(405))/11*(-parseInt(e(396))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[wo(386)];[wo(392)];[wo(412)];[wo(410)];constructor(t,e,i,n){const s=wo;super(t);const r=go(e,this[s(407)][s(385)])[s(382)];this[s(386)]=e,this[s(392)]=this[s(387)](),this[s(412)]=i,this[s(410)]=n,this[s(392)][s(415)](s(400)).to(this),this[s(392)][s(415)](s(395)).to(this),this[s(398)]({tag:s(383),attributes:{class:["ck",s(399)]},children:[{tag:s(409),attributes:{class:["ck",s(388)]},children:[{text:r}]},{tag:s(383),attributes:{class:["ck",s(413)]},children:this[s(392)]}]})}[wo(411)](t){const e=wo,i=new Ke(this[e(407)],t,this[e(412)],this[e(410)]);this[e(392)][e(406)](i)}[wo(408)](t){const e=wo,i=this[e(392)][e(403)](e=>e.id===t.id);this[e(392)][e(389)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(){const t=["978564VURviA","8481VqrTxF","span","369cBekqE","196120pMcvKx","setTemplate","165630hrSxQA","42VkyMmu","3419QBiIKB","953920EdZVUt","3429055oXTMJH","ck-revision-history-sidebar__header","content","ck-revision-history-sidebar__header__label","473ydNOAn","Revision history","div","ck-reset_all","164112TeeETW","68sHvVHE","4TwcjKC"];return(xo=function(){return t})()}function To(t,e){const i=xo();return(To=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(536673===-parseInt(e(148))/1+parseInt(e(137))/2*(-parseInt(e(140))/3)+-parseInt(e(138))/4*(-parseInt(e(149))/5)+-parseInt(e(139))/6*(parseInt(e(146))/7)+parseInt(e(143))/8*(-parseInt(e(142))/9)+-parseInt(e(145))/10*(parseInt(e(153))/11)+parseInt(e(157))/12*(parseInt(e(147))/13))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(151)]=_t.IconHistory,this[e(144)]({tag:e(155),attributes:{class:["ck",e(156),e(150)]},children:[i,{tag:e(141),attributes:{class:["ck",e(152)]},children:[at(t,e(154))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=Tt(),Ao.insertStyleElement=Dt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Do;function Vo(){const t=["_addRevision","uiLanguage","189468GgnbdO","2fuRbrZ","select","find","10124296kuNVyG","isEnabled","ck-rounded-corners","remove","_getTimePeriodViewByStartDate","revisionViews","78237wuOyEU","getTime","unhighlight","flat","revisionSelected","3530cpTWtK","createCollection","fire","revisionSetName","some","setTemplate","_revisionActions","delegate","render","removeRevision","div","ck-revision-history-sidebar__timeline","78SFQiMb","ck-revision-history-sidebar","get","addRevision","setName","selectRevision","ck-disabled","6647780ZnIBKc","_removeRevision","createdAt","bindTemplate","5088517hhWOJG","ck-reset","_requireRevisionName","startDate","highlight","4460280LzKVHC","1098958aZmYDP","map","set","timePeriodViews","highlightRevisions","_revisions","locale","deselect","add"];return(Vo=function(){return t})()}function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(668163===-parseInt(e(311))/1*(-parseInt(e(299))/2)+-parseInt(e(337))/3*(-parseInt(e(310))/4)+-parseInt(e(289))/5+parseInt(e(298))/6+parseInt(e(293))/7+parseInt(e(314))/8+parseInt(e(320))/9*(-parseInt(e(325))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends It.View{[Mo(302)];[Mo(304)];[Mo(331)];[Mo(295)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(292)];this[s(302)]=this[s(326)](),this[s(302)][s(332)](s(312)).to(this),this[s(302)][s(332)](s(341)).to(this),this[s(304)]=e,this[s(331)]=i,this[s(295)]=n,this.on(s(312),(t,e)=>{const i=s;this[i(327)](i(324),e)}),this.on(s(341),(t,e)=>{const i=s;this[i(327)](i(328),e)}),this[s(301)](s(315),!1),this[s(330)]({tag:s(335),attributes:{class:["ck",s(294),s(316),s(338)]},children:[new No(t),{tag:s(335),attributes:{class:["ck",s(336),r.if(s(315),s(343),t=>!t)]},children:this[s(302)]}]})}[Mo(333)](){const t=Mo;super[t(333)]();for(const e of this[t(304)])this[t(308)](e);this[t(304)].on(t(307),(e,i)=>{this[t(308)](i)}),this[t(304)].on(t(317),(e,i)=>{this[t(290)](i)})}get[Mo(319)](){const t=Mo;return this[t(302)][t(300)](e=>e[t(319)][t(300)](t=>t))[t(323)]()}[Mo(342)](t){const e=Mo;for(const i of this[e(319)])t&&t.id===i.id?i[e(312)]():i[e(306)]()}[Mo(303)](t){const e=Mo;for(const i of this[e(319)])t[e(329)](({id:t})=>t===i.id)?i[e(297)]():i[e(322)]()}[Mo(308)](t){const e=Mo,i=go(t[e(291)],this[e(305)][e(309)])[e(296)];let n=this[e(302)][e(339)](0);n&&n[e(296)][e(321)]()===i[e(321)]()||(n=new Io(this[e(305)],i,this[e(331)],this[e(295)]),this[e(302)][e(307)](n)),n[e(340)](t)}[Mo(290)](t){const e=Mo,i=go(t[e(291)],this[e(305)][e(309)])[e(296)];this[e(318)](i)[e(334)](t)}[Mo(318)](t){const e=Mo;return this[e(302)][e(313)](i=>i[e(296)][e(321)]()===t[e(321)]())}}const Co=Lo;!function(t){const e=Lo,i=t();for(;;)try{if(857830===-parseInt(e(190))/1+parseInt(e(130))/2+-parseInt(e(172))/3+parseInt(e(162))/4+-parseInt(e(125))/5+-parseInt(e(143))/6+parseInt(e(147))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Fo extends J.Plugin{[Co(159)];[Co(123)];[Co(142)];static[Co(157)]=[Co(145),Co(151),Co(126)];static[Co(191)]=function(){const t=Co;return{compareAgainstSelected:{name:t(133),action:({plugins:e},i)=>{const n=t,s=e[n(136)](ue),r=s[n(171)];let o=s[n(196)][n(134)],a=i.id;r[n(197)](o)>r[n(197)](a)&&([o,a]=[a,o]),s[n(146)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(136)](ue);return!(s[n(171)][n(168)](s[n(196)])[n(156)]>2||i[n(179)])}},restoreRevision:{name:t(184),action:(e,{id:i})=>{const n=t;e[n(161)][n(136)](n(127))[n(150)](i)},isVisible:({plugins:e},i)=>!!e[t(136)](ue)[t(171)][t(122)](i.id)},nameRevision:{name:t(154),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(136)](ue),o=r[s(171)][s(189)](i);r[s(146)](i,o),n[s(182)](),n[s(178)][s(166)]()}}}}();static get[Co(129)](){return Co(160)}static get[Co(174)](){return!0}static get[Co(188)](){return!0}static get[Co(169)](){return[ue]}constructor(t){const e=Co;super(t),this[e(159)]=t[e(140)][e(136)](ue),this[e(123)]=this[e(159)][e(171)],this[e(142)]=null}[Co(128)](){const t=Co,e=this[t(123)][t(175)],i=this[t(186)](),n=this[t(195)][t(161)][t(136)](t(183));this[t(142)]=new Eo(this[t(195)][t(181)],e,i,this[t(195)][t(161)][t(136)](t(131))),this[t(142)].on(t(185),this[t(187)][t(164)](this)),this[t(142)].on(t(119),this[t(124)][t(164)](this)),this[t(142)][t(164)](t(180)).to(this[t(159)]),this[t(142)][t(149)].on(t(163),(e,i)=>{const n=t;i[n(176)].on(n(163),(t,e)=>{const i=n;e[i(164)](i(180),i(141)).to(this[i(159)])})}),this[t(142)][t(193)](),this[t(137)](this[t(195)][t(153)],t(152),this[t(144)][t(164)](this)),this[t(137)](this[t(159)],t(148),this[t(155)][t(164)](this)),n[t(170)](this[t(142)][t(173)])}[Co(198)](){const t=Co;this[t(142)][t(173)][t(132)](),this[t(142)][t(198)]()}[Co(144)](){const t=Co,e=this[t(123)][t(167)](0);if(e){const i=this[t(123)][t(189)](e.id);this[t(159)][t(146)](e,i)}}[Co(187)](t,e){const i=Co,n=this[i(123)][i(167)](e.id),s=this[i(123)][i(189)](n.id);this[i(159)][i(146)](n,s)}[Co(124)](t,e){const i=Co;this[i(123)][i(167)](e.id)[i(121)](e[i(194)])}[Co(155)](t,e,i){const n=Co,s=this[n(123)][n(168)](i);s[n(156)]>2?(this[n(142)][n(165)](s),this[n(142)][n(158)](null)):(this[n(142)][n(165)]([]),this[n(142)][n(158)](s[0]))}[Co(186)](){const t=Co,e=this[t(195)],i=Fo[t(191)],n=e[t(161)][t(136)](t(138))||Fo[t(157)];if(n[t(156)])return n[t(139)](n=>{const s=t,r=s(135)==typeof n?Object[s(177)]({},i[n]):n;return r[s(120)]=r[s(120)][s(164)](this,e),r[s(192)]&&(r[s(192)]=r[s(192)][s(164)](this,e)),r})}}function jo(){const t=["revisionHistory.viewerSidebarContainer","Restore this revision","revisionSelected","_createRevisionActions","_handleRevisionSelected","isPremiumPlugin","getEarlierVisibleRevision","960113qwSvAu","availableRevisionActions","isVisible","render","name","editor","diff","getIndex","destroy","revisionSetName","action","setName","getLaterVisibleRevision","_revisionsRepository","_handleRevisionSetName","2077530QNxGBv","nameRevision","revisionHistory","init","pluginName","185120IsQKnW","revisionHistory.requireRevisionName","remove","Compare against selected","newRevisionId","string","get","listenTo","revisionHistory.revisionActions","map","plugins","isReady","_sidebarView","2419620oZiTgi","_handleEditorDataReady","compareAgainstSelected","compare","19631724JLiCTi","change:diff","timePeriodViews","restoreRevisionCallback","restoreRevision","ready","data","Name this revision","_handleDiffChange","length","defaultRevisionActions","selectRevision","_revisionViewer","RevisionsSidebar","config","3034048LOxzwP","add","bind","highlightRevisions","select","getRevision","getRevisionsInDiff","requires","appendChild","repository","3056655mIuAMg","element","isOfficialPlugin","_revisions","revisionViews","assign","fieldView","isSelected","isEnabled","locale","focus"];return(jo=function(){return t})()}function Lo(t,e){const i=jo();return(Lo=function(t,e){return i[t-=119]})(t,e)}function Po(){const t=["3002IVmkag","_view","isFocused","176307WRFLSx","_elementReplacer","_toolbarConfig","93DYqMvo","render","isActive","getRoot","replace","restore","addToolbar","viewportTopOffset","fillFromConfig","_initToolbar","3320550DayXdR","init","6433272sGDpyq","viewportOffset","bind","4670248DXdckp","editable","ready","focusTracker","element","config","rootName","detachDomRoot","editor","fire","document","7qhkuGw","setEditableElement","5558648LOjfKe","destroy","componentFactory","name","editing","limiterElement","toolbar","attachDomRoot","stickyPanel","view","get","5551245PDvHSy"];return(Po=function(){return t})()}const Wo=zo;function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=345]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(818794===parseInt(e(359))/1+parseInt(e(356))/2*(-parseInt(e(362))/3)+-parseInt(e(377))/4+parseInt(e(355))/5+parseInt(e(374))/6+parseInt(e(388))/7*(-parseInt(e(390))/8)+parseInt(e(372))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Uo extends It.EditorUI{[Wo(357)];[Wo(361)];[Wo(360)];get[Wo(353)](){return this[Wo(357)]}constructor(e,i){const n=Wo;super(e),this[n(357)]=i,this[n(361)]=(0,It.normalizeToolbarConfig)(e[n(382)][n(354)](n(350))),this[n(360)]=new t.ElementReplacer}get[Wo(381)](){const t=Wo;return this[t(353)][t(381)]}[Wo(373)](t){const e=Wo,i=this[e(385)],n=this[e(353)],s=i[e(348)][e(353)],r=n[e(378)],o=s[e(387)][e(365)]();r[e(347)]=o[e(383)],n[e(363)]();const a=r[e(381)];this[e(389)](r[e(347)],a),n[e(378)][e(376)](e(358)).to(this[e(380)]),s[e(351)](a),this[e(360)][e(366)](t,this[e(381)]),this[e(371)](),this[e(386)](e(379))}[Wo(345)](){const t=Wo;super[t(345)]();const e=this[t(353)],i=this[t(385)][t(348)][t(353)];this[t(360)][t(367)](),i[t(384)](e[t(378)][t(347)]),e[t(345)]()}[Wo(371)](){const t=Wo,e=this[t(353)];e[t(352)][t(376)](t(364)).to(this[t(380)],t(358)),e[t(352)][t(349)]=e[t(381)],e[t(352)][t(376)](t(369)).to(this,t(375),({top:t})=>t),e[t(350)][t(370)](this[t(361)],this[t(346)]),this[t(368)](e[t(350)])}}var Zo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=Tt(),Ho.insertStyleElement=Dt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=249]})(t,e)}var qo=Bo;function $o(){var t=["167CKDyet","16QJiFMQ","_editable","1342101MoDNTt","8445507OZneax","6349508KvnGyK","7811178apadut","add","render","22060mDZBBr","toolbar","editable","top","main","shouldToolbarGroupWhenFull","70jxxQOo","content","stickyPanel","535DRsnxy","622179wcEFoM","502vnyPVY"];return($o=function(){return t})()}!function(t){for(var e=Bo,i=t();;)try{if(674939===-parseInt(e(257))/1*(-parseInt(e(256))/2)+-parseInt(e(260))/3+-parseInt(e(266))/4*(parseInt(e(254))/5)+-parseInt(e(263))/6+-parseInt(e(261))/7+parseInt(e(258))/8*(parseInt(e(255))/9)+-parseInt(e(251))/10*(-parseInt(e(262))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(259)];[qo(253)];[qo(267)];get[qo(268)](){return this[qo(259)]}constructor(t,e,i={}){var n=qo;super(t),this[n(253)]=new It.StickyPanelView(t),this[n(267)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(250)]}),this[n(259)]=new It.InlineEditableUIView(t,e)}[qo(265)](){var t=qo;super[t(265)](),this[t(253)][t(252)][t(264)](this[t(267)]),this[t(269)][t(264)](this[t(253)]),this[t(249)][t(264)](this[t(268)])}}const Go=Ko;function Jo(){const t=["fire","destroy","data","create","createRoot","model","4673WxorfM","init","initialData","editing","updateSourceElement","10639016eKuDLF","initPlugins","_ui","get","locale","ready","606828kpWgZn","8089520gWcmEc","sourceElement","5864526AljEHc","document","334pXusbG","276451gQItfj","270dfbUQD","config","view","1035036xAMHlJ","186iqeSwR"];return(Jo=function(){return t})()}function Ko(t,e){const i=Jo();return(Ko=function(t,e){return i[t-=191]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(990728===parseInt(e(209))/1*(parseInt(e(196))/2)+parseInt(e(194))/3+-parseInt(e(191))/4+parseInt(e(192))/5+-parseInt(e(202))/6*(-parseInt(e(197))/7)+-parseInt(e(214))/8+parseInt(e(201))/9*(-parseInt(e(198))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Qo extends((0,J.ElementApiMixin)(J.Editor)){[Go(216)];get ui(){return this[Go(216)]}constructor(t,e){const i=Go;super(e),this[i(193)]=t,this[i(208)][i(195)][i(207)]();const n=new Yo(this[i(218)],this[i(212)][i(200)],{shouldToolbarGroupWhenFull:!0});this[i(216)]=new Uo(this,n)}[Go(204)](){const t=Go;return this[t(213)](),this.ui[t(204)](),super[t(204)]()}static async[Go(206)](t,e){const i=Go,n=new this(t,e);return await n[i(215)](),await n.ui[i(210)](t),await n[i(205)][i(210)](n[i(199)][i(217)](i(211))||""),n[i(203)](i(219)),n}}const Xo=ea;function ta(){const t=["removeMarker","revisionHistory.showRevisionViewerCallback","_getRevisionViewerEditorConfig","getRevisions","addUser","isReadOnly","map","isReady","_enhanceShowRevisionViewerCallback","DocumentOutlineUI","indexOf","removeAttribute","uiLanguage","RevisionViewer","init","removeSelectionAttribute","2704880YqNIbx","restoreRevision","bind","lazyRoots","toJSON","selection","commands","isOpen","$graveyard","revisionHistory.closeRevisionViewerCallback","2082NXdamv","RestrictedEditingMode","pluginName","RevisionTracker","revisionHistory.viewerEditorElement","plugins","users","RevisionsRepository","DocumentOutline","includes","long","result","_restoreRevision","toolbar","update","isRevisionViewerOpen","setSelection","getUser","7eUDzLD","creator","loadRevisionData","set","display","getRoot","revisionHistory","PaginationLookup","locale","isEnabled","revision-history-missing-configuration","change","editor","rootName","name","Autosave","get","addRevisionData","parse","then","changesNavigation","disableReadOnlyMode","65cEntEA","hide","repository","getAttributeKeys","exitToEditing","end","saveRevision","getRevision","document","enqueueChange","insert","join","catch","data","enableReadOnlyMode","none","define","adapter","getRevisionDocumentData","_recalculatePageBreaks","translations","_update","getRevisionRootsAttributes","toLocaleDateString","fromCharCode","restrictedEditingException","100zpDTts","addRoot","fromVersion","markers","RevisionViewerIntegration","RevisionHistoryUI","push","13991xPnhAT","_viewerEditor","701370RECaGh","keys","createRangeIn","has","_closeRevisionViewer","toLocaleTimeString","revisionHistory.editorContainer","Dialog","revisionHistory.viewerContainer","revision-history-viewer-opened","numeric","isAnonymous","_cleanUp","setAttribute","isOfficialPlugin","block","revisionHistory.restoreRevisionCallback","_showRevisionViewer","view","979584lmnkKC","element","1220428kieQtO","style","refreshVisibility","Users","error","RevisionHistoryUtils","model","requires","Annotations","from","getMarkersGroup","_enhanceCloseRevisionViewerCallback","toVersion","closeRevisionViewerCallback","destroy","isPremiumPlugin","10FUdPWC","roots","create","showRevisionViewerCallback","detachRoot","37146yKGJDI","refreshPositioning","RevisionHistory","config","remove","revisionHistory.requireRevisionName","22NJIoNz","createdAt","Restored","isAttached","save"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=436]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(193622===parseInt(e(552))/1*(-parseInt(e(448))/2)+parseInt(e(479))/3*(-parseInt(e(545))/4)+-parseInt(e(519))/5*(parseInt(e(442))/6)+-parseInt(e(497))/7*(-parseInt(e(469))/8)+parseInt(e(554))/9+-parseInt(e(437))/10*(-parseInt(e(575))/11)+-parseInt(e(573))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(550),Xo(480)];class na extends J.Plugin{[Xo(490)];static get[Xo(481)](){return Xo(549)}static get[Xo(568)](){return!0}static get[Xo(436)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(459)](t=>String[e(543)](t))[e(530)]("")}super(t),this[e(490)]=e(524),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 J.Plugin{[Xo(553)];static get[Xo(481)](){return Xo(444)}static get[Xo(568)](){return!0}static get[Xo(436)](){return!0}static get[Xo(582)](){return[pt,Bt]}constructor(e){const i=Xo;if(super(e),!this[i(509)][i(445)][i(513)](i(503)))throw new t.CKEditorError(i(507),this);this[i(553)]=null,this[i(500)](i(494),!1),this[i(509)][i(445)][i(535)](i(454),t=>this[i(571)]({...t,translations:this[i(509)][i(505)][i(539)]})),this[i(509)][i(445)][i(535)](i(478),t=>this[i(558)](t)),this[i(509)][i(445)][i(535)](i(570),t=>this[i(491)](t)),this[i(509)][i(445)][i(535)](i(447),!1),this[i(461)](),this[i(586)]()}set[Xo(536)](t){const e=Xo;this[e(509)][e(484)][e(513)](e(482))[e(536)]=t}get[Xo(536)](){const t=Xo;return this[t(509)][t(484)][t(513)](t(482))[t(536)]}[Xo(514)](t){const e=Xo;return this[e(509)][e(484)][e(513)](e(482))[e(514)](t)}[Xo(526)](t){const e=Xo;return this[e(509)][e(484)][e(513)](e(486))[e(526)](t)}[Xo(456)](t){const e=Xo;return this[e(509)][e(484)][e(513)](e(486))[e(456)](t||{toJSON:!1})}[Xo(455)](){const e=Xo,i=this[e(509)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(484)][e(513)](e(482)),r=i[e(484)][e(513)](e(578))[e(485)];return n[e(492)]=[e(523),e(470),e(517)],delete n[e(472)],n[e(484)][e(551)](na,ue,Te,class extends J.Plugin{static get[e(582)](){return[ue,e(578)]}[e(467)](){const n=e,o=this[n(509)][n(484)][n(513)](n(578));for(const t of r)t[n(565)]||o[n(496)](t.id)||o[n(457)](t);const a=s[n(521)][n(456)]();let c=null;const u=this[n(509)][n(484)][n(513)](n(466));u[n(536)]=s[n(536)],u[n(471)](n(506)).to(s),this[n(509)][n(475)][n(513)](n(470))[n(471)](n(506)).to(i,n(458),t=>!t);for(const e of a){const i=null===e[n(498)];if(i&&e[n(587)]===e[n(547)])continue;const r=e[n(473)]();u[n(514)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(540)](r,o);else if(!o){const e=a[u(473)]();e.id=(0,t.uid)(),s[u(525)](e,a[u(587)])[u(516)](t=>{c=t})}}else e[u(540)](r,o)})}}},Fo),n}[Xo(461)](){const t=Xo,e=this[t(509)][t(445)][t(513)](t(503))[t(440)];this[t(509)][t(445)][t(500)](t(454),async()=>{const i=t;this[i(509)][i(533)](i(563));const n=this[i(509)][i(484)][i(513)](i(482));if(this[i(509)][i(484)][i(557)](i(512))){const t=this[i(509)][i(484)][i(513)](i(512));await t[i(452)]()}else await n[i(493)]();if(this[i(509)][i(484)][i(557)](i(504))&&this[i(509)][i(484)][i(513)](i(504))[i(538)](),this[i(509)][i(484)][i(557)](i(561))){const t=this[i(509)][i(484)][i(513)](i(561));t[i(476)]&&t[i(520)]()}const s=this[i(455)]();return e(s)[i(516)](t=>{const e=i;return this[e(553)]=t,this[e(509)][e(484)][e(557)](e(583))&&this[e(509)][e(484)][e(513)](e(583))[e(577)](),this[e(509)][e(484)][e(557)](e(487))&&(this[e(509)][e(484)][e(513)](e(462))[e(572)][e(574)][e(576)][e(501)]=e(534)),t})[i(531)](t=>(console[i(579)](t),this[i(509)][i(518)](i(563)),null))})}[Xo(586)](){const t=Xo,e=this[t(509)][t(445)][t(513)](t(503))[t(588)];this[t(509)][t(445)][t(500)](t(478),()=>(this[t(509)][t(484)][t(557)](t(504))&&this[t(509)][t(484)][t(513)](t(504))[t(538)](),this[t(509)][t(484)][t(557)](t(487))&&(this[t(509)][t(484)][t(513)](t(462))[t(572)][t(574)][t(576)][t(501)]=""),this[t(553)][t(484)][t(513)](t(466))[t(566)](),e(this[t(553)])[t(516)](()=>{const e=t;if(this[e(509)][e(518)](e(563)),this[e(553)]=null,this[e(509)][e(484)][e(557)](e(583))){const t=this[e(509)][e(484)][e(513)](e(583));t[e(577)](),t[e(443)]()}})))}[Xo(571)](t){const e=Xo,i=this[e(509)][e(445)][e(513)](e(560)),n=this[e(509)][e(445)][e(513)](e(562)),s=this[e(509)][e(445)][e(513)](e(483));return Qo[e(439)](s,t)[e(516)](t=>(n[e(576)][e(501)]=e(569),i[e(576)][e(501)]=e(534),this[e(494)]=!0,t))}[Xo(558)](t){const e=Xo,i=this[e(509)][e(445)][e(513)](e(560));return this[e(509)][e(445)][e(513)](e(562))[e(576)][e(501)]=e(534),i[e(576)][e(501)]="",this[e(494)]=!1,t[e(589)]()}async[Xo(491)](t){const e=Xo,i=this[e(509)],n=this[e(553)][e(484)][e(513)](e(466)),s=i[e(484)][e(513)](e(482)),r=i[e(484)][e(513)](e(580)),o=n[e(521)][e(526)](t);let a,c,u;try{await r[e(499)](o,this[e(536)]),a=r[e(537)](o),c=r[e(541)](o)}catch(t){return void console[e(579)](t)}i[e(581)][e(508)](t=>{const n=e;for(const e of Array[n(584)](i[n(581)][n(548)][n(585)](n(544))))t[n(453)](e)}),n[e(460)]=!1,i[e(581)][e(528)](t=>{const n=e;t[n(495)](null),t[n(468)](i[n(581)][n(527)][n(474)][n(522)]());const s=Object[n(555)](a);for(const e of i[n(581)][n(527)][n(438)])n(477)!=e[n(510)]&&e[n(451)]()&&!s[n(488)](e[n(510)])&&t[n(441)](e);for(const e of s){let s=i[n(581)][n(527)][n(502)](e);s&&s[n(451)]()||(s=t[n(546)](e));const r=c[e],o=Object[n(555)](r),u=a[e];for(const e of s[n(522)]())o[n(488)](e)||t[n(464)](e,s);for(const i of o)t[n(567)](i,c[e][i],s);t[n(446)](t[n(556)](s)),t[n(529)](i[n(532)][n(515)](u,s),s,0)}});const l=at(i[e(505)],e(450));return u=o[e(511)]?-1==o[e(511)][e(463)](l)?l+": "+o[e(511)]:o[e(511)]:l+": "+o[e(449)][e(542)](i[e(505)][e(465)],{month:e(489),day:e(564)})+", "+o[e(449)][e(559)](i[e(505)][e(465)],{hour:e(564),minute:e(564)}),await s[e(525)]({name:u}),n[e(460)]=!0,i[e(445)][e(513)](e(503))[e(588)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=240]})(t,e)}function oa(){var t=["3549144wYlOBA","5VJHAte","2822472LdPmZj","3817065PiCQAP","7MnXRlM","24639048NbXBwg","2804130JszbGu","390930RfYqDe","12906800UejkgK"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(975802===parseInt(e(247))/1*(parseInt(e(244))/2)+parseInt(e(243))/3+-parseInt(e(248))/4+-parseInt(e(240))/5+-parseInt(e(246))/6*(parseInt(e(241))/7)+-parseInt(e(245))/8+parseInt(e(242))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();