@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250121.0 → 0.0.0-nightly-20250123.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 +11 -8
  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:calc(var(--ck-ui-component-min-height) + 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:()=>qi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Lr,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 V=k["__core-js_shared__"];var E,D=(E=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";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 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 q=function(t){return!(!R(t)||C(t))&&(M(t)?Z:P).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const H=function(t,e){var i=$(t,e);return q(i)?i:void 0};const B=H(k,"Map");const J=H(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=H(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,Vt=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Vt&&Vt.exports===Mt?k.Buffer:void 0;const Dt=(Et?Et.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 qt=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=qt&&qt.isTypedArray;const Ht=$t?zt($t):Lt;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&&Ht(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=H(k,"DataView");const Ne=H(k,"Promise");const Re=H(k,"Set");const Me=H(k,"WeakMap");var Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ae),Pe=F(B),Le=F(Ne),ze=F(Re),We=F(Me),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ne&&Ue(Ne.resolve())!=Ee||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 Pe:return Ve;case Le:return Ee;case ze:return De;case We:return Ce}return e});const Ze=Ue;var qe=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&qe.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const He=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new He(e).set(new He(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]"==Ze(t)};var oi=qt&&qt.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=qt&&qt.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(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 Vi=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Ei=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=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(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=Vi(e,t)).length;null!=t&&i<n;)t=t[Ei(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=Vi(e,t),null==(t=Li(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Zi;function Zi(t,e){const i=$i();return(Zi=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=Zi,i=t();for(;;)try{if(967539===-parseInt(e(255))/1*(-parseInt(e(254))/2)+-parseInt(e(262))/3*(parseInt(e(252))/4)+parseInt(e(249))/5+parseInt(e(250))/6+parseInt(e(253))/7+parseInt(e(261))/8+-parseInt(e(267))/9*(parseInt(e(265))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($i);class qi extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(258)]=e[i(258)]||null,this[i(264)]=e[i(264)]||[],this[i(263)]=e[i(263)]||null,this[i(243)]=e[i(243)]||0,this[i(256)]=e[i(256)]||0,this[i(259)](i(245),e[i(245)]||""),this[i(259)](i(244),e[i(244)]||new Date),this[i(259)](i(257),e[i(257)]||{})}[Ui(266)](t){this[Ui(246)]({name:t})}[Ui(260)](t,e){const i=Ui,n=vi(this[i(257)]);Ci(n,t,e),this[i(246)]({attributes:n})}[Ui(241)](t){const e=Ui,i=vi(this[e(257)]);Wi(i,t),this[e(246)]({attributes:i})}[Ui(246)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(245),i(244),i(263),i(264),i(257),i(243),i(256),i(268)];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(264)]&&(r[i(248)]=r[i(264)][i(251)]((t=>t.id)),delete r[i(264)]),this[i(247)](i(246),r,e))}[Ui(242)](){const t=Ui;return{id:this.id,name:this[t(245)],creatorId:this[t(258)]?this[t(258)].id:null,authorsIds:this[t(264)][t(251)]((t=>t.id)),diffData:this[t(263)],createdAt:this[t(244)],attributes:this[t(257)],fromVersion:this[t(256)],toVersion:this[t(243)]}}}function $i(){const t=["set","setAttribute","11214792EKWmjv","18motrbC","diffData","authors","36809420cdAxip","setName","9wJZxex","creatorId","removeAttribute","toJSON","toVersion","createdAt","name","_update","fire","authorsIds","1944160usPAzP","10474578hyCCSa","map","330988DOkPoe","82369PQHYVK","34712vfVpRU","92JilapV","fromVersion","attributes","creator"];return($i=function(){return t})()}var Hi=i(782),Bi=i(211),Ji=i(783);const Yi=Gi;function Gi(t,e){const i=Ki();return(Gi=function(t,e){return i[t-=167]})(t,e)}function Ki(){const t=["map","pluginName","afterInit","toJSON","toVersion","attributes","earlier","getLaterVisibleRevision","80lDFdLE","getRevisionsInDiff","add","href","later","plugins","push","oldRevisionId","length","263953rqorfu","getRevisions","newRevisionId","getEarlierVisibleRevision","_revisions","get","creatorId","from","fromCharCode","getRevisionsIterator","Users","7497028SRRVhd","requires","7RSczLt","984688PqChmC","RevisionsRepository","getRevision","join","3723852JPCGwy","data","isPremiumPlugin","isNaN","3GLJDHx","5uelIdS","550998AsRXuT","editor","fromVersion","authorsIds","createdAt","isOfficialPlugin","getIndex","2176480BWJEFf","reverse","getUser","name","diffData","createRevision","1396666YPkuyZ","addRevision"];return(Ki=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(403922===parseInt(e(175))/1+-parseInt(e(212))/2*(parseInt(e(197))/3)+parseInt(e(189))/4*(-parseInt(e(198))/5)+parseInt(e(193))/6+-parseInt(e(188))/7*(-parseInt(e(206))/8)+parseInt(e(199))/9*(-parseInt(e(222))/10)+parseInt(e(186))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Xi extends Hi.Plugin{static get[Yi(187)](){return[Bi.Users]}static get[Yi(215)](){return Yi(190)}static get[Yi(204)](){return!0}static get[Yi(195)](){return!0}get[Yi(174)](){const t=Yi;return this[t(179)][t(174)]}constructor(e){const i=Yi;super(e),this[i(179)]=new t.Collection}[Yi(216)](){!async function(e){const i=k([66,103,107,73,97,118,67,113,49,106,79,115,56,109,83,78,76,119,111,54,89,99,50,69,86,48,72,116,81,121,71,52,77,114,120,105,55,110,102,108,112,88,75,74,90,70,98,53,57,84,80,68,82,117,85,100,122,51,65,104,87,101]),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(196)](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([66]);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(214)]((t=>String[e(183)](t)))[e(192)]("")}!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:1737417600;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(169)]);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]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([100,101,118,101,108,111,112,109,101,110,116])&&(i=u(k([68,101,118,101,108,111,112,109,101,110,116,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)}[Yi(211)](t){const e=Yi,i=this[e(200)][e(171)][e(180)](e(185));return new qi({id:t.id,name:t[e(209)],creator:t[e(181)]?i[e(208)](t[e(181)]):null,diffData:t[e(210)]||t[e(194)],authors:t[e(202)][e(214)]((t=>i[e(208)](t))),createdAt:new Date(t[e(203)]),attributes:t[e(219)],fromVersion:t[e(201)],toVersion:t[e(218)]})}[Yi(213)](t,e=0){const i=Yi;this[i(179)][i(168)](t,e)}[Yi(191)](t){const e=Yi;return this[e(179)][e(180)](t)}[Yi(176)](t={toJSON:!1}){const e=Yi,i=Array[e(182)](this[e(179)]);return i[e(207)](),t[e(217)]?i[e(214)]((t=>t[e(217)]())):i}[Yi(205)](t){const e=Yi;return this[e(179)][e(205)](t)}[Yi(178)](t){const e=Yi,[,i]=this[e(184)](t,{direction:e(220)});return i}[Yi(221)](t){const e=Yi,[,i]=this[e(184)](t,{direction:e(170)});return i}[Yi(167)](t){const e=Yi,i=[];for(const n of this[e(184)](t[e(177)]))if(i[e(172)](n),n.id===t[e(173)])break;return i}*[Yi(184)](t,{direction:e=Yi(220),filter:i=()=>!0}={}){const n=Yi,r=n(220)===e?1:-1;let s=this[n(179)][n(180)](t),o=this[n(205)](s);for(yield s;s;){if(o+=r,s=this[n(191)](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 He(t),new He(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&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||Ht(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=Sn;function In(){const t=["_handleRootAttributeOperation","getUser","afterInit","_processRootBeforeSave","paragraph","sort","requires","toView","ready","_isAttached","_update","split","$graveyard","_saveMetaData","_removeRevisionMarkers","getLatestVersion","domainLimit","vid_start","define","item","_isPendingUpdate","forEach","toData","_loadState","offset","adapter","_loadRevisionData","163MRedjQ","editing","stickiness","_getFromVersion","rootsAttributes","resolve","config","_makeIdsRoot","end","RealTimeCollaborationClient","_loadedStateData","getRevisionDocumentData","1393290cseEnm","start","trialLimit","move","RevisionHistory","createPositionAfter","_continueCurrentRevision","Empty document","key","for","keepParagraph","Initial revision","_markChanges","setRevisionData","path","getOperation","then","map","_clone","revisionHistoryLicenseKeyValid","isEnabled","initial","vid","_makeModelFromViewString","_initialRevisionId","5640YWsHRZ","_licenseKeyCheckInterval","insertion","name","getIndex","revisionHistoryLicenseKeyTrialLimit","isOfficialPlugin","createPositionAt","revisionHistoryLicenseKeyDomainLimit","getData","length","getWalker","$text","_touched","conversion","dataDowncast","_getPreviousFrom","isPremiumPlugin","fromEntries","getRootNames","_prepareViewToSave","_generateTape","_reset","_diffRootsAttributes","find","_insertChild","_calculateMetaData","2408ZDZrGo","addRoot","parent","attachChange","source","includes","_source","RevisionTracker","insertionPosition","revisionHistoryLicenseKeyInvalid","pluginName","RevisionsRepository","string","64730Bslpvj","attributesBefore","remove","_transformMarkers","history","revisionHistory.resumeUnsavedRevision","document","createRevision","516zJZayN","loadState","add","_startingVersion","_startingRevisionId","setSource","PendingActions","startsWith","createPositionFromPath","splitPosition","_authorId","creatorId","insert","type","_cloneOperation","_createFromRanges","getRoot","revision:","createPositionBefore","range","_markers","createRange","_diffRoots","_lastFrom","clone","getAttribute","rootName","offsetSize","authorsIds","_execute","getRevision","currentRevision","_handleInsertOperation","graveyardPosition","_getVidAttributeName","_fixRange","getCurrentRevisionId","licenseKey","update","tableCell","_showLicenseError","newValue","_fixPosition","hasContent","reinsert","PENDING_ACTION_REVISION_HISTORY","push","isAttached","fromVersion","_removePendingAction","revision-end","sourcePosition","NEGATIVE_INFINITY","_removeMetaData","some","authors","baseVersion","nodeAfter","plugins","values","updateRevisions","developmentLimit","processor","init","addRevision","vid_end","parse","_operations","addRootAttribute","targetPosition","diffData","_createInitialRevision","oldRange","previousPosition","default","has","usageLimit","model","shift","editor","upcast","locale","elementEnd","from","reverse","_getViewJson","trim","getTime","_handleMoveOperation","children","markers","_getBaseVids","repository","_bufferedUpdates","roots","Users","expired","getChildren","initialData","_appendChild","bind","markerToData","changeRootAttribute","text","editor-initial-data-replaced-with-revision-data","toVersion","documentFragment","marked","_makeRevision","get","_handleRootOperation","childCount","_isInit","_baseRootsAttributes","_revisionId","keys","_applyOperations","attributesAfter","getAttributes","data","stringify","217KHqJZW","666KGngvy","_pendingAction","set","useFillerType","_handleMergeOperation","_copyMarkers","affectsData","finally","_replaceEditorDataWithRevisionData","_savedMetaData","addRevisionData","sendBufferedUpdates","toModel","revisionHistoryLicenseKeyNotAllowed","getMovedRangeStart","createdAt","_baseIdsRoots","saveRevision","getChild","_createCurrentRevision","version","_setConversion","_getState","isReady","getTransformedByOperation","filter","_lastTo","getRevisionRootsAttributes","creator","isAdd","detachRoot","isEqual","element","createRangeIn","_addPendingAction","_setAttribute","elementStart","revision-start","_handleMarkerOperation","marker","collaboration.channelId","max","_idsRoots","newRange","delete","slice","data-revision-","_handleOperation","getNodeByPath","_baseRoots","merge","buildRevisionData","getRange","revisionHistoryLicenseKeyExpired","view","getRevisions","featureNotAllowed","size","getAncestors","reInit","revision","insertions","evaluationLimit","_handleSplitOperation","_touchedMarkers","_findInsertionIndex","237232WrzvWg","revisionHistoryLicenseKeyDevelopmentLimit","2468367TAbcJS","nodes","removeRootAttribute","userId","invalid","revisionHistoryLicenseKeyEvaluationLimit","clear","root","attributes","3338mPASFZ","24mqmWLl","_touchedRoots","_bufferUpdate","deletions","_revisionDataBuilder","revisionHistoryLicenseKeyUsageLimit","howMany","getOperations","position","destroy","_fixOperation","deletion","dataToMarker"];return(In=function(){return t})()}function Sn(t,e){const i=In();return(Sn=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=Sn,i=t();for(;;)try{if(338304===-parseInt(e(332))/1*(parseInt(e(291))/2)+-parseInt(e(344))/3+parseInt(e(280))/4+-parseInt(e(369))/5*(-parseInt(e(417))/6)+parseInt(e(213))/7*(-parseInt(e(396))/8)+-parseInt(e(214))/9*(-parseInt(e(409))/10)+parseInt(e(282))/11*(parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(In);const On={c:Ji.ViewContainerElement,a:Ji.ViewAttributeElement,e:Ji.ViewEmptyElement,r:Ji.ViewRawElement,u:Ji.ViewUIElement};class xn extends Hi.Plugin{static get[_n(406)](){return _n(403)}static get[_n(375)](){return!0}static get[_n(386)](){return!0}static get[_n(311)](){return[Bi.Users,Xi,Hi.PendingActions]}constructor(e){const i=_n;super(e),this[i(330)]=null,this[i(448)]=null,this[i(296)]=new An(this[i(496)]),this[i(368)]=this[i(496)][i(338)][i(201)](i(254))||i(365),this[i(510)]=new Map,this[i(342)]=null;const n=(0,t.uid)();this[i(402)]={history:this[i(496)][i(494)][i(415)][i(413)],getLatestVersion:()=>Promise[i(337)](this[i(496)][i(494)][i(415)][i(234)]),getCurrentRevisionId:()=>n},this[i(216)](i(237),!1),this[i(216)](i(364),!0),this[i(216)](i(325),!1),this[i(496)][i(338)][i(323)](i(414),!0),this[i(496)][i(383)][i(353)](i(497))[i(304)]({view:i(274)})}[_n(480)](){const t=_n;this[t(509)]=this[t(496)][t(475)][t(201)](t(407)),this[t(235)](),this[t(496)][t(211)].on(t(313),(()=>{const e=t,i=this[e(509)][e(447)](0),n=i&&null===i[e(242)]?i:null;if(this[e(350)]=!!n&&this[e(496)][e(338)][e(201)](e(414)),this[e(496)][e(475)][e(492)](e(341))){const t=this[e(402)][e(453)](),r=this[e(509)][e(447)](t);if(r)this[e(420)]=r[e(465)],this[e(350)]=!1;else{const t=this[e(402)][e(413)][e(484)][e(393)]((t=>!t[e(204)])),r=t?t[e(473)]:this[e(402)][e(413)][e(234)];i?(i[e(522)]<r&&i[e(315)]({toVersion:r}),this[e(350)]?(this[e(402)][e(453)]=()=>n.id,this[e(420)]=n[e(465)]):(this[e(420)]=i[e(522)],this[e(350)]=!1)):(this[e(420)]=r,this[e(350)]=!1)}}else n&&(this[e(496)][e(494)][e(415)][e(413)][e(234)]=Math[e(255)](n[e(522)],this[e(496)][e(494)][e(415)][e(413)][e(234)]),n[e(465)]===n[e(522)]?(0!==n[e(465)]&&(this[e(402)][e(453)]=()=>n.id),this[e(350)]=!1):this[e(350)]&&(this[e(402)][e(453)]=()=>n.id,this[e(420)]=n[e(465)])),this[e(350)]||(this[e(420)]=this[e(496)][e(494)][e(415)][e(234)]);this[e(296)][e(480)](this[e(402)][e(413)]),this[e(488)](this[e(420)]),this[e(233)](this[e(420)]),this[e(330)]&&this[e(225)]()})),this[t(517)](t(237)).to(this,t(325),(t=>!t)),this[t(454)]=this[t(496)][t(338)][t(201)](t(454));const e=this[t(496)];this[t(370)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(363)==s||i(405)==s||i(267)==s||i(377)==s||i(227)==s||i(287)==s||i(374)==s||i(281)==s||i(297)==s){delete e[r],n=s,clearInterval(this[i(370)]),this[i(370)]=void 0;break}}i(405)==n&&e[i(457)](i(286)),i(267)==n&&e[i(457)](i(513)),i(377)==n&&e[i(457)](i(321)),i(227)==n&&e[i(457)](i(270),i(348)),i(287)==n&&e[i(457)](i(276)),i(374)==n&&e[i(457)](i(346)),i(281)==n&&e[i(457)](i(478)),i(297)==n&&e[i(457)](i(493))}),1e3)}async[_n(307)](){const t=_n;if(this[t(509)][t(379)]>0){const e=this[t(509)][t(447)](0),i=await this[t(343)](e),n=await this[t(241)](e);this[t(222)](i,n)}}[_n(301)](){const t=_n;super[t(301)](),this[t(370)]&&clearInterval(this[t(370)])}[_n(422)](t){this[_n(402)]=t}async[_n(455)](){const t=_n,e=await this[t(402)][t(320)]();if(e>this[t(448)][t(522)]){await this[t(328)]();const i=this[t(265)]({revision:this[t(448)],to:e});i[t(472)]=i[t(445)][t(361)]((e=>this[t(496)][t(475)][t(201)](t(512))[t(306)](e))),this[t(448)][t(315)](i)}}async[_n(328)](){const t=_n;this[t(350)]&&!this[t(342)]&&(await this[t(331)](this[t(448)]),this[t(296)][t(418)](this[t(448)]),this[t(342)]={fromVersion:this[t(448)][t(465)],authors:this[t(448)][t(472)][t(259)]()})}async[_n(231)](e={},i=null){const n=_n,r=[];await this[n(328)](),this[n(350)]=!1,i>this[n(448)][n(522)]&&(i=null),null===i&&(i=await this[n(402)][n(320)]());const s=this[n(335)](i),o=this[n(265)]({from:s,to:i});if(this[n(448)][n(522)]<i){const t=this[n(265)]({revision:this[n(448)],from:i,to:i});t[n(472)]=[],t[n(445)]=[],t.id=this[n(448)].id,this[n(448)][n(315)](t,!0),delete t[n(472)],r[n(463)](t)}e[n(428)]=this[n(496)][n(475)][n(201)](n(512)).me.id,e[n(372)]=e[n(372)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(224)](e);r[n(463)](e);const c=this[n(509)][n(373)](a);if(0!==c){const t=this[n(509)][n(447)](c-1);if(t[n(465)]!==i){const s=this[n(296)][n(378)](i,t[n(522)]),o={id:t.id,diffData:s[n(487)],authorsIds:s[n(445)],authors:s[n(445)][n(361)]((t=>this[n(496)][n(475)][n(201)](n(512))[n(306)](t))),fromVersion:i};t===this[n(448)]&&(o[n(229)]=new Date(e[n(229)][n(504)]()+10)),t[n(315)](o,!0),delete o[n(472)],r[n(463)](o)}}if(this[n(330)]){for(const t of r)this[n(294)](t.id,t,!0);this[n(225)]()}return a}[_n(224)](t){const e=_n,i=this[e(509)][e(416)](t);return this[e(330)]&&i.on(e(315),((t,i,n)=>{const r=e;n||(this[r(294)](i.id,i,!0),this[r(225)]())})),this[e(509)][e(481)](i,this[e(279)](i)),i}async[_n(343)](t){const e=_n;await this[e(331)](t);const i={};for(const n in t[e(487)]){if(t[e(487)][n][e(399)]&&!t[e(487)][n][e(399)][e(464)])continue;const r=this[e(319)](JSON[e(483)](t[e(487)][n][e(275)])),s=this[e(496)][e(333)][e(268)][e(415)],o=new Ji.ViewDocumentFragment(s,r[e(361)]((t=>Tn(t,this[e(496)]))));this[e(496)][e(211)][e(479)][e(217)](e(199)),i[n]=this[e(496)][e(211)][e(479)][e(327)](o),this[e(496)][e(211)][e(479)][e(217)](e(491))}return i}async[_n(241)](t){const e=_n;await this[e(331)](t);const i={};for(const n in t[e(487)])t[e(487)][n][e(399)]&&!t[e(487)][n][e(399)][e(464)]||(i[n]=t[e(487)][n][e(209)]||{});return i}[_n(225)](){const t=_n;if(0===this[t(510)][t(271)])return;if(this[t(325)])return;let e=Array[t(500)](this[t(510)][t(476)]());this[t(510)][t(288)]();for(let i=0;i<e[t(379)];i++){const n=e[i];let r=!1;for(const e of Object[t(207)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(239)]((t=>null!==t)),!e[t(379)])return;for(let i=0;i<e[t(379)];i++){const n=e[i];void 0!==n[t(465)]&&void 0===n[t(522)]&&(n[t(522)]=this[t(509)][t(447)](n.id)[t(522)]),void 0!==n[t(522)]&&void 0===n[t(465)]&&(n[t(465)]=this[t(509)][t(447)](n.id)[t(465)])}const i=this[t(496)][t(338)][t(201)](t(254));this[t(325)]=!0,this[t(248)](),this[t(330)][t(477)](e,i)[t(221)]((()=>{this[t(325)]=!1}))[t(360)]((e=>{const i=t;if(e)for(const t of e)this[i(357)]({id:t.id,createdAt:t[i(229)]});this[i(466)](),this[i(225)]()}))}[_n(222)](e,i){const n=_n;let r=this[n(496)][n(338)][n(201)](n(515)),s=this[n(496)][n(338)][n(201)](n(336));if(void 0===r){r={};for(const t of this[n(496)][n(494)][n(415)][n(388)]())r[t]=""}if(n(408)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(496)][n(494)][n(415)][n(388)]())s[t]={}}let o=!1;const a=Object[n(207)](r),c=Object[n(207)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(503)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(207)](s[t])[n(379)]>0){o=!0;break}}o||(o=c[n(471)]((t=>!this[n(496)][n(494)][n(415)][n(433)](t)))),o&&(0,t.logWarning)(n(521),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(496)][n(338)][n(216)](n(515),e),this[n(496)][n(338)][n(216)](n(336),i)}[_n(248)](){const t=_n;if(!this[t(215)]){const e=this[t(496)][t(475)][t(201)](t(423));this[t(215)]=e[t(419)](Qi(this[t(496)][t(498)],t(462)))}}[_n(466)](){const t=_n;this[t(215)]&&(this[t(496)][t(475)][t(201)](t(423))[t(411)](this[t(215)]),this[t(215)]=null)}[_n(279)](t){const e=_n,i=this[e(509)][e(269)]();i[e(501)]();let n=0;for(;n<i[e(379)];){const r=i[n];if(r===this[e(448)]){n++;continue}if(r.id===this[e(368)])break;const s=t[e(522)]-r[e(522)]||t[e(465)]-r[e(465)];if(s>0)break;if(s<0)n++;else{if(!t[e(242)]&&r[e(242)])break;if(r[e(242)]||!t[e(242)]){if(t[e(229)]>r[e(229)])break;n++}else n++}}return n}[_n(357)](t){const e=_n,i=this[e(509)][e(447)](t.id);if(t[e(229)]&&(t[e(229)]=new Date(t[e(229)])),t[e(445)]){const i=this[e(496)][e(475)][e(201)](e(512));t[e(472)]=t[e(445)][e(361)]((t=>i[e(306)](t)))}i[e(315)](t,!0)}[_n(265)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(465)],i=null!==i?i:t[n(522)];const r=this[n(296)][n(378)](e,i),s={diffData:r[n(487)],authorsIds:r[n(445)],fromVersion:e,toVersion:i};if(!t||i!==t[n(522)]){const t=i-1,e=this[n(402)][n(413)][n(359)](t);s[n(229)]=e&&e[n(229)]||new Date}if(this[n(342)]&&e===this[n(342)][n(465)])for(const t of this[n(342)][n(472)])s[n(445)][n(401)](t.id)||s[n(445)][n(463)](t.id);return s}[_n(331)](t){const e=_n;if(!t||t[e(487)])return Promise[e(337)]();{const i=this[e(496)][e(338)][e(201)](e(254));return this[e(330)][e(447)]({channelId:i,revisionId:t.id})[e(360)]((i=>{const n=e;t[n(487)]=i[n(487)]}))}}[_n(294)](t,e,i){const n=_n;if(this[n(510)][n(492)](t)){const r=this[n(510)][n(201)](t);e=i?{...r,...e}:{...e,...r}}this[n(510)][n(216)](t,e)}[_n(335)](t){const e=_n,i=this[e(509)][e(269)]();i[e(501)](),i[e(495)]();const n=i[e(393)]((i=>i[e(522)]<=t))[e(522)];return n<this[e(420)]?this[e(420)]:n}[_n(488)](t){const e=_n,i=this[e(509)][e(447)](this[e(509)][e(379)]-1);if(i)this[e(368)]=i.id;else{const i=!this[e(496)][e(494)][e(415)][e(511)][e(393)]((t=>this[e(496)][e(494)][e(460)](t))),n=this[e(496)][e(475)][e(201)](e(512)).me.id,r=Qi(this[e(496)][e(498)],e(i?351:355));this[e(200)]({from:t,to:t,id:this[e(368)],name:r,creatorId:n})}}[_n(233)](t){const e=_n,i=this[e(402)][e(453)]();this[e(448)]=this[e(509)][e(447)](i),this[e(448)]||(this[e(448)]=this[e(200)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(200)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(265)]({from:e,to:i});o[s(372)]=t,o[s(428)]=n,o.id=r;const a=this[s(224)](o);return this[s(330)]&&this[s(294)](o.id,o,!0),a}[_n(235)](){const t=_n;this[t(496)][t(383)][t(353)](t(384))[t(518)]({model:t(274)})}[_n(319)](t){const e=_n;return(t=t[e(239)]((t=>!t[e(372)]||e(251)!==t[e(372)]&&e(467)!==t[e(372)])))[e(326)]((t=>{const i=e;i(408)!=typeof t&&(t[i(506)]=this[i(319)](t[i(506)]),t[i(290)]=t[i(290)][i(239)]((t=>!t[0][i(424)](i(260)))))})),t}}function Tn(t,e){const i=_n,n=e[i(333)][i(268)][i(415)];if(i(408)==typeof t)return new Ji.ViewText(n,t);{const r=t[i(506)][i(361)]((t=>Tn(t,e)));return new(On[t[i(430)]]||Ji.ViewElement)(n,t[i(372)],t[i(290)],r)}}class An{constructor(t){const e=_n;this[e(496)]=t,this[e(223)]=new Map,this[e(440)]=-1,this[e(240)]=-1,this[e(437)]=new Map,this[e(439)]=new Map,this[e(392)]=new Map,this[e(263)]=new Map,this[e(205)]=new Map,this[e(256)]=new Map,this[e(230)]=new Map,this[e(382)]=new Map,this[e(278)]=new Map,this[e(293)]=new Map,this[e(206)]=1}[_n(480)](t){const e=_n;this[e(400)]=t;const i=new Map,n=new Map,r=this[e(496)][e(494)][e(415)][e(511)][e(361)]((t=>t[e(443)]));for(const t of r){const r=this[e(496)][e(494)][e(415)][e(433)](t),s=Nn(r);i[e(216)](t,s),n[e(216)](t,Object[e(387)](r[e(210)]()))}const s=Array[e(500)](this[e(496)][e(494)][e(507)])[e(361)]((t=>[t[e(372)],t[e(266)]()])),o=this[e(400)][e(234)];this[e(318)](o,i,s,n),this[e(421)]=this[e(206)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(216)](t,i),c[e(216)](t,{})}this[e(318)](Number[e(469)],a,[],c)}[_n(378)](t,e){const i=_n;if(this[i(440)]===t&&this[i(240)]<=e)this[i(223)][i(271)]>1&&this[i(470)](this[i(240)]),this[i(208)](this[i(240)],e,!0);else{if(!this[i(223)][i(492)](t)){const e=this[i(385)](t);this[i(395)](e,t,!1)}this[i(395)](t,e,!0)}return this[i(440)]=t,this[i(240)]=e,this[i(236)]()}[_n(418)](t){const e=_n;this[e(391)](),this[e(440)]=t[e(465)],this[e(240)]=t[e(522)];for(const i in t[e(487)]){const n=t[e(487)][i][e(399)],r=vi(t[e(487)][i][e(410)])||{},s=this[e(367)](t[e(487)][i][e(295)]);s[e(443)]=i,s[e(314)]=!n||!n[e(464)],s[e(464)]=()=>s[e(314)],this[e(263)][e(216)](i,s),this[e(205)][e(216)](i,r),n&&this[e(293)][e(216)](i,n);const o=this[e(339)](s);this[e(230)][e(216)](i,o);for(const[t,i]of s[e(507)]){if(!t[e(424)](e(434)))continue;const n=t[e(316)](":")[2];for(const t of i[e(380)]({singleCharacters:!0})){const i=this[e(451)](t),r=e(499)==t[e(430)]?t[e(490)][e(358)][e(259)](0,-1):t[e(490)][e(358)],s=o[e(262)](r)[e(442)](i);this[e(382)][e(216)](s,{userId:n})}}}this[e(421)]=this[e(206)];const i=[...Array(this[e(206)])[e(207)]()][e(259)](1)[e(239)]((t=>!this[e(382)][e(492)](t)));let n=0;const r=new Map;for(const s in t[e(487)]){const o=t[e(487)][s][e(399)],a=vi(t[e(487)][s][e(209)])||{},c=this[e(367)](t[e(487)][s][e(275)]);c[e(443)]=s,c[e(314)]=!o||o[e(464)],c[e(464)]=()=>c[e(314)],this[e(439)][e(216)](s,c),this[e(392)][e(216)](s,a);const u=this[e(339)](c,Number[e(469)]);this[e(256)][e(216)](s,u),r[e(216)](s,c[e(464)]()?a:{});for(const[t,i]of c[e(507)]){if(!t[e(424)](e(434)))continue;const n=t[e(316)](":")[2];for(const t of i[e(380)]({singleCharacters:!0})){const i=this[e(451)](t),r=this[e(206)]++,s=e(499)==t[e(430)]?t[e(490)][e(358)][e(259)](0,-1):t[e(490)][e(358)];u[e(262)](s)[e(249)](i,r),this[e(382)][e(216)](r,{userId:n})}}for(const t of this[e(496)][e(494)][e(247)](c)[e(380)]({singleCharacters:!0})){const r=this[e(451)](t),s=e(499)==t[e(430)]?t[e(490)][e(358)][e(259)](0,-1):t[e(490)][e(358)],o=u[e(262)](s);o[e(442)](r)>0||o[e(249)](r,i[n++])}for(const[t,i]of c[e(507)])t[e(424)](e(434))||this[e(437)][e(216)](t,i)}const s=Rn(e(317));this[e(263)][e(216)](e(317),s),this[e(230)][e(216)](e(317),this[e(339)](s,1));const o=Rn(e(317));this[e(439)][e(216)](e(317),o),this[e(256)][e(216)](e(317),this[e(339)](o,1));const a=Array[e(500)](this[e(439)])[e(361)]((([t,e])=>[t,Nn(e)]));this[e(318)](this[e(240)],a,this[e(437)],r)}[_n(367)](t){const e=_n,i=JSON[e(483)](t),n=this[e(496)][e(333)][e(268)][e(415)],r=new Ji.ViewDocumentFragment(n,i[e(361)]((t=>Tn(t,this[e(496)]))));return this[e(496)][e(211)][e(226)](r)}[_n(318)](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(216)](t,{start:e[r(345)][r(441)](),end:e[r(340)][r(441)](),rootName:e[r(289)][r(443)]});this[r(223)][r(216)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(470)](t){const e=_n;this[e(223)][e(258)](t)}[_n(273)](){const t=_n;this[t(391)](),this[t(440)]=-1,this[t(240)]=-1,this[t(223)][t(288)](),this[t(480)](this[t(400)])}[_n(391)](){const t=_n;this[t(382)][t(288)](),this[t(278)][t(288)](),this[t(293)][t(288)](),this[t(439)][t(288)](),this[t(392)][t(288)](),this[t(263)][t(288)](),this[t(205)][t(288)](),this[t(256)][t(288)](),this[t(230)][t(288)](),this[t(437)][t(288)](),this[t(206)]=1,this[t(421)]=this[t(206)]}[_n(339)](t,e=null){const i=_n;let n=null;t.is(i(523))||(n=new Ji.Element(t[i(372)],{vid_start:null===e?this[i(206)]++:e++}));const r=[];for(const n of t[i(514)]())if(n.is(i(246))){r[i(463)](this[i(339)](n,e));const t=r[r[i(379)]-1];null!==e&&(e=t.is(i(246),i(381))?t[i(442)](i(366))+1:t[i(442)](i(482))+1)}else for(let t=0;t<n[i(444)];t++)r[i(463)](new Ji.Element(i(381),{vid:null===e?this[i(206)]++:e++}));if(t.is(i(523))){const e=Rn(t[i(443)]);return e[i(394)](0,r),e}return n[i(249)](i(482),null===e?this[i(206)]++:e++),n[i(394)](0,r),n}[_n(395)](t,e,i){const n=_n;this[n(391)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(223)][n(201)](t);this[n(263)]=new Map(r),this[n(205)]=new Map(vi(o));for(const[t,e]of this[n(263)])if(n(317)!==t&&(this[n(439)][n(216)](t,Nn(e)),this[n(392)]=new Map(vi(o)),i)){const i=this[n(206)];this[n(256)][n(216)](t,this[n(339)](e)),this[n(230)][n(216)](t,this[n(339)](e,i))}this[n(421)]=this[n(206)],this[n(439)][n(216)](n(317),Nn(this[n(263)][n(201)](n(317)))),i&&this[n(256)][n(216)](n(317),this[n(339)](this[n(263)][n(201)](n(317))));for(const[t,e]of s){const i=this[n(263)][n(201)](e[n(443)]),r=this[n(439)][n(201)](e[n(443)]),s=new Ji.Range(this[n(459)](e[n(345)],i),this[n(459)](e[n(340)],i)),o=this[n(452)](s,r);i[n(507)][n(216)](t,s),this[n(437)][n(216)](t,o)}this[n(208)](t,e,i)}[_n(208)](t,e,i){const n=_n;for(const r of this[n(400)][n(299)](t,e))this[n(261)](r,i);for(const t of this[n(439)][n(476)]())t[n(507)][n(288)]();for(const[t,e]of this[n(437)])this[n(439)][n(201)](e[n(289)][n(443)])[n(507)][n(216)](t,e[n(441)]());const r=new Map,s=new Map;for(const[t,e]of this[n(439)])r[n(216)](t,Nn(e)),s[n(216)](t,this[n(392)][n(201)](t));this[n(318)](e,r,this[n(437)],s)}[_n(385)](t){const e=_n,i=Array[e(500)](this[e(223)][e(207)]());i[e(310)](((t,e)=>t-e)),i[e(501)]();for(const e of i)if(e<t)return e;return Number[e(469)]}[_n(219)](t,e){const i=_n,n=Array[i(500)](e[i(507)])[i(361)]((([e,n])=>[e,this[i(452)](n,t)]));t[i(507)]=new Map(n)}[_n(412)](t){const e=_n;for(const i of this[e(437)][e(476)]()){const n=i[e(238)](t),r=Ji.Range[e(432)](n);i[e(345)]=r[e(345)],i[e(340)]=r[e(340)]}}[_n(261)](t,e){const i=_n;if(i(397)!=t[i(430)]&&i(244)!=t[i(430)]){if(i(429)==t[i(430)]){const n=t[i(300)][i(289)][i(443)];this[i(439)][i(492)](n)||(this[i(439)][i(216)](n,Rn(n,!0)),this[i(392)][i(216)](n,{}),e&&this[i(256)][i(216)](n,Rn(n,!0)))}else{if(i(485)==t[i(430)]||i(284)==t[i(430)]||i(519)==t[i(430)])return void this[i(305)](t);i(253)==t[i(430)]&&this[i(252)](t)}if(i(253)!==t[i(430)]){const e=this[i(431)](t,this[i(439)]);e[i(446)](),this[i(412)](e)}if(e)switch(t[i(430)]){case i(429):this[i(449)](t);break;case i(347):case i(411):case i(461):this[i(505)](t);break;case i(264):this[i(218)](t);break;case i(316):this[i(277)](t)}}else this[i(202)](t,e)}[_n(431)](t,e){const i=_n,n=t[i(441)]();return n[i(427)]=t[i(427)],this[i(302)](n,e),n}[_n(508)](t){const e=_n;return t[e(361)]((t=>{const i=e,n=this[i(451)](t);return Number(t[i(324)][i(442)](n))}))}[_n(390)](t,e){const i=_n;if(t.is(i(246),i(381)))e[i(463)]({item:t,type:i(520)});else{t.is(i(246))&&e[i(463)]({item:t,type:i(250)});for(const n of t[i(514)]())this[i(390)](n,e);t.is(i(246))&&e[i(463)]({item:t,type:i(499)})}return e}[_n(236)](){const t=_n,e=new Map(this[t(382)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(263)][t(207)](),...this[t(439)][t(207)]()]);a[t(258)](t(317));for(const e of a){const i=this[t(439)][t(201)](e)||Rn(e,!1),n=this[t(263)][t(201)](e)||Rn(e,!1);i[t(464)]()||n[t(464)]()?(r[t(275)][e]=Nn(i),r[t(295)][e]=Nn(n),this[t(219)](r[t(295)][e],n),this[t(219)](r[t(275)][e],i),s[t(275)][e]=this[t(390)](this[t(256)][t(201)](e),[]),s[t(295)][e]=this[t(390)](this[t(230)][t(201)](e)||Rn(e,!1),[])):a[t(258)](e)}for(const r of a){const o=s[t(275)][r];for(const r of o){const s=this[t(451)](r),o=r[t(324)][t(442)](s);i[t(258)](o),o>=this[t(421)]&&n[t(216)](o,e[t(201)](o))}}for(const r of a){const a=s[t(275)][r],c=this[t(508)](s[t(295)][r]);let u=0;for(const r of a){const s=this[t(451)](r),a=r[t(324)][t(442)](s);if(!n[t(492)](a)&&!o[t(492)](a))if(i[t(492)](a))u++;else{if(a!=c[u]){const n=e[t(201)](a)||e[t(201)](c[u]);for(;a!=c[u];)i[t(492)](c[u])||(o[t(216)](c[u],n),e[t(216)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(275)][e];for(const e of r){const r=this[t(451)](e),s=e[t(324)][t(442)](r);if(o[t(492)](s)){const e=o[t(201)](s);i[t(492)](s)||i[t(216)](s,{...e}),n[t(216)](s,{...e})}}}for(const e of i[t(207)]())e>=this[t(421)]&&i[t(258)](e);const c=new Map;for(const e of a){let r=s[t(275)][e];for(const e of r)if(e[t(324)].is(t(246),t(456))){const i=this[t(451)](e),r=e[t(324)][t(442)](i);if(n[t(492)](r)){const i=e[t(324)][t(398)][t(398)][t(442)](t(322)),s=c[t(201)](i)||new Set;s[t(419)](n[t(201)](r)[t(285)]),c[t(216)](i,s)}}r=s[t(295)][e];for(const e of r)if(e[t(324)].is(t(246),t(456))){const n=this[t(451)](e),r=e[t(324)][t(442)](n);if(i[t(492)](r)){const n=e[t(324)][t(398)][t(398)][t(442)](t(322)),s=c[t(201)](n)||new Set;s[t(419)](i[t(201)](r)[t(285)]),c[t(216)](n,s)}}for(const e of c[t(207)]())(n[t(492)](e)||i[t(492)](e))&&c[t(258)](e)}for(const e of a){const r=s[t(275)][e];let o=null,a=null;for(const e of r){const r=this[t(451)](e),s=e[t(324)][t(442)](r),u=c[t(201)](s);u&&t(250)==e[t(430)]&&(o=Array[t(500)](u)[0],a=e[t(324)][t(442)](t(482))),o&&(i[t(216)](s,{userId:o}),n[t(216)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(295)][e],a=r[t(275)][e];for(const{userId:e}of this[t(278)][t(476)]())null!==e&&l[t(419)](e);for(const{userId:e}of this[t(293)][t(476)]())null!==e&&l[t(419)](e);this[t(356)](a,s[t(275)][e],n,t(371),l),this[t(356)](o,s[t(295)][e],i,t(303),l),u[e]={insertions:this[t(389)](a),deletions:this[t(389)](o),attachChange:this[t(293)][t(201)](e)||null,attributesBefore:vi(this[t(205)][t(201)](e))||{},attributesAfter:vi(this[t(392)][t(201)](e))}}return{diffData:u,authorsIds:Array[t(500)](l)}}[_n(308)](t){const e=_n;for(const[,i]of t[e(507)]){const t=i[e(345)][e(272)]()[e(239)]((t=>e(456)==t[e(372)]));for(const i of t)1==i[e(203)]&&i[e(232)](0).is(e(246),e(309))&&i[e(232)](0)[e(249)](e(354),!0)}}[_n(389)](t){const e=_n;this[e(308)](t);const i=this[e(496)][e(211)][e(312)](t,{}),n=Array[e(500)](i[e(514)]())[e(361)]((t=>this[e(502)](t)));return JSON[e(212)](n)}[_n(502)](t){const e=_n;if(t.is(e(381)))return t[e(211)];{const i=t;return{type:Object[e(207)](On)[e(393)]((e=>t instanceof On[e])),name:i[e(372)],attributes:Array[e(500)](i[e(210)]()),children:Array[e(500)](i[e(514)]())[e(361)]((t=>this[e(502)](t)))}}}[_n(356)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(496)][s(494)];for(let n=0;n<e[s(379)];n++){const r=this[s(451)](e[n]),c=e[n][s(324)][s(442)](r),h=i[s(201)](c),d=n==e[s(379)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(285)]!=o[s(285)])&&(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),Vn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(285)],d=l(434)+n+":"+h+":"+c++,f=u[l(438)](i,a);t[l(507)][l(216)](d,f),null!==h&&r[l(419)](h)}}[_n(451)](t){const e=_n;switch(t[e(430)]){case e(250):return e(322);case e(499):return e(482);default:return e(366)}}[_n(302)](t,e){const i=_n;t[i(473)]=null;for(const n in t){const r=t[n];if(r instanceof Ji.Position){const s=e[i(201)](r[i(289)][i(443)]);t[n]=this[i(459)](r,s)}if(r instanceof Ji.Range){const s=e[i(201)](r[i(289)][i(443)]);t[n]=this[i(452)](r,s)}i(289)===n&&(t[i(289)]=e[i(201)](t[i(289)][i(443)]))}}[_n(452)](t,e){const i=_n;return this[i(496)][i(494)][i(438)](this[i(459)](t[i(345)],e),this[i(459)](t[i(340)],e))}[_n(459)](t,e){const i=_n;return this[i(496)][i(494)][i(425)](e,t[i(358)],t[i(334)])}[_n(449)](t){const e=_n,i=this[e(256)][e(201)](t[e(300)][e(289)][e(443)]),n=this[e(459)](t[e(300)],i),r=null===t[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,s=n[e(398)],o=this[e(206)],a=[];for(const i of t[e(283)])if(i.is(e(246)))a[e(463)](this[e(339)](i));else for(let t=0;t<i[e(444)];t++)a[e(463)](new Ji.Element(e(381),{vid:this[e(206)]++}));const c=this[e(206)];for(let t=o;t<c;t++)this[e(382)][e(216)](t,{userId:r});s[e(394)](n[e(329)],a)}[_n(505)](t){const e=_n;(t=this[e(431)](t,this[e(256)]))[e(446)]();const i=null===t[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,n=t[e(228)](),r=n[e(398)],s=n[e(329)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(232)](e);s.is(a(246),a(381))?n[a(216)](s[a(442)](a(366)),{userId:i}):(n[a(216)](s[a(442)](a(322)),{userId:i}),t(n,s,0,s[a(203)]),n[a(216)](s[a(442)](a(482)),{userId:i}))}}(this[e(382)],r,s,s+t[e(298)])}[_n(218)](t){const e=_n,i=null===(t=this[e(431)](t,this[e(256)]))[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,n=t[e(486)][e(398)],r=t[e(468)][e(398)],s=n[e(442)](e(482)),o=r[e(442)](e(322));n[e(249)](e(482),r[e(442)](e(482))),r[e(249)](e(482),s),this[e(382)][e(216)](o,{userId:i}),this[e(382)][e(216)](s,{userId:i}),t[e(446)]()}[_n(277)](t){const e=_n,i=null===(t=this[e(431)](t,this[e(256)]))[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,n=t[e(450)],r=t[e(426)][e(398)];t[e(446)]();const s=r[e(442)](e(482)),o=t[e(404)][e(474)];if(n){const t=o[e(442)](e(482)),n=r[e(442)](e(482));r[e(249)](e(482),t),o[e(249)](e(482),n),this[e(382)][e(216)](r[e(442)](e(482)),{userId:i}),this[e(382)][e(216)](o[e(442)](e(322)),{userId:i})}else{const t=this[e(206)]++,n=this[e(206)]++;r[e(249)](e(482),t),o[e(249)](e(322),n),o[e(249)](e(482),s),this[e(382)][e(216)](t,{userId:i}),this[e(382)][e(216)](n,{userId:i})}}[_n(252)](t){const e=_n;if(!t[e(220)])return;const i=(t=this[e(431)](t,this[e(439)]))[e(489)]?t[e(489)][e(289)]:null,n=t[e(257)]?t[e(257)][e(289)]:null;i&&this[e(437)][e(258)](t[e(372)]),n&&this[e(437)][e(216)](t[e(372)],t[e(257)][e(441)]());const r=null===t[e(427)]?null:t[e(427)]||this[e(496)][e(475)][e(201)](e(512)).me.id,s=t[e(372)];if(!this[e(278)][e(492)](s))return void this[e(278)][e(216)](s,{range:t[e(489)],userId:r});const o=this[e(278)][e(201)](s),a=o[e(436)],c=t[e(257)];null==a&&null==c||a&&c&&a[e(245)](c)?this[e(278)][e(258)](t[e(372)]):o[e(285)]=r}[_n(202)](t,e){const i=_n;this[i(439)][i(492)](t[i(443)])?this[i(439)][i(201)](t[i(443)])[i(314)]=t[i(243)]:(this[i(439)][i(216)](t[i(443)],Rn(t[i(443)],!0)),this[i(392)][i(216)](t[i(443)],{}),e&&this[i(256)][i(216)](t[i(443)],Rn(t[i(443)],!0)));const n=null===t[i(427)]?null:t[i(427)]||this[i(496)][i(475)][i(201)](i(512)).me.id,r=this[i(293)][i(201)](t[i(443)]);r&&r[i(285)]===n?this[i(293)][i(258)](t[i(443)]):this[i(293)][i(216)](t[i(443)],{userId:n,isAttached:t[i(243)]})}[_n(305)](t){const e=_n,i=this[e(392)][e(201)](t[e(289)][e(443)]);null===t[e(458)]?delete i[t[e(352)]]:i[t[e(352)]]=t[e(458)]}}function Nn(t){const e=_n,i=Rn(t[e(443)],t[e(464)]());for(const n of t[e(514)]()){const t=n[e(362)](!0);i[e(516)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Ji.DocumentFragment;return n[i(443)]=t,n[i(314)]=e,n[i(464)]=()=>n[i(314)],n}function Mn(t,e,i){const n=_n,r=n(499)==t[n(430)]?i[n(376)](t[n(324)],n(340)):i[n(435)](t[n(324)]);return i[n(425)](e,r[n(358)],r[n(334)])}function Vn(t,e,i){const n=_n,r=n(250)==t[n(430)]?i[n(376)](t[n(324)],0):i[n(349)](t[n(324)]);return i[n(425)](e,r[n(358)],r[n(334)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),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),qn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Ln().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(qn.A,$n);qn.A&&qn.A.locals&&qn.A.locals;var Hn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(Hn.A,Bn);Hn.A&&Hn.A.locals&&Hn.A.locals;const Jn=Yn;function Yn(t,e){const i=Kn();return(Yn=function(t,e){return i[t-=342]})(t,e)}!function(t){const e=Yn,i=t();for(;;)try{if(445234===-parseInt(e(347))/1+parseInt(e(352))/2+parseInt(e(377))/3+-parseInt(e(378))/4*(-parseInt(e(344))/5)+-parseInt(e(375))/6*(-parseInt(e(354))/7)+-parseInt(e(383))/8+parseInt(e(362))/9*(-parseInt(e(361))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kn);class Gn extends En.View{constructor(e,i){const n=Yn;super(e),this[n(374)]=new t.FocusTracker,this[n(350)]=new t.KeystrokeHandler,this[n(346)](n(367),""),this[n(366)]=this[n(358)](i),this[n(372)]({tag:n(381),attributes:{class:["ck",n(357),n(363)],tabindex:"-1"},children:[this[n(366)]]}),(0,En.injectCssTransitionDisabler)(this)}[Jn(380)](){const t=Jn;super[t(380)](),(0,En.submitHandler)({view:this}),this[t(374)][t(376)](this[t(366)][t(351)]),this[t(350)][t(353)](this[t(351)]);const e=e=>e[t(359)]();this[t(350)][t(346)](t(356),e),this[t(350)][t(346)](t(368),e),this[t(350)][t(346)](t(371),e),this[t(350)][t(346)](t(355),e)}[Jn(349)](){const t=Jn;this[t(366)][t(349)]()}get[Jn(345)](){const t=Jn;return this[t(366)][t(384)][t(351)][t(348)][t(365)]()}set[Jn(345)](t){const e=Jn;this[e(366)][e(384)][e(351)][e(348)]=t[e(365)]()}[Jn(379)](){const t=Jn;this[t(366)][t(384)][t(351)][t(348)]="",this[t(366)][t(360)]=null}[Jn(358)](t){const e=Jn,i=new En.LabeledFieldView(this[e(343)],En.createLabeledInputText),n=i[e(384)];n[e(369)]({attributes:{maxlength:e(373)}});let r=Qi(this[e(343)],e(370));return!t&&(r+=" ("+Qi(this[e(343)],e(342))+")"),i[e(364)]=r,n.on(e(382),(()=>{const t=e;this[t(367)]=n[t(351)][t(348)][t(365)]()})),i}}function Kn(){const t=["revisionName","set","824634XZZUqw","value","focus","keystrokes","element","1411690LtnlqY","listenTo","21bAIggB","arrowdown","arrowright","ck-revision-history-save-revision-form","_createRevisionNameInput","stopPropagation","errorText","10qjbkdC","2056581zaxdUD","ck-responsive-form","label","trim","revisionNameInputView","revisionNameInputValue","arrowleft","extendTemplate","Name of the revision","arrowup","setTemplate","220","focusTracker","755484pAgmFK","add","1177842xmlMdS","4kFWfvB","reset","render","form","input","5772256ckMpKl","fieldView","optional","locale","3718540MOoXel"];return(Kn=function(){return t})()}function Xn(){const t=["reset","10054IMlRXZ","Save current revision","155683ONlsET","_showDialog","role","Revision history","children","saveRevision","render","add","RevisionHistoryUI","8QJHVVm","revisionNameInputView","locale","545781PLvMiR","editor","config","3900VOfuce","isReady","pluginName","plugins","isEnabled","isReadOnly","isOfficialPlugin","view","Cancel","360paKmsT","isPremiumPlugin","_saveRevisionFormView","ck-button-action","_createSaveRevisionFormView","editing","execute","revisionName","addMany","componentFactory","menuBar:revisionHistory","revisionHistory","hide","2466275pGbdkk","RevisionTracker","Open revision history","set","buttonView","revisionSave","_registerMenuComponent","init","show","menu","11286DlEPMl","Accept","227414ktCaOp","items","focus","The revision name cannot be empty.","3030MTczcZ","delegate","8BAkexb","revisionHistory.requireRevisionName","isOpen","bind","Dialog","showRevisionViewerCallback","submit","errorText","requires","5256ezZIBk","history","panelView","get","menuitem"];return(Xn=function(){return t})()}const Qn=tr;function tr(t,e){const i=Xn();return(tr=function(t,e){return i[t-=338]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(309437===parseInt(e(340))/1+parseInt(e(389))/2+-parseInt(e(352))/3*(parseInt(e(395))/4)+-parseInt(e(355))/5*(parseInt(e(393))/6)+parseInt(e(377))/7*(parseInt(e(349))/8)+parseInt(e(387))/9*(parseInt(e(364))/10)+-parseInt(e(338))/11*(-parseInt(e(404))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xn);class er extends Hi.Plugin{static get[Qn(357)](){return Qn(348)}static get[Qn(361)](){return!0}static get[Qn(365)](){return!0}static get[Qn(403)](){return[xn]}[Qn(384)](){const t=Qn,e=this[t(353)],i=e[t(358)][t(407)](t(378));e.ui[t(373)][t(347)](t(375),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(406)][r(344)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(398)](r(359)).to(i,r(356),i,r(359),e,r(360),((t,e,i)=>t&&e&&!i)),s[r(381)][r(380)]({icon:Hi.icons[r(405)],label:Qi(n,r(343)),tooltip:!0}),u[r(380)]({label:Qi(n,r(339)),withText:!0,role:r(408)}),u[r(398)](r(359)).to(i,r(356),i,r(359),e,r(360),((t,e,i)=>t&&e&&!i)),u.on(r(370),(()=>this[r(341)]())),h[r(380)]({label:Qi(n,r(379)),withText:!0,role:r(408)}),h[r(398)](r(359)).to(i,r(356),e,r(360),((t,e)=>t&&!e)),h.on(r(370),(()=>{const t=r;e[t(354)][t(407)](t(375))[t(400)](),s[t(397)]=!1,e[t(369)][t(362)][t(391)]()})),c[r(344)][r(347)](u),l[r(344)][r(347)](h),a[r(342)]=r(386),a[r(390)][r(372)]([c,l]),o[r(347)](a),s})),e.ui[t(373)][t(347)](t(374),(()=>this[t(383)]()))}[Qn(383)](){const t=Qn,e=this[t(353)],i=e[t(351)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(381)][t(380)]({icon:Hi.icons[t(405)],label:Qi(i,t(343))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(380)]({label:Qi(i,t(339))}),o[t(394)](t(370)).to(n),o.on(t(370),(()=>{this[t(341)]()})),s[t(344)][t(347)](o),r[t(390)][t(347)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(380)]({label:Qi(i,t(379))}),c[t(394)](t(370)).to(n),c.on(t(370),(()=>{const i=t;e[i(354)][i(407)](i(375))[i(400)]()})),a[t(344)][t(347)](c),r[t(390)][t(347)](a),n[t(406)][t(344)][t(347)](r),n}[Qn(341)](){const t=Qn,e=this[t(353)],i=e[t(351)],n=e[t(358)][t(407)](t(399)),r=e[t(358)][t(407)](t(378));function s(r){const s=t;e[s(354)][s(407)](s(396))&&""===r[s(371)]?r[s(350)][s(402)]=Qi(i,s(392)):(e[s(358)][s(407)](xn)[s(345)]({name:r[s(371)]}),n[s(376)]())}this[t(366)]||(this[t(368)](),this[t(366)].on(t(401),(()=>s(this[t(366)])))),this[t(366)][t(409)](),n[t(385)]({id:t(382),title:Qi(i,t(339)),isModal:!0,content:this[t(366)],actionButtons:[{label:Qi(e[t(351)],t(363)),withText:!0,onExecute:()=>n[t(376)]()},{label:Qi(e[t(351)],t(388)),class:t(367),withText:!0,onCreate(i){const n=t;i[n(398)](n(359)).to(r,n(356),r,n(359),e,n(360),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(366)])}]})}[Qn(368)](){const t=Qn,e=this[t(353)],i=e[t(351)];this[t(366)]=new Gn(i,e[t(354)][t(407)](t(396))),this[t(366)][t(346)]()}}const ir=nr;function nr(t,e){const i=rr();return(nr=function(t,e){return i[t-=137]})(t,e)}function rr(){const t=["5357248cCtiQI","10746132fPfpWL","name","isSuggestion","bindTemplate","span","656KMWgmh","179118rYvRvQ","data","610dmhyHN","ck-revision-change__","changeId","div","Removed by","ck-revision-change__label","_model","author","focus","ck-annotation","ck-revision-change","5qcRnjK","type","Suggested by","add","Added by","set","740810bAZhrR","6328896tTkmIL","1543327zXkjxF","17061qwZUpg","element","setTemplate"];return(rr=function(){return t})()}!function(t){const e=nr,i=t();for(;;)try{if(949445===parseInt(e(167))/1+parseInt(e(148))/2*(parseInt(e(168))/3)+-parseInt(e(139))/4+parseInt(e(159))/5*(-parseInt(e(140))/6)+-parseInt(e(166))/7+parseInt(e(145))/8*(parseInt(e(146))/9)+parseInt(e(165))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends En.View{constructor(t,e){const i=nr;super(t),this[i(154)]=e,this[i(150)]=e.id;const n=this[i(143)],r=Qi(t,e[i(147)][i(142)]?i(161):i(162)==e[i(160)]?i(163):i(152));this[i(164)](i(160),e[i(160)]),this[i(138)]({tag:i(151),attributes:{class:[i(157),i(158),n.to(i(160),(t=>i(149)+t))],tabindex:-1},children:[{tag:i(144),children:[{tag:i(144),attributes:{class:[i(153)]},children:[{text:r}]},{text:" "+e[i(155)][i(141)]}]}]})}[ir(156)](){const t=ir;this[t(137)][t(156)]()}}var or=cr;function ar(){var t=["5uBEicE","data","1587912rUuzFh","2057586kPbOiG","toJSON","5189681UFDRUI","createdAt","set","8YJtntx","479114dHdLZi","author","2NYstey","4492692YdYzuZ","7268790VwwIun","type","rootName","87426KRNgcq"];return(ar=function(){return t})()}function cr(t,e){var i=ar();return(cr=function(t,e){return i[t-=112]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(573149===parseInt(e(125))/1*(-parseInt(e(127))/2)+parseInt(e(115))/3+parseInt(e(118))/4+parseInt(e(116))/5*(-parseInt(e(119))/6)+parseInt(e(121))/7*(parseInt(e(124))/8)+-parseInt(e(128))/9+parseInt(e(112))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ar);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(126)]=e[i(126)],this[i(113)]=e[i(113)],this[i(117)]=e[i(117)]||{},this[i(114)]=e[i(114)],this[i(123)](i(122),e[i(122)])}[or(120)](){var t=or;return{id:this.id,authorId:this[t(126)].id,type:this[t(113)],data:this[t(117)],createdAt:this[t(122)]}}}const lr=hr;function hr(t,e){const i=dr();return(hr=function(t,e){return i[t-=252]})(t,e)}function dr(){const t=["2sjucck","oldRevisionId","3627615IFUkhq","2380248nOwFVw","725142ijMLLh","add","2499574rvZCrH","553416bAmVgY","_setChanges","995484OGyqwc","393726aFqWJA","changes","newRevisionId","99TUKwuS"];return(dr=function(){return t})()}!function(t){const e=hr,i=t();for(;;)try{if(372575===parseInt(e(256))/1+parseInt(e(252))/2*(parseInt(e(262))/3)+parseInt(e(261))/4+-parseInt(e(254))/5+parseInt(e(255))/6+parseInt(e(258))/7+-parseInt(e(259))/8*(parseInt(e(265))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=hr;this[n(264)]=e,this[n(253)]=i,this[n(263)]=new t.Collection}[lr(260)](t){const e=lr;for(const i of t)this[e(263)][e(257)](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=yr;function yr(t,e){const i=gr();return(yr=function(t,e){return i[t-=474]})(t,e)}function gr(){const t=["isBlock","createPositionFromPath","RevisionsRepository","12966tAqAnN","data-revision-","revision-suggestion","isAtEnd","previousPosition","revision-start","toViewPosition","markerRange","revision:","refresh","mousedown","_cleanUp","map","removeMarker","filter","isAtStart","_revisions","removeMarker:revision","unbindElementFromMarkerName","isObject","change:activeView","config","keys","_makeTape","vid","_getViewForChange","_getDiff","markerNameToElements","elementEnd","remove","detachRoot","consumable","isAddSuggestion","ck-revision-history-root-","enableReadOnlyMode","affectsData","showPreviousChange","createRevision","restoreRevisionCallback","_markMismatchedRemovedTags","-new","selection","processor","change:activeChange","revision-viewer","enqueueChange","_refreshStartEndIndex","side","forEach","190118ZOVYfR","bind","backward","getItems","downcastDispatcher","for","findIndex","data-change-id","add","startIndex","_cleanMarkers","createRangeIn","pluginName","toData","element","RevisionViewer","conversion","locale","code","attributesBefore","catch","observeMarkers","change","execute","parent","_findChangeIdFromDomTarget","abs","isPremiumPlugin","getWalker","387568cvmvhm","distance","adapter","object","done","isCollapsed","ck-suggestion-marker-merge","_data","revision-suggestion:","highest","init","dataToMarker","_threeWayMerge","_appendChild","_sortAndFilterDiffChanges","userId","isRemoved","diff","getIndex","text","level","createUIElement","right","shift","range","isBefore","schema","next","3902432lJzIKY","test","createPositionBefore","nextPosition","90slCByt","view","_getChangeFromId","markerToData","softBreak","insertion","_makeModelFromTape","currentChangeNumber","isLimit","split","isAfter","attribute:vid","isOfficialPlugin","all","_balloon","repository","viewItem","isEqual","numberOfChanges","change:isEnabled","hasClass","attributesAfter","change:numberOfChanges","_step","upcast","_joinTapes","forward","bindElementToMarker","revision-end","setAttribute","markersStart","_activeViewTarget","deletions","requires","deletion","getRevision","mapper","element:pre","showStack","reconvertMarker","_makeModelFromViewString","comment","name","from","model","end","unshift","plugins","1693132nOasWX","getAttributes","getCustomProperty","data","_processTape","listenTo","pairId","high","isRemoveSuggestion","getRoot","removeMarker:revision-suggestion","target","_setConversion","insert","isEnabled","getClientRects","_changeIdToChange","_removeUnsupportedChanges","set","310145WxLnbG","addClass","_markSuggestions","authors","revisionHistoryLabel","change:isReady","_setChanges","_fixObsoleteTags","consume","isAdded","maxOffset","isInline","addMarker:revision-suggestion:insertion","suggestion:","merge","offsetSize","pop","commands","getRevisionData","_initInteractions","document","createRange","addRoot","marked","_getViewObj","addRevisionData","getDomRoot","markerName","activeView","showNextChange","changeId","removeAttribute","default","mapViewToDom","rootName","_update","top","isNavigationMode","destroy","vid_start","concat","newRevisionId","span","activeChange","sort","useFillerType","315JdRWyD","elementToAttribute","updatePosition","addHighlight","get","left","index","includes","vid_end","createAttributeElement","push","toViewRange","elementStart","startsWith","isOnRoot","POSITIVE_INFINITY","mouseover","then","isReady","editor","uiElement","parse","ck-suggestion-preview-marker-","string","slice","flat","isIncorrect","revisionHistoryAttachChange","writer","6uysmzq","addMarker:revision-suggestion:deletion","modelRange","nextSibling","ck-suggestion-preview-marker","ck-suggestion-marker--active","isSuggestion","revision-comment:","_changeView","editing","indexOf","isAttached","markerToHighlight","markers","addMarker:revision","getRootNames","checkAttribute","compare","changes","ck-revision-history-root-add","toViewElement","ck-suggestion-marker","nodeAfter","domConverter","collaboration.channelId","children","_removeRevisionMarkers","126740nurolb","getLaterVisibleRevision","getRevisionRootsAttributes","restoreRevision","getChild","ck-editor__editable__overlay","ck-revision-history-root--active","toModel","_removeMissingPairs","start","has","markersEnd","suggestion","stop","oldRevisionId","length","domEvent","ck-suggestion-marker-","low","revision","hasAttribute","item","dataDowncast","error","attachChange","_markMarkers","wrap","delete","resolve","editingDowncast","roots","revisionHistory","endIndex","getAttribute","splice","addRevision","_markInsertions","diffData","return","loadRevisionData","find","_getRevisionsRange","first","attributes","type","clear","ck-suggestion-marker-split","isContent","WidgetToolbarRepository","removeClass","_setDistance","ck-revision-history-root-remove","forceDisabled","bottom","insertions","values"];return(gr=function(){return t})()}!function(t){const e=yr,i=t();for(;;)try{if(246855===parseInt(e(758))/1+-parseInt(e(481))/2*(parseInt(e(709))/3)+-parseInt(e(787))/4+-parseInt(e(548))/5*(-parseInt(e(623))/6)+parseInt(e(529))/7+parseInt(e(477))/8+parseInt(e(594))/9*(-parseInt(e(650))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gr);const kr={c:Ji.ViewContainerElement,a:Ji.ViewAttributeElement,e:Ji.ViewEmptyElement,r:Ji.ViewRawElement,u:Ji.ViewUIElement};class br extends Hi.Plugin{static get[vr(770)](){return vr(773)}static get[vr(493)](){return!0}static get[vr(785)](){return!0}static get[vr(514)](){return[Bi.Users,En.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(496)]=this[e(613)][e(528)][e(598)](e(708)),this[e(547)](e(591),null),this[e(547)](e(576),null),this[e(512)]=null,this[e(547)](e(804),null),this[e(547)](e(612),!1),this[e(547)](e(543),!0),this.on(e(500),((t,i,n)=>{const r=e;this[r(591)]=null,this[r(576)]=null,this[r(613)][r(632)][r(482)][r(780)]((t=>{const e=r;for(const i of this[e(613)][e(632)][e(482)][e(568)][e(680)])n?t[e(699)](e(655),i):t[e(549)](e(655),i)}))})),this[e(759)](e(585)).to(this,e(591),(t=>null!==t)),this[e(759)](e(488)).to(this,e(612),this,e(804),this,e(591),((t,i,n)=>t&&n?i[e(641)][e(805)](n):0)),this[e(759)](e(499)).to(this,e(612),this,e(804),((t,i)=>t?i[e(641)][e(665)]:0)),this[e(631)]=null,this[e(545)]=new Map,this[e(789)]=null,this[e(495)]=this[e(613)][e(528)][e(598)](En.ContextualBalloon)}[vr(797)](){const t=vr,e=this[t(613)],i=new Ir(e,{direction:t(760)}),n=new Ir(e,{direction:t(507)});e[t(565)][t(766)](t(745),i),e[t(565)][t(766)](t(577),n),e[t(565)][t(766)](t(653),new _r(e)),this.on(t(503),(()=>{const e=t;i[e(718)](),n[e(718)]()})),this[t(541)](),this[t(567)](),e[t(743)](t(753)),e[t(528)][t(660)](t(698))&&e[t(528)][t(598)](t(698))[t(702)](t(753))}async[vr(566)](t){const e=vr;await this[e(689)](t);const i={};for(const n in t[e(687)]){if(t[e(687)][n][e(674)]&&!t[e(687)][n][e(674)][e(634)])continue;const r=this[e(649)](JSON[e(615)](t[e(687)][n][e(704)])),s=this[e(613)][e(632)][e(482)][e(568)],o=new Ji.ViewDocumentFragment(s,r[e(721)]((t=>this[e(572)](t))));this[e(613)][e(532)][e(751)][e(593)](e(571)),i[n]=this[e(613)][e(532)][e(751)][e(771)](o),this[e(613)][e(532)][e(751)][e(593)](e(580))}return i}async[vr(652)](t){const e=vr;await this[e(689)](t);const i={};for(const n in t[e(687)])t[e(687)][n][e(674)]&&!t[e(687)][n][e(674)][e(634)]||(i[n]=t[e(687)][n][e(502)]||{});return i}[vr(649)](t){const e=vr;return(t=t[e(723)]((t=>!t[e(523)]||e(714)!==t[e(523)]&&e(509)!==t[e(523)])))[e(757)]((t=>{const i=e;i(617)!=typeof t&&(t[i(648)]=this[i(649)](t[i(648)]),t[i(693)]=t[i(693)][i(723)]((t=>!t[0][i(607)](i(710)))))})),t}async[vr(640)](t,e,i=!1){const n=vr;if(!this[n(543)])return;const r=this[n(804)],s=this[n(496)],o=n(617)==typeof t?s[n(516)](t):t,a=n(617)==typeof e?s[n(516)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(804)]&&this[n(804)][n(589)]===c&&this[n(804)][n(664)]===u)return Promise[n(678)]();this[n(612)]=!1,this[n(576)]=null,this[n(591)]=null,this[n(804)]=new fr(c,u);const l=this[n(691)](o,a,!0)[n(721)]((t=>this[n(689)](t)));return l[n(604)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(494)](l)[n(611)]((()=>{const t=n;if(!this[t(543)])return;this[t(720)]();const e=this[t(735)](c,u);for(const i of e[t(641)])this[t(545)][t(547)](i.id,i);this[t(613)][t(525)][t(754)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(613)][n(525)][n(568)][n(638)]())i[n(739)](t);for(const t of Object[n(731)](e[n(525)])){const r=i[n(570)](t);for(const s of Object[n(731)](e[n(693)][t]))i[n(510)](s,e[n(693)][t][s],r);i[n(542)](e[n(525)][t],r,0)}})),this[t(804)][t(554)](this[t(801)](e[t(641)])),this[t(612)]=!0}))[n(778)]((t=>{const e=n;console[e(673)](t),this[e(720)](),r&&(this[e(804)]=r),this[e(612)]=!0}))}[vr(573)](t,e){const i=vr,n=this[i(496)][i(746)](t);return n.on(i(583),((t,i,r)=>e(i,r,n))),this[i(496)][i(685)](n),n}[vr(689)](t){const e=vr;if(!t||t[e(687)])return Promise[e(678)]();{const i=this[e(613)][e(730)][e(598)](e(647));return this[e(789)][e(516)]({channelId:i,revisionId:t.id})[e(611)]((i=>{const n=e;t[n(583)]({diffData:i[n(687)]},!0)}))}}[vr(720)](){const t=vr;this[t(591)]=null,this[t(768)](),this[t(631)]&&this[t(631)][t(586)](),this[t(631)]=null,this[t(545)][t(695)](),this[t(613)][t(525)][t(754)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(613)][i(525)][i(568)][i(638)]())e[i(739)](t)}))}[vr(801)](t){const e=vr,i=[],n=new Map;for(const t of this[e(613)][e(525)][e(568)][e(638)]()){const r=this[e(613)][e(632)][e(482)][e(574)](t);if(!r)continue;const s=r[e(544)]()[e(671)](0);s&&(i[e(604)](t),n[e(547)](t,s))}return i[e(592)](((t,i)=>{const r=e,s=n[r(598)](t),o=n[r(598)](i);return s.y-o.y||s.x-o.x})),(t=t[e(723)]((t=>i[e(601)](t[e(582)]))))[e(592)](((t,n)=>i[e(633)](t[e(582)])-i[e(633)](n[e(582)]))),t}[vr(732)](t){const e=vr,i=Array[e(524)](t[e(636)])[e(723)]((([t,i])=>t[e(607)](e(717))&&!i[e(792)])),n=Array[e(524)](this[e(613)][e(525)][e(769)](t)[e(786)]({singleCharacters:!0}));if(0!=i[e(665)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(490)](":");if(r[e(526)][e(498)](t[e(480)])&&i[e(810)](),(t[e(713)][e(498)](r[e(659)])||t[e(713)][e(491)](r[e(659)]))&&(e(486)==s?t[e(557)]={userId:o}:e(515)==s&&(t[e(803)]={userId:o})),0==i[e(665)])break}return n}[vr(755)](t){const e=vr,i=new Map;for(let n=0;n<t[e(665)];n++)e(806)===t[n][e(694)]?(t[n][e(671)][e(767)]=n,t[n][e(671)][e(682)]=n):(e(606)===t[n][e(694)]?t[n][e(671)][e(767)]=n:e(737)===t[n][e(694)]&&(t[n][e(671)][e(682)]=n),i[e(547)](t[n].id,n));for(const n of i[e(705)]())e(606)===t[n][e(694)]?t[n][e(671)][e(682)]=i[e(598)](t[n][e(535)]):e(737)===t[n][e(694)]&&(t[n][e(671)][e(767)]=i[e(598)](t[n][e(535)]))}[vr(533)](t){const e=vr;for(let i=0;i<t[e(665)];i++){if(e(606)===t[i][e(694)])t[i][e(671)][e(767)]=i;else if(e(737)===t[i][e(694)]){t[i][e(671)][e(682)]=i;const n=t[i][e(671)][e(767)];t[n][e(535)]=t[i].id,t[i][e(535)]=t[n].id}else t[i][e(671)][e(767)]=i,t[i][e(671)][e(682)]=i,t[i][e(535)]=null;t[i][e(511)]||(t[i][e(511)]=[],t[i][e(661)]=[])}}[vr(686)](t,e){const i=vr,n=t[i(723)]((t=>!t[i(557)]));for(let t=0;t<e[i(665)];t++)e[t][i(557)]&&(n[t][i(557)]=e[t][i(557)])}[vr(521)](t){const e=vr,i=JSON[e(615)](t),n=this[e(613)][e(632)][e(482)][e(568)],r=new Ji.ViewDocumentFragment(n,i[e(721)]((t=>this[e(572)](t))));return this[e(613)][e(532)][e(657)](r)}[vr(572)](t){const e=vr,i=this[e(613)][e(632)][e(482)][e(568)];if(e(617)==typeof t)return new Ji.ViewText(i,t);{const n=t[e(648)][e(721)]((t=>this[e(572)](t)));return new(kr[t[e(694)]]||Ji.ViewElement)(i,t[e(523)],t[e(693)],n)}}[vr(735)](t,e=null){const i=vr,n=this[i(496)][i(516)](t),r=e?this[i(496)][i(516)](e):null,s=this[i(691)](n,r),o=s[s[i(665)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(665)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(731)](e[i(687)]))if(e[i(687)][t][i(674)]){const n=e[i(687)][t][i(674)];n[i(634)]?(u[i(766)](t),l[i(660)](t)&&l[i(598)](t)[i(802)]==n[i(802)]?l[i(677)](t):l[i(547)](t,n)):l[i(660)](t)?(u[i(677)](t),l[i(677)](t)):(u[i(766)](t),l[i(547)](t,n))}else u[i(766)](t)}for(const t of u){const e=l[i(660)](t)&&!l[i(598)](t)[i(634)];let n=e?s[i(665)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(687)][t]){const n=e?o[i(687)][t][i(777)]:o[i(687)][t][i(502)];c[i(693)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(525)]={};for(const e of t[i(551)])a[i(547)](e.id,e);for(const e of u){const n=t[i(687)][e]?t[i(687)][e][i(704)]:"[]",r=t[i(687)][e]?t[i(687)][e][i(513)]:"[]";t[i(525)][e]={insertions:this[i(521)](n),deletions:this[i(521)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(524)](n[i(525)][t][i(704)][i(636)])[i(723)]((([t])=>!t[i(607)](i(717)))));let h=0;for(const o of s){const s=this[i(732)](o[i(525)][t][i(704)]);o==n?(e=s,r=e[i(665)],e[i(757)]((t=>{t.id=h++})),this[i(533)](e)):this[i(686)](e,s);const a=e[i(723)]((t=>!t[i(557)]))[i(721)]((t=>t.id));let c=0;const l=this[i(732)](o[i(525)][t][i(513)]);l[i(757)]((t=>{t[i(803)]?t.id=r++:t.id=a[c++]})),this[i(533)](l),this[i(700)](e,i(557)),this[i(700)](l,i(803)),o==n&&this[i(675)](e,u),e=this[i(506)](e,l),this[i(755)](e),this[i(700)](e,i(803))}e=e[i(723)]((t=>!(t[i(557)]&&t[i(803)])));const d=new Map(o[i(525)][t][i(513)][i(636)]),f=new Set(u[i(731)]());for(const t of d[i(731)]())f[i(677)](t);this[i(550)](e,f),this[i(555)](e),e=this[i(658)](e),e=this[i(748)](e),e=this[i(546)](e);const{root:m,changes:p}=this[i(487)](e,a,t);c[i(525)][t]=m;const v=l[i(598)](t);if(v){const e=a[i(598)](v[i(802)]),n=new ur({author:e,type:v[i(634)]?i(766):i(738),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(527)](n),c[i(693)][t][i(621)]=n.id}c[i(641)]=c[i(641)][i(588)](p)}return c}[vr(675)](t,e){const i=vr;for(let n=0;n<t[i(665)];n++)for(const[r,s]of e)s[i(659)][i(498)](t[n][i(713)])&&t[n][i(511)][i(604)](r),s[i(526)][i(498)](t[n][i(480)])&&t[n][i(661)][i(604)](r)}[vr(506)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(665)]||s<e[i(665)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(604)](o);else if(a[i(803)]&&o[i(557)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(799)](t,r,e,s);n=n[i(588)](o),r=a,s=c}else a[i(803)]?(s++,n[i(604)](a)):(r++,n[i(604)](o))}return n}[vr(550)](t,e){const i=vr,n=[];for(let o=0;o<t[i(665)];o++){for(let s=0;s<t[o][i(511)][i(665)];s++){const a=t[o][i(511)][s];if(!e[i(660)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(711)!=c||i(486)!=u&&i(515)!=u||(n[i(527)]({type:u,name:a,userId:l}),t[o][i(511)][i(684)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(661)][i(665)];s++){const a=t[o][i(661)][s];if(!e[i(660)](a))continue;const{group:c,type:u}=r(a);if(i(711)!=c||i(486)!=u&&i(515)!=u)continue;t[o][i(661)][i(684)](s,1),s--;const l=n[i(764)]((t=>t[i(523)]==a));l>-1&&n[i(684)](l,1)}}function r(t){const e=i,n=t[e(490)](":");return{group:n[0],type:n[1],subType:n[e(665)]>=5?n[2]:null,id:n[e(665)]<5?n[2]:n[3],authorId:n[e(665)]<5?n[3]:n[4],markerCount:6==n[e(665)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(665)];i++){if(t[e(557)]&&e(486)==n[i][e(694)])return t[e(741)]=n[i],void delete t[e(557)];if(!t[e(557)]&&!t[e(803)]&&e(515)==n[i][e(694)])return void(t[e(537)]=n[i])}}}[vr(700)](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(547)](o.id,n);for(let n=0;n<t[i(665)];n++){if(i(803)==e&&t[n][i(557)]||i(557)==e&&t[n][i(803)])continue;if(i(806)==t[n][i(694)]){t[n][i(788)]=0;continue}const r=s[i(598)](t[n][i(535)]),o=s[i(598)](t[n].id);t[n][i(788)]=r-o}}[vr(691)](t,e,i=!1){const n=vr,r=[];let s=this[n(496)][n(805)](t),o=this[n(496)][n(805)](e);for(-1==o&&(o=this[n(496)][n(725)][n(665)],i=!1);s<o;)r[n(604)](this[n(496)][n(516)](s)),s++;return i&&r[n(604)](this[n(496)][n(516)](s)),r}[vr(799)](t,e,i,n){const r=vr,s=this[r(613)][r(525)][r(475)];let o=e;for(;t[o]&&t[o][r(557)];)o++;let a=n;for(;i[a]&&i[a][r(803)];)a++;u(t,e,o),u(i,n,a);const c=i[r(618)](n,a)[r(588)](t[r(618)](e,o));return c[r(592)](((t,e)=>t[r(756)]!=e[r(756)]?t[r(756)]-e[r(756)]:t[r(807)]!=e[r(807)]?t[r(807)]-e[r(807)]:t[r(788)]!=e[r(788)]?e[r(788)]-t[r(788)]:!!t[r(557)]!=!!e[r(557)]?-1==t[r(756)]||0==t[r(756)]?t[r(557)]?-1:1:t[r(557)]?1:-1:t[r(600)]-e[r(600)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(609)],c=!0;for(let r=e;r<i;r++)if(s[n(559)](t[r][n(671)])||(c=!1),t[r][n(671)][n(767)]<e&&(o=r),t[r][n(671)][n(682)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(756)]=r<=o?-1:r<a?0:1,t[r][n(600)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(788)]?t[i][n(807)]=u:(u++,t[i][n(807)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(756)]&&(t[r][n(807)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(788)]?t[e][n(807)]=u:(u--,t[e][n(807)]=u,u--)}}[vr(555)](t){const e=vr,i=new Map,n=this[e(613)][e(525)][e(475)];for(let r=1;r<t[e(665)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(806)==c[e(694)])continue;if(c[e(694)]!=u[e(694)])continue;if(!n[e(706)](u[e(671)])||n[e(489)](u[e(671)]))continue;if(!n[e(706)](c[e(671)])||n[e(489)](c[e(671)]))continue;if((t[r][e(557)]||t[r][e(741)])&&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(557)]&&!t[r-1][e(741)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(807)]==o[e(807)],h=Math[e(784)](s[e(807)])<Math[e(784)](o[e(807)])&&0==o[e(788)];(l||h)&&(i[e(547)](o.id,s.id),t[e(684)](a,1),r--,s[e(557)]=!1)}for(let n=0;n<t[e(665)];n++)i[e(660)](t[n][e(535)])&&(t[n][e(535)]=i[e(598)](t[n][e(535)]))}[vr(658)](t){const e=vr,i=new Set(t[e(721)]((t=>t.id)));for(let n=0;n<t[e(665)];n++)i[e(660)](t[n][e(535)])||0==t[n][e(788)]||(t[n][e(620)]=!0);return t[e(723)]((t=>!t[e(620)]))}[vr(748)](t){const e=vr,i=new Set;for(let n=0;n<t[e(665)];n++){if(i[e(660)](t[n].id)&&t[n][e(803)]&&(t[n][e(620)]=!0),t[n][e(620)])continue;if(0==t[n][e(788)])continue;if(e(606)!=t[n][e(694)])continue;if(null==t[n][e(535)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(535)];)e(606)==t[r][e(694)]?s++:e(737)==t[r][e(694)]&&s--,r++;if(0!=s)if(t[n][e(803)])t[n][e(620)]=!0;else for(;r!=n;)t[r][e(803)]&&0!=t[r][e(788)]&&(t[r][e(620)]=!0,i[e(766)](t[r][e(535)])),r--}return t[e(723)]((t=>!t[e(620)]))}[vr(546)](t){const e=vr,i=this[e(613)][e(525)][e(475)];for(let n=0;n<t[e(665)];n++){if(!(t[n][e(557)]||t[n][e(741)]||t[n][e(803)]||t[n][e(537)]))continue;if(0==t[n][e(788)])continue;const r=t[n][e(671)];i[e(706)](r)||i[e(489)](r)||(t[n][e(557)]&&delete t[n][e(557)],t[n][e(741)]&&delete t[n][e(741)],t[n][e(537)]&&delete t[n][e(537)],t[n][e(803)]&&(t[n][e(620)]=!0))}return t[e(723)]((t=>!t[e(620)]))}[vr(487)](t,e,i){const n=vr,r=new Ji.DocumentFragment,s=[],o=new Map,a=this[n(613)][n(525)],c=a[n(475)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(665)];e++)if(n(606)===t[e][n(694)]){t[e][n(713)]=a[n(707)](r,f);const i=new Ji.Element(t[e][n(671)][n(523)],t[e][n(671)][n(530)]());u[0][n(800)](i),f[n(604)](0),u[n(527)](i),t[e][n(480)]=a[n(707)](r,f)}else n(737)===t[e][n(694)]?(u[n(810)](),t[e][n(713)]=a[n(707)](r,f),f[n(564)](),f[f[n(665)]-1]++,t[e][n(480)]=a[n(707)](r,f)):(t[e][n(713)]=a[n(707)](r,f),d?d[n(794)]+=t[e][n(671)][n(532)]:d=new Ji.Text(t[e][n(671)][n(532)],t[e][n(671)][n(530)]()),t[e+1]&&n(806)===t[e+1][n(694)]&&v(d,t[e+1][n(671)])||(u[0][n(800)](d),d=null),f[f[n(665)]-1]+=t[e][n(671)][n(563)],t[e][n(480)]=a[n(707)](r,f));for(let e=0;e<t[n(665)];e++){const i=t[e][n(713)],r=t[e][n(480)];for(const r of t[e][n(511)])o[n(547)](r,{start:i,end:null});m(n(537),e,i,r),m(n(741),e,i,r),m(n(803),e,i,r),m(n(557),e,i,r);for(const i of t[e][n(661)])o[n(598)](i)[n(526)]=r}for(const[t,e]of o){const i=this[n(613)][n(525)][n(569)](e[n(659)],e[n(526)]);r[n(636)][n(547)](t,i)}return s[n(592)](((t,e)=>{const i=n,s=r[i(636)][i(598)](i(717)+t.id),o=r[i(636)][i(598)](i(717)+e.id);return s[i(659)][i(474)](o[i(659)])?-1:s[i(659)][i(491)](o[i(659)])?1:s[i(526)][i(474)](o[i(526)])?-1:s[i(526)][i(491)](o[i(526)])?1:i(766)===t[i(694)]?-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(802)]:null,d=i===t[o(665)]-1,f=h[e][0],m=c[o(728)](t[i][o(671)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(526)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(802)]!==u&&(l[e][o(526)]=r,f&&f[o(802)]===l[e][o(802)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(606)!==t[i][o(694)]||f&&f[o(802)]===u||h[e][o(527)]({userId:u,object:t[i][o(671)],change:l[e]}),o(737)===t[i][o(694)]&&f&&f[o(790)]===t[i][o(671)]&&(h[e][o(810)](),l[e]=f[o(780)])),l[e]&&d&&(l[e][o(526)]=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(671)],f=a[h(475)][h(706)](d)&&!a[h(475)][h(489)](d),m=t[h(645)]==o[h(782)]&&o[h(724)];if(f&&m)return;const p=a[h(569)](t,o),v=e[h(598)](u),y=new ur({author:v,type:h(557)==l||h(741)==l?h(766):h(738),data:{isSuggestion:h(741)==l||h(537)==l},createdAt:new Date,rootName:i});s[h(604)](y),r[h(636)][h(547)](h(717)+y.id,p)}function v(t,e){const i=n,r=t[i(530)](),s=e[i(530)]();for(const t of r){if(t[1]!==e[i(683)](t[0]))return!1;s[i(476)]()}return s[i(476)]()[i(791)]}}[vr(541)](){const t=vr;this[t(613)][t(774)][t(763)](t(505))[t(798)]({view:t(669)}),this[t(613)][t(774)][t(763)](t(679))[t(635)]({model:t(669),view:e=>{const i=t,n=e[i(575)][i(490)](":")[1],r=this[i(483)](n);if(!r)return null;const s=i(766)==r[i(694)]?i(486):i(515),o=[i(644),i(667)+s];return r[i(532)][i(629)]&&o[i(604)](i(667)+s+i(749)),this[i(591)]==r&&o[i(604)](i(628)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(613)][t(774)][t(763)](t(505))[t(766)]((e=>{const i=t;e.on(i(518),((t,e,n)=>{const r=i,s=e[r(497)][r(654)](0);if(!s||!s.is(r(772),r(776)))return;if(!n[r(740)][r(556)](s,{attributes:[r(587),r(602)]}))return;const o=e[r(625)][r(659)][r(645)];n[r(622)][r(510)](r(587),s[r(683)](r(587)),o),n[r(622)][r(510)](r(602),s[r(683)](r(602)),o)}),{priority:i(668)})})),this[t(613)][t(774)][t(763)](t(505))[t(766)]((e=>{const i=t;e.on(i(772),((t,e,n)=>{const r=i;if(!n[r(740)][r(556)](e[r(497)],{attributes:[r(587),r(602)]}))return;if(e[r(625)][r(792)])return;const s=e[r(625)][r(659)][r(645)];s[r(670)](r(587))||s[r(670)](r(733))||(n[r(622)][r(510)](r(587),e[r(497)][r(683)](r(587)),s),n[r(622)][r(510)](r(602),e[r(497)][r(683)](r(602)),s))}),{priority:i(668)})})),this[t(613)][t(774)][t(763)](t(505))[t(595)]({view:{name:t(590),attributes:{vid:!0}},model:{key:t(733),value:e=>e[t(683)](t(733))}}),this[t(613)][t(525)][t(475)].on(t(639),((e,[,i])=>{const n=t;[n(587),n(602),n(733)][n(601)](i)&&(e[n(688)]=!0,e[n(663)]())}),{priority:t(796)}),this[t(613)][t(774)][t(763)](t(672))[t(766)]((e=>{const i=t;e.on(i(492),((t,e,n)=>{const r=i;if(" "!=e[r(671)][r(532)]||e[r(671)][r(782)][r(558)]>1)return;if(!n[r(740)][r(556)](e[r(671)],t[r(523)]))return;const s=n[r(622)],o=n[r(517)][r(605)](e[r(811)]);s[r(676)](o,s[r(603)](r(590)))}))})),this[t(613)][t(774)][t(763)](t(672))[t(484)]({model:t(669)}),this[t(613)][t(632)][t(762)].on(t(637),function(e){const i=t,n=e[i(528)][i(598)](i(773));return(t,r,s)=>{const o=i,a=r[o(575)][o(490)](":")[1],c=n[o(483)](a);if(!c)return null;const u=o(766)==c[o(694)]?o(490):o(562);if(!s[o(740)][o(478)](r[o(716)],t[o(523)]))return;const l=r[o(716)][o(786)](),h=r[o(716)][o(659)],d=e[o(525)][o(475)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(671)];p=p||d[o(697)](e);const i=s[o(517)][o(643)](e);if(i&&i[o(531)](o(597)))return;o(737)==t[o(694)]&&d[o(706)](e)&&!d[o(489)](e)&&(e[o(626)]||h[o(712)]?f&&f[o(782)]==e||(f=e,y(t[o(713)]),v=!0):m=m||t[o(713)])}function y(t){const e=o,i=s[e(622)][e(808)](e(590),{class:e(667)+u}),a=s[e(517)][e(715)](t);c[e(532)][e(629)]&&s[e(622)][e(549)](e(667)+u+e(749),i),n[e(591)]==c&&s[e(622)][e(549)](e(628),i),s[e(622)][e(542)](a,i),s[e(517)][e(508)](i,r[e(575)])}p||v||!m||y(m)}}(this[t(613)]),{priority:t(536)}),this[t(613)][t(632)][t(762)].on(t(726),((e,i,n)=>{const r=t,s=n[r(517)][r(736)](i[r(575)]);if(s)for(const t of s)(t[r(501)](r(696))||t[r(501)](r(793)))&&(n[r(517)][r(727)](t,i[r(575)]),n[r(622)][r(738)](t))}),{priority:t(536)}),this[t(613)][t(632)][t(762)].on(t(637),((e,i,n)=>{const r=t,s=i[r(575)][r(490)](":")[1],o=this[r(483)](s);if(!o)return null;const a=r(766)==o[r(694)]?r(490):r(562);if(n[r(740)][r(478)](i[r(716)],e[r(523)]))for(const t of i[r(716)][r(761)]()){if(!t.is(r(772),r(485)))continue;const e=n[r(622)][r(808)](r(590),{class:r(667)+a}),s=n[r(517)][r(715)](this[r(613)][r(525)][r(479)](t));o[r(532)][r(629)]&&n[r(622)][r(549)](r(667)+a+r(749),e),this[r(591)]==o&&n[r(622)][r(549)](r(628),e),n[r(622)][r(542)](s,e),n[r(517)][r(508)](e,i[r(575)])}}),{priority:t(536)}),this[t(613)][t(525)][t(568)].on(t(780),(()=>{const e=t;this[e(613)][e(632)][e(482)][e(780)]((t=>{const i=e;for(const e of this[i(613)][i(525)][i(568)][i(638)]()){const n=this[i(613)][i(525)][i(568)][i(538)](e),r=this[i(613)][i(632)][i(482)][i(568)][i(538)](e);if(r){const e=n[i(683)](i(621));if(t[i(579)](i(765),r),t[i(699)](i(642),r),t[i(699)](i(701),r),t[i(699)](i(656),r),e){const n=this[i(483)](e);if(!n)return null;t[i(510)](i(765),e,r),t[i(549)](i(742)+n[i(694)],r),this[i(591)]==n&&t[i(549)](i(656),r)}}}}))})),this[t(613)][t(774)][t(763)](t(505))[t(798)]({view:t(522),model:e=>t(630)+e,converterPriority:t(796)}),this[t(613)][t(774)][t(763)](t(505))[t(798)]({view:t(662),model:e=>t(795)+e,converterPriority:t(796)}),this[t(613)][t(774)][t(763)](t(672))[t(484)]({model:t(711),view:e=>({name:t(561)+e,group:t(711)}),converterPriority:t(796)}),this[t(613)][t(774)][t(763)](t(679))[t(635)]({model:t(711),view:e=>{const i=t,n=e[i(575)][i(490)](":")[1];return i(486)!=n&&i(515)!=n?null:{classes:[i(627),i(616)+n]}}}),this[t(613)][t(632)][t(762)].on(t(624),wr(this[t(613)],t(562)),{priority:t(536)}),this[t(613)][t(632)][t(762)].on(t(560),wr(this[t(613)],t(490)),{priority:t(536)}),this[t(613)][t(632)][t(762)].on(t(539),((e,i,n)=>{const r=t,s=n[r(517)][r(736)](i[r(575)]);if(s)for(const t of s)t.is(r(614))&&(n[r(517)][r(727)](t,i[r(575)]),n[r(622)][r(738)](t))}),{priority:t(536)})}[vr(483)](t){const e=vr;return this[e(545)][e(598)](t)}[vr(734)](t){const e=vr;return this[e(631)]&&this[e(631)][e(586)](),this[e(631)]=new sr(this[e(613)][e(775)],t),this[e(631)]}[vr(567)](){const t=vr;this[t(613)][t(525)][t(568)][t(750)][t(779)](t(669)),this.on(t(729),((e,i,n,r)=>{const s=t;r&&this[s(495)][s(738)](r),n&&(this[s(495)][s(766)]({view:n,stackId:s(552),position:{target:()=>{const t=s,e=this[t(613)][t(632)],i=this[t(483)](n[t(578)]);let r;if(i[t(532)][t(608)]){const n=e[t(482)][t(574)](i[t(582)]);r=Array[t(524)](n[t(544)]())}else{const i=this[t(613)][t(525)][t(636)][t(598)](t(717)+n[t(578)]);r=Array[t(524)](e[t(517)][t(736)](i[t(523)]))[t(721)]((i=>e[t(482)][t(646)][t(581)](i)))[t(721)]((e=>Array[t(524)](e[t(544)]())))[t(619)]()}return this[t(512)]&&r[t(690)]((e=>e[t(584)]-3<=this[t(512)].y&&e[t(703)]+3>=this[t(512)].y&&e[t(599)]-3<=this[t(512)].x&&e[t(809)]+3>=this[t(512)].x))||r[0]}}}),this[s(495)][s(519)](s(552)))})),this.on(t(752),((e,i,n,r)=>{const s=t;this[s(576)]=n?this[s(734)](n):null,this[s(613)][s(525)][s(780)]((()=>{const t=s,e=this[t(613)][t(632)];r&&(r[t(532)][t(608)]?e[t(482)][t(780)]((i=>{const n=t;i[n(699)](n(656),e[n(482)][n(568)][n(538)](r[n(582)]))})):e[t(520)](t(717)+r.id)),n&&(n[t(532)][t(608)]?e[t(482)][t(780)]((i=>{const r=t;i[r(549)](r(656),e[r(482)][r(568)][r(538)](n[r(582)]))})):e[t(520)](t(717)+n.id))}))})),this[t(534)](this[t(613)][t(632)][t(482)][t(568)],t(610),((e,i)=>{const n=t;if(this[n(591)])return;const r=this[n(783)](i[n(540)]),s=this[n(545)][n(598)](r);s?(this[n(512)]={x:i[n(666)].x,y:i[n(666)].y},this[n(576)]=this[n(734)](s)):(this[n(512)]=null,this[n(576)]=null)})),this[t(534)](this[t(613)][t(632)][t(482)][t(568)],t(719),((e,i)=>{const n=t,r=this[n(783)](i[n(540)]),s=this[n(545)][n(598)](r);s?(this[n(512)]={x:i[n(666)].x,y:i[n(666)].y},s===this[n(591)]?this[n(495)][n(596)]():this[n(591)]=s):(this[n(512)]=null,this[n(591)]=null)}))}[vr(783)](t){const e=vr;do{const i=t[e(683)](e(765));if(i)return i;t=t[e(782)]}while(t);return null}[vr(768)](){const t=vr;this[t(613)][t(525)][t(780)]((e=>{const i=t;for(const t of this[i(613)][i(525)][i(636)])e[i(722)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(740)][s(478)](n[s(716)],i[s(523)]))return;const o=n[s(716)][s(786)](),a=n[s(716)][s(659)],c=t[s(525)][s(475)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(671)];h=h||c[s(697)](e);const i=r[s(517)][s(643)](e);if(i&&i[s(531)](s(597)))return;s(737)==t[s(694)]&&c[s(706)](e)&&!c[s(489)](e)&&(e[s(626)]||a[s(712)]?u&&u[s(782)]==e||(u=e,f(t[s(713)]),d=!0):l=l||t[s(713)])}function f(t){const i=s,o=r[i(517)][i(715)](t),a=r[i(622)][i(808)](i(590),{class:i(616)+e});r[i(622)][i(542)](o,a),r[i(517)][i(508)](a,n[i(575)])}h||d||!l||f(l)}}class _r extends Hi.Command{constructor(t){const e=vr;super(t);const i=t[e(528)][e(598)](br);this[e(744)]=!1,this[e(534)](i,e(553),(()=>this[e(718)]())),this[e(534)](i,e(500),(()=>this[e(718)]()))}[vr(781)](){const t=vr,e=this[t(613)],i=e[t(528)][t(598)](br),n=i[t(612)]?i[t(804)][t(589)]:null;e[t(730)][t(598)](t(681))[t(747)](n)}[vr(718)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(613)][t(528)][t(598)](br),s=r&&n[t(651)](r[t(589)]);this[t(543)]=e&&i&&Boolean(s)}}class Ir extends Hi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(528)][i(598)](br);this[i(744)]=!1,this[i(504)]=i(507)===e?1:-1,this[i(534)](n,i(553),(()=>this[i(718)]())),this[i(534)](n,i(500),(()=>this[i(718)]())),this[i(534)](n,i(752),(()=>this[i(718)]()))}[vr(781)](){const e=vr,i=this[e(613)],n=i[e(528)][e(598)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(591)]=r?n[e(804)][e(641)][e(598)](s+this[e(504)]):n[e(804)][e(641)][e(692)],n[e(591)][e(532)][e(608)])o=i[e(632)][e(482)][e(574)](n[e(591)][e(582)]);else{const t=i[e(525)][e(636)][e(598)](e(717)+n[e(591)].id);o=(0,Bi.getMarkerDomElement)(i[e(632)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(718)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(613)][t(528)][t(598)](br);this[t(543)]=!!(s&&r&&n)&&(!e||(1===this[t(504)]?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(t,e){const i=Tr();return(xr=function(t,e){return i[t-=419]})(t,e)}function Tr(){const t=["isReady","Show previous change","isNavigationMode","backward","ck-revision-history-ui__changes-navigation","div","Total","span","X_OF_Y_CHANGES","659307NIfeoa","setTemplate","forward","733840WALJJh","2773584WTHktY","42sulkoA","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__label","439590wNyKNU","ck-revision-history-ui","isForwardNavigationEnabled","_statusText","399PPsOZk","Show next change","NUMBER_OF_CHANGES","261USJcrs","execute","EDIT_X_OF_Y_REVISIONS","Loading...","isEnabled","fire","bind","bindTemplate","set","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","4254460hueeYL","968daCzqU","416732xgzsTq","currentChangeNumber","ck-hidden","numberOfChanges","No changes","_isStatusLabelVisible"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(873143===parseInt(e(421))/1+-parseInt(e(425))/2+-parseInt(e(426))/3*(parseInt(e(449))/4)+parseInt(e(447))/5+parseInt(e(429))/6+-parseInt(e(433))/7*(-parseInt(e(448))/8)+-parseInt(e(436))/9*(-parseInt(e(424))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Ar extends En.View{constructor(t){const e=xr;super(t);const i=this[e(443)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(444)](e(457),!1),this[e(444)](e(455),!1),this[e(444)](e(450),0),this[e(444)](e(452),0),this[e(444)](e(431),!1),this[e(444)](e(445),!1),this[e(442)](e(454)).to(this,e(455),this,e(452),((t,e)=>t&&e>0)),this[e(442)](e(432)).to(this,e(455),this,e(450),this,e(452),this,e(457),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(439));if(!r)return Qi(t,o(453));const a=Qi(t,o(435),r);return s?Qi(t,o(420),[n+1,r]):a})),n[e(444)]({label:Qi(t,e(456)),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(444)]({label:Qi(t,e(434)),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(442)](e(440)).to(this,e(445)),r[e(442)](e(440)).to(this,e(431)),n.on(e(437),(()=>this[e(441)](e(437),e(458)))),r.on(e(437),(()=>this[e(441)](e(437),e(423)))),this[e(422)]({tag:e(460),attributes:{class:["ck",e(430),e(459)]},children:[{tag:e(419),attributes:{class:[e(427)]},children:[{tag:e(419),attributes:{class:[e(428),i.if(e(454),e(451),(t=>!t))]},children:[{text:i.to(e(457),(i=>i?Qi(t,e(438))+": ":Qi(t,e(461))+": "))}]},{text:i.to(e(432))}]},new En.ToolbarSeparatorView,{tag:e(460),attributes:{class:[e(446)]},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 Mr=Vr;function Vr(t,e){const i=Er();return(Vr=function(t,e){return i[t-=266]})(t,e)}function Er(){const t=["isPremiumPlugin","5lnPiam","pluginName","6395844sqVqic","1256KBcipi","3443850RzRkPq","view","document","editing","ck-editor__editable__loading-overlay","removeClass","isOfficialPlugin","roots","1725545sZhssY","129406jQdewL","show","56hWgaJy","33DlqRvJ","hide","11316XBgFPf","6pIGfaZ","RevisionViewerLoadingOverlay","26249496ndGWbQ","576873XLVdla","addClass","change","editor"];return(Er=function(){return t})()}!function(t){const e=Vr,i=t();for(;;)try{if(695428===parseInt(e(272))/1*(-parseInt(e(285))/2)+parseInt(e(290))/3*(-parseInt(e(275))/4)+-parseInt(e(284))/5*(-parseInt(e(291))/6)+-parseInt(e(274))/7+-parseInt(e(287))/8*(parseInt(e(267))/9)+parseInt(e(276))/10*(parseInt(e(288))/11)+parseInt(e(266))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Mr(280);class Cr extends Hi.Plugin{static get[Mr(273)](){return Mr(292)}static get[Mr(282)](){return!0}static get[Mr(271)](){return!0}[Mr(286)](){const t=Mr,e=this[t(270)][t(279)][t(277)];e[t(269)]((i=>{const n=t;for(const t of e[n(278)][n(283)])i[n(268)](Dr,t)}))}[Mr(289)](){const t=Mr,e=this[t(270)][t(279)][t(277)];e[t(269)]((i=>{const n=t;for(const t of e[n(278)][n(283)])i[n(281)](Dr,t)}))}}function jr(){const t=["exitToEditing","bind","10izNiqV","Back to editing","3683755uUyZQp","execute","add","isEnabled","init","hide","commands","restoreRevision","forward","isBackwardNavigationEnabled","6329052vAyaNt","currentChangeNumber","showPreviousChange","123qRpAOq","1052066mPrkkC","6nEzQjt","365354nhKSCM","plugins","RevisionViewerUI","isForwardNavigationEnabled","undo","editor","componentFactory","isNavigationMode","12796iDkIzr","showNextChange","isReady","13472120mJOyGc","show","closeRevisionViewerCallback","get","Restore this revision","numberOfChanges","change:isReady","ck-revision-history-ui__back-to-editing","config","revisionHistory","changesNavigation","set","listenTo","11656778rRXAIv","requires","pluginName","isOfficialPlugin","isPremiumPlugin"];return(jr=function(){return t})()}const Fr=Pr;function Pr(t,e){const i=jr();return(Pr=function(t,e){return i[t-=279]})(t,e)}!function(t){const e=Pr,i=t();for(;;)try{if(908742===-parseInt(e(318))/1+parseInt(e(320))/2+parseInt(e(317))/3*(-parseInt(e(279))/4)+-parseInt(e(304))/5+parseInt(e(319))/6*(parseInt(e(295))/7)+parseInt(e(282))/8+-parseInt(e(314))/9*(parseInt(e(302))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jr);class Lr extends Hi.Plugin{static get[Fr(297)](){return Fr(322)}static get[Fr(298)](){return!0}static get[Fr(299)](){return!0}static get[Fr(296)](){return[br,Cr]}[Fr(308)](){const t=Fr,e=this[t(325)],i=e[t(321)][t(285)](br),n=e[t(321)][t(285)](Cr);e.ui[t(326)][t(306)](t(300),(i=>{const n=t,r=new En.ButtonView(i);return r[n(293)]({label:Qi(i,n(303)),icon:Hi.icons[n(324)],withText:!0,tooltip:!0,class:n(289)}),this[n(294)](r,n(305),(()=>{const t=n;e[t(290)][t(285)](t(291))[t(284)]()})),r})),e.ui[t(326)][t(306)](t(311),(i=>{const n=t,r=new En.ButtonView(i);return r[n(293)]({label:Qi(i,n(286)),withText:!0,tooltip:!0}),r[n(301)](n(307)).to(e[n(310)][n(285)](n(311))),this[n(294)](r,n(305),(()=>e[n(305)](n(311)))),r})),e.ui[t(326)][t(306)](t(292),(n=>{const r=t,s=new Ar(n),o=e[r(310)][r(285)](r(316)),a=e[r(310)][r(285)](r(280));return s[r(301)](r(313)).to(o,r(307)),s[r(301)](r(323)).to(a,r(307)),s[r(301)](r(281),r(315),r(287),r(327)).to(i),this[r(294)](s,r(305),((t,i)=>{const n=r;e[n(305)](n(312)===i?n(280):n(316))})),s})),n[t(283)](),i.on(t(288),((e,i,r)=>{const s=t;r?n[s(309)]():n[s(283)]()}))}}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;function Ur(t,e){const i=qr();return(Ur=function(t,e){return i[t-=259]})(t,e)}const Zr=Ur;function qr(){const t=["ck-tooltip_multi-line","6336UxjSnv","value","3068KBWAly","_resizeObserver","ck-revision-history-sidebar__revision-name","11126MTkIXG","element","111jQhARw","93777fQiVnu","4776SyOOCW","31132MtxYfW","destroy","clientWidth","17670RTHRMO","_updateTooltipText","placeholder","set","35RynCRt","160UBqAbP","span","312qoSowM","11770SAqycK","input","Enter the revision name","listenTo","fieldView","Revision name","scrollWidth","80ZUQlBT","bindTemplate","extendTemplate","_tooltipString","render"];return(qr=function(){return t})()}!function(t){const e=Ur,i=t();for(;;)try{if(106515===-parseInt(e(271))/1+-parseInt(e(268))/2*(-parseInt(e(270))/3)+-parseInt(e(273))/4*(parseInt(e(291))/5)+-parseInt(e(276))/6*(-parseInt(e(280))/7)+parseInt(e(283))/8*(parseInt(e(263))/9)+-parseInt(e(281))/10*(parseInt(e(284))/11)+-parseInt(e(272))/12*(-parseInt(e(265))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Ur;super(t,e),this[i(266)]=null;const n=this[i(292)];this[i(279)]({label:Qi(t,i(289)),_tooltipString:""}),this[i(288)][i(278)]=Qi(t,i(286)),this[i(259)]({tag:i(282),attributes:{class:[i(267)],"data-cke-tooltip-text":n.to(i(260)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(262)}})}[Zr(261)](){const e=Zr;super[e(261)](),this[e(266)]=new t.ResizeObserver(this[e(288)][e(269)],(()=>this[e(277)]())),this[e(287)](this[e(288)],e(285),(()=>this[e(277)]()))}[Zr(274)](){const t=Zr;super[t(274)](),this[t(266)]&&this[t(266)][t(274)]()}[Zr(277)](){const t=Zr,e=this[t(288)][t(269)];this[t(260)]=e[t(290)]>e[t(275)]&&e[t(264)]||""}}var Hr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Zn();Cn()(Hr.A,Br);Hr.A&&Hr.A.locals&&Hr.A.locals;function Jr(t,e){const i=Yr();return(Jr=function(t,e){return i[t-=257]})(t,e)}function Yr(){const t=["15820GNSZBl","Revision creator","554072PfGAiN","span","7716480DuscvI","ck-revision-history-sidebar__revision-author__name","set","37853684BLHoAb","push","1iVWMLB","3030iIEDrI","0 0 11 10","setTemplate","17347890IimBKu","name","27EZWUdq","Revision author","ck-revision-history-sidebar__revision-author_creator","26499gMnGbl","172Ioiwxf","1121842KZrCiy","ck-revision-history-sidebar__revision-author"];return(Yr=function(){return t})()}!function(t){const e=Jr,i=t();for(;;)try{if(915580===-parseInt(e(267))/1*(parseInt(e(278))/2)+-parseInt(e(276))/3*(-parseInt(e(277))/4)+-parseInt(e(262))/5+-parseInt(e(268))/6*(-parseInt(e(258))/7)+parseInt(e(260))/8*(-parseInt(e(273))/9)+-parseInt(e(271))/10+parseInt(e(265))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Gr extends En.View{constructor(t,e,i){const n=Jr;super(t);const r=new En.IconView;r[n(264)]({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(269)});const s=["ck",n(257)];i&&s[n(266)](n(275));const o=[{tag:n(261),attributes:{class:["ck",n(263)],title:Qi(t,n(i?259:274))},children:[r,e[n(272)]]}];this[n(270)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["toLocaleDateString","1888418JWvOpn","181722ZgFYom","4771000RtWbXr","249930kUtdOZ","toLocaleTimeString","numeric","6vdyOcm","4YHZZmp","1394097oQhoXh","long","1884126IMlqTk","12593214DLGxTj"];return(Kr=function(){return t})()}function Xr(t,e){var i=Kr();return(Xr=function(t,e){return i[t-=447]})(t,e)}!function(t){for(var e=Xr,i=t();;)try{if(301227===-parseInt(e(452))/1*(-parseInt(e(447))/2)+-parseInt(e(454))/3*(-parseInt(e(453))/4)+parseInt(e(449))/5+parseInt(e(456))/6+-parseInt(e(459))/7+parseInt(e(448))/8+-parseInt(e(457))/9)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=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();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-=220]})(t,e)}function is(){const t=["961603JcHXtV","extendTemplate","map","isOpen","1587070dUfMLE","ck-revision-history-sidebar__revision__actions","3798663kYfWsl","action","2828795cXClqG","isEnabled","Name this revision","listView","set","bind","1392168vNhkuc","6935369jPdOPT","5522860ywasHs","add","listenTo","threeVerticalDots","menuitem","ck-on","Restore this revision","Show more items","name","bindTemplate","first","locale","menu","_action","class","panelPosition","stopPropagation","items","children","isActionsDropdownOpen","isReady","model","change:isActionsDropdownOpen","execute","source","function","Compare against selected","button","find","buttonView","isVisible"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(939598===parseInt(e(250))/1+-parseInt(e(254))/2+-parseInt(e(256))/3+parseInt(e(266))/4+-parseInt(e(258))/5+parseInt(e(264))/6+parseInt(e(265))/7)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=["220","ck-revision-history-sidebar__revision_highlighted","isHighlighted","_createdAtFormatted","from","filter","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper","1291395yrtuTy","290HdQuRa","setTemplate","div","277068oxYjpo","ck-revision-history-sidebar__revision__controls-wrapper","2139464FCUGGq","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__actions_dropdown_open","isReady","deselect","isActionsDropdownOpen","render","length","fieldView","set","fire","ck-disabled","unhighlight","revisionActionsView","name","uiLanguage","9awEjdJ","ck-reset","extendTemplate","_revision","element","8748oHWPOd","28CAPicG","creator","change","authors","6045580gzHeTQ","ck-revision-history-sidebar__revision",".ck-thread__remove-confirm","select","bind","createdAt","setName","_requireRevisionName","isConfirm","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isSelected","map","closest","unshift","bindTemplate","highlight","srcElement","isEnabled","listenTo","span","32190IUxjSW","revisionNameView","ck-revision-history-sidebar__revision_selected","value","131324vWQvDS"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=318]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(155815===-parseInt(e(357))/1*(-parseInt(e(356))/2)+-parseInt(e(333))/3+-parseInt(e(320))/4+-parseInt(e(330))/5*(-parseInt(e(381))/6)+parseInt(e(329))/7+parseInt(e(335))/8*(parseInt(e(351))/9)+-parseInt(e(361))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(375)],a=function(t,e){const i=s,n=Array[i(325)](e[i(360)])[i(326)]((t=>t!=e[i(358)]));return e[i(358)]&&n[i(374)](e[i(358)]),n[i(372)]((n=>new Gr(t,n,n==e[i(358)])))}(e,i);this.id=i.id,this[s(354)]=i,this[s(368)]=r,this[s(365)](s(349),s(366)).to(i),this[s(365)](s(324)).to(this,s(366),(t=>{return i=e[s(350)],(n=t)[(r=Xr)(458)](i,{month:r(455),day:r(451)})+", "+n[r(450)](i,{hour:r(451),minute:r(451)});var i,n,r})),this[s(344)](s(371),!1),this[s(344)](s(323),!1),this[s(344)](s(340),!1),this[s(344)](s(338),!1),this[s(344)](s(378),!1),this[s(382)]=new $r(e,En.createLabeledInputText),this[s(382)][s(343)][s(353)]({attributes:{maxlength:s(321)}}),this[s(382)][s(343)][s(365)](s(319)).to(this,s(349),(t=>t||this[s(324)])),this[s(382)][s(365)](s(378)).to(this,s(371),this,s(378),((t,e)=>t&&e)),this[s(348)]=n&&n[s(342)]?function(e,i){const n=es,r=e[n(228)],s=e[n(230)],o=(0,En.createDropdown)(s);o[n(234)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(230)],r={"Compare against selected":Qi(n,i(245)),"Name this revision":Qi(n,i(260)),"Restore this revision":Qi(n,i(225))};return e[i(252)]((t=>{const e=i,n=r[t[e(227)]];return n&&n!==t[e(227)]&&(t[e(227)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(246),model:new En.ViewModel({label:t[r(227)],class:t[r(233)],withText:!0,role:r(223),_action:t[r(257)]})};i[r(240)][r(263)](r(259)).to(e,r(238),(i=>r(244)!=typeof t[r(259)]||!i||t[r(259)](e))),o[r(220)](i)}return o}(e,i);return e[n(263)](n(238)).to(o,n(253)),o[n(248)][n(262)]({label:Qi(s,n(226)),tooltip:!0,tooltipPosition:"sw",icon:Hi.icons[n(222)]}),o[n(251)]({attributes:{class:[n(255),r.if(n(238),n(224))]},on:{click:r.to((t=>t[n(235)]()))}}),o.on(n(242),(t=>{const i=n;e[i(239)]&&i(244)==typeof t[i(243)][i(232)]&&t[i(243)][i(232)](e)})),(0,En.addListToDropdown)(o,a,{role:n(231)}),o[n(221)](e,n(241),((t,r,s)=>{const a=n;if(s)for(const t of o[a(261)][a(236)]){const n=t[a(237)][a(229)],r=i[a(247)]((t=>t[a(257)]===n[a(232)]))[a(249)];t[a(249)]=void 0===r||r(e)}})),o}(this,n):"",this[s(348)]&&this[s(348)][s(365)](s(378)).to(this),this[s(331)]({tag:s(332),attributes:{class:["ck",s(352),s(328),o.if(s(369),s(370))]},children:[{tag:s(332),attributes:{class:["ck",s(352),s(362),o.if(s(378),s(346),(t=>!t)),o.if(s(371),s(318)),o.if(s(323),s(322)),o.if(s(340),s(337))]},children:[this[s(382)],{tag:s(380),attributes:{class:["ck",s(336)]},children:[{text:o.to(s(324))}]},{tag:s(332),attributes:{class:["ck",s(334)]},children:[{tag:"ul",attributes:{class:["ck",s(327)]},children:a}]},this[s(348)]],on:{click:o.to((t=>{const e=s;t[e(377)][e(373)](e(363))||this[e(338)]&&this[e(378)]&&this[e(345)](e(364),{id:this.id})}))}}]})}[ss(341)](){const t=ss;super[t(341)]();const e=this[t(382)][t(343)][t(355)];this[t(379)](e,t(359),(()=>{const i=t;this[i(368)]&&!e[i(319)]||this[i(345)](i(367),{id:this.id,name:e[i(319)]}),e[i(319)]||(e[i(319)]=this[i(349)]?this[i(349)]:this[i(324)])}))}[ss(364)](){this[ss(371)]=!0}[ss(339)](){this[ss(371)]=!1}[ss(376)](){this[ss(323)]=!0}[ss(347)](){this[ss(323)]=!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},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Es={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},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 qs extends Us{static get instance(){return null===Zs&&(Zs=new qs),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 Hs={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=Hs[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:Ho()?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?qs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Js.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,qs.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 Vo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Eo(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=Vo(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}=Eo(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:Vo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(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=qo(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 qo(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ho(){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 qo(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:Vs,f:Es,ff:Cs,fff:Ps,ffff:zs,F:Ds,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 Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...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}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function qa(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function $a(t,e){return[{hours:qa(t,e,0),minutes:qa(t,e+1,0),seconds:qa(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function Ha(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=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Va(/(\d{4})-?(\d{3})/,La),uc=Va(Pa),lc=Ea((function(t,e){return[{year:qa(t,e),month:qa(t,e+1,1),day:qa(t,e+2,1)},null,e+3]}),$a,Ha,Ba),hc=Ea(za,$a,Ha,Ba),dc=Ea(Wa,$a,Ha,Ba),fc=Ea($a,Ha,Ba);const mc=Ea($a);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ea($a,Ha,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 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;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 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 Vc{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:Ho()}}}function Ec(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=Ec(t,e);return(i-i%7)/7}],["days",Ec]],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 qc=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 Hc{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 Hc(t,i).explainFromTokens(e)}function Jc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((qc||(qc=wu.fromMillis(1555555555555)),qc)),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 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=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=qo(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=qo(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 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?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.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):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 Hc(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 Vs}static get DATETIME_SHORT(){return Es}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 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(){const t=["weekdayLong","149790MmZypw","20XFPLIt","2820sRJona","toRelativeCalendar","1lUfAPG","monthLong","168dUqEfc","day","5gJvUmG","startOf","hasSame","760059nVckrf","setLocale","local","toJSDate","498673ewXgSz","week","minus","month","fromJSDate","year","389578ExYtfV","154682NXTQtx","117520QAbmWs","516pLUZrJ"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=470]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(492)](t)[i(485)](e),r=wu[i(486)](),s=r[i(490)]({days:1})[i(482)](i(480));let o,a;return n[i(483)](r,i(480))?(o=n[i(482)](i(480))[i(487)](),a=n[i(476)]()):n[i(483)](s,i(480))?(o=s[i(487)](),a=n[i(476)]()):n[i(483)](r,i(489))?(o=n[i(482)](i(489))[i(487)](),a=n[i(472)]||""):n[i(483)](r,i(493))?(o=n[i(482)](i(491))[i(487)](),a=n[i(478)]||""):(o=n[i(482)](i(493))[i(487)](),a=String(n[i(493)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(106527===-parseInt(e(477))/1*(-parseInt(e(494))/2)+parseInt(e(471))/3*(-parseInt(e(475))/4)+-parseInt(e(481))/5*(parseInt(e(473))/6)+parseInt(e(488))/7+parseInt(e(470))/8+-parseInt(e(484))/9*(-parseInt(e(474))/10)+-parseInt(e(495))/11*(parseInt(e(479))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);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=Ru();return(Nu=function(t,e){return i[t-=387]})(t,e)}function Ru(){const t=["_revisionActions","uiLanguage","ck-revision-history-sidebar__time-period","startDate","139531dXEIzA","setName","find","1032eMbTXx","_requireRevisionName","118586zoAutd","select","span","ck-revision-history-sidebar__time-period__revisions","addRevision","remove","14565aVdIJC","211104yoSfyQ","10TcywRr","add","revisionViews","5599264mQrFiC","2kBiLpq","ck-revision-history-sidebar__time-period__label","removeRevision","localizedPeriodName","64SfRiat","div","1980224loDatb","618291xcuUNe","setTemplate","createCollection","delegate","locale"];return(Ru=function(){return t})()}!function(t){const e=Nu,i=t();for(;;)try{if(348085===-parseInt(e(410))/1*(parseInt(e(389))/2)+parseInt(e(417))/3+parseInt(e(395))/4+parseInt(e(416))/5*(parseInt(e(408))/6)+-parseInt(e(405))/7*(parseInt(e(393))/8)+parseInt(e(396))/9*(parseInt(e(418))/10)+-parseInt(e(388))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Mu extends En.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Ou(e,this[r(400)][r(402)])[r(392)];this[r(404)]=e,this[r(387)]=this[r(398)](),this[r(401)]=i,this[r(409)]=n,this[r(387)][r(399)](r(411)).to(this),this[r(387)][r(399)](r(406)).to(this),this[r(397)]({tag:r(394),attributes:{class:["ck",r(403)]},children:[{tag:r(412),attributes:{class:["ck",r(390)]},children:[{text:s}]},{tag:r(394),attributes:{class:["ck",r(413)]},children:this[r(387)]}]})}[Au(414)](t){const e=Au,i=new cs(this[e(400)],t,this[e(401)],this[e(409)]);this[e(387)][e(419)](i)}[Au(391)](t){const e=Au,i=this[e(387)][e(407)]((e=>e.id===t.id));this[e(387)][e(415)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Ln().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=296]})(t,e)}function Cu(){const t=["Revision history","span","1002nGORFQ","1004aigdaJ","1937808aqpunK","273WhfEtf","204372tJgMZB","37CtAWGp","setTemplate","ck-revision-history-sidebar__header__label","1416385LAUDEa","content","2122780nMvgaq","38ocjjSO","ck-revision-history-sidebar__header","history","10926MhMSBe","ck-reset_all","div"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(160631===-parseInt(e(304))/1*(parseInt(e(310))/2)+parseInt(e(299))/3*(parseInt(e(300))/4)+-parseInt(e(307))/5+parseInt(e(313))/6*(-parseInt(e(302))/7)+parseInt(e(301))/8+-parseInt(e(303))/9+parseInt(e(309))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(308)]=Hi.icons[e(312)],this[e(305)]({tag:e(296),attributes:{class:["ck",e(314),e(311)]},children:[i,{tag:e(298),attributes:{class:["ck",e(306)]},children:[Qi(t,e(297))]}]})}}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;function Lu(){const t=["setName","ck-reset","deselect","ck-rounded-corners","2073gOTkRh","_addRevision","locale","259408jJAVop","revisionSetName","_getTimePeriodViewByStartDate","unhighlight","revisionSelected","fire","selectRevision","startDate","highlightRevisions","12DKxdTD","uiLanguage","createdAt","flat","bindTemplate","addRevision","set","select","createCollection","107856pjQMXi","revisionViews","526185PUGSTT","_revisions","ck-revision-history-sidebar","div","find","48CFWXlx","ck-revision-history-sidebar__timeline","_revisionActions","getTime","40GvKNyi","265528mHhPSB","remove","some","setTemplate","_requireRevisionName","render","highlight","delegate","isEnabled","map","1455958cCCmur","removeRevision","add","timePeriodViews","68iczgOw","get","_removeRevision","117tTnMzP","1140680BzeAeK","ck-disabled"];return(Lu=function(){return t})()}function zu(t,e){const i=Lu();return(zu=function(t,e){return i[t-=250]})(t,e)}const Wu=zu;!function(t){const e=zu,i=t();for(;;)try{if(284636===-parseInt(e(275))/1+-parseInt(e(289))/2*(-parseInt(e(299))/3)+-parseInt(e(263))/4*(-parseInt(e(274))/5)+parseInt(e(254))/6*(-parseInt(e(285))/7)+-parseInt(e(302))/8*(-parseInt(e(292))/9)+parseInt(e(293))/10+parseInt(e(265))/11*(parseInt(e(270))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lu);class Uu extends En.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(258)];this[r(288)]=this[r(262)](),this[r(288)][r(282)](r(261)).to(this),this[r(288)][r(282)](r(295)).to(this),this[r(266)]=e,this[r(272)]=i,this[r(279)]=n,this.on(r(261),((t,e)=>{const i=r;this[i(250)](i(306),e)})),this.on(r(295),((t,e)=>{const i=r;this[i(250)](i(303),e)})),this[r(260)](r(283),!1),this[r(278)]({tag:r(268),attributes:{class:["ck",r(296),r(298),r(267)]},children:[new ju(t),{tag:r(268),attributes:{class:["ck",r(271),s.if(r(283),r(294),(t=>!t))]},children:this[r(288)]}]})}[Wu(280)](){const t=Wu;super[t(280)]();for(const e of this[t(266)])this[t(300)](e);this[t(266)].on(t(287),((e,i)=>{this[t(300)](i)})),this[t(266)].on(t(276),((e,i)=>{this[t(291)](i)}))}get[Wu(264)](){const t=Wu;return this[t(288)][t(284)]((e=>e[t(264)][t(284)]((t=>t))))[t(257)]()}[Wu(251)](t){const e=Wu;for(const i of this[e(264)])t&&t.id===i.id?i[e(261)]():i[e(297)]()}[Wu(253)](t){const e=Wu;for(const i of this[e(264)])t[e(277)]((({id:t})=>t===i.id))?i[e(281)]():i[e(305)]()}[Wu(300)](t){const e=Wu,i=Ou(t[e(256)],this[e(301)][e(255)])[e(252)];let n=this[e(288)][e(290)](0);n&&n[e(252)][e(273)]()===i[e(273)]()||(n=new Mu(this[e(301)],i,this[e(272)],this[e(279)]),this[e(288)][e(287)](n)),n[e(259)](t)}[Wu(291)](t){const e=Wu,i=Ou(t[e(256)],this[e(301)][e(255)])[e(252)];this[e(304)](i)[e(286)](t)}[Wu(304)](t){const e=Wu;return this[e(288)][e(269)]((i=>i[e(252)][e(273)]()===t[e(273)]()))}}const Zu=$u;function qu(){const t=["editor","selectRevision","revisionHistory.revisionActions","RevisionsSidebar","nameRevision","107747xuIbto","fieldView","pluginName","_revisionViewer","listenTo","Compare against selected","revisionHistory.requireRevisionName","_handleRevisionSetName","change:diff","Name this revision","compare","length","getRevision","79761ySVzmr","isReady","isSelected","action","isPremiumPlugin","availableRevisionActions","assign","requires","element","144KqCBtq","revisionSetName","defaultRevisionActions","Restore this revision","revisionHistory.viewerSidebarContainer","name","add","diff","70MjQZJt","newRevisionId","getIndex","getEarlierVisibleRevision","compareAgainstSelected","_handleEditorDataReady","ready","remove","revisionHistory","3597256iIRdaJ","destroy","_createRevisionActions","render","1363645OcfmjR","locale","map","22XhhTII","focus","1987002BoELlh","restoreRevision","init","getRevisionsInDiff","30cMzRFt","_revisionsRepository","_sidebarView","timePeriodViews","select","_handleDiffChange","getLaterVisibleRevision","2449434VrwmQE","highlightRevisions","bind","appendChild","restoreRevisionCallback","get","data","8MaWdHt","setName","repository","_handleRevisionSelected","4980227hFkzSl","isOfficialPlugin","isVisible","isEnabled","plugins","revisionViews","revisionSelected","_revisions","config","string"];return(qu=function(){return t})()}function $u(t,e){const i=qu();return($u=function(t,e){return i[t-=151]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(790391===parseInt(e(222))/1*(parseInt(e(183))/2)+parseInt(e(196))/3+parseInt(e(176))/4+-parseInt(e(180))/5*(parseInt(e(189))/6)+-parseInt(e(207))/7*(-parseInt(e(203))/8)+-parseInt(e(185))/9*(parseInt(e(167))/10)+-parseInt(e(235))/11*(-parseInt(e(159))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qu);class Hu extends Hi.Plugin{static get[Zu(224)](){return Zu(220)}static get[Zu(208)](){return!0}static get[Zu(154)](){return!0}static get[Zu(157)](){return[br]}constructor(t){const e=Zu;super(t),this[e(225)]=t[e(211)][e(201)](br),this[e(190)]=this[e(225)][e(205)],this[e(191)]=null}[Zu(187)](){const t=Zu,e=this[t(190)][t(214)],i=this[t(178)](),n=this[t(217)][t(215)][t(201)](t(163));this[t(191)]=new Uu(this[t(217)][t(181)],e,i,this[t(217)][t(215)][t(201)](t(228))),this[t(191)].on(t(213),this[t(206)][t(198)](this)),this[t(191)].on(t(160),this[t(229)][t(198)](this)),this[t(191)][t(198)](t(210)).to(this[t(225)]),this[t(191)][t(192)].on(t(165),((e,i)=>{const n=t;i[n(212)].on(n(165),((t,e)=>{const i=n;e[i(198)](i(210),i(151)).to(this[i(225)])}))})),this[t(191)][t(179)](),this[t(226)](this[t(217)][t(202)],t(173),this[t(172)][t(198)](this)),this[t(226)](this[t(225)],t(230),this[t(194)][t(198)](this)),n[t(199)](this[t(191)][t(158)])}[Zu(177)](){const t=Zu;this[t(191)][t(158)][t(174)](),this[t(191)][t(177)]()}[Zu(172)](){const t=Zu,e=this[t(190)][t(234)](0);if(e){const i=this[t(190)][t(170)](e.id);this[t(225)][t(232)](e,i)}}[Zu(206)](t,e){const i=Zu,n=this[i(190)][i(234)](e.id),r=this[i(190)][i(170)](n.id);this[i(225)][i(232)](n,r)}[Zu(229)](t,e){const i=Zu;this[i(190)][i(234)](e.id)[i(204)](e[i(164)])}[Zu(194)](t,e,i){const n=Zu,r=this[n(190)][n(188)](i);r[n(233)]>2?(this[n(191)][n(197)](r),this[n(191)][n(218)](null)):(this[n(191)][n(197)]([]),this[n(191)][n(218)](r[0]))}[Zu(178)](){const t=Zu,e=this[t(217)],i=Hu[t(155)],n=e[t(215)][t(201)](t(219))||Hu[t(161)];if(n[t(233)])return n[t(182)]((n=>{const r=t,s=r(216)==typeof n?Object[r(156)]({},i[n]):n;return s[r(153)]=s[r(153)][r(198)](this,e),s[r(209)]&&(s[r(209)]=s[r(209)][r(198)](this,e)),s}))}}Hu[Zu(161)]=[Zu(171),Zu(186),Zu(221)],Hu[Zu(155)]={compareAgainstSelected:{name:Zu(227),action:({plugins:t},e)=>{const i=Zu,n=t[i(201)](br),r=n[i(205)];let s=n[i(166)][i(168)],o=e.id;r[i(169)](s)>r[i(169)](o)&&([s,o]=[o,s]),n[i(232)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(201)](br);return!(n[i(205)][i(188)](n[i(166)])[i(233)]>2||e[i(152)])}},restoreRevision:{name:Zu(162),action:(t,{id:e})=>{const i=Zu;t[i(215)][i(201)](i(175))[i(200)](e)},isVisible:({plugins:t},e)=>!!t[Zu(201)](br)[Zu(205)][Zu(195)](e.id)},nameRevision:{name:Zu(231),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(201)](br),s=r[n(205)][n(170)](e);r[n(232)](e,s),i[n(184)](),i[n(223)][n(193)]()}}};const Bu=Hu,Ju=Yu;function Yu(t,e){const i=Gu();return(Yu=function(t,e){return i[t-=193]})(t,e)}function Gu(){const t=["element","editor","addToolbar","bind","_view","_toolbarConfig","3164186FwWHue","attachDomRoot","focusTracker","editing","stickyPanel","view","editable","_elementReplacer","name","document","fillFromConfig","rootName","324jtrUpD","9839688qJFNau","377991fussEr","viewportOffset","_initToolbar","6817595cCEabb","isActive","destroy","setEditableElement","detachDomRoot","getRoot","toolbar","110mICBPO","isFocused","fire","6qUkbBC","replace","config","limiterElement","viewportTopOffset","get","init","restore","componentFactory","ready","961320OWrgFS","4837973ioMOpi","18968SxbOFn","render"];return(Gu=function(){return t})()}!function(t){const e=Yu,i=t();for(;;)try{if(791353===-parseInt(e(222))/1+-parseInt(e(232))/2+-parseInt(e(197))/3*(-parseInt(e(224))/4)+-parseInt(e(202))/5*(-parseInt(e(212))/6)+parseInt(e(223))/7+parseInt(e(198))/8+-parseInt(e(199))/9*(parseInt(e(209))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends En.EditorUI{get[Ju(237)](){return this[Ju(230)]}constructor(e,i){const n=Ju;super(e),this[n(230)]=i,this[n(231)]=(0,En.normalizeToolbarConfig)(e[n(214)][n(217)](n(208))),this[n(239)]=new t.ElementReplacer}get[Ju(226)](){const t=Ju;return this[t(237)][t(226)]}[Ju(218)](t){const e=Ju,i=this[e(227)],n=this[e(237)],r=i[e(235)][e(237)],s=n[e(238)],o=r[e(194)][e(207)]();s[e(193)]=o[e(196)],n[e(225)]();const a=s[e(226)];this[e(205)](s[e(193)],a),n[e(238)][e(229)](e(210)).to(this[e(234)]),r[e(233)](a),this[e(239)][e(213)](t,this[e(226)]),this[e(201)](),this[e(211)](e(221))}[Ju(204)](){const t=Ju;super[t(204)]();const e=this[t(237)],i=this[t(227)][t(235)][t(237)];this[t(239)][t(219)](),i[t(206)](e[t(238)][t(193)]),e[t(204)]()}[Ju(201)](){const t=Ju,e=this[t(237)];e[t(236)][t(229)](t(203)).to(this[t(234)],t(210)),e[t(236)][t(215)]=e[t(226)],e[t(236)][t(229)](t(216)).to(this,t(200),(({top:t})=>t)),e[t(208)][t(195)](this[t(231)],this[t(220)]),this[t(228)](e[t(208)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Ln().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;function tl(){var t=["6793290EprvDz","render","40266uNhVfo","3lbBChh","2vBKxkJ","content","shouldToolbarGroupWhenFull","toolbar","264461uxKoDL","main","3444030eXSQUu","7SontYW","_editable","stickyPanel","2472950PyXKcV","add","top","editable","1700188wkVBTg","1796312PtLXyA"];return(tl=function(){return t})()}var el=il;function il(t,e){var i=tl();return(il=function(t,e){return i[t-=409]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(433317===-parseInt(e(418))/1*(parseInt(e(414))/2)+parseInt(e(413))/3*(-parseInt(e(428))/4)+parseInt(e(424))/5+-parseInt(e(412))/6+parseInt(e(421))/7*(parseInt(e(409))/8)+parseInt(e(410))/9+-parseInt(e(420))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tl);class nl extends En.BoxedEditorUIView{get[el(427)](){return this[el(422)]}constructor(t,e,i={}){var n=el;super(t),this[n(423)]=new En.StickyPanelView(t),this[n(417)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(416)]}),this[n(422)]=new En.InlineEditableUIView(t,e)}[el(411)](){var t=el;super[t(411)](),this[t(423)][t(415)][t(425)](this[t(417)]),this[t(426)][t(425)](this[t(423)]),this[t(419)][t(425)](this[t(427)])}}const rl=ol;function sl(){const t=["initialData","data","3222136pOIiSC","15925959pGUtLl","690oImOQP","config","document","6652576NrCBBC","destroy","initPlugins","createRoot","editing","220155KxhSTB","7011186MtqMij","create","model","_ui","ready","view","sourceElement","4iInAnd","init","locale","updateSourceElement","131891zMxoyB","fire","get","11556RJIOeo"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=360]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(813630===-parseInt(e(367))/1*(parseInt(e(363))/2)+-parseInt(e(383))/3+parseInt(e(370))/4*(parseInt(e(375))/5)+parseInt(e(384))/6+parseInt(e(378))/7+parseInt(e(373))/8+-parseInt(e(374))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,Hi.ElementApiMixin)(Hi.Editor)){get ui(){return this[ol(387)]}constructor(t,e){const i=ol;super(e),this[i(362)]=t,this[i(386)][i(377)][i(381)]();const n=new nl(this[i(365)],this[i(382)][i(361)],{shouldToolbarGroupWhenFull:!0});this[i(387)]=new Ku(this,n)}[rl(379)](){const t=rl;return this[t(366)](),this.ui[t(379)](),super[t(379)]()}static async[rl(385)](t,e){const i=rl,n=new this(t,e);return await n[i(380)](),await n.ui[i(364)](t),await n[i(372)][i(364)](n[i(376)][i(369)](i(371))||""),n[i(368)](i(360)),n}}const cl=dl;function ul(){const t=["end","revisionHistory.editorContainer","from","includes","indexOf","save","RevisionHistory","92492XZSwEB","changesNavigation","_showRevisionViewer","revisionHistory.restoreRevisionCallback","isReady","296qzkmEk","detachRoot","result","style","fromVersion","users","push","Autosave","revisionHistory","enableReadOnlyMode","getRevisionRootsAttributes","revisionHistory.viewerContainer","display","$graveyard","fromCharCode","exitToEditing","revisionHistory.requireRevisionName","plugins","isPremiumPlugin","rootName","commands","adapter","getRevisions","createdAt","block","Annotations","toLocaleTimeString","editor","data","update","bind","define","_getRevisionViewerEditorConfig","_recalculatePageBreaks","addRoot","25ZNDwaE","isEnabled","RevisionTracker","RevisionViewerIntegration","has","revision-history-viewer-opened","RestrictedEditingMode","isReadOnly","21936673uQDHfm","map","toolbar","_cleanUp","restoreRevision","init","selection","setAttribute","refreshPositioning","catch","_restoreRevision","restrictedEditingException","document","getAttributeKeys","_update","closeRevisionViewerCallback","_enhanceCloseRevisionViewerCallback","change","roots","removeMarker","isAttached","repository","removeSelectionAttribute","PaginationLookup","enqueueChange","toLocaleDateString","addRevisionData","disableReadOnlyMode","then","insert","error","requires","getUser","RevisionHistoryUI","9044536DWSfwn","isOpen","6154eczMtW","create","numeric","getRoot","11461590naexiX","_viewerEditor","get","join","destroy","10Jgqbvy","getRevisionData","hide","revision-history-missing-configuration","showRevisionViewerCallback","removeAttribute","name","translations","pluginName","revisionHistory.viewerEditorElement","revisionHistory.showRevisionViewerCallback","set","Dialog","Restored","toVersion","remove","_enhanceShowRevisionViewerCallback","long","addUser","createRangeIn","config","165345iscXZX","setSelection","7zewmMi","markers","toJSON","saveRevision","locale","isAnonymous","creator","RevisionViewer","keys","1877898iXdOvU","revisionHistory.closeRevisionViewerCallback","getMarkersGroup","_closeRevisionViewer","model","uiLanguage","refreshVisibility","lazyRoots","RevisionsRepository","Users","getRevision","parse","none","isOfficialPlugin"];return(ul=function(){return t})()}!function(t){const e=dl,i=t();for(;;)try{if(688025===parseInt(e(527))/1*(-parseInt(e(448))/2)+-parseInt(e(557))/3+parseInt(e(589))/4*(parseInt(e(483))/5)+-parseInt(e(568))/6+parseInt(e(559))/7*(parseInt(e(525))/8)+-parseInt(e(531))/9+-parseInt(e(536))/10*(-parseInt(e(491))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const ll=[cl(524),cl(489)];class hl extends Hi.Plugin{static get[cl(544)](){return cl(486)}static get[cl(581)](){return!0}static get[cl(466)](){return!0}constructor(t){const e=cl;function i(t){const e=dl;return t[e(492)]((t=>String[e(462)](t)))[e(534)]("")}super(t),this[e(450)]=e(582),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function dl(t,e){const i=ul();return(dl=function(t,e){return i[t-=444]})(t,e)}class fl extends Hi.Plugin{static get[cl(544)](){return cl(588)}static get[cl(581)](){return!0}static get[cl(466)](){return!0}static get[cl(522)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(475)][i(556)][i(533)](i(456)))throw new t.CKEditorError(i(539),this);this[i(532)]=null,this[i(475)][i(556)][i(479)](i(546),(t=>this[i(445)]({...t,translations:this[i(475)][i(563)][i(543)]}))),this[i(475)][i(556)][i(479)](i(569),(t=>this[i(571)](t))),this[i(475)][i(556)][i(479)](i(446),(t=>this[i(501)](t))),this[i(475)][i(556)][i(479)](i(464),!1),this[i(552)](),this[i(507)]()}set[cl(469)](t){const e=cl;this[e(475)][e(465)][e(533)](e(485))[e(469)]=t}get[cl(469)](){const t=cl;return this[t(475)][t(465)][t(533)](t(485))[t(469)]}[cl(517)](t){const e=cl;return this[e(475)][e(465)][e(533)](e(485))[e(517)](t)}[cl(578)](t){const e=cl;return this[e(475)][e(465)][e(533)](e(576))[e(578)](t)}[cl(470)](t){const e=cl;return this[e(475)][e(465)][e(533)](e(576))[e(470)](t||{toJSON:!1})}[cl(480)](){const e=cl,i=this[e(475)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(465)][e(533)](e(485)),s=i[e(465)][e(533)](e(577))[e(453)];return n[e(493)]=[e(463),e(495),e(444)],delete n[e(575)],n[e(465)][e(454)](hl,br,Lr,class extends Hi.Plugin{static get[e(522)](){return[br,e(577)]}[e(496)](){const n=e,o=this[n(475)][n(465)][n(533)](n(577));for(const t of s)t[n(564)]||o[n(523)](t.id)||o[n(554)](t);const a=r[n(512)][n(470)]();let c=null;const u=this[n(475)][n(465)][n(533)](n(566));u[n(469)]=r[n(469)],u[n(478)](n(484)).to(r),this[n(475)][n(468)][n(533)](n(495))[n(478)](n(484)).to(i,n(490),(t=>!t));for(const e of a){const i=null===e[n(565)];if(i&&e[n(550)]===e[n(452)])continue;const s=e[n(561)]();u[n(517)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(505)](s,o);else if(!o){const e=a[u(561)]();e.id=(0,t.uid)(),r[u(562)](e,a[u(550)])[u(519)]((t=>{c=t}))}}else e[u(505)](s,o)}))}}},Bu),n}[cl(552)](){const t=cl,e=this[t(475)][t(556)][t(533)](t(456))[t(540)];this[t(475)][t(556)][t(547)](t(546),(async()=>{const i=t;this[i(475)][i(457)](i(488));const n=this[i(475)][i(465)][i(533)](i(485));if(this[i(475)][i(465)][i(487)](i(455))){const t=this[i(475)][i(465)][i(533)](i(455));await t[i(587)]()}else await n[i(477)]();if(this[i(475)][i(465)][i(487)](i(514))&&this[i(475)][i(465)][i(533)](i(514))[i(481)](),this[i(475)][i(465)][i(487)](i(548))){const t=this[i(475)][i(465)][i(533)](i(548));t[i(526)]&&t[i(538)]()}const r=this[i(480)]();return e(r)[i(519)]((t=>{const e=i;return this[e(532)]=t,this[e(475)][e(465)][e(487)](e(473))&&this[e(475)][e(465)][e(533)](e(473))[e(574)](),t}))[i(500)]((t=>(console[i(521)](t),this[i(475)][i(518)](i(488)),null)))}))}[cl(507)](){const t=cl,e=this[t(475)][t(556)][t(533)](t(456))[t(506)];this[t(475)][t(556)][t(547)](t(569),(()=>(this[t(475)][t(465)][t(487)](t(514))&&this[t(475)][t(465)][t(533)](t(514))[t(481)](),this[t(532)][t(465)][t(533)](t(566))[t(494)](),e(this[t(532)])[t(519)]((()=>{const e=t;if(this[e(475)][e(518)](e(488)),this[e(532)]=null,this[e(475)][e(465)][e(487)](e(473))){const t=this[e(475)][e(465)][e(533)](e(473));t[e(574)](),t[e(499)]()}})))))}[cl(445)](t){const e=cl,i=this[e(475)][e(556)][e(533)](e(583)),n=this[e(475)][e(556)][e(533)](e(459)),r=this[e(475)][e(556)][e(533)](e(545));return al[e(528)](r,t)[e(519)]((t=>(n[e(451)][e(460)]=e(472),i[e(451)][e(460)]=e(580),t)))}[cl(571)](t){const e=cl,i=this[e(475)][e(556)][e(533)](e(583));return this[e(475)][e(556)][e(533)](e(459))[e(451)][e(460)]=e(580),i[e(451)][e(460)]="",t[e(535)]()}async[cl(501)](t){const e=cl,i=this[e(475)],n=this[e(532)][e(465)][e(533)](e(566)),r=i[e(465)][e(533)](e(485)),s=n[e(512)][e(578)](t);let o,a,c;try{o=await n[e(537)](s),a=await n[e(458)](s)}catch(t){return void console[e(521)](t)}i[e(572)][e(508)]((t=>{const n=e;for(const e of Array[n(584)](i[n(572)][n(560)][n(570)](n(502))))t[n(510)](e)})),n[e(447)]=!1,i[e(572)][e(515)]((t=>{const n=e;t[n(558)](null),t[n(513)](i[n(572)][n(503)][n(497)][n(504)]());const r=Object[n(567)](o);for(const e of i[n(572)][n(503)][n(509)])n(461)!=e[n(467)]&&e[n(511)]()&&!r[n(585)](e[n(467)])&&t[n(449)](e);for(const e of r){let r=i[n(572)][n(503)][n(530)](e);r&&r[n(511)]()||(r=t[n(482)](e));const s=a[e],c=Object[n(567)](s),u=o[e];for(const e of r[n(504)]())c[n(585)](e)||t[n(541)](e,r);for(const i of c)t[n(498)](i,a[e][i],r);t[n(551)](t[n(555)](r)),t[n(520)](i[n(476)][n(579)](u,r),r,0)}}));const u=Qi(i[e(563)],e(549));return c=s[e(542)]?-1==s[e(542)][e(586)](u)?u+": "+s[e(542)]:s[e(542)]:u+": "+s[e(471)][e(516)](i[e(563)][e(573)],{month:e(553),day:e(529)})+", "+s[e(471)][e(474)](i[e(563)][e(573)],{hour:e(529),minute:e(529)}),await r[e(562)]({name:c}),n[e(447)]=!0,i[e(556)][e(533)](e(456))[e(506)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=406]})(t,e)}function pl(){var t=["909912ztpVSu","235557GJqBXg","2982375NIabMV","310mkcAsW","2pdoaxT","3132789Celtzn","4eMGlYm","3572051ekpmMD","10772mJDqza","1535744HeYFCH"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(985276===-parseInt(e(410))/1*(parseInt(e(414))/2)+parseInt(e(411))/3+-parseInt(e(412))/4*(-parseInt(e(408))/5)+-parseInt(e(406))/6+parseInt(e(413))/7+-parseInt(e(415))/8+parseInt(e(407))/9*(-parseInt(e(409))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(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:calc(var(--ck-ui-component-min-height) + 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:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,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 E,D=(E=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";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,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: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 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,Et=Mt&&Mt.exports===Vt?k.Buffer:void 0;const Dt=(Et?Et.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,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):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=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 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]",Ee="[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(Ve),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Me||Ne&&Ue(Ne.resolve())!=Ee||Re&&Ue(new Re)!=De||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 Le:return Me;case Pe:return Ee;case ze:return De;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(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 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 Ei=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=Mi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(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=Mi(e,t)).length;null!=t&&i<n;)t=t[Ei(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=Mi(e,t),null==(t=Pi(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=Hi;function Zi(){const t=["36272AHLcsx","2580qPRhzr","_update","5xGbaIg","56881sYXfAc","2xNVuGl","attributes","530gGAyjx","authors","118081VcWoJQ","diffData","fire","5355330UAQDEk","1923848EnMptc","42FIaIAl","102591cIAaQV","authorsIds","removeAttribute","name","2131287KUACGR","toJSON","setAttribute","creator","fromVersion","toVersion","setName","map","createdAt","creatorId","set"];return(Zi=function(){return t})()}function Hi(t,e){const i=Zi();return(Hi=function(t,e){return i[t-=164]})(t,e)}!function(t){const e=Hi,i=t();for(;;)try{if(448605===parseInt(e(180))/1*(-parseInt(e(176))/2)+-parseInt(e(190))/3+-parseInt(e(184))/4*(-parseInt(e(174))/5)+-parseInt(e(183))/6+parseInt(e(185))/7*(-parseInt(e(171))/8)+parseInt(e(186))/9*(parseInt(e(178))/10)+-parseInt(e(175))/11*(-parseInt(e(172))/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(193)]=e[i(193)]||null,this[i(179)]=e[i(179)]||[],this[i(181)]=e[i(181)]||null,this[i(165)]=e[i(165)]||0,this[i(164)]=e[i(164)]||0,this[i(170)](i(189),e[i(189)]||""),this[i(170)](i(168),e[i(168)]||new Date),this[i(170)](i(177),e[i(177)]||{})}[Ui(166)](t){this[Ui(173)]({name:t})}[Ui(192)](t,e){const i=Ui,n=vi(this[i(177)]);Ci(n,t,e),this[i(173)]({attributes:n})}[Ui(188)](t){const e=Ui,i=vi(this[e(177)]);Wi(i,t),this[e(173)]({attributes:i})}[Ui(173)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(189),i(168),i(181),i(179),i(177),i(165),i(164),i(169)];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(179)]&&(r[i(187)]=r[i(179)][i(167)]((t=>t.id)),delete r[i(179)]),this[i(182)](i(173),r,e))}[Ui(191)](){const t=Ui;return{id:this.id,name:this[t(189)],creatorId:this[t(193)]?this[t(193)].id:null,authorsIds:this[t(179)][t(167)]((t=>t.id)),diffData:this[t(181)],createdAt:this[t(168)],attributes:this[t(177)],fromVersion:this[t(164)],toVersion:this[t(165)]}}}var qi=i(782),Bi=i(211),Yi=i(783);function Ji(){const t=["requires","later","createdAt","156762akYlCZ","20382BvxppO","editor","2265815nJicTU","365236GJhFct","get","fromVersion","60xDEBWs","fromCharCode","authorsIds","1699329XZaDqW","afterInit","RevisionsRepository","getUser","creatorId","getRevisions","push","pluginName","earlier","getLaterVisibleRevision","oldRevisionId","getIndex","join","_revisions","getEarlierVisibleRevision","isNaN","reverse","7736504TCVrlr","plugins","toVersion","1426599ucDeod","name","Users","addRevision","getRevision","length","diffData","getRevisionsInDiff","data","createRevision","isPremiumPlugin","from","newRevisionId","getRevisionsIterator","add","toJSON","attributes","2odGuVH","map","1197bOHdQN","isOfficialPlugin","href"];return(Ji=function(){return t})()}const Gi=Ki;function Ki(t,e){const i=Ji();return(Ki=function(t,e){return i[t-=177]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(488175===parseInt(e(192))/1+-parseInt(e(184))/2*(-parseInt(e(202))/3)+-parseInt(e(196))/4+parseInt(e(195))/5+parseInt(e(193))/6*(-parseInt(e(186))/7)+-parseInt(e(219))/8+parseInt(e(222))/9*(parseInt(e(199))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ji);class Qi extends qi.Plugin{static get[Gi(189)](){return[Bi.Users]}static get[Gi(209)](){return Gi(204)}static get[Gi(187)](){return!0}static get[Gi(177)](){return!0}get[Gi(227)](){const t=Gi;return this[t(215)][t(227)]}constructor(e){const i=Gi;super(e),this[i(215)]=new t.Collection}[Gi(203)](){!async function(e){const i=k([101,82,115,49,84,116,72,65,87,103,99,68,119,114,77,86,106,78,105,83,120,71,88,75,118,89,74,56,110,109,117,50,70,104,81,53,52,111,121,55,113,100,107,66,90,85,98,122,76,54,51,80,97,102,112,73,79,57,108,67,69,48]),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=Ki;for(const e in window)if(window[k([78,117,109,98,101,114])][i(217)](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([101]);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=Ki;return t[e(185)]((t=>String[e(200)](t)))[e(214)]("")}!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:1737590400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ki,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(188)]);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]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([100,101,118,101,108,111,112,109,101,110,116])&&(i=u(k([68,101,118,101,108,111,112,109,101,110,116,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)}[Gi(231)](t){const e=Gi,i=this[e(194)][e(220)][e(197)](e(224));return new $i({id:t.id,name:t[e(223)],creator:t[e(206)]?i[e(205)](t[e(206)]):null,diffData:t[e(228)]||t[e(230)],authors:t[e(201)][e(185)]((t=>i[e(205)](t))),createdAt:new Date(t[e(191)]),attributes:t[e(183)],fromVersion:t[e(198)],toVersion:t[e(221)]})}[Gi(225)](t,e=0){const i=Gi;this[i(215)][i(181)](t,e)}[Gi(226)](t){const e=Gi;return this[e(215)][e(197)](t)}[Gi(207)](t={toJSON:!1}){const e=Gi,i=Array[e(178)](this[e(215)]);return i[e(218)](),t[e(182)]?i[e(185)]((t=>t[e(182)]())):i}[Gi(213)](t){const e=Gi;return this[e(215)][e(213)](t)}[Gi(216)](t){const e=Gi,[,i]=this[e(180)](t,{direction:e(210)});return i}[Gi(211)](t){const e=Gi,[,i]=this[e(180)](t,{direction:e(190)});return i}[Gi(229)](t){const e=Gi,i=[];for(const n of this[e(180)](t[e(179)]))if(i[e(208)](n),n.id===t[e(212)])break;return i}*[Gi(180)](t,{direction:e=Gi(210),filter:i=()=>!0}={}){const n=Gi,r=n(210)===e?1:-1;let s=this[n(215)][n(197)](t),o=this[n(213)](s);for(yield s;s;){if(o+=r,s=this[n(226)](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&&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)};function _n(t,e){const i=On();return(_n=function(t,e){return i[t-=319]})(t,e)}const In=_n;!function(t){const e=_n,i=t();for(;;)try{if(473286===-parseInt(e(575))/1*(parseInt(e(435))/2)+-parseInt(e(321))/3+parseInt(e(600))/4+-parseInt(e(451))/5*(parseInt(e(608))/6)+-parseInt(e(480))/7*(-parseInt(e(570))/8)+-parseInt(e(571))/9+-parseInt(e(612))/10*(-parseInt(e(384))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(On);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};function On(){const t=["_getViewJson","_diffRootsAttributes","_bufferUpdate","isEnabled","reinsert","parse","clear","parent","getCurrentRevisionId","revision-start","domainLimit","revisionHistoryLicenseKeyUsageLimit","_continueCurrentRevision","path","getNodeByPath","fromVersion","item","attributesBefore","_fixRange","history","createdAt","finally","isEqual","roots","editor","init","Initial revision","licenseKey","find","_setAttribute","revision","_bufferedUpdates","_cloneOperation","editor-initial-data-replaced-with-revision-data","_handleOperation","elementEnd","RevisionTracker","deletions","getTransformedByOperation","model","usageLimit","string","length","_createInitialRevision","detachRoot","reInit","offsetSize","slice","hasContent","621722AOHsAR","nodes","tableCell","getRoot","removeRootAttribute","markerToData","get","end","RealTimeCollaborationClient","_copyMarkers","deletion","saveRevision","addRoot","developmentLimit","keys","getOperation","100yZQKeF","paragraph","plugins","_createFromRanges","insert","_applyOperations","_makeRevision","key","getMovedRangeStart","has","$graveyard","position","howMany","_getState","getData","trim","isPremiumPlugin","diffData","collaboration.channelId","insertionPosition","_generateTape","_fixPosition","_makeIdsRoot","stickiness","createRevision","revisionHistoryLicenseKeyInvalid","_getFromVersion","createPositionFromPath","_insertChild","129339WgsSYR","RevisionHistory","bind","revisionHistoryLicenseKeyNotAllowed","_handleRootOperation","_baseIdsRoots","move","_getPreviousFrom","dataToMarker","newRange","data","children","_loadRevisionData","isAdd","revisionHistoryLicenseKeyExpired","afterInit","_handleInsertOperation","vid_end","insertion","addRootAttribute","getRootNames","fromEntries","_savedMetaData","getTime","authorsIds","_calculateMetaData","getRevisionRootsAttributes","getIndex","evaluationLimit","_licenseKeyCheckInterval","delete","_removePendingAction","locale","createPositionAt","vid","stringify","getLatestVersion","shift","isReady","currentRevision","some","attributesAfter","getChild","documentFragment","isAttached","_pendingAction","_handleMoveOperation","_makeModelFromViewString","targetPosition","_diffRoots","_clone","initialData","includes","toModel","_revisionId","splitPosition","getChildren","repository","revisionHistoryLicenseKeyTrialLimit","PENDING_ACTION_REVISION_HISTORY","_loadedStateData","requires","isOfficialPlugin","getOperations","_touchedMarkers","creator","childCount","NEGATIVE_INFINITY","_markers","text","element","_startingRevisionId","_touchedRoots","_initialRevisionId","_handleMarkerOperation","size","editing","buildRevisionData","processor","from","_baseRootsAttributes","add","data-revision-","$text","addRevisionData","_removeMetaData","sort","_operations","marker","_baseRoots","232YyzLJy","262566ckSicP","markers","config","offset","3siPxDZ","_createCurrentRevision","_source","getRevisionDocumentData","range","previousPosition","then","_loadState","createRangeIn","_authorId","resolve","featureNotAllowed","attachChange","keepParagraph","_idsRoots","elementStart","trialLimit","pluginName","rootsAttributes","vid_start","getRevision","_findInsertionIndex","revisionHistoryLicenseKeyEvaluationLimit","values","getAncestors","2903512AlcuIn","_getVidAttributeName","oldRange","for","type","_prepareViewToSave","conversion","push","179418AlnfzQ","creatorId","_isPendingUpdate","merge","30xMRsep","_lastTo","createRange","getRange","define","dataDowncast","loadState","_appendChild","split","revision-end","updateRevisions","adapter","revisionHistory.resumeUnsavedRevision","toVersion","version","marked","changeRootAttribute","_transformMarkers","_handleSplitOperation","useFillerType","ready","_replaceEditorDataWithRevisionData","_reset","getUser","_update","_startingVersion","getAttributes","_handleRootAttributeOperation","RevisionsRepository","createPositionBefore","_lastFrom","_processRootBeforeSave","userId","1568919ZVZKbs","nodeAfter","document","_getBaseVids","getWalker","root","_revisionDataBuilder","_showLicenseError","set","_markChanges","baseVersion","Empty document","_handleMergeOperation","startsWith","sendBufferedUpdates","_fixOperation","view","default","revisionHistoryLicenseKeyValid","revisionHistoryLicenseKeyDevelopmentLimit","authors","rootName","_setConversion","initial","upcast","clone","getRevisions","name","getAttribute","forEach","setRevisionData","setSource","source","expired","filter","_execute","toData","newValue","sourcePosition","PendingActions","update","start","destroy","max","revision:","toView","remove","Users","revisionHistoryLicenseKeyDomainLimit","createPositionAfter","_removeRevisionMarkers","map","_isAttached","addRevision","_isInit","_saveMetaData","attributes","reverse","graveyardPosition","affectsData","invalid","insertions","_touched","4746005ePYYfY","_addPendingAction"];return(On=function(){return t})()}class xn extends qi.Plugin{static get[In(592)](){return In(422)}static get[In(542)](){return!0}static get[In(467)](){return!0}static get[In(541)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=In;super(e),this[i(623)]=null,this[i(519)]=null,this[i(327)]=new An(this[i(410)]),this[i(553)]=this[i(410)][i(573)][i(441)](i(469))||i(344),this[i(417)]=new Map,this[i(540)]=null;const n=(0,t.uid)();this[i(577)]={history:this[i(410)][i(425)][i(323)][i(405)],getLatestVersion:()=>Promise[i(585)](this[i(410)][i(425)][i(323)][i(626)]),getCurrentRevisionId:()=>n},this[i(329)](i(518),!1),this[i(329)](i(389),!0),this[i(329)](i(610),!1),this[i(410)][i(573)][i(616)](i(624),!0),this[i(410)][i(606)][i(603)](i(345))[i(488)]({view:i(416)})}[In(411)](){const t=In;this[t(537)]=this[t(410)][t(453)][t(441)](t(640)),this[t(343)](),this[t(410)][t(490)].on(t(632),(()=>{const e=t,i=this[e(537)][e(595)](0),n=i&&null===i[e(545)]?i:null;if(this[e(398)]=!!n&&this[e(410)][e(573)][e(441)](e(624)),this[e(410)][e(453)][e(460)](e(443))){const t=this[e(577)][e(394)](),r=this[e(537)][e(595)](t);if(r)this[e(637)]=r[e(401)],this[e(398)]=!1;else{const t=this[e(577)][e(405)][e(567)][e(414)]((t=>!t[e(375)])),r=t?t[e(331)]:this[e(577)][e(405)][e(626)];i?(i[e(625)]<r&&i[e(636)]({toVersion:r}),this[e(398)]?(this[e(577)][e(394)]=()=>n.id,this[e(637)]=n[e(401)]):(this[e(637)]=i[e(625)],this[e(398)]=!1)):(this[e(637)]=r,this[e(398)]=!1)}}else n&&(this[e(410)][e(425)][e(323)][e(405)][e(626)]=Math[e(364)](n[e(625)],this[e(410)][e(425)][e(323)][e(405)][e(626)]),n[e(401)]===n[e(625)]?(0!==n[e(401)]&&(this[e(577)][e(394)]=()=>n.id),this[e(398)]=!1):this[e(398)]&&(this[e(577)][e(394)]=()=>n.id,this[e(637)]=n[e(401)])),this[e(398)]||(this[e(637)]=this[e(410)][e(425)][e(323)][e(626)]);this[e(327)][e(411)](this[e(577)][e(405)]),this[e(429)](this[e(637)]),this[e(576)](this[e(637)]),this[e(623)]&&this[e(335)]()})),this[t(482)](t(518)).to(this,t(610),(t=>!t)),this[t(413)]=this[t(410)][t(573)][t(441)](t(413));const e=this[t(410)];this[t(509)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(339)==s||i(476)==s||i(494)==s||i(369)==s||i(483)==s||i(597)==s||i(538)==s||i(340)==s||i(397)==s){delete e[r],n=s,clearInterval(this[i(509)]),this[i(509)]=void 0;break}}i(476)==n&&e[i(328)](i(381)),i(494)==n&&e[i(328)](i(354)),i(369)==n&&e[i(328)](i(396)),i(483)==n&&e[i(328)](i(586),i(481)),i(597)==n&&e[i(328)](i(508)),i(538)==n&&e[i(328)](i(591)),i(340)==n&&e[i(328)](i(448)),i(397)==n&&e[i(328)](i(426))}),1e3)}async[In(495)](){const t=In;if(this[t(537)][t(428)]>0){const e=this[t(537)][t(595)](0),i=await this[t(578)](e),n=await this[t(506)](e);this[t(633)](i,n)}}[In(363)](){const t=In;super[t(363)](),this[t(509)]&&clearInterval(this[t(509)])}[In(352)](t){this[In(577)]=t}async[In(361)](){const t=In,e=await this[t(577)][t(516)]();if(e>this[t(519)][t(625)]){await this[t(582)]();const i=this[t(557)]({revision:this[t(519)],to:e});i[t(341)]=i[t(504)][t(372)]((e=>this[t(410)][t(453)][t(441)](t(368))[t(635)](e))),this[t(519)][t(636)](i)}}async[In(582)](){const t=In;this[t(398)]&&!this[t(540)]&&(await this[t(492)](this[t(519)]),this[t(327)][t(618)](this[t(519)]),this[t(540)]={fromVersion:this[t(519)][t(401)],authors:this[t(519)][t(341)][t(433)]()})}async[In(446)](e={},i=null){const n=In,r=[];await this[n(582)](),this[n(398)]=!1,i>this[n(519)][n(625)]&&(i=null),null===i&&(i=await this[n(577)][n(516)]());const s=this[n(477)](i),o=this[n(557)]({from:s,to:i});if(this[n(519)][n(625)]<i){const t=this[n(557)]({revision:this[n(519)],from:i,to:i});t[n(341)]=[],t[n(504)]=[],t.id=this[n(519)].id,this[n(519)][n(636)](t,!0),delete t[n(341)],r[n(607)](t)}e[n(609)]=this[n(410)][n(453)][n(441)](n(368)).me.id,e[n(348)]=e[n(348)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(564)](e);r[n(607)](e);const c=this[n(537)][n(507)](a);if(0!==c){const t=this[n(537)][n(595)](c-1);if(t[n(401)]!==i){const s=this[n(327)][n(465)](i,t[n(625)]),o={id:t.id,diffData:s[n(468)],authorsIds:s[n(504)],authors:s[n(504)][n(372)]((t=>this[n(410)][n(453)][n(441)](n(368))[n(635)](t))),fromVersion:i};t===this[n(519)]&&(o[n(406)]=new Date(e[n(406)][n(503)]()+10)),t[n(636)](o,!0),delete o[n(341)],r[n(607)](o)}}if(this[n(623)]){for(const t of r)this[n(388)](t.id,t,!0);this[n(335)]()}return a}[In(564)](t){const e=In,i=this[e(537)][e(475)](t);return this[e(623)]&&i.on(e(636),((t,i,n)=>{const r=e;n||(this[r(388)](i.id,i,!0),this[r(335)]())})),this[e(537)][e(374)](i,this[e(596)](i)),i}async[In(578)](t){const e=In;await this[e(492)](t);const i={};for(const n in t[e(468)]){if(t[e(468)][n][e(587)]&&!t[e(468)][n][e(587)][e(524)])continue;const r=this[e(371)](JSON[e(391)](t[e(468)][n][e(382)])),s=this[e(410)][e(556)][e(337)][e(323)],o=new Yi.ViewDocumentFragment(s,r[e(372)]((t=>Tn(t,this[e(410)]))));this[e(410)][e(490)][e(558)][e(631)](e(627)),i[n]=this[e(410)][e(490)][e(558)][e(357)](o),this[e(410)][e(490)][e(558)][e(631)](e(338))}return i}async[In(506)](t){const e=In;await this[e(492)](t);const i={};for(const n in t[e(468)])t[e(468)][n][e(587)]&&!t[e(468)][n][e(587)][e(524)]||(i[n]=t[e(468)][n][e(521)]||{});return i}[In(335)](){const t=In;if(0===this[t(417)][t(555)])return;if(this[t(610)])return;let e=Array[t(559)](this[t(417)][t(598)]());this[t(417)][t(392)]();for(let i=0;i<e[t(428)];i++){const n=e[i];let r=!1;for(const e of Object[t(449)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(355)]((t=>null!==t)),!e[t(428)])return;for(let i=0;i<e[t(428)];i++){const n=e[i];void 0!==n[t(401)]&&void 0===n[t(625)]&&(n[t(625)]=this[t(537)][t(595)](n.id)[t(625)]),void 0!==n[t(625)]&&void 0===n[t(401)]&&(n[t(401)]=this[t(537)][t(595)](n.id)[t(401)])}const i=this[t(410)][t(573)][t(441)](t(469));this[t(610)]=!0,this[t(385)](),this[t(623)][t(622)](e,i)[t(407)]((()=>{this[t(610)]=!1}))[t(581)]((e=>{const i=t;if(e)for(const t of e)this[i(351)]({id:t.id,createdAt:t[i(406)]});this[i(511)](),this[i(335)]()}))}[In(633)](e,i){const n=In;let r=this[n(410)][n(573)][n(441)](n(531)),s=this[n(410)][n(573)][n(441)](n(593));if(void 0===r){r={};for(const t of this[n(410)][n(425)][n(323)][n(500)]())r[t]=""}if(n(427)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(410)][n(425)][n(323)][n(500)]())s[t]={}}let o=!1;const a=Object[n(449)](r),c=Object[n(449)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(466)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(449)](s[t])[n(428)]>0){o=!0;break}}o||(o=c[n(520)]((t=>!this[n(410)][n(425)][n(323)][n(438)](t)))),o&&(0,t.logWarning)(n(419),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(410)][n(573)][n(329)](n(531),e),this[n(410)][n(573)][n(329)](n(593),i)}[In(385)](){const t=In;if(!this[t(525)]){const e=this[t(410)][t(453)][t(441)](t(360));this[t(525)]=e[t(561)](Xi(this[t(410)][t(512)],t(539)))}}[In(511)](){const t=In;this[t(525)]&&(this[t(410)][t(453)][t(441)](t(360))[t(367)](this[t(525)]),this[t(525)]=null)}[In(596)](t){const e=In,i=this[e(537)][e(347)]();i[e(378)]();let n=0;for(;n<i[e(428)];){const r=i[n];if(r===this[e(519)]){n++;continue}if(r.id===this[e(553)])break;const s=t[e(625)]-r[e(625)]||t[e(401)]-r[e(401)];if(s>0)break;if(s<0)n++;else{if(!t[e(545)]&&r[e(545)])break;if(r[e(545)]||!t[e(545)]){if(t[e(406)]>r[e(406)])break;n++}else n++}}return n}[In(351)](t){const e=In,i=this[e(537)][e(595)](t.id);if(t[e(406)]&&(t[e(406)]=new Date(t[e(406)])),t[e(504)]){const i=this[e(410)][e(453)][e(441)](e(368));t[e(341)]=t[e(504)][e(372)]((t=>i[e(635)](t)))}i[e(636)](t,!0)}[In(557)]({revision:t=null,from:e=null,to:i=null}){const n=In;e=null!==e?e:t[n(401)],i=null!==i?i:t[n(625)];const r=this[n(327)][n(465)](e,i),s={diffData:r[n(468)],authorsIds:r[n(504)],fromVersion:e,toVersion:i};if(!t||i!==t[n(625)]){const t=i-1,e=this[n(577)][n(405)][n(450)](t);s[n(406)]=e&&e[n(406)]||new Date}if(this[n(540)]&&e===this[n(540)][n(401)])for(const t of this[n(540)][n(341)])s[n(504)][n(532)](t.id)||s[n(504)][n(607)](t.id);return s}[In(492)](t){const e=In;if(!t||t[e(468)])return Promise[e(585)]();{const i=this[e(410)][e(573)][e(441)](e(469));return this[e(623)][e(595)]({channelId:i,revisionId:t.id})[e(581)]((i=>{const n=e;t[n(468)]=i[n(468)]}))}}[In(388)](t,e,i){const n=In;if(this[n(417)][n(460)](t)){const r=this[n(417)][n(441)](t);e=i?{...r,...e}:{...e,...r}}this[n(417)][n(329)](t,e)}[In(477)](t){const e=In,i=this[e(537)][e(347)]();i[e(378)](),i[e(517)]();const n=i[e(414)]((i=>i[e(625)]<=t))[e(625)];return n<this[e(637)]?this[e(637)]:n}[In(429)](t){const e=In,i=this[e(537)][e(595)](this[e(537)][e(428)]-1);if(i)this[e(553)]=i.id;else{const i=!this[e(410)][e(425)][e(323)][e(409)][e(414)]((t=>this[e(410)][e(425)][e(434)](t))),n=this[e(410)][e(453)][e(441)](e(368)).me.id,r=Xi(this[e(410)][e(512)],e(i?332:412));this[e(457)]({from:t,to:t,id:this[e(553)],name:r,creatorId:n})}}[In(576)](t){const e=In,i=this[e(577)][e(394)]();this[e(519)]=this[e(537)][e(595)](i),this[e(519)]||(this[e(519)]=this[e(457)]({from:t,to:t,id:i,name:"",creatorId:null}))}[In(457)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=In,o=this[s(557)]({from:e,to:i});o[s(348)]=t,o[s(609)]=n,o.id=r;const a=this[s(564)](o);return this[s(623)]&&this[s(388)](o.id,o,!0),a}[In(343)](){const t=In;this[t(410)][t(606)][t(603)](t(617))[t(440)]({model:t(416)})}[In(371)](t){const e=In;return(t=t[e(355)]((t=>!t[e(348)]||e(395)!==t[e(348)]&&e(621)!==t[e(348)])))[e(350)]((t=>{const i=e;i(427)!=typeof t&&(t[i(491)]=this[i(371)](t[i(491)]),t[i(377)]=t[i(377)][i(355)]((t=>!t[0][i(334)](i(562)))))})),t}}function Tn(t,e){const i=In,n=e[i(556)][i(337)][i(323)];if(i(427)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(491)][i(372)]((t=>Tn(t,e)));return new(Sn[t[i(604)]]||Yi.ViewElement)(n,t[i(348)],t[i(377)],r)}}class An{constructor(t){const e=In;this[e(410)]=t,this[e(502)]=new Map,this[e(642)]=-1,this[e(613)]=-1,this[e(548)]=new Map,this[e(529)]=new Map,this[e(387)]=new Map,this[e(569)]=new Map,this[e(560)]=new Map,this[e(589)]=new Map,this[e(485)]=new Map,this[e(383)]=new Map,this[e(544)]=new Map,this[e(552)]=new Map,this[e(534)]=1}[In(411)](t){const e=In;this[e(353)]=t;const i=new Map,n=new Map,r=this[e(410)][e(425)][e(323)][e(409)][e(372)]((t=>t[e(342)]));for(const t of r){const r=this[e(410)][e(425)][e(323)][e(438)](t),s=Nn(r);i[e(329)](t,s),n[e(329)](t,Object[e(501)](r[e(638)]()))}const s=Array[e(559)](this[e(410)][e(425)][e(572)])[e(372)]((t=>[t[e(348)],t[e(615)]()])),o=this[e(353)][e(626)];this[e(376)](o,i,s,n),this[e(551)]=this[e(534)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(329)](t,i),c[e(329)](t,{})}this[e(376)](Number[e(547)],a,[],c)}[In(465)](t,e){const i=In;if(this[i(642)]===t&&this[i(613)]<=e)this[i(502)][i(555)]>1&&this[i(565)](this[i(613)]),this[i(456)](this[i(613)],e,!0);else{if(!this[i(502)][i(460)](t)){const e=this[i(487)](t);this[i(505)](e,t,!1)}this[i(505)](t,e,!0)}return this[i(642)]=t,this[i(613)]=e,this[i(464)]()}[In(618)](t){const e=In;this[e(634)](),this[e(642)]=t[e(401)],this[e(613)]=t[e(625)];for(const i in t[e(468)]){const n=t[e(468)][i][e(587)],r=vi(t[e(468)][i][e(403)])||{},s=this[e(527)](t[e(468)][i][e(423)]);s[e(342)]=i,s[e(373)]=!n||!n[e(524)],s[e(524)]=()=>s[e(373)],this[e(569)][e(329)](i,s),this[e(560)][e(329)](i,r),n&&this[e(552)][e(329)](i,n);const o=this[e(473)](s);this[e(485)][e(329)](i,o);for(const[t,i]of s[e(572)]){if(!t[e(334)](e(365)))continue;const n=t[e(620)](":")[2];for(const t of i[e(325)]({singleCharacters:!0})){const i=this[e(601)](t),r=e(421)==t[e(604)]?t[e(580)][e(399)][e(433)](0,-1):t[e(580)][e(399)],s=o[e(400)](r)[e(349)](i);this[e(383)][e(329)](s,{userId:n})}}}this[e(551)]=this[e(534)];const i=[...Array(this[e(534)])[e(449)]()][e(433)](1)[e(355)]((t=>!this[e(383)][e(460)](t)));let n=0;const r=new Map;for(const s in t[e(468)]){const o=t[e(468)][s][e(587)],a=vi(t[e(468)][s][e(521)])||{},c=this[e(527)](t[e(468)][s][e(382)]);c[e(342)]=s,c[e(373)]=!o||o[e(524)],c[e(524)]=()=>c[e(373)],this[e(529)][e(329)](s,c),this[e(387)][e(329)](s,a);const u=this[e(473)](c,Number[e(547)]);this[e(589)][e(329)](s,u),r[e(329)](s,c[e(524)]()?a:{});for(const[t,i]of c[e(572)]){if(!t[e(334)](e(365)))continue;const n=t[e(620)](":")[2];for(const t of i[e(325)]({singleCharacters:!0})){const i=this[e(601)](t),r=this[e(534)]++,s=e(421)==t[e(604)]?t[e(580)][e(399)][e(433)](0,-1):t[e(580)][e(399)];u[e(400)](s)[e(415)](i,r),this[e(383)][e(329)](r,{userId:n})}}for(const t of this[e(410)][e(425)][e(583)](c)[e(325)]({singleCharacters:!0})){const r=this[e(601)](t),s=e(421)==t[e(604)]?t[e(580)][e(399)][e(433)](0,-1):t[e(580)][e(399)],o=u[e(400)](s);o[e(349)](r)>0||o[e(415)](r,i[n++])}for(const[t,i]of c[e(572)])t[e(334)](e(365))||this[e(548)][e(329)](t,i)}const s=Rn(e(461));this[e(569)][e(329)](e(461),s),this[e(485)][e(329)](e(461),this[e(473)](s,1));const o=Rn(e(461));this[e(529)][e(329)](e(461),o),this[e(589)][e(329)](e(461),this[e(473)](o,1));const a=Array[e(559)](this[e(529)])[e(372)]((([t,e])=>[t,Nn(e)]));this[e(376)](this[e(613)],a,this[e(548)],r)}[In(527)](t){const e=In,i=JSON[e(391)](t),n=this[e(410)][e(556)][e(337)][e(323)],r=new Yi.ViewDocumentFragment(n,i[e(372)]((t=>Tn(t,this[e(410)]))));return this[e(410)][e(490)][e(533)](r)}[In(376)](t,e,i,n){const r=In,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(329)](t,{start:e[r(362)][r(346)](),end:e[r(442)][r(346)](),rootName:e[r(326)][r(342)]});this[r(502)][r(329)](t,{roots:s,markers:a,rootsAttributes:o})}[In(565)](t){const e=In;this[e(502)][e(510)](t)}[In(431)](){const t=In;this[t(634)](),this[t(642)]=-1,this[t(613)]=-1,this[t(502)][t(392)](),this[t(411)](this[t(353)])}[In(634)](){const t=In;this[t(383)][t(392)](),this[t(544)][t(392)](),this[t(552)][t(392)](),this[t(529)][t(392)](),this[t(387)][t(392)](),this[t(569)][t(392)](),this[t(560)][t(392)](),this[t(589)][t(392)](),this[t(485)][t(392)](),this[t(548)][t(392)](),this[t(534)]=1,this[t(551)]=this[t(534)]}[In(473)](t,e=null){const i=In;let n=null;t.is(i(523))||(n=new Yi.Element(t[i(348)],{vid_start:null===e?this[i(534)]++:e++}));const r=[];for(const n of t[i(536)]())if(n.is(i(550))){r[i(607)](this[i(473)](n,e));const t=r[r[i(428)]-1];null!==e&&(e=t.is(i(550),i(563))?t[i(349)](i(514))+1:t[i(349)](i(497))+1)}else for(let t=0;t<n[i(432)];t++)r[i(607)](new Yi.Element(i(563),{vid:null===e?this[i(534)]++:e++}));if(t.is(i(523))){const e=Rn(t[i(342)]);return e[i(479)](0,r),e}return n[i(415)](i(497),null===e?this[i(534)]++:e++),n[i(479)](0,r),n}[In(505)](t,e,i){const n=In;this[n(634)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(502)][n(441)](t);this[n(569)]=new Map(r),this[n(560)]=new Map(vi(o));for(const[t,e]of this[n(569)])if(n(461)!==t&&(this[n(529)][n(329)](t,Nn(e)),this[n(387)]=new Map(vi(o)),i)){const i=this[n(534)];this[n(589)][n(329)](t,this[n(473)](e)),this[n(485)][n(329)](t,this[n(473)](e,i))}this[n(551)]=this[n(534)],this[n(529)][n(329)](n(461),Nn(this[n(569)][n(441)](n(461)))),i&&this[n(589)][n(329)](n(461),this[n(473)](this[n(569)][n(441)](n(461))));for(const[t,e]of s){const i=this[n(569)][n(441)](e[n(342)]),r=this[n(529)][n(441)](e[n(342)]),s=new Yi.Range(this[n(472)](e[n(362)],i),this[n(472)](e[n(442)],i)),o=this[n(404)](s,r);i[n(572)][n(329)](t,s),this[n(548)][n(329)](t,o)}this[n(456)](t,e,i)}[In(456)](t,e,i){const n=In;for(const r of this[n(353)][n(543)](t,e))this[n(420)](r,i);for(const t of this[n(529)][n(598)]())t[n(572)][n(392)]();for(const[t,e]of this[n(548)])this[n(529)][n(441)](e[n(326)][n(342)])[n(572)][n(329)](t,e[n(346)]());const r=new Map,s=new Map;for(const[t,e]of this[n(529)])r[n(329)](t,Nn(e)),s[n(329)](t,this[n(387)][n(441)](t));this[n(376)](e,r,this[n(548)],s)}[In(487)](t){const e=In,i=Array[e(559)](this[e(502)][e(449)]());i[e(566)](((t,e)=>t-e)),i[e(378)]();for(const e of i)if(e<t)return e;return Number[e(547)]}[In(444)](t,e){const i=In,n=Array[i(559)](e[i(572)])[i(372)]((([e,n])=>[e,this[i(404)](n,t)]));t[i(572)]=new Map(n)}[In(629)](t){const e=In;for(const i of this[e(548)][e(598)]()){const n=i[e(424)](t),r=Yi.Range[e(454)](n);i[e(362)]=r[e(362)],i[e(442)]=r[e(442)]}}[In(420)](t,e){const i=In;if(i(447)!=t[i(604)]&&i(430)!=t[i(604)]){if(i(455)==t[i(604)]){const n=t[i(462)][i(326)][i(342)];this[i(529)][i(460)](n)||(this[i(529)][i(329)](n,Rn(n,!0)),this[i(387)][i(329)](n,{}),e&&this[i(589)][i(329)](n,Rn(n,!0)))}else{if(i(499)==t[i(604)]||i(439)==t[i(604)]||i(628)==t[i(604)])return void this[i(639)](t);i(568)==t[i(604)]&&this[i(554)](t)}if(i(568)!==t[i(604)]){const e=this[i(418)](t,this[i(529)]);e[i(356)](),this[i(629)](e)}if(e)switch(t[i(604)]){case i(455):this[i(496)](t);break;case i(486):case i(367):case i(390):this[i(526)](t);break;case i(611):this[i(333)](t);break;case i(620):this[i(630)](t)}}else this[i(484)](t,e)}[In(418)](t,e){const i=In,n=t[i(346)]();return n[i(584)]=t[i(584)],this[i(336)](n,e),n}[In(324)](t){const e=In;return t[e(372)]((t=>{const i=e,n=this[i(601)](t);return Number(t[i(402)][i(349)](n))}))}[In(471)](t,e){const i=In;if(t.is(i(550),i(563)))e[i(607)]({item:t,type:i(549)});else{t.is(i(550))&&e[i(607)]({item:t,type:i(590)});for(const n of t[i(536)]())this[i(471)](n,e);t.is(i(550))&&e[i(607)]({item:t,type:i(421)})}return e}[In(464)](){const t=In,e=new Map(this[t(383)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(569)][t(449)](),...this[t(529)][t(449)]()]);a[t(510)](t(461));for(const e of a){const i=this[t(529)][t(441)](e)||Rn(e,!1),n=this[t(569)][t(441)](e)||Rn(e,!1);i[t(524)]()||n[t(524)]()?(r[t(382)][e]=Nn(i),r[t(423)][e]=Nn(n),this[t(444)](r[t(423)][e],n),this[t(444)](r[t(382)][e],i),s[t(382)][e]=this[t(471)](this[t(589)][t(441)](e),[]),s[t(423)][e]=this[t(471)](this[t(485)][t(441)](e)||Rn(e,!1),[])):a[t(510)](e)}for(const r of a){const o=s[t(382)][r];for(const r of o){const s=this[t(601)](r),o=r[t(402)][t(349)](s);i[t(510)](o),o>=this[t(551)]&&n[t(329)](o,e[t(441)](o))}}for(const r of a){const a=s[t(382)][r],c=this[t(324)](s[t(423)][r]);let u=0;for(const r of a){const s=this[t(601)](r),a=r[t(402)][t(349)](s);if(!n[t(460)](a)&&!o[t(460)](a))if(i[t(460)](a))u++;else{if(a!=c[u]){const n=e[t(441)](a)||e[t(441)](c[u]);for(;a!=c[u];)i[t(460)](c[u])||(o[t(329)](c[u],n),e[t(329)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(382)][e];for(const e of r){const r=this[t(601)](e),s=e[t(402)][t(349)](r);if(o[t(460)](s)){const e=o[t(441)](s);i[t(460)](s)||i[t(329)](s,{...e}),n[t(329)](s,{...e})}}}for(const e of i[t(449)]())e>=this[t(551)]&&i[t(510)](e);const c=new Map;for(const e of a){let r=s[t(382)][e];for(const e of r)if(e[t(402)].is(t(550),t(437))){const i=this[t(601)](e),r=e[t(402)][t(349)](i);if(n[t(460)](r)){const i=e[t(402)][t(393)][t(393)][t(349)](t(594)),s=c[t(441)](i)||new Set;s[t(561)](n[t(441)](r)[t(320)]),c[t(329)](i,s)}}r=s[t(423)][e];for(const e of r)if(e[t(402)].is(t(550),t(437))){const n=this[t(601)](e),r=e[t(402)][t(349)](n);if(i[t(460)](r)){const n=e[t(402)][t(393)][t(393)][t(349)](t(594)),s=c[t(441)](n)||new Set;s[t(561)](i[t(441)](r)[t(320)]),c[t(329)](n,s)}}for(const e of c[t(449)]())(n[t(460)](e)||i[t(460)](e))&&c[t(510)](e)}for(const e of a){const r=s[t(382)][e];let o=null,a=null;for(const e of r){const r=this[t(601)](e),s=e[t(402)][t(349)](r),u=c[t(441)](s);u&&t(590)==e[t(604)]&&(o=Array[t(559)](u)[0],a=e[t(402)][t(349)](t(497))),o&&(i[t(329)](s,{userId:o}),n[t(329)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(423)][e],a=r[t(382)][e];for(const{userId:e}of this[t(544)][t(598)]())null!==e&&l[t(561)](e);for(const{userId:e}of this[t(552)][t(598)]())null!==e&&l[t(561)](e);this[t(330)](a,s[t(382)][e],n,t(498),l),this[t(330)](o,s[t(423)][e],i,t(445),l),u[e]={insertions:this[t(605)](a),deletions:this[t(605)](o),attachChange:this[t(552)][t(441)](e)||null,attributesBefore:vi(this[t(560)][t(441)](e))||{},attributesAfter:vi(this[t(387)][t(441)](e))}}return{diffData:u,authorsIds:Array[t(559)](l)}}[In(319)](t){const e=In;for(const[,i]of t[e(572)]){const t=i[e(362)][e(599)]()[e(355)]((t=>e(437)==t[e(348)]));for(const i of t)1==i[e(546)]&&i[e(522)](0).is(e(550),e(452))&&i[e(522)](0)[e(415)](e(588),!0)}}[In(605)](t){const e=In;this[e(319)](t);const i=this[e(410)][e(490)][e(366)](t,{}),n=Array[e(559)](i[e(536)]())[e(372)]((t=>this[e(386)](t)));return JSON[e(515)](n)}[In(386)](t){const e=In;if(t.is(e(563)))return t[e(490)];{const i=t;return{type:Object[e(449)](Sn)[e(414)]((e=>t instanceof Sn[e])),name:i[e(348)],attributes:Array[e(559)](i[e(638)]()),children:Array[e(559)](i[e(536)]())[e(372)]((t=>this[e(386)](t)))}}}[In(330)](t,e,i,n,r){const s=In;let o=null,a=null,c=0;const u=this[s(410)][s(425)];for(let n=0;n<e[s(428)];n++){const r=this[s(601)](e[n]),c=e[n][s(402)][s(349)](r),h=i[s(441)](c),d=n==e[s(428)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(320)]!=o[s(320)])&&(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(320)],d=l(365)+n+":"+h+":"+c++,f=u[l(614)](i,a);t[l(572)][l(329)](d,f),null!==h&&r[l(561)](h)}}[In(601)](t){const e=In;switch(t[e(604)]){case e(590):return e(594);case e(421):return e(497);default:return e(514)}}[In(336)](t,e){const i=In;t[i(331)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(441)](r[i(326)][i(342)]);t[n]=this[i(472)](r,s)}if(r instanceof Yi.Range){const s=e[i(441)](r[i(326)][i(342)]);t[n]=this[i(404)](r,s)}i(326)===n&&(t[i(326)]=e[i(441)](t[i(326)][i(342)]))}}[In(404)](t,e){const i=In;return this[i(410)][i(425)][i(614)](this[i(472)](t[i(362)],e),this[i(472)](t[i(442)],e))}[In(472)](t,e){const i=In;return this[i(410)][i(425)][i(478)](e,t[i(399)],t[i(474)])}[In(496)](t){const e=In,i=this[e(589)][e(441)](t[e(462)][e(326)][e(342)]),n=this[e(472)](t[e(462)],i),r=null===t[e(584)]?null:t[e(584)]||this[e(410)][e(453)][e(441)](e(368)).me.id,s=n[e(393)],o=this[e(534)],a=[];for(const i of t[e(436)])if(i.is(e(550)))a[e(607)](this[e(473)](i));else for(let t=0;t<i[e(432)];t++)a[e(607)](new Yi.Element(e(563),{vid:this[e(534)]++}));const c=this[e(534)];for(let t=o;t<c;t++)this[e(383)][e(329)](t,{userId:r});s[e(479)](n[e(574)],a)}[In(526)](t){const e=In;(t=this[e(418)](t,this[e(589)]))[e(356)]();const i=null===t[e(584)]?null:t[e(584)]||this[e(410)][e(453)][e(441)](e(368)).me.id,n=t[e(459)](),r=n[e(393)],s=n[e(574)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(522)](e);s.is(a(550),a(563))?n[a(329)](s[a(349)](a(514)),{userId:i}):(n[a(329)](s[a(349)](a(594)),{userId:i}),t(n,s,0,s[a(546)]),n[a(329)](s[a(349)](a(497)),{userId:i}))}}(this[e(383)],r,s,s+t[e(463)])}[In(333)](t){const e=In,i=null===(t=this[e(418)](t,this[e(589)]))[e(584)]?null:t[e(584)]||this[e(410)][e(453)][e(441)](e(368)).me.id,n=t[e(528)][e(393)],r=t[e(359)][e(393)],s=n[e(349)](e(497)),o=r[e(349)](e(594));n[e(415)](e(497),r[e(349)](e(497))),r[e(415)](e(497),s),this[e(383)][e(329)](o,{userId:i}),this[e(383)][e(329)](s,{userId:i}),t[e(356)]()}[In(630)](t){const e=In,i=null===(t=this[e(418)](t,this[e(589)]))[e(584)]?null:t[e(584)]||this[e(410)][e(453)][e(441)](e(368)).me.id,n=t[e(379)],r=t[e(535)][e(393)];t[e(356)]();const s=r[e(349)](e(497)),o=t[e(470)][e(322)];if(n){const t=o[e(349)](e(497)),n=r[e(349)](e(497));r[e(415)](e(497),t),o[e(415)](e(497),n),this[e(383)][e(329)](r[e(349)](e(497)),{userId:i}),this[e(383)][e(329)](o[e(349)](e(594)),{userId:i})}else{const t=this[e(534)]++,n=this[e(534)]++;r[e(415)](e(497),t),o[e(415)](e(594),n),o[e(415)](e(497),s),this[e(383)][e(329)](t,{userId:i}),this[e(383)][e(329)](n,{userId:i})}}[In(554)](t){const e=In;if(!t[e(380)])return;const i=(t=this[e(418)](t,this[e(529)]))[e(602)]?t[e(602)][e(326)]:null,n=t[e(489)]?t[e(489)][e(326)]:null;i&&this[e(548)][e(510)](t[e(348)]),n&&this[e(548)][e(329)](t[e(348)],t[e(489)][e(346)]());const r=null===t[e(584)]?null:t[e(584)]||this[e(410)][e(453)][e(441)](e(368)).me.id,s=t[e(348)];if(!this[e(544)][e(460)](s))return void this[e(544)][e(329)](s,{range:t[e(602)],userId:r});const o=this[e(544)][e(441)](s),a=o[e(579)],c=t[e(489)];null==a&&null==c||a&&c&&a[e(408)](c)?this[e(544)][e(510)](t[e(348)]):o[e(320)]=r}[In(484)](t,e){const i=In;this[i(529)][i(460)](t[i(342)])?this[i(529)][i(441)](t[i(342)])[i(373)]=t[i(493)]:(this[i(529)][i(329)](t[i(342)],Rn(t[i(342)],!0)),this[i(387)][i(329)](t[i(342)],{}),e&&this[i(589)][i(329)](t[i(342)],Rn(t[i(342)],!0)));const n=null===t[i(584)]?null:t[i(584)]||this[i(410)][i(453)][i(441)](i(368)).me.id,r=this[i(552)][i(441)](t[i(342)]);r&&r[i(320)]===n?this[i(552)][i(510)](t[i(342)]):this[i(552)][i(329)](t[i(342)],{userId:n,isAttached:t[i(493)]})}[In(639)](t){const e=In,i=this[e(387)][e(441)](t[e(326)][e(342)]);null===t[e(358)]?delete i[t[e(458)]]:i[t[e(458)]]=t[e(358)]}}function Nn(t){const e=In,i=Rn(t[e(342)],t[e(524)]());for(const n of t[e(536)]()){const t=n[e(530)](!0);i[e(619)](t)}return i}function Rn(t,e=!0){const i=In,n=new Yi.DocumentFragment;return n[i(342)]=t,n[i(373)]=e,n[i(524)]=()=>n[i(373)],n}function Vn(t,e,i){const n=In,r=n(421)==t[n(604)]?i[n(513)](t[n(402)],n(442)):i[n(641)](t[n(402)]);return i[n(478)](e,r[n(399)],r[n(474)])}function Mn(t,e,i){const n=In,r=n(590)==t[n(604)]?i[n(513)](t[n(402)],0):i[n(370)](t[n(402)]);return i[n(478)](e,r[n(399)],r[n(474)])}var En=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),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().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=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;function Yn(t,e){const i=Gn();return(Yn=function(t,e){return i[t-=464]})(t,e)}const Jn=Yn;function Gn(){const t=["errorText","arrowleft","3xucPAc","element","ck-revision-history-save-revision-form","Name of the revision","keystrokes","ck-responsive-form","164392IRpVzX","reset","176601IJyNvc","10630aOMYGL","input","listenTo","revisionNameInputValue","revisionNameInputView","set","trim","focusTracker","25960YSElyi","_createRevisionNameInput","fieldView","1443828ePBWSv","arrowdown","stopPropagation","4606091JUdPAV","render","extendTemplate","arrowup","value","220","2EFtFBt","setTemplate","focus","locale","add","arrowright","117vHDVRx","revisionName","form","3644340moSeqm","9604950fNRyXQ","label","optional"];return(Gn=function(){return t})()}!function(t){const e=Yn,i=t();for(;;)try{if(895929===-parseInt(e(485))/1*(parseInt(e(506))/2)+-parseInt(e(477))/3*(-parseInt(e(497))/4)+parseInt(e(471))/5+-parseInt(e(472))/6+-parseInt(e(500))/7+parseInt(e(483))/8*(-parseInt(e(468))/9)+parseInt(e(486))/10*(parseInt(e(494))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Kn extends En.View{constructor(e,i){const n=Yn;super(e),this[n(493)]=new t.FocusTracker,this[n(481)]=new t.KeystrokeHandler,this[n(491)](n(489),""),this[n(490)]=this[n(495)](i),this[n(507)]({tag:n(470),attributes:{class:["ck",n(479),n(482)],tabindex:"-1"},children:[this[n(490)]]}),(0,En.injectCssTransitionDisabler)(this)}[Jn(501)](){const t=Jn;super[t(501)](),(0,En.submitHandler)({view:this}),this[t(493)][t(466)](this[t(490)][t(478)]),this[t(481)][t(488)](this[t(478)]);const e=e=>e[t(499)]();this[t(481)][t(491)](t(467),e),this[t(481)][t(491)](t(476),e),this[t(481)][t(491)](t(503),e),this[t(481)][t(491)](t(498),e)}[Jn(464)](){const t=Jn;this[t(490)][t(464)]()}get[Jn(469)](){const t=Jn;return this[t(490)][t(496)][t(478)][t(504)][t(492)]()}set[Jn(469)](t){const e=Jn;this[e(490)][e(496)][e(478)][e(504)]=t[e(492)]()}[Jn(484)](){const t=Jn;this[t(490)][t(496)][t(478)][t(504)]="",this[t(490)][t(475)]=null}[Jn(495)](t){const e=Jn,i=new En.LabeledFieldView(this[e(465)],En.createLabeledInputText),n=i[e(496)];n[e(502)]({attributes:{maxlength:e(505)}});let r=Xi(this[e(465)],e(480));return!t&&(r+=" ("+Xi(this[e(465)],e(474))+")"),i[e(473)]=r,n.on(e(487),(()=>{const t=e;this[t(489)]=n[t(478)][t(504)][t(492)]()})),i}}const Qn=Xn;function Xn(t,e){const i=tr();return(Xn=function(t,e){return i[t-=349]})(t,e)}function tr(){const t=["revisionSave","render","isReadOnly","revisionHistory.requireRevisionName","init","Accept","isOpen","Dialog","delegate","add","hide","1200966kLwvmC","Open revision history","focus","1152933UuxIzf","execute","1795360seiMAt","_saveRevisionFormView","children","bind","isPremiumPlugin","revisionHistory","addMany","revisionName","ck-button-action","set","menuBar:revisionHistory","Revision history","5598YJIqOx","menuitem","editor","componentFactory","RevisionTracker","panelView","history","_registerMenuComponent","516crwbcZ","role","pluginName","Save current revision","_showDialog","The revision name cannot be empty.","locale","show","2882912InCMCG","isReady","showRevisionViewerCallback","isOfficialPlugin","_createSaveRevisionFormView","editing","reset","plugins","Cancel","get","revisionNameInputView","isEnabled","14seLURL","items","2960ghPtyo","RevisionHistoryUI","requires","buttonView","config","saveRevision","menu","errorText","34229CXuCug","10875hDazEu","view","submit"];return(tr=function(){return t})()}!function(t){const e=Xn,i=t();for(;;)try{if(255504===-parseInt(e(406))/1*(-parseInt(e(396))/2)+parseInt(e(354))/3+parseInt(e(376))/4*(-parseInt(e(407))/5)+parseInt(e(351))/6+parseInt(e(356))/7+-parseInt(e(384))/8+-parseInt(e(368))/9*(parseInt(e(398))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Qn(378)](){return Qn(399)}static get[Qn(387)](){return!0}static get[Qn(360)](){return!0}static get[Qn(400)](){return[xn]}[Qn(414)](){const t=Qn,e=this[t(370)],i=e[t(391)][t(393)](t(372));e.ui[t(371)][t(349)](t(361),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(373)][r(358)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(359)](r(395)).to(i,r(385),i,r(395),e,r(412),((t,e,i)=>t&&e&&!i)),s[r(401)][r(365)]({icon:qi.icons[r(374)],label:Xi(n,r(367)),tooltip:!0}),u[r(365)]({label:Xi(n,r(379)),withText:!0,role:r(369)}),u[r(359)](r(395)).to(i,r(385),i,r(395),e,r(412),((t,e,i)=>t&&e&&!i)),u.on(r(355),(()=>this[r(380)]())),h[r(365)]({label:Xi(n,r(352)),withText:!0,role:r(369)}),h[r(359)](r(395)).to(i,r(385),e,r(412),((t,e)=>t&&!e)),h.on(r(355),(()=>{const t=r;e[t(402)][t(393)](t(361))[t(386)](),s[t(416)]=!1,e[t(389)][t(408)][t(353)]()})),c[r(358)][r(349)](u),l[r(358)][r(349)](h),a[r(377)]=r(404),a[r(397)][r(362)]([c,l]),o[r(349)](a),s})),e.ui[t(371)][t(349)](t(366),(()=>this[t(375)]()))}[Qn(375)](){const t=Qn,e=this[t(370)],i=e[t(382)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(401)][t(365)]({icon:qi.icons[t(374)],label:Xi(i,t(367))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(365)]({label:Xi(i,t(379))}),o[t(418)](t(355)).to(n),o.on(t(355),(()=>{this[t(380)]()})),s[t(358)][t(349)](o),r[t(397)][t(349)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(365)]({label:Xi(i,t(352))}),c[t(418)](t(355)).to(n),c.on(t(355),(()=>{const i=t;e[i(402)][i(393)](i(361))[i(386)]()})),a[t(358)][t(349)](c),r[t(397)][t(349)](a),n[t(373)][t(358)][t(349)](r),n}[Qn(380)](){const t=Qn,e=this[t(370)],i=e[t(382)],n=e[t(391)][t(393)](t(417)),r=e[t(391)][t(393)](t(372));function s(r){const s=t;e[s(402)][s(393)](s(413))&&""===r[s(363)]?r[s(394)][s(405)]=Xi(i,s(381)):(e[s(391)][s(393)](xn)[s(403)]({name:r[s(363)]}),n[s(350)]())}this[t(357)]||(this[t(388)](),this[t(357)].on(t(409),(()=>s(this[t(357)])))),this[t(357)][t(390)](),n[t(383)]({id:t(410),title:Xi(i,t(379)),isModal:!0,content:this[t(357)],actionButtons:[{label:Xi(e[t(382)],t(392)),withText:!0,onExecute:()=>n[t(350)]()},{label:Xi(e[t(382)],t(415)),class:t(364),withText:!0,onCreate(i){const n=t;i[n(359)](n(395)).to(r,n(385),r,n(395),e,n(412),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(357)])}]})}[Qn(388)](){const t=Qn,e=this[t(370)],i=e[t(382)];this[t(357)]=new Kn(i,e[t(402)][t(393)](t(413))),this[t(357)][t(411)]()}}const ir=rr;function nr(){const t=["595QskOfx","div","4298610btZyzG","10chIvYO","element","3283525SPnQgF","4pOpqEb","Suggested by","2160723ndqHVT","isSuggestion","add","ck-annotation","changeId","ck-revision-change","focus","Added by","252810qccTVS","ck-revision-change__","ck-revision-change__label","29001393CtHTGB","data","author","Removed by","set","span","type","setTemplate","bindTemplate","30672zxPuWl","546295qDhbeW","_model","name"];return(nr=function(){return t})()}function rr(t,e){const i=nr();return(rr=function(t,e){return i[t-=121]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(383216===-parseInt(e(136))/1+parseInt(e(123))/2+-parseInt(e(147))/3+-parseInt(e(145))/4*(parseInt(e(144))/5)+-parseInt(e(141))/6+-parseInt(e(139))/7*(parseInt(e(135))/8)+parseInt(e(126))/9*(parseInt(e(142))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends En.View{constructor(t,e){const i=rr;super(t),this[i(137)]=e,this[i(151)]=e.id;const n=this[i(134)],r=Xi(t,e[i(127)][i(148)]?i(146):i(149)==e[i(132)]?i(122):i(129));this[i(130)](i(132),e[i(132)]),this[i(133)]({tag:i(140),attributes:{class:[i(150),i(152),n.to(i(132),(t=>i(124)+t))],tabindex:-1},children:[{tag:i(131),children:[{tag:i(131),attributes:{class:[i(125)]},children:[{text:r}]},{text:" "+e[i(128)][i(138)]}]}]})}[ir(121)](){const t=ir;this[t(143)][t(121)]()}}function or(){var t=["toJSON","193109skzoSK","9xJBIsn","3YkTuXB","createdAt","12607DVjEaC","505010hjVOlW","1715050UHrkQy","data","rootName","761268Xyjkpa","set","88MNctSd","author","23808GgWBDj","type","54178IJuyds"];return(or=function(){return t})()}var ar=cr;function cr(t,e){var i=or();return(cr=function(t,e){return i[t-=374]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(153424===-parseInt(e(374))/1+-parseInt(e(389))/2*(parseInt(e(376))/3)+-parseInt(e(387))/4+parseInt(e(379))/5+parseInt(e(383))/6+parseInt(e(378))/7*(-parseInt(e(385))/8)+parseInt(e(375))/9*(parseInt(e(380))/10))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(386)]=e[i(386)],this[i(388)]=e[i(388)],this[i(381)]=e[i(381)]||{},this[i(382)]=e[i(382)],this[i(384)](i(377),e[i(377)])}[ar(390)](){var t=ar;return{id:this.id,authorId:this[t(386)].id,type:this[t(388)],data:this[t(381)],createdAt:this[t(377)]}}}const lr=dr;function hr(){const t=["146408EaNWoW","oldRevisionId","_setChanges","3804XZwZMt","343StjUuc","newRevisionId","3001860mbBVya","53904SYTyJJ","7735070eiSizn","40kzFmdm","1198790JnvcNr","5469vjjEVb","18871974XxWKde","changes","add","72AvIBYT"];return(hr=function(){return t})()}function dr(t,e){const i=hr();return(dr=function(t,e){return i[t-=248]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(904576===parseInt(e(250))/1*(parseInt(e(248))/2)+-parseInt(e(252))/3*(-parseInt(e(260))/4)+-parseInt(e(249))/5+-parseInt(e(263))/6+parseInt(e(261))/7*(parseInt(e(257))/8)+-parseInt(e(256))/9*(-parseInt(e(251))/10)+-parseInt(e(253))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class fr{constructor(e,i){const n=dr;this[n(262)]=e,this[n(258)]=i,this[n(254)]=new t.Collection}[lr(259)](t){const e=lr;for(const i of t)this[e(254)][e(255)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=Ir();return(yr=function(t,e){return i[t-=424]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(711084===-parseInt(e(471))/1+parseInt(e(633))/2+parseInt(e(459))/3*(-parseInt(e(587))/4)+-parseInt(e(523))/5*(-parseInt(e(536))/6)+parseInt(e(708))/7*(-parseInt(e(609))/8)+parseInt(e(543))/9*(-parseInt(e(596))/10)+parseInt(e(714))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ir);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[vr(705)](){return vr(573)}static get[vr(632)](){return!0}static get[vr(479)](){return!0}static get[vr(438)](){return[Bi.Users,En.ContextualBalloon,Qi]}constructor(t){const e=vr;super(t),this[e(658)]=this[e(581)][e(611)][e(435)](e(756)),this[e(656)](e(664),null),this[e(656)](e(474),null),this[e(534)]=null,this[e(656)](e(553),null),this[e(656)](e(445),!1),this[e(656)](e(562),!0),this.on(e(605),((t,i,n)=>{const r=e;this[r(664)]=null,this[r(474)]=null,this[r(581)][r(468)][r(685)][r(428)]((t=>{const e=r;for(const i of this[e(581)][e(468)][e(685)][e(594)][e(576)])n?t[e(759)](e(751),i):t[e(729)](e(751),i)}))})),this[e(508)](e(482)).to(this,e(664),(t=>null!==t)),this[e(508)](e(519)).to(this,e(445),this,e(553),this,e(664),((t,i,n)=>t&&n?i[e(655)][e(548)](n):0)),this[e(508)](e(431)).to(this,e(445),this,e(553),((t,i)=>t?i[e(655)][e(721)]:0)),this[e(556)]=null,this[e(443)]=new Map,this[e(455)]=null,this[e(516)]=this[e(581)][e(611)][e(435)](En.ContextualBalloon)}[vr(601)](){const t=vr,e=this[t(581)],i=new _r(e,{direction:t(631)}),n=new _r(e,{direction:t(578)});e[t(674)][t(680)](t(518),i),e[t(674)][t(680)](t(640),n),e[t(674)][t(680)](t(589),new wr(e)),this.on(t(427),(()=>{const e=t;i[e(512)](),n[e(512)]()})),this[t(462)](),this[t(723)](),e[t(535)](t(510)),e[t(611)][t(450)](t(660))&&e[t(611)][t(435)](t(660))[t(509)](t(510))}async[vr(515)](t){const e=vr;await this[e(538)](t);const i={};for(const n in t[e(647)]){if(t[e(647)][n][e(579)]&&!t[e(647)][n][e(579)][e(550)])continue;const r=this[e(452)](JSON[e(724)](t[e(647)][n][e(636)])),s=this[e(581)][e(468)][e(685)][e(594)],o=new Yi.ViewDocumentFragment(s,r[e(644)]((t=>this[e(646)](t))));this[e(581)][e(546)][e(540)][e(635)](e(673)),i[n]=this[e(581)][e(546)][e(540)][e(715)](o),this[e(581)][e(546)][e(540)][e(635)](e(740))}return i}async[vr(745)](t){const e=vr;await this[e(538)](t);const i={};for(const n in t[e(647)])t[e(647)][n][e(579)]&&!t[e(647)][n][e(579)][e(550)]||(i[n]=t[e(647)][n][e(623)]||{});return i}[vr(452)](t){const e=vr;return(t=t[e(669)]((t=>!t[e(580)]||e(614)!==t[e(580)]&&e(440)!==t[e(580)])))[e(492)]((t=>{const i=e;i(549)!=typeof t&&(t[i(600)]=this[i(452)](t[i(600)]),t[i(454)]=t[i(454)][i(669)]((t=>!t[0][i(456)](i(458)))))})),t}async[vr(621)](t,e,i=!1){const n=vr;if(!this[n(562)])return;const r=this[n(553)],s=this[n(658)],o=n(549)==typeof t?s[n(561)](t):t,a=n(549)==typeof e?s[n(561)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(553)]&&this[n(553)][n(481)]===c&&this[n(553)][n(706)]===u)return Promise[n(470)]();this[n(445)]=!1,this[n(474)]=null,this[n(664)]=null,this[n(553)]=new fr(c,u);const l=this[n(565)](o,a,!0)[n(644)]((t=>this[n(538)](t)));return l[n(730)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(613)](l)[n(686)]((()=>{const t=n;if(!this[t(562)])return;this[t(628)]();const e=this[t(568)](c,u);for(const i of e[t(655)])this[t(443)][t(656)](i.id,i);this[t(581)][t(625)][t(657)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(581)][n(625)][n(594)][n(500)]())i[n(650)](t);for(const t of Object[n(464)](e[n(625)])){const r=i[n(590)](t);for(const s of Object[n(464)](e[n(454)][t]))i[n(703)](s,e[n(454)][t][s],r);i[n(620)](e[n(625)][t],r,0)}})),this[t(553)][t(704)](this[t(489)](e[t(655)])),this[t(445)]=!0}))[n(490)]((t=>{const e=n;console[e(524)](t),this[e(628)](),r&&(this[e(553)]=r),this[e(445)]=!0}))}[vr(494)](t,e){const i=vr,n=this[i(658)][i(645)](t);return n.on(i(591),((t,i,r)=>e(i,r,n))),this[i(658)][i(681)](n),n}[vr(538)](t){const e=vr;if(!t||t[e(647)])return Promise[e(470)]();{const i=this[e(581)][e(641)][e(435)](e(521));return this[e(455)][e(561)]({channelId:i,revisionId:t.id})[e(686)]((i=>{const n=e;t[n(591)]({diffData:i[n(647)]},!0)}))}}[vr(628)](){const t=vr;this[t(664)]=null,this[t(487)](),this[t(556)]&&this[t(556)][t(698)](),this[t(556)]=null,this[t(443)][t(720)](),this[t(581)][t(625)][t(657)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(581)][i(625)][i(594)][i(500)]())e[i(650)](t)}))}[vr(489)](t){const e=vr,i=[],n=new Map;for(const t of this[e(581)][e(625)][e(594)][e(500)]()){const r=this[e(581)][e(468)][e(685)][e(752)](t);if(!r)continue;const s=r[e(692)]()[e(547)](0);s&&(i[e(730)](t),n[e(656)](t,s))}return i[e(570)](((t,i)=>{const r=e,s=n[r(435)](t),o=n[r(435)](i);return s.y-o.y||s.x-o.x})),(t=t[e(669)]((t=>i[e(588)](t[e(552)]))))[e(570)](((t,n)=>i[e(610)](t[e(552)])-i[e(610)](n[e(552)]))),t}[vr(711)](t){const e=vr,i=Array[e(691)](t[e(603)])[e(669)]((([t,i])=>t[e(456)](e(719))&&!i[e(503)])),n=Array[e(691)](this[e(581)][e(625)][e(738)](t)[e(530)]({singleCharacters:!0}));if(0!=i[e(721)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(499)](":");if(r[e(699)][e(465)](t[e(737)])&&i[e(651)](),(t[e(453)][e(465)](r[e(463)])||t[e(453)][e(757)](r[e(463)]))&&(e(617)==s?t[e(671)]={userId:o}:e(748)==s&&(t[e(555)]={userId:o})),0==i[e(721)])break}return n}[vr(441)](t){const e=vr,i=new Map;for(let n=0;n<t[e(721)];n++)e(670)===t[n][e(716)]?(t[n][e(547)][e(642)]=n,t[n][e(547)][e(604)]=n):(e(701)===t[n][e(716)]?t[n][e(547)][e(642)]=n:e(634)===t[n][e(716)]&&(t[n][e(547)][e(604)]=n),i[e(656)](t[n].id,n));for(const n of i[e(457)]())e(701)===t[n][e(716)]?t[n][e(547)][e(604)]=i[e(435)](t[n][e(697)]):e(634)===t[n][e(716)]&&(t[n][e(547)][e(642)]=i[e(435)](t[n][e(697)]))}[vr(541)](t){const e=vr;for(let i=0;i<t[e(721)];i++){if(e(701)===t[i][e(716)])t[i][e(547)][e(642)]=i;else if(e(634)===t[i][e(716)]){t[i][e(547)][e(604)]=i;const n=t[i][e(547)][e(642)];t[n][e(697)]=t[i].id,t[i][e(697)]=t[n].id}else t[i][e(547)][e(642)]=i,t[i][e(547)][e(604)]=i,t[i][e(697)]=null;t[i][e(586)]||(t[i][e(586)]=[],t[i][e(514)]=[])}}[vr(572)](t,e){const i=vr,n=t[i(669)]((t=>!t[i(671)]));for(let t=0;t<e[i(721)];t++)e[t][i(671)]&&(n[t][i(671)]=e[t][i(671)])}[vr(505)](t){const e=vr,i=JSON[e(724)](t),n=this[e(581)][e(468)][e(685)][e(594)],r=new Yi.ViewDocumentFragment(n,i[e(644)]((t=>this[e(646)](t))));return this[e(581)][e(546)][e(551)](r)}[vr(646)](t){const e=vr,i=this[e(581)][e(468)][e(685)][e(594)];if(e(549)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(600)][e(644)]((t=>this[e(646)](t)));return new(gr[t[e(716)]]||Yi.ViewElement)(i,t[e(580)],t[e(454)],n)}}[vr(568)](t,e=null){const i=vr,n=this[i(658)][i(561)](t),r=e?this[i(658)][i(561)](e):null,s=this[i(565)](n,r),o=s[s[i(721)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(721)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(464)](e[i(647)]))if(e[i(647)][t][i(579)]){const n=e[i(647)][t][i(579)];n[i(550)]?(u[i(680)](t),l[i(450)](t)&&l[i(435)](t)[i(437)]==n[i(437)]?l[i(733)](t):l[i(656)](t,n)):l[i(450)](t)?(u[i(733)](t),l[i(733)](t)):(u[i(680)](t),l[i(656)](t,n))}else u[i(680)](t)}for(const t of u){const e=l[i(450)](t)&&!l[i(435)](t)[i(550)];let n=e?s[i(721)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(647)][t]){const n=e?o[i(647)][t][i(624)]:o[i(647)][t][i(623)];c[i(454)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(625)]={};for(const e of t[i(688)])a[i(656)](e.id,e);for(const e of u){const n=t[i(647)][e]?t[i(647)][e][i(636)]:"[]",r=t[i(647)][e]?t[i(647)][e][i(682)]:"[]";t[i(625)][e]={insertions:this[i(505)](n),deletions:this[i(505)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(691)](n[i(625)][t][i(636)][i(603)])[i(669)]((([t])=>!t[i(456)](i(719)))));let h=0;for(const o of s){const s=this[i(711)](o[i(625)][t][i(636)]);o==n?(e=s,r=e[i(721)],e[i(492)]((t=>{t.id=h++})),this[i(541)](e)):this[i(572)](e,s);const a=e[i(669)]((t=>!t[i(671)]))[i(644)]((t=>t.id));let c=0;const l=this[i(711)](o[i(625)][t][i(682)]);l[i(492)]((t=>{t[i(555)]?t.id=r++:t.id=a[c++]})),this[i(541)](l),this[i(539)](e,i(671)),this[i(539)](l,i(555)),o==n&&this[i(567)](e,u),e=this[i(544)](e,l),this[i(441)](e),this[i(539)](e,i(555))}e=e[i(669)]((t=>!(t[i(671)]&&t[i(555)])));const d=new Map(o[i(625)][t][i(682)][i(603)]),f=new Set(u[i(464)]());for(const t of d[i(464)]())f[i(733)](t);this[i(743)](e,f),this[i(575)](e),e=this[i(734)](e),e=this[i(718)](e),e=this[i(662)](e);const{root:m,changes:p}=this[i(678)](e,a,t);c[i(625)][t]=m;const v=l[i(435)](t);if(v){const e=a[i(435)](v[i(437)]),n=new ur({author:e,type:v[i(550)]?i(680):i(527),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(501)](n),c[i(454)][t][i(439)]=n.id}c[i(655)]=c[i(655)][i(476)](p)}return c}[vr(567)](t,e){const i=vr;for(let n=0;n<t[i(721)];n++)for(const[r,s]of e)s[i(463)][i(465)](t[n][i(453)])&&t[n][i(586)][i(730)](r),s[i(699)][i(465)](t[n][i(737)])&&t[n][i(514)][i(730)](r)}[vr(544)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(721)]||s<e[i(721)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(730)](o);else if(a[i(555)]&&o[i(671)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(475)](t,r,e,s);n=n[i(476)](o),r=a,s=c}else a[i(555)]?(s++,n[i(730)](a)):(r++,n[i(730)](o))}return n}[vr(743)](t,e){const i=vr,n=[];for(let o=0;o<t[i(721)];o++){for(let s=0;s<t[o][i(586)][i(721)];s++){const a=t[o][i(586)][s];if(!e[i(450)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(473)!=c||i(617)!=u&&i(748)!=u||(n[i(501)]({type:u,name:a,userId:l}),t[o][i(586)][i(694)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(514)][i(721)];s++){const a=t[o][i(514)][s];if(!e[i(450)](a))continue;const{group:c,type:u}=r(a);if(i(473)!=c||i(617)!=u&&i(748)!=u)continue;t[o][i(514)][i(694)](s,1),s--;const l=n[i(520)]((t=>t[i(580)]==a));l>-1&&n[i(694)](l,1)}}function r(t){const e=i,n=t[e(499)](":");return{group:n[0],type:n[1],subType:n[e(721)]>=5?n[2]:null,id:n[e(721)]<5?n[2]:n[3],authorId:n[e(721)]<5?n[3]:n[4],markerCount:6==n[e(721)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(721)];i++){if(t[e(671)]&&e(617)==n[i][e(716)])return t[e(598)]=n[i],void delete t[e(671)];if(!t[e(671)]&&!t[e(555)]&&e(748)==n[i][e(716)])return void(t[e(511)]=n[i])}}}[vr(539)](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(656)](o.id,n);for(let n=0;n<t[i(721)];n++){if(i(555)==e&&t[n][i(671)]||i(671)==e&&t[n][i(555)])continue;if(i(670)==t[n][i(716)]){t[n][i(702)]=0;continue}const r=s[i(435)](t[n][i(697)]),o=s[i(435)](t[n].id);t[n][i(702)]=r-o}}[vr(565)](t,e,i=!1){const n=vr,r=[];let s=this[n(658)][n(548)](t),o=this[n(658)][n(548)](e);for(-1==o&&(o=this[n(658)][n(602)][n(721)],i=!1);s<o;)r[n(730)](this[n(658)][n(561)](s)),s++;return i&&r[n(730)](this[n(658)][n(561)](s)),r}[vr(475)](t,e,i,n){const r=vr,s=this[r(581)][r(625)][r(493)];let o=e;for(;t[o]&&t[o][r(671)];)o++;let a=n;for(;i[a]&&i[a][r(555)];)a++;u(t,e,o),u(i,n,a);const c=i[r(707)](n,a)[r(476)](t[r(707)](e,o));return c[r(570)](((t,e)=>t[r(619)]!=e[r(619)]?t[r(619)]-e[r(619)]:t[r(593)]!=e[r(593)]?t[r(593)]-e[r(593)]:t[r(702)]!=e[r(702)]?e[r(702)]-t[r(702)]:!!t[r(671)]!=!!e[r(671)]?-1==t[r(619)]||0==t[r(619)]?t[r(671)]?-1:1:t[r(671)]?1:-1:t[r(758)]-e[r(758)])),{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(583)](t[r][n(547)])||(c=!1),t[r][n(547)][n(642)]<e&&(o=r),t[r][n(547)][n(604)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(619)]=r<=o?-1:r<a?0:1,t[r][n(758)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(702)]?t[i][n(593)]=u:(u++,t[i][n(593)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(619)]&&(t[r][n(593)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(702)]?t[e][n(593)]=u:(u--,t[e][n(593)]=u,u--)}}[vr(575)](t){const e=vr,i=new Map,n=this[e(581)][e(625)][e(493)];for(let r=1;r<t[e(721)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(670)==c[e(716)])continue;if(c[e(716)]!=u[e(716)])continue;if(!n[e(709)](u[e(547)])||n[e(559)](u[e(547)]))continue;if(!n[e(709)](c[e(547)])||n[e(559)](c[e(547)]))continue;if((t[r][e(671)]||t[r][e(598)])&&t[r-1][e(555)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(555)]||!t[r-1][e(671)]&&!t[r-1][e(598)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(593)]==o[e(593)],h=Math[e(442)](s[e(593)])<Math[e(442)](o[e(593)])&&0==o[e(702)];(l||h)&&(i[e(656)](o.id,s.id),t[e(694)](a,1),r--,s[e(671)]=!1)}for(let n=0;n<t[e(721)];n++)i[e(450)](t[n][e(697)])&&(t[n][e(697)]=i[e(435)](t[n][e(697)]))}[vr(734)](t){const e=vr,i=new Set(t[e(644)]((t=>t.id)));for(let n=0;n<t[e(721)];n++)i[e(450)](t[n][e(697)])||0==t[n][e(702)]||(t[n][e(667)]=!0);return t[e(669)]((t=>!t[e(667)]))}[vr(718)](t){const e=vr,i=new Set;for(let n=0;n<t[e(721)];n++){if(i[e(450)](t[n].id)&&t[n][e(555)]&&(t[n][e(667)]=!0),t[n][e(667)])continue;if(0==t[n][e(702)])continue;if(e(701)!=t[n][e(716)])continue;if(null==t[n][e(697)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(697)];)e(701)==t[r][e(716)]?s++:e(634)==t[r][e(716)]&&s--,r++;if(0!=s)if(t[n][e(555)])t[n][e(667)]=!0;else for(;r!=n;)t[r][e(555)]&&0!=t[r][e(702)]&&(t[r][e(667)]=!0,i[e(680)](t[r][e(697)])),r--}return t[e(669)]((t=>!t[e(667)]))}[vr(662)](t){const e=vr,i=this[e(581)][e(625)][e(493)];for(let n=0;n<t[e(721)];n++){if(!(t[n][e(671)]||t[n][e(598)]||t[n][e(555)]||t[n][e(511)]))continue;if(0==t[n][e(702)])continue;const r=t[n][e(547)];i[e(709)](r)||i[e(559)](r)||(t[n][e(671)]&&delete t[n][e(671)],t[n][e(598)]&&delete t[n][e(598)],t[n][e(511)]&&delete t[n][e(511)],t[n][e(555)]&&(t[n][e(667)]=!0))}return t[e(669)]((t=>!t[e(667)]))}[vr(678)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(581)][n(625)],c=a[n(493)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(721)];e++)if(n(701)===t[e][n(716)]){t[e][n(453)]=a[n(451)](r,f);const i=new Yi.Element(t[e][n(547)][n(580)],t[e][n(547)][n(608)]());u[0][n(480)](i),f[n(730)](0),u[n(501)](i),t[e][n(737)]=a[n(451)](r,f)}else n(634)===t[e][n(716)]?(u[n(651)](),t[e][n(453)]=a[n(451)](r,f),f[n(728)](),f[f[n(721)]-1]++,t[e][n(737)]=a[n(451)](r,f)):(t[e][n(453)]=a[n(451)](r,f),d?d[n(496)]+=t[e][n(547)][n(546)]:d=new Yi.Text(t[e][n(547)][n(546)],t[e][n(547)][n(608)]()),t[e+1]&&n(670)===t[e+1][n(716)]&&v(d,t[e+1][n(547)])||(u[0][n(480)](d),d=null),f[f[n(721)]-1]+=t[e][n(547)][n(693)],t[e][n(737)]=a[n(451)](r,f));for(let e=0;e<t[n(721)];e++){const i=t[e][n(453)],r=t[e][n(737)];for(const r of t[e][n(586)])o[n(656)](r,{start:i,end:null});m(n(511),e,i,r),m(n(598),e,i,r),m(n(555),e,i,r),m(n(671),e,i,r);for(const i of t[e][n(514)])o[n(435)](i)[n(699)]=r}for(const[t,e]of o){const i=this[n(581)][n(625)][n(679)](e[n(463)],e[n(699)]);r[n(603)][n(656)](t,i)}return s[n(570)](((t,e)=>{const i=n,s=r[i(603)][i(435)](i(719)+t.id),o=r[i(603)][i(435)](i(719)+e.id);return s[i(463)][i(424)](o[i(463)])?-1:s[i(463)][i(757)](o[i(463)])?1:s[i(699)][i(424)](o[i(699)])?-1:s[i(699)][i(757)](o[i(699)])?1:i(680)===t[i(716)]?-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(437)]:null,d=i===t[o(721)]-1,f=h[e][0],m=c[o(569)](t[i][o(547)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(699)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(437)]!==u&&(l[e][o(699)]=r,f&&f[o(437)]===l[e][o(437)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(701)!==t[i][o(716)]||f&&f[o(437)]===u||h[e][o(501)]({userId:u,object:t[i][o(547)],change:l[e]}),o(634)===t[i][o(716)]&&f&&f[o(731)]===t[i][o(547)]&&(h[e][o(651)](),l[e]=f[o(428)])),l[e]&&d&&(l[e][o(699)]=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(547)],f=a[h(493)][h(709)](d)&&!a[h(493)][h(559)](d),m=t[h(525)]==o[h(652)]&&o[h(430)];if(f&&m)return;const p=a[h(679)](t,o),v=e[h(435)](u),y=new ur({author:v,type:h(671)==l||h(598)==l?h(680):h(527),data:{isSuggestion:h(598)==l||h(511)==l},createdAt:new Date,rootName:i});s[h(730)](y),r[h(603)][h(656)](h(719)+y.id,p)}function v(t,e){const i=n,r=t[i(608)](),s=e[i(608)]();for(const t of r){if(t[1]!==e[i(574)](t[0]))return!1;s[i(488)]()}return s[i(488)]()[i(595)]}}[vr(462)](){const t=vr;this[t(581)][t(661)][t(577)](t(537))[t(433)]({view:t(447)}),this[t(581)][t(661)][t(577)](t(483))[t(649)]({model:t(447),view:e=>{const i=t,n=e[i(690)][i(499)](":")[1],r=this[i(639)](n);if(!r)return null;const s=i(680)==r[i(716)]?i(617):i(748),o=[i(638),i(749)+s];return r[i(546)][i(735)]&&o[i(730)](i(749)+s+i(477)),this[i(664)]==r&&o[i(730)](i(449)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(581)][t(661)][t(577)](t(537))[t(680)]((e=>{const i=t;e.on(i(448),((t,e,n)=>{const r=i,s=e[r(467)][r(700)](0);if(!s||!s.is(r(672),r(761)))return;if(!n[r(750)][r(507)](s,{attributes:[r(696),r(683)]}))return;const o=e[r(506)][r(463)][r(525)];n[r(615)][r(703)](r(696),s[r(574)](r(696)),o),n[r(615)][r(703)](r(683),s[r(574)](r(683)),o)}),{priority:i(754)})})),this[t(581)][t(661)][t(577)](t(537))[t(680)]((e=>{const i=t;e.on(i(672),((t,e,n)=>{const r=i;if(!n[r(750)][r(507)](e[r(467)],{attributes:[r(696),r(683)]}))return;if(e[r(506)][r(503)])return;const s=e[r(506)][r(463)][r(525)];s[r(444)](r(696))||s[r(444)](r(622))||(n[r(615)][r(703)](r(696),e[r(467)][r(574)](r(696)),s),n[r(615)][r(703)](r(683),e[r(467)][r(574)](r(683)),s))}),{priority:i(754)})})),this[t(581)][t(661)][t(577)](t(537))[t(607)]({view:{name:t(584),attributes:{vid:!0}},model:{key:t(622),value:e=>e[t(574)](t(622))}}),this[t(581)][t(625)][t(493)].on(t(426),((e,[,i])=>{const n=t;[n(696),n(683),n(622)][n(588)](i)&&(e[n(560)]=!0,e[n(446)]())}),{priority:t(498)}),this[t(581)][t(661)][t(577)](t(736))[t(680)]((e=>{const i=t;e.on(i(753),((t,e,n)=>{const r=i;if(" "!=e[r(547)][r(546)]||e[r(547)][r(652)][r(485)]>1)return;if(!n[r(750)][r(507)](e[r(547)],t[r(580)]))return;const s=n[r(615)],o=n[r(526)][r(532)](e[r(606)]);s[r(502)](o,s[r(725)](r(584)))}))})),this[t(581)][t(661)][t(577)](t(736))[t(726)]({model:t(447)}),this[t(581)][t(468)][t(529)].on(t(545),function(e){const i=t,n=e[i(611)][i(435)](i(573));return(t,r,s)=>{const o=i,a=r[o(690)][o(499)](":")[1],c=n[o(639)](a);if(!c)return null;const u=o(680)==c[o(716)]?o(499):o(732);if(!s[o(750)][o(653)](r[o(666)],t[o(580)]))return;const l=r[o(666)][o(530)](),h=r[o(666)][o(463)],d=e[o(625)][o(493)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(547)];p=p||d[o(563)](e);const i=s[o(526)][o(665)](e);if(i&&i[o(722)](o(760)))return;o(634)==t[o(716)]&&d[o(709)](e)&&!d[o(559)](e)&&(e[o(618)]||h[o(429)]?f&&f[o(652)]==e||(f=e,y(t[o(453)]),v=!0):m=m||t[o(453)])}function y(t){const e=o,i=s[e(615)][e(599)](e(584),{class:e(749)+u}),a=s[e(526)][e(626)](t);c[e(546)][e(735)]&&s[e(615)][e(729)](e(749)+u+e(477),i),n[e(664)]==c&&s[e(615)][e(729)](e(449),i),s[e(615)][e(620)](a,i),s[e(526)][e(713)](i,r[e(690)])}p||v||!m||y(m)}}(this[t(581)]),{priority:t(677)}),this[t(581)][t(468)][t(529)].on(t(557),((e,i,n)=>{const r=t,s=n[r(526)][r(684)](i[r(690)]);if(s)for(const t of s)(t[r(531)](r(461))||t[r(531)](r(564)))&&(n[r(526)][r(497)](t,i[r(690)]),n[r(615)][r(527)](t))}),{priority:t(677)}),this[t(581)][t(468)][t(529)].on(t(545),((e,i,n)=>{const r=t,s=i[r(690)][r(499)](":")[1],o=this[r(639)](s);if(!o)return null;const a=r(680)==o[r(716)]?r(499):r(732);if(n[r(750)][r(653)](i[r(666)],e[r(580)]))for(const t of i[r(666)][r(648)]()){if(!t.is(r(672),r(585)))continue;const e=n[r(615)][r(599)](r(584),{class:r(749)+a}),s=n[r(526)][r(626)](this[r(581)][r(625)][r(744)](t));o[r(546)][r(735)]&&n[r(615)][r(729)](r(749)+a+r(477),e),this[r(664)]==o&&n[r(615)][r(729)](r(449),e),n[r(615)][r(620)](s,e),n[r(526)][r(713)](e,i[r(690)])}}),{priority:t(677)}),this[t(581)][t(625)][t(594)].on(t(428),(()=>{const e=t;this[e(581)][e(468)][e(685)][e(428)]((t=>{const i=e;for(const e of this[i(581)][i(625)][i(594)][i(500)]()){const n=this[i(581)][i(625)][i(594)][i(592)](e),r=this[i(581)][i(468)][i(685)][i(594)][i(592)](e);if(r){const e=n[i(574)](i(439));if(t[i(571)](i(469),r),t[i(759)](i(727),r),t[i(759)](i(675),r),t[i(759)](i(762),r),e){const n=this[i(639)](e);if(!n)return null;t[i(703)](i(469),e,r),t[i(729)](i(630)+n[i(716)],r),this[i(664)]==n&&t[i(729)](i(762),r)}}}}))})),this[t(581)][t(661)][t(577)](t(537))[t(433)]({view:t(533),model:e=>t(746)+e,converterPriority:t(498)}),this[t(581)][t(661)][t(577)](t(537))[t(433)]({view:t(742),model:e=>t(434)+e,converterPriority:t(498)}),this[t(581)][t(661)][t(577)](t(736))[t(726)]({model:t(473),view:e=>({name:t(741)+e,group:t(473)}),converterPriority:t(498)}),this[t(581)][t(661)][t(577)](t(483))[t(649)]({model:t(473),view:e=>{const i=t,n=e[i(690)][i(499)](":")[1];return i(617)!=n&&i(748)!=n?null:{classes:[i(504),i(528)+n]}}}),this[t(581)][t(468)][t(529)].on(t(484),br(this[t(581)],t(732)),{priority:t(677)}),this[t(581)][t(468)][t(529)].on(t(717),br(this[t(581)],t(499)),{priority:t(677)}),this[t(581)][t(468)][t(529)].on(t(566),((e,i,n)=>{const r=t,s=n[r(526)][r(684)](i[r(690)]);if(s)for(const t of s)t.is(r(436))&&(n[r(526)][r(497)](t,i[r(690)]),n[r(615)][r(527)](t))}),{priority:t(677)})}[vr(639)](t){const e=vr;return this[e(443)][e(435)](t)}[vr(491)](t){const e=vr;return this[e(556)]&&this[e(556)][e(698)](),this[e(556)]=new sr(this[e(581)][e(582)],t),this[e(556)]}[vr(723)](){const t=vr;this[t(581)][t(625)][t(594)][t(522)][t(597)](t(447)),this.on(t(710),((e,i,n,r)=>{const s=t;r&&this[s(516)][s(527)](r),n&&(this[s(516)][s(680)]({view:n,stackId:s(629),position:{target:()=>{const t=s,e=this[t(581)][t(468)],i=this[t(639)](n[t(472)]);let r;if(i[t(546)][t(712)]){const n=e[t(685)][t(752)](i[t(552)]);r=Array[t(691)](n[t(692)]())}else{const i=this[t(581)][t(625)][t(603)][t(435)](t(719)+n[t(472)]);r=Array[t(691)](e[t(526)][t(684)](i[t(580)]))[t(644)]((i=>e[t(685)][t(554)][t(695)](i)))[t(644)]((e=>Array[t(691)](e[t(692)]())))[t(612)]()}return this[t(534)]&&r[t(478)]((e=>e[t(663)]-3<=this[t(534)].y&&e[t(517)]+3>=this[t(534)].y&&e[t(432)]-3<=this[t(534)].x&&e[t(643)]+3>=this[t(534)].x))||r[0]}}}),this[s(516)][s(755)](s(629)))})),this.on(t(486),((e,i,n,r)=>{const s=t;this[s(474)]=n?this[s(491)](n):null,this[s(581)][s(625)][s(428)]((()=>{const t=s,e=this[t(581)][t(468)];r&&(r[t(546)][t(712)]?e[t(685)][t(428)]((i=>{const n=t;i[n(759)](n(762),e[n(685)][n(594)][n(592)](r[n(552)]))})):e[t(513)](t(719)+r.id)),n&&(n[t(546)][t(712)]?e[t(685)][t(428)]((i=>{const r=t;i[r(729)](r(762),e[r(685)][r(594)][r(592)](n[r(552)]))})):e[t(513)](t(719)+n.id))}))})),this[t(558)](this[t(581)][t(468)][t(685)][t(594)],t(747),((e,i)=>{const n=t;if(this[n(664)])return;const r=this[n(687)](i[n(616)]),s=this[n(443)][n(435)](r);s?(this[n(534)]={x:i[n(495)].x,y:i[n(495)].y},this[n(474)]=this[n(491)](s)):(this[n(534)]=null,this[n(474)]=null)})),this[t(558)](this[t(581)][t(468)][t(685)][t(594)],t(466),((e,i)=>{const n=t,r=this[n(687)](i[n(616)]),s=this[n(443)][n(435)](r);s?(this[n(534)]={x:i[n(495)].x,y:i[n(495)].y},s===this[n(664)]?this[n(516)][n(425)]():this[n(664)]=s):(this[n(534)]=null,this[n(664)]=null)}))}[vr(687)](t){const e=vr;do{const i=t[e(574)](e(469));if(i)return i;t=t[e(652)]}while(t);return null}[vr(487)](){const t=vr;this[t(581)][t(625)][t(428)]((e=>{const i=t;for(const t of this[i(581)][i(625)][i(603)])e[i(739)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(750)][s(653)](n[s(666)],i[s(580)]))return;const o=n[s(666)][s(530)](),a=n[s(666)][s(463)],c=t[s(625)][s(493)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(547)];h=h||c[s(563)](e);const i=r[s(526)][s(665)](e);if(i&&i[s(722)](s(760)))return;s(634)==t[s(716)]&&c[s(709)](e)&&!c[s(559)](e)&&(e[s(618)]||a[s(429)]?u&&u[s(652)]==e||(u=e,f(t[s(453)]),d=!0):l=l||t[s(453)])}function f(t){const i=s,o=r[i(526)][i(626)](t),a=r[i(615)][i(599)](i(584),{class:i(528)+e});r[i(615)][i(620)](o,a),r[i(526)][i(713)](a,n[i(690)])}h||d||!l||f(l)}}class wr extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(611)][e(435)](kr);this[e(542)]=!1,this[e(558)](i,e(654),(()=>this[e(512)]())),this[e(558)](i,e(605),(()=>this[e(512)]()))}[vr(659)](){const t=vr,e=this[t(581)],i=e[t(611)][t(435)](kr),n=i[t(445)]?i[t(553)][t(481)]:null;e[t(641)][t(435)](t(637))[t(676)](n)}[vr(512)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(581)][t(611)][t(435)](kr),s=r&&n[t(689)](r[t(481)]);this[t(562)]=e&&i&&Boolean(s)}}class _r extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(611)][i(435)](kr);this[i(542)]=!1,this[i(668)]=i(578)===e?1:-1,this[i(558)](n,i(654),(()=>this[i(512)]())),this[i(558)](n,i(605),(()=>this[i(512)]())),this[i(558)](n,i(486),(()=>this[i(512)]()))}[vr(659)](){const e=vr,i=this[e(581)],n=i[e(611)][e(435)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(664)]=r?n[e(553)][e(655)][e(435)](s+this[e(668)]):n[e(553)][e(655)][e(460)],n[e(664)][e(546)][e(712)])o=i[e(468)][e(685)][e(752)](n[e(664)][e(552)]);else{const t=i[e(625)][e(603)][e(435)](e(719)+n[e(664)].id);o=(0,Bi.getMarkerDomElement)(i[e(468)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(512)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(581)][t(611)][t(435)](kr);this[t(562)]=!!(s&&r&&n)&&(!e||(1===this[t(668)]?i<n-1:i>0))}}function Ir(){const t=["upcast","loadRevisionData","_setDistance","processor","_processTape","affectsData","4633911LRMurX","_joinTapes","addMarker:revision","data","item","getIndex","string","isAttached","toModel","rootName","diff","domConverter","isRemoved","_changeView","removeMarker:revision","listenTo","isLimit","return","getRevision","isEnabled","isContent","ck-suggestion-marker-merge","_getRevisionsRange","removeMarker:revision-suggestion","_markMarkers","_getDiff","isObject","sort","removeAttribute","_markInsertions","RevisionViewer","getAttribute","_fixObsoleteTags","roots","for","forward","attachChange","name","editor","locale","isInline","span","softBreak","markersStart","596gjeYHk","includes","restoreRevision","addRoot","_update","getRoot","level","document","done","10Zccdgc","observeMarkers","isAddSuggestion","createUIElement","children","init","_revisions","markers","endIndex","change:isEnabled","range","elementToAttribute","getAttributes","40eTBsEb","indexOf","plugins","flat","all","revision-start","writer","target","insertion","nextSibling","side","insert","compare","vid","attributesAfter","attributesBefore","model","toViewPosition","POSITIVE_INFINITY","_cleanUp","revisionHistoryLabel","ck-revision-history-root-","backward","isOfficialPlugin","1279098CDpjis","elementEnd","useFillerType","insertions","revisionHistory","ck-suggestion-marker","_getChangeFromId","showNextChange","config","startIndex","right","map","createRevision","_getViewObj","diffData","getItems","markerToHighlight","detachRoot","shift","parent","test","change:isReady","changes","set","enqueueChange","repository","execute","WidgetToolbarRepository","conversion","_removeUnsupportedChanges","top","activeChange","toViewElement","markerRange","isIncorrect","_step","filter","text","isAdded","element","marked","commands","ck-revision-history-root-remove","restoreRevisionCallback","high","_makeModelFromTape","createRange","add","addRevision","deletions","vid_end","markerNameToElements","view","then","_findChangeIdFromDomTarget","authors","getLaterVisibleRevision","markerName","from","getClientRects","offsetSize","splice","mapViewToDom","vid_start","pairId","destroy","end","getChild","elementStart","distance","setAttribute","_setChanges","pluginName","oldRevisionId","slice","964082rQYzLz","isBlock","change:activeView","_makeTape","isOnRoot","bindElementToMarker","10830358WzcfSb","toData","type","addMarker:revision-suggestion:insertion","_markMismatchedRemovedTags","revision:","clear","length","getCustomProperty","_initInteractions","parse","createAttributeElement","markerToData","ck-revision-history-root-add","pop","addClass","push","object","merge","delete","_removeMissingPairs","isSuggestion","dataDowncast","nextPosition","createRangeIn","removeMarker","default","suggestion:","suggestion","_markSuggestions","createPositionBefore","getRevisionRootsAttributes","revision-comment:","mouseover","deletion","ck-suggestion-marker-","consumable","ck-editor__editable__overlay","getDomRoot","attribute:vid","low","showStack","RevisionsRepository","isAfter","index","removeClass","addHighlight","code","ck-revision-history-root--active","isBefore","updatePosition","checkAttribute","change:numberOfChanges","change","isAtEnd","isAtStart","numberOfChanges","left","dataToMarker","revision-suggestion:","get","uiElement","userId","requires","revisionHistoryAttachChange","revision-end","_refreshStartEndIndex","abs","_changeIdToChange","hasAttribute","isReady","stop","revision","element:pre","ck-suggestion-marker--active","has","createPositionFromPath","_removeRevisionMarkers","previousPosition","attributes","adapter","startsWith","values","data-revision-","3027hCNGcE","first","ck-suggestion-marker-split","_setConversion","start","keys","isEqual","mousedown","viewItem","editing","data-change-id","resolve","785764LVrPYP","changeId","revision-suggestion","activeView","_threeWayMerge","concat","-new","find","isPremiumPlugin","_appendChild","newRevisionId","isNavigationMode","editingDowncast","addMarker:revision-suggestion:deletion","maxOffset","change:activeChange","_cleanMarkers","next","_sortAndFilterDiffChanges","catch","_getViewForChange","forEach","schema","addRevisionData","domEvent","_data","unbindElementFromMarkerName","highest","split","getRootNames","unshift","wrap","isCollapsed","ck-suggestion-preview-marker","_makeModelFromViewString","modelRange","consume","bind","forceDisabled","revision-viewer","isRemoveSuggestion","refresh","reconvertMarker","markersEnd","getRevisionData","_balloon","bottom","showPreviousChange","currentChangeNumber","findIndex","collaboration.channelId","selection","2044285rkxAxz","error","nodeAfter","mapper","remove","ck-suggestion-preview-marker-","downcastDispatcher","getWalker","hasClass","toViewRange","comment","_activeViewTarget","enableReadOnlyMode","18LyBolx"];return(Ir=function(){return t})()}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().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=["isNavigationMode","isForwardNavigationEnabled","23442iLcxWX","div","ck-revision-history-ui__changes-navigation__label","3279400OxUxhc","26185ruZEoh","Show previous change","ck-revision-history-ui__changes-navigation","Loading...","backward","Total","isEnabled","bindTemplate","908EaoVOO","No changes","setTemplate","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__navigation","execute","Show next change","span","_isStatusLabelVisible","set","_statusText","ck-revision-history-ui","184077dUOeVf","13510MPKkIQ","7264466cDFzRM","ck-hidden","forward","4077JMWUVF","EDIT_X_OF_Y_REVISIONS","24tylYnC","2212kKlRRq","isReady","numberOfChanges","bind","4LaHlSf","isBackwardNavigationEnabled","631791UjvUMC","fire","NUMBER_OF_CHANGES","X_OF_Y_CHANGES","currentChangeNumber"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=278]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(699406===-parseInt(e(310))/1+parseInt(e(322))/2*(-parseInt(e(279))/3)+-parseInt(e(298))/4*(-parseInt(e(290))/5)+parseInt(e(286))/6*(parseInt(e(318))/7)+-parseInt(e(289))/8+parseInt(e(315))/9*(parseInt(e(311))/10)+-parseInt(e(312))/11*(parseInt(e(317))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Ar extends En.View{constructor(t){const e=Tr;super(t);const i=this[e(297)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(307)](e(284),!1),this[e(307)](e(319),!1),this[e(307)](e(283),0),this[e(307)](e(320),0),this[e(307)](e(285),!1),this[e(307)](e(278),!1),this[e(321)](e(306)).to(this,e(319),this,e(320),((t,e)=>t&&e>0)),this[e(321)](e(308)).to(this,e(319),this,e(283),this,e(320),this,e(284),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(293));if(!r)return Xi(t,o(299));const a=Xi(t,o(281),r);return s?Xi(t,o(282),[n+1,r]):a})),n[e(307)]({label:Xi(t,e(291)),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(307)]({label:Xi(t,e(304)),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(321)](e(296)).to(this,e(278)),r[e(321)](e(296)).to(this,e(285)),n.on(e(303),(()=>this[e(280)](e(303),e(294)))),r.on(e(303),(()=>this[e(280)](e(303),e(314)))),this[e(300)]({tag:e(287),attributes:{class:["ck",e(309),e(292)]},children:[{tag:e(305),attributes:{class:[e(301)]},children:[{tag:e(305),attributes:{class:[e(288),i.if(e(306),e(313),(t=>!t))]},children:[{text:i.to(e(284),(i=>i?Xi(t,e(316))+": ":Xi(t,e(295))+": "))}]},{text:i.to(e(308))}]},new En.ToolbarSeparatorView,{tag:e(287),attributes:{class:[e(302)]},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=Zn();Cn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Vr=Mr;function Mr(t,e){const i=Er();return(Mr=function(t,e){return i[t-=191]})(t,e)}function Er(){const t=["5991183azSSBk","RevisionViewerLoadingOverlay","addClass","change","2652gWTMtr","pluginName","1248kcdJqs","show","473165eRajed","isOfficialPlugin","editing","ck-editor__editable__loading-overlay","3472745XvACmQ","hide","1206654FAlsvB","12lhFklU","isPremiumPlugin","16488ShjjQr","24CPIyiF","removeClass","document","1357412TOppHt","editor","670TIXVUC","roots","view"];return(Er=function(){return t})()}!function(t){const e=Mr,i=t();for(;;)try{if(364176===parseInt(e(196))/1*(-parseInt(e(198))/2)+-parseInt(e(211))/3*(parseInt(e(213))/4)+-parseInt(e(193))/5+-parseInt(e(195))/6+parseInt(e(202))/7*(-parseInt(e(199))/8)+-parseInt(e(207))/9+parseInt(e(204))/10*(parseInt(e(215))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Vr(192);class Cr extends qi.Plugin{static get[Vr(212)](){return Vr(208)}static get[Vr(216)](){return!0}static get[Vr(197)](){return!0}[Vr(214)](){const t=Vr,e=this[t(203)][t(191)][t(206)];e[t(210)]((i=>{const n=t;for(const t of e[n(201)][n(205)])i[n(209)](Dr,t)}))}[Vr(194)](){const t=Vr,e=this[t(203)][t(191)][t(206)];e[t(210)]((i=>{const n=t;for(const t of e[n(201)][n(205)])i[n(200)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=292]})(t,e)}function Lr(){const t=["2qdpzNk","isNavigationMode","1304406kOGjnK","execute","listenTo","bind","pluginName","isOfficialPlugin","93965ZrYyQU","requires","Back to editing","isPremiumPlugin","commands","init","6384672WQDVei","56408pWDdyM","currentChangeNumber","changesNavigation","18pDrZID","set","change:isReady","44FHalpU","componentFactory","Restore this revision","revisionHistory","show","isForwardNavigationEnabled","showNextChange","exitToEditing","1030966ySSfDc","config","numberOfChanges","920JmSjzE","isBackwardNavigationEnabled","forward","1066982oQWDCv","isReady","undo","10602774dRBjqz","plugins","add","showPreviousChange","editor","RevisionViewerUI","closeRevisionViewerCallback","get","isEnabled","restoreRevision","hide","ck-revision-history-ui__back-to-editing"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(657675===-parseInt(e(308))/1+parseInt(e(329))/2*(parseInt(e(331))/3)+parseInt(e(300))/4*(parseInt(e(337))/5)+-parseInt(e(297))/6*(parseInt(e(314))/7)+parseInt(e(293))/8+parseInt(e(317))/9+-parseInt(e(311))/10*(parseInt(e(294))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(335)](){return jr(322)}static get[jr(336)](){return!0}static get[jr(340)](){return!0}static get[jr(338)](){return[kr,Cr]}[jr(292)](){const t=jr,e=this[t(321)],i=e[t(318)][t(324)](kr),n=e[t(318)][t(324)](Cr);e.ui[t(301)][t(319)](t(307),(i=>{const n=t,r=new En.ButtonView(i);return r[n(298)]({label:Xi(i,n(339)),icon:qi.icons[n(316)],withText:!0,tooltip:!0,class:n(328)}),this[n(333)](r,n(332),(()=>{const t=n;e[t(309)][t(324)](t(303))[t(323)]()})),r})),e.ui[t(301)][t(319)](t(326),(i=>{const n=t,r=new En.ButtonView(i);return r[n(298)]({label:Xi(i,n(302)),withText:!0,tooltip:!0}),r[n(334)](n(325)).to(e[n(341)][n(324)](n(326))),this[n(333)](r,n(332),(()=>e[n(332)](n(326)))),r})),e.ui[t(301)][t(319)](t(296),(n=>{const r=t,s=new Ar(n),o=e[r(341)][r(324)](r(320)),a=e[r(341)][r(324)](r(306));return s[r(334)](r(312)).to(o,r(325)),s[r(334)](r(305)).to(a,r(325)),s[r(334)](r(315),r(295),r(310),r(330)).to(i),this[r(333)](s,r(332),((t,i)=>{const n=r;e[n(332)](n(313)===i?n(306):n(320))})),s})),n[t(304)](),i.on(t(299),((e,i,r)=>{const s=t;r?n[s(327)]():n[s(304)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=367]})(t,e)}function Hr(){const t=["set","extendTemplate","_resizeObserver","value","element","destroy","189HBSlXS","10345905SUVxHR","span","4548930YYhMjC","render","91610ybYKmU","ck-revision-history-sidebar__revision-name","7106160lnyaHu","scrollWidth","clientWidth","Enter the revision name","2398hqvljy","_updateTooltipText","fieldView","ck-tooltip_multi-line","61960xdwhlN","listenTo","placeholder","1nUUOGO","3036262mytEtk","input","Revision name","45NsOmXq","bindTemplate","646792MDElen","_tooltipString"];return(Hr=function(){return t})()}!function(t){const e=Zr,i=t();for(;;)try{if(787567===parseInt(e(394))/1*(parseInt(e(395))/2)+-parseInt(e(379))/3+-parseInt(e(368))/4*(parseInt(e(398))/5)+parseInt(e(383))/6+parseInt(e(376))/7*(parseInt(e(391))/8)+-parseInt(e(377))/9+-parseInt(e(381))/10*(-parseInt(e(387))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(372)]=null;const n=this[i(367)];this[i(370)]({label:Xi(t,i(397)),_tooltipString:""}),this[i(389)][i(393)]=Xi(t,i(386)),this[i(371)]({tag:i(378),attributes:{class:[i(382)],"data-cke-tooltip-text":n.to(i(369)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(390)}})}[Ur(380)](){const e=Ur;super[e(380)](),this[e(372)]=new t.ResizeObserver(this[e(389)][e(374)],(()=>this[e(388)]())),this[e(392)](this[e(389)],e(396),(()=>this[e(388)]()))}[Ur(375)](){const t=Ur;super[t(375)](),this[t(372)]&&this[t(372)][t(375)]()}[Ur(388)](){const t=Ur,e=this[t(389)][t(374)];this[t(369)]=e[t(384)]>e[t(385)]&&e[t(373)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().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-=405]})(t,e)}function Jr(){const t=["Revision creator","ck-revision-history-sidebar__revision-author_creator","0 0 11 10","name","7rxzDVp","ck-revision-history-sidebar__revision-author__name","set","2wOCLPe","span","1321024MrAwxR","setTemplate","267733ZOTsJp","4aXefLC","ck-revision-history-sidebar__revision-author","12djMOcq","51310tFEqvd","Revision author","351nvgSfI","6181989VTFtZZ","1569615dDufKF","808926mxjmpN","1269948LLzKor","push"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(184968===-parseInt(e(415))/1*(parseInt(e(411))/2)+parseInt(e(424))/3*(-parseInt(e(416))/4)+parseInt(e(423))/5+parseInt(e(425))/6*(parseInt(e(408))/7)+-parseInt(e(413))/8+parseInt(e(421))/9*(-parseInt(e(419))/10)+parseInt(e(422))/11*(parseInt(e(418))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(410)]({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(406)});const s=["ck",n(417)];i&&s[n(426)](n(405));const o=[{tag:n(412),attributes:{class:["ck",n(409)],title:Xi(t,n(i?427:420))},children:[r,e[n(407)]]}];this[n(414)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["toLocaleDateString","long","12684726zKkNVp","numeric","toLocaleTimeString","12sigRqs","21889668EjYsBu","2QQLmHj","2312429wMrelu","1867548cOhQNV","10yuWxHy","591129AeMOyC","11naNoBj","8MYMyDm","6671640ycwkQE","873960cCMPPc"];return(Kr=function(){return t})()}function Qr(t,e){var i=Kr();return(Qr=function(t,e){return i[t-=448]})(t,e)}!function(t){for(var e=Qr,i=t();;)try{if(713939===parseInt(e(455))/1*(-parseInt(e(451))/2)+-parseInt(e(453))/3+parseInt(e(449))/4*(-parseInt(e(459))/5)+-parseInt(e(458))/6+parseInt(e(452))/7*(parseInt(e(457))/8)+-parseInt(e(462))/9*(-parseInt(e(454))/10)+parseInt(e(456))/11*(parseInt(e(450))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().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-=324]})(t,e)}function is(){const t=["9HToMEk","Restore this revision","37716gCzyxt","menuitem","isOpen","isReady","_action","map","Show more items","locale","49782HsEHxe","class","first","95kDZLlE","name","action","isActionsDropdownOpen","isVisible","1334976TkPAZq","threeVerticalDots","add","listenTo","stopPropagation","find","720846dAYWbF","set","isEnabled","Compare against selected","45568QeOuMh","541234lVoOSU","1117242RMRlBE","bind","buttonView","execute","model","listView","children","source","change:isActionsDropdownOpen","bindTemplate","ck-on","function","items","panelPosition","extendTemplate","ck-revision-history-sidebar__revision__actions","button","menu","Name this revision"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(146135===-parseInt(e(335))/1+parseInt(e(336))/2+parseInt(e(366))/3+parseInt(e(358))/4*(-parseInt(e(369))/5)+-parseInt(e(337))/6+parseInt(e(331))/7+-parseInt(e(325))/8*(-parseInt(e(356))/9))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=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;function ss(){const t=["ck-revision-history-sidebar__revision__controls-wrapper","length","168ptTkVt","11RGUmzb","ck-revision-history-sidebar__revision","518664fPEIPn","50067IeAMHP","filter","isConfirm","createdAt","9541sMUVYN","1227476pvdoJm","ck-revision-history-sidebar__revision-wrapper","set","ck-revision-history-sidebar__revision-authors","name","fire","unshift","327776DLYlqq","isSelected","revisionActionsView","ck-revision-history-sidebar__actions_dropdown_open","select",".ck-thread__remove-confirm","220","deselect","highlight","_revision","bind","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","fieldView","render","element","extendTemplate","5BWZzjB","setTemplate","ck-disabled","isEnabled","isHighlighted","_requireRevisionName","creator","isReady","unhighlight","ck-reset","492nxUZVg","bindTemplate","from","authors","map","revisionNameView","setName","div","change","ck-revision-history-sidebar__revision_selected","srcElement","listenTo","isActionsDropdownOpen","ck-revision-history-sidebar__revision__date","1576210lTImCs","value","closest","954285rKZgWQ","span","ck-revision-history-sidebar__revision_highlighted","_createdAtFormatted","uiLanguage"];return(ss=function(){return t})()}const os=as;function as(t,e){const i=ss();return(as=function(t,e){return i[t-=224]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(200534===-parseInt(e(264))/1+-parseInt(e(251))/2+parseInt(e(241))/3+parseInt(e(257))/4*(parseInt(e(280))/5)+parseInt(e(224))/6*(-parseInt(e(256))/7)+-parseInt(e(248))/8*(-parseInt(e(252))/9)+parseInt(e(238))/10*(parseInt(e(249))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ss);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(225)],a=function(t,e){const i=s,n=Array[i(226)](e[i(227)])[i(253)]((t=>t!=e[i(286)]));return e[i(286)]&&n[i(263)](e[i(286)]),n[i(228)]((n=>new Gr(t,n,n==e[i(286)])))}(e,i);this.id=i.id,this[s(273)]=i,this[s(285)]=r,this[s(274)](s(261),s(255)).to(i),this[s(274)](s(244)).to(this,s(255),(t=>{return i=e[s(245)],(n=t)[(r=Qr)(460)](i,{month:r(461),day:r(463)})+", "+n[r(448)](i,{hour:r(463),minute:r(463)});var i,n,r})),this[s(259)](s(265),!1),this[s(259)](s(284),!1),this[s(259)](s(236),!1),this[s(259)](s(287),!1),this[s(259)](s(283),!1),this[s(229)]=new $r(e,En.createLabeledInputText),this[s(229)][s(276)][s(279)]({attributes:{maxlength:s(270)}}),this[s(229)][s(276)][s(274)](s(239)).to(this,s(261),(t=>t||this[s(244)])),this[s(229)][s(274)](s(283)).to(this,s(265),this,s(283),((t,e)=>t&&e)),this[s(266)]=n&&n[s(247)]?function(e,i){const n=es,r=e[n(346)],s=e[n(365)],o=(0,En.createDropdown)(s);o[n(350)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(365)],r={"Compare against selected":Xi(n,i(334)),"Name this revision":Xi(n,i(355)),"Restore this revision":Xi(n,i(357))};return e[i(363)]((t=>{const e=i,n=r[t[e(370)]];return n&&n!==t[e(370)]&&(t[e(370)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(353),model:new En.ViewModel({label:t[r(370)],class:t[r(367)],withText:!0,role:r(359),_action:t[r(371)]})};i[r(341)][r(338)](r(333)).to(e,r(372),(i=>r(348)!=typeof t[r(333)]||!i||t[r(333)](e))),o[r(327)](i)}return o}(e,i);return e[n(338)](n(372)).to(o,n(360)),o[n(339)][n(332)]({label:Xi(s,n(364)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(326)]}),o[n(351)]({attributes:{class:[n(352),r.if(n(372),n(347))]},on:{click:r.to((t=>t[n(329)]()))}}),o.on(n(340),(t=>{const i=n;e[i(361)]&&i(348)==typeof t[i(344)][i(362)]&&t[i(344)][i(362)](e)})),(0,En.addListToDropdown)(o,a,{role:n(354)}),o[n(328)](e,n(345),((t,r,s)=>{const a=n;if(s)for(const t of o[a(342)][a(349)]){const n=t[a(343)][a(368)],r=i[a(330)]((t=>t[a(371)]===n[a(362)]))[a(324)];t[a(324)]=void 0===r||r(e)}})),o}(this,n):"",this[s(266)]&&this[s(266)][s(274)](s(283)).to(this),this[s(281)]({tag:s(231),attributes:{class:["ck",s(289),s(258),o.if(s(254),s(275))]},children:[{tag:s(231),attributes:{class:["ck",s(289),s(250),o.if(s(283),s(282),(t=>!t)),o.if(s(265),s(233)),o.if(s(284),s(243)),o.if(s(236),s(267))]},children:[this[s(229)],{tag:s(242),attributes:{class:["ck",s(237)]},children:[{text:o.to(s(244))}]},{tag:s(231),attributes:{class:["ck",s(246)]},children:[{tag:"ul",attributes:{class:["ck",s(260)]},children:a}]},this[s(266)]],on:{click:o.to((t=>{const e=s;t[e(234)][e(240)](e(269))||this[e(287)]&&this[e(283)]&&this[e(262)](e(268),{id:this.id})}))}}]})}[os(277)](){const t=os;super[t(277)]();const e=this[t(229)][t(276)][t(278)];this[t(235)](e,t(232),(()=>{const i=t;this[i(285)]&&!e[i(239)]||this[i(262)](i(230),{id:this.id,name:e[i(239)]}),e[i(239)]||(e[i(239)]=this[i(261)]?this[i(261)]:this[i(244)])}))}[os(268)](){this[os(265)]=!0}[os(271)](){this[os(265)]=!1}[os(272)](){this[os(284)]=!0}[os(288)](){this[os(284)]=!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},Es={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 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 Eo(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=Mo(n,r,s),a=Do(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=Do(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}=Eo(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 Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(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=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-Do(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:Es,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 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 Ea(...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]]=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}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Va.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.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))?)?/,Pa),ac=Ma(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ma(/(\d{4})-?(\d{3})/,Pa),uc=Ma(La),lc=Ea((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=Ea(za,$a,qa,Ba),dc=Ea(Wa,$a,qa,Ba),fc=Ea($a,qa,Ba);const mc=Ea($a);const pc=Ma(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ma(Ua),yc=Ea($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 Da(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 Da(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 Ec(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=Ec(t,e);return(i-i%7)/7}],["days",Ec]],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 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}=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=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?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),[Xa,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=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}=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):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=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?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 Es}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&&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(){const t=["330649RUydYz","30BzwAah","1103529zCgGJL","week","615412lOeGsM","3331bNzJPf","local","toRelativeCalendar","9780HaxRiS","day","startOf","1292688QilDxC","hasSame","year","weekdayLong","setLocale","440094SgtsxG","monthLong","minus","fromJSDate","9oXKjKl","102tzUZYh","toJSDate","month","204pSWiEx"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=469]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(479)](t)[i(475)](e),r=wu[i(491)](),s=r[i(478)]({days:1})[i(470)](i(469));let o,a;return n[i(472)](r,i(469))?(o=n[i(470)](i(469))[i(482)](),a=n[i(492)]()):n[i(472)](s,i(469))?(o=s[i(482)](),a=n[i(492)]()):n[i(472)](r,i(488))?(o=n[i(470)](i(488))[i(482)](),a=n[i(474)]||""):n[i(472)](r,i(473))?(o=n[i(470)](i(483))[i(482)](),a=n[i(477)]||""):(o=n[i(470)](i(473))[i(482)](),a=String(n[i(473)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(103058===parseInt(e(490))/1*(-parseInt(e(481))/2)+parseInt(e(476))/3+parseInt(e(489))/4+parseInt(e(493))/5*(parseInt(e(484))/6)+parseInt(e(487))/7+-parseInt(e(471))/8*(parseInt(e(480))/9)+parseInt(e(486))/10*(-parseInt(e(485))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().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=Ru();return(Nu=function(t,e){return i[t-=219]})(t,e)}function Ru(){const t=["div","ck-revision-history-sidebar__time-period__label","find","localizedPeriodName","59660QQaIFL","ck-revision-history-sidebar__time-period","863951SYMdff","ck-revision-history-sidebar__time-period__revisions","setTemplate","addRevision","1080DstfyF","startDate","span","132dwTtiA","uiLanguage","96166asbFVp","3qfqBGc","36171yovnuy","_requireRevisionName","createCollection","1084730SCZnbS","30iQwZVh","693110RAVZRa","_revisionActions","add","setName","locale","removeRevision","select","delegate","revisionViews","remove","830608hleGKp"];return(Ru=function(){return t})()}!function(t){const e=Nu,i=t();for(;;)try{if(540339===parseInt(e(231))/1+parseInt(e(229))/2*(-parseInt(e(225))/3)+-parseInt(e(241))/4+-parseInt(e(246))/5+parseInt(e(222))/6*(parseInt(e(224))/7)+-parseInt(e(219))/8*(-parseInt(e(226))/9)+-parseInt(e(230))/10*(parseInt(e(248))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Vu extends En.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Ou(e,this[r(235)][r(223)])[r(245)];this[r(220)]=e,this[r(239)]=this[r(228)](),this[r(232)]=i,this[r(227)]=n,this[r(239)][r(238)](r(237)).to(this),this[r(239)][r(238)](r(234)).to(this),this[r(250)]({tag:r(242),attributes:{class:["ck",r(247)]},children:[{tag:r(221),attributes:{class:["ck",r(243)]},children:[{text:s}]},{tag:r(242),attributes:{class:["ck",r(249)]},children:this[r(239)]}]})}[Au(251)](t){const e=Au,i=new cs(this[e(235)],t,this[e(232)],this[e(227)]);this[e(239)][e(233)](i)}[Au(236)](t){const e=Au,i=this[e(239)][e(244)]((e=>e.id===t.id));this[e(239)][e(240)](i)}}var Mu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Pn().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Mu.A,Eu);Mu.A&&Mu.A.locals&&Mu.A.locals;function Du(){const t=["history","4384PeGSNk","9276ArpHQz","1135694qWBOAZ","424jyMDET","11HDaROB","setTemplate","ck-revision-history-sidebar__header","13ZYaNpW","75156qFbPGZ","content","165560bVTcgX","ck-reset_all","3115300rkATUW","ck-revision-history-sidebar__header__label","div","span","212AMukgN","639cOKhnU","Revision history","4205wDkRpG","32352SDvCLu"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=283]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(801062===parseInt(e(295))/1*(-parseInt(e(298))/2)+parseInt(e(293))/3*(-parseInt(e(289))/4)+-parseInt(e(292))/5*(-parseInt(e(296))/6)+-parseInt(e(297))/7+-parseInt(e(283))/8*(-parseInt(e(290))/9)+parseInt(e(285))/10*(-parseInt(e(299))/11)+-parseInt(e(303))/12*(-parseInt(e(302))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends En.View{constructor(t){const e=Cu;super(t);const i=new En.IconView;i[e(304)]=qi.icons[e(294)],this[e(300)]({tag:e(287),attributes:{class:["ck",e(284),e(301)]},children:[i,{tag:e(288),attributes:{class:["ck",e(286)]},children:[Xi(t,e(291))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=Wu;function zu(){const t=["_requireRevisionName","3248290UGeUUd","map","68220qpdtEH","bindTemplate","revisionSetName","ck-rounded-corners","69fkwhbP","122626sXWJNM","highlightRevisions","remove","ck-reset","removeRevision","17420KSXstg","selectRevision","setName","createdAt","set","unhighlight","70JxFLly","deselect","locale","9315580vOghAP","some","add","div","_addRevision","fire","_getTimePeriodViewByStartDate","get","isEnabled","find","_revisions","delegate","_removeRevision","getTime","836766UZxsFM","highlight","timePeriodViews","revisionViews","flat","ck-revision-history-sidebar__timeline","createCollection","ck-revision-history-sidebar","select","_revisionActions","ck-disabled","startDate","96rtXrSH","setTemplate","revisionSelected","addRevision","render","uiLanguage","10040232qsBIFq"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=169]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(817302===parseInt(e(208))/1*(parseInt(e(202))/2)+-parseInt(e(196))/3*(parseInt(e(192))/4)+parseInt(e(190))/5+parseInt(e(182))/6*(-parseInt(e(197))/7)+parseInt(e(188))/8+-parseInt(e(170))/9+-parseInt(e(211))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends En.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(193)];this[r(172)]=this[r(176)](),this[r(172)][r(222)](r(178)).to(this),this[r(172)][r(222)](r(204)).to(this),this[r(221)]=e,this[r(179)]=i,this[r(189)]=n,this.on(r(178),((t,e)=>{const i=r;this[i(216)](i(184),e)})),this.on(r(204),((t,e)=>{const i=r;this[i(216)](i(194),e)})),this[r(206)](r(219),!1),this[r(183)]({tag:r(214),attributes:{class:["ck",r(200),r(195),r(177)]},children:[new ju(t),{tag:r(214),attributes:{class:["ck",r(175),s.if(r(219),r(180),(t=>!t))]},children:this[r(172)]}]})}[Pu(186)](){const t=Pu;super[t(186)]();for(const e of this[t(221)])this[t(215)](e);this[t(221)].on(t(213),((e,i)=>{this[t(215)](i)})),this[t(221)].on(t(199),((e,i)=>{this[t(223)](i)}))}get[Pu(173)](){const t=Pu;return this[t(172)][t(191)]((e=>e[t(173)][t(191)]((t=>t))))[t(174)]()}[Pu(203)](t){const e=Pu;for(const i of this[e(173)])t&&t.id===i.id?i[e(178)]():i[e(209)]()}[Pu(198)](t){const e=Pu;for(const i of this[e(173)])t[e(212)]((({id:t})=>t===i.id))?i[e(171)]():i[e(207)]()}[Pu(215)](t){const e=Pu,i=Ou(t[e(205)],this[e(210)][e(187)])[e(181)];let n=this[e(172)][e(218)](0);n&&n[e(181)][e(169)]()===i[e(169)]()||(n=new Vu(this[e(210)],i,this[e(179)],this[e(189)]),this[e(172)][e(213)](n)),n[e(185)](t)}[Pu(223)](t){const e=Pu,i=Ou(t[e(205)],this[e(210)][e(187)])[e(181)];this[e(217)](i)[e(201)](t)}[Pu(217)](t){const e=Pu;return this[e(172)][e(220)]((i=>i[e(181)][e(169)]()===t[e(169)]()))}}const Zu=qu;!function(t){const e=qu,i=t();for(;;)try{if(200260===parseInt(e(431))/1*(parseInt(e(483))/2)+parseInt(e(467))/3*(parseInt(e(474))/4)+parseInt(e(429))/5+parseInt(e(413))/6*(parseInt(e(445))/7)+parseInt(e(451))/8*(parseInt(e(466))/9)+parseInt(e(430))/10*(parseInt(e(423))/11)+-parseInt(e(448))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class Hu extends qi.Plugin{static get[Zu(426)](){return Zu(475)}static get[Zu(463)](){return!0}static get[Zu(420)](){return!0}static get[Zu(411)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(446)]=t[e(461)][e(419)](kr),this[e(478)]=this[e(446)][e(440)],this[e(415)]=null}[Zu(437)](){const t=Zu,e=this[t(478)][t(468)],i=this[t(471)](),n=this[t(439)][t(482)][t(419)](t(470));this[t(415)]=new Uu(this[t(439)][t(489)],e,i,this[t(439)][t(482)][t(419)](t(450))),this[t(415)].on(t(417),this[t(433)][t(407)](this)),this[t(415)].on(t(469),this[t(460)][t(407)](this)),this[t(415)][t(407)](t(442)).to(this[t(446)]),this[t(415)][t(414)].on(t(491),((e,i)=>{const n=t;i[n(462)].on(n(491),((t,e)=>{const i=n;e[i(407)](i(442),i(428)).to(this[i(446)])}))})),this[t(415)][t(443)](),this[t(449)](this[t(439)][t(480)],t(412),this[t(454)][t(407)](this)),this[t(449)](this[t(446)],t(473),this[t(421)][t(407)](this)),n[t(481)](this[t(415)][t(409)])}[Zu(427)](){const t=Zu;this[t(415)][t(409)][t(456)](),this[t(415)][t(427)]()}[Zu(454)](){const t=Zu,e=this[t(478)][t(487)](0);if(e){const i=this[t(478)][t(464)](e.id);this[t(446)][t(488)](e,i)}}[Zu(433)](t,e){const i=Zu,n=this[i(478)][i(487)](e.id),r=this[i(478)][i(464)](n.id);this[i(446)][i(488)](n,r)}[Zu(460)](t,e){const i=Zu;this[i(478)][i(487)](e.id)[i(452)](e[i(434)])}[Zu(421)](t,e,i){const n=Zu,r=this[n(478)][n(410)](i);r[n(485)]>2?(this[n(415)][n(457)](r),this[n(415)][n(459)](null)):(this[n(415)][n(457)]([]),this[n(415)][n(459)](r[0]))}[Zu(471)](){const t=Zu,e=this[t(439)],i=Hu[t(477)],n=e[t(482)][t(419)](t(486))||Hu[t(465)];if(n[t(485)])return n[t(425)]((n=>{const r=t,s=r(453)==typeof n?Object[r(476)]({},i[n]):n;return s[r(436)]=s[r(436)][r(407)](this,e),s[r(479)]&&(s[r(479)]=s[r(479)][r(407)](this,e)),s}))}}function $u(){const t=["_revisions","revisionSetName","revisionHistory.viewerSidebarContainer","_createRevisionActions","Compare against selected","change:diff","28EAoymH","RevisionsSidebar","assign","availableRevisionActions","_revisionsRepository","isVisible","data","appendChild","config","312890qukqhI","getLaterVisibleRevision","length","revisionHistory.revisionActions","getRevision","compare","locale","getIndex","add","bind","restoreRevisionCallback","element","getRevisionsInDiff","requires","ready","138NJaZgG","timePeriodViews","_sidebarView","select","revisionSelected","fieldView","get","isPremiumPlugin","_handleDiffChange","diff","66wGjQge","compareAgainstSelected","map","pluginName","destroy","isReady","384890aJpICD","152440xyDVaC","2VvzpgZ","Restore this revision","_handleRevisionSelected","name","focus","action","init","newRevisionId","editor","repository","isSelected","isEnabled","render","restoreRevision","17206YcOqut","_revisionViewer","revisionHistory","8209692fQjCcW","listenTo","revisionHistory.requireRevisionName","14224nYRmsz","setName","string","_handleEditorDataReady","Name this revision","remove","highlightRevisions","nameRevision","selectRevision","_handleRevisionSetName","plugins","revisionViews","isOfficialPlugin","getEarlierVisibleRevision","defaultRevisionActions","1395VYIrpo","30405PTQXNy"];return($u=function(){return t})()}function qu(t,e){const i=$u();return(qu=function(t,e){return i[t-=407]})(t,e)}Hu[Zu(465)]=[Zu(424),Zu(444),Zu(458)],Hu[Zu(477)]={compareAgainstSelected:{name:Zu(472),action:({plugins:t},e)=>{const i=Zu,n=t[i(419)](kr),r=n[i(440)];let s=n[i(422)][i(438)],o=e.id;r[i(490)](s)>r[i(490)](o)&&([s,o]=[o,s]),n[i(488)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(419)](kr);return!(n[i(440)][i(410)](n[i(422)])[i(485)]>2||e[i(441)])}},restoreRevision:{name:Zu(432),action:(t,{id:e})=>{const i=Zu;t[i(482)][i(419)](i(447))[i(408)](e)},isVisible:({plugins:t},e)=>!!t[Zu(419)](kr)[Zu(440)][Zu(484)](e.id)},nameRevision:{name:Zu(455),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(419)](kr),s=r[n(440)][n(464)](e);r[n(488)](e,s),i[n(435)](),i[n(418)][n(416)]()}}};const Bu=Hu,Yu=Ju;function Ju(t,e){const i=Gu();return(Ju=function(t,e){return i[t-=341]})(t,e)}function Gu(){const t=["viewportTopOffset","fire","_elementReplacer","_toolbarConfig","stickyPanel","view","_view","69547qQlLea","get","1701kzAfng","element","5543136FxKWwI","limiterElement","4674260qRfGfd","18FksRgd","render","_initToolbar","fillFromConfig","isActive","editing","isFocused","24VEqXKl","config","21444rLWwNc","4Bdjuqb","setEditableElement","1680scQfpR","addToolbar","editable","bind","name","document","getRoot","viewportOffset","toolbar","attachDomRoot","restore","detachDomRoot","9809121VjfTBU","destroy","componentFactory","10984myzwSO","replace","editor","16482829MsGuhf","rootName","focusTracker","ready","init"];return(Gu=function(){return t})()}!function(t){const e=Ju,i=t();for(;;)try{if(781217===parseInt(e(341))/1*(-parseInt(e(358))/2)+parseInt(e(343))/3*(parseInt(e(375))/4)+parseInt(e(360))/5*(parseInt(e(357))/6)+parseInt(e(372))/7+parseInt(e(345))/8+-parseInt(e(348))/9*(parseInt(e(347))/10)+parseInt(e(378))/11*(-parseInt(e(355))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends En.EditorUI{get[Yu(388)](){return this[Yu(389)]}constructor(e,i){const n=Yu;super(e),this[n(389)]=i,this[n(386)]=(0,En.normalizeToolbarConfig)(e[n(356)][n(342)](n(368))),this[n(385)]=new t.ElementReplacer}get[Yu(344)](){const t=Yu;return this[t(388)][t(344)]}[Yu(382)](t){const e=Yu,i=this[e(377)],n=this[e(388)],r=i[e(353)][e(388)],s=n[e(362)],o=r[e(365)][e(366)]();s[e(364)]=o[e(379)],n[e(349)]();const a=s[e(344)];this[e(359)](s[e(364)],a),n[e(362)][e(363)](e(354)).to(this[e(380)]),r[e(369)](a),this[e(385)][e(376)](t,this[e(344)]),this[e(350)](),this[e(384)](e(381))}[Yu(373)](){const t=Yu;super[t(373)]();const e=this[t(388)],i=this[t(377)][t(353)][t(388)];this[t(385)][t(370)](),i[t(371)](e[t(362)][t(364)]),e[t(373)]()}[Yu(350)](){const t=Yu,e=this[t(388)];e[t(387)][t(363)](t(352)).to(this[t(380)],t(354)),e[t(387)][t(346)]=e[t(344)],e[t(387)][t(363)](t(383)).to(this,t(367),(({top:t})=>t)),e[t(368)][t(351)](this[t(386)],this[t(374)]),this[t(361)](e[t(368)])}}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Pn().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Zn();Cn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;function tl(t,e){var i=il();return(tl=function(t,e){return i[t-=414]})(t,e)}var el=tl;function il(){var t=["220jwVvpZ","1422980vkcVDT","top","149wooTPP","759816HUsLbz","665937jSgQxF","shouldToolbarGroupWhenFull","532169tgXSkz","content","toolbar","editable","4142190bueUMJ","render","8188JtJodT","add","stickyPanel","main","48ZcHgAx","594139AWSYVd","60uJeIyF","_editable"];return(il=function(){return t})()}!function(t){for(var e=tl,i=t();;)try{if(505180===parseInt(e(431))/1*(-parseInt(e(420))/2)+parseInt(e(433))/3+parseInt(e(429))/4+parseInt(e(418))/5+-parseInt(e(426))/6*(parseInt(e(425))/7)+-parseInt(e(424))/8*(parseInt(e(432))/9)+parseInt(e(428))/10*(parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends En.BoxedEditorUIView{get[el(417)](){return this[el(427)]}constructor(t,e,i={}){var n=el;super(t),this[n(422)]=new En.StickyPanelView(t),this[n(416)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(434)]}),this[n(427)]=new En.InlineEditableUIView(t,e)}[el(419)](){var t=el;super[t(419)](),this[t(422)][t(415)][t(421)](this[t(416)]),this[t(430)][t(421)](this[t(422)]),this[t(423)][t(421)](this[t(417)])}}const rl=ol;function sl(){const t=["initialData","create","1645731RvsOhZ","init","editing","initPlugins","14427DbFAue","document","get","destroy","config","10ABPCWi","890600vSVXFJ","locale","7HfdHah","662034BMqmBS","170698siKHsc","model","sourceElement","updateSourceElement","createRoot","429556vJNwsu","data","fire","208302fkvKrb","ready","_ui","view"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=409]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(118389===-parseInt(e(423))/1+parseInt(e(431))/2+-parseInt(e(413))/3+-parseInt(e(428))/4*(parseInt(e(418))/5)+-parseInt(e(422))/6*(-parseInt(e(421))/7)+parseInt(e(419))/8+parseInt(e(409))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[ol(433)]}constructor(t,e){const i=ol;super(e),this[i(425)]=t,this[i(424)][i(414)][i(427)]();const n=new nl(this[i(420)],this[i(411)][i(434)],{shouldToolbarGroupWhenFull:!0});this[i(433)]=new Ku(this,n)}[rl(416)](){const t=rl;return this[t(426)](),this.ui[t(416)](),super[t(416)]()}static async[rl(436)](t,e){const i=rl,n=new this(t,e);return await n[i(412)](),await n.ui[i(410)](t),await n[i(429)][i(410)](n[i(417)][i(415)](i(435))||""),n[i(430)](i(432)),n}}const cl=ll;function ul(){const t=["PaginationLookup","isOfficialPlugin","RevisionHistory","_restoreRevision","getRevisionData","end","get","changesNavigation","isAnonymous","_getRevisionViewerEditorConfig","createRangeIn","repository","catch","toLocaleDateString","none","16197YALkSF","enqueueChange","create","isReady","plugins","createdAt","translations","creator","7491411mfAQgl","toJSON","getUser","join","showRevisionViewerCallback","style","getRevisions","insert","error","setSelection","users","long","RevisionViewerIntegration","isAttached","commands","$graveyard","revisionHistory.closeRevisionViewerCallback","roots","push","Annotations","getRevisionRootsAttributes","isOpen","_cleanUp","Restored","map","revisionHistory.showRevisionViewerCallback","selection","from","addUser","result","refreshVisibility","706956VTLbOv","saveRevision","rootName","addRevisionData","indexOf","535625pJnCWX","name","_enhanceCloseRevisionViewerCallback","RestrictedEditingMode","refreshPositioning","revisionHistory.viewerContainer","set","Autosave","display","locale","remove","init","closeRevisionViewerCallback","RevisionsRepository","lazyRoots","revisionHistory.requireRevisionName","revision-history-missing-configuration","Users","_closeRevisionViewer","removeSelectionAttribute","fromVersion","Dialog","destroy","_viewerEditor","595544smILaR","exitToEditing","RevisionTracker","287518xKgymH","_update","hide","fromCharCode","setAttribute","RevisionViewer","markers","removeMarker","bind","enableReadOnlyMode","data","revisionHistory.viewerEditorElement","287Tevcmw","getRevision","revisionHistory.editorContainer","revision-history-viewer-opened","isReadOnly","_enhanceShowRevisionViewerCallback","parse","toLocaleTimeString","getAttributeKeys","restoreRevision","restrictedEditingException","keys","block","requires","toVersion","isEnabled","RevisionHistoryUI","uiLanguage","define","numeric","10EVanok","detachRoot","isPremiumPlugin","update","save","has","document","revisionHistory","20142nxZfBZ","pluginName","config","includes","136eZULXw","_showRevisionViewer","toolbar","then","change","editor","addRoot","getMarkersGroup","revisionHistory.restoreRevisionCallback","adapter","disableReadOnlyMode","_recalculatePageBreaks","getRoot","model","removeAttribute"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(184149===-parseInt(e(356))/1+-parseInt(e(400))/2*(parseInt(e(285))/3)+parseInt(e(324))/4+-parseInt(e(329))/5+-parseInt(e(396))/6*(parseInt(e(368))/7)+parseInt(e(353))/8+-parseInt(e(293))/9*(-parseInt(e(388))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(384),cl(332)];class dl extends qi.Plugin{static get[cl(397)](){return cl(305)}static get[cl(271)](){return!0}static get[cl(390)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(317)]((t=>String[e(359)](t)))[e(296)]("")}super(t),this[e(322)]=e(275),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(397)](){return cl(272)}static get[cl(271)](){return!0}static get[cl(390)](){return!0}static get[cl(381)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(405)][i(398)][i(276)](i(395)))throw new t.CKEditorError(i(345),this);this[i(352)]=null,this[i(405)][i(398)][i(386)](i(318),(t=>this[i(401)]({...t,translations:this[i(405)][i(338)][i(291)]}))),this[i(405)][i(398)][i(386)](i(309),(t=>this[i(347)](t))),this[i(405)][i(398)][i(386)](i(263),(t=>this[i(273)](t))),this[i(405)][i(398)][i(386)](i(344),!1),this[i(373)](),this[i(331)]()}set[cl(264)](t){const e=cl;this[e(405)][e(289)][e(276)](e(355))[e(264)]=t}get[cl(264)](){const t=cl;return this[t(405)][t(289)][t(276)](t(355))[t(264)]}[cl(327)](t){const e=cl;return this[e(405)][e(289)][e(276)](e(355))[e(327)](t)}[cl(369)](t){const e=cl;return this[e(405)][e(289)][e(276)](e(342))[e(369)](t)}[cl(299)](t){const e=cl;return this[e(405)][e(289)][e(276)](e(342))[e(299)](t||{toJSON:!1})}[cl(279)](){const e=cl,i=this[e(405)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(289)][e(276)](e(355)),s=i[e(289)][e(276)](e(346))[e(303)];return n[e(402)]=[e(354),e(377),e(277)],delete n[e(343)],n[e(289)][e(311)](dl,kr,Pr,class extends qi.Plugin{static get[e(381)](){return[kr,e(346)]}[e(340)](){const n=e,o=this[n(405)][n(289)][n(276)](n(346));for(const t of s)t[n(278)]||o[n(295)](t.id)||o[n(321)](t);const a=r[n(281)][n(299)]();let c=null;const u=this[n(405)][n(289)][n(276)](n(361));u[n(264)]=r[n(264)],u[n(364)](n(383)).to(r),this[n(405)][n(307)][n(276)](n(377))[n(364)](n(383)).to(i,n(372),(t=>!t));for(const e of a){const i=null===e[n(292)];if(i&&e[n(382)]===e[n(349)])continue;const s=e[n(294)]();u[n(327)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(357)](s,o);else if(!o){const e=a[u(294)]();e.id=(0,t.uid)(),r[u(325)](e,a[u(382)])[u(403)]((t=>{c=t}))}}else e[u(357)](s,o)}))}}},Bu),n}[cl(373)](){const t=cl,e=this[t(405)][t(398)][t(276)](t(395))[t(297)];this[t(405)][t(398)][t(335)](t(318),(async()=>{const i=t;this[i(405)][i(365)](i(371));const n=this[i(405)][i(289)][i(276)](i(355));if(this[i(405)][i(289)][i(393)](i(336))){const t=this[i(405)][i(289)][i(276)](i(336));await t[i(392)]()}else await n[i(391)]();if(this[i(405)][i(289)][i(393)](i(270))&&this[i(405)][i(289)][i(276)](i(270))[i(266)](),this[i(405)][i(289)][i(393)](i(350))){const t=this[i(405)][i(289)][i(276)](i(350));t[i(314)]&&t[i(358)]()}const r=this[i(279)]();return e(r)[i(403)]((t=>{const e=i;return this[e(352)]=t,this[e(405)][e(289)][e(393)](e(312))&&this[e(405)][e(289)][e(276)](e(312))[e(323)](),t}))[i(282)]((t=>(console[i(301)](t),this[i(405)][i(265)](i(371)),null)))}))}[cl(331)](){const t=cl,e=this[t(405)][t(398)][t(276)](t(395))[t(341)];this[t(405)][t(398)][t(335)](t(309),(()=>(this[t(405)][t(289)][t(393)](t(270))&&this[t(405)][t(289)][t(276)](t(270))[t(266)](),this[t(352)][t(289)][t(276)](t(361))[t(315)](),e(this[t(352)])[t(403)]((()=>{const e=t;if(this[e(405)][e(265)](e(371)),this[e(352)]=null,this[e(405)][e(289)][e(393)](e(312))){const t=this[e(405)][e(289)][e(276)](e(312));t[e(323)](),t[e(333)]()}})))))}[cl(401)](t){const e=cl,i=this[e(405)][e(398)][e(276)](e(370)),n=this[e(405)][e(398)][e(276)](e(334)),r=this[e(405)][e(398)][e(276)](e(367));return al[e(287)](r,t)[e(403)]((t=>(n[e(298)][e(337)]=e(380),i[e(298)][e(337)]=e(284),t)))}[cl(347)](t){const e=cl,i=this[e(405)][e(398)][e(276)](e(370));return this[e(405)][e(398)][e(276)](e(334))[e(298)][e(337)]=e(284),i[e(298)][e(337)]="",t[e(351)]()}async[cl(273)](t){const e=cl,i=this[e(405)],n=this[e(352)][e(289)][e(276)](e(361)),r=i[e(289)][e(276)](e(355)),s=n[e(281)][e(369)](t);let o,a,c;try{o=await n[e(274)](s),a=await n[e(313)](s)}catch(t){return void console[e(301)](t)}i[e(268)][e(404)]((t=>{const n=e;for(const e of Array[n(320)](i[n(268)][n(362)][n(262)](n(378))))t[n(363)](e)})),n[e(288)]=!1,i[e(268)][e(286)]((t=>{const n=e;t[n(302)](null),t[n(348)](i[n(268)][n(394)][n(319)][n(376)]());const r=Object[n(379)](o);for(const e of i[n(268)][n(394)][n(310)])n(308)!=e[n(326)]&&e[n(306)]()&&!r[n(399)](e[n(326)])&&t[n(389)](e);for(const e of r){let r=i[n(268)][n(394)][n(267)](e);r&&r[n(306)]()||(r=t[n(406)](e));const s=a[e],c=Object[n(379)](s),u=o[e];for(const e of r[n(376)]())c[n(399)](e)||t[n(269)](e,r);for(const i of c)t[n(360)](i,a[e][i],r);t[n(339)](t[n(280)](r)),t[n(300)](i[n(366)][n(374)](u,r),r,0)}}));const u=Xi(i[e(338)],e(316));return c=s[e(330)]?-1==s[e(330)][e(328)](u)?u+": "+s[e(330)]:s[e(330)]:u+": "+s[e(290)][e(283)](i[e(338)][e(385)],{month:e(304),day:e(387)})+", "+s[e(290)][e(375)](i[e(338)][e(385)],{hour:e(387),minute:e(387)}),await r[e(325)]({name:c}),n[e(288)]=!0,i[e(398)][e(276)](e(395))[e(341)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=257]})(t,e)}function pl(){var t=["4698423Kfwwll","1159165AiDHSg","15720uCyMuv","23177pfVRNR","13730NDyPEi","45nyBjgs","8315928ccSqtU","3466daBPJA","390agLeDT","1157034BHhqQe","543AhcCzM"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(882146===parseInt(e(259))/1*(parseInt(e(267))/2)+parseInt(e(257))/3*(parseInt(e(262))/4)+parseInt(e(265))/5*(-parseInt(e(258))/6)+-parseInt(e(261))/7+-parseInt(e(266))/8+-parseInt(e(260))/9+parseInt(e(264))/10*(parseInt(e(263))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();