@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250210.0 → 0.0.0-nightly-20250211.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +10 -10
  148. package/src/changeitem.js +2 -2
  149. package/src/editor/revisionviewereditor.js +2 -2
  150. package/src/editor/revisionviewereditorui.js +1 -1
  151. package/src/editor/revisionviewereditoruiview.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/revision.js +2 -2
  154. package/src/revisiondiff.js +1 -1
  155. package/src/revisionhistory.js +1 -1
  156. package/src/revisionsrepository.js +1 -1
  157. package/src/revisiontracker.js +1 -1
  158. package/src/revisionviewer.js +1 -1
  159. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  160. package/src/ui/revision/revisionauthorview.js +1 -1
  161. package/src/ui/revision/revisionnameview.js +1 -1
  162. package/src/ui/revision/revisionview.js +2 -2
  163. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  164. package/src/ui/revision/subrevisionview.js +1 -1
  165. package/src/ui/revision/utils.js +1 -1
  166. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  167. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  168. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  169. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  172. package/src/ui/revisionssidebar/utils.js +1 -1
  173. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  174. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  175. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  176. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  177. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const E=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const M=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,U=P.toString,W=z.hasOwnProperty,Z=RegExp("^"+U.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(E(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 X=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 Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?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]=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=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Et="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mt=Et&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Mt&&Mt.exports===Et?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Ut="object"==typeof exports&&exports&&!exports.nodeType&&exports,Wt=Ut&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Wt&&Wt.exports===Ut&&y.process;const Ht=function(){try{var t=Wt&&Wt.require&&Wt.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=At(t),n=!i&&Nt(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 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)&&!E(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 At(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 Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Ee=q(k,"WeakMap");var Me="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),Pe=F(Ae),ze=F(Re),Ue=F(Ee),We=A;(Ne&&We(new Ne(new ArrayBuffer(1)))!=je||B&&We(new B)!=Me||Ae&&We(Ae.resolve())!=Ve||Re&&We(new Re)!=De||Ee&&We(new Ee)!=Ce)&&(We=function(t){var e=A(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 Ve;case ze:return De;case Ue:return Ce}return e});const Ze=We;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,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 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 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=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=At(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]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(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 Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Ei=function(t){return null==t?"":Ri(t)};const Mi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Ei(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Mi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Mi(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Mi(e,t),null==(t=Pi(t,e))||delete t[Vi(ji(e))]};const Ui=function(t,e){return null==t||zi(t,e)},Wi=Zi;function Zi(t,e){const i=Hi();return(Zi=function(t,e){return i[t-=421]})(t,e)}function Hi(){const t=["135674DPvEGK","set","fire","872905dUyxfj","authors","_update","setAttribute","creator","map","72uyLncE","57194pYGLRw","1133396BZqLTU","diffData","name","authorsIds","5730492AMHdmP","10hJVfEy","creatorId","toJSON","createdAt","500513JsDrLo","141HxeJvA","removeAttribute","attributes","toVersion","fromVersion","setName","3251772TwFWGD"];return(Hi=function(){return t})()}!function(t){const e=Zi,i=t();for(;;)try{if(967592===parseInt(e(440))/1+-parseInt(e(430))/2*(-parseInt(e(441))/3)+-parseInt(e(431))/4+parseInt(e(423))/5+-parseInt(e(435))/6+parseInt(e(448))/7*(-parseInt(e(429))/8)+parseInt(e(447))/9*(parseInt(e(436))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Zi;super(),this.id=e.id||(0,t.uid)(),this[i(427)]=e[i(427)]||null,this[i(424)]=e[i(424)]||[],this[i(432)]=e[i(432)]||null,this[i(444)]=e[i(444)]||0,this[i(445)]=e[i(445)]||0,this[i(421)](i(433),e[i(433)]||""),this[i(421)](i(439),e[i(439)]||new Date),this[i(421)](i(443),e[i(443)]||{})}[Wi(446)](t){this[Wi(425)]({name:t})}[Wi(426)](t,e){const i=Wi,n=vi(this[i(443)]);Ci(n,t,e),this[i(425)]({attributes:n})}[Wi(442)](t){const e=Wi,i=vi(this[e(443)]);Ui(i,t),this[e(425)]({attributes:i})}[Wi(425)](t,e=!1){const i=Wi;let n=!1;const r={id:this.id},s=[i(433),i(439),i(432),i(424),i(443),i(444),i(445),i(437)];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(424)]&&(r[i(434)]=r[i(424)][i(428)]((t=>t.id)),delete r[i(424)]),this[i(422)](i(425),r,e))}[Wi(438)](){const t=Wi;return{id:this.id,name:this[t(433)],creatorId:this[t(427)]?this[t(427)].id:null,authorsIds:this[t(424)][t(428)]((t=>t.id)),diffData:this[t(432)],createdAt:this[t(439)],attributes:this[t(443)],fromVersion:this[t(445)],toVersion:this[t(444)]}}}var qi=i(782),Bi=i(211),Yi=i(783);function Ji(){const t=["getRevision","getLaterVisibleRevision","isNaN","later","8lYQdXt","addRevision","489lBgDuP","push","fromVersion","toJSON","isPremiumPlugin","requires","oldRevisionId","attributes","creatorId","name","join","editor","map","getRevisionsInDiff","toVersion","5548aWOWwx","getRevisions","3458043jlXKlF","plugins","length","reverse","pluginName","getUser","data","getRevisionsIterator","_revisions","getEarlierVisibleRevision","172964fbOJbf","add","fromCharCode","Users","newRevisionId","createdAt","602840AVkJlm","23527suNFrA","get","authorsIds","href","12UaLaaG","earlier","RevisionsRepository","createRevision","getIndex","1086HoUZoe","427870vzbKKW","isOfficialPlugin","5221POQFdA","from","afterInit","320ZaHzIF","diffData"];return(Ji=function(){return t})()}const Gi=Ki;function Ki(t,e){const i=Ji();return(Ki=function(t,e){return i[t-=306]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(445346===parseInt(e(361))/1*(-parseInt(e(307))/2)+parseInt(e(315))/3*(parseInt(e(330))/4)+parseInt(e(348))/5+parseInt(e(358))/6*(parseInt(e(349))/7)+-parseInt(e(313))/8*(-parseInt(e(332))/9)+-parseInt(e(359))/10+parseInt(e(342))/11*(-parseInt(e(353))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ji);class Xi extends qi.Plugin{static get[Gi(320)](){return[Bi.Users]}static get[Gi(336)](){return Gi(355)}static get[Gi(360)](){return!0}static get[Gi(319)](){return!0}get[Gi(334)](){const t=Gi;return this[t(340)][t(334)]}constructor(e){const i=Gi;super(e),this[i(340)]=new t.Collection}[Gi(306)](){!async function(e){const i=k([82,106,71,72,75,57,70,77,76,69,89,73,117,86,118,49,104,110,108,119,81,51,120,115,65,107,85,80,56,111,121,109,103,55,99,98,78,113,68,88,100,114,84,105,97,67,101,87,116,48,50,112,74,79,102,52,54,90,83,53,122,66]),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(311)](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([82]);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(327)]((t=>String[e(344)](t)))[e(325)]("")}!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:1739145600;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(352)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Gi(356)](t){const e=Gi,i=this[e(326)][e(333)][e(350)](e(345));return new $i({id:t.id,name:t[e(324)],creator:t[e(323)]?i[e(337)](t[e(323)]):null,diffData:t[e(308)]||t[e(338)],authors:t[e(351)][e(327)]((t=>i[e(337)](t))),createdAt:new Date(t[e(347)]),attributes:t[e(322)],fromVersion:t[e(317)],toVersion:t[e(329)]})}[Gi(314)](t,e=0){const i=Gi;this[i(340)][i(343)](t,e)}[Gi(309)](t){const e=Gi;return this[e(340)][e(350)](t)}[Gi(331)](t={toJSON:!1}){const e=Gi,i=Array[e(362)](this[e(340)]);return i[e(335)](),t[e(318)]?i[e(327)]((t=>t[e(318)]())):i}[Gi(357)](t){const e=Gi;return this[e(340)][e(357)](t)}[Gi(341)](t){const e=Gi,[,i]=this[e(339)](t,{direction:e(354)});return i}[Gi(310)](t){const e=Gi,[,i]=this[e(339)](t,{direction:e(312)});return i}[Gi(328)](t){const e=Gi,i=[];for(const n of this[e(339)](t[e(346)]))if(i[e(316)](n),n.id===t[e(321)])break;return i}*[Gi(339)](t,{direction:e=Gi(354),filter:i=()=>!0}={}){const n=Gi,r=n(354)===e?1:-1;let s=this[n(340)][n(350)](t),o=this[n(357)](s);for(yield s;s;){if(o+=r,s=this[n(309)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(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)},_n=En;function In(){const t=["collaboration.channelId","clear","NEGATIVE_INFINITY","revisionHistoryLicenseKeyValid","_continueCurrentRevision","_idsRoots","toData","3493rEAOIM","document","from","_handleInsertOperation","_createFromRanges","offsetSize","_lastTo","userId","createRange","attributesAfter","markers","elementStart","_copyMarkers","insertion","map","editing","split","getAttribute","_appendChild","merge","dataToMarker","revisionHistoryLicenseKeyTrialLimit","keys","_startingRevisionId","authorsIds","_bufferedUpdates","newValue","deletion","_baseRoots","string","delete","_touched","addRoot","_authorId","getTransformedByOperation","bind","trialLimit","view","marked","_baseRootsAttributes","getOperation","379160WDyLvB","parse","locale","401625bqEzVn","getLatestVersion","tableCell","_update","clone","revision-start","childCount","finally","addRevision","RealTimeCollaborationClient","root","attributesBefore","getRoot","conversion","splitPosition","$graveyard","_getState","_loadRevisionData","find","data-revision-","2163704nPdtJO","getRange","deletions","createPositionFromPath","Users","_baseIdsRoots","_cloneOperation","_isInit","evaluationLimit","saveRevision","_operations","forEach","updateRevisions","graveyardPosition","dataDowncast","domainLimit","_makeModelFromViewString","_handleMoveOperation","4483050KuYjNC","_makeRevision","plugins","detachRoot","_generateTape","_diffRoots","insertions","nodes","documentFragment","getRootNames","getChildren","type","revisionHistoryLicenseKeyUsageLimit","sourcePosition","revisionHistoryLicenseKeyDomainLimit","revisionHistoryLicenseKeyInvalid","roots","upcast","then","initial","_markChanges","licenseKey","_removeRevisionMarkers","getData","attachChange","resolve","_applyOperations","getRevision","marker","attributes","_getVidAttributeName","getAncestors","afterInit","history","_touchedRoots","reinsert","_markers","startsWith","_handleRootAttributeOperation","createPositionBefore","size","values","insert","revisionHistory.resumeUnsavedRevision","end","_findInsertionIndex","createPositionAfter","includes","_initialRevisionId","_setAttribute","getAttributes","getCurrentRevisionId","revisionHistoryLicenseKeyExpired","pluginName","removeRootAttribute","revision:","editor","addRevisionData","move","getUser","changeRootAttribute","_pendingAction","_createCurrentRevision","_createInitialRevision","initialData","_removePendingAction","get","shift","model","_getFromVersion","_removeMetaData","sort","_replaceEditorDataWithRevisionData","vid_start","isPremiumPlugin","_addPendingAction","usageLimit","name","RevisionTracker","_source","RevisionsRepository","markerToData","set","parent","getWalker","_revisionDataBuilder","getTime","_saveMetaData","isOfficialPlugin","_handleRootOperation","filter","destroy","length","isAdd","_prepareViewToSave","version","_showLicenseError","PENDING_ACTION_REVISION_HISTORY","baseVersion","revision","setSource","getRevisionDocumentData","isReady","_startingVersion","remove","creatorId","key","createPositionAt","fromEntries","stringify","_handleSplitOperation","_bufferUpdate","_loadedStateData","requires","position","howMany","paragraph","getOperations","_handleMergeOperation","trim","1536AOgFez","revisionHistoryLicenseKeyEvaluationLimit","update","default","setRevisionData","featureNotAllowed","config","9sSHELG","rootName","_clone","element","slice","path","vid","hasContent","newRange","RevisionHistory","expired","data","getMovedRangeStart","_getViewJson","add","isEnabled","useFillerType","vid_end","$text","_processRootBeforeSave","getNodeByPath","PendingActions","insertionPosition","children","_revisionId","40701ELhaBS","_isPendingUpdate","176rXHgZo","keepParagraph","getRevisions","addRootAttribute","_transformMarkers","_loadState","start","reInit","toModel","invalid","Initial revision","createRangeIn","revision-end","_licenseKeyCheckInterval","affectsData","targetPosition","Empty document","repository","_diffRootsAttributes","_execute","_fixRange","rootsAttributes","previousPosition","_getPreviousFrom","_isAttached","text","getChild","diffData","has","revisionHistoryLicenseKeyNotAllowed","source","508494USNUkR","range","push","creator","some","isEqual","nodeAfter","createdAt","_fixPosition","_reset","stickiness","authors","item","_handleMarkerOperation","reverse","for","_getBaseVids","buildRevisionData","sendBufferedUpdates","_lastFrom","oldRange","_savedMetaData","getRevisionRootsAttributes","_handleOperation","editor-initial-data-replaced-with-revision-data","currentRevision","toView","_setConversion","_makeIdsRoot","loadState","toVersion","createRevision","getIndex","_insertChild","fromVersion","init","_calculateMetaData","offset","max","processor","elementEnd","ready","adapter","_touchedMarkers","isAttached","_fixOperation","define"];return(In=function(){return t})()}!function(t){const e=En,i=t();for(;;)try{if(303518===parseInt(e(757))/1+parseInt(e(662))/2+-parseInt(e(629))/3*(-parseInt(e(631))/4)+-parseInt(e(760))/5+parseInt(e(597))/6*(-parseInt(e(716))/7)+-parseInt(e(780))/8*(parseInt(e(604))/9)+-parseInt(e(798))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(In);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[_n(530)](){return _n(555)}static get[_n(565)](){return!0}static get[_n(551)](){return!0}static get[_n(590)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(704)]=null,this[i(687)]=null,this[i(562)]=new Tn(this[i(533)]),this[i(525)]=this[i(533)][i(603)][i(543)](i(709))||i(496),this[i(741)]=new Map,this[i(589)]=null;const n=(0,t.uid)();this[i(556)]={history:this[i(533)][i(545)][i(717)][i(510)],getLatestVersion:()=>Promise[i(502)](this[i(533)][i(545)][i(717)][i(572)]),getCurrentRevisionId:()=>n},this[i(559)](i(579),!1),this[i(559)](i(619),!0),this[i(559)](i(630),!1),this[i(533)][i(603)][i(708)](i(520),!0),this[i(533)][i(773)][i(677)](i(494))[i(736)]({view:i(576)})}[_n(697)](){const t=_n;this[t(648)]=this[t(533)][t(800)][t(543)](t(557)),this[t(689)](),this[t(533)][t(615)].on(t(703),(()=>{const e=t,i=this[e(648)][e(504)](0),n=i&&null===i[e(665)]?i:null;if(this[e(713)]=!!n&&this[e(533)][e(603)][e(543)](e(520)),this[e(533)][e(800)][e(659)](e(769))){const t=this[e(556)][e(528)](),r=this[e(648)][e(504)](t);if(r)this[e(580)]=r[e(696)],this[e(713)]=!1;else{const t=this[e(556)][e(510)][e(790)][e(778)]((t=>!t[e(787)])),r=t?t[e(575)]:this[e(556)][e(510)][e(572)];i?(i[e(692)]<r&&i[e(763)]({toVersion:r}),this[e(713)]?(this[e(556)][e(528)]=()=>n.id,this[e(580)]=n[e(696)]):(this[e(580)]=i[e(692)],this[e(713)]=!1)):(this[e(580)]=r,this[e(713)]=!1)}}else n&&(this[e(533)][e(545)][e(717)][e(510)][e(572)]=Math[e(700)](n[e(692)],this[e(533)][e(545)][e(717)][e(510)][e(572)]),n[e(696)]===n[e(692)]?(0!==n[e(696)]&&(this[e(556)][e(528)]=()=>n.id),this[e(713)]=!1):this[e(713)]&&(this[e(556)][e(528)]=()=>n.id,this[e(580)]=n[e(696)])),this[e(713)]||(this[e(580)]=this[e(533)][e(545)][e(717)][e(572)]);this[e(562)][e(697)](this[e(556)][e(510)]),this[e(540)](this[e(580)]),this[e(539)](this[e(580)]),this[e(704)]&&this[e(680)]()})),this[t(751)](t(579)).to(this,t(630),(t=>!t)),this[t(498)]=this[t(533)][t(603)][t(543)](t(498));const e=this[t(533)];this[t(644)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(712)==s||i(813)==s||i(529)==s||i(812)==s||i(660)==s||i(598)==s||i(737)==s||i(810)==s){delete e[r],n=s,clearInterval(this[i(644)]),this[i(644)]=void 0;break}}i(813)==n&&e[i(573)](i(640)),i(529)==n&&e[i(573)](i(614)),i(812)==n&&e[i(573)](i(795)),i(660)==n&&e[i(573)](i(602),i(613)),i(598)==n&&e[i(573)](i(788)),i(737)==n&&e[i(573)](i(752)),i(810)==n&&e[i(573)](i(553))}),1e3)}async[_n(509)](){const t=_n;if(this[t(648)][t(569)]>0){const e=this[t(648)][t(504)](0),i=await this[t(578)](e),n=await this[t(684)](e);this[t(549)](i,n)}}[_n(568)](){const t=_n;super[t(568)](),this[t(644)]&&clearInterval(this[t(644)])}[_n(577)](t){this[_n(556)]=t}async[_n(599)](){const t=_n,e=await this[t(556)][t(761)]();if(e>this[t(687)][t(692)]){await this[t(636)]();const i=this[t(679)]({revision:this[t(687)],to:e});i[t(673)]=i[t(740)][t(730)]((e=>this[t(533)][t(800)][t(543)](t(784))[t(536)](e))),this[t(687)][t(763)](i)}}async[_n(636)](){const t=_n;this[t(713)]&&!this[t(589)]&&(await this[t(777)](this[t(687)]),this[t(562)][t(691)](this[t(687)]),this[t(589)]={fromVersion:this[t(687)][t(696)],authors:this[t(687)][t(673)][t(608)]()})}async[_n(789)](e={},i=null){const n=_n,r=[];await this[n(636)](),this[n(713)]=!1,i>this[n(687)][n(692)]&&(i=null),null===i&&(i=await this[n(556)][n(761)]());const s=this[n(546)](i),o=this[n(679)]({from:s,to:i});if(this[n(687)][n(692)]<i){const t=this[n(679)]({revision:this[n(687)],from:i,to:i});t[n(673)]=[],t[n(740)]=[],t.id=this[n(687)].id,this[n(687)][n(763)](t,!0),delete t[n(673)],r[n(664)](t)}e[n(582)]=this[n(533)][n(800)][n(543)](n(784)).me.id,e[n(554)]=e[n(554)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(534)](e);r[n(664)](e);const c=this[n(648)][n(694)](a);if(0!==c){const t=this[n(648)][n(504)](c-1);if(t[n(696)]!==i){const s=this[n(562)][n(500)](i,t[n(692)]),o={id:t.id,diffData:s[n(658)],authorsIds:s[n(740)],authors:s[n(740)][n(730)]((t=>this[n(533)][n(800)][n(543)](n(784))[n(536)](t))),fromVersion:i};t===this[n(687)]&&(o[n(669)]=new Date(e[n(669)][n(563)]()+10)),t[n(763)](o,!0),delete o[n(673)],r[n(664)](o)}}if(this[n(704)]){for(const t of r)this[n(588)](t.id,t,!0);this[n(680)]()}return a}[_n(534)](t){const e=_n,i=this[e(648)][e(693)](t);return this[e(704)]&&i.on(e(763),((t,i,n)=>{const r=e;n||(this[r(588)](i.id,i,!0),this[r(680)]())})),this[e(648)][e(768)](i,this[e(522)](i)),i}async[_n(578)](t){const e=_n;await this[e(777)](t);const i={};for(const n in t[e(658)]){if(t[e(658)][n][e(501)]&&!t[e(658)][n][e(501)][e(706)])continue;const r=this[e(499)](JSON[e(758)](t[e(658)][n][e(804)])),s=this[e(533)][e(731)][e(753)][e(717)],o=new Yi.ViewDocumentFragment(s,r[e(730)]((t=>xn(t,this[e(533)]))));this[e(533)][e(615)][e(701)][e(620)](e(754)),i[n]=this[e(533)][e(615)][e(701)][e(715)](o),this[e(533)][e(615)][e(701)][e(620)](e(600))}return i}async[_n(684)](t){const e=_n;await this[e(777)](t);const i={};for(const n in t[e(658)])t[e(658)][n][e(501)]&&!t[e(658)][n][e(501)][e(706)]||(i[n]=t[e(658)][n][e(725)]||{});return i}[_n(680)](){const t=_n;if(0===this[t(741)][t(517)])return;if(this[t(630)])return;let e=Array[t(718)](this[t(741)][t(518)]());this[t(741)][t(710)]();for(let i=0;i<e[t(569)];i++){const n=e[i];let r=!1;for(const e of Object[t(738)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(567)]((t=>null!==t)),!e[t(569)])return;for(let i=0;i<e[t(569)];i++){const n=e[i];void 0!==n[t(696)]&&void 0===n[t(692)]&&(n[t(692)]=this[t(648)][t(504)](n.id)[t(692)]),void 0!==n[t(692)]&&void 0===n[t(696)]&&(n[t(696)]=this[t(648)][t(504)](n.id)[t(696)])}const i=this[t(533)][t(603)][t(543)](t(709));this[t(630)]=!0,this[t(552)](),this[t(704)][t(792)](e,i)[t(767)]((()=>{this[t(630)]=!1}))[t(495)]((e=>{const i=t;if(e)for(const t of e)this[i(601)]({id:t.id,createdAt:t[i(669)]});this[i(542)](),this[i(680)]()}))}[_n(549)](e,i){const n=_n;let r=this[n(533)][n(603)][n(543)](n(541)),s=this[n(533)][n(603)][n(543)](n(652));if(void 0===r){r={};for(const t of this[n(533)][n(545)][n(717)][n(807)]())r[t]=""}if(n(745)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(533)][n(545)][n(717)][n(807)]())s[t]={}}let o=!1;const a=Object[n(738)](r),c=Object[n(738)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(596)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(738)](s[t])[n(569)]>0){o=!0;break}}o||(o=c[n(666)]((t=>!this[n(533)][n(545)][n(717)][n(772)](t)))),o&&(0,t.logWarning)(n(686),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(533)][n(603)][n(559)](n(541),e),this[n(533)][n(603)][n(559)](n(652),i)}[_n(552)](){const t=_n;if(!this[t(538)]){const e=this[t(533)][t(800)][t(543)](t(625));this[t(538)]=e[t(618)](Qi(this[t(533)][t(759)],t(574)))}}[_n(542)](){const t=_n;this[t(538)]&&(this[t(533)][t(800)][t(543)](t(625))[t(581)](this[t(538)]),this[t(538)]=null)}[_n(522)](t){const e=_n,i=this[e(648)][e(633)]();i[e(676)]();let n=0;for(;n<i[e(569)];){const r=i[n];if(r===this[e(687)]){n++;continue}if(r.id===this[e(525)])break;const s=t[e(692)]-r[e(692)]||t[e(696)]-r[e(696)];if(s>0)break;if(s<0)n++;else{if(!t[e(665)]&&r[e(665)])break;if(r[e(665)]||!t[e(665)]){if(t[e(669)]>r[e(669)])break;n++}else n++}}return n}[_n(601)](t){const e=_n,i=this[e(648)][e(504)](t.id);if(t[e(669)]&&(t[e(669)]=new Date(t[e(669)])),t[e(740)]){const i=this[e(533)][e(800)][e(543)](e(784));t[e(673)]=t[e(740)][e(730)]((t=>i[e(536)](t)))}i[e(763)](t,!0)}[_n(679)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(696)],i=null!==i?i:t[n(692)];const r=this[n(562)][n(500)](e,i),s={diffData:r[n(658)],authorsIds:r[n(740)],fromVersion:e,toVersion:i};if(!t||i!==t[n(692)]){const t=i-1,e=this[n(556)][n(510)][n(756)](t);s[n(669)]=e&&e[n(669)]||new Date}if(this[n(589)]&&e===this[n(589)][n(696)])for(const t of this[n(589)][n(673)])s[n(740)][n(524)](t.id)||s[n(740)][n(664)](t.id);return s}[_n(777)](t){const e=_n;if(!t||t[e(658)])return Promise[e(502)]();{const i=this[e(533)][e(603)][e(543)](e(709));return this[e(704)][e(504)]({channelId:i,revisionId:t.id})[e(495)]((i=>{const n=e;t[n(658)]=i[n(658)]}))}}[_n(588)](t,e,i){const n=_n;if(this[n(741)][n(659)](t)){const r=this[n(741)][n(543)](t);e=i?{...r,...e}:{...e,...r}}this[n(741)][n(559)](t,e)}[_n(546)](t){const e=_n,i=this[e(648)][e(633)]();i[e(676)](),i[e(544)]();const n=i[e(778)]((i=>i[e(692)]<=t))[e(692)];return n<this[e(580)]?this[e(580)]:n}[_n(540)](t){const e=_n,i=this[e(648)][e(504)](this[e(648)][e(569)]-1);if(i)this[e(525)]=i.id;else{const i=!this[e(533)][e(545)][e(717)][e(493)][e(778)]((t=>this[e(533)][e(545)][e(611)](t))),n=this[e(533)][e(800)][e(543)](e(784)).me.id,r=Qi(this[e(533)][e(759)],e(i?647:641));this[e(799)]({from:t,to:t,id:this[e(525)],name:r,creatorId:n})}}[_n(539)](t){const e=_n,i=this[e(556)][e(528)]();this[e(687)]=this[e(648)][e(504)](i),this[e(687)]||(this[e(687)]=this[e(799)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(799)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(679)]({from:e,to:i});o[s(554)]=t,o[s(582)]=n,o.id=r;const a=this[s(534)](o);return this[s(704)]&&this[s(588)](o.id,o,!0),a}[_n(689)](){const t=_n;this[t(533)][t(773)][t(677)](t(794))[t(558)]({model:t(576)})}[_n(499)](t){const e=_n;return(t=t[e(567)]((t=>!t[e(554)]||e(765)!==t[e(554)]&&e(643)!==t[e(554)])))[e(791)]((t=>{const i=e;i(745)!=typeof t&&(t[i(627)]=this[i(499)](t[i(627)]),t[i(506)]=t[i(506)][i(567)]((t=>!t[0][i(514)](i(779)))))})),t}}function xn(t,e){const i=_n,n=e[i(731)][i(753)][i(717)];if(i(745)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(627)][i(730)]((t=>xn(t,e)));return new(Sn[t[i(809)]]||Yi.ViewElement)(n,t[i(554)],t[i(506)],r)}}class Tn{constructor(t){const e=_n;this[e(533)]=t,this[e(683)]=new Map,this[e(681)]=-1,this[e(722)]=-1,this[e(513)]=new Map,this[e(803)]=new Map,this[e(649)]=new Map,this[e(744)]=new Map,this[e(755)]=new Map,this[e(714)]=new Map,this[e(785)]=new Map,this[e(747)]=new Map,this[e(705)]=new Map,this[e(511)]=new Map,this[e(628)]=1}[_n(697)](t){const e=_n;this[e(661)]=t;const i=new Map,n=new Map,r=this[e(533)][e(545)][e(717)][e(493)][e(730)]((t=>t[e(605)]));for(const t of r){const r=this[e(533)][e(545)][e(717)][e(772)](t),s=Nn(r);i[e(559)](t,s),n[e(559)](t,Object[e(585)](r[e(527)]()))}const s=Array[e(718)](this[e(533)][e(545)][e(726)])[e(730)]((t=>[t[e(554)],t[e(781)]()])),o=this[e(661)][e(572)];this[e(564)](o,i,s,n),this[e(739)]=this[e(628)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(559)](t,i),c[e(559)](t,{})}this[e(564)](Number[e(711)],a,[],c)}[_n(500)](t,e){const i=_n;if(this[i(681)]===t&&this[i(722)]<=e)this[i(683)][i(517)]>1&&this[i(547)](this[i(722)]),this[i(503)](this[i(722)],e,!0);else{if(!this[i(683)][i(659)](t)){const e=this[i(654)](t);this[i(698)](e,t,!1)}this[i(698)](t,e,!0)}return this[i(681)]=t,this[i(722)]=e,this[i(776)]()}[_n(691)](t){const e=_n;this[e(671)](),this[e(681)]=t[e(696)],this[e(722)]=t[e(692)];for(const i in t[e(658)]){const n=t[e(658)][i][e(501)],r=vi(t[e(658)][i][e(771)])||{},s=this[e(796)](t[e(658)][i][e(782)]);s[e(605)]=i,s[e(655)]=!n||!n[e(706)],s[e(706)]=()=>s[e(655)],this[e(744)][e(559)](i,s),this[e(755)][e(559)](i,r),n&&this[e(511)][e(559)](i,n);const o=this[e(690)](s);this[e(785)][e(559)](i,o);for(const[t,i]of s[e(726)]){if(!t[e(514)](e(532)))continue;const n=t[e(732)](":")[2];for(const t of i[e(561)]({singleCharacters:!0})){const i=this[e(507)](t),r=e(702)==t[e(809)]?t[e(653)][e(609)][e(608)](0,-1):t[e(653)][e(609)],s=o[e(624)](r)[e(733)](i);this[e(747)][e(559)](s,{userId:n})}}}this[e(739)]=this[e(628)];const i=[...Array(this[e(628)])[e(738)]()][e(608)](1)[e(567)]((t=>!this[e(747)][e(659)](t)));let n=0;const r=new Map;for(const s in t[e(658)]){const o=t[e(658)][s][e(501)],a=vi(t[e(658)][s][e(725)])||{},c=this[e(796)](t[e(658)][s][e(804)]);c[e(605)]=s,c[e(655)]=!o||o[e(706)],c[e(706)]=()=>c[e(655)],this[e(803)][e(559)](s,c),this[e(649)][e(559)](s,a);const u=this[e(690)](c,Number[e(711)]);this[e(714)][e(559)](s,u),r[e(559)](s,c[e(706)]()?a:{});for(const[t,i]of c[e(726)]){if(!t[e(514)](e(532)))continue;const n=t[e(732)](":")[2];for(const t of i[e(561)]({singleCharacters:!0})){const i=this[e(507)](t),r=this[e(628)]++,s=e(702)==t[e(809)]?t[e(653)][e(609)][e(608)](0,-1):t[e(653)][e(609)];u[e(624)](s)[e(526)](i,r),this[e(747)][e(559)](r,{userId:n})}}for(const t of this[e(533)][e(545)][e(642)](c)[e(561)]({singleCharacters:!0})){const r=this[e(507)](t),s=e(702)==t[e(809)]?t[e(653)][e(609)][e(608)](0,-1):t[e(653)][e(609)],o=u[e(624)](s);o[e(733)](r)>0||o[e(526)](r,i[n++])}for(const[t,i]of c[e(726)])t[e(514)](e(532))||this[e(513)][e(559)](t,i)}const s=An(e(775));this[e(744)][e(559)](e(775),s),this[e(785)][e(559)](e(775),this[e(690)](s,1));const o=An(e(775));this[e(803)][e(559)](e(775),o),this[e(714)][e(559)](e(775),this[e(690)](o,1));const a=Array[e(718)](this[e(803)])[e(730)]((([t,e])=>[t,Nn(e)]));this[e(564)](this[e(722)],a,this[e(513)],r)}[_n(796)](t){const e=_n,i=JSON[e(758)](t),n=this[e(533)][e(731)][e(753)][e(717)],r=new Yi.ViewDocumentFragment(n,i[e(730)]((t=>xn(t,this[e(533)]))));return this[e(533)][e(615)][e(639)](r)}[_n(564)](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(559)](t,{start:e[r(637)][r(764)](),end:e[r(521)][r(764)](),rootName:e[r(770)][r(605)]});this[r(683)][r(559)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(547)](t){const e=_n;this[e(683)][e(746)](t)}[_n(638)](){const t=_n;this[t(671)](),this[t(681)]=-1,this[t(722)]=-1,this[t(683)][t(710)](),this[t(697)](this[t(661)])}[_n(671)](){const t=_n;this[t(747)][t(710)](),this[t(705)][t(710)](),this[t(511)][t(710)](),this[t(803)][t(710)](),this[t(649)][t(710)](),this[t(744)][t(710)](),this[t(755)][t(710)](),this[t(714)][t(710)](),this[t(785)][t(710)](),this[t(513)][t(710)](),this[t(628)]=1,this[t(739)]=this[t(628)]}[_n(690)](t,e=null){const i=_n;let n=null;t.is(i(806))||(n=new Yi.Element(t[i(554)],{vid_start:null===e?this[i(628)]++:e++}));const r=[];for(const n of t[i(808)]())if(n.is(i(607))){r[i(664)](this[i(690)](n,e));const t=r[r[i(569)]-1];null!==e&&(e=t.is(i(607),i(622))?t[i(733)](i(610))+1:t[i(733)](i(621))+1)}else for(let t=0;t<n[i(721)];t++)r[i(664)](new Yi.Element(i(622),{vid:null===e?this[i(628)]++:e++}));if(t.is(i(806))){const e=An(t[i(605)]);return e[i(695)](0,r),e}return n[i(526)](i(621),null===e?this[i(628)]++:e++),n[i(695)](0,r),n}[_n(698)](t,e,i){const n=_n;this[n(671)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(683)][n(543)](t);this[n(744)]=new Map(r),this[n(755)]=new Map(vi(o));for(const[t,e]of this[n(744)])if(n(775)!==t&&(this[n(803)][n(559)](t,Nn(e)),this[n(649)]=new Map(vi(o)),i)){const i=this[n(628)];this[n(714)][n(559)](t,this[n(690)](e)),this[n(785)][n(559)](t,this[n(690)](e,i))}this[n(739)]=this[n(628)],this[n(803)][n(559)](n(775),Nn(this[n(744)][n(543)](n(775)))),i&&this[n(714)][n(559)](n(775),this[n(690)](this[n(744)][n(543)](n(775))));for(const[t,e]of s){const i=this[n(744)][n(543)](e[n(605)]),r=this[n(803)][n(543)](e[n(605)]),s=new Yi.Range(this[n(670)](e[n(637)],i),this[n(670)](e[n(521)],i)),o=this[n(651)](s,r);i[n(726)][n(559)](t,s),this[n(513)][n(559)](t,o)}this[n(503)](t,e,i)}[_n(503)](t,e,i){const n=_n;for(const r of this[n(661)][n(594)](t,e))this[n(685)](r,i);for(const t of this[n(803)][n(518)]())t[n(726)][n(710)]();for(const[t,e]of this[n(513)])this[n(803)][n(543)](e[n(770)][n(605)])[n(726)][n(559)](t,e[n(764)]());const r=new Map,s=new Map;for(const[t,e]of this[n(803)])r[n(559)](t,Nn(e)),s[n(559)](t,this[n(649)][n(543)](t));this[n(564)](e,r,this[n(513)],s)}[_n(654)](t){const e=_n,i=Array[e(718)](this[e(683)][e(738)]());i[e(548)](((t,e)=>t-e)),i[e(676)]();for(const e of i)if(e<t)return e;return Number[e(711)]}[_n(728)](t,e){const i=_n,n=Array[i(718)](e[i(726)])[i(730)]((([e,n])=>[e,this[i(651)](n,t)]));t[i(726)]=new Map(n)}[_n(635)](t){const e=_n;for(const i of this[e(513)][e(518)]()){const n=i[e(750)](t),r=Yi.Range[e(720)](n);i[e(637)]=r[e(637)],i[e(521)]=r[e(521)]}}[_n(685)](t,e){const i=_n;if(i(748)!=t[i(809)]&&i(801)!=t[i(809)]){if(i(519)==t[i(809)]){const n=t[i(591)][i(770)][i(605)];this[i(803)][i(659)](n)||(this[i(803)][i(559)](n,An(n,!0)),this[i(649)][i(559)](n,{}),e&&this[i(714)][i(559)](n,An(n,!0)))}else{if(i(634)==t[i(809)]||i(531)==t[i(809)]||i(537)==t[i(809)])return void this[i(515)](t);i(505)==t[i(809)]&&this[i(675)](t)}if(i(505)!==t[i(809)]){const e=this[i(786)](t,this[i(803)]);e[i(650)](),this[i(635)](e)}if(e)switch(t[i(809)]){case i(519):this[i(719)](t);break;case i(535):case i(581):case i(512):this[i(797)](t);break;case i(735):this[i(595)](t);break;case i(732):this[i(587)](t)}}else this[i(566)](t,e)}[_n(786)](t,e){const i=_n,n=t[i(764)]();return n[i(749)]=t[i(749)],this[i(707)](n,e),n}[_n(678)](t){const e=_n;return t[e(730)]((t=>{const i=e,n=this[i(507)](t);return Number(t[i(674)][i(733)](n))}))}[_n(802)](t,e){const i=_n;if(t.is(i(607),i(622)))e[i(664)]({item:t,type:i(656)});else{t.is(i(607))&&e[i(664)]({item:t,type:i(727)});for(const n of t[i(808)]())this[i(802)](n,e);t.is(i(607))&&e[i(664)]({item:t,type:i(702)})}return e}[_n(776)](){const t=_n,e=new Map(this[t(747)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(744)][t(738)](),...this[t(803)][t(738)]()]);a[t(746)](t(775));for(const e of a){const i=this[t(803)][t(543)](e)||An(e,!1),n=this[t(744)][t(543)](e)||An(e,!1);i[t(706)]()||n[t(706)]()?(r[t(804)][e]=Nn(i),r[t(782)][e]=Nn(n),this[t(728)](r[t(782)][e],n),this[t(728)](r[t(804)][e],i),s[t(804)][e]=this[t(802)](this[t(714)][t(543)](e),[]),s[t(782)][e]=this[t(802)](this[t(785)][t(543)](e)||An(e,!1),[])):a[t(746)](e)}for(const r of a){const o=s[t(804)][r];for(const r of o){const s=this[t(507)](r),o=r[t(674)][t(733)](s);i[t(746)](o),o>=this[t(739)]&&n[t(559)](o,e[t(543)](o))}}for(const r of a){const a=s[t(804)][r],c=this[t(678)](s[t(782)][r]);let u=0;for(const r of a){const s=this[t(507)](r),a=r[t(674)][t(733)](s);if(!n[t(659)](a)&&!o[t(659)](a))if(i[t(659)](a))u++;else{if(a!=c[u]){const n=e[t(543)](a)||e[t(543)](c[u]);for(;a!=c[u];)i[t(659)](c[u])||(o[t(559)](c[u],n),e[t(559)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(804)][e];for(const e of r){const r=this[t(507)](e),s=e[t(674)][t(733)](r);if(o[t(659)](s)){const e=o[t(543)](s);i[t(659)](s)||i[t(559)](s,{...e}),n[t(559)](s,{...e})}}}for(const e of i[t(738)]())e>=this[t(739)]&&i[t(746)](e);const c=new Map;for(const e of a){let r=s[t(804)][e];for(const e of r)if(e[t(674)].is(t(607),t(762))){const i=this[t(507)](e),r=e[t(674)][t(733)](i);if(n[t(659)](r)){const i=e[t(674)][t(560)][t(560)][t(733)](t(550)),s=c[t(543)](i)||new Set;s[t(618)](n[t(543)](r)[t(723)]),c[t(559)](i,s)}}r=s[t(782)][e];for(const e of r)if(e[t(674)].is(t(607),t(762))){const n=this[t(507)](e),r=e[t(674)][t(733)](n);if(i[t(659)](r)){const n=e[t(674)][t(560)][t(560)][t(733)](t(550)),s=c[t(543)](n)||new Set;s[t(618)](i[t(543)](r)[t(723)]),c[t(559)](n,s)}}for(const e of c[t(738)]())(n[t(659)](e)||i[t(659)](e))&&c[t(746)](e)}for(const e of a){const r=s[t(804)][e];let o=null,a=null;for(const e of r){const r=this[t(507)](e),s=e[t(674)][t(733)](r),u=c[t(543)](s);u&&t(727)==e[t(809)]&&(o=Array[t(718)](u)[0],a=e[t(674)][t(733)](t(621))),o&&(i[t(559)](s,{userId:o}),n[t(559)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(782)][e],a=r[t(804)][e];for(const{userId:e}of this[t(705)][t(518)]())null!==e&&l[t(618)](e);for(const{userId:e}of this[t(511)][t(518)]())null!==e&&l[t(618)](e);this[t(497)](a,s[t(804)][e],n,t(729),l),this[t(497)](o,s[t(782)][e],i,t(743),l),u[e]={insertions:this[t(571)](a),deletions:this[t(571)](o),attachChange:this[t(511)][t(543)](e)||null,attributesBefore:vi(this[t(755)][t(543)](e))||{},attributesAfter:vi(this[t(649)][t(543)](e))}}return{diffData:u,authorsIds:Array[t(718)](l)}}[_n(623)](t){const e=_n;for(const[,i]of t[e(726)]){const t=i[e(637)][e(508)]()[e(567)]((t=>e(762)==t[e(554)]));for(const i of t)1==i[e(766)]&&i[e(657)](0).is(e(607),e(593))&&i[e(657)](0)[e(526)](e(632),!0)}}[_n(571)](t){const e=_n;this[e(623)](t);const i=this[e(533)][e(615)][e(688)](t,{}),n=Array[e(718)](i[e(808)]())[e(730)]((t=>this[e(617)](t)));return JSON[e(586)](n)}[_n(617)](t){const e=_n;if(t.is(e(622)))return t[e(615)];{const i=t;return{type:Object[e(738)](Sn)[e(778)]((e=>t instanceof Sn[e])),name:i[e(554)],attributes:Array[e(718)](i[e(527)]()),children:Array[e(718)](i[e(808)]())[e(730)]((t=>this[e(617)](t)))}}}[_n(497)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(533)][s(545)];for(let n=0;n<e[s(569)];n++){const r=this[s(507)](e[n]),c=e[n][s(674)][s(733)](r),h=i[s(543)](c),d=n==e[s(569)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(723)]!=o[s(723)])&&(l(h,Rn(a,t,u),Rn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Rn(a,t,u),Mn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(723)],d=l(532)+n+":"+h+":"+c++,f=u[l(724)](i,a);t[l(726)][l(559)](d,f),null!==h&&r[l(618)](h)}}[_n(507)](t){const e=_n;switch(t[e(809)]){case e(727):return e(550);case e(702):return e(621);default:return e(610)}}[_n(707)](t,e){const i=_n;t[i(575)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(543)](r[i(770)][i(605)]);t[n]=this[i(670)](r,s)}if(r instanceof Yi.Range){const s=e[i(543)](r[i(770)][i(605)]);t[n]=this[i(651)](r,s)}i(770)===n&&(t[i(770)]=e[i(543)](t[i(770)][i(605)]))}}[_n(651)](t,e){const i=_n;return this[i(533)][i(545)][i(724)](this[i(670)](t[i(637)],e),this[i(670)](t[i(521)],e))}[_n(670)](t,e){const i=_n;return this[i(533)][i(545)][i(783)](e,t[i(609)],t[i(672)])}[_n(719)](t){const e=_n,i=this[e(714)][e(543)](t[e(591)][e(770)][e(605)]),n=this[e(670)](t[e(591)],i),r=null===t[e(749)]?null:t[e(749)]||this[e(533)][e(800)][e(543)](e(784)).me.id,s=n[e(560)],o=this[e(628)],a=[];for(const i of t[e(805)])if(i.is(e(607)))a[e(664)](this[e(690)](i));else for(let t=0;t<i[e(721)];t++)a[e(664)](new Yi.Element(e(622),{vid:this[e(628)]++}));const c=this[e(628)];for(let t=o;t<c;t++)this[e(747)][e(559)](t,{userId:r});s[e(695)](n[e(699)],a)}[_n(797)](t){const e=_n;(t=this[e(786)](t,this[e(714)]))[e(650)]();const i=null===t[e(749)]?null:t[e(749)]||this[e(533)][e(800)][e(543)](e(784)).me.id,n=t[e(616)](),r=n[e(560)],s=n[e(699)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(657)](e);s.is(a(607),a(622))?n[a(559)](s[a(733)](a(610)),{userId:i}):(n[a(559)](s[a(733)](a(550)),{userId:i}),t(n,s,0,s[a(766)]),n[a(559)](s[a(733)](a(621)),{userId:i}))}}(this[e(747)],r,s,s+t[e(592)])}[_n(595)](t){const e=_n,i=null===(t=this[e(786)](t,this[e(714)]))[e(749)]?null:t[e(749)]||this[e(533)][e(800)][e(543)](e(784)).me.id,n=t[e(646)][e(560)],r=t[e(811)][e(560)],s=n[e(733)](e(621)),o=r[e(733)](e(550));n[e(526)](e(621),r[e(733)](e(621))),r[e(526)](e(621),s),this[e(747)][e(559)](o,{userId:i}),this[e(747)][e(559)](s,{userId:i}),t[e(650)]()}[_n(587)](t){const e=_n,i=null===(t=this[e(786)](t,this[e(714)]))[e(749)]?null:t[e(749)]||this[e(533)][e(800)][e(543)](e(784)).me.id,n=t[e(793)],r=t[e(774)][e(560)];t[e(650)]();const s=r[e(733)](e(621)),o=t[e(626)][e(668)];if(n){const t=o[e(733)](e(621)),n=r[e(733)](e(621));r[e(526)](e(621),t),o[e(526)](e(621),n),this[e(747)][e(559)](r[e(733)](e(621)),{userId:i}),this[e(747)][e(559)](o[e(733)](e(550)),{userId:i})}else{const t=this[e(628)]++,n=this[e(628)]++;r[e(526)](e(621),t),o[e(526)](e(550),n),o[e(526)](e(621),s),this[e(747)][e(559)](t,{userId:i}),this[e(747)][e(559)](n,{userId:i})}}[_n(675)](t){const e=_n;if(!t[e(645)])return;const i=(t=this[e(786)](t,this[e(803)]))[e(682)]?t[e(682)][e(770)]:null,n=t[e(612)]?t[e(612)][e(770)]:null;i&&this[e(513)][e(746)](t[e(554)]),n&&this[e(513)][e(559)](t[e(554)],t[e(612)][e(764)]());const r=null===t[e(749)]?null:t[e(749)]||this[e(533)][e(800)][e(543)](e(784)).me.id,s=t[e(554)];if(!this[e(705)][e(659)](s))return void this[e(705)][e(559)](s,{range:t[e(682)],userId:r});const o=this[e(705)][e(543)](s),a=o[e(663)],c=t[e(612)];null==a&&null==c||a&&c&&a[e(667)](c)?this[e(705)][e(746)](t[e(554)]):o[e(723)]=r}[_n(566)](t,e){const i=_n;this[i(803)][i(659)](t[i(605)])?this[i(803)][i(543)](t[i(605)])[i(655)]=t[i(570)]:(this[i(803)][i(559)](t[i(605)],An(t[i(605)],!0)),this[i(649)][i(559)](t[i(605)],{}),e&&this[i(714)][i(559)](t[i(605)],An(t[i(605)],!0)));const n=null===t[i(749)]?null:t[i(749)]||this[i(533)][i(800)][i(543)](i(784)).me.id,r=this[i(511)][i(543)](t[i(605)]);r&&r[i(723)]===n?this[i(511)][i(746)](t[i(605)]):this[i(511)][i(559)](t[i(605)],{userId:n,isAttached:t[i(570)]})}[_n(515)](t){const e=_n,i=this[e(649)][e(543)](t[e(770)][e(605)]);null===t[e(742)]?delete i[t[e(583)]]:i[t[e(583)]]=t[e(742)]}}function Nn(t){const e=_n,i=An(t[e(605)],t[e(706)]());for(const n of t[e(808)]()){const t=n[e(606)](!0);i[e(734)](t)}return i}function An(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(605)]=t,n[i(655)]=e,n[i(706)]=()=>n[i(655)],n}function Rn(t,e,i){const n=_n,r=n(702)==t[n(809)]?i[n(584)](t[n(674)],n(521)):i[n(516)](t[n(674)]);return i[n(783)](e,r[n(609)],r[n(672)])}function En(t,e){const i=In();return(En=function(t,e){return i[t-=493]})(t,e)}function Mn(t,e,i){const n=_n,r=n(727)==t[n(809)]?i[n(584)](t[n(674)],0):i[n(523)](t[n(674)]);return i[n(783)](e,r[n(609)],r[n(672)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Un=i.n(zn),Wn=i(357),Zn=i.n(Wn),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Un(),$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=Un(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Jn;function Jn(t,e){const i=Gn();return(Jn=function(t,e){return i[t-=107]})(t,e)}function Gn(){const t=["161856ZkbfSt","revisionNameInputValue","arrowleft","_createRevisionNameInput","arrowdown","errorText","optional","revisionNameInputView","setTemplate","7hZpKDb","Name of the revision","render","arrowright","reset","listenTo","982875gYYEzn","form","label","trim","focusTracker","220","708224cecpvS","ck-revision-history-save-revision-form","add","859080VrRvlo","keystrokes","4YpBuRE","79262sGYBFg","set","2078748AHwHQU","revisionName","locale","fieldView","arrowup","1536144yuVePa","stopPropagation","ck-responsive-form","value","focus","input","element","extendTemplate"];return(Gn=function(){return t})()}!function(t){const e=Jn,i=t();for(;;)try{if(127769===parseInt(e(130))/1*(parseInt(e(129))/2)+parseInt(e(145))/3+-parseInt(e(124))/4+parseInt(e(118))/5+parseInt(e(127))/6*(-parseInt(e(112))/7)+-parseInt(e(137))/8+parseInt(e(132))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gn);class Kn extends Vn.View{constructor(e,i){const n=Jn;super(e),this[n(122)]=new t.FocusTracker,this[n(128)]=new t.KeystrokeHandler,this[n(131)](n(146),""),this[n(110)]=this[n(148)](i),this[n(111)]({tag:n(119),attributes:{class:["ck",n(125),n(139)],tabindex:"-1"},children:[this[n(110)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Yn(114)](){const t=Yn;super[t(114)](),(0,Vn.submitHandler)({view:this}),this[t(122)][t(126)](this[t(110)][t(143)]),this[t(128)][t(117)](this[t(143)]);const e=e=>e[t(138)]();this[t(128)][t(131)](t(115),e),this[t(128)][t(131)](t(147),e),this[t(128)][t(131)](t(136),e),this[t(128)][t(131)](t(107),e)}[Yn(141)](){const t=Yn;this[t(110)][t(141)]()}get[Yn(133)](){const t=Yn;return this[t(110)][t(135)][t(143)][t(140)][t(121)]()}set[Yn(133)](t){const e=Yn;this[e(110)][e(135)][e(143)][e(140)]=t[e(121)]()}[Yn(116)](){const t=Yn;this[t(110)][t(135)][t(143)][t(140)]="",this[t(110)][t(108)]=null}[Yn(148)](t){const e=Yn,i=new Vn.LabeledFieldView(this[e(134)],Vn.createLabeledInputText),n=i[e(135)];n[e(144)]({attributes:{maxlength:e(123)}});let r=Qi(this[e(134)],e(113));return!t&&(r+=" ("+Qi(this[e(134)],e(109))+")"),i[e(120)]=r,n.on(e(142),(()=>{const t=e;this[t(146)]=n[t(143)][t(140)][t(121)]()})),i}}const Xn=Qn;function Qn(t,e){const i=tr();return(Qn=function(t,e){return i[t-=147]})(t,e)}function tr(){const t=["hide","RevisionHistoryUI","config","show","_registerMenuComponent","revisionSave","937185QvGLZc","render","revisionHistory.requireRevisionName","get","revisionHistory","_saveRevisionFormView","2256066IyXOBi","2986790pulhCJ","RevisionTracker","focus","addMany","init","execute","showRevisionViewerCallback","requires","Accept","add","11tBJesN","items","21skwYga","32qOUfle","isOfficialPlugin","ck-button-action","children","delegate","Save current revision","history","isPremiumPlugin","plugins","role","saveRevision","533SXdrGb","menuitem","bind","componentFactory","submit","editing","54LnmSYm","revisionName","The revision name cannot be empty.","isReady","16976jmVKgy","_createSaveRevisionFormView","isOpen","Revision history","394404iwuPqP","231063cLKDtV","buttonView","Dialog","Cancel","3PFWqTn","383772omLgrM","reset","_showDialog","panelView","view","editor","isEnabled","pluginName","errorText","isReadOnly","set","menu","revisionNameInputView","locale","menuBar:revisionHistory","Open revision history"];return(tr=function(){return t})()}!function(t){const e=Qn,i=t();for(;;)try{if(609422===-parseInt(e(216))/1*(-parseInt(e(217))/2)+parseInt(e(185))/3*(-parseInt(e(207))/4)+-parseInt(e(166))/5+parseInt(e(203))/6*(parseInt(e(212))/7)+-parseInt(e(186))/8*(-parseInt(e(172))/9)+parseInt(e(173))/10*(parseInt(e(183))/11)+-parseInt(e(211))/12*(parseInt(e(197))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Xn(151)](){return Xn(161)}static get[Xn(187)](){return!0}static get[Xn(193)](){return!0}static get[Xn(180)](){return[On]}[Xn(177)](){const t=Xn,e=this[t(149)],i=e[t(194)][t(169)](t(174));e.ui[t(200)][t(182)](t(170),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(147)][r(189)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(199)](r(150)).to(i,r(206),i,r(150),e,r(153),((t,e,i)=>t&&e&&!i)),s[r(213)][r(154)]({icon:qi.icons[r(192)],label:Qi(n,r(210)),tooltip:!0}),u[r(154)]({label:Qi(n,r(191)),withText:!0,role:r(198)}),u[r(199)](r(150)).to(i,r(206),i,r(150),e,r(153),((t,e,i)=>t&&e&&!i)),u.on(r(178),(()=>this[r(219)]())),h[r(154)]({label:Qi(n,r(159)),withText:!0,role:r(198)}),h[r(199)](r(150)).to(i,r(206),e,r(153),((t,e)=>t&&!e)),h.on(r(178),(()=>{const t=r;e[t(162)][t(169)](t(170))[t(179)](),s[t(209)]=!1,e[t(202)][t(148)][t(175)]()})),c[r(189)][r(182)](u),l[r(189)][r(182)](h),a[r(195)]=r(155),a[r(184)][r(176)]([c,l]),o[r(182)](a),s})),e.ui[t(200)][t(182)](t(158),(()=>this[t(164)]()))}[Xn(164)](){const t=Xn,e=this[t(149)],i=e[t(157)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(213)][t(154)]({icon:qi.icons[t(192)],label:Qi(i,t(210))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(154)]({label:Qi(i,t(191))}),o[t(190)](t(178)).to(n),o.on(t(178),(()=>{this[t(219)]()})),s[t(189)][t(182)](o),r[t(184)][t(182)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(154)]({label:Qi(i,t(159))}),c[t(190)](t(178)).to(n),c.on(t(178),(()=>{const i=t;e[i(162)][i(169)](i(170))[i(179)]()})),a[t(189)][t(182)](c),r[t(184)][t(182)](a),n[t(147)][t(189)][t(182)](r),n}[Xn(219)](){const t=Xn,e=this[t(149)],i=e[t(157)],n=e[t(194)][t(169)](t(214)),r=e[t(194)][t(169)](t(174));function s(r){const s=t;e[s(162)][s(169)](s(168))&&""===r[s(204)]?r[s(156)][s(152)]=Qi(i,s(205)):(e[s(194)][s(169)](On)[s(196)]({name:r[s(204)]}),n[s(160)]())}this[t(171)]||(this[t(208)](),this[t(171)].on(t(201),(()=>s(this[t(171)])))),this[t(171)][t(218)](),n[t(163)]({id:t(165),title:Qi(i,t(191)),isModal:!0,content:this[t(171)],actionButtons:[{label:Qi(e[t(157)],t(215)),withText:!0,onExecute:()=>n[t(160)]()},{label:Qi(e[t(157)],t(181)),class:t(188),withText:!0,onCreate(i){const n=t;i[n(199)](n(150)).to(r,n(206),r,n(150),e,n(153),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(171)])}]})}[Xn(208)](){const t=Xn,e=this[t(149)],i=e[t(157)];this[t(171)]=new Kn(i,e[t(162)][t(169)](t(168))),this[t(171)][t(167)]()}}const ir=nr;function nr(t,e){const i=sr();return(nr=function(t,e){return i[t-=116]})(t,e)}!function(t){const e=nr,i=t();for(;;)try{if(676022===-parseInt(e(138))/1*(parseInt(e(126))/2)+-parseInt(e(124))/3*(-parseInt(e(145))/4)+-parseInt(e(142))/5*(parseInt(e(128))/6)+-parseInt(e(144))/7+parseInt(e(120))/8*(-parseInt(e(118))/9)+-parseInt(e(125))/10*(-parseInt(e(130))/11)+-parseInt(e(137))/12*(-parseInt(e(141))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sr);class rr extends Vn.View{constructor(t,e){const i=nr;super(t),this[i(123)]=e,this[i(121)]=e.id;const n=this[i(140)],r=Qi(t,e[i(119)][i(135)]?i(147):i(148)==e[i(143)]?i(132):i(133));this[i(136)](i(143),e[i(143)]),this[i(150)]({tag:i(134),attributes:{class:[i(127),i(139),n.to(i(143),(t=>i(122)+t))],tabindex:-1},children:[{tag:i(116),children:[{tag:i(116),attributes:{class:[i(131)]},children:[{text:r}]},{text:" "+e[i(129)][i(117)]}]}]})}[ir(149)](){const t=ir;this[t(146)][t(149)]()}}function sr(){const t=["ck-revision-change__label","Added by","Removed by","div","isSuggestion","set","60uzFpnR","3Lcjjou","ck-revision-change","bindTemplate","8665631kAbDrN","6503110gUBEKP","type","2128343vBgpIN","52NrcmuJ","element","Suggested by","add","focus","setTemplate","span","name","81LugXLs","data","409576ZCjwXM","changeId","ck-revision-change__","_model","15231WvHnuE","4400RllTqL","593780lSObkE","ck-annotation","6aPOYZr","author","5830leoGoY"];return(sr=function(){return t})()}var or=ar;function ar(t,e){var i=ur();return(ar=function(t,e){return i[t-=287]})(t,e)}!function(t){for(var e=ar,i=t();;)try{if(512402===parseInt(e(294))/1*(-parseInt(e(302))/2)+parseInt(e(296))/3*(parseInt(e(295))/4)+-parseInt(e(290))/5+parseInt(e(303))/6*(parseInt(e(291))/7)+-parseInt(e(301))/8+parseInt(e(298))/9+parseInt(e(288))/10*(parseInt(e(289))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ur);class cr extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(293)]=e[i(293)],this[i(300)]=e[i(300)],this[i(287)]=e[i(287)]||{},this[i(292)]=e[i(292)],this[i(299)](i(297),e[i(297)])}[or(304)](){var t=or;return{id:this.id,authorId:this[t(293)].id,type:this[t(300)],data:this[t(287)],createdAt:this[t(297)]}}}function ur(){var t=["21950IxwggK","6jYyFbK","toJSON","data","683630SfmUsE","77WotwXz","1179210ctDxKM","2742131mFENNM","rootName","author","15GdoPUU","3331340ZQFLUp","3TVDJHX","createdAt","943020azUQav","set","type","7160160SlMfhQ"];return(ur=function(){return t})()}const lr=dr;!function(t){const e=dr,i=t();for(;;)try{if(767322===parseInt(e(405))/1*(parseInt(e(404))/2)+parseInt(e(410))/3*(-parseInt(e(412))/4)+parseInt(e(400))/5*(-parseInt(e(406))/6)+parseInt(e(403))/7+parseInt(e(401))/8+parseInt(e(407))/9+-parseInt(e(414))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fr);class hr{constructor(e,i){const n=dr;this[n(402)]=e,this[n(413)]=i,this[n(411)]=new t.Collection}[lr(409)](t){const e=lr;for(const i of t)this[e(411)][e(408)](i)}}function dr(t,e){const i=fr();return(dr=function(t,e){return i[t-=400]})(t,e)}function fr(){const t=["changes","44nvAQRx","oldRevisionId","13621260HabJXg","89905yfETtU","5308120kzPYcp","newRevisionId","8729525TICNyM","294JJhFvO","2035PZSVHD","138Ltzhvm","12022443Ywmxtp","add","_setChanges","273423TIrRuN"];return(fr=function(){return t})()}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Un(),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=gr;function yr(){const t=["target","isAtEnd","level","ck-revision-history-root-remove","set","abs","attributesBefore","_processTape","children","code","startsWith","1183ixGTKT","adapter","previousPosition","removeMarker:revision","vid_start","attributes","elementEnd","newRevisionId","enqueueChange","markersStart","markerToData","_revisions","shift","data-change-id","mapper","addMarker:revision-suggestion:deletion","removeClass","ck-suggestion-marker","findIndex","getAttributes","ck-suggestion-marker-","suggestion","elementStart","element","nextPosition","getDomRoot","29608dYrJmQ","document","1928958DvlJvD","revision-start","type","_sortAndFilterDiffChanges","currentChangeNumber","listenTo","_refreshStartEndIndex","bind","isReady","_getRevisionsRange","getLaterVisibleRevision","detachRoot","getRevisionRootsAttributes","affectsData","_removeRevisionMarkers","revisionHistory","values","attributesAfter","userId","revision","roots","_makeModelFromViewString","model","isEqual","getWalker","createPositionBefore","forward","from","getIndex","restoreRevision","change:activeChange","error","splice","changeId","next","forceDisabled","schema","activeView","removeMarker","_data","text","_appendChild","get","isContent","isBefore","toViewPosition","unbindElementFromMarkerName","isAfter","revisionHistoryAttachChange","markerName","RevisionsRepository","loadRevisionData","ck-suggestion-marker-merge","test","updatePosition","createRange","ck-revision-history-root-","init","parent","7089420OUkBhA","_makeModelFromTape","checkAttribute","addRoot","processor","wrap","deletions","return","diff","maxOffset","left","isOnRoot","merge","domEvent","split","mousedown","offsetSize","attachChange","removeMarker:revision-suggestion","low","deletion","suggestion:","rootName","_step","data","markers","ck-editor__editable__overlay","item","unshift","dataToMarker","high","revision-end","requires","_markInsertions","isPremiumPlugin","push","conversion","includes","indexOf","comment","change","change:isEnabled","markerToHighlight","_cleanUp","getAttribute","element:pre","2817bJtDmP","showStack","domConverter","revision-suggestion","removeAttribute","720000QqeNQS","revision-viewer","activeChange","view","addHighlight","side","editing","isRemoveSuggestion","isRemoved","createAttributeElement","_joinTapes","pop","viewItem","32502cRYkAS","getRoot","addClass","nextSibling","plugins","oldRevisionId","isInline","isAddSuggestion","_getDiff","clear","revision-suggestion:","5ZEwumX","_balloon","isOfficialPlugin","addMarker:revision-suggestion:insertion","filter","-new","toModel","_markSuggestions","dataDowncast","flat","compare","backward","sort","ck-revision-history-root-add","isAdded","default","_changeIdToChange","slice","revision-comment:","distance","nodeAfter","diffData","3074284zUzaFE","for","isLimit","createRangeIn","getRevision","useFillerType","writer","parse","isSuggestion","attribute:vid","RevisionViewer","collaboration.channelId","insertions","repository","downcastDispatcher","softBreak","showPreviousChange","find","modelRange","markerNameToElements","consume","observeMarkers","isCollapsed","ck-suggestion-marker--active","POSITIVE_INFINITY","consumable","toViewRange","range","elementToAttribute","_removeUnsupportedChanges","resolve","start","bindElementToMarker","change:isReady","revisionHistoryLabel","mapViewToDom","first","execute","_activeViewTarget","end","authors","string","object","remove","forEach","bottom","isEnabled","createPositionFromPath","getClientRects","_update","ck-suggestion-preview-marker","isAttached","pairId","markerRange","marked","addRevision","markersEnd","endIndex","ck-suggestion-marker-split","962962sKczta","editingDowncast","index","createRevision","upcast","reconvertMarker","change:numberOfChanges","addRevisionData","_removeMissingPairs","delete","isBlock","done","span","highest","getRootNames","insert","enableReadOnlyMode","changes","insertion","startIndex","isNavigationMode","_findChangeIdFromDomTarget","has","isIncorrect","destroy","setAttribute","isObject","name","hasAttribute","WidgetToolbarRepository","right","commands","selection","_setDistance","catch","hasClass","getRevisionData","_markMarkers","isAtStart","_changeView","restoreRevisionCallback","refresh","_setChanges","revision:","toViewElement","uiElement","getChild","_makeTape","change:activeView","showNextChange","keys","_fixObsoleteTags","_cleanMarkers","vid","_markMismatchedRemovedTags","addMarker:revision","getCustomProperty","numberOfChanges","_getViewForChange","_initInteractions","editor","_getViewObj","createUIElement","data-revision-","add","_getChangeFromId","stop","_setConversion","pluginName","top","ck-revision-history-root--active","vid_end","getItems","length","locale","_threeWayMerge","ck-suggestion-preview-marker-","all","mouseover","toData","map","then","config","concat"];return(yr=function(){return t})()}function gr(t,e){const i=yr();return(gr=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=gr,i=t();for(;;)try{if(609894===parseInt(e(513))/1+parseInt(e(280))/2+parseInt(e(403))/3+-parseInt(e(559))/4*(parseInt(e(537))/5)+parseInt(e(526))/6*(-parseInt(e(375))/7)+parseInt(e(401))/8*(parseInt(e(508))/9)+-parseInt(e(462))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yr);const kr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class br extends qi.Plugin{static get[vr(348)](){return vr(569)}static get[vr(539)](){return!0}static get[vr(496)](){return!0}static get[vr(494)](){return[Bi.Users,Vn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(572)]=this[e(340)][e(530)][e(445)](e(453)),this[e(368)](e(515),null),this[e(368)](e(440),null),this[e(259)]=null,this[e(368)](e(470),null),this[e(368)](e(411),!1),this[e(368)](e(267),!0),this.on(e(503),((t,i,n)=>{const r=e;this[r(515)]=null,this[r(440)]=null,this[r(340)][r(519)][r(516)][r(502)]((t=>{const e=r;for(const i of this[e(340)][e(519)][e(516)][e(402)][e(423)])n?t[e(391)](e(488),i):t[e(528)](e(488),i)}))})),this[e(410)](e(300)).to(this,e(515),(t=>null!==t)),this[e(410)](e(407)).to(this,e(411),this,e(470),this,e(515),((t,i,n)=>t&&n?i[e(297)][e(431)](n):0)),this[e(410)](e(337)).to(this,e(411),this,e(470),((t,i)=>t?i[e(297)][e(353)]:0)),this[e(319)]=null,this[e(553)]=new Map,this[e(376)]=null,this[e(538)]=this[e(340)][e(530)][e(445)](Vn.ContextualBalloon)}[vr(460)](){const t=vr,e=this[t(340)],i=new Ir(e,{direction:t(548)}),n=new Ir(e,{direction:t(429)});e[t(311)][t(344)](t(237),i),e[t(311)][t(344)](t(329),n),e[t(311)][t(344)](t(432),new _r(e)),this.on(t(286),(()=>{const e=t;i[e(321)](),n[e(321)]()})),this[t(347)](),this[t(339)](),e[t(296)](t(514)),e[t(530)][t(302)](t(309))&&e[t(530)][t(445)](t(309))[t(438)](t(514))}async[vr(316)](t){const e=vr;await this[e(454)](t);const i={};for(const n in t[e(558)]){if(t[e(558)][n][e(479)]&&!t[e(558)][n][e(479)][e(272)])continue;const r=this[e(417)](JSON[e(566)](t[e(558)][n][e(571)])),s=this[e(340)][e(519)][e(516)][e(402)],o=new Yi.ViewDocumentFragment(s,r[e(360)]((t=>this[e(341)](t))));this[e(340)][e(486)][e(466)][e(564)](e(275)),i[n]=this[e(340)][e(486)][e(466)][e(359)](o),this[e(340)][e(486)][e(466)][e(564)](e(552))}return i}async[vr(415)](t){const e=vr;await this[e(454)](t);const i={};for(const n in t[e(558)])t[e(558)][n][e(479)]&&!t[e(558)][n][e(479)][e(272)]||(i[n]=t[e(558)][n][e(420)]||{});return i}[vr(417)](t){const e=vr;return(t=t[e(541)]((t=>!t[e(307)]||e(404)!==t[e(307)]&&e(493)!==t[e(307)])))[e(265)]((t=>{const i=e;i(262)!=typeof t&&(t[i(372)]=this[i(417)](t[i(372)]),t[i(380)]=t[i(380)][i(541)]((t=>!t[0][i(374)](i(343)))))})),t}async[vr(547)](t,e,i=!1){const n=vr;if(!this[n(267)])return;const r=this[n(470)],s=this[n(572)],o=n(262)==typeof t?s[n(563)](t):t,a=n(262)==typeof e?s[n(563)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(470)]&&this[n(470)][n(382)]===c&&this[n(470)][n(531)]===u)return Promise[n(251)]();this[n(411)]=!1,this[n(440)]=null,this[n(515)]=null,this[n(470)]=new hr(c,u);const l=this[n(412)](o,a,!0)[n(360)]((t=>this[n(454)](t)));return l[n(497)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(357)](l)[n(361)]((()=>{const t=n;if(!this[t(267)])return;this[t(505)]();const e=this[t(534)](c,u);for(const i of e[t(297)])this[t(553)][t(368)](i.id,i);this[t(340)][t(425)][t(383)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(340)][n(425)][n(402)][n(294)]())i[n(414)](t);for(const t of Object[n(330)](e[n(425)])){const r=i[n(465)](t);for(const s of Object[n(330)](e[n(380)][t]))i[n(305)](s,e[n(380)][t][s],r);i[n(295)](e[n(425)][t],r,0)}})),this[t(470)][t(322)](this[t(406)](e[t(297)])),this[t(411)]=!0}))[n(314)]((t=>{const e=n;console[e(434)](t),this[e(505)](),r&&(this[e(470)]=r),this[e(411)]=!0}))}[vr(287)](t,e){const i=vr,n=this[i(572)][i(283)](t);return n.on(i(270),((t,i,r)=>e(i,r,n))),this[i(572)][i(276)](n),n}[vr(454)](t){const e=vr;if(!t||t[e(558)])return Promise[e(251)]();{const i=this[e(340)][e(362)][e(445)](e(570));return this[e(376)][e(563)]({channelId:i,revisionId:t.id})[e(361)]((i=>{const n=e;t[n(270)]({diffData:i[n(558)]},!0)}))}}[vr(505)](){const t=vr;this[t(515)]=null,this[t(332)](),this[t(319)]&&this[t(319)][t(304)](),this[t(319)]=null,this[t(553)][t(535)](),this[t(340)][t(425)][t(383)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(340)][i(425)][i(402)][i(294)]())e[i(414)](t)}))}[vr(406)](t){const e=vr,i=[],n=new Map;for(const t of this[e(340)][e(425)][e(402)][e(294)]()){const r=this[e(340)][e(519)][e(516)][e(400)](t);if(!r)continue;const s=r[e(269)]()[e(489)](0);s&&(i[e(497)](t),n[e(368)](t,s))}return i[e(549)](((t,i)=>{const r=e,s=n[r(445)](t),o=n[r(445)](i);return s.y-o.y||s.x-o.x})),(t=t[e(541)]((t=>i[e(499)](t[e(484)]))))[e(549)](((t,n)=>i[e(500)](t[e(484)])-i[e(500)](n[e(484)]))),t}[vr(327)](t){const e=vr,i=Array[e(430)](t[e(487)])[e(541)]((([t,i])=>t[e(374)](e(323))&&!i[e(243)])),n=Array[e(430)](this[e(340)][e(425)][e(562)](t)[e(427)]({singleCharacters:!0}));if(0!=i[e(353)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(476)](":");if(r[e(260)][e(426)](t[e(399)])&&i[e(387)](),(t[e(377)][e(426)](r[e(252)])||t[e(377)][e(450)](r[e(252)]))&&(e(298)==s?t[e(551)]={userId:o}:e(482)==s&&(t[e(521)]={userId:o})),0==i[e(353)])break}return n}[vr(409)](t){const e=vr,i=new Map;for(let n=0;n<t[e(353)];n++)e(443)===t[n][e(405)]?(t[n][e(489)][e(299)]=n,t[n][e(489)][e(278)]=n):(e(397)===t[n][e(405)]?t[n][e(489)][e(299)]=n:e(381)===t[n][e(405)]&&(t[n][e(489)][e(278)]=n),i[e(368)](t[n].id,n));for(const n of i[e(419)]())e(397)===t[n][e(405)]?t[n][e(489)][e(278)]=i[e(445)](t[n][e(273)]):e(381)===t[n][e(405)]&&(t[n][e(489)][e(299)]=i[e(445)](t[n][e(273)]))}[vr(371)](t){const e=vr;for(let i=0;i<t[e(353)];i++){if(e(397)===t[i][e(405)])t[i][e(489)][e(299)]=i;else if(e(381)===t[i][e(405)]){t[i][e(489)][e(278)]=i;const n=t[i][e(489)][e(299)];t[n][e(273)]=t[i].id,t[i][e(273)]=t[n].id}else t[i][e(489)][e(299)]=i,t[i][e(489)][e(278)]=i,t[i][e(273)]=null;t[i][e(384)]||(t[i][e(384)]=[],t[i][e(277)]=[])}}[vr(495)](t,e){const i=vr,n=t[i(541)]((t=>!t[i(551)]));for(let t=0;t<e[i(353)];t++)e[t][i(551)]&&(n[t][i(551)]=e[t][i(551)])}[vr(424)](t){const e=vr,i=JSON[e(566)](t),n=this[e(340)][e(519)][e(516)][e(402)],r=new Yi.ViewDocumentFragment(n,i[e(360)]((t=>this[e(341)](t))));return this[e(340)][e(486)][e(543)](r)}[vr(341)](t){const e=vr,i=this[e(340)][e(519)][e(516)][e(402)];if(e(262)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(372)][e(360)]((t=>this[e(341)](t)));return new(kr[t[e(405)]]||Yi.ViewElement)(i,t[e(307)],t[e(380)],n)}}[vr(534)](t,e=null){const i=vr,n=this[i(572)][i(563)](t),r=e?this[i(572)][i(563)](e):null,s=this[i(412)](n,r),o=s[s[i(353)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(353)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(330)](e[i(558)]))if(e[i(558)][t][i(479)]){const n=e[i(558)][t][i(479)];n[i(272)]?(u[i(344)](t),l[i(302)](t)&&l[i(445)](t)[i(421)]==n[i(421)]?l[i(289)](t):l[i(368)](t,n)):l[i(302)](t)?(u[i(289)](t),l[i(289)](t)):(u[i(344)](t),l[i(368)](t,n))}else u[i(344)](t)}for(const t of u){const e=l[i(302)](t)&&!l[i(445)](t)[i(272)];let n=e?s[i(353)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(558)][t]){const n=e?o[i(558)][t][i(370)]:o[i(558)][t][i(420)];c[i(380)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(425)]={};for(const e of t[i(261)])a[i(368)](e.id,e);for(const e of u){const n=t[i(558)][e]?t[i(558)][e][i(571)]:"[]",r=t[i(558)][e]?t[i(558)][e][i(468)]:"[]";t[i(425)][e]={insertions:this[i(424)](n),deletions:this[i(424)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(430)](n[i(425)][t][i(571)][i(487)])[i(541)]((([t])=>!t[i(374)](i(323)))));let h=0;for(const o of s){const s=this[i(327)](o[i(425)][t][i(571)]);o==n?(e=s,r=e[i(353)],e[i(265)]((t=>{t.id=h++})),this[i(371)](e)):this[i(495)](e,s);const a=e[i(541)]((t=>!t[i(551)]))[i(360)]((t=>t.id));let c=0;const l=this[i(327)](o[i(425)][t][i(468)]);l[i(265)]((t=>{t[i(521)]?t.id=r++:t.id=a[c++]})),this[i(371)](l),this[i(313)](e,i(551)),this[i(313)](l,i(521)),o==n&&this[i(317)](e,u),e=this[i(523)](e,l),this[i(409)](e),this[i(313)](e,i(521))}e=e[i(541)]((t=>!(t[i(551)]&&t[i(521)])));const d=new Map(o[i(425)][t][i(468)][i(487)]),f=new Set(u[i(330)]());for(const t of d[i(330)]())f[i(289)](t);this[i(544)](e,f),this[i(331)](e),e=this[i(288)](e),e=this[i(334)](e),e=this[i(250)](e);const{root:m,changes:p}=this[i(463)](e,a,t);c[i(425)][t]=m;const v=l[i(445)](t);if(v){const e=a[i(445)](v[i(421)]),n=new cr({author:e,type:v[i(272)]?i(344):i(264),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(490)](n),c[i(380)][t][i(451)]=n.id}c[i(297)]=c[i(297)][i(363)](p)}return c}[vr(317)](t,e){const i=vr;for(let n=0;n<t[i(353)];n++)for(const[r,s]of e)s[i(252)][i(426)](t[n][i(377)])&&t[n][i(384)][i(497)](r),s[i(260)][i(426)](t[n][i(399)])&&t[n][i(277)][i(497)](r)}[vr(523)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(353)]||s<e[i(353)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(497)](o);else if(a[i(521)]&&o[i(551)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(355)](t,r,e,s);n=n[i(363)](o),r=a,s=c}else a[i(521)]?(s++,n[i(497)](a)):(r++,n[i(497)](o))}return n}[vr(544)](t,e){const i=vr,n=[];for(let o=0;o<t[i(353)];o++){for(let s=0;s<t[o][i(384)][i(353)];s++){const a=t[o][i(384)][s];if(!e[i(302)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(511)!=c||i(298)!=u&&i(482)!=u||(n[i(490)]({type:u,name:a,userId:l}),t[o][i(384)][i(435)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(277)][i(353)];s++){const a=t[o][i(277)][s];if(!e[i(302)](a))continue;const{group:c,type:u}=r(a);if(i(511)!=c||i(298)!=u&&i(482)!=u)continue;t[o][i(277)][i(435)](s,1),s--;const l=n[i(393)]((t=>t[i(307)]==a));l>-1&&n[i(435)](l,1)}}function r(t){const e=i,n=t[e(476)](":");return{group:n[0],type:n[1],subType:n[e(353)]>=5?n[2]:null,id:n[e(353)]<5?n[2]:n[3],authorId:n[e(353)]<5?n[3]:n[4],markerCount:6==n[e(353)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(353)];i++){if(t[e(551)]&&e(298)==n[i][e(405)])return t[e(533)]=n[i],void delete t[e(551)];if(!t[e(551)]&&!t[e(521)]&&e(482)==n[i][e(405)])return void(t[e(520)]=n[i])}}}[vr(313)](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(368)](o.id,n);for(let n=0;n<t[i(353)];n++){if(i(521)==e&&t[n][i(551)]||i(551)==e&&t[n][i(521)])continue;if(i(443)==t[n][i(405)]){t[n][i(556)]=0;continue}const r=s[i(445)](t[n][i(273)]),o=s[i(445)](t[n].id);t[n][i(556)]=r-o}}[vr(412)](t,e,i=!1){const n=vr,r=[];let s=this[n(572)][n(431)](t),o=this[n(572)][n(431)](e);for(-1==o&&(o=this[n(572)][n(386)][n(353)],i=!1);s<o;)r[n(497)](this[n(572)][n(563)](s)),s++;return i&&r[n(497)](this[n(572)][n(563)](s)),r}[vr(355)](t,e,i,n){const r=vr,s=this[r(340)][r(425)][r(439)];let o=e;for(;t[o]&&t[o][r(551)];)o++;let a=n;for(;i[a]&&i[a][r(521)];)a++;u(t,e,o),u(i,n,a);const c=i[r(554)](n,a)[r(363)](t[r(554)](e,o));return c[r(549)](((t,e)=>t[r(518)]!=e[r(518)]?t[r(518)]-e[r(518)]:t[r(366)]!=e[r(366)]?t[r(366)]-e[r(366)]:t[r(556)]!=e[r(556)]?e[r(556)]-t[r(556)]:!!t[r(551)]!=!!e[r(551)]?-1==t[r(518)]||0==t[r(518)]?t[r(551)]?-1:1:t[r(551)]?1:-1:t[r(282)]-e[r(282)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(245)],c=!0;for(let r=e;r<i;r++)if(s[n(532)](t[r][n(489)])||(c=!1),t[r][n(489)][n(299)]<e&&(o=r),t[r][n(489)][n(278)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(518)]=r<=o?-1:r<a?0:1,t[r][n(282)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(556)]?t[i][n(366)]=u:(u++,t[i][n(366)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(518)]&&(t[r][n(366)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(556)]?t[e][n(366)]=u:(u--,t[e][n(366)]=u,u--)}}[vr(331)](t){const e=vr,i=new Map,n=this[e(340)][e(425)][e(439)];for(let r=1;r<t[e(353)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(443)==c[e(405)])continue;if(c[e(405)]!=u[e(405)])continue;if(!n[e(290)](u[e(489)])||n[e(561)](u[e(489)]))continue;if(!n[e(290)](c[e(489)])||n[e(561)](c[e(489)]))continue;if((t[r][e(551)]||t[r][e(533)])&&t[r-1][e(521)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(521)]||!t[r-1][e(551)]&&!t[r-1][e(533)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(366)]==o[e(366)],h=Math[e(369)](s[e(366)])<Math[e(369)](o[e(366)])&&0==o[e(556)];(l||h)&&(i[e(368)](o.id,s.id),t[e(435)](a,1),r--,s[e(551)]=!1)}for(let n=0;n<t[e(353)];n++)i[e(302)](t[n][e(273)])&&(t[n][e(273)]=i[e(445)](t[n][e(273)]))}[vr(288)](t){const e=vr,i=new Set(t[e(360)]((t=>t.id)));for(let n=0;n<t[e(353)];n++)i[e(302)](t[n][e(273)])||0==t[n][e(556)]||(t[n][e(303)]=!0);return t[e(541)]((t=>!t[e(303)]))}[vr(334)](t){const e=vr,i=new Set;for(let n=0;n<t[e(353)];n++){if(i[e(302)](t[n].id)&&t[n][e(521)]&&(t[n][e(303)]=!0),t[n][e(303)])continue;if(0==t[n][e(556)])continue;if(e(397)!=t[n][e(405)])continue;if(null==t[n][e(273)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(273)];)e(397)==t[r][e(405)]?s++:e(381)==t[r][e(405)]&&s--,r++;if(0!=s)if(t[n][e(521)])t[n][e(303)]=!0;else for(;r!=n;)t[r][e(521)]&&0!=t[r][e(556)]&&(t[r][e(303)]=!0,i[e(344)](t[r][e(273)])),r--}return t[e(541)]((t=>!t[e(303)]))}[vr(250)](t){const e=vr,i=this[e(340)][e(425)][e(439)];for(let n=0;n<t[e(353)];n++){if(!(t[n][e(551)]||t[n][e(533)]||t[n][e(521)]||t[n][e(520)]))continue;if(0==t[n][e(556)])continue;const r=t[n][e(489)];i[e(290)](r)||i[e(561)](r)||(t[n][e(551)]&&delete t[n][e(551)],t[n][e(533)]&&delete t[n][e(533)],t[n][e(520)]&&delete t[n][e(520)],t[n][e(521)]&&(t[n][e(303)]=!0))}return t[e(541)]((t=>!t[e(303)]))}[vr(463)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(340)][n(425)],c=a[n(439)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(353)];e++)if(n(397)===t[e][n(405)]){t[e][n(377)]=a[n(268)](r,f);const i=new Yi.Element(t[e][n(489)][n(307)],t[e][n(489)][n(394)]());u[0][n(444)](i),f[n(497)](0),u[n(490)](i),t[e][n(399)]=a[n(268)](r,f)}else n(381)===t[e][n(405)]?(u[n(387)](),t[e][n(377)]=a[n(268)](r,f),f[n(524)](),f[f[n(353)]-1]++,t[e][n(399)]=a[n(268)](r,f)):(t[e][n(377)]=a[n(268)](r,f),d?d[n(442)]+=t[e][n(489)][n(486)]:d=new Yi.Text(t[e][n(489)][n(486)],t[e][n(489)][n(394)]()),t[e+1]&&n(443)===t[e+1][n(405)]&&v(d,t[e+1][n(489)])||(u[0][n(444)](d),d=null),f[f[n(353)]-1]+=t[e][n(489)][n(478)],t[e][n(399)]=a[n(268)](r,f));for(let e=0;e<t[n(353)];e++){const i=t[e][n(377)],r=t[e][n(399)];for(const r of t[e][n(384)])o[n(368)](r,{start:i,end:null});m(n(520),e,i,r),m(n(533),e,i,r),m(n(521),e,i,r),m(n(551),e,i,r);for(const i of t[e][n(277)])o[n(445)](i)[n(260)]=r}for(const[t,e]of o){const i=this[n(340)][n(425)][n(458)](e[n(252)],e[n(260)]);r[n(487)][n(368)](t,i)}return s[n(549)](((t,e)=>{const i=n,s=r[i(487)][i(445)](i(323)+t.id),o=r[i(487)][i(445)](i(323)+e.id);return s[i(252)][i(447)](o[i(252)])?-1:s[i(252)][i(450)](o[i(252)])?1:s[i(260)][i(447)](o[i(260)])?-1:s[i(260)][i(450)](o[i(260)])?1:i(344)===t[i(405)]?-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(421)]:null,d=i===t[o(353)]-1,f=h[e][0],m=c[o(306)](t[i][o(489)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(260)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(421)]!==u&&(l[e][o(260)]=r,f&&f[o(421)]===l[e][o(421)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(397)!==t[i][o(405)]||f&&f[o(421)]===u||h[e][o(490)]({userId:u,object:t[i][o(489)],change:l[e]}),o(381)===t[i][o(405)]&&f&&f[o(263)]===t[i][o(489)]&&(h[e][o(387)](),l[e]=f[o(502)])),l[e]&&d&&(l[e][o(260)]=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(489)],f=a[h(439)][h(290)](d)&&!a[h(439)][h(561)](d),m=t[h(557)]==o[h(461)]&&o[h(318)];if(f&&m)return;const p=a[h(458)](t,o),v=e[h(445)](u),y=new cr({author:v,type:h(551)==l||h(533)==l?h(344):h(264),data:{isSuggestion:h(533)==l||h(520)==l},createdAt:new Date,rootName:i});s[h(497)](y),r[h(487)][h(368)](h(323)+y.id,p)}function v(t,e){const i=n,r=t[i(394)](),s=e[i(394)]();for(const t of r){if(t[1]!==e[i(506)](t[0]))return!1;s[i(437)]()}return s[i(437)]()[i(291)]}}[vr(347)](){const t=vr;this[t(340)][t(498)][t(560)](t(284))[t(491)]({view:t(422)}),this[t(340)][t(498)][t(560)](t(281))[t(504)]({model:t(422),view:e=>{const i=t,n=e[i(452)][i(476)](":")[1],r=this[i(345)](n);if(!r)return null;const s=i(344)==r[i(405)]?i(298):i(482),o=[i(392),i(395)+s];return r[i(486)][i(567)]&&o[i(497)](i(395)+s+i(542)),this[i(515)]==r&&o[i(497)](i(244)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(340)][t(498)][t(560)](t(284))[t(344)]((e=>{const i=t;e.on(i(507),((t,e,n)=>{const r=i,s=e[r(525)][r(326)](0);if(!s||!s.is(r(398),r(373)))return;if(!n[r(246)][r(241)](s,{attributes:[r(379),r(351)]}))return;const o=e[r(239)][r(252)][r(557)];n[r(565)][r(305)](r(379),s[r(506)](r(379)),o),n[r(565)][r(305)](r(351),s[r(506)](r(351)),o)}),{priority:i(481)})})),this[t(340)][t(498)][t(560)](t(284))[t(344)]((e=>{const i=t;e.on(i(398),((t,e,n)=>{const r=i;if(!n[r(246)][r(241)](e[r(525)],{attributes:[r(379),r(351)]}))return;if(e[r(239)][r(243)])return;const s=e[r(239)][r(252)][r(557)];s[r(308)](r(379))||s[r(308)](r(333))||(n[r(565)][r(305)](r(379),e[r(525)][r(506)](r(379)),s),n[r(565)][r(305)](r(351),e[r(525)][r(506)](r(351)),s))}),{priority:i(481)})})),this[t(340)][t(498)][t(560)](t(284))[t(249)]({view:{name:t(292),attributes:{vid:!0}},model:{key:t(333),value:e=>e[t(506)](t(333))}}),this[t(340)][t(425)][t(439)].on(t(464),((e,[,i])=>{const n=t;[n(379),n(351),n(333)][n(499)](i)&&(e[n(469)]=!0,e[n(346)]())}),{priority:t(293)}),this[t(340)][t(498)][t(560)](t(545))[t(344)]((e=>{const i=t;e.on(i(568),((t,e,n)=>{const r=i;if(" "!=e[r(489)][r(486)]||e[r(489)][r(461)][r(471)]>1)return;if(!n[r(246)][r(241)](e[r(489)],t[r(307)]))return;const s=n[r(565)],o=n[r(389)][r(247)](e[r(248)]);s[r(467)](o,s[r(522)](r(292)))}))})),this[t(340)][t(498)][t(560)](t(545))[t(385)]({model:t(422)}),this[t(340)][t(519)][t(235)].on(t(335),function(e){const i=t,n=e[i(530)][i(445)](i(569));return(t,r,s)=>{const o=i,a=r[o(452)][o(476)](":")[1],c=n[o(345)](a);if(!c)return null;const u=o(344)==c[o(405)]?o(476):o(474);if(!s[o(246)][o(456)](r[o(274)],t[o(307)]))return;const l=r[o(274)][o(427)](),h=r[o(274)][o(252)],d=e[o(425)][o(439)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(489)];p=p||d[o(446)](e);const i=s[o(389)][o(324)](e);if(i&&i[o(336)](o(517)))return;o(381)==t[o(405)]&&d[o(290)](e)&&!d[o(561)](e)&&(e[o(529)]||h[o(365)]?f&&f[o(461)]==e||(f=e,y(t[o(377)]),v=!0):m=m||t[o(377)])}function y(t){const e=o,i=s[e(565)][e(342)](e(292),{class:e(395)+u}),a=s[e(389)][e(448)](t);c[e(486)][e(567)]&&s[e(565)][e(528)](e(395)+u+e(542),i),n[e(515)]==c&&s[e(565)][e(528)](e(244),i),s[e(565)][e(295)](a,i),s[e(389)][e(253)](i,r[e(452)])}p||v||!m||y(m)}}(this[t(340)]),{priority:t(492)}),this[t(340)][t(519)][t(235)].on(t(378),((e,i,n)=>{const r=t,s=n[r(389)][r(240)](i[r(452)]);if(s)for(const t of s)(t[r(315)](r(279))||t[r(315)](r(455)))&&(n[r(389)][r(449)](t,i[r(452)]),n[r(565)][r(264)](t))}),{priority:t(492)}),this[t(340)][t(519)][t(235)].on(t(335),((e,i,n)=>{const r=t,s=i[r(452)][r(476)](":")[1],o=this[r(345)](s);if(!o)return null;const a=r(344)==o[r(405)]?r(476):r(474);if(n[r(246)][r(456)](i[r(274)],e[r(307)]))for(const t of i[r(274)][r(352)]()){if(!t.is(r(398),r(236)))continue;const e=n[r(565)][r(342)](r(292),{class:r(395)+a}),s=n[r(389)][r(448)](this[r(340)][r(425)][r(428)](t));o[r(486)][r(567)]&&n[r(565)][r(528)](r(395)+a+r(542),e),this[r(515)]==o&&n[r(565)][r(528)](r(244),e),n[r(565)][r(295)](s,e),n[r(389)][r(253)](e,i[r(452)])}}),{priority:t(492)}),this[t(340)][t(425)][t(402)].on(t(502),(()=>{const e=t;this[e(340)][e(519)][e(516)][e(502)]((t=>{const i=e;for(const e of this[i(340)][i(425)][i(402)][i(294)]()){const n=this[i(340)][i(425)][i(402)][i(527)](e),r=this[i(340)][i(519)][i(516)][i(402)][i(527)](e);if(r){const e=n[i(506)](i(451));if(t[i(512)](i(388),r),t[i(391)](i(550),r),t[i(391)](i(367),r),t[i(391)](i(350),r),e){const n=this[i(345)](e);if(!n)return null;t[i(305)](i(388),e,r),t[i(528)](i(459)+n[i(405)],r),this[i(515)]==n&&t[i(528)](i(350),r)}}}}))})),this[t(340)][t(498)][t(560)](t(284))[t(491)]({view:t(501),model:e=>t(555)+e,converterPriority:t(293)}),this[t(340)][t(498)][t(560)](t(284))[t(491)]({view:t(396),model:e=>t(536)+e,converterPriority:t(293)}),this[t(340)][t(498)][t(560)](t(545))[t(385)]({model:t(511),view:e=>({name:t(483)+e,group:t(511)}),converterPriority:t(293)}),this[t(340)][t(498)][t(560)](t(281))[t(504)]({model:t(511),view:e=>{const i=t,n=e[i(452)][i(476)](":")[1];return i(298)!=n&&i(482)!=n?null:{classes:[i(271),i(356)+n]}}}),this[t(340)][t(519)][t(235)].on(t(390),wr(this[t(340)],t(474)),{priority:t(492)}),this[t(340)][t(519)][t(235)].on(t(540),wr(this[t(340)],t(476)),{priority:t(492)}),this[t(340)][t(519)][t(235)].on(t(480),((e,i,n)=>{const r=t,s=n[r(389)][r(240)](i[r(452)]);if(s)for(const t of s)t.is(r(325))&&(n[r(389)][r(449)](t,i[r(452)]),n[r(565)][r(264)](t))}),{priority:t(492)})}[vr(345)](t){const e=vr;return this[e(553)][e(445)](t)}[vr(338)](t){const e=vr;return this[e(319)]&&this[e(319)][e(304)](),this[e(319)]=new rr(this[e(340)][e(354)],t),this[e(319)]}[vr(339)](){const t=vr;this[t(340)][t(425)][t(402)][t(312)][t(242)](t(422)),this.on(t(328),((e,i,n,r)=>{const s=t;r&&this[s(538)][s(264)](r),n&&(this[s(538)][s(344)]({view:n,stackId:s(255),position:{target:()=>{const t=s,e=this[t(340)][t(519)],i=this[t(345)](n[t(436)]);let r;if(i[t(486)][t(473)]){const n=e[t(516)][t(400)](i[t(484)]);r=Array[t(430)](n[t(269)]())}else{const i=this[t(340)][t(425)][t(487)][t(445)](t(323)+n[t(436)]);r=Array[t(430)](e[t(389)][t(240)](i[t(307)]))[t(360)]((i=>e[t(516)][t(510)][t(256)](i)))[t(360)]((e=>Array[t(430)](e[t(269)]())))[t(546)]()}return this[t(259)]&&r[t(238)]((e=>e[t(349)]-3<=this[t(259)].y&&e[t(266)]+3>=this[t(259)].y&&e[t(472)]-3<=this[t(259)].x&&e[t(310)]+3>=this[t(259)].x))||r[0]}}}),this[s(538)][s(509)](s(255)))})),this.on(t(433),((e,i,n,r)=>{const s=t;this[s(440)]=n?this[s(338)](n):null,this[s(340)][s(425)][s(502)]((()=>{const t=s,e=this[t(340)][t(519)];r&&(r[t(486)][t(473)]?e[t(516)][t(502)]((i=>{const n=t;i[n(391)](n(350),e[n(516)][n(402)][n(527)](r[n(484)]))})):e[t(285)](t(323)+r.id)),n&&(n[t(486)][t(473)]?e[t(516)][t(502)]((i=>{const r=t;i[r(528)](r(350),e[r(516)][r(402)][r(527)](n[r(484)]))})):e[t(285)](t(323)+n.id))}))})),this[t(408)](this[t(340)][t(519)][t(516)][t(402)],t(358),((e,i)=>{const n=t;if(this[n(515)])return;const r=this[n(301)](i[n(364)]),s=this[n(553)][n(445)](r);s?(this[n(259)]={x:i[n(475)].x,y:i[n(475)].y},this[n(440)]=this[n(338)](s)):(this[n(259)]=null,this[n(440)]=null)})),this[t(408)](this[t(340)][t(519)][t(516)][t(402)],t(477),((e,i)=>{const n=t,r=this[n(301)](i[n(364)]),s=this[n(553)][n(445)](r);s?(this[n(259)]={x:i[n(475)].x,y:i[n(475)].y},s===this[n(515)]?this[n(538)][n(457)]():this[n(515)]=s):(this[n(259)]=null,this[n(515)]=null)}))}[vr(301)](t){const e=vr;do{const i=t[e(506)](e(388));if(i)return i;t=t[e(461)]}while(t);return null}[vr(332)](){const t=vr;this[t(340)][t(425)][t(502)]((e=>{const i=t;for(const t of this[i(340)][i(425)][i(487)])e[i(441)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=gr;if(!r[s(246)][s(456)](n[s(274)],i[s(307)]))return;const o=n[s(274)][s(427)](),a=n[s(274)][s(252)],c=t[s(425)][s(439)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(489)];h=h||c[s(446)](e);const i=r[s(389)][s(324)](e);if(i&&i[s(336)](s(517)))return;s(381)==t[s(405)]&&c[s(290)](e)&&!c[s(561)](e)&&(e[s(529)]||a[s(365)]?u&&u[s(461)]==e||(u=e,f(t[s(377)]),d=!0):l=l||t[s(377)])}function f(t){const i=s,o=r[i(389)][i(448)](t),a=r[i(565)][i(342)](i(292),{class:i(356)+e});r[i(565)][i(295)](o,a),r[i(389)][i(253)](a,n[i(452)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(530)][e(445)](br);this[e(416)]=!1,this[e(408)](i,e(254),(()=>this[e(321)]())),this[e(408)](i,e(503),(()=>this[e(321)]()))}[vr(258)](){const t=vr,e=this[t(340)],i=e[t(530)][t(445)](br),n=i[t(411)]?i[t(470)][t(382)]:null;e[t(362)][t(445)](t(418))[t(320)](n)}[vr(321)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(340)][t(530)][t(445)](br),s=r&&n[t(413)](r[t(382)]);this[t(267)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(530)][i(445)](br);this[i(416)]=!1,this[i(485)]=i(429)===e?1:-1,this[i(408)](n,i(254),(()=>this[i(321)]())),this[i(408)](n,i(503),(()=>this[i(321)]())),this[i(408)](n,i(433),(()=>this[i(321)]()))}[vr(258)](){const e=vr,i=this[e(340)],n=i[e(530)][e(445)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(515)]=r?n[e(470)][e(297)][e(445)](s+this[e(485)]):n[e(470)][e(297)][e(257)],n[e(515)][e(486)][e(473)])o=i[e(519)][e(516)][e(400)](n[e(515)][e(484)]);else{const t=i[e(425)][e(487)][e(445)](e(323)+n[e(515)].id);o=(0,Bi.getMarkerDomElement)(i[e(519)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(321)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(340)][t(530)][t(445)](br);this[t(267)]=!!(s&&r&&n)&&(!e||(1===this[t(485)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Un(),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(t,e){const i=Tr();return(xr=function(t,e){return i[t-=451]})(t,e)}function Tr(){const t=["isNavigationMode","execute","ck-revision-history-ui__changes-navigation__label","15OuCTrH","214540xjqvqZ","ck-revision-history-ui__changes-navigation__wrapper","currentChangeNumber","set","backward","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","No changes","_statusText","bind","Show previous change","isForwardNavigationEnabled","forward","12VTsoDz","83548jQFPdG","X_OF_Y_CHANGES","isEnabled","ck-revision-history-ui__changes-navigation","EDIT_X_OF_Y_REVISIONS","Total","289080WudPBf","div","1650880idZHew","NUMBER_OF_CHANGES","707800ByXtGK","409213SBGzlf","Loading...","ck-revision-history-ui","Show next change","span","setTemplate","fire","numberOfChanges","isReady","isBackwardNavigationEnabled","50229FZiIeq","ck-hidden","_isStatusLabelVisible","1490SHeXBi"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(112086===-parseInt(e(456))/1+-parseInt(e(476))/2+parseInt(e(455))/3*(parseInt(e(470))/4)+-parseInt(e(480))/5+-parseInt(e(469))/6*(parseInt(e(481))/7)+-parseInt(e(478))/8+-parseInt(e(491))/9*(-parseInt(e(451))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Nr extends Vn.View{constructor(t){const e=xr;super(t);const i=this[e(462)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(459)](e(452),!1),this[e(459)](e(489),!1),this[e(459)](e(458),0),this[e(459)](e(488),0),this[e(459)](e(467),!1),this[e(459)](e(490),!1),this[e(465)](e(493)).to(this,e(489),this,e(488),((t,e)=>t&&e>0)),this[e(465)](e(464)).to(this,e(489),this,e(458),this,e(488),this,e(452),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(482));if(!r)return Qi(t,o(463));const a=Qi(t,o(479),r);return s?Qi(t,o(471),[n+1,r]):a})),n[e(459)]({label:Qi(t,e(466)),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(459)]({label:Qi(t,e(484)),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(465)](e(472)).to(this,e(490)),r[e(465)](e(472)).to(this,e(467)),n.on(e(453),(()=>this[e(487)](e(453),e(460)))),r.on(e(453),(()=>this[e(487)](e(453),e(468)))),this[e(486)]({tag:e(477),attributes:{class:["ck",e(483),e(473)]},children:[{tag:e(485),attributes:{class:[e(457)]},children:[{tag:e(485),attributes:{class:[e(454),i.if(e(493),e(492),(t=>!t))]},children:[{text:i.to(e(452),(i=>i?Qi(t,e(474))+": ":Qi(t,e(475))+": "))}]},{text:i.to(e(464))}]},new Vn.ToolbarSeparatorView,{tag:e(477),attributes:{class:[e(461)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Un(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Er=Vr;function Mr(){const t=["editing","addClass","view","ck-editor__editable__loading-overlay","11hQXwtE","editor","change","324688kLbtLX","2kSzsMZ","roots","isOfficialPlugin","1530000kZvgJk","show","isPremiumPlugin","document","75147lYbRKa","removeClass","16mLteqj","2026710YKfnan","5AyKjKt","415961OekffH","pluginName","627714YoQhjs","RevisionViewerLoadingOverlay","hide","7978030ufvdSD"];return(Mr=function(){return t})()}function Vr(t,e){const i=Mr();return(Vr=function(t,e){return i[t-=437]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(295553===parseInt(e(439))/1*(-parseInt(e(458))/2)+-parseInt(e(461))/3+parseInt(e(457))/4+-parseInt(e(443))/5*(parseInt(e(446))/6)+parseInt(e(444))/7*(-parseInt(e(441))/8)+parseInt(e(442))/9+-parseInt(e(449))/10*(-parseInt(e(454))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mr);const Dr=Er(453);class Cr extends qi.Plugin{static get[Er(445)](){return Er(447)}static get[Er(460)](){return!0}static get[Er(437)](){return!0}[Er(462)](){const t=Er,e=this[t(455)][t(450)][t(452)];e[t(456)]((i=>{const n=t;for(const t of e[n(438)][n(459)])i[n(451)](Dr,t)}))}[Er(448)](){const t=Er,e=this[t(455)][t(450)][t(452)];e[t(456)]((i=>{const n=t;for(const t of e[n(438)][n(459)])i[n(440)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=224]})(t,e)}function Lr(){const t=["Back to editing","isNavigationMode","Restore this revision","hide","revisionHistory","commands","isReady","2038410kmfbOD","6941496uKtksc","componentFactory","changesNavigation","plugins","set","numberOfChanges","isOfficialPlugin","isForwardNavigationEnabled","isPremiumPlugin","isEnabled","showPreviousChange","2065348HNFauM","requires","change:isReady","181080tsmfYz","600VbuuIz","657888hxlMvS","show","exitToEditing","483jnyTWj","isBackwardNavigationEnabled","restoreRevision","5fZoiNd","listenTo","ck-revision-history-ui__back-to-editing","bind","3222qswGoq","undo","init","execute","1117244JMaPXN","currentChangeNumber","RevisionViewerUI","editor","closeRevisionViewerCallback","pluginName","config","showNextChange","forward","add","get"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(611509===parseInt(e(229))/1+parseInt(e(224))/2+parseInt(e(261))/3+-parseInt(e(243))/4*(-parseInt(e(235))/5)+parseInt(e(239))/6*(parseInt(e(232))/7)+-parseInt(e(262))/8+-parseInt(e(227))/9*(parseInt(e(228))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(248)](){return jr(245)}static get[jr(268)](){return!0}static get[jr(270)](){return!0}static get[jr(225)](){return[br,Cr]}[jr(241)](){const t=jr,e=this[t(246)],i=e[t(265)][t(253)](br),n=e[t(265)][t(253)](Cr);e.ui[t(263)][t(252)](t(231),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(266)]({label:Qi(i,n(254)),icon:qi.icons[n(240)],withText:!0,tooltip:!0,class:n(237)}),this[n(236)](r,n(242),(()=>{const t=n;e[t(249)][t(253)](t(258))[t(247)]()})),r})),e.ui[t(263)][t(252)](t(234),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(266)]({label:Qi(i,n(256)),withText:!0,tooltip:!0}),r[n(238)](n(271)).to(e[n(259)][n(253)](n(234))),this[n(236)](r,n(242),(()=>e[n(242)](n(234)))),r})),e.ui[t(263)][t(252)](t(264),(n=>{const r=t,s=new Nr(n),o=e[r(259)][r(253)](r(272)),a=e[r(259)][r(253)](r(250));return s[r(238)](r(233)).to(o,r(271)),s[r(238)](r(269)).to(a,r(271)),s[r(238)](r(260),r(244),r(267),r(255)).to(i),this[r(236)](s,r(242),((t,i)=>{const n=r;e[n(242)](n(251)===i?n(250):n(272))})),s})),n[t(230)](),i.on(t(226),((e,i,r)=>{const s=t;r?n[s(257)]():n[s(230)]()}))}}var zr=i(329),Ur={attributes:{"data-cke":!0}};Ur.setAttributes=Un(),Ur.insert=Pn().bind(null,"head"),Ur.domAPI=Fn(),Ur.insertStyleElement=Zn();Cn()(zr.A,Ur);zr.A&&zr.A.locals&&zr.A.locals;const Wr=Hr;function Zr(){const t=["_resizeObserver","extendTemplate","_updateTooltipText","scrollWidth","set","fieldView","input","ck-revision-history-sidebar__revision-name","29134oLvYFL","_tooltipString","clientWidth","Enter the revision name","1107748tcOnSO","37456IjDlem","3144192wAzugN","element","ck-tooltip_multi-line","969920sIPggE","destroy","render","placeholder","value","bindTemplate","Revision name","535875ikkPsS","span","9gJwwRM","27bsHnmZ","91OYaZMD","listenTo","1153435nBrPMl"];return(Zr=function(){return t})()}function Hr(t,e){const i=Zr();return(Hr=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=Hr,i=t();for(;;)try{if(287912===parseInt(e(268))/1*(parseInt(e(281))/2)+-parseInt(e(266))/3+parseInt(e(285))/4+parseInt(e(272))/5+-parseInt(e(287))/6+-parseInt(e(270))/7*(-parseInt(e(286))/8)+parseInt(e(269))/9*(parseInt(e(290))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class $r extends Vn.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(273)]=null;const n=this[i(264)];this[i(277)]({label:Qi(t,i(265)),_tooltipString:""}),this[i(278)][i(262)]=Qi(t,i(284)),this[i(274)]({tag:i(267),attributes:{class:[i(280)],"data-cke-tooltip-text":n.to(i(282)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(289)}})}[Wr(292)](){const e=Wr;super[e(292)](),this[e(273)]=new t.ResizeObserver(this[e(278)][e(288)],(()=>this[e(275)]())),this[e(271)](this[e(278)],e(279),(()=>this[e(275)]()))}[Wr(291)](){const t=Wr;super[t(291)](),this[t(273)]&&this[t(273)][t(291)]()}[Wr(275)](){const t=Wr,e=this[t(278)][t(288)];this[t(282)]=e[t(276)]>e[t(283)]&&e[t(263)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Un(),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-=130]})(t,e)}function Jr(){const t=["name","ck-revision-history-sidebar__revision-author__name","setTemplate","7295247DqPQcD","332210ggUxAv","610640BhngdN","ck-revision-history-sidebar__revision-author","set","push","Revision author","561802IMXtoW","Revision creator","0 0 11 10","span","ck-revision-history-sidebar__revision-author_creator","472ouqFHA","329WohEYL","592392aSOISt","3565xpiaqa","46722dKGmnY"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(188017===-parseInt(e(144))/1+parseInt(e(130))/2+-parseInt(e(137))/3+parseInt(e(135))/4*(-parseInt(e(138))/5)+-parseInt(e(139))/6*(parseInt(e(136))/7)+parseInt(e(145))/8+parseInt(e(143))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends Vn.View{constructor(t,e,i){const n=Yr;super(t);const r=new Vn.IconView;r[n(147)]({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(132)});const s=["ck",n(146)];i&&s[n(148)](n(134));const o=[{tag:n(133),attributes:{class:["ck",n(141)],title:Qi(t,n(i?131:149))},children:[r,e[n(140)]]}];this[n(142)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=405]})(t,e)}function Xr(){var t=["toLocaleTimeString","100irjZcb","18319bRsZjV","22671594VVcPOn","long","2097423RCEAKX","numeric","937993hqrCSp","70340qOwmNJ","1264466GvsOCP","5207202jXmQPN","toLocaleDateString","80uBwJuK"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(686784===parseInt(e(405))/1+parseInt(e(412))/2+parseInt(e(408))/3+parseInt(e(411))/4*(-parseInt(e(417))/5)+parseInt(e(413))/6+parseInt(e(410))/7*(parseInt(e(415))/8)+-parseInt(e(406))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Un(),ts.insert=Pn().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-=129]})(t,e)}function is(){const t=["1396055lRhfDs","16lMoDOC","1279026pWLuGA","listenTo","568WBSGWn","36vQrSHF","146420MCZOfh","bindTemplate","ck-on","locale","isReady","button","isEnabled","add","action","set","items","bind","map","Name this revision","stopPropagation","33SEVdNL","function","4306090fXXkUd","Compare against selected","execute","listView","extendTemplate","menu","source","menuitem","threeVerticalDots","8012268bNGUya","find","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","children","537745bGNZOz","isVisible","Show more items","isOpen","model","name","_action","class","first","panelPosition","buttonView","94365ltbuAq","change:isActionsDropdownOpen","Restore this revision"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(577285===-parseInt(e(170))/1+parseInt(e(139))/2*(parseInt(e(154))/3)+parseInt(e(134))/4*(parseInt(e(133))/5)+-parseInt(e(138))/6*(-parseInt(e(135))/7)+-parseInt(e(137))/8*(parseInt(e(130))/9)+-parseInt(e(156))/10+-parseInt(e(165))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Un(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Zn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=243]})(t,e)}function as(){const t=["map","extendTemplate","createdAt","ck-revision-history-sidebar__revision__controls-wrapper","div","from","ck-revision-history-sidebar__revision_highlighted","revisionActionsView","srcElement","change","select","set","ck-revision-history-sidebar__revision-wrapper","listenTo","bindTemplate","isConfirm","ck-revision-history-sidebar__revision_selected","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","_createdAtFormatted","deselect","isReady","name","ck-disabled",".ck-thread__remove-confirm","uiLanguage","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","1471428EgfNAL","isEnabled","12HQqUor","7970XfqSVE","ck-revision-history-sidebar__revision__date","786TsfscH","filter","ck-reset","956718ftvZYG","isHighlighted","791295GobCME","unshift","839072yGDvUg","ck-revision-history-sidebar__revision","span","bind","_requireRevisionName","length","value","isSelected","fieldView","closest","45wvdMkR","unhighlight","isActionsDropdownOpen","ck-revision-history-sidebar__revision-authors","render","_revision","setTemplate","highlight","creator","168pwnuPt","setName","220","fire","14712ebJism","element","4191UxtpIS","authors"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(226486===-parseInt(e(273))/1*(parseInt(e(299))/2)+-parseInt(e(276))/3+-parseInt(e(280))/4+-parseInt(e(278))/5*(-parseInt(e(270))/6)+parseInt(e(268))/7+parseInt(e(303))/8*(-parseInt(e(290))/9)+parseInt(e(271))/10*(parseInt(e(305))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(255)],a=function(t,e){const i=s,n=Array[i(246)](e[i(306)])[i(274)]((t=>t!=e[i(298)]));return e[i(298)]&&n[i(279)](e[i(298)]),n[i(307)]((n=>new Gr(t,n,n==e[i(298)])))}(e,i);this.id=i.id,this[s(295)]=i,this[s(284)]=r,this[s(283)](s(263),s(243)).to(i),this[s(283)](s(260)).to(this,s(243),(t=>{return i=e[s(266)],(n=t)[(r=Kr)(414)](i,{month:r(407),day:r(409)})+", "+n[r(416)](i,{hour:r(409),minute:r(409)});var i,n,r})),this[s(252)](s(287),!1),this[s(252)](s(277),!1),this[s(252)](s(292),!1),this[s(252)](s(262),!1),this[s(252)](s(269),!1),this[s(258)]=new $r(e,Vn.createLabeledInputText),this[s(258)][s(288)][s(308)]({attributes:{maxlength:s(301)}}),this[s(258)][s(288)][s(283)](s(286)).to(this,s(263),(t=>t||this[s(260)])),this[s(258)][s(283)](s(269)).to(this,s(287),this,s(269),((t,e)=>t&&e)),this[s(248)]=n&&n[s(285)]?function(e,i){const n=es,r=e[n(140)],s=e[n(142)],o=(0,Vn.createDropdown)(s);o[n(179)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(142)],r={"Compare against selected":Qi(n,i(157)),"Name this revision":Qi(n,i(152)),"Restore this revision":Qi(n,i(132))};return e[i(151)]((t=>{const e=i,n=r[t[e(175)]];return n&&n!==t[e(175)]&&(t[e(175)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(144),model:new Vn.ViewModel({label:t[r(175)],class:t[r(177)],withText:!0,role:r(163),_action:t[r(147)]})};i[r(174)][r(150)](r(145)).to(e,r(167),(i=>r(155)!=typeof t[r(145)]||!i||t[r(145)](e))),o[r(146)](i)}return o}(e,i);return e[n(150)](n(167)).to(o,n(173)),o[n(129)][n(148)]({label:Qi(s,n(172)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(164)]}),o[n(160)]({attributes:{class:[n(168),r.if(n(167),n(141))]},on:{click:r.to((t=>t[n(153)]()))}}),o.on(n(158),(t=>{const i=n;e[i(143)]&&i(155)==typeof t[i(162)][i(176)]&&t[i(162)][i(176)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(161)}),o[n(136)](e,n(131),((t,r,s)=>{const a=n;if(s)for(const t of o[a(159)][a(149)]){const n=t[a(169)][a(178)],r=i[a(166)]((t=>t[a(147)]===n[a(176)]))[a(171)];t[a(171)]=void 0===r||r(e)}})),o}(this,n):"",this[s(248)]&&this[s(248)][s(283)](s(269)).to(this),this[s(296)]({tag:s(245),attributes:{class:["ck",s(275),s(253),o.if(s(256),s(267))]},children:[{tag:s(245),attributes:{class:["ck",s(275),s(281),o.if(s(269),s(264),(t=>!t)),o.if(s(287),s(257)),o.if(s(277),s(247)),o.if(s(292),s(259))]},children:[this[s(258)],{tag:s(282),attributes:{class:["ck",s(272)]},children:[{text:o.to(s(260))}]},{tag:s(245),attributes:{class:["ck",s(244)]},children:[{tag:"ul",attributes:{class:["ck",s(293)]},children:a}]},this[s(248)]],on:{click:o.to((t=>{const e=s;t[e(249)][e(289)](e(265))||this[e(262)]&&this[e(269)]&&this[e(302)](e(251),{id:this.id})}))}}]})}[ss(294)](){const t=ss;super[t(294)]();const e=this[t(258)][t(288)][t(304)];this[t(254)](e,t(250),(()=>{const i=t;this[i(284)]&&!e[i(286)]||this[i(302)](i(300),{id:this.id,name:e[i(286)]}),e[i(286)]||(e[i(286)]=this[i(263)]?this[i(263)]:this[i(260)])}))}[ss(251)](){this[ss(287)]=!0}[ss(261)](){this[ss(287)]=!1}[ss(297)](){this[ss(277)]=!0}[ss(291)](){this[ss(277)]=!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},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Us={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Ws{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 Ws{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 Ws{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:Wo(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 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&&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=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=Jo(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,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 Ws{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 Ws{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(Wo(t)||null===t)return e;if(t instanceof Ws)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 No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[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 Eo(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)?Ao:No)[e-1]}function Vo(t,e){const i=ia(t)?Ao:No,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(Eo(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(Eo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Mo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Wo(t.localWeekday)||!Wo(t.localWeekNumber)||!Wo(t.localWeekYear)){if(!Wo(t.weekday)||!Wo(t.weekNumber)||!Wo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Wo(t.localWeekday)||(t.weekday=t.localWeekday),Wo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Wo(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 Uo(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 Wo(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 Xo(t){return Wo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Wo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Wo(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(Eo(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 Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Es,TTTT:Ms,f:Vs,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Us};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 Aa[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 Na(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 Na(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 Ea=/[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 Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ea.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Ua=Ca("year","ordinal"),Wa=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ea.source}))?`),Za=RegExp(`(?: ${Wa.source})?`);function Ha(t,e,i){const n=t[e];return Wo(n)?i:Xo(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(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=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=Va((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=Va(za,$a,qa,Ba),dc=Va(Ua,$a,qa,Ba),fc=Va($a,qa,Ba);const mc=Va($a);const pc=Ma(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ma(Wa),yc=Va($a,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(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 Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Wo(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(Wo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{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 Ac.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 Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.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?Ac.fromObject(i,e):Ac.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?Ac.fromObject(i,e):Ac.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 Ac({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 Wo(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=Ac.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=Ac.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[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.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 Nc(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=>Ac.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 Nc(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 Ec{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 Ec({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?Ec.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:Ec.invalid("missing or invalid end"):Ec.invalid("missing or invalid start")}(i,n);return null==r?new Ec({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Ec.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Ec.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 Ec.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Ec.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Ec.before(s,t)}}return Ec.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?Ec.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(Ec.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.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(Ec.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:Ec.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 Ec.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(Ec.fromDateTimes(e,t.time)),e=null);return Ec.merge(n)}difference(...t){return Ec.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):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Ec.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 Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.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 Uc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Wc(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 Wc(l);case"uu":return Wc(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 Uc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Uc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Wc(/[a-z_+-/]{1,256}?/i);case" ":return Wc(/[^\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;Wo(t.z)||(i=Ys.create(t.z)),Wo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Wo(t.q)||(t.M=3*(t.q-1)+1),Wo(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),Wo(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 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=Ac.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(Wo(t.year))r=xo.now();else{for(const e of du)Wo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Uo(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=!!Wo(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=Wo(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=Wo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Wo(r.ordinal),l=!Wo(r.year),h=!Wo(r.month)||!Wo(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){Wo(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||Uo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Wo(t)||Wo(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?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?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=!Wo(e.weekYear)||!Wo(e.weekNumber)||!Wo(e.weekday),s=!Wo(e.ordinal),o=!Wo(e.year),a=!Wo(e.month)||!Wo(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):Wo(e.ordinal)?(l={...this.toObject(),...e},Wo(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,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.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 Ac.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(Ac.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?Ec.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(Wo(t)||Wo(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 Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Es}static get TIME_24_WITH_LONG_OFFSET(){return Ms}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Us}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Ou();return(Iu=function(t,e){return i[t-=101]})(t,e)}function Su(t,e){const i=Iu,n=wu[i(125)](t)[i(121)](e),r=wu[i(118)](),s=r[i(113)]({days:1})[i(106)](i(119));let o,a;return n[i(123)](r,i(119))?(o=n[i(106)](i(119))[i(117)](),a=n[i(114)]()):n[i(123)](s,i(119))?(o=s[i(117)](),a=n[i(114)]()):n[i(123)](r,i(101))?(o=n[i(106)](i(101))[i(117)](),a=n[i(122)]||""):n[i(123)](r,i(124))?(o=n[i(106)](i(109))[i(117)](),a=n[i(120)]||""):(o=n[i(106)](i(124))[i(117)](),a=String(n[i(124)])),{startDate:o,localizedPeriodName:a}}function Ou(){const t=["5444663arEiib","week","1952sykoHr","7063730yoJKWX","466SMRswl","2347TjAJCb","startOf","570785UuDgZe","4zOpoZu","month","25204812POfrNG","42YPcfmG","29511Cvryip","minus","toRelativeCalendar","11gDNdpf","1800627nCVrSh","toJSDate","local","day","monthLong","setLocale","weekdayLong","hasSame","year","fromJSDate"];return(Ou=function(){return t})()}!function(t){const e=Iu,i=t();for(;;)try{if(529864===-parseInt(e(105))/1*(-parseInt(e(104))/2)+parseInt(e(116))/3*(parseInt(e(108))/4)+-parseInt(e(107))/5*(-parseInt(e(111))/6)+parseInt(e(126))/7+parseInt(e(102))/8*(-parseInt(e(112))/9)+-parseInt(e(103))/10*(-parseInt(e(115))/11)+-parseInt(e(110))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ou);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Un(),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 Nu=Au;function Au(t,e){const i=Ru();return(Au=function(t,e){return i[t-=386]})(t,e)}function Ru(){const t=["delegate","593355cvvswB","1352cLdmWF","remove","div","163640OewjFO","12pkFoUA","128036AaLgry","43188UkpfzV","startDate","272082xdjSuc","_revisionActions","ck-revision-history-sidebar__time-period__label","21699iKtWum","revisionViews","locale","add","286xzSVBN","uiLanguage","setTemplate","span","setName","addRevision","ck-revision-history-sidebar__time-period","27jeNsNs","createCollection","_requireRevisionName","ck-revision-history-sidebar__time-period__revisions","105569xFgomg","removeRevision","select","find","28kgsMqt","1118vuCClf","localizedPeriodName"];return(Ru=function(){return t})()}!function(t){const e=Au,i=t();for(;;)try{if(353709===-parseInt(e(402))/1+parseInt(e(416))/2*(parseInt(e(398))/3)+parseInt(e(415))/4*(parseInt(e(410))/5)+parseInt(e(419))/6*(-parseInt(e(406))/7)+-parseInt(e(411))/8*(parseInt(e(387))/9)+parseInt(e(414))/10*(parseInt(e(391))/11)+-parseInt(e(417))/12*(parseInt(e(407))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Eu extends Vn.View{constructor(t,e,i,n){const r=Au;super(t);const s=Su(e,this[r(389)][r(392)])[r(408)];this[r(418)]=e,this[r(388)]=this[r(399)](),this[r(420)]=i,this[r(400)]=n,this[r(388)][r(409)](r(404)).to(this),this[r(388)][r(409)](r(395)).to(this),this[r(393)]({tag:r(413),attributes:{class:["ck",r(397)]},children:[{tag:r(394),attributes:{class:["ck",r(386)]},children:[{text:s}]},{tag:r(413),attributes:{class:["ck",r(401)]},children:this[r(388)]}]})}[Nu(396)](t){const e=Nu,i=new cs(this[e(389)],t,this[e(420)],this[e(400)]);this[e(388)][e(390)](i)}[Nu(403)](t){const e=Nu,i=this[e(388)][e(405)]((e=>e.id===t.id));this[e(388)][e(412)](i)}}var Mu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Un(),Vu.insert=Pn().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Zn();Cn()(Mu.A,Vu);Mu.A&&Mu.A.locals&&Mu.A.locals;function Du(t,e){const i=ju();return(Du=function(t,e){return i[t-=393]})(t,e)}!function(t){const e=Du,i=t();for(;;)try{if(126411===-parseInt(e(402))/1+parseInt(e(395))/2*(parseInt(e(406))/3)+parseInt(e(400))/4+-parseInt(e(394))/5+parseInt(e(393))/6+parseInt(e(408))/7+parseInt(e(401))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ju);class Cu extends Vn.View{constructor(t){const e=Du;super(t);const i=new Vn.IconView;i[e(403)]=qi.icons[e(409)],this[e(404)]({tag:e(407),attributes:{class:["ck",e(396),e(398)]},children:[i,{tag:e(397),attributes:{class:["ck",e(399)]},children:[Qi(t,e(405))]}]})}}function ju(){const t=["div","135807ovyEYO","history","798840Jquxpe","1214700TTVlus","4qGqcLX","ck-reset_all","span","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","308340aWCuXd","1066280Clzcye","199104TWYTnw","content","setTemplate","Revision history","308316DIUSys"];return(ju=function(){return t})()}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Un(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;function Pu(){const t=["4568874QpQTTq","find","_revisions","getTime","603294fbHdcd","add","isEnabled","highlightRevisions","locale","ck-rounded-corners","_requireRevisionName","selectRevision","_removeRevision","get","bindTemplate","unhighlight","startDate","revisionSetName","some","_revisionActions","7WuGshd","ck-revision-history-sidebar__timeline","remove","38450RDecQG","8068941JwBGxm","setTemplate","createCollection","render","deselect","timePeriodViews","revisionSelected","map","_addRevision","11630672VrhsNU","36xlkBwY","set","createdAt","div","delegate","14MkEKUa","6911195NCSXSf","setName","flat","revisionViews","fire","ck-reset","ck-revision-history-sidebar","uiLanguage","4169piUlIK","removeRevision","_getTimePeriodViewByStartDate","addRevision","select","ck-disabled","highlight","154759KVKtlB"];return(Pu=function(){return t})()}const zu=Uu;function Uu(t,e){const i=Pu();return(Uu=function(t,e){return i[t-=365]})(t,e)}!function(t){const e=Uu,i=t();for(;;)try{if(937351===-parseInt(e(376))/1*(-parseInt(e(416))/2)+parseInt(e(381))/3*(-parseInt(e(411))/4)+-parseInt(e(417))/5+-parseInt(e(377))/6+parseInt(e(397))/7*(parseInt(e(410))/8)+parseInt(e(401))/9+-parseInt(e(400))/10*(-parseInt(e(369))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pu);class Wu extends Vn.View{constructor(t,e,i,n){const r=Uu;super(t);const s=this[r(391)];this[r(406)]=this[r(403)](),this[r(406)][r(415)](r(373)).to(this),this[r(406)][r(415)](r(418)).to(this),this[r(379)]=e,this[r(396)]=i,this[r(387)]=n,this.on(r(373),((t,e)=>{const i=r;this[i(365)](i(407),e)})),this.on(r(418),((t,e)=>{const i=r;this[i(365)](i(394),e)})),this[r(412)](r(383),!1),this[r(402)]({tag:r(414),attributes:{class:["ck",r(366),r(386),r(367)]},children:[new Cu(t),{tag:r(414),attributes:{class:["ck",r(398),s.if(r(383),r(374),(t=>!t))]},children:this[r(406)]}]})}[zu(404)](){const t=zu;super[t(404)]();for(const e of this[t(379)])this[t(409)](e);this[t(379)].on(t(382),((e,i)=>{this[t(409)](i)})),this[t(379)].on(t(399),((e,i)=>{this[t(389)](i)}))}get[zu(420)](){const t=zu;return this[t(406)][t(408)]((e=>e[t(420)][t(408)]((t=>t))))[t(419)]()}[zu(388)](t){const e=zu;for(const i of this[e(420)])t&&t.id===i.id?i[e(373)]():i[e(405)]()}[zu(384)](t){const e=zu;for(const i of this[e(420)])t[e(395)]((({id:t})=>t===i.id))?i[e(375)]():i[e(392)]()}[zu(409)](t){const e=zu,i=Su(t[e(413)],this[e(385)][e(368)])[e(393)];let n=this[e(406)][e(390)](0);n&&n[e(393)][e(380)]()===i[e(380)]()||(n=new Eu(this[e(385)],i,this[e(396)],this[e(387)]),this[e(406)][e(382)](n)),n[e(372)](t)}[zu(389)](t){const e=zu,i=Su(t[e(413)],this[e(385)][e(368)])[e(393)];this[e(371)](i)[e(370)](t)}[zu(371)](t){const e=zu;return this[e(406)][e(378)]((i=>i[e(393)][e(380)]()===t[e(380)]()))}}const Zu=Hu;function Hu(t,e){const i=$u();return(Hu=function(t,e){return i[t-=299]})(t,e)}function $u(){const t=["RevisionsSidebar","revisionHistory.requireRevisionName","revisionSetName","_revisionsRepository","11901684deJxlc","11iRiSKz","_handleDiffChange","4446369BkVaUJ","getRevisionsInDiff","focus","repository","map","nameRevision","select","_handleEditorDataReady","744FsrkXy","fieldView","_createRevisionActions","revisionHistory","8CkJECp","availableRevisionActions","isSelected","locale","isEnabled","isVisible","selectRevision","4110efWBLu","diff","revisionHistory.viewerSidebarContainer","defaultRevisionActions","add","_sidebarView","setName","isReady","Compare against selected","requires","_handleRevisionSetName","destroy","element","listenTo","609jUDeUh","string","highlightRevisions","config","change:diff","appendChild","newRevisionId","200883SyPCZF","editor","revisionViews","565496XbOzxG","getEarlierVisibleRevision","plugins","_revisions","bind","getRevision","1852220ELMKsQ","pluginName","getIndex","length","1nhCofl","compareAgainstSelected","getLaterVisibleRevision","Restore this revision","remove","revisionSelected","isPremiumPlugin","init","restoreRevision","restoreRevisionCallback","assign","revisionHistory.revisionActions","timePeriodViews","25794iGmIEU","name","ready","_handleRevisionSelected","isOfficialPlugin","compare","action","render","data","_revisionViewer","get","Name this revision"];return($u=function(){return t})()}!function(t){const e=Hu,i=t();for(;;)try{if(258286===parseInt(e(302))/1*(parseInt(e(377))/2)+parseInt(e(374))/3+parseInt(e(342))/4*(-parseInt(e(353))/5)+parseInt(e(315))/6*(parseInt(e(367))/7)+-parseInt(e(346))/8*(-parseInt(e(334))/9)+parseInt(e(383))/10+parseInt(e(332))/11*(-parseInt(e(331))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Zu(299)](){return Zu(327)}static get[Zu(319)](){return!0}static get[Zu(308)](){return!0}static get[Zu(362)](){return[br]}constructor(t){const e=Zu;super(t),this[e(324)]=t[e(379)][e(325)](br),this[e(330)]=this[e(324)][e(337)],this[e(358)]=null}[Zu(309)](){const t=Zu,e=this[t(330)][t(380)],i=this[t(344)](),n=this[t(375)][t(370)][t(325)](t(355));this[t(358)]=new Wu(this[t(375)][t(349)],e,i,this[t(375)][t(370)][t(325)](t(328))),this[t(358)].on(t(307),this[t(318)][t(381)](this)),this[t(358)].on(t(329),this[t(363)][t(381)](this)),this[t(358)][t(381)](t(350)).to(this[t(324)]),this[t(358)][t(314)].on(t(357),((e,i)=>{const n=t;i[n(376)].on(n(357),((t,e)=>{const i=n;e[i(381)](i(350),i(360)).to(this[i(324)])}))})),this[t(358)][t(322)](),this[t(366)](this[t(375)][t(323)],t(317),this[t(341)][t(381)](this)),this[t(366)](this[t(324)],t(371),this[t(333)][t(381)](this)),n[t(372)](this[t(358)][t(365)])}[Zu(364)](){const t=Zu;this[t(358)][t(365)][t(306)](),this[t(358)][t(364)]()}[Zu(341)](){const t=Zu,e=this[t(330)][t(382)](0);if(e){const i=this[t(330)][t(378)](e.id);this[t(324)][t(320)](e,i)}}[Zu(318)](t,e){const i=Zu,n=this[i(330)][i(382)](e.id),r=this[i(330)][i(378)](n.id);this[i(324)][i(320)](n,r)}[Zu(363)](t,e){const i=Zu;this[i(330)][i(382)](e.id)[i(359)](e[i(316)])}[Zu(333)](t,e,i){const n=Zu,r=this[n(330)][n(335)](i);r[n(301)]>2?(this[n(358)][n(369)](r),this[n(358)][n(352)](null)):(this[n(358)][n(369)]([]),this[n(358)][n(352)](r[0]))}[Zu(344)](){const t=Zu,e=this[t(375)],i=qu[t(347)],n=e[t(370)][t(325)](t(313))||qu[t(356)];if(n[t(301)])return n[t(338)]((n=>{const r=t,s=r(368)==typeof n?Object[r(312)]({},i[n]):n;return s[r(321)]=s[r(321)][r(381)](this,e),s[r(351)]&&(s[r(351)]=s[r(351)][r(381)](this,e)),s}))}}qu[Zu(356)]=[Zu(303),Zu(310),Zu(339)],qu[Zu(347)]={compareAgainstSelected:{name:Zu(361),action:({plugins:t},e)=>{const i=Zu,n=t[i(325)](br),r=n[i(337)];let s=n[i(354)][i(373)],o=e.id;r[i(300)](s)>r[i(300)](o)&&([s,o]=[o,s]),n[i(320)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(325)](br);return!(n[i(337)][i(335)](n[i(354)])[i(301)]>2||e[i(348)])}},restoreRevision:{name:Zu(305),action:(t,{id:e})=>{const i=Zu;t[i(370)][i(325)](i(345))[i(311)](e)},isVisible:({plugins:t},e)=>!!t[Zu(325)](br)[Zu(337)][Zu(304)](e.id)},nameRevision:{name:Zu(326),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(325)](br),s=r[n(337)][n(378)](e);r[n(320)](e,s),i[n(336)](),i[n(343)][n(340)]()}}};const Bu=qu,Yu=Ju;function Ju(t,e){const i=Gu();return(Ju=function(t,e){return i[t-=169]})(t,e)}function Gu(){const t=["limiterElement","attachDomRoot","_initToolbar","200064BIpsiH","75TONrLJ","2964FlbQLx","editable","get","fillFromConfig","14nzSGgq","isFocused","817236oJyzhl","ready","name","60PbgiaN","_toolbarConfig","render","addToolbar","document","toolbar","rootName","replace","setEditableElement","destroy","componentFactory","view","stickyPanel","getRoot","restore","4440915XyYMQF","626376dfYGvr","460960Rvrzgk","config","897479QucPiT","viewportTopOffset","detachDomRoot","element","_view","viewportOffset","fire","bind","editing","focusTracker","editor","isActive","1504eheWPr","init","_elementReplacer"];return(Gu=function(){return t})()}!function(t){const e=Ju,i=t();for(;;)try{if(422749===parseInt(e(204))/1+parseInt(e(171))/2*(-parseInt(e(179))/3)+-parseInt(e(177))/4*(-parseInt(e(178))/5)+-parseInt(e(185))/6*(parseInt(e(183))/7)+parseInt(e(205))/8+parseInt(e(203))/9+parseInt(e(188))/10*(-parseInt(e(207))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends Vn.EditorUI{get[Yu(199)](){return this[Yu(211)]}constructor(e,i){const n=Yu;super(e),this[n(211)]=i,this[n(189)]=(0,Vn.normalizeToolbarConfig)(e[n(206)][n(181)](n(193))),this[n(173)]=new t.ElementReplacer}get[Yu(210)](){const t=Yu;return this[t(199)][t(210)]}[Yu(172)](t){const e=Yu,i=this[e(169)],n=this[e(199)],r=i[e(215)][e(199)],s=n[e(180)],o=r[e(192)][e(201)]();s[e(187)]=o[e(194)],n[e(190)]();const a=s[e(210)];this[e(196)](s[e(187)],a),n[e(180)][e(214)](e(184)).to(this[e(216)]),r[e(175)](a),this[e(173)][e(195)](t,this[e(210)]),this[e(176)](),this[e(213)](e(186))}[Yu(197)](){const t=Yu;super[t(197)]();const e=this[t(199)],i=this[t(169)][t(215)][t(199)];this[t(173)][t(202)](),i[t(209)](e[t(180)][t(187)]),e[t(197)]()}[Yu(176)](){const t=Yu,e=this[t(199)];e[t(200)][t(214)](t(170)).to(this[t(216)],t(184)),e[t(200)][t(174)]=e[t(210)],e[t(200)][t(214)](t(208)).to(this,t(212),(({top:t})=>t)),e[t(193)][t(182)](this[t(189)],this[t(198)]),this[t(191)](e[t(193)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Un(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=il;function el(){var t=["941824mRttYZ","main","2125152EeKwwD","1060RAHHwd","toolbar","render","5660LtTgAV","_editable","4580466ngOfqN","9165EbkwyI","top","content","6350EpUmax","5914635hsBRts","add","670rIJYaK","shouldToolbarGroupWhenFull","67463qROTfy","editable","14JMEwwf","stickyPanel"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=253]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(963285===parseInt(e(253))/1*(-parseInt(e(262))/2)+-parseInt(e(256))/3*(parseInt(e(271))/4)+parseInt(e(260))/5+-parseInt(e(255))/6*(parseInt(e(266))/7)+-parseInt(e(268))/8+parseInt(e(270))/9+-parseInt(e(259))/10*(-parseInt(e(264))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Vn.BoxedEditorUIView{get[tl(265)](){return this[tl(254)]}constructor(t,e,i={}){var n=tl;super(t),this[n(267)]=new Vn.StickyPanelView(t),this[n(272)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(263)]}),this[n(254)]=new Vn.InlineEditableUIView(t,e)}[tl(273)](){var t=tl;super[t(273)](),this[t(267)][t(258)][t(261)](this[t(272)]),this[t(257)][t(261)](this[t(267)]),this[t(269)][t(261)](this[t(265)])}}const rl=sl;function sl(t,e){const i=ol();return(sl=function(t,e){return i[t-=322]})(t,e)}function ol(){const t=["view","initialData","568070doTElh","createRoot","editing","9347FLhkmP","get","destroy","_ui","2457RazCqF","18hbTYKj","1447700oDFljI","10602jKSmJS","updateSourceElement","77hkPVuP","model","config","document","904104HVrXXU","456SHZqHp","locale","create","init","sourceElement","ready","initPlugins","fire","data","3856010buWRKM"];return(ol=function(){return t})()}!function(t){const e=sl,i=t();for(;;)try{if(149196===-parseInt(e(332))/1+-parseInt(e(329))/2+parseInt(e(336))/3*(parseInt(e(346))/4)+-parseInt(e(338))/5+-parseInt(e(339))/6*(parseInt(e(341))/7)+-parseInt(e(345))/8+-parseInt(e(337))/9*(-parseInt(e(326))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(335)]}constructor(t,e){const i=sl;super(e),this[i(350)]=t,this[i(342)][i(344)][i(330)]();const n=new nl(this[i(347)],this[i(331)][i(327)],{shouldToolbarGroupWhenFull:!0});this[i(335)]=new Ku(this,n)}[rl(334)](){const t=rl;return this[t(340)](),this.ui[t(334)](),super[t(334)]()}static async[rl(348)](t,e){const i=rl,n=new this(t,e);return await n[i(323)](),await n.ui[i(349)](t),await n[i(325)][i(349)](n[i(343)][i(333)](i(328))||""),n[i(324)](i(322)),n}}const cl=ll;function ul(){const t=["6419400tVblUn","selection","17423253RFzqVe","get","creator","has","users","catch","error","exitToEditing","revisionHistory.closeRevisionViewerCallback","translations","markers","revisionHistory.viewerContainer","Autosave","createRangeIn","join","restoreRevision","pluginName","plugins","update","none","toLocaleTimeString","numeric","end","Dialog","getRoot","2031328YBINXL","locale","Annotations","getRevisions","roots","revisionHistory.showRevisionViewerCallback","bind","revisionHistory.requireRevisionName","_recalculatePageBreaks","RevisionViewerIntegration","document","_update","commands","enableReadOnlyMode","display","toVersion","isAnonymous","refreshPositioning","removeMarker","toJSON","_closeRevisionViewer","showRevisionViewerCallback","isPremiumPlugin","change","name","map","restrictedEditingException","save","getRevision","_viewerEditor","RevisionViewer","indexOf","574196UzRgiV","isOfficialPlugin","Restored","insert","toolbar","addRoot","create","getRevisionData","keys","1002712bxOWht","120wEYJyX","enqueueChange","addUser","data","isAttached","removeSelectionAttribute","adapter","long","removeAttribute","editor","_showRevisionViewer","requires","block","isOpen","remove","revision-history-missing-configuration","hide","config","uiLanguage","detachRoot","8gyAtPB","init","$graveyard","result","repository","_enhanceShowRevisionViewerCallback","then","RevisionHistory","getAttributeKeys","disableReadOnlyMode","revisionHistory","1779345ihUIGe","_cleanUp","from","revisionHistory.viewerEditorElement","createdAt","includes","RevisionsRepository","style","PaginationLookup","model","RevisionTracker","setSelection","Users","isReadOnly","changesNavigation","fromCharCode","parse","destroy","revisionHistory.restoreRevisionCallback","RevisionHistoryUI","RestrictedEditingMode","closeRevisionViewerCallback","toLocaleDateString","isReady","getMarkersGroup","push","setAttribute","getUser","revisionHistory.editorContainer","set","getRevisionRootsAttributes","define","_enhanceCloseRevisionViewerCallback","lazyRoots","saveRevision","fromVersion","_getRevisionViewerEditorConfig","59736YpZCAp","isEnabled","rootName","refreshVisibility","_restoreRevision","addRevisionData","revision-history-viewer-opened"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=266]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(726298===-parseInt(e(390))/1+parseInt(e(349))/2+-parseInt(e(278))/3+parseInt(e(315))/4*(parseInt(e(391))/5)+-parseInt(e(322))/6+parseInt(e(381))/7+parseInt(e(267))/8*(parseInt(e(324))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(297),cl(298)];class dl extends qi.Plugin{static get[cl(340)](){return cl(358)}static get[cl(382)](){return!0}static get[cl(371)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(374)]((t=>String[e(293)](t)))[e(338)]("")}super(t),this[e(270)]=e(346),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(340)](){return cl(274)}static get[cl(382)](){return!0}static get[cl(371)](){return!0}static get[cl(402)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(400)][i(408)][i(325)](i(277)))throw new t.CKEditorError(i(406),this);this[i(378)]=null,this[i(400)][i(408)][i(309)](i(354),(t=>this[i(401)]({...t,translations:this[i(400)][i(350)][i(333)]}))),this[i(400)][i(408)][i(309)](i(332),(t=>this[i(369)](t))),this[i(400)][i(408)][i(309)](i(296),(t=>this[i(319)](t))),this[i(400)][i(408)][i(309)](i(356),!1),this[i(272)](),this[i(310)]()}set[cl(397)](t){const e=cl;this[e(400)][e(341)][e(325)](e(288))[e(397)]=t}get[cl(397)](){const t=cl;return this[t(400)][t(341)][t(325)](t(288))[t(397)]}[cl(320)](t){const e=cl;return this[e(400)][e(341)][e(325)](e(288))[e(320)](t)}[cl(377)](t){const e=cl;return this[e(400)][e(341)][e(325)](e(284))[e(377)](t)}[cl(352)](t){const e=cl;return this[e(400)][e(341)][e(325)](e(284))[e(352)](t||{toJSON:!1})}[cl(314)](){const e=cl,i=this[e(400)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(341)][e(325)](e(288)),s=i[e(341)][e(325)](e(290))[e(328)];return n[e(385)]=[e(331),e(339),e(292)],delete n[e(311)],n[e(341)][e(303)](dl,br,Pr,class extends qi.Plugin{static get[e(402)](){return[br,e(290)]}[e(268)](){const n=e,o=this[n(400)][n(341)][n(325)](n(290));for(const t of s)t[n(365)]||o[n(305)](t.id)||o[n(393)](t);const a=r[n(271)][n(352)]();let c=null;const u=this[n(400)][n(341)][n(325)](n(379));u[n(397)]=r[n(397)],u[n(355)](n(316)).to(r),this[n(400)][n(361)][n(325)](n(339))[n(355)](n(316)).to(i,n(291),(t=>!t));for(const e of a){const i=null===e[n(326)];if(i&&e[n(364)]===e[n(313)])continue;const s=e[n(368)]();u[n(320)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(360)](s,o);else if(!o){const e=a[u(368)]();e.id=(0,t.uid)(),r[u(312)](e,a[u(364)])[u(273)]((t=>{c=t}))}}else e[u(360)](s,o)}))}}},Bu),n}[cl(272)](){const t=cl,e=this[t(400)][t(408)][t(325)](t(277))[t(370)];this[t(400)][t(408)][t(307)](t(354),(async()=>{const i=t;this[i(400)][i(362)](i(321));const n=this[i(400)][i(341)][i(325)](i(288));if(this[i(400)][i(341)][i(327)](i(336))){const t=this[i(400)][i(341)][i(325)](i(336));await t[i(376)]()}else await n[i(342)]();if(this[i(400)][i(341)][i(327)](i(286))&&this[i(400)][i(341)][i(325)](i(286))[i(357)](),this[i(400)][i(341)][i(327)](i(347))){const t=this[i(400)][i(341)][i(325)](i(347));t[i(404)]&&t[i(407)]()}const r=this[i(314)]();return e(r)[i(273)]((t=>{const e=i;return this[e(378)]=t,this[e(400)][e(341)][e(327)](e(351))&&this[e(400)][e(341)][e(325)](e(351))[e(318)](),t}))[i(329)]((t=>(console[i(330)](t),this[i(400)][i(276)](i(321)),null)))}))}[cl(310)](){const t=cl,e=this[t(400)][t(408)][t(325)](t(277))[t(299)];this[t(400)][t(408)][t(307)](t(332),(()=>(this[t(400)][t(341)][t(327)](t(286))&&this[t(400)][t(341)][t(325)](t(286))[t(357)](),this[t(378)][t(341)][t(325)](t(379))[t(279)](),e(this[t(378)])[t(273)]((()=>{const e=t;if(this[e(400)][e(276)](e(321)),this[e(378)]=null,this[e(400)][e(341)][e(327)](e(351))){const t=this[e(400)][e(341)][e(325)](e(351));t[e(318)](),t[e(366)]()}})))))}[cl(401)](t){const e=cl,i=this[e(400)][e(408)][e(325)](e(306)),n=this[e(400)][e(408)][e(325)](e(335)),r=this[e(400)][e(408)][e(325)](e(281));return al[e(387)](r,t)[e(273)]((t=>(n[e(285)][e(363)]=e(403),i[e(285)][e(363)]=e(343),t)))}[cl(369)](t){const e=cl,i=this[e(400)][e(408)][e(325)](e(306));return this[e(400)][e(408)][e(325)](e(335))[e(285)][e(363)]=e(343),i[e(285)][e(363)]="",t[e(295)]()}async[cl(319)](t){const e=cl,i=this[e(400)],n=this[e(378)][e(341)][e(325)](e(379)),r=i[e(341)][e(325)](e(288)),s=n[e(271)][e(377)](t);let o,a,c;try{o=await n[e(388)](s),a=await n[e(308)](s)}catch(t){return void console[e(330)](t)}i[e(287)][e(372)]((t=>{const n=e;for(const e of Array[n(280)](i[n(287)][n(334)][n(302)](n(375))))t[n(367)](e)})),n[e(301)]=!1,i[e(287)][e(392)]((t=>{const n=e;t[n(289)](null),t[n(396)](i[n(287)][n(359)][n(323)][n(275)]());const r=Object[n(389)](o);for(const e of i[n(287)][n(359)][n(353)])n(269)!=e[n(317)]&&e[n(395)]()&&!r[n(283)](e[n(317)])&&t[n(266)](e);for(const e of r){let r=i[n(287)][n(359)][n(348)](e);r&&r[n(395)]()||(r=t[n(386)](e));const s=a[e],c=Object[n(389)](s),u=o[e];for(const e of r[n(275)]())c[n(283)](e)||t[n(399)](e,r);for(const i of c)t[n(304)](i,a[e][i],r);t[n(405)](t[n(337)](r)),t[n(384)](i[n(394)][n(294)](u,r),r,0)}}));const u=Qi(i[e(350)],e(383));return c=s[e(373)]?-1==s[e(373)][e(380)](u)?u+": "+s[e(373)]:s[e(373)]:u+": "+s[e(282)][e(300)](i[e(350)][e(409)],{month:e(398),day:e(345)})+", "+s[e(282)][e(344)](i[e(350)][e(409)],{hour:e(345),minute:e(345)}),await r[e(312)]({name:c}),n[e(301)]=!0,i[e(408)][e(325)](e(277))[e(299)]()}}function ml(){var t=["275620ZwTlDM","137342yMdQql","67746amQQHZ","297asqSrO","488742jGrjbX","4YGndwk","9704112MbBLqu","48HthGPE","36lNhYrR","6897845cpJZNU","29098157BEqraJ"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=195]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(788178===-parseInt(e(197))/1*(-parseInt(e(204))/2)+parseInt(e(196))/3*(-parseInt(e(200))/4)+parseInt(e(201))/5+parseInt(e(199))/6*(parseInt(e(205))/7)+-parseInt(e(198))/8+-parseInt(e(195))/9*(parseInt(e(203))/10)+parseInt(e(202))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>Hi,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>br,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N 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=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const E=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,U=z.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const $=function(t){return!(!R(t)||C(t))&&(M(t)?Z:L).test(F(t))};const H=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=H(t,e);return $(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 X=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 Q=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?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]=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=X,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Mt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Et=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Et&&Et.exports===Mt?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(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 $t=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var Ht=$t&&$t.isTypedArray;const qt=Ht?zt(Ht):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(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 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)?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 At(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 Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ee="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),Pe=F(Ae),ze=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ee||Ae&&Ue(Ae.resolve())!=Ve||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=Ce)&&(Ue=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Ee;case Pe:return Ve;case ze:return De;case We:return Ce}return e});const Ze=Ue;var $e=Object.prototype.hasOwnProperty;const He=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&$e.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,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 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 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=$t&&$t.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=$t&&$t.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=At(e);if(h){if(a=He(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]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(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 Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Ei(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Ei(e,t),null==(t=Pi(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Ui=$i;function Zi(){const t=["576aYqVVy","13916MzDVht","fire","7028021Kybqwa","6604480WYVzNA","setAttribute","fromVersion","48582lckpZi","diffData","_update","5361872OKxvlk","4544829BChUMf","name","7ptcbkb","toJSON","474802wGRuHs","creator","removeAttribute","authorsIds","attributes","createdAt","setName","creatorId","2FaHIdi","290pVeNxe","map","toVersion","authors","set"];return(Zi=function(){return t})()}function $i(t,e){const i=Zi();return($i=function(t,e){return i[t-=465]})(t,e)}!function(t){const e=$i,i=t();for(;;)try{if(458718===parseInt(e(493))/1*(parseInt(e(485))/2)+parseInt(e(470))/3*(parseInt(e(471))/4)+parseInt(e(465))/5*(parseInt(e(477))/6)+parseInt(e(483))/7*(-parseInt(e(480))/8)+-parseInt(e(481))/9+parseInt(e(474))/10+-parseInt(e(473))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zi);class Hi extends((0,t.ObservableMixin)()){constructor(e){const i=$i;super(),this.id=e.id||(0,t.uid)(),this[i(486)]=e[i(486)]||null,this[i(468)]=e[i(468)]||[],this[i(478)]=e[i(478)]||null,this[i(467)]=e[i(467)]||0,this[i(476)]=e[i(476)]||0,this[i(469)](i(482),e[i(482)]||""),this[i(469)](i(490),e[i(490)]||new Date),this[i(469)](i(489),e[i(489)]||{})}[Ui(491)](t){this[Ui(479)]({name:t})}[Ui(475)](t,e){const i=Ui,n=vi(this[i(489)]);Ci(n,t,e),this[i(479)]({attributes:n})}[Ui(487)](t){const e=Ui,i=vi(this[e(489)]);Wi(i,t),this[e(479)]({attributes:i})}[Ui(479)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(482),i(490),i(478),i(468),i(489),i(467),i(476),i(492)];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(468)]&&(r[i(488)]=r[i(468)][i(466)]((t=>t.id)),delete r[i(468)]),this[i(472)](i(479),r,e))}[Ui(484)](){const t=Ui;return{id:this.id,name:this[t(482)],creatorId:this[t(486)]?this[t(486)].id:null,authorsIds:this[t(468)][t(466)]((t=>t.id)),diffData:this[t(478)],createdAt:this[t(490)],attributes:this[t(489)],fromVersion:this[t(476)],toVersion:this[t(467)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Gi;function Gi(t,e){const i=Ki();return(Gi=function(t,e){return i[t-=318]})(t,e)}function Ki(){const t=["later","193089nCEXWN","map","attributes","reverse","newRevisionId","590LwSbyy","href","getRevisionsInDiff","getRevisionsIterator","toJSON","data","toVersion","Users","afterInit","getLaterVisibleRevision","authorsIds","RevisionsRepository","getRevisions","3891YwYuRd","getEarlierVisibleRevision","27065rDcrRB","244752VVcJod","isPremiumPlugin","getRevision","push","get","oldRevisionId","creatorId","pluginName","getUser","plugins","join","fromCharCode","earlier","getIndex","_revisions","4276338stLeWX","name","29529hNzYDm","diffData","fromVersion","24fPknuw","isOfficialPlugin","504kbebDv","createRevision","requires","editor","30OZXzSF","48lnixNW","add","addRevision","3602984tGFaDO","createdAt","from","isNaN","length","8ezBvOb"];return(Ki=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(301770===-parseInt(e(319))/1*(parseInt(e(348))/2)+-parseInt(e(342))/3*(-parseInt(e(322))/4)+-parseInt(e(321))/5*(parseInt(e(349))/6)+-parseInt(e(352))/7*(parseInt(e(357))/8)+parseInt(e(339))/9*(parseInt(e(364))/10)+-parseInt(e(337))/11+parseInt(e(344))/12*(parseInt(e(359))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Xi extends qi.Plugin{static get[Ji(346)](){return[Bi.Users]}static get[Ji(329)](){return Ji(375)}static get[Ji(343)](){return!0}static get[Ji(323)](){return!0}get[Ji(356)](){const t=Ji;return this[t(336)][t(356)]}constructor(e){const i=Ji;super(e),this[i(336)]=new t.Collection}[Ji(372)](){!async function(e){const i=k([55,87,120,88,56,112,71,51,100,104,81,77,57,108,103,113,79,111,119,89,75,54,50,106,53,65,76,121,122,72,69,85,110,109,115,80,84,116,82,117,105,86,101,118,52,102,78,74,70,48,83,107,114,49,68,66,98,99,73,97,90,67]),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(355)](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([87]);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(360)]((t=>String[e(333)](t)))[e(332)]("")}!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:1739232e3;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(365)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(345)](t){const e=Ji,i=this[e(347)][e(331)][e(326)](e(371));return new Hi({id:t.id,name:t[e(338)],creator:t[e(328)]?i[e(330)](t[e(328)]):null,diffData:t[e(340)]||t[e(369)],authors:t[e(374)][e(360)]((t=>i[e(330)](t))),createdAt:new Date(t[e(353)]),attributes:t[e(361)],fromVersion:t[e(341)],toVersion:t[e(370)]})}[Ji(351)](t,e=0){const i=Ji;this[i(336)][i(350)](t,e)}[Ji(324)](t){const e=Ji;return this[e(336)][e(326)](t)}[Ji(318)](t={toJSON:!1}){const e=Ji,i=Array[e(354)](this[e(336)]);return i[e(362)](),t[e(368)]?i[e(360)]((t=>t[e(368)]())):i}[Ji(335)](t){const e=Ji;return this[e(336)][e(335)](t)}[Ji(320)](t){const e=Ji,[,i]=this[e(367)](t,{direction:e(334)});return i}[Ji(373)](t){const e=Ji,[,i]=this[e(367)](t,{direction:e(358)});return i}[Ji(366)](t){const e=Ji,i=[];for(const n of this[e(367)](t[e(363)]))if(i[e(325)](n),n.id===t[e(327)])break;return i}*[Ji(367)](t,{direction:e=Ji(334),filter:i=()=>!0}={}){const n=Ji,r=n(334)===e?1:-1;let s=this[n(336)][n(326)](t),o=this[n(335)](s);for(yield s;s;){if(o+=r,s=this[n(324)](o),!s)return;i(s)&&(yield s)}}}function Qi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(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)},_n=An;function In(){const t=["position","getRange","evaluationLimit","_diffRoots","add","element","length","insert","getNodeByPath","text","name","_isInit","children","some","_replaceEditorDataWithRevisionData","init","updateRevisions","howMany","_applyOperations","toData","markerToData","size","marked","_setConversion","_isPendingUpdate","Initial revision","490QINoCD","clone","map","createRange","removeRootAttribute","authors","25124UttTeQ","domainLimit","_getFromVersion","keepParagraph","config","vid","view","split","forEach","24klysXW","revisionHistoryLicenseKeyValid","root","_lastTo","_makeModelFromViewString","_createInitialRevision","RevisionsRepository","10542xxbciy","6NVeCWR","_createFromRanges","remove","_insertChild","hasContent","baseVersion","setRevisionData","deletions","_baseRootsAttributes","push","define","trialLimit","_touchedMarkers","getData","_transformMarkers","getUser","RevisionTracker","_copyMarkers","set","$text","_handleOperation","getChildren","conversion","_cloneOperation","document","clear","_handleMoveOperation","childCount","licenseKey","_addPendingAction","_processRootBeforeSave","insertion","_bufferedUpdates","_licenseKeyCheckInterval","isReady","toVersion","_handleRootOperation","nodes","_revisionId","upcast","move","_handleRootAttributeOperation","resolve","_baseRoots","isAttached","_showLicenseError","revisionHistoryLicenseKeyUsageLimit","161688KLjYcW","initialData","vid_end","revision-end","plugins","_findInsertionIndex","_fixRange","finally","_getPreviousFrom","reinsert","_savedMetaData","update","revisionHistory.resumeUnsavedRevision","_reset","_clone","startsWith","editor-initial-data-replaced-with-revision-data","data-revision-","Users","createPositionAfter","getMovedRangeStart","vid_start","getRoot","diffData","targetPosition","getRevision","values","currentRevision","max","isAdd","getRootNames","getRevisions","nodeAfter","NEGATIVE_INFINITY","dataToMarker","attributesBefore","splitPosition","stringify","paragraph","_revisionDataBuilder","newRange","markers","_generateTape","_removePendingAction","_baseIdsRoots","_calculateMetaData","isOfficialPlugin","_lastFrom","getWalker","offset","revisionHistoryLicenseKeyExpired","bind","userId","_setAttribute","reInit","createRevision","oldRange","$graveyard","56150JlpKqv","_operations","getCurrentRevisionId","_saveMetaData","has","path","getOperation","getAttribute","revisionHistoryLicenseKeyTrialLimit","model","PENDING_ACTION_REVISION_HISTORY","authorsIds","setSource","end","rootName","saveRevision","createdAt","loadState","tableCell","dataDowncast","attachChange","_appendChild","data","shift","range","initial","_isAttached","editing","detachRoot","_getViewJson","_authorId","start","_startingRevisionId","expired","createPositionFromPath","_getVidAttributeName","_touchedRoots","_loadRevisionData","adapter","parse","getAttributes","previousPosition","RealTimeCollaborationClient","56133cPzXNN","_touched","history","get","trim","PendingActions","revision:","affectsData","version","5OKlunj","_handleSplitOperation","keys","addRevisionData","then","getIndex","getTime","find","editor","slice","418524JLuJRh","getRevisionDocumentData","item","sourcePosition","_makeRevision","_initialRevisionId","_prepareViewToSave","graveyardPosition","repository","_getState","_diffRootsAttributes","createPositionBefore","collaboration.channelId","_handleMarkerOperation","_handleInsertOperation","revision","newValue","_continueCurrentRevision","_execute","isEnabled","revision-start","_makeIdsRoot","_getBaseVids","creatorId","merge","type","_startingVersion","_removeMetaData","_handleMergeOperation","insertions","_pendingAction","attributes","getAncestors","offsetSize","from","RevisionHistory","revisionHistoryLicenseKeyNotAllowed","_fixPosition","buildRevisionData","reverse","sort","source","default","getOperations","deletion","processor","getRevisionRootsAttributes","changeRootAttribute","revisionHistoryLicenseKeyInvalid","elementEnd","getTransformedByOperation","addRoot","key","isPremiumPlugin","string","fromVersion","_removeRevisionMarkers","stickiness","_bufferUpdate","Empty document","marker","_markChanges","_source","useFillerType","requires","locale","delete","_loadState","pluginName","_fixOperation","createRangeIn","_markers","insertionPosition","getChild","revisionHistoryLicenseKeyEvaluationLimit","afterInit","_idsRoots","invalid","isEqual","usageLimit","filter","sendBufferedUpdates","_loadedStateData","toModel","fromEntries","525954GIfGeq","documentFragment","addRevision","createPositionAt","parent","attributesAfter","rootsAttributes","includes","featureNotAllowed","ready","_createCurrentRevision","roots","toView","_update","revisionHistoryLicenseKeyDomainLimit","elementStart","for","creator","destroy","getLatestVersion","addRootAttribute"];return(In=function(){return t})()}!function(t){const e=An,i=t();for(;;)try{if(106155===parseInt(e(389))/1+parseInt(e(653))/2*(parseInt(e(606))/3)+parseInt(e(451))/4*(-parseInt(e(441))/5)+parseInt(e(536))/6+-parseInt(e(605))/7+parseInt(e(598))/8*(parseInt(e(432))/9)+parseInt(e(583))/10*(-parseInt(e(589))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(In);const Sn={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class On extends qi.Plugin{static get[_n(519)](){return _n(622)}static get[_n(377)](){return!0}static get[_n(504)](){return!0}static get[_n(515)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(427)]=null,this[i(680)]=null,this[i(370)]=new Tn(this[i(449)]),this[i(456)]=this[i(449)][i(593)][i(435)](i(463))||i(414),this[i(638)]=new Map,this[i(533)]=null;const n=(0,t.uid)();this[i(513)]={history:this[i(449)][i(398)][i(630)][i(434)],getLatestVersion:()=>Promise[i(648)](this[i(449)][i(398)][i(630)][i(440)]),getCurrentRevisionId:()=>n},this[i(624)](i(640),!1),this[i(624)](i(470),!0),this[i(624)](i(581),!1),this[i(449)][i(593)][i(616)](i(665),!0),this[i(449)][i(628)][i(552)](i(645))[i(365)]({view:i(466)})}[_n(572)](){const t=_n;this[t(459)]=this[t(449)][t(657)][t(435)](t(604)),this[t(580)](),this[t(449)][t(411)].on(t(545),(()=>{const e=t,i=this[e(459)][e(678)](0),n=i&&null===i[e(553)]?i:null;if(this[e(468)]=!!n&&this[e(449)][e(593)][e(435)](e(665)),this[e(449)][e(657)][e(393)](e(431))){const t=this[e(513)][e(391)](),r=this[e(459)][e(678)](t);if(r)this[e(477)]=r[e(506)],this[e(468)]=!1;else{const t=this[e(513)][e(434)][e(390)][e(448)]((t=>!t[e(568)])),r=t?t[e(611)]:this[e(513)][e(434)][e(440)];i?(i[e(641)]<r&&i[e(549)]({toVersion:r}),this[e(468)]?(this[e(513)][e(391)]=()=>n.id,this[e(477)]=n[e(506)]):(this[e(477)]=i[e(641)],this[e(468)]=!1)):(this[e(477)]=r,this[e(468)]=!1)}}else n&&(this[e(449)][e(398)][e(630)][e(434)][e(440)]=Math[e(681)](n[e(641)],this[e(449)][e(398)][e(630)][e(434)][e(440)]),n[e(506)]===n[e(641)]?(0!==n[e(506)]&&(this[e(513)][e(391)]=()=>n.id),this[e(468)]=!1):this[e(468)]&&(this[e(513)][e(391)]=()=>n.id,this[e(477)]=n[e(506)])),this[e(468)]||(this[e(477)]=this[e(449)][e(398)][e(630)][e(440)]);this[e(370)][e(572)](this[e(513)][e(434)]),this[e(603)](this[e(477)]),this[e(546)](this[e(477)]),this[e(427)]&&this[e(532)]()})),this[t(382)](t(640)).to(this,t(581),(t=>!t)),this[t(634)]=this[t(449)][t(593)][t(435)](t(634));const e=this[t(449)];this[t(639)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(599)==s||i(499)==s||i(381)==s||i(550)==s||i(487)==s||i(525)==s||i(397)==s||i(652)==s){delete e[r],n=s,clearInterval(this[i(639)]),this[i(639)]=void 0;break}}i(499)==n&&e[i(651)](i(528)),i(381)==n&&e[i(651)](i(422)),i(550)==n&&e[i(651)](i(590)),i(487)==n&&e[i(651)](i(544),i(486)),i(525)==n&&e[i(651)](i(559)),i(397)==n&&e[i(651)](i(617)),i(652)==n&&e[i(651)](i(530))}),1e3)}async[_n(526)](){const t=_n;if(this[t(459)][t(563)]>0){const e=this[t(459)][t(678)](0),i=await this[t(452)](e),n=await this[t(497)](e);this[t(571)](i,n)}}[_n(554)](){const t=_n;super[t(554)](),this[t(639)]&&clearInterval(this[t(639)])}[_n(401)](t){this[_n(513)]=t}async[_n(664)](){const t=_n,e=await this[t(513)][t(555)]();if(e>this[t(680)][t(641)]){await this[t(518)]();const i=this[t(489)]({revision:this[t(680)],to:e});i[t(588)]=i[t(400)][t(585)]((e=>this[t(449)][t(657)][t(435)](t(671))[t(621)](e))),this[t(680)][t(549)](i)}}async[_n(518)](){const t=_n;this[t(468)]&&!this[t(533)]&&(await this[t(426)](this[t(680)]),this[t(370)][t(406)](this[t(680)]),this[t(533)]={fromVersion:this[t(680)][t(506)],authors:this[t(680)][t(588)][t(450)]()})}async[_n(404)](e={},i=null){const n=_n,r=[];await this[n(518)](),this[n(468)]=!1,i>this[n(680)][n(641)]&&(i=null),null===i&&(i=await this[n(513)][n(555)]());const s=this[n(591)](i),o=this[n(489)]({from:s,to:i});if(this[n(680)][n(641)]<i){const t=this[n(489)]({revision:this[n(680)],from:i,to:i});t[n(588)]=[],t[n(400)]=[],t.id=this[n(680)].id,this[n(680)][n(549)](t,!0),delete t[n(588)],r[n(615)](t)}e[n(474)]=this[n(449)][n(657)][n(435)](n(671)).me.id,e[n(567)]=e[n(567)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(444)](e);r[n(615)](e);const c=this[n(459)][n(446)](a);if(0!==c){const t=this[n(459)][n(678)](c-1);if(t[n(506)]!==i){const s=this[n(370)][n(619)](i,t[n(641)]),o={id:t.id,diffData:s[n(676)],authorsIds:s[n(400)],authors:s[n(400)][n(585)]((t=>this[n(449)][n(657)][n(435)](n(671))[n(621)](t))),fromVersion:i};t===this[n(680)]&&(o[n(405)]=new Date(e[n(405)][n(447)]()+10)),t[n(549)](o,!0),delete o[n(588)],r[n(615)](o)}}if(this[n(427)]){for(const t of r)this[n(509)](t.id,t,!0);this[n(532)]()}return a}[_n(444)](t){const e=_n,i=this[e(459)][e(386)](t);return this[e(427)]&&i.on(e(549),((t,i,n)=>{const r=e;n||(this[r(509)](i.id,i,!0),this[r(532)]())})),this[e(459)][e(538)](i,this[e(658)](i)),i}async[_n(452)](t){const e=_n;await this[e(426)](t);const i={};for(const n in t[e(676)]){if(t[e(676)][n][e(409)]&&!t[e(676)][n][e(409)][e(650)])continue;const r=this[e(507)](JSON[e(428)](t[e(676)][n][e(480)])),s=this[e(449)][e(416)][e(595)][e(630)],o=new Yi.ViewDocumentFragment(s,r[e(585)]((t=>xn(t,this[e(449)]))));this[e(449)][e(411)][e(496)][e(514)](e(579)),i[n]=this[e(449)][e(411)][e(496)][e(576)](o),this[e(449)][e(411)][e(496)][e(514)](e(493))}return i}async[_n(497)](t){const e=_n;await this[e(426)](t);const i={};for(const n in t[e(676)])t[e(676)][n][e(409)]&&!t[e(676)][n][e(409)][e(650)]||(i[n]=t[e(676)][n][e(541)]||{});return i}[_n(532)](){const t=_n;if(0===this[t(638)][t(578)])return;if(this[t(581)])return;let e=Array[t(485)](this[t(638)][t(679)]());this[t(638)][t(631)]();for(let i=0;i<e[t(563)];i++){const n=e[i];let r=!1;for(const e of Object[t(443)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(531)]((t=>null!==t)),!e[t(563)])return;for(let i=0;i<e[t(563)];i++){const n=e[i];void 0!==n[t(506)]&&void 0===n[t(641)]&&(n[t(641)]=this[t(459)][t(678)](n.id)[t(641)]),void 0!==n[t(641)]&&void 0===n[t(506)]&&(n[t(506)]=this[t(459)][t(678)](n.id)[t(506)])}const i=this[t(449)][t(593)][t(435)](t(463));this[t(581)]=!0,this[t(635)](),this[t(427)][t(573)](e,i)[t(660)]((()=>{this[t(581)]=!1}))[t(445)]((e=>{const i=t;if(e)for(const t of e)this[i(612)]({id:t.id,createdAt:t[i(405)]});this[i(374)](),this[i(532)]()}))}[_n(571)](e,i){const n=_n;let r=this[n(449)][n(593)][n(435)](n(654)),s=this[n(449)][n(593)][n(435)](n(542));if(void 0===r){r={};for(const t of this[n(449)][n(398)][n(630)][n(361)]())r[t]=""}if(n(505)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(449)][n(398)][n(630)][n(361)]())s[t]={}}let o=!1;const a=Object[n(443)](r),c=Object[n(443)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(436)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(443)](s[t])[n(563)]>0){o=!0;break}}o||(o=c[n(570)]((t=>!this[n(449)][n(398)][n(630)][n(675)](t)))),o&&(0,t.logWarning)(n(669),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(449)][n(593)][n(624)](n(654),e),this[n(449)][n(593)][n(624)](n(542),i)}[_n(635)](){const t=_n;if(!this[t(481)]){const e=this[t(449)][t(657)][t(435)](t(437));this[t(481)]=e[t(561)](Qi(this[t(449)][t(516)],t(399)))}}[_n(374)](){const t=_n;this[t(481)]&&(this[t(449)][t(657)][t(435)](t(437))[t(608)](this[t(481)]),this[t(481)]=null)}[_n(658)](t){const e=_n,i=this[e(459)][e(362)]();i[e(490)]();let n=0;for(;n<i[e(563)];){const r=i[n];if(r===this[e(680)]){n++;continue}if(r.id===this[e(456)])break;const s=t[e(641)]-r[e(641)]||t[e(506)]-r[e(506)];if(s>0)break;if(s<0)n++;else{if(!t[e(553)]&&r[e(553)])break;if(r[e(553)]||!t[e(553)]){if(t[e(405)]>r[e(405)])break;n++}else n++}}return n}[_n(612)](t){const e=_n,i=this[e(459)][e(678)](t.id);if(t[e(405)]&&(t[e(405)]=new Date(t[e(405)])),t[e(400)]){const i=this[e(449)][e(657)][e(435)](e(671));t[e(588)]=t[e(400)][e(585)]((t=>i[e(621)](t)))}i[e(549)](t,!0)}[_n(489)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(506)],i=null!==i?i:t[n(641)];const r=this[n(370)][n(619)](e,i),s={diffData:r[n(676)],authorsIds:r[n(400)],fromVersion:e,toVersion:i};if(!t||i!==t[n(641)]){const t=i-1,e=this[n(513)][n(434)][n(395)](t);s[n(405)]=e&&e[n(405)]||new Date}if(this[n(533)]&&e===this[n(533)][n(506)])for(const t of this[n(533)][n(588)])s[n(400)][n(543)](t.id)||s[n(400)][n(615)](t.id);return s}[_n(426)](t){const e=_n;if(!t||t[e(676)])return Promise[e(648)]();{const i=this[e(449)][e(593)][e(435)](e(463));return this[e(427)][e(678)]({channelId:i,revisionId:t.id})[e(445)]((i=>{const n=e;t[n(676)]=i[n(676)]}))}}[_n(509)](t,e,i){const n=_n;if(this[n(638)][n(393)](t)){const r=this[n(638)][n(435)](t);e=i?{...r,...e}:{...e,...r}}this[n(638)][n(624)](t,e)}[_n(591)](t){const e=_n,i=this[e(459)][e(362)]();i[e(490)](),i[e(412)]();const n=i[e(448)]((i=>i[e(641)]<=t))[e(641)];return n<this[e(477)]?this[e(477)]:n}[_n(603)](t){const e=_n,i=this[e(459)][e(678)](this[e(459)][e(563)]-1);if(i)this[e(456)]=i.id;else{const i=!this[e(449)][e(398)][e(630)][e(547)][e(448)]((t=>this[e(449)][e(398)][e(610)](t))),n=this[e(449)][e(657)][e(435)](e(671)).me.id,r=Qi(this[e(449)][e(516)],e(i?510:582));this[e(455)]({from:t,to:t,id:this[e(456)],name:r,creatorId:n})}}[_n(546)](t){const e=_n,i=this[e(513)][e(391)]();this[e(680)]=this[e(459)][e(678)](i),this[e(680)]||(this[e(680)]=this[e(455)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(455)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(489)]({from:e,to:i});o[s(567)]=t,o[s(474)]=n,o.id=r;const a=this[s(444)](o);return this[s(427)]&&this[s(509)](o.id,o,!0),a}[_n(580)](){const t=_n;this[t(449)][t(628)][t(552)](t(408))[t(577)]({model:t(466)})}[_n(507)](t){const e=_n;return(t=t[e(531)]((t=>!t[e(567)]||e(471)!==t[e(567)]&&e(656)!==t[e(567)])))[e(597)]((t=>{const i=e;i(505)!=typeof t&&(t[i(569)]=this[i(507)](t[i(569)]),t[i(482)]=t[i(482)][i(531)]((t=>!t[0][i(668)](i(670)))))})),t}}function xn(t,e){const i=_n,n=e[i(416)][i(595)][i(630)];if(i(505)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(569)][i(585)]((t=>xn(t,e)));return new(Sn[t[i(476)]]||Yi.ViewElement)(n,t[i(567)],t[i(482)],r)}}class Tn{constructor(t){const e=_n;this[e(449)]=t,this[e(663)]=new Map,this[e(378)]=-1,this[e(601)]=-1,this[e(522)]=new Map,this[e(560)]=new Map,this[e(461)]=new Map,this[e(649)]=new Map,this[e(614)]=new Map,this[e(527)]=new Map,this[e(375)]=new Map,this[e(433)]=new Map,this[e(618)]=new Map,this[e(425)]=new Map,this[e(644)]=1}[_n(572)](t){const e=_n;this[e(492)]=t;const i=new Map,n=new Map,r=this[e(449)][e(398)][e(630)][e(547)][e(585)]((t=>t[e(403)]));for(const t of r){const r=this[e(449)][e(398)][e(630)][e(675)](t),s=Nn(r);i[e(624)](t,s),n[e(624)](t,Object[e(535)](r[e(429)]()))}const s=Array[e(485)](this[e(449)][e(398)][e(372)])[e(585)]((t=>[t[e(567)],t[e(558)]()])),o=this[e(492)][e(440)];this[e(392)](o,i,s,n),this[e(421)]=this[e(644)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(624)](t,i),c[e(624)](t,{})}this[e(392)](Number[e(364)],a,[],c)}[_n(619)](t,e){const i=_n;if(this[i(378)]===t&&this[i(601)]<=e)this[i(663)][i(578)]>1&&this[i(478)](this[i(601)]),this[i(575)](this[i(601)],e,!0);else{if(!this[i(663)][i(393)](t)){const e=this[i(661)](t);this[i(376)](e,t,!1)}this[i(376)](t,e,!0)}return this[i(378)]=t,this[i(601)]=e,this[i(460)]()}[_n(406)](t){const e=_n;this[e(666)](),this[e(378)]=t[e(506)],this[e(601)]=t[e(641)];for(const i in t[e(676)]){const n=t[e(676)][i][e(409)],r=vi(t[e(676)][i][e(366)])||{},s=this[e(602)](t[e(676)][i][e(613)]);s[e(403)]=i,s[e(415)]=!n||!n[e(650)],s[e(650)]=()=>s[e(415)],this[e(649)][e(624)](i,s),this[e(614)][e(624)](i,r),n&&this[e(425)][e(624)](i,n);const o=this[e(472)](s);this[e(375)][e(624)](i,o);for(const[t,i]of s[e(372)]){if(!t[e(668)](e(438)))continue;const n=t[e(596)](":")[2];for(const t of i[e(379)]({singleCharacters:!0})){const i=this[e(424)](t),r=e(500)==t[e(476)]?t[e(430)][e(394)][e(450)](0,-1):t[e(430)][e(394)],s=o[e(565)](r)[e(396)](i);this[e(433)][e(624)](s,{userId:n})}}}this[e(421)]=this[e(644)];const i=[...Array(this[e(644)])[e(443)]()][e(450)](1)[e(531)]((t=>!this[e(433)][e(393)](t)));let n=0;const r=new Map;for(const s in t[e(676)]){const o=t[e(676)][s][e(409)],a=vi(t[e(676)][s][e(541)])||{},c=this[e(602)](t[e(676)][s][e(480)]);c[e(403)]=s,c[e(415)]=!o||o[e(650)],c[e(650)]=()=>c[e(415)],this[e(560)][e(624)](s,c),this[e(461)][e(624)](s,a);const u=this[e(472)](c,Number[e(364)]);this[e(527)][e(624)](s,u),r[e(624)](s,c[e(650)]()?a:{});for(const[t,i]of c[e(372)]){if(!t[e(668)](e(438)))continue;const n=t[e(596)](":")[2];for(const t of i[e(379)]({singleCharacters:!0})){const i=this[e(424)](t),r=this[e(644)]++,s=e(500)==t[e(476)]?t[e(430)][e(394)][e(450)](0,-1):t[e(430)][e(394)];u[e(565)](s)[e(384)](i,r),this[e(433)][e(624)](r,{userId:n})}}for(const t of this[e(449)][e(398)][e(521)](c)[e(379)]({singleCharacters:!0})){const r=this[e(424)](t),s=e(500)==t[e(476)]?t[e(430)][e(394)][e(450)](0,-1):t[e(430)][e(394)],o=u[e(565)](s);o[e(396)](r)>0||o[e(384)](r,i[n++])}for(const[t,i]of c[e(372)])t[e(668)](e(438))||this[e(522)][e(624)](t,i)}const s=Rn(e(388));this[e(649)][e(624)](e(388),s),this[e(375)][e(624)](e(388),this[e(472)](s,1));const o=Rn(e(388));this[e(560)][e(624)](e(388),o),this[e(527)][e(624)](e(388),this[e(472)](o,1));const a=Array[e(485)](this[e(560)])[e(585)]((([t,e])=>[t,Nn(e)]));this[e(392)](this[e(601)],a,this[e(522)],r)}[_n(602)](t){const e=_n,i=JSON[e(428)](t),n=this[e(449)][e(416)][e(595)][e(630)],r=new Yi.ViewDocumentFragment(n,i[e(585)]((t=>xn(t,this[e(449)]))));return this[e(449)][e(411)][e(534)](r)}[_n(392)](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(624)](t,{start:e[r(420)][r(584)](),end:e[r(402)][r(584)](),rootName:e[r(600)][r(403)]});this[r(663)][r(624)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(478)](t){const e=_n;this[e(663)][e(517)](t)}[_n(385)](){const t=_n;this[t(666)](),this[t(378)]=-1,this[t(601)]=-1,this[t(663)][t(631)](),this[t(572)](this[t(492)])}[_n(666)](){const t=_n;this[t(433)][t(631)](),this[t(618)][t(631)](),this[t(425)][t(631)](),this[t(560)][t(631)](),this[t(461)][t(631)](),this[t(649)][t(631)](),this[t(614)][t(631)](),this[t(527)][t(631)](),this[t(375)][t(631)](),this[t(522)][t(631)](),this[t(644)]=1,this[t(421)]=this[t(644)]}[_n(472)](t,e=null){const i=_n;let n=null;t.is(i(537))||(n=new Yi.Element(t[i(567)],{vid_start:null===e?this[i(644)]++:e++}));const r=[];for(const n of t[i(627)]())if(n.is(i(562))){r[i(615)](this[i(472)](n,e));const t=r[r[i(563)]-1];null!==e&&(e=t.is(i(562),i(625))?t[i(396)](i(594))+1:t[i(396)](i(655))+1)}else for(let t=0;t<n[i(484)];t++)r[i(615)](new Yi.Element(i(625),{vid:null===e?this[i(644)]++:e++}));if(t.is(i(537))){const e=Rn(t[i(403)]);return e[i(609)](0,r),e}return n[i(384)](i(655),null===e?this[i(644)]++:e++),n[i(609)](0,r),n}[_n(376)](t,e,i){const n=_n;this[n(666)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(663)][n(435)](t);this[n(649)]=new Map(r),this[n(614)]=new Map(vi(o));for(const[t,e]of this[n(649)])if(n(388)!==t&&(this[n(560)][n(624)](t,Nn(e)),this[n(461)]=new Map(vi(o)),i)){const i=this[n(644)];this[n(527)][n(624)](t,this[n(472)](e)),this[n(375)][n(624)](t,this[n(472)](e,i))}this[n(421)]=this[n(644)],this[n(560)][n(624)](n(388),Nn(this[n(649)][n(435)](n(388)))),i&&this[n(527)][n(624)](n(388),this[n(472)](this[n(649)][n(435)](n(388))));for(const[t,e]of s){const i=this[n(649)][n(435)](e[n(403)]),r=this[n(560)][n(435)](e[n(403)]),s=new Yi.Range(this[n(488)](e[n(420)],i),this[n(488)](e[n(402)],i)),o=this[n(659)](s,r);i[n(372)][n(624)](t,s),this[n(522)][n(624)](t,o)}this[n(575)](t,e,i)}[_n(575)](t,e,i){const n=_n;for(const r of this[n(492)][n(494)](t,e))this[n(626)](r,i);for(const t of this[n(560)][n(679)]())t[n(372)][n(631)]();for(const[t,e]of this[n(522)])this[n(560)][n(435)](e[n(600)][n(403)])[n(372)][n(624)](t,e[n(584)]());const r=new Map,s=new Map;for(const[t,e]of this[n(560)])r[n(624)](t,Nn(e)),s[n(624)](t,this[n(461)][n(435)](t));this[n(392)](e,r,this[n(522)],s)}[_n(661)](t){const e=_n,i=Array[e(485)](this[e(663)][e(443)]());i[e(491)](((t,e)=>t-e)),i[e(490)]();for(const e of i)if(e<t)return e;return Number[e(364)]}[_n(623)](t,e){const i=_n,n=Array[i(485)](e[i(372)])[i(585)]((([e,n])=>[e,this[i(659)](n,t)]));t[i(372)]=new Map(n)}[_n(620)](t){const e=_n;for(const i of this[e(522)][e(679)]()){const n=i[e(501)](t),r=Yi.Range[e(607)](n);i[e(420)]=r[e(420)],i[e(402)]=r[e(402)]}}[_n(626)](t,e){const i=_n;if(i(502)!=t[i(476)]&&i(417)!=t[i(476)]){if(i(564)==t[i(476)]){const n=t[i(557)][i(600)][i(403)];this[i(560)][i(393)](n)||(this[i(560)][i(624)](n,Rn(n,!0)),this[i(461)][i(624)](n,{}),e&&this[i(527)][i(624)](n,Rn(n,!0)))}else{if(i(556)==t[i(476)]||i(587)==t[i(476)]||i(498)==t[i(476)])return void this[i(647)](t);i(511)==t[i(476)]&&this[i(464)](t)}if(i(511)!==t[i(476)]){const e=this[i(629)](t,this[i(560)]);e[i(469)](),this[i(620)](e)}if(e)switch(t[i(476)]){case i(564):this[i(465)](t);break;case i(646):case i(608):case i(662):this[i(632)](t);break;case i(475):this[i(479)](t);break;case i(596):this[i(442)](t)}}else this[i(642)](t,e)}[_n(629)](t,e){const i=_n,n=t[i(584)]();return n[i(419)]=t[i(419)],this[i(520)](n,e),n}[_n(473)](t){const e=_n;return t[e(585)]((t=>{const i=e,n=this[i(424)](t);return Number(t[i(453)][i(396)](n))}))}[_n(373)](t,e){const i=_n;if(t.is(i(562),i(625)))e[i(615)]({item:t,type:i(566)});else{t.is(i(562))&&e[i(615)]({item:t,type:i(551)});for(const n of t[i(627)]())this[i(373)](n,e);t.is(i(562))&&e[i(615)]({item:t,type:i(500)})}return e}[_n(460)](){const t=_n,e=new Map(this[t(433)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(649)][t(443)](),...this[t(560)][t(443)]()]);a[t(517)](t(388));for(const e of a){const i=this[t(560)][t(435)](e)||Rn(e,!1),n=this[t(649)][t(435)](e)||Rn(e,!1);i[t(650)]()||n[t(650)]()?(r[t(480)][e]=Nn(i),r[t(613)][e]=Nn(n),this[t(623)](r[t(613)][e],n),this[t(623)](r[t(480)][e],i),s[t(480)][e]=this[t(373)](this[t(527)][t(435)](e),[]),s[t(613)][e]=this[t(373)](this[t(375)][t(435)](e)||Rn(e,!1),[])):a[t(517)](e)}for(const r of a){const o=s[t(480)][r];for(const r of o){const s=this[t(424)](r),o=r[t(453)][t(396)](s);i[t(517)](o),o>=this[t(421)]&&n[t(624)](o,e[t(435)](o))}}for(const r of a){const a=s[t(480)][r],c=this[t(473)](s[t(613)][r]);let u=0;for(const r of a){const s=this[t(424)](r),a=r[t(453)][t(396)](s);if(!n[t(393)](a)&&!o[t(393)](a))if(i[t(393)](a))u++;else{if(a!=c[u]){const n=e[t(435)](a)||e[t(435)](c[u]);for(;a!=c[u];)i[t(393)](c[u])||(o[t(624)](c[u],n),e[t(624)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(480)][e];for(const e of r){const r=this[t(424)](e),s=e[t(453)][t(396)](r);if(o[t(393)](s)){const e=o[t(435)](s);i[t(393)](s)||i[t(624)](s,{...e}),n[t(624)](s,{...e})}}}for(const e of i[t(443)]())e>=this[t(421)]&&i[t(517)](e);const c=new Map;for(const e of a){let r=s[t(480)][e];for(const e of r)if(e[t(453)].is(t(562),t(407))){const i=this[t(424)](e),r=e[t(453)][t(396)](i);if(n[t(393)](r)){const i=e[t(453)][t(540)][t(540)][t(396)](t(674)),s=c[t(435)](i)||new Set;s[t(561)](n[t(435)](r)[t(383)]),c[t(624)](i,s)}}r=s[t(613)][e];for(const e of r)if(e[t(453)].is(t(562),t(407))){const n=this[t(424)](e),r=e[t(453)][t(396)](n);if(i[t(393)](r)){const n=e[t(453)][t(540)][t(540)][t(396)](t(674)),s=c[t(435)](n)||new Set;s[t(561)](i[t(435)](r)[t(383)]),c[t(624)](n,s)}}for(const e of c[t(443)]())(n[t(393)](e)||i[t(393)](e))&&c[t(517)](e)}for(const e of a){const r=s[t(480)][e];let o=null,a=null;for(const e of r){const r=this[t(424)](e),s=e[t(453)][t(396)](r),u=c[t(435)](s);u&&t(551)==e[t(476)]&&(o=Array[t(485)](u)[0],a=e[t(453)][t(396)](t(655))),o&&(i[t(624)](s,{userId:o}),n[t(624)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(613)][e],a=r[t(480)][e];for(const{userId:e}of this[t(618)][t(679)]())null!==e&&l[t(561)](e);for(const{userId:e}of this[t(425)][t(679)]())null!==e&&l[t(561)](e);this[t(512)](a,s[t(480)][e],n,t(637),l),this[t(512)](o,s[t(613)][e],i,t(495),l),u[e]={insertions:this[t(457)](a),deletions:this[t(457)](o),attachChange:this[t(425)][t(435)](e)||null,attributesBefore:vi(this[t(614)][t(435)](e))||{},attributesAfter:vi(this[t(461)][t(435)](e))}}return{diffData:u,authorsIds:Array[t(485)](l)}}[_n(636)](t){const e=_n;for(const[,i]of t[e(372)]){const t=i[e(420)][e(483)]()[e(531)]((t=>e(407)==t[e(567)]));for(const i of t)1==i[e(633)]&&i[e(524)](0).is(e(562),e(369))&&i[e(524)](0)[e(384)](e(592),!0)}}[_n(457)](t){const e=_n;this[e(636)](t);const i=this[e(449)][e(411)][e(548)](t,{}),n=Array[e(485)](i[e(627)]())[e(585)]((t=>this[e(418)](t)));return JSON[e(368)](n)}[_n(418)](t){const e=_n;if(t.is(e(625)))return t[e(411)];{const i=t;return{type:Object[e(443)](Sn)[e(448)]((e=>t instanceof Sn[e])),name:i[e(567)],attributes:Array[e(485)](i[e(429)]()),children:Array[e(485)](i[e(627)]())[e(585)]((t=>this[e(418)](t)))}}}[_n(512)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(449)][s(398)];for(let n=0;n<e[s(563)];n++){const r=this[s(424)](e[n]),c=e[n][s(453)][s(396)](r),h=i[s(435)](c),d=n==e[s(563)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(383)]!=o[s(383)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(383)],d=l(438)+n+":"+h+":"+c++,f=u[l(586)](i,a);t[l(372)][l(624)](d,f),null!==h&&r[l(561)](h)}}[_n(424)](t){const e=_n;switch(t[e(476)]){case e(551):return e(674);case e(500):return e(655);default:return e(594)}}[_n(520)](t,e){const i=_n;t[i(611)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(435)](r[i(600)][i(403)]);t[n]=this[i(488)](r,s)}if(r instanceof Yi.Range){const s=e[i(435)](r[i(600)][i(403)]);t[n]=this[i(659)](r,s)}i(600)===n&&(t[i(600)]=e[i(435)](t[i(600)][i(403)]))}}[_n(659)](t,e){const i=_n;return this[i(449)][i(398)][i(586)](this[i(488)](t[i(420)],e),this[i(488)](t[i(402)],e))}[_n(488)](t,e){const i=_n;return this[i(449)][i(398)][i(423)](e,t[i(394)],t[i(508)])}[_n(465)](t){const e=_n,i=this[e(527)][e(435)](t[e(557)][e(600)][e(403)]),n=this[e(488)](t[e(557)],i),r=null===t[e(419)]?null:t[e(419)]||this[e(449)][e(657)][e(435)](e(671)).me.id,s=n[e(540)],o=this[e(644)],a=[];for(const i of t[e(643)])if(i.is(e(562)))a[e(615)](this[e(472)](i));else for(let t=0;t<i[e(484)];t++)a[e(615)](new Yi.Element(e(625),{vid:this[e(644)]++}));const c=this[e(644)];for(let t=o;t<c;t++)this[e(433)][e(624)](t,{userId:r});s[e(609)](n[e(380)],a)}[_n(632)](t){const e=_n;(t=this[e(629)](t,this[e(527)]))[e(469)]();const i=null===t[e(419)]?null:t[e(419)]||this[e(449)][e(657)][e(435)](e(671)).me.id,n=t[e(673)](),r=n[e(540)],s=n[e(380)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(524)](e);s.is(a(562),a(625))?n[a(624)](s[a(396)](a(594)),{userId:i}):(n[a(624)](s[a(396)](a(674)),{userId:i}),t(n,s,0,s[a(633)]),n[a(624)](s[a(396)](a(655)),{userId:i}))}}(this[e(433)],r,s,s+t[e(574)])}[_n(479)](t){const e=_n,i=null===(t=this[e(629)](t,this[e(527)]))[e(419)]?null:t[e(419)]||this[e(449)][e(657)][e(435)](e(671)).me.id,n=t[e(677)][e(540)],r=t[e(454)][e(540)],s=n[e(396)](e(655)),o=r[e(396)](e(674));n[e(384)](e(655),r[e(396)](e(655))),r[e(384)](e(655),s),this[e(433)][e(624)](o,{userId:i}),this[e(433)][e(624)](s,{userId:i}),t[e(469)]()}[_n(442)](t){const e=_n,i=null===(t=this[e(629)](t,this[e(527)]))[e(419)]?null:t[e(419)]||this[e(449)][e(657)][e(435)](e(671)).me.id,n=t[e(458)],r=t[e(367)][e(540)];t[e(469)]();const s=r[e(396)](e(655)),o=t[e(523)][e(363)];if(n){const t=o[e(396)](e(655)),n=r[e(396)](e(655));r[e(384)](e(655),t),o[e(384)](e(655),n),this[e(433)][e(624)](r[e(396)](e(655)),{userId:i}),this[e(433)][e(624)](o[e(396)](e(674)),{userId:i})}else{const t=this[e(644)]++,n=this[e(644)]++;r[e(384)](e(655),t),o[e(384)](e(674),n),o[e(384)](e(655),s),this[e(433)][e(624)](t,{userId:i}),this[e(433)][e(624)](n,{userId:i})}}[_n(464)](t){const e=_n;if(!t[e(439)])return;const i=(t=this[e(629)](t,this[e(560)]))[e(387)]?t[e(387)][e(600)]:null,n=t[e(371)]?t[e(371)][e(600)]:null;i&&this[e(522)][e(517)](t[e(567)]),n&&this[e(522)][e(624)](t[e(567)],t[e(371)][e(584)]());const r=null===t[e(419)]?null:t[e(419)]||this[e(449)][e(657)][e(435)](e(671)).me.id,s=t[e(567)];if(!this[e(618)][e(393)](s))return void this[e(618)][e(624)](s,{range:t[e(387)],userId:r});const o=this[e(618)][e(435)](s),a=o[e(413)],c=t[e(371)];null==a&&null==c||a&&c&&a[e(529)](c)?this[e(618)][e(517)](t[e(567)]):o[e(383)]=r}[_n(642)](t,e){const i=_n;this[i(560)][i(393)](t[i(403)])?this[i(560)][i(435)](t[i(403)])[i(415)]=t[i(360)]:(this[i(560)][i(624)](t[i(403)],Rn(t[i(403)],!0)),this[i(461)][i(624)](t[i(403)],{}),e&&this[i(527)][i(624)](t[i(403)],Rn(t[i(403)],!0)));const n=null===t[i(419)]?null:t[i(419)]||this[i(449)][i(657)][i(435)](i(671)).me.id,r=this[i(425)][i(435)](t[i(403)]);r&&r[i(383)]===n?this[i(425)][i(517)](t[i(403)]):this[i(425)][i(624)](t[i(403)],{userId:n,isAttached:t[i(360)]})}[_n(647)](t){const e=_n,i=this[e(461)][e(435)](t[e(600)][e(403)]);null===t[e(467)]?delete i[t[e(503)]]:i[t[e(503)]]=t[e(467)]}}function Nn(t){const e=_n,i=Rn(t[e(403)],t[e(650)]());for(const n of t[e(627)]()){const t=n[e(667)](!0);i[e(410)](t)}return i}function An(t,e){const i=In();return(An=function(t,e){return i[t-=360]})(t,e)}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(403)]=t,n[i(415)]=e,n[i(650)]=()=>n[i(415)],n}function Mn(t,e,i){const n=_n,r=n(500)==t[n(476)]?i[n(539)](t[n(453)],n(402)):i[n(462)](t[n(453)]);return i[n(423)](e,r[n(394)],r[n(508)])}function En(t,e,i){const n=_n,r=n(551)==t[n(476)]?i[n(539)](t[n(453)],0):i[n(672)](t[n(453)]);return i[n(423)](e,r[n(394)],r[n(508)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Zn=i.n(Un),$n=i(426),Hn={attributes:{"data-cke":!0}};Hn.setAttributes=Wn(),Hn.insert=Pn().bind(null,"head"),Hn.domAPI=Fn(),Hn.insertStyleElement=Zn();Cn()($n.A,Hn);$n.A&&$n.A.locals&&$n.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=Kn();return(Yn=function(t,e){return i[t-=400]})(t,e)}const Jn=Yn;!function(t){const e=Yn,i=t();for(;;)try{if(437311===-parseInt(e(430))/1*(parseInt(e(403))/2)+-parseInt(e(439))/3+parseInt(e(421))/4+parseInt(e(432))/5*(parseInt(e(435))/6)+parseInt(e(423))/7+parseInt(e(408))/8*(parseInt(e(437))/9)+-parseInt(e(436))/10*(parseInt(e(418))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kn);class Gn extends Vn.View{constructor(e,i){const n=Yn;super(e),this[n(411)]=new t.FocusTracker,this[n(415)]=new t.KeystrokeHandler,this[n(420)](n(431),""),this[n(409)]=this[n(400)](i),this[n(416)]({tag:n(402),attributes:{class:["ck",n(428),n(407)],tabindex:"-1"},children:[this[n(409)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Jn(417)](){const t=Jn;super[t(417)](),(0,Vn.submitHandler)({view:this}),this[t(411)][t(427)](this[t(409)][t(434)]),this[t(415)][t(419)](this[t(434)]);const e=e=>e[t(441)]();this[t(415)][t(420)](t(440),e),this[t(415)][t(420)](t(413),e),this[t(415)][t(420)](t(422),e),this[t(415)][t(420)](t(404),e)}[Jn(412)](){const t=Jn;this[t(409)][t(412)]()}get[Jn(414)](){const t=Jn;return this[t(409)][t(424)][t(434)][t(438)][t(443)]()}set[Jn(414)](t){const e=Jn;this[e(409)][e(424)][e(434)][e(438)]=t[e(443)]()}[Jn(410)](){const t=Jn;this[t(409)][t(424)][t(434)][t(438)]="",this[t(409)][t(425)]=null}[Jn(400)](t){const e=Jn,i=new Vn.LabeledFieldView(this[e(433)],Vn.createLabeledInputText),n=i[e(424)];n[e(442)]({attributes:{maxlength:e(429)}});let r=Qi(this[e(433)],e(406));return!t&&(r+=" ("+Qi(this[e(433)],e(426))+")"),i[e(405)]=r,n.on(e(401),(()=>{const t=e;this[t(431)]=n[t(434)][t(438)][t(443)]()})),i}}function Kn(){const t=["trim","_createRevisionNameInput","input","form","4824xGFYMg","arrowdown","label","Name of the revision","ck-responsive-form","21264oWiVeZ","revisionNameInputView","reset","focusTracker","focus","arrowleft","revisionName","keystrokes","setTemplate","render","9416iDBcHC","listenTo","set","2614276qLflRY","arrowup","3900526LmnCgv","fieldView","errorText","optional","add","ck-revision-history-save-revision-form","220","1vloyru","revisionNameInputValue","35bZlGNp","locale","element","33492MteoOt","10890uThoee","2718ByOygu","value","2042010RaEGyV","arrowright","stopPropagation","extendTemplate"];return(Kn=function(){return t})()}function Xn(t,e){const i=tr();return(Xn=function(t,e){return i[t-=161]})(t,e)}const Qn=Xn;function tr(){const t=["menu","config","init","7FzOeMo","36289xcEsRq","810bVZJzK","Cancel","view","isReadOnly","_registerMenuComponent","hide","delegate","555SkVYCW","submit","componentFactory","isEnabled","revisionHistory.requireRevisionName","6852ZVsaRK","revisionName","set","plugins","isOpen","isReady","Accept","addMany","420GdWIpF","role","children","reset","RevisionTracker","5594520zuUYXK","bind","545864HNbIrW","history","revisionNameInputView","panelView","isOfficialPlugin","revisionHistory","Dialog","182835tfaSDe","items","editor","execute","add","buttonView","RevisionHistoryUI","457258IXMQML","menuitem","Revision history","_showDialog","showRevisionViewerCallback","4506JZiRNG","revisionSave","requires","isPremiumPlugin","render","_createSaveRevisionFormView","_saveRevisionFormView","focus","The revision name cannot be empty.","editing","1GGbcdr","menuBar:revisionHistory","get","saveRevision","ck-button-action","errorText","Open revision history","locale","show","Save current revision","pluginName"];return(tr=function(){return t})()}!function(t){const e=Xn,i=t();for(;;)try{if(133701===parseInt(e(198))/1*(-parseInt(e(183))/2)+parseInt(e(162))/3*(-parseInt(e(226))/4)+parseInt(e(221))/5*(-parseInt(e(188))/6)+parseInt(e(212))/7*(-parseInt(e(169))/8)+parseInt(e(176))/9+-parseInt(e(214))/10*(-parseInt(e(213))/11)+parseInt(e(167))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Qn(208)](){return Qn(182)}static get[Qn(173)](){return!0}static get[Qn(191)](){return!0}static get[Qn(190)](){return[On]}[Qn(211)](){const t=Qn,e=this[t(178)],i=e[t(229)][t(200)](t(166));e.ui[t(223)][t(180)](t(174),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(172)][r(164)],a=new Vn.ListView(n),c=new Vn.ListItemView(n),u=new Vn.ButtonView(n),l=new Vn.ListItemView(n),h=new Vn.ButtonView(n);return s[r(168)](r(224)).to(i,r(231),i,r(224),e,r(217),((t,e,i)=>t&&e&&!i)),s[r(181)][r(228)]({icon:qi.icons[r(170)],label:Qi(n,r(185)),tooltip:!0}),u[r(228)]({label:Qi(n,r(207)),withText:!0,role:r(184)}),u[r(168)](r(224)).to(i,r(231),i,r(224),e,r(217),((t,e,i)=>t&&e&&!i)),u.on(r(179),(()=>this[r(186)]())),h[r(228)]({label:Qi(n,r(204)),withText:!0,role:r(184)}),h[r(168)](r(224)).to(i,r(231),e,r(217),((t,e)=>t&&!e)),h.on(r(179),(()=>{const t=r;e[t(210)][t(200)](t(174))[t(187)](),s[t(230)]=!1,e[t(197)][t(216)][t(195)]()})),c[r(164)][r(180)](u),l[r(164)][r(180)](h),a[r(163)]=r(209),a[r(177)][r(161)]([c,l]),o[r(180)](a),s})),e.ui[t(223)][t(180)](t(199),(()=>this[t(218)]()))}[Qn(218)](){const t=Qn,e=this[t(178)],i=e[t(205)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(181)][t(228)]({icon:qi.icons[t(170)],label:Qi(i,t(185))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(228)]({label:Qi(i,t(207))}),o[t(220)](t(179)).to(n),o.on(t(179),(()=>{this[t(186)]()})),s[t(164)][t(180)](o),r[t(177)][t(180)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(228)]({label:Qi(i,t(204))}),c[t(220)](t(179)).to(n),c.on(t(179),(()=>{const i=t;e[i(210)][i(200)](i(174))[i(187)]()})),a[t(164)][t(180)](c),r[t(177)][t(180)](a),n[t(172)][t(164)][t(180)](r),n}[Qn(186)](){const t=Qn,e=this[t(178)],i=e[t(205)],n=e[t(229)][t(200)](t(175)),r=e[t(229)][t(200)](t(166));function s(r){const s=t;e[s(210)][s(200)](s(225))&&""===r[s(227)]?r[s(171)][s(203)]=Qi(i,s(196)):(e[s(229)][s(200)](On)[s(201)]({name:r[s(227)]}),n[s(219)]())}this[t(194)]||(this[t(193)](),this[t(194)].on(t(222),(()=>s(this[t(194)])))),this[t(194)][t(165)](),n[t(206)]({id:t(189),title:Qi(i,t(207)),isModal:!0,content:this[t(194)],actionButtons:[{label:Qi(e[t(205)],t(215)),withText:!0,onExecute:()=>n[t(219)]()},{label:Qi(e[t(205)],t(232)),class:t(202),withText:!0,onCreate(i){const n=t;i[n(168)](n(224)).to(r,n(231),r,n(224),e,n(217),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(194)])}]})}[Qn(193)](){const t=Qn,e=this[t(178)],i=e[t(205)];this[t(194)]=new Gn(i,e[t(210)][t(200)](t(225))),this[t(194)][t(192)]()}}const ir=nr;function nr(t,e){const i=rr();return(nr=function(t,e){return i[t-=409]})(t,e)}function rr(){const t=["element","ck-revision-change__","author","span","34gAdGrj","13891801vTmDmI","div","18rpBwEb","name","979088eoCSuN","ck-revision-change__label","5198580KfQjpl","focus","data","5XWOjMc","Removed by","Suggested by","setTemplate","55181rmAGcS","type","bindTemplate","ck-annotation","set","isSuggestion","_model","ck-revision-change","241784FEXpzq","30valyeZ","48113UEXeHs","10NejdaI","28761MUSBjo","Added by","1452XDHvzP","changeId","add"];return(rr=function(){return t})()}!function(t){const e=nr,i=t();for(;;)try{if(695229===parseInt(e(434))/1+-parseInt(e(412))/2*(parseInt(e(438))/3)+-parseInt(e(419))/4*(parseInt(e(422))/5)+-parseInt(e(435))/6*(parseInt(e(426))/7)+-parseInt(e(417))/8*(-parseInt(e(415))/9)+-parseInt(e(437))/10*(-parseInt(e(413))/11)+-parseInt(e(440))/12*(-parseInt(e(436))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends Vn.View{constructor(t,e){const i=nr;super(t),this[i(432)]=e,this[i(441)]=e.id;const n=this[i(428)],r=Qi(t,e[i(421)][i(431)]?i(424):i(442)==e[i(427)]?i(439):i(423));this[i(430)](i(427),e[i(427)]),this[i(425)]({tag:i(414),attributes:{class:[i(429),i(433),n.to(i(427),(t=>i(409)+t))],tabindex:-1},children:[{tag:i(411),children:[{tag:i(411),attributes:{class:[i(418)]},children:[{text:r}]},{text:" "+e[i(410)][i(416)]}]}]})}[ir(420)](){const t=ir;this[t(443)][t(420)]()}}var or=cr;function ar(){var t=["type","1325732ZnUCNg","1177208QkgqTB","set","author","45iLfugk","4329017YkzbDk","232761YpupxL","4IrfiQv","4214838eEfBPL","3681765xnFkXW","data","274227ElXpEF","rootName","createdAt","toJSON"];return(ar=function(){return t})()}function cr(t,e){var i=ar();return(cr=function(t,e){return i[t-=222]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(401030===-parseInt(e(236))/1+-parseInt(e(230))/2+-parseInt(e(225))/3+parseInt(e(237))/4*(parseInt(e(223))/5)+-parseInt(e(222))/6+parseInt(e(235))/7+-parseInt(e(231))/8*(-parseInt(e(234))/9))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(233)]=e[i(233)],this[i(229)]=e[i(229)],this[i(224)]=e[i(224)]||{},this[i(226)]=e[i(226)],this[i(232)](i(227),e[i(227)])}[or(228)](){var t=or;return{id:this.id,authorId:this[t(233)].id,type:this[t(229)],data:this[t(224)],createdAt:this[t(227)]}}}function lr(t,e){const i=hr();return(lr=function(t,e){return i[t-=344]})(t,e)}function hr(){const t=["504yoYmzK","1496zQTtIW","10yjQOGh","oldRevisionId","30wWlSIu","3950pJDBra","617865YPJrnt","_setChanges","add","657492kTQUrA","newRevisionId","changes","27736fpgBpB","2403jSBhPE","110663nnLBhr","33173292IyYELL","114022uvsRoo"];return(hr=function(){return t})()}const dr=lr;!function(t){const e=lr,i=t();for(;;)try{if(912867===parseInt(e(344))/1+parseInt(e(354))/2*(parseInt(e(359))/3)+parseInt(e(356))/4*(parseInt(e(360))/5)+-parseInt(e(355))/6*(-parseInt(e(352))/7)+parseInt(e(350))/8*(parseInt(e(351))/9)+parseInt(e(357))/10*(-parseInt(e(347))/11)+-parseInt(e(353))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hr);class fr{constructor(e,i){const n=lr;this[n(348)]=e,this[n(358)]=i,this[n(349)]=new t.Collection}[dr(345)](t){const e=dr;for(const i of t)this[e(349)][e(346)](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=gr;function yr(){const t=["markerToData","_getChangeFromId","high","removeMarker:revision-suggestion","previousPosition","_markSuggestions","merge","attributes","_processTape","has","editor","updatePosition","isBlock","change:activeChange","isAddSuggestion","_getViewForChange","values","_cleanMarkers","revision:","editingDowncast","consumable","changes","loadRevisionData","ck-suggestion-preview-marker-","isRemoveSuggestion","_getDiff","elementStart","from","add","children","startIndex","_markMarkers","map","207oAofsL","end","createRangeIn","execute","attribute:vid","attachChange","resolve","326478VacWgK","currentChangeNumber","bindElementToMarker","softBreak","isOnRoot","rootName","isContent","deletion","getRevisionData","isEnabled","set","isRemoved","pairId","_changeView","getRevisionRootsAttributes","toViewPosition","_setDistance","maxOffset","elementEnd","getLaterVisibleRevision","insertions","markerToHighlight","removeClass","ck-revision-history-root-add","ck-suggestion-marker","comment","diffData","restoreRevisionCallback","756804BByCxO","_data","target","_getViewObj","bottom","nextPosition","createPositionFromPath","sort","side","ck-suggestion-marker-split","ck-suggestion-marker--active","split","right","addRevision","isInline","nodeAfter","delete","clear","revisionHistoryLabel","_removeUnsupportedChanges","createRange","_initInteractions","getItems","name","_sortAndFilterDiffChanges","_cleanUp","revision","unshift","writer","attributesBefore","uiElement","_revisions","detachRoot","isNavigationMode","change:activeView","vid_start","roots","affectsData","_refreshStartEndIndex","removeMarker:revision","getAttribute","data-change-id","restoreRevision","isAtEnd","_joinTapes","compare","ck-suggestion-preview-marker","ck-revision-history-root-","downcastDispatcher","filter","dataDowncast","createPositionBefore","suggestion","nextSibling","setAttribute","processor","refresh","reconvertMarker","forward","domEvent","elementToAttribute","abs","isAdded","start","createUIElement","addMarker:revision","_findChangeIdFromDomTarget","mapViewToDom","consume","pluginName","low","markersStart","activeChange","3108884qYeHtd","upcast","markerRange","index","code","28hyRoiu","_removeMissingPairs","findIndex","return","activeView","stop","insertion","change:numberOfChanges","diff","changeId","WidgetToolbarRepository","addMarker:revision-suggestion:deletion","pop","init","shift","editing","listenTo","revisionHistory","removeAttribute","requires","collaboration.channelId","object","userId","change:isEnabled","revisionHistoryAttachChange","_makeModelFromTape","toViewElement","toModel","push","showStack","includes","authors","destroy","isAfter","hasAttribute","change:isReady","markers","mouseover","insert","remove","offsetSize","createAttributeElement","_getRevisionsRange","_fixObsoleteTags","407272KjTTWt","element","POSITIVE_INFINITY","for","forEach","enqueueChange","test","toViewRange","_update","isReady","left","getCustomProperty","bind","locale","string","838720mGxSbk","isIncorrect","parent","parse","selection","wrap","-new","suggestion:","getAttributes","backward","isObject","revision-suggestion:","oldRevisionId","markersEnd","showNextChange","level","dataToMarker","createRevision","addHighlight","isSuggestion","element:pre","getWalker","document","data","_changeIdToChange","isLimit","ck-editor__editable__overlay","observeMarkers","numberOfChanges","change","catch","_appendChild","vid_end","markerName","range","enableReadOnlyMode","get","isCollapsed","getRevision","newRevisionId","top","isBefore","_threeWayMerge","useFillerType","RevisionViewer","_markMismatchedRemovedTags","model","getChild","getRoot","first","viewItem","all","next","ck-suggestion-marker-","marked","markerNameToElements","startsWith","isPremiumPlugin","mapper","data-revision-","ck-revision-history-root-remove","removeMarker","indexOf","splice","getRootNames","length","highest","getClientRects","plugins","_markInsertions","_step","view","toData","config","_makeModelFromViewString","keys","distance","getIndex","attributesAfter","_activeViewTarget","span","hasClass","showPreviousChange","item","_makeTape","unbindElementFromMarkerName","modelRange","repository","revision-comment:","_setConversion","addClass","forceDisabled","adapter","revision-end","revision-suggestion","endIndex","find","addMarker:revision-suggestion:insertion","slice","isAttached","domConverter","isEqual","revision-viewer","type","default","flat","RevisionsRepository","getDomRoot","_removeRevisionMarkers","error","92293XlzxQg","5083392opHRxQ","addRoot","schema","concat","_setChanges","vid","commands","isAtStart","_balloon","ck-suggestion-marker-merge","isOfficialPlugin","revision-start","then","deletions","mousedown","conversion","ck-revision-history-root--active","addRevisionData","done","text","checkAttribute"];return(yr=function(){return t})()}function gr(t,e){const i=yr();return(gr=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=gr,i=t();for(;;)try{if(979527===-parseInt(e(526))/1+-parseInt(e(352))/2+parseInt(e(527))/3+-parseInt(e(279))/4+parseInt(e(416))/5+parseInt(e(588))/6*(-parseInt(e(357))/7)+parseInt(e(401))/8*(parseInt(e(581))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yr);const kr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class br extends qi.Plugin{static get[vr(348)](){return vr(460)}static get[vr(537)](){return!0}static get[vr(473)](){return!0}static get[vr(376)](){return[Bi.Users,Vn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(503)]=this[e(558)][e(484)][e(452)](e(522)),this[e(598)](e(351),null),this[e(598)](e(361),null),this[e(495)]=null,this[e(598)](e(365),null),this[e(598)](e(410),!1),this[e(598)](e(597),!0),this.on(e(380),((t,i,n)=>{const r=e;this[r(351)]=null,this[r(361)]=null,this[r(558)][r(372)][r(487)][r(445)]((t=>{const e=r;for(const i of this[e(558)][e(372)][e(487)][e(438)][e(315)])n?t[e(273)](e(442),i):t[e(506)](e(442),i)}))})),this[e(413)](e(312)).to(this,e(351),(t=>null!==t)),this[e(413)](e(589)).to(this,e(410),this,e(365),this,e(351),((t,i,n)=>t&&n?i[e(569)][e(493)](n):0)),this[e(413)](e(444)).to(this,e(410),this,e(365),((t,i)=>t?i[e(569)][e(481)]:0)),this[e(601)]=null,this[e(440)]=new Map,this[e(508)]=null,this[e(535)]=this[e(558)][e(484)][e(452)](Vn.ContextualBalloon)}[vr(370)](){const t=vr,e=this[t(558)],i=new Ir(e,{direction:t(425)}),n=new Ir(e,{direction:t(337)});e[t(533)][t(576)](t(498),i),e[t(533)][t(576)](t(430),n),e[t(533)][t(576)](t(321),new _r(e)),this.on(t(364),(()=>{const e=t;i[e(335)](),n[e(335)]()})),this[t(505)](),this[t(300)](),e[t(451)](t(518)),e[t(484)][t(557)](t(367))&&e[t(484)][t(452)](t(367))[t(507)](t(518))}async[vr(596)](t){const e=vr;await this[e(570)](t);const i={};for(const n in t[e(277)]){if(t[e(277)][n][e(586)]&&!t[e(277)][n][e(586)][e(515)])continue;const r=this[e(524)](JSON[e(419)](t[e(277)][n][e(271)])),s=this[e(558)][e(372)][e(487)][e(438)],o=new Yi.ViewDocumentFragment(s,r[e(580)]((t=>this[e(282)](t))));this[e(558)][e(439)][e(334)][e(459)](e(470)),i[n]=this[e(558)][e(439)][e(334)][e(488)](o),this[e(558)][e(439)][e(334)][e(459)](e(520))}return i}async[vr(265)](t){const e=vr;await this[e(570)](t);const i={};for(const n in t[e(277)])t[e(277)][n][e(586)]&&!t[e(277)][n][e(586)][e(515)]||(i[n]=t[e(277)][n][e(494)]||{});return i}[vr(524)](t){const e=vr;return(t=t[e(328)]((t=>!t[e(302)]||e(538)!==t[e(302)]&&e(509)!==t[e(302)])))[e(405)]((t=>{const i=e;i(415)!=typeof t&&(t[i(577)]=this[i(524)](t[i(577)]),t[i(555)]=t[i(555)][i(328)]((t=>!t[0][i(472)](i(475)))))})),t}async[vr(324)](t,e,i=!1){const n=vr;if(!this[n(597)])return;const r=this[n(365)],s=this[n(503)],o=n(415)==typeof t?s[n(454)](t):t,a=n(415)==typeof e?s[n(454)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(365)]&&this[n(365)][n(455)]===c&&this[n(365)][n(428)]===u)return Promise[n(587)]();this[n(410)]=!1,this[n(361)]=null,this[n(351)]=null,this[n(365)]=new fr(c,u);const l=this[n(399)](o,a,!0)[n(580)]((t=>this[n(570)](t)));return l[n(385)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(467)](l)[n(539)]((()=>{const t=n;if(!this[t(597)])return;this[t(304)]();const e=this[t(573)](c,u);for(const i of e[t(569)])this[t(440)][t(598)](i.id,i);this[t(558)][t(462)][t(406)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(558)][n(462)][n(438)][n(480)]())i[n(311)](t);for(const t of Object[n(491)](e[n(462)])){const r=i[n(528)](t);for(const s of Object[n(491)](e[n(555)][t]))i[n(333)](s,e[n(555)][t][s],r);i[n(395)](e[n(462)][t],r,0)}})),this[t(365)][t(531)](this[t(303)](e[t(569)])),this[t(410)]=!0}))[n(446)]((t=>{const e=n;console[e(525)](t),this[e(304)](),r&&(this[e(365)]=r),this[e(410)]=!0}))}[vr(544)](t,e){const i=vr,n=this[i(503)][i(433)](t);return n.on(i(409),((t,i,r)=>e(i,r,n))),this[i(503)][i(292)](n),n}[vr(570)](t){const e=vr;if(!t||t[e(277)])return Promise[e(587)]();{const i=this[e(558)][e(489)][e(452)](e(377));return this[e(508)][e(454)]({channelId:i,revisionId:t.id})[e(539)]((i=>{const n=e;t[n(409)]({diffData:i[n(277)]},!0)}))}}[vr(304)](){const t=vr;this[t(351)]=null,this[t(565)](),this[t(601)]&&this[t(601)][t(389)](),this[t(601)]=null,this[t(440)][t(296)](),this[t(558)][t(462)][t(406)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(558)][i(462)][i(438)][i(480)]())e[i(311)](t)}))}[vr(303)](t){const e=vr,i=[],n=new Map;for(const t of this[e(558)][e(462)][e(438)][e(480)]()){const r=this[e(558)][e(372)][e(487)][e(523)](t);if(!r)continue;const s=r[e(483)]()[e(499)](0);s&&(i[e(385)](t),n[e(598)](t,s))}return i[e(286)](((t,i)=>{const r=e,s=n[r(452)](t),o=n[r(452)](i);return s.y-o.y||s.x-o.x})),(t=t[e(328)]((t=>i[e(387)](t[e(593)]))))[e(286)](((t,n)=>i[e(478)](t[e(593)])-i[e(478)](n[e(593)]))),t}[vr(500)](t){const e=vr,i=Array[e(575)](t[e(393)])[e(328)]((([t,i])=>t[e(472)](e(566))&&!i[e(453)])),n=Array[e(575)](this[e(558)][e(462)][e(583)](t)[e(437)]({singleCharacters:!0}));if(0!=i[e(481)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(290)](":");if(r[e(582)][e(517)](t[e(284)])&&i[e(371)](),(t[e(552)][e(517)](r[e(342)])||t[e(552)][e(390)](r[e(342)]))&&(e(363)==s?t[e(341)]={userId:o}:e(595)==s&&(t[e(599)]={userId:o})),0==i[e(481)])break}return n}[vr(317)](t){const e=vr,i=new Map;for(let n=0;n<t[e(481)];n++)e(546)===t[n][e(519)]?(t[n][e(499)][e(578)]=n,t[n][e(499)][e(511)]=n):(e(574)===t[n][e(519)]?t[n][e(499)][e(578)]=n:e(269)===t[n][e(519)]&&(t[n][e(499)][e(511)]=n),i[e(598)](t[n].id,n));for(const n of i[e(564)]())e(574)===t[n][e(519)]?t[n][e(499)][e(511)]=i[e(452)](t[n][e(600)]):e(269)===t[n][e(519)]&&(t[n][e(499)][e(578)]=i[e(452)](t[n][e(600)]))}[vr(556)](t){const e=vr;for(let i=0;i<t[e(481)];i++){if(e(574)===t[i][e(519)])t[i][e(499)][e(578)]=i;else if(e(269)===t[i][e(519)]){t[i][e(499)][e(511)]=i;const n=t[i][e(499)][e(578)];t[n][e(600)]=t[i].id,t[i][e(600)]=t[n].id}else t[i][e(499)][e(578)]=i,t[i][e(499)][e(511)]=i,t[i][e(600)]=null;t[i][e(350)]||(t[i][e(350)]=[],t[i][e(429)]=[])}}[vr(485)](t,e){const i=vr,n=t[i(328)]((t=>!t[i(341)]));for(let t=0;t<e[i(481)];t++)e[t][i(341)]&&(n[t][i(341)]=e[t][i(341)])}[vr(490)](t){const e=vr,i=JSON[e(419)](t),n=this[e(558)][e(372)][e(487)][e(438)],r=new Yi.ViewDocumentFragment(n,i[e(580)]((t=>this[e(282)](t))));return this[e(558)][e(439)][e(384)](r)}[vr(282)](t){const e=vr,i=this[e(558)][e(372)][e(487)][e(438)];if(e(415)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(577)][e(580)]((t=>this[e(282)](t)));return new(kr[t[e(519)]]||Yi.ViewElement)(i,t[e(302)],t[e(555)],n)}}[vr(573)](t,e=null){const i=vr,n=this[i(503)][i(454)](t),r=e?this[i(503)][i(454)](e):null,s=this[i(399)](n,r),o=s[s[i(481)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(481)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(491)](e[i(277)]))if(e[i(277)][t][i(586)]){const n=e[i(277)][t][i(586)];n[i(515)]?(u[i(576)](t),l[i(557)](t)&&l[i(452)](t)[i(379)]==n[i(379)]?l[i(295)](t):l[i(598)](t,n)):l[i(557)](t)?(u[i(295)](t),l[i(295)](t)):(u[i(576)](t),l[i(598)](t,n))}else u[i(576)](t)}for(const t of u){const e=l[i(557)](t)&&!l[i(452)](t)[i(515)];let n=e?s[i(481)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(277)][t]){const n=e?o[i(277)][t][i(308)]:o[i(277)][t][i(494)];c[i(555)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(462)]={};for(const e of t[i(388)])a[i(598)](e.id,e);for(const e of u){const n=t[i(277)][e]?t[i(277)][e][i(271)]:"[]",r=t[i(277)][e]?t[i(277)][e][i(540)]:"[]";t[i(462)][e]={insertions:this[i(490)](n),deletions:this[i(490)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(575)](n[i(462)][t][i(271)][i(393)])[i(328)]((([t])=>!t[i(472)](i(566)))));let h=0;for(const o of s){const s=this[i(500)](o[i(462)][t][i(271)]);o==n?(e=s,r=e[i(481)],e[i(405)]((t=>{t.id=h++})),this[i(556)](e)):this[i(485)](e,s);const a=e[i(328)]((t=>!t[i(341)]))[i(580)]((t=>t.id));let c=0;const l=this[i(500)](o[i(462)][t][i(540)]);l[i(405)]((t=>{t[i(599)]?t.id=r++:t.id=a[c++]})),this[i(556)](l),this[i(267)](e,i(341)),this[i(267)](l,i(599)),o==n&&this[i(579)](e,u),e=this[i(323)](e,l),this[i(317)](e),this[i(267)](e,i(599))}e=e[i(328)]((t=>!(t[i(341)]&&t[i(599)])));const d=new Map(o[i(462)][t][i(540)][i(393)]),f=new Set(u[i(491)]());for(const t of d[i(491)]())f[i(295)](t);this[i(553)](e,f),this[i(400)](e),e=this[i(358)](e),e=this[i(461)](e),e=this[i(298)](e);const{root:m,changes:p}=this[i(382)](e,a,t);c[i(462)][t]=m;const v=l[i(452)](t);if(v){const e=a[i(452)](v[i(379)]),n=new ur({author:e,type:v[i(515)]?i(576):i(396),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(306)](n),c[i(555)][t][i(381)]=n.id}c[i(569)]=c[i(569)][i(530)](p)}return c}[vr(579)](t,e){const i=vr;for(let n=0;n<t[i(481)];n++)for(const[r,s]of e)s[i(342)][i(517)](t[n][i(552)])&&t[n][i(350)][i(385)](r),s[i(582)][i(517)](t[n][i(284)])&&t[n][i(429)][i(385)](r)}[vr(323)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(481)]||s<e[i(481)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(385)](o);else if(a[i(599)]&&o[i(341)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(458)](t,r,e,s);n=n[i(530)](o),r=a,s=c}else a[i(599)]?(s++,n[i(385)](a)):(r++,n[i(385)](o))}return n}[vr(553)](t,e){const i=vr,n=[];for(let o=0;o<t[i(481)];o++){for(let s=0;s<t[o][i(350)][i(481)];s++){const a=t[o][i(350)][s];if(!e[i(557)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(510)!=c||i(363)!=u&&i(595)!=u||(n[i(306)]({type:u,name:a,userId:l}),t[o][i(350)][i(479)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(429)][i(481)];s++){const a=t[o][i(429)][s];if(!e[i(557)](a))continue;const{group:c,type:u}=r(a);if(i(510)!=c||i(363)!=u&&i(595)!=u)continue;t[o][i(429)][i(479)](s,1),s--;const l=n[i(359)]((t=>t[i(302)]==a));l>-1&&n[i(479)](l,1)}}function r(t){const e=i,n=t[e(290)](":");return{group:n[0],type:n[1],subType:n[e(481)]>=5?n[2]:null,id:n[e(481)]<5?n[2]:n[3],authorId:n[e(481)]<5?n[3]:n[4],markerCount:6==n[e(481)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(481)];i++){if(t[e(341)]&&e(363)==n[i][e(519)])return t[e(562)]=n[i],void delete t[e(341)];if(!t[e(341)]&&!t[e(599)]&&e(595)==n[i][e(519)])return void(t[e(572)]=n[i])}}}[vr(267)](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(598)](o.id,n);for(let n=0;n<t[i(481)];n++){if(i(599)==e&&t[n][i(341)]||i(341)==e&&t[n][i(599)])continue;if(i(546)==t[n][i(519)]){t[n][i(492)]=0;continue}const r=s[i(452)](t[n][i(600)]),o=s[i(452)](t[n].id);t[n][i(492)]=r-o}}[vr(399)](t,e,i=!1){const n=vr,r=[];let s=this[n(503)][n(493)](t),o=this[n(503)][n(493)](e);for(-1==o&&(o=this[n(503)][n(310)][n(481)],i=!1);s<o;)r[n(385)](this[n(503)][n(454)](s)),s++;return i&&r[n(385)](this[n(503)][n(454)](s)),r}[vr(458)](t,e,i,n){const r=vr,s=this[r(558)][r(462)][r(529)];let o=e;for(;t[o]&&t[o][r(341)];)o++;let a=n;for(;i[a]&&i[a][r(599)];)a++;u(t,e,o),u(i,n,a);const c=i[r(514)](n,a)[r(530)](t[r(514)](e,o));return c[r(286)](((t,e)=>t[r(287)]!=e[r(287)]?t[r(287)]-e[r(287)]:t[r(431)]!=e[r(431)]?t[r(431)]-e[r(431)]:t[r(492)]!=e[r(492)]?e[r(492)]-t[r(492)]:!!t[r(341)]!=!!e[r(341)]?-1==t[r(287)]||0==t[r(287)]?t[r(341)]?-1:1:t[r(341)]?1:-1:t[r(355)]-e[r(355)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(403)],c=!0;for(let r=e;r<i;r++)if(s[n(293)](t[r][n(499)])||(c=!1),t[r][n(499)][n(578)]<e&&(o=r),t[r][n(499)][n(511)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(287)]=r<=o?-1:r<a?0:1,t[r][n(355)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(492)]?t[i][n(431)]=u:(u++,t[i][n(431)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(287)]&&(t[r][n(431)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(492)]?t[e][n(431)]=u:(u--,t[e][n(431)]=u,u--)}}[vr(400)](t){const e=vr,i=new Map,n=this[e(558)][e(462)][e(529)];for(let r=1;r<t[e(481)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(546)==c[e(519)])continue;if(c[e(519)]!=u[e(519)])continue;if(!n[e(560)](u[e(499)])||n[e(441)](u[e(499)]))continue;if(!n[e(560)](c[e(499)])||n[e(441)](c[e(499)]))continue;if((t[r][e(341)]||t[r][e(562)])&&t[r-1][e(599)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(599)]||!t[r-1][e(341)]&&!t[r-1][e(562)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(431)]==o[e(431)],h=Math[e(340)](s[e(431)])<Math[e(340)](o[e(431)])&&0==o[e(492)];(l||h)&&(i[e(598)](o.id,s.id),t[e(479)](a,1),r--,s[e(341)]=!1)}for(let n=0;n<t[e(481)];n++)i[e(557)](t[n][e(600)])&&(t[n][e(600)]=i[e(452)](t[n][e(600)]))}[vr(358)](t){const e=vr,i=new Set(t[e(580)]((t=>t.id)));for(let n=0;n<t[e(481)];n++)i[e(557)](t[n][e(600)])||0==t[n][e(492)]||(t[n][e(417)]=!0);return t[e(328)]((t=>!t[e(417)]))}[vr(461)](t){const e=vr,i=new Set;for(let n=0;n<t[e(481)];n++){if(i[e(557)](t[n].id)&&t[n][e(599)]&&(t[n][e(417)]=!0),t[n][e(417)])continue;if(0==t[n][e(492)])continue;if(e(574)!=t[n][e(519)])continue;if(null==t[n][e(600)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(600)];)e(574)==t[r][e(519)]?s++:e(269)==t[r][e(519)]&&s--,r++;if(0!=s)if(t[n][e(599)])t[n][e(417)]=!0;else for(;r!=n;)t[r][e(599)]&&0!=t[r][e(492)]&&(t[r][e(417)]=!0,i[e(576)](t[r][e(600)])),r--}return t[e(328)]((t=>!t[e(417)]))}[vr(298)](t){const e=vr,i=this[e(558)][e(462)][e(529)];for(let n=0;n<t[e(481)];n++){if(!(t[n][e(341)]||t[n][e(562)]||t[n][e(599)]||t[n][e(572)]))continue;if(0==t[n][e(492)])continue;const r=t[n][e(499)];i[e(560)](r)||i[e(441)](r)||(t[n][e(341)]&&delete t[n][e(341)],t[n][e(562)]&&delete t[n][e(562)],t[n][e(572)]&&delete t[n][e(572)],t[n][e(599)]&&(t[n][e(417)]=!0))}return t[e(328)]((t=>!t[e(417)]))}[vr(382)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(558)][n(462)],c=a[n(529)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(481)];e++)if(n(574)===t[e][n(519)]){t[e][n(552)]=a[n(285)](r,f);const i=new Yi.Element(t[e][n(499)][n(302)],t[e][n(499)][n(424)]());u[0][n(447)](i),f[n(385)](0),u[n(306)](i),t[e][n(284)]=a[n(285)](r,f)}else n(269)===t[e][n(519)]?(u[n(371)](),t[e][n(552)]=a[n(285)](r,f),f[n(369)](),f[f[n(481)]-1]++,t[e][n(284)]=a[n(285)](r,f)):(t[e][n(552)]=a[n(285)](r,f),d?d[n(280)]+=t[e][n(499)][n(439)]:d=new Yi.Text(t[e][n(499)][n(439)],t[e][n(499)][n(424)]()),t[e+1]&&n(546)===t[e+1][n(519)]&&v(d,t[e+1][n(499)])||(u[0][n(447)](d),d=null),f[f[n(481)]-1]+=t[e][n(499)][n(397)],t[e][n(284)]=a[n(285)](r,f));for(let e=0;e<t[n(481)];e++){const i=t[e][n(552)],r=t[e][n(284)];for(const r of t[e][n(350)])o[n(598)](r,{start:i,end:null});m(n(572),e,i,r),m(n(562),e,i,r),m(n(599),e,i,r),m(n(341),e,i,r);for(const i of t[e][n(429)])o[n(452)](i)[n(582)]=r}for(const[t,e]of o){const i=this[n(558)][n(462)][n(299)](e[n(342)],e[n(582)]);r[n(393)][n(598)](t,i)}return s[n(286)](((t,e)=>{const i=n,s=r[i(393)][i(452)](i(566)+t.id),o=r[i(393)][i(452)](i(566)+e.id);return s[i(342)][i(457)](o[i(342)])?-1:s[i(342)][i(390)](o[i(342)])?1:s[i(582)][i(457)](o[i(582)])?-1:s[i(582)][i(390)](o[i(582)])?1:i(576)===t[i(519)]?-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(379)]:null,d=i===t[o(481)]-1,f=h[e][0],m=c[o(426)](t[i][o(499)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(582)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(379)]!==u&&(l[e][o(582)]=r,f&&f[o(379)]===l[e][o(379)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(574)!==t[i][o(519)]||f&&f[o(379)]===u||h[e][o(306)]({userId:u,object:t[i][o(499)],change:l[e]}),o(269)===t[i][o(519)]&&f&&f[o(378)]===t[i][o(499)]&&(h[e][o(371)](),l[e]=f[o(445)])),l[e]&&d&&(l[e][o(582)]=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(499)],f=a[h(529)][h(560)](d)&&!a[h(529)][h(441)](d),m=t[h(294)]==o[h(418)]&&o[h(534)];if(f&&m)return;const p=a[h(299)](t,o),v=e[h(452)](u),y=new ur({author:v,type:h(341)==l||h(562)==l?h(576):h(396),data:{isSuggestion:h(562)==l||h(572)==l},createdAt:new Date,rootName:i});s[h(385)](y),r[h(393)][h(598)](h(566)+y.id,p)}function v(t,e){const i=n,r=t[i(424)](),s=e[i(424)]();for(const t of r){if(t[1]!==e[i(319)](t[0]))return!1;s[i(468)]()}return s[i(468)]()[i(545)]}}[vr(505)](){const t=vr;this[t(558)][t(542)][t(404)](t(353))[t(432)]({view:t(305)}),this[t(558)][t(542)][t(404)](t(567))[t(272)]({model:t(305),view:e=>{const i=t,n=e[i(449)][i(290)](":")[1],r=this[i(549)](n);if(!r)return null;const s=i(576)==r[i(519)]?i(363):i(595),o=[i(275),i(469)+s];return r[i(439)][i(435)]&&o[i(385)](i(469)+s+i(422)),this[i(351)]==r&&o[i(385)](i(289)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(558)][t(542)][t(404)](t(353))[t(576)]((e=>{const i=t;e.on(i(436),((t,e,n)=>{const r=i,s=e[r(466)][r(463)](0);if(!s||!s.is(r(402),r(356)))return;if(!n[r(568)][r(347)](s,{attributes:[r(314),r(448)]}))return;const o=e[r(502)][r(342)][r(294)];n[r(307)][r(333)](r(314),s[r(319)](r(314)),o),n[r(307)][r(333)](r(448),s[r(319)](r(448)),o)}),{priority:i(349)})})),this[t(558)][t(542)][t(404)](t(353))[t(576)]((e=>{const i=t;e.on(i(402),((t,e,n)=>{const r=i;if(!n[r(568)][r(347)](e[r(466)],{attributes:[r(314),r(448)]}))return;if(e[r(502)][r(453)])return;const s=e[r(502)][r(342)][r(294)];s[r(391)](r(314))||s[r(391)](r(532))||(n[r(307)][r(333)](r(314),e[r(466)][r(319)](r(314)),s),n[r(307)][r(333)](r(448),e[r(466)][r(319)](r(448)),s))}),{priority:i(349)})})),this[t(558)][t(542)][t(404)](t(353))[t(339)]({view:{name:t(496),attributes:{vid:!0}},model:{key:t(532),value:e=>e[t(319)](t(532))}}),this[t(558)][t(462)][t(529)].on(t(547),((e,[,i])=>{const n=t;[n(314),n(448),n(532)][n(387)](i)&&(e[n(360)]=!0,e[n(362)]())}),{priority:t(482)}),this[t(558)][t(542)][t(404)](t(329))[t(576)]((e=>{const i=t;e.on(i(585),((t,e,n)=>{const r=i;if(" "!=e[r(499)][r(439)]||e[r(499)][r(418)][r(268)]>1)return;if(!n[r(568)][r(347)](e[r(499)],t[r(302)]))return;const s=n[r(307)],o=n[r(474)][r(408)](e[r(450)]);s[r(421)](o,s[r(398)](r(496)))}))})),this[t(558)][t(542)][t(404)](t(329))[t(548)]({model:t(305)}),this[t(558)][t(372)][t(327)].on(t(344),function(e){const i=t,n=e[i(484)][i(452)](i(460));return(t,r,s)=>{const o=i,a=r[o(449)][o(290)](":")[1],c=n[o(549)](a);if(!c)return null;const u=o(576)==c[o(519)]?o(290):o(554);if(!s[o(568)][o(407)](r[o(354)],t[o(302)]))return;const l=r[o(354)][o(437)](),h=r[o(354)][o(342)],d=e[o(462)][o(529)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(499)];p=p||d[o(594)](e);const i=s[o(474)][o(383)](e);if(i&&i[o(412)](o(434)))return;o(269)==t[o(519)]&&d[o(560)](e)&&!d[o(441)](e)&&(e[o(332)]||h[o(322)]?f&&f[o(418)]==e||(f=e,y(t[o(552)]),v=!0):m=m||t[o(552)])}function y(t){const e=o,i=s[e(307)][e(343)](e(496),{class:e(469)+u}),a=s[e(474)][e(266)](t);c[e(439)][e(435)]&&s[e(307)][e(506)](e(469)+u+e(422),i),n[e(351)]==c&&s[e(307)][e(506)](e(289),i),s[e(307)][e(395)](a,i),s[e(474)][e(590)](i,r[e(449)])}p||v||!m||y(m)}}(this[t(558)]),{priority:t(550)}),this[t(558)][t(372)][t(327)].on(t(318),((e,i,n)=>{const r=t,s=n[r(474)][r(471)](i[r(449)]);if(s)for(const t of s)(t[r(497)](r(288))||t[r(497)](r(536)))&&(n[r(474)][r(501)](t,i[r(449)]),n[r(307)][r(396)](t))}),{priority:t(550)}),this[t(558)][t(372)][t(327)].on(t(344),((e,i,n)=>{const r=t,s=i[r(449)][r(290)](":")[1],o=this[r(549)](s);if(!o)return null;const a=r(576)==o[r(519)]?r(290):r(554);if(n[r(568)][r(407)](i[r(354)],e[r(302)]))for(const t of i[r(354)][r(301)]()){if(!t.is(r(402),r(591)))continue;const e=n[r(307)][r(343)](r(496),{class:r(469)+a}),s=n[r(474)][r(266)](this[r(558)][r(462)][r(330)](t));o[r(439)][r(435)]&&n[r(307)][r(506)](r(469)+a+r(422),e),this[r(351)]==o&&n[r(307)][r(506)](r(289),e),n[r(307)][r(395)](s,e),n[r(474)][r(590)](e,i[r(449)])}}),{priority:t(550)}),this[t(558)][t(462)][t(438)].on(t(445),(()=>{const e=t;this[e(558)][e(372)][e(487)][e(445)]((t=>{const i=e;for(const e of this[i(558)][i(462)][i(438)][i(480)]()){const n=this[i(558)][i(462)][i(438)][i(464)](e),r=this[i(558)][i(372)][i(487)][i(438)][i(464)](e);if(r){const e=n[i(319)](i(381));if(t[i(375)](i(320),r),t[i(273)](i(274),r),t[i(273)](i(476),r),t[i(273)](i(543),r),e){const n=this[i(549)](e);if(!n)return null;t[i(333)](i(320),e,r),t[i(506)](i(326)+n[i(519)],r),this[i(351)]==n&&t[i(506)](i(543),r)}}}}))})),this[t(558)][t(542)][t(404)](t(353))[t(432)]({view:t(276),model:e=>t(504)+e,converterPriority:t(482)}),this[t(558)][t(542)][t(404)](t(353))[t(432)]({view:t(331),model:e=>t(427)+e,converterPriority:t(482)}),this[t(558)][t(542)][t(404)](t(329))[t(548)]({model:t(510),view:e=>({name:t(423)+e,group:t(510)}),converterPriority:t(482)}),this[t(558)][t(542)][t(404)](t(567))[t(272)]({model:t(510),view:e=>{const i=t,n=e[i(449)][i(290)](":")[1];return i(363)!=n&&i(595)!=n?null:{classes:[i(325),i(571)+n]}}}),this[t(558)][t(372)][t(327)].on(t(368),wr(this[t(558)],t(554)),{priority:t(550)}),this[t(558)][t(372)][t(327)].on(t(513),wr(this[t(558)],t(290)),{priority:t(550)}),this[t(558)][t(372)][t(327)].on(t(551),((e,i,n)=>{const r=t,s=n[r(474)][r(471)](i[r(449)]);if(s)for(const t of s)t.is(r(309))&&(n[r(474)][r(501)](t,i[r(449)]),n[r(307)][r(396)](t))}),{priority:t(550)})}[vr(549)](t){const e=vr;return this[e(440)][e(452)](t)}[vr(563)](t){const e=vr;return this[e(601)]&&this[e(601)][e(389)](),this[e(601)]=new sr(this[e(558)][e(414)],t),this[e(601)]}[vr(300)](){const t=vr;this[t(558)][t(462)][t(438)][t(420)][t(443)](t(305)),this.on(t(313),((e,i,n,r)=>{const s=t;r&&this[s(535)][s(396)](r),n&&(this[s(535)][s(576)]({view:n,stackId:s(297),position:{target:()=>{const t=s,e=this[t(558)][t(372)],i=this[t(549)](n[t(366)]);let r;if(i[t(439)][t(592)]){const n=e[t(487)][t(523)](i[t(593)]);r=Array[t(575)](n[t(483)]())}else{const i=this[t(558)][t(462)][t(393)][t(452)](t(566)+n[t(366)]);r=Array[t(575)](e[t(474)][t(471)](i[t(302)]))[t(580)]((i=>e[t(487)][t(516)][t(346)](i)))[t(580)]((e=>Array[t(575)](e[t(483)]())))[t(521)]()}return this[t(495)]&&r[t(512)]((e=>e[t(456)]-3<=this[t(495)].y&&e[t(283)]+3>=this[t(495)].y&&e[t(411)]-3<=this[t(495)].x&&e[t(291)]+3>=this[t(495)].x))||r[0]}}}),this[s(535)][s(386)](s(297)))})),this.on(t(561),((e,i,n,r)=>{const s=t;this[s(361)]=n?this[s(563)](n):null,this[s(558)][s(462)][s(445)]((()=>{const t=s,e=this[t(558)][t(372)];r&&(r[t(439)][t(592)]?e[t(487)][t(445)]((i=>{const n=t;i[n(273)](n(543),e[n(487)][n(438)][n(464)](r[n(593)]))})):e[t(336)](t(566)+r.id)),n&&(n[t(439)][t(592)]?e[t(487)][t(445)]((i=>{const r=t;i[r(506)](r(543),e[r(487)][r(438)][r(464)](n[r(593)]))})):e[t(336)](t(566)+n.id))}))})),this[t(373)](this[t(558)][t(372)][t(487)][t(438)],t(394),((e,i)=>{const n=t;if(this[n(351)])return;const r=this[n(345)](i[n(281)]),s=this[n(440)][n(452)](r);s?(this[n(495)]={x:i[n(338)].x,y:i[n(338)].y},this[n(361)]=this[n(563)](s)):(this[n(495)]=null,this[n(361)]=null)})),this[t(373)](this[t(558)][t(372)][t(487)][t(438)],t(541),((e,i)=>{const n=t,r=this[n(345)](i[n(281)]),s=this[n(440)][n(452)](r);s?(this[n(495)]={x:i[n(338)].x,y:i[n(338)].y},s===this[n(351)]?this[n(535)][n(559)]():this[n(351)]=s):(this[n(495)]=null,this[n(351)]=null)}))}[vr(345)](t){const e=vr;do{const i=t[e(319)](e(320));if(i)return i;t=t[e(418)]}while(t);return null}[vr(565)](){const t=vr;this[t(558)][t(462)][t(445)]((e=>{const i=t;for(const t of this[i(558)][i(462)][i(393)])e[i(477)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=gr;if(!r[s(568)][s(407)](n[s(354)],i[s(302)]))return;const o=n[s(354)][s(437)](),a=n[s(354)][s(342)],c=t[s(462)][s(529)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(499)];h=h||c[s(594)](e);const i=r[s(474)][s(383)](e);if(i&&i[s(412)](s(434)))return;s(269)==t[s(519)]&&c[s(560)](e)&&!c[s(441)](e)&&(e[s(332)]||a[s(322)]?u&&u[s(418)]==e||(u=e,f(t[s(552)]),d=!0):l=l||t[s(552)])}function f(t){const i=s,o=r[i(474)][i(266)](t),a=r[i(307)][i(343)](i(496),{class:i(571)+e});r[i(307)][i(395)](o,a),r[i(474)][i(590)](a,n[i(449)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(484)][e(452)](br);this[e(316)]=!1,this[e(373)](i,e(392),(()=>this[e(335)]())),this[e(373)](i,e(380),(()=>this[e(335)]()))}[vr(584)](){const t=vr,e=this[t(558)],i=e[t(484)][t(452)](br),n=i[t(410)]?i[t(365)][t(455)]:null;e[t(489)][t(452)](t(374))[t(278)](n)}[vr(335)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(558)][t(484)][t(452)](br),s=r&&n[t(270)](r[t(455)]);this[t(597)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(484)][i(452)](br);this[i(316)]=!1,this[i(486)]=i(337)===e?1:-1,this[i(373)](n,i(392),(()=>this[i(335)]())),this[i(373)](n,i(380),(()=>this[i(335)]())),this[i(373)](n,i(561),(()=>this[i(335)]()))}[vr(584)](){const e=vr,i=this[e(558)],n=i[e(484)][e(452)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(351)]=r?n[e(365)][e(569)][e(452)](s+this[e(486)]):n[e(365)][e(569)][e(465)],n[e(351)][e(439)][e(592)])o=i[e(372)][e(487)][e(523)](n[e(351)][e(593)]);else{const t=i[e(462)][e(393)][e(452)](e(566)+n[e(351)].id);o=(0,Bi.getMarkerDomElement)(i[e(372)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(335)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(558)][t(484)][t(452)](br);this[t(597)]=!!(s&&r&&n)&&(!e||(1===this[t(486)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Zn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["span","numberOfChanges","execute","1776282nVYYmD","isNavigationMode","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","isEnabled","set","bindTemplate","88mqQSJQ","ck-revision-history-ui","Loading...","129sxYEWf","fire","Show next change","currentChangeNumber","43634NWPgmv","106890RbQVbP","4325270tehhRi","isReady","No changes","114376XgGRVL","forward","Show previous change","NUMBER_OF_CHANGES","Total","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__label","580836WUmTYs","ck-revision-history-ui__changes-navigation__wrapper","bind","setTemplate","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__navigation","108626HuoclU","isBackwardNavigationEnabled","_statusText","ck-hidden","isForwardNavigationEnabled","backward","9fedMEd","div"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=277]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(489281===parseInt(e(291))/1+-parseInt(e(279))/2*(-parseInt(e(318))/3)+-parseInt(e(284))/4+-parseInt(e(281))/5+-parseInt(e(308))/6+parseInt(e(297))/7*(parseInt(e(315))/8)+parseInt(e(303))/9*(-parseInt(e(280))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Nr extends Vn.View{constructor(t){const e=Tr;super(t);const i=this[e(314)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(313)](e(309),!1),this[e(313)](e(282),!1),this[e(313)](e(278),0),this[e(313)](e(306),0),this[e(313)](e(301),!1),this[e(313)](e(298),!1),this[e(293)](e(295)).to(this,e(282),this,e(306),((t,e)=>t&&e>0)),this[e(293)](e(299)).to(this,e(282),this,e(278),this,e(306),this,e(309),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(317));if(!r)return Qi(t,o(283));const a=Qi(t,o(287),r);return s?Qi(t,o(310),[n+1,r]):a})),n[e(313)]({label:Qi(t,e(286)),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(313)]({label:Qi(t,e(277)),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(293)](e(312)).to(this,e(298)),r[e(293)](e(312)).to(this,e(301)),n.on(e(307),(()=>this[e(319)](e(307),e(302)))),r.on(e(307),(()=>this[e(319)](e(307),e(285)))),this[e(294)]({tag:e(304),attributes:{class:["ck",e(316),e(289)]},children:[{tag:e(305),attributes:{class:[e(292)]},children:[{tag:e(305),attributes:{class:[e(290),i.if(e(295),e(300),(t=>!t))]},children:[{text:i.to(e(309),(i=>i?Qi(t,e(311))+": ":Qi(t,e(288))+": "))}]},{text:i.to(e(299))}]},new Vn.ToolbarSeparatorView,{tag:e(304),attributes:{class:[e(296)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Er;function Er(t,e){const i=Vr();return(Er=function(t,e){return i[t-=479]})(t,e)}function Vr(){const t=["isOfficialPlugin","14ZMUPCo","2VvyBMv","document","92848SvCxRj","removeClass","view","11710aukmoA","RevisionViewerLoadingOverlay","change","1078895JKOzDM","504NLBMuj","addClass","isPremiumPlugin","editing","3495723WVncwQ","hide","190664fPcWHu","show","editor","4uppdwf","roots","653724CUIIzp","1953qAoADG","ck-editor__editable__loading-overlay","pluginName"];return(Vr=function(){return t})()}!function(t){const e=Er,i=t();for(;;)try{if(140881===parseInt(e(495))/1+-parseInt(e(480))/2*(-parseInt(e(500))/3)+-parseInt(e(498))/4*(parseInt(e(488))/5)+parseInt(e(489))/6*(parseInt(e(479))/7)+parseInt(e(482))/8+parseInt(e(501))/9*(parseInt(e(485))/10)+-parseInt(e(493))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vr);const Dr=Mr(502);class Cr extends qi.Plugin{static get[Mr(503)](){return Mr(486)}static get[Mr(504)](){return!0}static get[Mr(491)](){return!0}[Mr(496)](){const t=Mr,e=this[t(497)][t(492)][t(484)];e[t(487)]((i=>{const n=t;for(const t of e[n(481)][n(499)])i[n(490)](Dr,t)}))}[Mr(494)](){const t=Mr,e=this[t(497)][t(492)][t(484)];e[t(487)]((i=>{const n=t;for(const t of e[n(481)][n(499)])i[n(483)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=343]})(t,e)}function Lr(){const t=["isEnabled","320847nHaVma","closeRevisionViewerCallback","requires","pluginName","5637786FjzKBq","1083153xykolt","isForwardNavigationEnabled","undo","forward","341522leMCfF","isReady","config","235NAWheU","bind","restoreRevision","ck-revision-history-ui__back-to-editing","isOfficialPlugin","listenTo","showPreviousChange","4273884upoKTf","isBackwardNavigationEnabled","set","componentFactory","currentChangeNumber","revisionHistory","Back to editing","editor","exitToEditing","init","isPremiumPlugin","252rhzicv","changesNavigation","hide","add","commands","isNavigationMode","RevisionViewerUI","21246AOfLJf","showNextChange","execute","change:isReady","Restore this revision","numberOfChanges","get","show","457528Chjwwj","plugins"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(649913===-parseInt(e(370))/1+parseInt(e(379))/2+parseInt(e(375))/3+parseInt(e(389))/4+-parseInt(e(382))/5*(-parseInt(e(359))/6)+parseInt(e(374))/7+parseInt(e(367))/8*(-parseInt(e(352))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[jr(373)](){return jr(358)}static get[jr(386)](){return!0}static get[jr(351)](){return!0}static get[jr(372)](){return[br,Cr]}[jr(350)](){const t=jr,e=this[t(348)],i=e[t(368)][t(365)](br),n=e[t(368)][t(365)](Cr);e.ui[t(344)][t(355)](t(349),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(343)]({label:Qi(i,n(347)),icon:qi.icons[n(377)],withText:!0,tooltip:!0,class:n(385)}),this[n(387)](r,n(361),(()=>{const t=n;e[t(381)][t(365)](t(346))[t(371)]()})),r})),e.ui[t(344)][t(355)](t(384),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(343)]({label:Qi(i,n(363)),withText:!0,tooltip:!0}),r[n(383)](n(369)).to(e[n(356)][n(365)](n(384))),this[n(387)](r,n(361),(()=>e[n(361)](n(384)))),r})),e.ui[t(344)][t(355)](t(353),(n=>{const r=t,s=new Nr(n),o=e[r(356)][r(365)](r(388)),a=e[r(356)][r(365)](r(360));return s[r(383)](r(390)).to(o,r(369)),s[r(383)](r(376)).to(a,r(369)),s[r(383)](r(380),r(345),r(364),r(357)).to(i),this[r(387)](s,r(361),((t,i)=>{const n=r;e[n(361)](n(378)===i?n(360):n(388))})),s})),n[t(366)](),i.on(t(362),((e,i,r)=>{const s=t;r?n[s(354)]():n[s(366)]()}))}}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;function Ur(){const t=["8993349bXvioB","_resizeObserver","value","Revision name","listenTo","4IAOtTl","scrollWidth","1716ZjasTr","2174409hBsolA","ck-tooltip_multi-line","51557BpwbRV","destroy","8PNYvxJ","clientWidth","2171911fKDgbH","_updateTooltipText","extendTemplate","Enter the revision name","164552SpdLgc","input","6gsMfpr","10tZntPP","placeholder","render","bindTemplate","10046280YUzQzP","ck-revision-history-sidebar__revision-name","fieldView","6121930DAuEHc","element","set","_tooltipString","span"];return(Ur=function(){return t})()}const Zr=$r;function $r(t,e){const i=Ur();return($r=function(t,e){return i[t-=238]})(t,e)}!function(t){const e=$r,i=t();for(;;)try{if(775117===-parseInt(e(250))/1*(-parseInt(e(244))/2)+-parseInt(e(240))/3*(-parseInt(e(270))/4)+-parseInt(e(260))/5+parseInt(e(252))/6*(-parseInt(e(246))/7)+parseInt(e(257))/8+-parseInt(e(265))/9*(parseInt(e(253))/10)+-parseInt(e(242))/11*(-parseInt(e(239))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ur);class Hr extends Vn.LabeledFieldView{constructor(t,e){const i=$r;super(t,e),this[i(266)]=null;const n=this[i(256)];this[i(262)]({label:Qi(t,i(268)),_tooltipString:""}),this[i(259)][i(254)]=Qi(t,i(249)),this[i(248)]({tag:i(264),attributes:{class:[i(258)],"data-cke-tooltip-text":n.to(i(263)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(241)}})}[Zr(255)](){const e=Zr;super[e(255)](),this[e(266)]=new t.ResizeObserver(this[e(259)][e(261)],(()=>this[e(247)]())),this[e(269)](this[e(259)],e(251),(()=>this[e(247)]()))}[Zr(243)](){const t=Zr;super[t(243)](),this[t(266)]&&this[t(266)][t(243)]()}[Zr(247)](){const t=Zr,e=this[t(259)][t(261)];this[t(263)]=e[t(238)]>e[t(245)]&&e[t(267)]||""}}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(){const t=["1ZMiXhJ","Revision creator","121NsvOBU","815215hNntVe","36qXVXLH","2105290EmSARg","ck-revision-history-sidebar__revision-author_creator","Revision author","1887698aiXDZU","ck-revision-history-sidebar__revision-author","span","668792qTxjlr","2509893ekWtoQ","setTemplate","0 0 11 10","push","18gRzvxh","1157569ZRYYqO","2723568fbVsqg","set","name","ck-revision-history-sidebar__revision-author__name"];return(Yr=function(){return t})()}function Jr(t,e){const i=Yr();return(Jr=function(t,e){return i[t-=380]})(t,e)}!function(t){const e=Jr,i=t();for(;;)try{if(531352===-parseInt(e(394))/1*(parseInt(e(380))/2)+parseInt(e(384))/3+-parseInt(e(390))/4+parseInt(e(397))/5+-parseInt(e(398))/6*(parseInt(e(389))/7)+-parseInt(e(383))/8*(parseInt(e(388))/9)+-parseInt(e(399))/10*(-parseInt(e(396))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Gr extends Vn.View{constructor(t,e,i){const n=Jr;super(t);const r=new Vn.IconView;r[n(391)]({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(386)});const s=["ck",n(381)];i&&s[n(387)](n(400));const o=[{tag:n(382),attributes:{class:["ck",n(393)],title:Qi(t,n(i?395:401))},children:[r,e[n(392)]]}];this[n(385)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=259]})(t,e)}function Xr(){var t=["8dKHWeq","3173859jVgUbT","6EMyuLt","numeric","2612724dqUxQq","toLocaleDateString","1100116OsrFqi","78gcuTmw","6424964eICvZC","293230dZvDSk","long","6223xajqIy","143QSjmbO","202GYAZSm","239575hMjpeO","13XzRffF","toLocaleTimeString"];return(Xr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(462767===parseInt(e(263))/1*(-parseInt(e(265))/2)+-parseInt(e(271))/3*(-parseInt(e(275))/4)+-parseInt(e(266))/5*(parseInt(e(259))/6)+parseInt(e(260))/7+-parseInt(e(269))/8*(parseInt(e(270))/9)+-parseInt(e(261))/10*(-parseInt(e(264))/11)+-parseInt(e(273))/12*(-parseInt(e(267))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Zn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(){const t=["6AsSsLG","menuitem","8vkvfbw","isActionsDropdownOpen","locale","action","10AwQYfw","map","8UmUTse","function","threeVerticalDots","6380MZRHYI","ck-on","listenTo","children","33854TMkahI","items","panelPosition","extendTemplate","109104gxRgHP","1184480oPLOFv","isVisible","buttonView","class","_action","find","button","304633CciclA","name","7116ldusid","isEnabled","add","Compare against selected","isReady","ck-revision-history-sidebar__revision__actions","isOpen","Name this revision","source","menu","Restore this revision","bind","bindTemplate","change:isActionsDropdownOpen","3780576XKAoWo","first","listView","execute","stopPropagation","model","1302025SlVbEU","Show more items","set"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=218]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(245098===parseInt(e(263))/1*(-parseInt(e(220))/2)+-parseInt(e(224))/3*(-parseInt(e(259))/4)+parseInt(e(254))/5*(-parseInt(e(257))/6)+-parseInt(e(232))/7+-parseInt(e(265))/8*(-parseInt(e(248))/9)+-parseInt(e(225))/10+-parseInt(e(268))/11*(-parseInt(e(234))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(es);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;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=498]})(t,e)}function as(){const t=["listenTo","isHighlighted","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_highlighted","_revision","unhighlight","deselect","length","196114MUHLHC","7920368cgZJpO","_requireRevisionName","ck-revision-history-sidebar__revision__controls-wrapper","isReady","22823802AUuFQC",".ck-thread__remove-confirm","uiLanguage","1878QlPiVl","highlight","ck-revision-history-sidebar__revision-wrapper","authors","4ivRxlA","name","value","set","setTemplate","render","element","closest","fieldView","span","bindTemplate","1999683QMxJhy","isEnabled","4747955HLbjGw","fire","ck-revision-history-sidebar__revision","createdAt","revisionActionsView","change","srcElement","unshift","220","extendTemplate","map","5909022MfULzi","from","creator","div","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-reset","filter","setName","1377IpuaDM","ck-revision-history-sidebar__revision_selected","revisionNameView","isConfirm","bind","isSelected","isActionsDropdownOpen","ck-disabled","ck-revision-history-sidebar__revision-authors","_createdAtFormatted","select","ck-revision-history-sidebar__actions_dropdown_open"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(678812===-parseInt(e(533))/1+parseInt(e(541))/2*(-parseInt(e(513))/3)+parseInt(e(545))/4*(-parseInt(e(558))/5)+-parseInt(e(505))/6+-parseInt(e(556))/7+parseInt(e(534))/8+parseInt(e(538))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(555)],a=function(t,e){const i=s,n=Array[i(506)](e[i(544)])[i(511)]((t=>t!=e[i(507)]));return e[i(507)]&&n[i(501)](e[i(507)]),n[i(504)]((n=>new Gr(t,n,n==e[i(507)])))}(e,i);this.id=i.id,this[s(529)]=i,this[s(535)]=r,this[s(517)](s(546),s(561)).to(i),this[s(517)](s(522)).to(this,s(561),(t=>{return i=e[s(540)],(n=t)[(r=Kr)(274)](i,{month:r(262),day:r(272)})+", "+n[r(268)](i,{hour:r(272),minute:r(272)});var i,n,r})),this[s(548)](s(518),!1),this[s(548)](s(526),!1),this[s(548)](s(519),!1),this[s(548)](s(537),!1),this[s(548)](s(557),!1),this[s(515)]=new Hr(e,Vn.createLabeledInputText),this[s(515)][s(553)][s(503)]({attributes:{maxlength:s(502)}}),this[s(515)][s(553)][s(517)](s(547)).to(this,s(546),(t=>t||this[s(522)])),this[s(515)][s(517)](s(557)).to(this,s(518),this,s(557),((t,e)=>t&&e)),this[s(498)]=n&&n[s(532)]?function(e,i){const n=is,r=e[n(246)],s=e[n(261)],o=(0,Vn.createDropdown)(s);o[n(222)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(261)],r={"Compare against selected":Qi(n,i(237)),"Name this revision":Qi(n,i(241)),"Restore this revision":Qi(n,i(244))};return e[i(264)]((t=>{const e=i,n=r[t[e(233)]];return n&&n!==t[e(233)]&&(t[e(233)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(231),model:new Vn.ViewModel({label:t[r(233)],class:t[r(228)],withText:!0,role:r(258),_action:t[r(262)]})};i[r(253)][r(245)](r(235)).to(e,r(260),(i=>r(266)!=typeof t[r(235)]||!i||t[r(235)](e))),o[r(236)](i)}return o}(e,i);return e[n(245)](n(260)).to(o,n(240)),o[n(227)][n(256)]({label:Qi(s,n(255)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(267)]}),o[n(223)]({attributes:{class:[n(239),r.if(n(260),n(269))]},on:{click:r.to((t=>t[n(252)]()))}}),o.on(n(251),(t=>{const i=n;e[i(238)]&&i(266)==typeof t[i(242)][i(229)]&&t[i(242)][i(229)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(243)}),o[n(218)](e,n(247),((t,r,s)=>{const a=n;if(s)for(const t of o[a(250)][a(221)]){const n=t[a(219)][a(249)],r=i[a(230)]((t=>t[a(262)]===n[a(229)]))[a(226)];t[a(226)]=void 0===r||r(e)}})),o}(this,n):"",this[s(498)]&&this[s(498)][s(517)](s(557)).to(this),this[s(549)]({tag:s(508),attributes:{class:["ck",s(510),s(543),o.if(s(516),s(509))]},children:[{tag:s(508),attributes:{class:["ck",s(510),s(560),o.if(s(557),s(520),(t=>!t)),o.if(s(518),s(514)),o.if(s(526),s(528)),o.if(s(519),s(524))]},children:[this[s(515)],{tag:s(554),attributes:{class:["ck",s(527)]},children:[{text:o.to(s(522))}]},{tag:s(508),attributes:{class:["ck",s(536)]},children:[{tag:"ul",attributes:{class:["ck",s(521)]},children:a}]},this[s(498)]],on:{click:o.to((t=>{const e=s;t[e(500)][e(552)](e(539))||this[e(537)]&&this[e(557)]&&this[e(559)](e(523),{id:this.id})}))}}]})}[ss(550)](){const t=ss;super[t(550)]();const e=this[t(515)][t(553)][t(551)];this[t(525)](e,t(499),(()=>{const i=t;this[i(535)]&&!e[i(547)]||this[i(559)](i(512),{id:this.id,name:e[i(547)]}),e[i(547)]||(e[i(547)]=this[i(546)]?this[i(546)]:this[i(522)])}))}[ss(523)](){this[ss(518)]=!0}[ss(531)](){this[ss(518)]=!1}[ss(542)](){this[ss(526)]=!0}[ss(530)](){this[ss(526)]=!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},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class $s extends Us{static get instance(){return null===Zs&&(Zs=new $s),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 Hs={};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={},Hs={}}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,Hs[n]||(Hs[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"})),Hs[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 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&&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&&Ho()&&(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=Jo(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,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?$s.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,$s.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 No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Vo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Eo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=$o(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 $o(t){return"number"==typeof t&&t%1==0}function Ho(){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 $o(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(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 Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Es,f:Vs,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[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 Na(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 Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Xo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function $a(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function Ha(t,e){return[{hours:$a(t,e,0),minutes:$a(t,e+1,0),seconds:$a(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(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ea(/(\d{4})-?(\d{3})/,Pa),uc=Ea(La),lc=Va((function(t,e){return[{year:$a(t,e),month:$a(t,e+1,1),day:$a(t,e+2,1)},null,e+3]}),Ha,qa,Ba),hc=Va(za,Ha,qa,Ba),dc=Va(Wa,Ha,qa,Ba),fc=Va(Ha,qa,Ba);const mc=Va(Ha);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Ea(Ua),yc=Va(Ha,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 Ac(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 Nc(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 Ac{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 Ac.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 Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Zo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.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?Ac.fromObject(i,e):Ac.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?Ac.fromObject(i,e):Ac.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 Ac({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=Ac.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=Ac.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[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.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 Nc(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=>Ac.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 Nc(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=Ac.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.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=Ac.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Ac.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=Ac.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):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return 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:Ho(),localeWeek:qo()}}}function Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.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 $c=null;function Hc(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=Hc(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(($c||($c=wu.fromMillis(1555555555555)),$c)),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 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=Ac.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=$o(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=$o(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Qa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Hc(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.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 Ac.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(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&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=["1733412apAreE","toJSDate","toRelativeCalendar","665zcfKWy","local","1135804zXsTMX","month","day","minus","5738868dfWlbg","50190anLjCE","456500PbZrmX","8gtDjAb","fromJSDate","startOf","612523iTELGE","weekdayLong","setLocale","monthLong","hasSame","week","8114176sDpXBh","year"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=406]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(427)](t)[i(408)](e),r=wu[i(418)](),s=r[i(422)]({days:1})[i(428)](i(421));let o,a;return n[i(410)](r,i(421))?(o=n[i(428)](i(421))[i(415)](),a=n[i(416)]()):n[i(410)](s,i(421))?(o=s[i(415)](),a=n[i(416)]()):n[i(410)](r,i(411))?(o=n[i(428)](i(411))[i(415)](),a=n[i(407)]||""):n[i(410)](r,i(413))?(o=n[i(428)](i(420))[i(415)](),a=n[i(409)]||""):(o=n[i(428)](i(413))[i(415)](),a=String(n[i(413)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(741132===-parseInt(e(406))/1+-parseInt(e(419))/2+parseInt(e(414))/3*(parseInt(e(426))/4)+-parseInt(e(425))/5+parseInt(e(424))/6*(-parseInt(e(417))/7)+parseInt(e(412))/8+parseInt(e(423))/9)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 Nu=Au;function Au(t,e){const i=Mu();return(Au=function(t,e){return i[t-=391]})(t,e)}!function(t){const e=Au,i=t();for(;;)try{if(936340===parseInt(e(407))/1*(parseInt(e(403))/2)+-parseInt(e(399))/3+-parseInt(e(416))/4*(-parseInt(e(400))/5)+parseInt(e(401))/6+-parseInt(e(409))/7*(parseInt(e(422))/8)+parseInt(e(411))/9+parseInt(e(391))/10*(-parseInt(e(415))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mu);class Ru extends Vn.View{constructor(t,e,i,n){const r=Au;super(t);const s=Ou(e,this[r(404)][r(423)])[r(421)];this[r(418)]=e,this[r(417)]=this[r(405)](),this[r(408)]=i,this[r(402)]=n,this[r(417)][r(397)](r(420)).to(this),this[r(417)][r(397)](r(398)).to(this),this[r(406)]({tag:r(395),attributes:{class:["ck",r(413)]},children:[{tag:r(396),attributes:{class:["ck",r(412)]},children:[{text:s}]},{tag:r(395),attributes:{class:["ck",r(410)]},children:this[r(417)]}]})}[Nu(419)](t){const e=Nu,i=new cs(this[e(404)],t,this[e(408)],this[e(402)]);this[e(417)][e(394)](i)}[Nu(392)](t){const e=Nu,i=this[e(417)][e(414)]((e=>e.id===t.id));this[e(417)][e(393)](i)}}function Mu(){const t=["select","localizedPeriodName","28520uTiKKx","uiLanguage","12563650UyiJWU","removeRevision","remove","add","div","span","delegate","setName","869262mdgcFT","5sAcjIg","4185570wAJOfT","_requireRevisionName","426312nBorFk","locale","createCollection","setTemplate","6iuSzsB","_revisionActions","3073TbPjct","ck-revision-history-sidebar__time-period__revisions","6385086INKRzz","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","find","11wBzDpY","5446036CgngNK","revisionViews","startDate","addRevision"];return(Mu=function(){return t})()}var Eu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Pn().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Zn();Cn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=152]})(t,e)}function Cu(){const t=["ck-revision-history-sidebar__header","188086LklAQX","setTemplate","231eYVYsk","Revision history","history","2407060GuTOet","7HnNHTY","2055445AvwLrN","ck-reset_all","div","content","2445051jwIBzf","ck-revision-history-sidebar__header__label","4935318AZIHgv","9ViiUNX","114808UGtgEa","16518290ctLpqi","span"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(461793===parseInt(e(154))/1*(-parseInt(e(167))/2)+-parseInt(e(159))/3+-parseInt(e(153))/4+-parseInt(e(155))/5+parseInt(e(161))/6+-parseInt(e(169))/7*(-parseInt(e(163))/8)+parseInt(e(162))/9*(parseInt(e(164))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends Vn.View{constructor(t){const e=Du;super(t);const i=new Vn.IconView;i[e(158)]=qi.icons[e(152)],this[e(168)]({tag:e(157),attributes:{class:["ck",e(156),e(166)]},children:[i,{tag:e(165),attributes:{class:["ck",e(160)]},children:[Qi(t,e(170))]}]})}}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=zu;function zu(t,e){const i=Wu();return(zu=function(t,e){return i[t-=206]})(t,e)}function Wu(){const t=["fire","unhighlight","timePeriodViews","8SJmzsU","_revisionActions","revisionViews","some","setTemplate","setName","_revisions","isEnabled","startDate","get","add","uiLanguage","1115880Qqhnew","15346705wRpPgK","flat","ck-rounded-corners","createCollection","find","470695vjDgGM","highlightRevisions","_getTimePeriodViewByStartDate","set","ck-reset","32625jjtWDu","7BBlGnE","10xdFNti","deselect","addRevision","selectRevision","highlight","locale","revisionSetName","createdAt","_addRevision","div","2528424jjJmAp","ck-revision-history-sidebar__timeline","remove","select","ck-revision-history-sidebar","3444084GWEpnF","removeRevision","revisionSelected","ck-disabled","12EWUIrD","getTime","bindTemplate","381102RUjvwd","delegate","map","_requireRevisionName","_removeRevision","render"];return(Wu=function(){return t})()}!function(t){const e=zu,i=t();for(;;)try{if(224563===parseInt(e(220))/1*(-parseInt(e(253))/2)+parseInt(e(244))/3+-parseInt(e(241))/4*(parseInt(e(215))/5)+-parseInt(e(209))/6*(parseInt(e(221))/7)+-parseInt(e(232))/8+parseInt(e(237))/9*(-parseInt(e(222))/10)+parseInt(e(210))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends Vn.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(243)];this[r(252)]=this[r(213)](),this[r(252)][r(245)](r(235)).to(this),this[r(252)][r(245)](r(258)).to(this),this[r(259)]=e,this[r(254)]=i,this[r(247)]=n,this.on(r(235),((t,e)=>{const i=r;this[i(250)](i(239),e)})),this.on(r(258),((t,e)=>{const i=r;this[i(250)](i(228),e)})),this[r(218)](r(260),!1),this[r(257)]({tag:r(231),attributes:{class:["ck",r(219),r(212),r(236)]},children:[new ju(t),{tag:r(231),attributes:{class:["ck",r(233),s.if(r(260),r(240),(t=>!t))]},children:this[r(252)]}]})}[Pu(249)](){const t=Pu;super[t(249)]();for(const e of this[t(259)])this[t(230)](e);this[t(259)].on(t(207),((e,i)=>{this[t(230)](i)})),this[t(259)].on(t(234),((e,i)=>{this[t(248)](i)}))}get[Pu(255)](){const t=Pu;return this[t(252)][t(246)]((e=>e[t(255)][t(246)]((t=>t))))[t(211)]()}[Pu(225)](t){const e=Pu;for(const i of this[e(255)])t&&t.id===i.id?i[e(235)]():i[e(223)]()}[Pu(216)](t){const e=Pu;for(const i of this[e(255)])t[e(256)]((({id:t})=>t===i.id))?i[e(226)]():i[e(251)]()}[Pu(230)](t){const e=Pu,i=Ou(t[e(229)],this[e(227)][e(208)])[e(261)];let n=this[e(252)][e(206)](0);n&&n[e(261)][e(242)]()===i[e(242)]()||(n=new Ru(this[e(227)],i,this[e(254)],this[e(247)]),this[e(252)][e(207)](n)),n[e(224)](t)}[Pu(248)](t){const e=Pu,i=Ou(t[e(229)],this[e(227)][e(208)])[e(261)];this[e(217)](i)[e(238)](t)}[Pu(217)](t){const e=Pu;return this[e(252)][e(214)]((i=>i[e(261)][e(242)]()===t[e(242)]()))}}const Zu=$u;function $u(t,e){const i=qu();return($u=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(201185===-parseInt(e(158))/1+parseInt(e(164))/2*(-parseInt(e(123))/3)+parseInt(e(192))/4+-parseInt(e(191))/5*(-parseInt(e(139))/6)+-parseInt(e(111))/7*(-parseInt(e(146))/8)+-parseInt(e(168))/9*(parseInt(e(129))/10)+-parseInt(e(152))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qu);class Hu extends qi.Plugin{static get[Zu(154)](){return Zu(132)}static get[Zu(116)](){return!0}static get[Zu(141)](){return!0}static get[Zu(159)](){return[br]}constructor(t){const e=Zu;super(t),this[e(128)]=t[e(178)][e(110)](br),this[e(118)]=this[e(128)][e(171)],this[e(161)]=null}[Zu(163)](){const t=Zu,e=this[t(118)][t(137)],i=this[t(119)](),n=this[t(135)][t(177)][t(110)](t(142));this[t(161)]=new Uu(this[t(135)][t(145)],e,i,this[t(135)][t(177)][t(110)](t(126))),this[t(161)].on(t(127),this[t(166)][t(125)](this)),this[t(161)].on(t(157),this[t(155)][t(125)](this)),this[t(161)][t(125)](t(183)).to(this[t(128)]),this[t(161)][t(144)].on(t(140),((e,i)=>{const n=t;i[n(188)].on(n(140),((t,e)=>{const i=n;e[i(125)](i(183),i(149)).to(this[i(128)])}))})),this[t(161)][t(186)](),this[t(115)](this[t(135)][t(187)],t(109),this[t(147)][t(125)](this)),this[t(115)](this[t(128)],t(112),this[t(167)][t(125)](this)),n[t(172)](this[t(161)][t(150)])}[Zu(143)](){const t=Zu;this[t(161)][t(150)][t(180)](),this[t(161)][t(143)]()}[Zu(147)](){const t=Zu,e=this[t(118)][t(134)](0);if(e){const i=this[t(118)][t(156)](e.id);this[t(128)][t(165)](e,i)}}[Zu(166)](t,e){const i=Zu,n=this[i(118)][i(134)](e.id),r=this[i(118)][i(156)](n.id);this[i(128)][i(165)](n,r)}[Zu(155)](t,e){const i=Zu;this[i(118)][i(134)](e.id)[i(170)](e[i(148)])}[Zu(167)](t,e,i){const n=Zu,r=this[n(118)][n(185)](i);r[n(138)]>2?(this[n(161)][n(153)](r),this[n(161)][n(175)](null)):(this[n(161)][n(153)]([]),this[n(161)][n(175)](r[0]))}[Zu(119)](){const t=Zu,e=this[t(135)],i=Hu[t(124)],n=e[t(177)][t(110)](t(133))||Hu[t(121)];if(n[t(138)])return n[t(189)]((n=>{const r=t,s=r(131)==typeof n?Object[r(169)]({},i[n]):n;return s[r(122)]=s[r(122)][r(125)](this,e),s[r(190)]&&(s[r(190)]=s[r(190)][r(125)](this,e)),s}))}}function qu(){const t=["isReady","element","revisionHistory","2275867DEXeVL","highlightRevisions","pluginName","_handleRevisionSetName","getEarlierVisibleRevision","revisionSetName","189319hvMckm","requires","newRevisionId","_sidebarView","restoreRevisionCallback","init","14VOBJhH","compare","_handleRevisionSelected","_handleDiffChange","1359tOPeOS","assign","setName","repository","appendChild","isSelected","fieldView","selectRevision","getLaterVisibleRevision","config","plugins","getIndex","remove","Name this revision","compareAgainstSelected","isEnabled","restoreRevision","getRevisionsInDiff","render","data","revisionViews","map","isVisible","554835xZGZJj","601812VvewFa","ready","get","329770ivxrGS","change:diff","diff","Restore this revision","listenTo","isOfficialPlugin","focus","_revisionsRepository","_createRevisionActions","Compare against selected","defaultRevisionActions","action","303AXaEDy","availableRevisionActions","bind","revisionHistory.requireRevisionName","revisionSelected","_revisionViewer","1760syPadV","nameRevision","string","RevisionsSidebar","revisionHistory.revisionActions","getRevision","editor","select","_revisions","length","18GwDJar","add","isPremiumPlugin","revisionHistory.viewerSidebarContainer","destroy","timePeriodViews","locale","24yzdBAF","_handleEditorDataReady","name"];return(qu=function(){return t})()}Hu[Zu(121)]=[Zu(182),Zu(184),Zu(130)],Hu[Zu(124)]={compareAgainstSelected:{name:Zu(120),action:({plugins:t},e)=>{const i=Zu,n=t[i(110)](br),r=n[i(171)];let s=n[i(113)][i(160)],o=e.id;r[i(179)](s)>r[i(179)](o)&&([s,o]=[o,s]),n[i(165)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(110)](br);return!(n[i(171)][i(185)](n[i(113)])[i(138)]>2||e[i(173)])}},restoreRevision:{name:Zu(114),action:(t,{id:e})=>{const i=Zu;t[i(177)][i(110)](i(151))[i(162)](e)},isVisible:({plugins:t},e)=>!!t[Zu(110)](br)[Zu(171)][Zu(176)](e.id)},nameRevision:{name:Zu(181),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(110)](br),s=r[n(171)][n(156)](e);r[n(165)](e,s),i[n(117)](),i[n(174)][n(136)]()}}};const Bu=Hu,Yu=Ju;function Ju(t,e){const i=Gu();return(Ju=function(t,e){return i[t-=169]})(t,e)}function Gu(){const t=["editing","12206110XLPKvD","1591770ngFpEQ","focusTracker","componentFactory","restore","bind","11hmicax","view","element","limiterElement","95752TWyzoW","isFocused","266dpeNOu","_elementReplacer","init","3093430yYJWZE","112zUsGId","_toolbarConfig","2912LZTyLJ","toolbar","get","fillFromConfig","3olKNDv","_view","1053140UfQyrI","attachDomRoot","destroy","replace","config","stickyPanel","viewportOffset","render","getRoot","editor","ready","_initToolbar","rootName","fire","document","111681fcGyvh","viewportTopOffset","isActive","addToolbar","editable","name","detachDomRoot","setEditableElement"];return(Gu=function(){return t})()}!function(t){const e=Ju,i=t();for(;;)try{if(324594===parseInt(e(192))/1*(parseInt(e(190))/2)+parseInt(e(196))/3*(-parseInt(e(198))/4)+-parseInt(e(189))/5+parseInt(e(175))/6+-parseInt(e(186))/7*(parseInt(e(184))/8)+parseInt(e(213))/9+-parseInt(e(174))/10*(-parseInt(e(180))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends Vn.EditorUI{get[Yu(181)](){return this[Yu(197)]}constructor(e,i){const n=Yu;super(e),this[n(197)]=i,this[n(191)]=(0,Vn.normalizeToolbarConfig)(e[n(202)][n(194)](n(193))),this[n(187)]=new t.ElementReplacer}get[Yu(182)](){const t=Yu;return this[t(181)][t(182)]}[Yu(188)](t){const e=Yu,i=this[e(207)],n=this[e(181)],r=i[e(173)][e(181)],s=n[e(169)],o=r[e(212)][e(206)]();s[e(170)]=o[e(210)],n[e(205)]();const a=s[e(182)];this[e(172)](s[e(170)],a),n[e(169)][e(179)](e(185)).to(this[e(176)]),r[e(199)](a),this[e(187)][e(201)](t,this[e(182)]),this[e(209)](),this[e(211)](e(208))}[Yu(200)](){const t=Yu;super[t(200)]();const e=this[t(181)],i=this[t(207)][t(173)][t(181)];this[t(187)][t(178)](),i[t(171)](e[t(169)][t(170)]),e[t(200)]()}[Yu(209)](){const t=Yu,e=this[t(181)];e[t(203)][t(179)](t(215)).to(this[t(176)],t(185)),e[t(203)][t(183)]=e[t(182)],e[t(203)][t(179)](t(214)).to(this,t(204),(({top:t})=>t)),e[t(193)][t(195)](this[t(191)],this[t(177)]),this[t(216)](e[t(193)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;function tl(t,e){var i=il();return(tl=function(t,e){return i[t-=485]})(t,e)}var el=tl;function il(){var t=["editable","7ahJgTh","stickyPanel","main","content","1653800sfGvlJ","268273EjCjUA","toolbar","add","4261655QzRIZW","2gcTeML","88TgDxLR","render","126MFmHEZ","top","shouldToolbarGroupWhenFull","4hPLVfn","4099092yRpxPn","634648niScbB","_editable","4075143OtifOF","6852222vfNuOJ"];return(il=function(){return t})()}!function(t){for(var e=tl,i=t();;)try{if(775075===parseInt(e(492))/1+-parseInt(e(496))/2*(parseInt(e(506))/3)+parseInt(e(502))/4*(parseInt(e(495))/5)+parseInt(e(485))/6*(parseInt(e(487))/7)+-parseInt(e(504))/8*(parseInt(e(499))/9)+-parseInt(e(491))/10*(-parseInt(e(497))/11)+-parseInt(e(503))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends Vn.BoxedEditorUIView{get[el(486)](){return this[el(505)]}constructor(t,e,i={}){var n=el;super(t),this[n(488)]=new Vn.StickyPanelView(t),this[n(493)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(501)]}),this[n(505)]=new Vn.InlineEditableUIView(t,e)}[el(498)](){var t=el;super[t(498)](),this[t(488)][t(490)][t(494)](this[t(493)]),this[t(500)][t(494)](this[t(488)]),this[t(489)][t(494)](this[t(486)])}}const rl=ol;function sl(){const t=["view","sourceElement","1969824NvRtFq","updateSourceElement","editing","createRoot","initialData","6989960ojoGPH","7195554rDqCPl","3YsfCJC","create","4784596RAtJyF","ready","config","fire","get","destroy","init","1151561dnmqgZ","24247566LEOJbB","2UMRJwV","data","initPlugins","document","_ui","5966856cKzjTs","locale","model"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=164]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(957125===-parseInt(e(181))/1*(-parseInt(e(183))/2)+-parseInt(e(172))/3*(parseInt(e(174))/4)+parseInt(e(170))/5+parseInt(e(171))/6+parseInt(e(188))/7+parseInt(e(165))/8+-parseInt(e(182))/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(187)]}constructor(t,e){const i=ol;super(e),this[i(164)]=t,this[i(190)][i(186)][i(168)]();const n=new nl(this[i(189)],this[i(167)][i(191)],{shouldToolbarGroupWhenFull:!0});this[i(187)]=new Ku(this,n)}[rl(179)](){const t=rl;return this[t(166)](),this.ui[t(179)](),super[t(179)]()}static async[rl(173)](t,e){const i=rl,n=new this(t,e);return await n[i(185)](),await n.ui[i(180)](t),await n[i(184)][i(180)](n[i(176)][i(178)](i(169))||""),n[i(177)](i(175)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=394]})(t,e)}function ll(){const t=["parse","define","has","revisionHistory.restoreRevisionCallback","_cleanUp","1816OtNYDn","Users","8163WESjQY","insert","join","end","RestrictedEditingMode","keys","getRevision","toJSON","isReady","$graveyard","translations","model","restrictedEditingException","init","toVersion","changesNavigation","creator","exitToEditing","RevisionHistory","data","style","hide","63442QFddoh","update","isOfficialPlugin","editor","markers","setAttribute","requires","150uSXobF","then","RevisionViewerIntegration","RevisionsRepository","Autosave","addUser","bind","_closeRevisionViewer","error","toLocaleTimeString","isOpen","isEnabled","addRoot","RevisionHistoryUI","_enhanceCloseRevisionViewerCallback","toolbar","getRevisions","getRoot","refreshVisibility","long","repository","config","map","revisionHistory.viewerContainer","getMarkersGroup","isAttached","set","pluginName","revisionHistory.viewerEditorElement","detachRoot","Dialog","numeric","_getRevisionViewerEditorConfig","lazyRoots","push","revision-history-missing-configuration","revisionHistory.showRevisionViewerCallback","createRangeIn","3EAkIke","revision-history-viewer-opened","catch","name","includes","none","toLocaleDateString","block","_viewerEditor","isPremiumPlugin","uiLanguage","document","_update","showRevisionViewerCallback","RevisionTracker","getAttributeKeys","2278352bWJDmi","rootName","result","saveRevision","RevisionViewer","Annotations","revisionHistory.closeRevisionViewerCallback","1847219rvsdlg","setSelection","_restoreRevision","_recalculatePageBreaks","revisionHistory.editorContainer","fromVersion","locale","PaginationLookup","removeMarker","_enhanceShowRevisionViewerCallback","getRevisionRootsAttributes","createdAt","indexOf","786076kTHcYh","830jaVvoT","from","adapter","51858sqgnOv","enqueueChange","create","refreshPositioning","display","Restored","destroy","disableReadOnlyMode","commands","getRevisionData","getUser","change","removeSelectionAttribute","get","save","isAnonymous","_showRevisionViewer","removeAttribute","selection","roots","plugins","revisionHistory.requireRevisionName","remove","enableReadOnlyMode","25354MEllOd","users","revisionHistory","fromCharCode","addRevisionData","closeRevisionViewerCallback","restoreRevision","isReadOnly"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(557905===-parseInt(e(432))/1+parseInt(e(497))/2*(-parseInt(e(396))/3)+parseInt(e(412))/4+parseInt(e(504))/5*(-parseInt(e(436))/6)+parseInt(e(460))/7*(parseInt(e(473))/8)+parseInt(e(475))/9*(parseInt(e(433))/10)+parseInt(e(419))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(517),cl(479)];class dl extends qi.Plugin{static get[cl(531)](){return cl(506)}static get[cl(499)](){return!0}static get[cl(405)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(526)]((t=>String[e(463)](t)))[e(477)]("")}super(t),this[e(414)]=e(478),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(531)](){return cl(493)}static get[cl(499)](){return!0}static get[cl(405)](){return!0}static get[cl(503)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(500)][i(525)][i(449)](i(462)))throw new t.CKEditorError(i(539),this);this[i(404)]=null,this[i(500)][i(525)][i(469)](i(394),(t=>this[i(452)]({...t,translations:this[i(500)][i(425)][i(485)]}))),this[i(500)][i(525)][i(469)](i(418),(t=>this[i(511)](t))),this[i(500)][i(525)][i(469)](i(471),(t=>this[i(421)](t))),this[i(500)][i(525)][i(469)](i(457),!1),this[i(428)](),this[i(518)]()}set[cl(435)](t){const e=cl;this[e(500)][e(456)][e(449)](e(410))[e(435)]=t}get[cl(435)](){const t=cl;return this[t(500)][t(456)][t(449)](t(410))[t(435)]}[cl(464)](t){const e=cl;return this[e(500)][e(456)][e(449)](e(410))[e(464)](t)}[cl(481)](t){const e=cl;return this[e(500)][e(456)][e(449)](e(507))[e(481)](t)}[cl(520)](t){const e=cl;return this[e(500)][e(456)][e(449)](e(507))[e(520)](t||{toJSON:!1})}[cl(536)](){const e=cl,i=this[e(500)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(456)][e(449)](e(410)),s=i[e(456)][e(449)](e(474))[e(461)];return n[e(519)]=[e(492),e(466),e(490)],delete n[e(537)],n[e(456)][e(538)](dl,br,Pr,class extends qi.Plugin{static get[e(503)](){return[br,e(474)]}[e(488)](){const n=e,o=this[n(500)][n(456)][n(449)](n(474));for(const t of s)t[n(451)]||o[n(446)](t.id)||o[n(509)](t);const a=r[n(524)][n(520)]();let c=null;const u=this[n(500)][n(456)][n(449)](n(416));u[n(435)]=r[n(435)],u[n(510)](n(515)).to(r),this[n(500)][n(444)][n(449)](n(466))[n(510)](n(515)).to(i,n(467),(t=>!t));for(const e of a){const i=null===e[n(491)];if(i&&e[n(489)]===e[n(424)])continue;const s=e[n(482)]();u[n(464)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(408)](s,o);else if(!o){const e=a[u(482)]();e.id=(0,t.uid)(),r[u(415)](e,a[u(489)])[u(505)]((t=>{c=t}))}}else e[u(408)](s,o)}))}}},Bu),n}[cl(428)](){const t=cl,e=this[t(500)][t(525)][t(449)](t(462))[t(409)];this[t(500)][t(525)][t(530)](t(394),(async()=>{const i=t;this[i(500)][i(459)](i(397));const n=this[i(500)][i(456)][i(449)](i(410));if(this[i(500)][i(456)][i(470)](i(508))){const t=this[i(500)][i(456)][i(449)](i(508));await t[i(450)]()}else await n[i(498)]();if(this[i(500)][i(456)][i(470)](i(426))&&this[i(500)][i(456)][i(449)](i(426))[i(422)](),this[i(500)][i(456)][i(470)](i(534))){const t=this[i(500)][i(456)][i(449)](i(534));t[i(514)]&&t[i(496)]()}const r=this[i(536)]();return e(r)[i(505)]((t=>{const e=i;return this[e(404)]=t,this[e(500)][e(456)][e(470)](e(417))&&this[e(500)][e(456)][e(449)](e(417))[e(522)](),t}))[i(398)]((t=>(console[i(512)](t),this[i(500)][i(443)](i(397)),null)))}))}[cl(518)](){const t=cl,e=this[t(500)][t(525)][t(449)](t(462))[t(465)];this[t(500)][t(525)][t(530)](t(418),(()=>(this[t(500)][t(456)][t(470)](t(426))&&this[t(500)][t(456)][t(449)](t(426))[t(422)](),this[t(404)][t(456)][t(449)](t(416))[t(472)](),e(this[t(404)])[t(505)]((()=>{const e=t;if(this[e(500)][e(443)](e(397)),this[e(404)]=null,this[e(500)][e(456)][e(470)](e(417))){const t=this[e(500)][e(456)][e(449)](e(417));t[e(522)](),t[e(439)]()}})))))}[cl(452)](t){const e=cl,i=this[e(500)][e(525)][e(449)](e(423)),n=this[e(500)][e(525)][e(449)](e(527)),r=this[e(500)][e(525)][e(449)](e(532));return al[e(438)](r,t)[e(505)]((t=>(n[e(495)][e(440)]=e(403),i[e(495)][e(440)]=e(401),t)))}[cl(511)](t){const e=cl,i=this[e(500)][e(525)][e(449)](e(423));return this[e(500)][e(525)][e(449)](e(527))[e(495)][e(440)]=e(401),i[e(495)][e(440)]="",t[e(442)]()}async[cl(421)](t){const e=cl,i=this[e(500)],n=this[e(404)][e(456)][e(449)](e(416)),r=i[e(456)][e(449)](e(410)),s=n[e(524)][e(481)](t);let o,a,c;try{o=await n[e(445)](s),a=await n[e(429)](s)}catch(t){return void console[e(512)](t)}i[e(486)][e(447)]((t=>{const n=e;for(const e of Array[n(434)](i[n(486)][n(501)][n(528)](n(487))))t[n(427)](e)})),n[e(483)]=!1,i[e(486)][e(437)]((t=>{const n=e;t[n(420)](null),t[n(448)](i[n(486)][n(407)][n(454)][n(411)]());const r=Object[n(480)](o);for(const e of i[n(486)][n(407)][n(455)])n(484)!=e[n(413)]&&e[n(529)]()&&!r[n(400)](e[n(413)])&&t[n(533)](e);for(const e of r){let r=i[n(486)][n(407)][n(521)](e);r&&r[n(529)]()||(r=t[n(516)](e));const s=a[e],c=Object[n(480)](s),u=o[e];for(const e of r[n(411)]())c[n(400)](e)||t[n(453)](e,r);for(const i of c)t[n(502)](i,a[e][i],r);t[n(458)](t[n(395)](r)),t[n(476)](i[n(494)][n(468)](u,r),r,0)}}));const u=Qi(i[e(425)],e(441));return c=s[e(399)]?-1==s[e(399)][e(431)](u)?u+": "+s[e(399)]:s[e(399)]:u+": "+s[e(430)][e(402)](i[e(425)][e(406)],{month:e(523),day:e(535)})+", "+s[e(430)][e(513)](i[e(425)][e(406)],{hour:e(535),minute:e(535)}),await r[e(415)]({name:c}),n[e(483)]=!0,i[e(525)][e(449)](e(462))[e(465)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=154]})(t,e)}function pl(){var t=["1305514YKMVBR","5001885fWhjlX","8332839ClPuKQ","5447345KcSaXT","385396jxOggk","32OYIEdc","6DYeIPE","3543532YWunQB","29881aQuhrq"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(945080===parseInt(e(160))/1+parseInt(e(159))/2+parseInt(e(162))/3+-parseInt(e(156))/4+-parseInt(e(155))/5*(-parseInt(e(158))/6)+parseInt(e(161))/7+parseInt(e(157))/8*(-parseInt(e(154))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();