@ckeditor/ckeditor5-revision-history 44.2.0-alpha.14 → 44.2.0-alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +10 -10
  148. package/src/changeitem.js +2 -2
  149. package/src/editor/revisionviewereditor.js +2 -2
  150. package/src/editor/revisionviewereditorui.js +1 -1
  151. package/src/editor/revisionviewereditoruiview.js +1 -1
  152. package/src/index.js +1 -1
  153. package/src/revision.js +2 -2
  154. package/src/revisiondiff.js +1 -1
  155. package/src/revisionhistory.js +1 -1
  156. package/src/revisionsrepository.js +1 -1
  157. package/src/revisiontracker.js +1 -1
  158. package/src/revisionviewer.js +1 -1
  159. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  160. package/src/ui/revision/revisionauthorview.js +1 -1
  161. package/src/ui/revision/revisionnameview.js +1 -1
  162. package/src/ui/revision/revisionview.js +2 -2
  163. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  164. package/src/ui/revision/subrevisionview.js +1 -1
  165. package/src/ui/revision/utils.js +1 -1
  166. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  167. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  168. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  169. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  172. package/src/ui/revisionssidebar/utils.js +1 -1
  173. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  174. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  175. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  176. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  177. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>xn,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Qi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var 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 P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,H=z.hasOwnProperty,U=RegExp("^"+W.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const Z=function(t){return!(!R(t)||C(t))&&(M(t)?U:P).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return Z(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const G=function(){this.__data__=Y?Y(null):{},this.size=0};const J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const 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=G,it.prototype.delete=J,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]"==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 Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ht=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ut=Ht&&Ht.exports===Wt&&y.process;const Zt=function(){try{var t=Ht&&Ht.require&&Ht.require("util").types;return t||Ut&&Ut.binding&&Ut.binding("util")}catch(t){}}();var $t=Zt&&Zt.isTypedArray;const qt=$t?zt($t):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Gt=Object.prototype;const Jt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Gt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Qt=Kt(Object.keys,Object);var Xt=Object.prototype.hasOwnProperty;const te=function(t){if(!Jt(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=Jt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Me=q(k,"WeakMap");var Ve="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Pe=F(B),Le=F(Ae),ze=F(Re),We=F(Me),He=A;(Ne&&He(new Ne(new ArrayBuffer(1)))!=je||B&&He(new B)!=Ve||Ae&&He(Ae.resolve())!=Ee||Re&&He(new Re)!=De||Me&&He(new Me)!=Ce)&&(He=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 Pe:return Ve;case Le:return Ee;case ze:return De;case We:return Ce}return e});const Ue=He;var Ze=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&Ze.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Ge=/\w*$/;const Je=function(t){var e=new t.constructor(t.source,Ge.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,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 Je(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||Jt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ue(t)};var oi=Zt&&Zt.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ue(t)};var ui=Zt&&Zt.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ue(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 Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Vi(e,t),null==(t=Li(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Hi=Ui;function Ui(t,e){const i=Zi();return(Ui=function(t,e){return i[t-=150]})(t,e)}function Zi(){const t=["20888tDJgzJ","authorsIds","removeAttribute","setName","14702olYqJP","13578504RlZUzb","attributes","creatorId","set","map","8074pPBYrK","27mhHXPv","toJSON","2430JgBBvR","123KvTTMy","13sBOnqC","diffData","setAttribute","1332fKICyQ","toVersion","createdAt","fromVersion","creator","authors","3261928ioyurT","fire","7745salFHX","name","_update","6878753uyqTVZ","534IWOMbf"];return(Zi=function(){return t})()}!function(t){const e=Ui,i=t();for(;;)try{if(883501===parseInt(e(174))/1*(parseInt(e(164))/2)+-parseInt(e(159))/3*(parseInt(e(160))/4)+-parseInt(e(155))/5*(parseInt(e(178))/6)+parseInt(e(158))/7+-parseInt(e(153))/8*(-parseInt(e(171))/9)+-parseInt(e(173))/10*(-parseInt(e(170))/11)+parseInt(e(165))/12*(-parseInt(e(175))/13))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(151)]=e[i(151)]||null,this[i(152)]=e[i(152)]||[],this[i(176)]=e[i(176)]||null,this[i(179)]=e[i(179)]||0,this[i(150)]=e[i(150)]||0,this[i(168)](i(156),e[i(156)]||""),this[i(168)](i(180),e[i(180)]||new Date),this[i(168)](i(166),e[i(166)]||{})}[Hi(163)](t){this[Hi(157)]({name:t})}[Hi(177)](t,e){const i=Hi,n=vi(this[i(166)]);Ci(n,t,e),this[i(157)]({attributes:n})}[Hi(162)](t){const e=Hi,i=vi(this[e(166)]);Wi(i,t),this[e(157)]({attributes:i})}[Hi(157)](t,e=!1){const i=Hi;let n=!1;const r={id:this.id},s=[i(156),i(180),i(176),i(152),i(166),i(179),i(150),i(167)];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(152)]&&(r[i(161)]=r[i(152)][i(169)]((t=>t.id)),delete r[i(152)]),this[i(154)](i(157),r,e))}[Hi(172)](){const t=Hi;return{id:this.id,name:this[t(156)],creatorId:this[t(151)]?this[t(151)].id:null,authorsIds:this[t(152)][t(169)]((t=>t.id)),diffData:this[t(176)],createdAt:this[t(180)],attributes:this[t(166)],fromVersion:this[t(150)],toVersion:this[t(179)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Gi=Ki;function Ji(){const t=["requires","4392820reMzkC","getLaterVisibleRevision","editor","getRevisionsIterator","authorsIds","getEarlierVisibleRevision","creatorId","isPremiumPlugin","later","toVersion","1905rEuioL","pluginName","map","getUser","getRevisionsInDiff","add","oldRevisionId","href","data","isOfficialPlugin","attributes","from","1772241ldSxsJ","get","diffData","3369CSvOxT","1312912iYQtbt","plugins","join","afterInit","_revisions","getRevision","newRevisionId","name","fromCharCode","getIndex","length","RevisionsRepository","704KgVDxm","20874zsXIMH","fromVersion","286065NbTgAq","Users","createRevision","toJSON","push","isNaN","getRevisions","70EiMLQb","addRevision","createdAt","1241352DPICgx","reverse","earlier"];return(Ji=function(){return t})()}function Ki(t,e){const i=Ji();return(Ki=function(t,e){return i[t-=246]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(911181===parseInt(e(247))/1+-parseInt(e(263))/2*(parseInt(e(250))/3)+-parseInt(e(276))/4+parseInt(e(290))/5*(-parseInt(e(264))/6)+parseInt(e(273))/7*(parseInt(e(251))/8)+-parseInt(e(266))/9+-parseInt(e(280))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ji);class Qi extends qi.Plugin{static get[Gi(279)](){return[Bi.Users]}static get[Gi(291)](){return Gi(262)}static get[Gi(299)](){return!0}static get[Gi(287)](){return!0}get[Gi(261)](){const t=Gi;return this[t(255)][t(261)]}constructor(e){const i=Gi;super(e),this[i(255)]=new t.Collection}[Gi(254)](){!async function(e){const i=k([54,57,50,98,122,68,82,67,112,119,89,116,110,88,104,81,111,85,118,86,76,48,114,106,108,107,113,52,72,87,53,74,80,79,66,70,105,84,77,117,102,51,83,65,73,69,120,109,55,78,49,100,103,99,71,121,56,97,101,75,115,90]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=s[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Ki;for(const e in window)if(window[k([78,117,109,98,101,114])][i(271)](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([98]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,n])=>{i(e),t(n)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Ki;return t[e(292)]((t=>String[e(259)](t)))[e(253)]("")}!function(t){const i=l();s[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=y(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(n())return c(k([86,97,108,105,100]));a(),s[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])]((t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116])))[k([116,104,101,110])]((t=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])}))[k([116,104,101,110])](c)[k([99,97,116,99,104])]((()=>{c(k([85,115,97,103,101,76,105,109,105,116]))}));const n=36e5;function s(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](r/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])(((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)}))}}s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),((t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}}),{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),s[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))}),{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])]((()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))}))}));function n(){return s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){s[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const r=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),s=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,r,s)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&y(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?r/1e3:1739145600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ki,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(297)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>r[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Gi(268)](t){const e=Gi,i=this[e(282)][e(252)][e(248)](e(267));return new $i({id:t.id,name:t[e(258)],creator:t[e(286)]?i[e(293)](t[e(286)]):null,diffData:t[e(249)]||t[e(298)],authors:t[e(284)][e(292)]((t=>i[e(293)](t))),createdAt:new Date(t[e(275)]),attributes:t[e(300)],fromVersion:t[e(265)],toVersion:t[e(289)]})}[Gi(274)](t,e=0){const i=Gi;this[i(255)][i(295)](t,e)}[Gi(256)](t){const e=Gi;return this[e(255)][e(248)](t)}[Gi(272)](t={toJSON:!1}){const e=Gi,i=Array[e(246)](this[e(255)]);return i[e(277)](),t[e(269)]?i[e(292)]((t=>t[e(269)]())):i}[Gi(260)](t){const e=Gi;return this[e(255)][e(260)](t)}[Gi(285)](t){const e=Gi,[,i]=this[e(283)](t,{direction:e(278)});return i}[Gi(281)](t){const e=Gi,[,i]=this[e(283)](t,{direction:e(288)});return i}[Gi(294)](t){const e=Gi,i=[];for(const n of this[e(283)](t[e(257)]))if(i[e(270)](n),n.id===t[e(296)])break;return i}*[Gi(283)](t,{direction:e=Gi(278),filter:i=()=>!0}={}){const n=Gi,r=n(278)===e?1:-1;let s=this[n(255)][n(248)](t),o=this[n(260)](s);for(yield s;s;){if(o+=r,s=this[n(256)](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=At(t),a=At(e),c=o?vn:Ue(t),u=a?vn:Ue(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Sn();return(In=function(t,e){return i[t-=319]})(t,e)}function Sn(){const t=["_cloneOperation","_source","_showLicenseError","_isInit","getUser","_getViewJson","1576216rlDGMf","_prepareViewToSave","createPositionAfter","revision:","insertions","set","initial","36OWfxaA","afterInit","_baseIdsRoots","revisionHistoryLicenseKeyExpired","nodes","createdAt","children","insertion","_transformMarkers","_getBaseVids","_getPreviousFrom","affectsData","offsetSize","Initial revision","version","filter","invalid","createRange","5wSJwWa","getRevisionDocumentData","editor","_touchedRoots","_makeIdsRoot","keys","element","revision","setRevisionData","isAdd","_revisionId","_removeMetaData","_makeModelFromViewString","addRevision","_initialRevisionId","for","changeRootAttribute","_applyOperations","366429lTeWHk","pluginName","size","90079jZowcj","adapter","_startingRevisionId","sourcePosition","baseVersion","_baseRoots","clear","split","attachChange","_createInitialRevision","isOfficialPlugin","detachRoot","setSource","isEnabled","RevisionTracker","_diffRootsAttributes","sort","_fixOperation","_savedMetaData","_lastTo","diffData","_revisionDataBuilder","21ByuqnG","isAttached","dataToMarker","revision-start","toData","988660rWHvEt","newValue","add","getCurrentRevisionId","authorsIds","editing","saveRevision","elementStart","from","stickiness","text","getTransformedByOperation","_removePendingAction","revisionHistoryLicenseKeyEvaluationLimit","document","editor-initial-data-replaced-with-revision-data","offset","PendingActions","childCount","_bufferedUpdates","getNodeByPath","_handleMarkerOperation","_createFromRanges","getData","getTime","_fixPosition","2668080uhHHBB","_loadedStateData","string","forEach","item","keepParagraph","data-revision-","paragraph","key","_setAttribute","_authorId","default","name","updateRevisions","elementEnd","_reset","end","roots","data","position","markers","_copyMarkers","revisionHistoryLicenseKeyDomainLimit","update","start","RevisionHistory","_getState","_fixRange","getRevision","removeRootAttribute","createRangeIn","loadState","locale","getIndex","isReady","domainLimit","_handleRootAttributeOperation","1090PmmnsC","$graveyard","getAttribute","some","trim","oldRange","revisionHistoryLicenseKeyTrialLimit","plugins","authors","_generateTape","push","values","attributesBefore","getOperation","slice","initialData","howMany","_idsRoots","revision-end","useFillerType","fromEntries","_makeRevision","model","collaboration.channelId","$text","_appendChild","_clone","_operations","marker","deletion","_lastFrom","creator","repository","_processRootBeforeSave","revisionHistoryLicenseKeyUsageLimit","remove","getChild","createPositionBefore","root","getRootNames","creatorId","parse","delete","rootName","markerToData","shift","_markChanges","merge","history","5332914xBTaiq","_loadRevisionData","revisionHistory.resumeUnsavedRevision","_saveMetaData","_handleInsertOperation","toView","startsWith","reInit","clone","_handleSplitOperation","marked","buildRevisionData","reinsert","trialLimit","evaluationLimit","_getFromVersion","_startingVersion","get","define","then","attributes","_diffRoots","_baseRootsAttributes","PENDING_ACTION_REVISION_HISTORY","hasContent","deletions","RealTimeCollaborationClient","currentRevision","includes","getLatestVersion","userId","_bufferUpdate","previousPosition","targetPosition","reverse","finally","toVersion","toModel","Empty document","expired","init","_touchedMarkers","createPositionFromPath","type","view","config","move","_findInsertionIndex","splitPosition","map","fromVersion","_handleMergeOperation","isEqual","_setConversion","attributesAfter","_pendingAction","getWalker","has","revisionHistoryLicenseKeyInvalid","nodeAfter","_addPendingAction","getAttributes","tableCell","RevisionsRepository","length","insert","addRevisionData","createPositionAt","rootsAttributes","revisionHistoryLicenseKeyValid","_isPendingUpdate","resolve","getRevisionRootsAttributes","_markers","_createCurrentRevision","getAncestors","path","_touched","addRootAttribute","vid","getChildren","parent","getRange","graveyardPosition","_handleRootOperation","_execute","range","newRange","getOperations","_removeRevisionMarkers","Users","_insertChild","getRoot","_handleMoveOperation","_licenseKeyCheckInterval","createRevision","documentFragment","getRevisions","upcast","addRoot","_update","_handleOperation","sendBufferedUpdates","destroy","isPremiumPlugin","usageLimit","insertionPosition","requires","dataDowncast","_replaceEditorDataWithRevisionData","NEGATIVE_INFINITY","ready","vid_start","max","_loadState","licenseKey","bind","processor","_calculateMetaData","_isAttached","_continueCurrentRevision","_getVidAttributeName","vid_end","featureNotAllowed","revisionHistoryLicenseKeyNotAllowed","getMovedRangeStart","find","50223peAIGM","source","stringify","conversion"];return(Sn=function(){return t})()}!function(t){const e=In,i=t();for(;;)try{if(457136===parseInt(e(535))/1+-parseInt(e(565))/2+parseInt(e(482))/3*(-parseInt(e(499))/4)+-parseInt(e(517))/5*(-parseInt(e(591))/6)+-parseInt(e(560))/7*(-parseInt(e(492))/8)+parseInt(e(355))/9+-parseInt(e(628))/10*(parseInt(e(538))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Sn);const On={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class xn extends qi.Plugin{static get[_n(536)](){return _n(552)}static get[_n(548)](){return!0}static get[_n(459)](){return!0}static get[_n(462)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(539)]=null,this[i(382)]=null,this[i(559)]=new Nn(this[i(519)]),this[i(531)]=this[i(519)][i(400)][i(372)](i(329))||i(498),this[i(584)]=new Map,this[i(592)]=null;const n=(0,t.uid)();this[i(487)]={history:this[i(519)][i(328)][i(579)][i(354)],getLatestVersion:()=>Promise[i(426)](this[i(519)][i(328)][i(579)][i(513)]),getCurrentRevisionId:()=>n},this[i(497)](i(625),!1),this[i(497)](i(551),!0),this[i(497)](i(425),!1),this[i(519)][i(400)][i(373)](i(357),!0),this[i(519)][i(485)][i(532)](i(453))[i(562)]({view:i(524)})}[_n(395)](){const t=_n;this[t(338)]=this[t(519)][t(635)][t(372)](t(418)),this[t(408)](),this[t(519)][t(609)].on(t(466),(()=>{const e=t,i=this[e(338)][e(619)](0),n=i&&null===i[e(337)]?i:null;if(this[e(475)]=!!n&&this[e(519)][e(400)][e(372)](e(357)),this[e(519)][e(635)][e(412)](e(381))){const t=this[e(487)][e(568)](),r=this[e(338)][e(619)](t);if(r)this[e(371)]=r[e(405)],this[e(475)]=!1;else{const t=this[e(487)][e(354)][e(333)][e(481)]((t=>!t[e(489)])),r=t?t[e(542)]:this[e(487)][e(354)][e(513)];i?(i[e(391)]<r&&i[e(455)]({toVersion:r}),this[e(475)]?(this[e(487)][e(568)]=()=>n.id,this[e(371)]=n[e(405)]):(this[e(371)]=i[e(391)],this[e(475)]=!1)):(this[e(371)]=r,this[e(475)]=!1)}}else n&&(this[e(519)][e(328)][e(579)][e(354)][e(513)]=Math[e(468)](n[e(391)],this[e(519)][e(328)][e(579)][e(354)][e(513)]),n[e(405)]===n[e(391)]?(0!==n[e(405)]&&(this[e(487)][e(568)]=()=>n.id),this[e(475)]=!1):this[e(475)]&&(this[e(487)][e(568)]=()=>n.id,this[e(371)]=n[e(405)])),this[e(475)]||(this[e(371)]=this[e(519)][e(328)][e(579)][e(513)]);this[e(559)][e(395)](this[e(487)][e(354)]),this[e(547)](this[e(371)]),this[e(429)](this[e(371)]),this[e(539)]&&this[e(457)]()})),this[t(471)](t(625)).to(this,t(425),(t=>!t)),this[t(470)]=this[t(519)][t(400)][t(372)](t(470));const e=this[t(519)];this[t(449)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(424)==s||i(413)==s||i(502)==s||i(613)==s||i(479)==s||i(578)==s||i(634)==s||i(340)==s){delete e[r],n=s,clearInterval(this[i(449)]),this[i(449)]=void 0;break}}i(413)==n&&e[i(488)](i(515)),i(502)==n&&e[i(488)](i(394)),i(613)==n&&e[i(488)](i(626)),i(479)==n&&e[i(488)](i(478),i(616)),i(578)==n&&e[i(488)](i(369)),i(634)==n&&e[i(488)](i(368)),i(340)==n&&e[i(488)](i(460))}),1e3)}async[_n(500)](){const t=_n;if(this[t(338)][t(419)]>0){const e=this[t(338)][t(619)](0),i=await this[t(518)](e),n=await this[t(427)](e);this[t(464)](i,n)}}[_n(458)](){const t=_n;super[t(458)](),this[t(449)]&&clearInterval(this[t(449)])}[_n(550)](t){this[_n(487)]=t}async[_n(614)](){const t=_n,e=await this[t(487)][t(384)]();if(e>this[t(382)][t(391)]){await this[t(469)]();const i=this[t(366)]({revision:this[t(382)],to:e});i[t(636)]=i[t(569)][t(404)]((e=>this[t(519)][t(635)][t(372)](t(445))[t(490)](e))),this[t(382)][t(455)](i)}}async[_n(469)](){const t=_n;this[t(475)]&&!this[t(592)]&&(await this[t(356)](this[t(382)]),this[t(559)][t(622)](this[t(382)]),this[t(592)]={fromVersion:this[t(382)][t(405)],authors:this[t(382)][t(636)][t(320)]()})}async[_n(571)](e={},i=null){const n=_n,r=[];await this[n(469)](),this[n(475)]=!1,i>this[n(382)][n(391)]&&(i=null),null===i&&(i=await this[n(487)][n(384)]());const s=this[n(370)](i),o=this[n(366)]({from:s,to:i});if(this[n(382)][n(391)]<i){const t=this[n(366)]({revision:this[n(382)],from:i,to:i});t[n(636)]=[],t[n(569)]=[],t.id=this[n(382)].id,this[n(382)][n(455)](t,!0),delete t[n(636)],r[n(638)](t)}e[n(346)]=this[n(519)][n(635)][n(372)](n(445)).me.id,e[n(603)]=e[n(603)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(421)](e);r[n(638)](e);const c=this[n(338)][n(624)](a);if(0!==c){const t=this[n(338)][n(619)](c-1);if(t[n(405)]!==i){const s=this[n(559)][n(588)](i,t[n(391)]),o={id:t.id,diffData:s[n(558)],authorsIds:s[n(569)],authors:s[n(569)][n(404)]((t=>this[n(519)][n(635)][n(372)](n(445))[n(490)](t))),fromVersion:i};t===this[n(382)]&&(o[n(504)]=new Date(e[n(504)][n(589)]()+10)),t[n(455)](o,!0),delete o[n(636)],r[n(638)](o)}}if(this[n(539)]){for(const t of r)this[n(386)](t.id,t,!0);this[n(457)]()}return a}[_n(421)](t){const e=_n,i=this[e(338)][e(450)](t);return this[e(539)]&&i.on(e(455),((t,i,n)=>{const r=e;n||(this[r(386)](i.id,i,!0),this[r(457)]())})),this[e(338)][e(530)](i,this[e(402)](i)),i}async[_n(518)](t){const e=_n;await this[e(356)](t);const i={};for(const n in t[e(558)]){if(t[e(558)][n][e(546)]&&!t[e(558)][n][e(546)][e(561)])continue;const r=this[e(444)](JSON[e(347)](t[e(558)][n][e(496)])),s=this[e(519)][e(570)][e(399)][e(579)],o=new Yi.ViewDocumentFragment(s,r[e(404)]((t=>Tn(t,this[e(519)]))));this[e(519)][e(609)][e(472)][e(325)](e(365)),i[n]=this[e(519)][e(609)][e(472)][e(564)](o),this[e(519)][e(609)][e(472)][e(325)](e(602))}return i}async[_n(427)](t){const e=_n;await this[e(356)](t);const i={};for(const n in t[e(558)])t[e(558)][n][e(546)]&&!t[e(558)][n][e(546)][e(561)]||(i[n]=t[e(558)][n][e(409)]||{});return i}[_n(457)](){const t=_n;if(0===this[t(584)][t(537)])return;if(this[t(425)])return;let e=Array[t(573)](this[t(584)][t(639)]());this[t(584)][t(544)]();for(let i=0;i<e[t(419)];i++){const n=e[i];let r=!1;for(const e of Object[t(522)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(514)]((t=>null!==t)),!e[t(419)])return;for(let i=0;i<e[t(419)];i++){const n=e[i];void 0!==n[t(405)]&&void 0===n[t(391)]&&(n[t(391)]=this[t(338)][t(619)](n.id)[t(391)]),void 0!==n[t(391)]&&void 0===n[t(405)]&&(n[t(405)]=this[t(338)][t(619)](n.id)[t(405)])}const i=this[t(519)][t(400)][t(372)](t(329));this[t(425)]=!0,this[t(415)](),this[t(539)][t(604)](e,i)[t(390)]((()=>{this[t(425)]=!1}))[t(374)]((e=>{const i=t;if(e)for(const t of e)this[i(525)]({id:t.id,createdAt:t[i(504)]});this[i(577)](),this[i(457)]()}))}[_n(464)](e,i){const n=_n;let r=this[n(519)][n(400)][n(372)](n(321)),s=this[n(519)][n(400)][n(372)](n(423));if(void 0===r){r={};for(const t of this[n(519)][n(328)][n(579)][n(345)]())r[t]=""}if(n(593)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(519)][n(328)][n(579)][n(345)]())s[t]={}}let o=!1;const a=Object[n(522)](r),c=Object[n(522)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(632)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(522)](s[t])[n(419)]>0){o=!0;break}}o||(o=c[n(631)]((t=>!this[n(519)][n(328)][n(579)][n(447)](t)))),o&&(0,t.logWarning)(n(580),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(519)][n(400)][n(497)](n(321),e),this[n(519)][n(400)][n(497)](n(423),i)}[_n(415)](){const t=_n;if(!this[t(410)]){const e=this[t(519)][t(635)][t(372)](t(582));this[t(410)]=e[t(567)](Xi(this[t(519)][t(623)],t(378)))}}[_n(577)](){const t=_n;this[t(410)]&&(this[t(519)][t(635)][t(372)](t(582))[t(341)](this[t(410)]),this[t(410)]=null)}[_n(402)](t){const e=_n,i=this[e(338)][e(452)]();i[e(389)]();let n=0;for(;n<i[e(419)];){const r=i[n];if(r===this[e(382)]){n++;continue}if(r.id===this[e(531)])break;const s=t[e(391)]-r[e(391)]||t[e(405)]-r[e(405)];if(s>0)break;if(s<0)n++;else{if(!t[e(337)]&&r[e(337)])break;if(r[e(337)]||!t[e(337)]){if(t[e(504)]>r[e(504)])break;n++}else n++}}return n}[_n(525)](t){const e=_n,i=this[e(338)][e(619)](t.id);if(t[e(504)]&&(t[e(504)]=new Date(t[e(504)])),t[e(569)]){const i=this[e(519)][e(635)][e(372)](e(445));t[e(636)]=t[e(569)][e(404)]((t=>i[e(490)](t)))}i[e(455)](t,!0)}[_n(366)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(405)],i=null!==i?i:t[n(391)];const r=this[n(559)][n(588)](e,i),s={diffData:r[n(558)],authorsIds:r[n(569)],fromVersion:e,toVersion:i};if(!t||i!==t[n(391)]){const t=i-1,e=this[n(487)][n(354)][n(319)](t);s[n(504)]=e&&e[n(504)]||new Date}if(this[n(592)]&&e===this[n(592)][n(405)])for(const t of this[n(592)][n(636)])s[n(569)][n(383)](t.id)||s[n(569)][n(638)](t.id);return s}[_n(356)](t){const e=_n;if(!t||t[e(558)])return Promise[e(426)]();{const i=this[e(519)][e(400)][e(372)](e(329));return this[e(539)][e(619)]({channelId:i,revisionId:t.id})[e(374)]((i=>{const n=e;t[n(558)]=i[n(558)]}))}}[_n(386)](t,e,i){const n=_n;if(this[n(584)][n(412)](t)){const r=this[n(584)][n(372)](t);e=i?{...r,...e}:{...e,...r}}this[n(584)][n(497)](t,e)}[_n(370)](t){const e=_n,i=this[e(338)][e(452)]();i[e(389)](),i[e(351)]();const n=i[e(481)]((i=>i[e(391)]<=t))[e(391)];return n<this[e(371)]?this[e(371)]:n}[_n(547)](t){const e=_n,i=this[e(338)][e(619)](this[e(338)][e(419)]-1);if(i)this[e(531)]=i.id;else{const i=!this[e(519)][e(328)][e(579)][e(608)][e(481)]((t=>this[e(519)][e(328)][e(379)](t))),n=this[e(519)][e(635)][e(372)](e(445)).me.id,r=Xi(this[e(519)][e(623)],e(i?393:512));this[e(327)]({from:t,to:t,id:this[e(531)],name:r,creatorId:n})}}[_n(429)](t){const e=_n,i=this[e(487)][e(568)]();this[e(382)]=this[e(338)][e(619)](i),this[e(382)]||(this[e(382)]=this[e(327)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(327)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(366)]({from:e,to:i});o[s(603)]=t,o[s(346)]=n,o.id=r;const a=this[s(421)](o);return this[s(539)]&&this[s(386)](o.id,o,!0),a}[_n(408)](){const t=_n;this[t(519)][t(485)][t(532)](t(463))[t(350)]({model:t(524)})}[_n(444)](t){const e=_n;return(t=t[e(514)]((t=>!t[e(603)]||e(563)!==t[e(603)]&&e(324)!==t[e(603)])))[e(594)]((t=>{const i=e;i(593)!=typeof t&&(t[i(505)]=this[i(444)](t[i(505)]),t[i(375)]=t[i(375)][i(514)]((t=>!t[0][i(361)](i(597)))))})),t}}function Tn(t,e){const i=_n,n=e[i(570)][i(399)][i(579)];if(i(593)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(505)][i(404)]((t=>Tn(t,e)));return new(On[t[i(398)]]||Yi.ViewElement)(n,t[i(603)],t[i(375)],r)}}class Nn{constructor(t){const e=_n;this[e(519)]=t,this[e(556)]=new Map,this[e(336)]=-1,this[e(557)]=-1,this[e(428)]=new Map,this[e(376)]=new Map,this[e(553)]=new Map,this[e(543)]=new Map,this[e(377)]=new Map,this[e(323)]=new Map,this[e(501)]=new Map,this[e(432)]=new Map,this[e(396)]=new Map,this[e(520)]=new Map,this[e(527)]=1}[_n(395)](t){const e=_n;this[e(483)]=t;const i=new Map,n=new Map,r=this[e(519)][e(328)][e(579)][e(608)][e(404)]((t=>t[e(349)]));for(const t of r){const r=this[e(519)][e(328)][e(579)][e(447)](t),s=An(r);i[e(497)](t,s),n[e(497)](t,Object[e(326)](r[e(416)]()))}const s=Array[e(573)](this[e(519)][e(328)][e(611)])[e(404)]((t=>[t[e(603)],t[e(437)]()])),o=this[e(483)][e(513)];this[e(358)](o,i,s,n),this[e(540)]=this[e(527)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(497)](t,i),c[e(497)](t,{})}this[e(358)](Number[e(465)],a,[],c)}[_n(588)](t,e){const i=_n;if(this[i(336)]===t&&this[i(557)]<=e)this[i(556)][i(537)]>1&&this[i(528)](this[i(557)]),this[i(534)](this[i(557)],e,!0);else{if(!this[i(556)][i(412)](t)){const e=this[i(509)](t);this[i(473)](e,t,!1)}this[i(473)](t,e,!0)}return this[i(336)]=t,this[i(557)]=e,this[i(617)]()}[_n(622)](t){const e=_n;this[e(606)](),this[e(336)]=t[e(405)],this[e(557)]=t[e(391)];for(const i in t[e(558)]){const n=t[e(558)][i][e(546)],r=vi(t[e(558)][i][e(640)])||{},s=this[e(529)](t[e(558)][i][e(380)]);s[e(349)]=i,s[e(474)]=!n||!n[e(561)],s[e(561)]=()=>s[e(474)],this[e(543)][e(497)](i,s),this[e(377)][e(497)](i,r),n&&this[e(520)][e(497)](i,n);const o=this[e(521)](s);this[e(501)][e(497)](i,o);for(const[t,i]of s[e(611)]){if(!t[e(361)](e(495)))continue;const n=t[e(545)](":")[2];for(const t of i[e(411)]({singleCharacters:!0})){const i=this[e(476)](t),r=e(605)==t[e(398)]?t[e(387)][e(431)][e(320)](0,-1):t[e(387)][e(431)],s=o[e(585)](r)[e(630)](i);this[e(432)][e(497)](s,{userId:n})}}}this[e(540)]=this[e(527)];const i=[...Array(this[e(527)])[e(522)]()][e(320)](1)[e(514)]((t=>!this[e(432)][e(412)](t)));let n=0;const r=new Map;for(const s in t[e(558)]){const o=t[e(558)][s][e(546)],a=vi(t[e(558)][s][e(409)])||{},c=this[e(529)](t[e(558)][s][e(496)]);c[e(349)]=s,c[e(474)]=!o||o[e(561)],c[e(561)]=()=>c[e(474)],this[e(376)][e(497)](s,c),this[e(553)][e(497)](s,a);const u=this[e(521)](c,Number[e(465)]);this[e(323)][e(497)](s,u),r[e(497)](s,c[e(561)]()?a:{});for(const[t,i]of c[e(611)]){if(!t[e(361)](e(495)))continue;const n=t[e(545)](":")[2];for(const t of i[e(411)]({singleCharacters:!0})){const i=this[e(476)](t),r=this[e(527)]++,s=e(605)==t[e(398)]?t[e(387)][e(431)][e(320)](0,-1):t[e(387)][e(431)];u[e(585)](s)[e(600)](i,r),this[e(432)][e(497)](r,{userId:n})}}for(const t of this[e(519)][e(328)][e(621)](c)[e(411)]({singleCharacters:!0})){const r=this[e(476)](t),s=e(605)==t[e(398)]?t[e(387)][e(431)][e(320)](0,-1):t[e(387)][e(431)],o=u[e(585)](s);o[e(630)](r)>0||o[e(600)](r,i[n++])}for(const[t,i]of c[e(611)])t[e(361)](e(495))||this[e(428)][e(497)](t,i)}const s=Rn(e(629));this[e(543)][e(497)](e(629),s),this[e(501)][e(497)](e(629),this[e(521)](s,1));const o=Rn(e(629));this[e(376)][e(497)](e(629),o),this[e(323)][e(497)](e(629),this[e(521)](o,1));const a=Array[e(573)](this[e(376)])[e(404)]((([t,e])=>[t,An(e)]));this[e(358)](this[e(557)],a,this[e(428)],r)}[_n(529)](t){const e=_n,i=JSON[e(347)](t),n=this[e(519)][e(570)][e(399)][e(579)],r=new Yi.ViewDocumentFragment(n,i[e(404)]((t=>Tn(t,this[e(519)]))));return this[e(519)][e(609)][e(392)](r)}[_n(358)](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(497)](t,{start:e[r(615)][r(363)](),end:e[r(607)][r(363)](),rootName:e[r(344)][r(349)]});this[r(556)][r(497)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(528)](t){const e=_n;this[e(556)][e(348)](t)}[_n(362)](){const t=_n;this[t(606)](),this[t(336)]=-1,this[t(557)]=-1,this[t(556)][t(544)](),this[t(395)](this[t(483)])}[_n(606)](){const t=_n;this[t(432)][t(544)](),this[t(396)][t(544)](),this[t(520)][t(544)](),this[t(376)][t(544)](),this[t(553)][t(544)](),this[t(543)][t(544)](),this[t(377)][t(544)](),this[t(323)][t(544)](),this[t(501)][t(544)](),this[t(428)][t(544)](),this[t(527)]=1,this[t(540)]=this[t(527)]}[_n(521)](t,e=null){const i=_n;let n=null;t.is(i(451))||(n=new Yi.Element(t[i(603)],{vid_start:null===e?this[i(527)]++:e++}));const r=[];for(const n of t[i(435)]())if(n.is(i(523))){r[i(638)](this[i(521)](n,e));const t=r[r[i(419)]-1];null!==e&&(e=t.is(i(523),i(330))?t[i(630)](i(434))+1:t[i(630)](i(477))+1)}else for(let t=0;t<n[i(511)];t++)r[i(638)](new Yi.Element(i(330),{vid:null===e?this[i(527)]++:e++}));if(t.is(i(451))){const e=Rn(t[i(349)]);return e[i(446)](0,r),e}return n[i(600)](i(477),null===e?this[i(527)]++:e++),n[i(446)](0,r),n}[_n(473)](t,e,i){const n=_n;this[n(606)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(556)][n(372)](t);this[n(543)]=new Map(r),this[n(377)]=new Map(vi(o));for(const[t,e]of this[n(543)])if(n(629)!==t&&(this[n(376)][n(497)](t,An(e)),this[n(553)]=new Map(vi(o)),i)){const i=this[n(527)];this[n(323)][n(497)](t,this[n(521)](e)),this[n(501)][n(497)](t,this[n(521)](e,i))}this[n(540)]=this[n(527)],this[n(376)][n(497)](n(629),An(this[n(543)][n(372)](n(629)))),i&&this[n(323)][n(497)](n(629),this[n(521)](this[n(543)][n(372)](n(629))));for(const[t,e]of s){const i=this[n(543)][n(372)](e[n(349)]),r=this[n(376)][n(372)](e[n(349)]),s=new Yi.Range(this[n(590)](e[n(615)],i),this[n(590)](e[n(607)],i)),o=this[n(618)](s,r);i[n(611)][n(497)](t,s),this[n(428)][n(497)](t,o)}this[n(534)](t,e,i)}[_n(534)](t,e,i){const n=_n;for(const r of this[n(483)][n(443)](t,e))this[n(456)](r,i);for(const t of this[n(376)][n(639)]())t[n(611)][n(544)]();for(const[t,e]of this[n(428)])this[n(376)][n(372)](e[n(344)][n(349)])[n(611)][n(497)](t,e[n(363)]());const r=new Map,s=new Map;for(const[t,e]of this[n(376)])r[n(497)](t,An(e)),s[n(497)](t,this[n(553)][n(372)](t));this[n(358)](e,r,this[n(428)],s)}[_n(509)](t){const e=_n,i=Array[e(573)](this[e(556)][e(522)]());i[e(554)](((t,e)=>t-e)),i[e(389)]();for(const e of i)if(e<t)return e;return Number[e(465)]}[_n(612)](t,e){const i=_n,n=Array[i(573)](e[i(611)])[i(404)]((([e,n])=>[e,this[i(618)](n,t)]));t[i(611)]=new Map(n)}[_n(507)](t){const e=_n;for(const i of this[e(428)][e(639)]()){const n=i[e(576)](t),r=Yi.Range[e(587)](n);i[e(615)]=r[e(615)],i[e(607)]=r[e(607)]}}[_n(456)](t,e){const i=_n;if(i(454)!=t[i(398)]&&i(549)!=t[i(398)]){if(i(420)==t[i(398)]){const n=t[i(610)][i(344)][i(349)];this[i(376)][i(412)](n)||(this[i(376)][i(497)](n,Rn(n,!0)),this[i(553)][i(497)](n,{}),e&&this[i(323)][i(497)](n,Rn(n,!0)))}else{if(i(433)==t[i(398)]||i(620)==t[i(398)]||i(533)==t[i(398)])return void this[i(627)](t);i(334)==t[i(398)]&&this[i(586)](t)}if(i(334)!==t[i(398)]){const e=this[i(486)](t,this[i(376)]);e[i(440)](),this[i(507)](e)}if(e)switch(t[i(398)]){case i(420):this[i(359)](t);break;case i(401):case i(341):case i(367):this[i(448)](t);break;case i(353):this[i(406)](t);break;case i(545):this[i(364)](t)}}else this[i(439)](t,e)}[_n(486)](t,e){const i=_n,n=t[i(363)]();return n[i(601)]=t[i(601)],this[i(555)](n,e),n}[_n(508)](t){const e=_n;return t[e(404)]((t=>{const i=e,n=this[i(476)](t);return Number(t[i(595)][i(630)](n))}))}[_n(637)](t,e){const i=_n;if(t.is(i(523),i(330)))e[i(638)]({item:t,type:i(575)});else{t.is(i(523))&&e[i(638)]({item:t,type:i(572)});for(const n of t[i(435)]())this[i(637)](n,e);t.is(i(523))&&e[i(638)]({item:t,type:i(605)})}return e}[_n(617)](){const t=_n,e=new Map(this[t(432)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(543)][t(522)](),...this[t(376)][t(522)]()]);a[t(348)](t(629));for(const e of a){const i=this[t(376)][t(372)](e)||Rn(e,!1),n=this[t(543)][t(372)](e)||Rn(e,!1);i[t(561)]()||n[t(561)]()?(r[t(496)][e]=An(i),r[t(380)][e]=An(n),this[t(612)](r[t(380)][e],n),this[t(612)](r[t(496)][e],i),s[t(496)][e]=this[t(637)](this[t(323)][t(372)](e),[]),s[t(380)][e]=this[t(637)](this[t(501)][t(372)](e)||Rn(e,!1),[])):a[t(348)](e)}for(const r of a){const o=s[t(496)][r];for(const r of o){const s=this[t(476)](r),o=r[t(595)][t(630)](s);i[t(348)](o),o>=this[t(540)]&&n[t(497)](o,e[t(372)](o))}}for(const r of a){const a=s[t(496)][r],c=this[t(508)](s[t(380)][r]);let u=0;for(const r of a){const s=this[t(476)](r),a=r[t(595)][t(630)](s);if(!n[t(412)](a)&&!o[t(412)](a))if(i[t(412)](a))u++;else{if(a!=c[u]){const n=e[t(372)](a)||e[t(372)](c[u]);for(;a!=c[u];)i[t(412)](c[u])||(o[t(497)](c[u],n),e[t(497)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(496)][e];for(const e of r){const r=this[t(476)](e),s=e[t(595)][t(630)](r);if(o[t(412)](s)){const e=o[t(372)](s);i[t(412)](s)||i[t(497)](s,{...e}),n[t(497)](s,{...e})}}}for(const e of i[t(522)]())e>=this[t(540)]&&i[t(348)](e);const c=new Map;for(const e of a){let r=s[t(496)][e];for(const e of r)if(e[t(595)].is(t(523),t(417))){const i=this[t(476)](e),r=e[t(595)][t(630)](i);if(n[t(412)](r)){const i=e[t(595)][t(436)][t(436)][t(630)](t(467)),s=c[t(372)](i)||new Set;s[t(567)](n[t(372)](r)[t(385)]),c[t(497)](i,s)}}r=s[t(380)][e];for(const e of r)if(e[t(595)].is(t(523),t(417))){const n=this[t(476)](e),r=e[t(595)][t(630)](n);if(i[t(412)](r)){const n=e[t(595)][t(436)][t(436)][t(630)](t(467)),s=c[t(372)](n)||new Set;s[t(567)](i[t(372)](r)[t(385)]),c[t(497)](n,s)}}for(const e of c[t(522)]())(n[t(412)](e)||i[t(412)](e))&&c[t(348)](e)}for(const e of a){const r=s[t(496)][e];let o=null,a=null;for(const e of r){const r=this[t(476)](e),s=e[t(595)][t(630)](r),u=c[t(372)](s);u&&t(572)==e[t(398)]&&(o=Array[t(573)](u)[0],a=e[t(595)][t(630)](t(477))),o&&(i[t(497)](s,{userId:o}),n[t(497)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(380)][e],a=r[t(496)][e];for(const{userId:e}of this[t(396)][t(639)]())null!==e&&l[t(567)](e);for(const{userId:e}of this[t(520)][t(639)]())null!==e&&l[t(567)](e);this[t(352)](a,s[t(496)][e],n,t(506),l),this[t(352)](o,s[t(380)][e],i,t(335),l),u[e]={insertions:this[t(493)](a),deletions:this[t(493)](o),attachChange:this[t(520)][t(372)](e)||null,attributesBefore:vi(this[t(377)][t(372)](e))||{},attributesAfter:vi(this[t(553)][t(372)](e))}}return{diffData:u,authorsIds:Array[t(573)](l)}}[_n(339)](t){const e=_n;for(const[,i]of t[e(611)]){const t=i[e(615)][e(430)]()[e(514)]((t=>e(417)==t[e(603)]));for(const i of t)1==i[e(583)]&&i[e(342)](0).is(e(523),e(598))&&i[e(342)](0)[e(600)](e(596),!0)}}[_n(493)](t){const e=_n;this[e(339)](t);const i=this[e(519)][e(609)][e(360)](t,{}),n=Array[e(573)](i[e(435)]())[e(404)]((t=>this[e(491)](t)));return JSON[e(484)](n)}[_n(491)](t){const e=_n;if(t.is(e(330)))return t[e(609)];{const i=t;return{type:Object[e(522)](On)[e(481)]((e=>t instanceof On[e])),name:i[e(603)],attributes:Array[e(573)](i[e(416)]()),children:Array[e(573)](i[e(435)]())[e(404)]((t=>this[e(491)](t)))}}}[_n(352)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(519)][s(328)];for(let n=0;n<e[s(419)];n++){const r=this[s(476)](e[n]),c=e[n][s(595)][s(630)](r),h=i[s(372)](c),d=n==e[s(419)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(385)]!=o[s(385)])&&(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(385)],d=l(495)+n+":"+h+":"+c++,f=u[l(516)](i,a);t[l(611)][l(497)](d,f),null!==h&&r[l(567)](h)}}[_n(476)](t){const e=_n;switch(t[e(398)]){case e(572):return e(467);case e(605):return e(477);default:return e(434)}}[_n(555)](t,e){const i=_n;t[i(542)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(372)](r[i(344)][i(349)]);t[n]=this[i(590)](r,s)}if(r instanceof Yi.Range){const s=e[i(372)](r[i(344)][i(349)]);t[n]=this[i(618)](r,s)}i(344)===n&&(t[i(344)]=e[i(372)](t[i(344)][i(349)]))}}[_n(618)](t,e){const i=_n;return this[i(519)][i(328)][i(516)](this[i(590)](t[i(615)],e),this[i(590)](t[i(607)],e))}[_n(590)](t,e){const i=_n;return this[i(519)][i(328)][i(397)](e,t[i(431)],t[i(574)])}[_n(359)](t){const e=_n,i=this[e(323)][e(372)](t[e(610)][e(344)][e(349)]),n=this[e(590)](t[e(610)],i),r=null===t[e(601)]?null:t[e(601)]||this[e(519)][e(635)][e(372)](e(445)).me.id,s=n[e(436)],o=this[e(527)],a=[];for(const i of t[e(503)])if(i.is(e(523)))a[e(638)](this[e(521)](i));else for(let t=0;t<i[e(511)];t++)a[e(638)](new Yi.Element(e(330),{vid:this[e(527)]++}));const c=this[e(527)];for(let t=o;t<c;t++)this[e(432)][e(497)](t,{userId:r});s[e(446)](n[e(581)],a)}[_n(448)](t){const e=_n;(t=this[e(486)](t,this[e(323)]))[e(440)]();const i=null===t[e(601)]?null:t[e(601)]||this[e(519)][e(635)][e(372)](e(445)).me.id,n=t[e(480)](),r=n[e(436)],s=n[e(581)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(342)](e);s.is(a(523),a(330))?n[a(497)](s[a(630)](a(434)),{userId:i}):(n[a(497)](s[a(630)](a(467)),{userId:i}),t(n,s,0,s[a(583)]),n[a(497)](s[a(630)](a(477)),{userId:i}))}}(this[e(432)],r,s,s+t[e(322)])}[_n(406)](t){const e=_n,i=null===(t=this[e(486)](t,this[e(323)]))[e(601)]?null:t[e(601)]||this[e(519)][e(635)][e(372)](e(445)).me.id,n=t[e(388)][e(436)],r=t[e(541)][e(436)],s=n[e(630)](e(477)),o=r[e(630)](e(467));n[e(600)](e(477),r[e(630)](e(477))),r[e(600)](e(477),s),this[e(432)][e(497)](o,{userId:i}),this[e(432)][e(497)](s,{userId:i}),t[e(440)]()}[_n(364)](t){const e=_n,i=null===(t=this[e(486)](t,this[e(323)]))[e(601)]?null:t[e(601)]||this[e(519)][e(635)][e(372)](e(445)).me.id,n=t[e(438)],r=t[e(403)][e(436)];t[e(440)]();const s=r[e(630)](e(477)),o=t[e(461)][e(414)];if(n){const t=o[e(630)](e(477)),n=r[e(630)](e(477));r[e(600)](e(477),t),o[e(600)](e(477),n),this[e(432)][e(497)](r[e(630)](e(477)),{userId:i}),this[e(432)][e(497)](o[e(630)](e(467)),{userId:i})}else{const t=this[e(527)]++,n=this[e(527)]++;r[e(600)](e(477),t),o[e(600)](e(467),n),o[e(600)](e(477),s),this[e(432)][e(497)](t,{userId:i}),this[e(432)][e(497)](n,{userId:i})}}[_n(586)](t){const e=_n;if(!t[e(510)])return;const i=(t=this[e(486)](t,this[e(376)]))[e(633)]?t[e(633)][e(344)]:null,n=t[e(442)]?t[e(442)][e(344)]:null;i&&this[e(428)][e(348)](t[e(603)]),n&&this[e(428)][e(497)](t[e(603)],t[e(442)][e(363)]());const r=null===t[e(601)]?null:t[e(601)]||this[e(519)][e(635)][e(372)](e(445)).me.id,s=t[e(603)];if(!this[e(396)][e(412)](s))return void this[e(396)][e(497)](s,{range:t[e(633)],userId:r});const o=this[e(396)][e(372)](s),a=o[e(441)],c=t[e(442)];null==a&&null==c||a&&c&&a[e(407)](c)?this[e(396)][e(348)](t[e(603)]):o[e(385)]=r}[_n(439)](t,e){const i=_n;this[i(376)][i(412)](t[i(349)])?this[i(376)][i(372)](t[i(349)])[i(474)]=t[i(526)]:(this[i(376)][i(497)](t[i(349)],Rn(t[i(349)],!0)),this[i(553)][i(497)](t[i(349)],{}),e&&this[i(323)][i(497)](t[i(349)],Rn(t[i(349)],!0)));const n=null===t[i(601)]?null:t[i(601)]||this[i(519)][i(635)][i(372)](i(445)).me.id,r=this[i(520)][i(372)](t[i(349)]);r&&r[i(385)]===n?this[i(520)][i(348)](t[i(349)]):this[i(520)][i(497)](t[i(349)],{userId:n,isAttached:t[i(526)]})}[_n(627)](t){const e=_n,i=this[e(553)][e(372)](t[e(344)][e(349)]);null===t[e(566)]?delete i[t[e(599)]]:i[t[e(599)]]=t[e(566)]}}function An(t){const e=_n,i=Rn(t[e(349)],t[e(561)]());for(const n of t[e(435)]()){const t=n[e(332)](!0);i[e(331)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(349)]=t,n[i(474)]=e,n[i(561)]=()=>n[i(474)],n}function Mn(t,e,i){const n=_n,r=n(605)==t[n(398)]?i[n(422)](t[n(595)],n(607)):i[n(343)](t[n(595)]);return i[n(397)](e,r[n(431)],r[n(574)])}function Vn(t,e,i){const n=_n,r=n(572)==t[n(398)]?i[n(422)](t[n(595)],0):i[n(494)](t[n(595)]);return i[n(397)](e,r[n(431)],r[n(574)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Hn=i(357),Un=i.n(Hn),Zn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Ln().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Un();Cn()(Zn.A,$n);Zn.A&&Zn.A.locals&&Zn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Un();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;function Yn(t,e){const i=Kn();return(Yn=function(t,e){return i[t-=456]})(t,e)}const Gn=Yn;!function(t){const e=Yn,i=t();for(;;)try{if(803997===parseInt(e(492))/1*(-parseInt(e(485))/2)+parseInt(e(488))/3+parseInt(e(475))/4*(parseInt(e(491))/5)+-parseInt(e(467))/6+-parseInt(e(479))/7+parseInt(e(494))/8*(-parseInt(e(465))/9)+-parseInt(e(489))/10*(-parseInt(e(484))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kn);class Jn extends En.View{constructor(e,i){const n=Yn;super(e),this[n(463)]=new t.FocusTracker,this[n(459)]=new t.KeystrokeHandler,this[n(477)](n(470),""),this[n(482)]=this[n(483)](i),this[n(464)]({tag:n(469),attributes:{class:["ck",n(478),n(499)],tabindex:"-1"},children:[this[n(482)]]}),(0,En.injectCssTransitionDisabler)(this)}[Gn(476)](){const t=Gn;super[t(476)](),(0,En.submitHandler)({view:this}),this[t(463)][t(472)](this[t(482)][t(496)]),this[t(459)][t(498)](this[t(496)]);const e=e=>e[t(486)]();this[t(459)][t(477)](t(487),e),this[t(459)][t(477)](t(495),e),this[t(459)][t(477)](t(468),e),this[t(459)][t(477)](t(458),e)}[Gn(490)](){const t=Gn;this[t(482)][t(490)]()}get[Gn(474)](){const t=Gn;return this[t(482)][t(457)][t(496)][t(497)][t(460)]()}set[Gn(474)](t){const e=Gn;this[e(482)][e(457)][e(496)][e(497)]=t[e(460)]()}[Gn(471)](){const t=Gn;this[t(482)][t(457)][t(496)][t(497)]="",this[t(482)][t(462)]=null}[Gn(483)](t){const e=Gn,i=new En.LabeledFieldView(this[e(456)],En.createLabeledInputText),n=i[e(457)];n[e(473)]({attributes:{maxlength:e(466)}});let r=Xi(this[e(456)],e(493));return!t&&(r+=" ("+Xi(this[e(456)],e(461))+")"),i[e(481)]=r,n.on(e(480),(()=>{const t=e;this[t(470)]=n[t(496)][t(497)][t(460)]()})),i}}function Kn(){const t=["42856pjwYGQ","arrowleft","element","value","listenTo","ck-responsive-form","locale","fieldView","arrowdown","keystrokes","trim","optional","errorText","focusTracker","setTemplate","1386RlUZAf","220","7072026GONCMy","arrowup","form","revisionNameInputValue","reset","add","extendTemplate","revisionName","122108voGesm","render","set","ck-revision-history-save-revision-form","3002979GnyKQo","input","label","revisionNameInputView","_createRevisionNameInput","4105222PIrhnP","12VGHGFc","stopPropagation","arrowright","2306832yHvjLt","60HXVoIV","focus","175NaIEaf","139993NYIwRA","Name of the revision"];return(Kn=function(){return t})()}const Qn=tr;function Xn(){const t=["The revision name cannot be empty.","RevisionHistoryUI","show","3647005XXmEdA","isReady","Dialog","Accept","Save current revision","3lBIvLD","revisionName","953808ugnhNz","Cancel","panelView","hide","errorText","submit","requires","_createSaveRevisionFormView","Revision history","add","isOfficialPlugin","addMany","role","render","revisionSave","init","delegate","get","componentFactory","showRevisionViewerCallback","bind","menu","pluginName","71151Ycvxqc","saveRevision","_showDialog","944136DUZZzz","Open revision history","editor","isReadOnly","config","revisionHistory","revisionHistory.requireRevisionName","_saveRevisionFormView","buttonView","menuitem","editing","1785FeOJxl","view","isPremiumPlugin","children","RevisionTracker","locale","isOpen","menuBar:revisionHistory","ck-button-action","set","reset","history","focus","plugins","21832560gSNAid","20632GWLnsv","_registerMenuComponent","revisionNameInputView","isEnabled","items","execute","997918VSJLJe"];return(Xn=function(){return t})()}function tr(t,e){const i=Xn();return(tr=function(t,e){return i[t-=198]})(t,e)}!function(t){const e=tr,i=t();for(;;)try{if(529890===parseInt(e(223))/1+-parseInt(e(258))/2*(parseInt(e(198))/3)+-parseInt(e(200))/4+-parseInt(e(262))/5+parseInt(e(226))/6+parseInt(e(237))/7*(-parseInt(e(252))/8)+parseInt(e(251))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xn);class er extends qi.Plugin{static get[Qn(222)](){return Qn(260)}static get[Qn(210)](){return!0}static get[Qn(239)](){return!0}static get[Qn(206)](){return[xn]}[Qn(215)](){const t=Qn,e=this[t(228)],i=e[t(250)][t(217)](t(241));e.ui[t(218)][t(209)](t(231),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(202)][r(240)],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(220)](r(255)).to(i,r(263),i,r(255),e,r(229),((t,e,i)=>t&&e&&!i)),s[r(234)][r(246)]({icon:qi.icons[r(248)],label:Xi(n,r(208)),tooltip:!0}),u[r(246)]({label:Xi(n,r(266)),withText:!0,role:r(235)}),u[r(220)](r(255)).to(i,r(263),i,r(255),e,r(229),((t,e,i)=>t&&e&&!i)),u.on(r(257),(()=>this[r(225)]())),h[r(246)]({label:Xi(n,r(227)),withText:!0,role:r(235)}),h[r(220)](r(255)).to(i,r(263),e,r(229),((t,e)=>t&&!e)),h.on(r(257),(()=>{const t=r;e[t(230)][t(217)](t(231))[t(219)](),s[t(243)]=!1,e[t(236)][t(238)][t(249)]()})),c[r(240)][r(209)](u),l[r(240)][r(209)](h),a[r(212)]=r(221),a[r(256)][r(211)]([c,l]),o[r(209)](a),s})),e.ui[t(218)][t(209)](t(244),(()=>this[t(253)]()))}[Qn(253)](){const t=Qn,e=this[t(228)],i=e[t(242)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(234)][t(246)]({icon:qi.icons[t(248)],label:Xi(i,t(208))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(246)]({label:Xi(i,t(266))}),o[t(216)](t(257)).to(n),o.on(t(257),(()=>{this[t(225)]()})),s[t(240)][t(209)](o),r[t(256)][t(209)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(246)]({label:Xi(i,t(227))}),c[t(216)](t(257)).to(n),c.on(t(257),(()=>{const i=t;e[i(230)][i(217)](i(231))[i(219)]()})),a[t(240)][t(209)](c),r[t(256)][t(209)](a),n[t(202)][t(240)][t(209)](r),n}[Qn(225)](){const t=Qn,e=this[t(228)],i=e[t(242)],n=e[t(250)][t(217)](t(264)),r=e[t(250)][t(217)](t(241));function s(r){const s=t;e[s(230)][s(217)](s(232))&&""===r[s(199)]?r[s(254)][s(204)]=Xi(i,s(259)):(e[s(250)][s(217)](xn)[s(224)]({name:r[s(199)]}),n[s(203)]())}this[t(233)]||(this[t(207)](),this[t(233)].on(t(205),(()=>s(this[t(233)])))),this[t(233)][t(247)](),n[t(261)]({id:t(214),title:Xi(i,t(266)),isModal:!0,content:this[t(233)],actionButtons:[{label:Xi(e[t(242)],t(201)),withText:!0,onExecute:()=>n[t(203)]()},{label:Xi(e[t(242)],t(265)),class:t(245),withText:!0,onCreate(i){const n=t;i[n(220)](n(255)).to(r,n(263),r,n(255),e,n(229),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(233)])}]})}[Qn(207)](){const t=Qn,e=this[t(228)],i=e[t(242)];this[t(233)]=new Jn(i,e[t(230)][t(217)](t(232))),this[t(233)][t(213)]()}}const ir=rr;function nr(){const t=["952yxIFJe","679vklesw","add","14519241GtoHlv","58xOfLJR","name","5297840Glxeae","set","data","9519750eUOlGN","bindTemplate","isSuggestion","12248RlfHbS","author","Removed by","6867lVNQwe","ck-revision-change__label","26396FFqFGN","ck-annotation","831dIOSiD","changeId","65940wmbbUG","element","_model","type","setTemplate","focus","span","ck-revision-change","Added by","ck-revision-change__","Suggested by","div"];return(nr=function(){return t})()}function rr(t,e){const i=nr();return(rr=function(t,e){return i[t-=191]})(t,e)}!function(t){const e=rr,i=t();for(;;)try{if(614903===parseInt(e(205))/1*(-parseInt(e(218))/2)+parseInt(e(220))/3*(parseInt(e(201))/4)+-parseInt(e(207))/5+-parseInt(e(222))/6*(parseInt(e(202))/7)+parseInt(e(213))/8*(parseInt(e(216))/9)+parseInt(e(210))/10+parseInt(e(204))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends En.View{constructor(t,e){const i=rr;super(t),this[i(191)]=e,this[i(221)]=e.id;const n=this[i(211)],r=Xi(t,e[i(209)][i(212)]?i(199):i(203)==e[i(192)]?i(197):i(215));this[i(208)](i(192),e[i(192)]),this[i(193)]({tag:i(200),attributes:{class:[i(219),i(196),n.to(i(192),(t=>i(198)+t))],tabindex:-1},children:[{tag:i(195),children:[{tag:i(195),attributes:{class:[i(217)]},children:[{text:r}]},{text:" "+e[i(214)][i(206)]}]}]})}[ir(194)](){const t=ir;this[t(223)][t(194)]()}}var or=ar;function ar(t,e){var i=cr();return(ar=function(t,e){return i[t-=407]})(t,e)}function cr(){var t=["author","data","toJSON","3zXTWUz","219148XoccJv","440550cSspDb","rootName","7GuXAVC","953432UtBuFi","9JyAHLP","set","96pKMKzR","1108824THmvxf","8721790wvHOyA","createdAt","5849bghXuV","2367570wzymZJ","type"];return(cr=function(){return t})()}!function(t){for(var e=ar,i=t();;)try{if(171499===parseInt(e(416))/1*(parseInt(e(412))/2)+-parseInt(e(422))/3*(-parseInt(e(423))/4)+parseInt(e(424))/5+parseInt(e(413))/6+parseInt(e(408))/7*(parseInt(e(409))/8)+parseInt(e(410))/9*(parseInt(e(417))/10)+-parseInt(e(414))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(cr);class ur extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(419)]=e[i(419)],this[i(418)]=e[i(418)],this[i(420)]=e[i(420)]||{},this[i(407)]=e[i(407)],this[i(411)](i(415),e[i(415)])}[or(421)](){var t=or;return{id:this.id,authorId:this[t(419)].id,type:this[t(418)],data:this[t(420)],createdAt:this[t(415)]}}}function lr(t,e){const i=dr();return(lr=function(t,e){return i[t-=379]})(t,e)}const hr=lr;function dr(){const t=["83012hoiRPV","_setChanges","63BPyPMX","oldRevisionId","318951FxytDm","1202632DiYmSZ","changes","1176090wDmDBl","newRevisionId","65rnBhkP","1540524HUojva","172236ELYewo","1643369FkjjyY","4sOafzl","add"];return(dr=function(){return t})()}!function(t){const e=lr,i=t();for(;;)try{if(213047===parseInt(e(385))/1*(-parseInt(e(383))/2)+parseInt(e(391))/3+-parseInt(e(387))/4*(-parseInt(e(381))/5)+-parseInt(e(382))/6+-parseInt(e(384))/7+-parseInt(e(392))/8+parseInt(e(389))/9*(parseInt(e(379))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=lr;this[n(380)]=e,this[n(390)]=i,this[n(393)]=new t.Collection}[hr(388)](t){const e=hr;for(const i of t)this[e(393)][e(386)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Un();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=yr;function yr(t,e){const i=_r();return(yr=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=yr,i=t();for(;;)try{if(446690===parseInt(e(640))/1*(parseInt(e(520))/2)+parseInt(e(540))/3+-parseInt(e(543))/4*(parseInt(e(404))/5)+parseInt(e(529))/6*(parseInt(e(532))/7)+parseInt(e(504))/8*(parseInt(e(377))/9)+parseInt(e(694))/10*(parseInt(e(512))/11)+-parseInt(e(649))/12*(parseInt(e(697))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_r);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(410)](){return vr(537)}static get[vr(623)](){return!0}static get[vr(503)](){return!0}static get[vr(456)](){return[Bi.Users,En.ContextualBalloon,Qi]}constructor(t){const e=vr;super(t),this[e(393)]=this[e(501)][e(559)][e(595)](e(622)),this[e(369)](e(582),null),this[e(369)](e(474),null),this[e(462)]=null,this[e(369)](e(449),null),this[e(369)](e(568),!1),this[e(369)](e(394),!0),this.on(e(398),((t,i,n)=>{const r=e;this[r(582)]=null,this[r(474)]=null,this[r(501)][r(517)][r(670)][r(602)]((t=>{const e=r;for(const i of this[e(501)][e(517)][e(670)][e(493)][e(500)])n?t[e(588)](e(491),i):t[e(642)](e(491),i)}))})),this[e(703)](e(619)).to(this,e(582),(t=>null!==t)),this[e(703)](e(692)).to(this,e(568),this,e(449),this,e(582),((t,i,n)=>t&&n?i[e(385)][e(530)](n):0)),this[e(703)](e(469)).to(this,e(568),this,e(449),((t,i)=>t?i[e(385)][e(521)]:0)),this[e(499)]=null,this[e(533)]=new Map,this[e(544)]=null,this[e(628)]=this[e(501)][e(559)][e(595)](En.ContextualBalloon)}[vr(654)](){const t=vr,e=this[t(501)],i=new Ir(e,{direction:t(551)}),n=new Ir(e,{direction:t(392)});e[t(406)][t(391)](t(481),i),e[t(406)][t(391)](t(661),n),e[t(406)][t(391)](t(437),new wr(e)),this.on(t(539),(()=>{const e=t;i[e(565)](),n[e(565)]()})),this[t(476)](),this[t(448)](),e[t(585)](t(549)),e[t(559)][t(650)](t(389))&&e[t(559)][t(595)](t(389))[t(400)](t(549))}async[vr(488)](t){const e=vr;await this[e(473)](t);const i={};for(const n in t[e(439)]){if(t[e(439)][n][e(376)]&&!t[e(439)][n][e(376)][e(584)])continue;const r=this[e(390)](JSON[e(575)](t[e(439)][n][e(429)])),s=this[e(501)][e(517)][e(670)][e(493)],o=new Yi.ViewDocumentFragment(s,r[e(388)]((t=>this[e(599)](t))));this[e(501)][e(454)][e(494)][e(666)](e(651)),i[n]=this[e(501)][e(454)][e(494)][e(616)](o),this[e(501)][e(454)][e(494)][e(666)](e(643))}return i}async[vr(526)](t){const e=vr;await this[e(473)](t);const i={};for(const n in t[e(439)])t[e(439)][n][e(376)]&&!t[e(439)][n][e(376)][e(584)]||(i[n]=t[e(439)][n][e(453)]||{});return i}[vr(390)](t){const e=vr;return(t=t[e(424)]((t=>!t[e(425)]||e(681)!==t[e(425)]&&e(466)!==t[e(425)])))[e(601)]((t=>{const i=e;i(608)!=typeof t&&(t[i(367)]=this[i(390)](t[i(367)]),t[i(386)]=t[i(386)][i(424)]((t=>!t[0][i(381)](i(680)))))})),t}async[vr(509)](t,e,i=!1){const n=vr;if(!this[n(394)])return;const r=this[n(449)],s=this[n(393)],o=n(608)==typeof t?s[n(510)](t):t,a=n(608)==typeof e?s[n(510)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(449)]&&this[n(449)][n(644)]===c&&this[n(449)][n(374)]===u)return Promise[n(567)]();this[n(568)]=!1,this[n(474)]=null,this[n(582)]=null,this[n(449)]=new fr(c,u);const l=this[n(674)](o,a,!0)[n(388)]((t=>this[n(473)](t)));return l[n(630)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(379)](l)[n(416)]((()=>{const t=n;if(!this[t(394)])return;this[t(408)]();const e=this[t(498)](c,u);for(const i of e[t(385)])this[t(533)][t(369)](i.id,i);this[t(501)][t(418)][t(546)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(501)][n(418)][n(493)][n(525)]())i[n(482)](t);for(const t of Object[n(664)](e[n(418)])){const r=i[n(562)](t);for(const s of Object[n(664)](e[n(386)][t]))i[n(372)](s,e[n(386)][t][s],r);i[n(515)](e[n(418)][t],r,0)}})),this[t(449)][t(465)](this[t(586)](e[t(385)])),this[t(568)]=!0}))[n(443)]((t=>{const e=n;console[e(571)](t),this[e(408)](),r&&(this[e(449)]=r),this[e(568)]=!0}))}[vr(412)](t,e){const i=vr,n=this[i(393)][i(452)](t);return n.on(i(441),((t,i,r)=>e(i,r,n))),this[i(393)][i(413)](n),n}[vr(473)](t){const e=vr;if(!t||t[e(439)])return Promise[e(567)]();{const i=this[e(501)][e(673)][e(595)](e(375));return this[e(544)][e(510)]({channelId:i,revisionId:t.id})[e(416)]((i=>{const n=e;t[n(441)]({diffData:i[n(439)]},!0)}))}}[vr(408)](){const t=vr;this[t(582)]=null,this[t(675)](),this[t(499)]&&this[t(499)][t(615)](),this[t(499)]=null,this[t(533)][t(607)](),this[t(501)][t(418)][t(546)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(501)][i(418)][i(493)][i(525)]())e[i(482)](t)}))}[vr(586)](t){const e=vr,i=[],n=new Map;for(const t of this[e(501)][e(418)][e(493)][e(525)]()){const r=this[e(501)][e(517)][e(670)][e(647)](t);if(!r)continue;const s=r[e(550)]()[e(407)](0);s&&(i[e(630)](t),n[e(369)](t,s))}return i[e(430)](((t,i)=>{const r=e,s=n[r(595)](t),o=n[r(595)](i);return s.y-o.y||s.x-o.x})),(t=t[e(424)]((t=>i[e(373)](t[e(553)]))))[e(430)](((t,n)=>i[e(409)](t[e(553)])-i[e(409)](n[e(553)]))),t}[vr(677)](t){const e=vr,i=Array[e(455)](t[e(383)])[e(424)]((([t,i])=>t[e(381)](e(545))&&!i[e(574)])),n=Array[e(455)](this[e(501)][e(418)][e(685)](t)[e(655)]({singleCharacters:!0}));if(0!=i[e(521)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(366)](":");if(r[e(450)][e(440)](t[e(464)])&&i[e(667)](),(t[e(688)][e(440)](r[e(660)])||t[e(688)][e(378)](r[e(660)]))&&(e(629)==s?t[e(365)]={userId:o}:e(617)==s&&(t[e(535)]={userId:o})),0==i[e(521)])break}return n}[vr(626)](t){const e=vr,i=new Map;for(let n=0;n<t[e(521)];n++)e(603)===t[n][e(414)]?(t[n][e(407)][e(587)]=n,t[n][e(407)][e(460)]=n):(e(461)===t[n][e(414)]?t[n][e(407)][e(587)]=n:e(701)===t[n][e(414)]&&(t[n][e(407)][e(460)]=n),i[e(369)](t[n].id,n));for(const n of i[e(600)]())e(461)===t[n][e(414)]?t[n][e(407)][e(460)]=i[e(595)](t[n][e(419)]):e(701)===t[n][e(414)]&&(t[n][e(407)][e(587)]=i[e(595)](t[n][e(419)]))}[vr(368)](t){const e=vr;for(let i=0;i<t[e(521)];i++){if(e(461)===t[i][e(414)])t[i][e(407)][e(587)]=i;else if(e(701)===t[i][e(414)]){t[i][e(407)][e(460)]=i;const n=t[i][e(407)][e(587)];t[n][e(419)]=t[i].id,t[i][e(419)]=t[n].id}else t[i][e(407)][e(587)]=i,t[i][e(407)][e(460)]=i,t[i][e(419)]=null;t[i][e(458)]||(t[i][e(458)]=[],t[i][e(490)]=[])}}[vr(538)](t,e){const i=vr,n=t[i(424)]((t=>!t[i(365)]));for(let t=0;t<e[i(521)];t++)e[t][i(365)]&&(n[t][i(365)]=e[t][i(365)])}[vr(401)](t){const e=vr,i=JSON[e(575)](t),n=this[e(501)][e(517)][e(670)][e(493)],r=new Yi.ViewDocumentFragment(n,i[e(388)]((t=>this[e(599)](t))));return this[e(501)][e(454)][e(478)](r)}[vr(599)](t){const e=vr,i=this[e(501)][e(517)][e(670)][e(493)];if(e(608)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(367)][e(388)]((t=>this[e(599)](t)));return new(gr[t[e(414)]]||Yi.ViewElement)(i,t[e(425)],t[e(386)],n)}}[vr(498)](t,e=null){const i=vr,n=this[i(393)][i(510)](t),r=e?this[i(393)][i(510)](e):null,s=this[i(674)](n,r),o=s[s[i(521)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(521)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(664)](e[i(439)]))if(e[i(439)][t][i(376)]){const n=e[i(439)][t][i(376)];n[i(584)]?(u[i(391)](t),l[i(650)](t)&&l[i(595)](t)[i(632)]==n[i(632)]?l[i(511)](t):l[i(369)](t,n)):l[i(650)](t)?(u[i(511)](t),l[i(511)](t)):(u[i(391)](t),l[i(369)](t,n))}else u[i(391)](t)}for(const t of u){const e=l[i(650)](t)&&!l[i(595)](t)[i(584)];let n=e?s[i(521)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(439)][t]){const n=e?o[i(439)][t][i(633)]:o[i(439)][t][i(453)];c[i(386)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(418)]={};for(const e of t[i(605)])a[i(369)](e.id,e);for(const e of u){const n=t[i(439)][e]?t[i(439)][e][i(429)]:"[]",r=t[i(439)][e]?t[i(439)][e][i(423)]:"[]";t[i(418)][e]={insertions:this[i(401)](n),deletions:this[i(401)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(455)](n[i(418)][t][i(429)][i(383)])[i(424)]((([t])=>!t[i(381)](i(545)))));let h=0;for(const o of s){const s=this[i(677)](o[i(418)][t][i(429)]);o==n?(e=s,r=e[i(521)],e[i(601)]((t=>{t.id=h++})),this[i(368)](e)):this[i(538)](e,s);const a=e[i(424)]((t=>!t[i(365)]))[i(388)]((t=>t.id));let c=0;const l=this[i(677)](o[i(418)][t][i(423)]);l[i(601)]((t=>{t[i(535)]?t.id=r++:t.id=a[c++]})),this[i(368)](l),this[i(566)](e,i(365)),this[i(566)](l,i(535)),o==n&&this[i(557)](e,u),e=this[i(596)](e,l),this[i(626)](e),this[i(566)](e,i(535))}e=e[i(424)]((t=>!(t[i(365)]&&t[i(535)])));const d=new Map(o[i(418)][t][i(423)][i(383)]),f=new Set(u[i(664)]());for(const t of d[i(664)]())f[i(511)](t);this[i(445)](e,f),this[i(563)](e),e=this[i(690)](e),e=this[i(552)](e),e=this[i(432)](e);const{root:m,changes:p}=this[i(422)](e,a,t);c[i(418)][t]=m;const v=l[i(595)](t);if(v){const e=a[i(595)](v[i(632)]),n=new ur({author:e,type:v[i(584)]?i(391):i(561),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(580)](n),c[i(386)][t][i(570)]=n.id}c[i(385)]=c[i(385)][i(536)](p)}return c}[vr(557)](t,e){const i=vr;for(let n=0;n<t[i(521)];n++)for(const[r,s]of e)s[i(660)][i(440)](t[n][i(688)])&&t[n][i(458)][i(630)](r),s[i(450)][i(440)](t[n][i(464)])&&t[n][i(490)][i(630)](r)}[vr(596)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(521)]||s<e[i(521)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(630)](o);else if(a[i(535)]&&o[i(365)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(427)](t,r,e,s);n=n[i(536)](o),r=a,s=c}else a[i(535)]?(s++,n[i(630)](a)):(r++,n[i(630)](o))}return n}[vr(445)](t,e){const i=vr,n=[];for(let o=0;o<t[i(521)];o++){for(let s=0;s<t[o][i(458)][i(521)];s++){const a=t[o][i(458)][s];if(!e[i(650)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(508)!=c||i(629)!=u&&i(617)!=u||(n[i(580)]({type:u,name:a,userId:l}),t[o][i(458)][i(689)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(490)][i(521)];s++){const a=t[o][i(490)][s];if(!e[i(650)](a))continue;const{group:c,type:u}=r(a);if(i(508)!=c||i(629)!=u&&i(617)!=u)continue;t[o][i(490)][i(689)](s,1),s--;const l=n[i(624)]((t=>t[i(425)]==a));l>-1&&n[i(689)](l,1)}}function r(t){const e=i,n=t[e(366)](":");return{group:n[0],type:n[1],subType:n[e(521)]>=5?n[2]:null,id:n[e(521)]<5?n[2]:n[3],authorId:n[e(521)]<5?n[3]:n[4],markerCount:6==n[e(521)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(521)];i++){if(t[e(365)]&&e(629)==n[i][e(414)])return t[e(657)]=n[i],void delete t[e(365)];if(!t[e(365)]&&!t[e(535)]&&e(617)==n[i][e(414)])return void(t[e(671)]=n[i])}}}[vr(566)](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(369)](o.id,n);for(let n=0;n<t[i(521)];n++){if(i(535)==e&&t[n][i(365)]||i(365)==e&&t[n][i(535)])continue;if(i(603)==t[n][i(414)]){t[n][i(678)]=0;continue}const r=s[i(595)](t[n][i(419)]),o=s[i(595)](t[n].id);t[n][i(678)]=r-o}}[vr(674)](t,e,i=!1){const n=vr,r=[];let s=this[n(393)][n(530)](t),o=this[n(393)][n(530)](e);for(-1==o&&(o=this[n(393)][n(415)][n(521)],i=!1);s<o;)r[n(630)](this[n(393)][n(510)](s)),s++;return i&&r[n(630)](this[n(393)][n(510)](s)),r}[vr(427)](t,e,i,n){const r=vr,s=this[r(501)][r(418)][r(384)];let o=e;for(;t[o]&&t[o][r(365)];)o++;let a=n;for(;i[a]&&i[a][r(535)];)a++;u(t,e,o),u(i,n,a);const c=i[r(442)](n,a)[r(536)](t[r(442)](e,o));return c[r(430)](((t,e)=>t[r(485)]!=e[r(485)]?t[r(485)]-e[r(485)]:t[r(518)]!=e[r(518)]?t[r(518)]-e[r(518)]:t[r(678)]!=e[r(678)]?e[r(678)]-t[r(678)]:!!t[r(365)]!=!!e[r(365)]?-1==t[r(485)]||0==t[r(485)]?t[r(365)]?-1:1:t[r(365)]?1:-1:t[r(591)]-e[r(591)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(472)],c=!0;for(let r=e;r<i;r++)if(s[n(395)](t[r][n(407)])||(c=!1),t[r][n(407)][n(587)]<e&&(o=r),t[r][n(407)][n(460)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(485)]=r<=o?-1:r<a?0:1,t[r][n(591)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(678)]?t[i][n(518)]=u:(u++,t[i][n(518)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(485)]&&(t[r][n(518)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(678)]?t[e][n(518)]=u:(u--,t[e][n(518)]=u,u--)}}[vr(563)](t){const e=vr,i=new Map,n=this[e(501)][e(418)][e(384)];for(let r=1;r<t[e(521)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(603)==c[e(414)])continue;if(c[e(414)]!=u[e(414)])continue;if(!n[e(555)](u[e(407)])||n[e(639)](u[e(407)]))continue;if(!n[e(555)](c[e(407)])||n[e(639)](c[e(407)]))continue;if((t[r][e(365)]||t[r][e(657)])&&t[r-1][e(535)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(535)]||!t[r-1][e(365)]&&!t[r-1][e(657)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(518)]==o[e(518)],h=Math[e(483)](s[e(518)])<Math[e(483)](o[e(518)])&&0==o[e(678)];(l||h)&&(i[e(369)](o.id,s.id),t[e(689)](a,1),r--,s[e(365)]=!1)}for(let n=0;n<t[e(521)];n++)i[e(650)](t[n][e(419)])&&(t[n][e(419)]=i[e(595)](t[n][e(419)]))}[vr(690)](t){const e=vr,i=new Set(t[e(388)]((t=>t.id)));for(let n=0;n<t[e(521)];n++)i[e(650)](t[n][e(419)])||0==t[n][e(678)]||(t[n][e(370)]=!0);return t[e(424)]((t=>!t[e(370)]))}[vr(552)](t){const e=vr,i=new Set;for(let n=0;n<t[e(521)];n++){if(i[e(650)](t[n].id)&&t[n][e(535)]&&(t[n][e(370)]=!0),t[n][e(370)])continue;if(0==t[n][e(678)])continue;if(e(461)!=t[n][e(414)])continue;if(null==t[n][e(419)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(419)];)e(461)==t[r][e(414)]?s++:e(701)==t[r][e(414)]&&s--,r++;if(0!=s)if(t[n][e(535)])t[n][e(370)]=!0;else for(;r!=n;)t[r][e(535)]&&0!=t[r][e(678)]&&(t[r][e(370)]=!0,i[e(391)](t[r][e(419)])),r--}return t[e(424)]((t=>!t[e(370)]))}[vr(432)](t){const e=vr,i=this[e(501)][e(418)][e(384)];for(let n=0;n<t[e(521)];n++){if(!(t[n][e(365)]||t[n][e(657)]||t[n][e(535)]||t[n][e(671)]))continue;if(0==t[n][e(678)])continue;const r=t[n][e(407)];i[e(555)](r)||i[e(639)](r)||(t[n][e(365)]&&delete t[n][e(365)],t[n][e(657)]&&delete t[n][e(657)],t[n][e(671)]&&delete t[n][e(671)],t[n][e(535)]&&(t[n][e(370)]=!0))}return t[e(424)]((t=>!t[e(370)]))}[vr(422)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(501)][n(418)],c=a[n(384)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(521)];e++)if(n(461)===t[e][n(414)]){t[e][n(688)]=a[n(523)](r,f);const i=new Yi.Element(t[e][n(407)][n(425)],t[e][n(407)][n(572)]());u[0][n(438)](i),f[n(630)](0),u[n(580)](i),t[e][n(464)]=a[n(523)](r,f)}else n(701)===t[e][n(414)]?(u[n(667)](),t[e][n(688)]=a[n(523)](r,f),f[n(631)](),f[f[n(521)]-1]++,t[e][n(464)]=a[n(523)](r,f)):(t[e][n(688)]=a[n(523)](r,f),d?d[n(436)]+=t[e][n(407)][n(454)]:d=new Yi.Text(t[e][n(407)][n(454)],t[e][n(407)][n(572)]()),t[e+1]&&n(603)===t[e+1][n(414)]&&v(d,t[e+1][n(407)])||(u[0][n(438)](d),d=null),f[f[n(521)]-1]+=t[e][n(407)][n(612)],t[e][n(464)]=a[n(523)](r,f));for(let e=0;e<t[n(521)];e++){const i=t[e][n(688)],r=t[e][n(464)];for(const r of t[e][n(458)])o[n(369)](r,{start:i,end:null});m(n(671),e,i,r),m(n(657),e,i,r),m(n(535),e,i,r),m(n(365),e,i,r);for(const i of t[e][n(490)])o[n(595)](i)[n(450)]=r}for(const[t,e]of o){const i=this[n(501)][n(418)][n(597)](e[n(660)],e[n(450)]);r[n(383)][n(369)](t,i)}return s[n(430)](((t,e)=>{const i=n,s=r[i(383)][i(595)](i(545)+t.id),o=r[i(383)][i(595)](i(545)+e.id);return s[i(660)][i(528)](o[i(660)])?-1:s[i(660)][i(378)](o[i(660)])?1:s[i(450)][i(528)](o[i(450)])?-1:s[i(450)][i(378)](o[i(450)])?1:i(391)===t[i(414)]?-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(632)]:null,d=i===t[o(521)]-1,f=h[e][0],m=c[o(451)](t[i][o(407)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(450)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(632)]!==u&&(l[e][o(450)]=r,f&&f[o(632)]===l[e][o(632)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(461)!==t[i][o(414)]||f&&f[o(632)]===u||h[e][o(580)]({userId:u,object:t[i][o(407)],change:l[e]}),o(701)===t[i][o(414)]&&f&&f[o(686)]===t[i][o(407)]&&(h[e][o(667)](),l[e]=f[o(602)])),l[e]&&d&&(l[e][o(450)]=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(407)],f=a[h(384)][h(555)](d)&&!a[h(384)][h(639)](d),m=t[h(497)]==o[h(547)]&&o[h(668)];if(f&&m)return;const p=a[h(597)](t,o),v=e[h(595)](u),y=new ur({author:v,type:h(365)==l||h(657)==l?h(391):h(561),data:{isSuggestion:h(657)==l||h(671)==l},createdAt:new Date,rootName:i});s[h(630)](y),r[h(383)][h(369)](h(545)+y.id,p)}function v(t,e){const i=n,r=t[i(572)](),s=e[i(572)]();for(const t of r){if(t[1]!==e[i(682)](t[0]))return!1;s[i(645)]()}return s[i(645)]()[i(702)]}}[vr(476)](){const t=vr;this[t(501)][t(428)][t(604)](t(457))[t(613)]({view:t(637)}),this[t(501)][t(428)][t(604)](t(687))[t(417)]({model:t(637),view:e=>{const i=t,n=e[i(420)][i(366)](":")[1],r=this[i(683)](n);if(!r)return null;const s=i(391)==r[i(414)]?i(629):i(617),o=[i(446),i(477)+s];return r[i(454)][i(433)]&&o[i(630)](i(477)+s+i(598)),this[i(582)]==r&&o[i(630)](i(468)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(501)][t(428)][t(604)](t(457))[t(391)]((e=>{const i=t;e.on(i(399),((t,e,n)=>{const r=i,s=e[r(447)][r(467)](0);if(!s||!s.is(r(620),r(403)))return;if(!n[r(589)][r(514)](s,{attributes:[r(578),r(560)]}))return;const o=e[r(411)][r(660)][r(497)];n[r(387)][r(372)](r(578),s[r(682)](r(578)),o),n[r(387)][r(372)](r(560),s[r(682)](r(560)),o)}),{priority:i(684)})})),this[t(501)][t(428)][t(604)](t(457))[t(391)]((e=>{const i=t;e.on(i(620),((t,e,n)=>{const r=i;if(!n[r(589)][r(514)](e[r(447)],{attributes:[r(578),r(560)]}))return;if(e[r(411)][r(574)])return;const s=e[r(411)][r(660)][r(497)];s[r(405)](r(578))||s[r(405)](r(505))||(n[r(387)][r(372)](r(578),e[r(447)][r(682)](r(578)),s),n[r(387)][r(372)](r(560),e[r(447)][r(682)](r(560)),s))}),{priority:i(684)})})),this[t(501)][t(428)][t(604)](t(457))[t(470)]({view:{name:t(698),attributes:{vid:!0}},model:{key:t(505),value:e=>e[t(682)](t(505))}}),this[t(501)][t(418)][t(384)].on(t(364),((e,[,i])=>{const n=t;[n(578),n(560),n(505)][n(373)](i)&&(e[n(611)]=!0,e[n(579)]())}),{priority:t(653)}),this[t(501)][t(428)][t(604)](t(541))[t(391)]((e=>{const i=t;e.on(i(641),((t,e,n)=>{const r=i;if(" "!=e[r(407)][r(454)]||e[r(407)][r(547)][r(495)]>1)return;if(!n[r(589)][r(514)](e[r(407)],t[r(425)]))return;const s=n[r(387)],o=n[r(531)][r(554)](e[r(516)]);s[r(679)](o,s[r(524)](r(698)))}))})),this[t(501)][t(428)][t(604)](t(541))[t(669)]({model:t(637)}),this[t(501)][t(517)][t(519)].on(t(648),function(e){const i=t,n=e[i(559)][i(595)](i(537));return(t,r,s)=>{const o=i,a=r[o(420)][o(366)](":")[1],c=n[o(683)](a);if(!c)return null;const u=o(391)==c[o(414)]?o(366):o(594);if(!s[o(589)][o(662)](r[o(672)],t[o(425)]))return;const l=r[o(672)][o(655)](),h=r[o(672)][o(660)],d=e[o(418)][o(384)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(407)];p=p||d[o(569)](e);const i=s[o(531)][o(590)](e);if(i&&i[o(479)](o(610)))return;o(701)==t[o(414)]&&d[o(555)](e)&&!d[o(639)](e)&&(e[o(638)]||h[o(695)]?f&&f[o(547)]==e||(f=e,y(t[o(688)]),v=!0):m=m||t[o(688)])}function y(t){const e=o,i=s[e(387)][e(506)](e(698),{class:e(477)+u}),a=s[e(531)][e(513)](t);c[e(454)][e(433)]&&s[e(387)][e(642)](e(477)+u+e(598),i),n[e(582)]==c&&s[e(387)][e(642)](e(468),i),s[e(387)][e(515)](a,i),s[e(531)][e(696)](i,r[e(420)])}p||v||!m||y(m)}}(this[t(501)]),{priority:t(665)}),this[t(501)][t(517)][t(519)].on(t(487),((e,i,n)=>{const r=t,s=n[r(531)][r(522)](i[r(420)]);if(s)for(const t of s)(t[r(426)](r(658))||t[r(426)](r(625)))&&(n[r(531)][r(592)](t,i[r(420)]),n[r(387)][r(561)](t))}),{priority:t(665)}),this[t(501)][t(517)][t(519)].on(t(648),((e,i,n)=>{const r=t,s=i[r(420)][r(366)](":")[1],o=this[r(683)](s);if(!o)return null;const a=r(391)==o[r(414)]?r(366):r(594);if(n[r(589)][r(662)](i[r(672)],e[r(425)]))for(const t of i[r(672)][r(646)]()){if(!t.is(r(620),r(699)))continue;const e=n[r(387)][r(506)](r(698),{class:r(477)+a}),s=n[r(531)][r(513)](this[r(501)][r(418)][r(676)](t));o[r(454)][r(433)]&&n[r(387)][r(642)](r(477)+a+r(598),e),this[r(582)]==o&&n[r(387)][r(642)](r(468),e),n[r(387)][r(515)](s,e),n[r(531)][r(696)](e,i[r(420)])}}),{priority:t(665)}),this[t(501)][t(418)][t(493)].on(t(602),(()=>{const e=t;this[e(501)][e(517)][e(670)][e(602)]((t=>{const i=e;for(const e of this[i(501)][i(418)][i(493)][i(525)]()){const n=this[i(501)][i(418)][i(493)][i(496)](e),r=this[i(501)][i(517)][i(670)][i(493)][i(496)](e);if(r){const e=n[i(682)](i(570));if(t[i(396)](i(527),r),t[i(588)](i(558),r),t[i(588)](i(444),r),t[i(588)](i(507),r),e){const n=this[i(683)](e);if(!n)return null;t[i(372)](i(527),e,r),t[i(642)](i(421)+n[i(414)],r),this[i(582)]==n&&t[i(642)](i(507),r)}}}}))})),this[t(501)][t(428)][t(604)](t(457))[t(613)]({view:t(475),model:e=>t(704)+e,converterPriority:t(653)}),this[t(501)][t(428)][t(604)](t(457))[t(613)]({view:t(700),model:e=>t(542)+e,converterPriority:t(653)}),this[t(501)][t(428)][t(604)](t(541))[t(669)]({model:t(508),view:e=>({name:t(573)+e,group:t(508)}),converterPriority:t(653)}),this[t(501)][t(428)][t(604)](t(687))[t(417)]({model:t(508),view:e=>{const i=t,n=e[i(420)][i(366)](":")[1];return i(629)!=n&&i(617)!=n?null:{classes:[i(635),i(577)+n]}}}),this[t(501)][t(517)][t(519)].on(t(618),br(this[t(501)],t(594)),{priority:t(665)}),this[t(501)][t(517)][t(519)].on(t(627),br(this[t(501)],t(366)),{priority:t(665)}),this[t(501)][t(517)][t(519)].on(t(693),((e,i,n)=>{const r=t,s=n[r(531)][r(522)](i[r(420)]);if(s)for(const t of s)t.is(r(652))&&(n[r(531)][r(592)](t,i[r(420)]),n[r(387)][r(561)](t))}),{priority:t(665)})}[vr(683)](t){const e=vr;return this[e(533)][e(595)](t)}[vr(402)](t){const e=vr;return this[e(499)]&&this[e(499)][e(615)](),this[e(499)]=new sr(this[e(501)][e(581)],t),this[e(499)]}[vr(448)](){const t=vr;this[t(501)][t(418)][t(493)][t(431)][t(382)](t(637)),this.on(t(484),((e,i,n,r)=>{const s=t;r&&this[s(628)][s(561)](r),n&&(this[s(628)][s(391)]({view:n,stackId:s(463),position:{target:()=>{const t=s,e=this[t(501)][t(517)],i=this[t(683)](n[t(434)]);let r;if(i[t(454)][t(634)]){const n=e[t(670)][t(647)](i[t(553)]);r=Array[t(455)](n[t(550)]())}else{const i=this[t(501)][t(418)][t(383)][t(595)](t(545)+n[t(434)]);r=Array[t(455)](e[t(531)][t(522)](i[t(425)]))[t(388)]((i=>e[t(670)][t(471)][t(621)](i)))[t(388)]((e=>Array[t(455)](e[t(550)]())))[t(564)]()}return this[t(462)]&&r[t(480)]((e=>e[t(492)]-3<=this[t(462)].y&&e[t(489)]+3>=this[t(462)].y&&e[t(606)]-3<=this[t(462)].x&&e[t(486)]+3>=this[t(462)].x))||r[0]}}}),this[s(628)][s(502)](s(463)))})),this.on(t(548),((e,i,n,r)=>{const s=t;this[s(474)]=n?this[s(402)](n):null,this[s(501)][s(418)][s(602)]((()=>{const t=s,e=this[t(501)][t(517)];r&&(r[t(454)][t(634)]?e[t(670)][t(602)]((i=>{const n=t;i[n(588)](n(507),e[n(670)][n(493)][n(496)](r[n(553)]))})):e[t(636)](t(545)+r.id)),n&&(n[t(454)][t(634)]?e[t(670)][t(602)]((i=>{const r=t;i[r(642)](r(507),e[r(670)][r(493)][r(496)](n[r(553)]))})):e[t(636)](t(545)+n.id))}))})),this[t(371)](this[t(501)][t(517)][t(670)][t(493)],t(583),((e,i)=>{const n=t;if(this[n(582)])return;const r=this[n(656)](i[n(614)]),s=this[n(533)][n(595)](r);s?(this[n(462)]={x:i[n(435)].x,y:i[n(435)].y},this[n(474)]=this[n(402)](s)):(this[n(462)]=null,this[n(474)]=null)})),this[t(371)](this[t(501)][t(517)][t(670)][t(493)],t(576),((e,i)=>{const n=t,r=this[n(656)](i[n(614)]),s=this[n(533)][n(595)](r);s?(this[n(462)]={x:i[n(435)].x,y:i[n(435)].y},s===this[n(582)]?this[n(628)][n(659)]():this[n(582)]=s):(this[n(462)]=null,this[n(582)]=null)}))}[vr(656)](t){const e=vr;do{const i=t[e(682)](e(527));if(i)return i;t=t[e(547)]}while(t);return null}[vr(675)](){const t=vr;this[t(501)][t(418)][t(602)]((e=>{const i=t;for(const t of this[i(501)][i(418)][i(383)])e[i(380)](t)}))}}function br(t,e){return(i,n,r)=>{const s=yr;if(!r[s(589)][s(662)](n[s(672)],i[s(425)]))return;const o=n[s(672)][s(655)](),a=n[s(672)][s(660)],c=t[s(418)][s(384)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(407)];h=h||c[s(569)](e);const i=r[s(531)][s(590)](e);if(i&&i[s(479)](s(610)))return;s(701)==t[s(414)]&&c[s(555)](e)&&!c[s(639)](e)&&(e[s(638)]||a[s(695)]?u&&u[s(547)]==e||(u=e,f(t[s(688)]),d=!0):l=l||t[s(688)])}function f(t){const i=s,o=r[i(531)][i(513)](t),a=r[i(387)][i(506)](i(698),{class:i(577)+e});r[i(387)][i(515)](o,a),r[i(531)][i(696)](a,n[i(420)])}h||d||!l||f(l)}}class wr extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(559)][e(595)](kr);this[e(534)]=!1,this[e(371)](i,e(691),(()=>this[e(565)]())),this[e(371)](i,e(398),(()=>this[e(565)]()))}[vr(556)](){const t=vr,e=this[t(501)],i=e[t(559)][t(595)](kr),n=i[t(568)]?i[t(449)][t(644)]:null;e[t(673)][t(595)](t(609))[t(397)](n)}[vr(565)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(501)][t(559)][t(595)](kr),s=r&&n[t(459)](r[t(644)]);this[t(394)]=e&&i&&Boolean(s)}}function _r(){const t=["hasClass","_threeWayMerge","conversion","insertions","sort","selection","_removeUnsupportedChanges","isSuggestion","changeId","domEvent","_data","restoreRevision","_appendChild","diffData","isEqual","_update","slice","catch","ck-revision-history-root-remove","_markSuggestions","ck-suggestion-marker","viewItem","_initInteractions","diff","end","isObject","createRevision","attributesAfter","data","from","requires","upcast","markersStart","getLaterVisibleRevision","endIndex","elementStart","_activeViewTarget","revisionHistoryLabel","nextPosition","_setChanges","revision-end","getChild","ck-suggestion-marker--active","numberOfChanges","elementToAttribute","domConverter","POSITIVE_INFINITY","loadRevisionData","activeView","comment","_setConversion","ck-suggestion-marker-","toModel","getCustomProperty","find","showPreviousChange","detachRoot","abs","change:activeView","side","right","removeMarker:revision","getRevisionData","bottom","markersEnd","ck-editor__editable__overlay","top","document","processor","maxOffset","getRoot","nodeAfter","_getDiff","_changeView","roots","editor","showStack","isPremiumPlugin","9152sUPAMd","vid","createUIElement","ck-revision-history-root--active","revision-suggestion","compare","getRevision","delete","1317789QYBSfQ","toViewPosition","consume","insert","range","editing","level","downcastDispatcher","831346ssxKmj","length","markerNameToElements","createPositionFromPath","createAttributeElement","getRootNames","getRevisionRootsAttributes","data-change-id","isBefore","6iHHXbJ","getIndex","mapper","1539244DKJwNL","_changeIdToChange","affectsData","isRemoved","concat","RevisionViewer","_markInsertions","change:numberOfChanges","2655432FjNLqu","dataDowncast","revision-suggestion:","12qGvcLW","adapter","revision:","enqueueChange","parent","change:activeChange","revision-viewer","getClientRects","backward","_markMismatchedRemovedTags","rootName","toViewRange","isBlock","execute","_markMarkers","ck-revision-history-root-add","plugins","vid_end","remove","addRoot","_fixObsoleteTags","flat","refresh","_setDistance","resolve","isReady","isContent","revisionHistoryAttachChange","error","getAttributes","suggestion:","isCollapsed","parse","mousedown","ck-suggestion-preview-marker-","vid_start","stop","unshift","locale","activeChange","mouseover","isAttached","enableReadOnlyMode","_sortAndFilterDiffChanges","startIndex","removeClass","consumable","toViewElement","index","unbindElementFromMarkerName","_step","merge","get","_joinTapes","createRange","-new","_getViewObj","values","forEach","change","text","for","authors","left","clear","string","revisionHistory","addHighlight","return","offsetSize","dataToMarker","target","destroy","toData","deletion","addMarker:revision-suggestion:deletion","isNavigationMode","element","mapViewToDom","RevisionsRepository","isOfficialPlugin","findIndex","ck-suggestion-marker-merge","_refreshStartEndIndex","addMarker:revision-suggestion:insertion","_balloon","insertion","push","pop","userId","attributesBefore","isOnRoot","ck-suggestion-preview-marker","reconvertMarker","revision","nextSibling","isLimit","2qbeCNE","attribute:vid","addClass","default","newRevisionId","next","getItems","getDomRoot","addMarker:revision","6338184dJlAfV","has","marked","uiElement","highest","init","getWalker","_findChangeIdFromDomTarget","isAddSuggestion","ck-suggestion-marker-split","updatePosition","start","showNextChange","test","first","keys","high","useFillerType","shift","isAtStart","markerToData","view","isRemoveSuggestion","markerRange","config","_getRevisionsRange","_cleanMarkers","createPositionBefore","_makeTape","distance","wrap","data-revision-","revision-start","getAttribute","_getChangeFromId","low","createRangeIn","object","editingDowncast","previousPosition","splice","_removeMissingPairs","change:isReady","currentChangeNumber","removeMarker:revision-suggestion","30yDMLRJ","isAtEnd","bindElementToMarker","39NjHJie","span","softBreak","suggestion","elementEnd","done","bind","revision-comment:","checkAttribute","isAdded","split","children","_processTape","set","isIncorrect","listenTo","setAttribute","includes","oldRevisionId","collaboration.channelId","attachChange","4482ljtpxS","isAfter","all","removeMarker","startsWith","observeMarkers","markers","schema","changes","attributes","writer","map","WidgetToolbarRepository","_removeRevisionMarkers","add","forward","repository","isEnabled","isInline","removeAttribute","restoreRevisionCallback","change:isEnabled","element:pre","forceDisabled","_makeModelFromViewString","_getViewForChange","code","1390425mhHGwS","hasAttribute","commands","item","_cleanUp","indexOf","pluginName","modelRange","addRevisionData","addRevision","type","_revisions","then","markerToHighlight","model","pairId","markerName","ck-revision-history-root-","_makeModelFromTape","deletions","filter","name"];return(_r=function(){return t})()}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(559)][i(595)](kr);this[i(534)]=!1,this[i(593)]=i(392)===e?1:-1,this[i(371)](n,i(691),(()=>this[i(565)]())),this[i(371)](n,i(398),(()=>this[i(565)]())),this[i(371)](n,i(548),(()=>this[i(565)]()))}[vr(556)](){const e=vr,i=this[e(501)],n=i[e(559)][e(595)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(582)]=r?n[e(449)][e(385)][e(595)](s+this[e(593)]):n[e(449)][e(385)][e(663)],n[e(582)][e(454)][e(634)])o=i[e(517)][e(670)][e(647)](n[e(582)][e(553)]);else{const t=i[e(418)][e(383)][e(595)](e(545)+n[e(582)].id);o=(0,Bi.getMarkerDomElement)(i[e(517)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(565)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(501)][t(559)][t(595)](kr);this[t(394)]=!!(s&&r&&n)&&(!e||(1===this[t(593)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Un();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(){const t=["49418cqPzGa","_isStatusLabelVisible","isForwardNavigationEnabled","93110KHFDVO","118136sEcoTq","Total","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui","Loading...","bind","div","4050360PREFAa","Show next change","isBackwardNavigationEnabled","21GGbjPF","forward","isNavigationMode","3937440HldVtr","372792bjpRss","isEnabled","backward","1407699HtHnBB","X_OF_Y_CHANGES","ck-hidden","set","numberOfChanges","NUMBER_OF_CHANGES","No changes","ck-revision-history-ui__changes-navigation__wrapper","span","fire","_statusText","Show previous change","ck-revision-history-ui__changes-navigation__navigation","currentChangeNumber","isReady","setTemplate","bindTemplate","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation","execute","120qWzvhZ"];return(xr=function(){return t})()}function Tr(t,e){const i=xr();return(Tr=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=Tr,i=t();for(;;)try{if(358502===parseInt(e(110))/1+parseInt(e(128))/2+-parseInt(e(131))/3+-parseInt(e(109))/4*(parseInt(e(113))/5)+parseInt(e(127))/6+-parseInt(e(124))/7*(-parseInt(e(114))/8)+parseInt(e(121))/9)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(147)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(134)](e(126),!1),this[e(134)](e(145),!1),this[e(134)](e(144),0),this[e(134)](e(135),0),this[e(134)](e(112),!1),this[e(134)](e(123),!1),this[e(119)](e(111)).to(this,e(145),this,e(135),((t,e)=>t&&e>0)),this[e(119)](e(141)).to(this,e(145),this,e(144),this,e(135),this,e(126),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(118));if(!r)return Xi(t,o(137));const a=Xi(t,o(136),r);return s?Xi(t,o(132),[n+1,r]):a})),n[e(134)]({label:Xi(t,e(142)),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(134)]({label:Xi(t,e(122)),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(119)](e(129)).to(this,e(123)),r[e(119)](e(129)).to(this,e(112)),n.on(e(150),(()=>this[e(140)](e(150),e(130)))),r.on(e(150),(()=>this[e(140)](e(150),e(125)))),this[e(146)]({tag:e(120),attributes:{class:["ck",e(117),e(149)]},children:[{tag:e(139),attributes:{class:[e(138)]},children:[{tag:e(139),attributes:{class:[e(148),i.if(e(111),e(133),(t=>!t))]},children:[{text:i.to(e(126),(i=>i?Xi(t,e(116))+": ":Xi(t,e(115))+": "))}]},{text:i.to(e(141))}]},new En.ToolbarSeparatorView,{tag:e(120),attributes:{class:[e(143)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Un();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Mr=Dr;!function(t){const e=Dr,i=t();for(;;)try{if(830317===parseInt(e(407))/1+parseInt(e(411))/2+parseInt(e(413))/3*(-parseInt(e(403))/4)+parseInt(e(405))/5*(parseInt(e(424))/6)+-parseInt(e(415))/7*(-parseInt(e(418))/8)+parseInt(e(421))/9*(-parseInt(e(402))/10)+parseInt(e(410))/11*(-parseInt(e(417))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Vr=Mr(398);function Er(){const t=["88850QBdrNs","7528ItGrkG","view","1196690tHdigZ","editing","1376641fkdhTe","change","show","11PZPDhs","2476660EOfjll","isOfficialPlugin","246mKIrnc","addClass","172193DLFmQn","hide","8043564YNRmiy","32npWcWk","isPremiumPlugin","removeClass","1557LZGUUW","roots","RevisionViewerLoadingOverlay","12aJkBrJ","ck-editor__editable__loading-overlay","editor","pluginName","document"];return(Er=function(){return t})()}function Dr(t,e){const i=Er();return(Dr=function(t,e){return i[t-=398]})(t,e)}class Cr extends qi.Plugin{static get[Mr(400)](){return Mr(423)}static get[Mr(412)](){return!0}static get[Mr(419)](){return!0}[Mr(409)](){const t=Mr,e=this[t(399)][t(406)][t(404)];e[t(408)]((i=>{const n=t;for(const t of e[n(401)][n(422)])i[n(414)](Vr,t)}))}[Mr(416)](){const t=Mr,e=this[t(399)][t(406)][t(404)];e[t(408)]((i=>{const n=t;for(const t of e[n(401)][n(422)])i[n(420)](Vr,t)}))}}function jr(t,e){const i=Lr();return(jr=function(t,e){return i[t-=377]})(t,e)}const Fr=jr;!function(t){const e=jr,i=t();for(;;)try{if(427021===parseInt(e(396))/1*(parseInt(e(407))/2)+-parseInt(e(401))/3*(parseInt(e(423))/4)+parseInt(e(384))/5*(parseInt(e(398))/6)+parseInt(e(387))/7*(-parseInt(e(404))/8)+parseInt(e(411))/9*(parseInt(e(403))/10)+parseInt(e(428))/11*(parseInt(e(410))/12)+-parseInt(e(378))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[Fr(414)](){return Fr(418)}static get[Fr(382)](){return!0}static get[Fr(426)](){return!0}static get[Fr(397)](){return[kr,Cr]}[Fr(425)](){const t=Fr,e=this[t(380)],i=e[t(408)][t(393)](kr),n=e[t(408)][t(393)](Cr);e.ui[t(416)][t(399)](t(421),(i=>{const n=t,r=new En.ButtonView(i);return r[n(424)]({label:Xi(i,n(413)),icon:qi.icons[n(389)],withText:!0,tooltip:!0,class:n(415)}),this[n(390)](r,n(381),(()=>{const t=n;e[t(420)][t(393)](t(405))[t(422)]()})),r})),e.ui[t(416)][t(399)](t(412),(i=>{const n=t,r=new En.ButtonView(i);return r[n(424)]({label:Xi(i,n(419)),withText:!0,tooltip:!0}),r[n(394)](n(379)).to(e[n(402)][n(393)](n(412))),this[n(390)](r,n(381),(()=>e[n(381)](n(412)))),r})),e.ui[t(416)][t(399)](t(377),(n=>{const r=t,s=new Nr(n),o=e[r(402)][r(393)](r(383)),a=e[r(402)][r(393)](r(427));return s[r(394)](r(409)).to(o,r(379)),s[r(394)](r(400)).to(a,r(379)),s[r(394)](r(386),r(417),r(406),r(392)).to(i),this[r(390)](s,r(381),((t,i)=>{const n=r;e[n(381)](n(385)===i?n(427):n(383))})),s})),n[t(388)](),i.on(t(395),((e,i,r)=>{const s=t;r?n[s(391)]():n[s(388)]()}))}}function Lr(){const t=["init","isPremiumPlugin","showNextChange","8074GeHZBk","changesNavigation","3251079vWRwrz","isEnabled","editor","execute","isOfficialPlugin","showPreviousChange","1111160DEVxMW","forward","isReady","503510FLIoDz","show","undo","listenTo","hide","isNavigationMode","get","bind","change:isReady","3563KFgBhW","requires","12XSRTus","add","isForwardNavigationEnabled","756177YwLABG","commands","1510RJzjDf","40eNHGxb","revisionHistory","numberOfChanges","84UInGQo","plugins","isBackwardNavigationEnabled","10704qVjCSS","17406fSgbzQ","restoreRevision","Back to editing","pluginName","ck-revision-history-ui__back-to-editing","componentFactory","currentChangeNumber","RevisionViewerUI","Restore this revision","config","exitToEditing","closeRevisionViewerCallback","8nxLrgb","set"];return(Lr=function(){return t})()}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Un();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Hr=Zr;!function(t){const e=Zr,i=t();for(;;)try{if(892721===-parseInt(e(387))/1+parseInt(e(364))/2*(parseInt(e(372))/3)+parseInt(e(376))/4+-parseInt(e(391))/5*(-parseInt(e(373))/6)+parseInt(e(381))/7+-parseInt(e(382))/8*(-parseInt(e(380))/9)+-parseInt(e(366))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($r);class Ur extends En.LabeledFieldView{constructor(t,e){const i=Zr;super(t,e),this[i(374)]=null;const n=this[i(371)];this[i(367)]({label:Xi(t,i(370)),_tooltipString:""}),this[i(393)][i(368)]=Xi(t,i(363)),this[i(389)]({tag:i(388),attributes:{class:[i(365)],"data-cke-tooltip-text":n.to(i(383)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(369)}})}[Hr(392)](){const e=Hr;super[e(392)](),this[e(374)]=new t.ResizeObserver(this[e(393)][e(385)],(()=>this[e(375)]())),this[e(390)](this[e(393)],e(378),(()=>this[e(375)]()))}[Hr(379)](){const t=Hr;super[t(379)](),this[t(374)]&&this[t(374)][t(379)]()}[Hr(375)](){const t=Hr,e=this[t(393)][t(385)];this[t(383)]=e[t(386)]>e[t(377)]&&e[t(384)]||""}}function Zr(t,e){const i=$r();return(Zr=function(t,e){return i[t-=363]})(t,e)}function $r(){const t=["listenTo","3840450gDpEwL","render","fieldView","Enter the revision name","70670DZsBxB","ck-revision-history-sidebar__revision-name","8648290VSDtBV","set","placeholder","ck-tooltip_multi-line","Revision name","bindTemplate","27KPrftj","6DSFNzM","_resizeObserver","_updateTooltipText","227452GjclFf","clientWidth","input","destroy","9kcDtWw","10600821redDOr","3655688SAzHeQ","_tooltipString","value","element","scrollWidth","1356782yYQyup","span","extendTemplate"];return($r=function(){return t})()}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Un();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(){const t=["614992nQnuzD","77xValHd","ck-revision-history-sidebar__revision-author_creator","54IqBYYn","184ZHGAss","set","31204KqREMH","Revision creator","591016QxZdBh","0 0 11 10","ck-revision-history-sidebar__revision-author__name","span","setTemplate","push","252078RqYAvo","ck-revision-history-sidebar__revision-author","name","Revision author","19731gXFRPt","894205lJbHAW","2101wYNvnF","5990jKYVPi"];return(Yr=function(){return t})()}function Gr(t,e){const i=Yr();return(Gr=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=Gr,i=t();for(;;)try{if(238211===-parseInt(e(122))/1+-parseInt(e(116))/2+parseInt(e(112))/3*(parseInt(e(120))/4)+parseInt(e(113))/5+-parseInt(e(130))/6*(parseInt(e(117))/7)+-parseInt(e(124))/8*(-parseInt(e(119))/9)+-parseInt(e(115))/10*(-parseInt(e(114))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Jr extends En.View{constructor(t,e,i){const n=Gr;super(t);const r=new En.IconView;r[n(121)]({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(125)});const s=["ck",n(131)];i&&s[n(129)](n(118));const o=[{tag:n(127),attributes:{class:["ck",n(126)],title:Xi(t,n(i?123:111))},children:[r,e[n(110)]]}];this[n(128)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["18989377zQPazK","toLocaleTimeString","toLocaleDateString","25655pEYGmO","1441918KivdfC","6TtHUVo","numeric","2424BYbLbT","325506JrcwaH","27570PDsBHB","20eKQiWr","1133826KsMjeR","long","4563WPJwYR","32416WaQFJF"];return(Kr=function(){return t})()}function Qr(t,e){var i=Kr();return(Qr=function(t,e){return i[t-=217]})(t,e)}!function(t){for(var e=Qr,i=t();;)try{if(825340===-parseInt(e(228))/1+parseInt(e(221))/2+parseInt(e(222))/3*(parseInt(e(231))/4)+-parseInt(e(227))/5*(parseInt(e(225))/6)+-parseInt(e(220))/7*(-parseInt(e(224))/8)+parseInt(e(230))/9*(-parseInt(e(226))/10)+parseInt(e(217))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Un();Cn()(Xr.A,ts);Xr.A&&Xr.A.locals&&Xr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=328]})(t,e)}function is(){const t=["bind","ck-on","listView","isVisible","class","5244438XGhPdY","add","change:isActionsDropdownOpen","262692gmIgSN","Show more items","1573662vpTzGj","execute","items","Name this revision","locale","button","name","model","617890VHzEvG","isEnabled","Compare against selected","isOpen","22FrUgOs","menuitem","buttonView","action","function","set","bindTemplate","panelPosition","isActionsDropdownOpen","Restore this revision","stopPropagation","first","map","extendTemplate","1014160EqUyTR","91812CdwmTM","2386342NMRItK","source","listenTo","menu","isReady","find","ck-revision-history-sidebar__revision__actions","children","_action","5hdlUNw","112vhAmbZ","124JANGLW","threeVerticalDots"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(647766===-parseInt(e(364))/1+-parseInt(e(338))/2+-parseInt(e(365))/3*(-parseInt(e(377))/4)+-parseInt(e(375))/5*(-parseInt(e(333))/6)+parseInt(e(366))/7+-parseInt(e(376))/8*(-parseInt(e(336))/9)+parseInt(e(346))/10*(-parseInt(e(350))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Un();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=as;function os(){const t=["span","uiLanguage","unshift","set","_createdAtFormatted","highlight","bindTemplate","filter","ck-revision-history-sidebar__revision__date","1483060PkfGkq","isEnabled","267qPxFtG","_requireRevisionName","isConfirm","48dENpop","revisionActionsView","setName","4130nBNZJm","setTemplate","ck-revision-history-sidebar__revision_highlighted","402437rUzMAh","deselect","render","isSelected","name","ck-revision-history-sidebar__revision-wrapper","select","8774196OQUJaj","extendTemplate","map","closest","ck-reset","value","11DFvjBh","fire","220","isHighlighted","creator","from","fieldView","_revision","2549760BgycFK","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","6476HPAelW","ck-revision-history-sidebar__revision_selected","listenTo","ck-revision-history-sidebar__revision","div","isActionsDropdownOpen","unhighlight","ck-revision-history-sidebar__revision-authors","element",".ck-thread__remove-confirm","srcElement","change","revisionNameView","isReady","ck-revision-history-sidebar__revision__controls-wrapper","17694dQXAGM","length","bind","234qEPMOh","createdAt","50815TdoCyC","ck-disabled","authors","ck-revision-history-sidebar__actions_dropdown_open"];return(os=function(){return t})()}function as(t,e){const i=os();return(as=function(t,e){return i[t-=311]})(t,e)}!function(t){const e=as,i=t();for(;;)try{if(465939===parseInt(e(325))/1*(parseInt(e(357))/2)+-parseInt(e(355))/3+-parseInt(e(323))/4+-parseInt(e(377))/5*(-parseInt(e(375))/6)+parseInt(e(334))/7*(parseInt(e(328))/8)+parseInt(e(372))/9*(parseInt(e(331))/10)+-parseInt(e(347))/11*(parseInt(e(341))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(os);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=as;super(e);const o=this[s(320)],a=function(t,e){const i=s,n=Array[i(352)](e[i(312)])[i(321)]((t=>t!=e[i(351)]));return e[i(351)]&&n[i(316)](e[i(351)]),n[i(343)]((n=>new Jr(t,n,n==e[i(351)])))}(e,i);this.id=i.id,this[s(354)]=i,this[s(326)]=r,this[s(374)](s(338),s(376)).to(i),this[s(374)](s(318)).to(this,s(376),(t=>{return i=e[s(315)],(n=t)[(r=Qr)(219)](i,{month:r(229),day:r(223)})+", "+n[r(218)](i,{hour:r(223),minute:r(223)});var i,n,r})),this[s(317)](s(337),!1),this[s(317)](s(350),!1),this[s(317)](s(362),!1),this[s(317)](s(370),!1),this[s(317)](s(324),!1),this[s(369)]=new Ur(e,En.createLabeledInputText),this[s(369)][s(353)][s(342)]({attributes:{maxlength:s(349)}}),this[s(369)][s(353)][s(374)](s(346)).to(this,s(338),(t=>t||this[s(318)])),this[s(369)][s(374)](s(324)).to(this,s(337),this,s(324),((t,e)=>t&&e)),this[s(329)]=n&&n[s(373)]?function(e,i){const n=es,r=e[n(356)],s=e[n(342)],o=(0,En.createDropdown)(s);o[n(357)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(342)],r={"Compare against selected":Xi(n,i(348)),"Name this revision":Xi(n,i(341)),"Restore this revision":Xi(n,i(359))};return e[i(362)]((t=>{const e=i,n=r[t[e(344)]];return n&&n!==t[e(344)]&&(t[e(344)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(343),model:new En.ViewModel({label:t[r(344)],class:t[r(332)],withText:!0,role:r(351),_action:t[r(353)]})};i[r(345)][r(328)](r(347)).to(e,r(358),(i=>r(354)!=typeof t[r(347)]||!i||t[r(347)](e))),o[r(334)](i)}return o}(e,i);return e[n(328)](n(358)).to(o,n(349)),o[n(352)][n(355)]({label:Xi(s,n(337)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(378)]}),o[n(363)]({attributes:{class:[n(372),r.if(n(358),n(329))]},on:{click:r.to((t=>t[n(360)]()))}}),o.on(n(339),(t=>{const i=n;e[i(370)]&&i(354)==typeof t[i(367)][i(374)]&&t[i(367)][i(374)](e)})),(0,En.addListToDropdown)(o,a,{role:n(369)}),o[n(368)](e,n(335),((t,r,s)=>{const a=n;if(s)for(const t of o[a(330)][a(340)]){const n=t[a(373)][a(361)],r=i[a(371)]((t=>t[a(353)]===n[a(374)]))[a(331)];t[a(331)]=void 0===r||r(e)}})),o}(this,n):"",this[s(329)]&&this[s(329)][s(374)](s(324)).to(this),this[s(332)]({tag:s(361),attributes:{class:["ck",s(345),s(339),o.if(s(327),s(356))]},children:[{tag:s(361),attributes:{class:["ck",s(345),s(360),o.if(s(324),s(311),(t=>!t)),o.if(s(337),s(358)),o.if(s(350),s(333)),o.if(s(362),s(313))]},children:[this[s(369)],{tag:s(314),attributes:{class:["ck",s(322)]},children:[{text:o.to(s(318))}]},{tag:s(361),attributes:{class:["ck",s(371)]},children:[{tag:"ul",attributes:{class:["ck",s(364)]},children:a}]},this[s(329)]],on:{click:o.to((t=>{const e=s;t[e(367)][e(344)](e(366))||this[e(370)]&&this[e(324)]&&this[e(348)](e(340),{id:this.id})}))}}]})}[ss(336)](){const t=ss;super[t(336)]();const e=this[t(369)][t(353)][t(365)];this[t(359)](e,t(368),(()=>{const i=t;this[i(326)]&&!e[i(346)]||this[i(348)](i(330),{id:this.id,name:e[i(346)]}),e[i(346)]||(e[i(346)]=this[i(338)]?this[i(338)]:this[i(318)])}))}[ss(340)](){this[ss(337)]=!0}[ss(335)](){this[ss(337)]=!1}[ss(319)](){this[ss(350)]=!0}[ss(363)](){this[ss(350)]=!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},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Hs{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 Us=null;class Zs extends Hs{static get instance(){return null===Us&&(Us=new Zs),Us}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 Hs{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:Ho(s)||(n[s]=parseInt(r,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Gs={};let Js={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.DateTimeFormat(t,e),Js[i]=n),n}let 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=Go(n)||xo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Js={},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,Go(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return io(this,t,ga,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=wu.utc(2009,i,1);e.push(t(n))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[n][t]}))}weekdays(t,e=!1){return io(this,t,_a,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return n?n.value:null}numberFormatter(t={}){return new no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.ListFormat(t,e),Gs[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let co=null;class uo extends Hs{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 Hs{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(Ho(t)||null===t)return e;if(t instanceof Hs)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 Uo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,Oo=null;class xo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Zs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Go(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Mo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function 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 Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Ho(t.localWeekday)||!Ho(t.localWeekNumber)||!Ho(t.localWeekYear)){if(!Ho(t.weekday)||!Ho(t.weekNumber)||!Ho(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Ho(t.localWeekday)||(t.weekday=t.localWeekday),Ho(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ho(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function zo(t){const e=Zo(t.year),i=Jo(t.month,1,12),n=Jo(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Jo(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Jo(i,0,59),a=Jo(n,0,59),c=Jo(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Ho(t){return void 0===t}function Uo(t){return"number"==typeof t}function Zo(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Go(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Jo(t.firstDay,1,7)||!Jo(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Jo(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Jo(t,e,i){return Zo(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Qo(t){return Ho(t)||null===t||""===t?void 0:parseInt(t,10)}function Xo(t){return Ho(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Ho(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Mo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Ms,TTTT:Vs,f:Es,ff:Cs,fff:Ps,ffff:zs,F:Ds,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ma=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function 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]]=Qo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ma.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Ha=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ma.source}))?`),Ua=RegExp(`(?: ${Ha.source})?`);function Za(t,e,i){const n=t[e];return Ho(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}$`),Ga=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ja(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(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=Va(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Va(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Va(/(\d{4})-?(\d{3})/,La),uc=Va(Pa),lc=Ea((function(t,e){return[{year:Za(t,e),month:Za(t,e+1,1),day:Za(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Ea(za,$a,qa,Ba),dc=Ea(Wa,$a,qa,Ba),fc=Ea($a,qa,Ba);const mc=Ea($a);const pc=Va(/(\d{4})-(\d\d)-(\d\d)/,Ua),vc=Va(Ha),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(Ho(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(Ho(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(Uo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ga,Ja])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ds(i);return new Ac({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ms(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Ho(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;Uo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Uo(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 Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Hc(t){return{regex:t,deser:([t])=>t}}const Uc={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Zc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Hc(l);case"uu":return Hc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Hc(/[a-z_+-/]{1,256}?/i);case" ":return Hc(/[^\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;Ho(t.z)||(i=Ys.create(t.z)),Ho(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Ho(t.q)||(t.M=3*(t.q-1)+1),Ho(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),Ho(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=Uc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Gc="Invalid DateTime",Jc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Qc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Xc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Ho(t.year))r=xo.now();else{for(const e of du)Ho(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=!!Ho(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=Ho(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=Uo(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(Uo(t))return t<-Jc||t>Jc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Uo(t))return new wu({ts:1e3*t,zone:ho(e.zone,xo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Lo(r,n),a=xo.now(),c=Ho(e.specificOffset)?i.offset(a):e.specificOffset,u=!Ho(r.ordinal),l=!Ho(r.year),h=!Ho(r.month)||!Ho(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){Ho(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Zo(t.weekYear),r=Jo(t.weekNumber,1,aa(t.weekYear,e,i)),s=Jo(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Zo(t.year),i=Jo(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[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(Ho(t)||Ho(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?Vc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Vc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Vc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Vc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Ho(e.weekYear)||!Ho(e.weekNumber)||!Ho(e.weekday),s=!Ho(e.ordinal),o=!Ho(e.year),a=!Ho(e.month)||!Ho(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):Ho(e.ordinal)?(l={...this.toObject(),...e},Ho(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Gc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Gc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Gc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Mc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Ho(t)||Ho(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 Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Uo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=129]})(t,e)}function Su(){const t=["monthLong","6KBrUfD","5269418HCELWT","setLocale","toRelativeCalendar","week","year","357474nfFlOw","day","weekdayLong","minus","2532904TStBMf","local","toJSDate","395350QOVscm","3KQZoTh","month","startOf","303999aMPXYi","fromJSDate","2486040wBEPsz","7794RLKwll","hasSame","31020XVgTQI"];return(Su=function(){return t})()}function Ou(t,e){const i=Iu,n=wu[i(147)](t)[i(131)](e),r=wu[i(140)](),s=r[i(138)]({days:1})[i(145)](i(136));let o,a;return n[i(150)](r,i(136))?(o=n[i(145)](i(136))[i(141)](),a=n[i(132)]()):n[i(150)](s,i(136))?(o=s[i(141)](),a=n[i(132)]()):n[i(150)](r,i(133))?(o=n[i(145)](i(133))[i(141)](),a=n[i(137)]||""):n[i(150)](r,i(134))?(o=n[i(145)](i(144))[i(141)](),a=n[i(152)]||""):(o=n[i(145)](i(134))[i(141)](),a=String(n[i(134)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(433629===-parseInt(e(146))/1+-parseInt(e(135))/2+-parseInt(e(143))/3*(parseInt(e(148))/4)+-parseInt(e(142))/5+parseInt(e(129))/6*(-parseInt(e(130))/7)+-parseInt(e(139))/8+parseInt(e(149))/9*(parseInt(e(151))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var xu=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Un();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;function Nu(){const t=["createCollection","3543933yqitDQ","_requireRevisionName","removeRevision","startDate","locale","delegate","ck-revision-history-sidebar__time-period","uiLanguage","setName","remove","ck-revision-history-sidebar__time-period__label","442485GDpgnI","2805748AfGXHO","1348032LjJQbP","div","find","28122336EnFDuF","localizedPeriodName","10fmLMdD","select","_revisionActions","revisionViews","add","160936YctNmK","ck-revision-history-sidebar__time-period__revisions","1403156VLCdTp","span","35gZmViE","addRevision","setTemplate"];return(Nu=function(){return t})()}const Au=Ru;function Ru(t,e){const i=Nu();return(Ru=function(t,e){return i[t-=491]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(783864===parseInt(e(509))/1+-parseInt(e(510))/2+-parseInt(e(498))/3+parseInt(e(492))/4+-parseInt(e(516))/5*(parseInt(e(511))/6)+-parseInt(e(494))/7*(parseInt(e(521))/8)+parseInt(e(514))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nu);class Mu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Ou(e,this[r(502)][r(505)])[r(515)];this[r(501)]=e,this[r(519)]=this[r(497)](),this[r(518)]=i,this[r(499)]=n,this[r(519)][r(503)](r(517)).to(this),this[r(519)][r(503)](r(506)).to(this),this[r(496)]({tag:r(512),attributes:{class:["ck",r(504)]},children:[{tag:r(493),attributes:{class:["ck",r(508)]},children:[{text:s}]},{tag:r(512),attributes:{class:["ck",r(491)]},children:this[r(519)]}]})}[Au(495)](t){const e=Au,i=new cs(this[e(502)],t,this[e(518)],this[e(499)]);this[e(519)][e(520)](i)}[Au(500)](t){const e=Au,i=this[e(519)][e(513)]((e=>e.id===t.id));this[e(519)][e(507)](i)}}var Vu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Ln().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Un();Cn()(Vu.A,Eu);Vu.A&&Vu.A.locals&&Vu.A.locals;function Du(t,e){const i=ju();return(Du=function(t,e){return i[t-=468]})(t,e)}!function(t){const e=Du,i=t();for(;;)try{if(340046===parseInt(e(474))/1*(-parseInt(e(479))/2)+parseInt(e(482))/3+parseInt(e(476))/4+-parseInt(e(478))/5+-parseInt(e(485))/6+-parseInt(e(483))/7+parseInt(e(473))/8*(parseInt(e(469))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ju);class Cu extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(472)]=qi.icons[e(471)],this[e(484)]({tag:e(468),attributes:{class:["ck",e(475),e(480)]},children:[i,{tag:e(481),attributes:{class:["ck",e(477)]},children:[Xi(t,e(470))]}]})}}function ju(){const t=["ck-revision-history-sidebar__header","span","1148070yahVBi","3579534ckZxnf","setTemplate","2640264KZZsTb","div","11390157UZdGBx","Revision history","history","content","8bTQXuM","183BSQZVE","ck-reset_all","259416OctcZw","ck-revision-history-sidebar__header__label","66960zCpntM","4462jSrVwX"];return(ju=function(){return t})()}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Un();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=zu;function zu(t,e){const i=Hu();return(zu=function(t,e){return i[t-=392]})(t,e)}!function(t){const e=zu,i=t();for(;;)try{if(764187===-parseInt(e(442))/1+parseInt(e(393))/2*(parseInt(e(397))/3)+parseInt(e(413))/4*(-parseInt(e(424))/5)+-parseInt(e(399))/6*(-parseInt(e(421))/7)+-parseInt(e(433))/8+-parseInt(e(392))/9+parseInt(e(414))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hu);class Wu extends En.View{constructor(t,e,i,n){const r=zu;super(t);const s=this[r(395)];this[r(431)]=this[r(408)](),this[r(431)][r(437)](r(446)).to(this),this[r(431)][r(437)](r(434)).to(this),this[r(432)]=e,this[r(439)]=i,this[r(398)]=n,this.on(r(446),((t,e)=>{const i=r;this[i(422)](i(441),e)})),this.on(r(434),((t,e)=>{const i=r;this[i(422)](i(403),e)})),this[r(436)](r(445),!1),this[r(428)]({tag:r(410),attributes:{class:["ck",r(404),r(401),r(406)]},children:[new Cu(t),{tag:r(410),attributes:{class:["ck",r(416),s.if(r(445),r(443),(t=>!t))]},children:this[r(431)]}]})}[Lu(423)](){const t=Lu;super[t(423)]();for(const e of this[t(432)])this[t(411)](e);this[t(432)].on(t(407),((e,i)=>{this[t(411)](i)})),this[t(432)].on(t(420),((e,i)=>{this[t(426)](i)}))}get[Lu(427)](){const t=Lu;return this[t(431)][t(425)]((e=>e[t(427)][t(425)]((t=>t))))[t(412)]()}[Lu(444)](t){const e=Lu;for(const i of this[e(427)])t&&t.id===i.id?i[e(446)]():i[e(419)]()}[Lu(417)](t){const e=Lu;for(const i of this[e(427)])t[e(438)]((({id:t})=>t===i.id))?i[e(402)]():i[e(400)]()}[Lu(411)](t){const e=Lu,i=Ou(t[e(418)],this[e(435)][e(430)])[e(409)];let n=this[e(431)][e(405)](0);n&&n[e(409)][e(415)]()===i[e(415)]()||(n=new Mu(this[e(435)],i,this[e(439)],this[e(398)]),this[e(431)][e(407)](n)),n[e(394)](t)}[Lu(426)](t){const e=Lu,i=Ou(t[e(418)],this[e(435)][e(430)])[e(409)];this[e(429)](i)[e(396)](t)}[Lu(429)](t){const e=Lu;return this[e(431)][e(440)]((i=>i[e(409)][e(415)]()===t[e(415)]()))}}function Hu(){const t=["add","createCollection","startDate","div","_addRevision","flat","8cBQqzA","9753540ZFWHGj","getTime","ck-revision-history-sidebar__timeline","highlightRevisions","createdAt","deselect","remove","15078mrvyEL","fire","render","1129465gOxXtM","map","_removeRevision","revisionViews","setTemplate","_getTimePeriodViewByStartDate","uiLanguage","timePeriodViews","_revisions","3957312rahuPm","setName","locale","set","delegate","some","_revisionActions","find","revisionSelected","890253UXKrYY","ck-disabled","selectRevision","isEnabled","select","339390Kqvyhu","512qbAtGT","addRevision","bindTemplate","removeRevision","17598urUtXU","_requireRevisionName","450THZbeX","unhighlight","ck-rounded-corners","highlight","revisionSetName","ck-reset","get","ck-revision-history-sidebar"];return(Hu=function(){return t})()}function Uu(){const t=["appendChild","timePeriodViews","listenTo","change:diff","name","6uunApJ","diff","editor","remove","Restore this revision","destroy","init","restoreRevision","availableRevisionActions","24MrlTZx","8542RKwWXD","_handleEditorDataReady","ready","_handleRevisionSetName","isEnabled","add","Name this revision","fieldView","highlightRevisions","getIndex","261774XvqUfm","string","isPremiumPlugin","getLaterVisibleRevision","revisionHistory.requireRevisionName","isVisible","locale","getEarlierVisibleRevision","6295390NttexC","restoreRevisionCallback","bind","length","compareAgainstSelected","2053350cacQrQ","revisionHistory.revisionActions","Compare against selected","assign","_revisionViewer","data","_handleDiffChange","requires","defaultRevisionActions","revisionHistory","action","config","4460897MeoSJM","isReady","render","pluginName","_handleRevisionSelected","get","_revisionsRepository","_createRevisionActions","revisionSetName","nameRevision","isOfficialPlugin","map","focus","setName","RevisionsSidebar","_sidebarView","compare","selectRevision","607668zCzQKQ","801BjhCpO","26008SkvQeR","repository","revisionViews","getRevisionsInDiff","_revisions","isSelected","revisionHistory.viewerSidebarContainer","revisionSelected","getRevision","plugins","newRevisionId","select","element"];return(Uu=function(){return t})()}const Zu=$u;function $u(t,e){const i=Uu();return($u=function(t,e){return i[t-=137]})(t,e)}!function(t){const e=$u,i=t();for(;;)try{if(334260===parseInt(e(145))/1+-parseInt(e(218))/2*(-parseInt(e(217))/3)+parseInt(e(188))/4+-parseInt(e(158))/5+-parseInt(e(208))/6*(-parseInt(e(170))/7)+-parseInt(e(190))/8*(-parseInt(e(189))/9)+-parseInt(e(153))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uu);class qu extends qi.Plugin{static get[Zu(173)](){return Zu(184)}static get[Zu(180)](){return!0}static get[Zu(147)](){return!0}static get[Zu(165)](){return[kr]}constructor(t){const e=Zu;super(t),this[e(162)]=t[e(199)][e(175)](kr),this[e(176)]=this[e(162)][e(191)],this[e(185)]=null}[Zu(214)](){const t=Zu,e=this[t(176)][t(194)],i=this[t(177)](),n=this[t(210)][t(169)][t(175)](t(196));this[t(185)]=new Wu(this[t(210)][t(151)],e,i,this[t(210)][t(169)][t(175)](t(149))),this[t(185)].on(t(197),this[t(174)][t(155)](this)),this[t(185)].on(t(178),this[t(138)][t(155)](this)),this[t(185)][t(155)](t(139)).to(this[t(162)]),this[t(185)][t(204)].on(t(140),((e,i)=>{const n=t;i[n(192)].on(n(140),((t,e)=>{const i=n;e[i(155)](i(139),i(171)).to(this[i(162)])}))})),this[t(185)][t(172)](),this[t(205)](this[t(210)][t(163)],t(137),this[t(219)][t(155)](this)),this[t(205)](this[t(162)],t(206),this[t(164)][t(155)](this)),n[t(203)](this[t(185)][t(202)])}[Zu(213)](){const t=Zu;this[t(185)][t(202)][t(211)](),this[t(185)][t(213)]()}[Zu(219)](){const t=Zu,e=this[t(176)][t(198)](0);if(e){const i=this[t(176)][t(152)](e.id);this[t(162)][t(186)](e,i)}}[Zu(174)](t,e){const i=Zu,n=this[i(176)][i(198)](e.id),r=this[i(176)][i(152)](n.id);this[i(162)][i(186)](n,r)}[Zu(138)](t,e){const i=Zu;this[i(176)][i(198)](e.id)[i(183)](e[i(207)])}[Zu(164)](t,e,i){const n=Zu,r=this[n(176)][n(193)](i);r[n(156)]>2?(this[n(185)][n(143)](r),this[n(185)][n(187)](null)):(this[n(185)][n(143)]([]),this[n(185)][n(187)](r[0]))}[Zu(177)](){const t=Zu,e=this[t(210)],i=qu[t(216)],n=e[t(169)][t(175)](t(159))||qu[t(166)];if(n[t(156)])return n[t(181)]((n=>{const r=t,s=r(146)==typeof n?Object[r(161)]({},i[n]):n;return s[r(168)]=s[r(168)][r(155)](this,e),s[r(150)]&&(s[r(150)]=s[r(150)][r(155)](this,e)),s}))}}qu[Zu(166)]=[Zu(157),Zu(215),Zu(179)],qu[Zu(216)]={compareAgainstSelected:{name:Zu(160),action:({plugins:t},e)=>{const i=Zu,n=t[i(175)](kr),r=n[i(191)];let s=n[i(209)][i(200)],o=e.id;r[i(144)](s)>r[i(144)](o)&&([s,o]=[o,s]),n[i(186)](s,o)},isVisible:({plugins:t},e)=>{const i=Zu,n=t[i(175)](kr);return!(n[i(191)][i(193)](n[i(209)])[i(156)]>2||e[i(195)])}},restoreRevision:{name:Zu(212),action:(t,{id:e})=>{const i=Zu;t[i(169)][i(175)](i(167))[i(154)](e)},isVisible:({plugins:t},e)=>!!t[Zu(175)](kr)[Zu(191)][Zu(148)](e.id)},nameRevision:{name:Zu(141),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Zu,r=t[n(175)](kr),s=r[n(191)][n(152)](e);r[n(186)](e,s),i[n(182)](),i[n(142)][n(201)]()}}};const Bu=qu,Yu=Gu;function Gu(t,e){const i=Ku();return(Gu=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(568353===parseInt(e(537))/1*(-parseInt(e(543))/2)+-parseInt(e(536))/3*(parseInt(e(504))/4)+-parseInt(e(502))/5+-parseInt(e(532))/6*(-parseInt(e(523))/7)+-parseInt(e(511))/8+parseInt(e(541))/9+-parseInt(e(540))/10*(-parseInt(e(500))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ku);class Ju extends En.EditorUI{get[Yu(539)](){return this[Yu(507)]}constructor(e,i){const n=Yu;super(e),this[n(507)]=i,this[n(542)]=(0,En.normalizeToolbarConfig)(e[n(517)][n(526)](n(508))),this[n(534)]=new t.ElementReplacer}get[Yu(505)](){const t=Yu;return this[t(539)][t(505)]}[Yu(531)](t){const e=Yu,i=this[e(516)],n=this[e(539)],r=i[e(530)][e(539)],s=n[e(529)],o=r[e(520)][e(503)]();s[e(544)]=o[e(524)],n[e(527)]();const a=s[e(505)];this[e(528)](s[e(544)],a),n[e(529)][e(512)](e(506)).to(this[e(521)]),r[e(533)](a),this[e(534)][e(535)](t,this[e(505)]),this[e(510)](),this[e(509)](e(525))}[Yu(498)](){const t=Yu;super[t(498)]();const e=this[t(539)],i=this[t(516)][t(530)][t(539)];this[t(534)][t(519)](),i[t(518)](e[t(529)][t(544)]),e[t(498)]()}[Yu(510)](){const t=Yu,e=this[t(539)];e[t(501)][t(512)](t(513)).to(this[t(521)],t(506)),e[t(501)][t(514)]=e[t(505)],e[t(501)][t(512)](t(538)).to(this,t(497),(({top:t})=>t)),e[t(508)][t(515)](this[t(542)],this[t(522)]),this[t(499)](e[t(508)])}}function Ku(){const t=["10KtjALr","2046717ugjGjT","_toolbarConfig","55486rjGhAY","name","viewportOffset","destroy","addToolbar","26460478zgGCiR","stickyPanel","4996500llTwYz","getRoot","8gRTKAM","element","isFocused","_view","toolbar","fire","_initToolbar","2313928WxBUUA","bind","isActive","limiterElement","fillFromConfig","editor","config","detachDomRoot","restore","document","focusTracker","componentFactory","4410YVkwHr","rootName","ready","get","render","setEditableElement","editable","editing","init","7506kpVxGU","attachDomRoot","_elementReplacer","replace","1305858MwWcpT","25idEIOG","viewportTopOffset","view"];return(Ku=function(){return t})()}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Ln().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Un();Cn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=el;function el(t,e){var i=nl();return(el=function(t,e){return i[t-=185]})(t,e)}!function(t){for(var e=el,i=t();;)try{if(700839===parseInt(e(198))/1*(parseInt(e(196))/2)+parseInt(e(185))/3+-parseInt(e(189))/4+parseInt(e(203))/5*(parseInt(e(194))/6)+parseInt(e(188))/7*(parseInt(e(199))/8)+parseInt(e(192))/9+-parseInt(e(204))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nl);class il extends En.BoxedEditorUIView{get[tl(186)](){return this[tl(201)]}constructor(t,e,i={}){var n=tl;super(t),this[n(200)]=new En.StickyPanelView(t),this[n(187)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(202)]}),this[n(201)]=new En.InlineEditableUIView(t,e)}[tl(195)](){var t=tl;super[t(195)](),this[t(200)][t(193)][t(190)](this[t(187)]),this[t(191)][t(190)](this[t(200)]),this[t(197)][t(190)](this[t(186)])}}function nl(){var t=["main","1yZkhST","1496464AHPqLX","stickyPanel","_editable","shouldToolbarGroupWhenFull","5lBZYyh","24853630aUgdPz","1071222NwcVUW","editable","toolbar","35MoYlTI","4188612aaxApa","add","top","11059713gseHeT","content","4359216aOhDNI","render","1971196inFvla"];return(nl=function(){return t})()}const rl=ol;function sl(){const t=["document","7443972ELswFG","createRoot","3277ICvqSz","init","editing","initPlugins","sourceElement","view","4864235TdzSBR","302CONdmP","model","get","2764YrkXMD","20108124CHJsnz","1041mEPHLQ","fire","3135320chnGKz","destroy","10cUdBrl","data","ready","create","config","_ui","initialData","5552792FNqsgU","updateSourceElement","locale"];return(sl=function(){return t})()}function ol(t,e){const i=sl();return(ol=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=ol,i=t();for(;;)try{if(677118===parseInt(e(246))/1*(parseInt(e(253))/2)+-parseInt(e(258))/3*(parseInt(e(256))/4)+-parseInt(e(252))/5+-parseInt(e(244))/6+parseInt(e(269))/7+-parseInt(e(260))/8+-parseInt(e(257))/9*(-parseInt(e(262))/10))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(267)]}constructor(t,e){const i=ol;super(e),this[i(250)]=t,this[i(254)][i(243)][i(245)]();const n=new il(this[i(242)],this[i(248)][i(251)],{shouldToolbarGroupWhenFull:!0});this[i(267)]=new Ju(this,n)}[rl(261)](){const t=rl;return this[t(241)](),this.ui[t(261)](),super[t(261)]()}static async[rl(265)](t,e){const i=rl,n=new this(t,e);return await n[i(249)](),await n.ui[i(247)](t),await n[i(263)][i(247)](n[i(266)][i(255)](i(268))||""),n[i(259)](i(264)),n}}const cl=ul;function ul(t,e){const i=hl();return(ul=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=ul,i=t();for(;;)try{if(652768===-parseInt(e(534))/1+-parseInt(e(460))/2+-parseInt(e(541))/3+parseInt(e(459))/4+parseInt(e(520))/5+parseInt(e(537))/6*(parseInt(e(431))/7)+-parseInt(e(412))/8*(-parseInt(e(542))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(hl);const ll=[cl(481),cl(486)];function hl(){const t=["getMarkersGroup","RevisionTracker","config","pluginName","toolbar","revisionHistory.closeRevisionViewerCallback","save","parse","RevisionHistory","plugins","removeMarker","refreshPositioning","isReady","insert","catch","rootName","isEnabled","3448395NVuPla","getRevisionRootsAttributes","revisionHistory.requireRevisionName","users","name","data","toLocaleDateString","editor","_recalculatePageBreaks","requires","document","restrictedEditingException","revisionHistory","PaginationLookup","480381jhRObH","createdAt","isOfficialPlugin","7067946sLUzSL","from","isPremiumPlugin","isReadOnly","1999809kadCSI","2205xqrRUq","result","Users","markers","toLocaleTimeString","addRoot","enqueueChange","get","enableReadOnlyMode","_showRevisionViewer","$graveyard","revisionHistory.restoreRevisionCallback","roots","getRevision","424IxzMSl","_getRevisionViewerEditorConfig","_viewerEditor","Annotations","set","create","getRoot","revisionHistory.showRevisionViewerCallback","getAttributeKeys","isAnonymous","selection","toVersion","join","_cleanUp","has","end","repository","bind","closeRevisionViewerCallback","7wwkjCg","commands","_update","none","_closeRevisionViewer","saveRevision","update","toJSON","Autosave","exitToEditing","detachRoot","fromVersion","Dialog","map","RevisionViewerIntegration","Restored","restoreRevision","define","style","block","revisionHistory.viewerContainer","changesNavigation","RevisionViewer","setAttribute","display","revision-history-viewer-opened","RevisionsRepository","addRevisionData","155804EuTjmC","239708yOIfVW","adapter","revisionHistory.viewerEditorElement","isOpen","disableReadOnlyMode","model","removeSelectionAttribute","setSelection","getRevisionData","getUser","creator","_enhanceCloseRevisionViewerCallback","keys","createRangeIn","revisionHistory.editorContainer","init","error","destroy","_enhanceShowRevisionViewerCallback","uiLanguage","locale","RevisionHistoryUI","includes","remove","hide","lazyRoots","RestrictedEditingMode","long","numeric","fromCharCode","change","addUser","_restoreRevision","getRevisions","translations","refreshVisibility","removeAttribute","then","push","indexOf","revision-history-missing-configuration","showRevisionViewerCallback","isAttached"];return(hl=function(){return t})()}class dl extends qi.Plugin{static get[cl(506)](){return cl(445)}static get[cl(536)](){return!0}static get[cl(539)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(444)]((t=>String[e(489)](t)))[e(424)]("")}super(t),this[e(543)]=e(427),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(506)](){return cl(511)}static get[cl(536)](){return!0}static get[cl(539)](){return!0}static get[cl(529)](){return[xn,er]}constructor(e){const i=cl;if(super(e),!this[i(527)][i(505)][i(405)](i(532)))throw new t.CKEditorError(i(500),this);this[i(414)]=null,this[i(527)][i(505)][i(448)](i(419),(t=>this[i(407)]({...t,translations:this[i(527)][i(480)][i(494)]}))),this[i(527)][i(505)][i(448)](i(508),(t=>this[i(435)](t))),this[i(527)][i(505)][i(448)](i(409),(t=>this[i(492)](t))),this[i(527)][i(505)][i(448)](i(522),!1),this[i(478)](),this[i(471)]()}set[cl(461)](t){const e=cl;this[e(527)][e(512)][e(405)](e(504))[e(461)]=t}get[cl(461)](){const t=cl;return this[t(527)][t(512)][t(405)](t(504))[t(461)]}[cl(458)](t){const e=cl;return this[e(527)][e(512)][e(405)](e(504))[e(458)](t)}[cl(411)](t){const e=cl;return this[e(527)][e(512)][e(405)](e(457))[e(411)](t)}[cl(493)](t){const e=cl;return this[e(527)][e(512)][e(405)](e(457))[e(493)](t||{toJSON:!1})}[cl(413)](){const e=cl,i=this[e(527)],n=(0,Bi.sanitizeEditorConfig)(i,ll),r=i[e(512)][e(405)](e(504)),s=i[e(512)][e(405)](e(544))[e(523)];return n[e(507)]=[e(440),e(447),e(452)],delete n[e(485)],n[e(512)][e(498)](dl,kr,Pr,class extends qi.Plugin{static get[e(529)](){return[kr,e(544)]}[e(475)](){const n=e,o=this[n(527)][n(512)][n(405)](n(544));for(const t of s)t[n(421)]||o[n(469)](t.id)||o[n(491)](t);const a=r[n(428)][n(493)]();let c=null;const u=this[n(527)][n(512)][n(405)](n(453));u[n(461)]=r[n(461)],u[n(429)](n(519)).to(r),this[n(527)][n(432)][n(405)](n(447))[n(429)](n(519)).to(i,n(540),(t=>!t));for(const e of a){const i=null===e[n(470)];if(i&&e[n(423)]===e[n(442)])continue;const s=e[n(438)]();u[n(458)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(433)](s,o);else if(!o){const e=a[u(438)]();e.id=(0,t.uid)(),r[u(436)](e,a[u(423)])[u(497)]((t=>{c=t}))}}else e[u(433)](s,o)}))}}},Bu),n}[cl(478)](){const t=cl,e=this[t(527)][t(505)][t(405)](t(532))[t(501)];this[t(527)][t(505)][t(416)](t(419),(async()=>{const i=t;this[i(527)][i(406)](i(456));const n=this[i(527)][i(512)][i(405)](i(504));if(this[i(527)][i(512)][i(426)](i(439))){const t=this[i(527)][i(512)][i(405)](i(439));await t[i(509)]()}else await n[i(437)]();if(this[i(527)][i(512)][i(426)](i(533))&&this[i(527)][i(512)][i(405)](i(533))[i(528)](),this[i(527)][i(512)][i(426)](i(443))){const t=this[i(527)][i(512)][i(405)](i(443));t[i(463)]&&t[i(484)]()}const r=this[i(413)]();return e(r)[i(497)]((t=>{const e=i;return this[e(414)]=t,this[e(527)][e(512)][e(426)](e(415))&&this[e(527)][e(512)][e(405)](e(415))[e(495)](),t}))[i(517)]((t=>(console[i(476)](t),this[i(527)][i(464)](i(456)),null)))}))}[cl(471)](){const t=cl,e=this[t(527)][t(505)][t(405)](t(532))[t(430)];this[t(527)][t(505)][t(416)](t(508),(()=>(this[t(527)][t(512)][t(426)](t(533))&&this[t(527)][t(512)][t(405)](t(533))[t(528)](),this[t(414)][t(512)][t(405)](t(453))[t(425)](),e(this[t(414)])[t(497)]((()=>{const e=t;if(this[e(527)][e(464)](e(456)),this[e(414)]=null,this[e(527)][e(512)][e(426)](e(415))){const t=this[e(527)][e(512)][e(405)](e(415));t[e(495)](),t[e(514)]()}})))))}[cl(407)](t){const e=cl,i=this[e(527)][e(505)][e(405)](e(474)),n=this[e(527)][e(505)][e(405)](e(451)),r=this[e(527)][e(505)][e(405)](e(462));return al[e(417)](r,t)[e(497)]((t=>(n[e(449)][e(455)]=e(450),i[e(449)][e(455)]=e(434),t)))}[cl(435)](t){const e=cl,i=this[e(527)][e(505)][e(405)](e(474));return this[e(527)][e(505)][e(405)](e(451))[e(449)][e(455)]=e(434),i[e(449)][e(455)]="",t[e(477)]()}async[cl(492)](t){const e=cl,i=this[e(527)],n=this[e(414)][e(512)][e(405)](e(453)),r=i[e(512)][e(405)](e(504)),s=n[e(428)][e(411)](t);let o,a,c;try{o=await n[e(468)](s),a=await n[e(521)](s)}catch(t){return void console[e(476)](t)}i[e(465)][e(490)]((t=>{const n=e;for(const e of Array[n(538)](i[n(465)][n(545)][n(503)](n(531))))t[n(513)](e)})),n[e(515)]=!1,i[e(465)][e(404)]((t=>{const n=e;t[n(467)](null),t[n(466)](i[n(465)][n(530)][n(422)][n(420)]());const r=Object[n(472)](o);for(const e of i[n(465)][n(530)][n(410)])n(408)!=e[n(518)]&&e[n(502)]()&&!r[n(482)](e[n(518)])&&t[n(441)](e);for(const e of r){let r=i[n(465)][n(530)][n(418)](e);r&&r[n(502)]()||(r=t[n(547)](e));const s=a[e],c=Object[n(472)](s),u=o[e];for(const e of r[n(420)]())c[n(482)](e)||t[n(496)](e,r);for(const i of c)t[n(454)](i,a[e][i],r);t[n(483)](t[n(473)](r)),t[n(516)](i[n(525)][n(510)](u,r),r,0)}}));const u=Xi(i[e(480)],e(446));return c=s[e(524)]?-1==s[e(524)][e(499)](u)?u+": "+s[e(524)]:s[e(524)]:u+": "+s[e(535)][e(526)](i[e(480)][e(479)],{month:e(487),day:e(488)})+", "+s[e(535)][e(546)](i[e(480)][e(479)],{hour:e(488),minute:e(488)}),await r[e(436)]({name:c}),n[e(515)]=!0,i[e(505)][e(405)](e(532))[e(430)]()}}function ml(){var t=["1529365xLkiaD","16TrtqJY","88758hNBuZA","48nGSYRb","1141uDTHkV","7nmxmAO","11514960xYCuay","3249606WlIZUt","13520wgANQj","624tYPRlr","2521791GMoxhM","5060oynleA"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=443]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(724014===parseInt(e(450))/1*(parseInt(e(443))/2)+parseInt(e(448))/3*(parseInt(e(449))/4)+-parseInt(e(446))/5+-parseInt(e(453))/6*(-parseInt(e(451))/7)+-parseInt(e(447))/8*(parseInt(e(444))/9)+-parseInt(e(454))/10*(parseInt(e(445))/11)+parseInt(e(452))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,n,r,s){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},168:t=>{"use strict";t.exports=function(t){return t[1]}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},237:t=>{"use strict";t.exports=CKEditor5.dll}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{Revision:()=>Ui,RevisionHistory:()=>fl,RevisionHistoryUI:()=>tr,RevisionTracker:()=>xn,RevisionViewer:()=>gr,RevisionViewerLoadingOverlay:()=>Dr,RevisionViewerUI:()=>Lr,RevisionsRepository:()=>Qi,RevisionsSidebar:()=>qu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const O=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var x=Object.prototype.toString;const T=function(t){return x.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const E=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const M=k["__core-js_shared__"];var V,D=(V=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var P=/^\[object .+?Constructor\]$/,L=Function.prototype,z=Object.prototype,W=L.toString,Z=z.hasOwnProperty,H=RegExp("^"+W.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const U=function(t){return!(!R(t)||C(t))&&(E(t)?H:P).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return U(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]"==A(t)};var Ot=Object.prototype,xt=Ot.hasOwnProperty,Tt=Ot.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&xt.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Et="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mt=Et&&"object"==typeof module&&module&&!module.nodeType&&module,Vt=Mt&&Mt.exports===Et?k.Buffer:void 0;const Dt=(Vt?Vt.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Pt={};Pt["[object Float32Array]"]=Pt["[object Float64Array]"]=Pt["[object Int8Array]"]=Pt["[object Int16Array]"]=Pt["[object Int32Array]"]=Pt["[object Uint8Array]"]=Pt["[object Uint8ClampedArray]"]=Pt["[object Uint16Array]"]=Pt["[object Uint32Array]"]=!0,Pt["[object Arguments]"]=Pt["[object Array]"]=Pt["[object ArrayBuffer]"]=Pt["[object Boolean]"]=Pt["[object DataView]"]=Pt["[object Date]"]=Pt["[object Error]"]=Pt["[object Function]"]=Pt["[object Map]"]=Pt["[object Number]"]=Pt["[object Object]"]=Pt["[object RegExp]"]=Pt["[object Set]"]=Pt["[object String]"]=Pt["[object WeakMap]"]=!1;const Lt=function(t){return It(t)&&Ft(t.length)&&!!Pt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Zt=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ht=Zt&&Zt.exports===Wt&&y.process;const Ut=function(){try{var t=Zt&&Zt.require&&Zt.require("util").types;return t||Ht&&Ht.binding&&Ht.binding("util")}catch(t){}}();var $t=Ut&&Ut.isTypedArray;const qt=$t?zt($t):Lt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const 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)&&!E(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const Oe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const xe=function(t){return Oe(t,ie,ke)};const Te=function(t){return Oe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Ee=q(k,"WeakMap");var Me="[object Map]",Ve="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Pe=F(B),Le=F(Ae),ze=F(Re),We=F(Ee),Ze=A;(Ne&&Ze(new Ne(new ArrayBuffer(1)))!=je||B&&Ze(new B)!=Me||Ae&&Ze(Ae.resolve())!=Ve||Re&&Ze(new Re)!=De||Ee&&Ze(new Ee)!=Ce)&&(Ze=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 Pe:return Me;case Le:return Ve;case ze:return De;case We:return Ce}return e});const He=Ze;var Ue=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&Ue.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=Ut&&Ut.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==He(t)};var ui=Ut&&Ut.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=He(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:xe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,Oi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const xi=Oi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Ei=function(t){return null==t?"":Ri(t)};const Mi=function(t,e){return At(t)?t:bi(t,e)?[t]:xi(Ei(t))};const Vi=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Mi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Vi(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Mi(e,t)).length;null!=t&&i<n;)t=t[Vi(e[i++])];return i&&i==n?t:void 0};const Pi=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Li=function(t,e){return e.length<2?t:Fi(t,Pi(e,0,-1))};const zi=function(t,e){return e=Mi(e,t),null==(t=Li(t,e))||delete t[Vi(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)},Zi=Hi;function Hi(t,e){const i=$i();return(Hi=function(t,e){return i[t-=350]})(t,e)}!function(t){const e=Hi,i=t();for(;;)try{if(845404===parseInt(e(373))/1+parseInt(e(362))/2+-parseInt(e(353))/3*(-parseInt(e(361))/4)+parseInt(e(363))/5*(parseInt(e(374))/6)+-parseInt(e(351))/7*(-parseInt(e(365))/8)+parseInt(e(371))/9+-parseInt(e(378))/10*(parseInt(e(356))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($i);class Ui extends((0,t.ObservableMixin)()){constructor(e){const i=Hi;super(),this.id=e.id||(0,t.uid)(),this[i(360)]=e[i(360)]||null,this[i(369)]=e[i(369)]||[],this[i(372)]=e[i(372)]||null,this[i(368)]=e[i(368)]||0,this[i(358)]=e[i(358)]||0,this[i(376)](i(364),e[i(364)]||""),this[i(376)](i(359),e[i(359)]||new Date),this[i(376)](i(355),e[i(355)]||{})}[Zi(375)](t){this[Zi(366)]({name:t})}[Zi(377)](t,e){const i=Zi,n=vi(this[i(355)]);Ci(n,t,e),this[i(366)]({attributes:n})}[Zi(367)](t){const e=Zi,i=vi(this[e(355)]);Wi(i,t),this[e(366)]({attributes:i})}[Zi(366)](t,e=!1){const i=Zi;let n=!1;const r={id:this.id},s=[i(364),i(359),i(372),i(369),i(355),i(368),i(358),i(354)];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(369)]&&(r[i(357)]=r[i(369)][i(370)]((t=>t.id)),delete r[i(369)]),this[i(350)](i(366),r,e))}[Zi(352)](){const t=Zi;return{id:this.id,name:this[t(364)],creatorId:this[t(360)]?this[t(360)].id:null,authorsIds:this[t(369)][t(370)]((t=>t.id)),diffData:this[t(372)],createdAt:this[t(359)],attributes:this[t(355)],fromVersion:this[t(358)],toVersion:this[t(368)]}}}function $i(){const t=["80676WHjjxw","297335okhDGI","name","5582768pWGvlQ","_update","removeAttribute","toVersion","authors","map","13320612LcNksi","diffData","1591887FpRgxn","114aXsuTN","setName","set","setAttribute","30AUAqiD","fire","7aJFnTo","toJSON","1311jZmPkr","creatorId","attributes","19408763MwBXlZ","authorsIds","fromVersion","createdAt","creator","10972KcYWdB"];return($i=function(){return t})()}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-=137]})(t,e)}function Ki(){const t=["requires","108RxkOEJ","diffData","data","addRevision","toVersion","push","attributes","createdAt","href","getRevisionsIterator","later","editor","getIndex","fromVersion","Users","join","add","get","afterInit","oldRevisionId","getRevision","creatorId","2294448KmPZaq","getRevisions","fromCharCode","pluginName","94548QwqHkv","RevisionsRepository","name","1467xXNoME","newRevisionId","getEarlierVisibleRevision","isPremiumPlugin","reverse","createRevision","30wonaRH","144528hklqSZ","_revisions","isOfficialPlugin","map","length","2ELddZo","authorsIds","toJSON","getRevisionsInDiff","6230ppyqYS","getUser","406544QPUHrl","earlier","from","getLaterVisibleRevision","28azIYxE","917433HFiKbY","1277352SPtdHR","isNaN","plugins"];return(Ki=function(){return t})()}!function(t){const e=Gi,i=t();for(;;)try{if(231882===-parseInt(e(151))/1*(-parseInt(e(157))/2)+parseInt(e(163))/3+-parseInt(e(193))/4*(parseInt(e(145))/5)+parseInt(e(146))/6*(-parseInt(e(161))/7)+parseInt(e(189))/8+-parseInt(e(139))/9*(-parseInt(e(155))/10)+-parseInt(e(162))/11*(parseInt(e(167))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ki);class Qi extends qi.Plugin{static get[Ji(166)](){return[Bi.Users]}static get[Ji(192)](){return Ji(137)}static get[Ji(148)](){return!0}static get[Ji(142)](){return!0}get[Ji(150)](){const t=Ji;return this[t(147)][t(150)]}constructor(e){const i=Ji;super(e),this[i(147)]=new t.Collection}[Ji(185)](){!async function(e){const i=k([73,115,52,118,74,54,112,116,72,53,56,120,81,48,55,109,84,101,103,80,51,79,67,114,77,106,121,85,110,76,119,102,99,105,78,97,122,69,98,87,70,111,107,108,104,113,50,82,75,100,88,71,117,83,68,49,65,66,57,86,90,89]),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(164)](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([73]);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(149)]((t=>String[e(191)](t)))[e(182)]("")}!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:1739318400;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(175)]);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(144)](t){const e=Ji,i=this[e(178)][e(165)][e(184)](e(181));return new Ui({id:t.id,name:t[e(138)],creator:t[e(188)]?i[e(156)](t[e(188)]):null,diffData:t[e(168)]||t[e(169)],authors:t[e(152)][e(149)]((t=>i[e(156)](t))),createdAt:new Date(t[e(174)]),attributes:t[e(173)],fromVersion:t[e(180)],toVersion:t[e(171)]})}[Ji(170)](t,e=0){const i=Ji;this[i(147)][i(183)](t,e)}[Ji(187)](t){const e=Ji;return this[e(147)][e(184)](t)}[Ji(190)](t={toJSON:!1}){const e=Ji,i=Array[e(159)](this[e(147)]);return i[e(143)](),t[e(153)]?i[e(149)]((t=>t[e(153)]())):i}[Ji(179)](t){const e=Ji;return this[e(147)][e(179)](t)}[Ji(141)](t){const e=Ji,[,i]=this[e(176)](t,{direction:e(158)});return i}[Ji(160)](t){const e=Ji,[,i]=this[e(176)](t,{direction:e(177)});return i}[Ji(154)](t){const e=Ji,i=[];for(const n of this[e(176)](t[e(140)]))if(i[e(172)](n),n.id===t[e(186)])break;return i}*[Ji(176)](t,{direction:e=Ji(158),filter:i=()=>!0}={}){const n=Ji,r=n(158)===e?1:-1;let s=this[n(147)][n(184)](t),o=this[n(179)](s);for(yield s;s;){if(o+=r,s=this[n(187)](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=At(t),a=At(e),c=o?vn:He(t),u=a?vn:He(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=In;function In(t,e){const i=Sn();return(In=function(t,e){return i[t-=259]})(t,e)}function Sn(){const t=["getTransformedByOperation","4PnzUqA","126664MNrwGR","_copyMarkers","includes","reverse","setSource","_applyOperations","upcast","_baseRoots","getOperations","markers","getCurrentRevisionId","_handleOperation","revisionHistoryLicenseKeyEvaluationLimit","name","string","update","$text","_touched","initialData","range","_pendingAction","getRevisions","reinsert","item","position","targetPosition","keys","data","key","createPositionBefore","vid_start","fromVersion","_cloneOperation","fromEntries","getAncestors","_removeRevisionMarkers","insertions","_loadState","destroy","_getState","set","toView","changeRootAttribute","_handleInsertOperation","deletions","_createInitialRevision","_fixRange","creator","_calculateMetaData","_baseRootsAttributes","_insertChild","_addPendingAction","newRange","stringify","addRootAttribute","revisionHistoryLicenseKeyNotAllowed","_handleRootOperation","isOfficialPlugin","_setConversion","_touchedMarkers","version","_baseIdsRoots","slice","currentRevision","forEach","size","_diffRootsAttributes","initial","hasContent","licenseKey","map","6478843ftgQlA","useFillerType","ready","Users","children","attributes","clear","isEqual","_initialRevisionId","rootsAttributes","_continueCurrentRevision","sendBufferedUpdates","offsetSize","marker","documentFragment","attributesAfter","stickiness","createRange","roots","invalid","_isPendingUpdate","getRevisionDocumentData","_operations","getRoot","tableCell","_idsRoots","adapter","addRoot","document","parse","isPremiumPlugin","revision","Initial revision","_diffRoots","has","getRevision","config","createdAt","PENDING_ACTION_REVISION_HISTORY","1226633KcFGxk","collaboration.channelId","_handleRootAttributeOperation","_isInit","path","getTime","graveyardPosition","_bufferUpdate","loadState","filter","revisionHistoryLicenseKeyTrialLimit","remove","clone","requires","RevisionHistory","createPositionAfter","attributesBefore","630NsTfJz","saveRevision","getChildren","_handleSplitOperation","data-revision-","5790400pyGtOr","_replaceEditorDataWithRevisionData","processor","revisionHistoryLicenseKeyExpired","view","isEnabled","elementEnd","getAttributes","init","_revisionDataBuilder","createRevision","markerToData","_bufferedUpdates","getIndex","getAttribute","toVersion","toData","isAttached","authorsIds","6zVuYOg","attachChange","revision:","affectsData","delete","getLatestVersion","_makeModelFromViewString","_lastFrom","_setAttribute","trim","diffData","RevisionsRepository","toModel","add","element","setRevisionData","getNodeByPath","text","insert","_transformMarkers","from","afterInit","featureNotAllowed","revision-end","getChild","_handleMergeOperation","_savedMetaData","parent","usageLimit","evaluationLimit","_update","type","locale","insertion","PendingActions","createPositionFromPath","revisionHistoryLicenseKeyInvalid","authors","getData","revisionHistoryLicenseKeyValid","RealTimeCollaborationClient","_getPreviousFrom","_markers","_removePendingAction","split","_generateTape","revisionHistoryLicenseKeyDomainLimit","_findInsertionIndex","addRevision","rootName","expired","userId","Empty document","_showLicenseError","nodes","_reset","some","sort","_startingVersion","_handleMarkerOperation","get","previousPosition","howMany","startsWith","getMovedRangeStart","vid","splitPosition","values","keepParagraph","31305980JiJDAX","_loadRevisionData","nodeAfter","RevisionTracker","length","_prepareViewToSave","_fixPosition","offset","1812477YGTJze","root","detachRoot","history","newValue","dataDowncast","bind","_markChanges","_getViewJson","sourcePosition","for","trialLimit","max","_loadedStateData","revisionHistoryLicenseKeyUsageLimit","updateRevisions","creatorId","_getBaseVids","_makeRevision","push","insertionPosition","move","_appendChild","reInit","_revisionId","_fixOperation","_handleMoveOperation","$graveyard","end","define","getWalker","getRootNames","source","_removeMetaData","getUser","addRevisionData","buildRevisionData","_makeIdsRoot","_createFromRanges","dataToMarker","_createCurrentRevision","find","removeRootAttribute","pluginName","2782480GcoOwb","revision-start","_getFromVersion","resolve","getRange","repository","then","finally","default","_saveMetaData","editor-initial-data-replaced-with-revision-data","domainLimit","_clone","_lastTo","isReady","editing","shift","_source","elementStart","_execute","plugins","childCount","start","_isAttached","paragraph","conversion","editor","createRangeIn","_licenseKeyCheckInterval","revisionHistory.resumeUnsavedRevision","model","_processRootBeforeSave","merge","baseVersion","getRevisionRootsAttributes","NEGATIVE_INFINITY","_startingRevisionId","getOperation","marked","vid_end","createPositionAt","_touchedRoots","deletion","_getVidAttributeName","isAdd","_authorId","oldRange"];return(Sn=function(){return t})()}!function(t){const e=In,i=t();for(;;)try{if(652594===parseInt(e(428))/1+-parseInt(e(317))/2*(parseInt(e(546))/3)+parseInt(e(269))/4+-parseInt(e(450))/5+parseInt(e(469))/6*(-parseInt(e(389))/7)+-parseInt(e(318))/8*(parseInt(e(445))/9)+parseInt(e(538))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Sn);const On={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class xn extends qi.Plugin{static get[_n(268)](){return _n(541)}static get[_n(375)](){return!0}static get[_n(419)](){return!0}static get[_n(441)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(415)]=null,this[i(381)]=null,this[i(459)]=new Nn(this[i(295)]),this[i(397)]=this[i(295)][i(425)][i(529)](i(429))||i(385),this[i(462)]=new Map,this[i(559)]=null;const n=(0,t.uid)();this[i(286)]={history:this[i(295)][i(299)][i(417)][i(549)],getLatestVersion:()=>Promise[i(272)](this[i(295)][i(299)][i(417)][i(378)]),getCurrentRevisionId:()=>n},this[i(358)](i(283),!1),this[i(358)](i(455),!0),this[i(358)](i(409),!1),this[i(295)][i(425)][i(575)](i(298),!0),this[i(295)][i(294)][i(556)](i(324))[i(264)]({view:i(420)})}[_n(458)](){const t=_n;this[t(274)]=this[t(295)][t(289)][t(529)](t(480)),this[t(376)](),this[t(295)][t(345)].on(t(391),(()=>{const e=t,i=this[e(274)][e(424)](0),n=i&&null===i[e(365)]?i:null;if(this[e(399)]=!!n&&this[e(295)][e(425)][e(529)](e(298)),this[e(295)][e(289)][e(423)](e(509))){const t=this[e(286)][e(328)](),r=this[e(274)][e(424)](t);if(r)this[e(527)]=r[e(349)],this[e(399)]=!1;else{const t=this[e(286)][e(549)][e(411)][e(266)]((t=>!t[e(431)])),r=t?t[e(302)]:this[e(286)][e(549)][e(378)];i?(i[e(465)]<r&&i[e(499)]({toVersion:r}),this[e(399)]?(this[e(286)][e(328)]=()=>n.id,this[e(527)]=n[e(349)]):(this[e(527)]=i[e(465)],this[e(399)]=!1)):(this[e(527)]=r,this[e(399)]=!1)}}else n&&(this[e(295)][e(299)][e(417)][e(549)][e(378)]=Math[e(558)](n[e(465)],this[e(295)][e(299)][e(417)][e(549)][e(378)]),n[e(349)]===n[e(465)]?(0!==n[e(349)]&&(this[e(286)][e(328)]=()=>n.id),this[e(399)]=!1):this[e(399)]&&(this[e(286)][e(328)]=()=>n.id,this[e(527)]=n[e(349)])),this[e(399)]||(this[e(527)]=this[e(295)][e(299)][e(417)][e(378)]);this[e(459)][e(458)](this[e(286)][e(549)]),this[e(363)](this[e(527)]),this[e(265)](this[e(527)]),this[e(415)]&&this[e(400)]()})),this[t(552)](t(283)).to(this,t(409),(t=>!t)),this[t(387)]=this[t(295)][t(425)][t(529)](t(387));const e=this[t(295)];this[t(297)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(508)==s||i(505)==s||i(453)==s||i(515)==s||i(373)==s||i(330)==s||i(438)==s||i(560)==s){delete e[r],n=s,clearInterval(this[i(297)]),this[i(297)]=void 0;break}}i(505)==n&&e[i(522)](i(408)),i(453)==n&&e[i(522)](i(519)),i(515)==n&&e[i(522)](i(280)),i(373)==n&&e[i(522)](i(491),i(442)),i(330)==n&&e[i(522)](i(498)),i(438)==n&&e[i(522)](i(557)),i(560)==n&&e[i(522)](i(497))}),1e3)}async[_n(490)](){const t=_n;if(this[t(274)][t(542)]>0){const e=this[t(274)][t(424)](0),i=await this[t(410)](e),n=await this[t(303)](e);this[t(451)](i,n)}}[_n(356)](){const t=_n;super[t(356)](),this[t(297)]&&clearInterval(this[t(297)])}[_n(322)](t){this[_n(286)]=t}async[_n(333)](){const t=_n,e=await this[t(286)][t(474)]();if(e>this[t(381)][t(465)]){await this[t(355)]();const i=this[t(261)]({revision:this[t(381)],to:e});i[t(506)]=i[t(468)][t(388)]((e=>this[t(295)][t(289)][t(529)](t(392))[t(259)](e))),this[t(381)][t(499)](i)}}async[_n(355)](){const t=_n;this[t(399)]&&!this[t(559)]&&(await this[t(539)](this[t(381)]),this[t(459)][t(436)](this[t(381)]),this[t(559)]={fromVersion:this[t(381)][t(349)],authors:this[t(381)][t(506)][t(380)]()})}async[_n(446)](e={},i=null){const n=_n,r=[];await this[n(355)](),this[n(399)]=!1,i>this[n(381)][n(465)]&&(i=null),null===i&&(i=await this[n(286)][n(474)]());const s=this[n(271)](i),o=this[n(261)]({from:s,to:i});if(this[n(381)][n(465)]<i){const t=this[n(261)]({revision:this[n(381)],from:i,to:i});t[n(506)]=[],t[n(468)]=[],t.id=this[n(381)].id,this[n(381)][n(499)](t,!0),delete t[n(506)],r[n(565)](t)}e[n(562)]=this[n(295)][n(289)][n(529)](n(392)).me.id,e[n(331)]=e[n(331)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(260)](e);r[n(565)](e);const c=this[n(274)][n(463)](a);if(0!==c){const t=this[n(274)][n(424)](c-1);if(t[n(349)]!==i){const s=this[n(459)][n(507)](i,t[n(465)]),o={id:t.id,diffData:s[n(479)],authorsIds:s[n(468)],authors:s[n(468)][n(388)]((t=>this[n(295)][n(289)][n(529)](n(392))[n(259)](t))),fromVersion:i};t===this[n(381)]&&(o[n(426)]=new Date(e[n(426)][n(433)]()+10)),t[n(499)](o,!0),delete o[n(506)],r[n(565)](o)}}if(this[n(415)]){for(const t of r)this[n(435)](t.id,t,!0);this[n(400)]()}return a}[_n(260)](t){const e=_n,i=this[e(274)][e(460)](t);return this[e(415)]&&i.on(e(499),((t,i,n)=>{const r=e;n||(this[r(435)](i.id,i,!0),this[r(400)]())})),this[e(274)][e(517)](i,this[e(516)](i)),i}async[_n(410)](t){const e=_n;await this[e(539)](t);const i={};for(const n in t[e(479)]){if(t[e(479)][n][e(470)]&&!t[e(479)][n][e(470)][e(467)])continue;const r=this[e(353)](JSON[e(418)](t[e(479)][n][e(354)])),s=this[e(295)][e(284)][e(454)][e(417)],o=new Yi.ViewDocumentFragment(s,r[e(388)]((t=>Tn(t,this[e(295)]))));this[e(295)][e(345)][e(452)][e(390)](e(307)),i[n]=this[e(295)][e(345)][e(452)][e(466)](o),this[e(295)][e(345)][e(452)][e(390)](e(277))}return i}async[_n(303)](t){const e=_n;await this[e(539)](t);const i={};for(const n in t[e(479)])t[e(479)][n][e(470)]&&!t[e(479)][n][e(470)][e(467)]||(i[n]=t[e(479)][n][e(404)]||{});return i}[_n(400)](){const t=_n;if(0===this[t(462)][t(383)])return;if(this[t(409)])return;let e=Array[t(489)](this[t(462)][t(536)]());this[t(462)][t(395)]();for(let i=0;i<e[t(542)];i++){const n=e[i];let r=!1;for(const e of Object[t(344)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(437)]((t=>null!==t)),!e[t(542)])return;for(let i=0;i<e[t(542)];i++){const n=e[i];void 0!==n[t(349)]&&void 0===n[t(465)]&&(n[t(465)]=this[t(274)][t(424)](n.id)[t(465)]),void 0!==n[t(465)]&&void 0===n[t(349)]&&(n[t(349)]=this[t(274)][t(424)](n.id)[t(349)])}const i=this[t(295)][t(425)][t(529)](t(429));this[t(409)]=!0,this[t(369)](),this[t(415)][t(561)](e,i)[t(276)]((()=>{this[t(409)]=!1}))[t(275)]((e=>{const i=t;if(e)for(const t of e)this[i(484)]({id:t.id,createdAt:t[i(426)]});this[i(512)](),this[i(400)]()}))}[_n(451)](e,i){const n=_n;let r=this[n(295)][n(425)][n(529)](n(336)),s=this[n(295)][n(425)][n(529)](n(398));if(void 0===r){r={};for(const t of this[n(295)][n(299)][n(417)][n(577)]())r[t]=""}if(n(332)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(295)][n(299)][n(417)][n(577)]())s[t]={}}let o=!1;const a=Object[n(344)](r),c=Object[n(344)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(478)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(344)](s[t])[n(542)]>0){o=!0;break}}o||(o=c[n(525)]((t=>!this[n(295)][n(299)][n(417)][n(412)](t)))),o&&(0,t.logWarning)(n(279),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(295)][n(425)][n(358)](n(336),e),this[n(295)][n(425)][n(358)](n(398),i)}[_n(369)](){const t=_n;if(!this[t(338)]){const e=this[t(295)][t(289)][t(529)](t(503));this[t(338)]=e[t(482)](Xi(this[t(295)][t(501)],t(427)))}}[_n(512)](){const t=_n;this[t(338)]&&(this[t(295)][t(289)][t(529)](t(503))[t(439)](this[t(338)]),this[t(338)]=null)}[_n(516)](t){const e=_n,i=this[e(274)][e(339)]();i[e(321)]();let n=0;for(;n<i[e(542)];){const r=i[n];if(r===this[e(381)]){n++;continue}if(r.id===this[e(397)])break;const s=t[e(465)]-r[e(465)]||t[e(349)]-r[e(349)];if(s>0)break;if(s<0)n++;else{if(!t[e(365)]&&r[e(365)])break;if(r[e(365)]||!t[e(365)]){if(t[e(426)]>r[e(426)])break;n++}else n++}}return n}[_n(484)](t){const e=_n,i=this[e(274)][e(424)](t.id);if(t[e(426)]&&(t[e(426)]=new Date(t[e(426)])),t[e(468)]){const i=this[e(295)][e(289)][e(529)](e(392));t[e(506)]=t[e(468)][e(388)]((t=>i[e(259)](t)))}i[e(499)](t,!0)}[_n(261)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(349)],i=null!==i?i:t[n(465)];const r=this[n(459)][n(507)](e,i),s={diffData:r[n(479)],authorsIds:r[n(468)],fromVersion:e,toVersion:i};if(!t||i!==t[n(465)]){const t=i-1,e=this[n(286)][n(549)][n(306)](t);s[n(426)]=e&&e[n(426)]||new Date}if(this[n(559)]&&e===this[n(559)][n(349)])for(const t of this[n(559)][n(506)])s[n(468)][n(320)](t.id)||s[n(468)][n(565)](t.id);return s}[_n(539)](t){const e=_n;if(!t||t[e(479)])return Promise[e(272)]();{const i=this[e(295)][e(425)][e(529)](e(429));return this[e(415)][e(424)]({channelId:i,revisionId:t.id})[e(275)]((i=>{const n=e;t[n(479)]=i[n(479)]}))}}[_n(435)](t,e,i){const n=_n;if(this[n(462)][n(423)](t)){const r=this[n(462)][n(529)](t);e=i?{...r,...e}:{...e,...r}}this[n(462)][n(358)](t,e)}[_n(271)](t){const e=_n,i=this[e(274)][e(339)]();i[e(321)](),i[e(285)]();const n=i[e(266)]((i=>i[e(465)]<=t))[e(465)];return n<this[e(527)]?this[e(527)]:n}[_n(363)](t){const e=_n,i=this[e(274)][e(424)](this[e(274)][e(542)]-1);if(i)this[e(397)]=i.id;else{const i=!this[e(295)][e(299)][e(417)][e(407)][e(266)]((t=>this[e(295)][e(299)][e(386)](t))),n=this[e(295)][e(289)][e(529)](e(392)).me.id,r=Xi(this[e(295)][e(501)],e(i?521:421));this[e(564)]({from:t,to:t,id:this[e(397)],name:r,creatorId:n})}}[_n(265)](t){const e=_n,i=this[e(286)][e(328)]();this[e(381)]=this[e(274)][e(424)](i),this[e(381)]||(this[e(381)]=this[e(564)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(564)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(261)]({from:e,to:i});o[s(331)]=t,o[s(562)]=n,o.id=r;const a=this[s(260)](o);return this[s(415)]&&this[s(435)](o.id,o,!0),a}[_n(376)](){const t=_n;this[t(295)][t(294)][t(556)](t(551))[t(461)]({model:t(420)})}[_n(353)](t){const e=_n;return(t=t[e(437)]((t=>!t[e(331)]||e(270)!==t[e(331)]&&e(492)!==t[e(331)])))[e(382)]((t=>{const i=e;i(332)!=typeof t&&(t[i(393)]=this[i(353)](t[i(393)]),t[i(394)]=t[i(394)][i(437)]((t=>!t[0][i(532)](i(449)))))})),t}}function Tn(t,e){const i=_n,n=e[i(284)][i(454)][i(417)];if(i(332)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(393)][i(388)]((t=>Tn(t,e)));return new(On[t[i(500)]]||Yi.ViewElement)(n,t[i(331)],t[i(394)],r)}}class Nn{constructor(t){const e=_n;this[e(295)]=t,this[e(495)]=new Map,this[e(476)]=-1,this[e(282)]=-1,this[e(511)]=new Map,this[e(422)]=new Map,this[e(384)]=new Map,this[e(325)]=new Map,this[e(367)]=new Map,this[e(414)]=new Map,this[e(379)]=new Map,this[e(335)]=new Map,this[e(377)]=new Map,this[e(310)]=new Map,this[e(570)]=1}[_n(458)](t){const e=_n;this[e(578)]=t;const i=new Map,n=new Map,r=this[e(295)][e(299)][e(417)][e(407)][e(388)]((t=>t[e(518)]));for(const t of r){const r=this[e(295)][e(299)][e(417)][e(412)](t),s=An(r);i[e(358)](t,s),n[e(358)](t,Object[e(351)](r[e(457)]()))}const s=Array[e(489)](this[e(295)][e(299)][e(327)])[e(388)]((t=>[t[e(331)],t[e(273)]()])),o=this[e(578)][e(378)];this[e(278)](o,i,s,n),this[e(305)]=this[e(570)];const a=new Map,c=new Map;for(const t of r){const i=Rn(t);a[e(358)](t,i),c[e(358)](t,{})}this[e(278)](Number[e(304)],a,[],c)}[_n(507)](t,e){const i=_n;if(this[i(476)]===t&&this[i(282)]<=e)this[i(495)][i(383)]>1&&this[i(579)](this[i(282)]),this[i(323)](this[i(282)],e,!0);else{if(!this[i(495)][i(423)](t)){const e=this[i(510)](t);this[i(366)](e,t,!1)}this[i(366)](t,e,!0)}return this[i(476)]=t,this[i(282)]=e,this[i(357)]()}[_n(436)](t){const e=_n;this[e(524)](),this[e(476)]=t[e(349)],this[e(282)]=t[e(465)];for(const i in t[e(479)]){const n=t[e(479)][i][e(470)],r=vi(t[e(479)][i][e(444)])||{},s=this[e(475)](t[e(479)][i][e(362)]);s[e(518)]=i,s[e(292)]=!n||!n[e(467)],s[e(467)]=()=>s[e(292)],this[e(325)][e(358)](i,s),this[e(367)][e(358)](i,r),n&&this[e(310)][e(358)](i,n);const o=this[e(262)](s);this[e(379)][e(358)](i,o);for(const[t,i]of s[e(327)]){if(!t[e(532)](e(471)))continue;const n=t[e(513)](":")[2];for(const t of i[e(576)]({singleCharacters:!0})){const i=this[e(312)](t),r=e(456)==t[e(500)]?t[e(530)][e(432)][e(380)](0,-1):t[e(530)][e(432)],s=o[e(485)](r)[e(464)](i);this[e(335)][e(358)](s,{userId:n})}}}this[e(305)]=this[e(570)];const i=[...Array(this[e(570)])[e(344)]()][e(380)](1)[e(437)]((t=>!this[e(335)][e(423)](t)));let n=0;const r=new Map;for(const s in t[e(479)]){const o=t[e(479)][s][e(470)],a=vi(t[e(479)][s][e(404)])||{},c=this[e(475)](t[e(479)][s][e(354)]);c[e(518)]=s,c[e(292)]=!o||o[e(467)],c[e(467)]=()=>c[e(292)],this[e(422)][e(358)](s,c),this[e(384)][e(358)](s,a);const u=this[e(262)](c,Number[e(304)]);this[e(414)][e(358)](s,u),r[e(358)](s,c[e(467)]()?a:{});for(const[t,i]of c[e(327)]){if(!t[e(532)](e(471)))continue;const n=t[e(513)](":")[2];for(const t of i[e(576)]({singleCharacters:!0})){const i=this[e(312)](t),r=this[e(570)]++,s=e(456)==t[e(500)]?t[e(530)][e(432)][e(380)](0,-1):t[e(530)][e(432)];u[e(485)](s)[e(477)](i,r),this[e(335)][e(358)](r,{userId:n})}}for(const t of this[e(295)][e(299)][e(296)](c)[e(576)]({singleCharacters:!0})){const r=this[e(312)](t),s=e(456)==t[e(500)]?t[e(530)][e(432)][e(380)](0,-1):t[e(530)][e(432)],o=u[e(485)](s);o[e(464)](r)>0||o[e(477)](r,i[n++])}for(const[t,i]of c[e(327)])t[e(532)](e(471))||this[e(511)][e(358)](t,i)}const s=Rn(e(573));this[e(325)][e(358)](e(573),s),this[e(379)][e(358)](e(573),this[e(262)](s,1));const o=Rn(e(573));this[e(422)][e(358)](e(573),o),this[e(414)][e(358)](e(573),this[e(262)](o,1));const a=Array[e(489)](this[e(422)])[e(388)]((([t,e])=>[t,An(e)]));this[e(278)](this[e(282)],a,this[e(511)],r)}[_n(475)](t){const e=_n,i=JSON[e(418)](t),n=this[e(295)][e(284)][e(454)][e(417)],r=new Yi.ViewDocumentFragment(n,i[e(388)]((t=>Tn(t,this[e(295)]))));return this[e(295)][e(345)][e(481)](r)}[_n(278)](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(358)](t,{start:e[r(291)][r(440)](),end:e[r(574)][r(440)](),rootName:e[r(547)][r(518)]});this[r(495)][r(358)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(579)](t){const e=_n;this[e(495)][e(473)](t)}[_n(569)](){const t=_n;this[t(524)](),this[t(476)]=-1,this[t(282)]=-1,this[t(495)][t(395)](),this[t(458)](this[t(578)])}[_n(524)](){const t=_n;this[t(335)][t(395)](),this[t(377)][t(395)](),this[t(310)][t(395)](),this[t(422)][t(395)](),this[t(384)][t(395)](),this[t(325)][t(395)](),this[t(367)][t(395)](),this[t(414)][t(395)](),this[t(379)][t(395)](),this[t(511)][t(395)](),this[t(570)]=1,this[t(305)]=this[t(570)]}[_n(262)](t,e=null){const i=_n;let n=null;t.is(i(403))||(n=new Yi.Element(t[i(331)],{vid_start:null===e?this[i(570)]++:e++}));const r=[];for(const n of t[i(447)]())if(n.is(i(483))){r[i(565)](this[i(262)](n,e));const t=r[r[i(542)]-1];null!==e&&(e=t.is(i(483),i(334))?t[i(464)](i(534))+1:t[i(464)](i(308))+1)}else for(let t=0;t<n[i(401)];t++)r[i(565)](new Yi.Element(i(334),{vid:null===e?this[i(570)]++:e++}));if(t.is(i(403))){const e=Rn(t[i(518)]);return e[i(368)](0,r),e}return n[i(477)](i(308),null===e?this[i(570)]++:e++),n[i(368)](0,r),n}[_n(366)](t,e,i){const n=_n;this[n(524)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(495)][n(529)](t);this[n(325)]=new Map(r),this[n(367)]=new Map(vi(o));for(const[t,e]of this[n(325)])if(n(573)!==t&&(this[n(422)][n(358)](t,An(e)),this[n(384)]=new Map(vi(o)),i)){const i=this[n(570)];this[n(414)][n(358)](t,this[n(262)](e)),this[n(379)][n(358)](t,this[n(262)](e,i))}this[n(305)]=this[n(570)],this[n(422)][n(358)](n(573),An(this[n(325)][n(529)](n(573)))),i&&this[n(414)][n(358)](n(573),this[n(262)](this[n(325)][n(529)](n(573))));for(const[t,e]of s){const i=this[n(325)][n(529)](e[n(518)]),r=this[n(422)][n(529)](e[n(518)]),s=new Yi.Range(this[n(544)](e[n(291)],i),this[n(544)](e[n(574)],i)),o=this[n(364)](s,r);i[n(327)][n(358)](t,s),this[n(511)][n(358)](t,o)}this[n(323)](t,e,i)}[_n(323)](t,e,i){const n=_n;for(const r of this[n(578)][n(326)](t,e))this[n(329)](r,i);for(const t of this[n(422)][n(536)]())t[n(327)][n(395)]();for(const[t,e]of this[n(511)])this[n(422)][n(529)](e[n(547)][n(518)])[n(327)][n(358)](t,e[n(440)]());const r=new Map,s=new Map;for(const[t,e]of this[n(422)])r[n(358)](t,An(e)),s[n(358)](t,this[n(384)][n(529)](t));this[n(278)](e,r,this[n(511)],s)}[_n(510)](t){const e=_n,i=Array[e(489)](this[e(495)][e(344)]());i[e(526)](((t,e)=>t-e)),i[e(321)]();for(const e of i)if(e<t)return e;return Number[e(304)]}[_n(319)](t,e){const i=_n,n=Array[i(489)](e[i(327)])[i(388)]((([e,n])=>[e,this[i(364)](n,t)]));t[i(327)]=new Map(n)}[_n(488)](t){const e=_n;for(const i of this[e(511)][e(536)]()){const n=i[e(316)](t),r=Yi.Range[e(263)](n);i[e(291)]=r[e(291)],i[e(574)]=r[e(574)]}}[_n(329)](t,e){const i=_n;if(i(416)!=t[i(500)]&&i(548)!=t[i(500)]){if(i(487)==t[i(500)]){const n=t[i(342)][i(547)][i(518)];this[i(422)][i(423)](n)||(this[i(422)][i(358)](n,Rn(n,!0)),this[i(384)][i(358)](n,{}),e&&this[i(414)][i(358)](n,Rn(n,!0)))}else{if(i(372)==t[i(500)]||i(267)==t[i(500)]||i(360)==t[i(500)])return void this[i(430)](t);i(402)==t[i(500)]&&this[i(528)](t)}if(i(402)!==t[i(500)]){const e=this[i(350)](t,this[i(422)]);e[i(288)](),this[i(488)](e)}if(e)switch(t[i(500)]){case i(487):this[i(361)](t);break;case i(567):case i(439):case i(340):this[i(572)](t);break;case i(301):this[i(494)](t);break;case i(513):this[i(448)](t)}}else this[i(374)](t,e)}[_n(350)](t,e){const i=_n,n=t[i(440)]();return n[i(314)]=t[i(314)],this[i(571)](n,e),n}[_n(563)](t){const e=_n;return t[e(388)]((t=>{const i=e,n=this[i(312)](t);return Number(t[i(341)][i(464)](n))}))}[_n(514)](t,e){const i=_n;if(t.is(i(483),i(334)))e[i(565)]({item:t,type:i(486)});else{t.is(i(483))&&e[i(565)]({item:t,type:i(287)});for(const n of t[i(447)]())this[i(514)](n,e);t.is(i(483))&&e[i(565)]({item:t,type:i(456)})}return e}[_n(357)](){const t=_n,e=new Map(this[t(335)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(325)][t(344)](),...this[t(422)][t(344)]()]);a[t(473)](t(573));for(const e of a){const i=this[t(422)][t(529)](e)||Rn(e,!1),n=this[t(325)][t(529)](e)||Rn(e,!1);i[t(467)]()||n[t(467)]()?(r[t(354)][e]=An(i),r[t(362)][e]=An(n),this[t(319)](r[t(362)][e],n),this[t(319)](r[t(354)][e],i),s[t(354)][e]=this[t(514)](this[t(414)][t(529)](e),[]),s[t(362)][e]=this[t(514)](this[t(379)][t(529)](e)||Rn(e,!1),[])):a[t(473)](e)}for(const r of a){const o=s[t(354)][r];for(const r of o){const s=this[t(312)](r),o=r[t(341)][t(464)](s);i[t(473)](o),o>=this[t(305)]&&n[t(358)](o,e[t(529)](o))}}for(const r of a){const a=s[t(354)][r],c=this[t(563)](s[t(362)][r]);let u=0;for(const r of a){const s=this[t(312)](r),a=r[t(341)][t(464)](s);if(!n[t(423)](a)&&!o[t(423)](a))if(i[t(423)](a))u++;else{if(a!=c[u]){const n=e[t(529)](a)||e[t(529)](c[u]);for(;a!=c[u];)i[t(423)](c[u])||(o[t(358)](c[u],n),e[t(358)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(354)][e];for(const e of r){const r=this[t(312)](e),s=e[t(341)][t(464)](r);if(o[t(423)](s)){const e=o[t(529)](s);i[t(423)](s)||i[t(358)](s,{...e}),n[t(358)](s,{...e})}}}for(const e of i[t(344)]())e>=this[t(305)]&&i[t(473)](e);const c=new Map;for(const e of a){let r=s[t(354)][e];for(const e of r)if(e[t(341)].is(t(483),t(413))){const i=this[t(312)](e),r=e[t(341)][t(464)](i);if(n[t(423)](r)){const i=e[t(341)][t(496)][t(496)][t(464)](t(348)),s=c[t(529)](i)||new Set;s[t(482)](n[t(529)](r)[t(520)]),c[t(358)](i,s)}}r=s[t(362)][e];for(const e of r)if(e[t(341)].is(t(483),t(413))){const n=this[t(312)](e),r=e[t(341)][t(464)](n);if(i[t(423)](r)){const n=e[t(341)][t(496)][t(496)][t(464)](t(348)),s=c[t(529)](n)||new Set;s[t(482)](i[t(529)](r)[t(520)]),c[t(358)](n,s)}}for(const e of c[t(344)]())(n[t(423)](e)||i[t(423)](e))&&c[t(473)](e)}for(const e of a){const r=s[t(354)][e];let o=null,a=null;for(const e of r){const r=this[t(312)](e),s=e[t(341)][t(464)](r),u=c[t(529)](s);u&&t(287)==e[t(500)]&&(o=Array[t(489)](u)[0],a=e[t(341)][t(464)](t(308))),o&&(i[t(358)](s,{userId:o}),n[t(358)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(362)][e],a=r[t(354)][e];for(const{userId:e}of this[t(377)][t(536)]())null!==e&&l[t(482)](e);for(const{userId:e}of this[t(310)][t(536)]())null!==e&&l[t(482)](e);this[t(553)](a,s[t(354)][e],n,t(502),l),this[t(553)](o,s[t(362)][e],i,t(311),l),u[e]={insertions:this[t(543)](a),deletions:this[t(543)](o),attachChange:this[t(310)][t(529)](e)||null,attributesBefore:vi(this[t(367)][t(529)](e))||{},attributesAfter:vi(this[t(384)][t(529)](e))}}return{diffData:u,authorsIds:Array[t(489)](l)}}[_n(300)](t){const e=_n;for(const[,i]of t[e(327)]){const t=i[e(291)][e(352)]()[e(437)]((t=>e(413)==t[e(331)]));for(const i of t)1==i[e(290)]&&i[e(493)](0).is(e(483),e(293))&&i[e(493)](0)[e(477)](e(537),!0)}}[_n(543)](t){const e=_n;this[e(300)](t);const i=this[e(295)][e(345)][e(359)](t,{}),n=Array[e(489)](i[e(447)]())[e(388)]((t=>this[e(554)](t)));return JSON[e(371)](n)}[_n(554)](t){const e=_n;if(t.is(e(334)))return t[e(345)];{const i=t;return{type:Object[e(344)](On)[e(266)]((e=>t instanceof On[e])),name:i[e(331)],attributes:Array[e(489)](i[e(457)]()),children:Array[e(489)](i[e(447)]())[e(388)]((t=>this[e(554)](t)))}}}[_n(553)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(295)][s(299)];for(let n=0;n<e[s(542)];n++){const r=this[s(312)](e[n]),c=e[n][s(341)][s(464)](r),h=i[s(529)](c),d=n==e[s(542)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(520)]!=o[s(520)])&&(l(h,En(a,t,u),En(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,En(a,t,u),Mn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(520)],d=l(471)+n+":"+h+":"+c++,f=u[l(406)](i,a);t[l(327)][l(358)](d,f),null!==h&&r[l(482)](h)}}[_n(312)](t){const e=_n;switch(t[e(500)]){case e(287):return e(348);case e(456):return e(308);default:return e(534)}}[_n(571)](t,e){const i=_n;t[i(302)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(529)](r[i(547)][i(518)]);t[n]=this[i(544)](r,s)}if(r instanceof Yi.Range){const s=e[i(529)](r[i(547)][i(518)]);t[n]=this[i(364)](r,s)}i(547)===n&&(t[i(547)]=e[i(529)](t[i(547)][i(518)]))}}[_n(364)](t,e){const i=_n;return this[i(295)][i(299)][i(406)](this[i(544)](t[i(291)],e),this[i(544)](t[i(574)],e))}[_n(544)](t,e){const i=_n;return this[i(295)][i(299)][i(504)](e,t[i(432)],t[i(405)])}[_n(361)](t){const e=_n,i=this[e(414)][e(529)](t[e(342)][e(547)][e(518)]),n=this[e(544)](t[e(342)],i),r=null===t[e(314)]?null:t[e(314)]||this[e(295)][e(289)][e(529)](e(392)).me.id,s=n[e(496)],o=this[e(570)],a=[];for(const i of t[e(523)])if(i.is(e(483)))a[e(565)](this[e(262)](i));else for(let t=0;t<i[e(401)];t++)a[e(565)](new Yi.Element(e(334),{vid:this[e(570)]++}));const c=this[e(570)];for(let t=o;t<c;t++)this[e(335)][e(358)](t,{userId:r});s[e(368)](n[e(545)],a)}[_n(572)](t){const e=_n;(t=this[e(350)](t,this[e(414)]))[e(288)]();const i=null===t[e(314)]?null:t[e(314)]||this[e(295)][e(289)][e(529)](e(392)).me.id,n=t[e(533)](),r=n[e(496)],s=n[e(545)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(493)](e);s.is(a(483),a(334))?n[a(358)](s[a(464)](a(534)),{userId:i}):(n[a(358)](s[a(464)](a(348)),{userId:i}),t(n,s,0,s[a(290)]),n[a(358)](s[a(464)](a(308)),{userId:i}))}}(this[e(335)],r,s,s+t[e(531)])}[_n(494)](t){const e=_n,i=null===(t=this[e(350)](t,this[e(414)]))[e(314)]?null:t[e(314)]||this[e(295)][e(289)][e(529)](e(392)).me.id,n=t[e(343)][e(496)],r=t[e(555)][e(496)],s=n[e(464)](e(308)),o=r[e(464)](e(348));n[e(477)](e(308),r[e(464)](e(308))),r[e(477)](e(308),s),this[e(335)][e(358)](o,{userId:i}),this[e(335)][e(358)](s,{userId:i}),t[e(288)]()}[_n(448)](t){const e=_n,i=null===(t=this[e(350)](t,this[e(414)]))[e(314)]?null:t[e(314)]||this[e(295)][e(289)][e(529)](e(392)).me.id,n=t[e(434)],r=t[e(535)][e(496)];t[e(288)]();const s=r[e(464)](e(308)),o=t[e(566)][e(540)];if(n){const t=o[e(464)](e(308)),n=r[e(464)](e(308));r[e(477)](e(308),t),o[e(477)](e(308),n),this[e(335)][e(358)](r[e(464)](e(308)),{userId:i}),this[e(335)][e(358)](o[e(464)](e(348)),{userId:i})}else{const t=this[e(570)]++,n=this[e(570)]++;r[e(477)](e(308),t),o[e(477)](e(348),n),o[e(477)](e(308),s),this[e(335)][e(358)](t,{userId:i}),this[e(335)][e(358)](n,{userId:i})}}[_n(528)](t){const e=_n;if(!t[e(472)])return;const i=(t=this[e(350)](t,this[e(422)]))[e(315)]?t[e(315)][e(547)]:null,n=t[e(370)]?t[e(370)][e(547)]:null;i&&this[e(511)][e(473)](t[e(331)]),n&&this[e(511)][e(358)](t[e(331)],t[e(370)][e(440)]());const r=null===t[e(314)]?null:t[e(314)]||this[e(295)][e(289)][e(529)](e(392)).me.id,s=t[e(331)];if(!this[e(377)][e(423)](s))return void this[e(377)][e(358)](s,{range:t[e(315)],userId:r});const o=this[e(377)][e(529)](s),a=o[e(337)],c=t[e(370)];null==a&&null==c||a&&c&&a[e(396)](c)?this[e(377)][e(473)](t[e(331)]):o[e(520)]=r}[_n(374)](t,e){const i=_n;this[i(422)][i(423)](t[i(518)])?this[i(422)][i(529)](t[i(518)])[i(292)]=t[i(313)]:(this[i(422)][i(358)](t[i(518)],Rn(t[i(518)],!0)),this[i(384)][i(358)](t[i(518)],{}),e&&this[i(414)][i(358)](t[i(518)],Rn(t[i(518)],!0)));const n=null===t[i(314)]?null:t[i(314)]||this[i(295)][i(289)][i(529)](i(392)).me.id,r=this[i(310)][i(529)](t[i(518)]);r&&r[i(520)]===n?this[i(310)][i(473)](t[i(518)]):this[i(310)][i(358)](t[i(518)],{userId:n,isAttached:t[i(313)]})}[_n(430)](t){const e=_n,i=this[e(384)][e(529)](t[e(547)][e(518)]);null===t[e(550)]?delete i[t[e(346)]]:i[t[e(346)]]=t[e(550)]}}function An(t){const e=_n,i=Rn(t[e(518)],t[e(467)]());for(const n of t[e(447)]()){const t=n[e(281)](!0);i[e(568)](t)}return i}function Rn(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(518)]=t,n[i(292)]=e,n[i(467)]=()=>n[i(292)],n}function En(t,e,i){const n=_n,r=n(456)==t[n(500)]?i[n(309)](t[n(341)],n(574)):i[n(347)](t[n(341)]);return i[n(504)](e,r[n(432)],r[n(405)])}function Mn(t,e,i){const n=_n,r=n(287)==t[n(500)]?i[n(309)](t[n(341)],0):i[n(443)](t[n(341)]);return i[n(504)](e,r[n(432)],r[n(405)])}var Vn=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Pn=i(262),Ln=i.n(Pn),zn=i(667),Wn=i.n(zn),Zn=i(357),Hn=i.n(Zn),Un=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Ln().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Hn();Cn()(Un.A,$n);Un.A&&Un.A.locals&&Un.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Ln().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Hn();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Jn(){const t=["150KZtXIw","set","_createRevisionNameInput","extendTemplate","4CGBxbO","220","8SZEEUr","reset","arrowup","listenTo","stopPropagation","add","revisionName","6473020rXPmWp","arrowleft","input","156aQhWpf","ck-revision-history-save-revision-form","fieldView","value","ck-responsive-form","trim","revisionNameInputValue","focus","render","errorText","8122902IDmOsS","arrowdown","74282CeMFDo","195417uzHdMa","focusTracker","Name of the revision","1493771mDjeWa","revisionNameInputView","arrowright","22521356BAUgou","label","optional","form","keystrokes","element","278229zagBNB","locale","setTemplate"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=415]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(984766===-parseInt(e(450))/1+parseInt(e(446))/2*(-parseInt(e(434))/3)+parseInt(e(422))/4*(parseInt(e(431))/5)+parseInt(e(444))/6+parseInt(e(415))/7*(parseInt(e(424))/8)+parseInt(e(447))/9*(-parseInt(e(418))/10)+parseInt(e(453))/11)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(448)]=new t.FocusTracker,this[n(457)]=new t.KeystrokeHandler,this[n(419)](n(440),""),this[n(451)]=this[n(420)](i),this[n(417)]({tag:n(456),attributes:{class:["ck",n(435),n(438)],tabindex:"-1"},children:[this[n(451)]]}),(0,Vn.injectCssTransitionDisabler)(this)}[Yn(442)](){const t=Yn;super[t(442)](),(0,Vn.submitHandler)({view:this}),this[t(448)][t(429)](this[t(451)][t(458)]),this[t(457)][t(427)](this[t(458)]);const e=e=>e[t(428)]();this[t(457)][t(419)](t(452),e),this[t(457)][t(419)](t(432),e),this[t(457)][t(419)](t(426),e),this[t(457)][t(419)](t(445),e)}[Yn(441)](){const t=Yn;this[t(451)][t(441)]()}get[Yn(430)](){const t=Yn;return this[t(451)][t(436)][t(458)][t(437)][t(439)]()}set[Yn(430)](t){const e=Yn;this[e(451)][e(436)][e(458)][e(437)]=t[e(439)]()}[Yn(425)](){const t=Yn;this[t(451)][t(436)][t(458)][t(437)]="",this[t(451)][t(443)]=null}[Yn(420)](t){const e=Yn,i=new Vn.LabeledFieldView(this[e(416)],Vn.createLabeledInputText),n=i[e(436)];n[e(421)]({attributes:{maxlength:e(423)}});let r=Xi(this[e(416)],e(449));return!t&&(r+=" ("+Xi(this[e(416)],e(455))+")"),i[e(454)]=r,n.on(e(433),(()=>{const t=e;this[t(440)]=n[t(458)][t(437)][t(439)]()})),i}}function Qn(t,e){const i=er();return(Qn=function(t,e){return i[t-=487]})(t,e)}const Xn=Qn;!function(t){const e=Qn,i=t();for(;;)try{if(798360===-parseInt(e(539))/1*(parseInt(e(536))/2)+-parseInt(e(537))/3+parseInt(e(492))/4*(parseInt(e(551))/5)+parseInt(e(504))/6*(parseInt(e(489))/7)+-parseInt(e(512))/8+-parseInt(e(487))/9*(-parseInt(e(548))/10)+-parseInt(e(543))/11*(-parseInt(e(488))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(er);class tr extends qi.Plugin{static get[Xn(533)](){return Xn(542)}static get[Xn(555)](){return!0}static get[Xn(541)](){return!0}static get[Xn(515)](){return[xn]}[Xn(524)](){const t=Xn,e=this[t(495)],i=e[t(511)][t(540)](t(491));e.ui[t(544)][t(493)](t(538),(n=>{const r=t,s=(0,Vn.createDropdown)(n),o=s[r(510)][r(507)],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(497)](r(552)).to(i,r(525),i,r(552),e,r(519),((t,e,i)=>t&&e&&!i)),s[r(523)][r(513)]({icon:qi.icons[r(546)],label:Xi(n,r(553)),tooltip:!0}),u[r(513)]({label:Xi(n,r(526)),withText:!0,role:r(508)}),u[r(497)](r(552)).to(i,r(525),i,r(552),e,r(519),((t,e,i)=>t&&e&&!i)),u.on(r(545),(()=>this[r(503)]())),h[r(513)]({label:Xi(n,r(534)),withText:!0,role:r(508)}),h[r(497)](r(552)).to(i,r(525),e,r(519),((t,e)=>t&&!e)),h.on(r(545),(()=>{const t=r;e[t(499)][t(540)](t(538))[t(518)](),s[t(520)]=!1,e[t(506)][t(514)][t(549)]()})),c[r(507)][r(493)](u),l[r(507)][r(493)](h),a[r(550)]=r(557),a[r(528)][r(531)]([c,l]),o[r(493)](a),s})),e.ui[t(544)][t(493)](t(498),(()=>this[t(558)]()))}[Xn(558)](){const t=Xn,e=this[t(495)],i=e[t(516)],n=new Vn.MenuBarMenuView(i),r=new Vn.MenuBarMenuListView(i);n[t(523)][t(513)]({icon:qi.icons[t(546)],label:Xi(i,t(553))});const s=new Vn.MenuBarMenuListItemView(i,n),o=new Vn.MenuBarMenuListItemButtonView(i);o[t(513)]({label:Xi(i,t(526))}),o[t(527)](t(545)).to(n),o.on(t(545),(()=>{this[t(503)]()})),s[t(507)][t(493)](o),r[t(528)][t(493)](s);const a=new Vn.MenuBarMenuListItemView(i,n),c=new Vn.MenuBarMenuListItemButtonView(i);return c[t(513)]({label:Xi(i,t(534))}),c[t(527)](t(545)).to(n),c.on(t(545),(()=>{const i=t;e[i(499)][i(540)](i(538))[i(518)]()})),a[t(507)][t(493)](c),r[t(528)][t(493)](a),n[t(510)][t(507)][t(493)](r),n}[Xn(503)](){const t=Xn,e=this[t(495)],i=e[t(516)],n=e[t(511)][t(540)](t(494)),r=e[t(511)][t(540)](t(491));function s(r){const s=t;e[s(499)][s(540)](s(522))&&""===r[s(501)]?r[s(490)][s(517)]=Xi(i,s(502)):(e[s(511)][s(540)](xn)[s(554)]({name:r[s(501)]}),n[s(496)]())}this[t(532)]||(this[t(547)](),this[t(532)].on(t(535),(()=>s(this[t(532)])))),this[t(532)][t(556)](),n[t(521)]({id:t(529),title:Xi(i,t(526)),isModal:!0,content:this[t(532)],actionButtons:[{label:Xi(e[t(516)],t(509)),withText:!0,onExecute:()=>n[t(496)]()},{label:Xi(e[t(516)],t(505)),class:t(500),withText:!0,onCreate(i){const n=t;i[n(497)](n(552)).to(r,n(525),r,n(552),e,n(519),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(532)])}]})}[Xn(547)](){const t=Xn,e=this[t(495)],i=e[t(516)];this[t(532)]=new Kn(i,e[t(499)][t(540)](t(522))),this[t(532)][t(530)]()}}function er(){const t=["Save current revision","delegate","items","revisionSave","render","addMany","_saveRevisionFormView","pluginName","Open revision history","submit","274774VXFNow","621195ybebSn","revisionHistory","9PHEQJQ","get","isPremiumPlugin","RevisionHistoryUI","11ttQmga","componentFactory","execute","history","_createSaveRevisionFormView","6570BRKQzG","focus","role","6556510DtsWkX","isEnabled","Revision history","saveRevision","isOfficialPlugin","reset","menu","_registerMenuComponent","10467rbtHTy","5215332dGtpAw","63679iQvBEg","revisionNameInputView","RevisionTracker","4HrDysE","add","Dialog","editor","hide","bind","menuBar:revisionHistory","config","ck-button-action","revisionName","The revision name cannot be empty.","_showDialog","444ifVyCI","Accept","editing","children","menuitem","Cancel","panelView","plugins","7530192eblVGd","set","view","requires","locale","errorText","showRevisionViewerCallback","isReadOnly","isOpen","show","revisionHistory.requireRevisionName","buttonView","init","isReady"];return(er=function(){return t})()}const ir=nr;function nr(t,e){const i=sr();return(nr=function(t,e){return i[t-=138]})(t,e)}!function(t){const e=nr,i=t();for(;;)try{if(725430===parseInt(e(154))/1+parseInt(e(147))/2+-parseInt(e(150))/3+parseInt(e(153))/4*(-parseInt(e(161))/5)+-parseInt(e(157))/6*(parseInt(e(167))/7)+-parseInt(e(160))/8+parseInt(e(155))/9*(parseInt(e(159))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sr);class rr extends Vn.View{constructor(t,e){const i=nr;super(t),this[i(169)]=e,this[i(162)]=e.id;const n=this[i(141)],r=Xi(t,e[i(163)][i(152)]?i(138):i(165)==e[i(156)]?i(151):i(145));this[i(139)](i(156),e[i(156)]),this[i(158)]({tag:i(144),attributes:{class:[i(148),i(149),n.to(i(156),(t=>i(168)+t))],tabindex:-1},children:[{tag:i(140),children:[{tag:i(140),attributes:{class:[i(164)]},children:[{text:r}]},{text:" "+e[i(143)][i(166)]}]}]})}[ir(142)](){const t=ir;this[t(146)][t(142)]()}}function sr(){const t=["177486Genkhh","setTemplate","80ydWHHq","10740096ZSskQc","5BEZEjM","changeId","data","ck-revision-change__label","add","name","77lqiyuH","ck-revision-change__","_model","Suggested by","set","span","bindTemplate","focus","author","div","Removed by","element","2687488HulJPX","ck-annotation","ck-revision-change","1281180UiZivV","Added by","isSuggestion","1114888udUBVs","312235uPuFug","1623528GOYEYW","type"];return(sr=function(){return t})()}function or(t,e){var i=cr();return(or=function(t,e){return i[t-=377]})(t,e)}var ar=or;function cr(){var t=["type","35PfJJZT","1005864FMFcPP","toJSON","1633317UyBPYU","9WUMlwu","6976nHPZOJ","796buvOEh","set","7407WOUQxc","520216KkRPCR","rootName","11sGWUiF","6248320retpjK","data","2160408GaQgGJ","createdAt","45585OJtoXt","author"];return(cr=function(){return t})()}!function(t){for(var e=or,i=t();;)try{if(923592===parseInt(e(386))/1+parseInt(e(392))/2*(parseInt(e(387))/3)+parseInt(e(389))/4*(-parseInt(e(380))/5)+parseInt(e(384))/6*(-parseInt(e(383))/7)+parseInt(e(388))/8*(parseInt(e(391))/9)+parseInt(e(395))/10+-parseInt(e(394))/11*(parseInt(e(378))/12))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(381)]=e[i(381)],this[i(382)]=e[i(382)],this[i(377)]=e[i(377)]||{},this[i(393)]=e[i(393)],this[i(390)](i(379),e[i(379)])}[ar(385)](){var t=ar;return{id:this.id,authorId:this[t(381)].id,type:this[t(382)],data:this[t(377)],createdAt:this[t(379)]}}}function lr(t,e){const i=dr();return(lr=function(t,e){return i[t-=405]})(t,e)}const hr=lr;function dr(){const t=["changes","3104525soHeQa","344427zbcJjp","oldRevisionId","1016729UgcQDf","309306TJdxui","1374056pjspHE","428148QEZqPs","520260XpVpHl","add","_setChanges","newRevisionId"];return(dr=function(){return t})()}!function(t){const e=lr,i=t();for(;;)try{if(375072===parseInt(e(414))/1+-parseInt(e(413))/2+-parseInt(e(408))/3+-parseInt(e(412))/4+parseInt(e(407))/5+parseInt(e(411))/6+-parseInt(e(410))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(dr);class fr{constructor(e,i){const n=lr;this[n(405)]=e,this[n(409)]=i,this[n(406)]=new t.Collection}[hr(416)](t){const e=hr;for(const i of t)this[e(406)][e(415)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Ln().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Hn();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;const vr=wr;!function(t){const e=wr,i=t();for(;;)try{if(447167===parseInt(e(516))/1+parseInt(e(491))/2+-parseInt(e(498))/3+-parseInt(e(651))/4+parseInt(e(739))/5+parseInt(e(641))/6+parseInt(e(597))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_r);const yr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class gr extends qi.Plugin{static get[vr(465)](){return vr(632)}static get[vr(757)](){return!0}static get[vr(558)](){return!0}static get[vr(658)](){return[Bi.Users,Vn.ContextualBalloon,Qi]}constructor(t){const e=vr;super(t),this[e(691)]=this[e(649)][e(574)][e(495)](e(758)),this[e(446)](e(471),null),this[e(446)](e(469),null),this[e(680)]=null,this[e(446)](e(500),null),this[e(446)](e(761),!1),this[e(446)](e(486),!0),this.on(e(567),((t,i,n)=>{const r=e;this[r(471)]=null,this[r(469)]=null,this[r(649)][r(553)][r(565)][r(699)]((t=>{const e=r;for(const i of this[e(649)][e(553)][e(565)][e(714)][e(474)])n?t[e(466)](e(508),i):t[e(464)](e(508),i)}))})),this[e(481)](e(638)).to(this,e(471),(t=>null!==t)),this[e(481)](e(622)).to(this,e(761),this,e(500),this,e(471),((t,i,n)=>t&&n?i[e(743)][e(434)](n):0)),this[e(481)](e(628)).to(this,e(761),this,e(500),((t,i)=>t?i[e(743)][e(475)]:0)),this[e(603)]=null,this[e(661)]=new Map,this[e(707)]=null,this[e(653)]=this[e(649)][e(574)][e(495)](Vn.ContextualBalloon)}[vr(624)](){const t=vr,e=this[t(649)],i=new Ir(e,{direction:t(569)}),n=new Ir(e,{direction:t(737)});e[t(594)][t(447)](t(706),i),e[t(594)][t(447)](t(570),n),e[t(594)][t(447)](t(502),new br(e)),this.on(t(662),(()=>{const e=t;i[e(683)](),n[e(683)]()})),this[t(712)](),this[t(577)](),e[t(581)](t(442)),e[t(574)][t(660)](t(435))&&e[t(574)][t(495)](t(435))[t(587)](t(442))}async[vr(571)](t){const e=vr;await this[e(711)](t);const i={};for(const n in t[e(734)]){if(t[e(734)][n][e(510)]&&!t[e(734)][n][e(510)][e(444)])continue;const r=this[e(501)](JSON[e(537)](t[e(734)][n][e(637)])),s=this[e(649)][e(553)][e(565)][e(714)],o=new Yi.ViewDocumentFragment(s,r[e(690)]((t=>this[e(685)](t))));this[e(649)][e(605)][e(441)][e(534)](e(687)),i[n]=this[e(649)][e(605)][e(441)][e(742)](o),this[e(649)][e(605)][e(441)][e(534)](e(543))}return i}async[vr(627)](t){const e=vr;await this[e(711)](t);const i={};for(const n in t[e(734)])t[e(734)][n][e(510)]&&!t[e(734)][n][e(510)][e(444)]||(i[n]=t[e(734)][n][e(716)]||{});return i}[vr(501)](t){const e=vr;return(t=t[e(477)]((t=>!t[e(518)]||e(526)!==t[e(518)]&&e(494)!==t[e(518)])))[e(700)]((t=>{const i=e;i(437)!=typeof t&&(t[i(631)]=this[i(501)](t[i(631)]),t[i(520)]=t[i(520)][i(477)]((t=>!t[0][i(580)](i(542)))))})),t}async[vr(549)](t,e,i=!1){const n=vr;if(!this[n(486)])return;const r=this[n(500)],s=this[n(691)],o=n(437)==typeof t?s[n(745)](t):t,a=n(437)==typeof e?s[n(745)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(500)]&&this[n(500)][n(639)]===c&&this[n(500)][n(454)]===u)return Promise[n(473)]();this[n(761)]=!1,this[n(469)]=null,this[n(471)]=null,this[n(500)]=new fr(c,u);const l=this[n(586)](o,a,!0)[n(690)]((t=>this[n(711)](t)));return l[n(452)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(563)](l)[n(503)]((()=>{const t=n;if(!this[t(486)])return;this[t(596)]();const e=this[t(721)](c,u);for(const i of e[t(743)])this[t(661)][t(446)](i.id,i);this[t(649)][t(462)][t(623)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(649)][n(462)][n(714)][n(499)]())i[n(715)](t);for(const t of Object[n(513)](e[n(462)])){const r=i[n(548)](t);for(const s of Object[n(513)](e[n(520)][t]))i[n(561)](s,e[n(520)][t][s],r);i[n(728)](e[n(462)][t],r,0)}})),this[t(500)][t(552)](this[t(724)](e[t(743)])),this[t(761)]=!0}))[n(750)]((t=>{const e=n;console[e(470)](t),this[e(596)](),r&&(this[e(500)]=r),this[e(761)]=!0}))}[vr(647)](t,e){const i=vr,n=this[i(691)][i(555)](t);return n.on(i(722),((t,i,r)=>e(i,r,n))),this[i(691)][i(443)](n),n}[vr(711)](t){const e=vr;if(!t||t[e(734)])return Promise[e(473)]();{const i=this[e(649)][e(488)][e(495)](e(458));return this[e(707)][e(745)]({channelId:i,revisionId:t.id})[e(503)]((i=>{const n=e;t[n(722)]({diffData:i[n(734)]},!0)}))}}[vr(596)](){const t=vr;this[t(471)]=null,this[t(602)](),this[t(603)]&&this[t(603)][t(693)](),this[t(603)]=null,this[t(661)][t(616)](),this[t(649)][t(462)][t(623)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(649)][i(462)][i(714)][i(499)]())e[i(715)](t)}))}[vr(724)](t){const e=vr,i=[],n=new Map;for(const t of this[e(649)][e(462)][e(714)][e(499)]()){const r=this[e(649)][e(553)][e(565)][e(589)](t);if(!r)continue;const s=r[e(533)]()[e(592)](0);s&&(i[e(452)](t),n[e(446)](t,s))}return i[e(675)](((t,i)=>{const r=e,s=n[r(495)](t),o=n[r(495)](i);return s.y-o.y||s.x-o.x})),(t=t[e(477)]((t=>i[e(523)](t[e(648)]))))[e(675)](((t,n)=>i[e(556)](t[e(648)])-i[e(556)](n[e(648)]))),t}[vr(579)](t){const e=vr,i=Array[e(670)](t[e(630)])[e(477)]((([t,i])=>t[e(580)](e(521))&&!i[e(669)])),n=Array[e(670)](this[e(649)][e(462)][e(613)](t)[e(753)]({singleCharacters:!0}));if(0!=i[e(475)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(559)](":");if(r[e(732)][e(455)](t[e(708)])&&i[e(688)](),(t[e(723)][e(455)](r[e(430)])||t[e(723)][e(540)](r[e(430)]))&&(e(749)==s?t[e(604)]={userId:o}:e(636)==s&&(t[e(671)]={userId:o})),0==i[e(475)])break}return n}[vr(610)](t){const e=vr,i=new Map;for(let n=0;n<t[e(475)];n++)e(485)===t[n][e(576)]?(t[n][e(592)][e(476)]=n,t[n][e(592)][e(456)]=n):(e(640)===t[n][e(576)]?t[n][e(592)][e(476)]=n:e(482)===t[n][e(576)]&&(t[n][e(592)][e(456)]=n),i[e(446)](t[n].id,n));for(const n of i[e(633)]())e(640)===t[n][e(576)]?t[n][e(592)][e(456)]=i[e(495)](t[n][e(599)]):e(482)===t[n][e(576)]&&(t[n][e(592)][e(476)]=i[e(495)](t[n][e(599)]))}[vr(535)](t){const e=vr;for(let i=0;i<t[e(475)];i++){if(e(640)===t[i][e(576)])t[i][e(592)][e(476)]=i;else if(e(482)===t[i][e(576)]){t[i][e(592)][e(456)]=i;const n=t[i][e(592)][e(476)];t[n][e(599)]=t[i].id,t[i][e(599)]=t[n].id}else t[i][e(592)][e(476)]=i,t[i][e(592)][e(456)]=i,t[i][e(599)]=null;t[i][e(650)]||(t[i][e(650)]=[],t[i][e(689)]=[])}}[vr(572)](t,e){const i=vr,n=t[i(477)]((t=>!t[i(604)]));for(let t=0;t<e[i(475)];t++)e[t][i(604)]&&(n[t][i(604)]=e[t][i(604)])}[vr(686)](t){const e=vr,i=JSON[e(537)](t),n=this[e(649)][e(553)][e(565)][e(714)],r=new Yi.ViewDocumentFragment(n,i[e(690)]((t=>this[e(685)](t))));return this[e(649)][e(605)][e(560)](r)}[vr(685)](t){const e=vr,i=this[e(649)][e(553)][e(565)][e(714)];if(e(437)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(631)][e(690)]((t=>this[e(685)](t)));return new(yr[t[e(576)]]||Yi.ViewElement)(i,t[e(518)],t[e(520)],n)}}[vr(721)](t,e=null){const i=vr,n=this[i(691)][i(745)](t),r=e?this[i(691)][i(745)](e):null,s=this[i(586)](n,r),o=s[s[i(475)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(475)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(513)](e[i(734)]))if(e[i(734)][t][i(510)]){const n=e[i(734)][t][i(510)];n[i(444)]?(u[i(447)](t),l[i(660)](t)&&l[i(495)](t)[i(496)]==n[i(496)]?l[i(755)](t):l[i(446)](t,n)):l[i(660)](t)?(u[i(755)](t),l[i(755)](t)):(u[i(447)](t),l[i(446)](t,n))}else u[i(447)](t)}for(const t of u){const e=l[i(660)](t)&&!l[i(495)](t)[i(444)];let n=e?s[i(475)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(734)][t]){const n=e?o[i(734)][t][i(562)]:o[i(734)][t][i(716)];c[i(520)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(462)]={};for(const e of t[i(578)])a[i(446)](e.id,e);for(const e of u){const n=t[i(734)][e]?t[i(734)][e][i(637)]:"[]",r=t[i(734)][e]?t[i(734)][e][i(450)]:"[]";t[i(462)][e]={insertions:this[i(686)](n),deletions:this[i(686)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(670)](n[i(462)][t][i(637)][i(630)])[i(477)]((([t])=>!t[i(580)](i(521)))));let h=0;for(const o of s){const s=this[i(579)](o[i(462)][t][i(637)]);o==n?(e=s,r=e[i(475)],e[i(700)]((t=>{t.id=h++})),this[i(535)](e)):this[i(572)](e,s);const a=e[i(477)]((t=>!t[i(604)]))[i(690)]((t=>t.id));let c=0;const l=this[i(579)](o[i(462)][t][i(450)]);l[i(700)]((t=>{t[i(671)]?t.id=r++:t.id=a[c++]})),this[i(535)](l),this[i(547)](e,i(604)),this[i(547)](l,i(671)),o==n&&this[i(609)](e,u),e=this[i(697)](e,l),this[i(610)](e),this[i(547)](e,i(671))}e=e[i(477)]((t=>!(t[i(604)]&&t[i(671)])));const d=new Map(o[i(462)][t][i(450)][i(630)]),f=new Set(u[i(513)]());for(const t of d[i(513)]())f[i(755)](t);this[i(704)](e,f),this[i(557)](e),e=this[i(731)](e),e=this[i(583)](e),e=this[i(522)](e);const{root:m,changes:p}=this[i(489)](e,a,t);c[i(462)][t]=m;const v=l[i(495)](t);if(v){const e=a[i(495)](v[i(496)]),n=new ur({author:e,type:v[i(444)]?i(447):i(439),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(467)](n),c[i(520)][t][i(461)]=n.id}c[i(743)]=c[i(743)][i(479)](p)}return c}[vr(609)](t,e){const i=vr;for(let n=0;n<t[i(475)];n++)for(const[r,s]of e)s[i(430)][i(455)](t[n][i(723)])&&t[n][i(650)][i(452)](r),s[i(732)][i(455)](t[n][i(708)])&&t[n][i(689)][i(452)](r)}[vr(697)](t,e){const i=vr;let n=[],r=0,s=0;for(;r<t[i(475)]||s<e[i(475)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(452)](o);else if(a[i(671)]&&o[i(604)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(487)](t,r,e,s);n=n[i(479)](o),r=a,s=c}else a[i(671)]?(s++,n[i(452)](a)):(r++,n[i(452)](o))}return n}[vr(704)](t,e){const i=vr,n=[];for(let o=0;o<t[i(475)];o++){for(let s=0;s<t[o][i(650)][i(475)];s++){const a=t[o][i(650)][s];if(!e[i(660)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(497)!=c||i(749)!=u&&i(636)!=u||(n[i(467)]({type:u,name:a,userId:l}),t[o][i(650)][i(453)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(689)][i(475)];s++){const a=t[o][i(689)][s];if(!e[i(660)](a))continue;const{group:c,type:u}=r(a);if(i(497)!=c||i(749)!=u&&i(636)!=u)continue;t[o][i(689)][i(453)](s,1),s--;const l=n[i(478)]((t=>t[i(518)]==a));l>-1&&n[i(453)](l,1)}}function r(t){const e=i,n=t[e(559)](":");return{group:n[0],type:n[1],subType:n[e(475)]>=5?n[2]:null,id:n[e(475)]<5?n[2]:n[3],authorId:n[e(475)]<5?n[3]:n[4],markerCount:6==n[e(475)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(475)];i++){if(t[e(604)]&&e(749)==n[i][e(576)])return t[e(451)]=n[i],void delete t[e(604)];if(!t[e(604)]&&!t[e(671)]&&e(636)==n[i][e(576)])return void(t[e(730)]=n[i])}}}[vr(547)](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(446)](o.id,n);for(let n=0;n<t[i(475)];n++){if(i(671)==e&&t[n][i(604)]||i(604)==e&&t[n][i(671)])continue;if(i(485)==t[n][i(576)]){t[n][i(468)]=0;continue}const r=s[i(495)](t[n][i(599)]),o=s[i(495)](t[n].id);t[n][i(468)]=r-o}}[vr(586)](t,e,i=!1){const n=vr,r=[];let s=this[n(691)][n(434)](t),o=this[n(691)][n(434)](e);for(-1==o&&(o=this[n(691)][n(718)][n(475)],i=!1);s<o;)r[n(452)](this[n(691)][n(745)](s)),s++;return i&&r[n(452)](this[n(691)][n(745)](s)),r}[vr(487)](t,e,i,n){const r=vr,s=this[r(649)][r(462)][r(585)];let o=e;for(;t[o]&&t[o][r(604)];)o++;let a=n;for(;i[a]&&i[a][r(671)];)a++;u(t,e,o),u(i,n,a);const c=i[r(433)](n,a)[r(479)](t[r(433)](e,o));return c[r(675)](((t,e)=>t[r(490)]!=e[r(490)]?t[r(490)]-e[r(490)]:t[r(432)]!=e[r(432)]?t[r(432)]-e[r(432)]:t[r(468)]!=e[r(468)]?e[r(468)]-t[r(468)]:!!t[r(604)]!=!!e[r(604)]?-1==t[r(490)]||0==t[r(490)]?t[r(604)]?-1:1:t[r(604)]?1:-1:t[r(509)]-e[r(509)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(754)],c=!0;for(let r=e;r<i;r++)if(s[n(684)](t[r][n(592)])||(c=!1),t[r][n(592)][n(476)]<e&&(o=r),t[r][n(592)][n(456)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(490)]=r<=o?-1:r<a?0:1,t[r][n(509)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(468)]?t[i][n(432)]=u:(u++,t[i][n(432)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(490)]&&(t[r][n(432)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(468)]?t[e][n(432)]=u:(u--,t[e][n(432)]=u,u--)}}[vr(557)](t){const e=vr,i=new Map,n=this[e(649)][e(462)][e(585)];for(let r=1;r<t[e(475)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(485)==c[e(576)])continue;if(c[e(576)]!=u[e(576)])continue;if(!n[e(511)](u[e(592)])||n[e(666)](u[e(592)]))continue;if(!n[e(511)](c[e(592)])||n[e(666)](c[e(592)]))continue;if((t[r][e(604)]||t[r][e(451)])&&t[r-1][e(671)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(671)]||!t[r-1][e(604)]&&!t[r-1][e(451)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(432)]==o[e(432)],h=Math[e(719)](s[e(432)])<Math[e(719)](o[e(432)])&&0==o[e(468)];(l||h)&&(i[e(446)](o.id,s.id),t[e(453)](a,1),r--,s[e(604)]=!1)}for(let n=0;n<t[e(475)];n++)i[e(660)](t[n][e(599)])&&(t[n][e(599)]=i[e(495)](t[n][e(599)]))}[vr(731)](t){const e=vr,i=new Set(t[e(690)]((t=>t.id)));for(let n=0;n<t[e(475)];n++)i[e(660)](t[n][e(599)])||0==t[n][e(468)]||(t[n][e(598)]=!0);return t[e(477)]((t=>!t[e(598)]))}[vr(583)](t){const e=vr,i=new Set;for(let n=0;n<t[e(475)];n++){if(i[e(660)](t[n].id)&&t[n][e(671)]&&(t[n][e(598)]=!0),t[n][e(598)])continue;if(0==t[n][e(468)])continue;if(e(640)!=t[n][e(576)])continue;if(null==t[n][e(599)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(599)];)e(640)==t[r][e(576)]?s++:e(482)==t[r][e(576)]&&s--,r++;if(0!=s)if(t[n][e(671)])t[n][e(598)]=!0;else for(;r!=n;)t[r][e(671)]&&0!=t[r][e(468)]&&(t[r][e(598)]=!0,i[e(447)](t[r][e(599)])),r--}return t[e(477)]((t=>!t[e(598)]))}[vr(522)](t){const e=vr,i=this[e(649)][e(462)][e(585)];for(let n=0;n<t[e(475)];n++){if(!(t[n][e(604)]||t[n][e(451)]||t[n][e(671)]||t[n][e(730)]))continue;if(0==t[n][e(468)])continue;const r=t[n][e(592)];i[e(511)](r)||i[e(666)](r)||(t[n][e(604)]&&delete t[n][e(604)],t[n][e(451)]&&delete t[n][e(451)],t[n][e(730)]&&delete t[n][e(730)],t[n][e(671)]&&(t[n][e(598)]=!0))}return t[e(477)]((t=>!t[e(598)]))}[vr(489)](t,e,i){const n=vr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(649)][n(462)],c=a[n(585)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(475)];e++)if(n(640)===t[e][n(576)]){t[e][n(723)]=a[n(646)](r,f);const i=new Yi.Element(t[e][n(592)][n(518)],t[e][n(592)][n(618)]());u[0][n(530)](i),f[n(452)](0),u[n(467)](i),t[e][n(708)]=a[n(646)](r,f)}else n(482)===t[e][n(576)]?(u[n(688)](),t[e][n(723)]=a[n(646)](r,f),f[n(746)](),f[f[n(475)]-1]++,t[e][n(708)]=a[n(646)](r,f)):(t[e][n(723)]=a[n(646)](r,f),d?d[n(713)]+=t[e][n(592)][n(605)]:d=new Yi.Text(t[e][n(592)][n(605)],t[e][n(592)][n(618)]()),t[e+1]&&n(485)===t[e+1][n(576)]&&v(d,t[e+1][n(592)])||(u[0][n(530)](d),d=null),f[f[n(475)]-1]+=t[e][n(592)][n(664)],t[e][n(708)]=a[n(646)](r,f));for(let e=0;e<t[n(475)];e++){const i=t[e][n(723)],r=t[e][n(708)];for(const r of t[e][n(650)])o[n(446)](r,{start:i,end:null});m(n(730),e,i,r),m(n(451),e,i,r),m(n(671),e,i,r),m(n(604),e,i,r);for(const i of t[e][n(689)])o[n(495)](i)[n(732)]=r}for(const[t,e]of o){const i=this[n(649)][n(462)][n(727)](e[n(430)],e[n(732)]);r[n(630)][n(446)](t,i)}return s[n(675)](((t,e)=>{const i=n,s=r[i(630)][i(495)](i(521)+t.id),o=r[i(630)][i(495)](i(521)+e.id);return s[i(430)][i(681)](o[i(430)])?-1:s[i(430)][i(540)](o[i(430)])?1:s[i(732)][i(681)](o[i(732)])?-1:s[i(732)][i(540)](o[i(732)])?1:i(447)===t[i(576)]?-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(496)]:null,d=i===t[o(475)]-1,f=h[e][0],m=c[o(505)](t[i][o(592)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(732)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(496)]!==u&&(l[e][o(732)]=r,f&&f[o(496)]===l[e][o(496)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(640)!==t[i][o(576)]||f&&f[o(496)]===u||h[e][o(467)]({userId:u,object:t[i][o(592)],change:l[e]}),o(482)===t[i][o(576)]&&f&&f[o(679)]===t[i][o(592)]&&(h[e][o(688)](),l[e]=f[o(699)])),l[e]&&d&&(l[e][o(732)]=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(592)],f=a[h(585)][h(511)](d)&&!a[h(585)][h(666)](d),m=t[h(539)]==o[h(483)]&&o[h(645)];if(f&&m)return;const p=a[h(727)](t,o),v=e[h(495)](u),y=new ur({author:v,type:h(604)==l||h(451)==l?h(447):h(439),data:{isSuggestion:h(451)==l||h(730)==l},createdAt:new Date,rootName:i});s[h(452)](y),r[h(630)][h(446)](h(521)+y.id,p)}function v(t,e){const i=n,r=t[i(618)](),s=e[i(618)]();for(const t of r){if(t[1]!==e[i(564)](t[0]))return!1;s[i(507)]()}return s[i(507)]()[i(459)]}}[vr(712)](){const t=vr;this[t(649)][t(611)][t(652)](t(528))[t(668)]({view:t(629)}),this[t(649)][t(611)][t(652)](t(643))[t(654)]({model:t(629),view:e=>{const i=t,n=e[i(682)][i(559)](":")[1],r=this[i(626)](n);if(!r)return null;const s=i(447)==r[i(576)]?i(749):i(636),o=[i(512),i(667)+s];return r[i(605)][i(615)]&&o[i(452)](i(667)+s+i(620)),this[i(471)]==r&&o[i(452)](i(544)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(649)][t(611)][t(652)](t(528))[t(447)]((e=>{const i=t;e.on(i(612),((t,e,n)=>{const r=i,s=e[r(504)][r(582)](0);if(!s||!s.is(r(725),r(519)))return;if(!n[r(545)][r(492)](s,{attributes:[r(677),r(525)]}))return;const o=e[r(642)][r(430)][r(539)];n[r(625)][r(561)](r(677),s[r(564)](r(677)),o),n[r(625)][r(561)](r(525),s[r(564)](r(525)),o)}),{priority:i(760)})})),this[t(649)][t(611)][t(652)](t(528))[t(447)]((e=>{const i=t;e.on(i(725),((t,e,n)=>{const r=i;if(!n[r(545)][r(492)](e[r(504)],{attributes:[r(677),r(525)]}))return;if(e[r(642)][r(669)])return;const s=e[r(642)][r(430)][r(539)];s[r(591)](r(677))||s[r(591)](r(740))||(n[r(625)][r(561)](r(677),e[r(504)][r(564)](r(677)),s),n[r(625)][r(561)](r(525),e[r(504)][r(564)](r(525)),s))}),{priority:i(760)})})),this[t(649)][t(611)][t(652)](t(528))[t(551)]({view:{name:t(566),attributes:{vid:!0}},model:{key:t(740),value:e=>e[t(564)](t(740))}}),this[t(649)][t(462)][t(585)].on(t(736),((e,[,i])=>{const n=t;[n(677),n(525),n(740)][n(523)](i)&&(e[n(674)]=!0,e[n(527)]())}),{priority:t(672)}),this[t(649)][t(611)][t(652)](t(673))[t(447)]((e=>{const i=t;e.on(i(617),((t,e,n)=>{const r=i;if(" "!=e[r(592)][r(605)]||e[r(592)][r(483)][r(676)]>1)return;if(!n[r(545)][r(492)](e[r(592)],t[r(518)]))return;const s=n[r(625)],o=n[r(606)][r(726)](e[r(695)]);s[r(709)](o,s[r(621)](r(566)))}))})),this[t(649)][t(611)][t(652)](t(673))[t(506)]({model:t(629)}),this[t(649)][t(553)][t(762)].on(t(448),function(e){const i=t,n=e[i(574)][i(495)](i(632));return(t,r,s)=>{const o=i,a=r[o(682)][o(559)](":")[1],c=n[o(626)](a);if(!c)return null;const u=o(447)==c[o(576)]?o(559):o(575);if(!s[o(545)][o(705)](r[o(635)],t[o(518)]))return;const l=r[o(635)][o(753)](),h=r[o(635)][o(430)],d=e[o(462)][o(585)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(592)];p=p||d[o(741)](e);const i=s[o(606)][o(532)](e);if(i&&i[o(554)](o(665)))return;o(482)==t[o(576)]&&d[o(511)](e)&&!d[o(666)](e)&&(e[o(744)]||h[o(460)]?f&&f[o(483)]==e||(f=e,y(t[o(723)]),v=!0):m=m||t[o(723)])}function y(t){const e=o,i=s[e(625)][e(657)](e(566),{class:e(667)+u}),a=s[e(606)][e(720)](t);c[e(605)][e(615)]&&s[e(625)][e(464)](e(667)+u+e(620),i),n[e(471)]==c&&s[e(625)][e(464)](e(544),i),s[e(625)][e(728)](a,i),s[e(606)][e(696)](i,r[e(682)])}p||v||!m||y(m)}}(this[t(649)]),{priority:t(694)}),this[t(649)][t(553)][t(762)].on(t(735),((e,i,n)=>{const r=t,s=n[r(606)][r(733)](i[r(682)]);if(s)for(const t of s)(t[r(703)](r(541))||t[r(703)](r(428)))&&(n[r(606)][r(634)](t,i[r(682)]),n[r(625)][r(439)](t))}),{priority:t(694)}),this[t(649)][t(553)][t(762)].on(t(448),((e,i,n)=>{const r=t,s=i[r(682)][r(559)](":")[1],o=this[r(626)](s);if(!o)return null;const a=r(447)==o[r(576)]?r(559):r(575);if(n[r(545)][r(705)](i[r(635)],e[r(518)]))for(const t of i[r(635)][r(472)]()){if(!t.is(r(725),r(588)))continue;const e=n[r(625)][r(657)](r(566),{class:r(667)+a}),s=n[r(606)][r(720)](this[r(649)][r(462)][r(601)](t));o[r(605)][r(615)]&&n[r(625)][r(464)](r(667)+a+r(620),e),this[r(471)]==o&&n[r(625)][r(464)](r(544),e),n[r(625)][r(728)](s,e),n[r(606)][r(696)](e,i[r(682)])}}),{priority:t(694)}),this[t(649)][t(462)][t(714)].on(t(699),(()=>{const e=t;this[e(649)][e(553)][e(565)][e(699)]((t=>{const i=e;for(const e of this[i(649)][i(462)][i(714)][i(499)]()){const n=this[i(649)][i(462)][i(714)][i(600)](e),r=this[i(649)][i(553)][i(565)][i(714)][i(600)](e);if(r){const e=n[i(564)](i(461));if(t[i(445)](i(590),r),t[i(466)](i(717),r),t[i(466)](i(738),r),t[i(466)](i(608),r),e){const n=this[i(626)](e);if(!n)return null;t[i(561)](i(590),e,r),t[i(464)](i(759)+n[i(576)],r),this[i(471)]==n&&t[i(464)](i(608),r)}}}}))})),this[t(649)][t(611)][t(652)](t(528))[t(668)]({view:t(463),model:e=>t(431)+e,converterPriority:t(672)}),this[t(649)][t(611)][t(652)](t(528))[t(668)]({view:t(531),model:e=>t(607)+e,converterPriority:t(672)}),this[t(649)][t(611)][t(652)](t(673))[t(506)]({model:t(497),view:e=>({name:t(593)+e,group:t(497)}),converterPriority:t(672)}),this[t(649)][t(611)][t(652)](t(643))[t(654)]({model:t(497),view:e=>{const i=t,n=e[i(682)][i(559)](":")[1];return i(749)!=n&&i(636)!=n?null:{classes:[i(678),i(529)+n]}}}),this[t(649)][t(553)][t(762)].on(t(584),kr(this[t(649)],t(575)),{priority:t(694)}),this[t(649)][t(553)][t(762)].on(t(644),kr(this[t(649)],t(559)),{priority:t(694)}),this[t(649)][t(553)][t(762)].on(t(747),((e,i,n)=>{const r=t,s=n[r(606)][r(733)](i[r(682)]);if(s)for(const t of s)t.is(r(429))&&(n[r(606)][r(634)](t,i[r(682)]),n[r(625)][r(439)](t))}),{priority:t(694)})}[vr(626)](t){const e=vr;return this[e(661)][e(495)](t)}[vr(538)](t){const e=vr;return this[e(603)]&&this[e(603)][e(693)](),this[e(603)]=new rr(this[e(649)][e(536)],t),this[e(603)]}[vr(577)](){const t=vr;this[t(649)][t(462)][t(714)][t(701)][t(659)](t(629)),this.on(t(619),((e,i,n,r)=>{const s=t;r&&this[s(653)][s(439)](r),n&&(this[s(653)][s(447)]({view:n,stackId:s(436),position:{target:()=>{const t=s,e=this[t(649)][t(553)],i=this[t(626)](n[t(663)]);let r;if(i[t(605)][t(438)]){const n=e[t(565)][t(589)](i[t(648)]);r=Array[t(670)](n[t(533)]())}else{const i=this[t(649)][t(462)][t(630)][t(495)](t(521)+n[t(663)]);r=Array[t(670)](e[t(606)][t(733)](i[t(518)]))[t(690)]((i=>e[t(565)][t(692)][t(449)](i)))[t(690)]((e=>Array[t(670)](e[t(533)]())))[t(698)]()}return this[t(680)]&&r[t(655)]((e=>e[t(550)]-3<=this[t(680)].y&&e[t(457)]+3>=this[t(680)].y&&e[t(748)]-3<=this[t(680)].x&&e[t(493)]+3>=this[t(680)].x))||r[0]}}}),this[s(653)][s(573)](s(436)))})),this.on(t(729),((e,i,n,r)=>{const s=t;this[s(469)]=n?this[s(538)](n):null,this[s(649)][s(462)][s(699)]((()=>{const t=s,e=this[t(649)][t(553)];r&&(r[t(605)][t(438)]?e[t(565)][t(699)]((i=>{const n=t;i[n(466)](n(608),e[n(565)][n(714)][n(600)](r[n(648)]))})):e[t(595)](t(521)+r.id)),n&&(n[t(605)][t(438)]?e[t(565)][t(699)]((i=>{const r=t;i[r(464)](r(608),e[r(565)][r(714)][r(600)](n[r(648)]))})):e[t(595)](t(521)+n.id))}))})),this[t(756)](this[t(649)][t(553)][t(565)][t(714)],t(751),((e,i)=>{const n=t;if(this[n(471)])return;const r=this[n(524)](i[n(480)]),s=this[n(661)][n(495)](r);s?(this[n(680)]={x:i[n(656)].x,y:i[n(656)].y},this[n(469)]=this[n(538)](s)):(this[n(680)]=null,this[n(469)]=null)})),this[t(756)](this[t(649)][t(553)][t(565)][t(714)],t(440),((e,i)=>{const n=t,r=this[n(524)](i[n(480)]),s=this[n(661)][n(495)](r);s?(this[n(680)]={x:i[n(656)].x,y:i[n(656)].y},s===this[n(471)]?this[n(653)][n(702)]():this[n(471)]=s):(this[n(680)]=null,this[n(471)]=null)}))}[vr(524)](t){const e=vr;do{const i=t[e(564)](e(590));if(i)return i;t=t[e(483)]}while(t);return null}[vr(602)](){const t=vr;this[t(649)][t(462)][t(699)]((e=>{const i=t;for(const t of this[i(649)][i(462)][i(630)])e[i(568)](t)}))}}function kr(t,e){return(i,n,r)=>{const s=wr;if(!r[s(545)][s(705)](n[s(635)],i[s(518)]))return;const o=n[s(635)][s(753)](),a=n[s(635)][s(430)],c=t[s(462)][s(585)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(592)];h=h||c[s(741)](e);const i=r[s(606)][s(532)](e);if(i&&i[s(554)](s(665)))return;s(482)==t[s(576)]&&c[s(511)](e)&&!c[s(666)](e)&&(e[s(744)]||a[s(460)]?u&&u[s(483)]==e||(u=e,f(t[s(723)]),d=!0):l=l||t[s(723)])}function f(t){const i=s,o=r[i(606)][i(720)](t),a=r[i(625)][i(657)](i(566),{class:i(529)+e});r[i(625)][i(728)](o,a),r[i(606)][i(696)](a,n[i(682)])}h||d||!l||f(l)}}class br extends qi.Command{constructor(t){const e=vr;super(t);const i=t[e(574)][e(495)](gr);this[e(614)]=!1,this[e(756)](i,e(546),(()=>this[e(683)]())),this[e(756)](i,e(567),(()=>this[e(683)]()))}[vr(517)](){const t=vr,e=this[t(649)],i=e[t(574)][t(495)](gr),n=i[t(761)]?i[t(500)][t(639)]:null;e[t(488)][t(495)](t(514))[t(752)](n)}[vr(683)](){const t=vr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(649)][t(574)][t(495)](gr),s=r&&n[t(484)](r[t(639)]);this[t(486)]=e&&i&&Boolean(s)}}function wr(t,e){const i=_r();return(wr=function(t,e){return i[t-=428]})(t,e)}function _r(){const t=["unshift","distance","activeView","error","activeChange","getItems","resolve","roots","length","startIndex","filter","findIndex","concat","target","bind","elementEnd","parent","getLaterVisibleRevision","text","isEnabled","_threeWayMerge","config","_makeModelFromTape","side","515618WZmiuc","consume","right","revision-end","get","userId","revision-suggestion","2589891nyDhmM","getRootNames","diff","_removeRevisionMarkers","restoreRevision","then","viewItem","isObject","markerToData","next","ck-editor__editable__overlay","index","attachChange","isBlock","ck-suggestion-marker","keys","revisionHistory","first","463691OgJPdO","execute","name","code","attributes","revision:","_removeUnsupportedChanges","includes","_findChangeIdFromDomTarget","vid_end","revision-start","stop","upcast","ck-suggestion-preview-marker-","_appendChild","suggestion","toViewElement","getClientRects","useFillerType","_processTape","locale","parse","_getViewForChange","nodeAfter","isAfter","ck-suggestion-marker-split","data-revision-","default","ck-suggestion-marker--active","consumable","change:isReady","_setDistance","addRoot","compare","top","elementToAttribute","_setChanges","editing","getCustomProperty","createRevision","indexOf","_fixObsoleteTags","isPremiumPlugin","split","toModel","setAttribute","attributesBefore","all","getAttribute","view","span","change:isEnabled","removeMarker","backward","showNextChange","getRevisionData","_markInsertions","showStack","plugins","merge","type","_initInteractions","authors","_makeTape","startsWith","enableReadOnlyMode","getChild","_markMismatchedRemovedTags","addMarker:revision-suggestion:deletion","schema","_getRevisionsRange","forceDisabled","softBreak","getDomRoot","data-change-id","hasAttribute","item","suggestion:","commands","reconvertMarker","_cleanUp","2896957iuiIzm","isIncorrect","pairId","getRoot","createPositionBefore","_cleanMarkers","_changeView","isAdded","data","mapper","revision-suggestion:","ck-revision-history-root--active","_markMarkers","_refreshStartEndIndex","conversion","element:pre","createRangeIn","affectsData","isSuggestion","clear","attribute:vid","getAttributes","change:activeView","-new","createAttributeElement","currentChangeNumber","enqueueChange","init","writer","_getChangeFromId","getRevisionRootsAttributes","numberOfChanges","revision","markers","children","RevisionViewer","values","unbindElementFromMarkerName","markerRange","deletion","insertions","isNavigationMode","newRevisionId","elementStart","1950360AyhYta","modelRange","editingDowncast","addMarker:revision-suggestion:insertion","isAtStart","createPositionFromPath","addRevisionData","rootName","editor","markersStart","1284284uzxJYX","for","_balloon","markerToHighlight","find","domEvent","createUIElement","requires","observeMarkers","has","_changeIdToChange","change:numberOfChanges","changeId","offsetSize","addHighlight","isLimit","ck-suggestion-marker-","dataToMarker","isCollapsed","from","isRemoved","highest","dataDowncast","return","sort","maxOffset","vid_start","ck-suggestion-preview-marker","object","_activeViewTarget","isBefore","markerName","refresh","isInline","_getViewObj","_makeModelFromViewString","marked","shift","markersEnd","map","repository","domConverter","destroy","high","range","bindElementToMarker","_joinTapes","flat","change","forEach","selection","updatePosition","hasClass","_markSuggestions","test","showPreviousChange","adapter","nextPosition","wrap","_step","loadRevisionData","_setConversion","_data","document","detachRoot","attributesAfter","ck-revision-history-root-add","_revisions","abs","toViewPosition","_getDiff","_update","previousPosition","_sortAndFilterDiffChanges","element","toViewRange","createRange","insert","change:activeChange","isRemoveSuggestion","_removeMissingPairs","end","markerNameToElements","diffData","removeMarker:revision","checkAttribute","forward","ck-revision-history-root-remove","855620ttwjEg","vid","isContent","toData","changes","nextSibling","getRevision","pop","removeMarker:revision-suggestion","left","insertion","catch","mouseover","restoreRevisionCallback","getWalker","POSITIVE_INFINITY","delete","listenTo","isOfficialPlugin","RevisionsRepository","ck-revision-history-root-","low","isReady","downcastDispatcher","ck-suggestion-marker-merge","uiElement","start","revision-comment:","level","slice","getIndex","WidgetToolbarRepository","revisionHistoryLabel","string","isOnRoot","remove","mousedown","processor","revision-viewer","addRevision","isAttached","removeAttribute","set","add","addMarker:revision","mapViewToDom","deletions","isAddSuggestion","push","splice","oldRevisionId","isEqual","endIndex","bottom","collaboration.channelId","done","isAtEnd","revisionHistoryAttachChange","model","comment","addClass","pluginName","removeClass"];return(_r=function(){return t})()}class Ir extends qi.Command{constructor(t,{direction:e}){const i=vr;super(t);const n=t[i(574)][i(495)](gr);this[i(614)]=!1,this[i(710)]=i(737)===e?1:-1,this[i(756)](n,i(546),(()=>this[i(683)]())),this[i(756)](n,i(567),(()=>this[i(683)]())),this[i(756)](n,i(729),(()=>this[i(683)]()))}[vr(517)](){const e=vr,i=this[e(649)],n=i[e(574)][e(495)](gr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(471)]=r?n[e(500)][e(743)][e(495)](s+this[e(710)]):n[e(500)][e(743)][e(515)],n[e(471)][e(605)][e(438)])o=i[e(553)][e(565)][e(589)](n[e(471)][e(648)]);else{const t=i[e(462)][e(630)][e(495)](e(521)+n[e(471)].id);o=(0,Bi.getMarkerDomElement)(i[e(553)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[vr(683)](){const t=vr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(649)][t(574)][t(495)](gr);this[t(486)]=!!(s&&r&&n)&&(!e||(1===this[t(710)]?i<n-1:i>0))}}var Sr=i(528),Or={attributes:{"data-cke":!0}};Or.setAttributes=Wn(),Or.insert=Ln().bind(null,"head"),Or.domAPI=Fn(),Or.insertStyleElement=Hn();Cn()(Sr.A,Or);Sr.A&&Sr.A.locals&&Sr.A.locals;function xr(t,e){const i=Tr();return(xr=function(t,e){return i[t-=104]})(t,e)}function Tr(){const t=["bind","Show previous change","span","Loading...","set","execute","No changes","backward","isEnabled","5628DiqLtV","7KEKsJa","ck-revision-history-ui","bindTemplate","3539808WFfgAo","div","_isStatusLabelVisible","isBackwardNavigationEnabled","NUMBER_OF_CHANGES","currentChangeNumber","919096gyHfKD","1166320RgUxmd","Total","fire","ck-hidden","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","_statusText","1208rvkdlw","1348510PREPbO","1054710DyzAkx","isNavigationMode","isForwardNavigationEnabled","setTemplate","31998AAvZZq","numberOfChanges","14ZHOyJG","forward","Show next change","isReady","ck-revision-history-ui__changes-navigation__wrapper","EDIT_X_OF_Y_REVISIONS"];return(Tr=function(){return t})()}!function(t){const e=xr,i=t();for(;;)try{if(338339===parseInt(e(108))/1*(-parseInt(e(110))/2)+parseInt(e(125))/3*(parseInt(e(145))/4)+parseInt(e(136))/5+parseInt(e(104))/6+parseInt(e(126))/7*(parseInt(e(135))/8)+-parseInt(e(129))/9+-parseInt(e(146))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Tr);class Nr extends Vn.View{constructor(t){const e=xr;super(t);const i=this[e(128)],n=new Vn.ButtonView(t),r=new Vn.ButtonView(t);this[e(120)](e(105),!1),this[e(120)](e(113),!1),this[e(120)](e(134),0),this[e(120)](e(109),0),this[e(120)](e(106),!1),this[e(120)](e(132),!1),this[e(116)](e(131)).to(this,e(113),this,e(109),((t,e)=>t&&e>0)),this[e(116)](e(144)).to(this,e(113),this,e(134),this,e(109),this,e(105),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(119));if(!r)return Xi(t,o(122));const a=Xi(t,o(133),r);return s?Xi(t,o(140),[n+1,r]):a})),n[e(120)]({label:Xi(t,e(117)),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(120)]({label:Xi(t,e(112)),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(116)](e(124)).to(this,e(132)),r[e(116)](e(124)).to(this,e(106)),n.on(e(121),(()=>this[e(138)](e(121),e(123)))),r.on(e(121),(()=>this[e(138)](e(121),e(111)))),this[e(107)]({tag:e(130),attributes:{class:["ck",e(127),e(143)]},children:[{tag:e(118),attributes:{class:[e(114)]},children:[{tag:e(118),attributes:{class:[e(141),i.if(e(131),e(139),(t=>!t))]},children:[{text:i.to(e(105),(i=>i?Xi(t,e(115))+": ":Xi(t,e(137))+": "))}]},{text:i.to(e(144))}]},new Vn.ToolbarSeparatorView,{tag:e(130),attributes:{class:[e(142)]},children:[n,r]}]})}}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Ln().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Hn();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Er=Mr;function Mr(t,e){const i=Cr();return(Mr=function(t,e){return i[t-=387]})(t,e)}!function(t){const e=Mr,i=t();for(;;)try{if(892953===parseInt(e(387))/1+parseInt(e(403))/2+-parseInt(e(394))/3*(parseInt(e(409))/4)+-parseInt(e(405))/5+parseInt(e(399))/6+parseInt(e(401))/7*(parseInt(e(406))/8)+-parseInt(e(388))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cr);const Vr=Er(400);class Dr extends qi.Plugin{static get[Er(389)](){return Er(390)}static get[Er(395)](){return!0}static get[Er(404)](){return!0}[Er(407)](){const t=Er,e=this[t(408)][t(391)][t(397)];e[t(393)]((i=>{const n=t;for(const t of e[n(396)][n(402)])i[n(410)](Vr,t)}))}[Er(398)](){const t=Er,e=this[t(408)][t(391)][t(397)];e[t(393)]((i=>{const n=t;for(const t of e[n(396)][n(402)])i[n(392)](Vr,t)}))}}function Cr(){const t=["RevisionViewerLoadingOverlay","editing","removeClass","change","3cPntCZ","isOfficialPlugin","document","view","hide","8366454SGvDgP","ck-editor__editable__loading-overlay","146006Ufwgit","roots","118042VOZxlY","isPremiumPlugin","269990oQVZYl","320rKmrxD","show","editor","3859448CFbLfY","addClass","981621cHZNjv","12218022UQFYXW","pluginName"];return(Cr=function(){return t})()}const jr=Fr;function Fr(t,e){const i=Pr();return(Fr=function(t,e){return i[t-=239]})(t,e)}function Pr(){const t=["listenTo","1737HVnaqW","add","currentChangeNumber","changesNavigation","pluginName","isOfficialPlugin","execute","revisionHistory","get","config","hide","showPreviousChange","1061630VhspTx","RevisionViewerUI","change:isReady","isForwardNavigationEnabled","commands","init","plugins","bind","componentFactory","exitToEditing","4085316NQVWYc","1195712aKCbQE","isPremiumPlugin","set","6qBarkH","editor","2936VZEGBS","775275pQFdhO","4162048QyHCKX","1SvkcQZ","forward","restoreRevision","requires","isBackwardNavigationEnabled","14716700ePSqcX","Back to editing","showNextChange","isNavigationMode","Restore this revision","undo","show","ck-revision-history-ui__back-to-editing","isReady","closeRevisionViewerCallback","numberOfChanges","isEnabled"];return(Pr=function(){return t})()}!function(t){const e=Fr,i=t();for(;;)try{if(874635===-parseInt(e(247))/1*(parseInt(e(277))/2)+-parseInt(e(287))/3+parseInt(e(246))/4+-parseInt(e(245))/5*(-parseInt(e(242))/6)+parseInt(e(239))/7+-parseInt(e(244))/8*(parseInt(e(265))/9)+parseInt(e(252))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pr);class Lr extends qi.Plugin{static get[jr(269)](){return jr(278)}static get[jr(270)](){return!0}static get[jr(240)](){return!0}static get[jr(250)](){return[gr,Dr]}[jr(282)](){const t=jr,e=this[t(243)],i=e[t(283)][t(273)](gr),n=e[t(283)][t(273)](Dr);e.ui[t(285)][t(266)](t(286),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(241)]({label:Xi(i,n(253)),icon:qi.icons[n(257)],withText:!0,tooltip:!0,class:n(259)}),this[n(264)](r,n(271),(()=>{const t=n;e[t(274)][t(273)](t(272))[t(261)]()})),r})),e.ui[t(285)][t(266)](t(249),(i=>{const n=t,r=new Vn.ButtonView(i);return r[n(241)]({label:Xi(i,n(256)),withText:!0,tooltip:!0}),r[n(284)](n(263)).to(e[n(281)][n(273)](n(249))),this[n(264)](r,n(271),(()=>e[n(271)](n(249)))),r})),e.ui[t(285)][t(266)](t(268),(n=>{const r=t,s=new Nr(n),o=e[r(281)][r(273)](r(276)),a=e[r(281)][r(273)](r(254));return s[r(284)](r(251)).to(o,r(263)),s[r(284)](r(280)).to(a,r(263)),s[r(284)](r(260),r(267),r(262),r(255)).to(i),this[r(264)](s,r(271),((t,i)=>{const n=r;e[n(271)](n(248)===i?n(254):n(276))})),s})),n[t(258)](),i.on(t(279),((e,i,r)=>{const s=t;r?n[s(275)]():n[s(258)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Ln().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Hn();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;function Zr(){const t=["placeholder","758oqZWpL","482615tSAndY","1213170sMucNI","27yzsCbz","Enter the revision name","render","2657430lecptF","set","value","513045glWfcc","bindTemplate","Revision name","320862VKdZra","24vTxaHd","clientWidth","_tooltipString","_resizeObserver","span","ck-tooltip_multi-line","listenTo","element","fieldView","ck-revision-history-sidebar__revision-name","scrollWidth","_updateTooltipText","3967220gwSfHm","4eCMVEF","extendTemplate","input","destroy"];return(Zr=function(){return t})()}function Hr(t,e){const i=Zr();return(Hr=function(t,e){return i[t-=338]})(t,e)}const Ur=Hr;!function(t){const e=Hr,i=t();for(;;)try{if(379990===parseInt(e(360))/1+parseInt(e(362))/2+parseInt(e(338))/3+parseInt(e(355))/4*(parseInt(e(366))/5)+parseInt(e(341))/6+-parseInt(e(361))/7*(-parseInt(e(342))/8)+parseInt(e(363))/9*(-parseInt(e(354))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zr);class $r extends Vn.LabeledFieldView{constructor(t,e){const i=Hr;super(t,e),this[i(345)]=null;const n=this[i(339)];this[i(367)]({label:Xi(t,i(340)),_tooltipString:""}),this[i(350)][i(359)]=Xi(t,i(364)),this[i(356)]({tag:i(346),attributes:{class:[i(351)],"data-cke-tooltip-text":n.to(i(344)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(347)}})}[Ur(365)](){const e=Ur;super[e(365)](),this[e(345)]=new t.ResizeObserver(this[e(350)][e(349)],(()=>this[e(353)]())),this[e(348)](this[e(350)],e(357),(()=>this[e(353)]()))}[Ur(358)](){const t=Ur;super[t(358)](),this[t(345)]&&this[t(345)][t(358)]()}[Ur(353)](){const t=Ur,e=this[t(350)][t(349)];this[t(344)]=e[t(352)]>e[t(343)]&&e[t(368)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Ln().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Hn();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(){const t=["Revision creator","168690RSxQTy","12437316jVAPLW","ck-revision-history-sidebar__revision-author_creator","36JHYRfN","551856OlHQMM","setTemplate","set","Revision author","2373282clcDLQ","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name","16MLfndp","2654444fHZxmE","span","677496tbEZKq","name","6119491AQWPkP","push","0 0 11 10"];return(Yr=function(){return t})()}function Jr(t,e){const i=Yr();return(Jr=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=Jr,i=t();for(;;)try{if(924181===-parseInt(e(153))/1+parseInt(e(151))/2+-parseInt(e(143))/3+-parseInt(e(162))/4*(parseInt(e(159))/5)+parseInt(e(147))/6+-parseInt(e(155))/7*(-parseInt(e(150))/8)+-parseInt(e(160))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yr);class Gr extends Vn.View{constructor(t,e,i){const n=Jr;super(t);const r=new Vn.IconView;r[n(145)]({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(157)});const s=["ck",n(148)];i&&s[n(156)](n(161));const o=[{tag:n(152),attributes:{class:["ck",n(149)],title:Xi(t,n(i?158:146))},children:[r,e[n(154)]]}];this[n(144)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["toLocaleDateString","8412860vrjulL","1270nUPzxd","641861jLgphr","26MhrUcg","9PISHCv","4785120AgXegQ","long","toLocaleTimeString","16871NUPQWs","numeric","196819HFPDpj","54LKgpug","6480788BSWBNV","8733272TgEurf"];return(Kr=function(){return t})()}function Qr(t,e){var i=Kr();return(Qr=function(t,e){return i[t-=106]})(t,e)}!function(t){for(var e=Qr,i=t();;)try{if(948733===parseInt(e(116))/1*(-parseInt(e(111))/2)+-parseInt(e(113))/3+-parseInt(e(120))/4+-parseInt(e(108))/5+-parseInt(e(119))/6*(parseInt(e(118))/7)+parseInt(e(106))/8*(-parseInt(e(112))/9)+-parseInt(e(109))/10*(-parseInt(e(110))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Ln().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Hn();Cn()(Xr.A,ts);Xr.A&&Xr.A.locals&&Xr.A.locals;function es(){const t=["1002DRljHP","bind","Compare against selected","class","433835KYinYz","extendTemplate","isOpen","ck-revision-history-sidebar__revision__actions","64ZMeIoE","find","map","model","Restore this revision","name","stopPropagation","ck-on","function","6746MspkAO","Show more items","isActionsDropdownOpen","children","set","bindTemplate","listenTo","_action","action","8BFyVgJ","items","10251766oUnDPq","threeVerticalDots","8812fxNCKc","execute","1300221YMWHjb","Name this revision","change:isActionsDropdownOpen","isReady","panelPosition","source","button","locale","buttonView","6306024wdtnPt","menu","isVisible","add","13447330aGThIR","first","isEnabled","listView","menuitem"];return(es=function(){return t})()}function is(t,e){const i=es();return(is=function(t,e){return i[t-=128]})(t,e)}!function(t){const e=is,i=t();for(;;)try{if(805166===-parseInt(e(170))/1+parseInt(e(157))/2*(parseInt(e(140))/3)+-parseInt(e(148))/4*(parseInt(e(144))/5)+parseInt(e(131))/6+-parseInt(e(168))/7+parseInt(e(166))/8*(parseInt(e(172))/9)+parseInt(e(135))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(es);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Ln().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Hn();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;function ss(t,e){const i=as();return(ss=function(t,e){return i[t-=388]})(t,e)}const os=ss;function as(){const t=["6790959nRSFyf","length","24YJdGKL","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","682365IeEYZR","ck-revision-history-sidebar__revision__date","render","select","deselect","creator","bind","unshift","ck-revision-history-sidebar__revision-wrapper","srcElement","setName","ck-revision-history-sidebar__revision_highlighted","_requireRevisionName","fieldView","uiLanguage","bindTemplate","revisionNameView",".ck-thread__remove-confirm","createdAt","ck-revision-history-sidebar__actions_dropdown_open","closest","ck-reset","7UdCOJo","element","filter","span","11VyJrjQ","name","_revision","fire","setTemplate","set","12687710OfHLzx","7985888VdYGhq","unhighlight","from","16DBHcDH","220","value","highlight","59253MJoUwg","map","isEnabled","isHighlighted","ck-revision-history-sidebar__revision__controls-wrapper","change","authors","listenTo","ck-revision-history-sidebar__revision","isReady","925867wFkRkM","ck-revision-history-sidebar__revision-authors","revisionActionsView","isConfirm","isActionsDropdownOpen","extendTemplate","5032074fIprXZ","isSelected","_createdAtFormatted","ck-revision-history-sidebar__revision_selected","ck-disabled","div"];return(as=function(){return t})()}!function(t){const e=ss,i=t();for(;;)try{if(619700===parseInt(e(392))/1+parseInt(e(444))/2*(parseInt(e(448))/3)+parseInt(e(406))/4*(-parseInt(e(408))/5)+parseInt(e(398))/6*(parseInt(e(430))/7)+-parseInt(e(441))/8+-parseInt(e(404))/9+-parseInt(e(440))/10*(-parseInt(e(434))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(Vn.View)){constructor(e,i,n,r){const s=ss;super(e);const o=this[s(423)],a=function(t,e){const i=s,n=Array[i(443)](e[i(388)])[i(432)]((t=>t!=e[i(413)]));return e[i(413)]&&n[i(415)](e[i(413)]),n[i(449)]((n=>new Gr(t,n,n==e[i(413)])))}(e,i);this.id=i.id,this[s(436)]=i,this[s(420)]=r,this[s(414)](s(435),s(426)).to(i),this[s(414)](s(400)).to(this,s(426),(t=>{return i=e[s(422)],(n=t)[(r=Qr)(107)](i,{month:r(114),day:r(117)})+", "+n[r(115)](i,{hour:r(117),minute:r(117)});var i,n,r})),this[s(439)](s(399),!1),this[s(439)](s(451),!1),this[s(439)](s(396),!1),this[s(439)](s(391),!1),this[s(439)](s(450),!1),this[s(424)]=new $r(e,Vn.createLabeledInputText),this[s(424)][s(421)][s(397)]({attributes:{maxlength:s(445)}}),this[s(424)][s(421)][s(414)](s(446)).to(this,s(435),(t=>t||this[s(400)])),this[s(424)][s(414)](s(450)).to(this,s(399),this,s(450),((t,e)=>t&&e)),this[s(394)]=n&&n[s(405)]?function(e,i){const n=is,r=e[n(162)],s=e[n(129)],o=(0,Vn.createDropdown)(s);o[n(176)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=is,n=t[i(129)],r={"Compare against selected":Xi(n,i(142)),"Name this revision":Xi(n,i(173)),"Restore this revision":Xi(n,i(152))};return e[i(150)]((t=>{const e=i,n=r[t[e(153)]];return n&&n!==t[e(153)]&&(t[e(153)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(128),model:new Vn.ViewModel({label:t[r(153)],class:t[r(143)],withText:!0,role:r(139),_action:t[r(165)]})};i[r(151)][r(141)](r(137)).to(e,r(159),(i=>r(156)!=typeof t[r(137)]||!i||t[r(137)](e))),o[r(134)](i)}return o}(e,i);return e[n(141)](n(159)).to(o,n(146)),o[n(130)][n(161)]({label:Xi(s,n(158)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(169)]}),o[n(145)]({attributes:{class:[n(147),r.if(n(159),n(155))]},on:{click:r.to((t=>t[n(154)]()))}}),o.on(n(171),(t=>{const i=n;e[i(175)]&&i(156)==typeof t[i(177)][i(164)]&&t[i(177)][i(164)](e)})),(0,Vn.addListToDropdown)(o,a,{role:n(132)}),o[n(163)](e,n(174),((t,r,s)=>{const a=n;if(s)for(const t of o[a(138)][a(167)]){const n=t[a(160)][a(136)],r=i[a(149)]((t=>t[a(165)]===n[a(164)]))[a(133)];t[a(133)]=void 0===r||r(e)}})),o}(this,n):"",this[s(394)]&&this[s(394)][s(414)](s(450)).to(this),this[s(438)]({tag:s(403),attributes:{class:["ck",s(429),s(416),o.if(s(395),s(407))]},children:[{tag:s(403),attributes:{class:["ck",s(429),s(390),o.if(s(450),s(402),(t=>!t)),o.if(s(399),s(401)),o.if(s(451),s(419)),o.if(s(396),s(427))]},children:[this[s(424)],{tag:s(433),attributes:{class:["ck",s(409)]},children:[{text:o.to(s(400))}]},{tag:s(403),attributes:{class:["ck",s(452)]},children:[{tag:"ul",attributes:{class:["ck",s(393)]},children:a}]},this[s(394)]],on:{click:o.to((t=>{const e=s;t[e(417)][e(428)](e(425))||this[e(391)]&&this[e(450)]&&this[e(437)](e(411),{id:this.id})}))}}]})}[os(410)](){const t=os;super[t(410)]();const e=this[t(424)][t(421)][t(431)];this[t(389)](e,t(453),(()=>{const i=t;this[i(420)]&&!e[i(446)]||this[i(437)](i(418),{id:this.id,name:e[i(446)]}),e[i(446)]||(e[i(446)]=this[i(435)]?this[i(435)]:this[i(400)])}))}[os(411)](){this[os(399)]=!0}[os(412)](){this[os(399)]=!1}[os(447)](){this[os(451)]=!0}[os(442)](){this[os(451)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},Os={hour:ys,minute:ys},xs={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Es={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Vs={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Zs{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 Us extends Zs{static get instance(){return null===Hs&&(Hs=new Us),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 Zs{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:Zo(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 Zs{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 Zs{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(Zo(t)||null===t)return e;if(t instanceof Zs)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Us.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,Us.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return Oo}static set defaultWeekSettings(t){Oo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Eo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Mo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Vo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Mo(n,r,s),a=Do(Eo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Eo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Vo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Mo(e,i,n),...ma(t)}}function Po(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Vo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Lo(t,e){if(!Zo(t.localWeekday)||!Zo(t.localWeekNumber)||!Zo(t.localWeekYear)){if(!Zo(t.weekday)||!Zo(t.weekNumber)||!Zo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Zo(t.localWeekday)||(t.weekday=t.localWeekday),Zo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Zo(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=Uo(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 Zo(t){return void 0===t}function Ho(t){return"number"==typeof t}function Uo(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 Uo(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 Zo(t)||null===t||""===t?void 0:parseInt(t,10)}function Xo(t){return Zo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Zo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function oa(t,e,i){return-Do(Eo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>xo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],Oa=["BC","AD"],xa=["B","A"];function Ta(t){switch(t){case"narrow":return[...xa];case"short":return[...Oa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:Os,tt:xs,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Es,TTTT:Ms,f:Vs,ff:Cs,fff:Ps,ffff:zs,F:Ds,FF:js,FFF:Ls,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ko(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Ea=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ma(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Va(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Qo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Pa=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Ea.source})\\])?)?`}`),La=RegExp(`(?:T${Pa.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Za=RegExp(`${Fa.source} ?(?:${ja.source}|(${Ea.source}))?`),Ha=RegExp(`(?: ${Za.source})?`);function Ua(t,e,i){const n=t[e];return Zo(n)?i:Qo(n)}function $a(t,e){return[{hours:Ua(t,e,0),minutes:Ua(t,e+1,0),seconds:Ua(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ja=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ga(t){const[e,i,n,r,s,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Xo(i)),months:d(Xo(n)),weeks:d(Xo(r)),days:d(Xo(s)),hours:d(Xo(o)),minutes:d(Xo(a)),seconds:d(Xo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Qo(e)):Qo(e),month:va.indexOf(i)+1,day:Qo(n),hour:Qo(r),minute:Qo(s)};return o&&(a.second=Qo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Xa=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Qa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,nc=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function rc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ma(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,La),ac=Ma(/(\d{4})-?W(\d\d)(?:-?(\d))?/,La),cc=Ma(/(\d{4})-?(\d{3})/,La),uc=Ma(Pa),lc=Va((function(t,e){return[{year:Ua(t,e),month:Ua(t,e+1,1),day:Ua(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=Ma(/(\d{4})-(\d\d)-(\d\d)/,Ha),vc=Ma(Za),yc=Va($a,qa,Ba);const gc="Invalid Duration",kc={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},bc={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Oc=Sc.slice(0).reverse();function xc(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of Oc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Zo(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(Zo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ho(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[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 Zo(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=ea(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return wu.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return xc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=ha(t(this.values[i],i));return xc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return xc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return xc(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Nc(this.matrix,t),xc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return xc(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Ho(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Ho(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),xc(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return xc(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Ec{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new hs(i);return new Ec({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Ec.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Ec.invalid("missing or invalid end"):Ec.invalid("missing or invalid start")}(i,n);return null==r?new Ec({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Ec.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Ec.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Ec.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Ec.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Ec.before(s,t)}}return Ec.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Ec.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Ec.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Ec.fromDateTimes(n,i)),n=i,r+=1}return s}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:Ec.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Ec.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Ec.fromDateTimes(e,t.time)),e=null);return Ec.merge(n)}difference(...t){return Ec.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Ec.fromDateTimes(t(this.s),t(this.e))}}class Mc{static hasDST(t=xo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,xo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Vc(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Vc(t,e);return(i-i%7)/7}],["days",Vc]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Pc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Lc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Pc).join("|")),deser:([i])=>t.findIndex((t=>Lc(i)===Lc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Zc(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 Uc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Zc(l);case"uu":return Zc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Zc(/[a-z_+-/]{1,256}?/i);case" ":return Zc(/[^\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;Zo(t.z)||(i=Ys.create(t.z)),Zo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Zo(t.q)||(t.M=3*(t.q-1)+1),Zo(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),Zo(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((Uc||(Uc=wu.fromMillis(1555555555555)),Uc)),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=Co(t.c)),t.weekData}function Xc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,xo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Zo(t.year))r=xo.now();else{for(const e of du)Zo(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=!!Zo(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=Zo(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}=Lo(r,n),a=xo.now(),c=Zo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Zo(r.ordinal),l=!Zo(r.year),h=!Zo(r.month)||!Zo(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){Zo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Uo(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=Uo(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Po(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[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(Zo(t)||Zo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(xo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Qc(this).weekYear:NaN}get weekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get weekday(){return this.isValid?Qc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Xc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Xc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Mc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Mc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Mc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Mc.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(xo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,xo.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Lo(e,this.loc),r=!Zo(e.weekYear)||!Zo(e.weekNumber)||!Zo(e.weekday),s=!Zo(e.ordinal),o=!Zo(e.year),a=!Zo(e.month)||!Zo(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):Zo(e.ordinal)?(l={...this.toObject(),...e},Zo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Po({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Ec.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Zo(t)||Zo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return Os}static get TIME_WITH_SECONDS(){return xs}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Es}static get TIME_24_WITH_LONG_OFFSET(){return Ms}static get DATETIME_SHORT(){return Vs}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ps}static get DATETIME_FULL_WITH_SECONDS(){return Ls}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&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-=499]})(t,e)}function Su(t,e){const i=Iu,n=wu[i(501)](t)[i(506)](e),r=wu[i(515)](),s=r[i(502)]({days:1})[i(519)](i(511));let o,a;return n[i(514)](r,i(511))?(o=n[i(519)](i(511))[i(505)](),a=n[i(516)]()):n[i(514)](s,i(511))?(o=s[i(505)](),a=n[i(516)]()):n[i(514)](r,i(500))?(o=n[i(519)](i(500))[i(505)](),a=n[i(520)]||""):n[i(514)](r,i(504))?(o=n[i(519)](i(507))[i(505)](),a=n[i(518)]||""):(o=n[i(519)](i(504))[i(505)](),a=String(n[i(504)])),{startDate:o,localizedPeriodName:a}}function Ou(){const t=["month","7psFvwK","90256jwNrpu","1293315gNEVRy","day","304052aQJKMB","70dpdHIm","hasSame","local","toRelativeCalendar","4916394ATpzTs","monthLong","startOf","weekdayLong","1257968yXrXeQ","3574464abaPIK","week","fromJSDate","minus","223680TKfMLC","year","toJSDate","setLocale"];return(Ou=function(){return t})()}!function(t){const e=Iu,i=t();for(;;)try{if(468623===-parseInt(e(503))/1+parseInt(e(512))/2+parseInt(e(510))/3+parseInt(e(509))/4*(parseInt(e(513))/5)+-parseInt(e(499))/6+-parseInt(e(508))/7*(parseInt(e(521))/8)+parseInt(e(517))/9)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=Ln().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Hn();Cn()(xu.A,Tu);xu.A&&xu.A.locals&&xu.A.locals;const Nu=Ru;function Au(){const t=["find","span","ck-revision-history-sidebar__time-period__label","560XYtzef","removeRevision","_requireRevisionName","uiLanguage","startDate","remove","div","25288740zkmNIT","localizedPeriodName","164594qFPCZU","_revisionActions","4323936HFEftF","214966iIJmfQ","createCollection","delegate","6kBAYaS","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__revisions","revisionViews","select","addRevision","setTemplate","7eKIczr","locale","32322KwOIvs","7506324gnLXEP","4056816NFMcvw","setName","add"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=246]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(760468===-parseInt(e(272))/1+-parseInt(e(275))/2*(-parseInt(e(246))/3)+-parseInt(e(274))/4+-parseInt(e(263))/5*(-parseInt(e(255))/6)+parseInt(e(253))/7*(-parseInt(e(257))/8)+-parseInt(e(256))/9+parseInt(e(270))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Eu extends Vn.View{constructor(t,e,i,n){const r=Ru;super(t);const s=Su(e,this[r(254)][r(266)])[r(271)];this[r(267)]=e,this[r(249)]=this[r(276)](),this[r(273)]=i,this[r(265)]=n,this[r(249)][r(277)](r(250)).to(this),this[r(249)][r(277)](r(258)).to(this),this[r(252)]({tag:r(269),attributes:{class:["ck",r(247)]},children:[{tag:r(261),attributes:{class:["ck",r(262)]},children:[{text:s}]},{tag:r(269),attributes:{class:["ck",r(248)]},children:this[r(249)]}]})}[Nu(251)](t){const e=Nu,i=new cs(this[e(254)],t,this[e(273)],this[e(265)]);this[e(249)][e(259)](i)}[Nu(264)](t){const e=Nu,i=this[e(249)][e(260)]((e=>e.id===t.id));this[e(249)][e(268)](i)}}var Mu=i(173),Vu={attributes:{"data-cke":!0}};Vu.setAttributes=Wn(),Vu.insert=Ln().bind(null,"head"),Vu.domAPI=Fn(),Vu.insertStyleElement=Hn();Cn()(Mu.A,Vu);Mu.A&&Mu.A.locals&&Mu.A.locals;function Du(){const t=["69515eNfSyD","history","934sJwLhT","561vuTFLg","content","Revision history","149170jHDejk","ck-revision-history-sidebar__header","341140GntSWH","3832bSGoot","ck-revision-history-sidebar__header__label","1626rDuUpJ","span","90XMKPNL","setTemplate","div","777czIavX","1751139NZfAGJ","1840308gOWYvD","ck-reset_all"];return(Du=function(){return t})()}function Cu(t,e){const i=Du();return(Cu=function(t,e){return i[t-=170]})(t,e)}!function(t){const e=Cu,i=t();for(;;)try{if(279807===-parseInt(e(189))/1+parseInt(e(183))/2*(parseInt(e(172))/3)+-parseInt(e(179))/4+parseInt(e(181))/5*(parseInt(e(174))/6)+-parseInt(e(177))/7*(-parseInt(e(170))/8)+-parseInt(e(178))/9+-parseInt(e(187))/10*(-parseInt(e(184))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Du);class ju extends Vn.View{constructor(t){const e=Cu;super(t);const i=new Vn.IconView;i[e(185)]=qi.icons[e(182)],this[e(175)]({tag:e(176),attributes:{class:["ck",e(180),e(188)]},children:[i,{tag:e(173),attributes:{class:["ck",e(171)]},children:[Xi(t,e(186))]}]})}}var Fu=i(722),Pu={attributes:{"data-cke":!0}};Pu.setAttributes=Wn(),Pu.insert=Ln().bind(null,"head"),Pu.domAPI=Fn(),Pu.insertStyleElement=Hn();Cn()(Fu.A,Pu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Lu=Wu;function zu(){const t=["ck-disabled","28153VKCVUt","highlightRevisions","div","highlight","setName","_revisions","_requireRevisionName","find","selectRevision","some","bindTemplate","_addRevision","_getTimePeriodViewByStartDate","deselect","77dmLXMO","addRevision","ck-reset","remove","ck-rounded-corners","select","getTime","fire","render","map","2488BTNdZC","createCollection","revisionViews","get","uiLanguage","setTemplate","15KtXfDm","locale","delegate","ck-revision-history-sidebar__timeline","timePeriodViews","1205560JLmJZJ","_removeRevision","startDate","removeRevision","18cQLjlJ","flat","973rYDvhd","2026320aPRtJk","createdAt","isEnabled","_revisionActions","set","631662RcPCVx","2482029KqGroV","revisionSetName","add","revisionSelected","139372pCnmtA","unhighlight","ck-revision-history-sidebar"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=279]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(172240===parseInt(e(331))/1*(parseInt(e(314))/2)+parseInt(e(322))/3+parseInt(e(327))/4*(-parseInt(e(305))/5)+parseInt(e(317))/6+parseInt(e(316))/7*(parseInt(e(299))/8)+parseInt(e(323))/9+parseInt(e(310))/10*(-parseInt(e(289))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Zu extends Vn.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(285)];this[r(309)]=this[r(300)](),this[r(309)][r(307)](r(294)).to(this),this[r(309)][r(307)](r(279)).to(this),this[r(280)]=e,this[r(320)]=i,this[r(281)]=n,this.on(r(294),((t,e)=>{const i=r;this[i(296)](i(326),e)})),this.on(r(279),((t,e)=>{const i=r;this[i(296)](i(324),e)})),this[r(321)](r(319),!1),this[r(304)]({tag:r(333),attributes:{class:["ck",r(291),r(293),r(329)]},children:[new ju(t),{tag:r(333),attributes:{class:["ck",r(308),s.if(r(319),r(330),(t=>!t))]},children:this[r(309)]}]})}[Lu(297)](){const t=Lu;super[t(297)]();for(const e of this[t(280)])this[t(286)](e);this[t(280)].on(t(325),((e,i)=>{this[t(286)](i)})),this[t(280)].on(t(292),((e,i)=>{this[t(311)](i)}))}get[Lu(301)](){const t=Lu;return this[t(309)][t(298)]((e=>e[t(301)][t(298)]((t=>t))))[t(315)]()}[Lu(283)](t){const e=Lu;for(const i of this[e(301)])t&&t.id===i.id?i[e(294)]():i[e(288)]()}[Lu(332)](t){const e=Lu;for(const i of this[e(301)])t[e(284)]((({id:t})=>t===i.id))?i[e(334)]():i[e(328)]()}[Lu(286)](t){const e=Lu,i=Su(t[e(318)],this[e(306)][e(303)])[e(312)];let n=this[e(309)][e(302)](0);n&&n[e(312)][e(295)]()===i[e(295)]()||(n=new Eu(this[e(306)],i,this[e(320)],this[e(281)]),this[e(309)][e(325)](n)),n[e(290)](t)}[Lu(311)](t){const e=Lu,i=Su(t[e(318)],this[e(306)][e(303)])[e(312)];this[e(287)](i)[e(313)](t)}[Lu(287)](t){const e=Lu;return this[e(309)][e(282)]((i=>i[e(312)][e(295)]()===t[e(295)]()))}}const Hu=$u;!function(t){const e=$u,i=t();for(;;)try{if(921324===-parseInt(e(242))/1+parseInt(e(284))/2*(parseInt(e(253))/3)+-parseInt(e(287))/4*(parseInt(e(269))/5)+-parseInt(e(285))/6*(-parseInt(e(267))/7)+parseInt(e(255))/8+parseInt(e(296))/9*(-parseInt(e(236))/10)+-parseInt(e(239))/11*(parseInt(e(224))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bu);class Uu extends qi.Plugin{static get[Hu(290)](){return Hu(299)}static get[Hu(225)](){return!0}static get[Hu(268)](){return!0}static get[Hu(293)](){return[gr]}constructor(t){const e=Hu;super(t),this[e(231)]=t[e(240)][e(220)](gr),this[e(266)]=this[e(231)][e(233)],this[e(271)]=null}[Hu(241)](){const t=Hu,e=this[t(266)][t(219)],i=this[t(288)](),n=this[t(282)][t(272)][t(220)](t(226));this[t(271)]=new Zu(this[t(282)][t(289)],e,i,this[t(282)][t(272)][t(220)](t(248))),this[t(271)].on(t(228),this[t(243)][t(283)](this)),this[t(271)].on(t(232),this[t(277)][t(283)](this)),this[t(271)][t(283)](t(246)).to(this[t(231)]),this[t(271)][t(261)].on(t(230),((e,i)=>{const n=t;i[n(234)].on(n(230),((t,e)=>{const i=n;e[i(283)](i(246),i(259)).to(this[i(231)])}))})),this[t(271)][t(252)](),this[t(286)](this[t(282)][t(265)],t(292),this[t(279)][t(283)](this)),this[t(286)](this[t(231)],t(301),this[t(258)][t(283)](this)),n[t(297)](this[t(271)][t(227)])}[Hu(251)](){const t=Hu;this[t(271)][t(227)][t(238)](),this[t(271)][t(251)]()}[Hu(279)](){const t=Hu,e=this[t(266)][t(275)](0);if(e){const i=this[t(266)][t(235)](e.id);this[t(231)][t(250)](e,i)}}[Hu(243)](t,e){const i=Hu,n=this[i(266)][i(275)](e.id),r=this[i(266)][i(235)](n.id);this[i(231)][i(250)](n,r)}[Hu(277)](t,e){const i=Hu;this[i(266)][i(275)](e.id)[i(270)](e[i(249)])}[Hu(258)](t,e,i){const n=Hu,r=this[n(266)][n(245)](i);r[n(218)]>2?(this[n(271)][n(280)](r),this[n(271)][n(229)](null)):(this[n(271)][n(280)]([]),this[n(271)][n(229)](r[0]))}[Hu(288)](){const t=Hu,e=this[t(282)],i=Uu[t(298)],n=e[t(272)][t(220)](t(294))||Uu[t(237)];if(n[t(218)])return n[t(222)]((n=>{const r=t,s=r(291)==typeof n?Object[r(247)]({},i[n]):n;return s[r(263)]=s[r(263)][r(283)](this,e),s[r(244)]&&(s[r(244)]=s[r(244)][r(283)](this,e)),s}))}}function $u(t,e){const i=Bu();return($u=function(t,e){return i[t-=218]})(t,e)}Uu[Hu(237)]=[Hu(221),Hu(260),Hu(274)],Uu[Hu(298)]={compareAgainstSelected:{name:Hu(300),action:({plugins:t},e)=>{const i=Hu,n=t[i(220)](gr),r=n[i(233)];let s=n[i(264)][i(276)],o=e.id;r[i(295)](s)>r[i(295)](o)&&([s,o]=[o,s]),n[i(250)](s,o)},isVisible:({plugins:t},e)=>{const i=Hu,n=t[i(220)](gr);return!(n[i(233)][i(245)](n[i(264)])[i(218)]>2||e[i(223)])}},restoreRevision:{name:Hu(262),action:(t,{id:e})=>{const i=Hu;t[i(272)][i(220)](i(302))[i(254)](e)},isVisible:({plugins:t},e)=>!!t[Hu(220)](gr)[Hu(233)][Hu(281)](e.id)},nameRevision:{name:Hu(256),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Hu,r=t[n(220)](gr),s=r[n(233)][n(235)](e);r[n(250)](e,s),i[n(273)](),i[n(278)][n(257)]()}}};const qu=Uu;function Bu(){const t=["getEarlierVisibleRevision","619720xCqeDZ","defaultRevisionActions","remove","1144JCOmeP","plugins","init","1550339lEirSi","_handleRevisionSelected","isVisible","getRevisionsInDiff","isEnabled","assign","revisionHistory.requireRevisionName","name","compare","destroy","render","120147RgpVSY","restoreRevisionCallback","10820520sHKPaG","Name this revision","select","_handleDiffChange","isReady","restoreRevision","timePeriodViews","Restore this revision","action","diff","data","_revisionsRepository","12527753xJCorY","isPremiumPlugin","3655ZDwXkf","setName","_sidebarView","config","focus","nameRevision","getRevision","newRevisionId","_handleRevisionSetName","fieldView","_handleEditorDataReady","highlightRevisions","getLaterVisibleRevision","editor","bind","76zsxywh","6HeMUwc","listenTo","5716XBZTUI","_createRevisionActions","locale","pluginName","string","ready","requires","revisionHistory.revisionActions","getIndex","81NrsjRH","appendChild","availableRevisionActions","RevisionsSidebar","Compare against selected","change:diff","revisionHistory","length","_revisions","get","compareAgainstSelected","map","isSelected","68088UwoYad","isOfficialPlugin","revisionHistory.viewerSidebarContainer","element","revisionSelected","selectRevision","add","_revisionViewer","revisionSetName","repository","revisionViews"];return(Bu=function(){return t})()}function Yu(t,e){const i=Gu();return(Yu=function(t,e){return i[t-=270]})(t,e)}const Ju=Yu;function Gu(){const t=["6376epahpR","5543865DZlTDq","element","18820090apsOfr","detachDomRoot","editor","restore","stickyPanel","36818gAoqLG","editing","102cOGprK","viewportTopOffset","_toolbarConfig","bind","1074hKNqVw","replace","132184CLsoiU","isFocused","addToolbar","limiterElement","componentFactory","setEditableElement","_elementReplacer","attachDomRoot","name","document","fillFromConfig","toolbar","_view","getRoot","isActive","view","get","editable","config","12VaLJio","viewportOffset","_initToolbar","rootName","init","3001450iOkpnh","destroy","271873yhuAaY","fire","focusTracker","ready","render"];return(Gu=function(){return t})()}!function(t){const e=Yu,i=t();for(;;)try{if(462404===parseInt(e(282))/1*(-parseInt(e(302))/2)+-parseInt(e(308))/3*(parseInt(e(294))/4)+-parseInt(e(287))/5+parseInt(e(304))/6*(-parseInt(e(289))/7)+parseInt(e(310))/8+parseInt(e(295))/9+parseInt(e(297))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gu);class Ku extends Vn.EditorUI{get[Ju(278)](){return this[Ju(275)]}constructor(e,i){const n=Ju;super(e),this[n(275)]=i,this[n(306)]=(0,Vn.normalizeToolbarConfig)(e[n(281)][n(279)](n(274))),this[n(316)]=new t.ElementReplacer}get[Ju(296)](){const t=Ju;return this[t(278)][t(296)]}[Ju(286)](t){const e=Ju,i=this[e(299)],n=this[e(278)],r=i[e(303)][e(278)],s=n[e(280)],o=r[e(272)][e(276)]();s[e(271)]=o[e(285)],n[e(293)]();const a=s[e(296)];this[e(315)](s[e(271)],a),n[e(280)][e(307)](e(311)).to(this[e(291)]),r[e(270)](a),this[e(316)][e(309)](t,this[e(296)]),this[e(284)](),this[e(290)](e(292))}[Ju(288)](){const t=Ju;super[t(288)]();const e=this[t(278)],i=this[t(299)][t(303)][t(278)];this[t(316)][t(300)](),i[t(298)](e[t(280)][t(271)]),e[t(288)]()}[Ju(284)](){const t=Ju,e=this[t(278)];e[t(301)][t(307)](t(277)).to(this[t(291)],t(311)),e[t(301)][t(313)]=e[t(296)],e[t(301)][t(307)](t(305)).to(this,t(283),(({top:t})=>t)),e[t(274)][t(273)](this[t(306)],this[t(314)]),this[t(312)](e[t(274)])}}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Ln().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Hn();Cn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=il;function el(){var t=["shouldToolbarGroupWhenFull","1140cqCZGA","top","20DSfbXT","render","6633054DLmRjk","122pitWWm","main","3523659QDQchQ","stickyPanel","editable","14805Maaurf","_editable","content","add","14540bePEwb","918325WiMhZB","3961672WzYSob","toolbar","29886350fxibVX"];return(el=function(){return t})()}function il(t,e){var i=el();return(il=function(t,e){return i[t-=114]})(t,e)}!function(t){for(var e=il,i=t();;)try{if(652464===parseInt(e(119))/1*(-parseInt(e(128))/2)+-parseInt(e(121))/3+parseInt(e(116))/4*(-parseInt(e(129))/5)+-parseInt(e(114))/6*(-parseInt(e(124))/7)+-parseInt(e(130))/8+parseInt(e(118))/9+parseInt(e(132))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(el);class nl extends Vn.BoxedEditorUIView{get[tl(123)](){return this[tl(125)]}constructor(t,e,i={}){var n=tl;super(t),this[n(122)]=new Vn.StickyPanelView(t),this[n(131)]=new Vn.ToolbarView(t,{shouldGroupWhenFull:i[n(133)]}),this[n(125)]=new Vn.InlineEditableUIView(t,e)}[tl(117)](){var t=tl;super[t(117)](),this[t(122)][t(126)][t(127)](this[t(131)]),this[t(115)][t(127)](this[t(122)]),this[t(120)][t(127)](this[t(123)])}}function rl(){const t=["create","locale","data","config","document","4674680GWHKFc","_ui","updateSourceElement","ready","createRoot","1490314EibaLu","219734YuxXfn","destroy","115hHbgTp","initPlugins","842248OnwUCD","init","editing","sourceElement","253074wYgWrz","view","258873XpSpgI","model","get","fire","15972dwFwcg","initialData"];return(rl=function(){return t})()}function sl(t,e){const i=rl();return(sl=function(t,e){return i[t-=307]})(t,e)}const ol=sl;!function(t){const e=sl,i=t();for(;;)try{if(133719===parseInt(e(321))/1+-parseInt(e(311))/2+parseInt(e(319))/3+parseInt(e(315))/4+-parseInt(e(313))/5*(-parseInt(e(325))/6)+parseInt(e(310))/7+-parseInt(e(332))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rl);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(333)]}constructor(t,e){const i=sl;super(e),this[i(318)]=t,this[i(322)][i(331)][i(309)]();const n=new nl(this[i(328)],this[i(317)][i(320)],{shouldToolbarGroupWhenFull:!0});this[i(333)]=new Ku(this,n)}[ol(312)](){const t=ol;return this[t(307)](),this.ui[t(312)](),super[t(312)]()}static async[ol(327)](t,e){const i=ol,n=new this(t,e);return await n[i(314)](),await n.ui[i(316)](t),await n[i(329)][i(316)](n[i(330)][i(323)](i(326))||""),n[i(324)](i(308)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=474]})(t,e)}function ll(){const t=["createdAt","_enhanceShowRevisionViewerCallback","222omjGGN","selection","includes","revisionHistory","locale","addRoot","5306841izKWam","RevisionHistoryUI","get","map","changesNavigation","RevisionViewer","style","rootName","revision-history-missing-configuration","closeRevisionViewerCallback","has","getUser","users","_showRevisionViewer","join","enqueueChange","removeMarker","getRevisions","922062gRqbpw","bind","roots","getAttributeKeys","addUser","refreshVisibility","create","plugins","refreshPositioning","RestrictedEditingMode","revisionHistory.requireRevisionName","restoreRevision","none","editor","markers","revisionHistory.editorContainer","_closeRevisionViewer","addRevisionData","requires","_restoreRevision","isOpen","parse","235205hyFJLN","revisionHistory.viewerEditorElement","toolbar","toJSON","getRevisionData","revision-history-viewer-opened","result","numeric","config","isPremiumPlugin","RevisionHistory","setSelection","isEnabled","11qHHiRq","isReady","fromCharCode","isAttached","then","repository","setAttribute","showRevisionViewerCallback","9844memvZv","lazyRoots","translations","createRangeIn","RevisionsRepository","exitToEditing","removeAttribute","long","getRevisionRootsAttributes","catch","error","adapter","block","change","creator","_recalculatePageBreaks","_cleanUp","detachRoot","toVersion","Autosave","uiLanguage","init","model","remove","fromVersion","1134882SCOPiY","isReadOnly","Annotations","restrictedEditingException","_update","8rTljsE","$graveyard","revisionHistory.closeRevisionViewerCallback","disableReadOnlyMode","isOfficialPlugin","revisionHistory.viewerContainer","name","Users","34766UVoaQy","destroy","indexOf","Dialog","define","7815670EnoKLN","getMarkersGroup","toLocaleDateString","revisionHistory.showRevisionViewerCallback","set","save","RevisionViewerIntegration","_getRevisionViewerEditorConfig","push","RevisionTracker","getRevision","saveRevision","display","commands","update","getRoot","PaginationLookup","44yydhTI","_enhanceCloseRevisionViewerCallback","revisionHistory.restoreRevisionCallback","_viewerEditor","hide","removeSelectionAttribute","end","toLocaleTimeString","from","enableReadOnlyMode","document","pluginName","data","Restored","insert","keys","isAnonymous"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(339192===-parseInt(e(550))/1+-parseInt(e(512))/2*(-parseInt(e(591))/3)+parseInt(e(572))/4*(parseInt(e(491))/5)+-parseInt(e(615))/6+-parseInt(e(537))/7+parseInt(e(542))/8*(parseInt(e(597))/9)+-parseInt(e(555))/10*(parseInt(e(504))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(598),cl(478)];class dl extends qi.Plugin{static get[cl(583)](){return cl(561)}static get[cl(546)](){return!0}static get[cl(500)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(600)]((t=>String[e(506)](t)))[e(611)]("")}super(t),this[e(497)]=e(578),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(583)](){return cl(501)}static get[cl(546)](){return!0}static get[cl(500)](){return!0}static get[cl(487)](){return[xn,tr]}constructor(e){const i=cl;if(super(e),!this[i(482)][i(499)][i(599)](i(594)))throw new t.CKEditorError(i(605),this);this[i(575)]=null,this[i(482)][i(499)][i(554)](i(558),(t=>this[i(610)]({...t,translations:this[i(482)][i(595)][i(514)]}))),this[i(482)][i(499)][i(554)](i(544),(t=>this[i(485)](t))),this[i(482)][i(499)][i(554)](i(574),(t=>this[i(488)](t))),this[i(482)][i(499)][i(554)](i(479),!1),this[i(590)](),this[i(573)]()}set[cl(523)](t){const e=cl;this[e(482)][e(476)][e(599)](e(564))[e(523)]=t}get[cl(523)](){const t=cl;return this[t(482)][t(476)][t(599)](t(564))[t(523)]}[cl(486)](t){const e=cl;return this[e(482)][e(476)][e(599)](e(564))[e(486)](t)}[cl(565)](t){const e=cl;return this[e(482)][e(476)][e(599)](e(516))[e(565)](t)}[cl(614)](t){const e=cl;return this[e(482)][e(476)][e(599)](e(516))[e(614)](t||{toJSON:!1})}[cl(562)](){const e=cl,i=this[e(482)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(476)][e(599)](e(564)),s=i[e(476)][e(599)](e(549))[e(609)];return n[e(493)]=[e(517),e(480),e(601)],delete n[e(513)],n[e(476)][e(563)](dl,gr,Lr,class extends qi.Plugin{static get[e(487)](){return[gr,e(549)]}[e(533)](){const n=e,o=this[n(482)][n(476)][n(599)](n(549));for(const t of s)t[n(588)]||o[n(608)](t.id)||o[n(619)](t);const a=r[n(509)][n(614)]();let c=null;const u=this[n(482)][n(476)][n(599)](n(602));u[n(523)]=r[n(523)],u[n(616)](n(503)).to(r),this[n(482)][n(568)][n(599)](n(480))[n(616)](n(503)).to(i,n(538),(t=>!t));for(const e of a){const i=null===e[n(526)];if(i&&e[n(530)]===e[n(536)])continue;const s=e[n(494)]();u[n(486)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(541)](s,o);else if(!o){const e=a[u(494)]();e.id=(0,t.uid)(),r[u(566)](e,a[u(530)])[u(508)]((t=>{c=t}))}}else e[u(541)](s,o)}))}}},qu),n}[cl(590)](){const t=cl,e=this[t(482)][t(499)][t(599)](t(594))[t(511)];this[t(482)][t(499)][t(559)](t(558),(async()=>{const i=t;this[i(482)][i(581)](i(496));const n=this[i(482)][i(476)][i(599)](i(564));if(this[i(482)][i(476)][i(607)](i(531))){const t=this[i(482)][i(476)][i(599)](i(531));await t[i(560)]()}else await n[i(569)]();if(this[i(482)][i(476)][i(607)](i(571))&&this[i(482)][i(476)][i(599)](i(571))[i(527)](),this[i(482)][i(476)][i(607)](i(553))){const t=this[i(482)][i(476)][i(599)](i(553));t[i(489)]&&t[i(576)]()}const r=this[i(562)]();return e(r)[i(508)]((t=>{const e=i;return this[e(575)]=t,this[e(482)][e(476)][e(607)](e(539))&&this[e(482)][e(476)][e(599)](e(539))[e(474)](),t}))[i(521)]((t=>(console[i(522)](t),this[i(482)][i(545)](i(496)),null)))}))}[cl(573)](){const t=cl,e=this[t(482)][t(499)][t(599)](t(594))[t(606)];this[t(482)][t(499)][t(559)](t(544),(()=>(this[t(482)][t(476)][t(607)](t(571))&&this[t(482)][t(476)][t(599)](t(571))[t(527)](),this[t(575)][t(476)][t(599)](t(602))[t(528)](),e(this[t(575)])[t(508)]((()=>{const e=t;if(this[e(482)][e(545)](e(496)),this[e(575)]=null,this[e(482)][e(476)][e(607)](e(539))){const t=this[e(482)][e(476)][e(599)](e(539));t[e(474)](),t[e(477)]()}})))))}[cl(610)](t){const e=cl,i=this[e(482)][e(499)][e(599)](e(484)),n=this[e(482)][e(499)][e(599)](e(547)),r=this[e(482)][e(499)][e(599)](e(492));return al[e(475)](r,t)[e(508)]((t=>(n[e(603)][e(567)]=e(524),i[e(603)][e(567)]=e(481),t)))}[cl(485)](t){const e=cl,i=this[e(482)][e(499)][e(599)](e(484));return this[e(482)][e(499)][e(599)](e(547))[e(603)][e(567)]=e(481),i[e(603)][e(567)]="",t[e(551)]()}async[cl(488)](t){const e=cl,i=this[e(482)],n=this[e(575)][e(476)][e(599)](e(602)),r=i[e(476)][e(599)](e(564)),s=n[e(509)][e(565)](t);let o,a,c;try{o=await n[e(495)](s),a=await n[e(520)](s)}catch(t){return void console[e(522)](t)}i[e(534)][e(525)]((t=>{const n=e;for(const e of Array[n(580)](i[n(534)][n(483)][n(556)](n(540))))t[n(613)](e)})),n[e(505)]=!1,i[e(534)][e(612)]((t=>{const n=e;t[n(502)](null),t[n(577)](i[n(534)][n(582)][n(592)][n(618)]());const r=Object[n(587)](o);for(const e of i[n(534)][n(582)][n(617)])n(543)!=e[n(604)]&&e[n(507)]()&&!r[n(593)](e[n(604)])&&t[n(529)](e);for(const e of r){let r=i[n(534)][n(582)][n(570)](e);r&&r[n(507)]()||(r=t[n(596)](e));const s=a[e],c=Object[n(587)](s),u=o[e];for(const e of r[n(618)]())c[n(593)](e)||t[n(518)](e,r);for(const i of c)t[n(510)](i,a[e][i],r);t[n(535)](t[n(515)](r)),t[n(586)](i[n(584)][n(490)](u,r),r,0)}}));const u=Xi(i[e(595)],e(585));return c=s[e(548)]?-1==s[e(548)][e(552)](u)?u+": "+s[e(548)]:s[e(548)]:u+": "+s[e(589)][e(557)](i[e(595)][e(532)],{month:e(519),day:e(498)})+", "+s[e(589)][e(579)](i[e(595)][e(532)],{hour:e(498),minute:e(498)}),await r[e(566)]({name:c}),n[e(505)]=!0,i[e(499)][e(599)](e(594))[e(606)]()}}function ml(){var t=["77bTgXQG","6006UWffgs","330TsKbUC","190962pOFNRF","1180wzgBeG","953425LuRubg","3CGBGJI","474160MVZoNF","1585028FqTFnp","815902ogmQIx","236696SuaydA","84ZPNhKa"];return(ml=function(){return t})()}function pl(t,e){var i=ml();return(pl=function(t,e){return i[t-=373]})(t,e)}!function(t){for(var e=pl,i=t();;)try{if(443682===-parseInt(e(377))/1+-parseInt(e(378))/2+-parseInt(e(374))/3*(-parseInt(e(376))/4)+-parseInt(e(384))/5*(-parseInt(e(381))/6)+-parseInt(e(380))/7*(-parseInt(e(375))/8)+parseInt(e(383))/9*(parseInt(e(382))/10)+-parseInt(e(373))/11*(parseInt(e(379))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ml)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();