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

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:()=>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})();
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:()=>jr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Qi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var A=b?b.toStringTag:void 0;const N=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":A&&A in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const M=function(t){if(!R(t))return!1;var e=N(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const E=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const j=function(t){return!!D&&D in t};var C=Function.prototype.toString;const F=function(t){if(null!=t){try{return C.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)||j(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 J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const Q=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var X=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:X.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=J,it.prototype.delete=G,it.prototype.get=Q,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==N(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const At=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const Nt=Array.isArray;const Rt=function(){return!1};var 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 jt=/^(?:0|[1-9]\d*)$/;const Ct=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&jt.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[N(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ut=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ht=Ut&&Ut.exports===Wt&&y.process;const Zt=function(){try{var t=Ut&&Ut.require&&Ut.require("util").types;return t||Ht&&Ht.binding&&Ht.binding("util")}catch(t){}}();var $t=Zt&&Zt.isTypedArray;const qt=$t?zt($t):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=Nt(t),n=!i&&At(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ct(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Qt=Kt(Object.keys,Object);var Xt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Qt(t);var e=[];for(var i in Object(t))Xt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!M(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return Nt(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ae=q(k,"DataView");const Ne=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ee="[object Map]",Ve="[object Promise]",De="[object Set]",je="[object WeakMap]",Ce="[object DataView]",Fe=F(Ae),Le=F(B),Pe=F(Ne),ze=F(Re),We=F(Me),Ue=N;(Ae&&Ue(new Ae(new ArrayBuffer(1)))!=Ce||B&&Ue(new B)!=Ee||Ne&&Ue(Ne.resolve())!=Ve||Re&&Ue(new Re)!=De||Me&&Ue(new Me)!=je)&&(Ue=function(t){var e=N(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return Ce;case Le:return Ee;case Pe:return Ve;case ze:return De;case We:return je}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 Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Qe=Ke?Ke.valueOf:void 0;const Xe=function(t){return Qe?Object(Qe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Xe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==He(t)};var oi=Zt&&Zt.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==He(t)};var ui=Zt&&Zt.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=Nt(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=He(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==N(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(Nt(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ai=b?b.prototype:void 0,Ni=Ai?Ai.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(Nt(e))return Ti(e,t)+"";if(yi(e))return Ni?Ni.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Mi=function(t){return null==t?"":Ri(t)};const Ei=function(t,e){return Nt(t)?t:bi(t,e)?[t]:xi(Mi(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Ei(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:Ct(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const ji=function(t,e,i){return null==t?t:Di(t,e,i)};const Ci=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(Ci(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Ui(t,e){const i=Zi();return(Ui=function(t,e){return i[t-=247]})(t,e)}const Hi=Ui;function Zi(){const t=["113222wmpzMu","1930dmtlIP","toVersion","setAttribute","authorsIds","setName","9495dNfeGK","_update","map","creator","creatorId","diffData","41670YUYARA","97368qgZrXk","108iFuaTK","fromVersion","toJSON","set","fire","32aZGgyi","24HWoHMm","attributes","12jXgEXe","removeAttribute","createdAt","546160wzSRWA","name","237223oxFVEF","94567LVZNWF","authors"];return(Zi=function(){return t})()}!function(t){const e=Ui,i=t();for(;;)try{if(206373===parseInt(e(249))/1+parseInt(e(266))/2*(-parseInt(e(258))/3)+-parseInt(e(261))/4+-parseInt(e(248))/5*(-parseInt(e(250))/6)+-parseInt(e(263))/7*(-parseInt(e(255))/8)+parseInt(e(272))/9*(parseInt(e(267))/10)+-parseInt(e(264))/11*(parseInt(e(256))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Ui;super(),this.id=e.id||(0,t.uid)(),this[i(275)]=e[i(275)]||null,this[i(265)]=e[i(265)]||[],this[i(247)]=e[i(247)]||null,this[i(268)]=e[i(268)]||0,this[i(251)]=e[i(251)]||0,this[i(253)](i(262),e[i(262)]||""),this[i(253)](i(260),e[i(260)]||new Date),this[i(253)](i(257),e[i(257)]||{})}[Hi(271)](t){this[Hi(273)]({name:t})}[Hi(269)](t,e){const i=Hi,n=vi(this[i(257)]);ji(n,t,e),this[i(273)]({attributes:n})}[Hi(259)](t){const e=Hi,i=vi(this[e(257)]);Wi(i,t),this[e(273)]({attributes:i})}[Hi(273)](t,e=!1){const i=Hi;let n=!1;const r={id:this.id},s=[i(262),i(260),i(247),i(265),i(257),i(268),i(251),i(276)];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(265)]&&(r[i(270)]=r[i(265)][i(274)]((t=>t.id)),delete r[i(265)]),this[i(254)](i(273),r,e))}[Hi(252)](){const t=Hi;return{id:this.id,name:this[t(262)],creatorId:this[t(275)]?this[t(275)].id:null,authorsIds:this[t(265)][t(274)]((t=>t.id)),diffData:this[t(247)],createdAt:this[t(260)],attributes:this[t(257)],fromVersion:this[t(251)],toVersion:this[t(268)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Gi;function Gi(t,e){const i=Ki();return(Gi=function(t,e){return i[t-=116]})(t,e)}function Ki(){const t=["isPremiumPlugin","get","plugins","editor","authorsIds","154074PrSyfH","toVersion","RevisionsRepository","add","getRevisions","773896iDUDQv","createdAt","addRevision","push","reverse","creatorId","createRevision","from","earlier","getEarlierVisibleRevision","5074220dqtFdh","afterInit","_revisions","name","11959046FvjmlN","getIndex","isOfficialPlugin","later","getRevisionsInDiff","length","fromCharCode","getLaterVisibleRevision","Users","2763105FjXfRG","requires","2472XybEjv","join","pluginName","data","getRevisionsIterator","710rWdtyD","fromVersion","getRevision","getUser","655842aLedww","href","newRevisionId","isNaN","12JnLQjm","attributes","35PAaVbX","diffData","map","oldRevisionId","45Jxwrjw","toJSON"];return(Ki=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(648735===parseInt(e(139))/1*(-parseInt(e(126))/2)+parseInt(e(167))/3+-parseInt(e(169))/4*(-parseInt(e(118))/5)+-parseInt(e(122))/6*(parseInt(e(128))/7)+-parseInt(e(144))/8*(parseInt(e(132))/9)+parseInt(e(154))/10+parseInt(e(158))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Qi extends qi.Plugin{static get[Ji(168)](){return[Bi.Users]}static get[Ji(171)](){return Ji(141)}static get[Ji(160)](){return!0}static get[Ji(134)](){return!0}get[Ji(163)](){const t=Ji;return this[t(156)][t(163)]}constructor(e){const i=Ji;super(e),this[i(156)]=new t.Collection}[Ji(155)](){!async function(e){const i=k([87,116,74,121,82,69,115,112,72,90,103,83,52,114,113,49,76,48,68,55,119,88,110,108,86,105,102,100,54,65,89,122,50,84,104,66,99,70,73,67,111,71,75,85,101,77,98,80,57,118,79,81,97,78,107,53,117,51,109,120,106,56]),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(125)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()}))];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])]((()=>t))}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([87]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Gi;return t[e(130)]((t=>String[e(164)](t)))[e(170)]("")}!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:1738713600;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(123)]);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(150)](t){const e=Ji,i=this[e(137)][e(136)][e(135)](e(166));return new $i({id:t.id,name:t[e(157)],creator:t[e(149)]?i[e(121)](t[e(149)]):null,diffData:t[e(129)]||t[e(116)],authors:t[e(138)][e(130)]((t=>i[e(121)](t))),createdAt:new Date(t[e(145)]),attributes:t[e(127)],fromVersion:t[e(119)],toVersion:t[e(140)]})}[Ji(146)](t,e=0){const i=Ji;this[i(156)][i(142)](t,e)}[Ji(120)](t){const e=Ji;return this[e(156)][e(135)](t)}[Ji(143)](t={toJSON:!1}){const e=Ji,i=Array[e(151)](this[e(156)]);return i[e(148)](),t[e(133)]?i[e(130)]((t=>t[e(133)]())):i}[Ji(159)](t){const e=Ji;return this[e(156)][e(159)](t)}[Ji(153)](t){const e=Ji,[,i]=this[e(117)](t,{direction:e(152)});return i}[Ji(165)](t){const e=Ji,[,i]=this[e(117)](t,{direction:e(161)});return i}[Ji(162)](t){const e=Ji,i=[];for(const n of this[e(117)](t[e(124)]))if(i[e(147)](n),n.id===t[e(131)])break;return i}*[Ji(117)](t,{direction:e=Ji(152),filter:i=()=>!0}={}){const n=Ji,r=n(152)===e?1:-1;let s=this[n(156)][n(135)](t),o=this[n(159)](s);for(yield s;s;){if(o+=r,s=this[n(120)](o),!s)return;i(s)&&(yield s)}}}function Xi(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=xe(t),c=a.length;if(c!=xe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=Nt(t),a=Nt(e),c=o?vn: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=xn();return(In=function(t,e){return i[t-=326]})(t,e)}!function(t){const e=In,i=t();for(;;)try{if(961840===parseInt(e(401))/1+parseInt(e(449))/2+-parseInt(e(344))/3*(-parseInt(e(343))/4)+parseInt(e(620))/5+-parseInt(e(586))/6*(parseInt(e(371))/7)+parseInt(e(352))/8*(-parseInt(e(575))/9)+parseInt(e(583))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xn);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(407)](){return _n(339)}static get[_n(511)](){return!0}static get[_n(607)](){return!0}static get[_n(421)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(631)]=null,this[i(397)]=null,this[i(562)]=new An(this[i(617)]),this[i(578)]=this[i(617)][i(484)][i(602)](i(644))||i(482),this[i(645)]=new Map,this[i(355)]=null;const n=(0,t.uid)();this[i(635)]={history:this[i(617)][i(433)][i(636)][i(621)],getLatestVersion:()=>Promise[i(338)](this[i(617)][i(433)][i(636)][i(417)]),getCurrentRevisionId:()=>n},this[i(379)](i(502),!1),this[i(379)](i(402),!0),this[i(379)](i(639),!1),this[i(617)][i(484)][i(466)](i(393),!0),this[i(617)][i(415)][i(573)](i(435))[i(507)]({view:i(540)})}[_n(604)](){const t=_n;this[t(491)]=this[t(617)][t(594)][t(602)](t(347)),this[t(335)](),this[t(617)][t(461)].on(t(423),(()=>{const e=t,i=this[e(491)][e(638)](0),n=i&&null===i[e(465)]?i:null;if(this[e(576)]=!!n&&this[e(617)][e(484)][e(602)](e(393)),this[e(617)][e(594)][e(464)](e(510))){const t=this[e(635)][e(595)](),r=this[e(491)][e(638)](t);if(r)this[e(384)]=r[e(460)],this[e(576)]=!1;else{const t=this[e(635)][e(621)][e(642)][e(410)]((t=>!t[e(492)])),r=t?t[e(527)]:this[e(635)][e(621)][e(417)];i?(i[e(643)]<r&&i[e(373)]({toVersion:r}),this[e(576)]?(this[e(635)][e(595)]=()=>n.id,this[e(384)]=n[e(460)]):(this[e(384)]=i[e(643)],this[e(576)]=!1)):(this[e(384)]=r,this[e(576)]=!1)}}else n&&(this[e(617)][e(433)][e(636)][e(621)][e(417)]=Math[e(412)](n[e(643)],this[e(617)][e(433)][e(636)][e(621)][e(417)]),n[e(460)]===n[e(643)]?(0!==n[e(460)]&&(this[e(635)][e(595)]=()=>n.id),this[e(576)]=!1):this[e(576)]&&(this[e(635)][e(595)]=()=>n.id,this[e(384)]=n[e(460)])),this[e(576)]||(this[e(384)]=this[e(617)][e(433)][e(636)][e(417)]);this[e(562)][e(604)](this[e(635)][e(621)]),this[e(474)](this[e(384)]),this[e(505)](this[e(384)]),this[e(631)]&&this[e(336)]()})),this[t(563)](t(502)).to(this,t(639),(t=>!t)),this[t(570)]=this[t(617)][t(484)][t(602)](t(570));const e=this[t(617)];this[t(556)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(477)==s||i(389)==s||i(559)==s||i(405)==s||i(500)==s||i(520)==s||i(390)==s||i(529)==s){delete e[r],n=s,clearInterval(this[i(556)]),this[i(556)]=void 0;break}}i(389)==n&&e[i(388)](i(432)),i(559)==n&&e[i(388)](i(623)),i(405)==n&&e[i(388)](i(386)),i(500)==n&&e[i(388)](i(554),i(552)),i(520)==n&&e[i(388)](i(332)),i(390)==n&&e[i(388)](i(541)),i(529)==n&&e[i(388)](i(616))}),1e3)}async[_n(476)](){const t=_n;if(this[t(491)][t(533)]>0){const e=this[t(491)][t(638)](0),i=await this[t(406)](e),n=await this[t(613)](e);this[t(501)](i,n)}}[_n(341)](){const t=_n;super[t(341)](),this[t(556)]&&clearInterval(this[t(556)])}[_n(597)](t){this[_n(635)]=t}async[_n(590)](){const t=_n,e=await this[t(635)][t(354)]();if(e>this[t(397)][t(643)]){await this[t(366)]();const i=this[t(364)]({revision:this[t(397)],to:e});i[t(498)]=i[t(625)][t(424)]((e=>this[t(617)][t(594)][t(602)](t(376))[t(483)](e))),this[t(397)][t(373)](i)}}async[_n(366)](){const t=_n;this[t(576)]&&!this[t(355)]&&(await this[t(544)](this[t(397)]),this[t(562)][t(561)](this[t(397)]),this[t(355)]={fromVersion:this[t(397)][t(460)],authors:this[t(397)][t(498)][t(610)]()})}async[_n(601)](e={},i=null){const n=_n,r=[];await this[n(366)](),this[n(576)]=!1,i>this[n(397)][n(643)]&&(i=null),null===i&&(i=await this[n(635)][n(354)]());const s=this[n(442)](i),o=this[n(364)]({from:s,to:i});if(this[n(397)][n(643)]<i){const t=this[n(364)]({revision:this[n(397)],from:i,to:i});t[n(498)]=[],t[n(625)]=[],t.id=this[n(397)].id,this[n(397)][n(373)](t,!0),delete t[n(498)],r[n(428)](t)}e[n(425)]=this[n(617)][n(594)][n(602)](n(376)).me.id,e[n(471)]=e[n(471)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(470)](e);r[n(428)](e);const c=this[n(491)][n(361)](a);if(0!==c){const t=this[n(491)][n(638)](c-1);if(t[n(460)]!==i){const s=this[n(562)][n(618)](i,t[n(643)]),o={id:t.id,diffData:s[n(536)],authorsIds:s[n(625)],authors:s[n(625)][n(424)]((t=>this[n(617)][n(594)][n(602)](n(376))[n(483)](t))),fromVersion:i};t===this[n(397)]&&(o[n(614)]=new Date(e[n(614)][n(427)]()+10)),t[n(373)](o,!0),delete o[n(498)],r[n(428)](o)}}if(this[n(631)]){for(const t of r)this[n(394)](t.id,t,!0);this[n(336)]()}return a}[_n(470)](t){const e=_n,i=this[e(491)][e(521)](t);return this[e(631)]&&i.on(e(373),((t,i,n)=>{const r=e;n||(this[r(394)](i.id,i,!0),this[r(336)]())})),this[e(491)][e(539)](i,this[e(458)](i)),i}async[_n(406)](t){const e=_n;await this[e(544)](t);const i={};for(const n in t[e(536)]){if(t[e(536)][n][e(398)]&&!t[e(536)][n][e(398)][e(605)])continue;const r=this[e(524)](JSON[e(496)](t[e(536)][n][e(515)])),s=this[e(617)][e(493)][e(566)][e(636)],o=new Yi.ViewDocumentFragment(s,r[e(424)]((t=>Tn(t,this[e(617)]))));this[e(617)][e(461)][e(525)][e(391)](e(512)),i[n]=this[e(617)][e(461)][e(525)][e(587)](o),this[e(617)][e(461)][e(525)][e(391)](e(437))}return i}async[_n(613)](t){const e=_n;await this[e(544)](t);const i={};for(const n in t[e(536)])t[e(536)][n][e(398)]&&!t[e(536)][n][e(398)][e(605)]||(i[n]=t[e(536)][n][e(626)]||{});return i}[_n(336)](){const t=_n;if(0===this[t(645)][t(414)])return;if(this[t(639)])return;let e=Array[t(516)](this[t(645)][t(350)]());this[t(645)][t(356)]();for(let i=0;i<e[t(533)];i++){const n=e[i];let r=!1;for(const e of Object[t(634)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(588)]((t=>null!==t)),!e[t(533)])return;for(let i=0;i<e[t(533)];i++){const n=e[i];void 0!==n[t(460)]&&void 0===n[t(643)]&&(n[t(643)]=this[t(491)][t(638)](n.id)[t(643)]),void 0!==n[t(643)]&&void 0===n[t(460)]&&(n[t(460)]=this[t(491)][t(638)](n.id)[t(460)])}const i=this[t(617)][t(484)][t(602)](t(644));this[t(639)]=!0,this[t(457)](),this[t(631)][t(479)](e,i)[t(453)]((()=>{this[t(639)]=!1}))[t(419)]((e=>{const i=t;if(e)for(const t of e)this[i(646)]({id:t.id,createdAt:t[i(614)]});this[i(627)](),this[i(336)]()}))}[_n(501)](e,i){const n=_n;let r=this[n(617)][n(484)][n(602)](n(534)),s=this[n(617)][n(484)][n(602)](n(345));if(void 0===r){r={};for(const t of this[n(617)][n(433)][n(636)][n(584)]())r[t]=""}if(n(585)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(617)][n(433)][n(636)][n(584)]())s[t]={}}let o=!1;const a=Object[n(634)](r),c=Object[n(634)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(358)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(634)](s[t])[n(533)]>0){o=!0;break}}o||(o=c[n(490)]((t=>!this[n(617)][n(433)][n(636)][n(426)](t)))),o&&(0,t.logWarning)(n(380),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(617)][n(484)][n(379)](n(534),e),this[n(617)][n(484)][n(379)](n(345),i)}[_n(457)](){const t=_n;if(!this[t(455)]){const e=this[t(617)][t(594)][t(602)](t(509));this[t(455)]=e[t(488)](Xi(this[t(617)][t(609)],t(545)))}}[_n(627)](){const t=_n;this[t(455)]&&(this[t(617)][t(594)][t(602)](t(509))[t(444)](this[t(455)]),this[t(455)]=null)}[_n(458)](t){const e=_n,i=this[e(491)][e(447)]();i[e(349)]();let n=0;for(;n<i[e(533)];){const r=i[n];if(r===this[e(397)]){n++;continue}if(r.id===this[e(578)])break;const s=t[e(643)]-r[e(643)]||t[e(460)]-r[e(460)];if(s>0)break;if(s<0)n++;else{if(!t[e(465)]&&r[e(465)])break;if(r[e(465)]||!t[e(465)]){if(t[e(614)]>r[e(614)])break;n++}else n++}}return n}[_n(646)](t){const e=_n,i=this[e(491)][e(638)](t.id);if(t[e(614)]&&(t[e(614)]=new Date(t[e(614)])),t[e(625)]){const i=this[e(617)][e(594)][e(602)](e(376));t[e(498)]=t[e(625)][e(424)]((t=>i[e(483)](t)))}i[e(373)](t,!0)}[_n(364)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(460)],i=null!==i?i:t[n(643)];const r=this[n(562)][n(618)](e,i),s={diffData:r[n(536)],authorsIds:r[n(625)],fromVersion:e,toVersion:i};if(!t||i!==t[n(643)]){const t=i-1,e=this[n(635)][n(621)][n(462)](t);s[n(614)]=e&&e[n(614)]||new Date}if(this[n(355)]&&e===this[n(355)][n(460)])for(const t of this[n(355)][n(498)])s[n(625)][n(387)](t.id)||s[n(625)][n(428)](t.id);return s}[_n(544)](t){const e=_n;if(!t||t[e(536)])return Promise[e(338)]();{const i=this[e(617)][e(484)][e(602)](e(644));return this[e(631)][e(638)]({channelId:i,revisionId:t.id})[e(419)]((i=>{const n=e;t[n(536)]=i[n(536)]}))}}[_n(394)](t,e,i){const n=_n;if(this[n(645)][n(464)](t)){const r=this[n(645)][n(602)](t);e=i?{...r,...e}:{...e,...r}}this[n(645)][n(379)](t,e)}[_n(442)](t){const e=_n,i=this[e(491)][e(447)]();i[e(349)](),i[e(454)]();const n=i[e(410)]((i=>i[e(643)]<=t))[e(643)];return n<this[e(384)]?this[e(384)]:n}[_n(474)](t){const e=_n,i=this[e(491)][e(638)](this[e(491)][e(533)]-1);if(i)this[e(578)]=i.id;else{const i=!this[e(617)][e(433)][e(636)][e(395)][e(410)]((t=>this[e(617)][e(433)][e(528)](t))),n=this[e(617)][e(594)][e(602)](e(376)).me.id,r=Xi(this[e(617)][e(609)],e(i?408:603));this[e(334)]({from:t,to:t,id:this[e(578)],name:r,creatorId:n})}}[_n(505)](t){const e=_n,i=this[e(635)][e(595)]();this[e(397)]=this[e(491)][e(638)](i),this[e(397)]||(this[e(397)]=this[e(334)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(334)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(364)]({from:e,to:i});o[s(471)]=t,o[s(425)]=n,o.id=r;const a=this[s(470)](o);return this[s(631)]&&this[s(394)](o.id,o,!0),a}[_n(335)](){const t=_n;this[t(617)][t(415)][t(573)](t(468))[t(353)]({model:t(540)})}[_n(524)](t){const e=_n;return(t=t[e(588)]((t=>!t[e(471)]||e(503)!==t[e(471)]&&e(392)!==t[e(471)])))[e(485)]((t=>{const i=e;i(585)!=typeof t&&(t[i(439)]=this[i(524)](t[i(439)]),t[i(445)]=t[i(445)][i(588)]((t=>!t[0][i(472)](i(360)))))})),t}}function xn(){const t=["name","startsWith","_isAttached","_createInitialRevision","createPositionAt","afterInit","revisionHistoryLicenseKeyValid","split","updateRevisions","_createFromRanges","_idsRoots","initial","getUser","config","forEach","tableCell","range","add","_makeModelFromViewString","some","repository","_isInit","editing","element","changeRootAttribute","parse","_handleMarkerOperation","authors","getTransformedByOperation","revisionHistoryLicenseKeyNotAllowed","_replaceEditorDataWithRevisionData","isReady","revision-start","path","_createCurrentRevision","vid_end","dataToMarker","toView","PendingActions","RealTimeCollaborationClient","isOfficialPlugin","marked","_processRootBeforeSave","_saveMetaData","insertions","from","_handleMergeOperation","deletions","isEqual","revisionHistoryLicenseKeyEvaluationLimit","createRevision","affectsData","end","_removeRevisionMarkers","processor","_lastTo","baseVersion","hasContent","revisionHistoryLicenseKeyUsageLimit","item","getChild","position","length","initialData","merge","diffData","_markChanges","_lastFrom","addRevision","revision","trialLimit","_handleOperation","_execute","_loadRevisionData","PENDING_ACTION_REVISION_HISTORY","nodes","_transformMarkers","offsetSize","toModel","createRange","_applyOperations","RevisionHistory","getAncestors","featureNotAllowed","source","_licenseKeyCheckInterval","reInit","_getBaseVids","revisionHistoryLicenseKeyExpired","sort","loadState","_revisionDataBuilder","bind","move","_appendChild","view","_clone","_touched","revision:","licenseKey","_generateTape","documentFragment","for","_makeIdsRoot","9chcfbl","_continueCurrentRevision","_diffRoots","_initialRevisionId","nodeAfter","_handleSplitOperation","stickiness","keepParagraph","2601210MIWobM","getRootNames","string","452346WgxQTb","toData","filter","_touchedMarkers","update","graveyardPosition","howMany","getOperations","plugins","getCurrentRevisionId","_baseRoots","setSource","key","_getVidAttributeName","_copyMarkers","saveRevision","get","Initial revision","init","isAttached","createPositionAfter","isPremiumPlugin","vid_start","locale","slice","$text","insertion","getRevisionRootsAttributes","createdAt","getWalker","usageLimit","editor","getData","getAttributes","7253435hvmzpu","history","childCount","expired","addRoot","authorsIds","attributesAfter","_removePendingAction","_baseIdsRoots","createPositionBefore","_setAttribute","adapter","getMovedRangeStart","stringify","keys","_source","document","_prepareViewToSave","getRevision","_isPendingUpdate","getRange","_handleInsertOperation","_operations","toVersion","collaboration.channelId","_bufferedUpdates","setRevisionData","_getPreviousFrom","_reset","_getState","type","_fixPosition","createPositionFromPath","evaluationLimit","getChildren","_makeRevision","_setConversion","sendBufferedUpdates","previousPosition","resolve","RevisionTracker","_diffRootsAttributes","destroy","NEGATIVE_INFINITY","590912sdlcVF","9DxEHLP","rootsAttributes","elementEnd","RevisionsRepository","clone","reverse","values","reinsert","14766456EubisD","markerToData","getLatestVersion","_loadedStateData","clear","parent","trim","insertionPosition","data-revision-","getIndex","_fixOperation","_savedMetaData","buildRevisionData","_authorId","_loadState","marker","sourcePosition","splitPosition","isAdd","21xLrsFg","paragraph","_update","_getViewJson","_cloneOperation","Users","_markers","root","set","editor-initial-data-replaced-with-revision-data","newRange","delete","_touchedRoots","_startingVersion","_baseRootsAttributes","domainLimit","includes","_showLicenseError","revisionHistoryLicenseKeyInvalid","revisionHistoryLicenseKeyTrialLimit","useFillerType","revision-end","revisionHistory.resumeUnsavedRevision","_bufferUpdate","roots","_startingRevisionId","currentRevision","attachChange","offset","getNodeByPath","189245celnYw","isEnabled","removeRootAttribute","getAttribute","revisionHistoryLicenseKeyDomainLimit","getRevisionDocumentData","pluginName","Empty document","detachRoot","find","rootName","max","targetPosition","size","conversion","text","version","_revisionId","then","_fixRange","requires","_handleMoveOperation","ready","map","creatorId","getRoot","getTime","push","vid","createRangeIn","_insertChild","invalid","model","insert","upcast","$graveyard","default","_calculateMetaData","children","start","elementStart","_getFromVersion","userId","remove","attributes","newValue","getRevisions","fromEntries","1381166UAHAjq","markers","attributesBefore","_handleRootAttributeOperation","finally","shift","_pendingAction","deletion","_addPendingAction","_findInsertionIndex","addRootAttribute","fromVersion","data","getOperation","_removeMetaData","has","creator","define","oldRange","dataDowncast","_handleRootOperation","addRevisionData"];return(xn=function(){return t})()}function Tn(t,e){const i=_n,n=e[i(493)][i(566)][i(636)];if(i(585)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(439)][i(424)]((t=>Tn(t,e)));return new(Sn[t[i(329)]]||Yi.ViewElement)(n,t[i(471)],t[i(445)],r)}}class An{constructor(t){const e=_n;this[e(617)]=t,this[e(363)]=new Map,this[e(538)]=-1,this[e(526)]=-1,this[e(377)]=new Map,this[e(577)]=new Map,this[e(340)]=new Map,this[e(596)]=new Map,this[e(385)]=new Map,this[e(481)]=new Map,this[e(628)]=new Map,this[e(568)]=new Map,this[e(589)]=new Map,this[e(383)]=new Map,this[e(418)]=1}[_n(604)](t){const e=_n;this[e(555)]=t;const i=new Map,n=new Map,r=this[e(617)][e(433)][e(636)][e(395)][e(424)]((t=>t[e(411)]));for(const t of r){const r=this[e(617)][e(433)][e(636)][e(426)](t),s=Nn(r);i[e(379)](t,s),n[e(379)](t,Object[e(448)](r[e(619)]()))}const s=Array[e(516)](this[e(617)][e(433)][e(450)])[e(424)]((t=>[t[e(471)],t[e(640)]()])),o=this[e(555)][e(417)];this[e(514)](o,i,s,n),this[e(396)]=this[e(418)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(379)](t,i),c[e(379)](t,{})}this[e(514)](Number[e(342)],a,[],c)}[_n(618)](t,e){const i=_n;if(this[i(538)]===t&&this[i(526)]<=e)this[i(363)][i(414)]>1&&this[i(463)](this[i(526)]),this[i(551)](this[i(526)],e,!0);else{if(!this[i(363)][i(464)](t)){const e=this[i(326)](t);this[i(438)](e,t,!1)}this[i(438)](t,e,!0)}return this[i(538)]=t,this[i(526)]=e,this[i(328)]()}[_n(561)](t){const e=_n;this[e(327)](),this[e(538)]=t[e(460)],this[e(526)]=t[e(643)];for(const i in t[e(536)]){const n=t[e(536)][i][e(398)],r=vi(t[e(536)][i][e(451)])||{},s=this[e(489)](t[e(536)][i][e(518)]);s[e(411)]=i,s[e(473)]=!n||!n[e(605)],s[e(605)]=()=>s[e(473)],this[e(596)][e(379)](i,s),this[e(385)][e(379)](i,r),n&&this[e(383)][e(379)](i,n);const o=this[e(574)](s);this[e(628)][e(379)](i,o);for(const[t,i]of s[e(450)]){if(!t[e(472)](e(569)))continue;const n=t[e(478)](":")[2];for(const t of i[e(615)]({singleCharacters:!0})){const i=this[e(599)](t),r=e(346)==t[e(329)]?t[e(337)][e(504)][e(610)](0,-1):t[e(337)][e(504)],s=o[e(400)](r)[e(404)](i);this[e(568)][e(379)](s,{userId:n})}}}this[e(396)]=this[e(418)];const i=[...Array(this[e(418)])[e(634)]()][e(610)](1)[e(588)]((t=>!this[e(568)][e(464)](t)));let n=0;const r=new Map;for(const s in t[e(536)]){const o=t[e(536)][s][e(398)],a=vi(t[e(536)][s][e(626)])||{},c=this[e(489)](t[e(536)][s][e(515)]);c[e(411)]=s,c[e(473)]=!o||o[e(605)],c[e(605)]=()=>c[e(473)],this[e(577)][e(379)](s,c),this[e(340)][e(379)](s,a);const u=this[e(574)](c,Number[e(342)]);this[e(481)][e(379)](s,u),r[e(379)](s,c[e(605)]()?a:{});for(const[t,i]of c[e(450)]){if(!t[e(472)](e(569)))continue;const n=t[e(478)](":")[2];for(const t of i[e(615)]({singleCharacters:!0})){const i=this[e(599)](t),r=this[e(418)]++,s=e(346)==t[e(329)]?t[e(337)][e(504)][e(610)](0,-1):t[e(337)][e(504)];u[e(400)](s)[e(630)](i,r),this[e(568)][e(379)](r,{userId:n})}}for(const t of this[e(617)][e(433)][e(430)](c)[e(615)]({singleCharacters:!0})){const r=this[e(599)](t),s=e(346)==t[e(329)]?t[e(337)][e(504)][e(610)](0,-1):t[e(337)][e(504)],o=u[e(400)](s);o[e(404)](r)>0||o[e(630)](r,i[n++])}for(const[t,i]of c[e(450)])t[e(472)](e(569))||this[e(377)][e(379)](t,i)}const s=Rn(e(436));this[e(596)][e(379)](e(436),s),this[e(628)][e(379)](e(436),this[e(574)](s,1));const o=Rn(e(436));this[e(577)][e(379)](e(436),o),this[e(481)][e(379)](e(436),this[e(574)](o,1));const a=Array[e(516)](this[e(577)])[e(424)]((([t,e])=>[t,Nn(e)]));this[e(514)](this[e(526)],a,this[e(377)],r)}[_n(489)](t){const e=_n,i=JSON[e(496)](t),n=this[e(617)][e(493)][e(566)][e(636)],r=new Yi.ViewDocumentFragment(n,i[e(424)]((t=>Tn(t,this[e(617)]))));return this[e(617)][e(461)][e(549)](r)}[_n(514)](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(379)](t,{start:e[r(440)][r(348)](),end:e[r(523)][r(348)](),rootName:e[r(378)][r(411)]});this[r(363)][r(379)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(463)](t){const e=_n;this[e(363)][e(382)](t)}[_n(557)](){const t=_n;this[t(327)](),this[t(538)]=-1,this[t(526)]=-1,this[t(363)][t(356)](),this[t(604)](this[t(555)])}[_n(327)](){const t=_n;this[t(568)][t(356)](),this[t(589)][t(356)](),this[t(383)][t(356)](),this[t(577)][t(356)](),this[t(340)][t(356)](),this[t(596)][t(356)](),this[t(385)][t(356)](),this[t(481)][t(356)](),this[t(628)][t(356)](),this[t(377)][t(356)](),this[t(418)]=1,this[t(396)]=this[t(418)]}[_n(574)](t,e=null){const i=_n;let n=null;t.is(i(572))||(n=new Yi.Element(t[i(471)],{vid_start:null===e?this[i(418)]++:e++}));const r=[];for(const n of t[i(333)]())if(n.is(i(494))){r[i(428)](this[i(574)](n,e));const t=r[r[i(533)]-1];null!==e&&(e=t.is(i(494),i(611))?t[i(404)](i(429))+1:t[i(404)](i(506))+1)}else for(let t=0;t<n[i(548)];t++)r[i(428)](new Yi.Element(i(611),{vid:null===e?this[i(418)]++:e++}));if(t.is(i(572))){const e=Rn(t[i(411)]);return e[i(431)](0,r),e}return n[i(630)](i(506),null===e?this[i(418)]++:e++),n[i(431)](0,r),n}[_n(438)](t,e,i){const n=_n;this[n(327)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(363)][n(602)](t);this[n(596)]=new Map(r),this[n(385)]=new Map(vi(o));for(const[t,e]of this[n(596)])if(n(436)!==t&&(this[n(577)][n(379)](t,Nn(e)),this[n(340)]=new Map(vi(o)),i)){const i=this[n(418)];this[n(481)][n(379)](t,this[n(574)](e)),this[n(628)][n(379)](t,this[n(574)](e,i))}this[n(396)]=this[n(418)],this[n(577)][n(379)](n(436),Nn(this[n(596)][n(602)](n(436)))),i&&this[n(481)][n(379)](n(436),this[n(574)](this[n(596)][n(602)](n(436))));for(const[t,e]of s){const i=this[n(596)][n(602)](e[n(411)]),r=this[n(577)][n(602)](e[n(411)]),s=new Yi.Range(this[n(330)](e[n(440)],i),this[n(330)](e[n(523)],i)),o=this[n(420)](s,r);i[n(450)][n(379)](t,s),this[n(377)][n(379)](t,o)}this[n(551)](t,e,i)}[_n(551)](t,e,i){const n=_n;for(const r of this[n(555)][n(593)](t,e))this[n(542)](r,i);for(const t of this[n(577)][n(350)]())t[n(450)][n(356)]();for(const[t,e]of this[n(377)])this[n(577)][n(602)](e[n(378)][n(411)])[n(450)][n(379)](t,e[n(348)]());const r=new Map,s=new Map;for(const[t,e]of this[n(577)])r[n(379)](t,Nn(e)),s[n(379)](t,this[n(340)][n(602)](t));this[n(514)](e,r,this[n(377)],s)}[_n(326)](t){const e=_n,i=Array[e(516)](this[e(363)][e(634)]());i[e(560)](((t,e)=>t-e)),i[e(349)]();for(const e of i)if(e<t)return e;return Number[e(342)]}[_n(600)](t,e){const i=_n,n=Array[i(516)](e[i(450)])[i(424)]((([e,n])=>[e,this[i(420)](n,t)]));t[i(450)]=new Map(n)}[_n(547)](t){const e=_n;for(const i of this[e(377)][e(350)]()){const n=i[e(499)](t),r=Yi.Range[e(480)](n);i[e(440)]=r[e(440)],i[e(523)]=r[e(523)]}}[_n(542)](t,e){const i=_n;if(i(624)!=t[i(329)]&&i(409)!=t[i(329)]){if(i(434)==t[i(329)]){const n=t[i(532)][i(378)][i(411)];this[i(577)][i(464)](n)||(this[i(577)][i(379)](n,Rn(n,!0)),this[i(340)][i(379)](n,{}),e&&this[i(481)][i(379)](n,Rn(n,!0)))}else{if(i(459)==t[i(329)]||i(403)==t[i(329)]||i(495)==t[i(329)])return void this[i(452)](t);i(367)==t[i(329)]&&this[i(497)](t)}if(i(367)!==t[i(329)]){const e=this[i(375)](t,this[i(577)]);e[i(543)](),this[i(547)](e)}if(e)switch(t[i(329)]){case i(434):this[i(641)](t);break;case i(564):case i(444):case i(351):this[i(422)](t);break;case i(535):this[i(517)](t);break;case i(478):this[i(580)](t)}}else this[i(469)](t,e)}[_n(375)](t,e){const i=_n,n=t[i(348)]();return n[i(365)]=t[i(365)],this[i(362)](n,e),n}[_n(558)](t){const e=_n;return t[e(424)]((t=>{const i=e,n=this[i(599)](t);return Number(t[i(530)][i(404)](n))}))}[_n(571)](t,e){const i=_n;if(t.is(i(494),i(611)))e[i(428)]({item:t,type:i(416)});else{t.is(i(494))&&e[i(428)]({item:t,type:i(441)});for(const n of t[i(333)]())this[i(571)](n,e);t.is(i(494))&&e[i(428)]({item:t,type:i(346)})}return e}[_n(328)](){const t=_n,e=new Map(this[t(568)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(596)][t(634)](),...this[t(577)][t(634)]()]);a[t(382)](t(436));for(const e of a){const i=this[t(577)][t(602)](e)||Rn(e,!1),n=this[t(596)][t(602)](e)||Rn(e,!1);i[t(605)]()||n[t(605)]()?(r[t(515)][e]=Nn(i),r[t(518)][e]=Nn(n),this[t(600)](r[t(518)][e],n),this[t(600)](r[t(515)][e],i),s[t(515)][e]=this[t(571)](this[t(481)][t(602)](e),[]),s[t(518)][e]=this[t(571)](this[t(628)][t(602)](e)||Rn(e,!1),[])):a[t(382)](e)}for(const r of a){const o=s[t(515)][r];for(const r of o){const s=this[t(599)](r),o=r[t(530)][t(404)](s);i[t(382)](o),o>=this[t(396)]&&n[t(379)](o,e[t(602)](o))}}for(const r of a){const a=s[t(515)][r],c=this[t(558)](s[t(518)][r]);let u=0;for(const r of a){const s=this[t(599)](r),a=r[t(530)][t(404)](s);if(!n[t(464)](a)&&!o[t(464)](a))if(i[t(464)](a))u++;else{if(a!=c[u]){const n=e[t(602)](a)||e[t(602)](c[u]);for(;a!=c[u];)i[t(464)](c[u])||(o[t(379)](c[u],n),e[t(379)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(515)][e];for(const e of r){const r=this[t(599)](e),s=e[t(530)][t(404)](r);if(o[t(464)](s)){const e=o[t(602)](s);i[t(464)](s)||i[t(379)](s,{...e}),n[t(379)](s,{...e})}}}for(const e of i[t(634)]())e>=this[t(396)]&&i[t(382)](e);const c=new Map;for(const e of a){let r=s[t(515)][e];for(const e of r)if(e[t(530)].is(t(494),t(486))){const i=this[t(599)](e),r=e[t(530)][t(404)](i);if(n[t(464)](r)){const i=e[t(530)][t(357)][t(357)][t(404)](t(608)),s=c[t(602)](i)||new Set;s[t(488)](n[t(602)](r)[t(443)]),c[t(379)](i,s)}}r=s[t(518)][e];for(const e of r)if(e[t(530)].is(t(494),t(486))){const n=this[t(599)](e),r=e[t(530)][t(404)](n);if(i[t(464)](r)){const n=e[t(530)][t(357)][t(357)][t(404)](t(608)),s=c[t(602)](n)||new Set;s[t(488)](i[t(602)](r)[t(443)]),c[t(379)](n,s)}}for(const e of c[t(634)]())(n[t(464)](e)||i[t(464)](e))&&c[t(382)](e)}for(const e of a){const r=s[t(515)][e];let o=null,a=null;for(const e of r){const r=this[t(599)](e),s=e[t(530)][t(404)](r),u=c[t(602)](s);u&&t(441)==e[t(329)]&&(o=Array[t(516)](u)[0],a=e[t(530)][t(404)](t(506))),o&&(i[t(379)](s,{userId:o}),n[t(379)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(518)][e],a=r[t(515)][e];for(const{userId:e}of this[t(589)][t(350)]())null!==e&&l[t(488)](e);for(const{userId:e}of this[t(383)][t(350)]())null!==e&&l[t(488)](e);this[t(537)](a,s[t(515)][e],n,t(612),l),this[t(537)](o,s[t(518)][e],i,t(456),l),u[e]={insertions:this[t(637)](a),deletions:this[t(637)](o),attachChange:this[t(383)][t(602)](e)||null,attributesBefore:vi(this[t(385)][t(602)](e))||{},attributesAfter:vi(this[t(340)][t(602)](e))}}return{diffData:u,authorsIds:Array[t(516)](l)}}[_n(513)](t){const e=_n;for(const[,i]of t[e(450)]){const t=i[e(440)][e(553)]()[e(588)]((t=>e(486)==t[e(471)]));for(const i of t)1==i[e(622)]&&i[e(531)](0).is(e(494),e(372))&&i[e(531)](0)[e(630)](e(582),!0)}}[_n(637)](t){const e=_n;this[e(513)](t);const i=this[e(617)][e(461)][e(508)](t,{}),n=Array[e(516)](i[e(333)]())[e(424)]((t=>this[e(374)](t)));return JSON[e(633)](n)}[_n(374)](t){const e=_n;if(t.is(e(611)))return t[e(461)];{const i=t;return{type:Object[e(634)](Sn)[e(410)]((e=>t instanceof Sn[e])),name:i[e(471)],attributes:Array[e(516)](i[e(619)]()),children:Array[e(516)](i[e(333)]())[e(424)]((t=>this[e(374)](t)))}}}[_n(537)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(617)][s(433)];for(let n=0;n<e[s(533)];n++){const r=this[s(599)](e[n]),c=e[n][s(530)][s(404)](r),h=i[s(602)](c),d=n==e[s(533)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(443)]!=o[s(443)])&&(l(h,Mn(a,t,u),Mn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Mn(a,t,u),En(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(443)],d=l(569)+n+":"+h+":"+c++,f=u[l(550)](i,a);t[l(450)][l(379)](d,f),null!==h&&r[l(488)](h)}}[_n(599)](t){const e=_n;switch(t[e(329)]){case e(441):return e(608);case e(346):return e(506);default:return e(429)}}[_n(362)](t,e){const i=_n;t[i(527)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(602)](r[i(378)][i(411)]);t[n]=this[i(330)](r,s)}if(r instanceof Yi.Range){const s=e[i(602)](r[i(378)][i(411)]);t[n]=this[i(420)](r,s)}i(378)===n&&(t[i(378)]=e[i(602)](t[i(378)][i(411)]))}}[_n(420)](t,e){const i=_n;return this[i(617)][i(433)][i(550)](this[i(330)](t[i(440)],e),this[i(330)](t[i(523)],e))}[_n(330)](t,e){const i=_n;return this[i(617)][i(433)][i(331)](e,t[i(504)],t[i(581)])}[_n(641)](t){const e=_n,i=this[e(481)][e(602)](t[e(532)][e(378)][e(411)]),n=this[e(330)](t[e(532)],i),r=null===t[e(365)]?null:t[e(365)]||this[e(617)][e(594)][e(602)](e(376)).me.id,s=n[e(357)],o=this[e(418)],a=[];for(const i of t[e(546)])if(i.is(e(494)))a[e(428)](this[e(574)](i));else for(let t=0;t<i[e(548)];t++)a[e(428)](new Yi.Element(e(611),{vid:this[e(418)]++}));const c=this[e(418)];for(let t=o;t<c;t++)this[e(568)][e(379)](t,{userId:r});s[e(431)](n[e(399)],a)}[_n(422)](t){const e=_n;(t=this[e(375)](t,this[e(481)]))[e(543)]();const i=null===t[e(365)]?null:t[e(365)]||this[e(617)][e(594)][e(602)](e(376)).me.id,n=t[e(632)](),r=n[e(357)],s=n[e(399)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(531)](e);s.is(a(494),a(611))?n[a(379)](s[a(404)](a(429)),{userId:i}):(n[a(379)](s[a(404)](a(608)),{userId:i}),t(n,s,0,s[a(622)]),n[a(379)](s[a(404)](a(506)),{userId:i}))}}(this[e(568)],r,s,s+t[e(592)])}[_n(517)](t){const e=_n,i=null===(t=this[e(375)](t,this[e(481)]))[e(365)]?null:t[e(365)]||this[e(617)][e(594)][e(602)](e(376)).me.id,n=t[e(413)][e(357)],r=t[e(368)][e(357)],s=n[e(404)](e(506)),o=r[e(404)](e(608));n[e(630)](e(506),r[e(404)](e(506))),r[e(630)](e(506),s),this[e(568)][e(379)](o,{userId:i}),this[e(568)][e(379)](s,{userId:i}),t[e(543)]()}[_n(580)](t){const e=_n,i=null===(t=this[e(375)](t,this[e(481)]))[e(365)]?null:t[e(365)]||this[e(617)][e(594)][e(602)](e(376)).me.id,n=t[e(591)],r=t[e(369)][e(357)];t[e(543)]();const s=r[e(404)](e(506)),o=t[e(359)][e(579)];if(n){const t=o[e(404)](e(506)),n=r[e(404)](e(506));r[e(630)](e(506),t),o[e(630)](e(506),n),this[e(568)][e(379)](r[e(404)](e(506)),{userId:i}),this[e(568)][e(379)](o[e(404)](e(608)),{userId:i})}else{const t=this[e(418)]++,n=this[e(418)]++;r[e(630)](e(506),t),o[e(630)](e(608),n),o[e(630)](e(506),s),this[e(568)][e(379)](t,{userId:i}),this[e(568)][e(379)](n,{userId:i})}}[_n(497)](t){const e=_n;if(!t[e(522)])return;const i=(t=this[e(375)](t,this[e(577)]))[e(467)]?t[e(467)][e(378)]:null,n=t[e(381)]?t[e(381)][e(378)]:null;i&&this[e(377)][e(382)](t[e(471)]),n&&this[e(377)][e(379)](t[e(471)],t[e(381)][e(348)]());const r=null===t[e(365)]?null:t[e(365)]||this[e(617)][e(594)][e(602)](e(376)).me.id,s=t[e(471)];if(!this[e(589)][e(464)](s))return void this[e(589)][e(379)](s,{range:t[e(467)],userId:r});const o=this[e(589)][e(602)](s),a=o[e(487)],c=t[e(381)];null==a&&null==c||a&&c&&a[e(519)](c)?this[e(589)][e(382)](t[e(471)]):o[e(443)]=r}[_n(469)](t,e){const i=_n;this[i(577)][i(464)](t[i(411)])?this[i(577)][i(602)](t[i(411)])[i(473)]=t[i(370)]:(this[i(577)][i(379)](t[i(411)],Rn(t[i(411)],!0)),this[i(340)][i(379)](t[i(411)],{}),e&&this[i(481)][i(379)](t[i(411)],Rn(t[i(411)],!0)));const n=null===t[i(365)]?null:t[i(365)]||this[i(617)][i(594)][i(602)](i(376)).me.id,r=this[i(383)][i(602)](t[i(411)]);r&&r[i(443)]===n?this[i(383)][i(382)](t[i(411)]):this[i(383)][i(379)](t[i(411)],{userId:n,isAttached:t[i(370)]})}[_n(452)](t){const e=_n,i=this[e(340)][e(602)](t[e(378)][e(411)]);null===t[e(446)]?delete i[t[e(598)]]:i[t[e(598)]]=t[e(446)]}}function Nn(t){const e=_n,i=Rn(t[e(411)],t[e(605)]());for(const n of t[e(333)]()){const t=n[e(567)](!0);i[e(565)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(411)]=t,n[i(473)]=e,n[i(605)]=()=>n[i(473)],n}function Mn(t,e,i){const n=_n,r=n(346)==t[n(329)]?i[n(475)](t[n(530)],n(523)):i[n(629)](t[n(530)]);return i[n(331)](e,r[n(504)],r[n(581)])}function En(t,e,i){const n=_n,r=n(441)==t[n(329)]?i[n(475)](t[n(530)],0):i[n(606)](t[n(530)]);return i[n(331)](e,r[n(504)],r[n(581)])}var Vn=i(311),Dn=i(673),jn=i.n(Dn),Cn=i(545),Fn=i.n(Cn),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();jn()(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();jn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Jn(){const t=["revisionName","ck-responsive-form","revisionNameInputValue","9pVAaPh","focus","label","2975280JOASSP","arrowleft","fieldView","1928312dVcjOm","168409enhsBc","12tyUdNl","trim","4SeAtAd","Name of the revision","locale","setTemplate","value","extendTemplate","arrowright","arrowdown","reset","keystrokes","revisionNameInputView","arrowup","220","2669855ZqlOjk","_createRevisionNameInput","674600JEHHPo","errorText","set","add","optional","focusTracker","ck-revision-history-save-revision-form","47590GAwRkQ","input","stopPropagation","form","listenTo","element","render","2085234jtDqDi"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=446]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(356120===parseInt(e(462))/1+parseInt(e(487))/2*(-parseInt(e(463))/3)+parseInt(e(465))/4*(parseInt(e(478))/5)+parseInt(e(451))/6+-parseInt(e(458))/7+-parseInt(e(461))/8+-parseInt(e(455))/9*(-parseInt(e(480))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends Vn.View{constructor(e,i){const n=Gn;super(e),this[n(485)]=new t.FocusTracker,this[n(474)]=new t.KeystrokeHandler,this[n(482)](n(454),""),this[n(475)]=this[n(479)](i),this[n(468)]({tag:n(447),attributes:{class:["ck",n(486),n(453)],tabindex:"-1"},children:[this[n(475)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Yn(450)](){const t=Yn;super[t(450)](),(0,Vn.submitHandler)({view:this}),this[t(485)][t(483)](this[t(475)][t(449)]),this[t(474)][t(448)](this[t(449)]);const e=e=>e[t(446)]();this[t(474)][t(482)](t(471),e),this[t(474)][t(482)](t(459),e),this[t(474)][t(482)](t(476),e),this[t(474)][t(482)](t(472),e)}[Yn(456)](){const t=Yn;this[t(475)][t(456)]()}get[Yn(452)](){const t=Yn;return this[t(475)][t(460)][t(449)][t(469)][t(464)]()}set[Yn(452)](t){const e=Yn;this[e(475)][e(460)][e(449)][e(469)]=t[e(464)]()}[Yn(473)](){const t=Yn;this[t(475)][t(460)][t(449)][t(469)]="",this[t(475)][t(481)]=null}[Yn(479)](t){const e=Yn,i=new Vn.LabeledFieldView(this[e(467)],Vn.createLabeledInputText),n=i[e(460)];n[e(470)]({attributes:{maxlength:e(477)}});let r=Xi(this[e(467)],e(466));return!t&&(r+=" ("+Xi(this[e(467)],e(484))+")"),i[e(457)]=r,n.on(e(488),(()=>{const t=e;this[t(454)]=n[t(449)][t(469)][t(464)]()})),i}}const Qn=Xn;function Xn(t,e){const i=tr();return(Xn=function(t,e){return i[t-=316]})(t,e)}function tr(){const t=["plugins","ck-button-action","focus","Dialog","The revision name cannot be empty.","RevisionTracker","buttonView","revisionHistory","addMany","RevisionHistoryUI","menuBar:revisionHistory","Save current revision","Accept","6232950cUtcXM","panelView","history","showRevisionViewerCallback","reset","30738hdVdRA","267116EojSQS","errorText","_registerMenuComponent","_showDialog","saveRevision","delegate","revisionSave","children","config","items","isReadOnly","menu","locale","9BLsSzB","Revision history","requires","bind","revisionName","add","2191fTbZbe","2100256VLyXIp","2429030TBPkGe","_createSaveRevisionFormView","role","submit","Open revision history","Cancel","set","1314124wXcyAT","show","render","revisionHistory.requireRevisionName","editing","isOfficialPlugin","view","componentFactory","isReady","get","revisionNameInputView","init","menuitem","editor","18127980MhjaMD","_saveRevisionFormView","isEnabled","pluginName","isPremiumPlugin","hide","4IsHKCg","execute","isOpen"];return(tr=function(){return t})()}!function(t){const e=Xn,i=t();for(;;)try{if(813300===parseInt(e(334))/1*(parseInt(e(356))/2)+parseInt(e(369))/3*(parseInt(e(384))/4)+-parseInt(e(377))/5+-parseInt(e(355))/6*(parseInt(e(375))/7)+parseInt(e(376))/8+-parseInt(e(350))/9+parseInt(e(328))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Qn(331)](){return Qn(346)}static get[Qn(319)](){return!0}static get[Qn(332)](){return!0}static get[Qn(371)](){return[On]}[Qn(325)](){const t=Qn,e=this[t(327)],i=e[t(337)][t(323)](t(342));e.ui[t(321)][t(374)](t(344),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(351)][r(363)],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(372)](r(330)).to(i,r(322),i,r(330),e,r(366),((t,e,i)=>t&&e&&!i)),s[r(343)][r(383)]({icon:qi.icons[r(352)],label:Xi(n,r(370)),tooltip:!0}),u[r(383)]({label:Xi(n,r(348)),withText:!0,role:r(326)}),u[r(372)](r(330)).to(i,r(322),i,r(330),e,r(366),((t,e,i)=>t&&e&&!i)),u.on(r(335),(()=>this[r(359)]())),h[r(383)]({label:Xi(n,r(381)),withText:!0,role:r(326)}),h[r(372)](r(330)).to(i,r(322),e,r(366),((t,e)=>t&&!e)),h.on(r(335),(()=>{const t=r;e[t(364)][t(323)](t(344))[t(353)](),s[t(336)]=!1,e[t(318)][t(320)][t(339)]()})),c[r(363)][r(374)](u),l[r(363)][r(374)](h),a[r(379)]=r(367),a[r(365)][r(345)]([c,l]),o[r(374)](a),s})),e.ui[t(321)][t(374)](t(347),(()=>this[t(358)]()))}[Qn(358)](){const t=Qn,e=this[t(327)],i=e[t(368)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(343)][t(383)]({icon:qi.icons[t(352)],label:Xi(i,t(370))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(383)]({label:Xi(i,t(348))}),o[t(361)](t(335)).to(n),o.on(t(335),(()=>{this[t(359)]()})),s[t(363)][t(374)](o),r[t(365)][t(374)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(383)]({label:Xi(i,t(381))}),c[t(361)](t(335)).to(n),c.on(t(335),(()=>{const i=t;e[i(364)][i(323)](i(344))[i(353)]()})),a[t(363)][t(374)](c),r[t(365)][t(374)](a),n[t(351)][t(363)][t(374)](r),n}[Qn(359)](){const t=Qn,e=this[t(327)],i=e[t(368)],n=e[t(337)][t(323)](t(340)),r=e[t(337)][t(323)](t(342));function s(r){const s=t;e[s(364)][s(323)](s(317))&&""===r[s(373)]?r[s(324)][s(357)]=Xi(i,s(341)):(e[s(337)][s(323)](On)[s(360)]({name:r[s(373)]}),n[s(333)]())}this[t(329)]||(this[t(378)](),this[t(329)].on(t(380),(()=>s(this[t(329)])))),this[t(329)][t(354)](),n[t(385)]({id:t(362),title:Xi(i,t(348)),isModal:!0,content:this[t(329)],actionButtons:[{label:Xi(e[t(368)],t(382)),withText:!0,onExecute:()=>n[t(333)]()},{label:Xi(e[t(368)],t(349)),class:t(338),withText:!0,onCreate(i){const n=t;i[n(372)](n(330)).to(r,n(322),r,n(330),e,n(366),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(329)])}]})}[Qn(378)](){const t=Qn,e=this[t(327)],i=e[t(368)];this[t(329)]=new Kn(i,e[t(364)][t(323)](t(317))),this[t(329)][t(316)]()}}const ir=rr;function nr(){const t=["ck-revision-change__","4339500mdvryS","author","setTemplate","10aBWEvn","104jznWRF","ck-annotation","focus","div","Removed by","29240MMllvH","data","120648vMJdcf","575196PGiYYs","180627nwZeQC","changeId","14wHkQTF","isSuggestion","type","name","add","Suggested by","span","set","_model","ck-revision-change__label","ck-revision-change","32966pnKjNS","element","Added by","bindTemplate","22230DJgXmR"];return(nr=function(){return t})()}function rr(t,e){const i=nr();return(rr=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(106209===-parseInt(e(342))/1+-parseInt(e(325))/2+-parseInt(e(329))/3+-parseInt(e(327))/4*(parseInt(e(319))/5)+parseInt(e(328))/6*(-parseInt(e(331))/7)+parseInt(e(320))/8*(parseInt(e(346))/9)+parseInt(e(316))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends Vn.View{constructor(t,e){const i=rr;super(t),this[i(339)]=e,this[i(330)]=e.id;const n=this[i(345)],r=Xi(t,e[i(326)][i(332)]?i(336):i(335)==e[i(333)]?i(344):i(324));this[i(338)](i(333),e[i(333)]),this[i(318)]({tag:i(323),attributes:{class:[i(321),i(341),n.to(i(333),(t=>i(347)+t))],tabindex:-1},children:[{tag:i(337),children:[{tag:i(337),attributes:{class:[i(340)]},children:[{text:r}]},{text:" "+e[i(317)][i(334)]}]}]})}[ir(322)](){const t=ir;this[t(343)][t(322)]()}}var or=cr;function ar(){var t=["toJSON","2939526rDOTcg","set","38706KvDggU","4aLwWwu","14gAvnjE","1755npzfMb","148740FoBPBn","75GLeOci","98450aPNHsQ","930448SjByXy","type","585AiGWfR","1704XKvWPj","author","1427799gpfYws","319wjeTTW","rootName","data","createdAt"];return(ar=function(){return t})()}function cr(t,e){var i=ar();return(cr=function(t,e){return i[t-=436]})(t,e)}!function(t){for(var e=cr,i=t();;)try{if(416230===parseInt(e(447))/1*(-parseInt(e(448))/2)+parseInt(e(450))/3*(-parseInt(e(439))/4)+parseInt(e(443))/5*(parseInt(e(438))/6)+-parseInt(e(440))/7*(-parseInt(e(445))/8)+-parseInt(e(436))/9+parseInt(e(444))/10*(-parseInt(e(451))/11)+parseInt(e(442))/12*(parseInt(e(441))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ar);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=cr;super(),this.id=e.id||(0,t.uid)(),this[i(449)]=e[i(449)],this[i(446)]=e[i(446)],this[i(453)]=e[i(453)]||{},this[i(452)]=e[i(452)],this[i(437)](i(454),e[i(454)])}[or(455)](){var t=or;return{id:this.id,authorId:this[t(449)].id,type:this[t(446)],data:this[t(453)],createdAt:this[t(454)]}}}const lr=hr;function hr(t,e){const i=dr();return(hr=function(t,e){return i[t-=193]})(t,e)}function dr(){const t=["add","newRevisionId","1135fEdkyy","oldRevisionId","7YKEZxL","_setChanges","55PNidZN","5597991jAQHcW","1875860QfYdib","2238QPnteh","16vSuCjD","6441156rxonzY","changes","963505iLkFDw","340557YUCKNa","5424840aRXGAg","4WefKnI"];return(dr=function(){return t})()}!function(t){const e=hr,i=t();for(;;)try{if(692915===-parseInt(e(199))/1*(-parseInt(e(206))/2)+-parseInt(e(194))/3*(parseInt(e(196))/4)+parseInt(e(193))/5+parseInt(e(208))/6*(parseInt(e(201))/7)+-parseInt(e(207))/8*(parseInt(e(204))/9)+-parseInt(e(205))/10*(parseInt(e(203))/11)+parseInt(e(195))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=hr;this[n(198)]=e,this[n(200)]=i,this[n(209)]=new t.Collection}[lr(202)](t){const e=lr;for(const i of t)this[e(209)][e(197)](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();jn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=kr;function yr(){const t=["isAtEnd","nextSibling","change:isEnabled","getLaterVisibleRevision","offsetSize","isCollapsed","index","type","vid_end","upcast","test","item","start","revision","shift","markerNameToElements","ck-suggestion-preview-marker","_getViewForChange","_markSuggestions","isBefore","checkAttribute","WidgetToolbarRepository","nodeAfter","error","change:activeView","length","_setChanges","1456292PtyuxB","mousedown","ck-suggestion-marker--active","high","code","activeView","collaboration.channelId","isNavigationMode","isRemoveSuggestion","plugins","revision:","2616732hGyuPm","pluginName","getAttributes","ck-revision-history-root-add","deletions","slice","execute","revision-viewer","markerName","8463bADuEU","showStack","_removeRevisionMarkers","getAttribute","wrap","_makeModelFromViewString","isAtStart","done","reconvertMarker","bindElementToMarker","getChild","init","mouseover","previousPosition","isLimit","object","_getChangeFromId","diffData","isRemoved","isAfter","name","_makeModelFromTape","end","_joinTapes","listenTo","toViewPosition","addRevision","_threeWayMerge","_revisions","_balloon","then","keys","_removeUnsupportedChanges","vid_start","addMarker:revision-suggestion:deletion","_update","POSITIVE_INFINITY","flat","side","enableReadOnlyMode","first","resolve","isReady","for","sort","values","merge","element:pre","2513jHMbDR","showNextChange","data","startsWith","isAddSuggestion","modelRange","userId","clear","restoreRevision","concat","editor","domEvent","locale","_cleanUp","_cleanMarkers","revisionHistory","left","markers","observeMarkers","rootName","compare","removeMarker","getClientRects","destroy","revision-end","10TLqvLe","refresh","_getDiff","revisionHistoryAttachChange","catch","markerRange","consume","_refreshStartEndIndex","revision-suggestion:","addRoot","change:numberOfChanges","252XmQJHj","enqueueChange","get","createUIElement","attachChange","isAdded","markerToHighlight","unshift","delete","changes","removeMarker:revision-suggestion","level","isInline","getCustomProperty","createPositionFromPath","addClass","attributes","createRangeIn","findIndex","isPremiumPlugin","changeId","abs","_appendChild","isOfficialPlugin","comment","mapViewToDom","createPositionBefore","_data","_step","-new","authors","ck-suggestion-marker-","toData","target","markerToData","roots","downcastDispatcher","_changeView","hasAttribute","highest","RevisionViewer","ck-suggestion-preview-marker-","dataDowncast","addRevisionData","toModel","revision-start","activeChange","insertions","parse","removeClass","conversion","suggestion:","indexOf","addMarker:revision","oldRevisionId","attributesBefore","ck-suggestion-marker-split","markersStart","config","forward","bottom","_setDistance","updatePosition","toViewElement","restoreRevisionCallback","text","schema","getRevisionRootsAttributes","getRoot","numberOfChanges","loadRevisionData","removeMarker:revision","revision-comment:","isEnabled","map","softBreak","setAttribute","change","hasClass","range","revision-suggestion","right","newRevisionId","endIndex","viewItem","2098100EfLLDb","showPreviousChange","filter","affectsData","addMarker:revision-suggestion:insertion","processor","_markInsertions","next","return","_getViewObj","ck-revision-history-root-","ck-suggestion-marker","commands","parent","top","marked","attributesAfter","change:isReady","remove","editing","from","toViewRange","getRevisionData","_fixObsoleteTags","getItems","default","detachRoot","_processTape","forceDisabled","find","_getRevisionsRange","uiElement","isSuggestion","attribute:vid","has","set","_removeMissingPairs","_initInteractions","_setConversion","markersEnd","_activeViewTarget","backward","data-revision-","pop","addHighlight","deletion","adapter","createRevision","isAttached","revisionHistoryLabel","push","view","getRevision","nextPosition","removeAttribute","getIndex","elementToAttribute","createAttributeElement","model","isIncorrect","_markMarkers","stop","useFillerType","getWalker","_findChangeIdFromDomTarget","suggestion","RevisionsRepository","getDomRoot","element","_makeTape","split","_markMismatchedRemovedTags","startIndex","includes","pairId","maxOffset","ck-revision-history-root-remove","isEqual","add","change:activeChange","isBlock","currentChangeNumber","editingDowncast","selection","low","splice","ck-editor__editable__overlay","insertion","document","ck-suggestion-marker-merge","isObject","9992BbjsNh","isOnRoot","diff","elementStart","children","insert","_sortAndFilterDiffChanges","createRange","mapper","ck-revision-history-root--active","getRootNames","all","forEach","requires","isContent","_changeIdToChange","unbindElementFromMarkerName","writer","consumable","dataToMarker","11237481AwPAJZ","data-change-id","repository","bind","string","distance","vid","elementEnd","span","domConverter","536787xMkhrj"];return(yr=function(){return t})()}!function(t){const e=kr,i=t();for(;;)try{if(827710===parseInt(e(366))/1+parseInt(e(394))/2+parseInt(e(414))/3*(parseInt(e(498))/4)+-parseInt(e(487))/5*(-parseInt(e(405))/6)+-parseInt(e(462))/7*(parseInt(e(336))/8)+-parseInt(e(356))/9+parseInt(e(245))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yr);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};function kr(t,e){const i=yr();return(kr=function(t,e){return i[t-=221]})(t,e)}class br extends qi.Plugin{static get[vr(406)](){return vr(538)}static get[vr(521)](){return!0}static get[vr(517)](){return!0}static get[vr(349)](){return[Bi.Users,Vn.ContextualBalloon,Qi]}constructor(t){const e=vr;super(t),this[e(358)]=this[e(472)][e(403)][e(500)](e(311)),this[e(280)](e(544),null),this[e(280)](e(399),null),this[e(285)]=null,this[e(280)](e(338),null),this[e(280)](e(456),!1),this[e(280)](e(233),!0),this.on(e(369),((t,i,n)=>{const r=e;this[r(544)]=null,this[r(399)]=null,this[r(472)][r(264)][r(296)][r(237)]((t=>{const e=r;for(const i of this[e(472)][e(264)][e(296)][e(333)][e(533)])n?t[e(547)](e(331),i):t[e(513)](e(331),i)}))})),this[e(359)](e(401)).to(this,e(544),(t=>null!==t)),this[e(359)](e(326)).to(this,e(456),this,e(338),this,e(544),((t,i,n)=>t&&n?i[e(507)][e(300)](n):0)),this[e(359)](e(229)).to(this,e(456),this,e(338),((t,i)=>t?i[e(507)][e(392)]:0)),this[e(535)]=null,this[e(351)]=new Map,this[e(291)]=null,this[e(443)]=this[e(472)][e(403)][e(500)](Vn.ContextualBalloon)}[vr(425)](){const t=vr,e=this[t(472)],i=new Ir(e,{direction:t(286)}),n=new Ir(e,{direction:t(557)});e[t(257)][t(323)](t(246),i),e[t(257)][t(323)](t(463),n),e[t(257)][t(323)](t(470),new _r(e)),this.on(t(497),(()=>{const e=t;i[e(488)](),n[e(488)]()})),this[t(283)](),this[t(282)](),e[t(453)](t(412)),e[t(403)][t(279)](t(388))&&e[t(403)][t(500)](t(388))[t(273)](t(412))}async[vr(267)](t){const e=vr;await this[e(230)](t);const i={};for(const n in t[e(431)]){if(t[e(431)][n][e(502)]&&!t[e(431)][n][e(502)][e(293)])continue;const r=this[e(416)](JSON[e(546)](t[e(431)][n][e(545)])),s=this[e(472)][e(264)][e(296)][e(333)],o=new Yi.ViewDocumentFragment(s,r[e(234)]((t=>this[e(254)](t))));this[e(472)][e(464)][e(250)][e(307)](e(260)),i[n]=this[e(472)][e(464)][e(250)][e(530)](o),this[e(472)][e(464)][e(250)][e(307)](e(270))}return i}async[vr(227)](t){const e=vr;await this[e(230)](t);const i={};for(const n in t[e(431)])t[e(431)][n][e(502)]&&!t[e(431)][n][e(502)][e(293)]||(i[n]=t[e(431)][n][e(261)]||{});return i}[vr(416)](t){const e=vr;return(t=t[e(247)]((t=>!t[e(434)]||e(543)!==t[e(434)]&&e(486)!==t[e(434)])))[e(348)]((t=>{const i=e;i(360)!=typeof t&&(t[i(340)]=this[i(416)](t[i(340)]),t[i(514)]=t[i(514)][i(247)]((t=>!t[0][i(465)](i(287)))))})),t}async[vr(482)](t,e,i=!1){const n=vr;if(!this[n(233)])return;const r=this[n(338)],s=this[n(358)],o=n(360)==typeof t?s[n(297)](t):t,a=n(360)==typeof e?s[n(297)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(338)]&&this[n(338)][n(242)]===c&&this[n(338)][n(552)]===u)return Promise[n(455)]();this[n(456)]=!1,this[n(399)]=null,this[n(544)]=null,this[n(338)]=new fr(c,u);const l=this[n(275)](o,a,!0)[n(234)]((t=>this[n(230)](t)));return l[n(295)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(347)](l)[n(444)]((()=>{const t=n;if(!this[t(233)])return;this[t(475)]();const e=this[t(489)](c,u);for(const i of e[t(507)])this[t(351)][t(280)](i.id,i);this[t(472)][t(303)][t(499)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(472)][n(303)][n(333)][n(346)]())i[n(271)](t);for(const t of Object[n(445)](e[n(303)])){const r=i[n(496)](t);for(const s of Object[n(445)](e[n(514)][t]))i[n(236)](s,e[n(514)][t][s],r);i[n(341)](e[n(303)][t],r,0)}})),this[t(338)][t(393)](this[t(342)](e[t(507)])),this[t(456)]=!0}))[n(491)]((t=>{const e=n;console[e(390)](t),this[e(475)](),r&&(this[e(338)]=r),this[e(456)]=!0}))}[vr(541)](t,e){const i=vr,n=this[i(358)][i(292)](t);return n.on(i(449),((t,i,r)=>e(i,r,n))),this[i(358)][i(440)](n),n}[vr(230)](t){const e=vr;if(!t||t[e(431)])return Promise[e(455)]();{const i=this[e(472)][e(556)][e(500)](e(400));return this[e(291)][e(297)]({channelId:i,revisionId:t.id})[e(444)]((i=>{const n=e;t[n(449)]({diffData:i[n(431)]},!0)}))}}[vr(475)](){const t=vr;this[t(544)]=null,this[t(476)](),this[t(535)]&&this[t(535)][t(485)](),this[t(535)]=null,this[t(351)][t(469)](),this[t(472)][t(303)][t(499)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(472)][i(303)][i(333)][i(346)]())e[i(271)](t)}))}[vr(342)](t){const e=vr,i=[],n=new Map;for(const t of this[e(472)][e(303)][e(333)][e(346)]()){const r=this[e(472)][e(264)][e(296)][e(312)](t);if(!r)continue;const s=r[e(484)]()[e(378)](0);s&&(i[e(295)](t),n[e(280)](t,s))}return i[e(458)](((t,i)=>{const r=e,s=n[r(500)](t),o=n[r(500)](i);return s.y-o.y||s.x-o.x})),(t=t[e(247)]((t=>i[e(318)](t[e(481)]))))[e(458)](((t,n)=>i[e(550)](t[e(481)])-i[e(550)](n[e(481)]))),t}[vr(314)](t){const e=vr,i=Array[e(265)](t[e(479)])[e(247)]((([t,i])=>t[e(465)](e(404))&&!i[e(372)])),n=Array[e(265)](this[e(472)][e(303)][e(515)](t)[e(308)]({singleCharacters:!0}));if(0!=i[e(392)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(315)](":");if(r[e(436)][e(322)](t[e(298)])&&i[e(381)](),(t[e(427)][e(322)](r[e(379)])||t[e(427)][e(433)](r[e(379)]))&&(e(332)==s?t[e(503)]={userId:o}:e(290)==s&&(t[e(432)]={userId:o})),0==i[e(392)])break}return n}[vr(494)](t){const e=vr,i=new Map;for(let n=0;n<t[e(392)];n++)e(225)===t[n][e(374)]?(t[n][e(378)][e(317)]=n,t[n][e(378)][e(243)]=n):(e(339)===t[n][e(374)]?t[n][e(378)][e(317)]=n:e(363)===t[n][e(374)]&&(t[n][e(378)][e(243)]=n),i[e(280)](t[n].id,n));for(const n of i[e(459)]())e(339)===t[n][e(374)]?t[n][e(378)][e(243)]=i[e(500)](t[n][e(319)]):e(363)===t[n][e(374)]&&(t[n][e(378)][e(317)]=i[e(500)](t[n][e(319)]))}[vr(272)](t){const e=vr;for(let i=0;i<t[e(392)];i++){if(e(339)===t[i][e(374)])t[i][e(378)][e(317)]=i;else if(e(363)===t[i][e(374)]){t[i][e(378)][e(243)]=i;const n=t[i][e(378)][e(317)];t[n][e(319)]=t[i].id,t[i][e(319)]=t[n].id}else t[i][e(378)][e(317)]=i,t[i][e(378)][e(243)]=i,t[i][e(319)]=null;t[i][e(555)]||(t[i][e(555)]=[],t[i][e(284)]=[])}}[vr(251)](t,e){const i=vr,n=t[i(247)]((t=>!t[i(503)]));for(let t=0;t<e[i(392)];t++)e[t][i(503)]&&(n[t][i(503)]=e[t][i(503)])}[vr(419)](t){const e=vr,i=JSON[e(546)](t),n=this[e(472)][e(264)][e(296)][e(333)],r=new Yi.ViewDocumentFragment(n,i[e(234)]((t=>this[e(254)](t))));return this[e(472)][e(464)][e(542)](r)}[vr(254)](t){const e=vr,i=this[e(472)][e(264)][e(296)][e(333)];if(e(360)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(340)][e(234)]((t=>this[e(254)](t)));return new(gr[t[e(374)]]||Yi.ViewElement)(i,t[e(434)],t[e(514)],n)}}[vr(489)](t,e=null){const i=vr,n=this[i(358)][i(297)](t),r=e?this[i(358)][i(297)](e):null,s=this[i(275)](n,r),o=s[s[i(392)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(392)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(445)](e[i(431)]))if(e[i(431)][t][i(502)]){const n=e[i(431)][t][i(502)];n[i(293)]?(u[i(323)](t),l[i(279)](t)&&l[i(500)](t)[i(468)]==n[i(468)]?l[i(506)](t):l[i(280)](t,n)):l[i(279)](t)?(u[i(506)](t),l[i(506)](t)):(u[i(323)](t),l[i(280)](t,n))}else u[i(323)](t)}for(const t of u){const e=l[i(279)](t)&&!l[i(500)](t)[i(293)];let n=e?s[i(392)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(431)][t]){const n=e?o[i(431)][t][i(553)]:o[i(431)][t][i(261)];c[i(514)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(303)]={};for(const e of t[i(528)])a[i(280)](e.id,e);for(const e of u){const n=t[i(431)][e]?t[i(431)][e][i(545)]:"[]",r=t[i(431)][e]?t[i(431)][e][i(409)]:"[]";t[i(303)][e]={insertions:this[i(419)](n),deletions:this[i(419)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(265)](n[i(303)][t][i(545)][i(479)])[i(247)]((([t])=>!t[i(465)](i(404)))));let h=0;for(const o of s){const s=this[i(314)](o[i(303)][t][i(545)]);o==n?(e=s,r=e[i(392)],e[i(348)]((t=>{t.id=h++})),this[i(272)](e)):this[i(251)](e,s);const a=e[i(247)]((t=>!t[i(503)]))[i(234)]((t=>t.id));let c=0;const l=this[i(314)](o[i(303)][t][i(409)]);l[i(348)]((t=>{t[i(432)]?t.id=r++:t.id=a[c++]})),this[i(272)](l),this[i(221)](e,i(503)),this[i(221)](l,i(432)),o==n&&this[i(305)](e,u),e=this[i(437)](e,l),this[i(494)](e),this[i(221)](e,i(432))}e=e[i(247)]((t=>!(t[i(503)]&&t[i(432)])));const d=new Map(o[i(303)][t][i(409)][i(479)]),f=new Set(u[i(445)]());for(const t of d[i(445)]())f[i(506)](t);this[i(385)](e,f),this[i(268)](e),e=this[i(281)](e),e=this[i(316)](e),e=this[i(446)](e);const{root:m,changes:p}=this[i(435)](e,a,t);c[i(303)][t]=m;const v=l[i(500)](t);if(v){const e=a[i(500)](v[i(468)]),n=new ur({author:e,type:v[i(293)]?i(323):i(263),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(505)](n),c[i(514)][t][i(490)]=n.id}c[i(507)]=c[i(507)][i(471)](p)}return c}[vr(305)](t,e){const i=vr;for(let n=0;n<t[i(392)];n++)for(const[r,s]of e)s[i(379)][i(322)](t[n][i(427)])&&t[n][i(555)][i(295)](r),s[i(436)][i(322)](t[n][i(298)])&&t[n][i(284)][i(295)](r)}[vr(437)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(392)]||s<e[i(392)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(295)](o);else if(a[i(432)]&&o[i(503)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(441)](t,r,e,s);n=n[i(471)](o),r=a,s=c}else a[i(432)]?(s++,n[i(295)](a)):(r++,n[i(295)](o))}return n}[vr(385)](t,e){const i=vr,n=[];for(let o=0;o<t[i(392)];o++){for(let s=0;s<t[o][i(555)][i(392)];s++){const a=t[o][i(555)][s];if(!e[i(279)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(240)!=c||i(332)!=u&&i(290)!=u||(n[i(505)]({type:u,name:a,userId:l}),t[o][i(555)][i(330)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(284)][i(392)];s++){const a=t[o][i(284)][s];if(!e[i(279)](a))continue;const{group:c,type:u}=r(a);if(i(240)!=c||i(332)!=u&&i(290)!=u)continue;t[o][i(284)][i(330)](s,1),s--;const l=n[i(516)]((t=>t[i(434)]==a));l>-1&&n[i(330)](l,1)}}function r(t){const e=i,n=t[e(315)](":");return{group:n[0],type:n[1],subType:n[e(392)]>=5?n[2]:null,id:n[e(392)]<5?n[2]:n[3],authorId:n[e(392)]<5?n[3]:n[4],markerCount:6==n[e(392)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(392)];i++){if(t[e(503)]&&e(332)==n[i][e(374)])return t[e(466)]=n[i],void delete t[e(503)];if(!t[e(503)]&&!t[e(432)]&&e(290)==n[i][e(374)])return void(t[e(402)]=n[i])}}}[vr(221)](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(280)](o.id,n);for(let n=0;n<t[i(392)];n++){if(i(432)==e&&t[n][i(503)]||i(503)==e&&t[n][i(432)])continue;if(i(225)==t[n][i(374)]){t[n][i(361)]=0;continue}const r=s[i(500)](t[n][i(319)]),o=s[i(500)](t[n].id);t[n][i(361)]=r-o}}[vr(275)](t,e,i=!1){const n=vr,r=[];let s=this[n(358)][n(300)](t),o=this[n(358)][n(300)](e);for(-1==o&&(o=this[n(358)][n(442)][n(392)],i=!1);s<o;)r[n(295)](this[n(358)][n(297)](s)),s++;return i&&r[n(295)](this[n(358)][n(297)](s)),r}[vr(441)](t,e,i,n){const r=vr,s=this[r(472)][r(303)][r(226)];let o=e;for(;t[o]&&t[o][r(503)];)o++;let a=n;for(;i[a]&&i[a][r(432)];)a++;u(t,e,o),u(i,n,a);const c=i[r(410)](n,a)[r(471)](t[r(410)](e,o));return c[r(458)](((t,e)=>t[r(452)]!=e[r(452)]?t[r(452)]-e[r(452)]:t[r(509)]!=e[r(509)]?t[r(509)]-e[r(509)]:t[r(361)]!=e[r(361)]?e[r(361)]-t[r(361)]:!!t[r(503)]!=!!e[r(503)]?-1==t[r(452)]||0==t[r(452)]?t[r(503)]?-1:1:t[r(503)]?1:-1:t[r(373)]-e[r(373)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(450)],c=!0;for(let r=e;r<i;r++)if(s[n(510)](t[r][n(378)])||(c=!1),t[r][n(378)][n(317)]<e&&(o=r),t[r][n(378)][n(243)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(452)]=r<=o?-1:r<a?0:1,t[r][n(373)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(361)]?t[i][n(509)]=u:(u++,t[i][n(509)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(452)]&&(t[r][n(509)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(361)]?t[e][n(509)]=u:(u--,t[e][n(509)]=u,u--)}}[vr(268)](t){const e=vr,i=new Map,n=this[e(472)][e(303)][e(226)];for(let r=1;r<t[e(392)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(225)==c[e(374)])continue;if(c[e(374)]!=u[e(374)])continue;if(!n[e(325)](u[e(378)])||n[e(428)](u[e(378)]))continue;if(!n[e(325)](c[e(378)])||n[e(428)](c[e(378)]))continue;if((t[r][e(503)]||t[r][e(466)])&&t[r-1][e(432)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(432)]||!t[r-1][e(503)]&&!t[r-1][e(466)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(509)]==o[e(509)],h=Math[e(519)](s[e(509)])<Math[e(519)](o[e(509)])&&0==o[e(361)];(l||h)&&(i[e(280)](o.id,s.id),t[e(330)](a,1),r--,s[e(503)]=!1)}for(let n=0;n<t[e(392)];n++)i[e(279)](t[n][e(319)])&&(t[n][e(319)]=i[e(500)](t[n][e(319)]))}[vr(281)](t){const e=vr,i=new Set(t[e(234)]((t=>t.id)));for(let n=0;n<t[e(392)];n++)i[e(279)](t[n][e(319)])||0==t[n][e(361)]||(t[n][e(304)]=!0);return t[e(247)]((t=>!t[e(304)]))}[vr(316)](t){const e=vr,i=new Set;for(let n=0;n<t[e(392)];n++){if(i[e(279)](t[n].id)&&t[n][e(432)]&&(t[n][e(304)]=!0),t[n][e(304)])continue;if(0==t[n][e(361)])continue;if(e(339)!=t[n][e(374)])continue;if(null==t[n][e(319)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(319)];)e(339)==t[r][e(374)]?s++:e(363)==t[r][e(374)]&&s--,r++;if(0!=s)if(t[n][e(432)])t[n][e(304)]=!0;else for(;r!=n;)t[r][e(432)]&&0!=t[r][e(361)]&&(t[r][e(304)]=!0,i[e(323)](t[r][e(319)])),r--}return t[e(247)]((t=>!t[e(304)]))}[vr(446)](t){const e=vr,i=this[e(472)][e(303)][e(226)];for(let n=0;n<t[e(392)];n++){if(!(t[n][e(503)]||t[n][e(466)]||t[n][e(432)]||t[n][e(402)]))continue;if(0==t[n][e(361)])continue;const r=t[n][e(378)];i[e(325)](r)||i[e(428)](r)||(t[n][e(503)]&&delete t[n][e(503)],t[n][e(466)]&&delete t[n][e(466)],t[n][e(402)]&&delete t[n][e(402)],t[n][e(432)]&&(t[n][e(304)]=!0))}return t[e(247)]((t=>!t[e(304)]))}[vr(435)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(472)][n(303)],c=a[n(226)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(392)];e++)if(n(339)===t[e][n(374)]){t[e][n(427)]=a[n(512)](r,f);const i=new Yi.Element(t[e][n(378)][n(434)],t[e][n(378)][n(407)]());u[0][n(520)](i),f[n(295)](0),u[n(505)](i),t[e][n(298)]=a[n(512)](r,f)}else n(363)===t[e][n(374)]?(u[n(381)](),t[e][n(427)]=a[n(512)](r,f),f[n(288)](),f[f[n(392)]-1]++,t[e][n(298)]=a[n(512)](r,f)):(t[e][n(427)]=a[n(512)](r,f),d?d[n(525)]+=t[e][n(378)][n(464)]:d=new Yi.Text(t[e][n(378)][n(464)],t[e][n(378)][n(407)]()),t[e+1]&&n(225)===t[e+1][n(374)]&&v(d,t[e+1][n(378)])||(u[0][n(520)](d),d=null),f[f[n(392)]-1]+=t[e][n(378)][n(371)],t[e][n(298)]=a[n(512)](r,f));for(let e=0;e<t[n(392)];e++){const i=t[e][n(427)],r=t[e][n(298)];for(const r of t[e][n(555)])o[n(280)](r,{start:i,end:null});m(n(402),e,i,r),m(n(466),e,i,r),m(n(432),e,i,r),m(n(503),e,i,r);for(const i of t[e][n(284)])o[n(500)](i)[n(436)]=r}for(const[t,e]of o){const i=this[n(472)][n(303)][n(343)](e[n(379)],e[n(436)]);r[n(479)][n(280)](t,i)}return s[n(458)](((t,e)=>{const i=n,s=r[i(479)][i(500)](i(404)+t.id),o=r[i(479)][i(500)](i(404)+e.id);return s[i(379)][i(386)](o[i(379)])?-1:s[i(379)][i(433)](o[i(379)])?1:s[i(436)][i(386)](o[i(436)])?-1:s[i(436)][i(433)](o[i(436)])?1:i(323)===t[i(374)]?-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(468)]:null,d=i===t[o(392)]-1,f=h[e][0],m=c[o(335)](t[i][o(378)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(436)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(468)]!==u&&(l[e][o(436)]=r,f&&f[o(468)]===l[e][o(468)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(339)!==t[i][o(374)]||f&&f[o(468)]===u||h[e][o(505)]({userId:u,object:t[i][o(378)],change:l[e]}),o(363)===t[i][o(374)]&&f&&f[o(429)]===t[i][o(378)]&&(h[e][o(381)](),l[e]=f[o(237)])),l[e]&&d&&(l[e][o(436)]=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(378)],f=a[h(226)][h(325)](d)&&!a[h(226)][h(428)](d),m=t[h(389)]==o[h(258)]&&o[h(420)];if(f&&m)return;const p=a[h(343)](t,o),v=e[h(500)](u),y=new ur({author:v,type:h(503)==l||h(466)==l?h(323):h(263),data:{isSuggestion:h(466)==l||h(402)==l},createdAt:new Date,rootName:i});s[h(295)](y),r[h(479)][h(280)](h(404)+y.id,p)}function v(t,e){const i=n,r=t[i(407)](),s=e[i(407)]();for(const t of r){if(t[1]!==e[i(417)](t[0]))return!1;s[i(252)]()}return s[i(252)]()[i(421)]}}[vr(283)](){const t=vr;this[t(472)][t(548)][t(457)](t(376))[t(355)]({view:t(380)}),this[t(472)][t(548)][t(457)](t(327))[t(504)]({model:t(380),view:e=>{const i=t,n=e[i(413)][i(315)](":")[1],r=this[i(430)](n);if(!r)return null;const s=i(323)==r[i(374)]?i(332):i(290),o=[i(256),i(529)+s];return r[i(464)][i(277)]&&o[i(295)](i(529)+s+i(527)),this[i(544)]==r&&o[i(295)](i(396)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(472)][t(548)][t(457)](t(376))[t(323)]((e=>{const i=t;e.on(i(461),((t,e,n)=>{const r=i,s=e[r(244)][r(424)](0);if(!s||!s.is(r(313),r(398)))return;if(!n[r(354)][r(493)](s,{attributes:[r(447),r(375)]}))return;const o=e[r(467)][r(379)][r(389)];n[r(353)][r(236)](r(447),s[r(417)](r(447)),o),n[r(353)][r(236)](r(375),s[r(417)](r(375)),o)}),{priority:i(329)})})),this[t(472)][t(548)][t(457)](t(376))[t(323)]((e=>{const i=t;e.on(i(313),((t,e,n)=>{const r=i;if(!n[r(354)][r(493)](e[r(244)],{attributes:[r(447),r(375)]}))return;if(e[r(467)][r(372)])return;const s=e[r(467)][r(379)][r(389)];s[r(536)](r(447))||s[r(536)](r(362))||(n[r(353)][r(236)](r(447),e[r(244)][r(417)](r(447)),s),n[r(353)][r(236)](r(375),e[r(244)][r(417)](r(375)),s))}),{priority:i(329)})})),this[t(472)][t(548)][t(457)](t(376))[t(301)]({view:{name:t(364),attributes:{vid:!0}},model:{key:t(362),value:e=>e[t(417)](t(362))}}),this[t(472)][t(303)][t(226)].on(t(387),((e,[,i])=>{const n=t;[n(447),n(375),n(362)][n(318)](i)&&(e[n(253)]=!0,e[n(306)]())}),{priority:t(537)}),this[t(472)][t(548)][t(457)](t(540))[t(323)]((e=>{const i=t;e.on(i(278),((t,e,n)=>{const r=i;if(" "!=e[r(378)][r(464)]||e[r(378)][r(258)][r(320)]>1)return;if(!n[r(354)][r(493)](e[r(378)],t[r(434)]))return;const s=n[r(353)],o=n[r(344)][r(266)](e[r(239)]);s[r(418)](o,s[r(302)](r(364)))}))})),this[t(472)][t(548)][t(457)](t(540))[t(532)]({model:t(380)}),this[t(472)][t(264)][t(534)].on(t(551),function(e){const i=t,n=e[i(403)][i(500)](i(538));return(t,r,s)=>{const o=i,a=r[o(413)][o(315)](":")[1],c=n[o(430)](a);if(!c)return null;const u=o(323)==c[o(374)]?o(315):o(460);if(!s[o(354)][o(377)](r[o(492)],t[o(434)]))return;const l=r[o(492)][o(308)](),h=r[o(492)][o(379)],d=e[o(303)][o(226)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(378)];p=p||d[o(350)](e);const i=s[o(344)][o(223)](e);if(i&&i[o(511)](o(289)))return;o(363)==t[o(374)]&&d[o(325)](e)&&!d[o(428)](e)&&(e[o(368)]||h[o(367)]?f&&f[o(258)]==e||(f=e,y(t[o(427)]),v=!0):m=m||t[o(427)])}function y(t){const e=o,i=s[e(353)][e(501)](e(364),{class:e(529)+u}),a=s[e(344)][e(439)](t);c[e(464)][e(277)]&&s[e(353)][e(513)](e(529)+u+e(527),i),n[e(544)]==c&&s[e(353)][e(513)](e(396),i),s[e(353)][e(341)](a,i),s[e(344)][e(423)](i,r[e(413)])}p||v||!m||y(m)}}(this[t(472)]),{priority:t(397)}),this[t(472)][t(264)][t(534)].on(t(231),((e,i,n)=>{const r=t,s=n[r(344)][r(382)](i[r(413)]);if(s)for(const t of s)(t[r(238)](r(554))||t[r(238)](r(334)))&&(n[r(344)][r(352)](t,i[r(413)]),n[r(353)][r(263)](t))}),{priority:t(397)}),this[t(472)][t(264)][t(534)].on(t(551),((e,i,n)=>{const r=t,s=i[r(413)][r(315)](":")[1],o=this[r(430)](s);if(!o)return null;const a=r(323)==o[r(374)]?r(315):r(460);if(n[r(354)][r(377)](i[r(492)],e[r(434)]))for(const t of i[r(492)][r(269)]()){if(!t.is(r(313),r(235)))continue;const e=n[r(353)][r(501)](r(364),{class:r(529)+a}),s=n[r(344)][r(439)](this[r(472)][r(303)][r(524)](t));o[r(464)][r(277)]&&n[r(353)][r(513)](r(529)+a+r(527),e),this[r(544)]==o&&n[r(353)][r(513)](r(396),e),n[r(353)][r(341)](s,e),n[r(344)][r(423)](e,i[r(413)])}}),{priority:t(397)}),this[t(472)][t(303)][t(333)].on(t(237),(()=>{const e=t;this[e(472)][e(264)][e(296)][e(237)]((t=>{const i=e;for(const e of this[i(472)][i(303)][i(333)][i(346)]()){const n=this[i(472)][i(303)][i(333)][i(228)](e),r=this[i(472)][i(264)][i(296)][i(333)][i(228)](e);if(r){const e=n[i(417)](i(490));if(t[i(299)](i(357),r),t[i(547)](i(408),r),t[i(547)](i(321),r),t[i(547)](i(345),r),e){const n=this[i(430)](e);if(!n)return null;t[i(236)](i(357),e,r),t[i(513)](i(255)+n[i(374)],r),this[i(544)]==n&&t[i(513)](i(345),r)}}}}))})),this[t(472)][t(548)][t(457)](t(376))[t(355)]({view:t(522),model:e=>t(232)+e,converterPriority:t(537)}),this[t(472)][t(548)][t(457)](t(376))[t(355)]({view:t(310),model:e=>t(495)+e,converterPriority:t(537)}),this[t(472)][t(548)][t(457)](t(540))[t(532)]({model:t(240),view:e=>({name:t(549)+e,group:t(240)}),converterPriority:t(537)}),this[t(472)][t(548)][t(457)](t(327))[t(504)]({model:t(240),view:e=>{const i=t,n=e[i(413)][i(315)](":")[1];return i(332)!=n&&i(290)!=n?null:{classes:[i(383),i(539)+n]}}}),this[t(472)][t(264)][t(534)].on(t(448),wr(this[t(472)],t(460)),{priority:t(397)}),this[t(472)][t(264)][t(534)].on(t(249),wr(this[t(472)],t(315)),{priority:t(397)}),this[t(472)][t(264)][t(534)].on(t(508),((e,i,n)=>{const r=t,s=n[r(344)][r(382)](i[r(413)]);if(s)for(const t of s)t.is(r(276))&&(n[r(344)][r(352)](t,i[r(413)]),n[r(353)][r(263)](t))}),{priority:t(397)})}[vr(430)](t){const e=vr;return this[e(351)][e(500)](t)}[vr(384)](t){const e=vr;return this[e(535)]&&this[e(535)][e(485)](),this[e(535)]=new sr(this[e(472)][e(474)],t),this[e(535)]}[vr(282)](){const t=vr;this[t(472)][t(303)][t(333)][t(328)][t(480)](t(380)),this.on(t(391),((e,i,n,r)=>{const s=t;r&&this[s(443)][s(263)](r),n&&(this[s(443)][s(323)]({view:n,stackId:s(294),position:{target:()=>{const t=s,e=this[t(472)][t(264)],i=this[t(430)](n[t(518)]);let r;if(i[t(464)][t(337)]){const n=e[t(296)][t(312)](i[t(481)]);r=Array[t(265)](n[t(484)]())}else{const i=this[t(472)][t(303)][t(479)][t(500)](t(404)+n[t(518)]);r=Array[t(265)](e[t(344)][t(382)](i[t(434)]))[t(234)]((i=>e[t(296)][t(365)][t(523)](i)))[t(234)]((e=>Array[t(265)](e[t(484)]())))[t(451)]()}return this[t(285)]&&r[t(274)]((e=>e[t(259)]-3<=this[t(285)].y&&e[t(558)]+3>=this[t(285)].y&&e[t(478)]-3<=this[t(285)].x&&e[t(241)]+3>=this[t(285)].x))||r[0]}}}),this[s(443)][s(415)](s(294)))})),this.on(t(324),((e,i,n,r)=>{const s=t;this[s(399)]=n?this[s(384)](n):null,this[s(472)][s(303)][s(237)]((()=>{const t=s,e=this[t(472)][t(264)];r&&(r[t(464)][t(337)]?e[t(296)][t(237)]((i=>{const n=t;i[n(547)](n(345),e[n(296)][n(333)][n(228)](r[n(481)]))})):e[t(422)](t(404)+r.id)),n&&(n[t(464)][t(337)]?e[t(296)][t(237)]((i=>{const r=t;i[r(513)](r(345),e[r(296)][r(333)][r(228)](n[r(481)]))})):e[t(422)](t(404)+n.id))}))})),this[t(438)](this[t(472)][t(264)][t(296)][t(333)],t(426),((e,i)=>{const n=t;if(this[n(544)])return;const r=this[n(309)](i[n(531)]),s=this[n(351)][n(500)](r);s?(this[n(285)]={x:i[n(473)].x,y:i[n(473)].y},this[n(399)]=this[n(384)](s)):(this[n(285)]=null,this[n(399)]=null)})),this[t(438)](this[t(472)][t(264)][t(296)][t(333)],t(395),((e,i)=>{const n=t,r=this[n(309)](i[n(531)]),s=this[n(351)][n(500)](r);s?(this[n(285)]={x:i[n(473)].x,y:i[n(473)].y},s===this[n(544)]?this[n(443)][n(222)]():this[n(544)]=s):(this[n(285)]=null,this[n(544)]=null)}))}[vr(309)](t){const e=vr;do{const i=t[e(417)](e(357));if(i)return i;t=t[e(258)]}while(t);return null}[vr(476)](){const t=vr;this[t(472)][t(303)][t(237)]((e=>{const i=t;for(const t of this[i(472)][i(303)][i(479)])e[i(483)](t)}))}}function wr(t,e){return(i,n,r)=>{const s=kr;if(!r[s(354)][s(377)](n[s(492)],i[s(434)]))return;const o=n[s(492)][s(308)](),a=n[s(492)][s(379)],c=t[s(303)][s(226)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(378)];h=h||c[s(350)](e);const i=r[s(344)][s(223)](e);if(i&&i[s(511)](s(289)))return;s(363)==t[s(374)]&&c[s(325)](e)&&!c[s(428)](e)&&(e[s(368)]||a[s(367)]?u&&u[s(258)]==e||(u=e,f(t[s(427)]),d=!0):l=l||t[s(427)])}function f(t){const i=s,o=r[i(344)][i(439)](t),a=r[i(353)][i(501)](i(364),{class:i(539)+e});r[i(353)][i(341)](o,a),r[i(344)][i(423)](a,n[i(413)])}h||d||!l||f(l)}}class _r extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(403)][e(500)](br);this[e(248)]=!1,this[e(438)](i,e(262),(()=>this[e(488)]())),this[e(438)](i,e(369),(()=>this[e(488)]()))}[vr(411)](){const t=vr,e=this[t(472)],i=e[t(403)][t(500)](br),n=i[t(456)]?i[t(338)][t(242)]:null;e[t(556)][t(500)](t(477))[t(224)](n)}[vr(488)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(472)][t(403)][t(500)](br),s=r&&n[t(370)](r[t(242)]);this[t(233)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(403)][i(500)](br);this[i(248)]=!1,this[i(526)]=i(557)===e?1:-1,this[i(438)](n,i(262),(()=>this[i(488)]())),this[i(438)](n,i(369),(()=>this[i(488)]())),this[i(438)](n,i(324),(()=>this[i(488)]()))}[vr(411)](){const e=vr,i=this[e(472)],n=i[e(403)][e(500)](br),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(544)]=r?n[e(338)][e(507)][e(500)](s+this[e(526)]):n[e(338)][e(507)][e(454)],n[e(544)][e(464)][e(337)])o=i[e(264)][e(296)][e(312)](n[e(544)][e(481)]);else{const t=i[e(303)][e(479)][e(500)](e(404)+n[e(544)].id);o=(0,Bi.getMarkerDomElement)(i[e(264)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(488)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(472)][t(403)][t(500)](br);this[t(233)]=!!(s&&r&&n)&&(!e||(1===this[t(526)]?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();jn()(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-=101]})(t,e)}function Tr(){const t=["backward","isBackwardNavigationEnabled","bind","ck-hidden","forward","isNavigationMode","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__label","isEnabled","71kjbwFO","1253795euNPTm","_statusText","59169MQTFUM","Show previous change","X_OF_Y_CHANGES","ck-revision-history-ui","currentChangeNumber","execute","div","Loading...","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","setTemplate","NUMBER_OF_CHANGES","4158112YQIryL","EDIT_X_OF_Y_REVISIONS","6153301rUItRA","fire","span","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","6810540RbyVtU","2604537QMDFWY","set","Total","No changes","17660IjvfyH","numberOfChanges","8JaILEB","isReady","ck-revision-history-ui__changes-navigation","Show next change","40FmOVlI"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(583046===-parseInt(e(124))/1*(parseInt(e(108))/2)+parseInt(e(127))/3*(parseInt(e(110))/4)+-parseInt(e(125))/5+-parseInt(e(103))/6+parseInt(e(141))/7+parseInt(e(139))/8+-parseInt(e(104))/9*(-parseInt(e(114))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Ar extends Vn.View{constructor(t){const e=xr;super(t);const i=this[e(102)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(105)](e(120),!1),this[e(105)](e(111),!1),this[e(105)](e(131),0),this[e(105)](e(109),0),this[e(105)](e(135),!1),this[e(105)](e(116),!1),this[e(117)](e(121)).to(this,e(111),this,e(109),((t,e)=>t&&e>0)),this[e(117)](e(126)).to(this,e(111),this,e(131),this,e(109),this,e(120),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(134));if(!r)return Xi(t,o(107));const a=Xi(t,o(138),r);return s?Xi(t,o(129),[n+1,r]):a})),n[e(105)]({label:Xi(t,e(128)),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(105)]({label:Xi(t,e(113)),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(117)](e(123)).to(this,e(116)),r[e(117)](e(123)).to(this,e(135)),n.on(e(132),(()=>this[e(142)](e(132),e(115)))),r.on(e(132),(()=>this[e(142)](e(132),e(119)))),this[e(137)]({tag:e(133),attributes:{class:["ck",e(130),e(112)]},children:[{tag:e(143),attributes:{class:[e(136)]},children:[{tag:e(143),attributes:{class:[e(122),i.if(e(121),e(118),(t=>!t))]},children:[{text:i.to(e(120),(i=>i?Xi(t,e(140))+": ":Xi(t,e(106))+": "))}]},{text:i.to(e(126))}]},new Vn.ToolbarSeparatorView,{tag:e(133),attributes:{class:[e(101)]},children:[n,r]}]})}}var Nr=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Hn();jn()(Nr.A,Rr);Nr.A&&Nr.A.locals&&Nr.A.locals;const Mr=Vr;function Er(){const t=["removeClass","isOfficialPlugin","63419vWozBj","addClass","editing","editor","roots","document","pluginName","1610NFWFBQ","3207306jauwHT","change","view","hide","isPremiumPlugin","3274935FrEMlc","3229960OgkzBH","RevisionViewerLoadingOverlay","show","2277510tVKBLL","ck-editor__editable__loading-overlay","42088PDMwlB","810360OMYssF"];return(Er=function(){return t})()}function Vr(t,e){const i=Er();return(Vr=function(t,e){return i[t-=246]})(t,e)}!function(t){const e=Vr,i=t();for(;;)try{if(600203===parseInt(e(266))/1+-parseInt(e(263))/2+parseInt(e(251))/3+parseInt(e(257))/4+parseInt(e(256))/5+-parseInt(e(260))/6+-parseInt(e(250))/7*(parseInt(e(262))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Mr(261);class jr extends qi.Plugin{static get[Mr(249)](){return Mr(258)}static get[Mr(265)](){return!0}static get[Mr(255)](){return!0}[Mr(259)](){const t=Mr,e=this[t(246)][t(268)][t(253)];e[t(252)]((i=>{const n=t;for(const t of e[n(248)][n(247)])i[n(267)](Dr,t)}))}[Mr(254)](){const t=Mr,e=this[t(246)][t(268)][t(253)];e[t(252)]((i=>{const n=t;for(const t of e[n(248)][n(247)])i[n(264)](Dr,t)}))}}function Cr(){const t=["changesNavigation","get","isOfficialPlugin","revisionHistory","2537955AOLBxd","execute","exitToEditing","ck-revision-history-ui__back-to-editing","commands","restoreRevision","listenTo","56482fDdXgV","hide","bind","862542vPjOEs","785472mseSNs","set","show","isReady","numberOfChanges","isPremiumPlugin","pluginName","init","2Riwvpk","18OFhByH","plugins","2485625flfqZX","982360yscMZm","add","undo","showNextChange","Back to editing","isEnabled","isBackwardNavigationEnabled","closeRevisionViewerCallback","RevisionViewerUI","isForwardNavigationEnabled","config","Restore this revision","componentFactory","4aDsPZg","editor","forward","isNavigationMode","4803970IVoqcr","showPreviousChange","change:isReady","currentChangeNumber","requires"];return(Cr=function(){return t})()}function Fr(t,e){const i=Cr();return(Fr=function(t,e){return i[t-=232]})(t,e)}const Lr=Fr;!function(t){const e=Fr,i=t();for(;;)try{if(251009===-parseInt(e(260))/1*(-parseInt(e(248))/2)+parseInt(e(251))/3*(parseInt(e(277))/4)+parseInt(e(263))/5+parseInt(e(252))/6+parseInt(e(241))/7+-parseInt(e(264))/8+parseInt(e(261))/9*(-parseInt(e(232))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cr);class Pr extends qi.Plugin{static get[Lr(258)](){return Lr(272)}static get[Lr(239)](){return!0}static get[Lr(257)](){return!0}static get[Lr(236)](){return[br,jr]}[Lr(259)](){const t=Lr,e=this[t(278)],i=e[t(262)][t(238)](br),n=e[t(262)][t(238)](jr);e.ui[t(276)][t(265)](t(243),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(253)]({label:Xi(i,n(268)),icon:qi.icons[n(266)],withText:!0,tooltip:!0,class:n(244)}),this[n(247)](r,n(242),(()=>{const t=n;e[t(274)][t(238)](t(240))[t(271)]()})),r})),e.ui[t(276)][t(265)](t(246),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(253)]({label:Xi(i,n(275)),withText:!0,tooltip:!0}),r[n(250)](n(269)).to(e[n(245)][n(238)](n(246))),this[n(247)](r,n(242),(()=>e[n(242)](n(246)))),r})),e.ui[t(276)][t(265)](t(237),(n=>{const r=t,s=new Ar(n),o=e[r(245)][r(238)](r(233)),a=e[r(245)][r(238)](r(267));return s[r(250)](r(270)).to(o,r(269)),s[r(250)](r(273)).to(a,r(269)),s[r(250)](r(255),r(235),r(256),r(280)).to(i),this[r(247)](s,r(242),((t,i)=>{const n=r;e[n(242)](n(279)===i?n(267):n(233))})),s})),n[t(254)](),i.on(t(234),((e,i,r)=>{const s=t;r?n[s(249)]():n[s(254)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Hn();jn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Ur=Zr;function Hr(){const t=["Revision name","clientWidth","7122PjGiec","210686HUURvo","bindTemplate","85IKmUCV","value","1051770CgBtVX","fieldView","listenTo","11418370XLCUYR","132980PxEADO","scrollWidth","7hBJQsY","_tooltipString","_updateTooltipText","destroy","10024ULuPCo","ck-revision-history-sidebar__revision-name","input","placeholder","_resizeObserver","8xkmdlR","Enter the revision name","extendTemplate","set","147000evQtFL","4882203PXdLbN","ck-tooltip_multi-line","span","1738CjgddF","element","render"];return(Hr=function(){return t})()}function Zr(t,e){const i=Hr();return(Zr=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=Zr,i=t();for(;;)try{if(999004===parseInt(e(314))/1*(-parseInt(e(304))/2)+parseInt(e(308))/3+-parseInt(e(312))/4*(parseInt(e(306))/5)+-parseInt(e(303))/6*(-parseInt(e(318))/7)+-parseInt(e(323))/8*(parseInt(e(328))/9)+-parseInt(e(311))/10+parseInt(e(331))/11*(parseInt(e(327))/12))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(322)]=null;const n=this[i(305)];this[i(326)]({label:Xi(t,i(301)),_tooltipString:""}),this[i(309)][i(321)]=Xi(t,i(324)),this[i(325)]({tag:i(330),attributes:{class:[i(319)],"data-cke-tooltip-text":n.to(i(315)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(329)}})}[Ur(300)](){const e=Ur;super[e(300)](),this[e(322)]=new t.ResizeObserver(this[e(309)][e(299)],(()=>this[e(316)]())),this[e(310)](this[e(309)],e(320),(()=>this[e(316)]()))}[Ur(317)](){const t=Ur;super[t(317)](),this[t(322)]&&this[t(322)][t(317)]()}[Ur(316)](){const t=Ur,e=this[t(309)][t(299)];this[t(315)]=e[t(313)]>e[t(302)]&&e[t(307)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Hn();jn()(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-=110]})(t,e)}function Jr(){const t=["431UduajV","2286432xThaCh","Revision author","1149354yBlOLt","push","534CFMlvK","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","setTemplate","ck-revision-history-sidebar__revision-author_creator","45DNhlKe","Revision creator","0 0 11 10","name","4194234AvNGHY","95572OjSEbi","3138201DcnogU","3915492IcesDw","span","set"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(359956===parseInt(e(125))/1*(parseInt(e(110))/2)+parseInt(e(128))/3+-parseInt(e(120))/4*(parseInt(e(115))/5)+parseInt(e(119))/6+-parseInt(e(122))/7+parseInt(e(126))/8+-parseInt(e(121))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends Vn.View{constructor(t,e,i){const n=Yr;super(t);const r=new Vn.IconView;r[n(124)]({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(117)});const s=["ck",n(112)];i&&s[n(129)](n(114));const o=[{tag:n(123),attributes:{class:["ck",n(111)],title:Xi(t,n(i?116:127))},children:[r,e[n(118)]]}];this[n(113)]({tag:"li",attributes:{class:s},children:o})}}function Kr(t,e){var i=Qr();return(Kr=function(t,e){return i[t-=209]})(t,e)}function Qr(){var t=["2531610RfWsOq","2096775GPituX","28YIGoID","12812256tagGuk","182778SCgufJ","223456ruzooL","39YYjCXU","27562560cvxnAC","toLocaleTimeString","long","650219atpLis","35KTApQo","toLocaleDateString","numeric"];return(Qr=function(){return t})()}!function(t){for(var e=Kr,i=t();;)try{if(989845===-parseInt(e(215))/1+parseInt(e(209))/2*(-parseInt(e(211))/3)+-parseInt(e(210))/4*(-parseInt(e(216))/5)+-parseInt(e(219))/6*(parseInt(e(221))/7)+parseInt(e(222))/8+-parseInt(e(220))/9+parseInt(e(212))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Hn();jn()(Xr.A,ts);Xr.A&&Xr.A.locals&&Xr.A.locals;function es(){const t=["first","isVisible","27QZkfIt","stopPropagation","isActionsDropdownOpen","10529940OKneLj","button","action","model","138TkkIZa","399175cscvJq","children","set","3570798QyPwMO","isReady","add","source","panelPosition","358309nlvNbC","listenTo","map","execute","70qmwAde","isEnabled","items","Name this revision","3cwoYpz","_action","menuitem","listView","menu","Compare against selected","ck-revision-history-sidebar__revision__actions","buttonView","bind","name","Restore this revision","bindTemplate","change:isActionsDropdownOpen","locale","ck-on","Show more items","856052Rrbbgm","find","isOpen","threeVerticalDots","6064OMkIKp","function","class","extendTemplate","3139912WtolBs"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=284]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(650148===parseInt(e(318))/1*(-parseInt(e(291))/2)+-parseInt(e(322))/3*(-parseInt(e(287))/4)+-parseInt(e(306))/5+-parseInt(e(305))/6*(-parseInt(e(314))/7)+-parseInt(e(295))/8*(parseInt(e(298))/9)+parseInt(e(301))/10+-parseInt(e(309))/11)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();jn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;!function(t){const e=as,i=t();for(;;)try{if(272869===parseInt(e(337))/1*(parseInt(e(333))/2)+-parseInt(e(325))/3*(-parseInt(e(343))/4)+parseInt(e(340))/5+-parseInt(e(297))/6*(-parseInt(e(358))/7)+-parseInt(e(357))/8+parseInt(e(339))/9+-parseInt(e(353))/10*(parseInt(e(352))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cs);class os extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(324)],a=function(t,e){const i=s,n=Array[i(305)](e[i(320)])[i(327)]((t=>t!=e[i(338)]));return e[i(338)]&&n[i(328)](e[i(338)]),n[i(315)]((n=>new Gr(t,n,n==e[i(338)])))}(e,i);this.id=i.id,this[s(303)]=i,this[s(298)]=r,this[s(295)](s(351),s(322)).to(i),this[s(295)](s(330)).to(this,s(322),(t=>{return i=e[s(313)],(n=t)[(r=Kr)(217)](i,{month:r(214),day:r(218)})+", "+n[r(213)](i,{hour:r(218),minute:r(218)});var i,n,r})),this[s(356)](s(326),!1),this[s(356)](s(308),!1),this[s(356)](s(359),!1),this[s(356)](s(304),!1),this[s(356)](s(294),!1),this[s(344)]=new $r(e,Vn.createLabeledInputText),this[s(344)][s(309)][s(348)]({attributes:{maxlength:s(355)}}),this[s(344)][s(309)][s(295)](s(335)).to(this,s(351),(t=>t||this[s(330)])),this[s(344)][s(295)](s(294)).to(this,s(326),this,s(294),((t,e)=>t&&e)),this[s(316)]=n&&n[s(332)]?function(e,i){const n=is,r=e[n(333)],s=e[n(284)],o=(0,Vn.createDropdown)(s);o[n(313)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(284)],r={"Compare against selected":Xi(n,i(327)),"Name this revision":Xi(n,i(321)),"Restore this revision":Xi(n,i(332))};return e[i(316)]((t=>{const e=i,n=r[t[e(331)]];return n&&n!==t[e(331)]&&(t[e(331)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(302),model:new Vn.ViewModel({label:t[r(331)],class:t[r(293)],withText:!0,role:r(324),_action:t[r(303)]})};i[r(304)][r(330)](r(319)).to(e,r(300),(i=>r(292)!=typeof t[r(319)]||!i||t[r(319)](e))),o[r(311)](i)}return o}(e,i);return e[n(330)](n(300)).to(o,n(289)),o[n(329)][n(308)]({label:Xi(s,n(286)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(290)]}),o[n(294)]({attributes:{class:[n(328),r.if(n(300),n(285))]},on:{click:r.to((t=>t[n(299)]()))}}),o.on(n(317),(t=>{const i=n;e[i(310)]&&i(292)==typeof t[i(312)][i(323)]&&t[i(312)][i(323)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(326)}),o[n(315)](e,n(334),((t,r,s)=>{const a=n;if(s)for(const t of o[a(325)][a(320)]){const n=t[a(307)][a(296)],r=i[a(288)]((t=>t[a(303)]===n[a(323)]))[a(297)];t[a(297)]=void 0===r||r(e)}})),o}(this,n):"",this[s(316)]&&this[s(316)][s(295)](s(294)).to(this),this[s(323)]({tag:s(312),attributes:{class:["ck",s(306),s(354),o.if(s(319),s(314))]},children:[{tag:s(312),attributes:{class:["ck",s(306),s(317),o.if(s(294),s(346),(t=>!t)),o.if(s(326),s(301)),o.if(s(308),s(311)),o.if(s(359),s(329))]},children:[this[s(344)],{tag:s(341),attributes:{class:["ck",s(345)]},children:[{text:o.to(s(330))}]},{tag:s(312),attributes:{class:["ck",s(318)]},children:[{tag:"ul",attributes:{class:["ck",s(310)]},children:a}]},this[s(316)]],on:{click:o.to((t=>{const e=s;t[e(349)][e(299)](e(350))||this[e(304)]&&this[e(294)]&&this[e(300)](e(296),{id:this.id})}))}}]})}[ss(336)](){const t=ss;super[t(336)]();const e=this[t(344)][t(309)][t(321)];this[t(302)](e,t(347),(()=>{const i=t;this[i(298)]&&!e[i(335)]||this[i(300)](i(342),{id:this.id,name:e[i(335)]}),e[i(335)]||(e[i(335)]=this[i(351)]?this[i(351)]:this[i(330)])}))}[ss(296)](){this[ss(326)]=!0}[ss(307)](){this[ss(326)]=!1}[ss(334)](){this[ss(308)]=!0}[ss(331)](){this[ss(308)]=!1}}function as(t,e){const i=cs();return(as=function(t,e){return i[t-=294]})(t,e)}function cs(){const t=["220","set","2264832BEHvBh","7nZgXeZ","isActionsDropdownOpen","isEnabled","bind","select","1602702qWezJZ","_requireRevisionName","closest","fire","ck-revision-history-sidebar__revision_selected","listenTo","_revision","isReady","from","ck-reset","deselect","isHighlighted","fieldView","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision_highlighted","div","uiLanguage","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","map","revisionActionsView","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision__controls-wrapper","isConfirm","authors","element","createdAt","setTemplate","bindTemplate","186546xFLBvR","isSelected","filter","unshift","ck-revision-history-sidebar__actions_dropdown_open","_createdAtFormatted","unhighlight","length","202RyEpaL","highlight","value","render","897VhQSdt","creator","4162104dhUhJo","634990Jwjkdw","span","setName","12JgrqiJ","revisionNameView","ck-revision-history-sidebar__revision__date","ck-disabled","change","extendTemplate","srcElement",".ck-thread__remove-confirm","name","94853gTyHgh","670VvQXAx","ck-revision-history-sidebar__revision-wrapper"];return(cs=function(){return t})()}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},As={hour:ys,minute:ys,second:ys,timeZoneName:ks},Ns={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys},Cs={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 Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Qs={};let Xs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Qs[i];return n||(n=new Intl.NumberFormat(t,e),Qs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ys.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Xs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Xs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||xo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||xo.defaultNumberingSystem,c=i||xo.defaultOutputCalendar,u=Jo(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Qs={},Xs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Us{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class lo extends Us{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function ho(t,e){if(Uo(t)||null===t)return e;if(t instanceof Us)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?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=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Ao=[0,31,59,90,120,151,181,212,243,273,304,334],No=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Eo(t,e,i){return i+(ia(t)?No:Ao)[e-1]}function Vo(t,e){const i=ia(t)?No:Ao,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function jo(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 Co(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Mo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Eo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Uo(t.localWeekday)||!Uo(t.localWeekNumber)||!Uo(t.localWeekYear)){if(!Uo(t.weekday)||!Uo(t.weekNumber)||!Uo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Uo(t.localWeekday)||(t.weekday=t.localWeekday),Uo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Uo(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=Zo(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Uo(t){return void 0===t}function Ho(t){return"number"==typeof t}function Zo(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function 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 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 Qo(t){return Uo(t)||null===t||""===t?void 0:parseInt(t,10)}function Xo(t){return Uo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Uo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(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 Aa(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Na={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:As,T:Ns,TT:Rs,TTT:Ms,TTTT:Es,f:Vs,ff:js,fff:Ls,ffff:zs,F:Ds,FF:Cs,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Na[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Aa(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Aa(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ea(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function ja(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Qo(e[i+r]);return[n,null,i+r]}}const Ca=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${Ca.source}?(?:\\[(${Ma.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=ja("weekYear","weekNumber","weekDay"),Wa=ja("year","ordinal"),Ua=RegExp(`${Fa.source} ?(?:${Ca.source}|(${Ma.source}))?`),Ha=RegExp(`(?: ${Ua.source})?`);function Za(t,e,i){const n=t[e];return Uo(n)?i:Qo(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}$`),Ja=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ga(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Xo(i)),months:d(Xo(n)),weeks:d(Xo(r)),days:d(Xo(s)),hours:d(Xo(o)),minutes:d(Xo(a)),seconds:d(Xo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Qo(e)):Qo(e),month:va.indexOf(i)+1,day:Qo(n),hour:Qo(r),minute:Qo(s)};return o&&(a.second=Qo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Xa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Qa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ea(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ea(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ea(/(\d{4})-?(\d{3})/,Pa),uc=Ea(La),lc=Va((function(t,e){return[{year:Za(t,e),month:Za(t,e+1,1),day:Za(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Va(za,$a,qa,Ba),dc=Va(Wa,$a,qa,Ba),fc=Va($a,qa,Ba);const mc=Va($a);const pc=Ea(/(\d{4})-(\d\d)-(\d\d)/,Ha),vc=Ea(Ua),yc=Va($a,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Nc(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Ac(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Uo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Uo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Nc{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Nc.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Nc({values:da(t,Nc.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ho(t))return Nc.fromMillis(t);if(Nc.isDuration(t))return t;if("object"==typeof t)return Nc.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ja,Ga])}(t);return i?Nc.fromObject(i,e):Nc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Nc.fromObject(i,e):Nc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Nc({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Uo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Nc.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Nc.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Nc.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Nc.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Ac(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Nc.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Ho(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Ho(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Ac(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Mc{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Mc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Mc.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Mc.invalid("missing or invalid end"):Mc.invalid("missing or invalid start")}(i,n);return null==r?new Mc({start:i,end:n}):r}static after(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Nc.fromDurationLike(e),n=_u(t);return Mc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Mc.fromDateTimes(t,s);if(r){const i=Nc.fromISO(n,e);if(i.isValid)return Mc.after(t,i)}else if(o){const t=Nc.fromISO(i,e);if(t.isValid)return Mc.before(s,t)}}return Mc.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Mc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Mc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Nc.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Mc.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Mc.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Mc.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Mc.fromDateTimes(e,t.time)),e=null);return Mc.merge(n)}difference(...t){return Mc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Nc.invalid(this.invalidReason)}mapEndpoints(t){return Mc.fromDateTimes(t(this.s),t(this.e))}}class Ec{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return 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(Nc.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Nc.fromObject(s,n);return u.length>0?Nc.fromMillis(c,n).shiftTo(...u).plus(l):l}function jc(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 Cc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(Cc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,Cc)}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 jc(u);case"yy":case"kk":return jc(h,ca);case"yyyy":case"kkkk":return jc(s);case"yyyyy":return jc(d);case"yyyyyy":return jc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return jc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return jc(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 jc(c);case"ooo":case"SSS":return jc(r);case"u":return Uc(l);case"uu":return Uc(a);case"uuu":case"E":case"c":return jc(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 Jc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Qc(t){return null===t.weekData&&(t.weekData=jo(t.c)),t.weekData}function Xc(t){return null===t.localWeekData&&(t.localWeekData=jo(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Nc.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Uo(t.year))r=xo.now();else{for(const e of du)Uo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=xo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Uo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let ku,bu={};class wu{constructor(t){const e=t.zone||xo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Uo(t.ts)?xo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Ho(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return wu.invalid("invalid input");const r=ho(e.zone,xo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Ho(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ho(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=xo.now(),c=Uo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Uo(r.ordinal),l=!Uo(r.year),h=!Uo(r.month)||!Uo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=jo(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Uo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Zo(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Zo(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?Co(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Xa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Qc(this).weekYear:NaN}get weekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get weekday(){return this.isValid?Qc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Xc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Xc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?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=Co({...jo(this.c,i,n),...e},i,n):Uo(e.ordinal)?(l={...this.toObject(),...e},Uo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Nc.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Nc.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Nc.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Nc.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Uo(t)||Uo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return As}static get TIME_24_SIMPLE(){return Ns}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Ms}static get TIME_24_WITH_LONG_OFFSET(){return Es}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return js}static get DATETIME_MED_WITH_SECONDS(){return Cs}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Ho(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Ou();return(Iu=function(t,e){return i[t-=234]})(t,e)}function Su(t,e){const i=Iu,n=wu[i(240)](t)[i(257)](e),r=wu[i(249)](),s=r[i(239)]({days:1})[i(237)](i(250));let o,a;return n[i(246)](r,i(250))?(o=n[i(237)](i(250))[i(252)](),a=n[i(258)]()):n[i(246)](s,i(250))?(o=s[i(252)](),a=n[i(258)]()):n[i(246)](r,i(238))?(o=n[i(237)](i(238))[i(252)](),a=n[i(254)]||""):n[i(246)](r,i(244))?(o=n[i(237)](i(242))[i(252)](),a=n[i(236)]||""):(o=n[i(237)](i(244))[i(252)](),a=String(n[i(244)])),{startDate:o,localizedPeriodName:a}}function Ou(){const t=["156PvVUGm","hasSame","137488RYuZwL","90lkkPOA","local","day","48860AxEjSo","toJSDate","862864EiDnmc","weekdayLong","584210PaVPpx","2683098surPAT","setLocale","toRelativeCalendar","27395QkKtbz","7gBJrNF","monthLong","startOf","week","minus","fromJSDate","287776WQfUvY","month","30HwrLIQ","year"];return(Ou=function(){return t})()}!function(t){const e=Iu,i=t();for(;;)try{if(310202===parseInt(e(255))/1+-parseInt(e(253))/2+parseInt(e(243))/3*(parseInt(e(247))/4)+parseInt(e(234))/5*(parseInt(e(245))/6)+-parseInt(e(235))/7*(parseInt(e(241))/8)+-parseInt(e(248))/9*(parseInt(e(251))/10)+-parseInt(e(256))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ou);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Hn();jn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Au=Nu;function Nu(t,e){const i=Ru();return(Nu=function(t,e){return i[t-=442]})(t,e)}function Ru(){const t=["setTemplate","addRevision","localizedPeriodName","22mhKEqq","delegate","span","locale","_requireRevisionName","1182489TLRzSR","1855836vfrnCe","1HYOuFL","find","createCollection","select","40xFzjVJ","div","setName","10157APufwD","startDate","ck-revision-history-sidebar__time-period__revisions","1442794olWjkC","ck-revision-history-sidebar__time-period","removeRevision","5056164ihcPrn","18313068KoLgaH","3992nNVFan","_revisionActions","12nuitVD","add","revisionViews","5843630iHZFCW","ck-revision-history-sidebar__time-period__label","remove","uiLanguage"];return(Ru=function(){return t})()}!function(t){const e=Nu,i=t();for(;;)try{if(721493===-parseInt(e(447))/1*(parseInt(e(457))/2)+-parseInt(e(445))/3*(parseInt(e(464))/4)+-parseInt(e(467))/5+parseInt(e(460))/6+-parseInt(e(454))/7*(-parseInt(e(462))/8)+-parseInt(e(446))/9*(parseInt(e(451))/10)+parseInt(e(474))/11*(parseInt(e(461))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ru);class Mu extends Vn.View{constructor(t,e,i,n){const r=Nu;super(t);const s=Su(e,this[r(443)][r(470)])[r(473)];this[r(455)]=e,this[r(466)]=this[r(449)](),this[r(463)]=i,this[r(444)]=n,this[r(466)][r(475)](r(450)).to(this),this[r(466)][r(475)](r(453)).to(this),this[r(471)]({tag:r(452),attributes:{class:["ck",r(458)]},children:[{tag:r(442),attributes:{class:["ck",r(468)]},children:[{text:s}]},{tag:r(452),attributes:{class:["ck",r(456)]},children:this[r(466)]}]})}[Au(472)](t){const e=Au,i=new os(this[e(443)],t,this[e(463)],this[e(444)]);this[e(466)][e(465)](i)}[Au(459)](t){const e=Au,i=this[e(466)][e(448)]((e=>e.id===t.id));this[e(466)][e(469)](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();jn()(Eu.A,Vu);Eu.A&&Eu.A.locals&&Eu.A.locals;function Du(){const t=["5116nLefFQ","24028ShRfJM","5hqlhzu","content","ck-revision-history-sidebar__header__label","div","history","ck-reset_all","353268bKtbzW","Revision history","48BSZgQi","3653848SqOhqQ","14NdyjIX","5832088KFxZxJ","7443090PPqlOO","span","setTemplate","ck-revision-history-sidebar__header","1041570unsXya","11LIFwEl"];return(Du=function(){return t})()}function ju(t,e){const i=Du();return(ju=function(t,e){return i[t-=369]})(t,e)}!function(t){const e=ju,i=t();for(;;)try{if(458818===-parseInt(e(370))/1+-parseInt(e(371))/2*(parseInt(e(380))/3)+-parseInt(e(381))/4*(parseInt(e(372))/5)+-parseInt(e(378))/6*(-parseInt(e(382))/7)+parseInt(e(383))/8+parseInt(e(384))/9+parseInt(e(388))/10*(-parseInt(e(369))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class Cu extends Vn.View{constructor(t){const e=ju;super(t);const i=new Vn.IconView;i[e(373)]=qi.icons[e(376)],this[e(386)]({tag:e(375),attributes:{class:["ck",e(377),e(387)]},children:[i,{tag:e(385),attributes:{class:["ck",e(374)]},children:[Xi(t,e(379))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Hn();jn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=zu;function zu(t,e){const i=Wu();return(zu=function(t,e){return i[t-=287]})(t,e)}function Wu(){const t=["delegate","deselect","unhighlight","setTemplate","isEnabled","bindTemplate","ck-reset","11348052WkxDht","highlightRevisions","_revisionActions","add","419802YvgMjB","addRevision","createCollection","setName","render","get","_requireRevisionName","18rrFhKT","selectRevision","fire","startDate","uiLanguage","_addRevision","timePeriodViews","set","13AoMYnK","div","2257656pMtrbQ","select","createdAt","1032042JPswEF","revisionSetName","_revisions","48nQIqAe","revisionSelected","map","removeRevision","find","143345uWwWJk","6010xmBgKy","2MPclUO","ck-disabled","ck-revision-history-sidebar","getTime","ck-revision-history-sidebar__timeline","10470NQweDL","some","revisionViews","highlight","105iddToY","6501XauCtS","_getTimePeriodViewByStartDate","ck-rounded-corners","remove","_removeRevision","locale","flat"];return(Wu=function(){return t})()}!function(t){const e=zu,i=t();for(;;)try{if(345221===parseInt(e(342))/1*(parseInt(e(312))/2)+parseInt(e(332))/3+-parseInt(e(335))/4*(-parseInt(e(340))/5)+-parseInt(e(289))/6*(parseInt(e(293))/7)+parseInt(e(329))/8*(parseInt(e(319))/9)+parseInt(e(341))/10*(-parseInt(e(294))/11)+parseInt(e(308))/12*(-parseInt(e(327))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wu);class Uu extends Vn.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(306)];this[r(325)]=this[r(314)](),this[r(325)][r(301)](r(330)).to(this),this[r(325)][r(301)](r(315)).to(this),this[r(334)]=e,this[r(310)]=i,this[r(318)]=n,this.on(r(330),((t,e)=>{const i=r;this[i(321)](i(336),e)})),this.on(r(315),((t,e)=>{const i=r;this[i(321)](i(333),e)})),this[r(326)](r(305),!1),this[r(304)]({tag:r(328),attributes:{class:["ck",r(307),r(296),r(344)]},children:[new Cu(t),{tag:r(328),attributes:{class:["ck",r(288),s.if(r(305),r(343),(t=>!t))]},children:this[r(325)]}]})}[Pu(316)](){const t=Pu;super[t(316)]();for(const e of this[t(334)])this[t(324)](e);this[t(334)].on(t(311),((e,i)=>{this[t(324)](i)})),this[t(334)].on(t(297),((e,i)=>{this[t(298)](i)}))}get[Pu(291)](){const t=Pu;return this[t(325)][t(337)]((e=>e[t(291)][t(337)]((t=>t))))[t(300)]()}[Pu(320)](t){const e=Pu;for(const i of this[e(291)])t&&t.id===i.id?i[e(330)]():i[e(302)]()}[Pu(309)](t){const e=Pu;for(const i of this[e(291)])t[e(290)]((({id:t})=>t===i.id))?i[e(292)]():i[e(303)]()}[Pu(324)](t){const e=Pu,i=Su(t[e(331)],this[e(299)][e(323)])[e(322)];let n=this[e(325)][e(317)](0);n&&n[e(322)][e(287)]()===i[e(287)]()||(n=new Mu(this[e(299)],i,this[e(310)],this[e(318)]),this[e(325)][e(311)](n)),n[e(313)](t)}[Pu(298)](t){const e=Pu,i=Su(t[e(331)],this[e(299)][e(323)])[e(322)];this[e(295)](i)[e(338)](t)}[Pu(295)](t){const e=Pu;return this[e(325)][e(339)]((i=>i[e(322)][e(287)]()===t[e(287)]()))}}const Hu=Zu;function Zu(t,e){const i=$u();return(Zu=function(t,e){return i[t-=315]})(t,e)}function $u(){const t=["nameRevision","restoreRevisionCallback","destroy","Name this revision","listenTo","assign","compare","timePeriodViews","getIndex","name","string","_revisionsRepository","38444hnOHvr","Restore this revision","compareAgainstSelected","pluginName","431954kbAjxc","map","620QJaYjd","revisionHistory.requireRevisionName","locale","isSelected","isVisible","revisionHistory","length","508926ROutmt","editor","setName","restoreRevision","defaultRevisionActions","element","appendChild","revisionSelected","_handleRevisionSelected","isPremiumPlugin","5198096TUpTTc","_handleEditorDataReady","isOfficialPlugin","fieldView","change:diff","Compare against selected","repository","revisionHistory.viewerSidebarContainer","data","render","config","getEarlierVisibleRevision","isEnabled","RevisionsSidebar","plugins","revisionSetName","14477910VZGeGd","ready","getRevisionsInDiff","remove","select","revisionViews","_createRevisionActions","getLaterVisibleRevision","_sidebarView","diff","highlightRevisions","18LkdAjX","1723550VSYbuC","add","selectRevision","getRevision","get","bind","revisionHistory.revisionActions","_revisionViewer","init","_handleDiffChange","action","focus","_handleRevisionSetName","availableRevisionActions","newRevisionId","requires","isReady","14935oCUxbs","_revisions","1122wsfAlf"];return($u=function(){return t})()}!function(t){const e=Zu,i=t();for(;;)try{if(751085===parseInt(e(372))/1+parseInt(e(336))/2+parseInt(e(381))/3+-parseInt(e(374))/4*(-parseInt(e(353))/5)+-parseInt(e(355))/6*(parseInt(e(368))/7)+-parseInt(e(391))/8*(-parseInt(e(335))/9)+-parseInt(e(324))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Hu(371)](){return Hu(321)}static get[Hu(393)](){return!0}static get[Hu(390)](){return!0}static get[Hu(351)](){return[br]}constructor(t){const e=Hu;super(t),this[e(343)]=t[e(322)][e(340)](br),this[e(367)]=this[e(343)][e(397)],this[e(332)]=null}[Hu(344)](){const t=Hu,e=this[t(367)][t(354)],i=this[t(330)](),n=this[t(382)][t(318)][t(340)](t(315));this[t(332)]=new Uu(this[t(382)][t(376)],e,i,this[t(382)][t(318)][t(340)](t(375))),this[t(332)].on(t(388),this[t(389)][t(341)](this)),this[t(332)].on(t(323),this[t(348)][t(341)](this)),this[t(332)][t(341)](t(320)).to(this[t(343)]),this[t(332)][t(363)].on(t(337),((e,i)=>{const n=t;i[n(329)].on(n(337),((t,e)=>{const i=n;e[i(341)](i(320),i(352)).to(this[i(343)])}))})),this[t(332)][t(317)](),this[t(360)](this[t(382)][t(316)],t(325),this[t(392)][t(341)](this)),this[t(360)](this[t(343)],t(395),this[t(345)][t(341)](this)),n[t(387)](this[t(332)][t(386)])}[Hu(358)](){const t=Hu;this[t(332)][t(386)][t(327)](),this[t(332)][t(358)]()}[Hu(392)](){const t=Hu,e=this[t(367)][t(339)](0);if(e){const i=this[t(367)][t(319)](e.id);this[t(343)][t(362)](e,i)}}[Hu(389)](t,e){const i=Hu,n=this[i(367)][i(339)](e.id),r=this[i(367)][i(319)](n.id);this[i(343)][i(362)](n,r)}[Hu(348)](t,e){const i=Hu;this[i(367)][i(339)](e.id)[i(383)](e[i(365)])}[Hu(345)](t,e,i){const n=Hu,r=this[n(367)][n(326)](i);r[n(380)]>2?(this[n(332)][n(334)](r),this[n(332)][n(338)](null)):(this[n(332)][n(334)]([]),this[n(332)][n(338)](r[0]))}[Hu(330)](){const t=Hu,e=this[t(382)],i=qu[t(349)],n=e[t(318)][t(340)](t(342))||qu[t(385)];if(n[t(380)])return n[t(373)]((n=>{const r=t,s=r(366)==typeof n?Object[r(361)]({},i[n]):n;return s[r(346)]=s[r(346)][r(341)](this,e),s[r(378)]&&(s[r(378)]=s[r(378)][r(341)](this,e)),s}))}}qu[Hu(385)]=[Hu(370),Hu(384),Hu(356)],qu[Hu(349)]={compareAgainstSelected:{name:Hu(396),action:({plugins:t},e)=>{const i=Hu,n=t[i(340)](br),r=n[i(397)];let s=n[i(333)][i(350)],o=e.id;r[i(364)](s)>r[i(364)](o)&&([s,o]=[o,s]),n[i(362)](s,o)},isVisible:({plugins:t},e)=>{const i=Hu,n=t[i(340)](br);return!(n[i(397)][i(326)](n[i(333)])[i(380)]>2||e[i(377)])}},restoreRevision:{name:Hu(369),action:(t,{id:e})=>{const i=Hu;t[i(318)][i(340)](i(379))[i(357)](e)},isVisible:({plugins:t},e)=>!!t[Hu(340)](br)[Hu(397)][Hu(331)](e.id)},nameRevision:{name:Hu(359),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Hu,r=t[n(340)](br),s=r[n(397)][n(319)](e);r[n(362)](e,s),i[n(347)](),i[n(394)][n(328)]()}}};const Bu=qu,Yu=Gu;function Ju(){const t=["bind","init","_view","stickyPanel","view","26qzBWbM","attachDomRoot","editing","getRoot","toolbar","36pEbHuw","_initToolbar","replace","document","3553644WUNOVB","destroy","editor","rootName","editable","componentFactory","get","fillFromConfig","addToolbar","8nieFbs","4slVwpj","_elementReplacer","element","isActive","viewportOffset","config","ready","limiterElement","79532TChSpA","2070033mZAKwT","_toolbarConfig","2778402toOsoO","name","fire","restore","detachDomRoot","7414135EYIDIH","render","setEditableElement","1533033gDWKGG","isFocused","viewportTopOffset","focusTracker","10613110ztoCfE"];return(Ju=function(){return t})()}function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=452]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(947911===-parseInt(e(473))/1*(-parseInt(e(494))/2)+parseInt(e(455))/3*(parseInt(e(465))/4)+parseInt(e(481))/5+parseInt(e(499))/6*(-parseInt(e(474))/7)+parseInt(e(464))/8*(-parseInt(e(484))/9)+-parseInt(e(488))/10+parseInt(e(476))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends Vn.EditorUI{get[Yu(493)](){return this[Yu(491)]}constructor(e,i){const n=Yu;super(e),this[n(491)]=i,this[n(475)]=(0,Vn.normalizeToolbarConfig)(e[n(470)][n(461)](n(498))),this[n(466)]=new t.ElementReplacer}get[Yu(467)](){const t=Yu;return this[t(493)][t(467)]}[Yu(490)](t){const e=Yu,i=this[e(457)],n=this[e(493)],r=i[e(496)][e(493)],s=n[e(459)],o=r[e(454)][e(497)]();s[e(477)]=o[e(458)],n[e(482)]();const a=s[e(467)];this[e(483)](s[e(477)],a),n[e(459)][e(489)](e(485)).to(this[e(487)]),r[e(495)](a),this[e(466)][e(453)](t,this[e(467)]),this[e(452)](),this[e(478)](e(471))}[Yu(456)](){const t=Yu;super[t(456)]();const e=this[t(493)],i=this[t(457)][t(496)][t(493)];this[t(466)][t(479)](),i[t(480)](e[t(459)][t(477)]),e[t(456)]()}[Yu(452)](){const t=Yu,e=this[t(493)];e[t(492)][t(489)](t(468)).to(this[t(487)],t(485)),e[t(492)][t(472)]=e[t(467)],e[t(492)][t(489)](t(486)).to(this,t(469),(({top:t})=>t)),e[t(498)][t(462)](this[t(475)],this[t(460)]),this[t(463)](e[t(498)])}}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Pn().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Hn();jn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=il;function el(){var t=["12302tXaELm","523446OJIwpH","top","stickyPanel","shouldToolbarGroupWhenFull","render","3920379DHGUwt","add","content","909rOOjAd","_editable","25090NtJXyv","1298104ujZHQg","26BlPrvG","871764WgUQUb","main","105BCYNvL","6601395wYFDGs","toolbar","editable"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=475]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(853088===-parseInt(e(479))/1*(parseInt(e(492))/2)+-parseInt(e(485))/3+-parseInt(e(493))/4+parseInt(e(476))/5+-parseInt(e(480))/6*(-parseInt(e(475))/7)+parseInt(e(491))/8+-parseInt(e(488))/9*(parseInt(e(490))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Vn.BoxedEditorUIView{get[tl(478)](){return this[tl(489)]}constructor(t,e,i={}){var n=tl;super(t),this[n(482)]=new Vn.StickyPanelView(t),this[n(477)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(483)]}),this[n(489)]=new Vn.InlineEditableUIView(t,e)}[tl(484)](){var t=tl;super[t(484)](),this[t(482)][t(487)][t(486)](this[t(477)]),this[t(481)][t(486)](this[t(482)]),this[t(494)][t(486)](this[t(478)])}}const rl=sl;function sl(t,e){const i=ol();return(sl=function(t,e){return i[t-=433]})(t,e)}function ol(){const t=["9XjCrZo","699224zKmvbl","editing","222098wWFiLd","locale","99Gbzlhh","init","sourceElement","ready","destroy","config","updateSourceElement","initialData","create","710oOWlyz","data","59939prroFj","view","_ui","60hFzmEz","286540DxRGLu","createRoot","159999RZocGl","4515985GHueeN","document","fire","model","1034612dojrUT","get","initPlugins"];return(ol=function(){return t})()}!function(t){const e=sl,i=t();for(;;)try{if(500395===-parseInt(e(454))/1+parseInt(e(437))/2+parseInt(e(434))/3*(parseInt(e(461))/4)+-parseInt(e(457))/5+parseInt(e(453))/6*(parseInt(e(456))/7)+parseInt(e(435))/8*(parseInt(e(439))/9)+parseInt(e(448))/10*(-parseInt(e(450))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(452)]}constructor(t,e){const i=sl;super(e),this[i(441)]=t,this[i(460)][i(458)][i(455)]();const n=new nl(this[i(438)],this[i(436)][i(451)],{shouldToolbarGroupWhenFull:!0});this[i(452)]=new Ku(this,n)}[rl(443)](){const t=rl;return this[t(445)](),this.ui[t(443)](),super[t(443)]()}static async[rl(447)](t,e){const i=rl,n=new this(t,e);return await n[i(433)](),await n.ui[i(440)](t),await n[i(449)][i(440)](n[i(444)][i(462)](i(446))||""),n[i(459)](i(442)),n}}const cl=ll;function ul(){const t=["fromCharCode","result","set","commands","users","none","get","revisionHistory.viewerEditorElement","RevisionsRepository","pluginName","showRevisionViewerCallback","getRevisions","revisionHistory","from","saveRevision","restrictedEditingException","markers","error","refreshPositioning","isPremiumPlugin","_update","Restored","isReady","toVersion","refreshVisibility","push","toJSON","_recalculatePageBreaks","selection","keys","addRevisionData","_cleanUp","name","change","removeAttribute","document","data","RevisionHistory","isReadOnly","isEnabled","getRevisionRootsAttributes","12016210toqjIE","adapter","indexOf","_showRevisionViewer","getAttributeKeys","4285176zcbvVQ","setAttribute","21501OxTtWU","revisionHistory.showRevisionViewerCallback","toLocaleTimeString","block","addUser","includes","long","rootName","creator","createdAt","parse","update","_getRevisionViewerEditorConfig","getRevision","roots","editor","style","insert","Autosave","translations","PaginationLookup","Annotations","4965245FYuJYy","RevisionViewer","isOpen","Users","repository","2555296rmxKPW","removeMarker","remove","create","numeric","4424dtbbrr","lazyRoots","_closeRevisionViewer","bind","join","model","then","detachRoot","plugins","$graveyard","end","requires","locale","revisionHistory.viewerContainer","_enhanceCloseRevisionViewerCallback","destroy","_restoreRevision","enableReadOnlyMode","RevisionTracker","has","catch","save","fromVersion","isOfficialPlugin","createRangeIn","closeRevisionViewerCallback","isAnonymous","6RvViPa","getRoot","map","revision-history-viewer-opened","init","setSelection","uiLanguage","Dialog","_viewerEditor","toLocaleDateString","getUser","disableReadOnlyMode","exitToEditing","revisionHistory.editorContainer","getRevisionData","2657366kHyNyV","getMarkersGroup","restoreRevision","revisionHistory.restoreRevisionCallback","isAttached","_enhanceShowRevisionViewerCallback","removeSelectionAttribute","revision-history-missing-configuration","toolbar","hide","enqueueChange","RestrictedEditingMode","changesNavigation","config","1tMLaWJ","RevisionViewerIntegration","define","addRoot","RevisionHistoryUI","revisionHistory.requireRevisionName","display","revisionHistory.closeRevisionViewerCallback","1629992TrcxEu"];return(ul=function(){return t})()}function ll(t,e){const i=ul();return(ll=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=ll,i=t();for(;;)try{if(772850===parseInt(e(390))/1*(parseInt(e(376))/2)+parseInt(e(300))/3+-parseInt(e(329))/4+parseInt(e(324))/5*(-parseInt(e(361))/6)+-parseInt(e(253))/7+parseInt(e(334))/8*(-parseInt(e(302))/9)+parseInt(e(295))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ul);const hl=[cl(394),cl(387)];class dl extends qi.Plugin{static get[cl(263)](){return cl(391)}static get[cl(357)](){return!0}static get[cl(273)](){return!0}constructor(t){const e=cl;function i(t){const e=ll;return t[e(363)]((t=>String[e(254)](t)))[e(338)]("")}super(t),this[e(255)]=e(344),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(263)](){return cl(291)}static get[cl(357)](){return!0}static get[cl(273)](){return!0}static get[cl(345)](){return[On,er]}constructor(e){const i=cl;if(super(e),!this[i(317)][i(389)][i(260)](i(266)))throw new t.CKEditorError(i(383),this);this[i(369)]=null,this[i(317)][i(389)][i(392)](i(303),(t=>this[i(298)]({...t,translations:this[i(317)][i(346)][i(321)]}))),this[i(317)][i(389)][i(392)](i(252),(t=>this[i(336)](t))),this[i(317)][i(389)][i(392)](i(379),(t=>this[i(350)](t))),this[i(317)][i(389)][i(392)](i(395),!1),this[i(381)](),this[i(348)]()}set[cl(296)](t){const e=cl;this[e(317)][e(342)][e(260)](e(352))[e(296)]=t}get[cl(296)](){const t=cl;return this[t(317)][t(342)][t(260)](t(352))[t(296)]}[cl(284)](t){const e=cl;return this[e(317)][e(342)][e(260)](e(352))[e(284)](t)}[cl(315)](t){const e=cl;return this[e(317)][e(342)][e(260)](e(262))[e(315)](t)}[cl(265)](t){const e=cl;return this[e(317)][e(342)][e(260)](e(262))[e(265)](t||{toJSON:!1})}[cl(314)](){const e=cl,i=this[e(317)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(342)][e(260)](e(352)),s=i[e(342)][e(260)](e(327))[e(258)];return n[e(384)]=[e(373),e(378),e(388)],delete n[e(335)],n[e(342)][e(279)](dl,br,Pr,class extends qi.Plugin{static get[e(345)](){return[br,e(327)]}[e(365)](){const n=e,o=this[n(317)][n(342)][n(260)](n(327));for(const t of s)t[n(360)]||o[n(371)](t.id)||o[n(306)](t);const a=r[n(328)][n(265)]();let c=null;const u=this[n(317)][n(342)][n(260)](n(325));u[n(296)]=r[n(296)],u[n(337)](n(293)).to(r),this[n(317)][n(257)][n(260)](n(378))[n(337)](n(293)).to(i,n(292),(t=>!t));for(const e of a){const i=null===e[n(310)];if(i&&e[n(277)]===e[n(356)])continue;const s=e[n(280)]();u[n(284)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(274)](s,o);else if(!o){const e=a[u(280)]();e.id=(0,t.uid)(),r[u(268)](e,a[u(277)])[u(340)]((t=>{c=t}))}}else e[u(274)](s,o)}))}}},Bu),n}[cl(381)](){const t=cl,e=this[t(317)][t(389)][t(260)](t(266))[t(264)];this[t(317)][t(389)][t(256)](t(303),(async()=>{const i=t;this[i(317)][i(351)](i(364));const n=this[i(317)][i(342)][i(260)](i(352));if(this[i(317)][i(342)][i(353)](i(320))){const t=this[i(317)][i(342)][i(260)](i(320));await t[i(355)]()}else await n[i(313)]();if(this[i(317)][i(342)][i(353)](i(322))&&this[i(317)][i(342)][i(260)](i(322))[i(281)](),this[i(317)][i(342)][i(353)](i(368))){const t=this[i(317)][i(342)][i(260)](i(368));t[i(326)]&&t[i(385)]()}const r=this[i(314)]();return e(r)[i(340)]((t=>{const e=i;return this[e(369)]=t,this[e(317)][e(342)][e(353)](e(323))&&this[e(317)][e(342)][e(260)](e(323))[e(278)](),t}))[i(354)]((t=>(console[i(271)](t),this[i(317)][i(372)](i(364)),null)))}))}[cl(348)](){const t=cl,e=this[t(317)][t(389)][t(260)](t(266))[t(359)];this[t(317)][t(389)][t(256)](t(252),(()=>(this[t(317)][t(342)][t(353)](t(322))&&this[t(317)][t(342)][t(260)](t(322))[t(281)](),this[t(369)][t(342)][t(260)](t(325))[t(285)](),e(this[t(369)])[t(340)]((()=>{const e=t;if(this[e(317)][e(372)](e(364)),this[e(369)]=null,this[e(317)][e(342)][e(353)](e(323))){const t=this[e(317)][e(342)][e(260)](e(323));t[e(278)](),t[e(272)]()}})))))}[cl(298)](t){const e=cl,i=this[e(317)][e(389)][e(260)](e(374)),n=this[e(317)][e(389)][e(260)](e(347)),r=this[e(317)][e(389)][e(260)](e(261));return al[e(332)](r,t)[e(340)]((t=>(n[e(318)][e(396)]=e(305),i[e(318)][e(396)]=e(259),t)))}[cl(336)](t){const e=cl,i=this[e(317)][e(389)][e(260)](e(374));return this[e(317)][e(389)][e(260)](e(347))[e(318)][e(396)]=e(259),i[e(318)][e(396)]="",t[e(349)]()}async[cl(350)](t){const e=cl,i=this[e(317)],n=this[e(369)][e(342)][e(260)](e(325)),r=i[e(342)][e(260)](e(352)),s=n[e(328)][e(315)](t);let o,a,c;try{o=await n[e(375)](s),a=await n[e(294)](s)}catch(t){return void console[e(271)](t)}i[e(339)][e(287)]((t=>{const n=e;for(const e of Array[n(267)](i[n(339)][n(270)][n(377)](n(269))))t[n(330)](e)})),n[e(276)]=!1,i[e(339)][e(386)]((t=>{const n=e;t[n(366)](null),t[n(382)](i[n(339)][n(289)][n(282)][n(299)]());const r=Object[n(283)](o);for(const e of i[n(339)][n(289)][n(316)])n(343)!=e[n(309)]&&e[n(380)]()&&!r[n(307)](e[n(309)])&&t[n(341)](e);for(const e of r){let r=i[n(339)][n(289)][n(362)](e);r&&r[n(380)]()||(r=t[n(393)](e));const s=a[e],c=Object[n(283)](s),u=o[e];for(const e of r[n(299)]())c[n(307)](e)||t[n(288)](e,r);for(const i of c)t[n(301)](i,a[e][i],r);t[n(331)](t[n(358)](r)),t[n(319)](i[n(290)][n(312)](u,r),r,0)}}));const u=Xi(i[e(346)],e(275));return c=s[e(286)]?-1==s[e(286)][e(297)](u)?u+": "+s[e(286)]:s[e(286)]:u+": "+s[e(311)][e(370)](i[e(346)][e(367)],{month:e(308),day:e(333)})+", "+s[e(311)][e(304)](i[e(346)][e(367)],{hour:e(333),minute:e(333)}),await r[e(268)]({name:c}),n[e(276)]=!0,i[e(389)][e(260)](e(266))[e(359)]()}}function ml(){var t=["421605SJglQx","486095rlMdHM","1610zmQinF","409761biuAHL","24LLTqVm","1078826kdtvaY","4346876msegOG","213RevHHK","40JRuFIu","8387620eMUFnW","39782ZxOiXd"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=470]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(952565===-parseInt(e(473))/1+parseInt(e(471))/2*(-parseInt(e(479))/3)+-parseInt(e(478))/4+-parseInt(e(470))/5+-parseInt(e(476))/6*(parseInt(e(477))/7)+-parseInt(e(480))/8*(-parseInt(e(472))/9)+parseInt(e(474))/10*(parseInt(e(475))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();