@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250131.0 → 0.0.0-nightly-20250201.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 (177) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  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/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +10 -10
  148. package/src/changeitem.js +2 -2
  149. package/src/editor/revisionviewereditor.js +2 -2
  150. package/src/editor/revisionviewereditorui.js +1 -1
  151. package/src/editor/revisionviewereditoruiview.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/revision.js +2 -2
  154. package/src/revisiondiff.js +1 -1
  155. package/src/revisionhistory.js +1 -1
  156. package/src/revisionsrepository.js +1 -1
  157. package/src/revisiontracker.js +1 -1
  158. package/src/revisionviewer.js +1 -1
  159. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  160. package/src/ui/revision/revisionauthorview.js +1 -1
  161. package/src/ui/revision/revisionnameview.js +1 -1
  162. package/src/ui/revision/revisionview.js +2 -2
  163. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  164. package/src/ui/revision/subrevisionview.js +1 -1
  165. package/src/ui/revision/utils.js +1 -1
  166. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  167. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  168. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  169. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  172. package/src/ui/revisionssidebar/utils.js +1 -1
  173. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  174. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  175. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  176. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  177. 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={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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:0;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},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},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,r,s){"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!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},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 s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[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=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(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,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},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)}},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}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},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,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.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,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Lr,RevisionsRepository:()=>Qi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var A=b?b.toStringTag:void 0;const N=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":A&&A in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const V=function(t){if(!R(t))return!1;var e=N(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const M=k["__core-js_shared__"];var D,E=(D=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";const C=function(t){return!!E&&E in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(V(t)?Z:P).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const Q=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var X=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:X.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=J,it.prototype.delete=G,it.prototype.get=Q,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==N(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const At=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const Nt=Array.isArray;const Rt=function(){return!1};var Vt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mt=Vt&&"object"==typeof module&&module&&!module.nodeType&&module,Dt=Mt&&Mt.exports===Vt?k.Buffer:void 0;const Et=(Dt?Dt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[N(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=Nt(t),n=!i&&At(t),r=!i&&!n&&Et(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Qt=Kt(Object.keys,Object);var Xt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Qt(t);var e=[];for(var i in Object(t))Xt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!V(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return Nt(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ae=q(k,"DataView");const Ne=q(k,"Promise");const Re=q(k,"Set");const Ve=q(k,"WeakMap");var Me="[object Map]",De="[object Promise]",Ee="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Pe=F(B),Le=F(Ne),ze=F(Re),We=F(Ve),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Me||Ne&&Ue(Ne.resolve())!=De||Re&&Ue(new Re)!=Ee||Ve&&Ue(new Ve)!=Ce)&&(Ue=function(t){var e=N(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Pe:return Me;case Le:return De;case ze:return Ee;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Qe=Ke?Ke.valueOf:void 0;const Xe=function(t){return Qe?Object(Qe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Xe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ze(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=Nt(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ze(e),f=d==di||"[object GeneratorFunction]"==d;if(Et(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==N(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(Nt(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ai=b?b.prototype:void 0,Ni=Ai?Ai.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(Nt(e))return Ti(e,t)+"";if(yi(e))return Ni?Ni.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Vi=function(t){return null==t?"":Ri(t)};const Mi=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Vi(t))};const Di=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Ei=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Mi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Di(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Ei(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Mi(e,t)).length;null!=t&&i<n;)t=t[Di(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Mi(e,t),null==(t=Li(t,e))||delete t[Di(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Ui(t,e){const i=Hi();return(Ui=function(t,e){return i[t-=189]})(t,e)}const Zi=Ui;function Hi(){const t=["21036dZZMNj","424778dedwhJ","creatorId","1781672hAnoPd","map","authorsIds","toVersion","_update","set","diffData","authors","attributes","2394NuQrdT","100yQglgH","fromVersion","creator","setAttribute","toJSON","1900675zbStjJ","name","fire","1285914AHlZal","1317UVRYVT","setName","1821510ekRIZq","removeAttribute","createdAt","11080iEcGxi"];return(Hi=function(){return t})()}!function(t){const e=Ui,i=t();for(;;)try{if(809927===-parseInt(e(189))/1+parseInt(e(197))/2+-parseInt(e(190))/3*(-parseInt(e(195))/4)+-parseInt(e(214))/5+parseInt(e(196))/6*(-parseInt(e(208))/7)+parseInt(e(199))/8+parseInt(e(192))/9*(parseInt(e(209))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Ui;super(),this.id=e.id||(0,t.uid)(),this[i(211)]=e[i(211)]||null,this[i(206)]=e[i(206)]||[],this[i(205)]=e[i(205)]||null,this[i(202)]=e[i(202)]||0,this[i(210)]=e[i(210)]||0,this[i(204)](i(215),e[i(215)]||""),this[i(204)](i(194),e[i(194)]||new Date),this[i(204)](i(207),e[i(207)]||{})}[Zi(191)](t){this[Zi(203)]({name:t})}[Zi(212)](t,e){const i=Zi,n=vi(this[i(207)]);Ci(n,t,e),this[i(203)]({attributes:n})}[Zi(193)](t){const e=Zi,i=vi(this[e(207)]);Wi(i,t),this[e(203)]({attributes:i})}[Zi(203)](t,e=!1){const i=Zi;let n=!1;const r={id:this.id},s=[i(215),i(194),i(205),i(206),i(207),i(202),i(210),i(198)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(206)]&&(r[i(201)]=r[i(206)][i(200)]((t=>t.id)),delete r[i(206)]),this[i(216)](i(203),r,e))}[Zi(213)](){const t=Zi;return{id:this.id,name:this[t(215)],creatorId:this[t(211)]?this[t(211)].id:null,authorsIds:this[t(206)][t(200)]((t=>t.id)),diffData:this[t(205)],createdAt:this[t(194)],attributes:this[t(207)],fromVersion:this[t(210)],toVersion:this[t(202)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Gi;function Gi(t,e){const i=Ki();return(Gi=function(t,e){return i[t-=182]})(t,e)}function Ki(){const t=["href","add","getRevision","get","getRevisionsInDiff","4628582pNDoUD","diffData","getRevisions","name","attributes","newRevisionId","reverse","plugins","createdAt","pluginName","5965FUnWXF","length","push","getLaterVisibleRevision","requires","creatorId","map","getRevisionsIterator","earlier","isNaN","Users","RevisionsRepository","editor","addRevision","isOfficialPlugin","677076MZPtXU","afterInit","getUser","fromVersion","authorsIds","fromCharCode","111726YAOmFj","2766PDOUpJ","from","2281860HXSiTS","data","getIndex","oldRevisionId","129898RYdKOb","_revisions","3604976mlqECl","toJSON","join","toVersion","isPremiumPlugin","later","getEarlierVisibleRevision","createRevision"];return(Ki=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(473687===parseInt(e(191))/1+parseInt(e(204))/2+-parseInt(e(197))/3+-parseInt(e(200))/4+parseInt(e(229))/5*(parseInt(e(198))/6)+-parseInt(e(219))/7+parseInt(e(206))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Qi extends qi.Plugin{static get[Ji(233)](){return[Bi.Users]}static get[Ji(228)](){return Ji(187)}static get[Ji(190)](){return!0}static get[Ji(210)](){return!0}get[Ji(230)](){const t=Ji;return this[t(205)][t(230)]}constructor(e){const i=Ji;super(e),this[i(205)]=new t.Collection}[Ji(192)](){!async function(e){const i=k([97,87,82,49,55,121,99,54,72,48,78,106,50,118,108,113,52,107,119,116,77,85,68,101,104,115,65,75,84,69,83,100,86,120,56,88,98,80,109,81,89,66,73,71,79,53,111,112,57,70,74,67,76,51,117,114,102,110,90,122,103,105]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[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=s[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=Gi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(185)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[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([97]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}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 s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Gi;return t[e(182)]((t=>String[e(196)](t)))[e(208)]("")}!function(t){const i=l();s[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=y(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])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(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])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[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(),s[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=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-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 s(){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])](r/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)}))}}s[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])}),s[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 s[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(){s[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])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){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 r=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))),s=(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,r,s)||(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]))&&y(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])])?r/1e3:1738281600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Gi,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(214)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=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([115,111,109,101])]((t=>r[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(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(213)](t){const e=Ji,i=this[e(188)][e(226)][e(217)](e(186));return new $i({id:t.id,name:t[e(222)],creator:t[e(234)]?i[e(193)](t[e(234)]):null,diffData:t[e(220)]||t[e(201)],authors:t[e(195)][e(182)]((t=>i[e(193)](t))),createdAt:new Date(t[e(227)]),attributes:t[e(223)],fromVersion:t[e(194)],toVersion:t[e(209)]})}[Ji(189)](t,e=0){const i=Ji;this[i(205)][i(215)](t,e)}[Ji(216)](t){const e=Ji;return this[e(205)][e(217)](t)}[Ji(221)](t={toJSON:!1}){const e=Ji,i=Array[e(199)](this[e(205)]);return i[e(225)](),t[e(207)]?i[e(182)]((t=>t[e(207)]())):i}[Ji(202)](t){const e=Ji;return this[e(205)][e(202)](t)}[Ji(212)](t){const e=Ji,[,i]=this[e(183)](t,{direction:e(184)});return i}[Ji(232)](t){const e=Ji,[,i]=this[e(183)](t,{direction:e(211)});return i}[Ji(218)](t){const e=Ji,i=[];for(const n of this[e(183)](t[e(224)]))if(i[e(231)](n),n.id===t[e(203)])break;return i}*[Ji(183)](t,{direction:e=Ji(184),filter:i=()=>!0}={}){const n=Ji,r=n(184)===e?1:-1;let s=this[n(205)][n(217)](t),o=this[n(202)](s);for(yield s;s;){if(o+=r,s=this[n(216)](o),!s)return;i(s)&&(yield s)}}}function Xi(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""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=Nt(t),a=Nt(e),c=o?vn:Ze(t),u=a?vn:Ze(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Et(t)){if(!Et(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Sn();return(In=function(t,e){return i[t-=140]})(t,e)}function Sn(){const t=["split","_addPendingAction","rootName","revision-start","element","toView","markers","_makeModelFromViewString","editor-initial-data-replaced-with-revision-data","isReady","getIndex","merge","nodeAfter","_fixRange","attributesBefore","newRange","_operations","children","editing","clone","872164OxTSNt","_fixOperation","_source","trim","_baseRootsAttributes","add","resolve","text","_getViewJson","_loadedStateData","start","revisionHistoryLicenseKeyEvaluationLimit","_removeRevisionMarkers","attachChange","useFillerType","_loadState","baseVersion","revisionHistoryLicenseKeyDomainLimit","_lastTo","clear","max","revisionHistoryLicenseKeyValid","createRangeIn","$graveyard","authors","_reset","splitPosition","map","getRootNames","define","plugins","featureNotAllowed","Users","sort","_insertChild","root","_update","vid_end","reinsert","getWalker","_handleMarkerOperation","isAttached","finally","conversion","delete","_diffRoots","history","_touchedMarkers","for","Empty document","initial","revisionHistoryLicenseKeyUsageLimit","insert","_generateTape","oldRange","_handleOperation","paragraph","get","howMany","Initial revision","_appendChild","_revisionDataBuilder","_initialRevisionId","fromEntries","trialLimit","repository","_makeIdsRoot","insertionPosition","domainLimit","_calculateMetaData","tableCell","_getFromVersion","usageLimit","some","_touched","_makeRevision","_lastFrom","_getState","_isPendingUpdate","keys","slice","item","_prepareViewToSave","PENDING_ACTION_REVISION_HISTORY","_removeMetaData","fromVersion","expired","hasContent","name","parse","isAdd","revisionHistoryLicenseKeyExpired","toVersion","offset","creator","_startingVersion","_markers","move","_transformMarkers","_getBaseVids","getTransformedByOperation","_diffRootsAttributes","authorsIds","position","creatorId","_idsRoots","RealTimeCollaborationClient","_markChanges","addRoot","_createFromRanges","set","revisionHistoryLicenseKeyTrialLimit","238944GHVgsc","destroy","_bufferUpdate","isOfficialPlugin","parent","newValue","adapter","RevisionTracker","_getVidAttributeName","_handleRootAttributeOperation","end","getRevisionRootsAttributes","attributesAfter","addRevision","upcast","rootsAttributes","setSource","RevisionHistory","currentRevision","stringify","previousPosition","getRange","path","insertions","isEnabled","from","_saveMetaData","_fixPosition","_revisionId","saveRevision","PendingActions","values","_touchedRoots","_handleRootOperation","_startingRevisionId","range","getRevision","graveyardPosition","_savedMetaData","8064801xGWFEH","_findInsertionIndex","revisionHistoryLicenseKeyNotAllowed","then","affectsData","168395yWPfyp","getOperation","revisionHistoryLicenseKeyInvalid","locale","view","source","_isInit","getMovedRangeStart","_cloneOperation","processor","_isAttached","dataToMarker","includes","editor","createPositionAt","_handleSplitOperation","_baseIdsRoots","revision-end","init","_licenseKeyCheckInterval","_handleMergeOperation","invalid","vid","nodes","licenseKey","createdAt","_setConversion","version","length","deletions","push","removeRootAttribute","type","getRevisionDocumentData","keepParagraph","NEGATIVE_INFINITY","addRootAttribute","28ASpney","toModel","setRevisionData","elementStart","_applyOperations","_handleInsertOperation","_removePendingAction","markerToData","roots","childCount","getAttribute","_loadRevisionData","size","remove","config","document","shift","_getPreviousFrom","_execute","466728ChAoyJ","bind","createPositionBefore","offsetSize","updateRevisions","buildRevisionData","pluginName","_clone","documentFragment","_replaceEditorDataWithRevisionData","loadState","_processRootBeforeSave","_showLicenseError","createRange","insertion","key","revision:","changeRootAttribute","createPositionAfter","stickiness","evaluationLimit","string","toData","_createInitialRevision","_createCurrentRevision","153696BslzVA","ready","getTime","3QkCpwM","getRoot","revisionHistory.resumeUnsavedRevision","vid_start","_handleMoveOperation","_setAttribute","afterInit","elementEnd","isEqual","marked","_baseRoots","getNodeByPath","_bufferedUpdates","getLatestVersion","reverse","getAncestors","requires","model","getCurrentRevisionId","getData","reInit","_copyMarkers","collaboration.channelId","createRevision","isPremiumPlugin","_continueCurrentRevision","initialData","sourcePosition","attributes","filter","getAttributes","marker","data","34470LYwwvR","addRevisionData","has","dataDowncast","getChildren","revision","getOperations","RevisionsRepository","forEach","userId","detachRoot","$text","data-revision-","createPositionFromPath","update","getChild","startsWith","find","_pendingAction","deletion","sendBufferedUpdates","_authorId","diffData","getRevisions","getUser","default","targetPosition"];return(Sn=function(){return t})()}!function(t){const e=In,i=t();for(;;)try{if(138095===-parseInt(e(313))/1+-parseInt(e(369))/2+parseInt(e(397))/3*(-parseInt(e(157))/4)+parseInt(e(430))/5+-parseInt(e(394))/6+-parseInt(e(350))/7*(parseInt(e(269))/8)+parseInt(e(308))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Sn);const On={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class xn extends qi.Plugin{static get[_n(375)](){return _n(276)}static get[_n(272)](){return!0}static get[_n(421)](){return!0}static get[_n(413)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(275)]=null,this[i(287)]=null,this[i(218)]=new An(this[i(326)]),this[i(219)]=this[i(326)][i(364)][i(214)](i(419))||i(207),this[i(409)]=new Map,this[i(166)]=null;const n=(0,t.uid)();this[i(159)]={history:this[i(326)][i(414)][i(365)][i(203)],getLatestVersion:()=>Promise[i(163)](this[i(326)][i(414)][i(365)][i(340)]),getCurrentRevisionId:()=>n},this[i(267)](i(146),!1),this[i(267)](i(293),!0),this[i(267)](i(235),!1),this[i(326)][i(364)][i(186)](i(399),!0),this[i(326)][i(200)][i(205)](i(283))[i(324)]({view:i(435)})}[_n(331)](){const t=_n;this[t(222)]=this[t(326)][t(187)][t(214)](t(437)),this[t(339)](),this[t(326)][t(429)].on(t(395),(()=>{const e=t,i=this[e(222)][e(305)](0),n=i&&null===i[e(251)]?i:null;if(this[e(422)]=!!n&&this[e(326)][e(364)][e(214)](e(399)),this[e(326)][e(187)][e(432)](e(263))){const t=this[e(159)][e(415)](),r=this[e(222)][e(305)](t);if(r)this[e(252)]=r[e(242)],this[e(422)]=!1;else{const t=this[e(159)][e(203)][e(153)][e(447)]((t=>!t[e(319)])),r=t?t[e(173)]:this[e(159)][e(203)][e(340)];i?(i[e(249)]<r&&i[e(193)]({toVersion:r}),this[e(422)]?(this[e(159)][e(415)]=()=>n.id,this[e(252)]=n[e(242)]):(this[e(252)]=i[e(249)],this[e(422)]=!1)):(this[e(252)]=r,this[e(422)]=!1)}}else n&&(this[e(326)][e(414)][e(365)][e(203)][e(340)]=Math[e(177)](n[e(249)],this[e(326)][e(414)][e(365)][e(203)][e(340)]),n[e(242)]===n[e(249)]?(0!==n[e(242)]&&(this[e(159)][e(415)]=()=>n.id),this[e(422)]=!1):this[e(422)]&&(this[e(159)][e(415)]=()=>n.id,this[e(252)]=n[e(242)])),this[e(422)]||(this[e(252)]=this[e(326)][e(414)][e(365)][e(340)]);this[e(218)][e(331)](this[e(159)][e(203)]),this[e(392)](this[e(252)]),this[e(393)](this[e(252)]),this[e(275)]&&this[e(450)]()})),this[t(370)](t(146)).to(this,t(235),(t=>!t)),this[t(337)]=this[t(326)][t(364)][t(214)](t(337));const e=this[t(326)];this[t(332)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(178)==s||i(315)==s||i(248)==s||i(174)==s||i(310)==s||i(168)==s||i(268)==s||i(208)==s){delete e[r],n=s,clearInterval(this[i(332)]),this[i(332)]=void 0;break}}i(315)==n&&e[i(381)](i(334)),i(248)==n&&e[i(381)](i(243)),i(174)==n&&e[i(381)](i(225)),i(310)==n&&e[i(381)](i(188),i(286)),i(168)==n&&e[i(381)](i(389)),i(268)==n&&e[i(381)](i(221)),i(208)==n&&e[i(381)](i(229))}),1e3)}async[_n(403)](){const t=_n;if(this[t(222)][t(341)]>0){const e=this[t(222)][t(305)](0),i=await this[t(346)](e),n=await this[t(280)](e);this[t(378)](i,n)}}[_n(270)](){const t=_n;super[t(270)](),this[t(332)]&&clearInterval(this[t(332)])}[_n(285)](t){this[_n(159)]=t}async[_n(444)](){const t=_n,e=await this[t(159)][t(410)]();if(e>this[t(287)][t(249)]){await this[t(172)]();const i=this[t(374)]({revision:this[t(287)],to:e});i[t(181)]=i[t(259)][t(184)]((e=>this[t(326)][t(187)][t(214)](t(189))[t(454)](e))),this[t(287)][t(193)](i)}}async[_n(172)](){const t=_n;this[t(422)]&&!this[t(166)]&&(await this[t(361)](this[t(287)]),this[t(218)][t(379)](this[t(287)]),this[t(166)]={fromVersion:this[t(287)][t(242)],authors:this[t(287)][t(181)][t(237)]()})}async[_n(298)](e={},i=null){const n=_n,r=[];await this[n(172)](),this[n(422)]=!1,i>this[n(287)][n(249)]&&(i=null),null===i&&(i=await this[n(159)][n(410)]());const s=this[n(228)](i),o=this[n(374)]({from:s,to:i});if(this[n(287)][n(249)]<i){const t=this[n(374)]({revision:this[n(287)],from:i,to:i});t[n(181)]=[],t[n(259)]=[],t.id=this[n(287)].id,this[n(287)][n(193)](t,!0),delete t[n(181)],r[n(343)](t)}e[n(261)]=this[n(326)][n(187)][n(214)](n(189)).me.id,e[n(245)]=e[n(245)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(431)](e);r[n(343)](e);const c=this[n(222)][n(147)](a);if(0!==c){const t=this[n(222)][n(305)](c-1);if(t[n(242)]!==i){const s=this[n(218)][n(416)](i,t[n(249)]),o={id:t.id,diffData:s[n(452)],authorsIds:s[n(259)],authors:s[n(259)][n(184)]((t=>this[n(326)][n(187)][n(214)](n(189))[n(454)](t))),fromVersion:i};t===this[n(287)]&&(o[n(338)]=new Date(e[n(338)][n(396)]()+10)),t[n(193)](o,!0),delete o[n(181)],r[n(343)](o)}}if(this[n(275)]){for(const t of r)this[n(271)](t.id,t,!0);this[n(450)]()}return a}[_n(431)](t){const e=_n,i=this[e(222)][e(420)](t);return this[e(275)]&&i.on(e(193),((t,i,n)=>{const r=e;n||(this[r(271)](i.id,i,!0),this[r(450)]())})),this[e(222)][e(282)](i,this[e(309)](i)),i}async[_n(346)](t){const e=_n;await this[e(361)](t);const i={};for(const n in t[e(452)]){if(t[e(452)][n][e(170)]&&!t[e(452)][n][e(170)][e(198)])continue;const r=this[e(169)](JSON[e(246)](t[e(452)][n][e(292)])),s=this[e(326)][e(155)][e(317)][e(365)],o=new Yi.ViewDocumentFragment(s,r[e(184)]((t=>Tn(t,this[e(326)]))));this[e(326)][e(429)][e(322)][e(171)](e(406)),i[n]=this[e(326)][e(429)][e(322)][e(391)](o),this[e(326)][e(429)][e(322)][e(171)](e(455))}return i}async[_n(280)](t){const e=_n;await this[e(361)](t);const i={};for(const n in t[e(452)])t[e(452)][n][e(170)]&&!t[e(452)][n][e(170)][e(198)]||(i[n]=t[e(452)][n][e(281)]||{});return i}[_n(450)](){const t=_n;if(0===this[t(409)][t(362)])return;if(this[t(235)])return;let e=Array[t(294)](this[t(409)][t(300)]());this[t(409)][t(176)]();for(let i=0;i<e[t(341)];i++){const n=e[i];let r=!1;for(const e of Object[t(236)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(426)]((t=>null!==t)),!e[t(341)])return;for(let i=0;i<e[t(341)];i++){const n=e[i];void 0!==n[t(242)]&&void 0===n[t(249)]&&(n[t(249)]=this[t(222)][t(305)](n.id)[t(249)]),void 0!==n[t(249)]&&void 0===n[t(242)]&&(n[t(242)]=this[t(222)][t(305)](n.id)[t(242)])}const i=this[t(326)][t(364)][t(214)](t(419));this[t(235)]=!0,this[t(458)](),this[t(275)][t(373)](e,i)[t(199)]((()=>{this[t(235)]=!1}))[t(311)]((e=>{const i=t;if(e)for(const t of e)this[i(352)]({id:t.id,createdAt:t[i(338)]});this[i(356)](),this[i(450)]()}))}[_n(378)](e,i){const n=_n;let r=this[n(326)][n(364)][n(214)](n(423)),s=this[n(326)][n(364)][n(214)](n(284));if(void 0===r){r={};for(const t of this[n(326)][n(414)][n(365)][n(185)]())r[t]=""}if(n(390)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(326)][n(414)][n(365)][n(185)]())s[t]={}}let o=!1;const a=Object[n(236)](r),c=Object[n(236)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(160)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(236)](s[t])[n(341)]>0){o=!0;break}}o||(o=c[n(230)]((t=>!this[n(326)][n(414)][n(365)][n(398)](t)))),o&&(0,t.logWarning)(n(145),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(326)][n(364)][n(267)](n(423),e),this[n(326)][n(364)][n(267)](n(284),i)}[_n(458)](){const t=_n;if(!this[t(448)]){const e=this[t(326)][t(187)][t(214)](t(299));this[t(448)]=e[t(162)](Xi(this[t(326)][t(316)],t(240)))}}[_n(356)](){const t=_n;this[t(448)]&&(this[t(326)][t(187)][t(214)](t(299))[t(363)](this[t(448)]),this[t(448)]=null)}[_n(309)](t){const e=_n,i=this[e(222)][e(453)]();i[e(411)]();let n=0;for(;n<i[e(341)];){const r=i[n];if(r===this[e(287)]){n++;continue}if(r.id===this[e(219)])break;const s=t[e(249)]-r[e(249)]||t[e(242)]-r[e(242)];if(s>0)break;if(s<0)n++;else{if(!t[e(251)]&&r[e(251)])break;if(r[e(251)]||!t[e(251)]){if(t[e(338)]>r[e(338)])break;n++}else n++}}return n}[_n(352)](t){const e=_n,i=this[e(222)][e(305)](t.id);if(t[e(338)]&&(t[e(338)]=new Date(t[e(338)])),t[e(259)]){const i=this[e(326)][e(187)][e(214)](e(189));t[e(181)]=t[e(259)][e(184)]((t=>i[e(454)](t)))}i[e(193)](t,!0)}[_n(374)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(242)],i=null!==i?i:t[n(249)];const r=this[n(218)][n(416)](e,i),s={diffData:r[n(452)],authorsIds:r[n(259)],fromVersion:e,toVersion:i};if(!t||i!==t[n(249)]){const t=i-1,e=this[n(159)][n(203)][n(314)](t);s[n(338)]=e&&e[n(338)]||new Date}if(this[n(166)]&&e===this[n(166)][n(242)])for(const t of this[n(166)][n(181)])s[n(259)][n(325)](t.id)||s[n(259)][n(343)](t.id);return s}[_n(361)](t){const e=_n;if(!t||t[e(452)])return Promise[e(163)]();{const i=this[e(326)][e(364)][e(214)](e(419));return this[e(275)][e(305)]({channelId:i,revisionId:t.id})[e(311)]((i=>{const n=e;t[n(452)]=i[n(452)]}))}}[_n(271)](t,e,i){const n=_n;if(this[n(409)][n(432)](t)){const r=this[n(409)][n(214)](t);e=i?{...r,...e}:{...e,...r}}this[n(409)][n(267)](t,e)}[_n(228)](t){const e=_n,i=this[e(222)][e(453)]();i[e(411)](),i[e(366)]();const n=i[e(447)]((i=>i[e(249)]<=t))[e(249)];return n<this[e(252)]?this[e(252)]:n}[_n(392)](t){const e=_n,i=this[e(222)][e(305)](this[e(222)][e(341)]-1);if(i)this[e(219)]=i.id;else{const i=!this[e(326)][e(414)][e(365)][e(358)][e(447)]((t=>this[e(326)][e(414)][e(244)](t))),n=this[e(326)][e(187)][e(214)](e(189)).me.id,r=Xi(this[e(326)][e(316)],e(i?206:216));this[e(232)]({from:t,to:t,id:this[e(219)],name:r,creatorId:n})}}[_n(393)](t){const e=_n,i=this[e(159)][e(415)]();this[e(287)]=this[e(222)][e(305)](i),this[e(287)]||(this[e(287)]=this[e(232)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(232)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(374)]({from:e,to:i});o[s(245)]=t,o[s(261)]=n,o.id=r;const a=this[s(431)](o);return this[s(275)]&&this[s(271)](o.id,o,!0),a}[_n(339)](){const t=_n;this[t(326)][t(200)][t(205)](t(433))[t(357)]({model:t(435)})}[_n(169)](t){const e=_n;return(t=t[e(426)]((t=>!t[e(245)]||e(140)!==t[e(245)]&&e(330)!==t[e(245)])))[e(438)]((t=>{const i=e;i(390)!=typeof t&&(t[i(154)]=this[i(169)](t[i(154)]),t[i(425)]=t[i(425)][i(426)]((t=>!t[0][i(446)](i(442)))))})),t}}function Tn(t,e){const i=_n,n=e[i(155)][i(317)][i(365)];if(i(390)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(154)][i(184)]((t=>Tn(t,e)));return new(On[t[i(345)]]||Yi.ViewElement)(n,t[i(245)],t[i(425)],r)}}class An{constructor(t){const e=_n;this[e(326)]=t,this[e(307)]=new Map,this[e(233)]=-1,this[e(175)]=-1,this[e(253)]=new Map,this[e(202)]=new Map,this[e(258)]=new Map,this[e(407)]=new Map,this[e(161)]=new Map,this[e(262)]=new Map,this[e(329)]=new Map,this[e(231)]=new Map,this[e(204)]=new Map,this[e(301)]=new Map,this[e(297)]=1}[_n(331)](t){const e=_n;this[e(318)]=t;const i=new Map,n=new Map,r=this[e(326)][e(414)][e(365)][e(358)][e(184)]((t=>t[e(459)]));for(const t of r){const r=this[e(326)][e(414)][e(365)][e(398)](t),s=Nn(r);i[e(267)](t,s),n[e(267)](t,Object[e(220)](r[e(427)]()))}const s=Array[e(294)](this[e(326)][e(414)][e(143)])[e(184)]((t=>[t[e(245)],t[e(290)]()])),o=this[e(318)][e(340)];this[e(295)](o,i,s,n),this[e(303)]=this[e(297)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(267)](t,i),c[e(267)](t,{})}this[e(295)](Number[e(348)],a,[],c)}[_n(416)](t,e){const i=_n;if(this[i(233)]===t&&this[i(175)]<=e)this[i(307)][i(362)]>1&&this[i(241)](this[i(175)]),this[i(354)](this[i(175)],e,!0);else{if(!this[i(307)][i(432)](t)){const e=this[i(367)](t);this[i(226)](e,t,!1)}this[i(226)](t,e,!0)}return this[i(233)]=t,this[i(175)]=e,this[i(234)]()}[_n(379)](t){const e=_n;this[e(182)](),this[e(233)]=t[e(242)],this[e(175)]=t[e(249)];for(const i in t[e(452)]){const n=t[e(452)][i][e(170)],r=vi(t[e(452)][i][e(151)])||{},s=this[e(144)](t[e(452)][i][e(342)]);s[e(459)]=i,s[e(323)]=!n||!n[e(198)],s[e(198)]=()=>s[e(323)],this[e(407)][e(267)](i,s),this[e(161)][e(267)](i,r),n&&this[e(301)][e(267)](i,n);const o=this[e(223)](s);this[e(329)][e(267)](i,o);for(const[t,i]of s[e(143)]){if(!t[e(446)](e(385)))continue;const n=t[e(457)](":")[2];for(const t of i[e(196)]({singleCharacters:!0})){const i=this[e(277)](t),r=e(404)==t[e(345)]?t[e(289)][e(291)][e(237)](0,-1):t[e(289)][e(291)],s=o[e(408)](r)[e(360)](i);this[e(231)][e(267)](s,{userId:n})}}}this[e(303)]=this[e(297)];const i=[...Array(this[e(297)])[e(236)]()][e(237)](1)[e(426)]((t=>!this[e(231)][e(432)](t)));let n=0;const r=new Map;for(const s in t[e(452)]){const o=t[e(452)][s][e(170)],a=vi(t[e(452)][s][e(281)])||{},c=this[e(144)](t[e(452)][s][e(292)]);c[e(459)]=s,c[e(323)]=!o||o[e(198)],c[e(198)]=()=>c[e(323)],this[e(202)][e(267)](s,c),this[e(258)][e(267)](s,a);const u=this[e(223)](c,Number[e(348)]);this[e(262)][e(267)](s,u),r[e(267)](s,c[e(198)]()?a:{});for(const[t,i]of c[e(143)]){if(!t[e(446)](e(385)))continue;const n=t[e(457)](":")[2];for(const t of i[e(196)]({singleCharacters:!0})){const i=this[e(277)](t),r=this[e(297)]++,s=e(404)==t[e(345)]?t[e(289)][e(291)][e(237)](0,-1):t[e(289)][e(291)];u[e(408)](s)[e(402)](i,r),this[e(231)][e(267)](r,{userId:n})}}for(const t of this[e(326)][e(414)][e(179)](c)[e(196)]({singleCharacters:!0})){const r=this[e(277)](t),s=e(404)==t[e(345)]?t[e(289)][e(291)][e(237)](0,-1):t[e(289)][e(291)],o=u[e(408)](s);o[e(360)](r)>0||o[e(402)](r,i[n++])}for(const[t,i]of c[e(143)])t[e(446)](e(385))||this[e(253)][e(267)](t,i)}const s=Rn(e(180));this[e(407)][e(267)](e(180),s),this[e(329)][e(267)](e(180),this[e(223)](s,1));const o=Rn(e(180));this[e(202)][e(267)](e(180),o),this[e(262)][e(267)](e(180),this[e(223)](o,1));const a=Array[e(294)](this[e(202)])[e(184)]((([t,e])=>[t,Nn(e)]));this[e(295)](this[e(175)],a,this[e(253)],r)}[_n(144)](t){const e=_n,i=JSON[e(246)](t),n=this[e(326)][e(155)][e(317)][e(365)],r=new Yi.ViewDocumentFragment(n,i[e(184)]((t=>Tn(t,this[e(326)]))));return this[e(326)][e(429)][e(351)](r)}[_n(295)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(267)](t,{start:e[r(167)][r(156)](),end:e[r(279)][r(156)](),rootName:e[r(192)][r(459)]});this[r(307)][r(267)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(241)](t){const e=_n;this[e(307)][e(201)](t)}[_n(417)](){const t=_n;this[t(182)](),this[t(233)]=-1,this[t(175)]=-1,this[t(307)][t(176)](),this[t(331)](this[t(318)])}[_n(182)](){const t=_n;this[t(231)][t(176)](),this[t(204)][t(176)](),this[t(301)][t(176)](),this[t(202)][t(176)](),this[t(258)][t(176)](),this[t(407)][t(176)](),this[t(161)][t(176)](),this[t(262)][t(176)](),this[t(329)][t(176)](),this[t(253)][t(176)](),this[t(297)]=1,this[t(303)]=this[t(297)]}[_n(223)](t,e=null){const i=_n;let n=null;t.is(i(377))||(n=new Yi.Element(t[i(245)],{vid_start:null===e?this[i(297)]++:e++}));const r=[];for(const n of t[i(434)]())if(n.is(i(141))){r[i(343)](this[i(223)](n,e));const t=r[r[i(341)]-1];null!==e&&(e=t.is(i(141),i(441))?t[i(360)](i(335))+1:t[i(360)](i(194))+1)}else for(let t=0;t<n[i(372)];t++)r[i(343)](new Yi.Element(i(441),{vid:null===e?this[i(297)]++:e++}));if(t.is(i(377))){const e=Rn(t[i(459)]);return e[i(191)](0,r),e}return n[i(402)](i(194),null===e?this[i(297)]++:e++),n[i(191)](0,r),n}[_n(226)](t,e,i){const n=_n;this[n(182)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(307)][n(214)](t);this[n(407)]=new Map(r),this[n(161)]=new Map(vi(o));for(const[t,e]of this[n(407)])if(n(180)!==t&&(this[n(202)][n(267)](t,Nn(e)),this[n(258)]=new Map(vi(o)),i)){const i=this[n(297)];this[n(262)][n(267)](t,this[n(223)](e)),this[n(329)][n(267)](t,this[n(223)](e,i))}this[n(303)]=this[n(297)],this[n(202)][n(267)](n(180),Nn(this[n(407)][n(214)](n(180)))),i&&this[n(262)][n(267)](n(180),this[n(223)](this[n(407)][n(214)](n(180))));for(const[t,e]of s){const i=this[n(407)][n(214)](e[n(459)]),r=this[n(202)][n(214)](e[n(459)]),s=new Yi.Range(this[n(296)](e[n(167)],i),this[n(296)](e[n(279)],i)),o=this[n(150)](s,r);i[n(143)][n(267)](t,s),this[n(253)][n(267)](t,o)}this[n(354)](t,e,i)}[_n(354)](t,e,i){const n=_n;for(const r of this[n(318)][n(436)](t,e))this[n(212)](r,i);for(const t of this[n(202)][n(300)]())t[n(143)][n(176)]();for(const[t,e]of this[n(253)])this[n(202)][n(214)](e[n(192)][n(459)])[n(143)][n(267)](t,e[n(156)]());const r=new Map,s=new Map;for(const[t,e]of this[n(202)])r[n(267)](t,Nn(e)),s[n(267)](t,this[n(258)][n(214)](t));this[n(295)](e,r,this[n(253)],s)}[_n(367)](t){const e=_n,i=Array[e(294)](this[e(307)][e(236)]());i[e(190)](((t,e)=>t-e)),i[e(411)]();for(const e of i)if(e<t)return e;return Number[e(348)]}[_n(418)](t,e){const i=_n,n=Array[i(294)](e[i(143)])[i(184)]((([e,n])=>[e,this[i(150)](n,t)]));t[i(143)]=new Map(n)}[_n(255)](t){const e=_n;for(const i of this[e(253)][e(300)]()){const n=i[e(257)](t),r=Yi.Range[e(266)](n);i[e(167)]=r[e(167)],i[e(279)]=r[e(279)]}}[_n(212)](t,e){const i=_n;if(i(265)!=t[i(345)]&&i(440)!=t[i(345)]){if(i(209)==t[i(345)]){const n=t[i(260)][i(192)][i(459)];this[i(202)][i(432)](n)||(this[i(202)][i(267)](n,Rn(n,!0)),this[i(258)][i(267)](n,{}),e&&this[i(262)][i(267)](n,Rn(n,!0)))}else{if(i(349)==t[i(345)]||i(344)==t[i(345)]||i(386)==t[i(345)])return void this[i(278)](t);i(428)==t[i(345)]&&this[i(197)](t)}if(i(428)!==t[i(345)]){const e=this[i(321)](t,this[i(202)]);e[i(368)](),this[i(255)](e)}if(e)switch(t[i(345)]){case i(209):this[i(355)](t);break;case i(254):case i(363):case i(195):this[i(401)](t);break;case i(148):this[i(333)](t);break;case i(457):this[i(328)](t)}}else this[i(302)](t,e)}[_n(321)](t,e){const i=_n,n=t[i(156)]();return n[i(451)]=t[i(451)],this[i(158)](n,e),n}[_n(256)](t){const e=_n;return t[e(184)]((t=>{const i=e,n=this[i(277)](t);return Number(t[i(238)][i(360)](n))}))}[_n(210)](t,e){const i=_n;if(t.is(i(141),i(441)))e[i(343)]({item:t,type:i(164)});else{t.is(i(141))&&e[i(343)]({item:t,type:i(353)});for(const n of t[i(434)]())this[i(210)](n,e);t.is(i(141))&&e[i(343)]({item:t,type:i(404)})}return e}[_n(234)](){const t=_n,e=new Map(this[t(231)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(407)][t(236)](),...this[t(202)][t(236)]()]);a[t(201)](t(180));for(const e of a){const i=this[t(202)][t(214)](e)||Rn(e,!1),n=this[t(407)][t(214)](e)||Rn(e,!1);i[t(198)]()||n[t(198)]()?(r[t(292)][e]=Nn(i),r[t(342)][e]=Nn(n),this[t(418)](r[t(342)][e],n),this[t(418)](r[t(292)][e],i),s[t(292)][e]=this[t(210)](this[t(262)][t(214)](e),[]),s[t(342)][e]=this[t(210)](this[t(329)][t(214)](e)||Rn(e,!1),[])):a[t(201)](e)}for(const r of a){const o=s[t(292)][r];for(const r of o){const s=this[t(277)](r),o=r[t(238)][t(360)](s);i[t(201)](o),o>=this[t(303)]&&n[t(267)](o,e[t(214)](o))}}for(const r of a){const a=s[t(292)][r],c=this[t(256)](s[t(342)][r]);let u=0;for(const r of a){const s=this[t(277)](r),a=r[t(238)][t(360)](s);if(!n[t(432)](a)&&!o[t(432)](a))if(i[t(432)](a))u++;else{if(a!=c[u]){const n=e[t(214)](a)||e[t(214)](c[u]);for(;a!=c[u];)i[t(432)](c[u])||(o[t(267)](c[u],n),e[t(267)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(292)][e];for(const e of r){const r=this[t(277)](e),s=e[t(238)][t(360)](r);if(o[t(432)](s)){const e=o[t(214)](s);i[t(432)](s)||i[t(267)](s,{...e}),n[t(267)](s,{...e})}}}for(const e of i[t(236)]())e>=this[t(303)]&&i[t(201)](e);const c=new Map;for(const e of a){let r=s[t(292)][e];for(const e of r)if(e[t(238)].is(t(141),t(227))){const i=this[t(277)](e),r=e[t(238)][t(360)](i);if(n[t(432)](r)){const i=e[t(238)][t(273)][t(273)][t(360)](t(400)),s=c[t(214)](i)||new Set;s[t(162)](n[t(214)](r)[t(439)]),c[t(267)](i,s)}}r=s[t(342)][e];for(const e of r)if(e[t(238)].is(t(141),t(227))){const n=this[t(277)](e),r=e[t(238)][t(360)](n);if(i[t(432)](r)){const n=e[t(238)][t(273)][t(273)][t(360)](t(400)),s=c[t(214)](n)||new Set;s[t(162)](i[t(214)](r)[t(439)]),c[t(267)](n,s)}}for(const e of c[t(236)]())(n[t(432)](e)||i[t(432)](e))&&c[t(201)](e)}for(const e of a){const r=s[t(292)][e];let o=null,a=null;for(const e of r){const r=this[t(277)](e),s=e[t(238)][t(360)](r),u=c[t(214)](s);u&&t(353)==e[t(345)]&&(o=Array[t(294)](u)[0],a=e[t(238)][t(360)](t(194))),o&&(i[t(267)](s,{userId:o}),n[t(267)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(342)][e],a=r[t(292)][e];for(const{userId:e}of this[t(204)][t(300)]())null!==e&&l[t(162)](e);for(const{userId:e}of this[t(301)][t(300)]())null!==e&&l[t(162)](e);this[t(264)](a,s[t(292)][e],n,t(383),l),this[t(264)](o,s[t(342)][e],i,t(449),l),u[e]={insertions:this[t(239)](a),deletions:this[t(239)](o),attachChange:this[t(301)][t(214)](e)||null,attributesBefore:vi(this[t(161)][t(214)](e))||{},attributesAfter:vi(this[t(258)][t(214)](e))}}return{diffData:u,authorsIds:Array[t(294)](l)}}[_n(380)](t){const e=_n;for(const[,i]of t[e(143)]){const t=i[e(167)][e(412)]()[e(426)]((t=>e(227)==t[e(245)]));for(const i of t)1==i[e(359)]&&i[e(445)](0).is(e(141),e(213))&&i[e(445)](0)[e(402)](e(347),!0)}}[_n(239)](t){const e=_n;this[e(380)](t);const i=this[e(326)][e(429)][e(142)](t,{}),n=Array[e(294)](i[e(434)]())[e(184)]((t=>this[e(165)](t)));return JSON[e(288)](n)}[_n(165)](t){const e=_n;if(t.is(e(441)))return t[e(429)];{const i=t;return{type:Object[e(236)](On)[e(447)]((e=>t instanceof On[e])),name:i[e(245)],attributes:Array[e(294)](i[e(427)]()),children:Array[e(294)](i[e(434)]())[e(184)]((t=>this[e(165)](t)))}}}[_n(264)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(326)][s(414)];for(let n=0;n<e[s(341)];n++){const r=this[s(277)](e[n]),c=e[n][s(238)][s(360)](r),h=i[s(214)](c),d=n==e[s(341)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(439)]!=o[s(439)])&&(l(h,Vn(a,t,u),Vn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Vn(a,t,u),Mn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(439)],d=l(385)+n+":"+h+":"+c++,f=u[l(382)](i,a);t[l(143)][l(267)](d,f),null!==h&&r[l(162)](h)}}[_n(277)](t){const e=_n;switch(t[e(345)]){case e(353):return e(400);case e(404):return e(194);default:return e(335)}}[_n(158)](t,e){const i=_n;t[i(173)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(214)](r[i(192)][i(459)]);t[n]=this[i(296)](r,s)}if(r instanceof Yi.Range){const s=e[i(214)](r[i(192)][i(459)]);t[n]=this[i(150)](r,s)}i(192)===n&&(t[i(192)]=e[i(214)](t[i(192)][i(459)]))}}[_n(150)](t,e){const i=_n;return this[i(326)][i(414)][i(382)](this[i(296)](t[i(167)],e),this[i(296)](t[i(279)],e))}[_n(296)](t,e){const i=_n;return this[i(326)][i(414)][i(443)](e,t[i(291)],t[i(388)])}[_n(355)](t){const e=_n,i=this[e(262)][e(214)](t[e(260)][e(192)][e(459)]),n=this[e(296)](t[e(260)],i),r=null===t[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,s=n[e(273)],o=this[e(297)],a=[];for(const i of t[e(336)])if(i.is(e(141)))a[e(343)](this[e(223)](i));else for(let t=0;t<i[e(372)];t++)a[e(343)](new Yi.Element(e(441),{vid:this[e(297)]++}));const c=this[e(297)];for(let t=o;t<c;t++)this[e(231)][e(267)](t,{userId:r});s[e(191)](n[e(250)],a)}[_n(401)](t){const e=_n;(t=this[e(321)](t,this[e(262)]))[e(368)]();const i=null===t[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,n=t[e(320)](),r=n[e(273)],s=n[e(250)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(445)](e);s.is(a(141),a(441))?n[a(267)](s[a(360)](a(335)),{userId:i}):(n[a(267)](s[a(360)](a(400)),{userId:i}),t(n,s,0,s[a(359)]),n[a(267)](s[a(360)](a(194)),{userId:i}))}}(this[e(231)],r,s,s+t[e(215)])}[_n(333)](t){const e=_n,i=null===(t=this[e(321)](t,this[e(262)]))[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,n=t[e(456)][e(273)],r=t[e(424)][e(273)],s=n[e(360)](e(194)),o=r[e(360)](e(400));n[e(402)](e(194),r[e(360)](e(194))),r[e(402)](e(194),s),this[e(231)][e(267)](o,{userId:i}),this[e(231)][e(267)](s,{userId:i}),t[e(368)]()}[_n(328)](t){const e=_n,i=null===(t=this[e(321)](t,this[e(262)]))[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,n=t[e(306)],r=t[e(183)][e(273)];t[e(368)]();const s=r[e(360)](e(194)),o=t[e(224)][e(149)];if(n){const t=o[e(360)](e(194)),n=r[e(360)](e(194));r[e(402)](e(194),t),o[e(402)](e(194),n),this[e(231)][e(267)](r[e(360)](e(194)),{userId:i}),this[e(231)][e(267)](o[e(360)](e(400)),{userId:i})}else{const t=this[e(297)]++,n=this[e(297)]++;r[e(402)](e(194),t),o[e(402)](e(400),n),o[e(402)](e(194),s),this[e(231)][e(267)](t,{userId:i}),this[e(231)][e(267)](n,{userId:i})}}[_n(197)](t){const e=_n;if(!t[e(312)])return;const i=(t=this[e(321)](t,this[e(202)]))[e(211)]?t[e(211)][e(192)]:null,n=t[e(152)]?t[e(152)][e(192)]:null;i&&this[e(253)][e(201)](t[e(245)]),n&&this[e(253)][e(267)](t[e(245)],t[e(152)][e(156)]());const r=null===t[e(451)]?null:t[e(451)]||this[e(326)][e(187)][e(214)](e(189)).me.id,s=t[e(245)];if(!this[e(204)][e(432)](s))return void this[e(204)][e(267)](s,{range:t[e(211)],userId:r});const o=this[e(204)][e(214)](s),a=o[e(304)],c=t[e(152)];null==a&&null==c||a&&c&&a[e(405)](c)?this[e(204)][e(201)](t[e(245)]):o[e(439)]=r}[_n(302)](t,e){const i=_n;this[i(202)][i(432)](t[i(459)])?this[i(202)][i(214)](t[i(459)])[i(323)]=t[i(247)]:(this[i(202)][i(267)](t[i(459)],Rn(t[i(459)],!0)),this[i(258)][i(267)](t[i(459)],{}),e&&this[i(262)][i(267)](t[i(459)],Rn(t[i(459)],!0)));const n=null===t[i(451)]?null:t[i(451)]||this[i(326)][i(187)][i(214)](i(189)).me.id,r=this[i(301)][i(214)](t[i(459)]);r&&r[i(439)]===n?this[i(301)][i(201)](t[i(459)]):this[i(301)][i(267)](t[i(459)],{userId:n,isAttached:t[i(247)]})}[_n(278)](t){const e=_n,i=this[e(258)][e(214)](t[e(192)][e(459)]);null===t[e(274)]?delete i[t[e(384)]]:i[t[e(384)]]=t[e(274)]}}function Nn(t){const e=_n,i=Rn(t[e(459)],t[e(198)]());for(const n of t[e(434)]()){const t=n[e(376)](!0);i[e(217)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(459)]=t,n[i(323)]=e,n[i(198)]=()=>n[i(323)],n}function Vn(t,e,i){const n=_n,r=n(404)==t[n(345)]?i[n(327)](t[n(238)],n(279)):i[n(371)](t[n(238)]);return i[n(443)](e,r[n(291)],r[n(388)])}function Mn(t,e,i){const n=_n,r=n(353)==t[n(345)]?i[n(327)](t[n(238)],0):i[n(387)](t[n(238)]);return i[n(443)](e,r[n(291)],r[n(388)])}var Dn=i(311),En=i(673),Cn=i.n(En),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Ln().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;function Yn(){const t=["220","form","arrowdown","revisionName","revisionNameInputValue","errorText","set","focus","770168FFgSqw","input","value","383036mcWaPR","arrowup","Name of the revision","arrowright","arrowleft","fieldView","revisionNameInputView","element","listenTo","reset","add","render","889878uPwpvy","1807520IzOxDN","optional","1607544mYQGjA","886420KSkbBF","keystrokes","20184752LyQvqV","setTemplate","label","ck-revision-history-save-revision-form","extendTemplate","ck-responsive-form","focusTracker","_createRevisionNameInput","locale","stopPropagation","trim","7ythZbV"];return(Yn=function(){return t})()}const Jn=Gn;function Gn(t,e){const i=Yn();return(Gn=function(t,e){return i[t-=436]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(631119===-parseInt(e(463))/1+parseInt(e(466))/2+-parseInt(e(440))/3+-parseInt(e(438))/4+-parseInt(e(441))/5+-parseInt(e(437))/6+-parseInt(e(454))/7*(-parseInt(e(443))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yn);class Kn extends Dn.View{constructor(e,i){const n=Gn;super(e),this[n(449)]=new t.FocusTracker,this[n(442)]=new t.KeystrokeHandler,this[n(461)](n(459),""),this[n(472)]=this[n(450)](i),this[n(444)]({tag:n(456),attributes:{class:["ck",n(446),n(448)],tabindex:"-1"},children:[this[n(472)]]}),(0,Dn.injectCssTransitionDisabler)(this)}[Jn(436)](){const t=Jn;super[t(436)](),(0,Dn.submitHandler)({view:this}),this[t(449)][t(476)](this[t(472)][t(473)]),this[t(442)][t(474)](this[t(473)]);const e=e=>e[t(452)]();this[t(442)][t(461)](t(469),e),this[t(442)][t(461)](t(470),e),this[t(442)][t(461)](t(467),e),this[t(442)][t(461)](t(457),e)}[Jn(462)](){const t=Jn;this[t(472)][t(462)]()}get[Jn(458)](){const t=Jn;return this[t(472)][t(471)][t(473)][t(465)][t(453)]()}set[Jn(458)](t){const e=Jn;this[e(472)][e(471)][e(473)][e(465)]=t[e(453)]()}[Jn(475)](){const t=Jn;this[t(472)][t(471)][t(473)][t(465)]="",this[t(472)][t(460)]=null}[Jn(450)](t){const e=Jn,i=new Dn.LabeledFieldView(this[e(451)],Dn.createLabeledInputText),n=i[e(471)];n[e(447)]({attributes:{maxlength:e(455)}});let r=Xi(this[e(451)],e(468));return!t&&(r+=" ("+Xi(this[e(451)],e(439))+")"),i[e(445)]=r,n.on(e(464),(()=>{const t=e;this[t(459)]=n[t(473)][t(465)][t(453)]()})),i}}function Qn(t,e){const i=tr();return(Qn=function(t,e){return i[t-=371]})(t,e)}const Xn=Qn;function tr(){const t=["requires","children","isReady","pluginName","render","errorText","Dialog","7300MiwBoK","_saveRevisionFormView","Cancel","bind","config","buttonView","Save current revision","742907ofUirz","4235058juhPDP","995934oyWbgL","add","saveRevision","Accept","revisionHistory.requireRevisionName","isOpen","menuitem","editing","_createSaveRevisionFormView","reset","menuBar:revisionHistory","isPremiumPlugin","execute","14VWcGuZ","plugins","set","2673090xOftHd","hide","ck-button-action","get","isOfficialPlugin","delegate","_registerMenuComponent","Open revision history","12559340Lukyco","init","revisionNameInputView","isEnabled","RevisionHistoryUI","revisionHistory","2095jnMeit","view","submit","focus","2kkcNOl","items","show","Revision history","history","RevisionTracker","isReadOnly","editor","revisionName","panelView","_showDialog","componentFactory","role","5580648VQxvAQ","showRevisionViewerCallback","revisionSave","menu","The revision name cannot be empty.","locale","addMany"];return(tr=function(){return t})()}!function(t){const e=Qn,i=t();for(;;)try{if(449493===parseInt(e(420))/1*(parseInt(e(386))/2)+parseInt(e(438))/3+parseInt(e(413))/4*(-parseInt(e(382))/5)+-parseInt(e(422))/6*(parseInt(e(435))/7)+parseInt(e(399))/8+parseInt(e(421))/9+-parseInt(e(376))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Xn(409)](){return Xn(380)}static get[Xn(372)](){return!0}static get[Xn(433)](){return!0}static get[Xn(406)](){return[xn]}[Xn(377)](){const t=Xn,e=this[t(393)],i=e[t(436)][t(371)](t(391));e.ui[t(397)][t(423)](t(381),(n=>{const r=t,s=(0,Dn.createDropdown)(n),o=s[r(395)][r(407)],a=new Dn.ListView(n),c=new Dn.ListItemView(n),u=new Dn.ButtonView(n),l=new Dn.ListItemView(n),h=new Dn.ButtonView(n);return s[r(416)](r(379)).to(i,r(408),i,r(379),e,r(392),((t,e,i)=>t&&e&&!i)),s[r(418)][r(437)]({icon:qi.icons[r(390)],label:Xi(n,r(389)),tooltip:!0}),u[r(437)]({label:Xi(n,r(419)),withText:!0,role:r(428)}),u[r(416)](r(379)).to(i,r(408),i,r(379),e,r(392),((t,e,i)=>t&&e&&!i)),u.on(r(434),(()=>this[r(396)]())),h[r(437)]({label:Xi(n,r(375)),withText:!0,role:r(428)}),h[r(416)](r(379)).to(i,r(408),e,r(392),((t,e)=>t&&!e)),h.on(r(434),(()=>{const t=r;e[t(417)][t(371)](t(381))[t(400)](),s[t(427)]=!1,e[t(429)][t(383)][t(385)]()})),c[r(407)][r(423)](u),l[r(407)][r(423)](h),a[r(398)]=r(402),a[r(387)][r(405)]([c,l]),o[r(423)](a),s})),e.ui[t(397)][t(423)](t(432),(()=>this[t(374)]()))}[Xn(374)](){const t=Xn,e=this[t(393)],i=e[t(404)],n=new Dn.MenuBarMenuView(i),r=new Dn.MenuBarMenuListView(i);n[t(418)][t(437)]({icon:qi.icons[t(390)],label:Xi(i,t(389))});const s=new Dn.MenuBarMenuListItemView(i,n),o=new Dn.MenuBarMenuListItemButtonView(i);o[t(437)]({label:Xi(i,t(419))}),o[t(373)](t(434)).to(n),o.on(t(434),(()=>{this[t(396)]()})),s[t(407)][t(423)](o),r[t(387)][t(423)](s);const a=new Dn.MenuBarMenuListItemView(i,n),c=new Dn.MenuBarMenuListItemButtonView(i);return c[t(437)]({label:Xi(i,t(375))}),c[t(373)](t(434)).to(n),c.on(t(434),(()=>{const i=t;e[i(417)][i(371)](i(381))[i(400)]()})),a[t(407)][t(423)](c),r[t(387)][t(423)](a),n[t(395)][t(407)][t(423)](r),n}[Xn(396)](){const t=Xn,e=this[t(393)],i=e[t(404)],n=e[t(436)][t(371)](t(412)),r=e[t(436)][t(371)](t(391));function s(r){const s=t;e[s(417)][s(371)](s(426))&&""===r[s(394)]?r[s(378)][s(411)]=Xi(i,s(403)):(e[s(436)][s(371)](xn)[s(424)]({name:r[s(394)]}),n[s(439)]())}this[t(414)]||(this[t(430)](),this[t(414)].on(t(384),(()=>s(this[t(414)])))),this[t(414)][t(431)](),n[t(388)]({id:t(401),title:Xi(i,t(419)),isModal:!0,content:this[t(414)],actionButtons:[{label:Xi(e[t(404)],t(415)),withText:!0,onExecute:()=>n[t(439)]()},{label:Xi(e[t(404)],t(425)),class:t(440),withText:!0,onCreate(i){const n=t;i[n(416)](n(379)).to(r,n(408),r,n(379),e,n(392),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(414)])}]})}[Xn(430)](){const t=Xn,e=this[t(393)],i=e[t(404)];this[t(414)]=new Kn(i,e[t(417)][t(371)](t(426))),this[t(414)][t(410)]()}}function ir(){const t=["781940AFYrhj","Added by","ck-revision-change__label","904492PgYYFK","data","4077354FsxFen","Suggested by","ck-revision-change","ck-revision-change__","author","2vrOPcq","ck-annotation","6960516WBRyBL","changeId","focus","5oeimYP","add","_model","4618579ZsOfto","Removed by","div","9dgxATg","bindTemplate","58002610BloFdY","type","set","setTemplate","10824016HwoRdq","element","span","isSuggestion","name"];return(ir=function(){return t})()}const nr=rr;function rr(t,e){const i=ir();return(rr=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(712441===-parseInt(e(372))/1*(parseInt(e(382))/2)+-parseInt(e(377))/3+parseInt(e(375))/4+-parseInt(e(355))/5*(parseInt(e(384))/6)+-parseInt(e(358))/7+-parseInt(e(367))/8+parseInt(e(361))/9*(parseInt(e(363))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ir);class sr extends Dn.View{constructor(t,e){const i=rr;super(t),this[i(357)]=e,this[i(353)]=e.id;const n=this[i(362)],r=Xi(t,e[i(376)][i(370)]?i(378):i(356)==e[i(364)]?i(373):i(359));this[i(365)](i(364),e[i(364)]),this[i(366)]({tag:i(360),attributes:{class:[i(383),i(379),n.to(i(364),(t=>i(380)+t))],tabindex:-1},children:[{tag:i(369),children:[{tag:i(369),attributes:{class:[i(374)]},children:[{text:r}]},{text:" "+e[i(381)][i(371)]}]}]})}[nr(354)](){const t=nr;this[t(368)][t(354)]()}}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=336]})(t,e)}function cr(){var t=["10294khTzKX","type","6299454yYuWtc","1003047RpGByH","rootName","data","2055848ebvstQ","author","7390445xyPZza","toJSON","3077080DgUtuU","744DFHNSj","7kbcqpj","41777559ifaZLb","set","createdAt"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(908017===-parseInt(e(337))/1+parseInt(e(350))/2*(-parseInt(e(345))/3)+-parseInt(e(344))/4+-parseInt(e(342))/5+parseInt(e(336))/6*(parseInt(e(346))/7)+-parseInt(e(340))/8+parseInt(e(347))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(341)]=e[i(341)],this[i(351)]=e[i(351)],this[i(339)]=e[i(339)]||{},this[i(338)]=e[i(338)],this[i(348)](i(349),e[i(349)])}[or(343)](){var t=or;return{id:this.id,authorId:this[t(341)].id,type:this[t(351)],data:this[t(339)],createdAt:this[t(349)]}}}function lr(){const t=["88sHSJQK","376MkzFYs","1240OrxIfC","8973Ebqamr","1612120MSdUxm","5855184mVUATE","3732KZMVKl","618rqRlie","changes","newRevisionId","oldRevisionId","add","1959zqCCLb","2492Uvztbc","_setChanges","1377684DDPJUh","30mkwfRe"];return(lr=function(){return t})()}const hr=dr;function dr(t,e){const i=lr();return(dr=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(197783===-parseInt(e(467))/1*(parseInt(e(473))/2)+-parseInt(e(462))/3*(parseInt(e(468))/4)+-parseInt(e(471))/5+parseInt(e(474))/6*(parseInt(e(463))/7)+-parseInt(e(469))/8*(parseInt(e(470))/9)+-parseInt(e(466))/10*(-parseInt(e(465))/11)+parseInt(e(472))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lr);class fr{constructor(e,i){const n=dr;this[n(476)]=e,this[n(460)]=i,this[n(475)]=new t.Collection}[hr(464)](t){const e=hr;for(const i of t)this[e(475)][e(461)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=gr;function yr(){const t=["detachRoot","viewItem","element:pre","change","deletion","ck-editor__editable__overlay","conversion","ck-suggestion-marker-","level","getChild","for","offsetSize","3pTVFvq","markersEnd","markers","markerNameToElements","enqueueChange","_balloon","bottom","right","flat","code","getAttributes","editingDowncast","toModel","attributesBefore","commands","_removeMissingPairs","authors","insertion","344AZjhDN","done","numberOfChanges","258813yIJCFA","useFillerType","_removeRevisionMarkers","checkAttribute","getItems","isBlock","33BbDNYD","addMarker:revision-suggestion:deletion","createUIElement","return","splice","getWalker","mousedown","revision-end","remove","getCustomProperty","span","domEvent","editing","_activeViewTarget","addRoot","get","error","repository","isEqual","insert","abs","addClass","roots","find","marked","consume","model","dataDowncast","map","addMarker:revision-suggestion:insertion","hasClass","change:numberOfChanges","revisionHistory","ck-suggestion-preview-marker-","createPositionBefore","createRange","endIndex","includes","next","addRevision","attribute:vid","isRemoved","getRevision","range","test","getRoot","-new","getClientRects","rootName","ck-suggestion-marker","target","startsWith","refresh","_markSuggestions","_changeView","ck-revision-history-root--active","_makeModelFromViewString","_step","end","removeMarker:revision-suggestion","distance","_processTape","bindElementToMarker","backward","isAddSuggestion","view","POSITIVE_INFINITY","isSuggestion","activeView","elementToAttribute","type","_getViewForChange","removeMarker:revision","start","markerName","upcast","reconvertMarker","keys","catch","_refreshStartEndIndex","elementStart","activeChange","uiElement","_findChangeIdFromDomTarget","concat","isLimit","isBefore","getDomRoot","resolve","isIncorrect","ck-suggestion-preview-marker","ck-revision-history-root-add","userId","processor","revision-start","low","revisionHistoryAttachChange","text","addMarker:revision","_makeTape","WidgetToolbarRepository","3011351GZDwuM","isRemoveSuggestion","item","isAtEnd","getLaterVisibleRevision","getAttribute","createRevision","ck-suggestion-marker--active","findIndex","attributes","attachChange","oldRevisionId","startIndex","has","_initInteractions","forEach","selection","revision-viewer","string","high","nodeAfter","comment","insertions","stop","data-change-id","delete","changes","RevisionViewer","data","_revisions","revision","attributesAfter","getRevisionRootsAttributes","change:activeChange","from","enableReadOnlyMode","unbindElementFromMarkerName","downcastDispatcher","createRangeIn","elementEnd","document","removeAttribute","3805qlfWsp","markerToData","removeClass","_sortAndFilterDiffChanges","showNextChange","loadRevisionData","changeId","_threeWayMerge","shift","_markInsertions","vid_start","filter","dataToMarker","parent","_makeModelFromTape","collaboration.channelId","_data","nextSibling","diff","removeMarker","revision-suggestion","1626Tkjwnn","_fixObsoleteTags","mapper","isAfter","wrap","showPreviousChange","maxOffset","writer","side","set","previousPosition","markersStart","observeMarkers","_cleanMarkers","newRevisionId","suggestion","toData","schema","_getDiff","locale","adapter","toViewElement","ck-suggestion-marker-merge","_getRevisionsRange","parse","config","isOnRoot","clear","left","execute","ck-suggestion-marker-split","currentChangeNumber","slice","isPremiumPlugin","pairId","createPositionFromPath","isEnabled","3231FZwhWP","createAttributeElement","restoreRevisionCallback","_markMarkers","isAtStart","diffData","_setDistance","markerRange","change:activeView","data-revision-","editor","index","_markMismatchedRemovedTags","3246710IDllFh","markerToHighlight","addRevisionData","destroy","nextPosition","push","highest","listenTo","modelRange","change:isReady","isAttached","change:isEnabled","updatePosition","element","revision-comment:","ck-revision-history-root-","softBreak","requires","merge","affectsData","addHighlight","setAttribute","first","isObject","revision:","top","domConverter","_getChangeFromId","getIndex","isInline","RevisionsRepository","toViewPosition","all","1221852fBsaXi","isOfficialPlugin","forward","values","consumable","indexOf","782402rwUsvp","revision-suggestion:","isCollapsed","restoreRevision","isContent","_update","showStack","name","suggestion:","plugins","mapViewToDom","_joinTapes","bind","_appendChild","isReady","init","revisionHistoryLabel","_cleanUp","mouseover","add","split","children","then","unshift","isNavigationMode","vid","isAdded","pluginName","getRevisionData","pop","_setConversion","compare","_getViewObj","deletions","hasAttribute","sort","_removeUnsupportedChanges","vid_end","ck-revision-history-root-remove","_setChanges","_changeIdToChange","default","toViewRange","forceDisabled","length","getRootNames","object"];return(yr=function(){return t})()}function gr(t,e){const i=yr();return(gr=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=gr,i=t();for(;;)try{if(227061===-parseInt(e(555))/1+-parseInt(e(475))/2*(parseInt(e(534))/3)+-parseInt(e(469))/4+-parseInt(e(365))/5*(parseInt(e(386))/6)+parseInt(e(323))/7+-parseInt(e(552))/8*(parseInt(e(423))/9)+-parseInt(e(436))/10*(-parseInt(e(561))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yr);const kr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class br extends qi.Plugin{static get[vr(502)](){return vr(350)}static get[vr(470)](){return!0}static get[vr(419)](){return!0}static get[vr(453)](){return[Bi.Users,Dn.ContextualBalloon,Qi]}constructor(t){const e=vr;super(t),this[e(578)]=this[e(433)][e(484)][e(576)](e(466)),this[e(395)](e(642),null),this[e(395)](e(629),null),this[e(574)]=null,this[e(395)](e(383),null),this[e(395)](e(489),!1),this[e(395)](e(422),!0),this.on(e(447),((t,i,n)=>{const r=e;this[r(642)]=null,this[r(629)]=null,this[r(433)][r(573)][r(626)][r(525)]((t=>{const e=r;for(const i of this[e(433)][e(573)][e(626)][e(363)][e(583)])n?t[e(367)](e(527),i):t[e(582)](e(527),i)}))})),this[e(487)](e(499)).to(this,e(642),(t=>null!==t)),this[e(487)](e(417)).to(this,e(489),this,e(383),this,e(642),((t,i,n)=>t&&n?i[e(349)][e(464)](n):0)),this[e(487)](e(554)).to(this,e(489),this,e(383),((t,i)=>t?i[e(349)][e(519)]:0)),this[e(615)]=null,this[e(515)]=new Map,this[e(406)]=null,this[e(539)]=this[e(433)][e(484)][e(576)](Dn.ContextualBalloon)}[vr(490)](){const t=vr,e=this[t(433)],i=new Ir(e,{direction:t(624)}),n=new Ir(e,{direction:t(471)});e[t(548)][t(494)](t(391),i),e[t(548)][t(494)](t(369),n),e[t(548)][t(494)](t(478),new _r(e)),this.on(t(592),(()=>{const e=t;i[e(613)](),n[e(613)]()})),this[t(505)](),this[t(337)](),e[t(358)](t(340)),e[t(484)][t(336)](t(322))&&e[t(484)][t(576)](t(322))[t(518)](t(340))}async[vr(503)](t){const e=vr;await this[e(370)](t);const i={};for(const n in t[e(428)]){if(t[e(428)][n][e(333)]&&!t[e(428)][n][e(333)][e(446)])continue;const r=this[e(557)](JSON[e(410)](t[e(428)][n][e(345)])),s=this[e(433)][e(573)][e(626)][e(363)],o=new Yi.ViewDocumentFragment(s,r[e(589)]((t=>this[e(507)](t))));this[e(433)][e(351)][e(315)][e(556)](e(585)),i[n]=this[e(433)][e(351)][e(315)][e(402)](o),this[e(433)][e(351)][e(315)][e(556)](e(516))}return i}async[vr(355)](t){const e=vr;await this[e(370)](t);const i={};for(const n in t[e(428)])t[e(428)][n][e(333)]&&!t[e(428)][n][e(333)][e(446)]||(i[n]=t[e(428)][n][e(354)]||{});return i}[vr(557)](t){const e=vr;return(t=t[e(376)]((t=>!t[e(482)]||e(316)!==t[e(482)]&&e(568)!==t[e(482)])))[e(338)]((t=>{const i=e;i(341)!=typeof t&&(t[i(496)]=this[i(557)](t[i(496)]),t[i(332)]=t[i(332)][i(376)]((t=>!t[0][i(612)](i(432)))))})),t}async[vr(506)](t,e,i=!1){const n=vr;if(!this[n(422)])return;const r=this[n(383)],s=this[n(578)],o=n(341)==typeof t?s[n(603)](t):t,a=n(341)==typeof e?s[n(603)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(383)]&&this[n(383)][n(400)]===c&&this[n(383)][n(334)]===u)return Promise[n(649)]();this[n(489)]=!1,this[n(629)]=null,this[n(642)]=null,this[n(383)]=new fr(c,u);const l=this[n(409)](o,a,!0)[n(589)]((t=>this[n(370)](t)));return l[n(441)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(468)](l)[n(497)]((()=>{const t=n;if(!this[t(422)])return;this[t(492)]();const e=this[t(404)](c,u);for(const i of e[t(349)])this[t(515)][t(395)](i.id,i);this[t(433)][t(587)][t(538)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(433)][n(587)][n(363)][n(520)]())i[n(522)](t);for(const t of Object[n(638)](e[n(587)])){const r=i[n(575)](t);for(const s of Object[n(638)](e[n(332)][t]))i[n(457)](s,e[n(332)][t][s],r);i[n(580)](e[n(587)][t],r,0)}})),this[t(383)][t(514)](this[t(368)](e[t(349)])),this[t(489)]=!0}))[n(639)]((t=>{const e=n;console[e(577)](t),this[e(492)](),r&&(this[e(383)]=r),this[e(489)]=!0}))}[vr(438)](t,e){const i=vr,n=this[i(578)][i(329)](t);return n.on(i(480),((t,i,r)=>e(i,r,n))),this[i(578)][i(600)](n),n}[vr(370)](t){const e=vr;if(!t||t[e(428)])return Promise[e(649)]();{const i=this[e(433)][e(411)][e(576)](e(380));return this[e(406)][e(603)]({channelId:i,revisionId:t.id})[e(497)]((i=>{const n=e;t[n(480)]({diffData:i[n(428)]},!0)}))}}[vr(492)](){const t=vr;this[t(642)]=null,this[t(399)](),this[t(615)]&&this[t(615)][t(439)](),this[t(615)]=null,this[t(515)][t(413)](),this[t(433)][t(587)][t(538)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(433)][i(587)][i(363)][i(520)]())e[i(522)](t)}))}[vr(368)](t){const e=vr,i=[],n=new Map;for(const t of this[e(433)][e(587)][e(363)][e(520)]()){const r=this[e(433)][e(573)][e(626)][e(648)](t);if(!r)continue;const s=r[e(608)]()[e(325)](0);s&&(i[e(441)](t),n[e(395)](t,s))}return i[e(510)](((t,i)=>{const r=e,s=n[r(576)](t),o=n[r(576)](i);return s.y-o.y||s.x-o.x})),(t=t[e(376)]((t=>i[e(598)](t[e(609)]))))[e(510)](((t,n)=>i[e(474)](t[e(609)])-i[e(474)](n[e(609)]))),t}[vr(321)](t){const e=vr,i=Array[e(357)](t[e(536)])[e(376)]((([t,i])=>t[e(612)](e(460))&&!i[e(477)])),n=Array[e(357)](this[e(433)][e(587)][e(361)](t)[e(566)]({singleCharacters:!0}));if(0!=i[e(519)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(495)](":");if(r[e(619)][e(579)](t[e(440)])&&i[e(373)](),(t[e(396)][e(579)](r[e(634)])||t[e(396)][e(389)](r[e(634)]))&&(e(551)==s?t[e(501)]={userId:o}:e(526)==s&&(t[e(602)]={userId:o})),0==i[e(519)])break}return n}[vr(640)](t){const e=vr,i=new Map;for(let n=0;n<t[e(519)];n++)e(319)===t[n][e(631)]?(t[n][e(325)][e(335)]=n,t[n][e(325)][e(597)]=n):(e(641)===t[n][e(631)]?t[n][e(325)][e(335)]=n:e(362)===t[n][e(631)]&&(t[n][e(325)][e(597)]=n),i[e(395)](t[n].id,n));for(const n of i[e(472)]())e(641)===t[n][e(631)]?t[n][e(325)][e(597)]=i[e(576)](t[n][e(420)]):e(362)===t[n][e(631)]&&(t[n][e(325)][e(335)]=i[e(576)](t[n][e(420)]))}[vr(622)](t){const e=vr;for(let i=0;i<t[e(519)];i++){if(e(641)===t[i][e(631)])t[i][e(325)][e(335)]=i;else if(e(362)===t[i][e(631)]){t[i][e(325)][e(597)]=i;const n=t[i][e(325)][e(335)];t[n][e(420)]=t[i].id,t[i][e(420)]=t[n].id}else t[i][e(325)][e(335)]=i,t[i][e(325)][e(597)]=i,t[i][e(420)]=null;t[i][e(397)]||(t[i][e(397)]=[],t[i][e(535)]=[])}}[vr(374)](t,e){const i=vr,n=t[i(376)]((t=>!t[i(501)]));for(let t=0;t<e[i(519)];t++)e[t][i(501)]&&(n[t][i(501)]=e[t][i(501)])}[vr(617)](t){const e=vr,i=JSON[e(410)](t),n=this[e(433)][e(573)][e(626)][e(363)],r=new Yi.ViewDocumentFragment(n,i[e(589)]((t=>this[e(507)](t))));return this[e(433)][e(351)][e(546)](r)}[vr(507)](t){const e=vr,i=this[e(433)][e(573)][e(626)][e(363)];if(e(341)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(496)][e(589)]((t=>this[e(507)](t)));return new(kr[t[e(631)]]||Yi.ViewElement)(i,t[e(482)],t[e(332)],n)}}[vr(404)](t,e=null){const i=vr,n=this[i(578)][i(603)](t),r=e?this[i(578)][i(603)](e):null,s=this[i(409)](n,r),o=s[s[i(519)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(519)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(638)](e[i(428)]))if(e[i(428)][t][i(333)]){const n=e[i(428)][t][i(333)];n[i(446)]?(u[i(494)](t),l[i(336)](t)&&l[i(576)](t)[i(653)]==n[i(653)]?l[i(348)](t):l[i(395)](t,n)):l[i(336)](t)?(u[i(348)](t),l[i(348)](t)):(u[i(494)](t),l[i(395)](t,n))}else u[i(494)](t)}for(const t of u){const e=l[i(336)](t)&&!l[i(576)](t)[i(446)];let n=e?s[i(519)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(428)][t]){const n=e?o[i(428)][t][i(547)]:o[i(428)][t][i(354)];c[i(332)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(587)]={};for(const e of t[i(550)])a[i(395)](e.id,e);for(const e of u){const n=t[i(428)][e]?t[i(428)][e][i(345)]:"[]",r=t[i(428)][e]?t[i(428)][e][i(508)]:"[]";t[i(587)][e]={insertions:this[i(617)](n),deletions:this[i(617)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(357)](n[i(587)][t][i(345)][i(536)])[i(376)]((([t])=>!t[i(612)](i(460)))));let h=0;for(const o of s){const s=this[i(321)](o[i(587)][t][i(345)]);o==n?(e=s,r=e[i(519)],e[i(338)]((t=>{t.id=h++})),this[i(622)](e)):this[i(374)](e,s);const a=e[i(376)]((t=>!t[i(501)]))[i(589)]((t=>t.id));let c=0;const l=this[i(321)](o[i(587)][t][i(508)]);l[i(338)]((t=>{t[i(602)]?t.id=r++:t.id=a[c++]})),this[i(622)](l),this[i(429)](e,i(501)),this[i(429)](l,i(602)),o==n&&this[i(426)](e,u),e=this[i(486)](e,l),this[i(640)](e),this[i(429)](e,i(602))}e=e[i(376)]((t=>!(t[i(501)]&&t[i(602)])));const d=new Map(o[i(587)][t][i(508)][i(536)]),f=new Set(u[i(638)]());for(const t of d[i(638)]())f[i(348)](t);this[i(614)](e,f),this[i(387)](e),e=this[i(549)](e),e=this[i(435)](e),e=this[i(511)](e);const{root:m,changes:p}=this[i(379)](e,a,t);c[i(587)][t]=m;const v=l[i(576)](t);if(v){const e=a[i(576)](v[i(653)]),n=new ur({author:e,type:v[i(446)]?i(494):i(569),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(498)](n),c[i(332)][t][i(318)]=n.id}c[i(349)]=c[i(349)][i(645)](p)}return c}[vr(426)](t,e){const i=vr;for(let n=0;n<t[i(519)];n++)for(const[r,s]of e)s[i(634)][i(579)](t[n][i(396)])&&t[n][i(397)][i(441)](r),s[i(619)][i(579)](t[n][i(440)])&&t[n][i(535)][i(441)](r)}[vr(486)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(519)]||s<e[i(519)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(441)](o);else if(a[i(602)]&&o[i(501)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(372)](t,r,e,s);n=n[i(645)](o),r=a,s=c}else a[i(602)]?(s++,n[i(441)](a)):(r++,n[i(441)](o))}return n}[vr(614)](t,e){const i=vr,n=[];for(let o=0;o<t[i(519)];o++){for(let s=0;s<t[o][i(397)][i(519)];s++){const a=t[o][i(397)][s];if(!e[i(336)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(385)!=c||i(551)!=u&&i(526)!=u||(n[i(498)]({type:u,name:a,userId:l}),t[o][i(397)][i(565)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(535)][i(519)];s++){const a=t[o][i(535)][s];if(!e[i(336)](a))continue;const{group:c,type:u}=r(a);if(i(385)!=c||i(551)!=u&&i(526)!=u)continue;t[o][i(535)][i(565)](s,1),s--;const l=n[i(331)]((t=>t[i(482)]==a));l>-1&&n[i(565)](l,1)}}function r(t){const e=i,n=t[e(495)](":");return{group:n[0],type:n[1],subType:n[e(519)]>=5?n[2]:null,id:n[e(519)]<5?n[2]:n[3],authorId:n[e(519)]<5?n[3]:n[4],markerCount:6==n[e(519)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(519)];i++){if(t[e(501)]&&e(551)==n[i][e(631)])return t[e(625)]=n[i],void delete t[e(501)];if(!t[e(501)]&&!t[e(602)]&&e(526)==n[i][e(631)])return void(t[e(324)]=n[i])}}}[vr(429)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(395)](o.id,n);for(let n=0;n<t[i(519)];n++){if(i(602)==e&&t[n][i(501)]||i(501)==e&&t[n][i(602)])continue;if(i(319)==t[n][i(631)]){t[n][i(621)]=0;continue}const r=s[i(576)](t[n][i(420)]),o=s[i(576)](t[n].id);t[n][i(621)]=r-o}}[vr(409)](t,e,i=!1){const n=vr,r=[];let s=this[n(578)][n(464)](t),o=this[n(578)][n(464)](e);for(-1==o&&(o=this[n(578)][n(352)][n(519)],i=!1);s<o;)r[n(441)](this[n(578)][n(603)](s)),s++;return i&&r[n(441)](this[n(578)][n(603)](s)),r}[vr(372)](t,e,i,n){const r=vr,s=this[r(433)][r(587)][r(403)];let o=e;for(;t[o]&&t[o][r(501)];)o++;let a=n;for(;i[a]&&i[a][r(602)];)a++;u(t,e,o),u(i,n,a);const c=i[r(418)](n,a)[r(645)](t[r(418)](e,o));return c[r(510)](((t,e)=>t[r(394)]!=e[r(394)]?t[r(394)]-e[r(394)]:t[r(530)]!=e[r(530)]?t[r(530)]-e[r(530)]:t[r(621)]!=e[r(621)]?e[r(621)]-t[r(621)]:!!t[r(501)]!=!!e[r(501)]?-1==t[r(394)]||0==t[r(394)]?t[r(501)]?-1:1:t[r(501)]?1:-1:t[r(434)]-e[r(434)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(627)],c=!0;for(let r=e;r<i;r++)if(s[n(465)](t[r][n(325)])||(c=!1),t[r][n(325)][n(335)]<e&&(o=r),t[r][n(325)][n(597)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(394)]=r<=o?-1:r<a?0:1,t[r][n(434)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(621)]?t[i][n(530)]=u:(u++,t[i][n(530)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(394)]&&(t[r][n(530)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(621)]?t[e][n(530)]=u:(u--,t[e][n(530)]=u,u--)}}[vr(387)](t){const e=vr,i=new Map,n=this[e(433)][e(587)][e(403)];for(let r=1;r<t[e(519)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(319)==c[e(631)])continue;if(c[e(631)]!=u[e(631)])continue;if(!n[e(560)](u[e(325)])||n[e(646)](u[e(325)]))continue;if(!n[e(560)](c[e(325)])||n[e(646)](c[e(325)]))continue;if((t[r][e(501)]||t[r][e(625)])&&t[r-1][e(602)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(602)]||!t[r-1][e(501)]&&!t[r-1][e(625)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(530)]==o[e(530)],h=Math[e(581)](s[e(530)])<Math[e(581)](o[e(530)])&&0==o[e(621)];(l||h)&&(i[e(395)](o.id,s.id),t[e(565)](a,1),r--,s[e(501)]=!1)}for(let n=0;n<t[e(519)];n++)i[e(336)](t[n][e(420)])&&(t[n][e(420)]=i[e(576)](t[n][e(420)]))}[vr(549)](t){const e=vr,i=new Set(t[e(589)]((t=>t.id)));for(let n=0;n<t[e(519)];n++)i[e(336)](t[n][e(420)])||0==t[n][e(621)]||(t[n][e(650)]=!0);return t[e(376)]((t=>!t[e(650)]))}[vr(435)](t){const e=vr,i=new Set;for(let n=0;n<t[e(519)];n++){if(i[e(336)](t[n].id)&&t[n][e(602)]&&(t[n][e(650)]=!0),t[n][e(650)])continue;if(0==t[n][e(621)])continue;if(e(641)!=t[n][e(631)])continue;if(null==t[n][e(420)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(420)];)e(641)==t[r][e(631)]?s++:e(362)==t[r][e(631)]&&s--,r++;if(0!=s)if(t[n][e(602)])t[n][e(650)]=!0;else for(;r!=n;)t[r][e(602)]&&0!=t[r][e(621)]&&(t[r][e(650)]=!0,i[e(494)](t[r][e(420)])),r--}return t[e(376)]((t=>!t[e(650)]))}[vr(511)](t){const e=vr,i=this[e(433)][e(587)][e(403)];for(let n=0;n<t[e(519)];n++){if(!(t[n][e(501)]||t[n][e(625)]||t[n][e(602)]||t[n][e(324)]))continue;if(0==t[n][e(621)])continue;const r=t[n][e(325)];i[e(560)](r)||i[e(646)](r)||(t[n][e(501)]&&delete t[n][e(501)],t[n][e(625)]&&delete t[n][e(625)],t[n][e(324)]&&delete t[n][e(324)],t[n][e(602)]&&(t[n][e(650)]=!0))}return t[e(376)]((t=>!t[e(650)]))}[vr(379)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(433)][n(587)],c=a[n(403)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(519)];e++)if(n(641)===t[e][n(631)]){t[e][n(396)]=a[n(421)](r,f);const i=new Yi.Element(t[e][n(325)][n(482)],t[e][n(325)][n(544)]());u[0][n(488)](i),f[n(441)](0),u[n(498)](i),t[e][n(440)]=a[n(421)](r,f)}else n(362)===t[e][n(631)]?(u[n(373)](),t[e][n(396)]=a[n(421)](r,f),f[n(504)](),f[f[n(519)]-1]++,t[e][n(440)]=a[n(421)](r,f)):(t[e][n(396)]=a[n(421)](r,f),d?d[n(381)]+=t[e][n(325)][n(351)]:d=new Yi.Text(t[e][n(325)][n(351)],t[e][n(325)][n(544)]()),t[e+1]&&n(319)===t[e+1][n(631)]&&v(d,t[e+1][n(325)])||(u[0][n(488)](d),d=null),f[f[n(519)]-1]+=t[e][n(325)][n(533)],t[e][n(440)]=a[n(421)](r,f));for(let e=0;e<t[n(519)];e++){const i=t[e][n(396)],r=t[e][n(440)];for(const r of t[e][n(397)])o[n(395)](r,{start:i,end:null});m(n(324),e,i,r),m(n(625),e,i,r),m(n(602),e,i,r),m(n(501),e,i,r);for(const i of t[e][n(535)])o[n(576)](i)[n(619)]=r}for(const[t,e]of o){const i=this[n(433)][n(587)][n(596)](e[n(634)],e[n(619)]);r[n(536)][n(395)](t,i)}return s[n(510)](((t,e)=>{const i=n,s=r[i(536)][i(576)](i(460)+t.id),o=r[i(536)][i(576)](i(460)+e.id);return s[i(634)][i(647)](o[i(634)])?-1:s[i(634)][i(389)](o[i(634)])?1:s[i(619)][i(647)](o[i(619)])?-1:s[i(619)][i(389)](o[i(619)])?1:i(494)===t[i(631)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(653)]:null,d=i===t[o(519)]-1,f=h[e][0],m=c[o(459)](t[i][o(325)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(619)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(653)]!==u&&(l[e][o(619)]=r,f&&f[o(653)]===l[e][o(653)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(641)!==t[i][o(631)]||f&&f[o(653)]===u||h[e][o(498)]({userId:u,object:t[i][o(325)],change:l[e]}),o(362)===t[i][o(631)]&&f&&f[o(521)]===t[i][o(325)]&&(h[e][o(373)](),l[e]=f[o(525)])),l[e]&&d&&(l[e][o(619)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(325)],f=a[h(403)][h(560)](d)&&!a[h(403)][h(646)](d),m=t[h(343)]==o[h(378)]&&o[h(427)];if(f&&m)return;const p=a[h(596)](t,o),v=e[h(576)](u),y=new ur({author:v,type:h(501)==l||h(625)==l?h(494):h(569),data:{isSuggestion:h(625)==l||h(324)==l},createdAt:new Date,rootName:i});s[h(441)](y),r[h(536)][h(395)](h(460)+y.id,p)}function v(t,e){const i=n,r=t[i(544)](),s=e[i(544)]();for(const t of r){if(t[1]!==e[i(328)](t[0]))return!1;s[i(599)]()}return s[i(599)]()[i(553)]}}[vr(505)](){const t=vr;this[t(433)][t(528)][t(532)](t(636))[t(377)]({view:t(353)}),this[t(433)][t(528)][t(532)](t(545))[t(437)]({model:t(353),view:e=>{const i=t,n=e[i(635)][i(495)](":")[1],r=this[i(463)](n);if(!r)return null;const s=i(494)==r[i(631)]?i(551):i(526),o=[i(610),i(529)+s];return r[i(351)][i(628)]&&o[i(441)](i(529)+s+i(607)),this[i(642)]==r&&o[i(441)](i(330)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(433)][t(528)][t(532)](t(636))[t(494)]((e=>{const i=t;e.on(i(524),((t,e,n)=>{const r=i,s=e[r(523)][r(531)](0);if(!s||!s.is(r(449),r(543)))return;if(!n[r(473)][r(586)](s,{attributes:[r(375),r(512)]}))return;const o=e[r(444)][r(634)][r(343)];n[r(393)][r(457)](r(375),s[r(328)](r(375)),o),n[r(393)][r(457)](r(512),s[r(328)](r(512)),o)}),{priority:i(317)})})),this[t(433)][t(528)][t(532)](t(636))[t(494)]((e=>{const i=t;e.on(i(449),((t,e,n)=>{const r=i;if(!n[r(473)][r(586)](e[r(523)],{attributes:[r(375),r(512)]}))return;if(e[r(444)][r(477)])return;const s=e[r(444)][r(634)][r(343)];s[r(509)](r(375))||s[r(509)](r(500))||(n[r(393)][r(457)](r(375),e[r(523)][r(328)](r(375)),s),n[r(393)][r(457)](r(512),e[r(523)][r(328)](r(512)),s))}),{priority:i(317)})})),this[t(433)][t(528)][t(532)](t(636))[t(630)]({view:{name:t(571),attributes:{vid:!0}},model:{key:t(500),value:e=>e[t(328)](t(500))}}),this[t(433)][t(587)][t(403)].on(t(558),((e,[,i])=>{const n=t;[n(375),n(512),n(500)][n(598)](i)&&(e[n(564)]=!0,e[n(346)]())}),{priority:t(442)}),this[t(433)][t(528)][t(532)](t(588))[t(494)]((e=>{const i=t;e.on(i(601),((t,e,n)=>{const r=i;if(" "!=e[r(325)][r(351)]||e[r(325)][r(378)][r(392)]>1)return;if(!n[r(473)][r(586)](e[r(325)],t[r(482)]))return;const s=n[r(393)],o=n[r(388)][r(517)](e[r(604)]);s[r(390)](o,s[r(424)](r(571)))}))})),this[t(433)][t(528)][t(532)](t(588))[t(366)]({model:t(353)}),this[t(433)][t(573)][t(360)].on(t(320),function(e){const i=t,n=e[i(484)][i(576)](i(350));return(t,r,s)=>{const o=i,a=r[o(635)][o(495)](":")[1],c=n[o(463)](a);if(!c)return null;const u=o(494)==c[o(631)]?o(495):o(454);if(!s[o(473)][o(605)](r[o(430)],t[o(482)]))return;const l=r[o(430)][o(566)](),h=r[o(430)][o(634)],d=e[o(587)][o(403)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(325)];p=p||d[o(479)](e);const i=s[o(388)][o(407)](e);if(i&&i[o(570)](o(456)))return;o(362)==t[o(631)]&&d[o(560)](e)&&!d[o(646)](e)&&(e[o(382)]||h[o(326)]?f&&f[o(378)]==e||(f=e,y(t[o(396)]),v=!0):m=m||t[o(396)])}function y(t){const e=o,i=s[e(393)][e(563)](e(571),{class:e(529)+u}),a=s[e(388)][e(467)](t);c[e(351)][e(628)]&&s[e(393)][e(582)](e(529)+u+e(607),i),n[e(642)]==c&&s[e(393)][e(582)](e(330),i),s[e(393)][e(580)](a,i),s[e(388)][e(623)](i,r[e(635)])}p||v||!m||y(m)}}(this[t(433)]),{priority:t(342)}),this[t(433)][t(573)][t(360)].on(t(633),((e,i,n)=>{const r=t,s=n[r(388)][r(537)](i[r(635)]);if(s)for(const t of s)(t[r(591)](r(416))||t[r(591)](r(408)))&&(n[r(388)][r(359)](t,i[r(635)]),n[r(393)][r(569)](t))}),{priority:t(342)}),this[t(433)][t(573)][t(360)].on(t(320),((e,i,n)=>{const r=t,s=i[r(635)][r(495)](":")[1],o=this[r(463)](s);if(!o)return null;const a=r(494)==o[r(631)]?r(495):r(454);if(n[r(473)][r(605)](i[r(430)],e[r(482)]))for(const t of i[r(430)][r(559)]()){if(!t.is(r(449),r(452)))continue;const e=n[r(393)][r(563)](r(571),{class:r(529)+a}),s=n[r(388)][r(467)](this[r(433)][r(587)][r(595)](t));o[r(351)][r(628)]&&n[r(393)][r(582)](r(529)+a+r(607),e),this[r(642)]==o&&n[r(393)][r(582)](r(330),e),n[r(393)][r(580)](s,e),n[r(388)][r(623)](e,i[r(635)])}}),{priority:t(342)}),this[t(433)][t(587)][t(363)].on(t(525),(()=>{const e=t;this[e(433)][e(573)][e(626)][e(525)]((t=>{const i=e;for(const e of this[i(433)][i(587)][i(363)][i(520)]()){const n=this[i(433)][i(587)][i(363)][i(606)](e),r=this[i(433)][i(573)][i(626)][i(363)][i(606)](e);if(r){const e=n[i(328)](i(318));if(t[i(364)](i(347),r),t[i(367)](i(652),r),t[i(367)](i(513),r),t[i(367)](i(616),r),e){const n=this[i(463)](e);if(!n)return null;t[i(457)](i(347),e,r),t[i(582)](i(451)+n[i(631)],r),this[i(642)]==n&&t[i(582)](i(616),r)}}}}))})),this[t(433)][t(528)][t(532)](t(636))[t(377)]({view:t(344),model:e=>t(450)+e,converterPriority:t(442)}),this[t(433)][t(528)][t(532)](t(636))[t(377)]({view:t(401),model:e=>t(476)+e,converterPriority:t(442)}),this[t(433)][t(528)][t(532)](t(588))[t(366)]({model:t(385),view:e=>({name:t(483)+e,group:t(385)}),converterPriority:t(442)}),this[t(433)][t(528)][t(532)](t(545))[t(437)]({model:t(385),view:e=>{const i=t,n=e[i(635)][i(495)](":")[1];return i(551)!=n&&i(526)!=n?null:{classes:[i(651),i(594)+n]}}}),this[t(433)][t(573)][t(360)].on(t(562),wr(this[t(433)],t(454)),{priority:t(342)}),this[t(433)][t(573)][t(360)].on(t(590),wr(this[t(433)],t(495)),{priority:t(342)}),this[t(433)][t(573)][t(360)].on(t(620),((e,i,n)=>{const r=t,s=n[r(388)][r(537)](i[r(635)]);if(s)for(const t of s)t.is(r(643))&&(n[r(388)][r(359)](t,i[r(635)]),n[r(393)][r(569)](t))}),{priority:t(342)})}[vr(463)](t){const e=vr;return this[e(515)][e(576)](t)}[vr(632)](t){const e=vr;return this[e(615)]&&this[e(615)][e(439)](),this[e(615)]=new sr(this[e(433)][e(405)],t),this[e(615)]}[vr(337)](){const t=vr;this[t(433)][t(587)][t(363)][t(339)][t(398)](t(353)),this.on(t(431),((e,i,n,r)=>{const s=t;r&&this[s(539)][s(569)](r),n&&(this[s(539)][s(494)]({view:n,stackId:s(491),position:{target:()=>{const t=s,e=this[t(433)][t(573)],i=this[t(463)](n[t(371)]);let r;if(i[t(351)][t(412)]){const n=e[t(626)][t(648)](i[t(609)]);r=Array[t(357)](n[t(608)]())}else{const i=this[t(433)][t(587)][t(536)][t(576)](t(460)+n[t(371)]);r=Array[t(357)](e[t(388)][t(537)](i[t(482)]))[t(589)]((i=>e[t(626)][t(462)][t(485)](i)))[t(589)]((e=>Array[t(357)](e[t(608)]())))[t(542)]()}return this[t(574)]&&r[t(584)]((e=>e[t(461)]-3<=this[t(574)].y&&e[t(540)]+3>=this[t(574)].y&&e[t(414)]-3<=this[t(574)].x&&e[t(541)]+3>=this[t(574)].x))||r[0]}}}),this[s(539)][s(481)](s(491)))})),this.on(t(356),((e,i,n,r)=>{const s=t;this[s(629)]=n?this[s(632)](n):null,this[s(433)][s(587)][s(525)]((()=>{const t=s,e=this[t(433)][t(573)];r&&(r[t(351)][t(412)]?e[t(626)][t(525)]((i=>{const n=t;i[n(367)](n(616),e[n(626)][n(363)][n(606)](r[n(609)]))})):e[t(637)](t(460)+r.id)),n&&(n[t(351)][t(412)]?e[t(626)][t(525)]((i=>{const r=t;i[r(582)](r(616),e[r(626)][r(363)][r(606)](n[r(609)]))})):e[t(637)](t(460)+n.id))}))})),this[t(443)](this[t(433)][t(573)][t(626)][t(363)],t(493),((e,i)=>{const n=t;if(this[n(642)])return;const r=this[n(644)](i[n(611)]),s=this[n(515)][n(576)](r);s?(this[n(574)]={x:i[n(572)].x,y:i[n(572)].y},this[n(629)]=this[n(632)](s)):(this[n(574)]=null,this[n(629)]=null)})),this[t(443)](this[t(433)][t(573)][t(626)][t(363)],t(567),((e,i)=>{const n=t,r=this[n(644)](i[n(611)]),s=this[n(515)][n(576)](r);s?(this[n(574)]={x:i[n(572)].x,y:i[n(572)].y},s===this[n(642)]?this[n(539)][n(448)]():this[n(642)]=s):(this[n(574)]=null,this[n(642)]=null)}))}[vr(644)](t){const e=vr;do{const i=t[e(328)](e(347));if(i)return i;t=t[e(378)]}while(t);return null}[vr(399)](){const t=vr;this[t(433)][t(587)][t(525)]((e=>{const i=t;for(const t of this[i(433)][i(587)][i(536)])e[i(384)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=gr;if(!r[s(473)][s(605)](n[s(430)],i[s(482)]))return;const o=n[s(430)][s(566)](),a=n[s(430)][s(634)],c=t[s(587)][s(403)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(325)];h=h||c[s(479)](e);const i=r[s(388)][s(407)](e);if(i&&i[s(570)](s(456)))return;s(362)==t[s(631)]&&c[s(560)](e)&&!c[s(646)](e)&&(e[s(382)]||a[s(326)]?u&&u[s(378)]==e||(u=e,f(t[s(396)]),d=!0):l=l||t[s(396)])}function f(t){const i=s,o=r[i(388)][i(467)](t),a=r[i(393)][i(563)](i(571),{class:i(594)+e});r[i(393)][i(580)](o,a),r[i(388)][i(623)](a,n[i(635)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(484)][e(576)](br);this[e(455)]=!1,this[e(443)](i,e(445),(()=>this[e(613)]())),this[e(443)](i,e(447),(()=>this[e(613)]()))}[vr(415)](){const t=vr,e=this[t(433)],i=e[t(484)][t(576)](br),n=i[t(489)]?i[t(383)][t(400)]:null;e[t(411)][t(576)](t(593))[t(425)](n)}[vr(613)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(433)][t(484)][t(576)](br),s=r&&n[t(327)](r[t(400)]);this[t(422)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(484)][i(576)](br);this[i(455)]=!1,this[i(618)]=i(471)===e?1:-1,this[i(443)](n,i(445),(()=>this[i(613)]())),this[i(443)](n,i(447),(()=>this[i(613)]())),this[i(443)](n,i(356),(()=>this[i(613)]()))}[vr(415)](){const e=vr,i=this[e(433)],n=i[e(484)][e(576)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(642)]=r?n[e(383)][e(349)][e(576)](s+this[e(618)]):n[e(383)][e(349)][e(458)],n[e(642)][e(351)][e(412)])o=i[e(573)][e(626)][e(648)](n[e(642)][e(609)]);else{const t=i[e(587)][e(536)][e(576)](e(460)+n[e(642)].id);o=(0,Bi.getMarkerDomElement)(i[e(573)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(613)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(433)][t(484)][t(576)](br);this[t(422)]=!!(s&&r&&n)&&(!e||(1===this[t(618)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["isBackwardNavigationEnabled","96306VRvNSW","3rNfKLk","1342358InwcyR","978165iSqbUe","numberOfChanges","Show next change","bindTemplate","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","isEnabled","isNavigationMode","execute","backward","isReady","Loading...","355628GKACSp","ck-revision-history-ui__changes-navigation","isForwardNavigationEnabled","Show previous change","span","No changes","8uPVGRm","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","forward","div","_statusText","ck-revision-history-ui__changes-navigation__label","bind","33244486HGKrVj","X_OF_Y_CHANGES","set","EDIT_X_OF_Y_REVISIONS","201563DQhXnk","setTemplate","355tApMOo","ck-hidden","3137448AuWxjp","Total","ck-revision-history-ui","fire","NUMBER_OF_CHANGES","30JnnJrJ"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=182]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(602360===-parseInt(e(209))/1+parseInt(e(222))/2*(-parseInt(e(221))/3)+-parseInt(e(213))/4+parseInt(e(211))/5*(-parseInt(e(220))/6)+parseInt(e(191))/7*(parseInt(e(197))/8)+parseInt(e(223))/9*(parseInt(e(218))/10)+parseInt(e(205))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Ar extends Dn.View{constructor(t){const e=Tr;super(t);const i=this[e(182)],n=new Dn.ButtonView(t),r=new Dn.ButtonView(t);this[e(207)](e(186),!1),this[e(207)](e(189),!1),this[e(207)](e(183),0),this[e(207)](e(224),0),this[e(207)](e(193),!1),this[e(207)](e(219),!1),this[e(204)](e(199)).to(this,e(189),this,e(224),((t,e)=>t&&e>0)),this[e(204)](e(202)).to(this,e(189),this,e(183),this,e(224),this,e(186),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(190));if(!r)return Xi(t,o(196));const a=Xi(t,o(217),r);return s?Xi(t,o(206),[n+1,r]):a})),n[e(207)]({label:Xi(t,e(194)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(207)]({label:Xi(t,e(225)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(204)](e(185)).to(this,e(219)),r[e(204)](e(185)).to(this,e(193)),n.on(e(187),(()=>this[e(216)](e(187),e(188)))),r.on(e(187),(()=>this[e(216)](e(187),e(200)))),this[e(210)]({tag:e(201),attributes:{class:["ck",e(215),e(192)]},children:[{tag:e(195),attributes:{class:[e(198)]},children:[{tag:e(195),attributes:{class:[e(203),i.if(e(199),e(212),(t=>!t))]},children:[{text:i.to(e(186),(i=>i?Xi(t,e(208))+": ":Xi(t,e(214))+": "))}]},{text:i.to(e(202))}]},new Dn.ToolbarSeparatorView,{tag:e(201),attributes:{class:[e(184)]},children:[n,r]}]})}}var Nr=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Vr=Er;function Mr(){const t=["967296ewfJHP","893151LeqIFz","show","ck-editor__editable__loading-overlay","213896ninvNC","editor","hide","roots","53330uZdQta","addClass","isOfficialPlugin","110QmyprC","view","741180cAxCdR","RevisionViewerLoadingOverlay","126ENYCoA","pluginName","document","216YGQlty","change","editing","2234ZtbeGs","removeClass","874245pvnRiT","isPremiumPlugin","4lDzYLC"];return(Mr=function(){return t})()}!function(t){const e=Er,i=t();for(;;)try{if(270214===parseInt(e(255))/1*(parseInt(e(252))/2)+-parseInt(e(260))/3+-parseInt(e(259))/4*(-parseInt(e(257))/5)+-parseInt(e(247))/6+-parseInt(e(261))/7+-parseInt(e(264))/8*(-parseInt(e(249))/9)+parseInt(e(268))/10*(parseInt(e(271))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mr);const Dr=Vr(263);function Er(t,e){const i=Mr();return(Er=function(t,e){return i[t-=246]})(t,e)}class Cr extends qi.Plugin{static get[Vr(250)](){return Vr(248)}static get[Vr(270)](){return!0}static get[Vr(258)](){return!0}[Vr(262)](){const t=Vr,e=this[t(265)][t(254)][t(246)];e[t(253)]((i=>{const n=t;for(const t of e[n(251)][n(267)])i[n(269)](Dr,t)}))}[Vr(266)](){const t=Vr,e=this[t(265)][t(254)][t(246)];e[t(253)]((i=>{const n=t;for(const t of e[n(251)][n(267)])i[n(256)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Pr();return(Fr=function(t,e){return i[t-=148]})(t,e)}function Pr(){const t=["show","execute","677DsMkRa","isOfficialPlugin","exitToEditing","set","4dXrHhl","Back to editing","1057146UXmzwa","editor","commands","isNavigationMode","30NmAMOP","Restore this revision","38595492AaUSfE","1800dSTceX","isBackwardNavigationEnabled","requires","showPreviousChange","closeRevisionViewerCallback","710765CcZXHz","undo","RevisionViewerUI","isPremiumPlugin","forward","numberOfChanges","componentFactory","init","isReady","showNextChange","7578PLPDOj","get","ck-revision-history-ui__back-to-editing","40038VVjgOy","bind","config","changesNavigation","restoreRevision","hide","listenTo","1874qEVabD","1043QGiKvM","plugins","revisionHistory","1979265IVwINC","isForwardNavigationEnabled","add","pluginName","change:isReady","isEnabled","currentChangeNumber"];return(Pr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(835035===-parseInt(e(194))/1*(parseInt(e(181))/2)+-parseInt(e(149))/3+-parseInt(e(198))/4*(parseInt(e(185))/5)+-parseInt(e(174))/6*(parseInt(e(182))/7)+-parseInt(e(156))/8*(-parseInt(e(171))/9)+-parseInt(e(153))/10*(parseInt(e(161))/11)+parseInt(e(155))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pr);class Lr extends qi.Plugin{static get[jr(188)](){return jr(163)}static get[jr(195)](){return!0}static get[jr(164)](){return!0}static get[jr(158)](){return[br,Cr]}[jr(168)](){const t=jr,e=this[t(150)],i=e[t(183)][t(172)](br),n=e[t(183)][t(172)](Cr);e.ui[t(167)][t(187)](t(196),(i=>{const n=t,r=new Dn.ButtonView(i);return r[n(197)]({label:Xi(i,n(148)),icon:qi.icons[n(162)],withText:!0,tooltip:!0,class:n(173)}),this[n(180)](r,n(193),(()=>{const t=n;e[t(176)][t(172)](t(184))[t(160)]()})),r})),e.ui[t(167)][t(187)](t(178),(i=>{const n=t,r=new Dn.ButtonView(i);return r[n(197)]({label:Xi(i,n(154)),withText:!0,tooltip:!0}),r[n(175)](n(190)).to(e[n(151)][n(172)](n(178))),this[n(180)](r,n(193),(()=>e[n(193)](n(178)))),r})),e.ui[t(167)][t(187)](t(177),(n=>{const r=t,s=new Ar(n),o=e[r(151)][r(172)](r(159)),a=e[r(151)][r(172)](r(170));return s[r(175)](r(157)).to(o,r(190)),s[r(175)](r(186)).to(a,r(190)),s[r(175)](r(169),r(191),r(166),r(152)).to(i),this[r(180)](s,r(193),((t,i)=>{const n=r;e[n(193)](n(165)===i?n(170):n(159))})),s})),n[t(192)](),i.on(t(189),((e,i,r)=>{const s=t;r?n[s(179)]():n[s(192)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Hr;function Zr(){const t=["span","destroy","667260TFDrSL","placeholder","_updateTooltipText","1999432LGNrkX","scrollWidth","element","485253CyOXYj","5jPsxhO","fieldView","clientWidth","value","Revision name","extendTemplate","_tooltipString","113112HsVsff","1839397vXVltm","ck-tooltip_multi-line","5BpOMVm","bindTemplate","input","Enter the revision name","set","_resizeObserver","1791156OrJzaL","render","listenTo","70380PonUfr","ck-revision-history-sidebar__revision-name"];return(Zr=function(){return t})()}function Hr(t,e){const i=Zr();return(Hr=function(t,e){return i[t-=201]})(t,e)}!function(t){const e=Hr,i=t();for(;;)try{if(176208===-parseInt(e(206))/1*(-parseInt(e(213))/2)+-parseInt(e(205))/3+-parseInt(e(229))/4+parseInt(e(216))/5*(-parseInt(e(222))/6)+parseInt(e(214))/7+parseInt(e(202))/8+parseInt(e(225))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class $r extends Dn.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(221)]=null;const n=this[i(217)];this[i(220)]({label:Xi(t,i(210)),_tooltipString:""}),this[i(207)][i(230)]=Xi(t,i(219)),this[i(211)]({tag:i(227),attributes:{class:[i(226)],"data-cke-tooltip-text":n.to(i(212)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(215)}})}[Ur(223)](){const e=Ur;super[e(223)](),this[e(221)]=new t.ResizeObserver(this[e(207)][e(204)],(()=>this[e(201)]())),this[e(224)](this[e(207)],e(218),(()=>this[e(201)]()))}[Ur(228)](){const t=Ur;super[t(228)](),this[t(221)]&&this[t(221)][t(228)]()}[Ur(201)](){const t=Ur,e=this[t(207)][t(204)];this[t(212)]=e[t(203)]>e[t(208)]&&e[t(209)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=261]})(t,e)}function Jr(){const t=["1266397YmhLtS","0 0 11 10","53076Dxdoqx","76545LWCELp","ck-revision-history-sidebar__revision-author__name","name","2894538eLWdmh","span","2112786kiMjQG","8wmSzHf","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","104UCVqwp","Revision creator","setTemplate","2528FXQUii","Revision author","push","15615oeTnpr","set","10SrQEyU","257784XkHYcb","60UDuacg","21vwFuHK"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(742211===parseInt(e(272))/1*(-parseInt(e(284))/2)+-parseInt(e(277))/3*(-parseInt(e(263))/4)+parseInt(e(278))/5+-parseInt(e(281))/6*(-parseInt(e(274))/7)+parseInt(e(266))/8*(parseInt(e(269))/9)+-parseInt(e(271))/10*(-parseInt(e(275))/11)+-parseInt(e(273))/12*(parseInt(e(283))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends Dn.View{constructor(t,e,i){const n=Yr;super(t);const r=new Dn.IconView;r[n(270)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(276)});const s=["ck",n(261)];i&&s[n(268)](n(262));const o=[{tag:n(282),attributes:{class:["ck",n(279)],title:Xi(t,n(i?264:267))},children:[r,e[n(280)]]}];this[n(265)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Qr();return(Kr=function(t,e){return i[t-=282]})(t,e)}function Qr(){var t=["465270lKdiVX","2728DQfDZJ","516Hkxfaq","4484192QASehm","41335OuNXVz","numeric","long","12466090fIUKGo","63rqIGes","toLocaleTimeString","61DeNppC","toLocaleDateString","3140DhBreQ","2831769CtsfhG"];return(Qr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(300153===parseInt(e(293))/1*(-parseInt(e(284))/2)+-parseInt(e(291))/3*(parseInt(e(295))/4)+-parseInt(e(283))/5+-parseInt(e(285))/6*(parseInt(e(287))/7)+-parseInt(e(286))/8+parseInt(e(282))/9+parseInt(e(290))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Xr.A,ts);Xr.A&&Xr.A.locals&&Xr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=200]})(t,e)}function is(){const t=["listenTo","listView","stopPropagation","Show more items","locale","15603nVJOLE","first","items","function","execute","_action","bind","Restore this revision","threeVerticalDots","isVisible","isOpen","source","8542611ecAxjd","ck-on","find","Compare against selected","296jIxdty","map","3752WPuNAn","1022446LpWIYD","menu","Name this revision","48310ebExuO","children","add","extendTemplate","menuitem","ck-revision-history-sidebar__revision__actions","isEnabled","16122400ZdnqEo","button","change:isActionsDropdownOpen","3761112XVNdNT","isReady","bindTemplate","class","911835eJMxjR","action","model","name","buttonView","set","2IsCOaI","panelPosition","isActionsDropdownOpen"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(544323===-parseInt(e(224))/1*(-parseInt(e(247))/2)+-parseInt(e(241))/3+-parseInt(e(221))/4*(-parseInt(e(227))/5)+parseInt(e(237))/6+-parseInt(e(205))/7*(-parseInt(e(223))/8)+-parseInt(e(217))/9+-parseInt(e(234))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;function os(){const t=["ck-revision-history-sidebar__revision__date","unshift","220","fire","isActionsDropdownOpen","createdAt","isReady","35oVdoEH","deselect","length","setTemplate","fieldView","1625480iNVbyq","ck-revision-history-sidebar__revision__controls-wrapper","from","isHighlighted","bindTemplate","ck-revision-history-sidebar__revision-authors","creator","span","ck-revision-history-sidebar__revision_selected","113094fYNSUc","closest","26147spIAqJ","revisionActionsView","value","bind","select","authors","2sQgUEA","set","name","2280NrqaMf","ck-revision-history-sidebar__revision","ck-disabled","change","highlight","266974tFpUbk","_requireRevisionName","extendTemplate","213261vrtDok","unhighlight","ck-revision-history-sidebar__revision_highlighted","4238091KzEoAe","revisionNameView","uiLanguage","ck-revision-history-sidebar__actions_dropdown_open","_createdAtFormatted","element","isConfirm","ck-revision-history-sidebar__revision-wrapper","2000922FvdgHg","16WZxyyP","8tIitxi","_revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","map","div","isSelected","render","isEnabled","filter","setName",".ck-thread__remove-confirm","ck-reset","srcElement","listenTo"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(253346===-parseInt(e(461))/1*(parseInt(e(469))/2)+-parseInt(e(472))/3*(-parseInt(e(417))/4)+-parseInt(e(439))/5*(-parseInt(e(453))/6)+parseInt(e(416))/7+parseInt(e(418))/8*(-parseInt(e(475))/9)+-parseInt(e(444))/10+parseInt(e(455))/11*(parseInt(e(464))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(Dn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(448)],a=function(t,e){const i=s,n=Array[i(446)](e[i(460)])[i(426)]((t=>t!=e[i(450)]));return e[i(450)]&&n[i(433)](e[i(450)]),n[i(421)]((n=>new Gr(t,n,n==e[i(450)])))}(e,i);this.id=i.id,this[s(419)]=i,this[s(470)]=r,this[s(458)](s(463),s(437)).to(i),this[s(458)](s(412)).to(this,s(437),(t=>{return i=e[s(410)],(n=t)[(r=Kr)(294)](i,{month:r(289),day:r(288)})+", "+n[r(292)](i,{hour:r(288),minute:r(288)});var i,n,r})),this[s(462)](s(423),!1),this[s(462)](s(447),!1),this[s(462)](s(436),!1),this[s(462)](s(438),!1),this[s(462)](s(425),!1),this[s(409)]=new $r(e,Dn.createLabeledInputText),this[s(409)][s(443)][s(471)]({attributes:{maxlength:s(434)}}),this[s(409)][s(443)][s(458)](s(457)).to(this,s(463),(t=>t||this[s(412)])),this[s(409)][s(458)](s(425)).to(this,s(423),this,s(425),((t,e)=>t&&e)),this[s(456)]=n&&n[s(441)]?function(e,i){const n=es,r=e[n(239)],s=e[n(204)],o=(0,Dn.createDropdown)(s);o[n(248)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(204)],r={"Compare against selected":Xi(n,i(220)),"Name this revision":Xi(n,i(226)),"Restore this revision":Xi(n,i(212))};return e[i(222)]((t=>{const e=i,n=r[t[e(244)]];return n&&n!==t[e(244)]&&(t[e(244)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(235),model:new Dn.ViewModel({label:t[r(244)],class:t[r(240)],withText:!0,role:r(231),_action:t[r(242)]})};i[r(243)][r(211)](r(233)).to(e,r(249),(i=>r(208)!=typeof t[r(233)]||!i||t[r(233)](e))),o[r(229)](i)}return o}(e,i);return e[n(211)](n(249)).to(o,n(215)),o[n(245)][n(246)]({label:Xi(s,n(203)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(213)]}),o[n(230)]({attributes:{class:[n(232),r.if(n(249),n(218))]},on:{click:r.to((t=>t[n(202)]()))}}),o.on(n(209),(t=>{const i=n;e[i(238)]&&i(208)==typeof t[i(216)][i(210)]&&t[i(216)][i(210)](e)})),(0,Dn.addListToDropdown)(o,a,{role:n(225)}),o[n(200)](e,n(236),((t,r,s)=>{const a=n;if(s)for(const t of o[a(201)][a(207)]){const n=t[a(228)][a(206)],r=i[a(219)]((t=>t[a(242)]===n[a(210)]))[a(214)];t[a(214)]=void 0===r||r(e)}})),o}(this,n):"",this[s(456)]&&this[s(456)][s(458)](s(425)).to(this),this[s(442)]({tag:s(422),attributes:{class:["ck",s(429),s(415),o.if(s(414),s(420))]},children:[{tag:s(422),attributes:{class:["ck",s(429),s(465),o.if(s(425),s(466),(t=>!t)),o.if(s(423),s(452)),o.if(s(447),s(474)),o.if(s(436),s(411))]},children:[this[s(409)],{tag:s(451),attributes:{class:["ck",s(432)]},children:[{text:o.to(s(412))}]},{tag:s(422),attributes:{class:["ck",s(445)]},children:[{tag:"ul",attributes:{class:["ck",s(449)]},children:a}]},this[s(456)]],on:{click:o.to((t=>{const e=s;t[e(430)][e(454)](e(428))||this[e(438)]&&this[e(425)]&&this[e(435)](e(459),{id:this.id})}))}}]})}[ss(424)](){const t=ss;super[t(424)]();const e=this[t(409)][t(443)][t(413)];this[t(431)](e,t(467),(()=>{const i=t;this[i(470)]&&!e[i(457)]||this[i(435)](i(427),{id:this.id,name:e[i(457)]}),e[i(457)]||(e[i(457)]=this[i(463)]?this[i(463)]:this[i(412)])}))}[ss(459)](){this[ss(423)]=!0}[ss(440)](){this[ss(423)]=!1}[ss(468)](){this[ss(447)]=!0}[ss(473)](){this[ss(447)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},As={hour:ys,minute:ys,second:ys,timeZoneName:ks},Ns={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys},Es={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}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=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,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),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Qs={};let Xs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).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=Qs[i];return n||(n=new Intl.NumberFormat(t,e),Qs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{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&&Ys.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 r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}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 so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Xs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Xs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={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."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[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 oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Qs={},Xs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,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=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,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=r,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"===new Intl.DateTimeFormat(t.intl).resolvedOptions().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?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(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 io(this,t,ga,(()=>{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=wu.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 io(this,t,_a,(()=>{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=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.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 no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}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 co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(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 lo extends Us{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 ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={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]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ao=[0,31,59,90,120,151,181,212,243,273,304,334],No=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Vo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Mo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Do(t,e){const i=ia(t)?No:Ao,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Eo(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Mo(n,r,s),a=Eo(Vo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Eo(Vo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Do(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Mo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Do(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(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 zo(t){const e=Ho(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Ho(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(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 oa(t,e,i){return-Eo(Vo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(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 ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];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 ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Aa(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Na={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:As,T:Ns,TT:Rs,TTT:Vs,TTTT:Ms,f:Ds,ff:Cs,fff:Ps,ffff:zs,F:Es,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Na[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 Ko(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,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Aa(Ra.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 s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({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?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({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?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({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?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({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?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({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=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Aa(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Va=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ma(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Da(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Ea(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 Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Qo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Va.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Va.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Qo(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ja=/^-?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 Ga(t){const[e,i,n,r,s,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(Xo(i)),months:d(Xo(n)),weeks:d(Xo(r)),days:d(Xo(s)),hours:d(Xo(o)),minutes:d(Xo(a)),seconds:d(Xo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Qo(e)):Qo(e),month:va.indexOf(i)+1,day:Qo(n),hour:Qo(r),minute:Qo(s)};return o&&(a.second=Qo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Xa=/^(?:(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 tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Qa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(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$/,ic=/^(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$/,nc=/^(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 rc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ma(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Ma(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Ma(/(\d{4})-?(\d{3})/,La),uc=Ma(Pa),lc=Da((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Da(za,$a,qa,Ba),dc=Da(Wa,$a,qa,Ba),fc=Da($a,qa,Ba);const mc=Da($a);const pc=Ma(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ma(Ua),yc=Da($a,qa,Ba);const gc="Invalid Duration",kc={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}},bc={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},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,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:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(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 Nc(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Ac(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Nc{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Nc.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Nc({values:da(t,Nc.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Nc.fromMillis(t);if(Nc.isDuration(t))return t;if("object"==typeof t)return Nc.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ea(t,[Ja,Ga])}(t);return i?Nc.fromObject(i,e):Nc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Ea(t,[Ya,mc])}(t);return i?Nc.fromObject(i,e):Nc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Nc({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 ms(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?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(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+=ea(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 wu.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?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Nc.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Nc.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]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Nc.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Nc.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(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 Ac(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(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=>Nc.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Zo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Zo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Ac(this.matrix,e),xc(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 xc(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;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Vc{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 ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Vc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Vc.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:Vc.invalid("missing or invalid end"):Vc.invalid("missing or invalid start")}(i,n);return null==r?new Vc({start:i,end:n}):r}static after(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Vc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Vc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Vc.fromDateTimes(t,s);if(r){const i=Nc.fromISO(n,e);if(i.isValid)return Vc.after(t,i)}else if(o){const t=Nc.fromISO(i,e);if(t.isValid)return Vc.before(s,t)}}return Vc.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 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?Vc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Vc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Nc.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Vc.fromDateTimes(n,i)),n=i,r+=1}return s}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:Vc.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 Vc.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=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Vc.fromDateTimes(e,t.time)),e=null);return Vc.merge(n)}difference(...t){return Vc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[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=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Nc.invalid(this.invalidReason)}mapEndpoints(t){return Vc.fromDateTimes(t(this.s),t(this.e))}}class Mc{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Dc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Nc.fromMillis(n).as("days"))}function Ec(t,e,i,n){let[r,s,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=Dc(t,e);return(i-i%7)/7}],["days",Dc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Nc.fromObject(s,n);return u.length>0?Nc.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(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(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={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 Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(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 zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\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 r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(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),Uo(t.u)||(t.S=ta(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(Yo(i,"a")&&Yo(i,"H"))throw new fs("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:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=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=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Qc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Xc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(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 nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Nc.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=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(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 ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=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 r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(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 ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Zo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,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 wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Zo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Zo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Lo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ea(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Ea(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Xa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Ea(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Ea(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}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?Qc(this).weekYear:NaN}get weekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get weekday(){return this.isValid?Qc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Xc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Xc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Mc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Mc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Mc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Mc.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=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.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]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(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=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Nc.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?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(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")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[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 Nc.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Nc.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Ec(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Vc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.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||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return As}static get TIME_24_SIMPLE(){return Ns}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Vs}static get TIME_24_WITH_LONG_OFFSET(){return Ms}static get DATETIME_SHORT(){return Ds}static get DATETIME_SHORT_WITH_SECONDS(){return Es}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=194]})(t,e)}function Su(){const t=["2267965ieuivM","startOf","6kogpUZ","minus","fromJSDate","toRelativeCalendar","year","hasSame","3470920KiyYMp","monthLong","34827ivlsDP","week","708486uyCRbb","1107jBfmSY","toJSDate","day","setLocale","1330HLKOHG","10KAIATF","960972GlKLfX","92GHPpWY","11CMRSuH","month","11402naokqM","weekdayLong","local"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(211)](t)[i(197)](e),r=wu[i(206)](),s=r[i(210)]({days:1})[i(208)](i(196));let o,a;return n[i(214)](r,i(196))?(o=n[i(208)](i(196))[i(195)](),a=n[i(212)]()):n[i(214)](s,i(196))?(o=s[i(195)](),a=n[i(212)]()):n[i(214)](r,i(218))?(o=n[i(208)](i(218))[i(195)](),a=n[i(205)]||""):n[i(214)](r,i(213))?(o=n[i(208)](i(203))[i(195)](),a=n[i(216)]||""):(o=n[i(208)](i(213))[i(195)](),a=String(n[i(213)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(225175===parseInt(e(209))/1*(parseInt(e(204))/2)+-parseInt(e(217))/3*(parseInt(e(201))/4)+parseInt(e(199))/5*(-parseInt(e(219))/6)+parseInt(e(207))/7+parseInt(e(215))/8+parseInt(e(194))/9*(parseInt(e(198))/10)+parseInt(e(202))/11*(-parseInt(e(200))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Au=Nu;function Nu(t,e){const i=Vu();return(Nu=function(t,e){return i[t-=356]})(t,e)}!function(t){const e=Nu,i=t();for(;;)try{if(339809===parseInt(e(383))/1*(parseInt(e(368))/2)+-parseInt(e(382))/3*(parseInt(e(362))/4)+parseInt(e(378))/5*(parseInt(e(379))/6)+parseInt(e(370))/7*(parseInt(e(376))/8)+-parseInt(e(371))/9*(parseInt(e(381))/10)+-parseInt(e(358))/11*(-parseInt(e(389))/12)+-parseInt(e(386))/13*(-parseInt(e(363))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vu);class Ru extends Dn.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Ou(e,this[r(365)][r(366)])[r(357)];this[r(387)]=e,this[r(374)]=this[r(364)](),this[r(385)]=i,this[r(373)]=n,this[r(374)][r(391)](r(359)).to(this),this[r(374)][r(391)](r(360)).to(this),this[r(384)]({tag:r(367),attributes:{class:["ck",r(380)]},children:[{tag:r(361),attributes:{class:["ck",r(372)]},children:[{text:s}]},{tag:r(367),attributes:{class:["ck",r(390)]},children:this[r(374)]}]})}[Au(388)](t){const e=Au,i=new cs(this[e(365)],t,this[e(385)],this[e(373)]);this[e(374)][e(369)](i)}[Au(356)](t){const e=Au,i=this[e(374)][e(375)]((e=>e.id===t.id));this[e(374)][e(377)](i)}}function Vu(){const t=["2640190fIUpUc","386433xuJDiU","56119AQUSKg","setTemplate","_revisionActions","26aPFcsz","startDate","addRevision","2670612ojjEMu","ck-revision-history-sidebar__time-period__revisions","delegate","removeRevision","localizedPeriodName","33qIKLlN","select","setName","span","20lDeYqW","724402KWByEJ","createCollection","locale","uiLanguage","div","4iZdIwb","add","7nflPsz","18YyRJQe","ck-revision-history-sidebar__time-period__label","_requireRevisionName","revisionViews","find","3949912LQhwsz","remove","35470ruTpPk","114odPSfs","ck-revision-history-sidebar__time-period"];return(Vu=function(){return t})()}var Mu=i(173),Du={attributes:{"data-cke":!0}};Du.setAttributes=Wn(),Du.insert=Ln().bind(null,"head"),Du.domAPI=Fn(),Du.insertStyleElement=Zn();Cn()(Mu.A,Du);Mu.A&&Mu.A.locals&&Mu.A.locals;function Eu(t,e){const i=Cu();return(Eu=function(t,e){return i[t-=157]})(t,e)}function Cu(){const t=["1328hHTIjP","ck-revision-history-sidebar__header__label","content","history","4284049FLUQsW","2735VtlJFN","18HfGYDm","472tVwPIO","757UZtppk","div","Revision history","span","885462xBmQCQ","ck-revision-history-sidebar__header","setTemplate","79570eLLROw","ck-reset_all","758396SrAedD","13517ufOSIE","1428DndCKK"];return(Cu=function(){return t})()}!function(t){const e=Eu,i=t();for(;;)try{if(160872===parseInt(e(164))/1*(-parseInt(e(163))/2)+-parseInt(e(168))/3+-parseInt(e(173))/4+parseInt(e(161))/5*(parseInt(e(175))/6)+parseInt(e(174))/7*(parseInt(e(176))/8)+parseInt(e(162))/9*(-parseInt(e(171))/10)+parseInt(e(160))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends Dn.View{constructor(t){const e=Eu;super(t);const i=new Dn.IconView;i[e(158)]=qi.icons[e(159)],this[e(170)]({tag:e(165),attributes:{class:["ck",e(172),e(169)]},children:[i,{tag:e(167),attributes:{class:["ck",e(157)]},children:[Xi(t,e(166))]}]})}}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Zn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=Wu;function zu(){const t=["_revisions","65XiPAae","1322194npQfhT","bindTemplate","setName","delegate","72275PStOGd","deselect","1412560qBftfD","some","revisionViews","ck-reset","117948ppSAKn","set","ck-disabled","fire","remove","flat","unhighlight","startDate","986921bJillp","_revisionActions","locale","div","createCollection","revisionSelected","uiLanguage","select","add","34064470tErreP","revisionSetName","getTime","selectRevision","_getTimePeriodViewByStartDate","removeRevision","createdAt","3RAaBBz","isEnabled","get","ck-revision-history-sidebar__timeline","_addRevision","addRevision","find","8529129niqTdy","setTemplate","_removeRevision","ck-rounded-corners","timePeriodViews","highlight","highlightRevisions","_requireRevisionName","ck-revision-history-sidebar","714WOVCHB","render","map"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=375]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(624688===parseInt(e(407))/1+-parseInt(e(389))/2*(-parseInt(e(423))/3)+parseInt(e(399))/4*(parseInt(e(388))/5)+-parseInt(e(384))/6*(-parseInt(e(393))/7)+-parseInt(e(395))/8+parseInt(e(375))/9+-parseInt(e(416))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends Dn.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(390)];this[r(379)]=this[r(411)](),this[r(379)][r(392)](r(414)).to(this),this[r(379)][r(392)](r(391)).to(this),this[r(387)]=e,this[r(408)]=i,this[r(382)]=n,this.on(r(414),((t,e)=>{const i=r;this[i(402)](i(412),e)})),this.on(r(391),((t,e)=>{const i=r;this[i(402)](i(417),e)})),this[r(400)](r(424),!1),this[r(376)]({tag:r(410),attributes:{class:["ck",r(398),r(378),r(383)]},children:[new ju(t),{tag:r(410),attributes:{class:["ck",r(426),s.if(r(424),r(401),(t=>!t))]},children:this[r(379)]}]})}[Lu(385)](){const t=Lu;super[t(385)]();for(const e of this[t(387)])this[t(427)](e);this[t(387)].on(t(415),((e,i)=>{this[t(427)](i)})),this[t(387)].on(t(403),((e,i)=>{this[t(377)](i)}))}get[Lu(397)](){const t=Lu;return this[t(379)][t(386)]((e=>e[t(397)][t(386)]((t=>t))))[t(404)]()}[Lu(419)](t){const e=Lu;for(const i of this[e(397)])t&&t.id===i.id?i[e(414)]():i[e(394)]()}[Lu(381)](t){const e=Lu;for(const i of this[e(397)])t[e(396)]((({id:t})=>t===i.id))?i[e(380)]():i[e(405)]()}[Lu(427)](t){const e=Lu,i=Ou(t[e(422)],this[e(409)][e(413)])[e(406)];let n=this[e(379)][e(425)](0);n&&n[e(406)][e(418)]()===i[e(418)]()||(n=new Ru(this[e(409)],i,this[e(408)],this[e(382)]),this[e(379)][e(415)](n)),n[e(428)](t)}[Lu(377)](t){const e=Lu,i=Ou(t[e(422)],this[e(409)][e(413)])[e(406)];this[e(420)](i)[e(421)](t)}[Lu(420)](t){const e=Lu;return this[e(379)][e(429)]((i=>i[e(406)][e(418)]()===t[e(418)]()))}}const Zu=$u;function Hu(){const t=["bind","_revisions","timePeriodViews","Restore this revision","103846PBsCdf","Name this revision","revisionHistory.viewerSidebarContainer","9WKHIPz","plugins","675852RwXrwW","77928bmQnFG","revisionHistory.revisionActions","pluginName","restoreRevisionCallback","_createRevisionActions","appendChild","fieldView","data","render","890xNrKzk","isSelected","RevisionsSidebar","isReady","getEarlierVisibleRevision","remove","highlightRevisions","_handleDiffChange","compare","6391zFwuEC","config","destroy","isPremiumPlugin","string","change:diff","defaultRevisionActions","revisionHistory","getLaterVisibleRevision","Compare against selected","setName","nameRevision","_handleRevisionSetName","isVisible","getRevision","revisionViews","6YXWDaY","editor","availableRevisionActions","revisionHistory.requireRevisionName","revisionSelected","element","focus","action","1480725XwpRVA","_handleEditorDataReady","_revisionsRepository","select","getIndex","286xVoktR","requires","7640cvQZKL","init","7ZNDYlw","isOfficialPlugin","selectRevision","listenTo","getRevisionsInDiff","_revisionViewer","restoreRevision","name","isEnabled","locale","_handleRevisionSelected","revisionSetName","compareAgainstSelected","12088rOvgQW","diff","add","repository","map","4833052ZdkIlc","length","assign","_sidebarView","get","newRevisionId","ready"];return(Hu=function(){return t})()}function $u(t,e){const i=Hu();return($u=function(t,e){return i[t-=463]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(392701===-parseInt(e(494))/1*(-parseInt(e(523))/2)+parseInt(e(485))/3+parseInt(e(507))/4*(parseInt(e(538))/5)+-parseInt(e(477))/6*(-parseInt(e(512))/7)+-parseInt(e(529))/8*(parseInt(e(526))/9)+parseInt(e(492))/10*(-parseInt(e(547))/11)+-parseInt(e(528))/12*(parseInt(e(490))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class qu extends qi.Plugin{static get[Zu(531)](){return Zu(540)}static get[Zu(495)](){return!0}static get[Zu(464)](){return!0}static get[Zu(491)](){return[br]}constructor(t){const e=Zu;super(t),this[e(499)]=t[e(527)][e(516)](br),this[e(487)]=this[e(499)][e(510)],this[e(515)]=null}[Zu(493)](){const t=Zu,e=this[t(487)][t(520)],i=this[t(533)](),n=this[t(478)][t(548)][t(516)](t(525));this[t(515)]=new Uu(this[t(478)][t(503)],e,i,this[t(478)][t(548)][t(516)](t(480))),this[t(515)].on(t(481),this[t(504)][t(519)](this)),this[t(515)].on(t(505),this[t(473)][t(519)](this)),this[t(515)][t(519)](t(502)).to(this[t(499)]),this[t(515)][t(521)].on(t(509),((e,i)=>{const n=t;i[n(476)].on(n(509),((t,e)=>{const i=n;e[i(519)](i(502),i(541)).to(this[i(499)])}))})),this[t(515)][t(537)](),this[t(497)](this[t(478)][t(536)],t(518),this[t(486)][t(519)](this)),this[t(497)](this[t(499)],t(466),this[t(545)][t(519)](this)),n[t(534)](this[t(515)][t(482)])}[Zu(463)](){const t=Zu;this[t(515)][t(482)][t(543)](),this[t(515)][t(463)]()}[Zu(486)](){const t=Zu,e=this[t(487)][t(475)](0);if(e){const i=this[t(487)][t(542)](e.id);this[t(499)][t(546)](e,i)}}[Zu(504)](t,e){const i=Zu,n=this[i(487)][i(475)](e.id),r=this[i(487)][i(542)](n.id);this[i(499)][i(546)](n,r)}[Zu(473)](t,e){const i=Zu;this[i(487)][i(475)](e.id)[i(471)](e[i(501)])}[Zu(545)](t,e,i){const n=Zu,r=this[n(487)][n(498)](i);r[n(513)]>2?(this[n(515)][n(544)](r),this[n(515)][n(496)](null)):(this[n(515)][n(544)]([]),this[n(515)][n(496)](r[0]))}[Zu(533)](){const t=Zu,e=this[t(478)],i=qu[t(479)],n=e[t(548)][t(516)](t(530))||qu[t(467)];if(n[t(513)])return n[t(511)]((n=>{const r=t,s=r(465)==typeof n?Object[r(514)]({},i[n]):n;return s[r(484)]=s[r(484)][r(519)](this,e),s[r(474)]&&(s[r(474)]=s[r(474)][r(519)](this,e)),s}))}}qu[Zu(467)]=[Zu(506),Zu(500),Zu(472)],qu[Zu(479)]={compareAgainstSelected:{name:Zu(470),action:({plugins:t},e)=>{const i=Zu,n=t[i(516)](br),r=n[i(510)];let s=n[i(508)][i(517)],o=e.id;r[i(489)](s)>r[i(489)](o)&&([s,o]=[o,s]),n[i(546)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(516)](br);return!(n[i(510)][i(498)](n[i(508)])[i(513)]>2||e[i(539)])}},restoreRevision:{name:Zu(522),action:(t,{id:e})=>{const i=Zu;t[i(548)][i(516)](i(468))[i(532)](e)},isVisible:({plugins:t},e)=>!!t[Zu(516)](br)[Zu(510)][Zu(469)](e.id)},nameRevision:{name:Zu(524),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(516)](br),s=r[n(510)][n(542)](e);r[n(546)](e,s),i[n(483)](),i[n(535)][n(488)]()}}};const Bu=qu,Yu=Ju;function Ju(t,e){const i=Ku();return(Ju=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=Ju,i=t();for(;;)try{if(473908===-parseInt(e(296))/1+parseInt(e(303))/2*(parseInt(e(301))/3)+parseInt(e(306))/4+-parseInt(e(293))/5+-parseInt(e(281))/6*(-parseInt(e(282))/7)+-parseInt(e(283))/8+parseInt(e(280))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ku);class Gu extends Dn.EditorUI{get[Yu(307)](){return this[Yu(292)]}constructor(e,i){const n=Yu;super(e),this[n(292)]=i,this[n(298)]=(0,Dn.normalizeToolbarConfig)(e[n(264)][n(304)](n(271))),this[n(266)]=new t.ElementReplacer}get[Yu(288)](){const t=Yu;return this[t(307)][t(288)]}[Yu(289)](t){const e=Yu,i=this[e(299)],n=this[e(307)],r=i[e(275)][e(307)],s=n[e(284)],o=r[e(270)][e(267)]();s[e(263)]=o[e(273)],n[e(290)]();const a=s[e(288)];this[e(272)](s[e(263)],a),n[e(284)][e(285)](e(305)).to(this[e(302)]),r[e(278)](a),this[e(266)][e(297)](t,this[e(288)]),this[e(262)](),this[e(295)](e(286))}[Yu(276)](){const t=Yu;super[t(276)]();const e=this[t(307)],i=this[t(299)][t(275)][t(307)];this[t(266)][t(268)](),i[t(277)](e[t(284)][t(263)]),e[t(276)]()}[Yu(262)](){const t=Yu,e=this[t(307)];e[t(269)][t(285)](t(274)).to(this[t(302)],t(305)),e[t(269)][t(300)]=e[t(288)],e[t(269)][t(285)](t(287)).to(this,t(294),(({top:t})=>t)),e[t(271)][t(265)](this[t(298)],this[t(291)]),this[t(279)](e[t(271)])}}function Ku(){const t=["3510015xkcqzw","viewportOffset","fire","536412KmQjZj","replace","_toolbarConfig","editor","limiterElement","1225773FvFRIY","focusTracker","2GHukWv","get","isFocused","2008088FLZSju","view","_initToolbar","name","config","fillFromConfig","_elementReplacer","getRoot","restore","stickyPanel","document","toolbar","setEditableElement","rootName","isActive","editing","destroy","detachDomRoot","attachDomRoot","addToolbar","11628504PbwxlZ","18978IGMuMv","679eOHmjy","6377256njZgej","editable","bind","ready","viewportTopOffset","element","init","render","componentFactory","_view"];return(Ku=function(){return t})()}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Ln().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Zn();Cn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=il;function el(){var t=["render","content","5ncKiCH","top","shouldToolbarGroupWhenFull","add","_editable","11dTmyTd","633361UJPegY","9012ekVdin","11262968GJoYnP","1914WsVhVM","6529758FZCTUc","main","2LBGZHc","toolbar","editable","327870XDZwmu","414hFXuuB","stickyPanel","9783921dmuBcC","31258488YRIkeq"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=276]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(785506===parseInt(e(279))/1*(-parseInt(e(285))/2)+parseInt(e(282))/3*(parseInt(e(280))/4)+parseInt(e(295))/5*(parseInt(e(283))/6)+parseInt(e(291))/7+-parseInt(e(281))/8+-parseInt(e(289))/9*(-parseInt(e(288))/10)+parseInt(e(278))/11*(-parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Dn.BoxedEditorUIView{get[tl(287)](){return this[tl(277)]}constructor(t,e,i={}){var n=tl;super(t),this[n(290)]=new Dn.StickyPanelView(t),this[n(286)]=new Dn.ToolbarView(t,{shouldGroupWhenFull:i[n(297)]}),this[n(277)]=new Dn.InlineEditableUIView(t,e)}[tl(293)](){var t=tl;super[t(293)](),this[t(290)][t(294)][t(276)](this[t(286)]),this[t(296)][t(276)](this[t(290)]),this[t(284)][t(276)](this[t(287)])}}const rl=sl;function sl(t,e){const i=ol();return(sl=function(t,e){return i[t-=287]})(t,e)}function ol(){const t=["fire","locale","1076628UpcnGF","999068gdXgHf","sourceElement","16330xMrdQb","init","model","26192CrTCXk","config","3114DZIkZJ","destroy","view","create","document","initialData","_ui","1562784rQLQRP","updateSourceElement","ready","editing","get","195718SZNiZy","7330757EnZETg","6264Vigxct","data","initPlugins","createRoot"];return(ol=function(){return t})()}!function(t){const e=sl,i=t();for(;;)try{if(936118===parseInt(e(310))/1+-parseInt(e(305))/2+-parseInt(e(290))/3+parseInt(e(291))/4+-parseInt(e(293))/5*(parseInt(e(298))/6)+parseInt(e(311))/7+-parseInt(e(296))/8*(-parseInt(e(312))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(304)]}constructor(t,e){const i=sl;super(e),this[i(292)]=t,this[i(295)][i(302)][i(287)]();const n=new nl(this[i(289)],this[i(308)][i(300)],{shouldToolbarGroupWhenFull:!0});this[i(304)]=new Gu(this,n)}[rl(299)](){const t=rl;return this[t(306)](),this.ui[t(299)](),super[t(299)]()}static async[rl(301)](t,e){const i=rl,n=new this(t,e);return await n[i(314)](),await n.ui[i(294)](t),await n[i(313)][i(294)](n[i(297)][i(309)](i(303))||""),n[i(288)](i(307)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=315]})(t,e)}function ll(){const t=["_viewerEditor","exitToEditing","getAttributeKeys","isAnonymous","disableReadOnlyMode","keys","enqueueChange","_restoreRevision","isOfficialPlugin","5nzMLfe","display","numeric","Annotations","Autosave","RestrictedEditingMode","create","model","revisionHistory.requireRevisionName","config","isEnabled","getMarkersGroup","showRevisionViewerCallback","_closeRevisionViewer","saveRevision","isPremiumPlugin","block","revisionHistory.restoreRevisionCallback","pluginName","$graveyard","parse","getRevisionRootsAttributes","translations","RevisionsRepository","restrictedEditingException","revision-history-viewer-opened","removeAttribute","Restored","_update","RevisionHistory","toVersion","catch","uiLanguage","revisionHistory.viewerContainer","push","4AdnEPG","refreshVisibility","toJSON","RevisionHistoryUI","refreshPositioning","174410PaFBZs","addRoot","changesNavigation","55nJjIcj","fromCharCode","PaginationLookup","_cleanUp","isReady","save","removeMarker","bind","has","markers","getRevision","isAttached","9UySzgb","createRangeIn","revisionHistory.closeRevisionViewerCallback","selection","removeSelectionAttribute","revisionHistory.viewerEditorElement","from","toLocaleDateString","3160208AXLifF","creator","plugins","data","getRoot","locale","337670zyAVxR","define","error","users","get","name","isOpen","roots","_recalculatePageBreaks","addRevisionData","none","getRevisions","RevisionViewerIntegration","addUser","_showRevisionViewer","commands","hide","closeRevisionViewerCallback","2906877xzCnhq","set","detachRoot","includes","adapter","Users","destroy","join","long","fromVersion","toolbar","enableReadOnlyMode","result","restoreRevision","_getRevisionViewerEditorConfig","rootName","revision-history-missing-configuration","editor","lazyRoots","toLocaleTimeString","isReadOnly","document","RevisionTracker","requires","map","change","style","getRevisionData","repository","getUser","6763582OrYRyl","update","1770330HReMHq","then","indexOf","setAttribute","init","revisionHistory.showRevisionViewerCallback","_enhanceCloseRevisionViewerCallback","revisionHistory.editorContainer","insert","RevisionViewer","createdAt","remove","setSelection","451795NYfAIv","end","Dialog","revisionHistory","_enhanceShowRevisionViewerCallback"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(491593===-parseInt(e(324))/1+parseInt(e(378))/2+parseInt(e(425))/3*(-parseInt(e(373))/4)+-parseInt(e(338))/5*(-parseInt(e(457))/6)+parseInt(e(455))/7+-parseInt(e(401))/8*(-parseInt(e(393))/9)+-parseInt(e(407))/10*(-parseInt(e(381))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(376),cl(343)];class dl extends qi.Plugin{static get[cl(356)](){return cl(419)}static get[cl(337)](){return!0}static get[cl(353)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(449)]((t=>String[e(382)](t)))[e(432)]("")}super(t),this[e(437)]=e(325),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 fl extends qi.Plugin{static get[cl(356)](){return cl(367)}static get[cl(337)](){return!0}static get[cl(353)](){return!0}static get[cl(448)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(442)][i(347)][i(411)](i(327)))throw new t.CKEditorError(i(441),this);this[i(329)]=null,this[i(442)][i(347)][i(408)](i(316),(t=>this[i(421)]({...t,translations:this[i(442)][i(406)][i(360)]}))),this[i(442)][i(347)][i(408)](i(395),(t=>this[i(351)](t))),this[i(442)][i(347)][i(408)](i(355),(t=>this[i(336)](t))),this[i(442)][i(347)][i(408)](i(346),!1),this[i(328)](),this[i(317)]()}set[cl(429)](t){const e=cl;this[e(442)][e(403)][e(411)](e(447))[e(429)]=t}get[cl(429)](){const t=cl;return this[t(442)][t(403)][t(411)](t(447))[t(429)]}[cl(416)](t){const e=cl;return this[e(442)][e(403)][e(411)](e(447))[e(416)](t)}[cl(391)](t){const e=cl;return this[e(442)][e(403)][e(411)](e(361))[e(391)](t)}[cl(418)](t){const e=cl;return this[e(442)][e(403)][e(411)](e(361))[e(418)](t||{toJSON:!1})}[cl(439)](){const e=cl,i=this[e(442)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(403)][e(411)](e(447)),s=i[e(403)][e(411)](e(430))[e(410)];return n[e(435)]=[e(330),e(438),e(380)],delete n[e(443)],n[e(403)][e(372)](dl,br,Lr,class extends qi.Plugin{static get[e(448)](){return[br,e(430)]}[e(315)](){const n=e,o=this[n(442)][n(403)][n(411)](n(430));for(const t of s)t[n(332)]||o[n(454)](t.id)||o[n(420)](t);const a=r[n(453)][n(418)]();let c=null;const u=this[n(442)][n(403)][n(411)](n(320));u[n(429)]=r[n(429)],u[n(388)](n(348)).to(r),this[n(442)][n(422)][n(411)](n(438))[n(388)](n(348)).to(i,n(445),(t=>!t));for(const e of a){const i=null===e[n(402)];if(i&&e[n(368)]===e[n(434)])continue;const s=e[n(375)]();u[n(416)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(366)](s,o);else if(!o){const e=a[u(375)]();e.id=(0,t.uid)(),r[u(352)](e,a[u(368)])[u(458)]((t=>{c=t}))}}else e[u(366)](s,o)}))}}},Bu),n}[cl(328)](){const t=cl,e=this[t(442)][t(347)][t(411)](t(327))[t(350)];this[t(442)][t(347)][t(426)](t(316),(async()=>{const i=t;this[i(442)][i(436)](i(363));const n=this[i(442)][i(403)][i(411)](i(447));if(this[i(442)][i(403)][i(389)](i(342))){const t=this[i(442)][i(403)][i(411)](i(342));await t[i(386)]()}else await n[i(456)]();if(this[i(442)][i(403)][i(389)](i(383))&&this[i(442)][i(403)][i(411)](i(383))[i(415)](),this[i(442)][i(403)][i(389)](i(326))){const t=this[i(442)][i(403)][i(411)](i(326));t[i(413)]&&t[i(423)]()}const r=this[i(439)]();return e(r)[i(458)]((t=>{const e=i;return this[e(329)]=t,this[e(442)][e(403)][e(389)](e(341))&&this[e(442)][e(403)][e(411)](e(341))[e(374)](),t}))[i(369)]((t=>(console[i(409)](t),this[i(442)][i(333)](i(363)),null)))}))}[cl(317)](){const t=cl,e=this[t(442)][t(347)][t(411)](t(327))[t(424)];this[t(442)][t(347)][t(426)](t(395),(()=>(this[t(442)][t(403)][t(389)](t(383))&&this[t(442)][t(403)][t(411)](t(383))[t(415)](),this[t(329)][t(403)][t(411)](t(320))[t(384)](),e(this[t(329)])[t(458)]((()=>{const e=t;if(this[e(442)][e(333)](e(363)),this[e(329)]=null,this[e(442)][e(403)][e(389)](e(341))){const t=this[e(442)][e(403)][e(411)](e(341));t[e(374)](),t[e(377)]()}})))))}[cl(421)](t){const e=cl,i=this[e(442)][e(347)][e(411)](e(318)),n=this[e(442)][e(347)][e(411)](e(371)),r=this[e(442)][e(347)][e(411)](e(398));return al[e(344)](r,t)[e(458)]((t=>(n[e(451)][e(339)]=e(354),i[e(451)][e(339)]=e(417),t)))}[cl(351)](t){const e=cl,i=this[e(442)][e(347)][e(411)](e(318));return this[e(442)][e(347)][e(411)](e(371))[e(451)][e(339)]=e(417),i[e(451)][e(339)]="",t[e(431)]()}async[cl(336)](t){const e=cl,i=this[e(442)],n=this[e(329)][e(403)][e(411)](e(320)),r=i[e(403)][e(411)](e(447)),s=n[e(453)][e(391)](t);let o,a,c;try{o=await n[e(452)](s),a=await n[e(359)](s)}catch(t){return void console[e(409)](t)}i[e(345)][e(450)]((t=>{const n=e;for(const e of Array[n(399)](i[n(345)][n(390)][n(349)](n(362))))t[n(387)](e)})),n[e(385)]=!1,i[e(345)][e(335)]((t=>{const n=e;t[n(323)](null),t[n(397)](i[n(345)][n(446)][n(396)][n(331)]());const r=Object[n(334)](o);for(const e of i[n(345)][n(446)][n(414)])n(357)!=e[n(440)]&&e[n(392)]()&&!r[n(428)](e[n(440)])&&t[n(427)](e);for(const e of r){let r=i[n(345)][n(446)][n(405)](e);r&&r[n(392)]()||(r=t[n(379)](e));const s=a[e],c=Object[n(334)](s),u=o[e];for(const e of r[n(331)]())c[n(428)](e)||t[n(364)](e,r);for(const i of c)t[n(460)](i,a[e][i],r);t[n(322)](t[n(394)](r)),t[n(319)](i[n(404)][n(358)](u,r),r,0)}}));const u=Xi(i[e(406)],e(365));return c=s[e(412)]?-1==s[e(412)][e(459)](u)?u+": "+s[e(412)]:s[e(412)]:u+": "+s[e(321)][e(400)](i[e(406)][e(370)],{month:e(433),day:e(340)})+", "+s[e(321)][e(444)](i[e(406)][e(370)],{hour:e(340),minute:e(340)}),await r[e(352)]({name:c}),n[e(385)]=!0,i[e(347)][e(411)](e(327))[e(424)]()}}function ml(){var t=["352659lPFSjk","1771iRCyQU","3601730HAaPxF","8031087yBEDXU","3296804VHhJye","6geykNH","33828BebpbD","300124vfkoGY","10182152umhDxS"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=465]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(889598===parseInt(e(469))/1+-parseInt(e(467))/2*(parseInt(e(471))/3)+-parseInt(e(466))/4+parseInt(e(473))/5+-parseInt(e(468))/6*(-parseInt(e(472))/7)+-parseInt(e(470))/8+parseInt(e(465))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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:0;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},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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},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,r,s){"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!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},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 s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[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=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(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,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},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)}},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}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},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,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.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,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>gr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var A=b?b.toStringTag:void 0;const N=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":A&&A in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=N(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const E=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,U=z.hasOwnProperty,H=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(t){return!(!R(t)||C(t))&&(M(t)?H:L).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return Z(i)?i:void 0};const B=q(k,"Map");const J=q(Object,"create");const Y=function(){this.__data__=J?J(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const X=function(t){var e=this.__data__;if(J){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return J?void 0!==e[t]:Q.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=J&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=Y,it.prototype.delete=G,it.prototype.get=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==N(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const At=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const Nt=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Et&&Et.exports===Mt?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[N(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ht=Ut&&Ut.exports===Wt&&y.process;const Zt=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Ht&&Ht.binding&&Ht.binding("util")}catch(t){}}();var $t=Zt&&Zt.isTypedArray;const qt=$t?zt($t):Pt;var Bt=Object.prototype.hasOwnProperty;const Jt=function(t,e){var i=Nt(t),n=!i&&At(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Yt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Yt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Xt=Kt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Xt(t);var e=[];for(var i in Object(t))Qt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Jt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Jt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return Nt(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ae=q(k,"DataView");const Ne=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ee="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Le=F(B),Pe=F(Ne),ze=F(Re),We=F(Me),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ee||Ne&&Ue(Ne.resolve())!=Ve||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=N(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ee;case Pe:return Ve;case ze:return De;case We:return Ce}return e});const He=Ue;var Ze=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&Ze.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Je=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ye=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Ye.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Xe=Ke?Ke.valueOf:void 0;const Qe=function(t){return Xe?Object(Xe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Je(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Qe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==He(t)};var oi=Zt&&Zt.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==He(t)};var ui=Zt&&Zt.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=Nt(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=He(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==N(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(Nt(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ai=b?b.prototype:void 0,Ni=Ai?Ai.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(Nt(e))return Ti(e,t)+"";if(yi(e))return Ni?Ni.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Ei(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Ei(e,t),null==(t=Pi(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Hi;function Hi(t,e){const i=Zi();return(Hi=function(t,e){return i[t-=463]})(t,e)}function Zi(){const t=["1461756XjAAxI","59504FSHlhw","setName","map","15DoDEND","5190taTmJV","9495DxNPio","authors","authorsIds","toJSON","_update","3143CPDMSx","diffData","creatorId","fromVersion","537580lqgQco","createdAt","setAttribute","toVersion","25080360PNwVrO","496LvdbnP","name","fire","8336700IFCDyb","attributes","set","creator","11isPeLY","37litnDP","removeAttribute"];return(Zi=function(){return t})()}!function(t){const e=Hi,i=t();for(;;)try{if(562578===parseInt(e(480))/1*(-parseInt(e(483))/2)+parseInt(e(482))/3+parseInt(e(467))/4*(-parseInt(e(486))/5)+-parseInt(e(487))/6*(-parseInt(e(463))/7)+parseInt(e(472))/8*(-parseInt(e(488))/9)+-parseInt(e(475))/10+-parseInt(e(479))/11*(-parseInt(e(471))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Hi;super(),this.id=e.id||(0,t.uid)(),this[i(478)]=e[i(478)]||null,this[i(489)]=e[i(489)]||[],this[i(464)]=e[i(464)]||null,this[i(470)]=e[i(470)]||0,this[i(466)]=e[i(466)]||0,this[i(477)](i(473),e[i(473)]||""),this[i(477)](i(468),e[i(468)]||new Date),this[i(477)](i(476),e[i(476)]||{})}[Ui(484)](t){this[Ui(492)]({name:t})}[Ui(469)](t,e){const i=Ui,n=vi(this[i(476)]);Ci(n,t,e),this[i(492)]({attributes:n})}[Ui(481)](t){const e=Ui,i=vi(this[e(476)]);Wi(i,t),this[e(492)]({attributes:i})}[Ui(492)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(473),i(468),i(464),i(489),i(476),i(470),i(466),i(465)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(489)]&&(r[i(490)]=r[i(489)][i(485)]((t=>t.id)),delete r[i(489)]),this[i(474)](i(492),r,e))}[Ui(491)](){const t=Ui;return{id:this.id,name:this[t(473)],creatorId:this[t(478)]?this[t(478)].id:null,authorsIds:this[t(489)][t(485)]((t=>t.id)),diffData:this[t(464)],createdAt:this[t(468)],attributes:this[t(476)],fromVersion:this[t(466)],toVersion:this[t(470)]}}}var qi=i(782),Bi=i(211),Ji=i(783);function Yi(t,e){const i=Gi();return(Yi=function(t,e){return i[t-=271]})(t,e)}function Gi(){const t=["getLaterVisibleRevision","map","isPremiumPlugin","getRevision","103059wXlmgN","addRevision","_revisions","href","Users","RevisionsRepository","getUser","newRevisionId","getRevisionsIterator","toJSON","attributes","isNaN","73100OJinwR","5400990rmWsrW","earlier","name","length","push","getIndex","diffData","getEarlierVisibleRevision","10BWdrYA","fromVersion","16tGOxZF","oldRevisionId","getRevisionsInDiff","pluginName","data","createdAt","isOfficialPlugin","from","creatorId","plugins","createRevision","join","1586331FFASqY","getRevisions","authorsIds","get","fromCharCode","2500001McwTaD","requires","toVersion","16KulQBu","add","later","2151936LuCfnK","793385AgmXiC","reverse","afterInit","editor"];return(Gi=function(){return t})()}const Ki=Yi;!function(t){const e=Yi,i=t();for(;;)try{if(200697===-parseInt(e(304))/1*(-parseInt(e(295))/2)+-parseInt(e(283))/3*(parseInt(e(306))/4)+parseInt(e(275))/5+parseInt(e(274))/6+-parseInt(e(323))/7+parseInt(e(271))/8*(parseInt(e(318))/9)+-parseInt(e(296))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gi);class Xi extends qi.Plugin{static get[Ki(324)](){return[Bi.Users]}static get[Ki(309)](){return Ki(288)}static get[Ki(312)](){return!0}static get[Ki(281)](){return!0}get[Ki(299)](){const t=Ki;return this[t(285)][t(299)]}constructor(e){const i=Ki;super(e),this[i(285)]=new t.Collection}[Ki(277)](){!async function(e){const i=k([81,65,76,117,74,101,72,111,119,73,67,105,89,77,106,103,98,56,102,88,48,57,54,104,110,97,80,50,79,116,75,55,112,107,68,66,90,108,113,99,120,86,87,100,53,118,115,85,122,52,121,78,51,69,70,49,82,83,71,84,114,109]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[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=s[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=Yi;for(const e in window)if(window[k([78,117,109,98,101,114])][i(294)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[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([81]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}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 s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Yi;return t[e(280)]((t=>String[e(322)](t)))[e(317)]("")}!function(t){const i=l();s[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=y(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])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(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])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[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(),s[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=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-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 s(){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])](r/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)}))}}s[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])}),s[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 s[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(){s[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])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){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 r=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))),s=(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,r,s)||(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]))&&y(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])])?r/1e3:1738368e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Yi,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(286)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=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([115,111,109,101])]((t=>r[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(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ki(316)](t){const e=Ki,i=this[e(278)][e(315)][e(321)](e(287));return new $i({id:t.id,name:t[e(298)],creator:t[e(314)]?i[e(289)](t[e(314)]):null,diffData:t[e(302)]||t[e(310)],authors:t[e(320)][e(280)]((t=>i[e(289)](t))),createdAt:new Date(t[e(311)]),attributes:t[e(293)],fromVersion:t[e(305)],toVersion:t[e(325)]})}[Ki(284)](t,e=0){const i=Ki;this[i(285)][i(272)](t,e)}[Ki(282)](t){const e=Ki;return this[e(285)][e(321)](t)}[Ki(319)](t={toJSON:!1}){const e=Ki,i=Array[e(313)](this[e(285)]);return i[e(276)](),t[e(292)]?i[e(280)]((t=>t[e(292)]())):i}[Ki(301)](t){const e=Ki;return this[e(285)][e(301)](t)}[Ki(303)](t){const e=Ki,[,i]=this[e(291)](t,{direction:e(297)});return i}[Ki(279)](t){const e=Ki,[,i]=this[e(291)](t,{direction:e(273)});return i}[Ki(308)](t){const e=Ki,i=[];for(const n of this[e(291)](t[e(290)]))if(i[e(300)](n),n.id===t[e(307)])break;return i}*[Ki(291)](t,{direction:e=Ki(297),filter:i=()=>!0}={}){const n=Ki,r=n(297)===e?1:-1;let s=this[n(285)][n(321)](t),o=this[n(301)](s);for(yield s;s;){if(o+=r,s=this[n(282)](o),!s)return;i(s)&&(yield s)}}}function Qi(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""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=Nt(t),a=Nt(e),c=o?vn:He(t),u=a?vn:He(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Sn();return(In=function(t,e){return i[t-=391]})(t,e)}function Sn(){const t=["_findInsertionIndex","_continueCurrentRevision","_getVidAttributeName","createPositionBefore","resolve","2121141zByKch","NEGATIVE_INFINITY","RevisionsRepository","getRevisions","model","getRevisionRootsAttributes","_handleSplitOperation","getTransformedByOperation","getChild","item","setSource","createRevision","splitPosition","max","fromEntries","stickiness","slice","getWalker","ready","_transformMarkers","key","_update","upcast","affectsData","_loadState","getLatestVersion","vid","diffData","toView","_baseIdsRoots","push","currentRevision","getAttributes","isPremiumPlugin","plugins","some","hasContent","featureNotAllowed","addRootAttribute","size","getRootNames","_fixRange","deletion","rootName","createPositionAt","_diffRootsAttributes","_lastTo","_isPendingUpdate","attributesBefore","elementEnd","oldRange","_createCurrentRevision","path","remove","_baseRoots","isEnabled","useFillerType","newRange","sendBufferedUpdates","_processRootBeforeSave","start","getTime","name","get","trialLimit","userId","isAttached","_removeMetaData","shift","_showLicenseError","setRevisionData","version","documentFragment","isAdd","_saveMetaData","_execute","sort","addRevision","15MGFxrJ","isReady","split","toData","offsetSize","domainLimit","getNodeByPath","clone","reInit","string","default","creatorId","destroy","root","isEqual","baseVersion","_handleRootOperation","text","getAttribute","_loadedStateData","_operations","range","roots","marker","evaluationLimit","_startingRevisionId","_handleMarkerOperation","_handleOperation","revision:","vid_end","_licenseKeyCheckInterval","434gdpSKq","length","processor","creator","revisionHistoryLicenseKeyInvalid","RevisionTracker","revisionHistoryLicenseKeyEvaluationLimit","_baseRootsAttributes","revisionHistoryLicenseKeyExpired","7500717pieFNm","paragraph","_savedMetaData","reverse","clear","stringify","_applyOperations","_diffRoots","3644NwaLxl","marked","vid_start","_getViewJson","update","_isAttached","_getFromVersion","32661299RJBVdf","data-revision-","bind","dataDowncast","conversion","attributesAfter","insertions","initialData","type","usageLimit","from","_isInit","forEach","childCount","init","parse","_idsRoots","RealTimeCollaborationClient","licenseKey","_initialRevisionId","PendingActions","end","data","_bufferedUpdates","RevisionHistory","keys","createdAt","startsWith","children","_touched","createPositionFromPath","toModel","getIndex","_removePendingAction","_getBaseVids","reinsert","7Ihrmxe","markerToData","history","targetPosition","getRoot","isOfficialPlugin","_touchedMarkers","has","_fixOperation","set","revision","_copyMarkers","nodes","revision-start","_clone","previousPosition","revisionHistoryLicenseKeyNotAllowed","_pendingAction","_revisionId","invalid","_appendChild","position","revisionHistory.resumeUnsavedRevision","view","_insertChild","dataToMarker","getRevision","_handleMergeOperation","_cloneOperation","deletions","getRevisionDocumentData","repository","_handleRootAttributeOperation","markers","sourcePosition","loadState","offset","_generateTape","_revisionDataBuilder","move","_authorId","detachRoot","find","define","PENDING_ACTION_REVISION_HISTORY","_reset","getChildren","revision-end","config","_fixPosition","514408dKloPp","_bufferUpdate","10dWTzqs","removeRootAttribute","for","delete","getUser","_createFromRanges","insertion","Users","_handleMoveOperation","filter","merge","updateRevisions","pluginName","howMany","changeRootAttribute","initial","_loadRevisionData","element","_lastFrom","_setConversion","editing","elementStart","buildRevisionData","adapter","revisionHistoryLicenseKeyTrialLimit","insertionPosition","_getPreviousFrom","getRange","expired","includes","getCurrentRevisionId","addRevisionData","$text","authorsIds","nodeAfter","getAncestors","_createInitialRevision","revisionHistoryLicenseKeyDomainLimit","_makeModelFromViewString","_setAttribute","_replaceEditorDataWithRevisionData","_addPendingAction","authors","locale","finally","revisionHistoryLicenseKeyValid","Initial revision","tableCell","addRoot","map","createRange","_makeIdsRoot","_removeRevisionMarkers","_calculateMetaData","requires","_source","_makeRevision","createPositionAfter","collaboration.channelId","attributes","editor","fromVersion","graveyardPosition","trim","1990794njRMhL","_startingVersion","rootsAttributes","getMovedRangeStart","_prepareViewToSave","source","keepParagraph","attachChange","add","parent","saveRevision","revisionHistoryLicenseKeyUsageLimit","newValue","createRangeIn","$graveyard","getData","getOperations","afterInit","257672wqxPkl","then","_touchedRoots","insert","_markChanges","_markers","values","toVersion","editor-initial-data-replaced-with-revision-data","Empty document","_handleInsertOperation","_getState","getOperation","document"];return(Sn=function(){return t})()}!function(t){const e=In,i=t();for(;;)try{if(435155===parseInt(e(398))/1*(-parseInt(e(415))/2)+-parseInt(e(611))/3+-parseInt(e(592))/4*(-parseInt(e(689))/5)+-parseInt(e(574))/6+parseInt(e(458))/7*(-parseInt(e(508))/8)+-parseInt(e(407))/9+-parseInt(e(510))/10*(-parseInt(e(422))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Sn);const On={c:Ji.ViewContainerElement,a:Ji.ViewAttributeElement,e:Ji.ViewEmptyElement,r:Ji.ViewRawElement,u:Ji.ViewUIElement};class xn extends qi.Plugin{static get[_n(522)](){return _n(403)}static get[_n(463)](){return!0}static get[_n(644)](){return!0}static get[_n(564)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(533)]=null,this[i(642)]=null,this[i(496)]=new An(this[i(570)]),this[i(441)]=this[i(570)][i(506)][i(674)](i(568))||i(525),this[i(445)]=new Map,this[i(708)]=null;const n=(0,t.uid)();this[i(565)]={history:this[i(570)][i(615)][i(605)][i(460)],getLatestVersion:()=>Promise[i(610)](this[i(570)][i(615)][i(605)][i(682)]),getCurrentRevisionId:()=>n},this[i(467)](i(690),!1),this[i(467)](i(666),!0),this[i(467)](i(658),!1),this[i(570)][i(506)][i(501)](i(480),!0),this[i(570)][i(426)][i(512)](i(633))[i(483)]({view:i(468)})}[_n(436)](){const t=_n;this[t(489)]=this[t(570)][t(645)][t(674)](t(613)),this[t(529)](),this[t(570)][t(444)].on(t(629),(()=>{const e=t,i=this[e(489)][e(484)](0),n=i&&null===i[e(401)]?i:null;if(this[e(607)]=!!n&&this[e(570)][e(506)][e(674)](e(480)),this[e(570)][e(645)][e(465)](e(439))){const t=this[e(565)][e(540)](),r=this[e(489)][e(484)](t);if(r)this[e(575)]=r[e(571)],this[e(607)]=!1;else{const t=this[e(565)][e(460)][e(709)][e(500)]((t=>!t[e(433)])),r=t?t[e(704)]:this[e(565)][e(460)][e(682)];i?(i[e(599)]<r&&i[e(632)]({toVersion:r}),this[e(607)]?(this[e(565)][e(540)]=()=>n.id,this[e(575)]=n[e(571)]):(this[e(575)]=i[e(599)],this[e(607)]=!1)):(this[e(575)]=r,this[e(607)]=!1)}}else n&&(this[e(570)][e(615)][e(605)][e(460)][e(682)]=Math[e(624)](n[e(599)],this[e(570)][e(615)][e(605)][e(460)][e(682)]),n[e(571)]===n[e(599)]?(0!==n[e(571)]&&(this[e(565)][e(540)]=()=>n.id),this[e(607)]=!1):this[e(607)]&&(this[e(565)][e(540)]=()=>n.id,this[e(575)]=n[e(571)])),this[e(607)]||(this[e(575)]=this[e(570)][e(615)][e(605)][e(682)]);this[e(496)][e(436)](this[e(565)][e(460)]),this[e(546)](this[e(575)]),this[e(662)](this[e(575)]),this[e(533)]&&this[e(669)]()})),this[t(424)](t(690)).to(this,t(658),(t=>!t)),this[t(440)]=this[t(570)][t(506)][t(674)](t(440));const e=this[t(570)];this[t(397)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(555)==s||i(402)==s||i(406)==s||i(547)==s||i(474)==s||i(404)==s||i(534)==s||i(585)==s){delete e[r],n=s,clearInterval(this[i(397)]),this[i(397)]=void 0;break}}i(402)==n&&e[i(680)](i(477)),i(406)==n&&e[i(680)](i(538)),i(547)==n&&e[i(680)](i(694)),i(474)==n&&e[i(680)](i(648),i(446)),i(404)==n&&e[i(680)](i(391)),i(534)==n&&e[i(680)](i(675)),i(585)==n&&e[i(680)](i(431))}),1e3)}async[_n(591)](){const t=_n;if(this[t(489)][t(399)]>0){const e=this[t(489)][t(484)](0),i=await this[t(488)](e),n=await this[t(616)](e);this[t(550)](i,n)}}[_n(701)](){const t=_n;super[t(701)](),this[t(397)]&&clearInterval(this[t(397)])}[_n(621)](t){this[_n(565)]=t}async[_n(419)](){const t=_n,e=await this[t(565)][t(636)]();if(e>this[t(642)][t(599)]){await this[t(635)]();const i=this[t(532)]({revision:this[t(642)],to:e});i[t(552)]=i[t(543)][t(559)]((e=>this[t(570)][t(645)][t(674)](t(517))[t(514)](e))),this[t(642)][t(632)](i)}}async[_n(635)](){const t=_n;this[t(607)]&&!this[t(708)]&&(await this[t(526)](this[t(642)]),this[t(496)][t(493)](this[t(642)]),this[t(708)]={fromVersion:this[t(642)][t(571)],authors:this[t(642)][t(552)][t(627)]()})}async[_n(584)](e={},i=null){const n=_n,r=[];await this[n(635)](),this[n(607)]=!1,i>this[n(642)][n(599)]&&(i=null),null===i&&(i=await this[n(565)][n(636)]());const s=this[n(421)](i),o=this[n(532)]({from:s,to:i});if(this[n(642)][n(599)]<i){const t=this[n(532)]({revision:this[n(642)],from:i,to:i});t[n(552)]=[],t[n(543)]=[],t.id=this[n(642)].id,this[n(642)][n(632)](t,!0),delete t[n(552)],r[n(641)](t)}e[n(700)]=this[n(570)][n(645)][n(674)](n(517)).me.id,e[n(673)]=e[n(673)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(541)](e);r[n(641)](e);const c=this[n(489)][n(454)](a);if(0!==c){const t=this[n(489)][n(484)](c-1);if(t[n(571)]!==i){const s=this[n(496)][n(589)](i,t[n(599)]),o={id:t.id,diffData:s[n(638)],authorsIds:s[n(543)],authors:s[n(543)][n(559)]((t=>this[n(570)][n(645)][n(674)](n(517))[n(514)](t))),fromVersion:i};t===this[n(642)]&&(o[n(448)]=new Date(e[n(448)][n(672)]()+10)),t[n(632)](o,!0),delete o[n(552)],r[n(641)](o)}}if(this[n(533)]){for(const t of r)this[n(509)](t.id,t,!0);this[n(669)]()}return a}[_n(541)](t){const e=_n,i=this[e(489)][e(622)](t);return this[e(533)]&&i.on(e(632),((t,i,n)=>{const r=e;n||(this[r(509)](i.id,i,!0),this[r(669)]())})),this[e(489)][e(688)](i,this[e(606)](i)),i}async[_n(488)](t){const e=_n;await this[e(526)](t);const i={};for(const n in t[e(638)]){if(t[e(638)][n][e(581)]&&!t[e(638)][n][e(581)][e(677)])continue;const r=this[e(562)](JSON[e(437)](t[e(638)][n][e(428)])),s=this[e(570)][e(530)][e(481)][e(605)],o=new Ji.ViewDocumentFragment(s,r[e(559)]((t=>Tn(t,this[e(570)]))));this[e(570)][e(444)][e(400)][e(667)](e(416)),i[n]=this[e(570)][e(444)][e(400)][e(692)](o),this[e(570)][e(444)][e(400)][e(667)](e(699))}return i}async[_n(616)](t){const e=_n;await this[e(526)](t);const i={};for(const n in t[e(638)])t[e(638)][n][e(581)]&&!t[e(638)][n][e(581)][e(677)]||(i[n]=t[e(638)][n][e(427)]||{});return i}[_n(669)](){const t=_n;if(0===this[t(445)][t(650)])return;if(this[t(658)])return;let e=Array[t(432)](this[t(445)][t(598)]());this[t(445)][t(411)]();for(let i=0;i<e[t(399)];i++){const n=e[i];let r=!1;for(const e of Object[t(447)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(519)]((t=>null!==t)),!e[t(399)])return;for(let i=0;i<e[t(399)];i++){const n=e[i];void 0!==n[t(571)]&&void 0===n[t(599)]&&(n[t(599)]=this[t(489)][t(484)](n.id)[t(599)]),void 0!==n[t(599)]&&void 0===n[t(571)]&&(n[t(571)]=this[t(489)][t(484)](n.id)[t(571)])}const i=this[t(570)][t(506)][t(674)](t(568));this[t(658)]=!0,this[t(551)](),this[t(533)][t(521)](e,i)[t(554)]((()=>{this[t(658)]=!1}))[t(593)]((e=>{const i=t;if(e)for(const t of e)this[i(681)]({id:t.id,createdAt:t[i(448)]});this[i(455)](),this[i(669)]()}))}[_n(550)](e,i){const n=_n;let r=this[n(570)][n(506)][n(674)](n(429)),s=this[n(570)][n(506)][n(674)](n(576));if(void 0===r){r={};for(const t of this[n(570)][n(615)][n(605)][n(651)]())r[t]=""}if(n(698)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(570)][n(615)][n(605)][n(651)]())s[t]={}}let o=!1;const a=Object[n(447)](r),c=Object[n(447)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(573)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(447)](s[t])[n(399)]>0){o=!0;break}}o||(o=c[n(646)]((t=>!this[n(570)][n(615)][n(605)][n(462)](t)))),o&&(0,t.logWarning)(n(600),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(570)][n(506)][n(467)](n(429),e),this[n(570)][n(506)][n(467)](n(576),i)}[_n(551)](){const t=_n;if(!this[t(475)]){const e=this[t(570)][t(645)][t(674)](t(442));this[t(475)]=e[t(582)](Qi(this[t(570)][t(553)],t(502)))}}[_n(455)](){const t=_n;this[t(475)]&&(this[t(570)][t(645)][t(674)](t(442))[t(664)](this[t(475)]),this[t(475)]=null)}[_n(606)](t){const e=_n,i=this[e(489)][e(614)]();i[e(410)]();let n=0;for(;n<i[e(399)];){const r=i[n];if(r===this[e(642)]){n++;continue}if(r.id===this[e(441)])break;const s=t[e(599)]-r[e(599)]||t[e(571)]-r[e(571)];if(s>0)break;if(s<0)n++;else{if(!t[e(401)]&&r[e(401)])break;if(r[e(401)]||!t[e(401)]){if(t[e(448)]>r[e(448)])break;n++}else n++}}return n}[_n(681)](t){const e=_n,i=this[e(489)][e(484)](t.id);if(t[e(448)]&&(t[e(448)]=new Date(t[e(448)])),t[e(543)]){const i=this[e(570)][e(645)][e(674)](e(517));t[e(552)]=t[e(543)][e(559)]((t=>i[e(514)](t)))}i[e(632)](t,!0)}[_n(532)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(571)],i=null!==i?i:t[n(599)];const r=this[n(496)][n(589)](e,i),s={diffData:r[n(638)],authorsIds:r[n(543)],fromVersion:e,toVersion:i};if(!t||i!==t[n(599)]){const t=i-1,e=this[n(565)][n(460)][n(604)](t);s[n(448)]=e&&e[n(448)]||new Date}if(this[n(708)]&&e===this[n(708)][n(571)])for(const t of this[n(708)][n(552)])s[n(543)][n(539)](t.id)||s[n(543)][n(641)](t.id);return s}[_n(526)](t){const e=_n;if(!t||t[e(638)])return Promise[e(610)]();{const i=this[e(570)][e(506)][e(674)](e(568));return this[e(533)][e(484)]({channelId:i,revisionId:t.id})[e(593)]((i=>{const n=e;t[n(638)]=i[n(638)]}))}}[_n(509)](t,e,i){const n=_n;if(this[n(445)][n(465)](t)){const r=this[n(445)][n(674)](t);e=i?{...r,...e}:{...e,...r}}this[n(445)][n(467)](t,e)}[_n(421)](t){const e=_n,i=this[e(489)][e(614)]();i[e(410)](),i[e(679)]();const n=i[e(500)]((i=>i[e(599)]<=t))[e(599)];return n<this[e(575)]?this[e(575)]:n}[_n(546)](t){const e=_n,i=this[e(489)][e(484)](this[e(489)][e(399)]-1);if(i)this[e(441)]=i.id;else{const i=!this[e(570)][e(615)][e(605)][e(711)][e(500)]((t=>this[e(570)][e(615)][e(647)](t))),n=this[e(570)][e(645)][e(674)](e(517)).me.id,r=Qi(this[e(570)][e(553)],e(i?601:556));this[e(566)]({from:t,to:t,id:this[e(441)],name:r,creatorId:n})}}[_n(662)](t){const e=_n,i=this[e(565)][e(540)]();this[e(642)]=this[e(489)][e(484)](i),this[e(642)]||(this[e(642)]=this[e(566)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(566)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(532)]({from:e,to:i});o[s(673)]=t,o[s(700)]=n,o.id=r;const a=this[s(541)](o);return this[s(533)]&&this[s(509)](o.id,o,!0),a}[_n(529)](){const t=_n;this[t(570)][t(426)][t(512)](t(425))[t(459)]({model:t(468)})}[_n(562)](t){const e=_n;return(t=t[e(519)]((t=>!t[e(673)]||e(471)!==t[e(673)]&&e(505)!==t[e(673)])))[e(434)]((t=>{const i=e;i(698)!=typeof t&&(t[i(450)]=this[i(562)](t[i(450)]),t[i(569)]=t[i(569)][i(519)]((t=>!t[0][i(449)](i(423)))))})),t}}function Tn(t,e){const i=_n,n=e[i(530)][i(481)][i(605)];if(i(698)==typeof t)return new Ji.ViewText(n,t);{const r=t[i(450)][i(559)]((t=>Tn(t,e)));return new(On[t[i(430)]]||Ji.ViewElement)(n,t[i(673)],t[i(569)],r)}}class An{constructor(t){const e=_n;this[e(570)]=t,this[e(409)]=new Map,this[e(528)]=-1,this[e(657)]=-1,this[e(597)]=new Map,this[e(414)]=new Map,this[e(656)]=new Map,this[e(665)]=new Map,this[e(405)]=new Map,this[e(438)]=new Map,this[e(640)]=new Map,this[e(451)]=new Map,this[e(464)]=new Map,this[e(594)]=new Map,this[e(476)]=1}[_n(436)](t){const e=_n;this[e(579)]=t;const i=new Map,n=new Map,r=this[e(570)][e(615)][e(605)][e(711)][e(559)]((t=>t[e(654)]));for(const t of r){const r=this[e(570)][e(615)][e(605)][e(462)](t),s=Nn(r);i[e(467)](t,s),n[e(467)](t,Object[e(625)](r[e(643)]()))}const s=Array[e(432)](this[e(570)][e(615)][e(491)])[e(559)]((t=>[t[e(673)],t[e(537)]()])),o=this[e(579)][e(682)];this[e(685)](o,i,s,n),this[e(392)]=this[e(476)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(467)](t,i),c[e(467)](t,{})}this[e(685)](Number[e(612)],a,[],c)}[_n(589)](t,e){const i=_n;if(this[i(528)]===t&&this[i(657)]<=e)this[i(409)][i(650)]>1&&this[i(678)](this[i(657)]),this[i(413)](this[i(657)],e,!0);else{if(!this[i(409)][i(465)](t)){const e=this[i(536)](t);this[i(563)](e,t,!1)}this[i(563)](t,e,!0)}return this[i(528)]=t,this[i(657)]=e,this[i(603)]()}[_n(493)](t){const e=_n;this[e(503)](),this[e(528)]=t[e(571)],this[e(657)]=t[e(599)];for(const i in t[e(638)]){const n=t[e(638)][i][e(581)],r=vi(t[e(638)][i][e(659)])||{},s=this[e(548)](t[e(638)][i][e(487)]);s[e(654)]=i,s[e(420)]=!n||!n[e(677)],s[e(677)]=()=>s[e(420)],this[e(665)][e(467)](i,s),this[e(405)][e(467)](i,r),n&&this[e(594)][e(467)](i,n);const o=this[e(561)](s);this[e(640)][e(467)](i,o);for(const[t,i]of s[e(491)]){if(!t[e(449)](e(395)))continue;const n=t[e(691)](":")[2];for(const t of i[e(628)]({singleCharacters:!0})){const i=this[e(608)](t),r=e(660)==t[e(430)]?t[e(473)][e(663)][e(627)](0,-1):t[e(473)][e(663)],s=o[e(695)](r)[e(707)](i);this[e(451)][e(467)](s,{userId:n})}}}this[e(392)]=this[e(476)];const i=[...Array(this[e(476)])[e(447)]()][e(627)](1)[e(519)]((t=>!this[e(451)][e(465)](t)));let n=0;const r=new Map;for(const s in t[e(638)]){const o=t[e(638)][s][e(581)],a=vi(t[e(638)][s][e(427)])||{},c=this[e(548)](t[e(638)][s][e(428)]);c[e(654)]=s,c[e(420)]=!o||o[e(677)],c[e(677)]=()=>c[e(420)],this[e(414)][e(467)](s,c),this[e(656)][e(467)](s,a);const u=this[e(561)](c,Number[e(612)]);this[e(438)][e(467)](s,u),r[e(467)](s,c[e(677)]()?a:{});for(const[t,i]of c[e(491)]){if(!t[e(449)](e(395)))continue;const n=t[e(691)](":")[2];for(const t of i[e(628)]({singleCharacters:!0})){const i=this[e(608)](t),r=this[e(476)]++,s=e(660)==t[e(430)]?t[e(473)][e(663)][e(627)](0,-1):t[e(473)][e(663)];u[e(695)](s)[e(549)](i,r),this[e(451)][e(467)](r,{userId:n})}}for(const t of this[e(570)][e(615)][e(587)](c)[e(628)]({singleCharacters:!0})){const r=this[e(608)](t),s=e(660)==t[e(430)]?t[e(473)][e(663)][e(627)](0,-1):t[e(473)][e(663)],o=u[e(695)](s);o[e(707)](r)>0||o[e(549)](r,i[n++])}for(const[t,i]of c[e(491)])t[e(449)](e(395))||this[e(597)][e(467)](t,i)}const s=Rn(e(588));this[e(665)][e(467)](e(588),s),this[e(640)][e(467)](e(588),this[e(561)](s,1));const o=Rn(e(588));this[e(414)][e(467)](e(588),o),this[e(438)][e(467)](e(588),this[e(561)](o,1));const a=Array[e(432)](this[e(414)])[e(559)]((([t,e])=>[t,Nn(e)]));this[e(685)](this[e(657)],a,this[e(597)],r)}[_n(548)](t){const e=_n,i=JSON[e(437)](t),n=this[e(570)][e(530)][e(481)][e(605)],r=new Ji.ViewDocumentFragment(n,i[e(559)]((t=>Tn(t,this[e(570)]))));return this[e(570)][e(444)][e(453)](r)}[_n(685)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(467)](t,{start:e[r(671)][r(696)](),end:e[r(443)][r(696)](),rootName:e[r(702)][r(654)]});this[r(409)][r(467)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(678)](t){const e=_n;this[e(409)][e(513)](t)}[_n(697)](){const t=_n;this[t(503)](),this[t(528)]=-1,this[t(657)]=-1,this[t(409)][t(411)](),this[t(436)](this[t(579)])}[_n(503)](){const t=_n;this[t(451)][t(411)](),this[t(464)][t(411)](),this[t(594)][t(411)](),this[t(414)][t(411)](),this[t(656)][t(411)](),this[t(665)][t(411)](),this[t(405)][t(411)](),this[t(438)][t(411)](),this[t(640)][t(411)](),this[t(597)][t(411)](),this[t(476)]=1,this[t(392)]=this[t(476)]}[_n(561)](t,e=null){const i=_n;let n=null;t.is(i(683))||(n=new Ji.Element(t[i(673)],{vid_start:null===e?this[i(476)]++:e++}));const r=[];for(const n of t[i(504)]())if(n.is(i(527))){r[i(641)](this[i(561)](n,e));const t=r[r[i(399)]-1];null!==e&&(e=t.is(i(527),i(542))?t[i(707)](i(637))+1:t[i(707)](i(396))+1)}else for(let t=0;t<n[i(693)];t++)r[i(641)](new Ji.Element(i(542),{vid:null===e?this[i(476)]++:e++}));if(t.is(i(683))){const e=Rn(t[i(654)]);return e[i(482)](0,r),e}return n[i(549)](i(396),null===e?this[i(476)]++:e++),n[i(482)](0,r),n}[_n(563)](t,e,i){const n=_n;this[n(503)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(409)][n(674)](t);this[n(665)]=new Map(r),this[n(405)]=new Map(vi(o));for(const[t,e]of this[n(665)])if(n(588)!==t&&(this[n(414)][n(467)](t,Nn(e)),this[n(656)]=new Map(vi(o)),i)){const i=this[n(476)];this[n(438)][n(467)](t,this[n(561)](e)),this[n(640)][n(467)](t,this[n(561)](e,i))}this[n(392)]=this[n(476)],this[n(414)][n(467)](n(588),Nn(this[n(665)][n(674)](n(588)))),i&&this[n(438)][n(467)](n(588),this[n(561)](this[n(665)][n(674)](n(588))));for(const[t,e]of s){const i=this[n(665)][n(674)](e[n(654)]),r=this[n(414)][n(674)](e[n(654)]),s=new Ji.Range(this[n(507)](e[n(671)],i),this[n(507)](e[n(443)],i)),o=this[n(652)](s,r);i[n(491)][n(467)](t,s),this[n(597)][n(467)](t,o)}this[n(413)](t,e,i)}[_n(413)](t,e,i){const n=_n;for(const r of this[n(579)][n(590)](t,e))this[n(394)](r,i);for(const t of this[n(414)][n(598)]())t[n(491)][n(411)]();for(const[t,e]of this[n(597)])this[n(414)][n(674)](e[n(702)][n(654)])[n(491)][n(467)](t,e[n(696)]());const r=new Map,s=new Map;for(const[t,e]of this[n(414)])r[n(467)](t,Nn(e)),s[n(467)](t,this[n(656)][n(674)](t));this[n(685)](e,r,this[n(597)],s)}[_n(536)](t){const e=_n,i=Array[e(432)](this[e(409)][e(447)]());i[e(687)](((t,e)=>t-e)),i[e(410)]();for(const e of i)if(e<t)return e;return Number[e(612)]}[_n(469)](t,e){const i=_n,n=Array[i(432)](e[i(491)])[i(559)]((([e,n])=>[e,this[i(652)](n,t)]));t[i(491)]=new Map(n)}[_n(630)](t){const e=_n;for(const i of this[e(597)][e(598)]()){const n=i[e(618)](t),r=Ji.Range[e(515)](n);i[e(671)]=r[e(671)],i[e(443)]=r[e(443)]}}[_n(394)](t,e){const i=_n;if(i(558)!=t[i(430)]&&i(499)!=t[i(430)]){if(i(595)==t[i(430)]){const n=t[i(479)][i(702)][i(654)];this[i(414)][i(465)](n)||(this[i(414)][i(467)](n,Rn(n,!0)),this[i(656)][i(467)](n,{}),e&&this[i(438)][i(467)](n,Rn(n,!0)))}else{if(i(649)==t[i(430)]||i(511)==t[i(430)]||i(524)==t[i(430)])return void this[i(490)](t);i(712)==t[i(430)]&&this[i(393)](t)}if(i(712)!==t[i(430)]){const e=this[i(486)](t,this[i(414)]);e[i(686)](),this[i(630)](e)}if(e)switch(t[i(430)]){case i(595):this[i(602)](t);break;case i(497):case i(664):case i(457):this[i(518)](t);break;case i(520):this[i(485)](t);break;case i(691):this[i(617)](t)}}else this[i(705)](t,e)}[_n(486)](t,e){const i=_n,n=t[i(696)]();return n[i(498)]=t[i(498)],this[i(466)](n,e),n}[_n(456)](t){const e=_n;return t[e(559)]((t=>{const i=e,n=this[i(608)](t);return Number(t[i(620)][i(707)](n))}))}[_n(495)](t,e){const i=_n;if(t.is(i(527),i(542)))e[i(641)]({item:t,type:i(706)});else{t.is(i(527))&&e[i(641)]({item:t,type:i(531)});for(const n of t[i(504)]())this[i(495)](n,e);t.is(i(527))&&e[i(641)]({item:t,type:i(660)})}return e}[_n(603)](){const t=_n,e=new Map(this[t(451)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(665)][t(447)](),...this[t(414)][t(447)]()]);a[t(513)](t(588));for(const e of a){const i=this[t(414)][t(674)](e)||Rn(e,!1),n=this[t(665)][t(674)](e)||Rn(e,!1);i[t(677)]()||n[t(677)]()?(r[t(428)][e]=Nn(i),r[t(487)][e]=Nn(n),this[t(469)](r[t(487)][e],n),this[t(469)](r[t(428)][e],i),s[t(428)][e]=this[t(495)](this[t(438)][t(674)](e),[]),s[t(487)][e]=this[t(495)](this[t(640)][t(674)](e)||Rn(e,!1),[])):a[t(513)](e)}for(const r of a){const o=s[t(428)][r];for(const r of o){const s=this[t(608)](r),o=r[t(620)][t(707)](s);i[t(513)](o),o>=this[t(392)]&&n[t(467)](o,e[t(674)](o))}}for(const r of a){const a=s[t(428)][r],c=this[t(456)](s[t(487)][r]);let u=0;for(const r of a){const s=this[t(608)](r),a=r[t(620)][t(707)](s);if(!n[t(465)](a)&&!o[t(465)](a))if(i[t(465)](a))u++;else{if(a!=c[u]){const n=e[t(674)](a)||e[t(674)](c[u]);for(;a!=c[u];)i[t(465)](c[u])||(o[t(467)](c[u],n),e[t(467)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(428)][e];for(const e of r){const r=this[t(608)](e),s=e[t(620)][t(707)](r);if(o[t(465)](s)){const e=o[t(674)](s);i[t(465)](s)||i[t(467)](s,{...e}),n[t(467)](s,{...e})}}}for(const e of i[t(447)]())e>=this[t(392)]&&i[t(513)](e);const c=new Map;for(const e of a){let r=s[t(428)][e];for(const e of r)if(e[t(620)].is(t(527),t(557))){const i=this[t(608)](e),r=e[t(620)][t(707)](i);if(n[t(465)](r)){const i=e[t(620)][t(583)][t(583)][t(707)](t(417)),s=c[t(674)](i)||new Set;s[t(582)](n[t(674)](r)[t(676)]),c[t(467)](i,s)}}r=s[t(487)][e];for(const e of r)if(e[t(620)].is(t(527),t(557))){const n=this[t(608)](e),r=e[t(620)][t(707)](n);if(i[t(465)](r)){const n=e[t(620)][t(583)][t(583)][t(707)](t(417)),s=c[t(674)](n)||new Set;s[t(582)](i[t(674)](r)[t(676)]),c[t(467)](n,s)}}for(const e of c[t(447)]())(n[t(465)](e)||i[t(465)](e))&&c[t(513)](e)}for(const e of a){const r=s[t(428)][e];let o=null,a=null;for(const e of r){const r=this[t(608)](e),s=e[t(620)][t(707)](r),u=c[t(674)](s);u&&t(531)==e[t(430)]&&(o=Array[t(432)](u)[0],a=e[t(620)][t(707)](t(396))),o&&(i[t(467)](s,{userId:o}),n[t(467)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(487)][e],a=r[t(428)][e];for(const{userId:e}of this[t(464)][t(598)]())null!==e&&l[t(582)](e);for(const{userId:e}of this[t(594)][t(598)]())null!==e&&l[t(582)](e);this[t(596)](a,s[t(428)][e],n,t(516),l),this[t(596)](o,s[t(487)][e],i,t(653),l),u[e]={insertions:this[t(578)](a),deletions:this[t(578)](o),attachChange:this[t(594)][t(674)](e)||null,attributesBefore:vi(this[t(405)][t(674)](e))||{},attributesAfter:vi(this[t(656)][t(674)](e))}}return{diffData:u,authorsIds:Array[t(432)](l)}}[_n(670)](t){const e=_n;for(const[,i]of t[e(491)]){const t=i[e(671)][e(545)]()[e(519)]((t=>e(557)==t[e(673)]));for(const i of t)1==i[e(435)]&&i[e(619)](0).is(e(527),e(408))&&i[e(619)](0)[e(549)](e(580),!0)}}[_n(578)](t){const e=_n;this[e(670)](t);const i=this[e(570)][e(444)][e(639)](t,{}),n=Array[e(432)](i[e(504)]())[e(559)]((t=>this[e(418)](t)));return JSON[e(412)](n)}[_n(418)](t){const e=_n;if(t.is(e(542)))return t[e(444)];{const i=t;return{type:Object[e(447)](On)[e(500)]((e=>t instanceof On[e])),name:i[e(673)],attributes:Array[e(432)](i[e(643)]()),children:Array[e(432)](i[e(504)]())[e(559)]((t=>this[e(418)](t)))}}}[_n(596)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(570)][s(615)];for(let n=0;n<e[s(399)];n++){const r=this[s(608)](e[n]),c=e[n][s(620)][s(707)](r),h=i[s(674)](c),d=n==e[s(399)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(676)]!=o[s(676)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(676)],d=l(395)+n+":"+h+":"+c++,f=u[l(560)](i,a);t[l(491)][l(467)](d,f),null!==h&&r[l(582)](h)}}[_n(608)](t){const e=_n;switch(t[e(430)]){case e(531):return e(417);case e(660):return e(396);default:return e(637)}}[_n(466)](t,e){const i=_n;t[i(704)]=null;for(const n in t){const r=t[n];if(r instanceof Ji.Position){const s=e[i(674)](r[i(702)][i(654)]);t[n]=this[i(507)](r,s)}if(r instanceof Ji.Range){const s=e[i(674)](r[i(702)][i(654)]);t[n]=this[i(652)](r,s)}i(702)===n&&(t[i(702)]=e[i(674)](t[i(702)][i(654)]))}}[_n(652)](t,e){const i=_n;return this[i(570)][i(615)][i(560)](this[i(507)](t[i(671)],e),this[i(507)](t[i(443)],e))}[_n(507)](t,e){const i=_n;return this[i(570)][i(615)][i(452)](e,t[i(663)],t[i(626)])}[_n(602)](t){const e=_n,i=this[e(438)][e(674)](t[e(479)][e(702)][e(654)]),n=this[e(507)](t[e(479)],i),r=null===t[e(498)]?null:t[e(498)]||this[e(570)][e(645)][e(674)](e(517)).me.id,s=n[e(583)],o=this[e(476)],a=[];for(const i of t[e(470)])if(i.is(e(527)))a[e(641)](this[e(561)](i));else for(let t=0;t<i[e(693)];t++)a[e(641)](new Ji.Element(e(542),{vid:this[e(476)]++}));const c=this[e(476)];for(let t=o;t<c;t++)this[e(451)][e(467)](t,{userId:r});s[e(482)](n[e(494)],a)}[_n(518)](t){const e=_n;(t=this[e(486)](t,this[e(438)]))[e(686)]();const i=null===t[e(498)]?null:t[e(498)]||this[e(570)][e(645)][e(674)](e(517)).me.id,n=t[e(577)](),r=n[e(583)],s=n[e(494)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(619)](e);s.is(a(527),a(542))?n[a(467)](s[a(707)](a(637)),{userId:i}):(n[a(467)](s[a(707)](a(417)),{userId:i}),t(n,s,0,s[a(435)]),n[a(467)](s[a(707)](a(396)),{userId:i}))}}(this[e(451)],r,s,s+t[e(523)])}[_n(485)](t){const e=_n,i=null===(t=this[e(486)](t,this[e(438)]))[e(498)]?null:t[e(498)]||this[e(570)][e(645)][e(674)](e(517)).me.id,n=t[e(461)][e(583)],r=t[e(492)][e(583)],s=n[e(707)](e(396)),o=r[e(707)](e(417));n[e(549)](e(396),r[e(707)](e(396))),r[e(549)](e(396),s),this[e(451)][e(467)](o,{userId:i}),this[e(451)][e(467)](s,{userId:i}),t[e(686)]()}[_n(617)](t){const e=_n,i=null===(t=this[e(486)](t,this[e(438)]))[e(498)]?null:t[e(498)]||this[e(570)][e(645)][e(674)](e(517)).me.id,n=t[e(572)],r=t[e(623)][e(583)];t[e(686)]();const s=r[e(707)](e(396)),o=t[e(535)][e(544)];if(n){const t=o[e(707)](e(396)),n=r[e(707)](e(396));r[e(549)](e(396),t),o[e(549)](e(396),n),this[e(451)][e(467)](r[e(707)](e(396)),{userId:i}),this[e(451)][e(467)](o[e(707)](e(417)),{userId:i})}else{const t=this[e(476)]++,n=this[e(476)]++;r[e(549)](e(396),t),o[e(549)](e(417),n),o[e(549)](e(396),s),this[e(451)][e(467)](t,{userId:i}),this[e(451)][e(467)](n,{userId:i})}}[_n(393)](t){const e=_n;if(!t[e(634)])return;const i=(t=this[e(486)](t,this[e(414)]))[e(661)]?t[e(661)][e(702)]:null,n=t[e(668)]?t[e(668)][e(702)]:null;i&&this[e(597)][e(513)](t[e(673)]),n&&this[e(597)][e(467)](t[e(673)],t[e(668)][e(696)]());const r=null===t[e(498)]?null:t[e(498)]||this[e(570)][e(645)][e(674)](e(517)).me.id,s=t[e(673)];if(!this[e(464)][e(465)](s))return void this[e(464)][e(467)](s,{range:t[e(661)],userId:r});const o=this[e(464)][e(674)](s),a=o[e(710)],c=t[e(668)];null==a&&null==c||a&&c&&a[e(703)](c)?this[e(464)][e(513)](t[e(673)]):o[e(676)]=r}[_n(705)](t,e){const i=_n;this[i(414)][i(465)](t[i(654)])?this[i(414)][i(674)](t[i(654)])[i(420)]=t[i(684)]:(this[i(414)][i(467)](t[i(654)],Rn(t[i(654)],!0)),this[i(656)][i(467)](t[i(654)],{}),e&&this[i(438)][i(467)](t[i(654)],Rn(t[i(654)],!0)));const n=null===t[i(498)]?null:t[i(498)]||this[i(570)][i(645)][i(674)](i(517)).me.id,r=this[i(594)][i(674)](t[i(654)]);r&&r[i(676)]===n?this[i(594)][i(513)](t[i(654)]):this[i(594)][i(467)](t[i(654)],{userId:n,isAttached:t[i(684)]})}[_n(490)](t){const e=_n,i=this[e(656)][e(674)](t[e(702)][e(654)]);null===t[e(586)]?delete i[t[e(631)]]:i[t[e(631)]]=t[e(586)]}}function Nn(t){const e=_n,i=Rn(t[e(654)],t[e(677)]());for(const n of t[e(504)]()){const t=n[e(472)](!0);i[e(478)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Ji.DocumentFragment;return n[i(654)]=t,n[i(420)]=e,n[i(677)]=()=>n[i(420)],n}function Mn(t,e,i){const n=_n,r=n(660)==t[n(430)]?i[n(655)](t[n(620)],n(443)):i[n(609)](t[n(620)]);return i[n(452)](e,r[n(663)],r[n(626)])}function En(t,e,i){const n=_n,r=n(531)==t[n(430)]?i[n(655)](t[n(620)],0):i[n(567)](t[n(620)]);return i[n(452)](e,r[n(663)],r[n(626)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Hn=i.n(Un),Zn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Hn();Cn()(Zn.A,$n);Zn.A&&Zn.A.locals&&Zn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Hn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Jn=Yn;function Yn(t,e){const i=Gn();return(Yn=function(t,e){return i[t-=339]})(t,e)}function Gn(){const t=["element","arrowleft","ck-revision-history-save-revision-form","revisionNameInputValue","ck-responsive-form","175670iujaPp","locale","listenTo","stopPropagation","220","Name of the revision","7800208DMKApz","revisionNameInputView","add","372CBPVUN","revisionName","set","setTemplate","extendTemplate","66bWTHMc","optional","form","value","_createRevisionNameInput","arrowright","errorText","6JwVvlc","2783790FJMpvK","991694kYDdGv","5761uIpmHH","focus","render","label","4926rGqxvM","arrowdown","keystrokes","22255qGbLSg","1473381EAFfhk","focusTracker","fieldView","reset","input","trim","arrowup"];return(Gn=function(){return t})()}!function(t){const e=Yn,i=t();for(;;)try{if(546225===-parseInt(e(378))/1+-parseInt(e(357))/2*(-parseInt(e(355))/3)+parseInt(e(343))/4*(-parseInt(e(365))/5)+-parseInt(e(362))/6*(-parseInt(e(358))/7)+parseInt(e(340))/8+parseInt(e(366))/9+parseInt(e(356))/10*(-parseInt(e(348))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Kn extends Vn.View{constructor(e,i){const n=Yn;super(e),this[n(367)]=new t.FocusTracker,this[n(364)]=new t.KeystrokeHandler,this[n(345)](n(376),""),this[n(341)]=this[n(352)](i),this[n(346)]({tag:n(350),attributes:{class:["ck",n(375),n(377)],tabindex:"-1"},children:[this[n(341)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Jn(360)](){const t=Jn;super[t(360)](),(0,Vn.submitHandler)({view:this}),this[t(367)][t(342)](this[t(341)][t(373)]),this[t(364)][t(380)](this[t(373)]);const e=e=>e[t(381)]();this[t(364)][t(345)](t(353),e),this[t(364)][t(345)](t(374),e),this[t(364)][t(345)](t(372),e),this[t(364)][t(345)](t(363),e)}[Jn(359)](){const t=Jn;this[t(341)][t(359)]()}get[Jn(344)](){const t=Jn;return this[t(341)][t(368)][t(373)][t(351)][t(371)]()}set[Jn(344)](t){const e=Jn;this[e(341)][e(368)][e(373)][e(351)]=t[e(371)]()}[Jn(369)](){const t=Jn;this[t(341)][t(368)][t(373)][t(351)]="",this[t(341)][t(354)]=null}[Jn(352)](t){const e=Jn,i=new Vn.LabeledFieldView(this[e(379)],Vn.createLabeledInputText),n=i[e(368)];n[e(347)]({attributes:{maxlength:e(382)}});let r=Qi(this[e(379)],e(339));return!t&&(r+=" ("+Qi(this[e(379)],e(349))+")"),i[e(361)]=r,n.on(e(370),(()=>{const t=e;this[t(376)]=n[t(373)][t(351)][t(371)]()})),i}}const Xn=Qn;function Qn(t,e){const i=tr();return(Qn=function(t,e){return i[t-=289]})(t,e)}function tr(){const t=["isReadOnly","isReady","menu","init","set","Open revision history","editing","bind","8864532UtyyUZ","_createSaveRevisionFormView","RevisionTracker","config","buttonView","editor","5492529CmbBDJ","execute","isOpen","menuitem","Dialog","componentFactory","Revision history","requires","_showDialog","248hswrCp","role","reset","submit","_registerMenuComponent","revisionSave","items","Cancel","isPremiumPlugin","The revision name cannot be empty.","isEnabled","25514020IgGOCx","errorText","revisionHistory","isOfficialPlugin","revisionNameInputView","revisionName","revisionHistory.requireRevisionName","_saveRevisionFormView","469849RCJMdc","children","view","add","delegate","saveRevision","show","pluginName","get","2cHFSLX","locale","10759671XjUKwA","RevisionHistoryUI","menuBar:revisionHistory","Accept","389578rMARlH","548YPisAf","Save current revision","render","showRevisionViewerCallback","focus","ck-button-action","plugins","panelView","hide","addMany","51005jImAkD","history"];return(tr=function(){return t})()}!function(t){const e=Qn,i=t();for(;;)try{if(943658===parseInt(e(308))/1*(-parseInt(e(317))/2)+-parseInt(e(350))/3+parseInt(e(324))/4*(parseInt(e(334))/5)+parseInt(e(344))/6+parseInt(e(323))/7*(parseInt(e(289))/8)+parseInt(e(319))/9+-parseInt(e(300))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Xn(315)](){return Xn(320)}static get[Xn(303)](){return!0}static get[Xn(297)](){return!0}static get[Xn(357)](){return[xn]}[Xn(339)](){const t=Xn,e=this[t(349)],i=e[t(330)][t(316)](t(346));e.ui[t(355)][t(311)](t(302),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(331)][r(309)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(343)](r(299)).to(i,r(337),i,r(299),e,r(336),((t,e,i)=>t&&e&&!i)),s[r(348)][r(340)]({icon:qi.icons[r(335)],label:Qi(n,r(356)),tooltip:!0}),u[r(340)]({label:Qi(n,r(325)),withText:!0,role:r(353)}),u[r(343)](r(299)).to(i,r(337),i,r(299),e,r(336),((t,e,i)=>t&&e&&!i)),u.on(r(351),(()=>this[r(358)]())),h[r(340)]({label:Qi(n,r(341)),withText:!0,role:r(353)}),h[r(343)](r(299)).to(i,r(337),e,r(336),((t,e)=>t&&!e)),h.on(r(351),(()=>{const t=r;e[t(347)][t(316)](t(302))[t(327)](),s[t(352)]=!1,e[t(342)][t(310)][t(328)]()})),c[r(309)][r(311)](u),l[r(309)][r(311)](h),a[r(290)]=r(338),a[r(295)][r(333)]([c,l]),o[r(311)](a),s})),e.ui[t(355)][t(311)](t(321),(()=>this[t(293)]()))}[Xn(293)](){const t=Xn,e=this[t(349)],i=e[t(318)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(348)][t(340)]({icon:qi.icons[t(335)],label:Qi(i,t(356))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(340)]({label:Qi(i,t(325))}),o[t(312)](t(351)).to(n),o.on(t(351),(()=>{this[t(358)]()})),s[t(309)][t(311)](o),r[t(295)][t(311)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(340)]({label:Qi(i,t(341))}),c[t(312)](t(351)).to(n),c.on(t(351),(()=>{const i=t;e[i(347)][i(316)](i(302))[i(327)]()})),a[t(309)][t(311)](c),r[t(295)][t(311)](a),n[t(331)][t(309)][t(311)](r),n}[Xn(358)](){const t=Xn,e=this[t(349)],i=e[t(318)],n=e[t(330)][t(316)](t(354)),r=e[t(330)][t(316)](t(346));function s(r){const s=t;e[s(347)][s(316)](s(306))&&""===r[s(305)]?r[s(304)][s(301)]=Qi(i,s(298)):(e[s(330)][s(316)](xn)[s(313)]({name:r[s(305)]}),n[s(332)]())}this[t(307)]||(this[t(345)](),this[t(307)].on(t(292),(()=>s(this[t(307)])))),this[t(307)][t(291)](),n[t(314)]({id:t(294),title:Qi(i,t(325)),isModal:!0,content:this[t(307)],actionButtons:[{label:Qi(e[t(318)],t(296)),withText:!0,onExecute:()=>n[t(332)]()},{label:Qi(e[t(318)],t(322)),class:t(329),withText:!0,onCreate(i){const n=t;i[n(343)](n(299)).to(r,n(337),r,n(299),e,n(336),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(307)])}]})}[Xn(345)](){const t=Xn,e=this[t(349)],i=e[t(318)];this[t(307)]=new Kn(i,e[t(347)][t(316)](t(306))),this[t(307)][t(326)]()}}const ir=nr;function nr(t,e){const i=rr();return(nr=function(t,e){return i[t-=141]})(t,e)}function rr(){const t=["Suggested by","241646OggpSq","span","focus","element","16215zTAsWn","changeId","set","bindTemplate","184MBNZwx","1464iSQJse","ck-revision-change","div","isSuggestion","89323GNKHsz","4404Pymrdh","ck-annotation","5717833VmEUjI","204YCVDrH","add","Removed by","author","56619aKoxfz","ck-revision-change__","setTemplate","type","data","40YMVaYc","_model","130uDtbTv","ck-revision-change__label","7833BZsyDK","Added by","1agNJpo","name"];return(rr=function(){return t})()}!function(t){const e=nr,i=t();for(;;)try{if(500459===parseInt(e(156))/1*(parseInt(e(159))/2)+parseInt(e(173))/3*(parseInt(e(167))/4)+parseInt(e(163))/5*(parseInt(e(168))/6)+-parseInt(e(154))/7*(-parseInt(e(150))/8)+parseInt(e(145))/9*(-parseInt(e(152))/10)+-parseInt(e(175))/11+parseInt(e(141))/12*(parseInt(e(172))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends Vn.View{constructor(t,e){const i=nr;super(t),this[i(151)]=e,this[i(164)]=e.id;const n=this[i(166)],r=Qi(t,e[i(149)][i(171)]?i(158):i(142)==e[i(148)]?i(155):i(143));this[i(165)](i(148),e[i(148)]),this[i(147)]({tag:i(170),attributes:{class:[i(174),i(169),n.to(i(148),(t=>i(146)+t))],tabindex:-1},children:[{tag:i(160),children:[{tag:i(160),attributes:{class:[i(153)]},children:[{text:r}]},{text:" "+e[i(144)][i(157)]}]}]})}[ir(161)](){const t=ir;this[t(162)][t(161)]()}}function or(){var t=["160812tEdkgw","data","953029LeWGiJ","44454RpnIqq","980960tQnKPz","23584ICRWCK","13240TiGsMy","6nUPemP","toJSON","author","createdAt","5NyJyra","673168cQtJVl","24KlQqlH","type","5394735sSOZFn","set","rootName"];return(or=function(){return t})()}var ar=cr;function cr(t,e){var i=or();return(cr=function(t,e){return i[t-=335]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(544890===-parseInt(e(343))/1+-parseInt(e(346))/2*(parseInt(e(342))/3)+-parseInt(e(339))/4*(parseInt(e(350))/5)+parseInt(e(352))/6*(-parseInt(e(341))/7)+-parseInt(e(351))/8+-parseInt(e(336))/9+parseInt(e(345))/10*(parseInt(e(344))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(or);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(348)]=e[i(348)],this[i(335)]=e[i(335)],this[i(340)]=e[i(340)]||{},this[i(338)]=e[i(338)],this[i(337)](i(349),e[i(349)])}[ar(347)](){var t=ar;return{id:this.id,authorId:this[t(348)].id,type:this[t(335)],data:this[t(340)],createdAt:this[t(349)]}}}function lr(t,e){const i=fr();return(lr=function(t,e){return i[t-=377]})(t,e)}const hr=lr;!function(t){const e=lr,i=t();for(;;)try{if(121113===-parseInt(e(381))/1*(parseInt(e(385))/2)+parseInt(e(382))/3*(-parseInt(e(391))/4)+parseInt(e(388))/5*(-parseInt(e(378))/6)+-parseInt(e(389))/7*(parseInt(e(386))/8)+parseInt(e(377))/9*(parseInt(e(393))/10)+parseInt(e(387))/11+parseInt(e(392))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fr);class dr{constructor(e,i){const n=lr;this[n(379)]=e,this[n(383)]=i,this[n(380)]=new t.Collection}[hr(384)](t){const e=hr;for(const i of t)this[e(380)][e(390)](i)}}function fr(){const t=["2982rOUYgB","newRevisionId","changes","1oTivUN","3nKZfds","oldRevisionId","_setChanges","91176zBdcEN","1669568hyIvhP","1660505ZPiMYV","1145nTYksJ","7hkErkA","add","675260inFwCg","5011104VJGbfL","33140dtbmyk","243Umfgsp"];return(fr=function(){return t})()}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Hn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=kr;!function(t){const e=kr,i=t();for(;;)try{if(664851===parseInt(e(814))/1*(-parseInt(e(492))/2)+parseInt(e(651))/3+-parseInt(e(543))/4+-parseInt(e(552))/5*(-parseInt(e(823))/6)+-parseInt(e(642))/7+-parseInt(e(654))/8*(parseInt(e(761))/9)+parseInt(e(594))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wr);const yr={c:Ji.ViewContainerElement,a:Ji.ViewAttributeElement,e:Ji.ViewEmptyElement,r:Ji.ViewRawElement,u:Ji.ViewUIElement};class gr extends qi.Plugin{static get[vr(697)](){return vr(645)}static get[vr(748)](){return!0}static get[vr(757)](){return!0}static get[vr(628)](){return[Bi.Users,Vn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(519)]=this[e(546)][e(687)][e(782)](e(575)),this[e(629)](e(829),null),this[e(629)](e(677),null),this[e(581)]=null,this[e(629)](e(795),null),this[e(629)](e(634),!1),this[e(629)](e(750),!0),this.on(e(510),((t,i,n)=>{const r=e;this[r(829)]=null,this[r(677)]=null,this[r(546)][r(663)][r(788)][r(797)]((t=>{const e=r;for(const i of this[e(546)][e(663)][e(788)][e(768)][e(740)])n?t[e(602)](e(683),i):t[e(745)](e(683),i)}))})),this[e(824)](e(749)).to(this,e(829),(t=>null!==t)),this[e(824)](e(706)).to(this,e(634),this,e(795),this,e(829),((t,i,n)=>t&&n?i[e(501)][e(737)](n):0)),this[e(824)](e(730)).to(this,e(634),this,e(795),((t,i)=>t?i[e(501)][e(584)]:0)),this[e(571)]=null,this[e(518)]=new Map,this[e(715)]=null,this[e(633)]=this[e(546)][e(687)][e(782)](Vn.ContextualBalloon)}[vr(769)](){const t=vr,e=this[t(546)],i=new Ir(e,{direction:t(689)}),n=new Ir(e,{direction:t(596)});e[t(597)][t(669)](t(574),i),e[t(597)][t(669)](t(532),n),e[t(597)][t(669)](t(699),new _r(e)),this.on(t(812),(()=>{const e=t;i[e(615)](),n[e(615)]()})),this[t(637)](),this[t(743)](),e[t(798)](t(828)),e[t(687)][t(590)](t(616))&&e[t(687)][t(782)](t(616))[t(611)](t(828))}async[vr(623)](t){const e=vr;await this[e(557)](t);const i={};for(const n in t[e(657)]){if(t[e(657)][n][e(558)]&&!t[e(657)][n][e(558)][e(541)])continue;const r=this[e(636)](JSON[e(708)](t[e(657)][n][e(670)])),s=this[e(546)][e(663)][e(788)][e(768)],o=new Ji.ViewDocumentFragment(s,r[e(497)]((t=>this[e(790)](t))));this[e(546)][e(632)][e(549)][e(660)](e(503)),i[n]=this[e(546)][e(632)][e(549)][e(808)](o),this[e(546)][e(632)][e(549)][e(660)](e(728))}return i}async[vr(779)](t){const e=vr;await this[e(557)](t);const i={};for(const n in t[e(657)])t[e(657)][n][e(558)]&&!t[e(657)][n][e(558)][e(541)]||(i[n]=t[e(657)][n][e(820)]||{});return i}[vr(636)](t){const e=vr;return(t=t[e(815)]((t=>!t[e(682)]||e(719)!==t[e(682)]&&e(738)!==t[e(682)])))[e(512)]((t=>{const i=e;i(799)!=typeof t&&(t[i(711)]=this[i(636)](t[i(711)]),t[i(650)]=t[i(650)][i(815)]((t=>!t[0][i(720)](i(827)))))})),t}async[vr(804)](t,e,i=!1){const n=vr;if(!this[n(750)])return;const r=this[n(795)],s=this[n(519)],o=n(799)==typeof t?s[n(534)](t):t,a=n(799)==typeof e?s[n(534)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(795)]&&this[n(795)][n(515)]===c&&this[n(795)][n(746)]===u)return Promise[n(777)]();this[n(634)]=!1,this[n(677)]=null,this[n(829)]=null,this[n(795)]=new dr(c,u);const l=this[n(499)](o,a,!0)[n(497)]((t=>this[n(557)](t)));return l[n(674)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(723)](l)[n(609)]((()=>{const t=n;if(!this[t(750)])return;this[t(528)]();const e=this[t(766)](c,u);for(const i of e[t(501)])this[t(518)][t(629)](i.id,i);this[t(546)][t(626)][t(658)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(546)][n(626)][n(768)][n(502)]())i[n(500)](t);for(const t of Object[n(498)](e[n(626)])){const r=i[n(802)](t);for(const s of Object[n(498)](e[n(650)][t]))i[n(821)](s,e[n(650)][t][s],r);i[n(544)](e[n(626)][t],r,0)}})),this[t(795)][t(550)](this[t(608)](e[t(501)])),this[t(634)]=!0}))[n(619)]((t=>{const e=n;console[e(675)](t),this[e(528)](),r&&(this[e(795)]=r),this[e(634)]=!0}))}[vr(700)](t,e){const i=vr,n=this[i(519)][i(695)](t);return n.on(i(767),((t,i,r)=>e(i,r,n))),this[i(519)][i(716)](n),n}[vr(557)](t){const e=vr;if(!t||t[e(657)])return Promise[e(777)]();{const i=this[e(546)][e(756)][e(782)](e(583));return this[e(715)][e(534)]({channelId:i,revisionId:t.id})[e(609)]((i=>{const n=e;t[n(767)]({diffData:i[n(657)]},!0)}))}}[vr(528)](){const t=vr;this[t(829)]=null,this[t(734)](),this[t(571)]&&this[t(571)][t(638)](),this[t(571)]=null,this[t(518)][t(739)](),this[t(546)][t(626)][t(658)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(546)][i(626)][i(768)][i(502)]())e[i(500)](t)}))}[vr(608)](t){const e=vr,i=[],n=new Map;for(const t of this[e(546)][e(626)][e(768)][e(502)]()){const r=this[e(546)][e(663)][e(788)][e(653)](t);if(!r)continue;const s=r[e(538)]()[e(696)](0);s&&(i[e(674)](t),n[e(629)](t,s))}return i[e(493)](((t,i)=>{const r=e,s=n[r(782)](t),o=n[r(782)](i);return s.y-o.y||s.x-o.x})),(t=t[e(815)]((t=>i[e(681)](t[e(680)]))))[e(493)](((t,n)=>i[e(540)](t[e(680)])-i[e(540)](n[e(680)]))),t}[vr(600)](t){const e=vr,i=Array[e(647)](t[e(809)])[e(815)]((([t,i])=>t[e(720)](e(526))&&!i[e(688)])),n=Array[e(647)](this[e(546)][e(626)][e(577)](t)[e(789)]({singleCharacters:!0}));if(0!=i[e(584)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(718)](":");if(r[e(796)][e(771)](t[e(694)])&&i[e(744)](),(t[e(604)][e(771)](r[e(525)])||t[e(604)][e(693)](r[e(525)]))&&(e(760)==s?t[e(524)]={userId:o}:e(640)==s&&(t[e(803)]={userId:o})),0==i[e(584)])break}return n}[vr(692)](t){const e=vr,i=new Map;for(let n=0;n<t[e(584)];n++)e(506)===t[n][e(751)]?(t[n][e(696)][e(511)]=n,t[n][e(696)][e(747)]=n):(e(595)===t[n][e(751)]?t[n][e(696)][e(511)]=n:e(601)===t[n][e(751)]&&(t[n][e(696)][e(747)]=n),i[e(629)](t[n].id,n));for(const n of i[e(551)]())e(595)===t[n][e(751)]?t[n][e(696)][e(747)]=i[e(782)](t[n][e(765)]):e(601)===t[n][e(751)]&&(t[n][e(696)][e(511)]=i[e(782)](t[n][e(765)]))}[vr(703)](t){const e=vr;for(let i=0;i<t[e(584)];i++){if(e(595)===t[i][e(751)])t[i][e(696)][e(511)]=i;else if(e(601)===t[i][e(751)]){t[i][e(696)][e(747)]=i;const n=t[i][e(696)][e(511)];t[n][e(765)]=t[i].id,t[i][e(765)]=t[n].id}else t[i][e(696)][e(511)]=i,t[i][e(696)][e(747)]=i,t[i][e(765)]=null;t[i][e(649)]||(t[i][e(649)]=[],t[i][e(613)]=[])}}[vr(598)](t,e){const i=vr,n=t[i(815)]((t=>!t[i(524)]));for(let t=0;t<e[i(584)];t++)e[t][i(524)]&&(n[t][i(524)]=e[t][i(524)])}[vr(764)](t){const e=vr,i=JSON[e(708)](t),n=this[e(546)][e(663)][e(788)][e(768)],r=new Ji.ViewDocumentFragment(n,i[e(497)]((t=>this[e(790)](t))));return this[e(546)][e(632)][e(775)](r)}[vr(790)](t){const e=vr,i=this[e(546)][e(663)][e(788)][e(768)];if(e(799)==typeof t)return new Ji.ViewText(i,t);{const n=t[e(711)][e(497)]((t=>this[e(790)](t)));return new(yr[t[e(751)]]||Ji.ViewElement)(i,t[e(682)],t[e(650)],n)}}[vr(766)](t,e=null){const i=vr,n=this[i(519)][i(534)](t),r=e?this[i(519)][i(534)](e):null,s=this[i(499)](n,r),o=s[s[i(584)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(584)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(498)](e[i(657)]))if(e[i(657)][t][i(558)]){const n=e[i(657)][t][i(558)];n[i(541)]?(u[i(669)](t),l[i(590)](t)&&l[i(782)](t)[i(545)]==n[i(545)]?l[i(754)](t):l[i(629)](t,n)):l[i(590)](t)?(u[i(754)](t),l[i(754)](t)):(u[i(669)](t),l[i(629)](t,n))}else u[i(669)](t)}for(const t of u){const e=l[i(590)](t)&&!l[i(782)](t)[i(541)];let n=e?s[i(584)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(657)][t]){const n=e?o[i(657)][t][i(621)]:o[i(657)][t][i(820)];c[i(650)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(626)]={};for(const e of t[i(741)])a[i(629)](e.id,e);for(const e of u){const n=t[i(657)][e]?t[i(657)][e][i(670)]:"[]",r=t[i(657)][e]?t[i(657)][e][i(542)]:"[]";t[i(626)][e]={insertions:this[i(764)](n),deletions:this[i(764)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(647)](n[i(626)][t][i(670)][i(809)])[i(815)]((([t])=>!t[i(720)](i(526)))));let h=0;for(const o of s){const s=this[i(600)](o[i(626)][t][i(670)]);o==n?(e=s,r=e[i(584)],e[i(512)]((t=>{t.id=h++})),this[i(703)](e)):this[i(598)](e,s);const a=e[i(815)]((t=>!t[i(524)]))[i(497)]((t=>t.id));let c=0;const l=this[i(600)](o[i(626)][t][i(542)]);l[i(512)]((t=>{t[i(803)]?t.id=r++:t.id=a[c++]})),this[i(703)](l),this[i(562)](e,i(524)),this[i(562)](l,i(803)),o==n&&this[i(776)](e,u),e=this[i(570)](e,l),this[i(692)](e),this[i(562)](e,i(803))}e=e[i(815)]((t=>!(t[i(524)]&&t[i(803)])));const d=new Map(o[i(626)][t][i(542)][i(809)]),f=new Set(u[i(498)]());for(const t of d[i(498)]())f[i(754)](t);this[i(589)](e,f),this[i(705)](e),e=this[i(781)](e),e=this[i(607)](e),e=this[i(533)](e);const{root:m,changes:p}=this[i(521)](e,a,t);c[i(626)][t]=m;const v=l[i(782)](t);if(v){const e=a[i(782)](v[i(545)]),n=new ur({author:e,type:v[i(541)]?i(669):i(507),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(564)](n),c[i(650)][t][i(800)]=n.id}c[i(501)]=c[i(501)][i(591)](p)}return c}[vr(776)](t,e){const i=vr;for(let n=0;n<t[i(584)];n++)for(const[r,s]of e)s[i(525)][i(771)](t[n][i(604)])&&t[n][i(649)][i(674)](r),s[i(796)][i(771)](t[n][i(694)])&&t[n][i(613)][i(674)](r)}[vr(570)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(584)]||s<e[i(584)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(674)](o);else if(a[i(803)]&&o[i(524)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(643)](t,r,e,s);n=n[i(591)](o),r=a,s=c}else a[i(803)]?(s++,n[i(674)](a)):(r++,n[i(674)](o))}return n}[vr(589)](t,e){const i=vr,n=[];for(let o=0;o<t[i(584)];o++){for(let s=0;s<t[o][i(649)][i(584)];s++){const a=t[o][i(649)][s];if(!e[i(590)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(733)!=c||i(760)!=u&&i(640)!=u||(n[i(564)]({type:u,name:a,userId:l}),t[o][i(649)][i(707)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(613)][i(584)];s++){const a=t[o][i(613)][s];if(!e[i(590)](a))continue;const{group:c,type:u}=r(a);if(i(733)!=c||i(760)!=u&&i(640)!=u)continue;t[o][i(613)][i(707)](s,1),s--;const l=n[i(794)]((t=>t[i(682)]==a));l>-1&&n[i(707)](l,1)}}function r(t){const e=i,n=t[e(718)](":");return{group:n[0],type:n[1],subType:n[e(584)]>=5?n[2]:null,id:n[e(584)]<5?n[2]:n[3],authorId:n[e(584)]<5?n[3]:n[4],markerCount:6==n[e(584)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(584)];i++){if(t[e(524)]&&e(760)==n[i][e(751)])return t[e(816)]=n[i],void delete t[e(524)];if(!t[e(524)]&&!t[e(803)]&&e(640)==n[i][e(751)])return void(t[e(617)]=n[i])}}}[vr(562)](t,e){const i=vr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(629)](o.id,n);for(let n=0;n<t[i(584)];n++){if(i(803)==e&&t[n][i(524)]||i(524)==e&&t[n][i(803)])continue;if(i(506)==t[n][i(751)]){t[n][i(666)]=0;continue}const r=s[i(782)](t[n][i(765)]),o=s[i(782)](t[n].id);t[n][i(666)]=r-o}}[vr(499)](t,e,i=!1){const n=vr,r=[];let s=this[n(519)][n(737)](t),o=this[n(519)][n(737)](e);for(-1==o&&(o=this[n(519)][n(731)][n(584)],i=!1);s<o;)r[n(674)](this[n(519)][n(534)](s)),s++;return i&&r[n(674)](this[n(519)][n(534)](s)),r}[vr(643)](t,e,i,n){const r=vr,s=this[r(546)][r(626)][r(722)];let o=e;for(;t[o]&&t[o][r(524)];)o++;let a=n;for(;i[a]&&i[a][r(803)];)a++;u(t,e,o),u(i,n,a);const c=i[r(806)](n,a)[r(591)](t[r(806)](e,o));return c[r(493)](((t,e)=>t[r(652)]!=e[r(652)]?t[r(652)]-e[r(652)]:t[r(787)]!=e[r(787)]?t[r(787)]-e[r(787)]:t[r(666)]!=e[r(666)]?e[r(666)]-t[r(666)]:!!t[r(524)]!=!!e[r(524)]?-1==t[r(652)]||0==t[r(652)]?t[r(524)]?-1:1:t[r(524)]?1:-1:t[r(662)]-e[r(662)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(817)],c=!0;for(let r=e;r<i;r++)if(s[n(559)](t[r][n(696)])||(c=!1),t[r][n(696)][n(511)]<e&&(o=r),t[r][n(696)][n(747)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(652)]=r<=o?-1:r<a?0:1,t[r][n(662)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(666)]?t[i][n(787)]=u:(u++,t[i][n(787)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(652)]&&(t[r][n(787)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(666)]?t[e][n(787)]=u:(u--,t[e][n(787)]=u,u--)}}[vr(705)](t){const e=vr,i=new Map,n=this[e(546)][e(626)][e(722)];for(let r=1;r<t[e(584)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(506)==c[e(751)])continue;if(c[e(751)]!=u[e(751)])continue;if(!n[e(673)](u[e(696)])||n[e(664)](u[e(696)]))continue;if(!n[e(673)](c[e(696)])||n[e(664)](c[e(696)]))continue;if((t[r][e(524)]||t[r][e(816)])&&t[r-1][e(803)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(803)]||!t[r-1][e(524)]&&!t[r-1][e(816)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(787)]==o[e(787)],h=Math[e(752)](s[e(787)])<Math[e(752)](o[e(787)])&&0==o[e(666)];(l||h)&&(i[e(629)](o.id,s.id),t[e(707)](a,1),r--,s[e(524)]=!1)}for(let n=0;n<t[e(584)];n++)i[e(590)](t[n][e(765)])&&(t[n][e(765)]=i[e(782)](t[n][e(765)]))}[vr(781)](t){const e=vr,i=new Set(t[e(497)]((t=>t.id)));for(let n=0;n<t[e(584)];n++)i[e(590)](t[n][e(765)])||0==t[n][e(666)]||(t[n][e(671)]=!0);return t[e(815)]((t=>!t[e(671)]))}[vr(607)](t){const e=vr,i=new Set;for(let n=0;n<t[e(584)];n++){if(i[e(590)](t[n].id)&&t[n][e(803)]&&(t[n][e(671)]=!0),t[n][e(671)])continue;if(0==t[n][e(666)])continue;if(e(595)!=t[n][e(751)])continue;if(null==t[n][e(765)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(765)];)e(595)==t[r][e(751)]?s++:e(601)==t[r][e(751)]&&s--,r++;if(0!=s)if(t[n][e(803)])t[n][e(671)]=!0;else for(;r!=n;)t[r][e(803)]&&0!=t[r][e(666)]&&(t[r][e(671)]=!0,i[e(669)](t[r][e(765)])),r--}return t[e(815)]((t=>!t[e(671)]))}[vr(533)](t){const e=vr,i=this[e(546)][e(626)][e(722)];for(let n=0;n<t[e(584)];n++){if(!(t[n][e(524)]||t[n][e(816)]||t[n][e(803)]||t[n][e(617)]))continue;if(0==t[n][e(666)])continue;const r=t[n][e(696)];i[e(673)](r)||i[e(664)](r)||(t[n][e(524)]&&delete t[n][e(524)],t[n][e(816)]&&delete t[n][e(816)],t[n][e(617)]&&delete t[n][e(617)],t[n][e(803)]&&(t[n][e(671)]=!0))}return t[e(815)]((t=>!t[e(671)]))}[vr(521)](t,e,i){const n=vr,r=new Ji.DocumentFragment,s=[],o=new Map,a=this[n(546)][n(626)],c=a[n(722)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(584)];e++)if(n(595)===t[e][n(751)]){t[e][n(604)]=a[n(826)](r,f);const i=new Ji.Element(t[e][n(696)][n(682)],t[e][n(696)][n(791)]());u[0][n(509)](i),f[n(674)](0),u[n(564)](i),t[e][n(694)]=a[n(826)](r,f)}else n(601)===t[e][n(751)]?(u[n(744)](),t[e][n(604)]=a[n(826)](r,f),f[n(691)](),f[f[n(584)]-1]++,t[e][n(694)]=a[n(826)](r,f)):(t[e][n(604)]=a[n(826)](r,f),d?d[n(587)]+=t[e][n(696)][n(632)]:d=new Ji.Text(t[e][n(696)][n(632)],t[e][n(696)][n(791)]()),t[e+1]&&n(506)===t[e+1][n(751)]&&v(d,t[e+1][n(696)])||(u[0][n(509)](d),d=null),f[f[n(584)]-1]+=t[e][n(696)][n(684)],t[e][n(694)]=a[n(826)](r,f));for(let e=0;e<t[n(584)];e++){const i=t[e][n(604)],r=t[e][n(694)];for(const r of t[e][n(649)])o[n(629)](r,{start:i,end:null});m(n(617),e,i,r),m(n(816),e,i,r),m(n(803),e,i,r),m(n(524),e,i,r);for(const i of t[e][n(613)])o[n(782)](i)[n(796)]=r}for(const[t,e]of o){const i=this[n(546)][n(626)][n(580)](e[n(525)],e[n(796)]);r[n(809)][n(629)](t,i)}return s[n(493)](((t,e)=>{const i=n,s=r[i(809)][i(782)](i(526)+t.id),o=r[i(809)][i(782)](i(526)+e.id);return s[i(525)][i(732)](o[i(525)])?-1:s[i(525)][i(693)](o[i(525)])?1:s[i(796)][i(732)](o[i(796)])?-1:s[i(796)][i(693)](o[i(796)])?1:i(669)===t[i(751)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(545)]:null,d=i===t[o(584)]-1,f=h[e][0],m=c[o(805)](t[i][o(696)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(796)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(545)]!==u&&(l[e][o(796)]=r,f&&f[o(545)]===l[e][o(545)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(595)!==t[i][o(751)]||f&&f[o(545)]===u||h[e][o(564)]({userId:u,object:t[i][o(696)],change:l[e]}),o(601)===t[i][o(751)]&&f&&f[o(635)]===t[i][o(696)]&&(h[e][o(744)](),l[e]=f[o(797)])),l[e]&&d&&(l[e][o(796)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(696)],f=a[h(722)][h(673)](d)&&!a[h(722)][h(664)](d),m=t[h(630)]==o[h(753)]&&o[h(735)];if(f&&m)return;const p=a[h(580)](t,o),v=e[h(782)](u),y=new ur({author:v,type:h(524)==l||h(816)==l?h(669):h(507),data:{isSuggestion:h(816)==l||h(617)==l},createdAt:new Date,rootName:i});s[h(674)](y),r[h(809)][h(629)](h(526)+y.id,p)}function v(t,e){const i=n,r=t[i(791)](),s=e[i(791)]();for(const t of r){if(t[1]!==e[i(529)](t[0]))return!1;s[i(704)]()}return s[i(704)]()[i(561)]}}[vr(637)](){const t=vr;this[t(546)][t(516)][t(579)](t(576))[t(563)]({view:t(618)}),this[t(546)][t(516)][t(579)](t(508))[t(504)]({model:t(618),view:e=>{const i=t,n=e[i(522)][i(718)](":")[1],r=this[i(496)](n);if(!r)return null;const s=i(669)==r[i(751)]?i(760):i(640),o=[i(774),i(639)+s];return r[i(632)][i(620)]&&o[i(674)](i(639)+s+i(539)),this[i(829)]==r&&o[i(674)](i(536)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(546)][t(516)][t(579)](t(576))[t(669)]((e=>{const i=t;e.on(i(586),((t,e,n)=>{const r=i,s=e[r(667)][r(554)](0);if(!s||!s.is(r(729),r(685)))return;if(!n[r(668)][r(778)](s,{attributes:[r(599),r(770)]}))return;const o=e[r(495)][r(525)][r(630)];n[r(772)][r(821)](r(599),s[r(529)](r(599)),o),n[r(772)][r(821)](r(770),s[r(529)](r(770)),o)}),{priority:i(793)})})),this[t(546)][t(516)][t(579)](t(576))[t(669)]((e=>{const i=t;e.on(i(729),((t,e,n)=>{const r=i;if(!n[r(668)][r(778)](e[r(667)],{attributes:[r(599),r(770)]}))return;if(e[r(495)][r(688)])return;const s=e[r(495)][r(525)][r(630)];s[r(655)](r(599))||s[r(655)](r(517))||(n[r(772)][r(821)](r(599),e[r(667)][r(529)](r(599)),s),n[r(772)][r(821)](r(770),e[r(667)][r(529)](r(770)),s))}),{priority:i(793)})})),this[t(546)][t(516)][t(579)](t(576))[t(676)]({view:{name:t(553),attributes:{vid:!0}},model:{key:t(517),value:e=>e[t(529)](t(517))}}),this[t(546)][t(626)][t(722)].on(t(758),((e,[,i])=>{const n=t;[n(599),n(770),n(517)][n(681)](i)&&(e[n(523)]=!0,e[n(785)]())}),{priority:t(505)}),this[t(546)][t(516)][t(579)](t(578))[t(669)]((e=>{const i=t;e.on(i(530),((t,e,n)=>{const r=i;if(" "!=e[r(696)][r(632)]||e[r(696)][r(753)][r(690)]>1)return;if(!n[r(668)][r(778)](e[r(696)],t[r(682)]))return;const s=n[r(772)],o=n[r(792)][r(537)](e[r(818)]);s[r(573)](o,s[r(755)](r(553)))}))})),this[t(546)][t(516)][t(579)](t(578))[t(548)]({model:t(618)}),this[t(546)][t(663)][t(763)].on(t(819),function(e){const i=t,n=e[i(687)][i(782)](i(645));return(t,r,s)=>{const o=i,a=r[o(522)][o(718)](":")[1],c=n[o(496)](a);if(!c)return null;const u=o(669)==c[o(751)]?o(718):o(701);if(!s[o(668)][o(612)](r[o(686)],t[o(682)]))return;const l=r[o(686)][o(789)](),h=r[o(686)][o(525)],d=e[o(626)][o(722)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(696)];p=p||d[o(569)](e);const i=s[o(792)][o(801)](e);if(i&&i[o(606)](o(567)))return;o(601)==t[o(751)]&&d[o(673)](e)&&!d[o(664)](e)&&(e[o(555)]||h[o(568)]?f&&f[o(753)]==e||(f=e,y(t[o(604)]),v=!0):m=m||t[o(604)])}function y(t){const e=o,i=s[e(772)][e(724)](e(553),{class:e(639)+u}),a=s[e(792)][e(702)](t);c[e(632)][e(620)]&&s[e(772)][e(745)](e(639)+u+e(539),i),n[e(829)]==c&&s[e(772)][e(745)](e(536),i),s[e(772)][e(544)](a,i),s[e(792)][e(784)](i,r[e(522)])}p||v||!m||y(m)}}(this[t(546)]),{priority:t(585)}),this[t(546)][t(663)][t(763)].on(t(780),((e,i,n)=>{const r=t,s=n[r(792)][r(520)](i[r(522)]);if(s)for(const t of s)(t[r(742)](r(786))||t[r(742)](r(810)))&&(n[r(792)][r(494)](t,i[r(522)]),n[r(772)][r(507)](t))}),{priority:t(585)}),this[t(546)][t(663)][t(763)].on(t(819),((e,i,n)=>{const r=t,s=i[r(522)][r(718)](":")[1],o=this[r(496)](s);if(!o)return null;const a=r(669)==o[r(751)]?r(718):r(701);if(n[r(668)][r(612)](i[r(686)],e[r(682)]))for(const t of i[r(686)][r(661)]()){if(!t.is(r(729),r(527)))continue;const e=n[r(772)][r(724)](r(553),{class:r(639)+a}),s=n[r(792)][r(702)](this[r(546)][r(626)][r(811)](t));o[r(632)][r(620)]&&n[r(772)][r(745)](r(639)+a+r(539),e),this[r(829)]==o&&n[r(772)][r(745)](r(536),e),n[r(772)][r(544)](s,e),n[r(792)][r(784)](e,i[r(522)])}}),{priority:t(585)}),this[t(546)][t(626)][t(768)].on(t(797),(()=>{const e=t;this[e(546)][e(663)][e(788)][e(797)]((t=>{const i=e;for(const e of this[i(546)][i(626)][i(768)][i(502)]()){const n=this[i(546)][i(626)][i(768)][i(592)](e),r=this[i(546)][i(663)][i(788)][i(768)][i(592)](e);if(r){const e=n[i(529)](i(800));if(t[i(627)](i(625),r),t[i(602)](i(610),r),t[i(602)](i(698),r),t[i(602)](i(622),r),e){const n=this[i(496)](e);if(!n)return null;t[i(821)](i(625),e,r),t[i(745)](i(514)+n[i(751)],r),this[i(829)]==n&&t[i(745)](i(622),r)}}}}))})),this[t(546)][t(516)][t(579)](t(576))[t(563)]({view:t(605),model:e=>t(679)+e,converterPriority:t(505)}),this[t(546)][t(516)][t(579)](t(576))[t(563)]({view:t(659),model:e=>t(762)+e,converterPriority:t(505)}),this[t(546)][t(516)][t(579)](t(578))[t(548)]({model:t(733),view:e=>({name:t(646)+e,group:t(733)}),converterPriority:t(505)}),this[t(546)][t(516)][t(579)](t(508))[t(504)]({model:t(733),view:e=>{const i=t,n=e[i(522)][i(718)](":")[1];return i(760)!=n&&i(640)!=n?null:{classes:[i(614),i(783)+n]}}}),this[t(546)][t(663)][t(763)].on(t(565),br(this[t(546)],t(701)),{priority:t(585)}),this[t(546)][t(663)][t(763)].on(t(648),br(this[t(546)],t(718)),{priority:t(585)}),this[t(546)][t(663)][t(763)].on(t(593),((e,i,n)=>{const r=t,s=n[r(792)][r(520)](i[r(522)]);if(s)for(const t of s)t.is(r(547))&&(n[r(792)][r(494)](t,i[r(522)]),n[r(772)][r(507)](t))}),{priority:t(585)})}[vr(496)](t){const e=vr;return this[e(518)][e(782)](t)}[vr(825)](t){const e=vr;return this[e(571)]&&this[e(571)][e(638)](),this[e(571)]=new sr(this[e(546)][e(582)],t),this[e(571)]}[vr(743)](){const t=vr;this[t(546)][t(626)][t(768)][t(713)][t(644)](t(618)),this.on(t(672),((e,i,n,r)=>{const s=t;r&&this[s(633)][s(507)](r),n&&(this[s(633)][s(669)]({view:n,stackId:s(717),position:{target:()=>{const t=s,e=this[t(546)][t(663)],i=this[t(496)](n[t(572)]);let r;if(i[t(632)][t(665)]){const n=e[t(788)][t(653)](i[t(680)]);r=Array[t(647)](n[t(538)]())}else{const i=this[t(546)][t(626)][t(809)][t(782)](t(526)+n[t(572)]);r=Array[t(647)](e[t(792)][t(520)](i[t(682)]))[t(497)]((i=>e[t(788)][t(556)][t(759)](i)))[t(497)]((e=>Array[t(647)](e[t(538)]())))[t(736)]()}return this[t(581)]&&r[t(588)]((e=>e[t(726)]-3<=this[t(581)].y&&e[t(709)]+3>=this[t(581)].y&&e[t(513)]-3<=this[t(581)].x&&e[t(560)]+3>=this[t(581)].x))||r[0]}}}),this[s(633)][s(807)](s(717)))})),this.on(t(641),((e,i,n,r)=>{const s=t;this[s(677)]=n?this[s(825)](n):null,this[s(546)][s(626)][s(797)]((()=>{const t=s,e=this[t(546)][t(663)];r&&(r[t(632)][t(665)]?e[t(788)][t(797)]((i=>{const n=t;i[n(602)](n(622),e[n(788)][n(768)][n(592)](r[n(680)]))})):e[t(678)](t(526)+r.id)),n&&(n[t(632)][t(665)]?e[t(788)][t(797)]((i=>{const r=t;i[r(745)](r(622),e[r(788)][r(768)][r(592)](n[r(680)]))})):e[t(678)](t(526)+n.id))}))})),this[t(714)](this[t(546)][t(663)][t(788)][t(768)],t(710),((e,i)=>{const n=t;if(this[n(829)])return;const r=this[n(566)](i[n(773)]),s=this[n(518)][n(782)](r);s?(this[n(581)]={x:i[n(822)].x,y:i[n(822)].y},this[n(677)]=this[n(825)](s)):(this[n(581)]=null,this[n(677)]=null)})),this[t(714)](this[t(546)][t(663)][t(788)][t(768)],t(721),((e,i)=>{const n=t,r=this[n(566)](i[n(773)]),s=this[n(518)][n(782)](r);s?(this[n(581)]={x:i[n(822)].x,y:i[n(822)].y},s===this[n(829)]?this[n(633)][n(531)]():this[n(829)]=s):(this[n(581)]=null,this[n(829)]=null)}))}[vr(566)](t){const e=vr;do{const i=t[e(529)](e(625));if(i)return i;t=t[e(753)]}while(t);return null}[vr(734)](){const t=vr;this[t(546)][t(626)][t(797)]((e=>{const i=t;for(const t of this[i(546)][i(626)][i(809)])e[i(813)](t)}))}}function kr(t,e){const i=wr();return(kr=function(t,e){return i[t-=492]})(t,e)}function br(t,e){return(i,n,r)=>{const s=kr;if(!r[s(668)][s(612)](n[s(686)],i[s(682)]))return;const o=n[s(686)][s(789)](),a=n[s(686)][s(525)],c=t[s(626)][s(722)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(696)];h=h||c[s(569)](e);const i=r[s(792)][s(801)](e);if(i&&i[s(606)](s(567)))return;s(601)==t[s(751)]&&c[s(673)](e)&&!c[s(664)](e)&&(e[s(555)]||a[s(568)]?u&&u[s(753)]==e||(u=e,f(t[s(604)]),d=!0):l=l||t[s(604)])}function f(t){const i=s,o=r[i(792)][i(702)](t),a=r[i(772)][i(724)](i(553),{class:i(783)+e});r[i(772)][i(544)](o,a),r[i(792)][i(784)](a,n[i(522)])}h||d||!l||f(l)}}function wr(){const t=["getCustomProperty","_markMismatchedRemovedTags","_sortAndFilterDiffChanges","then","ck-revision-history-root-add","forceDisabled","test","markersEnd","ck-suggestion-preview-marker","refresh","WidgetToolbarRepository","isRemoveSuggestion","revision","catch","isSuggestion","attributesBefore","ck-revision-history-root--active","getRevisionData","getLaterVisibleRevision","data-change-id","model","removeAttribute","requires","set","nodeAfter","restoreRevisionCallback","data","_balloon","isReady","object","_removeRevisionMarkers","_setConversion","destroy","ck-suggestion-marker-","deletion","change:activeChange","9061766eDZfrR","_threeWayMerge","observeMarkers","RevisionViewer","suggestion:","from","addMarker:revision-suggestion:insertion","markersStart","attributes","980052CMJjpI","side","getDomRoot","2068304RsgyeU","hasAttribute","change:isReady","diffData","enqueueChange","suggestion","useFillerType","getItems","index","editing","isLimit","isOnRoot","distance","viewItem","consumable","add","insertions","isIncorrect","change:activeView","isBlock","push","error","elementToAttribute","activeView","reconvertMarker","revision-comment:","rootName","includes","name","ck-editor__editable__overlay","offsetSize","code","markerRange","plugins","isCollapsed","backward","maxOffset","pop","_refreshStartEndIndex","isAfter","nextPosition","createRevision","item","pluginName","ck-revision-history-root-remove","restoreRevision","addRevisionData","merge","toViewPosition","_processTape","next","_fixObsoleteTags","currentChangeNumber","splice","parse","bottom","mouseover","children","execute","selection","listenTo","adapter","addRevision","revisionHistoryLabel","split","revision-start","startsWith","mousedown","schema","all","createUIElement","revisionHistory","top","first","default","element","numberOfChanges","_revisions","isBefore","revision-suggestion","_cleanMarkers","isAtStart","flat","getIndex","revision-end","clear","roots","authors","hasClass","_initInteractions","shift","addClass","oldRevisionId","endIndex","isOfficialPlugin","isNavigationMode","isEnabled","type","abs","parent","delete","createAttributeElement","config","isPremiumPlugin","checkAttribute","mapViewToDom","insertion","27lHQUxy","revision-suggestion:","downcastDispatcher","_makeModelFromViewString","pairId","_getDiff","_update","document","init","vid_end","isEqual","writer","target","ck-suggestion-marker","toModel","_markMarkers","resolve","consume","getRevisionRootsAttributes","removeMarker:revision","_removeMissingPairs","get","ck-suggestion-preview-marker-","bindElementToMarker","stop","ck-suggestion-marker-split","level","view","getWalker","_getViewObj","getAttributes","mapper","low","findIndex","diff","end","change","enableReadOnlyMode","string","revisionHistoryAttachChange","toViewElement","addRoot","isRemoved","compare","isObject","slice","showStack","toData","markers","ck-suggestion-marker-merge","createPositionBefore","change:numberOfChanges","removeMarker","1Uipdhx","filter","isAddSuggestion","POSITIVE_INFINITY","range","addMarker:revision","attributesAfter","setAttribute","domEvent","6KNGkzt","bind","_getViewForChange","createPositionFromPath","data-revision-","revision-viewer","activeChange","387388zLysbw","sort","unbindElementFromMarkerName","modelRange","_getChangeFromId","map","keys","_getRevisionsRange","detachRoot","changes","getRootNames","marked","markerToHighlight","highest","text","remove","editingDowncast","_appendChild","change:isEnabled","startIndex","forEach","left","ck-revision-history-root-","newRevisionId","conversion","vid","_changeIdToChange","repository","markerNameToElements","_makeModelFromTape","markerName","return","isAdded","start","revision:","softBreak","_cleanUp","getAttribute","attribute:vid","updatePosition","showNextChange","_removeUnsupportedChanges","getRevision","affectsData","ck-suggestion-marker--active","toViewRange","getClientRects","-new","indexOf","isAttached","deletions","2300244xSbICa","insert","userId","editor","uiElement","markerToData","processor","_setChanges","values","1075065QrbhSx","span","getChild","nextSibling","domConverter","loadRevisionData","attachChange","isInline","right","done","_setDistance","dataToMarker","unshift","addMarker:revision-suggestion:deletion","_findChangeIdFromDomTarget","addHighlight","isAtEnd","isContent","_joinTapes","_changeView","changeId","wrap","showPreviousChange","RevisionsRepository","upcast","createRangeIn","dataDowncast","for","createRange","_activeViewTarget","locale","collaboration.channelId","length","high","element:pre","_data","find","_markSuggestions","has","concat","getRoot","removeMarker:revision-suggestion","29620610JrkLee","elementStart","forward","commands","_markInsertions","vid_start","_makeTape","elementEnd","removeClass","_step","previousPosition","comment"];return(wr=function(){return t})()}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(687)][e(782)](gr);this[e(535)]=!1,this[e(714)](i,e(656),(()=>this[e(615)]())),this[e(714)](i,e(510),(()=>this[e(615)]()))}[vr(712)](){const t=vr,e=this[t(546)],i=e[t(687)][t(782)](gr),n=i[t(634)]?i[t(795)][t(515)]:null;e[t(756)][t(782)](t(725))[t(631)](n)}[vr(615)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(546)][t(687)][t(782)](gr),s=r&&n[t(624)](r[t(515)]);this[t(750)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(687)][i(782)](gr);this[i(535)]=!1,this[i(603)]=i(596)===e?1:-1,this[i(714)](n,i(656),(()=>this[i(615)]())),this[i(714)](n,i(510),(()=>this[i(615)]())),this[i(714)](n,i(641),(()=>this[i(615)]()))}[vr(712)](){const e=vr,i=this[e(546)],n=i[e(687)][e(782)](gr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(829)]=r?n[e(795)][e(501)][e(782)](s+this[e(603)]):n[e(795)][e(501)][e(727)],n[e(829)][e(632)][e(665)])o=i[e(663)][e(788)][e(653)](n[e(829)][e(680)]);else{const t=i[e(626)][e(809)][e(782)](e(526)+n[e(829)].id);o=(0,Bi.getMarkerDomElement)(i[e(663)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(615)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(546)][t(687)][t(782)](gr);this[t(750)]=!!(s&&r&&n)&&(!e||(1===this[t(603)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Hn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(t,e){const i=Tr();return(xr=function(t,e){return i[t-=212]})(t,e)}function Tr(){const t=["forward","setTemplate","div","12nyhiur","125RSlAXB","_isStatusLabelVisible","isReady","497cjTRnp","Loading...","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","isEnabled","No changes","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation","backward","49671EKLUlz","221154ZjWwKA","X_OF_Y_CHANGES","ck-hidden","111328BZseTg","bind","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui","NUMBER_OF_CHANGES","7419929dtZRNo","ck-revision-history-ui__changes-navigation__label","bindTemplate","isNavigationMode","2358486WvHXXM","14727EClPOx","132zHwMNI","20906yQUIJa","440nvpXCD","span","_statusText","Show next change","Total","812wtFaUp","execute","ck-revision-history-ui__changes-navigation__wrapper","fire","numberOfChanges","Show previous change","set","currentChangeNumber"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(508537===-parseInt(e(246))/1*(parseInt(e(217))/2)+-parseInt(e(244))/3*(parseInt(e(252))/4)+-parseInt(e(218))/5*(parseInt(e(231))/6)+-parseInt(e(221))/7*(-parseInt(e(234))/8)+-parseInt(e(230))/9*(-parseInt(e(247))/10)+-parseInt(e(239))/11+-parseInt(e(245))/12*(-parseInt(e(243))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Ar extends Vn.View{constructor(t){const e=xr;super(t);const i=this[e(241)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(212)](e(242),!1),this[e(212)](e(220),!1),this[e(212)](e(213),0),this[e(212)](e(256),0),this[e(212)](e(227),!1),this[e(212)](e(223),!1),this[e(235)](e(219)).to(this,e(220),this,e(256),((t,e)=>t&&e>0)),this[e(235)](e(249)).to(this,e(220),this,e(213),this,e(256),this,e(242),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(222));if(!r)return Qi(t,o(226));const a=Qi(t,o(238),r);return s?Qi(t,o(232),[n+1,r]):a})),n[e(212)]({label:Qi(t,e(257)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(212)]({label:Qi(t,e(250)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(235)](e(225)).to(this,e(223)),r[e(235)](e(225)).to(this,e(227)),n.on(e(253),(()=>this[e(255)](e(253),e(229)))),r.on(e(253),(()=>this[e(255)](e(253),e(214)))),this[e(215)]({tag:e(216),attributes:{class:["ck",e(237),e(228)]},children:[{tag:e(248),attributes:{class:[e(254)]},children:[{tag:e(248),attributes:{class:[e(240),i.if(e(219),e(233),(t=>!t))]},children:[{text:i.to(e(242),(i=>i?Qi(t,e(236))+": ":Qi(t,e(251))+": "))}]},{text:i.to(e(249))}]},new Vn.ToolbarSeparatorView,{tag:e(216),attributes:{class:[e(224)]},children:[n,r]}]})}}var Nr=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Hn();Cn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Mr=Vr;function Er(){const t=["document","33CCgsZS","isPremiumPlugin","pluginName","editing","20SXppwe","808408IVwJfB","21eNFKJI","3190896cGtKlo","change","removeClass","addClass","show","editor","232180PdPZmL","4IYjYMk","isOfficialPlugin","33571GupIeR","view","139233LifVWn","104376zWDcKx","9IhydyT","ck-editor__editable__loading-overlay","1012625EtKQgm","RevisionViewerLoadingOverlay","roots","hide"];return(Er=function(){return t})()}function Vr(t,e){const i=Er();return(Vr=function(t,e){return i[t-=498]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(117297===parseInt(e(509))/1*(parseInt(e(507))/2)+-parseInt(e(511))/3*(-parseInt(e(524))/4)+parseInt(e(515))/5+parseInt(e(512))/6*(parseInt(e(499))/7)+-parseInt(e(498))/8*(parseInt(e(513))/9)+parseInt(e(506))/10*(-parseInt(e(520))/11)+-parseInt(e(500))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Mr(514);class Cr extends qi.Plugin{static get[Mr(522)](){return Mr(516)}static get[Mr(508)](){return!0}static get[Mr(521)](){return!0}[Mr(504)](){const t=Mr,e=this[t(505)][t(523)][t(510)];e[t(501)]((i=>{const n=t;for(const t of e[n(519)][n(517)])i[n(503)](Dr,t)}))}[Mr(518)](){const t=Mr,e=this[t(505)][t(523)][t(510)];e[t(501)]((i=>{const n=t;for(const t of e[n(519)][n(517)])i[n(502)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=231]})(t,e)}function Lr(){const t=["plugins","requires","change:isReady","1024FWgYzz","2009902faTYJn","commands","isNavigationMode","currentChangeNumber","init","bind","isEnabled","isOfficialPlugin","isPremiumPlugin","editor","30uUZVwM","737728rPIVBA","revisionHistory","componentFactory","undo","3581973pgbQrR","execute","2466XLWKFM","isReady","7WFQMnK","set","restoreRevision","1676765JQenkL","hide","changesNavigation","3130590dbZmFf","pluginName","numberOfChanges","Back to editing","showNextChange","listenTo","exitToEditing","Restore this revision","7654104DIERHt","isForwardNavigationEnabled","show","config","ck-revision-history-ui__back-to-editing","RevisionViewerUI","add","closeRevisionViewerCallback","showPreviousChange","isBackwardNavigationEnabled","forward","get"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(563099===parseInt(e(251))/1+-parseInt(e(240))/2+parseInt(e(257))/3*(parseInt(e(239))/4)+parseInt(e(262))/5+-parseInt(e(265))/6*(-parseInt(e(259))/7)+parseInt(e(273))/8+parseInt(e(255))/9*(-parseInt(e(250))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(266)](){return jr(278)}static get[jr(247)](){return!0}static get[jr(248)](){return!0}static get[jr(237)](){return[gr,Cr]}[jr(244)](){const t=jr,e=this[t(249)],i=e[t(236)][t(235)](gr),n=e[t(236)][t(235)](Cr);e.ui[t(253)][t(279)](t(271),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(260)]({label:Qi(i,n(268)),icon:qi.icons[n(254)],withText:!0,tooltip:!0,class:n(277)}),this[n(270)](r,n(256),(()=>{const t=n;e[t(276)][t(235)](t(252))[t(231)]()})),r})),e.ui[t(253)][t(279)](t(261),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(260)]({label:Qi(i,n(272)),withText:!0,tooltip:!0}),r[n(245)](n(246)).to(e[n(241)][n(235)](n(261))),this[n(270)](r,n(256),(()=>e[n(256)](n(261)))),r})),e.ui[t(253)][t(279)](t(264),(n=>{const r=t,s=new Ar(n),o=e[r(241)][r(235)](r(232)),a=e[r(241)][r(235)](r(269));return s[r(245)](r(233)).to(o,r(246)),s[r(245)](r(274)).to(a,r(246)),s[r(245)](r(258),r(243),r(267),r(242)).to(i),this[r(270)](s,r(256),((t,i)=>{const n=r;e[n(256)](n(234)===i?n(269):n(232))})),s})),n[t(275)](),i.on(t(238),((e,i,r)=>{const s=t;r?n[s(263)]():n[s(275)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Hn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;function Ur(){const t=["ck-tooltip_multi-line","extendTemplate","5331WCyAwN","listenTo","313334RXUTOF","12oRwhLX","ck-revision-history-sidebar__revision-name","clientWidth","_tooltipString","placeholder","bindTemplate","destroy","fieldView","3376109JdPTnQ","_updateTooltipText","284GVRmjT","element","set","18bYgrdF","571810UiQdOd","value","53992IDkCla","Revision name","_resizeObserver","render","1447362kleRRp","1sJQdLO","5nHUWwC","input","span","144054MtZhbN","scrollWidth","Enter the revision name"];return(Ur=function(){return t})()}const Hr=Zr;function Zr(t,e){const i=Ur();return(Zr=function(t,e){return i[t-=453]})(t,e)}!function(t){const e=Zr,i=t();for(;;)try{if(136011===parseInt(e(480))/1*(parseInt(e(458))/2)+parseInt(e(456))/3*(parseInt(e(469))/4)+-parseInt(e(481))/5*(-parseInt(e(484))/6)+parseInt(e(479))/7+-parseInt(e(475))/8*(parseInt(e(472))/9)+-parseInt(e(473))/10+-parseInt(e(467))/11*(parseInt(e(459))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ur);class $r extends Vn.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(477)]=null;const n=this[i(464)];this[i(471)]({label:Qi(t,i(476)),_tooltipString:""}),this[i(466)][i(463)]=Qi(t,i(453)),this[i(455)]({tag:i(483),attributes:{class:[i(460)],"data-cke-tooltip-text":n.to(i(462)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(454)}})}[Hr(478)](){const e=Hr;super[e(478)](),this[e(477)]=new t.ResizeObserver(this[e(466)][e(470)],(()=>this[e(468)]())),this[e(457)](this[e(466)],e(482),(()=>this[e(468)]()))}[Hr(465)](){const t=Hr;super[t(465)](),this[t(477)]&&this[t(477)][t(465)]()}[Hr(468)](){const t=Hr,e=this[t(466)][t(470)];this[t(462)]=e[t(485)]>e[t(461)]&&e[t(474)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Hn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Jr(t,e){const i=Yr();return(Jr=function(t,e){return i[t-=486]})(t,e)}function Yr(){const t=["2815486DfKmcJ","push","3526266WFjrRL","10572940tikcAZ","ck-revision-history-sidebar__revision-author_creator","name","span","ck-revision-history-sidebar__revision-author__name","Revision creator","set","0 0 11 10","setTemplate","6126340HIvGOl","7862075GDXwwe","1350360eokEKe","4519857gbpSBn","Revision author","ck-revision-history-sidebar__revision-author"];return(Yr=function(){return t})()}!function(t){const e=Jr,i=t();for(;;)try{if(805817===-parseInt(e(491))/1+-parseInt(e(495))/2+parseInt(e(492))/3+parseInt(e(489))/4+-parseInt(e(490))/5+parseInt(e(497))/6+parseInt(e(498))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Gr extends Vn.View{constructor(t,e,i){const n=Jr;super(t);const r=new Vn.IconView;r[n(486)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(487)});const s=["ck",n(494)];i&&s[n(496)](n(499));const o=[{tag:n(501),attributes:{class:["ck",n(502)],title:Qi(t,n(i?503:493))},children:[r,e[n(500)]]}];this[n(488)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["numeric","11893bCeGtH","toLocaleTimeString","long","16416300ZtyHgA","788GhrIkt","1334eVCuhd","9IWgvwj","8828472tvIvuM","1075292MjmAWC","3421767SRfdEV","toLocaleDateString","16409316ElbObN","3588WOQTVo","10jUIsAF"];return(Kr=function(){return t})()}function Xr(t,e){var i=Kr();return(Xr=function(t,e){return i[t-=295]})(t,e)}!function(t){for(var e=Xr,i=t();;)try{if(841998===parseInt(e(309))/1*(-parseInt(e(295))/2)+-parseInt(e(299))/3+parseInt(e(298))/4*(-parseInt(e(303))/5)+-parseInt(e(302))/6*(-parseInt(e(305))/7)+-parseInt(e(297))/8*(parseInt(e(296))/9)+parseInt(e(308))/10+parseInt(e(301))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Hn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=351]})(t,e)}function is(){const t=["isOpen","_action","549221GeHMee","name","buttonView","isEnabled","source","4SMxiuf","class","isVisible","find","extendTemplate","isReady","77eeqmmV","add","children","listenTo","function","change:isActionsDropdownOpen","Compare against selected","action","stopPropagation","4572890cbQRRV","4029848eJDcAO","1295390XGwrxB","ck-revision-history-sidebar__revision__actions","bind","3816378WgjpZN","locale","bindTemplate","map","items","ck-on","listView","3CAehXu","menu","9pITBMI","Restore this revision","763980CsVhmO","panelPosition","Show more items","set","Name this revision","isActionsDropdownOpen","831462ayJSfe","first","threeVerticalDots","menuitem","button","execute","model"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(344306===parseInt(e(357))/1+-parseInt(e(399))/2*(parseInt(e(389))/3)+-parseInt(e(362))/4*(-parseInt(e(379))/5)+parseInt(e(382))/6+-parseInt(e(377))/7+-parseInt(e(378))/8*(-parseInt(e(391))/9)+parseInt(e(393))/10*(-parseInt(e(368))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Hn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;function ss(){const t=["ck-reset","render","88nmizVc","extendTemplate","445598xNZrXJ","uiLanguage","highlight","2205000nJRxwE","length","913549aEYqDd","div","22374qHqiQg","change","isHighlighted","name","_createdAtFormatted","map",".ck-thread__remove-confirm","410yWkpHw","value","ck-revision-history-sidebar__actions_dropdown_open","isActionsDropdownOpen","ck-revision-history-sidebar__revision-authors","set","ck-revision-history-sidebar__revision","isConfirm","filter","isEnabled","span","ck-revision-history-sidebar__revision__date","authors","596370EAYGAH","40465843BRjcCS","unhighlight","220","select","setTemplate","bind","775qDBqvs","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision_highlighted","closest","isSelected","_revision","unshift","deselect","createdAt","ck-revision-history-sidebar__revision_selected","_requireRevisionName","creator","setName","14jYSjJZ","fieldView","ck-disabled","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper","revisionActionsView","bindTemplate","fire","89415lBdSeL","element","listenTo","from","isReady","srcElement","revisionNameView"];return(ss=function(){return t})()}const os=as;function as(t,e){const i=ss();return(as=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(916614===parseInt(e(286))/1+-parseInt(e(333))/2*(parseInt(e(313))/3)+-parseInt(e(289))/4+-parseInt(e(320))/5*(-parseInt(e(293))/6)+parseInt(e(291))/7*(-parseInt(e(284))/8)+parseInt(e(275))/9*(-parseInt(e(300))/10)+parseInt(e(314))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ss);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(273)],a=function(t,e){const i=s,n=Array[i(278)](e[i(312)])[i(308)]((t=>t!=e[i(331)]));return e[i(331)]&&n[i(326)](e[i(331)]),n[i(298)]((n=>new Gr(t,n,n==e[i(331)])))}(e,i);this.id=i.id,this[s(325)]=i,this[s(330)]=r,this[s(319)](s(296),s(328)).to(i),this[s(319)](s(297)).to(this,s(328),(t=>{return i=e[s(287)],(n=t)[(r=Xr)(300)](i,{month:r(307),day:r(304)})+", "+n[r(306)](i,{hour:r(304),minute:r(304)});var i,n,r})),this[s(305)](s(324),!1),this[s(305)](s(295),!1),this[s(305)](s(303),!1),this[s(305)](s(279),!1),this[s(305)](s(309),!1),this[s(281)]=new $r(e,Vn.createLabeledInputText),this[s(281)][s(334)][s(285)]({attributes:{maxlength:s(316)}}),this[s(281)][s(334)][s(319)](s(301)).to(this,s(296),(t=>t||this[s(297)])),this[s(281)][s(319)](s(309)).to(this,s(324),this,s(309),((t,e)=>t&&e)),this[s(272)]=n&&n[s(290)]?function(e,i){const n=es,r=e[n(384)],s=e[n(383)],o=(0,Vn.createDropdown)(s);o[n(394)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(383)],r={"Compare against selected":Qi(n,i(374)),"Name this revision":Qi(n,i(397)),"Restore this revision":Qi(n,i(392))};return e[i(385)]((t=>{const e=i,n=r[t[e(358)]];return n&&n!==t[e(358)]&&(t[e(358)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(352),model:new Vn.ViewModel({label:t[r(358)],class:t[r(363)],withText:!0,role:r(351),_action:t[r(375)]})};i[r(354)][r(381)](r(360)).to(e,r(398),(i=>r(372)!=typeof t[r(360)]||!i||t[r(360)](e))),o[r(369)](i)}return o}(e,i);return e[n(381)](n(398)).to(o,n(355)),o[n(359)][n(396)]({label:Qi(s,n(395)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(401)]}),o[n(366)]({attributes:{class:[n(380),r.if(n(398),n(387))]},on:{click:r.to((t=>t[n(376)]()))}}),o.on(n(353),(t=>{const i=n;e[i(367)]&&i(372)==typeof t[i(361)][i(356)]&&t[i(361)][i(356)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(390)}),o[n(371)](e,n(373),((t,r,s)=>{const a=n;if(s)for(const t of o[a(388)][a(386)]){const n=t[a(370)][a(400)],r=i[a(365)]((t=>t[a(375)]===n[a(356)]))[a(364)];t[a(364)]=void 0===r||r(e)}})),o}(this,n):"",this[s(272)]&&this[s(272)][s(319)](s(309)).to(this),this[s(318)]({tag:s(292),attributes:{class:["ck",s(282),s(337),o.if(s(307),s(321))]},children:[{tag:s(292),attributes:{class:["ck",s(282),s(306),o.if(s(309),s(335),(t=>!t)),o.if(s(324),s(329)),o.if(s(295),s(322)),o.if(s(303),s(302))]},children:[this[s(281)],{tag:s(310),attributes:{class:["ck",s(311)]},children:[{text:o.to(s(297))}]},{tag:s(292),attributes:{class:["ck",s(336)]},children:[{tag:"ul",attributes:{class:["ck",s(304)]},children:a}]},this[s(272)]],on:{click:o.to((t=>{const e=s;t[e(280)][e(323)](e(299))||this[e(279)]&&this[e(309)]&&this[e(274)](e(317),{id:this.id})}))}}]})}[os(283)](){const t=os;super[t(283)]();const e=this[t(281)][t(334)][t(276)];this[t(277)](e,t(294),(()=>{const i=t;this[i(330)]&&!e[i(301)]||this[i(274)](i(332),{id:this.id,name:e[i(301)]}),e[i(301)]||(e[i(301)]=this[i(296)]?this[i(296)]:this[i(297)])}))}[os(317)](){this[os(324)]=!0}[os(327)](){this[os(324)]=!1}[os(288)](){this[os(295)]=!0}[os(315)](){this[os(295)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},As={hour:ys,minute:ys,second:ys,timeZoneName:ks},Ns={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Hs=null;class Zs extends Us{static get instance(){return null===Hs&&(Hs=new Zs),Hs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Js extends Us{static create(t){return Bs[t]||(Bs[t]=new Js(t)),Bs[t]}static resetCache(){Bs={},$s={}}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=Js.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,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),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ys={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Xs={};let Qs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).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=Xs[i];return n||(n=new Intl.NumberFormat(t,e),Xs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{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&&Js.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 r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}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 so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Qs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Qs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={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."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[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 oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Yo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Xs={},Qs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,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=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,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=r,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"===new Intl.DateTimeFormat(t.intl).resolvedOptions().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?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Yo(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 io(this,t,ga,(()=>{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=wu.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 io(this,t,_a,(()=>{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=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.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 no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Ys[i];return n||(n=new Intl.ListFormat(t,e),Ys[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}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 co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(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 lo extends Us{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 ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Zs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Js.create(t)}return Ho(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={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]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Zs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Yo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Js.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ao=[0,31,59,90,120,151,181,212,243,273,304,334],No=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Vo(t,e){const i=ia(t)?No:Ao,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Eo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(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 zo(t){const e=Zo(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Ho(t){return"number"==typeof t}function Zo(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Jo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Yo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Zo(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(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 oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(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 ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Jo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];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 ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Aa(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Na={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:As,T:Ns,TT:Rs,TTT:Ms,TTTT:Es,f:Vs,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Na[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 Ko(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,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Aa(Ra.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 s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({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?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({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?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({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?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({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?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({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=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Aa(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(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 Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Ha=RegExp(`(?: ${Ua.source})?`);function Za(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function $a(t,e){return[{hours:Za(t,e,0),minutes:Za(t,e+1,0),seconds:Za(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Js.create(t[e]):null,e+1]}const Ja=RegExp(`^T?${Fa.source}$`),Ya=/^-?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 Ga(t){const[e,i,n,r,s,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(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(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 tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(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$/,ic=/^(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$/,nc=/^(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 rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ea(/(\d{4})-?(\d{3})/,Pa),uc=Ea(La),lc=Va((function(t,e){return[{year:Za(t,e),month:Za(t,e+1,1),day:Za(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Va(za,$a,qa,Ba),dc=Va(Wa,$a,qa,Ba),fc=Va($a,qa,Ba);const mc=Va($a);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Ha),vc=Ea(Ua),yc=Va($a,qa,Ba);const gc="Invalid Duration",kc={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}},bc={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},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,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:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(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 Nc(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Ac(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Nc{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Nc.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Nc({values:da(t,Nc.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ho(t))return Nc.fromMillis(t);if(Nc.isDuration(t))return t;if("object"==typeof t)return Nc.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ya,Ga])}(t);return i?Nc.fromObject(i,e):Nc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ja,mc])}(t);return i?Nc.fromObject(i,e):Nc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Nc({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 ms(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?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(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+=ea(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 wu.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?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Nc.fromDurationLike(t),i={};for(const t of Sc)(Jo(e.values,t)||Jo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Nc.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]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Nc.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Nc.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(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 Ac(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(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=>Nc.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Ho(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Ho(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Ac(this.matrix,e),xc(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 xc(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;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{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 ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.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:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Nc.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Nc.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.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 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?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Nc.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}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:Mc.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 Mc.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=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[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=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Nc.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Js.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Nc.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,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=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Nc.fromObject(s,n);return u.length>0?Nc.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(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(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Hc={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 Zc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Jc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(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 zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\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 r in i)if(Jo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Js.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(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),Uo(t.u)||(t.S=ta(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(Jo(i,"a")&&Jo(i,"H"))throw new fs("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:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Jc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Zc||(Zc=wu.fromMillis(1555555555555)),Zc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=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=Hc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Yc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Xc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Qc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(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 nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Nc.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=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(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 ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=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 r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(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 ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Ho(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,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 wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Ho(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ho(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Zo(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Zo(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Jc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}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?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.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=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.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]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(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=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Nc.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?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Yc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Yc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(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")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Yc}[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 Nc.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Nc.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.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||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return As}static get TIME_24_SIMPLE(){return Ns}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Ho(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=405]})(t,e)}function Su(){const t=["setLocale","33318DWJEEA","local","day","4155390swTGtC","320qUYRUR","toJSDate","startOf","minus","hasSame","year","fromJSDate","toRelativeCalendar","11uEGsTQ","11982AOBJqs","6jEmFBG","1uvQLmW","7273836RjiKdi","856nlaKXc","211366czLltR","1820745bEBKKK","2279431qIIlNS","weekdayLong","month","week","monthLong"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(418)](t)[i(407)](e),r=wu[i(409)](),s=r[i(415)]({days:1})[i(414)](i(410));let o,a;return n[i(416)](r,i(410))?(o=n[i(414)](i(410))[i(413)](),a=n[i(419)]()):n[i(416)](s,i(410))?(o=s[i(413)](),a=n[i(419)]()):n[i(416)](r,i(405))?(o=n[i(414)](i(405))[i(413)](),a=n[i(429)]||""):n[i(416)](r,i(417))?(o=n[i(414)](i(430))[i(413)](),a=n[i(406)]||""):(o=n[i(414)](i(417))[i(413)](),a=String(n[i(417)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(270445===parseInt(e(423))/1*(parseInt(e(426))/2)+parseInt(e(421))/3*(-parseInt(e(412))/4)+parseInt(e(427))/5*(parseInt(e(422))/6)+parseInt(e(428))/7+parseInt(e(425))/8*(-parseInt(e(408))/9)+-parseInt(e(411))/10+parseInt(e(420))/11*(parseInt(e(424))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Hn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;function Au(){const t=["delegate","1653693SXtWHU","find","10XkouHJ","add","ck-revision-history-sidebar__time-period__revisions","8014895liBknq","7636496eDvMAo","span","_requireRevisionName","revisionViews","1980366CnnwOb","11138805BHmCKA","remove","_revisionActions","uiLanguage","2XxtSpO","setTemplate","1393009bDzteL","5MwMcoH","18419038eWegRx","locale","createCollection","setName","ck-revision-history-sidebar__time-period__label","localizedPeriodName","select","div","addRevision","ck-revision-history-sidebar__time-period","8LGPdnr","startDate","removeRevision"];return(Au=function(){return t})()}const Nu=Ru;function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=448]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(976125===-parseInt(e(457))/1+-parseInt(e(455))/2*(-parseInt(e(473))/3)+-parseInt(e(479))/4+-parseInt(e(458))/5*(parseInt(e(450))/6)+-parseInt(e(478))/7*(-parseInt(e(469))/8)+parseInt(e(451))/9+parseInt(e(475))/10*(parseInt(e(459))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Mu extends Vn.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(460)][r(454)])[r(464)];this[r(470)]=e,this[r(449)]=this[r(461)](),this[r(453)]=i,this[r(448)]=n,this[r(449)][r(472)](r(465)).to(this),this[r(449)][r(472)](r(462)).to(this),this[r(456)]({tag:r(466),attributes:{class:["ck",r(468)]},children:[{tag:r(480),attributes:{class:["ck",r(463)]},children:[{text:s}]},{tag:r(466),attributes:{class:["ck",r(477)]},children:this[r(449)]}]})}[Nu(467)](t){const e=Nu,i=new cs(this[e(460)],t,this[e(453)],this[e(448)]);this[e(449)][e(476)](i)}[Nu(471)](t){const e=Nu,i=this[e(449)][e(474)]((e=>e.id===t.id));this[e(449)][e(452)](i)}}var Eu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Pn().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Hn();Cn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(){const t=["2038882MprpBP","1uKZSmh","11339790jsmjEC","1704642qwLUkJ","div","1745GXkWSR","history","21144670UgrEwC","5924IiyJXb","Revision history","content","span","setTemplate","8920404vaHfZp","ck-reset_all","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","9dLkFXu","2173368RbVpXx"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(905246===parseInt(e(143))/1*(-parseInt(e(142))/2)+-parseInt(e(145))/3+-parseInt(e(150))/4*(-parseInt(e(147))/5)+-parseInt(e(136))/6+parseInt(e(144))/7+-parseInt(e(141))/8+-parseInt(e(140))/9*(-parseInt(e(149))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends Vn.View{constructor(t){const e=Cu;super(t);const i=new Vn.IconView;i[e(152)]=qi.icons[e(148)],this[e(135)]({tag:e(146),attributes:{class:["ck",e(137),e(139)]},children:[i,{tag:e(134),attributes:{class:["ck",e(138)]},children:[Qi(t,e(151))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Hn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;function Pu(t,e){const i=Wu();return(Pu=function(t,e){return i[t-=357]})(t,e)}const zu=Pu;function Wu(){const t=["isEnabled","setName","find","unhighlight","add","_revisionActions","getTime","highlight","select","_getTimePeriodViewByStartDate","824115DCMjPN","1151580SHUKUM","revisionSetName","_removeRevision","7018209MffCHt","removeRevision","createCollection","_revisions","7735ckoObZ","delegate","uiLanguage","locale","set","revisionSelected","selectRevision","revisionViews","_requireRevisionName","flat","bindTemplate","remove","21623910kKWCCP","948770quAfNt","ck-disabled","ck-rounded-corners","fire","setTemplate","createdAt","some","get","highlightRevisions","ck-revision-history-sidebar","deselect","466xDleAf","28tQOIJj","3897eLVirH","_addRevision","map","addRevision","startDate","ck-reset","3138lXvdRO","8BQIdja","div","render","timePeriodViews","ck-revision-history-sidebar__timeline"];return(Wu=function(){return t})()}!function(t){const e=Pu,i=t();for(;;)try{if(584671===parseInt(e(368))/1*(-parseInt(e(366))/2)+parseInt(e(391))/3+-parseInt(e(367))/4*(parseInt(e(390))/5)+parseInt(e(374))/6*(-parseInt(e(398))/7)+-parseInt(e(375))/8*(-parseInt(e(394))/9)+parseInt(e(411))/10+parseInt(e(410))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends Vn.View{constructor(t,e,i,n){const r=Pu;super(t);const s=this[r(408)];this[r(378)]=this[r(396)](),this[r(378)][r(399)](r(388)).to(this),this[r(378)][r(399)](r(381)).to(this),this[r(397)]=e,this[r(385)]=i,this[r(406)]=n,this.on(r(388),((t,e)=>{const i=r;this[i(358)](i(403),e)})),this.on(r(381),((t,e)=>{const i=r;this[i(358)](i(392),e)})),this[r(402)](r(380),!1),this[r(359)]({tag:r(376),attributes:{class:["ck",r(373),r(357),r(364)]},children:[new ju(t),{tag:r(376),attributes:{class:["ck",r(379),s.if(r(380),r(412),(t=>!t))]},children:this[r(378)]}]})}[zu(377)](){const t=zu;super[t(377)]();for(const e of this[t(397)])this[t(369)](e);this[t(397)].on(t(384),((e,i)=>{this[t(369)](i)})),this[t(397)].on(t(409),((e,i)=>{this[t(393)](i)}))}get[zu(405)](){const t=zu;return this[t(378)][t(370)]((e=>e[t(405)][t(370)]((t=>t))))[t(407)]()}[zu(404)](t){const e=zu;for(const i of this[e(405)])t&&t.id===i.id?i[e(388)]():i[e(365)]()}[zu(363)](t){const e=zu;for(const i of this[e(405)])t[e(361)]((({id:t})=>t===i.id))?i[e(387)]():i[e(383)]()}[zu(369)](t){const e=zu,i=Ou(t[e(360)],this[e(401)][e(400)])[e(372)];let n=this[e(378)][e(362)](0);n&&n[e(372)][e(386)]()===i[e(386)]()||(n=new Mu(this[e(401)],i,this[e(385)],this[e(406)]),this[e(378)][e(384)](n)),n[e(371)](t)}[zu(393)](t){const e=zu,i=Ou(t[e(360)],this[e(401)][e(400)])[e(372)];this[e(389)](i)[e(395)](t)}[zu(389)](t){const e=zu;return this[e(378)][e(382)]((i=>i[e(372)][e(386)]()===t[e(386)]()))}}function Hu(){const t=["5107664ILIrsN","restoreRevision","_createRevisionActions","config","restoreRevisionCallback","plugins","_handleRevisionSetName","revisionSetName","data","length","isReady","revisionHistory.requireRevisionName","_handleEditorDataReady","map","10fYpwul","diff","repository","_revisionViewer","select","remove","assign","479109TEVhvL","_revisionsRepository","getRevision","setName","getEarlierVisibleRevision","isSelected","getLaterVisibleRevision","revisionHistory","_handleRevisionSelected","init","bind","get","change:diff","ready","compareAgainstSelected","action","add","requires","selectRevision","174054PEWjIu","revisionViews","destroy","1777779JIWAvT","timePeriodViews","getIndex","nameRevision","Compare against selected","revisionHistory.revisionActions","listenTo","element","isOfficialPlugin","3944880SYdIqP","isEnabled","45FegQnI","locale","newRevisionId","compare","Restore this revision","string","fieldView","defaultRevisionActions","91958uAJxJE","revisionSelected","isVisible","_handleDiffChange","revisionHistory.viewerSidebarContainer","editor","name","RevisionsSidebar","availableRevisionActions","appendChild","7262444AufTul","render","_revisions","pluginName","isPremiumPlugin","_sidebarView","getRevisionsInDiff","Name this revision","highlightRevisions","focus"];return(Hu=function(){return t})()}const Zu=$u;function $u(t,e){const i=Hu();return($u=function(t,e){return i[t-=291]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(618577===parseInt(e(315))/1+-parseInt(e(356))/2*(-parseInt(e(348))/3)+parseInt(e(346))/4+-parseInt(e(308))/5*(parseInt(e(334))/6)+-parseInt(e(366))/7+-parseInt(e(294))/8+parseInt(e(337))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class qu extends qi.Plugin{static get[Zu(369)](){return Zu(363)}static get[Zu(345)](){return!0}static get[Zu(370)](){return!0}static get[Zu(332)](){return[gr]}constructor(t){const e=Zu;super(t),this[e(311)]=t[e(299)][e(326)](gr),this[e(316)]=this[e(311)][e(310)],this[e(371)]=null}[Zu(324)](){const t=Zu,e=this[t(316)][t(368)],i=this[t(296)](),n=this[t(361)][t(297)][t(326)](t(360));this[t(371)]=new Uu(this[t(361)][t(349)],e,i,this[t(361)][t(297)][t(326)](t(305))),this[t(371)].on(t(357),this[t(323)][t(325)](this)),this[t(371)].on(t(301),this[t(300)][t(325)](this)),this[t(371)][t(325)](t(347)).to(this[t(311)]),this[t(371)][t(338)].on(t(331),((e,i)=>{const n=t;i[n(335)].on(n(331),((t,e)=>{const i=n;e[i(325)](i(347),i(304)).to(this[i(311)])}))})),this[t(371)][t(367)](),this[t(343)](this[t(361)][t(302)],t(328),this[t(306)][t(325)](this)),this[t(343)](this[t(311)],t(327),this[t(359)][t(325)](this)),n[t(365)](this[t(371)][t(344)])}[Zu(336)](){const t=Zu;this[t(371)][t(344)][t(313)](),this[t(371)][t(336)]()}[Zu(306)](){const t=Zu,e=this[t(316)][t(317)](0);if(e){const i=this[t(316)][t(319)](e.id);this[t(311)][t(351)](e,i)}}[Zu(323)](t,e){const i=Zu,n=this[i(316)][i(317)](e.id),r=this[i(316)][i(319)](n.id);this[i(311)][i(351)](n,r)}[Zu(300)](t,e){const i=Zu;this[i(316)][i(317)](e.id)[i(318)](e[i(362)])}[Zu(359)](t,e,i){const n=Zu,r=this[n(316)][n(372)](i);r[n(303)]>2?(this[n(371)][n(292)](r),this[n(371)][n(333)](null)):(this[n(371)][n(292)]([]),this[n(371)][n(333)](r[0]))}[Zu(296)](){const t=Zu,e=this[t(361)],i=qu[t(364)],n=e[t(297)][t(326)](t(342))||qu[t(355)];if(n[t(303)])return n[t(307)]((n=>{const r=t,s=r(353)==typeof n?Object[r(314)]({},i[n]):n;return s[r(330)]=s[r(330)][r(325)](this,e),s[r(358)]&&(s[r(358)]=s[r(358)][r(325)](this,e)),s}))}}qu[Zu(355)]=[Zu(329),Zu(295),Zu(340)],qu[Zu(364)]={compareAgainstSelected:{name:Zu(341),action:({plugins:t},e)=>{const i=Zu,n=t[i(326)](gr),r=n[i(310)];let s=n[i(309)][i(350)],o=e.id;r[i(339)](s)>r[i(339)](o)&&([s,o]=[o,s]),n[i(351)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(326)](gr);return!(n[i(310)][i(372)](n[i(309)])[i(303)]>2||e[i(320)])}},restoreRevision:{name:Zu(352),action:(t,{id:e})=>{const i=Zu;t[i(297)][i(326)](i(322))[i(298)](e)},isVisible:({plugins:t},e)=>!!t[Zu(326)](gr)[Zu(310)][Zu(321)](e.id)},nameRevision:{name:Zu(291),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(326)](gr),s=r[n(310)][n(319)](e);r[n(351)](e,s),i[n(293)](),i[n(354)][n(312)]()}}};const Bu=qu;function Ju(t,e){const i=Ku();return(Ju=function(t,e){return i[t-=463]})(t,e)}const Yu=Ju;!function(t){const e=Ju,i=t();for(;;)try{if(422365===parseInt(e(469))/1+-parseInt(e(470))/2+parseInt(e(499))/3+-parseInt(e(463))/4*(parseInt(e(486))/5)+-parseInt(e(494))/6*(-parseInt(e(482))/7)+parseInt(e(484))/8*(-parseInt(e(489))/9)+-parseInt(e(481))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ku);class Gu extends Vn.EditorUI{get[Yu(496)](){return this[Yu(493)]}constructor(e,i){const n=Yu;super(e),this[n(493)]=i,this[n(492)]=(0,Vn.normalizeToolbarConfig)(e[n(502)][n(468)](n(478))),this[n(487)]=new t.ElementReplacer}get[Yu(509)](){const t=Yu;return this[t(496)][t(509)]}[Yu(497)](t){const e=Yu,i=this[e(508)],n=this[e(496)],r=i[e(465)][e(496)],s=n[e(483)],o=r[e(471)][e(477)]();s[e(504)]=o[e(488)],n[e(473)]();const a=s[e(509)];this[e(495)](s[e(504)],a),n[e(483)][e(505)](e(498)).to(this[e(474)]),r[e(501)](a),this[e(487)][e(506)](t,this[e(509)]),this[e(464)](),this[e(485)](e(490))}[Yu(491)](){const t=Yu;super[t(491)]();const e=this[t(496)],i=this[t(508)][t(465)][t(496)];this[t(487)][t(476)](),i[t(466)](e[t(483)][t(504)]),e[t(491)]()}[Yu(464)](){const t=Yu,e=this[t(496)];e[t(507)][t(505)](t(480)).to(this[t(474)],t(498)),e[t(507)][t(472)]=e[t(509)],e[t(507)][t(505)](t(479)).to(this,t(503),(({top:t})=>t)),e[t(478)][t(475)](this[t(492)],this[t(500)]),this[t(467)](e[t(478)])}}function Ku(){const t=["rootName","45vyGQjk","ready","destroy","_toolbarConfig","_view","1038JSuYFn","setEditableElement","view","init","isFocused","1892559HmKSlK","componentFactory","attachDomRoot","config","viewportOffset","name","bind","replace","stickyPanel","editor","element","2612mXHIRA","_initToolbar","editing","detachDomRoot","addToolbar","get","804946SAMXFO","345722lFYlpI","document","limiterElement","render","focusTracker","fillFromConfig","restore","getRoot","toolbar","viewportTopOffset","isActive","4397630OYxvWH","6489feArAG","editable","801768Acceau","fire","460psiyCX","_elementReplacer"];return(Ku=function(){return t})()}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Hn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=el;function el(t,e){var i=il();return(el=function(t,e){return i[t-=144]})(t,e)}function il(){var t=["stickyPanel","render","198480uWyxTL","27797LDTvXE","editable","9lnxOYh","1825218LDdzvu","_editable","shouldToolbarGroupWhenFull","19982WYdwgv","63JPnTtW","71460nGmBBZ","30mXfAGC","add","main","303345favJlx","798010XHdWit","2664LLzIKp","content","11xGiEuE","toolbar","top"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(181582===parseInt(e(154))/1*(parseInt(e(144))/2)+parseInt(e(147))/3*(parseInt(e(146))/4)+-parseInt(e(150))/5+-parseInt(e(163))/6+-parseInt(e(145))/7*(parseInt(e(159))/8)+parseInt(e(162))/9*(-parseInt(e(151))/10)+-parseInt(e(160))/11*(-parseInt(e(152))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends Vn.BoxedEditorUIView{get[tl(161)](){return this[tl(164)]}constructor(t,e,i={}){var n=tl;super(t),this[n(157)]=new Vn.StickyPanelView(t),this[n(155)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(165)]}),this[n(164)]=new Vn.InlineEditableUIView(t,e)}[tl(158)](){var t=tl;super[t(158)](),this[t(157)][t(153)][t(148)](this[t(155)]),this[t(156)][t(148)](this[t(157)]),this[t(149)][t(148)](this[t(161)])}}const rl=sl;function sl(t,e){const i=ol();return(sl=function(t,e){return i[t-=290]})(t,e)}function ol(){const t=["655964HdSzmi","2417320eWaDyn","editing","locale","createRoot","init","config","534012idvRHt","1056681rsTYVU","10rKRtgH","destroy","sourceElement","initialData","_ui","1YwttSq","11021373TDELyB","fire","initPlugins","view","ready","document","146130rygReY","21MwQkED","data","model","1409500JdtPkp","create","updateSourceElement","get"];return(ol=function(){return t})()}!function(t){const e=sl,i=t();for(;;)try{if(348043===-parseInt(e(291))/1*(parseInt(e(298))/2)+-parseInt(e(314))/3+-parseInt(e(306))/4+parseInt(e(302))/5+-parseInt(e(313))/6*(parseInt(e(299))/7)+-parseInt(e(307))/8+parseInt(e(292))/9*(parseInt(e(315))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(290)]}constructor(t,e){const i=sl;super(e),this[i(317)]=t,this[i(301)][i(297)][i(310)]();const n=new nl(this[i(309)],this[i(308)][i(295)],{shouldToolbarGroupWhenFull:!0});this[i(290)]=new Gu(this,n)}[rl(316)](){const t=rl;return this[t(304)](),this.ui[t(316)](),super[t(316)]()}static async[rl(303)](t,e){const i=rl,n=new this(t,e);return await n[i(294)](),await n.ui[i(311)](t),await n[i(300)][i(311)](n[i(312)][i(305)](i(318))||""),n[i(293)](i(296)),n}}const cl=ll;function ul(){const t=["set","long","getMarkersGroup","define","isEnabled","pluginName","getRevisions","locale","init","RevisionHistory","RevisionTracker","1862814ZfIrYe","isOfficialPlugin","error","document","keys","end","addRevisionData","result","destroy","_closeRevisionViewer","insert","revisionHistory","commands","users","_enhanceShowRevisionViewerCallback","refreshPositioning","revisionHistory.showRevisionViewerCallback","saveRevision","4ORQWjk","createdAt","display","RevisionViewer","style","config","RevisionsRepository","revisionHistory.requireRevisionName","enableReadOnlyMode","block","toVersion","change","607859lEPYpE","$graveyard","lazyRoots","hide","createRangeIn","disableReadOnlyMode","revisionHistory.closeRevisionViewerCallback","update","toolbar","_recalculatePageBreaks","numeric","RevisionHistoryUI","1583568ukgSdT","getRevisionRootsAttributes","_showRevisionViewer","Autosave","showRevisionViewerCallback","isAttached","isPremiumPlugin","_restoreRevision","save","revisionHistory.editorContainer","refreshVisibility","isOpen","repository","closeRevisionViewerCallback","includes","join","revision-history-viewer-opened","catch","adapter","revisionHistory.viewerContainer","restrictedEditingException","219884PPbuDL","getUser","isAnonymous","revisionHistory.viewerEditorElement","getRevisionData","selection","none","Users","getRevision","27127068GoWPSB","RestrictedEditingMode","getAttributeKeys","create","changesNavigation","remove","bind","setSelection","map","get","revision-history-missing-configuration","24fXnhrB","then","plugins","has","Dialog","indexOf","creator","from","removeMarker","enqueueChange","_cleanUp","78yybEIa","setAttribute","_getRevisionViewerEditorConfig","roots","Restored","_enhanceCloseRevisionViewerCallback","4VvsCOF","detachRoot","rootName","addRoot","Annotations","removeSelectionAttribute","parse","toLocaleTimeString","650vdBLXk","fromCharCode","RevisionViewerIntegration","exitToEditing","_update","177947OxPxmQ","revisionHistory.restoreRevisionCallback","name","isReadOnly","isReady","fromVersion","data","uiLanguage","restoreRevision","addUser","toLocaleDateString","model","toJSON","_viewerEditor","push","removeAttribute","PaginationLookup","markers","4356265iVCFWq","getRoot","translations","editor","requires"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=135]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(813111===-parseInt(e(270))/1*(-parseInt(e(193))/2)+-parseInt(e(240))/3+-parseInt(e(258))/4*(parseInt(e(224))/5)+parseInt(e(187))/6*(parseInt(e(156))/7)+-parseInt(e(176))/8*(parseInt(e(135))/9)+parseInt(e(201))/10*(-parseInt(e(206))/11)+parseInt(e(165))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(281),cl(166)];class dl extends qi.Plugin{static get[cl(234)](){return cl(203)}static get[cl(241)](){return!0}static get[cl(141)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(173)]((t=>String[e(202)](t)))[e(150)]("")}super(t),this[e(247)]=e(245),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 fl extends qi.Plugin{static get[cl(234)](){return cl(238)}static get[cl(241)](){return!0}static get[cl(141)](){return!0}static get[cl(228)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(227)][i(263)][i(174)](i(251)))throw new t.CKEditorError(i(175),this);this[i(219)]=null,this[i(227)][i(263)][i(232)](i(256),(t=>this[i(137)]({...t,translations:this[i(227)][i(236)][i(226)]}))),this[i(227)][i(263)][i(232)](i(276),(t=>this[i(249)](t))),this[i(227)][i(263)][i(232)](i(207),(t=>this[i(142)](t))),this[i(227)][i(263)][i(232)](i(265),!1),this[i(254)](),this[i(192)]()}set[cl(153)](t){const e=cl;this[e(227)][e(178)][e(174)](e(239))[e(153)]=t}get[cl(153)](){const t=cl;return this[t(227)][t(178)][t(174)](t(239))[t(153)]}[cl(246)](t){const e=cl;return this[e(227)][e(178)][e(174)](e(239))[e(246)](t)}[cl(164)](t){const e=cl;return this[e(227)][e(178)][e(174)](e(264))[e(164)](t)}[cl(235)](t){const e=cl;return this[e(227)][e(178)][e(174)](e(264))[e(235)](t||{toJSON:!1})}[cl(189)](){const e=cl,i=this[e(227)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(178)][e(174)](e(239)),s=i[e(178)][e(174)](e(163))[e(253)];return n[e(278)]=[e(204),e(214),e(169)],delete n[e(272)],n[e(178)][e(220)](dl,gr,Pr,class extends qi.Plugin{static get[e(228)](){return[gr,e(163)]}[e(237)](){const n=e,o=this[n(227)][n(178)][n(174)](n(163));for(const t of s)t[n(158)]||o[n(157)](t.id)||o[n(215)](t);const a=r[n(147)][n(235)]();let c=null;const u=this[n(227)][n(178)][n(174)](n(261));u[n(153)]=r[n(153)],u[n(171)](n(233)).to(r),this[n(227)][n(252)][n(174)](n(214))[n(171)](n(233)).to(i,n(209),(t=>!t));for(const e of a){const i=null===e[n(182)];if(i&&e[n(268)]===e[n(211)])continue;const s=e[n(218)]();u[n(246)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(205)](s,o);else if(!o){const e=a[u(218)]();e.id=(0,t.uid)(),r[u(257)](e,a[u(268)])[u(177)]((t=>{c=t}))}}else e[u(205)](s,o)}))}}},Bu),n}[cl(254)](){const t=cl,e=this[t(227)][t(263)][t(174)](t(251))[t(139)];this[t(227)][t(263)][t(229)](t(256),(async()=>{const i=t;this[i(227)][i(266)](i(151));const n=this[i(227)][i(178)][i(174)](i(239));if(this[i(227)][i(178)][i(179)](i(138))){const t=this[i(227)][i(178)][i(174)](i(138));await t[i(143)]()}else await n[i(277)]();if(this[i(227)][i(178)][i(179)](i(222))&&this[i(227)][i(178)][i(174)](i(222))[i(279)](),this[i(227)][i(178)][i(179)](i(180))){const t=this[i(227)][i(178)][i(174)](i(180));t[i(146)]&&t[i(273)]()}const r=this[i(189)]();return e(r)[i(177)]((t=>{const e=i;return this[e(219)]=t,this[e(227)][e(178)][e(179)](e(197))&&this[e(227)][e(178)][e(174)](e(197))[e(145)](),t}))[i(152)]((t=>(console[i(242)](t),this[i(227)][i(275)](i(151)),null)))}))}[cl(192)](){const t=cl,e=this[t(227)][t(263)][t(174)](t(251))[t(148)];this[t(227)][t(263)][t(229)](t(276),(()=>(this[t(227)][t(178)][t(179)](t(222))&&this[t(227)][t(178)][t(174)](t(222))[t(279)](),this[t(219)][t(178)][t(174)](t(261))[t(186)](),e(this[t(219)])[t(177)]((()=>{const e=t;if(this[e(227)][e(275)](e(151)),this[e(219)]=null,this[e(227)][e(178)][e(179)](e(197))){const t=this[e(227)][e(178)][e(174)](e(197));t[e(145)](),t[e(255)]()}})))))}[cl(137)](t){const e=cl,i=this[e(227)][e(263)][e(174)](e(144)),n=this[e(227)][e(263)][e(174)](e(154)),r=this[e(227)][e(263)][e(174)](e(159));return al[e(168)](r,t)[e(177)]((t=>(n[e(262)][e(260)]=e(267),i[e(262)][e(260)]=e(162),t)))}[cl(249)](t){const e=cl,i=this[e(227)][e(263)][e(174)](e(144));return this[e(227)][e(263)][e(174)](e(154))[e(262)][e(260)]=e(162),i[e(262)][e(260)]="",t[e(248)]()}async[cl(142)](t){const e=cl,i=this[e(227)],n=this[e(219)][e(178)][e(174)](e(261)),r=i[e(178)][e(174)](e(239)),s=n[e(147)][e(164)](t);let o,a,c;try{o=await n[e(160)](s),a=await n[e(136)](s)}catch(t){return void console[e(242)](t)}i[e(217)][e(269)]((t=>{const n=e;for(const e of Array[n(183)](i[n(217)][n(223)][n(231)](n(155))))t[n(184)](e)})),n[e(210)]=!1,i[e(217)][e(185)]((t=>{const n=e;t[n(172)](null),t[n(198)](i[n(217)][n(243)][n(161)][n(167)]());const r=Object[n(244)](o);for(const e of i[n(217)][n(243)][n(190)])n(271)!=e[n(195)]&&e[n(140)]()&&!r[n(149)](e[n(195)])&&t[n(194)](e);for(const e of r){let r=i[n(217)][n(243)][n(225)](e);r&&r[n(140)]()||(r=t[n(196)](e));const s=a[e],c=Object[n(244)](s),u=o[e];for(const e of r[n(167)]())c[n(149)](e)||t[n(221)](e,r);for(const i of c)t[n(188)](i,a[e][i],r);t[n(170)](t[n(274)](r)),t[n(250)](i[n(212)][n(199)](u,r),r,0)}}));const u=Qi(i[e(236)],e(191));return c=s[e(208)]?-1==s[e(208)][e(181)](u)?u+": "+s[e(208)]:s[e(208)]:u+": "+s[e(259)][e(216)](i[e(236)][e(213)],{month:e(230),day:e(280)})+", "+s[e(259)][e(200)](i[e(236)][e(213)],{hour:e(280),minute:e(280)}),await r[e(257)]({name:c}),n[e(210)]=!0,i[e(263)][e(174)](e(251))[e(148)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=278]})(t,e)}function pl(){var t=["25180QZeBHM","1172667fCzEfT","72591aNkfCp","2101960NIFBWg","7ygJPXf","474raTKLZ","4095928mxuXmd","899676EdEVso","958534hrTMeV"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(313256===-parseInt(e(282))/1+parseInt(e(279))/2+parseInt(e(281))/3+parseInt(e(283))/4+parseInt(e(280))/5*(-parseInt(e(285))/6)+parseInt(e(284))/7*(-parseInt(e(286))/8)+-parseInt(e(278))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();