@ckeditor/ckeditor5-revision-history 44.2.0-alpha.7 → 44.2.0-alpha.8

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:()=>Lr,RevisionsRepository:()=>Xi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var 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,H=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(t){return!(!R(t)||C(t))&&(M(t)?H:L).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return Z(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const G=function(){this.__data__=Y?Y(null):{},this.size=0};const J=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=G,it.prototype.delete=J,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,Ht=Ut&&Ut.exports===Wt&&y.process;const Zt=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Ht&&Ht.binding&&Ht.binding("util")}catch(t){}}();var $t=Zt&&Zt.isTypedArray;const qt=$t?zt($t):Pt;var Bt=Object.prototype.hasOwnProperty;const 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 Gt=Object.prototype;const Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Gt)};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(!Jt(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=Jt(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 He=Ue;var Ze=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&Ze.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ge=/\w*$/;const Je=function(t){var e=new t.constructor(t.source,Ge.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 Je(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||Jt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==He(t)};var oi=Zt&&Zt.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==He(t)};var ui=Zt&&Zt.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=He(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==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=Zi;function Hi(){const t=["18iuxHpf","_update","creator","name","toVersion","fire","setAttribute","set","diffData","createdAt","toJSON","fromVersion","attributes","628636KTKnoV","209200nphYUr","setName","authors","creatorId","map","786290zjHHdN","1754NjtWIl","1033356CTfddq","70OkQMAe","removeAttribute","661340lderHw","3EkTICi","authorsIds","1136401LVVGHd"];return(Hi=function(){return t})()}function Zi(t,e){const i=Hi();return(Zi=function(t,e){return i[t-=336]})(t,e)}!function(t){const e=Zi,i=t();for(;;)try{if(104313===-parseInt(e(350))/1*(parseInt(e(352))/2)+-parseInt(e(355))/3*(-parseInt(e(343))/4)+-parseInt(e(354))/5+parseInt(e(351))/6+-parseInt(e(357))/7+-parseInt(e(344))/8*(-parseInt(e(358))/9)+parseInt(e(349))/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(360)]=e[i(360)]||null,this[i(346)]=e[i(346)]||[],this[i(338)]=e[i(338)]||null,this[i(362)]=e[i(362)]||0,this[i(341)]=e[i(341)]||0,this[i(337)](i(361),e[i(361)]||""),this[i(337)](i(339),e[i(339)]||new Date),this[i(337)](i(342),e[i(342)]||{})}[Ui(345)](t){this[Ui(359)]({name:t})}[Ui(336)](t,e){const i=Ui,n=vi(this[i(342)]);Ci(n,t,e),this[i(359)]({attributes:n})}[Ui(353)](t){const e=Ui,i=vi(this[e(342)]);Wi(i,t),this[e(359)]({attributes:i})}[Ui(359)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(361),i(339),i(338),i(346),i(342),i(362),i(341),i(347)];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(346)]&&(r[i(356)]=r[i(346)][i(348)]((t=>t.id)),delete r[i(346)]),this[i(363)](i(359),r,e))}[Ui(340)](){const t=Ui;return{id:this.id,name:this[t(361)],creatorId:this[t(360)]?this[t(360)].id:null,authorsIds:this[t(346)][t(348)]((t=>t.id)),diffData:this[t(338)],createdAt:this[t(339)],attributes:this[t(342)],fromVersion:this[t(341)],toVersion:this[t(362)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Gi=Ki;function Ji(){const t=["RevisionsRepository","editor","requires","diffData","2034270pqsdkQ","isOfficialPlugin","getRevisionsInDiff","earlier","afterInit","push","toJSON","2542VCVGXs","newRevisionId","createRevision","name","224KuZQpW","get","315336upeUSw","isNaN","getUser","24072JSciRx","getRevisionsIterator","reverse","20796FndWDm","getEarlierVisibleRevision","514AVvGHj","fromVersion","toVersion","Users","getLaterVisibleRevision","later","3113wlLlFN","from","addRevision","fromCharCode","getRevision","6gqwxII","440agiSvb","data","creatorId","4859881ZLQIre","join","href","3579025MYDDnP","add","length","map","getIndex","createdAt","authorsIds","45MHgcyb","plugins","attributes","isPremiumPlugin","_revisions","pluginName","oldRevisionId","getRevisions"];return(Ji=function(){return t})()}function Ki(t,e){const i=Ji();return(Ki=function(t,e){return i[t-=101]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(730365===-parseInt(e(117))/1*(parseInt(e(103))/2)+-parseInt(e(115))/3*(-parseInt(e(129))/4)+parseInt(e(135))/5*(-parseInt(e(128))/6)+-parseInt(e(107))/7*(-parseInt(e(109))/8)+-parseInt(e(142))/9*(-parseInt(e(154))/10)+-parseInt(e(123))/11*(parseInt(e(112))/12)+-parseInt(e(132))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ji);class Xi extends qi.Plugin{static get[Gi(152)](){return[Bi.Users]}static get[Gi(147)](){return Gi(150)}static get[Gi(155)](){return!0}static get[Gi(145)](){return!0}get[Gi(137)](){const t=Gi;return this[t(146)][t(137)]}constructor(e){const i=Gi;super(e),this[i(146)]=new t.Collection}[Gi(158)](){!async function(e){const i=k([120,112,107,101,66,110,70,108,117,56,87,82,118,116,114,105,122,54,79,85,52,103,121,53,65,80,75,55,113,67,86,115,69,74,106,84,51,81,71,49,97,99,72,98,50,76,73,104,68,102,83,111,48,78,109,100,88,90,89,57,119,77]),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(110)](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([120]);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(138)]((t=>String[e(126)](t)))[e(133)]("")}!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:1738627200;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(134)]);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(105)](t){const e=Gi,i=this[e(151)][e(143)][e(108)](e(120));return new $i({id:t.id,name:t[e(106)],creator:t[e(131)]?i[e(111)](t[e(131)]):null,diffData:t[e(153)]||t[e(130)],authors:t[e(141)][e(138)]((t=>i[e(111)](t))),createdAt:new Date(t[e(140)]),attributes:t[e(144)],fromVersion:t[e(118)],toVersion:t[e(119)]})}[Gi(125)](t,e=0){const i=Gi;this[i(146)][i(136)](t,e)}[Gi(127)](t){const e=Gi;return this[e(146)][e(108)](t)}[Gi(149)](t={toJSON:!1}){const e=Gi,i=Array[e(124)](this[e(146)]);return i[e(114)](),t[e(102)]?i[e(138)]((t=>t[e(102)]())):i}[Gi(139)](t){const e=Gi;return this[e(146)][e(139)](t)}[Gi(116)](t){const e=Gi,[,i]=this[e(113)](t,{direction:e(157)});return i}[Gi(121)](t){const e=Gi,[,i]=this[e(113)](t,{direction:e(122)});return i}[Gi(156)](t){const e=Gi,i=[];for(const n of this[e(113)](t[e(104)]))if(i[e(101)](n),n.id===t[e(148)])break;return i}*[Gi(113)](t,{direction:e=Gi(157),filter:i=()=>!0}={}){const n=Gi,r=n(157)===e?1:-1;let s=this[n(146)][n(108)](t),o=this[n(139)](s);for(yield s;s;){if(o+=r,s=this[n(127)](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:He(t),u=a?vn:He(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=En();return(In=function(t,e){return i[t-=121]})(t,e)}!function(t){const e=In,i=t();for(;;)try{if(549104===-parseInt(e(195))/1+-parseInt(e(350))/2*(parseInt(e(279))/3)+-parseInt(e(286))/4+parseInt(e(217))/5*(-parseInt(e(263))/6)+-parseInt(e(288))/7*(parseInt(e(421))/8)+-parseInt(e(354))/9+-parseInt(e(190))/10*(-parseInt(e(150))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(En);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(128)](){return _n(345)}static get[_n(230)](){return!0}static get[_n(351)](){return!0}static get[_n(376)](){return[Bi.Users,Xi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(398)]=null,this[i(317)]=null,this[i(342)]=new Tn(this[i(251)]),this[i(315)]=this[i(251)][i(172)][i(295)](i(433))||i(243),this[i(135)]=new Map,this[i(133)]=null;const n=(0,t.uid)();this[i(215)]={history:this[i(251)][i(197)][i(389)][i(361)],getLatestVersion:()=>Promise[i(293)](this[i(251)][i(197)][i(389)][i(182)]),getCurrentRevisionId:()=>n},this[i(426)](i(218),!1),this[i(426)](i(269),!0),this[i(426)](i(179),!1),this[i(251)][i(172)][i(270)](i(266),!0),this[i(251)][i(311)][i(328)](i(300))[i(405)]({view:i(401)})}[_n(349)](){const t=_n;this[t(296)]=this[t(251)][t(347)][t(295)](t(399)),this[t(183)](),this[t(251)][t(284)].on(t(127),(()=>{const e=t,i=this[e(296)][e(331)](0),n=i&&null===i[e(402)]?i:null;if(this[e(202)]=!!n&&this[e(251)][e(172)][e(295)](e(266)),this[e(251)][e(347)][e(132)](e(294))){const t=this[e(215)][e(158)](),r=this[e(296)][e(331)](t);if(r)this[e(415)]=r[e(272)],this[e(202)]=!1;else{const t=this[e(215)][e(361)][e(226)][e(155)]((t=>!t[e(167)])),r=t?t[e(220)]:this[e(215)][e(361)][e(182)];i?(i[e(262)]<r&&i[e(170)]({toVersion:r}),this[e(202)]?(this[e(215)][e(158)]=()=>n.id,this[e(415)]=n[e(272)]):(this[e(415)]=i[e(262)],this[e(202)]=!1)):(this[e(415)]=r,this[e(202)]=!1)}}else n&&(this[e(251)][e(197)][e(389)][e(361)][e(182)]=Math[e(355)](n[e(262)],this[e(251)][e(197)][e(389)][e(361)][e(182)]),n[e(272)]===n[e(262)]?(0!==n[e(272)]&&(this[e(215)][e(158)]=()=>n.id),this[e(202)]=!1):this[e(202)]&&(this[e(215)][e(158)]=()=>n.id,this[e(415)]=n[e(272)])),this[e(202)]||(this[e(415)]=this[e(251)][e(197)][e(389)][e(182)]);this[e(342)][e(349)](this[e(215)][e(361)]),this[e(406)](this[e(415)]),this[e(194)](this[e(415)]),this[e(398)]&&this[e(249)]()})),this[t(149)](t(218)).to(this,t(179),(t=>!t)),this[t(131)]=this[t(251)][t(172)][t(295)](t(131));const e=this[t(251)];this[t(146)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(176)==s||i(301)==s||i(430)==s||i(407)==s||i(385)==s||i(344)==s||i(375)==s||i(395)==s){delete e[r],n=s,clearInterval(this[i(146)]),this[i(146)]=void 0;break}}i(301)==n&&e[i(201)](i(178)),i(430)==n&&e[i(201)](i(326)),i(407)==n&&e[i(201)](i(259)),i(385)==n&&e[i(201)](i(374),i(241)),i(344)==n&&e[i(201)](i(313)),i(375)==n&&e[i(201)](i(264)),i(395)==n&&e[i(201)](i(292))}),1e3)}async[_n(321)](){const t=_n;if(this[t(296)][t(334)]>0){const e=this[t(296)][t(331)](0),i=await this[t(204)](e),n=await this[t(157)](e);this[t(276)](i,n)}}[_n(206)](){const t=_n;super[t(206)](),this[t(146)]&&clearInterval(this[t(146)])}[_n(282)](t){this[_n(215)]=t}async[_n(223)](){const t=_n,e=await this[t(215)][t(221)]();if(e>this[t(317)][t(262)]){await this[t(356)]();const i=this[t(416)]({revision:this[t(317)],to:e});i[t(161)]=i[t(145)][t(121)]((e=>this[t(251)][t(347)][t(295)](t(366))[t(424)](e))),this[t(317)][t(170)](i)}}async[_n(356)](){const t=_n;this[t(202)]&&!this[t(133)]&&(await this[t(129)](this[t(317)]),this[t(342)][t(174)](this[t(317)]),this[t(133)]={fromVersion:this[t(317)][t(272)],authors:this[t(317)][t(161)][t(339)]()})}async[_n(379)](e={},i=null){const n=_n,r=[];await this[n(356)](),this[n(202)]=!1,i>this[n(317)][n(262)]&&(i=null),null===i&&(i=await this[n(215)][n(221)]());const s=this[n(141)](i),o=this[n(416)]({from:s,to:i});if(this[n(317)][n(262)]<i){const t=this[n(416)]({revision:this[n(317)],from:i,to:i});t[n(161)]=[],t[n(145)]=[],t.id=this[n(317)].id,this[n(317)][n(170)](t,!0),delete t[n(161)],r[n(289)](t)}e[n(169)]=this[n(251)][n(347)][n(295)](n(366)).me.id,e[n(439)]=e[n(439)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(281)](e);r[n(289)](e);const c=this[n(296)][n(137)](a);if(0!==c){const t=this[n(296)][n(331)](c-1);if(t[n(272)]!==i){const s=this[n(342)][n(314)](i,t[n(262)]),o={id:t.id,diffData:s[n(209)],authorsIds:s[n(145)],authors:s[n(145)][n(121)]((t=>this[n(251)][n(347)][n(295)](n(366))[n(424)](t))),fromVersion:i};t===this[n(317)]&&(o[n(138)]=new Date(e[n(138)][n(403)]()+10)),t[n(170)](o,!0),delete o[n(161)],r[n(289)](o)}}if(this[n(398)]){for(const t of r)this[n(367)](t.id,t,!0);this[n(249)]()}return a}[_n(281)](t){const e=_n,i=this[e(296)][e(388)](t);return this[e(398)]&&i.on(e(170),((t,i,n)=>{const r=e;n||(this[r(367)](i.id,i,!0),this[r(249)]())})),this[e(296)][e(427)](i,this[e(382)](i)),i}async[_n(204)](t){const e=_n;await this[e(129)](t);const i={};for(const n in t[e(209)]){if(t[e(209)][n][e(164)]&&!t[e(209)][n][e(164)][e(299)])continue;const r=this[e(381)](JSON[e(273)](t[e(209)][n][e(319)])),s=this[e(251)][e(224)][e(412)][e(389)],o=new Yi.ViewDocumentFragment(s,r[e(121)]((t=>xn(t,this[e(251)]))));this[e(251)][e(284)][e(205)][e(198)](e(353)),i[n]=this[e(251)][e(284)][e(205)][e(255)](o),this[e(251)][e(284)][e(205)][e(198)](e(222))}return i}async[_n(157)](t){const e=_n;await this[e(129)](t);const i={};for(const n in t[e(209)])t[e(209)][n][e(164)]&&!t[e(209)][n][e(164)][e(299)]||(i[n]=t[e(209)][n][e(429)]||{});return i}[_n(249)](){const t=_n;if(0===this[t(135)][t(371)])return;if(this[t(179)])return;let e=Array[t(298)](this[t(135)][t(423)]());this[t(135)][t(256)]();for(let i=0;i<e[t(334)];i++){const n=e[i];let r=!1;for(const e of Object[t(200)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(442)]((t=>null!==t)),!e[t(334)])return;for(let i=0;i<e[t(334)];i++){const n=e[i];void 0!==n[t(272)]&&void 0===n[t(262)]&&(n[t(262)]=this[t(296)][t(331)](n.id)[t(262)]),void 0!==n[t(262)]&&void 0===n[t(272)]&&(n[t(272)]=this[t(296)][t(331)](n.id)[t(272)])}const i=this[t(251)][t(172)][t(295)](t(433));this[t(179)]=!0,this[t(139)](),this[t(398)][t(232)](e,i)[t(327)]((()=>{this[t(179)]=!1}))[t(392)]((e=>{const i=t;if(e)for(const t of e)this[i(324)]({id:t.id,createdAt:t[i(138)]});this[i(166)](),this[i(249)]()}))}[_n(276)](e,i){const n=_n;let r=this[n(251)][n(172)][n(295)](n(267)),s=this[n(251)][n(172)][n(295)](n(408));if(void 0===r){r={};for(const t of this[n(251)][n(197)][n(389)][n(207)]())r[t]=""}if(n(250)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(251)][n(197)][n(389)][n(207)]())s[t]={}}let o=!1;const a=Object[n(200)](r),c=Object[n(200)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(244)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(200)](s[t])[n(334)]>0){o=!0;break}}o||(o=c[n(359)]((t=>!this[n(251)][n(197)][n(389)][n(343)](t)))),o&&(0,t.logWarning)(n(368),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(251)][n(172)][n(426)](n(267),e),this[n(251)][n(172)][n(426)](n(408),i)}[_n(139)](){const t=_n;if(!this[t(357)]){const e=this[t(251)][t(347)][t(295)](t(440));this[t(357)]=e[t(253)](Qi(this[t(251)][t(338)],t(235)))}}[_n(166)](){const t=_n;this[t(357)]&&(this[t(251)][t(347)][t(295)](t(440))[t(193)](this[t(357)]),this[t(357)]=null)}[_n(382)](t){const e=_n,i=this[e(296)][e(147)]();i[e(245)]();let n=0;for(;n<i[e(334)];){const r=i[n];if(r===this[e(317)]){n++;continue}if(r.id===this[e(315)])break;const s=t[e(262)]-r[e(262)]||t[e(272)]-r[e(272)];if(s>0)break;if(s<0)n++;else{if(!t[e(402)]&&r[e(402)])break;if(r[e(402)]||!t[e(402)]){if(t[e(138)]>r[e(138)])break;n++}else n++}}return n}[_n(324)](t){const e=_n,i=this[e(296)][e(331)](t.id);if(t[e(138)]&&(t[e(138)]=new Date(t[e(138)])),t[e(145)]){const i=this[e(251)][e(347)][e(295)](e(366));t[e(161)]=t[e(145)][e(121)]((t=>i[e(424)](t)))}i[e(170)](t,!0)}[_n(416)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(272)],i=null!==i?i:t[n(262)];const r=this[n(342)][n(314)](e,i),s={diffData:r[n(209)],authorsIds:r[n(145)],fromVersion:e,toVersion:i};if(!t||i!==t[n(262)]){const t=i-1,e=this[n(215)][n(361)][n(216)](t);s[n(138)]=e&&e[n(138)]||new Date}if(this[n(133)]&&e===this[n(133)][n(272)])for(const t of this[n(133)][n(161)])s[n(145)][n(428)](t.id)||s[n(145)][n(289)](t.id);return s}[_n(129)](t){const e=_n;if(!t||t[e(209)])return Promise[e(293)]();{const i=this[e(251)][e(172)][e(295)](e(433));return this[e(398)][e(331)]({channelId:i,revisionId:t.id})[e(392)]((i=>{const n=e;t[n(209)]=i[n(209)]}))}}[_n(367)](t,e,i){const n=_n;if(this[n(135)][n(132)](t)){const r=this[n(135)][n(295)](t);e=i?{...r,...e}:{...e,...r}}this[n(135)][n(426)](t,e)}[_n(141)](t){const e=_n,i=this[e(296)][e(147)]();i[e(245)](),i[e(274)]();const n=i[e(155)]((i=>i[e(262)]<=t))[e(262)];return n<this[e(415)]?this[e(415)]:n}[_n(406)](t){const e=_n,i=this[e(296)][e(331)](this[e(296)][e(334)]-1);if(i)this[e(315)]=i.id;else{const i=!this[e(251)][e(197)][e(389)][e(268)][e(155)]((t=>this[e(251)][e(197)][e(186)](t))),n=this[e(251)][e(347)][e(295)](e(366)).me.id,r=Qi(this[e(251)][e(338)],e(i?332:175));this[e(360)]({from:t,to:t,id:this[e(315)],name:r,creatorId:n})}}[_n(194)](t){const e=_n,i=this[e(215)][e(158)]();this[e(317)]=this[e(296)][e(331)](i),this[e(317)]||(this[e(317)]=this[e(360)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(360)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(416)]({from:e,to:i});o[s(439)]=t,o[s(169)]=n,o.id=r;const a=this[s(281)](o);return this[s(398)]&&this[s(367)](o.id,o,!0),a}[_n(183)](){const t=_n;this[t(251)][t(311)][t(328)](t(191))[t(242)]({model:t(401)})}[_n(381)](t){const e=_n;return(t=t[e(442)]((t=>!t[e(439)]||e(325)!==t[e(439)]&&e(196)!==t[e(439)])))[e(189)]((t=>{const i=e;i(250)!=typeof t&&(t[i(333)]=this[i(381)](t[i(333)]),t[i(148)]=t[i(148)][i(442)]((t=>!t[0][i(422)](i(247)))))})),t}}function xn(t,e){const i=_n,n=e[i(224)][i(412)][i(389)];if(i(250)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(333)][i(121)]((t=>xn(t,e)));return new(Sn[t[i(420)]]||Yi.ViewElement)(n,t[i(439)],t[i(148)],r)}}class Tn{constructor(t){const e=_n;this[e(251)]=t,this[e(275)]=new Map,this[e(261)]=-1,this[e(240)]=-1,this[e(383)]=new Map,this[e(248)]=new Map,this[e(417)]=new Map,this[e(320)]=new Map,this[e(283)]=new Map,this[e(310)]=new Map,this[e(393)]=new Map,this[e(227)]=new Map,this[e(306)]=new Map,this[e(372)]=new Map,this[e(140)]=1}[_n(349)](t){const e=_n;this[e(126)]=t;const i=new Map,n=new Map,r=this[e(251)][e(197)][e(389)][e(268)][e(121)]((t=>t[e(214)]));for(const t of r){const r=this[e(251)][e(197)][e(389)][e(343)](t),s=Nn(r);i[e(426)](t,s),n[e(426)](t,Object[e(438)](r[e(304)]()))}const s=Array[e(298)](this[e(251)][e(197)][e(162)])[e(121)]((t=>[t[e(439)],t[e(238)]()])),o=this[e(126)][e(182)];this[e(318)](o,i,s,n),this[e(337)]=this[e(140)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(426)](t,i),c[e(426)](t,{})}this[e(318)](Number[e(307)],a,[],c)}[_n(314)](t,e){const i=_n;if(this[i(261)]===t&&this[i(240)]<=e)this[i(275)][i(371)]>1&&this[i(258)](this[i(240)]),this[i(184)](this[i(240)],e,!0);else{if(!this[i(275)][i(132)](t)){const e=this[i(323)](t);this[i(287)](e,t,!1)}this[i(287)](t,e,!0)}return this[i(261)]=t,this[i(240)]=e,this[i(369)]()}[_n(174)](t){const e=_n;this[e(316)](),this[e(261)]=t[e(272)],this[e(240)]=t[e(262)];for(const i in t[e(209)]){const n=t[e(209)][i][e(164)],r=vi(t[e(209)][i][e(387)])||{},s=this[e(336)](t[e(209)][i][e(418)]);s[e(214)]=i,s[e(143)]=!n||!n[e(299)],s[e(299)]=()=>s[e(143)],this[e(320)][e(426)](i,s),this[e(283)][e(426)](i,r),n&&this[e(372)][e(426)](i,n);const o=this[e(436)](s);this[e(393)][e(426)](i,o);for(const[t,i]of s[e(162)]){if(!t[e(422)](e(134)))continue;const n=t[e(219)](":")[2];for(const t of i[e(280)]({singleCharacters:!0})){const i=this[e(419)](t),r=e(330)==t[e(420)]?t[e(237)][e(236)][e(339)](0,-1):t[e(237)][e(236)],s=o[e(229)](r)[e(252)](i);this[e(227)][e(426)](s,{userId:n})}}}this[e(337)]=this[e(140)];const i=[...Array(this[e(140)])[e(200)]()][e(339)](1)[e(442)]((t=>!this[e(227)][e(132)](t)));let n=0;const r=new Map;for(const s in t[e(209)]){const o=t[e(209)][s][e(164)],a=vi(t[e(209)][s][e(429)])||{},c=this[e(336)](t[e(209)][s][e(319)]);c[e(214)]=s,c[e(143)]=!o||o[e(299)],c[e(299)]=()=>c[e(143)],this[e(248)][e(426)](s,c),this[e(417)][e(426)](s,a);const u=this[e(436)](c,Number[e(307)]);this[e(310)][e(426)](s,u),r[e(426)](s,c[e(299)]()?a:{});for(const[t,i]of c[e(162)]){if(!t[e(422)](e(134)))continue;const n=t[e(219)](":")[2];for(const t of i[e(280)]({singleCharacters:!0})){const i=this[e(419)](t),r=this[e(140)]++,s=e(330)==t[e(420)]?t[e(237)][e(236)][e(339)](0,-1):t[e(237)][e(236)];u[e(229)](s)[e(400)](i,r),this[e(227)][e(426)](r,{userId:n})}}for(const t of this[e(251)][e(197)][e(322)](c)[e(280)]({singleCharacters:!0})){const r=this[e(419)](t),s=e(330)==t[e(420)]?t[e(237)][e(236)][e(339)](0,-1):t[e(237)][e(236)],o=u[e(229)](s);o[e(252)](r)>0||o[e(400)](r,i[n++])}for(const[t,i]of c[e(162)])t[e(422)](e(134))||this[e(383)][e(426)](t,i)}const s=An(e(173));this[e(320)][e(426)](e(173),s),this[e(393)][e(426)](e(173),this[e(436)](s,1));const o=An(e(173));this[e(248)][e(426)](e(173),o),this[e(310)][e(426)](e(173),this[e(436)](o,1));const a=Array[e(298)](this[e(248)])[e(121)]((([t,e])=>[t,Nn(e)]));this[e(318)](this[e(240)],a,this[e(383)],r)}[_n(336)](t){const e=_n,i=JSON[e(273)](t),n=this[e(251)][e(224)][e(412)][e(389)],r=new Yi.ViewDocumentFragment(n,i[e(121)]((t=>xn(t,this[e(251)]))));return this[e(251)][e(284)][e(308)](r)}[_n(318)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(426)](t,{start:e[r(199)][r(192)](),end:e[r(358)][r(192)](),rootName:e[r(309)][r(214)]});this[r(275)][r(426)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(258)](t){const e=_n;this[e(275)][e(163)](t)}[_n(302)](){const t=_n;this[t(316)](),this[t(261)]=-1,this[t(240)]=-1,this[t(275)][t(256)](),this[t(349)](this[t(126)])}[_n(316)](){const t=_n;this[t(227)][t(256)](),this[t(306)][t(256)](),this[t(372)][t(256)](),this[t(248)][t(256)](),this[t(417)][t(256)](),this[t(320)][t(256)](),this[t(283)][t(256)](),this[t(310)][t(256)](),this[t(393)][t(256)](),this[t(383)][t(256)](),this[t(140)]=1,this[t(337)]=this[t(140)]}[_n(436)](t,e=null){const i=_n;let n=null;t.is(i(290))||(n=new Yi.Element(t[i(439)],{vid_start:null===e?this[i(140)]++:e++}));const r=[];for(const n of t[i(378)]())if(n.is(i(152))){r[i(289)](this[i(436)](n,e));const t=r[r[i(334)]-1];null!==e&&(e=t.is(i(152),i(210))?t[i(252)](i(233))+1:t[i(252)](i(346))+1)}else for(let t=0;t<n[i(265)];t++)r[i(289)](new Yi.Element(i(210),{vid:null===e?this[i(140)]++:e++}));if(t.is(i(290))){const e=An(t[i(214)]);return e[i(151)](0,r),e}return n[i(400)](i(346),null===e?this[i(140)]++:e++),n[i(151)](0,r),n}[_n(287)](t,e,i){const n=_n;this[n(316)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(275)][n(295)](t);this[n(320)]=new Map(r),this[n(283)]=new Map(vi(o));for(const[t,e]of this[n(320)])if(n(173)!==t&&(this[n(248)][n(426)](t,Nn(e)),this[n(417)]=new Map(vi(o)),i)){const i=this[n(140)];this[n(310)][n(426)](t,this[n(436)](e)),this[n(393)][n(426)](t,this[n(436)](e,i))}this[n(337)]=this[n(140)],this[n(248)][n(426)](n(173),Nn(this[n(320)][n(295)](n(173)))),i&&this[n(310)][n(426)](n(173),this[n(436)](this[n(320)][n(295)](n(173))));for(const[t,e]of s){const i=this[n(320)][n(295)](e[n(214)]),r=this[n(248)][n(295)](e[n(214)]),s=new Yi.Range(this[n(203)](e[n(199)],i),this[n(203)](e[n(358)],i)),o=this[n(396)](s,r);i[n(162)][n(426)](t,s),this[n(383)][n(426)](t,o)}this[n(184)](t,e,i)}[_n(184)](t,e,i){const n=_n;for(const r of this[n(126)][n(297)](t,e))this[n(165)](r,i);for(const t of this[n(248)][n(423)]())t[n(162)][n(256)]();for(const[t,e]of this[n(383)])this[n(248)][n(295)](e[n(309)][n(214)])[n(162)][n(426)](t,e[n(192)]());const r=new Map,s=new Map;for(const[t,e]of this[n(248)])r[n(426)](t,Nn(e)),s[n(426)](t,this[n(417)][n(295)](t));this[n(318)](e,r,this[n(383)],s)}[_n(323)](t){const e=_n,i=Array[e(298)](this[e(275)][e(200)]());i[e(177)](((t,e)=>t-e)),i[e(245)]();for(const e of i)if(e<t)return e;return Number[e(307)]}[_n(271)](t,e){const i=_n,n=Array[i(298)](e[i(162)])[i(121)]((([e,n])=>[e,this[i(396)](n,t)]));t[i(162)]=new Map(n)}[_n(441)](t){const e=_n;for(const i of this[e(383)][e(423)]()){const n=i[e(291)](t),r=Yi.Range[e(213)](n);i[e(199)]=r[e(199)],i[e(358)]=r[e(358)]}}[_n(165)](t,e){const i=_n;if(i(303)!=t[i(420)]&&i(411)!=t[i(420)]){if(i(254)==t[i(420)]){const n=t[i(154)][i(309)][i(214)];this[i(248)][i(132)](n)||(this[i(248)][i(426)](n,An(n,!0)),this[i(417)][i(426)](n,{}),e&&this[i(310)][i(426)](n,An(n,!0)))}else{if(i(231)==t[i(420)]||i(434)==t[i(420)]||i(409)==t[i(420)])return void this[i(432)](t);i(391)==t[i(420)]&&this[i(187)](t)}if(i(391)!==t[i(420)]){const e=this[i(246)](t,this[i(248)]);e[i(340)](),this[i(441)](e)}if(e)switch(t[i(420)]){case i(254):this[i(397)](t);break;case i(413):case i(193):case i(352):this[i(136)](t);break;case i(257):this[i(225)](t);break;case i(219):this[i(404)](t)}}else this[i(122)](t,e)}[_n(246)](t,e){const i=_n,n=t[i(192)]();return n[i(185)]=t[i(185)],this[i(329)](n,e),n}[_n(123)](t){const e=_n;return t[e(121)]((t=>{const i=e,n=this[i(419)](t);return Number(t[i(153)][i(252)](n))}))}[_n(180)](t,e){const i=_n;if(t.is(i(152),i(210)))e[i(289)]({item:t,type:i(285)});else{t.is(i(152))&&e[i(289)]({item:t,type:i(386)});for(const n of t[i(378)]())this[i(180)](n,e);t.is(i(152))&&e[i(289)]({item:t,type:i(330)})}return e}[_n(369)](){const t=_n,e=new Map(this[t(227)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(320)][t(200)](),...this[t(248)][t(200)]()]);a[t(163)](t(173));for(const e of a){const i=this[t(248)][t(295)](e)||An(e,!1),n=this[t(320)][t(295)](e)||An(e,!1);i[t(299)]()||n[t(299)]()?(r[t(319)][e]=Nn(i),r[t(418)][e]=Nn(n),this[t(271)](r[t(418)][e],n),this[t(271)](r[t(319)][e],i),s[t(319)][e]=this[t(180)](this[t(310)][t(295)](e),[]),s[t(418)][e]=this[t(180)](this[t(393)][t(295)](e)||An(e,!1),[])):a[t(163)](e)}for(const r of a){const o=s[t(319)][r];for(const r of o){const s=this[t(419)](r),o=r[t(153)][t(252)](s);i[t(163)](o),o>=this[t(337)]&&n[t(426)](o,e[t(295)](o))}}for(const r of a){const a=s[t(319)][r],c=this[t(123)](s[t(418)][r]);let u=0;for(const r of a){const s=this[t(419)](r),a=r[t(153)][t(252)](s);if(!n[t(132)](a)&&!o[t(132)](a))if(i[t(132)](a))u++;else{if(a!=c[u]){const n=e[t(295)](a)||e[t(295)](c[u]);for(;a!=c[u];)i[t(132)](c[u])||(o[t(426)](c[u],n),e[t(426)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(319)][e];for(const e of r){const r=this[t(419)](e),s=e[t(153)][t(252)](r);if(o[t(132)](s)){const e=o[t(295)](s);i[t(132)](s)||i[t(426)](s,{...e}),n[t(426)](s,{...e})}}}for(const e of i[t(200)]())e>=this[t(337)]&&i[t(163)](e);const c=new Map;for(const e of a){let r=s[t(319)][e];for(const e of r)if(e[t(153)].is(t(152),t(377))){const i=this[t(419)](e),r=e[t(153)][t(252)](i);if(n[t(132)](r)){const i=e[t(153)][t(394)][t(394)][t(252)](t(435)),s=c[t(295)](i)||new Set;s[t(253)](n[t(295)](r)[t(260)]),c[t(426)](i,s)}}r=s[t(418)][e];for(const e of r)if(e[t(153)].is(t(152),t(377))){const n=this[t(419)](e),r=e[t(153)][t(252)](n);if(i[t(132)](r)){const n=e[t(153)][t(394)][t(394)][t(252)](t(435)),s=c[t(295)](n)||new Set;s[t(253)](i[t(295)](r)[t(260)]),c[t(426)](n,s)}}for(const e of c[t(200)]())(n[t(132)](e)||i[t(132)](e))&&c[t(163)](e)}for(const e of a){const r=s[t(319)][e];let o=null,a=null;for(const e of r){const r=this[t(419)](e),s=e[t(153)][t(252)](r),u=c[t(295)](s);u&&t(386)==e[t(420)]&&(o=Array[t(298)](u)[0],a=e[t(153)][t(252)](t(346))),o&&(i[t(426)](s,{userId:o}),n[t(426)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(418)][e],a=r[t(319)][e];for(const{userId:e}of this[t(306)][t(423)]())null!==e&&l[t(253)](e);for(const{userId:e}of this[t(372)][t(423)]())null!==e&&l[t(253)](e);this[t(160)](a,s[t(319)][e],n,t(188),l),this[t(160)](o,s[t(418)][e],i,t(278),l),u[e]={insertions:this[t(171)](a),deletions:this[t(171)](o),attachChange:this[t(372)][t(295)](e)||null,attributesBefore:vi(this[t(283)][t(295)](e))||{},attributesAfter:vi(this[t(417)][t(295)](e))}}return{diffData:u,authorsIds:Array[t(298)](l)}}[_n(341)](t){const e=_n;for(const[,i]of t[e(162)]){const t=i[e(199)][e(228)]()[e(442)]((t=>e(377)==t[e(439)]));for(const i of t)1==i[e(142)]&&i[e(211)](0).is(e(152),e(144))&&i[e(211)](0)[e(400)](e(181),!0)}}[_n(171)](t){const e=_n;this[e(341)](t);const i=this[e(251)][e(284)][e(365)](t,{}),n=Array[e(298)](i[e(378)]())[e(121)]((t=>this[e(414)](t)));return JSON[e(156)](n)}[_n(414)](t){const e=_n;if(t.is(e(210)))return t[e(284)];{const i=t;return{type:Object[e(200)](Sn)[e(155)]((e=>t instanceof Sn[e])),name:i[e(439)],attributes:Array[e(298)](i[e(304)]()),children:Array[e(298)](i[e(378)]())[e(121)]((t=>this[e(414)](t)))}}}[_n(160)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(251)][s(197)];for(let n=0;n<e[s(334)];n++){const r=this[s(419)](e[n]),c=e[n][s(153)][s(252)](r),h=i[s(295)](c),d=n==e[s(334)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(260)]!=o[s(260)])&&(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(260)],d=l(134)+n+":"+h+":"+c++,f=u[l(362)](i,a);t[l(162)][l(426)](d,f),null!==h&&r[l(253)](h)}}[_n(419)](t){const e=_n;switch(t[e(420)]){case e(386):return e(435);case e(330):return e(346);default:return e(233)}}[_n(329)](t,e){const i=_n;t[i(220)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(295)](r[i(309)][i(214)]);t[n]=this[i(203)](r,s)}if(r instanceof Yi.Range){const s=e[i(295)](r[i(309)][i(214)]);t[n]=this[i(396)](r,s)}i(309)===n&&(t[i(309)]=e[i(295)](t[i(309)][i(214)]))}}[_n(396)](t,e){const i=_n;return this[i(251)][i(197)][i(362)](this[i(203)](t[i(199)],e),this[i(203)](t[i(358)],e))}[_n(203)](t,e){const i=_n;return this[i(251)][i(197)][i(305)](e,t[i(236)],t[i(239)])}[_n(397)](t){const e=_n,i=this[e(310)][e(295)](t[e(154)][e(309)][e(214)]),n=this[e(203)](t[e(154)],i),r=null===t[e(185)]?null:t[e(185)]||this[e(251)][e(347)][e(295)](e(366)).me.id,s=n[e(394)],o=this[e(140)],a=[];for(const i of t[e(363)])if(i.is(e(152)))a[e(289)](this[e(436)](i));else for(let t=0;t<i[e(265)];t++)a[e(289)](new Yi.Element(e(210),{vid:this[e(140)]++}));const c=this[e(140)];for(let t=o;t<c;t++)this[e(227)][e(426)](t,{userId:r});s[e(151)](n[e(373)],a)}[_n(136)](t){const e=_n;(t=this[e(246)](t,this[e(310)]))[e(340)]();const i=null===t[e(185)]?null:t[e(185)]||this[e(251)][e(347)][e(295)](e(366)).me.id,n=t[e(312)](),r=n[e(394)],s=n[e(373)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(211)](e);s.is(a(152),a(210))?n[a(426)](s[a(252)](a(233)),{userId:i}):(n[a(426)](s[a(252)](a(435)),{userId:i}),t(n,s,0,s[a(142)]),n[a(426)](s[a(252)](a(346)),{userId:i}))}}(this[e(227)],r,s,s+t[e(130)])}[_n(225)](t){const e=_n,i=null===(t=this[e(246)](t,this[e(310)]))[e(185)]?null:t[e(185)]||this[e(251)][e(347)][e(295)](e(366)).me.id,n=t[e(277)][e(394)],r=t[e(425)][e(394)],s=n[e(252)](e(346)),o=r[e(252)](e(435));n[e(400)](e(346),r[e(252)](e(346))),r[e(400)](e(346),s),this[e(227)][e(426)](o,{userId:i}),this[e(227)][e(426)](s,{userId:i}),t[e(340)]()}[_n(404)](t){const e=_n,i=null===(t=this[e(246)](t,this[e(310)]))[e(185)]?null:t[e(185)]||this[e(251)][e(347)][e(295)](e(366)).me.id,n=t[e(384)],r=t[e(437)][e(394)];t[e(340)]();const s=r[e(252)](e(346)),o=t[e(410)][e(431)];if(n){const t=o[e(252)](e(346)),n=r[e(252)](e(346));r[e(400)](e(346),t),o[e(400)](e(346),n),this[e(227)][e(426)](r[e(252)](e(346)),{userId:i}),this[e(227)][e(426)](o[e(252)](e(435)),{userId:i})}else{const t=this[e(140)]++,n=this[e(140)]++;r[e(400)](e(346),t),o[e(400)](e(435),n),o[e(400)](e(346),s),this[e(227)][e(426)](t,{userId:i}),this[e(227)][e(426)](n,{userId:i})}}[_n(187)](t){const e=_n;if(!t[e(234)])return;const i=(t=this[e(246)](t,this[e(248)]))[e(380)]?t[e(380)][e(309)]:null,n=t[e(208)]?t[e(208)][e(309)]:null;i&&this[e(383)][e(163)](t[e(439)]),n&&this[e(383)][e(426)](t[e(439)],t[e(208)][e(192)]());const r=null===t[e(185)]?null:t[e(185)]||this[e(251)][e(347)][e(295)](e(366)).me.id,s=t[e(439)];if(!this[e(306)][e(132)](s))return void this[e(306)][e(426)](s,{range:t[e(380)],userId:r});const o=this[e(306)][e(295)](s),a=o[e(212)],c=t[e(208)];null==a&&null==c||a&&c&&a[e(124)](c)?this[e(306)][e(163)](t[e(439)]):o[e(260)]=r}[_n(122)](t,e){const i=_n;this[i(248)][i(132)](t[i(214)])?this[i(248)][i(295)](t[i(214)])[i(143)]=t[i(335)]:(this[i(248)][i(426)](t[i(214)],An(t[i(214)],!0)),this[i(417)][i(426)](t[i(214)],{}),e&&this[i(310)][i(426)](t[i(214)],An(t[i(214)],!0)));const n=null===t[i(185)]?null:t[i(185)]||this[i(251)][i(347)][i(295)](i(366)).me.id,r=this[i(372)][i(295)](t[i(214)]);r&&r[i(260)]===n?this[i(372)][i(163)](t[i(214)]):this[i(372)][i(426)](t[i(214)],{userId:n,isAttached:t[i(335)]})}[_n(432)](t){const e=_n,i=this[e(417)][e(295)](t[e(309)][e(214)]);null===t[e(125)]?delete i[t[e(390)]]:i[t[e(390)]]=t[e(125)]}}function Nn(t){const e=_n,i=An(t[e(214)],t[e(299)]());for(const n of t[e(378)]()){const t=n[e(364)](!0);i[e(159)](t)}return i}function An(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(214)]=t,n[i(143)]=e,n[i(299)]=()=>n[i(143)],n}function Rn(t,e,i){const n=_n,r=n(330)==t[n(420)]?i[n(168)](t[n(153)],n(358)):i[n(370)](t[n(153)]);return i[n(305)](e,r[n(236)],r[n(239)])}function Mn(t,e,i){const n=_n,r=n(386)==t[n(420)]?i[n(168)](t[n(153)],0):i[n(348)](t[n(153)]);return i[n(305)](e,r[n(236)],r[n(239)])}function En(){const t=["deletions","_getVidAttributeName","type","2704dDoqKg","startsWith","values","getUser","sourcePosition","set","addRevision","includes","attributesAfter","revisionHistoryLicenseKeyExpired","nodeAfter","_handleRootAttributeOperation","collaboration.channelId","removeRootAttribute","vid_start","_makeIdsRoot","splitPosition","fromEntries","name","PendingActions","_transformMarkers","filter","map","_handleRootOperation","_getBaseVids","isEqual","newValue","source","ready","pluginName","_loadRevisionData","howMany","licenseKey","has","_loadedStateData","revision:","_bufferedUpdates","_handleMoveOperation","getIndex","createdAt","_addPendingAction","_revisionId","_getFromVersion","childCount","_isAttached","paragraph","authorsIds","_licenseKeyCheckInterval","getRevisions","attributes","bind","11ktzLUJ","_insertChild","element","item","position","find","stringify","getRevisionRootsAttributes","getCurrentRevisionId","_appendChild","_markChanges","authors","markers","delete","attachChange","_handleOperation","_removePendingAction","_isInit","createPositionAt","creatorId","_update","_prepareViewToSave","config","$graveyard","loadState","Initial revision","revisionHistoryLicenseKeyValid","sort","invalid","_isPendingUpdate","_generateTape","keepParagraph","version","_setConversion","_applyOperations","_authorId","hasContent","_handleMarkerOperation","insertion","forEach","32655470gubfqD","dataDowncast","clone","remove","_createCurrentRevision","26686ZNxojk","revision-end","model","useFillerType","start","keys","_showLicenseError","_continueCurrentRevision","_fixPosition","getRevisionDocumentData","processor","destroy","getRootNames","newRange","diffData","$text","getChild","range","_createFromRanges","rootName","_source","getOperation","2282135tIliXH","isReady","split","baseVersion","getLatestVersion","default","update","editing","_handleMergeOperation","_operations","_touched","getAncestors","getNodeByPath","isOfficialPlugin","addRootAttribute","updateRevisions","vid","affectsData","PENDING_ACTION_REVISION_HISTORY","path","previousPosition","getRange","stickiness","_lastTo","RevisionHistory","markerToData","initial","trim","reverse","_cloneOperation","data-revision-","_diffRoots","sendBufferedUpdates","string","editor","getAttribute","add","insert","toData","clear","merge","_removeMetaData","domainLimit","userId","_lastFrom","toVersion","12xKpijk","trialLimit","offsetSize","revisionHistory.resumeUnsavedRevision","initialData","roots","isEnabled","define","_copyMarkers","fromVersion","parse","shift","_savedMetaData","_replaceEditorDataWithRevisionData","targetPosition","deletion","619578bTLjgv","getWalker","addRevisionData","setSource","_baseRootsAttributes","data","text","2156536zibqOH","_calculateMetaData","2303NbzrkJ","push","documentFragment","getTransformedByOperation","usageLimit","resolve","RealTimeCollaborationClient","get","repository","getOperations","from","isAttached","upcast","revisionHistoryLicenseKeyInvalid","reInit","addRoot","getAttributes","createPositionFromPath","_touchedMarkers","NEGATIVE_INFINITY","toModel","root","_idsRoots","conversion","getMovedRangeStart","evaluationLimit","getData","_initialRevisionId","_reset","currentRevision","_saveMetaData","insertions","_baseRoots","afterInit","createRangeIn","_getPreviousFrom","setRevisionData","revision-start","expired","finally","for","_fixOperation","elementEnd","getRevision","Empty document","children","length","isAdd","_makeModelFromViewString","_startingRevisionId","locale","slice","_execute","_processRootBeforeSave","_revisionDataBuilder","getRoot","revisionHistoryLicenseKeyEvaluationLimit","RevisionTracker","vid_end","plugins","createPositionAfter","init","4vKLmuC","isPremiumPlugin","reinsert","marked","6421635gDNqIy","max","_loadState","_pendingAction","end","some","_makeRevision","history","createRange","nodes","_clone","toView","Users","_bufferUpdate","editor-initial-data-replaced-with-revision-data","_getState","createPositionBefore","size","_touchedRoots","offset","featureNotAllowed","revisionHistoryLicenseKeyTrialLimit","requires","tableCell","getChildren","saveRevision","oldRange","_removeRevisionMarkers","_findInsertionIndex","_markers","graveyardPosition","revisionHistoryLicenseKeyNotAllowed","elementStart","attributesBefore","createRevision","document","key","marker","then","_baseIdsRoots","parent","revisionHistoryLicenseKeyUsageLimit","_fixRange","_handleInsertOperation","adapter","RevisionsRepository","_setAttribute","revision","creator","getTime","_handleSplitOperation","dataToMarker","_createInitialRevision","revisionHistoryLicenseKeyDomainLimit","rootsAttributes","changeRootAttribute","insertionPosition","detachRoot","view","move","_getViewJson","_startingVersion","buildRevisionData","_diffRootsAttributes"];return(En=function(){return t})()}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Un=i(357),Hn=i.n(Un),Zn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Hn();Cn()(Zn.A,$n);Zn.A&&Zn.A.locals&&Zn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Hn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Gn(t,e){const i=Kn();return(Gn=function(t,e){return i[t-=499]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(287679===-parseInt(e(516))/1*(-parseInt(e(507))/2)+parseInt(e(515))/3+parseInt(e(535))/4+-parseInt(e(528))/5+parseInt(e(503))/6*(parseInt(e(509))/7)+-parseInt(e(537))/8*(parseInt(e(526))/9)+-parseInt(e(513))/10*(parseInt(e(532))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kn);class Jn extends Vn.View{constructor(e,i){const n=Gn;super(e),this[n(522)]=new t.FocusTracker,this[n(534)]=new t.KeystrokeHandler,this[n(530)](n(524),""),this[n(533)]=this[n(514)](i),this[n(508)]({tag:n(505),attributes:{class:["ck",n(518),n(523)],tabindex:"-1"},children:[this[n(533)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Yn(542)](){const t=Yn;super[t(542)](),(0,Vn.submitHandler)({view:this}),this[t(522)][t(541)](this[t(533)][t(506)]),this[t(534)][t(500)](this[t(506)]);const e=e=>e[t(519)]();this[t(534)][t(530)](t(529),e),this[t(534)][t(530)](t(511),e),this[t(534)][t(530)](t(540),e),this[t(534)][t(530)](t(501),e)}[Yn(538)](){const t=Yn;this[t(533)][t(538)]()}get[Yn(527)](){const t=Yn;return this[t(533)][t(531)][t(506)][t(499)][t(510)]()}set[Yn(527)](t){const e=Yn;this[e(533)][e(531)][e(506)][e(499)]=t[e(510)]()}[Yn(504)](){const t=Yn;this[t(533)][t(531)][t(506)][t(499)]="",this[t(533)][t(536)]=null}[Yn(514)](t){const e=Yn,i=new Vn.LabeledFieldView(this[e(517)],Vn.createLabeledInputText),n=i[e(531)];n[e(521)]({attributes:{maxlength:e(525)}});let r=Qi(this[e(517)],e(520));return!t&&(r+=" ("+Qi(this[e(517)],e(539))+")"),i[e(512)]=r,n.on(e(502),(()=>{const t=e;this[t(524)]=n[t(506)][t(499)][t(510)]()})),i}}function Kn(){const t=["errorText","24lqKODU","focus","optional","arrowup","add","render","value","listenTo","arrowdown","input","377418vzElsI","reset","form","element","142908QelpAZ","setTemplate","35NixJKZ","trim","arrowleft","label","11630dAtmif","_createRevisionNameInput","345906wFjOdL","5IGGVfG","locale","ck-revision-history-save-revision-form","stopPropagation","Name of the revision","extendTemplate","focusTracker","ck-responsive-form","revisionNameInputValue","220","791793vGNkFb","revisionName","1055790ruoVxF","arrowright","set","fieldView","5511TeYFCR","revisionNameInputView","keystrokes","2233376aVyDvV"];return(Kn=function(){return t})()}const Xn=tr;function Qn(){const t=["delegate","isEnabled","revisionName","isOfficialPlugin","menuBar:revisionHistory","panelView","buttonView","Revision history","submit","pluginName","history","showRevisionViewerCallback","11498gIfJCb","children","RevisionTracker","menu","8bZnahC","35sWdHjG","964890jsdJsT","1164465OLUGxk","RevisionHistoryUI","requires","componentFactory","revisionHistory","_registerMenuComponent","491856VGviyQ","Accept","isOpen","get","focus","2794776sFjqOS","editor","Save current revision","3DEFuAB","reset","revisionSave","addMany","set","items","bind","execute","render","show","isReadOnly","Dialog","isPremiumPlugin","role","revisionNameInputView","209QgOScg","Open revision history","view","saveRevision","locale","_createSaveRevisionFormView","init","errorText","Cancel","The revision name cannot be empty.","add","hide","editing","857250KfODNa","revisionHistory.requireRevisionName","4393040TFGsfL","menuitem","_showDialog","config","ck-button-action","isReady","plugins","_saveRevisionFormView"];return(Qn=function(){return t})()}function tr(t,e){const i=Qn();return(tr=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(683338===-parseInt(e(508))/1+parseInt(e(495))/2+parseInt(e(516))/3*(-parseInt(e(513))/4)+parseInt(e(546))/5+-parseInt(e(544))/6*(parseInt(e(500))/7)+-parseInt(e(499))/8*(parseInt(e(502))/9)+parseInt(e(501))/10*(parseInt(e(531))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qn);class er extends qi.Plugin{static get[Xn(492)](){return Xn(503)}static get[Xn(557)](){return!0}static get[Xn(528)](){return!0}static get[Xn(504)](){return[On]}[Xn(537)](){const t=Xn,e=this[t(514)],i=e[t(552)][t(511)](t(497));e.ui[t(505)][t(541)](t(506),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(488)][r(496)],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(522)](r(555)).to(i,r(551),i,r(555),e,r(526),((t,e,i)=>t&&e&&!i)),s[r(489)][r(520)]({icon:qi.icons[r(493)],label:Qi(n,r(490)),tooltip:!0}),u[r(520)]({label:Qi(n,r(515)),withText:!0,role:r(547)}),u[r(522)](r(555)).to(i,r(551),i,r(555),e,r(526),((t,e,i)=>t&&e&&!i)),u.on(r(523),(()=>this[r(548)]())),h[r(520)]({label:Qi(n,r(532)),withText:!0,role:r(547)}),h[r(522)](r(555)).to(i,r(551),e,r(526),((t,e)=>t&&!e)),h.on(r(523),(()=>{const t=r;e[t(549)][t(511)](t(506))[t(494)](),s[t(510)]=!1,e[t(543)][t(533)][t(512)]()})),c[r(496)][r(541)](u),l[r(496)][r(541)](h),a[r(529)]=r(498),a[r(521)][r(519)]([c,l]),o[r(541)](a),s})),e.ui[t(505)][t(541)](t(558),(()=>this[t(507)]()))}[Xn(507)](){const t=Xn,e=this[t(514)],i=e[t(535)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(489)][t(520)]({icon:qi.icons[t(493)],label:Qi(i,t(490))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(520)]({label:Qi(i,t(515))}),o[t(554)](t(523)).to(n),o.on(t(523),(()=>{this[t(548)]()})),s[t(496)][t(541)](o),r[t(521)][t(541)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(520)]({label:Qi(i,t(532))}),c[t(554)](t(523)).to(n),c.on(t(523),(()=>{const i=t;e[i(549)][i(511)](i(506))[i(494)]()})),a[t(496)][t(541)](c),r[t(521)][t(541)](a),n[t(488)][t(496)][t(541)](r),n}[Xn(548)](){const t=Xn,e=this[t(514)],i=e[t(535)],n=e[t(552)][t(511)](t(527)),r=e[t(552)][t(511)](t(497));function s(r){const s=t;e[s(549)][s(511)](s(545))&&""===r[s(556)]?r[s(530)][s(538)]=Qi(i,s(540)):(e[s(552)][s(511)](On)[s(534)]({name:r[s(556)]}),n[s(542)]())}this[t(553)]||(this[t(536)](),this[t(553)].on(t(491),(()=>s(this[t(553)])))),this[t(553)][t(517)](),n[t(525)]({id:t(518),title:Qi(i,t(515)),isModal:!0,content:this[t(553)],actionButtons:[{label:Qi(e[t(535)],t(539)),withText:!0,onExecute:()=>n[t(542)]()},{label:Qi(e[t(535)],t(509)),class:t(550),withText:!0,onCreate(i){const n=t;i[n(522)](n(555)).to(r,n(551),r,n(555),e,n(526),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(553)])}]})}[Xn(536)](){const t=Xn,e=this[t(514)],i=e[t(535)];this[t(553)]=new Jn(i,e[t(549)][t(511)](t(545))),this[t(553)][t(524)]()}}function ir(t,e){const i=rr();return(ir=function(t,e){return i[t-=113]})(t,e)}const nr=ir;function rr(){const t=["data","2724029pkvbRT","ck-revision-change__label","11997awksoP","isSuggestion","element","66CRTAwA","focus","208160gplxzm","ck-revision-change","set","span","_model","Added by","710QnHjoS","add","Removed by","243895MCsmSR","178632PhTDwA","name","setTemplate","changeId","260362HuwWsC","Suggested by","author","bindTemplate","div","70154aVBmcn","39MstOiO","ck-revision-change__","type","ck-annotation"];return(rr=function(){return t})()}!function(t){const e=ir,i=t();for(;;)try{if(285358===-parseInt(e(131))/1+-parseInt(e(136))/2*(parseInt(e(137))/3)+-parseInt(e(127))/4+parseInt(e(126))/5*(parseInt(e(115))/6)+parseInt(e(142))/7+parseInt(e(117))/8+parseInt(e(144))/9*(parseInt(e(123))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends Vn.View{constructor(t,e){const i=ir;super(t),this[i(121)]=e,this[i(130)]=e.id;const n=this[i(134)],r=Qi(t,e[i(141)][i(113)]?i(132):i(124)==e[i(139)]?i(122):i(125));this[i(119)](i(139),e[i(139)]),this[i(129)]({tag:i(135),attributes:{class:[i(140),i(118),n.to(i(139),(t=>i(138)+t))],tabindex:-1},children:[{tag:i(120),children:[{tag:i(120),attributes:{class:[i(143)]},children:[{text:r}]},{text:" "+e[i(133)][i(128)]}]}]})}[nr(116)](){const t=nr;this[t(114)][t(116)]()}}function or(){var t=["type","1292412lFbGEt","author","2406760GgtdKc","set","40xOXZpz","629710jsBwRt","toJSON","3779523YFHdKx","6349xlpiWb","createdAt","2464RGcLHt","906918fzxssu","rootName","18QhKWZZ","data","3382362nyaxoW"];return(or=function(){return t})()}var ar=cr;function cr(t,e){var i=or();return(cr=function(t,e){return i[t-=191]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(754729===-parseInt(e(204))/1+parseInt(e(193))/2+parseInt(e(200))/3+parseInt(e(195))/4+parseInt(e(198))/5*(parseInt(e(206))/6)+-parseInt(e(201))/7*(-parseInt(e(203))/8)+parseInt(e(191))/9*(-parseInt(e(197))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(or);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(194)]=e[i(194)],this[i(192)]=e[i(192)],this[i(207)]=e[i(207)]||{},this[i(205)]=e[i(205)],this[i(196)](i(202),e[i(202)])}[ar(199)](){var t=ar;return{id:this.id,authorId:this[t(194)].id,type:this[t(192)],data:this[t(207)],createdAt:this[t(202)]}}}function lr(){const t=["7ZXirUy","534192jHnnxo","_setChanges","362745dhkAXK","298lkbVZY","newRevisionId","add","1826780pBpJIG","291324RklQpX","oldRevisionId","changes","213647QBFzUe","5997rkpezN","1860024bMtrlC","130OFjaGr"];return(lr=function(){return t})()}const hr=dr;function dr(t,e){const i=lr();return(dr=function(t,e){return i[t-=307]})(t,e)}!function(t){const e=dr,i=t();for(;;)try{if(192412===-parseInt(e(320))/1+-parseInt(e(313))/2*(-parseInt(e(321))/3)+parseInt(e(310))/4+-parseInt(e(316))/5+-parseInt(e(317))/6*(-parseInt(e(309))/7)+-parseInt(e(307))/8+-parseInt(e(312))/9*(-parseInt(e(308))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lr);class fr{constructor(e,i){const n=dr;this[n(314)]=e,this[n(318)]=i,this[n(319)]=new t.Collection}[hr(311)](t){const e=hr;for(const i of t)this[e(319)][e(315)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Hn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=gr();return(yr=function(t,e){return i[t-=303]})(t,e)}function gr(){const t=["isCollapsed","_getRevisionsRange","processor","_findChangeIdFromDomTarget","createRangeIn","markersEnd","getWalker","addClass","_setChanges","isIncorrect","locale","_processTape","removeAttribute","offsetSize","_markMarkers","isPremiumPlugin","startIndex","affectsData","element:pre","hasClass","addRevision","_setConversion","abs","conversion","downcastDispatcher","split","revisionHistory","_threeWayMerge","toViewPosition","getRootNames","change:activeView","_getDiff","previousPosition","_step","4592652ryAzhL","pluginName","addRoot","showNextChange","toViewRange","data","activeChange","flat","softBreak","RevisionViewer","mapViewToDom","deletion","isReady","error","attachChange","removeMarker:revision-suggestion","nextSibling","consumable","getRevision","getChild","insertion","loadRevisionData","isOnRoot","writer","toData","enableReadOnlyMode","revision-suggestion","suggestion:","for","modelRange","next","delete","_setDistance","string","start","reconvertMarker","includes","7YxglEl","RevisionsRepository","bindElementToMarker","document","has","editing","_getViewForChange","requires","8881576uzNPYe","addMarker:revision","ck-suggestion-marker","maxOffset","end","getRevisionRootsAttributes","restoreRevisionCallback","deletions","showPreviousChange","_appendChild","name","ck-revision-history-root-","pop","newRevisionId","merge","revision-comment:","concat","span","ck-editor__editable__overlay","checkAttribute","wrap","isAdded","diffData","_markMismatchedRemovedTags","pairId","compare","_markSuggestions","unbindElementFromMarkerName","parent","revision","oldRevisionId","index","insertions","changes","mouseover","isAtEnd","markerToData","schema","high","forceDisabled","comment","from","unshift","-new","adapter","nextPosition","createUIElement","add","refresh","toModel","data-revision-","change","createPositionFromPath","right","isAfter","remove","createRevision","filter","endIndex","keys","_update","ck-suggestion-preview-marker-","isOfficialPlugin","attributesAfter","267849KcVjRU","catch","attributesBefore","_changeIdToChange","6110196MJkkxY","getDomRoot","ck-suggestion-marker-split","revisionHistoryLabel","nodeAfter","dataDowncast","789777JYJQGe","isBlock","_fixObsoleteTags","useFillerType","clear","values","addRevisionData","getCustomProperty","suggestion","activeView","setAttribute","_data","ck-suggestion-marker-","shift","_getChangeFromId","object","elementStart","done","removeMarker:revision","insert","markerToHighlight","vid","editor","isInline","revision-suggestion:","addMarker:revision-suggestion:insertion","_removeMissingPairs","backward","5AtuMPC","selection","elementEnd","data-change-id","plugins","find","low","isContent","type","_removeRevisionMarkers","ck-revision-history-root-add","_cleanUp","editingDowncast","markerRange","restoreRevision","removeClass","revisionHistoryAttachChange","addHighlight","all","388716zxNROj","listenTo","_changeView","forEach","removeMarker","uiElement","isSuggestion","hasAttribute","map","mapper","vid_start","getAttribute","change:isEnabled","elementToAttribute","_sortAndFilterDiffChanges","first","addMarker:revision-suggestion:deletion","isEqual","userId","_makeTape","getClientRects","getAttributes","side","slice","91740JxaQym","authors","POSITIVE_INFINITY","markers","_activeViewTarget","execute","changeId","parse","toViewElement","getItems","domConverter","startsWith","top","_markInsertions","item","target","currentChangeNumber","isNavigationMode","getRoot","view","stop","rootName","revision-end","length","isRemoveSuggestion","left","children","markersStart","createAttributeElement","_getViewObj","getRevisionData","level","_joinTapes","upcast","getLaterVisibleRevision","_refreshStartEndIndex","roots","_revisions","destroy","domEvent","isRemoved","config","_makeModelFromViewString","_cleanMarkers","splice","text","numberOfChanges","dataToMarker","_initInteractions","getIndex","_makeModelFromTape","distance","revision-viewer","ck-suggestion-preview-marker","return","bind","showStack","createPositionBefore","ck-revision-history-root-remove","ck-revision-history-root--active","set","test","detachRoot","vid_end","createRange","range","attribute:vid","change:activeChange","then","attributes","init","isAddSuggestion","change:isReady","_removeUnsupportedChanges","indexOf","ck-suggestion-marker--active","isObject","diff","_balloon","markerName","consume","isEnabled","repository","revision:","isAtStart","revision-start","element","markerNameToElements","model","bottom","get","updatePosition","highest","push","change:numberOfChanges","resolve","default","isLimit","forward","isBefore","marked","enqueueChange","sort","findIndex","isAttached","viewItem","code","commands","observeMarkers","mousedown","collaboration.channelId","WidgetToolbarRepository","ck-suggestion-marker-merge"];return(gr=function(){return t})()}!function(t){const e=yr,i=t();for(;;)try{if(945682===-parseInt(e(573))/1+-parseInt(e(317))/2+-parseInt(e(464))/3+parseInt(e(577))/4+-parseInt(e(611))/5*(-parseInt(e(630))/6)+parseInt(e(501))/7*(parseInt(e(509))/8)+parseInt(e(583))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gr);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(465)](){return vr(473)}static get[vr(571)](){return!0}static get[vr(445)](){return!0}static get[vr(508)](){return[Bi.Users,Vn.ContextualBalloon,Xi]}constructor(t){const e=vr;super(t),this[e(399)]=this[e(605)][e(615)][e(407)](e(502)),this[e(377)](e(470),null),this[e(377)](e(592),null),this[e(321)]=null,this[e(377)](e(394),null),this[e(377)](e(476),!1),this[e(377)](e(398),!0),this.on(e(305),((t,i,n)=>{const r=e;this[r(470)]=null,this[r(592)]=null,this[r(605)][r(506)][r(336)][r(560)]((t=>{const e=r;for(const i of this[e(605)][e(506)][e(336)][e(504)][e(353)])n?t[e(626)](e(527),i):t[e(437)](e(527),i)}))})),this[e(372)](e(334)).to(this,e(470),(t=>null!==t)),this[e(372)](e(333)).to(this,e(476),this,e(394),this,e(470),((t,i,n)=>t&&n?i[e(542)][e(366)](n):0)),this[e(372)](e(363)).to(this,e(476),this,e(394),((t,i)=>t?i[e(542)][e(340)]:0)),this[e(632)]=null,this[e(576)]=new Map,this[e(553)]=null,this[e(395)]=this[e(605)][e(615)][e(407)](Vn.ContextualBalloon)}[vr(387)](){const t=vr,e=this[t(605)],i=new Ir(e,{direction:t(610)}),n=new Ir(e,{direction:t(415)});e[t(424)][t(556)](t(517),i),e[t(424)][t(556)](t(467),n),e[t(424)][t(556)](t(625),new _r(e)),this.on(t(411),(()=>{const e=t;i[e(557)](),n[e(557)]()})),this[t(451)](),this[t(365)](),e[t(489)](t(369)),e[t(615)][t(505)](t(428))&&e[t(615)][t(407)](t(428))[t(548)](t(369))}async[vr(347)](t){const e=vr;await this[e(485)](t);const i={};for(const n in t[e(531)]){if(t[e(531)][n][e(478)]&&!t[e(531)][n][e(478)][e(421)])continue;const r=this[e(620)](JSON[e(324)](t[e(531)][n][e(541)])),s=this[e(605)][e(506)][e(336)][e(504)],o=new Yi.ViewDocumentFragment(s,r[e(638)]((t=>this[e(346)](t))));this[e(605)][e(469)][e(432)][e(586)](e(417)),i[n]=this[e(605)][e(469)][e(432)][e(488)](o),this[e(605)][e(469)][e(432)][e(586)](e(413))}return i}async[vr(514)](t){const e=vr;await this[e(485)](t);const i={};for(const n in t[e(531)])t[e(531)][n][e(478)]&&!t[e(531)][n][e(478)][e(421)]||(i[n]=t[e(531)][n][e(572)]||{});return i}[vr(620)](t){const e=vr;return(t=t[e(566)]((t=>!t[e(519)]||e(402)!==t[e(519)]&&e(339)!==t[e(519)])))[e(633)]((t=>{const i=e;i(497)!=typeof t&&(t[i(343)]=this[i(620)](t[i(343)]),t[i(386)]=t[i(386)][i(566)]((t=>!t[0][i(328)](i(559)))))})),t}async[vr(534)](t,e,i=!1){const n=vr;if(!this[n(398)])return;const r=this[n(394)],s=this[n(399)],o=n(497)==typeof t?s[n(482)](t):t,a=n(497)==typeof e?s[n(482)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(394)]&&this[n(394)][n(522)]===c&&this[n(394)][n(539)]===u)return Promise[n(412)]();this[n(476)]=!1,this[n(592)]=null,this[n(470)]=null,this[n(394)]=new fr(c,u);const l=this[n(431)](o,a,!0)[n(638)]((t=>this[n(485)](t)));return l[n(410)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(629)](l)[n(385)]((()=>{const t=n;if(!this[t(398)])return;this[t(622)]();const e=this[t(461)](c,u);for(const i of e[t(542)])this[t(576)][t(377)](i.id,i);this[t(605)][t(405)][t(418)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(605)][n(405)][n(504)][n(459)]())i[n(379)](t);for(const t of Object[n(568)](e[n(405)])){const r=i[n(466)](t);for(const s of Object[n(568)](e[n(386)][t]))i[n(593)](s,e[n(386)][t][s],r);i[n(602)](e[n(405)][t],r,0)}})),this[t(394)][t(438)](this[t(307)](e[t(542)])),this[t(476)]=!0}))[n(574)]((t=>{const e=n;console[e(477)](t),this[e(622)](),r&&(this[e(394)]=r),this[e(476)]=!0}))}[vr(589)](t,e){const i=vr,n=this[i(399)][i(565)](t);return n.on(i(569),((t,i,r)=>e(i,r,n))),this[i(399)][i(450)](n),n}[vr(485)](t){const e=vr;if(!t||t[e(531)])return Promise[e(412)]();{const i=this[e(605)][e(358)][e(407)](e(427));return this[e(553)][e(482)]({channelId:i,revisionId:t.id})[e(385)]((i=>{const n=e;t[n(569)]({diffData:i[n(531)]},!0)}))}}[vr(622)](){const t=vr;this[t(470)]=null,this[t(360)](),this[t(632)]&&this[t(632)][t(355)](),this[t(632)]=null,this[t(576)][t(587)](),this[t(605)][t(405)][t(418)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(605)][i(405)][i(504)][i(459)]())e[i(379)](t)}))}[vr(307)](t){const e=vr,i=[],n=new Map;for(const t of this[e(605)][e(405)][e(504)][e(459)]()){const r=this[e(605)][e(506)][e(336)][e(578)](t);if(!r)continue;const s=r[e(313)]()[e(331)](0);s&&(i[e(410)](t),n[e(377)](t,s))}return i[e(419)](((t,i)=>{const r=e,s=n[r(407)](t),o=n[r(407)](i);return s.y-o.y||s.x-o.x})),(t=t[e(566)]((t=>i[e(500)](t[e(338)]))))[e(419)](((t,n)=>i[e(391)](t[e(338)])-i[e(391)](n[e(338)]))),t}[vr(312)](t){const e=vr,i=Array[e(550)](t[e(320)])[e(566)]((([t,i])=>t[e(328)](e(400))&&!i[e(430)])),n=Array[e(550)](this[e(605)][e(405)][e(434)](t)[e(436)]({singleCharacters:!0}));if(0!=i[e(340)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(455)](":");if(r[e(513)][e(310)](t[e(554)])&&i[e(596)](),(t[e(462)][e(310)](r[e(498)])||t[e(462)][e(563)](r[e(498)]))&&(e(484)==s?t[e(530)]={userId:o}:e(475)==s&&(t[e(357)]={userId:o})),0==i[e(340)])break}return n}[vr(352)](t){const e=vr,i=new Map;for(let n=0;n<t[e(340)];n++)e(362)===t[n][e(619)]?(t[n][e(331)][e(446)]=n,t[n][e(331)][e(567)]=n):(e(599)===t[n][e(619)]?t[n][e(331)][e(446)]=n:e(613)===t[n][e(619)]&&(t[n][e(331)][e(567)]=n),i[e(377)](t[n].id,n));for(const n of i[e(588)]())e(599)===t[n][e(619)]?t[n][e(331)][e(567)]=i[e(407)](t[n][e(533)]):e(613)===t[n][e(619)]&&(t[n][e(331)][e(446)]=i[e(407)](t[n][e(533)]))}[vr(441)](t){const e=vr;for(let i=0;i<t[e(340)];i++){if(e(599)===t[i][e(619)])t[i][e(331)][e(446)]=i;else if(e(613)===t[i][e(619)]){t[i][e(331)][e(567)]=i;const n=t[i][e(331)][e(446)];t[n][e(533)]=t[i].id,t[i][e(533)]=t[n].id}else t[i][e(331)][e(446)]=i,t[i][e(331)][e(567)]=i,t[i][e(533)]=null;t[i][e(344)]||(t[i][e(344)]=[],t[i][e(435)]=[])}}[vr(330)](t,e){const i=vr,n=t[i(566)]((t=>!t[i(530)]));for(let t=0;t<e[i(340)];t++)e[t][i(530)]&&(n[t][i(530)]=e[t][i(530)])}[vr(359)](t){const e=vr,i=JSON[e(324)](t),n=this[e(605)][e(506)][e(336)][e(504)],r=new Yi.ViewDocumentFragment(n,i[e(638)]((t=>this[e(346)](t))));return this[e(605)][e(469)][e(558)](r)}[vr(346)](t){const e=vr,i=this[e(605)][e(506)][e(336)][e(504)];if(e(497)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(343)][e(638)]((t=>this[e(346)](t)));return new(kr[t[e(619)]]||Yi.ViewElement)(i,t[e(519)],t[e(386)],n)}}[vr(461)](t,e=null){const i=vr,n=this[i(399)][i(482)](t),r=e?this[i(399)][i(482)](e):null,s=this[i(431)](n,r),o=s[s[i(340)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(340)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(568)](e[i(531)]))if(e[i(531)][t][i(478)]){const n=e[i(531)][t][i(478)];n[i(421)]?(u[i(556)](t),l[i(505)](t)&&l[i(407)](t)[i(311)]==n[i(311)]?l[i(495)](t):l[i(377)](t,n)):l[i(505)](t)?(u[i(495)](t),l[i(495)](t)):(u[i(556)](t),l[i(377)](t,n))}else u[i(556)](t)}for(const t of u){const e=l[i(505)](t)&&!l[i(407)](t)[i(421)];let n=e?s[i(340)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(531)][t]){const n=e?o[i(531)][t][i(575)]:o[i(531)][t][i(572)];c[i(386)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(405)]={};for(const e of t[i(318)])a[i(377)](e.id,e);for(const e of u){const n=t[i(531)][e]?t[i(531)][e][i(541)]:"[]",r=t[i(531)][e]?t[i(531)][e][i(516)]:"[]";t[i(405)][e]={insertions:this[i(359)](n),deletions:this[i(359)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(550)](n[i(405)][t][i(541)][i(320)])[i(566)]((([t])=>!t[i(328)](i(400)))));let h=0;for(const o of s){const s=this[i(312)](o[i(405)][t][i(541)]);o==n?(e=s,r=e[i(340)],e[i(633)]((t=>{t.id=h++})),this[i(441)](e)):this[i(330)](e,s);const a=e[i(566)]((t=>!t[i(530)]))[i(638)]((t=>t.id));let c=0;const l=this[i(312)](o[i(405)][t][i(516)]);l[i(633)]((t=>{t[i(357)]?t.id=r++:t.id=a[c++]})),this[i(441)](l),this[i(496)](e,i(530)),this[i(496)](l,i(357)),o==n&&this[i(444)](e,u),e=this[i(349)](e,l),this[i(352)](e),this[i(496)](e,i(357))}e=e[i(566)]((t=>!(t[i(530)]&&t[i(357)])));const d=new Map(o[i(405)][t][i(516)][i(320)]),f=new Set(u[i(568)]());for(const t of d[i(568)]())f[i(495)](t);this[i(535)](e,f),this[i(585)](e),e=this[i(609)](e),e=this[i(532)](e),e=this[i(390)](e);const{root:m,changes:p}=this[i(367)](e,a,t);c[i(405)][t]=m;const v=l[i(407)](t);if(v){const e=a[i(407)](v[i(311)]),n=new ur({author:e,type:v[i(421)]?i(556):i(564),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(551)](n),c[i(386)][t][i(627)]=n.id}c[i(542)]=c[i(542)][i(525)](p)}return c}[vr(444)](t,e){const i=vr;for(let n=0;n<t[i(340)];n++)for(const[r,s]of e)s[i(498)][i(310)](t[n][i(462)])&&t[n][i(344)][i(410)](r),s[i(513)][i(310)](t[n][i(554)])&&t[n][i(435)][i(410)](r)}[vr(349)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(340)]||s<e[i(340)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(410)](o);else if(a[i(357)]&&o[i(530)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(457)](t,r,e,s);n=n[i(525)](o),r=a,s=c}else a[i(357)]?(s++,n[i(410)](a)):(r++,n[i(410)](o))}return n}[vr(535)](t,e){const i=vr,n=[];for(let o=0;o<t[i(340)];o++){for(let s=0;s<t[o][i(344)][i(340)];s++){const a=t[o][i(344)][s];if(!e[i(505)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(490)!=c||i(484)!=u&&i(475)!=u||(n[i(551)]({type:u,name:a,userId:l}),t[o][i(344)][i(361)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(435)][i(340)];s++){const a=t[o][i(435)][s];if(!e[i(505)](a))continue;const{group:c,type:u}=r(a);if(i(490)!=c||i(484)!=u&&i(475)!=u)continue;t[o][i(435)][i(361)](s,1),s--;const l=n[i(420)]((t=>t[i(519)]==a));l>-1&&n[i(361)](l,1)}}function r(t){const e=i,n=t[e(455)](":");return{group:n[0],type:n[1],subType:n[e(340)]>=5?n[2]:null,id:n[e(340)]<5?n[2]:n[3],authorId:n[e(340)]<5?n[3]:n[4],markerCount:6==n[e(340)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(340)];i++){if(t[e(530)]&&e(484)==n[i][e(619)])return t[e(388)]=n[i],void delete t[e(530)];if(!t[e(530)]&&!t[e(357)]&&e(475)==n[i][e(619)])return void(t[e(341)]=n[i])}}}[vr(496)](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(377)](o.id,n);for(let n=0;n<t[i(340)];n++){if(i(357)==e&&t[n][i(530)]||i(530)==e&&t[n][i(357)])continue;if(i(362)==t[n][i(619)]){t[n][i(368)]=0;continue}const r=s[i(407)](t[n][i(533)]),o=s[i(407)](t[n].id);t[n][i(368)]=r-o}}[vr(431)](t,e,i=!1){const n=vr,r=[];let s=this[n(399)][n(366)](t),o=this[n(399)][n(366)](e);for(-1==o&&(o=this[n(399)][n(354)][n(340)],i=!1);s<o;)r[n(410)](this[n(399)][n(482)](s)),s++;return i&&r[n(410)](this[n(399)][n(482)](s)),r}[vr(457)](t,e,i,n){const r=vr,s=this[r(605)][r(405)][r(546)];let o=e;for(;t[o]&&t[o][r(530)];)o++;let a=n;for(;i[a]&&i[a][r(357)];)a++;u(t,e,o),u(i,n,a);const c=i[r(316)](n,a)[r(525)](t[r(316)](e,o));return c[r(419)](((t,e)=>t[r(315)]!=e[r(315)]?t[r(315)]-e[r(315)]:t[r(348)]!=e[r(348)]?t[r(348)]-e[r(348)]:t[r(368)]!=e[r(368)]?e[r(368)]-t[r(368)]:!!t[r(530)]!=!!e[r(530)]?-1==t[r(315)]||0==t[r(315)]?t[r(530)]?-1:1:t[r(530)]?1:-1:t[r(540)]-e[r(540)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(319)],c=!0;for(let r=e;r<i;r++)if(s[n(606)](t[r][n(331)])||(c=!1),t[r][n(331)][n(446)]<e&&(o=r),t[r][n(331)][n(567)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(315)]=r<=o?-1:r<a?0:1,t[r][n(540)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(368)]?t[i][n(348)]=u:(u++,t[i][n(348)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(315)]&&(t[r][n(348)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(368)]?t[e][n(348)]=u:(u--,t[e][n(348)]=u,u--)}}[vr(585)](t){const e=vr,i=new Map,n=this[e(605)][e(405)][e(546)];for(let r=1;r<t[e(340)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(362)==c[e(619)])continue;if(c[e(619)]!=u[e(619)])continue;if(!n[e(584)](u[e(331)])||n[e(414)](u[e(331)]))continue;if(!n[e(584)](c[e(331)])||n[e(414)](c[e(331)]))continue;if((t[r][e(530)]||t[r][e(388)])&&t[r-1][e(357)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(357)]||!t[r-1][e(530)]&&!t[r-1][e(388)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(348)]==o[e(348)],h=Math[e(452)](s[e(348)])<Math[e(452)](o[e(348)])&&0==o[e(368)];(l||h)&&(i[e(377)](o.id,s.id),t[e(361)](a,1),r--,s[e(530)]=!1)}for(let n=0;n<t[e(340)];n++)i[e(505)](t[n][e(533)])&&(t[n][e(533)]=i[e(407)](t[n][e(533)]))}[vr(609)](t){const e=vr,i=new Set(t[e(638)]((t=>t.id)));for(let n=0;n<t[e(340)];n++)i[e(505)](t[n][e(533)])||0==t[n][e(368)]||(t[n][e(439)]=!0);return t[e(566)]((t=>!t[e(439)]))}[vr(532)](t){const e=vr,i=new Set;for(let n=0;n<t[e(340)];n++){if(i[e(505)](t[n].id)&&t[n][e(357)]&&(t[n][e(439)]=!0),t[n][e(439)])continue;if(0==t[n][e(368)])continue;if(e(599)!=t[n][e(619)])continue;if(null==t[n][e(533)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(533)];)e(599)==t[r][e(619)]?s++:e(613)==t[r][e(619)]&&s--,r++;if(0!=s)if(t[n][e(357)])t[n][e(439)]=!0;else for(;r!=n;)t[r][e(357)]&&0!=t[r][e(368)]&&(t[r][e(439)]=!0,i[e(556)](t[r][e(533)])),r--}return t[e(566)]((t=>!t[e(439)]))}[vr(390)](t){const e=vr,i=this[e(605)][e(405)][e(546)];for(let n=0;n<t[e(340)];n++){if(!(t[n][e(530)]||t[n][e(388)]||t[n][e(357)]||t[n][e(341)]))continue;if(0==t[n][e(368)])continue;const r=t[n][e(331)];i[e(584)](r)||i[e(414)](r)||(t[n][e(530)]&&delete t[n][e(530)],t[n][e(388)]&&delete t[n][e(388)],t[n][e(341)]&&delete t[n][e(341)],t[n][e(357)]&&(t[n][e(439)]=!0))}return t[e(566)]((t=>!t[e(439)]))}[vr(367)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(605)][n(405)],c=a[n(546)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(340)];e++)if(n(599)===t[e][n(619)]){t[e][n(462)]=a[n(561)](r,f);const i=new Yi.Element(t[e][n(331)][n(519)],t[e][n(331)][n(314)]());u[0][n(518)](i),f[n(410)](0),u[n(551)](i),t[e][n(554)]=a[n(561)](r,f)}else n(613)===t[e][n(619)]?(u[n(596)](),t[e][n(462)]=a[n(561)](r,f),f[n(521)](),f[f[n(340)]-1]++,t[e][n(554)]=a[n(561)](r,f)):(t[e][n(462)]=a[n(561)](r,f),d?d[n(594)]+=t[e][n(331)][n(469)]:d=new Yi.Text(t[e][n(331)][n(469)],t[e][n(331)][n(314)]()),t[e+1]&&n(362)===t[e+1][n(619)]&&v(d,t[e+1][n(331)])||(u[0][n(518)](d),d=null),f[f[n(340)]-1]+=t[e][n(331)][n(443)],t[e][n(554)]=a[n(561)](r,f));for(let e=0;e<t[n(340)];e++){const i=t[e][n(462)],r=t[e][n(554)];for(const r of t[e][n(344)])o[n(377)](r,{start:i,end:null});m(n(341),e,i,r),m(n(388),e,i,r),m(n(357),e,i,r),m(n(530),e,i,r);for(const i of t[e][n(435)])o[n(407)](i)[n(513)]=r}for(const[t,e]of o){const i=this[n(605)][n(405)][n(381)](e[n(498)],e[n(513)]);r[n(320)][n(377)](t,i)}return s[n(419)](((t,e)=>{const i=n,s=r[i(320)][i(407)](i(400)+t.id),o=r[i(320)][i(407)](i(400)+e.id);return s[i(498)][i(416)](o[i(498)])?-1:s[i(498)][i(563)](o[i(498)])?1:s[i(513)][i(416)](o[i(513)])?-1:s[i(513)][i(563)](o[i(513)])?1:i(556)===t[i(619)]?-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(311)]:null,d=i===t[o(340)]-1,f=h[e][0],m=c[o(393)](t[i][o(331)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(513)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(311)]!==u&&(l[e][o(513)]=r,f&&f[o(311)]===l[e][o(311)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(599)!==t[i][o(619)]||f&&f[o(311)]===u||h[e][o(551)]({userId:u,object:t[i][o(331)],change:l[e]}),o(613)===t[i][o(619)]&&f&&f[o(598)]===t[i][o(331)]&&(h[e][o(596)](),l[e]=f[o(560)])),l[e]&&d&&(l[e][o(513)]=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(331)],f=a[h(546)][h(584)](d)&&!a[h(546)][h(414)](d),m=t[h(581)]==o[h(537)]&&o[h(401)];if(f&&m)return;const p=a[h(381)](t,o),v=e[h(407)](u),y=new ur({author:v,type:h(530)==l||h(388)==l?h(556):h(564),data:{isSuggestion:h(388)==l||h(341)==l},createdAt:new Date,rootName:i});s[h(410)](y),r[h(320)][h(377)](h(400)+y.id,p)}function v(t,e){const i=n,r=t[i(314)](),s=e[i(314)]();for(const t of r){if(t[1]!==e[i(304)](t[0]))return!1;s[i(494)]()}return s[i(494)]()[i(600)]}}[vr(451)](){const t=vr;this[t(605)][t(453)][t(492)](t(350))[t(364)]({view:t(538)}),this[t(605)][t(453)][t(492)](t(623))[t(603)]({model:t(538),view:e=>{const i=t,n=e[i(396)][i(455)](":")[1],r=this[i(597)](n);if(!r)return null;const s=i(556)==r[i(619)]?i(484):i(475),o=[i(511),i(595)+s];return r[i(469)][i(636)]&&o[i(410)](i(595)+s+i(552)),this[i(470)]==r&&o[i(410)](i(392)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(605)][t(453)][t(492)](t(350))[t(556)]((e=>{const i=t;e.on(i(448),((t,e,n)=>{const r=i,s=e[r(422)][r(483)](0);if(!s||!s.is(r(403),r(423)))return;if(!n[r(481)][r(397)](s,{attributes:[r(303),r(380)]}))return;const o=e[r(493)][r(498)][r(581)];n[r(487)][r(593)](r(303),s[r(304)](r(303)),o),n[r(487)][r(593)](r(380),s[r(304)](r(380)),o)}),{priority:i(617)})})),this[t(605)][t(453)][t(492)](t(350))[t(556)]((e=>{const i=t;e.on(i(403),((t,e,n)=>{const r=i;if(!n[r(481)][r(397)](e[r(422)],{attributes:[r(303),r(380)]}))return;if(e[r(493)][r(430)])return;const s=e[r(493)][r(498)][r(581)];s[r(637)](r(303))||s[r(637)](r(604))||(n[r(487)][r(593)](r(303),e[r(422)][r(304)](r(303)),s),n[r(487)][r(593)](r(380),e[r(422)][r(304)](r(380)),s))}),{priority:i(617)})})),this[t(605)][t(453)][t(492)](t(350))[t(306)]({view:{name:t(526),attributes:{vid:!0}},model:{key:t(604),value:e=>e[t(304)](t(604))}}),this[t(605)][t(405)][t(546)].on(t(528),((e,[,i])=>{const n=t;[n(303),n(380),n(604)][n(500)](i)&&(e[n(371)]=!0,e[n(337)]())}),{priority:t(409)}),this[t(605)][t(453)][t(492)](t(582))[t(556)]((e=>{const i=t;e.on(i(383),((t,e,n)=>{const r=i;if(" "!=e[r(331)][r(469)]||e[r(331)][r(537)][r(512)]>1)return;if(!n[r(481)][r(397)](e[r(331)],t[r(519)]))return;const s=n[r(487)],o=n[r(639)][r(468)](e[r(382)]);s[r(529)](o,s[r(345)](r(526)))}))})),this[t(605)][t(453)][t(492)](t(582))[t(545)]({model:t(538)}),this[t(605)][t(506)][t(454)].on(t(510),function(e){const i=t,n=e[i(615)][i(407)](i(473));return(t,r,s)=>{const o=i,a=r[o(396)][o(455)](":")[1],c=n[o(597)](a);if(!c)return null;const u=o(556)==c[o(619)]?o(455):o(523);if(!s[o(481)][o(378)](r[o(624)],t[o(519)]))return;const l=r[o(624)][o(436)](),h=r[o(624)][o(498)],d=e[o(405)][o(546)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(331)];p=p||d[o(618)](e);const i=s[o(639)][o(325)](e);if(i&&i[o(590)](o(628)))return;o(613)==t[o(619)]&&d[o(584)](e)&&!d[o(414)](e)&&(e[o(480)]||h[o(544)]?f&&f[o(537)]==e||(f=e,y(t[o(462)]),v=!0):m=m||t[o(462)])}function y(t){const e=o,i=s[e(487)][e(555)](e(526),{class:e(595)+u}),a=s[e(639)][e(458)](t);c[e(469)][e(636)]&&s[e(487)][e(437)](e(595)+u+e(552),i),n[e(470)]==c&&s[e(487)][e(437)](e(392),i),s[e(487)][e(602)](a,i),s[e(639)][e(503)](i,r[e(396)])}p||v||!m||y(m)}}(this[t(605)]),{priority:t(547)}),this[t(605)][t(506)][t(454)].on(t(601),((e,i,n)=>{const r=t,s=n[r(639)][r(404)](i[r(396)]);if(s)for(const t of s)(t[r(449)](r(579))||t[r(449)](r(429)))&&(n[r(639)][r(536)](t,i[r(396)]),n[r(487)][r(564)](t))}),{priority:t(547)}),this[t(605)][t(506)][t(454)].on(t(510),((e,i,n)=>{const r=t,s=i[r(396)][r(455)](":")[1],o=this[r(597)](s);if(!o)return null;const a=r(556)==o[r(619)]?r(455):r(523);if(n[r(481)][r(378)](i[r(624)],e[r(519)]))for(const t of i[r(624)][r(326)]()){if(!t.is(r(403),r(472)))continue;const e=n[r(487)][r(555)](r(526),{class:r(595)+a}),s=n[r(639)][r(458)](this[r(605)][r(405)][r(374)](t));o[r(469)][r(636)]&&n[r(487)][r(437)](r(595)+a+r(552),e),this[r(470)]==o&&n[r(487)][r(437)](r(392),e),n[r(487)][r(602)](s,e),n[r(639)][r(503)](e,i[r(396)])}}),{priority:t(547)}),this[t(605)][t(405)][t(504)].on(t(560),(()=>{const e=t;this[e(605)][e(506)][e(336)][e(560)]((t=>{const i=e;for(const e of this[i(605)][i(405)][i(504)][i(459)]()){const n=this[i(605)][i(405)][i(504)][i(335)](e),r=this[i(605)][i(506)][i(336)][i(504)][i(335)](e);if(r){const e=n[i(304)](i(627));if(t[i(442)](i(614),r),t[i(626)](i(621),r),t[i(626)](i(375),r),t[i(626)](i(376),r),e){const n=this[i(597)](e);if(!n)return null;t[i(593)](i(614),e,r),t[i(437)](i(520)+n[i(619)],r),this[i(470)]==n&&t[i(437)](i(376),r)}}}}))})),this[t(605)][t(453)][t(492)](t(350))[t(364)]({view:t(549),model:e=>t(524)+e,converterPriority:t(409)}),this[t(605)][t(453)][t(492)](t(350))[t(364)]({view:t(591),model:e=>t(607)+e,converterPriority:t(409)}),this[t(605)][t(453)][t(492)](t(582))[t(545)]({model:t(490),view:e=>({name:t(491)+e,group:t(490)}),converterPriority:t(409)}),this[t(605)][t(453)][t(492)](t(623))[t(603)]({model:t(490),view:e=>{const i=t,n=e[i(396)][i(455)](":")[1];return i(484)!=n&&i(475)!=n?null:{classes:[i(370),i(570)+n]}}}),this[t(605)][t(506)][t(454)].on(t(309),wr(this[t(605)],t(523)),{priority:t(547)}),this[t(605)][t(506)][t(454)].on(t(608),wr(this[t(605)],t(455)),{priority:t(547)}),this[t(605)][t(506)][t(454)].on(t(479),((e,i,n)=>{const r=t,s=n[r(639)][r(404)](i[r(396)]);if(s)for(const t of s)t.is(r(635))&&(n[r(639)][r(536)](t,i[r(396)]),n[r(487)][r(564)](t))}),{priority:t(547)})}[vr(597)](t){const e=vr;return this[e(576)][e(407)](t)}[vr(507)](t){const e=vr;return this[e(632)]&&this[e(632)][e(355)](),this[e(632)]=new sr(this[e(605)][e(440)],t),this[e(632)]}[vr(365)](){const t=vr;this[t(605)][t(405)][t(504)][t(612)][t(425)](t(538)),this.on(t(460),((e,i,n,r)=>{const s=t;r&&this[s(395)][s(564)](r),n&&(this[s(395)][s(556)]({view:n,stackId:s(580),position:{target:()=>{const t=s,e=this[t(605)][t(506)],i=this[t(597)](n[t(323)]);let r;if(i[t(469)][t(486)]){const n=e[t(336)][t(578)](i[t(338)]);r=Array[t(550)](n[t(313)]())}else{const i=this[t(605)][t(405)][t(320)][t(407)](t(400)+n[t(323)]);r=Array[t(550)](e[t(639)][t(404)](i[t(519)]))[t(638)]((i=>e[t(336)][t(327)][t(474)](i)))[t(638)]((e=>Array[t(550)](e[t(313)]())))[t(471)]()}return this[t(321)]&&r[t(616)]((e=>e[t(329)]-3<=this[t(321)].y&&e[t(406)]+3>=this[t(321)].y&&e[t(342)]-3<=this[t(321)].x&&e[t(562)]+3>=this[t(321)].x))||r[0]}}}),this[s(395)][s(373)](s(580)))})),this.on(t(384),((e,i,n,r)=>{const s=t;this[s(592)]=n?this[s(507)](n):null,this[s(605)][s(405)][s(560)]((()=>{const t=s,e=this[t(605)][t(506)];r&&(r[t(469)][t(486)]?e[t(336)][t(560)]((i=>{const n=t;i[n(626)](n(376),e[n(336)][n(504)][n(335)](r[n(338)]))})):e[t(499)](t(400)+r.id)),n&&(n[t(469)][t(486)]?e[t(336)][t(560)]((i=>{const r=t;i[r(437)](r(376),e[r(336)][r(504)][r(335)](n[r(338)]))})):e[t(499)](t(400)+n.id))}))})),this[t(631)](this[t(605)][t(506)][t(336)][t(504)],t(543),((e,i)=>{const n=t;if(this[n(470)])return;const r=this[n(433)](i[n(332)]),s=this[n(576)][n(407)](r);s?(this[n(321)]={x:i[n(356)].x,y:i[n(356)].y},this[n(592)]=this[n(507)](s)):(this[n(321)]=null,this[n(592)]=null)})),this[t(631)](this[t(605)][t(506)][t(336)][t(504)],t(426),((e,i)=>{const n=t,r=this[n(433)](i[n(332)]),s=this[n(576)][n(407)](r);s?(this[n(321)]={x:i[n(356)].x,y:i[n(356)].y},s===this[n(470)]?this[n(395)][n(408)]():this[n(470)]=s):(this[n(321)]=null,this[n(470)]=null)}))}[vr(433)](t){const e=vr;do{const i=t[e(304)](e(614));if(i)return i;t=t[e(537)]}while(t);return null}[vr(360)](){const t=vr;this[t(605)][t(405)][t(560)]((e=>{const i=t;for(const t of this[i(605)][i(405)][i(320)])e[i(634)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=yr;if(!r[s(481)][s(378)](n[s(624)],i[s(519)]))return;const o=n[s(624)][s(436)](),a=n[s(624)][s(498)],c=t[s(405)][s(546)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(331)];h=h||c[s(618)](e);const i=r[s(639)][s(325)](e);if(i&&i[s(590)](s(628)))return;s(613)==t[s(619)]&&c[s(584)](e)&&!c[s(414)](e)&&(e[s(480)]||a[s(544)]?u&&u[s(537)]==e||(u=e,f(t[s(462)]),d=!0):l=l||t[s(462)])}function f(t){const i=s,o=r[i(639)][i(458)](t),a=r[i(487)][i(555)](i(526),{class:i(570)+e});r[i(487)][i(602)](o,a),r[i(639)][i(503)](a,n[i(396)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(615)][e(407)](br);this[e(447)]=!1,this[e(631)](i,e(389),(()=>this[e(557)]())),this[e(631)](i,e(305),(()=>this[e(557)]()))}[vr(322)](){const t=vr,e=this[t(605)],i=e[t(615)][t(407)](br),n=i[t(476)]?i[t(394)][t(522)]:null;e[t(358)][t(407)](t(456))[t(515)](n)}[vr(557)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(605)][t(615)][t(407)](br),s=r&&n[t(351)](r[t(522)]);this[t(398)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(615)][i(407)](br);this[i(447)]=!1,this[i(463)]=i(415)===e?1:-1,this[i(631)](n,i(389),(()=>this[i(557)]())),this[i(631)](n,i(305),(()=>this[i(557)]())),this[i(631)](n,i(384),(()=>this[i(557)]()))}[vr(322)](){const e=vr,i=this[e(605)],n=i[e(615)][e(407)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(470)]=r?n[e(394)][e(542)][e(407)](s+this[e(463)]):n[e(394)][e(542)][e(308)],n[e(470)][e(469)][e(486)])o=i[e(506)][e(336)][e(578)](n[e(470)][e(338)]);else{const t=i[e(405)][e(320)][e(407)](e(400)+n[e(470)].id);o=(0,Bi.getMarkerDomElement)(i[e(506)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(557)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(605)][t(615)][t(407)](br);this[t(398)]=!!(s&&r&&n)&&(!e||(1===this[t(463)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Pn().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Hn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(t,e){const i=Tr();return(xr=function(t,e){return i[t-=496]})(t,e)}function Tr(){const t=["26eTgefA","isForwardNavigationEnabled","backward","isBackwardNavigationEnabled","isReady","Show previous change","Loading...","span","setTemplate","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","numberOfChanges","6gavoXv","isNavigationMode","_statusText","895719RQEkUi","Total","NUMBER_OF_CHANGES","110BYMFJt","53704WQMWHa","set","execute","750815XTxPZd","fire","1881pzqiVT","ck-revision-history-ui__changes-navigation__label","forward","2828875HCnJyH","bind","No changes","_isStatusLabelVisible","ck-hidden","bindTemplate","4tklmsu","X_OF_Y_CHANGES","7552taUUHO","8446392OBItgS","currentChangeNumber","34414MMbWer","ck-revision-history-ui__changes-navigation__wrapper","75btwUCY","isEnabled","EDIT_X_OF_Y_REVISIONS","div","Show next change"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(465233===-parseInt(e(510))/1*(-parseInt(e(515))/2)+parseInt(e(517))/3*(parseInt(e(496))/4)+parseInt(e(499))/5*(parseInt(e(535))/6)+-parseInt(e(504))/7+parseInt(e(512))/8*(-parseInt(e(501))/9)+-parseInt(e(541))/10*(parseInt(e(538))/11)+-parseInt(e(513))/12*(-parseInt(e(522))/13))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(509)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(497)](e(536),!1),this[e(497)](e(526),!1),this[e(497)](e(514),0),this[e(497)](e(534),0),this[e(497)](e(523),!1),this[e(497)](e(525),!1),this[e(505)](e(507)).to(this,e(526),this,e(534),((t,e)=>t&&e>0)),this[e(505)](e(537)).to(this,e(526),this,e(514),this,e(534),this,e(536),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(528));if(!r)return Qi(t,o(506));const a=Qi(t,o(540),r);return s?Qi(t,o(511),[n+1,r]):a})),n[e(497)]({label:Qi(t,e(527)),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(497)]({label:Qi(t,e(521)),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(505)](e(518)).to(this,e(525)),r[e(505)](e(518)).to(this,e(523)),n.on(e(498),(()=>this[e(500)](e(498),e(524)))),r.on(e(498),(()=>this[e(500)](e(498),e(503)))),this[e(530)]({tag:e(520),attributes:{class:["ck",e(531),e(533)]},children:[{tag:e(529),attributes:{class:[e(516)]},children:[{tag:e(529),attributes:{class:[e(502),i.if(e(507),e(508),(t=>!t))]},children:[{text:i.to(e(536),(i=>i?Qi(t,e(519))+": ":Qi(t,e(539))+": "))}]},{text:i.to(e(537))}]},new Vn.ToolbarSeparatorView,{tag:e(520),attributes:{class:[e(532)]},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=Hn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;function Mr(){const t=["addClass","ck-editor__editable__loading-overlay","removeClass","56577XAxAwm","15462150ynqzTu","14CdrQZF","1305496epjhrz","6lREYCU","pluginName","editor","document","3242088XFkJkZ","isPremiumPlugin","RevisionViewerLoadingOverlay","roots","isOfficialPlugin","4XnsoKb","show","view","2437519sbkEqn","hide","editing","1232415NVwaxV","923001aewFwW","change"];return(Mr=function(){return t})()}const Er=Vr;function Vr(t,e){const i=Mr();return(Vr=function(t,e){return i[t-=335]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(339724===parseInt(e(358))/1*(-parseInt(e(335))/2)+parseInt(e(353))/3*(parseInt(e(346))/4)+-parseInt(e(352))/5+parseInt(e(337))/6*(-parseInt(e(349))/7)+-parseInt(e(336))/8+-parseInt(e(341))/9+parseInt(e(359))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mr);const Dr=Er(356);class Cr extends qi.Plugin{static get[Er(338)](){return Er(343)}static get[Er(345)](){return!0}static get[Er(342)](){return!0}[Er(347)](){const t=Er,e=this[t(339)][t(351)][t(348)];e[t(354)]((i=>{const n=t;for(const t of e[n(340)][n(344)])i[n(355)](Dr,t)}))}[Er(350)](){const t=Er,e=this[t(339)][t(351)][t(348)];e[t(354)]((i=>{const n=t;for(const t of e[n(340)][n(344)])i[n(357)](Dr,t)}))}}const jr=Fr;function Fr(t,e){const i=Pr();return(Fr=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Fr,i=t();for(;;)try{if(838387===-parseInt(e(525))/1*(parseInt(e(510))/2)+-parseInt(e(499))/3+parseInt(e(537))/4+parseInt(e(505))/5*(parseInt(e(497))/6)+-parseInt(e(524))/7+parseInt(e(511))/8+-parseInt(e(506))/9*(parseInt(e(541))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pr);class Lr extends qi.Plugin{static get[jr(526)](){return jr(532)}static get[jr(533)](){return!0}static get[jr(536)](){return!0}static get[jr(535)](){return[br,Cr]}[jr(523)](){const t=jr,e=this[t(501)],i=e[t(509)][t(513)](br),n=e[t(509)][t(513)](Cr);e.ui[t(543)][t(515)](t(512),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(502)]({label:Qi(i,n(504)),icon:qi.icons[n(519)],withText:!0,tooltip:!0,class:n(514)}),this[n(517)](r,n(540),(()=>{const t=n;e[t(528)][t(513)](t(518))[t(529)]()})),r})),e.ui[t(543)][t(515)](t(527),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(502)]({label:Qi(i,n(542)),withText:!0,tooltip:!0}),r[n(531)](n(544)).to(e[n(522)][n(513)](n(527))),this[n(517)](r,n(540),(()=>e[n(540)](n(527)))),r})),e.ui[t(543)][t(515)](t(503),(n=>{const r=t,s=new Nr(n),o=e[r(522)][r(513)](r(530)),a=e[r(522)][r(513)](r(498));return s[r(531)](r(516)).to(o,r(544)),s[r(531)](r(534)).to(a,r(544)),s[r(531)](r(538),r(507),r(539),r(496)).to(i),this[r(517)](s,r(540),((t,i)=>{const n=r;e[n(540)](n(508)===i?n(498):n(530))})),s})),n[t(500)](),i.on(t(521),((e,i,r)=>{const s=t;r?n[s(520)]():n[s(500)]()}))}}function Pr(){const t=["524790NBOEoV","show","editor","set","changesNavigation","Back to editing","352970jJiCDJ","333PgSvZP","currentChangeNumber","forward","plugins","2NLQgoA","4884504Yjxgrt","exitToEditing","get","ck-revision-history-ui__back-to-editing","add","isBackwardNavigationEnabled","listenTo","revisionHistory","undo","hide","change:isReady","commands","init","1190448oDPYdi","1153897nrVtWp","pluginName","restoreRevision","config","closeRevisionViewerCallback","showPreviousChange","bind","RevisionViewerUI","isOfficialPlugin","isForwardNavigationEnabled","requires","isPremiumPlugin","5603776smZumb","isReady","numberOfChanges","execute","45510poxHxI","Restore this revision","componentFactory","isEnabled","isNavigationMode","42VZttQW","showNextChange"];return(Pr=function(){return t})()}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Hn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Hr(){const t=["render","element","extendTemplate","_resizeObserver","span","listenTo","set","476amPcQF","scrollWidth","_tooltipString","525278blphSf","clientWidth","value","placeholder","fieldView","3841180LKLmfS","ck-revision-history-sidebar__revision-name","8yqoMjC","ck-tooltip_multi-line","input","Enter the revision name","465340blbwXw","393498zltgBW","18714usmmbv","78420LTYDNU","_updateTooltipText","destroy","bindTemplate","5062977EmalBn","124HwkqyZ","Revision name"];return(Hr=function(){return t})()}function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=441]})(t,e)}!function(t){const e=Zr,i=t();for(;;)try{if(338692===-parseInt(e(458))/1+parseInt(e(447))/2+-parseInt(e(459))/3+-parseInt(e(466))/4*(parseInt(e(461))/5)+parseInt(e(460))/6*(parseInt(e(444))/7)+-parseInt(e(454))/8*(-parseInt(e(465))/9)+parseInt(e(452))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends Vn.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(471)]=null;const n=this[i(464)];this[i(443)]({label:Qi(t,i(467)),_tooltipString:""}),this[i(451)][i(450)]=Qi(t,i(457)),this[i(470)]({tag:i(441),attributes:{class:[i(453)],"data-cke-tooltip-text":n.to(i(446)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(455)}})}[Ur(468)](){const e=Ur;super[e(468)](),this[e(471)]=new t.ResizeObserver(this[e(451)][e(469)],(()=>this[e(462)]())),this[e(442)](this[e(451)],e(456),(()=>this[e(462)]()))}[Ur(463)](){const t=Ur;super[t(463)](),this[t(471)]&&this[t(471)][t(463)]()}[Ur(462)](){const t=Ur,e=this[t(451)][t(469)];this[t(446)]=e[t(445)]>e[t(448)]&&e[t(449)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Hn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(){const t=["setTemplate","492016kpAHHd","Revision creator","ck-revision-history-sidebar__revision-author","set","5585864kLtNVA","ck-revision-history-sidebar__revision-author__name","1096548NkqrFz","9dRqGLr","1277545EywOZY","span","0 0 11 10","10856480yTpEeH","name","ck-revision-history-sidebar__revision-author_creator","3801VUNHwB","push","Revision author","1694kJTzaG","6674283WnpqqX"];return(Yr=function(){return t})()}function Gr(t,e){const i=Yr();return(Gr=function(t,e){return i[t-=313]})(t,e)}!function(t){const e=Gr,i=t();for(;;)try{if(723853===parseInt(e(327))/1+-parseInt(e(324))/2*(-parseInt(e(321))/3)+parseInt(e(331))/4+parseInt(e(315))/5+-parseInt(e(313))/6+-parseInt(e(325))/7+parseInt(e(318))/8*(-parseInt(e(314))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Jr extends Vn.View{constructor(t,e,i){const n=Gr;super(t);const r=new Vn.IconView;r[n(330)]({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(317)});const s=["ck",n(329)];i&&s[n(322)](n(320));const o=[{tag:n(316),attributes:{class:["ck",n(332)],title:Qi(t,n(i?328:323))},children:[r,e[n(319)]]}];this[n(326)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["364252BqZUcU","491259VXZGnf","102dQXfON","toLocaleTimeString","5099985jZUqsz","numeric","toLocaleDateString","1CkxiLj","13901920PRumPW","345826UOXoqx","5748633RvBHVL","659224dkxDvM","8gEXFeS","long"];return(Kr=function(){return t})()}function Xr(t,e){var i=Kr();return(Xr=function(t,e){return i[t-=412]})(t,e)}!function(t){for(var e=Xr,i=t();;)try{if(651682===parseInt(e(412))/1*(-parseInt(e(414))/2)+-parseInt(e(420))/3+-parseInt(e(416))/4+parseInt(e(423))/5+parseInt(e(421))/6*(parseInt(e(419))/7)+-parseInt(e(417))/8*(-parseInt(e(415))/9)+-parseInt(e(413))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Qr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Hn();Cn()(Qr.A,ts);Qr.A&&Qr.A.locals&&Qr.A.locals;function es(){const t=["change:isActionsDropdownOpen","_action","threeVerticalDots","152kInlEE","set","panelPosition","ck-revision-history-sidebar__revision__actions","source","isOpen","4230702mUJEyu","isEnabled","bind","menu","isActionsDropdownOpen","execute","find","buttonView","isVisible","listView","3243185rCPGpS","button","stopPropagation","8lhYagH","Name this revision","add","2604sRKcwX","map","extendTemplate","9456470BnYRJY","isReady","class","Compare against selected","Restore this revision","1283604nbTXGP","ck-on","menuitem","first","2733eQyXPT","listenTo","action","1283328tIiDby","bindTemplate","model","items","name","children","Show more items","function","41692vEWxOU","locale"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(703506===-parseInt(e(431))/1+parseInt(e(423))/2*(parseInt(e(435))/3)+parseInt(e(420))/4*(parseInt(e(417))/5)+parseInt(e(457))/6+parseInt(e(446))/7*(-parseInt(e(451))/8)+-parseInt(e(438))/9+-parseInt(e(426))/10)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=Hn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;function os(){const t=["creator","ck-revision-history-sidebar__revision_highlighted","isReady","isHighlighted","map","3996492eCFYpD","fire","ck-reset","bind","listenTo","extendTemplate","closest","revisionNameView","value","2640260FWypQT","9565168toRPDa","isConfirm","7vSxGOG","filter","ck-revision-history-sidebar__revision-authors","1026590MhGESI","isEnabled","set","deselect","ck-revision-history-sidebar__revision__date","isActionsDropdownOpen","ck-revision-history-sidebar__revision-wrapper","from","bindTemplate","220","isSelected","setName","name","element","uiLanguage","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","12OmsHiD","revisionActionsView","setTemplate","fieldView","authors","ck-disabled","ck-revision-history-sidebar__actions_dropdown_open",".ck-thread__remove-confirm","span","ck-revision-history-sidebar__revision","688387byLMUc","highlight","ck-revision-history-sidebar__revision__controls-wrapper","srcElement","_createdAtFormatted","_revision","change","createdAt","div","unshift","select","_requireRevisionName","2015055yPXgsV","length","render","23900571gGgByX","ck-revision-history-sidebar__revision_selected","unhighlight"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=370]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(711628===-parseInt(e(417))/1+-parseInt(e(385))/2+parseInt(e(429))/3+parseInt(e(376))/4+parseInt(e(391))/5*(-parseInt(e(407))/6)+-parseInt(e(388))/7*(parseInt(e(386))/8)+parseInt(e(432))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(399)],a=function(t,e){const i=s,n=Array[i(398)](e[i(411)])[i(389)]((t=>t!=e[i(371)]));return e[i(371)]&&n[i(426)](e[i(371)]),n[i(375)]((n=>new Jr(t,n,n==e[i(371)])))}(e,i);this.id=i.id,this[s(422)]=i,this[s(428)]=r,this[s(379)](s(403),s(424)).to(i),this[s(379)](s(421)).to(this,s(424),(t=>{return i=e[s(405)],(n=t)[(r=Xr)(425)](i,{month:r(418),day:r(424)})+", "+n[r(422)](i,{hour:r(424),minute:r(424)});var i,n,r})),this[s(393)](s(401),!1),this[s(393)](s(374),!1),this[s(393)](s(396),!1),this[s(393)](s(373),!1),this[s(393)](s(392),!1),this[s(383)]=new $r(e,Vn.createLabeledInputText),this[s(383)][s(410)][s(381)]({attributes:{maxlength:s(400)}}),this[s(383)][s(410)][s(379)](s(384)).to(this,s(403),(t=>t||this[s(421)])),this[s(383)][s(379)](s(392)).to(this,s(401),this,s(392),((t,e)=>t&&e)),this[s(408)]=n&&n[s(430)]?function(e,i){const n=is,r=e[n(439)],s=e[n(447)],o=(0,Vn.createDropdown)(s);o[n(453)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(447)],r={"Compare against selected":Qi(n,i(429)),"Name this revision":Qi(n,i(421)),"Restore this revision":Qi(n,i(430))};return e[i(424)]((t=>{const e=i,n=r[t[e(442)]];return n&&n!==t[e(442)]&&(t[e(442)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(418),model:new Vn.ViewModel({label:t[r(442)],class:t[r(428)],withText:!0,role:r(433),_action:t[r(437)]})};i[r(440)][r(409)](r(408)).to(e,r(411),(i=>r(445)!=typeof t[r(408)]||!i||t[r(408)](e))),o[r(422)](i)}return o}(e,i);return e[n(409)](n(411)).to(o,n(456)),o[n(414)][n(452)]({label:Qi(s,n(444)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(450)]}),o[n(425)]({attributes:{class:[n(454),r.if(n(411),n(432))]},on:{click:r.to((t=>t[n(419)]()))}}),o.on(n(412),(t=>{const i=n;e[i(427)]&&i(445)==typeof t[i(455)][i(449)]&&t[i(455)][i(449)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(410)}),o[n(436)](e,n(448),((t,r,s)=>{const a=n;if(s)for(const t of o[a(416)][a(441)]){const n=t[a(443)][a(434)],r=i[a(413)]((t=>t[a(437)]===n[a(449)]))[a(415)];t[a(415)]=void 0===r||r(e)}})),o}(this,n):"",this[s(408)]&&this[s(408)][s(379)](s(392)).to(this),this[s(409)]({tag:s(425),attributes:{class:["ck",s(378),s(397),o.if(s(387),s(406))]},children:[{tag:s(425),attributes:{class:["ck",s(378),s(416),o.if(s(392),s(412),(t=>!t)),o.if(s(401),s(433)),o.if(s(374),s(372)),o.if(s(396),s(413))]},children:[this[s(383)],{tag:s(415),attributes:{class:["ck",s(395)]},children:[{text:o.to(s(421))}]},{tag:s(425),attributes:{class:["ck",s(419)]},children:[{tag:"ul",attributes:{class:["ck",s(390)]},children:a}]},this[s(408)]],on:{click:o.to((t=>{const e=s;t[e(420)][e(382)](e(414))||this[e(373)]&&this[e(392)]&&this[e(377)](e(427),{id:this.id})}))}}]})}[ss(431)](){const t=ss;super[t(431)]();const e=this[t(383)][t(410)][t(404)];this[t(380)](e,t(423),(()=>{const i=t;this[i(428)]&&!e[i(384)]||this[i(377)](i(402),{id:this.id,name:e[i(384)]}),e[i(384)]||(e[i(384)]=this[i(403)]?this[i(403)]:this[i(421)])}))}[ss(427)](){this[ss(401)]=!0}[ss(394)](){this[ss(401)]=!1}[ss(418)](){this[ss(374)]=!0}[ss(370)](){this[ss(374)]=!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 Hs=null;class Zs extends Us{static get instance(){return null===Hs&&(Hs=new Zs),Hs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Gs={};let Js={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.DateTimeFormat(t,e),Js[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=Go(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Js={},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,Go(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=Gs[i];return n||(n=new Intl.ListFormat(t,e),Gs[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Zs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Ho(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Zs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Go(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=Zo(t.year),i=Jo(t.month,1,12),n=Jo(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=Jo(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Jo(i,0,59),a=Jo(n,0,59),c=Jo(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Ho(t){return"number"==typeof t}function Zo(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Go(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Jo(t.firstDay,1,7)||!Jo(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Jo(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Jo(t,e,i){return Zo(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Qo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(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}))?`),Ha=RegExp(`(?: ${Ua.source})?`);function Za(t,e,i){const n=t[e];return Uo(n)?i:Xo(n)}function $a(t,e){return[{hours:Za(t,e,0),minutes:Za(t,e+1,0),seconds:Za(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ga=/^-?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 Ja(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Qo(i)),months:d(Qo(n)),weeks:d(Qo(r)),days:d(Qo(s)),hours:d(Qo(o)),minutes:d(Qo(a)),seconds:d(Qo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Xa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Xo(e)):Xo(e),month:va.indexOf(i)+1,day:Xo(n),hour:Xo(r),minute:Xo(s)};return o&&(a.second=Xo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Qa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Xa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Xa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ea(/(\d{4})-?(\d{3})/,Pa),uc=Ea(La),lc=Va((function(t,e){return[{year:Za(t,e),month:Za(t,e+1,1),day:Za(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Va(za,$a,qa,Ba),dc=Va(Wa,$a,qa,Ba),fc=Va($a,qa,Ba);const mc=Va($a);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Ha),vc=Ea(Ua),yc=Va($a,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new 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(Ho(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,[Ga,Ja])}(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;Ho(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Ho(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return 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:$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 Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Hc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Zc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Zc||(Zc=wu.fromMillis(1555555555555)),Zc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Hc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Gc="Invalid DateTime",Jc=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=Ho(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Ho(t))return t<-Jc||t>Jc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ho(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Zo(t.weekYear),r=Jo(t.weekNumber,1,aa(t.weekYear,e,i)),s=Jo(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Zo(t.year),i=Jo(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 $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Xc(this).weekYear:NaN}get weekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get weekday(){return this.isValid?Xc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ec.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ec.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ec.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ec.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Uo(e.weekYear)||!Uo(e.weekNumber)||!Uo(e.weekday),s=!Uo(e.ordinal),o=!Uo(e.year),a=!Uo(e.month)||!Uo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,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):Gc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Gc}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():Gc}[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&&Ho(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(){const t=["2322507VnSNgS","startOf","3675028vOnNGA","weekdayLong","870neiaws","year","562foNVxY","500dWrvhj","toRelativeCalendar","setLocale","20RKGPXd","104584RjstWK","month","toJSDate","day","week","17240676LSCgGx","minus","2106885sYECCU","monthLong","75KlfyLK","fromJSDate","hasSame","6ABBzgZ","local","504eiDgGn"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=473]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(490)](t)[i(478)](e),r=wu[i(493)](),s=r[i(486)]({days:1})[i(496)](i(483));let o,a;return n[i(491)](r,i(483))?(o=n[i(496)](i(483))[i(482)](),a=n[i(477)]()):n[i(491)](s,i(483))?(o=s[i(482)](),a=n[i(477)]()):n[i(491)](r,i(484))?(o=n[i(496)](i(484))[i(482)](),a=n[i(498)]||""):n[i(491)](r,i(474))?(o=n[i(496)](i(481))[i(482)](),a=n[i(488)]||""):(o=n[i(496)](i(474))[i(482)](),a=String(n[i(474)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(421873===-parseInt(e(473))/1*(-parseInt(e(475))/2)+-parseInt(e(489))/3*(parseInt(e(476))/4)+-parseInt(e(487))/5+-parseInt(e(492))/6*(parseInt(e(497))/7)+parseInt(e(480))/8*(-parseInt(e(494))/9)+parseInt(e(479))/10*(parseInt(e(495))/11)+parseInt(e(485))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Hn();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-=424]})(t,e)}function Ru(){const t=["localizedPeriodName","add","span","25016MrpebR","delegate","locale","ck-revision-history-sidebar__time-period__label","select","1415ChGITT","59697TTLmMr","revisionViews","remove","setTemplate","1064NSguhC","1992312CtUnUb","_revisionActions","ck-revision-history-sidebar__time-period__revisions","9752670rmipNw","uiLanguage","2kwsqBL","2104779AFtmFy","createCollection","setName","17010qjSCNH","startDate","addRevision","1514115nZwHuX","_requireRevisionName","removeRevision","ck-revision-history-sidebar__time-period","10870vrUaHD","find","div"];return(Ru=function(){return t})()}!function(t){const e=Au,i=t();for(;;)try{if(824124===-parseInt(e(433))/1+-parseInt(e(426))/2*(parseInt(e(427))/3)+-parseInt(e(454))/4+-parseInt(e(448))/5*(parseInt(e(430))/6)+parseInt(e(453))/7*(-parseInt(e(443))/8)+-parseInt(e(424))/9+parseInt(e(437))/10*(parseInt(e(449))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Mu extends Vn.View{constructor(t,e,i,n){const r=Au;super(t);const s=Ou(e,this[r(445)][r(425)])[r(440)];this[r(431)]=e,this[r(450)]=this[r(428)](),this[r(455)]=i,this[r(434)]=n,this[r(450)][r(444)](r(447)).to(this),this[r(450)][r(444)](r(429)).to(this),this[r(452)]({tag:r(439),attributes:{class:["ck",r(436)]},children:[{tag:r(442),attributes:{class:["ck",r(446)]},children:[{text:s}]},{tag:r(439),attributes:{class:["ck",r(456)]},children:this[r(450)]}]})}[Nu(432)](t){const e=Nu,i=new cs(this[e(445)],t,this[e(455)],this[e(434)]);this[e(450)][e(441)](i)}[Nu(435)](t){const e=Nu,i=this[e(450)][e(438)]((e=>e.id===t.id));this[e(450)][e(451)](i)}}var Eu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Pn().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Hn();Cn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(){const t=["1163958wKsesm","16305iErTdU","689fhtHLN","35166toiSsR","ck-reset_all","Revision history","ck-revision-history-sidebar__header","5jnCkMd","259596aaHCyU","7CkBveR","div","span","ck-revision-history-sidebar__header__label","154UZWWIF","9qKQbyi","412ysMqnP","2268104GwttNy","411090PrAwKe","history","content","78140LkhYEN","setTemplate"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(217611===parseInt(e(372))/1*(-parseInt(e(368))/2)+-parseInt(e(382))/3+-parseInt(e(380))/4*(parseInt(e(388))/5)+parseInt(e(387))/6*(-parseInt(e(374))/7)+-parseInt(e(381))/8*(parseInt(e(379))/9)+-parseInt(e(385))/10*(-parseInt(e(378))/11)+parseInt(e(373))/12*(parseInt(e(367))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends Vn.View{constructor(t){const e=Cu;super(t);const i=new Vn.IconView;i[e(384)]=qi.icons[e(383)],this[e(386)]({tag:e(375),attributes:{class:["ck",e(369),e(371)]},children:[i,{tag:e(376),attributes:{class:["ck",e(377)]},children:[Qi(t,e(370))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Hn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=Wu;function zu(){const t=["delegate","unhighlight","ck-disabled","ck-rounded-corners","deselect","ck-revision-history-sidebar","highlight","_requireRevisionName","highlightRevisions","revisionSetName","flat","setTemplate","add","get","removeRevision","revisionViews","isEnabled","4934220NWGbMA","8YGHdLk","3319236bIwDDM","timePeriodViews","render","2155769vIVcjZ","519837vkwjnD","_addRevision","select","_revisionActions","1138580HwBdKm","_removeRevision","ck-revision-history-sidebar__timeline","selectRevision","addRevision","createdAt","12tboXla","div","map","find","remove","1581783KMLiNk","uiLanguage","ck-reset","setName","bindTemplate","_getTimePeriodViewByStartDate","_revisions","revisionSelected","locale","1120034JaJaxo","createCollection","startDate","set","some","getTime","12beUDBM","fire"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(376847===-parseInt(e(329))/1+-parseInt(e(298))/2+parseInt(e(289))/3+parseInt(e(284))/4*(parseInt(e(333))/5)+parseInt(e(304))/6*(-parseInt(e(328))/7)+-parseInt(e(324))/8*(-parseInt(e(325))/9)+parseInt(e(323))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Uu extends Vn.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(293)];this[r(326)]=this[r(299)](),this[r(326)][r(306)](r(331)).to(this),this[r(326)][r(306)](r(292)).to(this),this[r(295)]=e,this[r(332)]=i,this[r(313)]=n,this.on(r(331),((t,e)=>{const i=r;this[i(305)](i(296),e)})),this.on(r(292),((t,e)=>{const i=r;this[i(305)](i(315),e)})),this[r(301)](r(322),!1),this[r(317)]({tag:r(285),attributes:{class:["ck",r(291),r(309),r(311)]},children:[new ju(t),{tag:r(285),attributes:{class:["ck",r(335),s.if(r(322),r(308),(t=>!t))]},children:this[r(326)]}]})}[Pu(327)](){const t=Pu;super[t(327)]();for(const e of this[t(295)])this[t(330)](e);this[t(295)].on(t(318),((e,i)=>{this[t(330)](i)})),this[t(295)].on(t(288),((e,i)=>{this[t(334)](i)}))}get[Pu(321)](){const t=Pu;return this[t(326)][t(286)]((e=>e[t(321)][t(286)]((t=>t))))[t(316)]()}[Pu(336)](t){const e=Pu;for(const i of this[e(321)])t&&t.id===i.id?i[e(331)]():i[e(310)]()}[Pu(314)](t){const e=Pu;for(const i of this[e(321)])t[e(302)]((({id:t})=>t===i.id))?i[e(312)]():i[e(307)]()}[Pu(330)](t){const e=Pu,i=Ou(t[e(283)],this[e(297)][e(290)])[e(300)];let n=this[e(326)][e(319)](0);n&&n[e(300)][e(303)]()===i[e(303)]()||(n=new Mu(this[e(297)],i,this[e(332)],this[e(313)]),this[e(326)][e(318)](n)),n[e(282)](t)}[Pu(334)](t){const e=Pu,i=Ou(t[e(283)],this[e(297)][e(290)])[e(300)];this[e(294)](i)[e(320)](t)}[Pu(294)](t){const e=Pu;return this[e(326)][e(287)]((i=>i[e(300)][e(303)]()===t[e(303)]()))}}const Hu=Zu;function Zu(t,e){const i=$u();return(Zu=function(t,e){return i[t-=302]})(t,e)}function $u(){const t=["editor","data","revisionHistory","diff","2365932mfgnaD","isEnabled","Restore this revision","timePeriodViews","191990QUFLHE","650920tFJzOd","action","getLaterVisibleRevision","length","RevisionsSidebar","_handleRevisionSelected","newRevisionId","8XlqCYx","387004PEWNkI","66GShWkT","114mUqKsy","revisionViews","getRevisionsInDiff","ready","getEarlierVisibleRevision","getRevision","setName","assign","isReady","defaultRevisionActions","appendChild","revisionSetName","1316735ETDLLb","destroy","highlightRevisions","config","_sidebarView","isOfficialPlugin","revisionHistory.requireRevisionName","18ENCFWO","compare","pluginName","77354CbIeCm","render","fieldView","plugins","_handleEditorDataReady","init","_handleDiffChange","name","isSelected","listenTo","_handleRevisionSetName","13GUmzAb","isPremiumPlugin","selectRevision","string","compareAgainstSelected","bind","element","Compare against selected","_revisionViewer","_revisions","Name this revision","8eZeycI","requires","locale","_revisionsRepository","getIndex","remove","select","repository","change:diff","get","add","revisionSelected","1881513ImopWc","map","restoreRevision","revisionHistory.revisionActions","restoreRevisionCallback","focus","_createRevisionActions","availableRevisionActions","isVisible","revisionHistory.viewerSidebarContainer","nameRevision"];return($u=function(){return t})()}!function(t){const e=Zu,i=t();for(;;)try{if(374703===parseInt(e(323))/1*(parseInt(e(348))/2)+-parseInt(e(345))/3*(-parseInt(e(324))/4)+-parseInt(e(315))/5*(parseInt(e(326))/6)+-parseInt(e(338))/7+parseInt(e(370))/8*(parseInt(e(382))/9)+parseInt(e(316))/10*(parseInt(e(325))/11)+-parseInt(e(311))/12*(parseInt(e(359))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Hu(347)](){return Hu(320)}static get[Hu(343)](){return!0}static get[Hu(360)](){return!0}static get[Hu(371)](){return[br]}constructor(t){const e=Hu;super(t),this[e(367)]=t[e(351)][e(379)](br),this[e(373)]=this[e(367)][e(377)],this[e(342)]=null}[Hu(353)](){const t=Hu,e=this[t(373)][t(368)],i=this[t(302)](),n=this[t(307)][t(341)][t(379)](t(305));this[t(342)]=new Uu(this[t(307)][t(372)],e,i,this[t(307)][t(341)][t(379)](t(344))),this[t(342)].on(t(381),this[t(321)][t(364)](this)),this[t(342)].on(t(337),this[t(358)][t(364)](this)),this[t(342)][t(364)](t(312)).to(this[t(367)]),this[t(342)][t(314)].on(t(380),((e,i)=>{const n=t;i[n(327)].on(n(380),((t,e)=>{const i=n;e[i(364)](i(312),i(334)).to(this[i(367)])}))})),this[t(342)][t(349)](),this[t(357)](this[t(307)][t(308)],t(329),this[t(352)][t(364)](this)),this[t(357)](this[t(367)],t(378),this[t(354)][t(364)](this)),n[t(336)](this[t(342)][t(365)])}[Hu(339)](){const t=Hu;this[t(342)][t(365)][t(375)](),this[t(342)][t(339)]()}[Hu(352)](){const t=Hu,e=this[t(373)][t(331)](0);if(e){const i=this[t(373)][t(330)](e.id);this[t(367)][t(346)](e,i)}}[Hu(321)](t,e){const i=Hu,n=this[i(373)][i(331)](e.id),r=this[i(373)][i(330)](n.id);this[i(367)][i(346)](n,r)}[Hu(358)](t,e){const i=Hu;this[i(373)][i(331)](e.id)[i(332)](e[i(355)])}[Hu(354)](t,e,i){const n=Hu,r=this[n(373)][n(328)](i);r[n(319)]>2?(this[n(342)][n(340)](r),this[n(342)][n(361)](null)):(this[n(342)][n(340)]([]),this[n(342)][n(361)](r[0]))}[Hu(302)](){const t=Hu,e=this[t(307)],i=qu[t(303)],n=e[t(341)][t(379)](t(385))||qu[t(335)];if(n[t(319)])return n[t(383)]((n=>{const r=t,s=r(362)==typeof n?Object[r(333)]({},i[n]):n;return s[r(317)]=s[r(317)][r(364)](this,e),s[r(304)]&&(s[r(304)]=s[r(304)][r(364)](this,e)),s}))}}qu[Hu(335)]=[Hu(363),Hu(384),Hu(306)],qu[Hu(303)]={compareAgainstSelected:{name:Hu(366),action:({plugins:t},e)=>{const i=Hu,n=t[i(379)](br),r=n[i(377)];let s=n[i(310)][i(322)],o=e.id;r[i(374)](s)>r[i(374)](o)&&([s,o]=[o,s]),n[i(346)](s,o)},isVisible:({plugins:t},e)=>{const i=Hu,n=t[i(379)](br);return!(n[i(377)][i(328)](n[i(310)])[i(319)]>2||e[i(356)])}},restoreRevision:{name:Hu(313),action:(t,{id:e})=>{const i=Hu;t[i(341)][i(379)](i(309))[i(386)](e)},isVisible:({plugins:t},e)=>!!t[Hu(379)](br)[Hu(377)][Hu(318)](e.id)},nameRevision:{name:Hu(369),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Hu,r=t[n(379)](br),s=r[n(377)][n(330)](e);r[n(346)](e,s),i[n(387)](),i[n(350)][n(376)]()}}};const Bu=qu,Yu=Gu;function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=373]})(t,e)}function Ju(){const t=["rootName","setEditableElement","isActive","getRoot","isFocused","fillFromConfig","init","_toolbarConfig","8143310XAWsHz","_initToolbar","detachDomRoot","attachDomRoot","105362nywtbu","bind","fire","viewportTopOffset","limiterElement","element","editable","2008mKASOh","view","destroy","2402700modJNB","document","editor","focusTracker","_view","515935DFUxYx","_elementReplacer","restore","stickyPanel","3852180FiaJKr","10593240Lsswsu","ready","addToolbar","editing","name","viewportOffset","get","render","80675OuQWKx","componentFactory","toolbar","replace","config"];return(Ju=function(){return t})()}!function(t){const e=Gu,i=t();for(;;)try{if(907898===parseInt(e(398))/1+parseInt(e(383))/2+parseInt(e(393))/3+-parseInt(e(402))/4+parseInt(e(379))/5+parseInt(e(403))/6+-parseInt(e(411))/7*(parseInt(e(390))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends Vn.EditorUI{get[Yu(391)](){return this[Yu(397)]}constructor(e,i){const n=Yu;super(e),this[n(397)]=i,this[n(378)]=(0,Vn.normalizeToolbarConfig)(e[n(415)][n(409)](n(413))),this[n(399)]=new t.ElementReplacer}get[Yu(388)](){const t=Yu;return this[t(391)][t(388)]}[Yu(377)](t){const e=Yu,i=this[e(395)],n=this[e(391)],r=i[e(406)][e(391)],s=n[e(389)],o=r[e(394)][e(374)]();s[e(407)]=o[e(416)],n[e(410)]();const a=s[e(388)];this[e(417)](s[e(407)],a),n[e(389)][e(384)](e(375)).to(this[e(396)]),r[e(382)](a),this[e(399)][e(414)](t,this[e(388)]),this[e(380)](),this[e(385)](e(404))}[Yu(392)](){const t=Yu;super[t(392)]();const e=this[t(391)],i=this[t(395)][t(406)][t(391)];this[t(399)][t(400)](),i[t(381)](e[t(389)][t(407)]),e[t(392)]()}[Yu(380)](){const t=Yu,e=this[t(391)];e[t(401)][t(384)](t(373)).to(this[t(396)],t(375)),e[t(401)][t(387)]=e[t(388)],e[t(401)][t(384)](t(386)).to(this,t(408),(({top:t})=>t)),e[t(413)][t(376)](this[t(378)],this[t(412)]),this[t(405)](e[t(413)])}}var Xu=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=Pn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Hn();Cn()(Xu.A,Qu);Xu.A&&Xu.A.locals&&Xu.A.locals;var tl=el;function el(t,e){var i=il();return(el=function(t,e){return i[t-=326]})(t,e)}function il(){var t=["334107uKYoer","5952qzIyhl","4930BIrXFI","content","_editable","2632nTGnow","6bFowtz","583uxoTpc","main","37SnfqiL","206844fpzhRw","532wrJNDC","15064yAKcGv","editable","add","1263fEpMBA","toolbar","top","stickyPanel","render","282365pnePKd","shouldToolbarGroupWhenFull"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(391501===parseInt(e(337))/1*(parseInt(e(329))/2)+-parseInt(e(343))/3*(-parseInt(e(339))/4)+parseInt(e(326))/5*(parseInt(e(334))/6)+-parseInt(e(333))/7*(parseInt(e(340))/8)+-parseInt(e(328))/9+parseInt(e(330))/10+-parseInt(e(335))/11*(-parseInt(e(338))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends Vn.BoxedEditorUIView{get[tl(341)](){return this[tl(332)]}constructor(t,e,i={}){var n=tl;super(t),this[n(346)]=new Vn.StickyPanelView(t),this[n(344)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(327)]}),this[n(332)]=new Vn.InlineEditableUIView(t,e)}[tl(347)](){var t=tl;super[t(347)](),this[t(346)][t(331)][t(342)](this[t(344)]),this[t(345)][t(342)](this[t(346)]),this[t(336)][t(342)](this[t(341)])}}const rl=sl;function sl(t,e){const i=al();return(sl=function(t,e){return i[t-=140]})(t,e)}!function(t){const e=sl,i=t();for(;;)try{if(628968===parseInt(e(145))/1+parseInt(e(147))/2*(-parseInt(e(167))/3)+-parseInt(e(159))/4+-parseInt(e(144))/5+parseInt(e(150))/6+parseInt(e(162))/7*(parseInt(e(153))/8)+parseInt(e(149))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(al);class ol extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(154)]}constructor(t,e){const i=sl;super(e),this[i(148)]=t,this[i(158)][i(161)][i(156)]();const n=new nl(this[i(151)],this[i(157)][i(141)],{shouldToolbarGroupWhenFull:!0});this[i(154)]=new Ku(this,n)}[rl(165)](){const t=rl;return this[t(142)](),this.ui[t(165)](),super[t(165)]()}static async[rl(163)](t,e){const i=rl,n=new this(t,e);return await n[i(155)](),await n.ui[i(152)](t),await n[i(143)][i(152)](n[i(140)][i(166)](i(164))||""),n[i(146)](i(160)),n}}function al(){const t=["sourceElement","17665065VJqoYH","3874482YdgkII","locale","init","72mFtFAC","_ui","initPlugins","createRoot","editing","model","3451340nCKRRa","ready","document","351239wXGAaI","create","initialData","destroy","get","15OMvNzK","config","view","updateSourceElement","data","6278075mQcHVY","279568tSjEIn","fire","236910veMauW"];return(al=function(){return t})()}const cl=ll;function ul(){const t=["$graveyard","repository","799803REgJpZ","catch","refreshPositioning","createRangeIn","parse","isEnabled","toLocaleDateString","RevisionTracker","_restoreRevision","420CcYvjz","locale","_viewerEditor","plugins","hide","33407vphZBc","revisionHistory.closeRevisionViewerCallback","3613gLBaUQ","push","Restored","revisionHistory.editorContainer","users","getRevisions","exitToEditing","isPremiumPlugin","isOfficialPlugin","removeMarker","setAttribute","toolbar","save","_enhanceShowRevisionViewerCallback","getUser","get","PaginationLookup","refreshVisibility","enableReadOnlyMode","closeRevisionViewerCallback","revision-history-viewer-opened","from","fromVersion","_recalculatePageBreaks","remove","none","update","creator","markers","roots","style","setSelection","getRevisionData","commands","revisionHistory.showRevisionViewerCallback","enqueueChange","error","result","rootName","RevisionViewer","revisionHistory.restoreRevisionCallback","revisionHistory.viewerContainer","changesNavigation","_showRevisionViewer","revisionHistory.requireRevisionName","addRevisionData","restrictedEditingException","256494FpeLev","join","isAttached","destroy","translations","uiLanguage","RevisionHistory","RevisionViewerIntegration","isAnonymous","restoreRevision","getMarkersGroup","create","1501002qvqFjc","revisionHistory.viewerEditorElement","624337NQWJSj","getRevision","indexOf","showRevisionViewerCallback","toVersion","_getRevisionViewerEditorConfig","_cleanUp","createdAt","RevisionsRepository","Annotations","data","requires","revisionHistory","isReady","5WdiuXj","removeAttribute","getRevisionRootsAttributes","set","then","Dialog","change","toJSON","Autosave","bind","define","detachRoot","block","addUser","RevisionHistoryUI","display","_enhanceCloseRevisionViewerCallback","long","disableReadOnlyMode","map","numeric","2302324GXodEE","has","addRoot","isReadOnly","5484PohPRy","_closeRevisionViewer","10geneKK","insert","40nziXJq","removeSelectionAttribute","includes","keys","end","_update","revision-history-missing-configuration","saveRevision","selection","fromCharCode","init","editor","Users","adapter","document","model","name","isOpen","config","getRoot","lazyRoots","getAttributeKeys","toLocaleTimeString","pluginName","RestrictedEditingMode"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=120]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(390087===parseInt(e(170))/1*(-parseInt(e(163))/2)+-parseInt(e(229))/3+-parseInt(e(266))/4*(-parseInt(e(245))/5)+parseInt(e(217))/6+parseInt(e(231))/7*(-parseInt(e(127))/8)+-parseInt(e(154))/9*(-parseInt(e(125))/10)+parseInt(e(168))/11*(parseInt(e(123))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(259),cl(151)];class dl extends qi.Plugin{static get[cl(150)](){return cl(224)}static get[cl(178)](){return!0}static get[cl(177)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(264)]((t=>String[e(136)](t)))[e(218)]("")}super(t),this[e(207)]=e(131),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(150)](){return cl(223)}static get[cl(178)](){return!0}static get[cl(177)](){return!0}static get[cl(242)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(138)][i(145)][i(185)](i(243)))throw new t.CKEditorError(i(133),this);this[i(165)]=null,this[i(138)][i(145)][i(255)](i(204),(t=>this[i(213)]({...t,translations:this[i(138)][i(164)][i(221)]}))),this[i(138)][i(145)][i(255)](i(169),(t=>this[i(124)](t))),this[i(138)][i(145)][i(255)](i(210),(t=>this[i(162)](t))),this[i(138)][i(145)][i(255)](i(214),!1),this[i(183)](),this[i(261)]()}set[cl(140)](t){const e=cl;this[e(138)][e(166)][e(185)](e(161))[e(140)]=t}get[cl(140)](){const t=cl;return this[t(138)][t(166)][t(185)](t(161))[t(140)]}[cl(215)](t){const e=cl;return this[e(138)][e(166)][e(185)](e(161))[e(215)](t)}[cl(232)](t){const e=cl;return this[e(138)][e(166)][e(185)](e(239))[e(232)](t)}[cl(175)](t){const e=cl;return this[e(138)][e(166)][e(185)](e(239))[e(175)](t||{toJSON:!1})}[cl(236)](){const e=cl,i=this[e(138)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(166)][e(185)](e(161)),s=i[e(166)][e(185)](e(139))[e(174)];return n[e(181)]=[e(176),e(226),e(212)],delete n[e(147)],n[e(166)][e(171)](dl,br,Lr,class extends qi.Plugin{static get[e(242)](){return[br,e(139)]}[e(137)](){const n=e,o=this[n(138)][n(166)][n(185)](n(139));for(const t of s)t[n(225)]||o[n(184)](t.id)||o[n(258)](t);const a=r[n(153)][n(175)]();let c=null;const u=this[n(138)][n(166)][n(185)](n(209));u[n(140)]=r[n(140)],u[n(254)](n(159)).to(r),this[n(138)][n(203)][n(185)](n(226))[n(254)](n(159)).to(i,n(122),(t=>!t));for(const e of a){const i=null===e[n(197)];if(i&&e[n(235)]===e[n(192)])continue;const s=e[n(252)]();u[n(215)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(132)](s,o);else if(!o){const e=a[u(252)]();e.id=(0,t.uid)(),r[u(134)](e,a[u(235)])[u(249)]((t=>{c=t}))}}else e[u(132)](s,o)}))}}},Bu),n}[cl(183)](){const t=cl,e=this[t(138)][t(145)][t(185)](t(243))[t(234)];this[t(138)][t(145)][t(248)](t(204),(async()=>{const i=t;this[i(138)][i(188)](i(190));const n=this[i(138)][i(166)][i(185)](i(161));if(this[i(138)][i(166)][i(120)](i(253))){const t=this[i(138)][i(166)][i(185)](i(253));await t[i(182)]()}else await n[i(196)]();if(this[i(138)][i(166)][i(120)](i(186))&&this[i(138)][i(166)][i(185)](i(186))[i(193)](),this[i(138)][i(166)][i(120)](i(250))){const t=this[i(138)][i(166)][i(185)](i(250));t[i(144)]&&t[i(167)]()}const r=this[i(236)]();return e(r)[i(249)]((t=>{const e=i;return this[e(165)]=t,this[e(138)][e(166)][e(120)](e(240))&&this[e(138)][e(166)][e(185)](e(240))[e(187)](),t}))[i(155)]((t=>(console[i(206)](t),this[i(138)][i(263)](i(190)),null)))}))}[cl(261)](){const t=cl,e=this[t(138)][t(145)][t(185)](t(243))[t(189)];this[t(138)][t(145)][t(248)](t(169),(()=>(this[t(138)][t(166)][t(120)](t(186))&&this[t(138)][t(166)][t(185)](t(186))[t(193)](),this[t(165)][t(166)][t(185)](t(209))[t(237)](),e(this[t(165)])[t(249)]((()=>{const e=t;if(this[e(138)][e(263)](e(190)),this[e(165)]=null,this[e(138)][e(166)][e(120)](e(240))){const t=this[e(138)][e(166)][e(185)](e(240));t[e(187)](),t[e(156)]()}})))))}[cl(213)](t){const e=cl,i=this[e(138)][e(145)][e(185)](e(173)),n=this[e(138)][e(145)][e(185)](e(211)),r=this[e(138)][e(145)][e(185)](e(230));return ol[e(228)](r,t)[e(249)]((t=>(n[e(200)][e(260)]=e(257),i[e(200)][e(260)]=e(195),t)))}[cl(124)](t){const e=cl,i=this[e(138)][e(145)][e(185)](e(173));return this[e(138)][e(145)][e(185)](e(211))[e(200)][e(260)]=e(195),i[e(200)][e(260)]="",t[e(220)]()}async[cl(162)](t){const e=cl,i=this[e(138)],n=this[e(165)][e(166)][e(185)](e(209)),r=i[e(166)][e(185)](e(161)),s=n[e(153)][e(232)](t);let o,a,c;try{o=await n[e(202)](s),a=await n[e(247)](s)}catch(t){return void console[e(206)](t)}i[e(142)][e(251)]((t=>{const n=e;for(const e of Array[n(191)](i[n(142)][n(198)][n(227)](n(216))))t[n(179)](e)})),n[e(244)]=!1,i[e(142)][e(205)]((t=>{const n=e;t[n(201)](null),t[n(128)](i[n(142)][n(141)][n(135)][n(148)]());const r=Object[n(130)](o);for(const e of i[n(142)][n(141)][n(199)])n(152)!=e[n(208)]&&e[n(219)]()&&!r[n(129)](e[n(208)])&&t[n(256)](e);for(const e of r){let r=i[n(142)][n(141)][n(146)](e);r&&r[n(219)]()||(r=t[n(121)](e));const s=a[e],c=Object[n(130)](s),u=o[e];for(const e of r[n(148)]())c[n(129)](e)||t[n(246)](e,r);for(const i of c)t[n(180)](i,a[e][i],r);t[n(194)](t[n(157)](r)),t[n(126)](i[n(241)][n(158)](u,r),r,0)}}));const u=Qi(i[e(164)],e(172));return c=s[e(143)]?-1==s[e(143)][e(233)](u)?u+": "+s[e(143)]:s[e(143)]:u+": "+s[e(238)][e(160)](i[e(164)][e(222)],{month:e(262),day:e(265)})+", "+s[e(238)][e(149)](i[e(164)][e(222)],{hour:e(265),minute:e(265)}),await r[e(134)]({name:c}),n[e(244)]=!0,i[e(145)][e(185)](e(243))[e(189)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=194]})(t,e)}function pl(){var t=["14143016hhAjvO","11010GxsYix","184trcmOY","5571475WoXOgL","4120SraJZD","10548168QxJzQI","1593740maylgs","12zhkhmr","2525772RHGLAt","21969AdlOym"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(912866===-parseInt(e(200))/1*(parseInt(e(201))/2)+-parseInt(e(197))/3+parseInt(e(196))/4*(parseInt(e(195))/5)+-parseInt(e(194))/6+parseInt(e(202))/7+parseInt(e(199))/8+parseInt(e(198))/9*(parseInt(e(203))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height: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:()=>dl,RevisionHistoryUI:()=>er,RevisionTracker:()=>On,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>zr,RevisionsRepository:()=>Ki,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 V=k["__core-js_shared__"];var E,D=(E=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,z=Function.prototype,P=Object.prototype,W=z.toString,U=P.hasOwnProperty,Z=RegExp("^"+W.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(M(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 X=Object.prototype.hasOwnProperty;const K=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return X.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=K,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,Vt=Mt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Vt&&Vt.exports===Mt?k.Buffer:void 0;const Dt=(Et?Et.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var 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 zt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const Pt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Zt=Ut&&Ut.exports===Wt&&y.process;const Ht=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?Pt($t):zt;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 Xt=function(t,e){return function(i){return t(e(i))}};const Kt=Xt(Object.keys,Object);var Qt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Kt(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=Xt(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 Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),ze=F(Ae),Pe=F(Re),We=F(Me),Ue=A;(Ne&&Ue(new Ne(new ArrayBuffer(1)))!=je||B&&Ue(new B)!=Ve||Ae&&Ue(Ae.resolve())!=Ee||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 Ve;case ze:return Ee;case Pe:return De;case We:return Ce}return e});const Ze=Ue;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Xe=b?b.prototype:void 0,Ke=Xe?Xe.valueOf:void 0;const Qe=function(t){return Ke?Object(Ke.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?Pt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ze(t)};var ui=Ht&&Ht.isSet;const li=ui?Pt(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 Mi=function(t){return null==t?"":Ri(t)};const Vi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Ei=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Vi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Vi(e,t)).length;null!=t&&i<n;)t=t[Ei(e[i++])];return i&&i==n?t:void 0};const 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 zi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const Pi=function(t,e){return e=Vi(e,t),null==(t=zi(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||Pi(t,e)},Ui=Zi;function Zi(t,e){const i=Hi();return(Zi=function(t,e){return i[t-=345]})(t,e)}function Hi(){const t=["827911Nndbwi","removeAttribute","createdAt","13617iNqtkF","diffData","setAttribute","2096kUTTmT","setName","creatorId","toVersion","fromVersion","524DxvapX","authors","_update","authorsIds","15217440yLEJZx","map","5095HwIUhL","5199qpRlgo","attributes","creator","name","140UptUIG","fire","597732idteug","set","toJSON","2304885BzPMWK"];return(Hi=function(){return t})()}!function(t){const e=Zi,i=t();for(;;)try{if(298583===parseInt(e(365))/1*(-parseInt(e(370))/2)+parseInt(e(366))/3*(-parseInt(e(359))/4)+-parseInt(e(347))/5+parseInt(e(372))/6+parseInt(e(348))/7+parseInt(e(354))/8*(-parseInt(e(351))/9)+parseInt(e(363))/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(368)]=e[i(368)]||null,this[i(360)]=e[i(360)]||[],this[i(352)]=e[i(352)]||null,this[i(357)]=e[i(357)]||0,this[i(358)]=e[i(358)]||0,this[i(345)](i(369),e[i(369)]||""),this[i(345)](i(350),e[i(350)]||new Date),this[i(345)](i(367),e[i(367)]||{})}[Ui(355)](t){this[Ui(361)]({name:t})}[Ui(353)](t,e){const i=Ui,n=vi(this[i(367)]);Ci(n,t,e),this[i(361)]({attributes:n})}[Ui(349)](t){const e=Ui,i=vi(this[e(367)]);Wi(i,t),this[e(361)]({attributes:i})}[Ui(361)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(369),i(350),i(352),i(360),i(367),i(357),i(358),i(356)];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(360)]&&(r[i(362)]=r[i(360)][i(364)]((t=>t.id)),delete r[i(360)]),this[i(371)](i(361),r,e))}[Ui(346)](){const t=Ui;return{id:this.id,name:this[t(369)],creatorId:this[t(368)]?this[t(368)].id:null,authorsIds:this[t(360)][t(364)]((t=>t.id)),diffData:this[t(352)],createdAt:this[t(350)],attributes:this[t(367)],fromVersion:this[t(358)],toVersion:this[t(357)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Gi;function Gi(t,e){const i=Xi();return(Gi=function(t,e){return i[t-=356]})(t,e)}function Xi(){const t=["plugins","getRevisions","reverse","get","creatorId","3438404XIQRQs","editor","getRevisionsIterator","getIndex","from","earlier","7949560RIYoZs","addRevision","push","join","2103878JmtAfT","href","length","authorsIds","279JktrXf","pluginName","newRevisionId","isOfficialPlugin","isNaN","getRevision","fromVersion","RevisionsRepository","createRevision","attributes","5499770qcuMQZ","afterInit","653457tWDxHv","6Vqcsky","3MvxuHP","835220XANylQ","oldRevisionId","Users","later","add","getEarlierVisibleRevision","createdAt","getUser","_revisions","82070tcHxuk","getLaterVisibleRevision","diffData","data","toVersion","map","getRevisionsInDiff","isPremiumPlugin","fromCharCode","name","requires","toJSON"];return(Xi=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(630978===parseInt(e(362))/1+parseInt(e(374))/2+-parseInt(e(364))/3*(parseInt(e(391))/4)+parseInt(e(360))/5*(-parseInt(e(363))/6)+parseInt(e(401))/7+-parseInt(e(397))/8+parseInt(e(405))/9*(parseInt(e(365))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xi);class Ki extends qi.Plugin{static get[Ji(384)](){return[Bi.Users]}static get[Ji(406)](){return Ji(357)}static get[Ji(408)](){return!0}static get[Ji(381)](){return!0}get[Ji(403)](){const t=Ji;return this[t(373)][t(403)]}constructor(e){const i=Ji;super(e),this[i(373)]=new t.Collection}[Ji(361)](){!async function(e){const i=k([67,102,84,73,69,121,97,81,85,112,75,82,88,101,53,100,106,77,76,83,122,87,118,108,113,71,104,65,51,117,109,52,70,105,90,50,86,78,72,114,116,55,120,79,66,111,54,80,49,119,56,110,57,48,89,115,74,98,99,68,103,107]),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(409)](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([67]);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(379)]((t=>String[e(382)](t)))[e(400)]("")}!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:1738627200;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(402)]);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(358)](t){const e=Ji,i=this[e(392)][e(386)][e(389)](e(367));return new $i({id:t.id,name:t[e(383)],creator:t[e(390)]?i[e(372)](t[e(390)]):null,diffData:t[e(376)]||t[e(377)],authors:t[e(404)][e(379)]((t=>i[e(372)](t))),createdAt:new Date(t[e(371)]),attributes:t[e(359)],fromVersion:t[e(356)],toVersion:t[e(378)]})}[Ji(398)](t,e=0){const i=Ji;this[i(373)][i(369)](t,e)}[Ji(410)](t){const e=Ji;return this[e(373)][e(389)](t)}[Ji(387)](t={toJSON:!1}){const e=Ji,i=Array[e(395)](this[e(373)]);return i[e(388)](),t[e(385)]?i[e(379)]((t=>t[e(385)]())):i}[Ji(394)](t){const e=Ji;return this[e(373)][e(394)](t)}[Ji(370)](t){const e=Ji,[,i]=this[e(393)](t,{direction:e(396)});return i}[Ji(375)](t){const e=Ji,[,i]=this[e(393)](t,{direction:e(368)});return i}[Ji(380)](t){const e=Ji,i=[];for(const n of this[e(393)](t[e(407)]))if(i[e(399)](n),n.id===t[e(366)])break;return i}*[Ji(393)](t,{direction:e=Ji(396),filter:i=()=>!0}={}){const n=Ji,r=n(396)===e?1:-1;let s=this[n(373)][n(389)](t),o=this[n(394)](s);for(yield s;s;){if(o+=r,s=this[n(410)](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=In;function In(t,e){const i=Rn();return(In=function(t,e){return i[t-=367]})(t,e)}!function(t){const e=In,i=t();for(;;)try{if(306373===parseInt(e(378))/1+-parseInt(e(595))/2*(-parseInt(e(634))/3)+parseInt(e(571))/4*(-parseInt(e(486))/5)+-parseInt(e(424))/6+-parseInt(e(537))/7*(parseInt(e(449))/8)+parseInt(e(434))/9+parseInt(e(598))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rn);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(436)](){return _n(565)}static get[_n(437)](){return!0}static get[_n(531)](){return!0}static get[_n(398)](){return[Bi.Users,Ki,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(573)]=null,this[i(558)]=null,this[i(653)]=new Tn(this[i(543)]),this[i(404)]=this[i(543)][i(652)][i(541)](i(383))||i(630),this[i(539)]=new Map,this[i(578)]=null;const n=(0,t.uid)();this[i(382)]={history:this[i(543)][i(560)][i(632)][i(590)],getLatestVersion:()=>Promise[i(618)](this[i(543)][i(560)][i(632)][i(675)]),getCurrentRevisionId:()=>n},this[i(544)](i(410),!1),this[i(544)](i(665),!0),this[i(544)](i(536),!1),this[i(543)][i(652)][i(529)](i(685),!0),this[i(543)][i(377)][i(534)](i(580))[i(402)]({view:i(643)})}[_n(546)](){const t=_n;this[t(443)]=this[t(543)][t(575)][t(541)](t(429)),this[t(644)](),this[t(543)][t(401)].on(t(626),(()=>{const e=t,i=this[e(443)][e(633)](0),n=i&&null===i[e(381)]?i:null;if(this[e(556)]=!!n&&this[e(543)][e(652)][e(541)](e(685)),this[e(543)][e(575)][e(599)](e(639))){const t=this[e(382)][e(512)](),r=this[e(443)][e(633)](t);if(r)this[e(631)]=r[e(473)],this[e(556)]=!1;else{const t=this[e(382)][e(590)][e(582)][e(374)]((t=>!t[e(617)])),r=t?t[e(444)]:this[e(382)][e(590)][e(675)];i?(i[e(400)]<r&&i[e(629)]({toVersion:r}),this[e(556)]?(this[e(382)][e(512)]=()=>n.id,this[e(631)]=n[e(473)]):(this[e(631)]=i[e(400)],this[e(556)]=!1)):(this[e(631)]=r,this[e(556)]=!1)}}else n&&(this[e(543)][e(560)][e(632)][e(590)][e(675)]=Math[e(494)](n[e(400)],this[e(543)][e(560)][e(632)][e(590)][e(675)]),n[e(473)]===n[e(400)]?(0!==n[e(473)]&&(this[e(382)][e(512)]=()=>n.id),this[e(556)]=!1):this[e(556)]&&(this[e(382)][e(512)]=()=>n.id,this[e(631)]=n[e(473)])),this[e(556)]||(this[e(631)]=this[e(543)][e(560)][e(632)][e(675)]);this[e(653)][e(546)](this[e(382)][e(590)]),this[e(517)](this[e(631)]),this[e(446)](this[e(631)]),this[e(573)]&&this[e(594)]()})),this[t(474)](t(410)).to(this,t(536),(t=>!t)),this[t(656)]=this[t(543)][t(652)][t(541)](t(656));const e=this[t(543)];this[t(412)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(658)==s||i(521)==s||i(669)==s||i(679)==s||i(454)==s||i(472)==s||i(609)==s||i(540)==s){delete e[r],n=s,clearInterval(this[i(412)]),this[i(412)]=void 0;break}}i(521)==n&&e[i(380)](i(461)),i(669)==n&&e[i(380)](i(411)),i(679)==n&&e[i(380)](i(427)),i(454)==n&&e[i(380)](i(600),i(508)),i(472)==n&&e[i(380)](i(628)),i(609)==n&&e[i(380)](i(674)),i(540)==n&&e[i(380)](i(564))}),1e3)}async[_n(498)](){const t=_n;if(this[t(443)][t(664)]>0){const e=this[t(443)][t(633)](0),i=await this[t(514)](e),n=await this[t(516)](e);this[t(663)](i,n)}}[_n(501)](){const t=_n;super[t(501)](),this[t(412)]&&clearInterval(this[t(412)])}[_n(518)](t){this[_n(382)]=t}async[_n(525)](){const t=_n,e=await this[t(382)][t(426)]();if(e>this[t(558)][t(400)]){await this[t(610)]();const i=this[t(654)]({revision:this[t(558)],to:e});i[t(417)]=i[t(645)][t(466)]((e=>this[t(543)][t(575)][t(541)](t(567))[t(490)](e))),this[t(558)][t(629)](i)}}async[_n(610)](){const t=_n;this[t(556)]&&!this[t(578)]&&(await this[t(528)](this[t(558)]),this[t(653)][t(666)](this[t(558)]),this[t(578)]={fromVersion:this[t(558)][t(473)],authors:this[t(558)][t(417)][t(620)]()})}async[_n(612)](e={},i=null){const n=_n,r=[];await this[n(610)](),this[n(556)]=!1,i>this[n(558)][n(400)]&&(i=null),null===i&&(i=await this[n(382)][n(426)]());const s=this[n(419)](i),o=this[n(654)]({from:s,to:i});if(this[n(558)][n(400)]<i){const t=this[n(654)]({revision:this[n(558)],from:i,to:i});t[n(417)]=[],t[n(645)]=[],t.id=this[n(558)].id,this[n(558)][n(629)](t,!0),delete t[n(417)],r[n(368)](t)}e[n(480)]=this[n(543)][n(575)][n(541)](n(567)).me.id,e[n(603)]=e[n(603)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(561)](e);r[n(368)](e);const c=this[n(443)][n(616)](a);if(0!==c){const t=this[n(443)][n(633)](c-1);if(t[n(473)]!==i){const s=this[n(653)][n(593)](i,t[n(400)]),o={id:t.id,diffData:s[n(391)],authorsIds:s[n(645)],authors:s[n(645)][n(466)]((t=>this[n(543)][n(575)][n(541)](n(567))[n(490)](t))),fromVersion:i};t===this[n(558)]&&(o[n(451)]=new Date(e[n(451)][n(500)]()+10)),t[n(629)](o,!0),delete o[n(417)],r[n(368)](o)}}if(this[n(573)]){for(const t of r)this[n(547)](t.id,t,!0);this[n(594)]()}return a}[_n(561)](t){const e=_n,i=this[e(443)][e(468)](t);return this[e(573)]&&i.on(e(629),((t,i,n)=>{const r=e;n||(this[r(547)](i.id,i,!0),this[r(594)]())})),this[e(443)][e(681)](i,this[e(636)](i)),i}async[_n(514)](t){const e=_n;await this[e(528)](t);const i={};for(const n in t[e(391)]){if(t[e(391)][n][e(455)]&&!t[e(391)][n][e(455)][e(601)])continue;const r=this[e(647)](JSON[e(453)](t[e(391)][n][e(659)])),s=this[e(543)][e(684)][e(385)][e(632)],o=new Yi.ViewDocumentFragment(s,r[e(466)]((t=>xn(t,this[e(543)]))));this[e(543)][e(401)][e(660)][e(441)](e(405)),i[n]=this[e(543)][e(401)][e(660)][e(463)](o),this[e(543)][e(401)][e(660)][e(441)](e(602))}return i}async[_n(516)](t){const e=_n;await this[e(528)](t);const i={};for(const n in t[e(391)])t[e(391)][n][e(455)]&&!t[e(391)][n][e(455)][e(601)]||(i[n]=t[e(391)][n][e(585)]||{});return i}[_n(594)](){const t=_n;if(0===this[t(539)][t(676)])return;if(this[t(536)])return;let e=Array[t(533)](this[t(539)][t(530)]());this[t(539)][t(507)]();for(let i=0;i<e[t(664)];i++){const n=e[i];let r=!1;for(const e of Object[t(423)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(668)]((t=>null!==t)),!e[t(664)])return;for(let i=0;i<e[t(664)];i++){const n=e[i];void 0!==n[t(473)]&&void 0===n[t(400)]&&(n[t(400)]=this[t(443)][t(633)](n.id)[t(400)]),void 0!==n[t(400)]&&void 0===n[t(473)]&&(n[t(473)]=this[t(443)][t(633)](n.id)[t(473)])}const i=this[t(543)][t(652)][t(541)](t(383));this[t(536)]=!0,this[t(439)](),this[t(573)][t(481)](e,i)[t(452)]((()=>{this[t(536)]=!1}))[t(387)]((e=>{const i=t;if(e)for(const t of e)this[i(373)]({id:t.id,createdAt:t[i(451)]});this[i(596)](),this[i(594)]()}))}[_n(663)](e,i){const n=_n;let r=this[n(543)][n(652)][n(541)](n(672)),s=this[n(543)][n(652)][n(541)](n(505));if(void 0===r){r={};for(const t of this[n(543)][n(560)][n(632)][n(430)]())r[t]=""}if(n(535)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(543)][n(560)][n(632)][n(430)]())s[t]={}}let o=!1;const a=Object[n(423)](r),c=Object[n(423)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(499)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(423)](s[t])[n(664)]>0){o=!0;break}}o||(o=c[n(478)]((t=>!this[n(543)][n(560)][n(632)][n(545)](t)))),o&&(0,t.logWarning)(n(673),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(543)][n(652)][n(544)](n(672),e),this[n(543)][n(652)][n(544)](n(505),i)}[_n(439)](){const t=_n;if(!this[t(515)]){const e=this[t(543)][t(575)][t(541)](t(557));this[t(515)]=e[t(496)](Qi(this[t(543)][t(431)],t(581)))}}[_n(596)](){const t=_n;this[t(515)]&&(this[t(543)][t(575)][t(541)](t(557))[t(395)](this[t(515)]),this[t(515)]=null)}[_n(636)](t){const e=_n,i=this[e(443)][e(587)]();i[e(604)]();let n=0;for(;n<i[e(664)];){const r=i[n];if(r===this[e(558)]){n++;continue}if(r.id===this[e(404)])break;const s=t[e(400)]-r[e(400)]||t[e(473)]-r[e(473)];if(s>0)break;if(s<0)n++;else{if(!t[e(381)]&&r[e(381)])break;if(r[e(381)]||!t[e(381)]){if(t[e(451)]>r[e(451)])break;n++}else n++}}return n}[_n(373)](t){const e=_n,i=this[e(443)][e(633)](t.id);if(t[e(451)]&&(t[e(451)]=new Date(t[e(451)])),t[e(645)]){const i=this[e(543)][e(575)][e(541)](e(567));t[e(417)]=t[e(645)][e(466)]((t=>i[e(490)](t)))}i[e(629)](t,!0)}[_n(654)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(473)],i=null!==i?i:t[n(400)];const r=this[n(653)][n(593)](e,i),s={diffData:r[n(391)],authorsIds:r[n(645)],fromVersion:e,toVersion:i};if(!t||i!==t[n(400)]){const t=i-1,e=this[n(382)][n(590)][n(562)](t);s[n(451)]=e&&e[n(451)]||new Date}if(this[n(578)]&&e===this[n(578)][n(473)])for(const t of this[n(578)][n(417)])s[n(645)][n(638)](t.id)||s[n(645)][n(368)](t.id);return s}[_n(528)](t){const e=_n;if(!t||t[e(391)])return Promise[e(618)]();{const i=this[e(543)][e(652)][e(541)](e(383));return this[e(573)][e(633)]({channelId:i,revisionId:t.id})[e(387)]((i=>{const n=e;t[n(391)]=i[n(391)]}))}}[_n(547)](t,e,i){const n=_n;if(this[n(539)][n(599)](t)){const r=this[n(539)][n(541)](t);e=i?{...r,...e}:{...e,...r}}this[n(539)][n(544)](t,e)}[_n(419)](t){const e=_n,i=this[e(443)][e(587)]();i[e(604)](),i[e(497)]();const n=i[e(374)]((i=>i[e(400)]<=t))[e(400)];return n<this[e(631)]?this[e(631)]:n}[_n(517)](t){const e=_n,i=this[e(443)][e(633)](this[e(443)][e(664)]-1);if(i)this[e(404)]=i.id;else{const i=!this[e(543)][e(560)][e(632)][e(613)][e(374)]((t=>this[e(543)][e(560)][e(662)](t))),n=this[e(543)][e(575)][e(541)](e(567)).me.id,r=Qi(this[e(543)][e(431)],e(i?511:553));this[e(568)]({from:t,to:t,id:this[e(404)],name:r,creatorId:n})}}[_n(446)](t){const e=_n,i=this[e(382)][e(512)]();this[e(558)]=this[e(443)][e(633)](i),this[e(558)]||(this[e(558)]=this[e(568)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(568)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(654)]({from:e,to:i});o[s(603)]=t,o[s(480)]=n,o.id=r;const a=this[s(561)](o);return this[s(573)]&&this[s(547)](o.id,o,!0),a}[_n(644)](){const t=_n;this[t(543)][t(377)][t(534)](t(509))[t(394)]({model:t(643)})}[_n(647)](t){const e=_n;return(t=t[e(668)]((t=>!t[e(603)]||e(460)!==t[e(603)]&&e(538)!==t[e(603)])))[e(667)]((t=>{const i=e;i(535)!=typeof t&&(t[i(475)]=this[i(647)](t[i(475)]),t[i(413)]=t[i(413)][i(668)]((t=>!t[0][i(457)](i(495)))))})),t}}function xn(t,e){const i=_n,n=e[i(684)][i(385)][i(632)];if(i(535)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(475)][i(466)]((t=>xn(t,e)));return new(Sn[t[i(625)]]||Yi.ViewElement)(n,t[i(603)],t[i(413)],r)}}class Tn{constructor(t){const e=_n;this[e(543)]=t,this[e(396)]=new Map,this[e(583)]=-1,this[e(367)]=-1,this[e(489)]=new Map,this[e(542)]=new Map,this[e(448)]=new Map,this[e(506)]=new Map,this[e(406)]=new Map,this[e(655)]=new Map,this[e(682)]=new Map,this[e(677)]=new Map,this[e(527)]=new Map,this[e(389)]=new Map,this[e(588)]=1}[_n(546)](t){const e=_n;this[e(384)]=t;const i=new Map,n=new Map,r=this[e(543)][e(560)][e(632)][e(613)][e(466)]((t=>t[e(661)]));for(const t of r){const r=this[e(543)][e(560)][e(632)][e(545)](t),s=Nn(r);i[e(544)](t,s),n[e(544)](t,Object[e(370)](r[e(487)]()))}const s=Array[e(533)](this[e(543)][e(560)][e(522)])[e(466)]((t=>[t[e(603)],t[e(680)]()])),o=this[e(384)][e(675)];this[e(408)](o,i,s,n),this[e(607)]=this[e(588)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(544)](t,i),c[e(544)](t,{})}this[e(408)](Number[e(418)],a,[],c)}[_n(593)](t,e){const i=_n;if(this[i(583)]===t&&this[i(367)]<=e)this[i(396)][i(676)]>1&&this[i(435)](this[i(367)]),this[i(657)](this[i(367)],e,!0);else{if(!this[i(396)][i(599)](t)){const e=this[i(683)](t);this[i(414)](e,t,!1)}this[i(414)](t,e,!0)}return this[i(583)]=t,this[i(367)]=e,this[i(465)]()}[_n(666)](t){const e=_n;this[e(488)](),this[e(583)]=t[e(473)],this[e(367)]=t[e(400)];for(const i in t[e(391)]){const n=t[e(391)][i][e(455)],r=vi(t[e(391)][i][e(372)])||{},s=this[e(502)](t[e(391)][i][e(469)]);s[e(661)]=i,s[e(642)]=!n||!n[e(601)],s[e(601)]=()=>s[e(642)],this[e(506)][e(544)](i,s),this[e(406)][e(544)](i,r),n&&this[e(389)][e(544)](i,n);const o=this[e(520)](s);this[e(682)][e(544)](i,o);for(const[t,i]of s[e(522)]){if(!t[e(457)](e(445)))continue;const n=t[e(619)](":")[2];for(const t of i[e(371)]({singleCharacters:!0})){const i=this[e(403)](t),r=e(470)==t[e(625)]?t[e(459)][e(397)][e(620)](0,-1):t[e(459)][e(397)],s=o[e(640)](r)[e(432)](i);this[e(677)][e(544)](s,{userId:n})}}}this[e(607)]=this[e(588)];const i=[...Array(this[e(588)])[e(423)]()][e(620)](1)[e(668)]((t=>!this[e(677)][e(599)](t)));let n=0;const r=new Map;for(const s in t[e(391)]){const o=t[e(391)][s][e(455)],a=vi(t[e(391)][s][e(585)])||{},c=this[e(502)](t[e(391)][s][e(659)]);c[e(661)]=s,c[e(642)]=!o||o[e(601)],c[e(601)]=()=>c[e(642)],this[e(542)][e(544)](s,c),this[e(448)][e(544)](s,a);const u=this[e(520)](c,Number[e(418)]);this[e(655)][e(544)](s,u),r[e(544)](s,c[e(601)]()?a:{});for(const[t,i]of c[e(522)]){if(!t[e(457)](e(445)))continue;const n=t[e(619)](":")[2];for(const t of i[e(371)]({singleCharacters:!0})){const i=this[e(403)](t),r=this[e(588)]++,s=e(470)==t[e(625)]?t[e(459)][e(397)][e(620)](0,-1):t[e(459)][e(397)];u[e(640)](s)[e(549)](i,r),this[e(677)][e(544)](r,{userId:n})}}for(const t of this[e(543)][e(560)][e(570)](c)[e(371)]({singleCharacters:!0})){const r=this[e(403)](t),s=e(470)==t[e(625)]?t[e(459)][e(397)][e(620)](0,-1):t[e(459)][e(397)],o=u[e(640)](s);o[e(432)](r)>0||o[e(549)](r,i[n++])}for(const[t,i]of c[e(522)])t[e(457)](e(445))||this[e(489)][e(544)](t,i)}const s=An(e(485));this[e(506)][e(544)](e(485),s),this[e(682)][e(544)](e(485),this[e(520)](s,1));const o=An(e(485));this[e(542)][e(544)](e(485),o),this[e(655)][e(544)](e(485),this[e(520)](o,1));const a=Array[e(533)](this[e(542)])[e(466)]((([t,e])=>[t,Nn(e)]));this[e(408)](this[e(367)],a,this[e(489)],r)}[_n(502)](t){const e=_n,i=JSON[e(453)](t),n=this[e(543)][e(684)][e(385)][e(632)],r=new Yi.ViewDocumentFragment(n,i[e(466)]((t=>xn(t,this[e(543)]))));return this[e(543)][e(401)][e(450)](r)}[_n(408)](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(544)](t,{start:e[r(614)][r(563)](),end:e[r(513)][r(563)](),rootName:e[r(624)][r(661)]});this[r(396)][r(544)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(435)](t){const e=_n;this[e(396)][e(554)](t)}[_n(608)](){const t=_n;this[t(488)](),this[t(583)]=-1,this[t(367)]=-1,this[t(396)][t(507)](),this[t(546)](this[t(384)])}[_n(488)](){const t=_n;this[t(677)][t(507)](),this[t(527)][t(507)](),this[t(389)][t(507)](),this[t(542)][t(507)](),this[t(448)][t(507)](),this[t(506)][t(507)](),this[t(406)][t(507)](),this[t(655)][t(507)](),this[t(682)][t(507)](),this[t(489)][t(507)](),this[t(588)]=1,this[t(607)]=this[t(588)]}[_n(520)](t,e=null){const i=_n;let n=null;t.is(i(491))||(n=new Yi.Element(t[i(603)],{vid_start:null===e?this[i(588)]++:e++}));const r=[];for(const n of t[i(369)]())if(n.is(i(627))){r[i(368)](this[i(520)](n,e));const t=r[r[i(664)]-1];null!==e&&(e=t.is(i(627),i(471))?t[i(432)](i(532))+1:t[i(432)](i(479))+1)}else for(let t=0;t<n[i(390)];t++)r[i(368)](new Yi.Element(i(471),{vid:null===e?this[i(588)]++:e++}));if(t.is(i(491))){const e=An(t[i(661)]);return e[i(548)](0,r),e}return n[i(549)](i(479),null===e?this[i(588)]++:e++),n[i(548)](0,r),n}[_n(414)](t,e,i){const n=_n;this[n(488)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(396)][n(541)](t);this[n(506)]=new Map(r),this[n(406)]=new Map(vi(o));for(const[t,e]of this[n(506)])if(n(485)!==t&&(this[n(542)][n(544)](t,Nn(e)),this[n(448)]=new Map(vi(o)),i)){const i=this[n(588)];this[n(655)][n(544)](t,this[n(520)](e)),this[n(682)][n(544)](t,this[n(520)](e,i))}this[n(607)]=this[n(588)],this[n(542)][n(544)](n(485),Nn(this[n(506)][n(541)](n(485)))),i&&this[n(655)][n(544)](n(485),this[n(520)](this[n(506)][n(541)](n(485))));for(const[t,e]of s){const i=this[n(506)][n(541)](e[n(661)]),r=this[n(542)][n(541)](e[n(661)]),s=new Yi.Range(this[n(550)](e[n(614)],i),this[n(550)](e[n(513)],i)),o=this[n(637)](s,r);i[n(522)][n(544)](t,s),this[n(489)][n(544)](t,o)}this[n(657)](t,e,i)}[_n(657)](t,e,i){const n=_n;for(const r of this[n(384)][n(523)](t,e))this[n(622)](r,i);for(const t of this[n(542)][n(530)]())t[n(522)][n(507)]();for(const[t,e]of this[n(489)])this[n(542)][n(541)](e[n(624)][n(661)])[n(522)][n(544)](t,e[n(563)]());const r=new Map,s=new Map;for(const[t,e]of this[n(542)])r[n(544)](t,Nn(e)),s[n(544)](t,this[n(448)][n(541)](t));this[n(408)](e,r,this[n(489)],s)}[_n(683)](t){const e=_n,i=Array[e(533)](this[e(396)][e(423)]());i[e(555)](((t,e)=>t-e)),i[e(604)]();for(const e of i)if(e<t)return e;return Number[e(418)]}[_n(641)](t,e){const i=_n,n=Array[i(533)](e[i(522)])[i(466)]((([e,n])=>[e,this[i(637)](n,t)]));t[i(522)]=new Map(n)}[_n(584)](t){const e=_n;for(const i of this[e(489)][e(530)]()){const n=i[e(670)](t),r=Yi.Range[e(589)](n);i[e(614)]=r[e(614)],i[e(513)]=r[e(513)]}}[_n(622)](t,e){const i=_n;if(i(456)!=t[i(625)]&&i(477)!=t[i(625)]){if(i(572)==t[i(625)]){const n=t[i(376)][i(624)][i(661)];this[i(542)][i(599)](n)||(this[i(542)][i(544)](n,An(n,!0)),this[i(448)][i(544)](n,{}),e&&this[i(655)][i(544)](n,An(n,!0)))}else{if(i(559)==t[i(625)]||i(464)==t[i(625)]||i(440)==t[i(625)])return void this[i(649)](t);i(687)==t[i(625)]&&this[i(623)](t)}if(i(687)!==t[i(625)]){const e=this[i(416)](t,this[i(542)]);e[i(579)](),this[i(584)](e)}if(e)switch(t[i(625)]){case i(572):this[i(493)](t);break;case i(504):case i(395):case i(409):this[i(415)](t);break;case i(428):this[i(597)](t);break;case i(619):this[i(399)](t)}}else this[i(467)](t,e)}[_n(416)](t,e){const i=_n,n=t[i(563)]();return n[i(606)]=t[i(606)],this[i(438)](n,e),n}[_n(510)](t){const e=_n;return t[e(466)]((t=>{const i=e,n=this[i(403)](t);return Number(t[i(551)][i(432)](n))}))}[_n(526)](t,e){const i=_n;if(t.is(i(627),i(471)))e[i(368)]({item:t,type:i(635)});else{t.is(i(627))&&e[i(368)]({item:t,type:i(591)});for(const n of t[i(369)]())this[i(526)](n,e);t.is(i(627))&&e[i(368)]({item:t,type:i(470)})}return e}[_n(465)](){const t=_n,e=new Map(this[t(677)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(506)][t(423)](),...this[t(542)][t(423)]()]);a[t(554)](t(485));for(const e of a){const i=this[t(542)][t(541)](e)||An(e,!1),n=this[t(506)][t(541)](e)||An(e,!1);i[t(601)]()||n[t(601)]()?(r[t(659)][e]=Nn(i),r[t(469)][e]=Nn(n),this[t(641)](r[t(469)][e],n),this[t(641)](r[t(659)][e],i),s[t(659)][e]=this[t(526)](this[t(655)][t(541)](e),[]),s[t(469)][e]=this[t(526)](this[t(682)][t(541)](e)||An(e,!1),[])):a[t(554)](e)}for(const r of a){const o=s[t(659)][r];for(const r of o){const s=this[t(403)](r),o=r[t(551)][t(432)](s);i[t(554)](o),o>=this[t(607)]&&n[t(544)](o,e[t(541)](o))}}for(const r of a){const a=s[t(659)][r],c=this[t(510)](s[t(469)][r]);let u=0;for(const r of a){const s=this[t(403)](r),a=r[t(551)][t(432)](s);if(!n[t(599)](a)&&!o[t(599)](a))if(i[t(599)](a))u++;else{if(a!=c[u]){const n=e[t(541)](a)||e[t(541)](c[u]);for(;a!=c[u];)i[t(599)](c[u])||(o[t(544)](c[u],n),e[t(544)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(659)][e];for(const e of r){const r=this[t(403)](e),s=e[t(551)][t(432)](r);if(o[t(599)](s)){const e=o[t(541)](s);i[t(599)](s)||i[t(544)](s,{...e}),n[t(544)](s,{...e})}}}for(const e of i[t(423)]())e>=this[t(607)]&&i[t(554)](e);const c=new Map;for(const e of a){let r=s[t(659)][e];for(const e of r)if(e[t(551)].is(t(627),t(458))){const i=this[t(403)](e),r=e[t(551)][t(432)](i);if(n[t(599)](r)){const i=e[t(551)][t(621)][t(621)][t(432)](t(678)),s=c[t(541)](i)||new Set;s[t(496)](n[t(541)](r)[t(577)]),c[t(544)](i,s)}}r=s[t(469)][e];for(const e of r)if(e[t(551)].is(t(627),t(458))){const n=this[t(403)](e),r=e[t(551)][t(432)](n);if(i[t(599)](r)){const n=e[t(551)][t(621)][t(621)][t(432)](t(678)),s=c[t(541)](n)||new Set;s[t(496)](i[t(541)](r)[t(577)]),c[t(544)](n,s)}}for(const e of c[t(423)]())(n[t(599)](e)||i[t(599)](e))&&c[t(554)](e)}for(const e of a){const r=s[t(659)][e];let o=null,a=null;for(const e of r){const r=this[t(403)](e),s=e[t(551)][t(432)](r),u=c[t(541)](s);u&&t(591)==e[t(625)]&&(o=Array[t(533)](u)[0],a=e[t(551)][t(432)](t(479))),o&&(i[t(544)](s,{userId:o}),n[t(544)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(469)][e],a=r[t(659)][e];for(const{userId:e}of this[t(527)][t(530)]())null!==e&&l[t(496)](e);for(const{userId:e}of this[t(389)][t(530)]())null!==e&&l[t(496)](e);this[t(503)](a,s[t(659)][e],n,t(566),l),this[t(503)](o,s[t(469)][e],i,t(462),l),u[e]={insertions:this[t(648)](a),deletions:this[t(648)](o),attachChange:this[t(389)][t(541)](e)||null,attributesBefore:vi(this[t(406)][t(541)](e))||{},attributesAfter:vi(this[t(448)][t(541)](e))}}return{diffData:u,authorsIds:Array[t(533)](l)}}[_n(420)](t){const e=_n;for(const[,i]of t[e(522)]){const t=i[e(614)][e(651)]()[e(668)]((t=>e(458)==t[e(603)]));for(const i of t)1==i[e(447)]&&i[e(386)](0).is(e(627),e(569))&&i[e(386)](0)[e(549)](e(524),!0)}}[_n(648)](t){const e=_n;this[e(420)](t);const i=this[e(543)][e(401)][e(586)](t,{}),n=Array[e(533)](i[e(369)]())[e(466)]((t=>this[e(393)](t)));return JSON[e(425)](n)}[_n(393)](t){const e=_n;if(t.is(e(471)))return t[e(401)];{const i=t;return{type:Object[e(423)](Sn)[e(374)]((e=>t instanceof Sn[e])),name:i[e(603)],attributes:Array[e(533)](i[e(487)]()),children:Array[e(533)](i[e(369)]())[e(466)]((t=>this[e(393)](t)))}}}[_n(503)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(543)][s(560)];for(let n=0;n<e[s(664)];n++){const r=this[s(403)](e[n]),c=e[n][s(551)][s(432)](r),h=i[s(541)](c),d=n==e[s(664)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(577)]!=o[s(577)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),Vn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(577)],d=l(445)+n+":"+h+":"+c++,f=u[l(482)](i,a);t[l(522)][l(544)](d,f),null!==h&&r[l(496)](h)}}[_n(403)](t){const e=_n;switch(t[e(625)]){case e(591):return e(678);case e(470):return e(479);default:return e(532)}}[_n(438)](t,e){const i=_n;t[i(444)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(541)](r[i(624)][i(661)]);t[n]=this[i(550)](r,s)}if(r instanceof Yi.Range){const s=e[i(541)](r[i(624)][i(661)]);t[n]=this[i(637)](r,s)}i(624)===n&&(t[i(624)]=e[i(541)](t[i(624)][i(661)]))}}[_n(637)](t,e){const i=_n;return this[i(543)][i(560)][i(482)](this[i(550)](t[i(614)],e),this[i(550)](t[i(513)],e))}[_n(550)](t,e){const i=_n;return this[i(543)][i(560)][i(375)](e,t[i(397)],t[i(407)])}[_n(493)](t){const e=_n,i=this[e(655)][e(541)](t[e(376)][e(624)][e(661)]),n=this[e(550)](t[e(376)],i),r=null===t[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,s=n[e(621)],o=this[e(588)],a=[];for(const i of t[e(686)])if(i.is(e(627)))a[e(368)](this[e(520)](i));else for(let t=0;t<i[e(390)];t++)a[e(368)](new Yi.Element(e(471),{vid:this[e(588)]++}));const c=this[e(588)];for(let t=o;t<c;t++)this[e(677)][e(544)](t,{userId:r});s[e(548)](n[e(379)],a)}[_n(415)](t){const e=_n;(t=this[e(416)](t,this[e(655)]))[e(579)]();const i=null===t[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,n=t[e(592)](),r=n[e(621)],s=n[e(379)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(386)](e);s.is(a(627),a(471))?n[a(544)](s[a(432)](a(532)),{userId:i}):(n[a(544)](s[a(432)](a(678)),{userId:i}),t(n,s,0,s[a(447)]),n[a(544)](s[a(432)](a(479)),{userId:i}))}}(this[e(677)],r,s,s+t[e(605)])}[_n(597)](t){const e=_n,i=null===(t=this[e(416)](t,this[e(655)]))[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,n=t[e(646)][e(621)],r=t[e(492)][e(621)],s=n[e(432)](e(479)),o=r[e(432)](e(678));n[e(549)](e(479),r[e(432)](e(479))),r[e(549)](e(479),s),this[e(677)][e(544)](o,{userId:i}),this[e(677)][e(544)](s,{userId:i}),t[e(579)]()}[_n(399)](t){const e=_n,i=null===(t=this[e(416)](t,this[e(655)]))[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,n=t[e(442)],r=t[e(476)][e(621)];t[e(579)]();const s=r[e(432)](e(479)),o=t[e(421)][e(615)];if(n){const t=o[e(432)](e(479)),n=r[e(432)](e(479));r[e(549)](e(479),t),o[e(549)](e(479),n),this[e(677)][e(544)](r[e(432)](e(479)),{userId:i}),this[e(677)][e(544)](o[e(432)](e(678)),{userId:i})}else{const t=this[e(588)]++,n=this[e(588)]++;r[e(549)](e(479),t),o[e(549)](e(678),n),o[e(549)](e(479),s),this[e(677)][e(544)](t,{userId:i}),this[e(677)][e(544)](n,{userId:i})}}[_n(623)](t){const e=_n;if(!t[e(392)])return;const i=(t=this[e(416)](t,this[e(542)]))[e(552)]?t[e(552)][e(624)]:null,n=t[e(433)]?t[e(433)][e(624)]:null;i&&this[e(489)][e(554)](t[e(603)]),n&&this[e(489)][e(544)](t[e(603)],t[e(433)][e(563)]());const r=null===t[e(606)]?null:t[e(606)]||this[e(543)][e(575)][e(541)](e(567)).me.id,s=t[e(603)];if(!this[e(527)][e(599)](s))return void this[e(527)][e(544)](s,{range:t[e(552)],userId:r});const o=this[e(527)][e(541)](s),a=o[e(671)],c=t[e(433)];null==a&&null==c||a&&c&&a[e(388)](c)?this[e(527)][e(554)](t[e(603)]):o[e(577)]=r}[_n(467)](t,e){const i=_n;this[i(542)][i(599)](t[i(661)])?this[i(542)][i(541)](t[i(661)])[i(642)]=t[i(484)]:(this[i(542)][i(544)](t[i(661)],An(t[i(661)],!0)),this[i(448)][i(544)](t[i(661)],{}),e&&this[i(655)][i(544)](t[i(661)],An(t[i(661)],!0)));const n=null===t[i(606)]?null:t[i(606)]||this[i(543)][i(575)][i(541)](i(567)).me.id,r=this[i(389)][i(541)](t[i(661)]);r&&r[i(577)]===n?this[i(389)][i(554)](t[i(661)]):this[i(389)][i(544)](t[i(661)],{userId:n,isAttached:t[i(484)]})}[_n(649)](t){const e=_n,i=this[e(448)][e(541)](t[e(624)][e(661)]);null===t[e(483)]?delete i[t[e(576)]]:i[t[e(576)]]=t[e(483)]}}function Nn(t){const e=_n,i=An(t[e(661)],t[e(601)]());for(const n of t[e(369)]()){const t=n[e(611)](!0);i[e(650)](t)}return i}function An(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(661)]=t,n[i(642)]=e,n[i(601)]=()=>n[i(642)],n}function Rn(){const t=["_fixRange","includes","RealTimeCollaborationClient","getNodeByPath","_copyMarkers","_isAttached","revision","_setConversion","authorsIds","targetPosition","_removeRevisionMarkers","_prepareViewToSave","_handleRootAttributeOperation","_appendChild","getAncestors","config","_revisionDataBuilder","buildRevisionData","_idsRoots","licenseKey","_applyOperations","revisionHistoryLicenseKeyValid","insertions","processor","rootName","hasContent","_replaceEditorDataWithRevisionData","length","isEnabled","loadState","forEach","filter","revisionHistoryLicenseKeyExpired","getTransformedByOperation","range","initialData","editor-initial-data-replaced-with-revision-data","trialLimit","version","size","_touched","vid_start","revisionHistoryLicenseKeyDomainLimit","getRange","addRevision","_baseIdsRoots","_getPreviousFrom","editing","revisionHistory.resumeUnsavedRevision","nodes","marker","_lastTo","push","getChildren","fromEntries","getWalker","attributesBefore","setRevisionData","find","createPositionFromPath","position","conversion","403989EHGTDN","offset","_showLicenseError","creator","_source","collaboration.channelId","source","view","getChild","then","isEqual","_touchedRoots","offsetSize","diffData","affectsData","_getViewJson","markerToData","remove","_savedMetaData","path","requires","_handleSplitOperation","toVersion","data","dataToMarker","_getVidAttributeName","_initialRevisionId","marked","_baseRootsAttributes","stickiness","_saveMetaData","reinsert","isReady","expired","_licenseKeyCheckInterval","attributes","_calculateMetaData","_handleMoveOperation","_cloneOperation","authors","NEGATIVE_INFINITY","_getFromVersion","_processRootBeforeSave","insertionPosition","createPositionAfter","keys","2364288XfxGfv","stringify","getLatestVersion","domainLimit","merge","RevisionsRepository","getRootNames","locale","getAttribute","newRange","3887757vIRLEa","_removeMetaData","pluginName","isOfficialPlugin","_fixOperation","_addPendingAction","changeRootAttribute","useFillerType","graveyardPosition","repository","baseVersion","revision:","_createCurrentRevision","childCount","_diffRootsAttributes","2464736nddPcv","toModel","createdAt","finally","parse","revisionHistoryLicenseKeyNotAllowed","attachChange","addRoot","startsWith","tableCell","previousPosition","revision-start","invalid","deletion","toData","removeRootAttribute","_getState","map","_handleRootOperation","createRevision","deletions","elementEnd","$text","revisionHistoryLicenseKeyEvaluationLimit","fromVersion","bind","children","splitPosition","detachRoot","some","vid_end","creatorId","updateRevisions","createRange","newValue","isAdd","$graveyard","2830dLOzJu","getAttributes","_reset","_markers","getUser","documentFragment","sourcePosition","_handleInsertOperation","max","data-revision-","add","shift","afterInit","trim","getTime","destroy","_makeModelFromViewString","_markChanges","move","rootsAttributes","_baseRoots","clear","RevisionHistory","dataDowncast","_getBaseVids","Empty document","getCurrentRevisionId","end","getRevisionDocumentData","_pendingAction","getRevisionRootsAttributes","_createInitialRevision","setSource","createPositionBefore","_makeIdsRoot","revisionHistoryLicenseKeyInvalid","markers","getOperations","keepParagraph","update","_generateTape","_touchedMarkers","_loadRevisionData","define","values","isPremiumPlugin","vid","from","for","string","_isPendingUpdate","7OBLelx","revision-end","_bufferedUpdates","revisionHistoryLicenseKeyUsageLimit","get","_diffRoots","editor","set","getRoot","init","_bufferUpdate","_insertChild","_setAttribute","_fixPosition","item","oldRange","Initial revision","delete","sort","_continueCurrentRevision","PendingActions","currentRevision","addRootAttribute","model","addRevisionData","getOperation","clone","usageLimit","RevisionTracker","insertion","Users","_makeRevision","paragraph","createRangeIn","4188XAsGTV","insert","adapter","createPositionAt","plugins","key","userId","_loadedStateData","_execute","upcast","PENDING_ACTION_REVISION_HISTORY","_operations","_lastFrom","_transformMarkers","attributesAfter","toView","getRevisions","_revisionId","_createFromRanges","history","elementStart","getMovedRangeStart","getData","sendBufferedUpdates","6wBoujW","_removePendingAction","_handleMergeOperation","5149260ROfmDr","has","featureNotAllowed","isAttached","default","name","reverse","howMany","_authorId","_startingRevisionId","reInit","revisionHistoryLicenseKeyTrialLimit","_loadState","_clone","saveRevision","roots","start","nodeAfter","getIndex","_isInit","resolve","split","slice","parent","_handleOperation","_handleMarkerOperation","root","type","ready","element","evaluationLimit","_update","initial","_startingVersion","document","getRevision","250227ubMtkC","text","_findInsertionIndex"];return(Rn=function(){return t})()}function Mn(t,e,i){const n=_n,r=n(470)==t[n(625)]?i[n(574)](t[n(551)],n(513)):i[n(519)](t[n(551)]);return i[n(375)](e,r[n(397)],r[n(407)])}function Vn(t,e,i){const n=_n,r=n(591)==t[n(625)]?i[n(574)](t[n(551)],0):i[n(422)](t[n(551)]);return i[n(375)](e,r[n(397)],r[n(407)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),zn=i.n(Ln),Pn=i(667),Wn=i.n(Pn),Un=i(357),Zn=i.n(Un),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=zn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Zn();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=zn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Zn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Jn(){const t=["extendTemplate","add","revisionNameInputView","1319262PsNBXd","8hhReRE","220","2083328mLHqne","238629YQfrGY","locale","22SIYLhP","arrowleft","keystrokes","label","stopPropagation","4149159VvfAFw","Name of the revision","input","listenTo","ck-revision-history-save-revision-form","errorText","reset","render","focus","fieldView","form","element","value","_createRevisionNameInput","setTemplate","revisionName","arrowup","28269999MsTYRv","837793XcBnmZ","arrowdown","set","optional","arrowright","revisionNameInputValue","ck-responsive-form","trim","718015YRsbuC","focusTracker"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=329]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(507863===-parseInt(e(348))/1+parseInt(e(367))/2*(-parseInt(e(365))/3)+parseInt(e(362))/4*(-parseInt(e(356))/5)+parseInt(e(361))/6+-parseInt(e(330))/7+-parseInt(e(364))/8+parseInt(e(347))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Xn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(357)]=new t.FocusTracker,this[n(369)]=new t.KeystrokeHandler,this[n(350)](n(353),""),this[n(360)]=this[n(343)](i),this[n(344)]({tag:n(340),attributes:{class:["ck",n(334),n(354)],tabindex:"-1"},children:[this[n(360)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(337)](){const t=Yn;super[t(337)](),(0,En.submitHandler)({view:this}),this[t(357)][t(359)](this[t(360)][t(341)]),this[t(369)][t(333)](this[t(341)]);const e=e=>e[t(329)]();this[t(369)][t(350)](t(352),e),this[t(369)][t(350)](t(368),e),this[t(369)][t(350)](t(346),e),this[t(369)][t(350)](t(349),e)}[Yn(338)](){const t=Yn;this[t(360)][t(338)]()}get[Yn(345)](){const t=Yn;return this[t(360)][t(339)][t(341)][t(342)][t(355)]()}set[Yn(345)](t){const e=Yn;this[e(360)][e(339)][e(341)][e(342)]=t[e(355)]()}[Yn(336)](){const t=Yn;this[t(360)][t(339)][t(341)][t(342)]="",this[t(360)][t(335)]=null}[Yn(343)](t){const e=Yn,i=new En.LabeledFieldView(this[e(366)],En.createLabeledInputText),n=i[e(339)];n[e(358)]({attributes:{maxlength:e(363)}});let r=Qi(this[e(366)],e(331));return!t&&(r+=" ("+Qi(this[e(366)],e(351))+")"),i[e(370)]=r,n.on(e(332),(()=>{const t=e;this[t(353)]=n[t(341)][t(342)][t(355)]()})),i}}function Kn(t,e){const i=tr();return(Kn=function(t,e){return i[t-=332]})(t,e)}const Qn=Kn;function tr(){const t=["role","isOfficialPlugin","requires","plugins","submit","get","children","render","1176160SKnNZt","Dialog","revisionSave","Cancel","history","isOpen","menuBar:revisionHistory","locale","menuitem","Open revision history","revisionNameInputView","errorText","Revision history","hide","RevisionHistoryUI","_createSaveRevisionFormView","add","panelView","addMany","config","componentFactory","revisionHistory.requireRevisionName","isEnabled","ck-button-action","revisionName","set","pluginName","1590972vvEjIj","view","7EjzUTU","isReadOnly","63768hYUObl","The revision name cannot be empty.","71066zHGacL","show","bind","_showDialog","isReady","_registerMenuComponent","saveRevision","Accept","menu","items","443166aiaQEK","showRevisionViewerCallback","init","reset","RevisionTracker","isPremiumPlugin","154430mqdWAq","delegate","buttonView","editing","revisionHistory","editor","execute","focus","Save current revision","_saveRevisionFormView","3172736clYVPS"];return(tr=function(){return t})()}!function(t){const e=Kn,i=t();for(;;)try{if(148724===parseInt(e(375))/1+parseInt(e(373))/2+-parseInt(e(385))/3+parseInt(e(342))/4+parseInt(e(391))/5+parseInt(e(369))/6*(parseInt(e(371))/7)+-parseInt(e(333))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Qn(368)](){return Qn(356)}static get[Qn(335)](){return!0}static get[Qn(390)](){return!0}static get[Qn(336)](){return[On]}[Qn(387)](){const t=Qn,e=this[t(396)],i=e[t(337)][t(339)](t(389));e.ui[t(362)][t(358)](t(395),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(359)][r(340)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(377)](r(364)).to(i,r(379),i,r(364),e,r(372),((t,e,i)=>t&&e&&!i)),s[r(393)][r(367)]({icon:qi.icons[r(346)],label:Qi(n,r(354)),tooltip:!0}),u[r(367)]({label:Qi(n,r(399)),withText:!0,role:r(350)}),u[r(377)](r(364)).to(i,r(379),i,r(364),e,r(372),((t,e,i)=>t&&e&&!i)),u.on(r(397),(()=>this[r(378)]())),h[r(367)]({label:Qi(n,r(351)),withText:!0,role:r(350)}),h[r(377)](r(364)).to(i,r(379),e,r(372),((t,e)=>t&&!e)),h.on(r(397),(()=>{const t=r;e[t(361)][t(339)](t(395))[t(386)](),s[t(347)]=!1,e[t(394)][t(370)][t(398)]()})),c[r(340)][r(358)](u),l[r(340)][r(358)](h),a[r(334)]=r(383),a[r(384)][r(360)]([c,l]),o[r(358)](a),s})),e.ui[t(362)][t(358)](t(348),(()=>this[t(380)]()))}[Qn(380)](){const t=Qn,e=this[t(396)],i=e[t(349)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(393)][t(367)]({icon:qi.icons[t(346)],label:Qi(i,t(354))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(367)]({label:Qi(i,t(399))}),o[t(392)](t(397)).to(n),o.on(t(397),(()=>{this[t(378)]()})),s[t(340)][t(358)](o),r[t(384)][t(358)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(367)]({label:Qi(i,t(351))}),c[t(392)](t(397)).to(n),c.on(t(397),(()=>{const i=t;e[i(361)][i(339)](i(395))[i(386)]()})),a[t(340)][t(358)](c),r[t(384)][t(358)](a),n[t(359)][t(340)][t(358)](r),n}[Qn(378)](){const t=Qn,e=this[t(396)],i=e[t(349)],n=e[t(337)][t(339)](t(343)),r=e[t(337)][t(339)](t(389));function s(r){const s=t;e[s(361)][s(339)](s(363))&&""===r[s(366)]?r[s(352)][s(353)]=Qi(i,s(374)):(e[s(337)][s(339)](On)[s(381)]({name:r[s(366)]}),n[s(355)]())}this[t(332)]||(this[t(357)](),this[t(332)].on(t(338),(()=>s(this[t(332)])))),this[t(332)][t(388)](),n[t(376)]({id:t(344),title:Qi(i,t(399)),isModal:!0,content:this[t(332)],actionButtons:[{label:Qi(e[t(349)],t(345)),withText:!0,onExecute:()=>n[t(355)]()},{label:Qi(e[t(349)],t(382)),class:t(365),withText:!0,onCreate(i){const n=t;i[n(377)](n(364)).to(r,n(379),r,n(364),e,n(372),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(332)])}]})}[Qn(357)](){const t=Qn,e=this[t(396)],i=e[t(349)];this[t(332)]=new Xn(i,e[t(361)][t(339)](t(363))),this[t(332)][t(341)]()}}const ir=nr;function nr(t,e){const i=rr();return(nr=function(t,e){return i[t-=498]})(t,e)}function rr(){const t=["set","4884CaIsrh","element","focus","name","180QYNfCF","div","setTemplate","833229oWpkyH","3629976GrDvuz","bindTemplate","ck-annotation","2288734zAWNLv","ck-revision-change__","author","72918dcXpZn","Suggested by","1620YrSGtu","type","71342xNpDVz","2331690ZQrosE","span","add","data","_model","1zokkgW","changeId","Added by","5yBYLcX","Removed by","20XsYuqP","isSuggestion","ck-revision-change__label","ck-revision-change"];return(rr=function(){return t})()}!function(t){const e=nr,i=t();for(;;)try{if(612125===parseInt(e(514))/1*(parseInt(e(508))/2)+-parseInt(e(504))/3*(-parseInt(e(528))/4)+parseInt(e(517))/5*(parseInt(e(509))/6)+-parseInt(e(501))/7+-parseInt(e(498))/8+-parseInt(e(531))/9*(parseInt(e(519))/10)+-parseInt(e(524))/11*(-parseInt(e(506))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rr);class sr extends En.View{constructor(t,e){const i=nr;super(t),this[i(513)]=e,this[i(515)]=e.id;const n=this[i(499)],r=Qi(t,e[i(512)][i(520)]?i(505):i(511)==e[i(507)]?i(516):i(518));this[i(523)](i(507),e[i(507)]),this[i(530)]({tag:i(529),attributes:{class:[i(500),i(522),n.to(i(507),(t=>i(502)+t))],tabindex:-1},children:[{tag:i(510),children:[{tag:i(510),attributes:{class:[i(521)]},children:[{text:r}]},{text:" "+e[i(503)][i(527)]}]}]})}[ir(526)](){const t=ir;this[t(525)][t(526)]()}}function or(t,e){var i=cr();return(or=function(t,e){return i[t-=129]})(t,e)}var ar=or;function cr(){var t=["224pbfxKi","165784NzkkmQ","58531ObpzZi","957915ZQrDyL","createdAt","set","author","rootName","1065000HUuqEL","type","toJSON","1914130JuLAfR","data","108592oqiJhd","96446yonSKH"];return(cr=function(){return t})()}!function(t){for(var e=or,i=t();;)try{if(238463===parseInt(e(139))/1+parseInt(e(136))/2+parseInt(e(140))/3+parseInt(e(138))/4+parseInt(e(133))/5+-parseInt(e(130))/6+parseInt(e(137))/7*(-parseInt(e(135))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=or;super(),this.id=e.id||(0,t.uid)(),this[i(143)]=e[i(143)],this[i(131)]=e[i(131)],this[i(134)]=e[i(134)]||{},this[i(129)]=e[i(129)],this[i(142)](i(141),e[i(141)])}[ar(132)](){var t=ar;return{id:this.id,authorId:this[t(143)].id,type:this[t(131)],data:this[t(134)],createdAt:this[t(141)]}}}const lr=hr;function hr(t,e){const i=fr();return(hr=function(t,e){return i[t-=396]})(t,e)}!function(t){const e=hr,i=t();for(;;)try{if(847484===parseInt(e(412))/1*(parseInt(e(404))/2)+parseInt(e(399))/3+parseInt(e(405))/4*(parseInt(e(408))/5)+parseInt(e(407))/6*(parseInt(e(398))/7)+-parseInt(e(396))/8*(parseInt(e(406))/9)+parseInt(e(401))/10+parseInt(e(410))/11*(-parseInt(e(400))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fr);class dr{constructor(e,i){const n=hr;this[n(402)]=e,this[n(409)]=i,this[n(411)]=new t.Collection}[lr(397)](t){const e=lr;for(const i of t)this[e(411)][e(403)](i)}}function fr(){const t=["837NlcYFG","9756HVGopO","155nYCoeD","oldRevisionId","7997hokagz","changes","81iZuwgx","118120haBKaP","_setChanges","371RCkWyy","1499745GPbfnQ","15132wCeoKA","10307670kPyEUG","newRevisionId","add","8634pwmLmW","151076UqvHDO"];return(fr=function(){return t})()}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=zn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Zn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=wr();return(yr=function(t,e){return i[t-=373]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(817685===-parseInt(e(634))/1+parseInt(e(426))/2+parseInt(e(444))/3*(-parseInt(e(705))/4)+parseInt(e(695))/5*(-parseInt(e(600))/6)+parseInt(e(704))/7*(-parseInt(e(712))/8)+-parseInt(e(498))/9*(parseInt(e(559))/10)+-parseInt(e(565))/11*(-parseInt(e(548))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wr);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[vr(528)](){return vr(577)}static get[vr(649)](){return!0}static get[vr(678)](){return!0}static get[vr(472)](){return[Bi.Users,En.ContextualBalloon,Ki]}constructor(t){const e=vr;super(t),this[e(574)]=this[e(616)][e(460)][e(628)](e(567)),this[e(454)](e(670),null),this[e(454)](e(425),null),this[e(393)]=null,this[e(454)](e(538),null),this[e(454)](e(591),!1),this[e(454)](e(622),!0),this.on(e(621),((t,i,n)=>{const r=e;this[r(670)]=null,this[r(425)]=null,this[r(616)][r(501)][r(434)][r(691)]((t=>{const e=r;for(const i of this[e(616)][e(501)][e(434)][e(617)][e(556)])n?t[e(675)](e(584),i):t[e(587)](e(584),i)}))})),this[e(672)](e(696)).to(this,e(670),(t=>null!==t)),this[e(672)](e(684)).to(this,e(591),this,e(538),this,e(670),((t,i,n)=>t&&n?i[e(545)][e(400)](n):0)),this[e(672)](e(654)).to(this,e(591),this,e(538),((t,i)=>t?i[e(545)][e(608)]:0)),this[e(521)]=null,this[e(502)]=new Map,this[e(680)]=null,this[e(674)]=this[e(616)][e(460)][e(628)](En.ContextualBalloon)}[vr(419)](){const t=vr,e=this[t(616)],i=new Ir(e,{direction:t(510)}),n=new Ir(e,{direction:t(398)});e[t(499)][t(609)](t(388),i),e[t(499)][t(609)](t(575),n),e[t(499)][t(609)](t(564),new _r(e)),this.on(t(464),(()=>{const e=t;i[e(663)](),n[e(663)]()})),this[t(385)](),this[t(524)](),e[t(604)](t(537)),e[t(460)][t(582)](t(478))&&e[t(460)][t(628)](t(478))[t(661)](t(537))}async[vr(462)](t){const e=vr;await this[e(509)](t);const i={};for(const n in t[e(455)]){if(t[e(455)][n][e(624)]&&!t[e(455)][n][e(624)][e(590)])continue;const r=this[e(484)](JSON[e(644)](t[e(455)][n][e(706)])),s=this[e(616)][e(501)][e(434)][e(617)],o=new Yi.ViewDocumentFragment(s,r[e(436)]((t=>this[e(637)](t))));this[e(616)][e(520)][e(493)][e(474)](e(583)),i[n]=this[e(616)][e(520)][e(493)][e(416)](o),this[e(616)][e(520)][e(493)][e(474)](e(560))}return i}async[vr(530)](t){const e=vr;await this[e(509)](t);const i={};for(const n in t[e(455)])t[e(455)][n][e(624)]&&!t[e(455)][n][e(624)][e(590)]||(i[n]=t[e(455)][n][e(534)]||{});return i}[vr(484)](t){const e=vr;return(t=t[e(653)]((t=>!t[e(699)]||e(401)!==t[e(699)]&&e(391)!==t[e(699)])))[e(631)]((t=>{const i=e;i(589)!=typeof t&&(t[i(424)]=this[i(484)](t[i(424)]),t[i(411)]=t[i(411)][i(653)]((t=>!t[0][i(586)](i(511)))))})),t}async[vr(650)](t,e,i=!1){const n=vr;if(!this[n(622)])return;const r=this[n(538)],s=this[n(574)],o=n(589)==typeof t?s[n(535)](t):t,a=n(589)==typeof e?s[n(535)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(538)]&&this[n(538)][n(407)]===c&&this[n(538)][n(396)]===u)return Promise[n(523)]();this[n(591)]=!1,this[n(425)]=null,this[n(670)]=null,this[n(538)]=new dr(c,u);const l=this[n(445)](o,a,!0)[n(436)]((t=>this[n(509)](t)));return l[n(486)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(562)](l)[n(397)]((()=>{const t=n;if(!this[t(622)])return;this[t(569)]();const e=this[t(658)](c,u);for(const i of e[t(545)])this[t(502)][t(454)](i.id,i);this[t(616)][t(373)][t(395)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(616)][n(373)][n(617)][n(422)]())i[n(607)](t);for(const t of Object[n(514)](e[n(373)])){const r=i[n(389)](t);for(const s of Object[n(514)](e[n(411)][t]))i[n(531)](s,e[n(411)][t][s],r);i[n(409)](e[n(373)][t],r,0)}})),this[t(538)][t(456)](this[t(450)](e[t(545)])),this[t(591)]=!0}))[n(392)]((t=>{const e=n;console[e(489)](t),this[e(569)](),r&&(this[e(538)]=r),this[e(591)]=!0}))}[vr(481)](t,e){const i=vr,n=this[i(574)][i(655)](t);return n.on(i(610),((t,i,r)=>e(i,r,n))),this[i(574)][i(547)](n),n}[vr(509)](t){const e=vr;if(!t||t[e(455)])return Promise[e(523)]();{const i=this[e(616)][e(627)][e(628)](e(519));return this[e(680)][e(535)]({channelId:i,revisionId:t.id})[e(397)]((i=>{const n=e;t[n(610)]({diffData:i[n(455)]},!0)}))}}[vr(569)](){const t=vr;this[t(670)]=null,this[t(657)](),this[t(521)]&&this[t(521)][t(516)](),this[t(521)]=null,this[t(502)][t(673)](),this[t(616)][t(373)][t(395)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(616)][i(373)][i(617)][i(422)]())e[i(607)](t)}))}[vr(450)](t){const e=vr,i=[],n=new Map;for(const t of this[e(616)][e(373)][e(617)][e(422)]()){const r=this[e(616)][e(501)][e(434)][e(512)](t);if(!r)continue;const s=r[e(585)]()[e(707)](0);s&&(i[e(486)](t),n[e(454)](t,s))}return i[e(701)](((t,i)=>{const r=e,s=n[r(628)](t),o=n[r(628)](i);return s.y-o.y||s.x-o.x})),(t=t[e(653)]((t=>i[e(645)](t[e(711)]))))[e(701)](((t,n)=>i[e(471)](t[e(711)])-i[e(471)](n[e(711)]))),t}[vr(598)](t){const e=vr,i=Array[e(374)](t[e(597)])[e(653)]((([t,i])=>t[e(586)](e(576))&&!i[e(700)])),n=Array[e(374)](this[e(616)][e(373)][e(605)](t)[e(685)]({singleCharacters:!0}));if(0!=i[e(608)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(518)](":");if(r[e(710)][e(418)](t[e(540)])&&i[e(495)](),(t[e(427)][e(418)](r[e(687)])||t[e(427)][e(681)](r[e(687)]))&&(e(442)==s?t[e(639)]={userId:o}:e(453)==s&&(t[e(384)]={userId:o})),0==i[e(608)])break}return n}[vr(440)](t){const e=vr,i=new Map;for(let n=0;n<t[e(608)];n++)e(387)===t[n][e(491)]?(t[n][e(707)][e(558)]=n,t[n][e(707)][e(651)]=n):(e(557)===t[n][e(491)]?t[n][e(707)][e(558)]=n:e(636)===t[n][e(491)]&&(t[n][e(707)][e(651)]=n),i[e(454)](t[n].id,n));for(const n of i[e(506)]())e(557)===t[n][e(491)]?t[n][e(707)][e(651)]=i[e(628)](t[n][e(633)]):e(636)===t[n][e(491)]&&(t[n][e(707)][e(558)]=i[e(628)](t[n][e(633)]))}[vr(551)](t){const e=vr;for(let i=0;i<t[e(608)];i++){if(e(557)===t[i][e(491)])t[i][e(707)][e(558)]=i;else if(e(636)===t[i][e(491)]){t[i][e(707)][e(651)]=i;const n=t[i][e(707)][e(558)];t[n][e(633)]=t[i].id,t[i][e(633)]=t[n].id}else t[i][e(707)][e(558)]=i,t[i][e(707)][e(651)]=i,t[i][e(633)]=null;t[i][e(439)]||(t[i][e(439)]=[],t[i][e(378)]=[])}}[vr(463)](t,e){const i=vr,n=t[i(653)]((t=>!t[i(639)]));for(let t=0;t<e[i(608)];t++)e[t][i(639)]&&(n[t][i(639)]=e[t][i(639)])}[vr(570)](t){const e=vr,i=JSON[e(644)](t),n=this[e(616)][e(501)][e(434)][e(617)],r=new Yi.ViewDocumentFragment(n,i[e(436)]((t=>this[e(637)](t))));return this[e(616)][e(520)][e(541)](r)}[vr(637)](t){const e=vr,i=this[e(616)][e(501)][e(434)][e(617)];if(e(589)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(424)][e(436)]((t=>this[e(637)](t)));return new(gr[t[e(491)]]||Yi.ViewElement)(i,t[e(699)],t[e(411)],n)}}[vr(658)](t,e=null){const i=vr,n=this[i(574)][i(535)](t),r=e?this[i(574)][i(535)](e):null,s=this[i(445)](n,r),o=s[s[i(608)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(608)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(514)](e[i(455)]))if(e[i(455)][t][i(624)]){const n=e[i(455)][t][i(624)];n[i(590)]?(u[i(609)](t),l[i(582)](t)&&l[i(628)](t)[i(415)]==n[i(415)]?l[i(572)](t):l[i(454)](t,n)):l[i(582)](t)?(u[i(572)](t),l[i(572)](t)):(u[i(609)](t),l[i(454)](t,n))}else u[i(609)](t)}for(const t of u){const e=l[i(582)](t)&&!l[i(628)](t)[i(590)];let n=e?s[i(608)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(455)][t]){const n=e?o[i(455)][t][i(573)]:o[i(455)][t][i(534)];c[i(411)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(373)]={};for(const e of t[i(443)])a[i(454)](e.id,e);for(const e of u){const n=t[i(455)][e]?t[i(455)][e][i(706)]:"[]",r=t[i(455)][e]?t[i(455)][e][i(709)]:"[]";t[i(373)][e]={insertions:this[i(570)](n),deletions:this[i(570)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(374)](n[i(373)][t][i(706)][i(597)])[i(653)]((([t])=>!t[i(586)](i(576)))));let h=0;for(const o of s){const s=this[i(598)](o[i(373)][t][i(706)]);o==n?(e=s,r=e[i(608)],e[i(631)]((t=>{t.id=h++})),this[i(551)](e)):this[i(463)](e,s);const a=e[i(653)]((t=>!t[i(639)]))[i(436)]((t=>t.id));let c=0;const l=this[i(598)](o[i(373)][t][i(709)]);l[i(631)]((t=>{t[i(384)]?t.id=r++:t.id=a[c++]})),this[i(551)](l),this[i(626)](e,i(639)),this[i(626)](l,i(384)),o==n&&this[i(561)](e,u),e=this[i(593)](e,l),this[i(440)](e),this[i(626)](e,i(384))}e=e[i(653)]((t=>!(t[i(639)]&&t[i(384)])));const d=new Map(o[i(373)][t][i(709)][i(597)]),f=new Set(u[i(514)]());for(const t of d[i(514)]())f[i(572)](t);this[i(643)](e,f),this[i(383)](e),e=this[i(467)](e),e=this[i(652)](e),e=this[i(563)](e);const{root:m,changes:p}=this[i(446)](e,a,t);c[i(373)][t]=m;const v=l[i(628)](t);if(v){const e=a[i(628)](v[i(415)]),n=new ur({author:e,type:v[i(590)]?i(609):i(390),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(702)](n),c[i(411)][t][i(480)]=n.id}c[i(545)]=c[i(545)][i(496)](p)}return c}[vr(561)](t,e){const i=vr;for(let n=0;n<t[i(608)];n++)for(const[r,s]of e)s[i(687)][i(418)](t[n][i(427)])&&t[n][i(439)][i(486)](r),s[i(710)][i(418)](t[n][i(540)])&&t[n][i(378)][i(486)](r)}[vr(593)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(608)]||s<e[i(608)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(486)](o);else if(a[i(384)]&&o[i(639)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(580)](t,r,e,s);n=n[i(496)](o),r=a,s=c}else a[i(384)]?(s++,n[i(486)](a)):(r++,n[i(486)](o))}return n}[vr(643)](t,e){const i=vr,n=[];for(let o=0;o<t[i(608)];o++){for(let s=0;s<t[o][i(439)][i(608)];s++){const a=t[o][i(439)][s];if(!e[i(582)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(515)!=c||i(442)!=u&&i(453)!=u||(n[i(702)]({type:u,name:a,userId:l}),t[o][i(439)][i(413)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(378)][i(608)];s++){const a=t[o][i(378)][s];if(!e[i(582)](a))continue;const{group:c,type:u}=r(a);if(i(515)!=c||i(442)!=u&&i(453)!=u)continue;t[o][i(378)][i(413)](s,1),s--;const l=n[i(380)]((t=>t[i(699)]==a));l>-1&&n[i(413)](l,1)}}function r(t){const e=i,n=t[e(518)](":");return{group:n[0],type:n[1],subType:n[e(608)]>=5?n[2]:null,id:n[e(608)]<5?n[2]:n[3],authorId:n[e(608)]<5?n[3]:n[4],markerCount:6==n[e(608)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(608)];i++){if(t[e(639)]&&e(442)==n[i][e(491)])return t[e(412)]=n[i],void delete t[e(639)];if(!t[e(639)]&&!t[e(384)]&&e(453)==n[i][e(491)])return void(t[e(382)]=n[i])}}}[vr(626)](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(454)](o.id,n);for(let n=0;n<t[i(608)];n++){if(i(384)==e&&t[n][i(639)]||i(639)==e&&t[n][i(384)])continue;if(i(387)==t[n][i(491)]){t[n][i(615)]=0;continue}const r=s[i(628)](t[n][i(633)]),o=s[i(628)](t[n].id);t[n][i(615)]=r-o}}[vr(445)](t,e,i=!1){const n=vr,r=[];let s=this[n(574)][n(400)](t),o=this[n(574)][n(400)](e);for(-1==o&&(o=this[n(574)][n(492)][n(608)],i=!1);s<o;)r[n(486)](this[n(574)][n(535)](s)),s++;return i&&r[n(486)](this[n(574)][n(535)](s)),r}[vr(580)](t,e,i,n){const r=vr,s=this[r(616)][r(373)][r(430)];let o=e;for(;t[o]&&t[o][r(639)];)o++;let a=n;for(;i[a]&&i[a][r(384)];)a++;u(t,e,o),u(i,n,a);const c=i[r(513)](n,a)[r(496)](t[r(513)](e,o));return c[r(701)](((t,e)=>t[r(394)]!=e[r(394)]?t[r(394)]-e[r(394)]:t[r(431)]!=e[r(431)]?t[r(431)]-e[r(431)]:t[r(615)]!=e[r(615)]?e[r(615)]-t[r(615)]:!!t[r(639)]!=!!e[r(639)]?-1==t[r(394)]||0==t[r(394)]?t[r(639)]?-1:1:t[r(639)]?1:-1:t[r(578)]-e[r(578)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(683)],c=!0;for(let r=e;r<i;r++)if(s[n(437)](t[r][n(707)])||(c=!1),t[r][n(707)][n(558)]<e&&(o=r),t[r][n(707)][n(651)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(394)]=r<=o?-1:r<a?0:1,t[r][n(578)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(615)]?t[i][n(431)]=u:(u++,t[i][n(431)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(394)]&&(t[r][n(431)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(615)]?t[e][n(431)]=u:(u--,t[e][n(431)]=u,u--)}}[vr(383)](t){const e=vr,i=new Map,n=this[e(616)][e(373)][e(430)];for(let r=1;r<t[e(608)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(387)==c[e(491)])continue;if(c[e(491)]!=u[e(491)])continue;if(!n[e(414)](u[e(707)])||n[e(470)](u[e(707)]))continue;if(!n[e(414)](c[e(707)])||n[e(470)](c[e(707)]))continue;if((t[r][e(639)]||t[r][e(412)])&&t[r-1][e(384)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(384)]||!t[r-1][e(639)]&&!t[r-1][e(412)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(431)]==o[e(431)],h=Math[e(689)](s[e(431)])<Math[e(689)](o[e(431)])&&0==o[e(615)];(l||h)&&(i[e(454)](o.id,s.id),t[e(413)](a,1),r--,s[e(639)]=!1)}for(let n=0;n<t[e(608)];n++)i[e(582)](t[n][e(633)])&&(t[n][e(633)]=i[e(628)](t[n][e(633)]))}[vr(467)](t){const e=vr,i=new Set(t[e(436)]((t=>t.id)));for(let n=0;n<t[e(608)];n++)i[e(582)](t[n][e(633)])||0==t[n][e(615)]||(t[n][e(473)]=!0);return t[e(653)]((t=>!t[e(473)]))}[vr(652)](t){const e=vr,i=new Set;for(let n=0;n<t[e(608)];n++){if(i[e(582)](t[n].id)&&t[n][e(384)]&&(t[n][e(473)]=!0),t[n][e(473)])continue;if(0==t[n][e(615)])continue;if(e(557)!=t[n][e(491)])continue;if(null==t[n][e(633)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(633)];)e(557)==t[r][e(491)]?s++:e(636)==t[r][e(491)]&&s--,r++;if(0!=s)if(t[n][e(384)])t[n][e(473)]=!0;else for(;r!=n;)t[r][e(384)]&&0!=t[r][e(615)]&&(t[r][e(473)]=!0,i[e(609)](t[r][e(633)])),r--}return t[e(653)]((t=>!t[e(473)]))}[vr(563)](t){const e=vr,i=this[e(616)][e(373)][e(430)];for(let n=0;n<t[e(608)];n++){if(!(t[n][e(639)]||t[n][e(412)]||t[n][e(384)]||t[n][e(382)]))continue;if(0==t[n][e(615)])continue;const r=t[n][e(707)];i[e(414)](r)||i[e(470)](r)||(t[n][e(639)]&&delete t[n][e(639)],t[n][e(412)]&&delete t[n][e(412)],t[n][e(382)]&&delete t[n][e(382)],t[n][e(384)]&&(t[n][e(473)]=!0))}return t[e(653)]((t=>!t[e(473)]))}[vr(446)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(616)][n(373)],c=a[n(430)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(608)];e++)if(n(557)===t[e][n(491)]){t[e][n(427)]=a[n(571)](r,f);const i=new Yi.Element(t[e][n(707)][n(699)],t[e][n(707)][n(449)]());u[0][n(451)](i),f[n(486)](0),u[n(702)](i),t[e][n(540)]=a[n(571)](r,f)}else n(636)===t[e][n(491)]?(u[n(495)](),t[e][n(427)]=a[n(571)](r,f),f[n(625)](),f[f[n(608)]-1]++,t[e][n(540)]=a[n(571)](r,f)):(t[e][n(427)]=a[n(571)](r,f),d?d[n(648)]+=t[e][n(707)][n(520)]:d=new Yi.Text(t[e][n(707)][n(520)],t[e][n(707)][n(449)]()),t[e+1]&&n(387)===t[e+1][n(491)]&&v(d,t[e+1][n(707)])||(u[0][n(451)](d),d=null),f[f[n(608)]-1]+=t[e][n(707)][n(475)],t[e][n(540)]=a[n(571)](r,f));for(let e=0;e<t[n(608)];e++){const i=t[e][n(427)],r=t[e][n(540)];for(const r of t[e][n(439)])o[n(454)](r,{start:i,end:null});m(n(382),e,i,r),m(n(412),e,i,r),m(n(384),e,i,r),m(n(639),e,i,r);for(const i of t[e][n(378)])o[n(628)](i)[n(710)]=r}for(const[t,e]of o){const i=this[n(616)][n(373)][n(461)](e[n(687)],e[n(710)]);r[n(597)][n(454)](t,i)}return s[n(701)](((t,e)=>{const i=n,s=r[i(597)][i(628)](i(576)+t.id),o=r[i(597)][i(628)](i(576)+e.id);return s[i(687)][i(505)](o[i(687)])?-1:s[i(687)][i(681)](o[i(687)])?1:s[i(710)][i(505)](o[i(710)])?-1:s[i(710)][i(681)](o[i(710)])?1:i(609)===t[i(491)]?-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(415)]:null,d=i===t[o(608)]-1,f=h[e][0],m=c[o(549)](t[i][o(707)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(710)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(415)]!==u&&(l[e][o(710)]=r,f&&f[o(415)]===l[e][o(415)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(557)!==t[i][o(491)]||f&&f[o(415)]===u||h[e][o(702)]({userId:u,object:t[i][o(707)],change:l[e]}),o(636)===t[i][o(491)]&&f&&f[o(375)]===t[i][o(707)]&&(h[e][o(495)](),l[e]=f[o(691)])),l[e]&&d&&(l[e][o(710)]=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(707)],f=a[h(430)][h(414)](d)&&!a[h(430)][h(470)](d),m=t[h(503)]==o[h(606)]&&o[h(566)];if(f&&m)return;const p=a[h(461)](t,o),v=e[h(628)](u),y=new ur({author:v,type:h(639)==l||h(412)==l?h(609):h(390),data:{isSuggestion:h(412)==l||h(382)==l},createdAt:new Date,rootName:i});s[h(486)](y),r[h(597)][h(454)](h(576)+y.id,p)}function v(t,e){const i=n,r=t[i(449)](),s=e[i(449)]();for(const t of r){if(t[1]!==e[i(666)](t[0]))return!1;s[i(614)]()}return s[i(614)]()[i(568)]}}[vr(385)](){const t=vr;this[t(616)][t(433)][t(544)](t(632))[t(504)]({view:t(688)}),this[t(616)][t(433)][t(544)](t(542))[t(581)]({model:t(688),view:e=>{const i=t,n=e[i(660)][i(518)](":")[1],r=this[i(595)](n);if(!r)return null;const s=i(609)==r[i(491)]?i(442):i(453),o=[i(452),i(665)+s];return r[i(520)][i(553)]&&o[i(486)](i(665)+s+i(405)),this[i(670)]==r&&o[i(486)](i(408)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(616)][t(433)][t(544)](t(632))[t(609)]((e=>{const i=t;e.on(i(406),((t,e,n)=>{const r=i,s=e[r(420)][r(479)](0);if(!s||!s.is(r(525),r(640)))return;if(!n[r(613)][r(532)](s,{attributes:[r(527),r(629)]}))return;const o=e[r(507)][r(687)][r(503)];n[r(602)][r(531)](r(527),s[r(666)](r(527)),o),n[r(602)][r(531)](r(629),s[r(666)](r(629)),o)}),{priority:i(601)})})),this[t(616)][t(433)][t(544)](t(632))[t(609)]((e=>{const i=t;e.on(i(525),((t,e,n)=>{const r=i;if(!n[r(613)][r(532)](e[r(420)],{attributes:[r(527),r(629)]}))return;if(e[r(507)][r(700)])return;const s=e[r(507)][r(687)][r(503)];s[r(694)](r(527))||s[r(694)](r(671))||(n[r(602)][r(531)](r(527),e[r(420)][r(666)](r(527)),s),n[r(602)][r(531)](r(629),e[r(420)][r(666)](r(629)),s))}),{priority:i(601)})})),this[t(616)][t(433)][t(544)](t(632))[t(611)]({view:{name:t(668),attributes:{vid:!0}},model:{key:t(671),value:e=>e[t(666)](t(671))}}),this[t(616)][t(373)][t(430)].on(t(620),((e,[,i])=>{const n=t;[n(527),n(629),n(671)][n(645)](i)&&(e[n(494)]=!0,e[n(603)]())}),{priority:t(662)}),this[t(616)][t(433)][t(544)](t(522))[t(609)]((e=>{const i=t;e.on(i(539),((t,e,n)=>{const r=i;if(" "!=e[r(707)][r(520)]||e[r(707)][r(606)][r(490)]>1)return;if(!n[r(613)][r(532)](e[r(707)],t[r(699)]))return;const s=n[r(602)],o=n[r(682)][r(432)](e[r(483)]);s[r(664)](o,s[r(579)](r(668)))}))})),this[t(616)][t(433)][t(544)](t(522))[t(669)]({model:t(688)}),this[t(616)][t(501)][t(500)].on(t(588),function(e){const i=t,n=e[i(460)][i(628)](i(577));return(t,r,s)=>{const o=i,a=r[o(660)][o(518)](":")[1],c=n[o(595)](a);if(!c)return null;const u=o(609)==c[o(491)]?o(518):o(679);if(!s[o(613)][o(476)](r[o(421)],t[o(699)]))return;const l=r[o(421)][o(685)](),h=r[o(421)][o(687)],d=e[o(373)][o(430)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(707)];p=p||d[o(594)](e);const i=s[o(682)][o(404)](e);if(i&&i[o(488)](o(703)))return;o(636)==t[o(491)]&&d[o(414)](e)&&!d[o(470)](e)&&(e[o(438)]||h[o(676)]?f&&f[o(606)]==e||(f=e,y(t[o(427)]),v=!0):m=m||t[o(427)])}function y(t){const e=o,i=s[e(602)][e(619)](e(668),{class:e(665)+u}),a=s[e(682)][e(376)](t);c[e(520)][e(553)]&&s[e(602)][e(587)](e(665)+u+e(405),i),n[e(670)]==c&&s[e(602)][e(587)](e(408),i),s[e(602)][e(409)](a,i),s[e(682)][e(533)](i,r[e(660)])}p||v||!m||y(m)}}(this[t(616)]),{priority:t(447)}),this[t(616)][t(501)][t(500)].on(t(596),((e,i,n)=>{const r=t,s=n[r(682)][r(423)](i[r(660)]);if(s)for(const t of s)(t[r(642)](r(466))||t[r(642)](r(457)))&&(n[r(682)][r(529)](t,i[r(660)]),n[r(602)][r(390)](t))}),{priority:t(447)}),this[t(616)][t(501)][t(500)].on(t(588),((e,i,n)=>{const r=t,s=i[r(660)][r(518)](":")[1],o=this[r(595)](s);if(!o)return null;const a=r(609)==o[r(491)]?r(518):r(679);if(n[r(613)][r(476)](i[r(421)],e[r(699)]))for(const t of i[r(421)][r(677)]()){if(!t.is(r(525),r(692)))continue;const e=n[r(602)][r(619)](r(668),{class:r(665)+a}),s=n[r(682)][r(376)](this[r(616)][r(373)][r(635)](t));o[r(520)][r(553)]&&n[r(602)][r(587)](r(665)+a+r(405),e),this[r(670)]==o&&n[r(602)][r(587)](r(408),e),n[r(602)][r(409)](s,e),n[r(682)][r(533)](e,i[r(660)])}}),{priority:t(447)}),this[t(616)][t(373)][t(617)].on(t(691),(()=>{const e=t;this[e(616)][e(501)][e(434)][e(691)]((t=>{const i=e;for(const e of this[i(616)][i(373)][i(617)][i(422)]()){const n=this[i(616)][i(373)][i(617)][i(403)](e),r=this[i(616)][i(501)][i(434)][i(617)][i(403)](e);if(r){const e=n[i(666)](i(480));if(t[i(410)](i(546),r),t[i(675)](i(487),r),t[i(675)](i(555),r),t[i(675)](i(448),r),e){const n=this[i(595)](e);if(!n)return null;t[i(531)](i(546),e,r),t[i(587)](i(435)+n[i(491)],r),this[i(670)]==n&&t[i(587)](i(448),r)}}}}))})),this[t(616)][t(433)][t(544)](t(632))[t(504)]({view:t(477),model:e=>t(428)+e,converterPriority:t(662)}),this[t(616)][t(433)][t(544)](t(632))[t(504)]({view:t(508),model:e=>t(554)+e,converterPriority:t(662)}),this[t(616)][t(433)][t(544)](t(522))[t(669)]({model:t(515),view:e=>({name:t(623)+e,group:t(515)}),converterPriority:t(662)}),this[t(616)][t(433)][t(544)](t(542))[t(581)]({model:t(515),view:e=>{const i=t,n=e[i(660)][i(518)](":")[1];return i(442)!=n&&i(453)!=n?null:{classes:[i(708),i(612)+n]}}}),this[t(616)][t(501)][t(500)].on(t(686),br(this[t(616)],t(679)),{priority:t(447)}),this[t(616)][t(501)][t(500)].on(t(550),br(this[t(616)],t(518)),{priority:t(447)}),this[t(616)][t(501)][t(500)].on(t(656),((e,i,n)=>{const r=t,s=n[r(682)][r(423)](i[r(660)]);if(s)for(const t of s)t.is(r(599))&&(n[r(682)][r(529)](t,i[r(660)]),n[r(602)][r(390)](t))}),{priority:t(447)})}[vr(595)](t){const e=vr;return this[e(502)][e(628)](t)}[vr(638)](t){const e=vr;return this[e(521)]&&this[e(521)][e(516)](),this[e(521)]=new sr(this[e(616)][e(526)],t),this[e(521)]}[vr(524)](){const t=vr;this[t(616)][t(373)][t(617)][t(402)][t(592)](t(688)),this.on(t(641),((e,i,n,r)=>{const s=t;r&&this[s(674)][s(390)](r),n&&(this[s(674)][s(609)]({view:n,stackId:s(485),position:{target:()=>{const t=s,e=this[t(616)][t(501)],i=this[t(595)](n[t(536)]);let r;if(i[t(520)][t(646)]){const n=e[t(434)][t(512)](i[t(711)]);r=Array[t(374)](n[t(585)]())}else{const i=this[t(616)][t(373)][t(597)][t(628)](t(576)+n[t(536)]);r=Array[t(374)](e[t(682)][t(423)](i[t(699)]))[t(436)]((i=>e[t(434)][t(497)][t(417)](i)))[t(436)]((e=>Array[t(374)](e[t(585)]())))[t(647)]()}return this[t(393)]&&r[t(690)]((e=>e[t(458)]-3<=this[t(393)].y&&e[t(667)]+3>=this[t(393)].y&&e[t(482)]-3<=this[t(393)].x&&e[t(659)]+3>=this[t(393)].x))||r[0]}}}),this[s(674)][s(697)](s(485)))})),this.on(t(517),((e,i,n,r)=>{const s=t;this[s(425)]=n?this[s(638)](n):null,this[s(616)][s(373)][s(691)]((()=>{const t=s,e=this[t(616)][t(501)];r&&(r[t(520)][t(646)]?e[t(434)][t(691)]((i=>{const n=t;i[n(675)](n(448),e[n(434)][n(617)][n(403)](r[n(711)]))})):e[t(379)](t(576)+r.id)),n&&(n[t(520)][t(646)]?e[t(434)][t(691)]((i=>{const r=t;i[r(587)](r(448),e[r(434)][r(617)][r(403)](n[r(711)]))})):e[t(379)](t(576)+n.id))}))})),this[t(399)](this[t(616)][t(501)][t(434)][t(617)],t(429),((e,i)=>{const n=t;if(this[n(670)])return;const r=this[n(459)](i[n(543)]),s=this[n(502)][n(628)](r);s?(this[n(393)]={x:i[n(465)].x,y:i[n(465)].y},this[n(425)]=this[n(638)](s)):(this[n(393)]=null,this[n(425)]=null)})),this[t(399)](this[t(616)][t(501)][t(434)][t(617)],t(386),((e,i)=>{const n=t,r=this[n(459)](i[n(543)]),s=this[n(502)][n(628)](r);s?(this[n(393)]={x:i[n(465)].x,y:i[n(465)].y},s===this[n(670)]?this[n(674)][n(698)]():this[n(670)]=s):(this[n(393)]=null,this[n(670)]=null)}))}[vr(459)](t){const e=vr;do{const i=t[e(666)](e(546));if(i)return i;t=t[e(606)]}while(t);return null}[vr(657)](){const t=vr;this[t(616)][t(373)][t(691)]((e=>{const i=t;for(const t of this[i(616)][i(373)][i(597)])e[i(377)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(613)][s(476)](n[s(421)],i[s(699)]))return;const o=n[s(421)][s(685)](),a=n[s(421)][s(687)],c=t[s(373)][s(430)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(707)];h=h||c[s(594)](e);const i=r[s(682)][s(404)](e);if(i&&i[s(488)](s(703)))return;s(636)==t[s(491)]&&c[s(414)](e)&&!c[s(470)](e)&&(e[s(438)]||a[s(676)]?u&&u[s(606)]==e||(u=e,f(t[s(427)]),d=!0):l=l||t[s(427)])}function f(t){const i=s,o=r[i(682)][i(376)](t),a=r[i(602)][i(619)](i(668),{class:i(612)+e});r[i(602)][i(409)](o,a),r[i(682)][i(533)](a,n[i(660)])}h||d||!l||f(l)}}function wr(){const t=["getRevisionData","_markInsertions","change:numberOfChanges","domEvent","ck-suggestion-marker-split","_removeMissingPairs","restoreRevisionCallback","revisionHistory","isLimit","indexOf","requires","isIncorrect","useFillerType","offsetSize","test","comment","WidgetToolbarRepository","getChild","revisionHistoryAttachChange","addRevisionData","left","range","_removeRevisionMarkers","revisionHistoryLabel","push","ck-revision-history-root-add","getCustomProperty","error","maxOffset","type","_revisions","processor","return","shift","concat","domConverter","182907mIVZpi","commands","downcastDispatcher","editing","_changeIdToChange","nodeAfter","dataToMarker","isBefore","values","modelRange","suggestion","loadRevisionData","backward","data-revision-","getDomRoot","slice","keys","revision-suggestion","destroy","change:activeChange","split","collaboration.channelId","data","_changeView","dataDowncast","resolve","_initInteractions","element","locale","vid_start","pluginName","unbindElementFromMarkerName","getRevisionRootsAttributes","setAttribute","consume","bindElementToMarker","attributesAfter","getRevision","changeId","revision-viewer","diff","attribute:vid","nextPosition","toModel","editingDowncast","target","for","changes","data-change-id","addRevision","59619636IGlhlU","isObject","addMarker:revision-suggestion:insertion","_processTape","change:isReady","isSuggestion","revision-suggestion:","ck-revision-history-root-remove","roots","elementStart","startIndex","490qdXfrW","default","_markMarkers","all","_removeUnsupportedChanges","restoreRevision","11pcmENe","isAtStart","RevisionsRepository","done","_cleanUp","_makeModelFromViewString","createPositionFromPath","delete","attributesBefore","repository","showNextChange","revision:","RevisionViewer","index","createAttributeElement","_threeWayMerge","markerToHighlight","has","marked","ck-editor__editable__overlay","getClientRects","startsWith","addClass","addMarker:revision","string","isAttached","isReady","observeMarkers","_joinTapes","isContent","_getChangeFromId","removeMarker:revision","markers","_makeTape","uiElement","12498neUOZh","low","writer","stop","enableReadOnlyMode","createRangeIn","parent","detachRoot","length","add","_update","elementToAttribute","ck-suggestion-preview-marker-","consumable","next","distance","editor","document","_step","createUIElement","checkAttribute","change:isEnabled","isEnabled","suggestion:","attachChange","pop","_setDistance","config","get","vid_end","first","forEach","upcast","pairId","1121810ITaEQR","createPositionBefore","elementEnd","_getViewObj","_getViewForChange","isAdded","code","change:activeView","hasClass","_markSuggestions","parse","includes","isOnRoot","flat","_data","isOfficialPlugin","compare","endIndex","_markMismatchedRemovedTags","filter","numberOfChanges","createRevision","removeMarker:revision-suggestion","_cleanMarkers","_getDiff","right","markerName","forceDisabled","highest","refresh","wrap","ck-suggestion-marker-","getAttribute","bottom","span","markerToData","activeChange","vid","bind","clear","_balloon","removeClass","isAtEnd","getItems","isPremiumPlugin","merge","adapter","isAfter","mapper","POSITIVE_INFINITY","currentChangeNumber","getWalker","addMarker:revision-suggestion:deletion","start","revision","abs","find","change","softBreak","affectsData","hasAttribute","725kDSQOA","isNavigationMode","showStack","updatePosition","name","isCollapsed","sort","unshift","addHighlight","4234699ZycxrL","2658772wfgOnu","insertions","item","ck-suggestion-preview-marker","deletions","end","rootName","16wvUoqO","model","from","object","toViewPosition","removeMarker","markersEnd","reconvertMarker","findIndex","execute","isRemoveSuggestion","_fixObsoleteTags","isRemoved","_setConversion","mousedown","text","showPreviousChange","addRoot","remove","revision-end","catch","_activeViewTarget","side","enqueueChange","oldRevisionId","then","forward","listenTo","getIndex","revision-start","selection","getRoot","toViewElement","-new","element:pre","newRevisionId","ck-suggestion-marker--active","insert","removeAttribute","attributes","isAddSuggestion","splice","isBlock","userId","toData","mapViewToDom","isEqual","init","viewItem","markerRange","getRootNames","markerNameToElements","children","activeView","287322iZVdzi","previousPosition","revision-comment:","mouseover","schema","level","toViewRange","conversion","view","ck-revision-history-root-","map","isInline","nextSibling","markersStart","_refreshStartEndIndex","getLaterVisibleRevision","insertion","authors","3oxzUFT","_getRevisionsRange","_makeModelFromTape","high","ck-revision-history-root--active","getAttributes","_sortAndFilterDiffChanges","_appendChild","ck-suggestion-marker","deletion","set","diffData","_setChanges","ck-suggestion-marker-merge","top","_findChangeIdFromDomTarget","plugins","createRange"];return(wr=function(){return t})()}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(460)][e(628)](kr);this[e(693)]=!1,this[e(399)](i,e(552),(()=>this[e(663)]())),this[e(399)](i,e(621),(()=>this[e(663)]()))}[vr(381)](){const t=vr,e=this[t(616)],i=e[t(460)][t(628)](kr),n=i[t(591)]?i[t(538)][t(407)]:null;e[t(627)][t(628)](t(469))[t(468)](n)}[vr(663)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(616)][t(460)][t(628)](kr),s=r&&n[t(441)](r[t(407)]);this[t(622)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(460)][i(628)](kr);this[i(693)]=!1,this[i(618)]=i(398)===e?1:-1,this[i(399)](n,i(552),(()=>this[i(663)]())),this[i(399)](n,i(621),(()=>this[i(663)]())),this[i(399)](n,i(517),(()=>this[i(663)]()))}[vr(381)](){const e=vr,i=this[e(616)],n=i[e(460)][e(628)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(670)]=r?n[e(538)][e(545)][e(628)](s+this[e(618)]):n[e(538)][e(545)][e(630)],n[e(670)][e(520)][e(646)])o=i[e(501)][e(434)][e(512)](n[e(670)][e(711)]);else{const t=i[e(373)][e(597)][e(628)](e(576)+n[e(670)].id);o=(0,Bi.getMarkerDomElement)(i[e(501)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(663)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(616)][t(460)][t(628)](kr);this[t(622)]=!!(s&&r&&n)&&(!e||(1===this[t(618)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=zn().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=["Show previous change","52941MnOutr","1265612zYPuCl","fire","isEnabled","isForwardNavigationEnabled","currentChangeNumber","isBackwardNavigationEnabled","ck-hidden","9ISyKvd","ck-revision-history-ui","set","98qtkdrt","No changes","Show next change","bindTemplate","ck-revision-history-ui__changes-navigation__label","56JNiBMN","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","bind","6778860xqCWVf","5119930AhVNoD","numberOfChanges","backward","setTemplate","isReady","877704itDzWC","Total","forward","Loading...","div","1108229sXjYcl","ck-revision-history-ui__changes-navigation__wrapper","_statusText","31549930xcCrmu","execute","_isStatusLabelVisible","NUMBER_OF_CHANGES","isNavigationMode","span","EDIT_X_OF_Y_REVISIONS"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(790706===-parseInt(e(324))/1+parseInt(e(293))/2+parseInt(e(292))/3*(-parseInt(e(308))/4)+parseInt(e(314))/5+-parseInt(e(313))/6+parseInt(e(303))/7*(-parseInt(e(319))/8)+-parseInt(e(300))/9*(-parseInt(e(284))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xr);class Nr extends En.View{constructor(t){const e=Tr;super(t);const i=this[e(306)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(302)](e(288),!1),this[e(302)](e(318),!1),this[e(302)](e(297),0),this[e(302)](e(315),0),this[e(302)](e(296),!1),this[e(302)](e(298),!1),this[e(312)](e(286)).to(this,e(318),this,e(315),((t,e)=>t&&e>0)),this[e(312)](e(283)).to(this,e(318),this,e(297),this,e(315),this,e(288),((i,n,r,s)=>{const o=e;if(!i)return Qi(t,o(322));if(!r)return Qi(t,o(304));const a=Qi(t,o(287),r);return s?Qi(t,o(309),[n+1,r]):a})),n[e(302)]({label:Qi(t,e(291)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(302)]({label:Qi(t,e(305)),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(312)](e(295)).to(this,e(298)),r[e(312)](e(295)).to(this,e(296)),n.on(e(285),(()=>this[e(294)](e(285),e(316)))),r.on(e(285),(()=>this[e(294)](e(285),e(321)))),this[e(317)]({tag:e(323),attributes:{class:["ck",e(301),e(311)]},children:[{tag:e(289),attributes:{class:[e(282)]},children:[{tag:e(289),attributes:{class:[e(307),i.if(e(286),e(299),(t=>!t))]},children:[{text:i.to(e(288),(i=>i?Qi(t,e(290))+": ":Qi(t,e(320))+": "))}]},{text:i.to(e(283))}]},new En.ToolbarSeparatorView,{tag:e(323),attributes:{class:[e(310)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=zn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Zn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;function Mr(t,e){const i=Dr();return(Mr=function(t,e){return i[t-=482]})(t,e)}const Vr=Mr;!function(t){const e=Mr,i=t();for(;;)try{if(334026===parseInt(e(503))/1*(parseInt(e(486))/2)+-parseInt(e(487))/3+parseInt(e(501))/4*(-parseInt(e(496))/5)+-parseInt(e(494))/6+parseInt(e(483))/7+-parseInt(e(485))/8*(-parseInt(e(505))/9)+parseInt(e(489))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dr);const Er=Vr(490);function Dr(){const t=["904632NpPXjc","651351kXvCNY","RevisionViewerLoadingOverlay","75330DNxMWS","ck-editor__editable__loading-overlay","removeClass","hide","editor","3281622lENyJN","addClass","245wttXxT","editing","roots","isPremiumPlugin","document","29284szmGwG","pluginName","1uhCiSR","change","4265046MIwxzt","view","isOfficialPlugin","3661462vtJNIZ","show","8foOZSC"];return(Dr=function(){return t})()}class Cr extends qi.Plugin{static get[Vr(502)](){return Vr(488)}static get[Vr(482)](){return!0}static get[Vr(499)](){return!0}[Vr(484)](){const t=Vr,e=this[t(493)][t(497)][t(506)];e[t(504)]((i=>{const n=t;for(const t of e[n(500)][n(498)])i[n(495)](Er,t)}))}[Vr(492)](){const t=Vr,e=this[t(493)][t(497)][t(506)];e[t(504)]((i=>{const n=t;for(const t of e[n(500)][n(498)])i[n(491)](Er,t)}))}}const jr=Fr;function Fr(t,e){const i=Lr();return(Fr=function(t,e){return i[t-=194]})(t,e)}function Lr(){const t=["undo","4376vHurVV","pluginName","23829750gBNzjR","init","add","changesNavigation","restoreRevision","isOfficialPlugin","forward","isReady","show","605748DftNaR","revisionHistory","6351327bkhXOL","showNextChange","6ULbUZX","isBackwardNavigationEnabled","config","Restore this revision","plugins","5123370DpaGIb","componentFactory","Back to editing","showPreviousChange","currentChangeNumber","requires","execute","RevisionViewerUI","editor","hide","set","get","isPremiumPlugin","148KMhunc","isNavigationMode","240249fjoerS","exitToEditing","99160dBIMOc","isForwardNavigationEnabled","ck-revision-history-ui__back-to-editing","7511SZHknX","commands","closeRevisionViewerCallback","listenTo","numberOfChanges","bind","change:isReady","isEnabled"];return(Lr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(451399===parseInt(e(197))/1*(-parseInt(e(226))/2)+parseInt(e(222))/3+parseInt(e(195))/4*(parseInt(e(199))/5)+-parseInt(e(231))/6+-parseInt(e(202))/7*(parseInt(e(211))/8)+-parseInt(e(224))/9+parseInt(e(213))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class zr extends qi.Plugin{static get[jr(212)](){return jr(238)}static get[jr(218)](){return!0}static get[jr(194)](){return!0}static get[jr(236)](){return[kr,Cr]}[jr(214)](){const t=jr,e=this[t(239)],i=e[t(230)][t(242)](kr),n=e[t(230)][t(242)](Cr);e.ui[t(232)][t(215)](t(198),(i=>{const n=t,r=new En.ButtonView(i);return r[n(241)]({label:Qi(i,n(233)),icon:qi.icons[n(210)],withText:!0,tooltip:!0,class:n(201)}),this[n(205)](r,n(237),(()=>{const t=n;e[t(228)][t(242)](t(223))[t(204)]()})),r})),e.ui[t(232)][t(215)](t(217),(i=>{const n=t,r=new En.ButtonView(i);return r[n(241)]({label:Qi(i,n(229)),withText:!0,tooltip:!0}),r[n(207)](n(209)).to(e[n(203)][n(242)](n(217))),this[n(205)](r,n(237),(()=>e[n(237)](n(217)))),r})),e.ui[t(232)][t(215)](t(216),(n=>{const r=t,s=new Nr(n),o=e[r(203)][r(242)](r(234)),a=e[r(203)][r(242)](r(225));return s[r(207)](r(227)).to(o,r(209)),s[r(207)](r(200)).to(a,r(209)),s[r(207)](r(220),r(235),r(206),r(196)).to(i),this[r(205)](s,r(237),((t,i)=>{const n=r;e[n(237)](n(219)===i?n(225):n(234))})),s})),n[t(221)](),i.on(t(208),((e,i,r)=>{const s=t;r?n[s(240)]():n[s(221)]()}))}}var Pr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=zn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Zn();Cn()(Pr.A,Wr);Pr.A&&Pr.A.locals&&Pr.A.locals;const Ur=Zr;function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=403]})(t,e)}function Hr(){const t=["1547564IZKRHw","set","_tooltipString","_resizeObserver","5390016XkuNat","placeholder","2130867wRgyAI","clientWidth","36CFjdCY","scrollWidth","listenTo","element","input","_updateTooltipText","Enter the revision name","3423036VBzZJk","destroy","extendTemplate","Revision name","327032TELlIx","10Sbydkp","bindTemplate","ck-revision-history-sidebar__revision-name","fieldView","span","ck-tooltip_multi-line","133yMUExm","1376080mVsozi","render","value","1430249oGdyga"];return(Hr=function(){return t})()}!function(t){const e=Zr,i=t();for(;;)try{if(826873===parseInt(e(408))/1+parseInt(e(409))/2+-parseInt(e(424))/3+-parseInt(e(413))/4+parseInt(e(405))/5*(parseInt(e(417))/6)+-parseInt(e(404))/7*(parseInt(e(428))/8)+parseInt(e(415))/9*(parseInt(e(429))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(412)]=null;const n=this[i(430)];this[i(410)]({label:Qi(t,i(427)),_tooltipString:""}),this[i(432)][i(414)]=Qi(t,i(423)),this[i(426)]({tag:i(433),attributes:{class:[i(431)],"data-cke-tooltip-text":n.to(i(411)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(403)}})}[Ur(406)](){const e=Ur;super[e(406)](),this[e(412)]=new t.ResizeObserver(this[e(432)][e(420)],(()=>this[e(422)]())),this[e(419)](this[e(432)],e(421),(()=>this[e(422)]()))}[Ur(425)](){const t=Ur;super[t(425)](),this[t(412)]&&this[t(412)][t(425)]()}[Ur(422)](){const t=Ur,e=this[t(432)][t(420)];this[t(411)]=e[t(418)]>e[t(416)]&&e[t(407)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=zn().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-=492]})(t,e)}function Jr(){const t=["Revision author","span","681805fESdkO","7RlFhaF","140LKutjK","356531EmpXdl","17606600fGuVnI","7903683JtzifH","name","set","ck-revision-history-sidebar__revision-author_creator","setTemplate","0 0 11 10","push","1789752uKiATx","11244090NraCka","ck-revision-history-sidebar__revision-author__name","Revision creator","58587UxmdOB","6UtaXGs","ck-revision-history-sidebar__revision-author"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(965544===-parseInt(e(494))/1*(parseInt(e(508))/2)+parseInt(e(507))/3*(parseInt(e(493))/4)+parseInt(e(512))/5+parseInt(e(504))/6+parseInt(e(492))/7*(parseInt(e(503))/8)+parseInt(e(496))/9+-parseInt(e(495))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(498)]({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(501)});const s=["ck",n(509)];i&&s[n(502)](n(499));const o=[{tag:n(511),attributes:{class:["ck",n(505)],title:Qi(t,n(i?506:510))},children:[r,e[n(497)]]}];this[n(500)]({tag:"li",attributes:{class:s},children:o})}}function Xr(){var t=["10984FBxMmV","numeric","188706EkbAeb","106970WRmngU","550896zoXVil","2iqvprd","28reQOMz","toLocaleDateString","1099UFklTL","527123LBNSPn","663xxDyfW","1181169DjcGZK","90tTWoJr","30IgAaYJ","long","toLocaleTimeString","164316JtkPhp"];return(Xr=function(){return t})()}function Kr(t,e){var i=Xr();return(Kr=function(t,e){return i[t-=288]})(t,e)}!function(t){for(var e=Kr,i=t();;)try{if(873e3===-parseInt(e(296))/1*(-parseInt(e(292))/2)+-parseInt(e(291))/3*(-parseInt(e(293))/4)+parseInt(e(300))/5*(parseInt(e(289))/6)+parseInt(e(295))/7*(-parseInt(e(304))/8)+-parseInt(e(299))/9*(parseInt(e(290))/10)+-parseInt(e(298))/11+-parseInt(e(303))/12*(parseInt(e(297))/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=zn().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-=242]})(t,e)}function is(){const t=["menuitem","isOpen","buttonView","items","Compare against selected","6FuYlTe","1322748IemQjn","stopPropagation","first","action","220422BcTAlw","ck-revision-history-sidebar__revision__actions","839238zyZjXy","_action","isEnabled","7XBsRTa","Name this revision","extendTemplate","bind","model","ck-on","12962qWJsCY","bindTemplate","395zWjhVF","6591240nRlOTw","Show more items","isVisible","menu","panelPosition","Restore this revision","function","map","change:isActionsDropdownOpen","set","add","listView","threeVerticalDots","execute","1253904srucWU","locale","listenTo","name","10212YnmPGT","button","source","isActionsDropdownOpen","children","find","class","isReady"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(119870===-parseInt(e(247))/1+-parseInt(e(258))/2*(-parseInt(e(242))/3)+-parseInt(e(279))/4*(parseInt(e(260))/5)+-parseInt(e(249))/6+parseInt(e(252))/7*(parseInt(e(275))/8)+-parseInt(e(243))/9+parseInt(e(261))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=zn().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-=234]})(t,e)}function as(){const t=[".ck-thread__remove-confirm","510357AbriAg","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision-authors","createdAt","isHighlighted","listenTo","change","isSelected","220","fire","ck-revision-history-sidebar__actions_dropdown_open","unshift","render","length","5ZYAWlg","span","isReady","setName","value","_revision","isConfirm","setTemplate","name","322335pomZqo","srcElement","map","uiLanguage","bind","_requireRevisionName","div","element","revisionActionsView","bindTemplate","creator","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision_highlighted","set","from","unhighlight","closest","ck-reset","166180TzSXxo","revisionNameView","ck-revision-history-sidebar__revision_selected","7HoLKzb","1282168EpNsfp","fieldView","isEnabled","ck-revision-history-sidebar__revision","188053BhoJcQ","extendTemplate","select","ck-disabled","ck-revision-history-sidebar__revision__date","isActionsDropdownOpen","filter","highlight","645492GESwQC","deselect","1868984qJuxCS","_createdAtFormatted","authors"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(165160===parseInt(e(280))/1+-parseInt(e(272))/2+-parseInt(e(294))/3+-parseInt(e(276))/4*(-parseInt(e(244))/5)+-parseInt(e(288))/6*(-parseInt(e(275))/7)+-parseInt(e(290))/8+parseInt(e(253))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(262)],a=function(t,e){const i=s,n=Array[i(268)](e[i(292)])[i(286)]((t=>t!=e[i(263)]));return e[i(263)]&&n[i(241)](e[i(263)]),n[i(255)]((n=>new Gr(t,n,n==e[i(263)])))}(e,i);this.id=i.id,this[s(249)]=i,this[s(258)]=r,this[s(257)](s(252),s(297)).to(i),this[s(257)](s(291)).to(this,s(297),(t=>{return i=e[s(256)],(n=t)[(r=Kr)(294)](i,{month:r(301),day:r(288)})+", "+n[r(302)](i,{hour:r(288),minute:r(288)});var i,n,r})),this[s(267)](s(237),!1),this[s(267)](s(234),!1),this[s(267)](s(285),!1),this[s(267)](s(246),!1),this[s(267)](s(278),!1),this[s(273)]=new $r(e,En.createLabeledInputText),this[s(273)][s(277)][s(281)]({attributes:{maxlength:s(238)}}),this[s(273)][s(277)][s(257)](s(248)).to(this,s(252),(t=>t||this[s(291)])),this[s(273)][s(257)](s(278)).to(this,s(237),this,s(278),((t,e)=>t&&e)),this[s(261)]=n&&n[s(243)]?function(e,i){const n=es,r=e[n(259)],s=e[n(276)],o=(0,En.createDropdown)(s);o[n(265)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(276)],r={"Compare against selected":Qi(n,i(291)),"Name this revision":Qi(n,i(253)),"Restore this revision":Qi(n,i(266))};return e[i(268)]((t=>{const e=i,n=r[t[e(278)]];return n&&n!==t[e(278)]&&(t[e(278)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(280),model:new En.ViewModel({label:t[r(278)],class:t[r(285)],withText:!0,role:r(287),_action:t[r(246)]})};i[r(256)][r(255)](r(251)).to(e,r(282),(i=>r(267)!=typeof t[r(251)]||!i||t[r(251)](e))),o[r(271)](i)}return o}(e,i);return e[n(255)](n(282)).to(o,n(288)),o[n(289)][n(270)]({label:Qi(s,n(262)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(273)]}),o[n(254)]({attributes:{class:[n(248),r.if(n(282),n(257))]},on:{click:r.to((t=>t[n(244)]()))}}),o.on(n(274),(t=>{const i=n;e[i(286)]&&i(267)==typeof t[i(281)][i(250)]&&t[i(281)][i(250)](e)})),(0,En.addListToDropdown)(o,a,{role:n(264)}),o[n(277)](e,n(269),((t,r,s)=>{const a=n;if(s)for(const t of o[a(272)][a(290)]){const n=t[a(283)][a(245)],r=i[a(284)]((t=>t[a(246)]===n[a(250)]))[a(263)];t[a(263)]=void 0===r||r(e)}})),o}(this,n):"",this[s(261)]&&this[s(261)][s(257)](s(278)).to(this),this[s(251)]({tag:s(259),attributes:{class:["ck",s(271),s(295),o.if(s(250),s(264))]},children:[{tag:s(259),attributes:{class:["ck",s(271),s(279),o.if(s(278),s(283),(t=>!t)),o.if(s(237),s(274)),o.if(s(234),s(266)),o.if(s(285),s(240))]},children:[this[s(273)],{tag:s(245),attributes:{class:["ck",s(284)]},children:[{text:o.to(s(291))}]},{tag:s(259),attributes:{class:["ck",s(265)]},children:[{tag:"ul",attributes:{class:["ck",s(296)]},children:a}]},this[s(261)]],on:{click:o.to((t=>{const e=s;t[e(254)][e(270)](e(293))||this[e(246)]&&this[e(278)]&&this[e(239)](e(282),{id:this.id})}))}}]})}[ss(242)](){const t=ss;super[t(242)]();const e=this[t(273)][t(277)][t(260)];this[t(235)](e,t(236),(()=>{const i=t;this[i(258)]&&!e[i(248)]||this[i(239)](i(247),{id:this.id,name:e[i(248)]}),e[i(248)]||(e[i(248)]=this[i(252)]?this[i(252)]:this[i(291)])}))}[ss(282)](){this[ss(237)]=!0}[ss(289)](){this[ss(237)]=!1}[ss(287)](){this[ss(234)]=!0}[ss(269)](){this[ss(234)]=!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},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Es={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Us{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Zs=null;class Hs extends Us{static get instance(){return null===Zs&&(Zs=new Hs),Zs}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Us{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Uo(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Xs(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 Ks={};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=Ks[i];return n||(n=new Intl.NumberFormat(t,e),Ks[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Xo(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=Xs(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={},Ks={},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=Xs(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Xs(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Zo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const 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 Vo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Eo(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=Vo(n,r,s),a=Do(Mo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Eo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Vo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function zo(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 Po(t){const e=Ho(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Zo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Ho(t)&&t>=e&&t<=i}function Xo(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ko(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}${Xo(i,2)}:${Xo(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Xo(i,2)}${Xo(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:Vs,f:Es,ff:Cs,fff:Ls,ffff:Ps,F:Ds,FF:js,FFF:zs,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 Xo(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 Va(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Ko(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})\\])?)?`}`),za=RegExp(`(?:T${La.source})?`),Pa=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Za=RegExp(`(?: ${Ua.source})?`);function Ha(t,e,i){const n=t[e];return Uo(n)?i:Ko(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 Xa={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ka(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Ko(e)):Ko(e),month:va.indexOf(i)+1,day:Ko(n),hour:Ko(r),minute:Ko(s)};return o&&(a.second=Ko(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=Ka(e,r,n,i,s,o,a);let f;return f=c?Xa[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[Ka(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Ka(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,za),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,za),cc=Va(/(\d{4})-?(\d{3})/,za),uc=Va(La),lc=Ea((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Ea(Pa,$a,qa,Ba),dc=Ea(Wa,$a,qa,Ba),fc=Ea($a,qa,Ba);const mc=Ea($a);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Za),vc=Va(Ua),yc=Ea($a,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new 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 Vc{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Ec(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(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=Ec(t,e);return(i-i%7)/7}],["days",Ec]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=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 zc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function Pc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>zc(i)===zc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Uc(t){return{regex:t,deser:([t])=>t}}const Zc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Pc(e.eras("short"),0);case"GG":return Pc(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 Pc(e.months("short",!0),1);case"MMMM":return Pc(e.months("long",!0),1);case"LLL":return Pc(e.months("short",!1),1);case"LLLL":return Pc(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 Pc(e.meridiems(),0);case"EEE":return Pc(e.weekdays("short",!1),1);case"EEEE":return Pc(e.weekdays("long",!1),1);case"ccc":return Pc(e.weekdays("short",!0),1);case"cccc":return Pc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Uc(/[a-z_+-/]{1,256}?/i);case" ":return Uc(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Uo(t.z)||(i=Ys.create(t.z)),Uo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Uo(t.q)||(t.M=3*(t.q-1)+1),Uo(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Uo(t.u)||(t.S=ta(t.u));const n=Object.keys(t).reduce(((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e}),{});return[n,i,e]}(i):[null,null,void 0];if(Yo(i,"a")&&Yo(i,"H"))throw new fs("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Zc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Xc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Kc(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+=Xo(t.c.year,i?6:4),e?(n+="-",n+=Xo(t.c.month),n+="-",n+=Xo(t.c.day)):(n+=Xo(t.c.month),n+=Xo(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Xo(t.c.hour);return e?(o+=":",o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Xo(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Xo(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Xo(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Xo(Math.trunc(-t.o/60)),o+=":",o+=Xo(Math.trunc(-t.o%60))):(o+="+",o+=Xo(Math.trunc(t.o/60)),o+=":",o+=Xo(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(Xc(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=Po(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:Xc(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(Xc(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(Xc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=zo(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):Po(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 $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?Kc(this).weekYear:NaN}get weekNumber(){return this.isValid?Kc(this).weekNumber:NaN}get weekday(){return this.isValid?Kc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Qc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Qc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Xc(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}=zo(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 Vs}static get DATETIME_SHORT(){return Es}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return zs}static get DATETIME_HUGE(){return Ps}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Zo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(){const t=["weekdayLong","580OqokDM","3285188hRDWgv","698170vHhQoB","250548HSkROX","fromJSDate","day","startOf","setLocale","toRelativeCalendar","month","toJSDate","37716IzhfDQ","monthLong","minus","9041752tbJxSb","week","local","3862572jdxqJl","3vGHuae","10uWkbUT","6371299ROVhbU","year","9HeMmBN","hasSame"];return(Iu=function(){return t})()}function Su(t,e){const i=Iu();return(Su=function(t,e){return i[t-=359]})(t,e)}function Ou(t,e){const i=Su,n=wu[i(374)](t)[i(377)](e),r=wu[i(361)](),s=r[i(383)]({days:1})[i(376)](i(375));let o,a;return n[i(368)](r,i(375))?(o=n[i(376)](i(375))[i(380)](),a=n[i(378)]()):n[i(368)](s,i(375))?(o=s[i(380)](),a=n[i(378)]()):n[i(368)](r,i(360))?(o=n[i(376)](i(360))[i(380)](),a=n[i(369)]||""):n[i(368)](r,i(366))?(o=n[i(376)](i(379))[i(380)](),a=n[i(382)]||""):(o=n[i(376)](i(366))[i(380)](),a=String(n[i(366)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Su,i=t();for(;;)try{if(595294===-parseInt(e(373))/1+-parseInt(e(372))/2+-parseInt(e(363))/3*(-parseInt(e(371))/4)+-parseInt(e(370))/5*(parseInt(e(381))/6)+parseInt(e(362))/7+-parseInt(e(359))/8*(-parseInt(e(367))/9)+parseInt(e(364))/10*(-parseInt(e(365))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Iu);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=zn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Zn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["setName","85FkTGHn","select","localizedPeriodName","removeRevision","setTemplate","ck-revision-history-sidebar__time-period__label","_requireRevisionName","remove","span","delegate","456PVXTqf","locale","36546480ORKpLJ","606666SMqfWO","startDate","1100870gErWFW","add","createCollection","_revisionActions","497682XmcsKD","2200108XQSpgM","82460iyvLcC","addRevision","uiLanguage","div","find","ck-revision-history-sidebar__time-period__revisions","revisionViews","ck-revision-history-sidebar__time-period","986604gKSnhv"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=414]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(796117===-parseInt(e(442))/1+-parseInt(e(440))/2+-parseInt(e(425))/3+parseInt(e(416))/4+parseInt(e(427))/5*(-parseInt(e(415))/6)+parseInt(e(417))/7*(-parseInt(e(437))/8)+parseInt(e(439))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Mu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(438)][r(419)])[r(429)];this[r(441)]=e,this[r(423)]=this[r(444)](),this[r(414)]=i,this[r(433)]=n,this[r(423)][r(436)](r(428)).to(this),this[r(423)][r(436)](r(426)).to(this),this[r(431)]({tag:r(420),attributes:{class:["ck",r(424)]},children:[{tag:r(435),attributes:{class:["ck",r(432)]},children:[{text:s}]},{tag:r(420),attributes:{class:["ck",r(422)]},children:this[r(423)]}]})}[Nu(418)](t){const e=Nu,i=new cs(this[e(438)],t,this[e(414)],this[e(433)]);this[e(423)][e(443)](i)}[Nu(430)](t){const e=Nu,i=this[e(423)][e(421)]((e=>e.id===t.id));this[e(423)][e(434)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=zn().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Zn();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=273]})(t,e)}function Cu(){const t=["7826490qCXJYH","content","history","span","9196659OJDYNm","6yMgJAt","31998FOwcry","4217928jpgWkf","setTemplate","27wIsPlo","213384uIuFkU","ck-revision-history-sidebar__header","2042555nZqyIO","36nFYItf","13WtcBFN","4739PgpnxR","ck-reset_all","11048xtokAV","Revision history","ck-revision-history-sidebar__header__label","div"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(560371===parseInt(e(287))/1*(parseInt(e(279))/2)+-parseInt(e(282))/3*(-parseInt(e(283))/4)+-parseInt(e(285))/5*(parseInt(e(278))/6)+parseInt(e(288))/7*(parseInt(e(290))/8)+-parseInt(e(277))/9+-parseInt(e(273))/10+-parseInt(e(280))/11*(-parseInt(e(286))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(274)]=qi.icons[e(275)],this[e(281)]({tag:e(293),attributes:{class:["ck",e(289),e(284)]},children:[i,{tag:e(276),attributes:{class:["ck",e(292)]},children:[Qi(t,e(291))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=zn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Zn();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const zu=Pu;function Pu(t,e){const i=Wu();return(Pu=function(t,e){return i[t-=485]})(t,e)}function Wu(){const t=["ck-revision-history-sidebar__timeline","uiLanguage","6OvTGzx","revisionSetName","185AhSULu","revisionViews","44430JRYDwG","getTime","find","div","createdAt","locale","highlightRevisions","get","973882rrDTCz","45XbgJnD","delegate","ck-disabled","bindTemplate","revisionSelected","startDate","createCollection","select","highlight","setName","ck-rounded-corners","map","47816xvBFKx","setTemplate","13khRxmq","_removeRevision","deselect","ck-reset","fire","addRevision","31179fYXpYM","_requireRevisionName","16mKMpWM","selectRevision","_addRevision","isEnabled","_getTimePeriodViewByStartDate","27624IfzdCn","render","ck-revision-history-sidebar","44Opnxff","add","set","remove","321687TveziW","removeRevision","_revisions","timePeriodViews","unhighlight","some","_revisionActions","flat","3687204nJUjuS"];return(Wu=function(){return t})()}!function(t){const e=Pu,i=t();for(;;)try{if(185029===-parseInt(e(534))/1*(-parseInt(e(501))/2)+-parseInt(e(514))/3*(-parseInt(e(526))/4)+parseInt(e(503))/5*(-parseInt(e(541))/6)+parseInt(e(513))/7*(-parseInt(e(536))/8)+parseInt(e(490))/9+-parseInt(e(505))/10*(-parseInt(e(486))/11)+-parseInt(e(498))/12*(-parseInt(e(528))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends En.View{constructor(t,e,i,n){const r=Pu;super(t);const s=this[r(517)];this[r(493)]=this[r(520)](),this[r(493)][r(515)](r(521)).to(this),this[r(493)][r(515)](r(523)).to(this),this[r(492)]=e,this[r(496)]=i,this[r(535)]=n,this.on(r(521),((t,e)=>{const i=r;this[i(532)](i(518),e)})),this.on(r(523),((t,e)=>{const i=r;this[i(532)](i(502),e)})),this[r(488)](r(539),!1),this[r(527)]({tag:r(508),attributes:{class:["ck",r(531),r(524),r(485)]},children:[new ju(t),{tag:r(508),attributes:{class:["ck",r(499),s.if(r(539),r(516),(t=>!t))]},children:this[r(493)]}]})}[zu(542)](){const t=zu;super[t(542)]();for(const e of this[t(492)])this[t(538)](e);this[t(492)].on(t(487),((e,i)=>{this[t(538)](i)})),this[t(492)].on(t(489),((e,i)=>{this[t(529)](i)}))}get[zu(504)](){const t=zu;return this[t(493)][t(525)]((e=>e[t(504)][t(525)]((t=>t))))[t(497)]()}[zu(537)](t){const e=zu;for(const i of this[e(504)])t&&t.id===i.id?i[e(521)]():i[e(530)]()}[zu(511)](t){const e=zu;for(const i of this[e(504)])t[e(495)]((({id:t})=>t===i.id))?i[e(522)]():i[e(494)]()}[zu(538)](t){const e=zu,i=Ou(t[e(509)],this[e(510)][e(500)])[e(519)];let n=this[e(493)][e(512)](0);n&&n[e(519)][e(506)]()===i[e(506)]()||(n=new Mu(this[e(510)],i,this[e(496)],this[e(535)]),this[e(493)][e(487)](n)),n[e(533)](t)}[zu(529)](t){const e=zu,i=Ou(t[e(509)],this[e(510)][e(500)])[e(519)];this[e(540)](i)[e(491)](t)}[zu(540)](t){const e=zu;return this[e(493)][e(507)]((i=>i[e(519)][e(506)]()===t[e(506)]()))}}const Zu=Hu;function Hu(t,e){const i=$u();return(Hu=function(t,e){return i[t-=104]})(t,e)}function $u(){const t=["select","Restore this revision","ready","isVisible","restoreRevisionCallback","_sidebarView","newRevisionId","revisionHistory","destroy","nameRevision","getEarlierVisibleRevision","132GagWoo","timePeriodViews","revisionHistory.requireRevisionName","isSelected","getIndex","9042BKgIDX","_handleDiffChange","remove","setName","11Vkvakj","_handleEditorDataReady","_handleRevisionSetName","fieldView","listenTo","map","highlightRevisions","1943252HWgcYH","isReady","change:diff","bind","Compare against selected","2233260aWttup","423kOziOk","revisionHistory.revisionActions","locale","restoreRevision","isPremiumPlugin","isOfficialPlugin","getRevision","Name this revision","render","repository","192232DgPDZl","6347046NoXrBl","_handleRevisionSelected","appendChild","focus","config","length","diff","_createRevisionActions","301ifaSxA","get","pluginName","defaultRevisionActions","action","requires","data","availableRevisionActions","5xHixyG","RevisionsSidebar","editor","selectRevision","isEnabled","compare","getLaterVisibleRevision","assign","getRevisionsInDiff","string","revisionHistory.viewerSidebarContainer","revisionSelected","_revisionViewer","element","5160YQpyIH","name","add","_revisionsRepository","revisionSetName","init","1312528NPFGyV","compareAgainstSelected","_revisions","plugins","revisionViews"];return($u=function(){return t})()}!function(t){const e=Hu,i=t();for(;;)try{if(675315===parseInt(e(184))/1+-parseInt(e(131))/2+parseInt(e(120))/3*(parseInt(e(115))/4)+parseInt(e(164))/5*(parseInt(e(148))/6)+parseInt(e(156))/7*(-parseInt(e(147))/8)+-parseInt(e(137))/9*(-parseInt(e(178))/10)+parseInt(e(124))/11*(parseInt(e(136))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Zu(158)](){return Zu(165)}static get[Zu(142)](){return!0}static get[Zu(141)](){return!0}static get[Zu(161)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(176)]=t[e(187)][e(157)](kr),this[e(181)]=this[e(176)][e(146)],this[e(109)]=null}[Zu(183)](){const t=Zu,e=this[t(181)][t(186)],i=this[t(155)](),n=this[t(166)][t(152)][t(157)](t(174));this[t(109)]=new Uu(this[t(166)][t(139)],e,i,this[t(166)][t(152)][t(157)](t(117))),this[t(109)].on(t(175),this[t(149)][t(134)](this)),this[t(109)].on(t(182),this[t(126)][t(134)](this)),this[t(109)][t(134)](t(168)).to(this[t(176)]),this[t(109)][t(116)].on(t(180),((e,i)=>{const n=t;i[n(188)].on(n(180),((t,e)=>{const i=n;e[i(134)](i(168),i(132)).to(this[i(176)])}))})),this[t(109)][t(145)](),this[t(128)](this[t(166)][t(162)],t(106),this[t(125)][t(134)](this)),this[t(128)](this[t(176)],t(133),this[t(121)][t(134)](this)),n[t(150)](this[t(109)][t(177)])}[Zu(112)](){const t=Zu;this[t(109)][t(177)][t(122)](),this[t(109)][t(112)]()}[Zu(125)](){const t=Zu,e=this[t(181)][t(143)](0);if(e){const i=this[t(181)][t(114)](e.id);this[t(176)][t(169)](e,i)}}[Zu(149)](t,e){const i=Zu,n=this[i(181)][i(143)](e.id),r=this[i(181)][i(114)](n.id);this[i(176)][i(169)](n,r)}[Zu(126)](t,e){const i=Zu;this[i(181)][i(143)](e.id)[i(123)](e[i(179)])}[Zu(121)](t,e,i){const n=Zu,r=this[n(181)][n(172)](i);r[n(153)]>2?(this[n(109)][n(130)](r),this[n(109)][n(167)](null)):(this[n(109)][n(130)]([]),this[n(109)][n(167)](r[0]))}[Zu(155)](){const t=Zu,e=this[t(166)],i=qu[t(163)],n=e[t(152)][t(157)](t(138))||qu[t(159)];if(n[t(153)])return n[t(129)]((n=>{const r=t,s=r(173)==typeof n?Object[r(171)]({},i[n]):n;return s[r(160)]=s[r(160)][r(134)](this,e),s[r(107)]&&(s[r(107)]=s[r(107)][r(134)](this,e)),s}))}}qu[Zu(159)]=[Zu(185),Zu(140),Zu(113)],qu[Zu(163)]={compareAgainstSelected:{name:Zu(135),action:({plugins:t},e)=>{const i=Zu,n=t[i(157)](kr),r=n[i(146)];let s=n[i(154)][i(110)],o=e.id;r[i(119)](s)>r[i(119)](o)&&([s,o]=[o,s]),n[i(169)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(157)](kr);return!(n[i(146)][i(172)](n[i(154)])[i(153)]>2||e[i(118)])}},restoreRevision:{name:Zu(105),action:(t,{id:e})=>{const i=Zu;t[i(152)][i(157)](i(111))[i(108)](e)},isVisible:({plugins:t},e)=>!!t[Zu(157)](kr)[Zu(146)][Zu(170)](e.id)},nameRevision:{name:Zu(144),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(157)](kr),s=r[n(146)][n(114)](e);r[n(169)](e,s),i[n(151)](),i[n(127)][n(104)]()}}};const Bu=qu;function Yu(){const t=["focusTracker","fire","5840215Vccfbe","setEditableElement","9901759EuNNfH","config","_initToolbar","view","toolbar","isFocused","667210SDKoCl","3258siMEbz","60ihSntk","componentFactory","editor","attachDomRoot","bind","replace","_elementReplacer","addToolbar","restore","13144EdIZFR","2MUvIfo","stickyPanel","getRoot","24MSZKYN","viewportTopOffset","render","_toolbarConfig","init","rootName","get","element","limiterElement","editable","ready","121FWdWCJ","fillFromConfig","7387913VbABaa","viewportOffset","editing","name","1580165psABGT","441312fxOSuD","_view","6LkWBAk","detachDomRoot","destroy","document","isActive"];return(Yu=function(){return t})()}const Ju=Gu;function Gu(t,e){const i=Yu();return(Gu=function(t,e){return i[t-=457]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(875167===parseInt(e(468))/1*(parseInt(e(498))/2)+parseInt(e(501))/3*(parseInt(e(469))/4)+parseInt(e(478))/5+-parseInt(e(471))/6*(-parseInt(e(480))/7)+-parseInt(e(497))/8*(parseInt(e(487))/9)+-parseInt(e(486))/10*(parseInt(e(462))/11)+-parseInt(e(488))/12*(parseInt(e(464))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yu);class Xu extends En.EditorUI{get[Ju(483)](){return this[Ju(470)]}constructor(e,i){const n=Ju;super(e),this[n(470)]=i,this[n(504)]=(0,En.normalizeToolbarConfig)(e[n(481)][n(457)](n(484))),this[n(494)]=new t.ElementReplacer}get[Ju(458)](){const t=Ju;return this[t(483)][t(458)]}[Ju(505)](t){const e=Ju,i=this[e(490)],n=this[e(483)],r=i[e(466)][e(483)],s=n[e(460)],o=r[e(474)][e(500)]();s[e(467)]=o[e(506)],n[e(503)]();const a=s[e(458)];this[e(479)](s[e(467)],a),n[e(460)][e(492)](e(485)).to(this[e(476)]),r[e(491)](a),this[e(494)][e(493)](t,this[e(458)]),this[e(482)](),this[e(477)](e(461))}[Ju(473)](){const t=Ju;super[t(473)]();const e=this[t(483)],i=this[t(490)][t(466)][t(483)];this[t(494)][t(496)](),i[t(472)](e[t(460)][t(467)]),e[t(473)]()}[Ju(482)](){const t=Ju,e=this[t(483)];e[t(499)][t(492)](t(475)).to(this[t(476)],t(485)),e[t(499)][t(459)]=e[t(458)],e[t(499)][t(492)](t(502)).to(this,t(465),(({top:t})=>t)),e[t(484)][t(463)](this[t(504)],this[t(489)]),this[t(495)](e[t(484)])}}var Ku=i(161),Qu={attributes:{"data-cke":!0}};Qu.setAttributes=Wn(),Qu.insert=zn().bind(null,"head"),Qu.domAPI=Fn(),Qu.insertStyleElement=Zn();Cn()(Ku.A,Qu);Ku.A&&Ku.A.locals&&Ku.A.locals;var tl=el;function el(t,e){var i=il();return(el=function(t,e){return i[t-=380]})(t,e)}function il(){var t=["170DvVyiO","1964pxwmOe","stickyPanel","13125UVrsNC","shouldToolbarGroupWhenFull","55953owIyoN","top","1336144jELfTI","7325PQekvA","2267485CjeLNf","render","add","editable","_editable","109126qfWGpQ","15YlQSmn","content","789527lkMzLo","toolbar","main","2238LhyJiF"];return(il=function(){return t})()}!function(t){for(var e=el,i=t();;)try{if(681458===parseInt(e(386))/1+-parseInt(e(383))/2*(parseInt(e(384))/3)+parseInt(e(391))/4*(parseInt(e(398))/5)+parseInt(e(389))/6*(-parseInt(e(393))/7)+-parseInt(e(397))/8+-parseInt(e(395))/9*(-parseInt(e(390))/10)+parseInt(e(399))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(il);class nl extends En.BoxedEditorUIView{get[tl(381)](){return this[tl(382)]}constructor(t,e,i={}){var n=tl;super(t),this[n(392)]=new En.StickyPanelView(t),this[n(387)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(394)]}),this[n(382)]=new En.InlineEditableUIView(t,e)}[tl(400)](){var t=tl;super[t(400)](),this[t(392)][t(385)][t(380)](this[t(387)]),this[t(396)][t(380)](this[t(392)]),this[t(388)][t(380)](this[t(381)])}}const rl=ol;function sl(){const t=["sourceElement","6730163DeJVtt","createRoot","7Rmztgr","initPlugins","locale","create","model","_ui","editing","305436MnvzVd","106584xJHDHd","96DkzvXU","config","document","view","3486429UnFTgt","12YGiwDz","updateSourceElement","35zUOrbY","init","241132iUTLPQ","13028kgxAQy","destroy","data","10vOiIZv","ready","3087440PaYLBN","fire","get","initialData"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=401]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(204504===-parseInt(e(415))/1+-parseInt(e(426))/2+parseInt(e(417))/3*(-parseInt(e(427))/4)+parseInt(e(424))/5*(parseInt(e(416))/6)+-parseInt(e(408))/7*(-parseInt(e(401))/8)+parseInt(e(421))/9*(-parseInt(e(430))/10)+parseInt(e(406))/11*(parseInt(e(422))/12))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(413)]}constructor(t,e){const i=ol;super(e),this[i(405)]=t,this[i(412)][i(419)][i(407)]();const n=new nl(this[i(410)],this[i(414)][i(420)],{shouldToolbarGroupWhenFull:!0});this[i(413)]=new Xu(this,n)}[rl(428)](){const t=rl;return this[t(423)](),this.ui[t(428)](),super[t(428)]()}static async[rl(411)](t,e){const i=rl,n=new this(t,e);return await n[i(409)](),await n.ui[i(425)](t),await n[i(429)][i(425)](n[i(418)][i(403)](i(404))||""),n[i(402)](i(431)),n}}const cl=ul;function ul(t,e){const i=fl();return(ul=function(t,e){return i[t-=415]})(t,e)}!function(t){const e=ul,i=t();for(;;)try{if(838863===parseInt(e(424))/1+parseInt(e(461))/2*(parseInt(e(540))/3)+parseInt(e(519))/4+parseInt(e(529))/5*(-parseInt(e(552))/6)+-parseInt(e(547))/7*(-parseInt(e(531))/8)+parseInt(e(555))/9*(parseInt(e(545))/10)+parseInt(e(435))/11*(-parseInt(e(428))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fl);const ll=[cl(494),cl(432)];class hl extends qi.Plugin{static get[cl(502)](){return cl(457)}static get[cl(484)](){return!0}static get[cl(439)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(430)]((t=>String[e(447)](t)))[e(539)]("")}super(t),this[e(468)]=e(459),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 dl extends qi.Plugin{static get[cl(502)](){return cl(561)}static get[cl(484)](){return!0}static get[cl(439)](){return!0}static get[cl(491)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(438)][i(530)][i(512)](i(527)))throw new t.CKEditorError(i(521),this);this[i(526)]=null,this[i(438)][i(530)][i(423)](i(504),(t=>this[i(475)]({...t,translations:this[i(438)][i(448)][i(499)]}))),this[i(438)][i(530)][i(423)](i(514),(t=>this[i(458)](t))),this[i(438)][i(530)][i(423)](i(481),(t=>this[i(488)](t))),this[i(438)][i(530)][i(423)](i(463),!1),this[i(557)](),this[i(498)]()}set[cl(536)](t){const e=cl;this[e(438)][e(544)][e(512)](e(490))[e(536)]=t}get[cl(536)](){const t=cl;return this[t(438)][t(544)][t(512)](t(490))[t(536)]}[cl(429)](t){const e=cl;return this[e(438)][e(544)][e(512)](e(490))[e(429)](t)}[cl(533)](t){const e=cl;return this[e(438)][e(544)][e(512)](e(482))[e(533)](t)}[cl(464)](t){const e=cl;return this[e(438)][e(544)][e(512)](e(482))[e(464)](t||{toJSON:!1})}[cl(465)](){const e=cl,i=this[e(438)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(544)][e(512)](e(490)),s=i[e(544)][e(512)](e(505))[e(525)];return n[e(534)]=[e(470),e(487),e(520)],delete n[e(460)],n[e(544)][e(478)](hl,kr,zr,class extends qi.Plugin{static get[e(491)](){return[kr,e(505)]}[e(450)](){const n=e,o=this[n(438)][n(544)][n(512)](n(505));for(const t of s)t[n(415)]||o[n(501)](t.id)||o[n(538)](t);const a=r[n(515)][n(464)]();let c=null;const u=this[n(438)][n(544)][n(512)](n(437));u[n(536)]=r[n(536)],u[n(449)](n(549)).to(r),this[n(438)][n(528)][n(512)](n(487))[n(449)](n(549)).to(i,n(434),(t=>!t));for(const e of a){const i=null===e[n(546)];if(i&&e[n(418)]===e[n(433)])continue;const s=e[n(516)]();u[n(429)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(486)](s,o);else if(!o){const e=a[u(516)]();e.id=(0,t.uid)(),r[u(553)](e,a[u(418)])[u(419)]((t=>{c=t}))}}else e[u(486)](s,o)}))}}},Bu),n}[cl(557)](){const t=cl,e=this[t(438)][t(530)][t(512)](t(527))[t(479)];this[t(438)][t(530)][t(440)](t(504),(async()=>{const i=t;this[i(438)][i(551)](i(510));const n=this[i(438)][i(544)][i(512)](i(490));if(this[i(438)][i(544)][i(550)](i(446))){const t=this[i(438)][i(544)][i(512)](i(446));await t[i(556)]()}else await n[i(480)]();if(this[i(438)][i(544)][i(550)](i(513))&&this[i(438)][i(544)][i(512)](i(513))[i(559)](),this[i(438)][i(544)][i(550)](i(541))){const t=this[i(438)][i(544)][i(512)](i(541));t[i(476)]&&t[i(517)]()}const r=this[i(465)]();return e(r)[i(419)]((t=>{const e=i;return this[e(526)]=t,this[e(438)][e(544)][e(550)](e(427))&&this[e(438)][e(544)][e(512)](e(427))[e(509)](),t}))[i(436)]((t=>(console[i(485)](t),this[i(438)][i(444)](i(510)),null)))}))}[cl(498)](){const t=cl,e=this[t(438)][t(530)][t(512)](t(527))[t(473)];this[t(438)][t(530)][t(440)](t(514),(()=>(this[t(438)][t(544)][t(550)](t(513))&&this[t(438)][t(544)][t(512)](t(513))[t(559)](),this[t(526)][t(544)][t(512)](t(437))[t(500)](),e(this[t(526)])[t(419)]((()=>{const e=t;if(this[e(438)][e(444)](e(510)),this[e(526)]=null,this[e(438)][e(544)][e(550)](e(427))){const t=this[e(438)][e(544)][e(512)](e(427));t[e(509)](),t[e(537)]()}})))))}[cl(475)](t){const e=cl,i=this[e(438)][e(530)][e(512)](e(518)),n=this[e(438)][e(530)][e(512)](e(508)),r=this[e(438)][e(530)][e(512)](e(422));return al[e(469)](r,t)[e(419)]((t=>(n[e(497)][e(471)]=e(420),i[e(497)][e(471)]=e(425),t)))}[cl(458)](t){const e=cl,i=this[e(438)][e(530)][e(512)](e(518));return this[e(438)][e(530)][e(512)](e(508))[e(497)][e(471)]=e(425),i[e(497)][e(471)]="",t[e(492)]()}async[cl(488)](t){const e=cl,i=this[e(438)],n=this[e(526)][e(544)][e(512)](e(437)),r=i[e(544)][e(512)](e(490)),s=n[e(515)][e(533)](t);let o,a,c;try{o=await n[e(472)](s),a=await n[e(511)](s)}catch(t){return void console[e(485)](t)}i[e(445)][e(483)]((t=>{const n=e;for(const e of Array[n(543)](i[n(445)][n(503)][n(560)](n(441))))t[n(442)](e)})),n[e(495)]=!1,i[e(445)][e(493)]((t=>{const n=e;t[n(558)](null),t[n(454)](i[n(445)][n(421)][n(522)][n(524)]());const r=Object[n(431)](o);for(const e of i[n(445)][n(421)][n(523)])n(417)!=e[n(443)]&&e[n(416)]()&&!r[n(456)](e[n(443)])&&t[n(477)](e);for(const e of r){let r=i[n(445)][n(421)][n(455)](e);r&&r[n(416)]()||(r=t[n(467)](e));const s=a[e],c=Object[n(431)](s),u=o[e];for(const e of r[n(524)]())c[n(456)](e)||t[n(466)](e,r);for(const i of c)t[n(542)](i,a[e][i],r);t[n(496)](t[n(452)](r)),t[n(532)](i[n(507)][n(474)](u,r),r,0)}}));const u=Qi(i[e(448)],e(462));return c=s[e(535)]?-1==s[e(535)][e(506)](u)?u+": "+s[e(535)]:s[e(535)]:u+": "+s[e(489)][e(554)](i[e(448)][e(548)],{month:e(451),day:e(426)})+", "+s[e(489)][e(453)](i[e(448)][e(548)],{hour:e(426),minute:e(426)}),await r[e(553)]({name:c}),n[e(495)]=!0,i[e(530)][e(512)](e(527))[e(473)]()}}function fl(){const t=["numeric","Annotations","1863240ApHjSl","addRevisionData","map","keys","RestrictedEditingMode","fromVersion","isReadOnly","11KWmPFg","catch","RevisionViewer","editor","isPremiumPlugin","set","restrictedEditingException","removeMarker","rootName","disableReadOnlyMode","model","Autosave","fromCharCode","locale","bind","init","long","createRangeIn","toLocaleTimeString","removeSelectionAttribute","getRoot","includes","RevisionViewerIntegration","_closeRevisionViewer","end","lazyRoots","196jnIxhg","Restored","revisionHistory.requireRevisionName","getRevisions","_getRevisionViewerEditorConfig","removeAttribute","addRoot","result","create","exitToEditing","display","getRevisionData","closeRevisionViewerCallback","parse","_showRevisionViewer","isOpen","detachRoot","push","showRevisionViewerCallback","update","revisionHistory.restoreRevisionCallback","RevisionsRepository","change","isOfficialPlugin","error","_update","restoreRevision","_restoreRevision","createdAt","RevisionTracker","requires","destroy","enqueueChange","RevisionHistoryUI","isReady","remove","style","_enhanceCloseRevisionViewerCallback","translations","_cleanUp","getUser","pluginName","markers","revisionHistory.showRevisionViewerCallback","Users","indexOf","data","revisionHistory.viewerContainer","refreshVisibility","revision-history-viewer-opened","getRevisionRootsAttributes","get","PaginationLookup","revisionHistory.closeRevisionViewerCallback","repository","toJSON","hide","revisionHistory.editorContainer","704156HHIseO","changesNavigation","revision-history-missing-configuration","selection","roots","getAttributeKeys","users","_viewerEditor","revisionHistory","commands","6911085ZFqNWv","config","16lkUrMz","insert","getRevision","toolbar","name","adapter","refreshPositioning","addUser","join","18570MardqA","Dialog","setAttribute","from","plugins","10wrvhpb","creator","2329593sIJyDo","uiLanguage","isEnabled","has","enableReadOnlyMode","6Zzdpvi","saveRevision","toLocaleDateString","6564951irAxjD","save","_enhanceShowRevisionViewerCallback","setSelection","_recalculatePageBreaks","getMarkersGroup","RevisionHistory","isAnonymous","isAttached","$graveyard","toVersion","then","block","document","revisionHistory.viewerEditorElement","define","198654cZgSCG","none"];return(fl=function(){return t})()}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=345]})(t,e)}function pl(){var t=["1299950OopueD","385XgMvdL","334660tLDAgo","2778645oeswoc","33872pkvqqQ","27jyQROX","656978xZYktE","3363032vgyzXg","7854024WcwOpJ","2SjvQNZ"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(781923===parseInt(e(354))/1+-parseInt(e(351))/2*(parseInt(e(345))/3)+-parseInt(e(346))/4*(parseInt(e(353))/5)+parseInt(e(350))/6+-parseInt(e(348))/7+parseInt(e(349))/8+-parseInt(e(347))/9*(-parseInt(e(352))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();