@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250312.0 → 0.0.0-nightly-20250314.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/bg.js +1 -1
  12. package/dist/translations/bg.umd.js +1 -1
  13. package/dist/translations/bn.js +1 -1
  14. package/dist/translations/bn.umd.js +1 -1
  15. package/dist/translations/bs.js +1 -1
  16. package/dist/translations/bs.umd.js +1 -1
  17. package/dist/translations/ca.js +1 -1
  18. package/dist/translations/ca.umd.js +1 -1
  19. package/dist/translations/cs.js +1 -1
  20. package/dist/translations/cs.umd.js +1 -1
  21. package/dist/translations/da.js +1 -1
  22. package/dist/translations/da.umd.js +1 -1
  23. package/dist/translations/de-ch.js +1 -1
  24. package/dist/translations/de-ch.umd.js +1 -1
  25. package/dist/translations/de.js +1 -1
  26. package/dist/translations/de.umd.js +1 -1
  27. package/dist/translations/el.js +1 -1
  28. package/dist/translations/el.umd.js +1 -1
  29. package/dist/translations/en-au.js +1 -1
  30. package/dist/translations/en-au.umd.js +1 -1
  31. package/dist/translations/en-gb.js +1 -1
  32. package/dist/translations/en-gb.umd.js +1 -1
  33. package/dist/translations/en.js +1 -1
  34. package/dist/translations/en.umd.js +1 -1
  35. package/dist/translations/eo.js +1 -1
  36. package/dist/translations/eo.umd.js +1 -1
  37. package/dist/translations/es-co.js +1 -1
  38. package/dist/translations/es-co.umd.js +1 -1
  39. package/dist/translations/es.js +1 -1
  40. package/dist/translations/es.umd.js +1 -1
  41. package/dist/translations/et.js +1 -1
  42. package/dist/translations/et.umd.js +1 -1
  43. package/dist/translations/eu.js +1 -1
  44. package/dist/translations/eu.umd.js +1 -1
  45. package/dist/translations/fa.js +1 -1
  46. package/dist/translations/fa.umd.js +1 -1
  47. package/dist/translations/fi.js +1 -1
  48. package/dist/translations/fi.umd.js +1 -1
  49. package/dist/translations/fr.js +1 -1
  50. package/dist/translations/fr.umd.js +1 -1
  51. package/dist/translations/gl.js +1 -1
  52. package/dist/translations/gl.umd.js +1 -1
  53. package/dist/translations/gu.js +1 -1
  54. package/dist/translations/gu.umd.js +1 -1
  55. package/dist/translations/he.js +1 -1
  56. package/dist/translations/he.umd.js +1 -1
  57. package/dist/translations/hi.js +1 -1
  58. package/dist/translations/hi.umd.js +1 -1
  59. package/dist/translations/hr.js +1 -1
  60. package/dist/translations/hr.umd.js +1 -1
  61. package/dist/translations/hu.js +1 -1
  62. package/dist/translations/hu.umd.js +1 -1
  63. package/dist/translations/hy.js +1 -1
  64. package/dist/translations/hy.umd.js +1 -1
  65. package/dist/translations/id.js +1 -1
  66. package/dist/translations/id.umd.js +1 -1
  67. package/dist/translations/it.js +1 -1
  68. package/dist/translations/it.umd.js +1 -1
  69. package/dist/translations/ja.js +1 -1
  70. package/dist/translations/ja.umd.js +1 -1
  71. package/dist/translations/jv.js +1 -1
  72. package/dist/translations/jv.umd.js +1 -1
  73. package/dist/translations/kk.js +1 -1
  74. package/dist/translations/kk.umd.js +1 -1
  75. package/dist/translations/km.js +1 -1
  76. package/dist/translations/km.umd.js +1 -1
  77. package/dist/translations/kn.js +1 -1
  78. package/dist/translations/kn.umd.js +1 -1
  79. package/dist/translations/ko.js +1 -1
  80. package/dist/translations/ko.umd.js +1 -1
  81. package/dist/translations/ku.js +1 -1
  82. package/dist/translations/ku.umd.js +1 -1
  83. package/dist/translations/lt.js +1 -1
  84. package/dist/translations/lt.umd.js +1 -1
  85. package/dist/translations/lv.js +1 -1
  86. package/dist/translations/lv.umd.js +1 -1
  87. package/dist/translations/ms.js +1 -1
  88. package/dist/translations/ms.umd.js +1 -1
  89. package/dist/translations/nb.js +1 -1
  90. package/dist/translations/nb.umd.js +1 -1
  91. package/dist/translations/ne.js +1 -1
  92. package/dist/translations/ne.umd.js +1 -1
  93. package/dist/translations/nl.js +1 -1
  94. package/dist/translations/nl.umd.js +1 -1
  95. package/dist/translations/no.js +1 -1
  96. package/dist/translations/no.umd.js +1 -1
  97. package/dist/translations/oc.js +1 -1
  98. package/dist/translations/oc.umd.js +1 -1
  99. package/dist/translations/pl.js +1 -1
  100. package/dist/translations/pl.umd.js +1 -1
  101. package/dist/translations/pt-br.js +1 -1
  102. package/dist/translations/pt-br.umd.js +1 -1
  103. package/dist/translations/pt.js +1 -1
  104. package/dist/translations/pt.umd.js +1 -1
  105. package/dist/translations/ro.js +1 -1
  106. package/dist/translations/ro.umd.js +1 -1
  107. package/dist/translations/ru.js +1 -1
  108. package/dist/translations/ru.umd.js +1 -1
  109. package/dist/translations/si.js +1 -1
  110. package/dist/translations/si.umd.js +1 -1
  111. package/dist/translations/sk.js +1 -1
  112. package/dist/translations/sk.umd.js +1 -1
  113. package/dist/translations/sl.js +1 -1
  114. package/dist/translations/sl.umd.js +1 -1
  115. package/dist/translations/sq.js +1 -1
  116. package/dist/translations/sq.umd.js +1 -1
  117. package/dist/translations/sr-latn.js +1 -1
  118. package/dist/translations/sr-latn.umd.js +1 -1
  119. package/dist/translations/sr.js +1 -1
  120. package/dist/translations/sr.umd.js +1 -1
  121. package/dist/translations/sv.js +1 -1
  122. package/dist/translations/sv.umd.js +1 -1
  123. package/dist/translations/th.js +1 -1
  124. package/dist/translations/th.umd.js +1 -1
  125. package/dist/translations/ti.js +1 -1
  126. package/dist/translations/ti.umd.js +1 -1
  127. package/dist/translations/tk.js +1 -1
  128. package/dist/translations/tk.umd.js +1 -1
  129. package/dist/translations/tr.js +1 -1
  130. package/dist/translations/tr.umd.js +1 -1
  131. package/dist/translations/tt.js +1 -1
  132. package/dist/translations/tt.umd.js +1 -1
  133. package/dist/translations/ug.js +1 -1
  134. package/dist/translations/ug.umd.js +1 -1
  135. package/dist/translations/uk.js +1 -1
  136. package/dist/translations/uk.umd.js +1 -1
  137. package/dist/translations/ur.js +1 -1
  138. package/dist/translations/ur.umd.js +1 -1
  139. package/dist/translations/uz.js +1 -1
  140. package/dist/translations/uz.umd.js +1 -1
  141. package/dist/translations/vi.js +1 -1
  142. package/dist/translations/vi.umd.js +1 -1
  143. package/dist/translations/zh-cn.js +1 -1
  144. package/dist/translations/zh-cn.umd.js +1 -1
  145. package/dist/translations/zh.js +1 -1
  146. package/dist/translations/zh.umd.js +1 -1
  147. package/package.json +11 -11
  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={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=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(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},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}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)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]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[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=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(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,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.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 s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},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 s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>U,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>st,RevisionViewer:()=>Xt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(V=t,ArrayBuffer.isView(V)&&!(V instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=T(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=359]})(t,e)}function z(){const t=["106236RIpTAl","fire","14qwQGaJ","attributes","180dOIEjL","diffData","setName","11SDtUJo","toJSON","2453514dVQkot","creatorId","authors","170vbKAOC","12zTobgn","toVersion","setAttribute","fromVersion","map","createdAt","7snWQoW","set","name","removeAttribute","creator","_update","model","52121836kIjsCV","13843420PNwgQs","215873jWVkPA","1881834PyTXkn","78816XGmTSM","authorsIds"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(783688===parseInt(e(360))/1*(-parseInt(e(366))/2)+-parseInt(e(361))/3+parseInt(e(364))/4*(parseInt(e(376))/5)+parseInt(e(373))/6*(-parseInt(e(383))/7)+parseInt(e(362))/8*(-parseInt(e(368))/9)+parseInt(e(359))/10*(-parseInt(e(371))/11)+-parseInt(e(377))/12*(-parseInt(e(390))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class U extends((0,t.ObservableMixin)()){id;[L(387)];[L(375)];[L(369)];[L(378)];[L(380)];[L(389)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(387)]=e[i(387)]||null,this[i(375)]=e[i(375)]||[],this[i(369)]=e[i(369)]||null,this[i(378)]=e[i(378)]||0,this[i(380)]=e[i(380)]||0,this[i(384)](i(385),e[i(385)]||""),this[i(384)](i(382),e[i(382)]||new Date),this[i(384)](i(367),e[i(367)]||{})}[L(370)](t){this[L(388)]({name:t})}[L(379)](t,e){const i=L,s=A(this[i(367)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(388)]({attributes:s})}[L(386)](t){const e=L,i=A(this[e(367)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(388)]({attributes:i})}[L(388)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(385),i(382),i(369),i(375),i(367),i(378),i(380),i(374)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(375)]&&(n[i(363)]=n[i(375)][i(381)]((t=>t.id)),delete n[i(375)]),this[i(365)](i(388),n,e))}[L(372)](){const t=L;return{id:this.id,name:this[t(385)],creatorId:this[t(387)]?this[t(387)].id:null,authorsIds:this[t(375)][t(381)]((t=>t.id)),diffData:this[t(369)],createdAt:this[t(382)],attributes:this[t(367)],fromVersion:this[t(380)],toVersion:this[t(378)]}}}var W=i(782),Z=i(211),H=i(783);function q(){const t=["2150514zdkSqW","121113pdtJUk","getRevisionsIterator","from","reverse","length","attributes","push","3615735hsuDDz","3049656rneQSs","map","getUser","plugins","earlier","1484JSHIvN","isPremiumPlugin","315779fgqNdx","authorsIds","join","getRevision","createdAt","getRevisionsInDiff","getLaterVisibleRevision","fromVersion","Users","_revisions","isNaN","48008gbMqOx","editor","54207QuwXKx","get","getIndex","afterInit","toVersion","creatorId","getEarlierVisibleRevision","createRevision","toJSON","requires","4pyZxGZ","href","oldRevisionId","fromCharCode","data","isOfficialPlugin","diffData","add","name","later","newRevisionId","RevisionsRepository","addRevision","7030ZJEwSb","pluginName","getRevisions"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(721456===-parseInt(e(125))/1+parseInt(e(148))/2*(-parseInt(e(165))/3)+-parseInt(e(118))/4+-parseInt(e(117))/5+-parseInt(e(164))/6+parseInt(e(123))/7*(-parseInt(e(136))/8)+-parseInt(e(138))/9*(-parseInt(e(161))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends W.Plugin{[$(134)];static get[$(147)](){return[Z.Users]}static get[$(162)](){return $(159)}static get[$(153)](){return!0}static get[$(124)](){return!0}get[$(114)](){const t=$;return this[t(134)][t(114)]}constructor(e){const i=$;super(e),this[i(134)]=new t.Collection}[$(141)](){!async function(e){const i=k([51,90,109,56,103,67,48,72,75,100,112,78,99,88,84,85,102,106,111,69,113,117,83,122,52,118,80,76,86,55,116,89,114,98,121,74,54,79,82,97,57,77,120,71,105,104,101,110,115,66,108,68,65,50,53,70,119,73,107,87,49,81]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[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=r[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 s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),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=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(135)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[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([90]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}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 s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,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,s])=>{i(e),t(s)})):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 r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(119)]((t=>String[e(151)](t)))[e(127)]("")}!function(t){const i=l();r[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()]=s),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])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(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])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[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,s=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),s={...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 s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[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=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-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 s=36e5;function r(){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])](n/s)));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)*s: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)}))}}r[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])}),r[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 s(){return r[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(){r[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 s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,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,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(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,n,r)||(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]))&&g(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])])?n/1e3:1741737600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,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:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(149)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[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=>n[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&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||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)}[$(145)](t){const e=$,i=this[e(137)][e(121)][e(139)](e(133));return new U({id:t.id,name:t[e(156)],creator:t[e(143)]?i[e(120)](t[e(143)]):null,diffData:t[e(154)]||t[e(152)],authors:t[e(126)][e(119)]((t=>i[e(120)](t))),createdAt:new Date(t[e(129)]),attributes:t[e(115)],fromVersion:t[e(132)],toVersion:t[e(142)]})}[$(160)](t,e=0){const i=$;this[i(134)][i(155)](t,e)}[$(128)](t){const e=$;return this[e(134)][e(139)](t)}[$(163)](t={toJSON:!1}){const e=$,i=Array[e(112)](this[e(134)]);return i[e(113)](),t[e(146)]?i[e(119)]((t=>t[e(146)]())):i}[$(140)](t){const e=$;return this[e(134)][e(140)](t)}[$(144)](t){const e=$,[,i]=this[e(166)](t,{direction:e(122)});return i}[$(131)](t){const e=$,[,i]=this[e(166)](t,{direction:e(157)});return i}[$(130)](t){const e=$,i=[];for(const s of this[e(166)](t[e(158)]))if(i[e(116)](s),s.id===t[e(150)])break;return i}*[$(166)](t,{direction:e=$(122),filter:i=()=>!0}={}){const s=$,n=s(122)===e?1:-1;let r=this[s(134)][s(139)](t),o=this[s(140)](r);for(yield r;r;){if(o+=n,r=this[s(128)](o),!r)return;i(r)&&(yield r)}}}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return Q(t,e,r,o)}return Q(t,e,r,o)}function Q(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,T)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&Q(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&Q(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(Q(t.constructor,i.constructor,s,T)||G(t)&&G(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function X(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,X)}const et=ct;!function(t){const e=ct,i=t();for(;;)try{if(512363===parseInt(e(313))/1*(parseInt(e(260))/2)+parseInt(e(421))/3+-parseInt(e(490))/4+parseInt(e(286))/5*(parseInt(e(282))/6)+-parseInt(e(527))/7*(-parseInt(e(461))/8)+parseInt(e(361))/9+-parseInt(e(518))/10*(parseInt(e(285))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lt);const it={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class st extends W.Plugin{[et(249)];[et(474)];[et(297)];[et(404)];[et(315)];[et(303)];[et(290)];[et(531)];[et(391)];[et(410)];[et(526)];[et(267)];[et(468)];static get[et(459)](){return et(300)}static get[et(352)](){return!0}static get[et(274)](){return!0}static get[et(535)](){return[Z.Users,Y,W.PendingActions]}constructor(e){const i=et;super(e),this[i(297)]=null,this[i(404)]=null,this[i(303)]=new rt(this[i(486)]),this[i(531)]=this[i(486)][i(345)][i(561)](i(263))||i(505),this[i(391)]=new Map,this[i(468)]=null;const s=(0,t.uid)();this[i(290)]={history:this[i(486)][i(407)][i(350)][i(460)],getLatestVersion:()=>Promise[i(516)](this[i(486)][i(407)][i(350)][i(524)]),getCurrentRevisionId:()=>s},this[i(530)](i(353),!1),this[i(530)](i(504),!0),this[i(530)](i(266),!1),this[i(486)][i(345)][i(520)](i(449),!0),this[i(486)][i(569)][i(268)](i(346))[i(329)]({view:i(376)})}[et(570)](){const t=et;this[t(315)]=this[t(486)][t(549)][t(561)](t(295)),this[t(412)](),this[t(486)][t(342)].on(t(528),(()=>{const e=t,i=this[e(315)][e(458)](0),s=i&&null===i[e(523)]?i:null;if(this[e(526)]=!!s&&this[e(486)][e(345)][e(561)](e(449)),this[e(486)][e(549)][e(293)](e(536))){const t=this[e(290)][e(507)](),n=this[e(315)][e(458)](t);if(n)this[e(267)]=n[e(279)],this[e(526)]=!1;else{const t=this[e(290)][e(460)][e(385)][e(506)]((t=>!t[e(446)])),n=t?t[e(557)]:this[e(290)][e(460)][e(524)];i?(i[e(360)]<n&&i[e(472)]({toVersion:n}),this[e(526)]?(this[e(290)][e(507)]=()=>s.id,this[e(267)]=s[e(279)]):(this[e(267)]=i[e(360)],this[e(526)]=!1)):(this[e(267)]=n,this[e(526)]=!1)}}else s&&(this[e(486)][e(407)][e(350)][e(460)][e(524)]=Math[e(272)](s[e(360)],this[e(486)][e(407)][e(350)][e(460)][e(524)]),s[e(279)]===s[e(360)]?(0!==s[e(279)]&&(this[e(290)][e(507)]=()=>s.id),this[e(526)]=!1):this[e(526)]&&(this[e(290)][e(507)]=()=>s.id,this[e(267)]=s[e(279)])),this[e(526)]||(this[e(267)]=this[e(486)][e(407)][e(350)][e(524)]);this[e(303)][e(570)](this[e(290)][e(460)]),this[e(343)](this[e(267)]),this[e(470)](this[e(267)]),this[e(297)]&&this[e(395)]()})),this[t(378)](t(353)).to(this,t(266),(t=>!t)),this[t(249)]=this[t(486)][t(345)][t(561)](t(249));const e=this[t(486)];this[t(474)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(559)==r||i(464)==r||i(408)==r||i(414)==r||i(306)==r||i(499)==r||i(344)==r||i(416)==r){delete e[n],s=r,clearInterval(this[i(474)]),this[i(474)]=void 0;break}}i(464)==s&&e[i(254)](i(509)),i(408)==s&&e[i(254)](i(259)),i(414)==s&&e[i(254)](i(348)),i(306)==s&&e[i(254)](i(565),i(332)),i(499)==s&&e[i(254)](i(339)),i(344)==s&&e[i(254)](i(487)),i(416)==s&&e[i(254)](i(537))}),1e3)}async[et(555)](){const t=et;if(this[t(315)][t(558)]>0){const e=this[t(315)][t(458)](0),i=await this[t(418)](e),s=await this[t(317)](e);this[t(548)](i,s)}}[et(368)](){const t=et;super[t(368)](),this[t(474)]&&clearInterval(this[t(474)])}[et(440)](t){this[et(290)]=t}async[et(560)](){const t=et,e=await this[t(290)][t(373)]();if(e>this[t(404)][t(360)]){await this[t(379)]();const i=this[t(488)]({revision:this[t(404)],to:e});i[t(438)]=i[t(539)][t(442)]((e=>this[t(486)][t(549)][t(561)](t(253))[t(511)](e))),this[t(404)][t(472)](i)}}async[et(379)](){const t=et;this[t(526)]&&!this[t(468)]&&(await this[t(437)](this[t(404)]),this[t(303)][t(522)](this[t(404)]),this[t(468)]={fromVersion:this[t(404)][t(279)],authors:this[t(404)][t(438)][t(312)]()})}async[et(556)](e={},i=null){const s=et,n=[];await this[s(379)](),this[s(526)]=!1,i>this[s(404)][s(360)]&&(i=null),null===i&&(i=await this[s(290)][s(373)]());const r=this[s(476)](i),o=this[s(488)]({from:r,to:i});if(this[s(404)][s(360)]<i){const t=this[s(488)]({revision:this[s(404)],from:i,to:i});t[s(438)]=[],t[s(539)]=[],t.id=this[s(404)].id,this[s(404)][s(472)](t,!0),delete t[s(438)],n[s(479)](t)}e[s(485)]=this[s(486)][s(549)][s(561)](s(253)).me.id,e[s(422)]=e[s(422)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(463)](e);n[s(479)](e);const c=this[s(315)][s(455)](a);if(0!==c){const t=this[s(315)][s(458)](c-1);if(t[s(279)]!==i){const r=this[s(303)][s(298)](i,t[s(360)]),o={id:t.id,diffData:r[s(333)],authorsIds:r[s(539)],authors:r[s(539)][s(442)]((t=>this[s(486)][s(549)][s(561)](s(253))[s(511)](t))),fromVersion:i};t===this[s(404)]&&(o[s(542)]=new Date(e[s(542)][s(255)]()+10)),t[s(472)](o,!0),delete o[s(438)],n[s(479)](o)}}if(this[s(297)]){for(const t of n)this[s(358)](t.id,t,!0);this[s(395)]()}return a}[et(463)](t){const e=et,i=this[e(315)][e(553)](t);return this[e(297)]&&i.on(e(472),((t,i,s)=>{const n=e;s||(this[n(358)](i.id,i,!0),this[n(395)]())})),this[e(315)][e(334)](i,this[e(552)](i)),i}async[et(418)](t){const e=et;await this[e(437)](t);const i={};for(const s in t[e(333)]){if(t[e(333)][s][e(273)]&&!t[e(333)][s][e(273)][e(532)])continue;const n=this[e(482)](JSON[e(288)](t[e(333)][s][e(541)])),r=this[e(486)][e(491)][e(513)][e(350)],o=new H.ViewDocumentFragment(r,n[e(442)]((t=>nt(t,this[e(486)]))));this[e(486)][e(342)][e(375)][e(417)](e(394)),i[s]=this[e(486)][e(342)][e(375)][e(423)](o),this[e(486)][e(342)][e(375)][e(417)](e(401))}return i}async[et(317)](t){const e=et;await this[e(437)](t);const i={};for(const s in t[e(333)])t[e(333)][s][e(273)]&&!t[e(333)][s][e(273)][e(532)]||(i[s]=t[e(333)][s][e(427)]||{});return i}[et(395)](){const t=et;if(0===this[t(391)][t(400)])return;if(this[t(266)])return;let e=Array[t(415)](this[t(391)][t(426)]());this[t(391)][t(480)]();for(let i=0;i<e[t(558)];i++){const s=e[i];let n=!1;for(const e of Object[t(406)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(525)]((t=>null!==t)),!e[t(558)])return;for(let i=0;i<e[t(558)];i++){const s=e[i];void 0!==s[t(279)]&&void 0===s[t(360)]&&(s[t(360)]=this[t(315)][t(458)](s.id)[t(360)]),void 0!==s[t(360)]&&void 0===s[t(279)]&&(s[t(279)]=this[t(315)][t(458)](s.id)[t(279)])}const i=this[t(486)][t(345)][t(561)](t(263));this[t(266)]=!0,this[t(413)](),this[t(297)][t(319)](e,i)[t(370)]((()=>{this[t(266)]=!1}))[t(540)]((e=>{const i=t;if(e)for(const t of e)this[i(336)]({id:t.id,createdAt:t[i(542)]});this[i(252)](),this[i(395)]()}))}[et(548)](e,i){const s=et;let n=this[s(486)][s(345)][s(561)](s(517)),r=this[s(486)][s(345)][s(561)](s(357));if(void 0===n){n={};for(const t of this[s(486)][s(407)][s(350)][s(308)]())n[t]=""}if(s(365)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(486)][s(407)][s(350)][s(308)]())r[t]={}}let o=!1;const a=Object[s(406)](n),c=Object[s(406)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(566)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(406)](r[t])[s(558)]>0){o=!0;break}}o||(o=c[s(484)]((t=>!this[s(486)][s(407)][s(350)][s(363)](t)))),o&&(0,t.logWarning)(s(424),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(486)][s(345)][s(530)](s(517),e),this[s(486)][s(345)][s(530)](s(357),i)}[et(413)](){const t=et;if(!this[t(410)]){const e=this[t(486)][t(549)][t(561)](t(434));this[t(410)]=e[t(396)](J(this[t(486)][t(354)],t(323)))}}[et(252)](){const t=et;this[t(410)]&&(this[t(486)][t(549)][t(561)](t(434))[t(501)](this[t(410)]),this[t(410)]=null)}[et(552)](t){const e=et,i=this[e(315)][e(387)]();i[e(538)]();let s=0;for(;s<i[e(558)];){const n=i[s];if(n===this[e(404)]){s++;continue}if(n.id===this[e(531)])break;const r=t[e(360)]-n[e(360)]||t[e(279)]-n[e(279)];if(r>0)break;if(r<0)s++;else{if(!t[e(523)]&&n[e(523)])break;if(n[e(523)]||!t[e(523)]){if(t[e(542)]>n[e(542)])break;s++}else s++}}return s}[et(336)](t){const e=et,i=this[e(315)][e(458)](t.id);if(t[e(542)]&&(t[e(542)]=new Date(t[e(542)])),t[e(539)]){const i=this[e(486)][e(549)][e(561)](e(253));t[e(438)]=t[e(539)][e(442)]((t=>i[e(511)](t)))}i[e(472)](t,!0)}[et(488)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(279)],i=null!==i?i:t[s(360)];const n=this[s(303)][s(298)](e,i),r={diffData:n[s(333)],authorsIds:n[s(539)],fromVersion:e,toVersion:i};if(!t||i!==t[s(360)]){const t=i-1,e=this[s(290)][s(460)][s(512)](t);r[s(542)]=e&&e[s(542)]||new Date}if(this[s(468)]&&e===this[s(468)][s(279)])for(const t of this[s(468)][s(438)])r[s(539)][s(452)](t.id)||r[s(539)][s(479)](t.id);return r}[et(437)](t){const e=et;if(!t||t[e(333)])return Promise[e(516)]();{const i=this[e(486)][e(345)][e(561)](e(263));return this[e(297)][e(458)]({channelId:i,revisionId:t.id})[e(540)]((i=>{const s=e;t[s(333)]=i[s(333)]}))}}[et(358)](t,e,i){const s=et;if(this[s(391)][s(293)](t)){const n=this[s(391)][s(561)](t);e=i?{...n,...e}:{...e,...n}}this[s(391)][s(530)](t,e)}[et(476)](t){const e=et,i=this[e(315)][e(387)]();i[e(538)](),i[e(316)]();const s=i[e(506)]((i=>i[e(360)]<=t))[e(360)];return s<this[e(267)]?this[e(267)]:s}[et(343)](t){const e=et,i=this[e(315)][e(458)](this[e(315)][e(558)]-1);if(i)this[e(531)]=i.id;else{const i=!this[e(486)][e(407)][e(350)][e(251)][e(506)]((t=>this[e(486)][e(407)][e(362)](t))),s=this[e(486)][e(549)][e(561)](e(253)).me.id,n=J(this[e(486)][e(354)],e(i?445:326));this[e(356)]({from:t,to:t,id:this[e(531)],name:n,creatorId:s})}}[et(470)](t){const e=et,i=this[e(290)][e(507)]();this[e(404)]=this[e(315)][e(458)](i),this[e(404)]||(this[e(404)]=this[e(356)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(356)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(488)]({from:e,to:i});o[r(422)]=t,o[r(485)]=s,o.id=n;const a=this[r(463)](o);return this[r(297)]&&this[r(358)](o.id,o,!0),a}[et(412)](){const t=et;this[t(486)][t(569)][t(268)](t(310))[t(533)]({model:t(376)})}[et(482)](t){const e=et;return(t=t[e(525)]((t=>!t[e(422)]||e(473)!==t[e(422)]&&e(304)!==t[e(422)])))[e(389)]((t=>{const i=e;i(365)!=typeof t&&(t[i(497)]=this[i(482)](t[i(497)]),t[i(444)]=t[i(444)][i(525)]((t=>!t[0][i(515)](i(331)))))})),t}}function nt(t,e){const i=et,s=e[i(491)][i(513)][i(350)];if(i(365)==typeof t)return new H.ViewText(s,t);{const n=t[i(497)][i(442)]((t=>nt(t,e)));return new(it[t[i(284)]]||H.ViewElement)(s,t[i(422)],t[i(444)],n)}}class rt{[et(486)];[et(456)];[et(547)];[et(420)];[et(292)];[et(305)];[et(302)];[et(364)];[et(277)];[et(271)];[et(382)];[et(465)];[et(309)];[et(349)];[et(299)];[et(289)];[et(493)];constructor(t){const e=et;this[e(486)]=t,this[e(547)]=new Map,this[e(420)]=-1,this[e(292)]=-1,this[e(305)]=new Map,this[e(302)]=new Map,this[e(364)]=new Map,this[e(277)]=new Map,this[e(271)]=new Map,this[e(382)]=new Map,this[e(465)]=new Map,this[e(309)]=new Map,this[e(349)]=new Map,this[e(299)]=new Map,this[e(289)]=1}[et(570)](t){const e=et;this[e(456)]=t;const i=new Map,s=new Map,n=this[e(486)][e(407)][e(350)][e(251)][e(442)]((t=>t[e(250)]));for(const t of n){const n=this[e(486)][e(407)][e(350)][e(363)](t),r=ot(n);i[e(530)](t,r),s[e(530)](t,Object[e(443)](n[e(503)]()))}const r=Array[e(415)](this[e(486)][e(407)][e(411)])[e(442)]((t=>[t[e(422)],t[e(510)]()])),o=this[e(456)][e(524)];this[e(551)](o,i,r,s),this[e(493)]=this[e(289)];const a=new Map,c=new Map;for(const t of n){const i=at(t);a[e(530)](t,i),c[e(530)](t,{})}this[e(551)](Number[e(328)],a,[],c)}[et(298)](t,e){const i=et;if(this[i(420)]===t&&this[i(292)]<=e)this[i(547)][i(400)]>1&&this[i(321)](this[i(292)]),this[i(256)](this[i(292)],e,!0);else{if(!this[i(547)][i(293)](t)){const e=this[i(550)](t);this[i(454)](e,t,!1)}this[i(454)](t,e,!0)}return this[i(420)]=t,this[i(292)]=e,this[i(447)]()}[et(522)](t){const e=et;this[e(269)](),this[e(420)]=t[e(279)],this[e(292)]=t[e(360)];for(const i in t[e(333)]){const s=t[e(333)][i][e(273)],n=A(t[e(333)][i][e(398)])||{},r=this[e(322)](t[e(333)][i][e(374)]);r[e(250)]=i,r[e(431)]=!s||!s[e(532)],r[e(532)]=()=>r[e(431)],this[e(277)][e(530)](i,r),this[e(271)][e(530)](i,n),s&&this[e(299)][e(530)](i,s);const o=this[e(475)](r);this[e(465)][e(530)](i,o);for(const[t,i]of r[e(411)]){if(!t[e(515)](e(296)))continue;const s=t[e(265)](":")[2];for(const t of i[e(466)]({singleCharacters:!0})){const i=this[e(386)](t),n=e(567)==t[e(284)]?t[e(276)][e(543)][e(312)](0,-1):t[e(276)][e(543)],r=o[e(496)](n)[e(450)](i);this[e(309)][e(530)](r,{userId:s})}}}this[e(493)]=this[e(289)];const i=[...Array(this[e(289)])[e(406)]()][e(312)](1)[e(525)]((t=>!this[e(309)][e(293)](t)));let s=0;const n=new Map;for(const r in t[e(333)]){const o=t[e(333)][r][e(273)],a=A(t[e(333)][r][e(427)])||{},c=this[e(322)](t[e(333)][r][e(541)]);c[e(250)]=r,c[e(431)]=!o||o[e(532)],c[e(532)]=()=>c[e(431)],this[e(302)][e(530)](r,c),this[e(364)][e(530)](r,a);const u=this[e(475)](c,Number[e(328)]);this[e(382)][e(530)](r,u),n[e(530)](r,c[e(532)]()?a:{});for(const[t,i]of c[e(411)]){if(!t[e(515)](e(296)))continue;const s=t[e(265)](":")[2];for(const t of i[e(466)]({singleCharacters:!0})){const i=this[e(386)](t),n=this[e(289)]++,r=e(567)==t[e(284)]?t[e(276)][e(543)][e(312)](0,-1):t[e(276)][e(543)];u[e(496)](r)[e(384)](i,n),this[e(309)][e(530)](n,{userId:s})}}for(const t of this[e(486)][e(407)][e(546)](c)[e(466)]({singleCharacters:!0})){const n=this[e(386)](t),r=e(567)==t[e(284)]?t[e(276)][e(543)][e(312)](0,-1):t[e(276)][e(543)],o=u[e(496)](r);o[e(450)](n)>0||o[e(384)](n,i[s++])}for(const[t,i]of c[e(411)])t[e(515)](e(296))||this[e(305)][e(530)](t,i)}const r=at(e(429));this[e(277)][e(530)](e(429),r),this[e(465)][e(530)](e(429),this[e(475)](r,1));const o=at(e(429));this[e(302)][e(530)](e(429),o),this[e(382)][e(530)](e(429),this[e(475)](o,1));const a=Array[e(415)](this[e(302)])[e(442)]((([t,e])=>[t,ot(e)]));this[e(551)](this[e(292)],a,this[e(305)],n)}[et(322)](t){const e=et,i=JSON[e(288)](t),s=this[e(486)][e(491)][e(513)][e(350)],n=new H.ViewDocumentFragment(s,i[e(442)]((t=>nt(t,this[e(486)]))));return this[e(486)][e(342)][e(325)](n)}[et(551)](t,e,i,s){const n=et,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(530)](t,{start:e[n(428)][n(432)](),end:e[n(371)][n(432)](),rootName:e[n(409)][n(250)]});this[n(547)][n(530)](t,{roots:r,markers:a,rootsAttributes:o})}[et(321)](t){const e=et;this[e(547)][e(453)](t)}[et(283)](){const t=et;this[t(269)](),this[t(420)]=-1,this[t(292)]=-1,this[t(547)][t(480)](),this[t(570)](this[t(456)])}[et(269)](){const t=et;this[t(309)][t(480)](),this[t(349)][t(480)](),this[t(299)][t(480)](),this[t(302)][t(480)](),this[t(364)][t(480)](),this[t(277)][t(480)](),this[t(271)][t(480)](),this[t(382)][t(480)](),this[t(465)][t(480)](),this[t(305)][t(480)](),this[t(289)]=1,this[t(493)]=this[t(289)]}[et(475)](t,e=null){const i=et;let s=null;t.is(i(281))||(s=new H.Element(t[i(422)],{vid_start:null===e?this[i(289)]++:e++}));const n=[];for(const s of t[i(508)]())if(s.is(i(554))){n[i(479)](this[i(475)](s,e));const t=n[n[i(558)]-1];null!==e&&(e=t.is(i(554),i(500))?t[i(450)](i(294))+1:t[i(450)](i(436))+1)}else for(let t=0;t<s[i(327)];t++)n[i(479)](new H.Element(i(500),{vid:null===e?this[i(289)]++:e++}));if(t.is(i(281))){const e=at(t[i(250)]);return e[i(402)](0,n),e}return s[i(384)](i(436),null===e?this[i(289)]++:e++),s[i(402)](0,n),s}[et(454)](t,e,i){const s=et;this[s(269)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(547)][s(561)](t);this[s(277)]=new Map(n),this[s(271)]=new Map(A(o));for(const[t,e]of this[s(277)])if(s(429)!==t&&(this[s(302)][s(530)](t,ot(e)),this[s(364)]=new Map(A(o)),i)){const i=this[s(289)];this[s(382)][s(530)](t,this[s(475)](e)),this[s(465)][s(530)](t,this[s(475)](e,i))}this[s(493)]=this[s(289)],this[s(302)][s(530)](s(429),ot(this[s(277)][s(561)](s(429)))),i&&this[s(382)][s(530)](s(429),this[s(475)](this[s(277)][s(561)](s(429))));for(const[t,e]of r){const i=this[s(277)][s(561)](e[s(250)]),n=this[s(302)][s(561)](e[s(250)]),r=new H.Range(this[s(367)](e[s(428)],i),this[s(367)](e[s(371)],i)),o=this[s(430)](r,n);i[s(411)][s(530)](t,r),this[s(305)][s(530)](t,o)}this[s(256)](t,e,i)}[et(256)](t,e,i){const s=et;for(const n of this[s(456)][s(462)](t,e))this[s(498)](n,i);for(const t of this[s(302)][s(426)]())t[s(411)][s(480)]();for(const[t,e]of this[s(305)])this[s(302)][s(561)](e[s(409)][s(250)])[s(411)][s(530)](t,e[s(432)]());const n=new Map,r=new Map;for(const[t,e]of this[s(302)])n[s(530)](t,ot(e)),r[s(530)](t,this[s(364)][s(561)](t));this[s(551)](e,n,this[s(305)],r)}[et(550)](t){const e=et,i=Array[e(415)](this[e(547)][e(406)]());i[e(399)](((t,e)=>t-e)),i[e(538)]();for(const e of i)if(e<t)return e;return Number[e(328)]}[et(324)](t,e){const i=et,s=Array[i(415)](e[i(411)])[i(442)]((([e,s])=>[e,this[i(430)](s,t)]));t[i(411)]=new Map(s)}[et(278)](t){const e=et;for(const i of this[e(305)][e(426)]()){const s=i[e(514)](t),n=H.Range[e(258)](s);i[e(428)]=n[e(428)],i[e(371)]=n[e(371)]}}[et(498)](t,e){const i=et;if(i(261)!=t[i(284)]&&i(492)!=t[i(284)]){if(i(439)==t[i(284)]){const s=t[i(351)][i(409)][i(250)];this[i(302)][i(293)](s)||(this[i(302)][i(530)](s,at(s,!0)),this[i(364)][i(530)](s,{}),e&&this[i(382)][i(530)](s,at(s,!0)))}else{if(i(330)==t[i(284)]||i(390)==t[i(284)]||i(397)==t[i(284)])return void this[i(563)](t);i(494)==t[i(284)]&&this[i(372)](t)}if(i(494)!==t[i(284)]){const e=this[i(435)](t,this[i(302)]);e[i(425)](),this[i(278)](e)}if(e)switch(t[i(284)]){case i(439):this[i(544)](t);break;case i(335):case i(501):case i(369):this[i(419)](t);break;case i(403):this[i(545)](t);break;case i(265):this[i(380)](t)}}else this[i(457)](t,e)}[et(435)](t,e){const i=et,s=t[i(432)]();return s[i(481)]=t[i(481)],this[i(483)](s,e),s}[et(451)](t){const e=et;return t[e(442)]((t=>{const i=e,s=this[i(386)](t);return Number(t[i(275)][i(450)](s))}))}[et(338)](t,e){const i=et;if(t.is(i(554),i(500)))e[i(479)]({item:t,type:i(264)});else{t.is(i(554))&&e[i(479)]({item:t,type:i(377)});for(const s of t[i(508)]())this[i(338)](s,e);t.is(i(554))&&e[i(479)]({item:t,type:i(567)})}return e}[et(447)](){const t=et,e=new Map(this[t(309)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(277)][t(406)](),...this[t(302)][t(406)]()]);a[t(453)](t(429));for(const e of a){const i=this[t(302)][t(561)](e)||at(e,!1),s=this[t(277)][t(561)](e)||at(e,!1);i[t(532)]()||s[t(532)]()?(n[t(541)][e]=ot(i),n[t(374)][e]=ot(s),this[t(324)](n[t(374)][e],s),this[t(324)](n[t(541)][e],i),r[t(541)][e]=this[t(338)](this[t(382)][t(561)](e),[]),r[t(374)][e]=this[t(338)](this[t(465)][t(561)](e)||at(e,!1),[])):a[t(453)](e)}for(const n of a){const o=r[t(541)][n];for(const n of o){const r=this[t(386)](n),o=n[t(275)][t(450)](r);i[t(453)](o),o>=this[t(493)]&&s[t(530)](o,e[t(561)](o))}}for(const n of a){const a=r[t(541)][n],c=this[t(451)](r[t(374)][n]);let u=0;for(const n of a){const r=this[t(386)](n),a=n[t(275)][t(450)](r);if(!s[t(293)](a)&&!o[t(293)](a))if(i[t(293)](a))u++;else{if(a!=c[u]){const s=e[t(561)](a)||e[t(561)](c[u]);for(;a!=c[u];)i[t(293)](c[u])||(o[t(530)](c[u],s),e[t(530)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(541)][e];for(const e of n){const n=this[t(386)](e),r=e[t(275)][t(450)](n);if(o[t(293)](r)){const e=o[t(561)](r);i[t(293)](r)||i[t(530)](r,{...e}),s[t(530)](r,{...e})}}}for(const e of i[t(406)]())e>=this[t(493)]&&i[t(453)](e);const c=new Map;for(const e of a){let n=r[t(541)][e];for(const e of n)if(e[t(275)].is(t(554),t(388))){const i=this[t(386)](e),n=e[t(275)][t(450)](i);if(s[t(293)](n)){const i=e[t(275)][t(280)][t(280)][t(450)](t(287)),r=c[t(561)](i)||new Set;r[t(396)](s[t(561)](n)[t(521)]),c[t(530)](i,r)}}n=r[t(374)][e];for(const e of n)if(e[t(275)].is(t(554),t(388))){const s=this[t(386)](e),n=e[t(275)][t(450)](s);if(i[t(293)](n)){const s=e[t(275)][t(280)][t(280)][t(450)](t(287)),r=c[t(561)](s)||new Set;r[t(396)](i[t(561)](n)[t(521)]),c[t(530)](s,r)}}for(const e of c[t(406)]())(s[t(293)](e)||i[t(293)](e))&&c[t(453)](e)}for(const e of a){const n=r[t(541)][e];let o=null,a=null;for(const e of n){const n=this[t(386)](e),r=e[t(275)][t(450)](n),u=c[t(561)](r);u&&t(377)==e[t(284)]&&(o=Array[t(415)](u)[0],a=e[t(275)][t(450)](t(436))),o&&(i[t(530)](r,{userId:o}),s[t(530)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(374)][e],a=n[t(541)][e];for(const{userId:e}of this[t(349)][t(426)]())null!==e&&l[t(396)](e);for(const{userId:e}of this[t(299)][t(426)]())null!==e&&l[t(396)](e);this[t(301)](a,r[t(541)][e],s,t(478),l),this[t(301)](o,r[t(374)][e],i,t(257),l),u[e]={insertions:this[t(564)](a),deletions:this[t(564)](o),attachChange:this[t(299)][t(561)](e)||null,attributesBefore:A(this[t(271)][t(561)](e))||{},attributesAfter:A(this[t(364)][t(561)](e))}}return{diffData:u,authorsIds:Array[t(415)](l)}}[et(270)](t){const e=et;for(const[,i]of t[e(411)]){const t=i[e(428)][e(502)]()[e(525)]((t=>e(388)==t[e(422)]));for(const i of t)1==i[e(529)]&&i[e(562)](0).is(e(554),e(393))&&i[e(562)](0)[e(384)](e(341),!0)}}[et(564)](t){const e=et;this[e(270)](t);const i=this[e(486)][e(342)][e(262)](t,{}),s=Array[e(415)](i[e(508)]())[e(442)]((t=>this[e(291)](t)));return JSON[e(307)](s)}[et(291)](t){const e=et;if(t.is(e(500)))return t[e(342)];{const i=t;return{type:Object[e(406)](it)[e(506)]((e=>t instanceof it[e])),name:i[e(422)],attributes:Array[e(415)](i[e(503)]()),children:Array[e(415)](i[e(508)]())[e(442)]((t=>this[e(291)](t)))}}}[et(301)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(486)][r(407)];for(let s=0;s<e[r(558)];s++){const n=this[r(386)](e[s]),c=e[s][r(275)][r(450)](n),h=i[r(561)](c),d=s==e[r(558)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(521)]!=o[r(521)])&&(l(h,ut(a,t,u),ut(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ut(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(521)],d=l(296)+s+":"+h+":"+c++,f=u[l(314)](i,a);t[l(411)][l(530)](d,f),null!==h&&n[l(396)](h)}}[et(386)](t){const e=et;switch(t[e(284)]){case e(377):return e(287);case e(567):return e(436);default:return e(294)}}[et(483)](t,e){const i=et;t[i(557)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(561)](n[i(409)][i(250)]);t[s]=this[i(367)](n,r)}if(n instanceof H.Range){const r=e[i(561)](n[i(409)][i(250)]);t[s]=this[i(430)](n,r)}i(409)===s&&(t[i(409)]=e[i(561)](t[i(409)][i(250)]))}}[et(430)](t,e){const i=et;return this[i(486)][i(407)][i(314)](this[i(367)](t[i(428)],e),this[i(367)](t[i(371)],e))}[et(367)](t,e){const i=et;return this[i(486)][i(407)][i(320)](e,t[i(543)],t[i(469)])}[et(544)](t){const e=et,i=this[e(382)][e(561)](t[e(351)][e(409)][e(250)]),s=this[e(367)](t[e(351)],i),n=null===t[e(481)]?null:t[e(481)]||this[e(486)][e(549)][e(561)](e(253)).me.id,r=s[e(280)],o=this[e(289)],a=[];for(const i of t[e(467)])if(i.is(e(554)))a[e(479)](this[e(475)](i));else for(let t=0;t<i[e(327)];t++)a[e(479)](new H.Element(e(500),{vid:this[e(289)]++}));const c=this[e(289)];for(let t=o;t<c;t++)this[e(309)][e(530)](t,{userId:n});r[e(402)](s[e(355)],a)}[et(419)](t){const e=et;(t=this[e(435)](t,this[e(382)]))[e(425)]();const i=null===t[e(481)]?null:t[e(481)]||this[e(486)][e(549)][e(561)](e(253)).me.id,s=t[e(471)](),n=s[e(280)],r=s[e(355)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(562)](e);r.is(a(554),a(500))?s[a(530)](r[a(450)](a(294)),{userId:i}):(s[a(530)](r[a(450)](a(287)),{userId:i}),t(s,r,0,r[a(529)]),s[a(530)](r[a(450)](a(436)),{userId:i}))}}(this[e(309)],n,r,r+t[e(534)])}[et(545)](t){const e=et,i=null===(t=this[e(435)](t,this[e(382)]))[e(481)]?null:t[e(481)]||this[e(486)][e(549)][e(561)](e(253)).me.id,s=t[e(441)][e(280)],n=t[e(495)][e(280)],r=s[e(450)](e(436)),o=n[e(450)](e(287));s[e(384)](e(436),n[e(450)](e(436))),n[e(384)](e(436),r),this[e(309)][e(530)](o,{userId:i}),this[e(309)][e(530)](r,{userId:i}),t[e(425)]()}[et(380)](t){const e=et,i=null===(t=this[e(435)](t,this[e(382)]))[e(481)]?null:t[e(481)]||this[e(486)][e(549)][e(561)](e(253)).me.id,s=t[e(311)],n=t[e(337)][e(280)];t[e(425)]();const r=n[e(450)](e(436)),o=t[e(405)][e(366)];if(s){const t=o[e(450)](e(436)),s=n[e(450)](e(436));n[e(384)](e(436),t),o[e(384)](e(436),s),this[e(309)][e(530)](n[e(450)](e(436)),{userId:i}),this[e(309)][e(530)](o[e(450)](e(287)),{userId:i})}else{const t=this[e(289)]++,s=this[e(289)]++;n[e(384)](e(436),t),o[e(384)](e(287),s),o[e(384)](e(436),r),this[e(309)][e(530)](t,{userId:i}),this[e(309)][e(530)](s,{userId:i})}}[et(372)](t){const e=et;if(!t[e(359)])return;const i=(t=this[e(435)](t,this[e(302)]))[e(433)]?t[e(433)][e(409)]:null,s=t[e(568)]?t[e(568)][e(409)]:null;i&&this[e(305)][e(453)](t[e(422)]),s&&this[e(305)][e(530)](t[e(422)],t[e(568)][e(432)]());const n=null===t[e(481)]?null:t[e(481)]||this[e(486)][e(549)][e(561)](e(253)).me.id,r=t[e(422)];if(!this[e(349)][e(293)](r))return void this[e(349)][e(530)](r,{range:t[e(433)],userId:n});const o=this[e(349)][e(561)](r),a=o[e(340)],c=t[e(568)];null==a&&null==c||a&&c&&a[e(347)](c)?this[e(349)][e(453)](t[e(422)]):o[e(521)]=n}[et(457)](t,e){const i=et;this[i(302)][i(293)](t[i(250)])?this[i(302)][i(561)](t[i(250)])[i(431)]=t[i(448)]:(this[i(302)][i(530)](t[i(250)],at(t[i(250)],!0)),this[i(364)][i(530)](t[i(250)],{}),e&&this[i(382)][i(530)](t[i(250)],at(t[i(250)],!0)));const s=null===t[i(481)]?null:t[i(481)]||this[i(486)][i(549)][i(561)](i(253)).me.id,n=this[i(299)][i(561)](t[i(250)]);n&&n[i(521)]===s?this[i(299)][i(453)](t[i(250)]):this[i(299)][i(530)](t[i(250)],{userId:s,isAttached:t[i(448)]})}[et(563)](t){const e=et,i=this[e(364)][e(561)](t[e(409)][e(250)]);null===t[e(392)]?delete i[t[e(383)]]:i[t[e(383)]]=t[e(392)]}}function ot(t){const e=et,i=at(t[e(250)],t[e(532)]());for(const s of t[e(508)]()){const t=s[e(381)](!0);i[e(519)](t)}return i}function at(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(250)]=t,s[i(431)]=e,s[i(532)]=()=>s[i(431)],s}function ct(t,e){const i=lt();return(ct=function(t,e){return i[t-=249]})(t,e)}function ut(t,e,i){const s=et,n=s(567)==t[s(284)]?i[s(477)](t[s(275)],s(371)):i[s(318)](t[s(275)]);return i[s(320)](e,n[s(543)],n[s(469)])}function lt(){const t=["requires","RealTimeCollaborationClient","usageLimit","reverse","authorsIds","then","insertions","createdAt","path","_handleInsertOperation","_handleMergeOperation","createRangeIn","_savedMetaData","_replaceEditorDataWithRevisionData","plugins","_getPreviousFrom","_saveMetaData","_findInsertionIndex","createRevision","element","afterInit","saveRevision","baseVersion","length","revisionHistoryLicenseKeyValid","update","get","getChild","_handleRootAttributeOperation","_prepareViewToSave","featureNotAllowed","trim","elementEnd","newRange","conversion","init","licenseKey","rootName","roots","_removePendingAction","Users","_showLicenseError","getTime","_applyOperations","deletion","_createFromRanges","expired","1805670mlOJtR","addRoot","toView","collaboration.channelId","text","split","_isPendingUpdate","_startingVersion","for","_reset","_processRootBeforeSave","_baseRootsAttributes","max","attachChange","isPremiumPlugin","item","previousPosition","_baseRoots","_transformMarkers","fromVersion","parent","documentFragment","3784380Rdduaf","reInit","type","11CimFAl","5bxqugd","vid_start","parse","_revisionId","_source","_getViewJson","_lastTo","has","vid","RevisionsRepository","revision:","adapter","getData","_touchedRoots","RevisionTracker","_markChanges","_diffRoots","_revisionDataBuilder","revision-end","_markers","revisionHistoryLicenseKeyNotAllowed","stringify","getRootNames","_touched","dataDowncast","graveyardPosition","slice","1pGKgdT","createRange","repository","shift","getRevisionRootsAttributes","createPositionBefore","updateRevisions","createPositionFromPath","_removeMetaData","_makeModelFromViewString","PENDING_ACTION_REVISION_HISTORY","_copyMarkers","toModel","Initial revision","offsetSize","NEGATIVE_INFINITY","dataToMarker","addRootAttribute","data-revision-","RevisionHistory","diffData","addRevision","move","setRevisionData","splitPosition","_generateTape","evaluationLimit","range","keepParagraph","data","_createInitialRevision","revisionHistoryLicenseKeyTrialLimit","config","upcast","isEqual","domainLimit","_touchedMarkers","document","position","isOfficialPlugin","isReady","locale","offset","_makeRevision","rootsAttributes","_bufferUpdate","affectsData","toVersion","5322636FeGxbN","hasContent","getRoot","_diffRootsAttributes","string","nodeAfter","_fixPosition","destroy","reinsert","finally","end","_handleMarkerOperation","getLatestVersion","deletions","processor","revision","elementStart","bind","_loadState","_handleSplitOperation","_clone","_idsRoots","key","_setAttribute","_operations","_getVidAttributeName","getRevisions","tableCell","forEach","removeRootAttribute","_bufferedUpdates","newValue","paragraph","marked","sendBufferedUpdates","add","changeRootAttribute","attributesBefore","sort","size","default","_insertChild","merge","currentRevision","insertionPosition","keys","model","revisionHistoryLicenseKeyExpired","root","_pendingAction","markers","_setConversion","_addPendingAction","revisionHistoryLicenseKeyDomainLimit","from","revisionHistoryLicenseKeyUsageLimit","useFillerType","getRevisionDocumentData","_handleMoveOperation","_lastFrom","701013mhLXqp","name","toData","editor-initial-data-replaced-with-revision-data","_execute","values","attributesAfter","start","$graveyard","_fixRange","_isAttached","clone","oldRange","PendingActions","_cloneOperation","vid_end","_loadRevisionData","authors","insert","setSource","targetPosition","map","fromEntries","attributes","Empty document","_isInit","_getState","isAdd","revisionHistory.resumeUnsavedRevision","getAttribute","_getBaseVids","includes","delete","_calculateMetaData","getIndex","source","_handleRootOperation","getRevision","pluginName","history","8zQSfKT","getOperations","addRevisionData","revisionHistoryLicenseKeyInvalid","_baseIdsRoots","getWalker","nodes","_loadedStateData","stickiness","_createCurrentRevision","getMovedRangeStart","_update","revision-start","_licenseKeyCheckInterval","_makeIdsRoot","_getFromVersion","createPositionAt","insertion","push","clear","_authorId","_removeRevisionMarkers","_fixOperation","some","creatorId","editor","trialLimit","buildRevisionData","createPositionAfter","1767192QPPnQT","editing","detachRoot","_startingRevisionId","marker","sourcePosition","getNodeByPath","children","_handleOperation","revisionHistoryLicenseKeyEvaluationLimit","$text","remove","getAncestors","getAttributes","isEnabled","initial","find","getCurrentRevisionId","getChildren","invalid","getRange","getUser","getOperation","view","getTransformedByOperation","startsWith","resolve","initialData","19346930yHQmPF","_appendChild","define","userId","loadState","creator","version","filter","_continueCurrentRevision","3711498zUYkvn","ready","childCount","set","_initialRevisionId","isAttached","markerToData","howMany"];return(lt=function(){return t})()}function ht(t,e,i){const s=et,n=s(377)==t[s(284)]?i[s(477)](t[s(275)],0):i[s(489)](t[s(275)]);return i[s(320)](e,n[s(543)],n[s(469)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var xt=i(959),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=wt(),Tt.insert=kt().bind(null,"head"),Tt.domAPI=gt(),Tt.insertStyleElement=It();pt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;const Nt=Rt;function Rt(t,e){const i=Mt();return(Rt=function(t,e){return i[t-=428]})(t,e)}!function(t){const e=Rt,i=t();for(;;)try{if(379086===parseInt(e(446))/1+parseInt(e(462))/2+-parseInt(e(445))/3+parseInt(e(438))/4*(parseInt(e(435))/5)+parseInt(e(437))/6+-parseInt(e(461))/7+parseInt(e(444))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class At extends ft.View{[Nt(450)];[Nt(467)];[Nt(463)];constructor(e,i){const s=Nt;super(e),this[s(450)]=new t.FocusTracker,this[s(467)]=new t.KeystrokeHandler,this[s(434)](s(459),""),this[s(463)]=this[s(466)](i),this[s(455)]({tag:s(443),attributes:{class:["ck",s(430),s(468)],tabindex:"-1"},children:[this[s(463)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(460)](){const t=Nt;super[t(460)](),(0,ft.submitHandler)({view:this}),this[t(450)][t(451)](this[t(463)][t(441)]),this[t(467)][t(449)](this[t(441)]);const e=e=>e[t(448)]();this[t(467)][t(434)](t(431),e),this[t(467)][t(434)](t(429),e),this[t(467)][t(434)](t(442),e),this[t(467)][t(434)](t(454),e)}[Nt(428)](){const t=Nt;this[t(463)][t(428)]()}get[Nt(458)](){const t=Nt;return this[t(463)][t(436)][t(441)][t(465)][t(452)]()}set[Nt(458)](t){const e=Nt;this[e(463)][e(436)][e(441)][e(465)]=t[e(452)]()}[Nt(447)](){const t=Nt;this[t(463)][t(436)][t(441)][t(465)]="",this[t(463)][t(464)]=null}[Nt(466)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(456)],ft.createLabeledInputText),s=i[e(436)];s[e(440)]({attributes:{maxlength:e(457)}});let n=J(this[e(456)],e(453));return!t&&(n+=" ("+J(this[e(456)],e(432))+")"),i[e(439)]=n,s.on(e(433),(()=>{const t=e;this[t(459)]=s[t(441)][t(465)][t(452)]()})),i}}function Mt(){const t=["fieldView","1187022zjadzC","4jmSkGH","label","extendTemplate","element","arrowup","form","726552xbtjan","935646nqJVrh","91942wFyTom","reset","stopPropagation","listenTo","focusTracker","add","trim","Name of the revision","arrowdown","setTemplate","locale","220","revisionName","revisionNameInputValue","render","1047949KCzsCl","505126khySMJ","revisionNameInputView","errorText","value","_createRevisionNameInput","keystrokes","ck-responsive-form","focus","arrowleft","ck-revision-history-save-revision-form","arrowright","optional","input","set","1037570NlCaZb"];return(Mt=function(){return t})()}function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=254]})(t,e)}const Et=Vt;function Dt(){const t=["execute","Cancel","config","RevisionTracker","render","isReady","revisionName","Open revision history","isOpen","addMany","menuBar:revisionHistory","13830APmzBC","Revision history","revisionHistory.requireRevisionName","componentFactory","743716ZFOvQL","65TVkvED","The revision name cannot be empty.","Dialog","show","children","locale","Accept","isOfficialPlugin","isReadOnly","get","4676856nPlZbp","add","init","bind","8eaaXUI","panelView","revisionSave","_saveRevisionFormView","saveRevision","buttonView","hide","875762baibDe","reset","isPremiumPlugin","editing","3065ENiWkn","set","11778lYdBvq","_showDialog","9xTRTuZ","_registerMenuComponent","revisionHistory","1sqYNiA","4690343PeNFKs","plugins","menu","requires","pluginName","submit","showRevisionViewerCallback","revisionNameInputView","errorText","view","3674iZDOEk","3787848aeBRGA","items","ck-button-action","RevisionHistoryUI","isEnabled","Save current revision","_createSaveRevisionFormView","menuitem","role","editor","delegate","focus"];return(Dt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(652532===parseInt(e(297))/1*(-parseInt(e(286))/2)+parseInt(e(294))/3*(parseInt(e(264))/4)+parseInt(e(290))/5*(-parseInt(e(292))/6)+parseInt(e(298))/7+parseInt(e(279))/8*(-parseInt(e(309))/9)+-parseInt(e(260))/10*(parseInt(e(308))/11)+parseInt(e(275))/12*(parseInt(e(265))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends W.Plugin{static get[Et(302)](){return Et(312)}static get[Et(272)](){return!0}static get[Et(288)](){return!0}static get[Et(301)](){return[st]}[Et(282)];[Et(277)](){const t=Et,e=this[t(318)],i=e[t(299)][t(274)](t(324));e.ui[t(263)][t(276)](t(296),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(280)][n(269)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(278)](n(313)).to(i,n(254),i,n(313),e,n(273),((t,e,i)=>t&&e&&!i)),r[n(284)][n(291)]({icon:dt.IconHistory,label:J(s,n(261)),tooltip:!0}),u[n(291)]({label:J(s,n(314)),withText:!0,role:n(316)}),u[n(278)](n(313)).to(i,n(254),i,n(313),e,n(273),((t,e,i)=>t&&e&&!i)),u.on(n(321),(()=>this[n(293)]())),h[n(291)]({label:J(s,n(256)),withText:!0,role:n(316)}),h[n(278)](n(313)).to(i,n(254),e,n(273),((t,e)=>t&&!e)),h.on(n(321),(()=>{const t=n;e[t(323)][t(274)](t(296))[t(304)](),r[t(257)]=!1,e[t(289)][t(307)][t(320)]()})),c[n(269)][n(276)](u),l[n(269)][n(276)](h),a[n(317)]=n(300),a[n(310)][n(258)]([c,l]),o[n(276)](a),r})),e.ui[t(263)][t(276)](t(259),(()=>this[t(295)]()))}[Et(295)](){const t=Et,e=this[t(318)],i=e[t(270)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(284)][t(291)]({icon:dt.IconHistory,label:J(i,t(261))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(291)]({label:J(i,t(314))}),o[t(319)](t(321)).to(s),o.on(t(321),(()=>{this[t(293)]()})),r[t(269)][t(276)](o),n[t(310)][t(276)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(291)]({label:J(i,t(256))}),c[t(319)](t(321)).to(s),c.on(t(321),(()=>{const i=t;e[i(323)][i(274)](i(296))[i(304)]()})),a[t(269)][t(276)](c),n[t(310)][t(276)](a),s[t(280)][t(269)][t(276)](n),s}[Et(293)](){const t=Et,e=this[t(318)],i=e[t(270)],s=e[t(299)][t(274)](t(267)),n=e[t(299)][t(274)](t(324));function r(n){const r=t;e[r(323)][r(274)](r(262))&&""===n[r(255)]?n[r(305)][r(306)]=J(i,r(266)):(e[r(299)][r(274)](st)[r(283)]({name:n[r(255)]}),s[r(285)]())}this[t(282)]||(this[t(315)](),this[t(282)].on(t(303),(()=>r(this[t(282)])))),this[t(282)][t(287)](),s[t(268)]({id:t(281),title:J(i,t(314)),isModal:!0,content:this[t(282)],actionButtons:[{label:J(e[t(270)],t(322)),withText:!0,onExecute:()=>s[t(285)]()},{label:J(e[t(270)],t(271)),class:t(311),withText:!0,onCreate(i){const s=t;i[s(278)](s(313)).to(n,s(254),n,s(313),e,s(273),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(282)])}]})}[Et(315)](){const t=Et,e=this[t(318)],i=e[t(270)];this[t(282)]=new At(i,e[t(323)][t(274)](t(262))),this[t(282)][t(325)]()}}function Ft(){const t=["changeId","focus","add","element","ck-revision-change__label","name","span","294YQsaKN","638280NdpTSE","author","7513aWbfJR","62482aEyfqS","4396704bYvKNn","377670RYXgHK","data","2BaOOzY","set","ck-revision-change","4801386SarwyJ","3384441tNqoEl","Added by","div","Suggested by","12iSznIy","type","ck-revision-change__","_model","Removed by","isSuggestion","setTemplate","ck-annotation","bindTemplate","21740xmFSUC"];return(Ft=function(){return t})()}const jt=Lt;function Lt(t,e){const i=Ft();return(Lt=function(t,e){return i[t-=149]})(t,e)}!function(t){const e=Lt,i=t();for(;;)try{if(961655===-parseInt(e(176))/1+parseInt(e(178))/2*(parseInt(e(181))/3)+parseInt(e(153))/4*(-parseInt(e(171))/5)+-parseInt(e(170))/6*(parseInt(e(174))/7)+-parseInt(e(175))/8+-parseInt(e(149))/9+-parseInt(e(162))/10*(-parseInt(e(173))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Pt extends ft.View{[jt(163)];[jt(156)];constructor(t,e){const i=jt;super(t),this[i(156)]=e,this[i(163)]=e.id;const s=this[i(161)],n=J(t,e[i(177)][i(158)]?i(152):i(165)==e[i(154)]?i(150):i(157));this[i(179)](i(154),e[i(154)]),this[i(159)]({tag:i(151),attributes:{class:[i(160),i(180),s.to(i(154),(t=>i(155)+t))],tabindex:-1},children:[{tag:i(169),children:[{tag:i(169),attributes:{class:[i(167)]},children:[{text:n}]},{text:" "+e[i(172)][i(168)]}]}]})}[jt(164)](){const t=jt;this[t(166)][t(164)]()}}var zt=Wt;function Ut(){var t=["createdAt","author","6SdffTP","68490vzYnqG","data","353204eBoRtZ","94584WxbCUh","405JrIlkG","set","3IlNDmR","760587oxBeJv","16235124WGZMzd","876790rICBWY","rootName","66ynvMTB","toJSON","687498SgtEYT","type","56QAlrlw"];return(Ut=function(){return t})()}function Wt(t,e){var i=Ut();return(Wt=function(t,e){return i[t-=396]})(t,e)}!function(t){for(var e=Wt,i=t();;)try{if(285567===parseInt(e(400))/1*(-parseInt(e(396))/2)+-parseInt(e(401))/3+-parseInt(e(409))/4*(parseInt(e(413))/5)+parseInt(e(412))/6*(-parseInt(e(407))/7)+-parseInt(e(397))/8*(-parseInt(e(398))/9)+-parseInt(e(403))/10*(parseInt(e(405))/11)+parseInt(e(402))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends((0,t.ObservableMixin)()){id;[zt(411)];[zt(408)];[zt(414)];[zt(404)];constructor(e){var i=zt;super(),this.id=e.id||(0,t.uid)(),this[i(411)]=e[i(411)],this[i(408)]=e[i(408)],this[i(414)]=e[i(414)]||{},this[i(404)]=e[i(404)],this[i(399)](i(410),e[i(410)])}[zt(406)](){var t=zt;return{id:this.id,authorId:this[t(411)].id,type:this[t(408)],data:this[t(414)],createdAt:this[t(410)]}}}const Ht=$t;function qt(){const t=["add","newRevisionId","oldRevisionId","37947NzOttV","_setChanges","552cHlwzZ","1468644YRXpTA","changes","4646176jEmRdv","3126960TKqcts","3399840ftNLoL","875370tmjjkb","3148055pTzNdK"];return(qt=function(){return t})()}function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=348]})(t,e)}!function(t){const e=$t,i=t();for(;;)try{if(735885===-parseInt(e(359))/1+parseInt(e(351))/2+parseInt(e(349))/3+parseInt(e(348))/4+-parseInt(e(352))/5+parseInt(e(350))/6+parseInt(e(356))/7*(-parseInt(e(358))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Bt{[Ht(354)];[Ht(355)];[Ht(360)];constructor(e,i){const s=Ht;this[s(354)]=e,this[s(355)]=i,this[s(360)]=new t.Collection}[Ht(357)](t){const e=Ht;for(const i of t)this[e(360)][e(353)](i)}}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Kt;function Kt(t,e){const i=ie();return(Kt=function(t,e){return i[t-=134]})(t,e)}!function(t){const e=Kt,i=t();for(;;)try{if(438953===parseInt(e(202))/1*(-parseInt(e(247))/2)+parseInt(e(438))/3*(-parseInt(e(200))/4)+parseInt(e(271))/5+parseInt(e(407))/6+-parseInt(e(221))/7+parseInt(e(470))/8+parseInt(e(293))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);const Qt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class Xt extends W.Plugin{[Gt(204)];[Gt(448)];[Gt(444)];[Gt(391)];[Gt(258)];[Gt(281)];static get[Gt(408)](){return Gt(141)}static get[Gt(431)](){return!0}static get[Gt(409)](){return!0}static get[Gt(142)](){return[Z.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(204)]=this[e(195)][e(456)][e(176)](e(134)),this[e(309)](e(314),null),this[e(309)](e(198),null),this[e(444)]=null,this[e(309)](e(406),null),this[e(309)](e(411),!1),this[e(309)](e(388),!0),this.on(e(294),((t,i,s)=>{const n=e;this[n(314)]=null,this[n(198)]=null,this[n(195)][n(347)][n(307)][n(446)]((t=>{const e=n;for(const i of this[e(195)][e(347)][e(307)][e(207)][e(403)])s?t[e(244)](e(197),i):t[e(358)](e(197),i)}))})),this[e(328)](e(363)).to(this,e(314),(t=>null!==t)),this[e(328)](e(215)).to(this,e(411),this,e(406),this,e(314),((t,i,s)=>t&&s?i[e(329)][e(425)](s):0)),this[e(328)](e(340)).to(this,e(411),this,e(406),((t,i)=>t?i[e(329)][e(288)]:0)),this[e(391)]=null,this[e(258)]=new Map,this[e(448)]=null,this[e(281)]=this[e(195)][e(456)][e(176)](ft.ContextualBalloon)}[Gt(324)](){const t=Gt,e=this[t(195)],i=new se(e,{direction:t(272)}),s=new se(e,{direction:t(263)});e[t(333)][t(179)](t(140),i),e[t(333)][t(179)](t(173),s),e[t(333)][t(179)](t(306),new ee(e)),this.on(t(136),(()=>{const e=t;i[e(153)](),s[e(153)]()})),this[t(322)](),this[t(228)](),e[t(191)](t(160)),e[t(456)][t(405)](t(222))&&e[t(456)][t(176)](t(222))[t(440)](t(160))}async[Gt(370)](t){const e=Gt;await this[e(469)](t);const i={};for(const s in t[e(208)]){if(t[e(208)][s][e(226)]&&!t[e(208)][s][e(226)][e(209)])continue;const n=this[e(453)](JSON[e(236)](t[e(208)][s][e(320)])),r=this[e(195)][e(347)][e(307)][e(207)],o=new H.ViewDocumentFragment(r,n[e(273)]((t=>this[e(232)](t))));this[e(195)][e(170)][e(384)][e(461)](e(174)),i[s]=this[e(195)][e(170)][e(384)][e(279)](o),this[e(195)][e(170)][e(384)][e(461)](e(234))}return i}async[Gt(137)](t){const e=Gt;await this[e(469)](t);const i={};for(const s in t[e(208)])t[e(208)][s][e(226)]&&!t[e(208)][s][e(226)][e(209)]||(i[s]=t[e(208)][s][e(400)]||{});return i}[Gt(453)](t){const e=Gt;return(t=t[e(413)]((t=>!t[e(321)]||e(439)!==t[e(321)]&&e(302)!==t[e(321)])))[e(381)]((t=>{const i=e;i(241)!=typeof t&&(t[i(250)]=this[i(453)](t[i(250)]),t[i(410)]=t[i(410)][i(413)]((t=>!t[0][i(218)](i(259)))))})),t}async[Gt(375)](t,e,i=!1){const s=Gt;if(!this[s(388)])return;const n=this[s(406)],r=this[s(204)],o=s(241)==typeof t?r[s(361)](t):t,a=s(241)==typeof e?r[s(361)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(406)]&&this[s(406)][s(248)]===c&&this[s(406)][s(192)]===u)return Promise[s(227)]();this[s(411)]=!1,this[s(198)]=null,this[s(314)]=null,this[s(406)]=new Bt(c,u);const l=this[s(354)](o,a,!0)[s(273)]((t=>this[s(469)](t)));return l[s(144)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(430)](l)[s(331)]((()=>{const t=s;if(!this[t(388)])return;this[t(387)]();const e=this[t(245)](c,u);for(const i of e[t(329)])this[t(258)][t(309)](i.id,i);this[t(195)][t(167)][t(312)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(195)][s(167)][s(207)][s(181)]())i[s(443)](t);for(const t of Object[s(423)](e[s(167)])){const n=i[s(270)](t);for(const r of Object[s(423)](e[s(410)][t]))i[s(171)](r,e[s(410)][t][r],n);i[s(231)](e[s(167)][t],n,0)}})),this[t(406)][t(341)](this[t(274)](e[t(329)])),this[t(411)]=!0}))[s(383)]((t=>{const e=s;console[e(404)](t),this[e(387)](),n&&(this[e(406)]=n),this[e(411)]=!0}))}[Gt(338)](t,e){const i=Gt,s=this[i(204)][i(397)](t);return s.on(i(184),((t,i,n)=>e(i,n,s))),this[i(204)][i(156)](s),s}[Gt(469)](t){const e=Gt;if(!t||t[e(208)])return Promise[e(227)]();{const i=this[e(195)][e(256)][e(176)](e(442));return this[e(448)][e(361)]({channelId:i,revisionId:t.id})[e(331)]((i=>{const s=e;t[s(184)]({diffData:i[s(208)]},!0)}))}}[Gt(387)](){const t=Gt;this[t(314)]=null,this[t(424)](),this[t(391)]&&this[t(391)][t(310)](),this[t(391)]=null,this[t(258)][t(235)](),this[t(195)][t(167)][t(312)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(195)][i(167)][i(207)][i(181)]())e[i(443)](t)}))}[Gt(274)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(195)][e(167)][e(207)][e(181)]()){const n=this[e(195)][e(347)][e(307)][e(255)](t);if(!n)continue;const r=n[e(433)]()[e(351)](0);r&&(i[e(144)](t),s[e(309)](t,r))}return i[e(427)](((t,i)=>{const n=e,r=s[n(176)](t),o=s[n(176)](i);return r.y-o.y||r.x-o.x})),(t=t[e(413)]((t=>i[e(380)](t[e(305)]))))[e(427)](((t,s)=>i[e(290)](t[e(305)])-i[e(290)](s[e(305)]))),t}[Gt(460)](t){const e=Gt,i=Array[e(162)](t[e(291)])[e(413)]((([t,i])=>t[e(218)](e(265))&&!i[e(178)])),s=Array[e(162)](this[e(195)][e(167)][e(349)](t)[e(292)]({singleCharacters:!0}));if(0!=i[e(288)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(220)](":");if(n[e(315)][e(421)](t[e(355)])&&i[e(190)](),(t[e(266)][e(421)](n[e(150)])||t[e(266)][e(369)](n[e(150)]))&&(e(398)==r?t[e(249)]={userId:o}:e(219)==r&&(t[e(155)]={userId:o})),0==i[e(288)])break}return s}[Gt(418)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(288)];s++)e(233)===t[s][e(224)]?(t[s][e(351)][e(280)]=s,t[s][e(351)][e(366)]=s):(e(188)===t[s][e(224)]?t[s][e(351)][e(280)]=s:e(138)===t[s][e(224)]&&(t[s][e(351)][e(366)]=s),i[e(309)](t[s].id,s));for(const s of i[e(374)]())e(188)===t[s][e(224)]?t[s][e(351)][e(366)]=i[e(176)](t[s][e(269)]):e(138)===t[s][e(224)]&&(t[s][e(351)][e(280)]=i[e(176)](t[s][e(269)]))}[Gt(318)](t){const e=Gt;for(let i=0;i<t[e(288)];i++){if(e(188)===t[i][e(224)])t[i][e(351)][e(280)]=i;else if(e(138)===t[i][e(224)]){t[i][e(351)][e(366)]=i;const s=t[i][e(351)][e(280)];t[s][e(269)]=t[i].id,t[i][e(269)]=t[s].id}else t[i][e(351)][e(280)]=i,t[i][e(351)][e(366)]=i,t[i][e(269)]=null;t[i][e(159)]||(t[i][e(159)]=[],t[i][e(426)]=[])}}[Gt(323)](t,e){const i=Gt,s=t[i(413)]((t=>!t[i(249)]));for(let t=0;t<e[i(288)];t++)e[t][i(249)]&&(s[t][i(249)]=e[t][i(249)])}[Gt(432)](t){const e=Gt,i=JSON[e(236)](t),s=this[e(195)][e(347)][e(307)][e(207)],n=new H.ViewDocumentFragment(s,i[e(273)]((t=>this[e(232)](t))));return this[e(195)][e(170)][e(357)](n)}[Gt(232)](t){const e=Gt,i=this[e(195)][e(347)][e(307)][e(207)];if(e(241)==typeof t)return new H.ViewText(i,t);{const s=t[e(250)][e(273)]((t=>this[e(232)](t)));return new(Qt[t[e(224)]]||H.ViewElement)(i,t[e(321)],t[e(410)],s)}}[Gt(245)](t,e=null){const i=Gt,s=this[i(204)][i(361)](t),n=e?this[i(204)][i(361)](e):null,r=this[i(354)](s,n),o=r[r[i(288)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(288)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(423)](e[i(208)]))if(e[i(208)][t][i(226)]){const s=e[i(208)][t][i(226)];s[i(209)]?(u[i(179)](t),l[i(405)](t)&&l[i(176)](t)[i(317)]==s[i(317)]?l[i(282)](t):l[i(309)](t,s)):l[i(405)](t)?(u[i(282)](t),l[i(282)](t)):(u[i(179)](t),l[i(309)](t,s))}else u[i(179)](t)}for(const t of u){const e=l[i(405)](t)&&!l[i(176)](t)[i(209)];let s=e?r[i(288)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(208)][t]){const s=e?o[i(208)][t][i(240)]:o[i(208)][t][i(400)];c[i(410)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(167)]={};for(const e of t[i(135)])a[i(309)](e.id,e);for(const e of u){const s=t[i(208)][e]?t[i(208)][e][i(320)]:"[]",n=t[i(208)][e]?t[i(208)][e][i(412)]:"[]";t[i(167)][e]={insertions:this[i(432)](s),deletions:this[i(432)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(162)](s[i(167)][t][i(320)][i(291)])[i(413)]((([t])=>!t[i(218)](i(265)))));let h=0;for(const o of r){const r=this[i(460)](o[i(167)][t][i(320)]);o==s?(e=r,n=e[i(288)],e[i(381)]((t=>{t.id=h++})),this[i(318)](e)):this[i(323)](e,r);const a=e[i(413)]((t=>!t[i(249)]))[i(273)]((t=>t.id));let c=0;const l=this[i(460)](o[i(167)][t][i(412)]);l[i(381)]((t=>{t[i(155)]?t.id=n++:t.id=a[c++]})),this[i(318)](l),this[i(445)](e,i(249)),this[i(445)](l,i(155)),o==s&&this[i(350)](e,u),e=this[i(147)](e,l),this[i(418)](e),this[i(445)](e,i(155))}e=e[i(413)]((t=>!(t[i(249)]&&t[i(155)])));const d=new Map(o[i(167)][t][i(412)][i(291)]),f=new Set(u[i(423)]());for(const t of d[i(423)]())f[i(282)](t);this[i(229)](e,f),this[i(180)](e),e=this[i(187)](e),e=this[i(230)](e),e=this[i(362)](e);const{root:m,changes:p}=this[i(264)](e,a,t);c[i(167)][t]=m;const v=l[i(176)](t);if(v){const e=a[i(176)](v[i(317)]),s=new Zt({author:e,type:v[i(209)]?i(179):i(399),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(457)](s),c[i(410)][t][i(401)]=s.id}c[i(329)]=c[i(329)][i(210)](p)}return c}[Gt(350)](t,e){const i=Gt;for(let s=0;s<t[i(288)];s++)for(const[n,r]of e)r[i(150)][i(421)](t[s][i(266)])&&t[s][i(159)][i(144)](n),r[i(315)][i(421)](t[s][i(355)])&&t[s][i(426)][i(144)](n)}[Gt(147)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(288)]||r<e[i(288)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(144)](o);else if(a[i(155)]&&o[i(249)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(146)](t,n,e,r);s=s[i(210)](o),n=a,r=c}else a[i(155)]?(r++,s[i(144)](a)):(n++,s[i(144)](o))}return s}[Gt(229)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(288)];o++){for(let r=0;r<t[o][i(159)][i(288)];r++){const a=t[o][i(159)][r];if(!e[i(405)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(168)!=c||i(398)!=u&&i(219)!=u||(s[i(457)]({type:u,name:a,userId:l}),t[o][i(159)][i(239)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(426)][i(288)];r++){const a=t[o][i(426)][r];if(!e[i(405)](a))continue;const{group:c,type:u}=n(a);if(i(168)!=c||i(398)!=u&&i(219)!=u)continue;t[o][i(426)][i(239)](r,1),r--;const l=s[i(158)]((t=>t[i(321)]==a));l>-1&&s[i(239)](l,1)}}function n(t){const e=i,s=t[e(220)](":");return{group:s[0],type:s[1],subType:s[e(288)]>=5?s[2]:null,id:s[e(288)]<5?s[2]:s[3],authorId:s[e(288)]<5?s[3]:s[4],markerCount:6==s[e(288)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(288)];i++){if(t[e(249)]&&e(398)==s[i][e(224)])return t[e(283)]=s[i],void delete t[e(249)];if(!t[e(249)]&&!t[e(155)]&&e(219)==s[i][e(224)])return void(t[e(166)]=s[i])}}}[Gt(445)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(309)](o.id,s);for(let s=0;s<t[i(288)];s++){if(i(155)==e&&t[s][i(249)]||i(249)==e&&t[s][i(155)])continue;if(i(233)==t[s][i(224)]){t[s][i(377)]=0;continue}const n=r[i(176)](t[s][i(269)]),o=r[i(176)](t[s].id);t[s][i(377)]=n-o}}[Gt(354)](t,e,i=!1){const s=Gt,n=[];let r=this[s(204)][s(425)](t),o=this[s(204)][s(425)](e);for(-1==o&&(o=this[s(204)][s(213)][s(288)],i=!1);r<o;)n[s(144)](this[s(204)][s(361)](r)),r++;return i&&n[s(144)](this[s(204)][s(361)](r)),n}[Gt(146)](t,e,i,s){const n=Gt,r=this[n(195)][n(167)][n(175)];let o=e;for(;t[o]&&t[o][n(249)];)o++;let a=s;for(;i[a]&&i[a][n(155)];)a++;u(t,e,o),u(i,s,a);const c=i[n(373)](s,a)[n(210)](t[n(373)](e,o));return c[n(427)](((t,e)=>t[n(319)]!=e[n(319)]?t[n(319)]-e[n(319)]:t[n(352)]!=e[n(352)]?t[n(352)]-e[n(352)]:t[n(377)]!=e[n(377)]?e[n(377)]-t[n(377)]:!!t[n(249)]!=!!e[n(249)]?-1==t[n(319)]||0==t[n(319)]?t[n(249)]?-1:1:t[n(249)]?1:-1:t[n(420)]-e[n(420)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(441)],c=!0;for(let n=e;n<i;n++)if(r[s(379)](t[n][s(351)])||(c=!1),t[n][s(351)][s(280)]<e&&(o=n),t[n][s(351)][s(366)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(319)]=n<=o?-1:n<a?0:1,t[n][s(420)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(377)]?t[i][s(352)]=u:(u++,t[i][s(352)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(319)]&&(t[n][s(352)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(377)]?t[e][s(352)]=u:(u--,t[e][s(352)]=u,u--)}}[Gt(180)](t){const e=Gt,i=new Map,s=this[e(195)][e(167)][e(175)];for(let n=1;n<t[e(288)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(233)==c[e(224)])continue;if(c[e(224)]!=u[e(224)])continue;if(!s[e(185)](u[e(351)])||s[e(455)](u[e(351)]))continue;if(!s[e(185)](c[e(351)])||s[e(455)](c[e(351)]))continue;if((t[n][e(249)]||t[n][e(283)])&&t[n-1][e(155)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(155)]||!t[n-1][e(249)]&&!t[n-1][e(283)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(352)]==o[e(352)],h=Math[e(332)](r[e(352)])<Math[e(332)](o[e(352)])&&0==o[e(377)];(l||h)&&(i[e(309)](o.id,r.id),t[e(239)](a,1),n--,r[e(249)]=!1)}for(let s=0;s<t[e(288)];s++)i[e(405)](t[s][e(269)])&&(t[s][e(269)]=i[e(176)](t[s][e(269)]))}[Gt(187)](t){const e=Gt,i=new Set(t[e(273)]((t=>t.id)));for(let s=0;s<t[e(288)];s++)i[e(405)](t[s][e(269)])||0==t[s][e(377)]||(t[s][e(396)]=!0);return t[e(413)]((t=>!t[e(396)]))}[Gt(230)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(288)];s++){if(i[e(405)](t[s].id)&&t[s][e(155)]&&(t[s][e(396)]=!0),t[s][e(396)])continue;if(0==t[s][e(377)])continue;if(e(188)!=t[s][e(224)])continue;if(null==t[s][e(269)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(269)];)e(188)==t[n][e(224)]?r++:e(138)==t[n][e(224)]&&r--,n++;if(0!=r)if(t[s][e(155)])t[s][e(396)]=!0;else for(;n!=s;)t[n][e(155)]&&0!=t[n][e(377)]&&(t[n][e(396)]=!0,i[e(179)](t[n][e(269)])),n--}return t[e(413)]((t=>!t[e(396)]))}[Gt(362)](t){const e=Gt,i=this[e(195)][e(167)][e(175)];for(let s=0;s<t[e(288)];s++){if(!(t[s][e(249)]||t[s][e(283)]||t[s][e(155)]||t[s][e(166)]))continue;if(0==t[s][e(377)])continue;const n=t[s][e(351)];i[e(185)](n)||i[e(455)](n)||(t[s][e(249)]&&delete t[s][e(249)],t[s][e(283)]&&delete t[s][e(283)],t[s][e(166)]&&delete t[s][e(166)],t[s][e(155)]&&(t[s][e(396)]=!0))}return t[e(413)]((t=>!t[e(396)]))}[Gt(264)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(195)][s(167)],c=a[s(175)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(288)];e++)if(s(188)===t[e][s(224)]){t[e][s(266)]=a[s(164)](n,f);const i=new H.Element(t[e][s(351)][s(321)],t[e][s(351)][s(463)]());u[0][s(435)](i),f[s(144)](0),u[s(457)](i),t[e][s(355)]=a[s(164)](n,f)}else s(138)===t[e][s(224)]?(u[s(190)](),t[e][s(266)]=a[s(164)](n,f),f[s(143)](),f[f[s(288)]-1]++,t[e][s(355)]=a[s(164)](n,f)):(t[e][s(266)]=a[s(164)](n,f),d?d[s(253)]+=t[e][s(351)][s(170)]:d=new H.Text(t[e][s(351)][s(170)],t[e][s(351)][s(463)]()),t[e+1]&&s(233)===t[e+1][s(224)]&&v(d,t[e+1][s(351)])||(u[0][s(435)](d),d=null),f[f[s(288)]-1]+=t[e][s(351)][s(217)],t[e][s(355)]=a[s(164)](n,f));for(let e=0;e<t[s(288)];e++){const i=t[e][s(266)],n=t[e][s(355)];for(const n of t[e][s(159)])o[s(309)](n,{start:i,end:null});m(s(166),e,i,n),m(s(283),e,i,n),m(s(155),e,i,n),m(s(249),e,i,n);for(const i of t[e][s(426)])o[s(176)](i)[s(315)]=n}for(const[t,e]of o){const i=this[s(195)][s(167)][s(199)](e[s(150)],e[s(315)]);n[s(291)][s(309)](t,i)}return r[s(427)](((t,e)=>{const i=s,r=n[i(291)][i(176)](i(265)+t.id),o=n[i(291)][i(176)](i(265)+e.id);return r[i(150)][i(165)](o[i(150)])?-1:r[i(150)][i(369)](o[i(150)])?1:r[i(315)][i(165)](o[i(315)])?-1:r[i(315)][i(369)](o[i(315)])?1:i(179)===t[i(224)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(317)]:null,d=i===t[o(288)]-1,f=h[e][0],m=c[o(402)](t[i][o(351)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(315)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(317)]!==u&&(l[e][o(315)]=n,f&&f[o(317)]===l[e][o(317)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(188)!==t[i][o(224)]||f&&f[o(317)]===u||h[e][o(457)]({userId:u,object:t[i][o(351)],change:l[e]}),o(138)===t[i][o(224)]&&f&&f[o(345)]===t[i][o(351)]&&(h[e][o(190)](),l[e]=f[o(446)])),l[e]&&d&&(l[e][o(315)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(351)],f=a[h(175)][h(185)](d)&&!a[h(175)][h(455)](d),m=t[h(334)]==o[h(313)]&&o[h(193)];if(f&&m)return;const p=a[h(199)](t,o),v=e[h(176)](u),g=new Zt({author:v,type:h(249)==l||h(283)==l?h(179):h(399),data:{isSuggestion:h(283)==l||h(166)==l},createdAt:new Date,rootName:i});r[h(144)](g),n[h(291)][h(309)](h(265)+g.id,p)}function v(t,e){const i=s,n=t[i(463)](),r=e[i(463)]();for(const t of n){if(t[1]!==e[i(390)](t[0]))return!1;r[i(242)]()}return r[i(242)]()[i(326)]}}[Gt(322)](){const t=Gt;this[t(195)][t(346)][t(464)](t(447))[t(201)]({view:t(378)}),this[t(195)][t(346)][t(464)](t(139))[t(203)]({model:t(378),view:e=>{const i=t,s=e[i(254)][i(220)](":")[1],n=this[i(297)](s);if(!n)return null;const r=i(179)==n[i(224)]?i(398):i(219),o=[i(389),i(371)+r];return n[i(170)][i(395)]&&o[i(144)](i(371)+r+i(251)),this[i(314)]==n&&o[i(144)](i(353)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(195)][t(346)][t(464)](t(447))[t(179)]((e=>{const i=t;e.on(i(367),((t,e,s)=>{const n=i,r=e[n(356)][n(196)](0);if(!r||!r.is(n(145),n(154)))return;if(!s[n(172)][n(422)](r,{attributes:[n(365),n(450)]}))return;const o=e[n(275)][n(150)][n(334)];s[n(284)][n(171)](n(365),r[n(390)](n(365)),o),s[n(284)][n(171)](n(450),r[n(390)](n(450)),o)}),{priority:i(335)})})),this[t(195)][t(346)][t(464)](t(447))[t(179)]((e=>{const i=t;e.on(i(145),((t,e,s)=>{const n=i;if(!s[n(172)][n(422)](e[n(356)],{attributes:[n(365),n(450)]}))return;if(e[n(275)][n(178)])return;const r=e[n(275)][n(150)][n(334)];r[n(183)](n(365))||r[n(183)](n(449))||(s[n(284)][n(171)](n(365),e[n(356)][n(390)](n(365)),r),s[n(284)][n(171)](n(450),e[n(356)][n(390)](n(450)),r))}),{priority:i(335)})})),this[t(195)][t(346)][t(464)](t(447))[t(414)]({view:{name:t(327),attributes:{vid:!0}},model:{key:t(449),value:e=>e[t(390)](t(449))}}),this[t(195)][t(167)][t(175)].on(t(225),((e,[,i])=>{const s=t;[s(365),s(450),s(449)][s(380)](i)&&(e[s(385)]=!0,e[s(436)]())}),{priority:t(157)}),this[t(195)][t(346)][t(464)](t(262))[t(179)]((e=>{const i=t;e.on(i(238),((t,e,s)=>{const n=i;if(" "!=e[n(351)][n(170)]||e[n(351)][n(313)][n(330)]>1)return;if(!s[n(172)][n(422)](e[n(351)],t[n(321)]))return;const r=s[n(284)],o=s[n(278)][n(417)](e[n(267)]);r[n(304)](o,r[n(295)](n(327)))}))})),this[t(195)][t(346)][t(464)](t(262))[t(223)]({model:t(378)}),this[t(195)][t(347)][t(316)].on(t(337),function(e){const i=t,s=e[i(456)][i(176)](i(141));return(t,n,r)=>{const o=i,a=n[o(254)][o(220)](":")[1],c=s[o(297)](a);if(!c)return null;const u=o(179)==c[o(224)]?o(220):o(428);if(!r[o(172)][o(216)](n[o(429)],t[o(321)]))return;const l=n[o(429)][o(292)](),h=n[o(429)][o(150)],d=e[o(167)][o(175)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(351)];p=p||d[o(289)](e);const i=r[o(278)][o(394)](e);if(i&&i[o(163)](o(287)))return;o(138)==t[o(224)]&&d[o(185)](e)&&!d[o(455)](e)&&(e[o(376)]||h[o(152)]?f&&f[o(313)]==e||(f=e,g(t[o(266)]),v=!0):m=m||t[o(266)])}function g(t){const e=o,i=r[e(284)][e(458)](e(327),{class:e(371)+u}),a=r[e(278)][e(243)](t);c[e(170)][e(395)]&&r[e(284)][e(358)](e(371)+u+e(251),i),s[e(314)]==c&&r[e(284)][e(358)](e(353),i),r[e(284)][e(231)](a,i),r[e(278)][e(468)](i,n[e(254)])}p||v||!m||g(m)}}(this[t(195)]),{priority:t(459)}),this[t(195)][t(347)][t(316)].on(t(465),((e,i,s)=>{const n=t,r=s[n(278)][n(246)](i[n(254)]);if(r)for(const t of r)(t[n(344)](n(336))||t[n(344)](n(161)))&&(s[n(278)][n(467)](t,i[n(254)]),s[n(284)][n(399)](t))}),{priority:t(459)}),this[t(195)][t(347)][t(316)].on(t(337),((e,i,s)=>{const n=t,r=i[n(254)][n(220)](":")[1],o=this[n(297)](r);if(!o)return null;const a=n(179)==o[n(224)]?n(220):n(428);if(s[n(172)][n(216)](i[n(429)],e[n(321)]))for(const t of i[n(429)][n(382)]()){if(!t.is(n(145),n(214)))continue;const e=s[n(284)][n(458)](n(327),{class:n(371)+a}),r=s[n(278)][n(243)](this[n(195)][n(167)][n(368)](t));o[n(170)][n(395)]&&s[n(284)][n(358)](n(371)+a+n(251),e),this[n(314)]==o&&s[n(284)][n(358)](n(353),e),s[n(284)][n(231)](r,e),s[n(278)][n(468)](e,i[n(254)])}}),{priority:t(459)}),this[t(195)][t(167)][t(207)].on(t(446),(()=>{const e=t;this[e(195)][e(347)][e(307)][e(446)]((t=>{const i=e;for(const e of this[i(195)][i(167)][i(207)][i(181)]()){const s=this[i(195)][i(167)][i(207)][i(205)](e),n=this[i(195)][i(347)][i(307)][i(207)][i(205)](e);if(n){const e=s[i(390)](i(401));if(t[i(462)](i(206),n),t[i(244)](i(339),n),t[i(244)](i(311),n),t[i(244)](i(237),n),e){const s=this[i(297)](e);if(!s)return null;t[i(171)](i(206),e,n),t[i(358)](i(276)+s[i(224)],n),this[i(314)]==s&&t[i(358)](i(237),n)}}}}))})),this[t(195)][t(346)][t(464)](t(447))[t(201)]({view:t(151),model:e=>t(325)+e,converterPriority:t(157)}),this[t(195)][t(346)][t(464)](t(447))[t(201)]({view:t(177),model:e=>t(415)+e,converterPriority:t(157)}),this[t(195)][t(346)][t(464)](t(262))[t(223)]({model:t(168),view:e=>({name:t(364)+e,group:t(168)}),converterPriority:t(157)}),this[t(195)][t(346)][t(464)](t(139))[t(203)]({model:t(168),view:e=>{const i=t,s=e[i(254)][i(220)](":")[1];return i(398)!=s&&i(219)!=s?null:{classes:[i(434),i(182)+s]}}}),this[t(195)][t(347)][t(316)].on(t(148),te(this[t(195)],t(428)),{priority:t(459)}),this[t(195)][t(347)][t(316)].on(t(392),te(this[t(195)],t(220)),{priority:t(459)}),this[t(195)][t(347)][t(316)].on(t(268),((e,i,s)=>{const n=t,r=s[n(278)][n(246)](i[n(254)]);if(r)for(const t of r)t.is(n(301))&&(s[n(278)][n(467)](t,i[n(254)]),s[n(284)][n(399)](t))}),{priority:t(459)})}[Gt(297)](t){const e=Gt;return this[e(258)][e(176)](t)}[Gt(393)](t){const e=Gt;return this[e(391)]&&this[e(391)][e(310)](),this[e(391)]=new Pt(this[e(195)][e(212)],t),this[e(391)]}[Gt(228)](){const t=Gt;this[t(195)][t(167)][t(207)][t(342)][t(386)](t(378)),this.on(t(360),((e,i,s,n)=>{const r=t;n&&this[r(281)][r(399)](n),s&&(this[r(281)][r(179)]({view:s,stackId:r(343),position:{target:()=>{const t=r,e=this[t(195)][t(347)],i=this[t(297)](s[t(466)]);let n;if(i[t(170)][t(348)]){const s=e[t(307)][t(255)](i[t(305)]);n=Array[t(162)](s[t(433)]())}else{const i=this[t(195)][t(167)][t(291)][t(176)](t(265)+s[t(466)]);n=Array[t(162)](e[t(278)][t(246)](i[t(321)]))[t(273)]((i=>e[t(307)][t(437)][t(186)](i)))[t(273)]((e=>Array[t(162)](e[t(433)]())))[t(211)]()}return this[t(444)]&&n[t(189)]((e=>e[t(299)]-3<=this[t(444)].y&&e[t(419)]+3>=this[t(444)].y&&e[t(296)]-3<=this[t(444)].x&&e[t(285)]+3>=this[t(444)].x))||n[0]}}}),this[r(281)][r(359)](r(343)))})),this.on(t(169),((e,i,s,n)=>{const r=t;this[r(198)]=s?this[r(393)](s):null,this[r(195)][r(167)][r(446)]((()=>{const t=r,e=this[t(195)][t(347)];n&&(n[t(170)][t(348)]?e[t(307)][t(446)]((i=>{const s=t;i[s(244)](s(237),e[s(307)][s(207)][s(205)](n[s(305)]))})):e[t(261)](t(265)+n.id)),s&&(s[t(170)][t(348)]?e[t(307)][t(446)]((i=>{const n=t;i[n(358)](n(237),e[n(307)][n(207)][n(205)](s[n(305)]))})):e[t(261)](t(265)+s.id))}))})),this[t(372)](this[t(195)][t(347)][t(307)][t(207)],t(451),((e,i)=>{const s=t;if(this[s(314)])return;const n=this[s(277)](i[s(286)]),r=this[s(258)][s(176)](n);r?(this[s(444)]={x:i[s(298)].x,y:i[s(298)].y},this[s(198)]=this[s(393)](r)):(this[s(444)]=null,this[s(198)]=null)})),this[t(372)](this[t(195)][t(347)][t(307)][t(207)],t(194),((e,i)=>{const s=t,n=this[s(277)](i[s(286)]),r=this[s(258)][s(176)](n);r?(this[s(444)]={x:i[s(298)].x,y:i[s(298)].y},r===this[s(314)]?this[s(281)][s(300)]():this[s(314)]=r):(this[s(444)]=null,this[s(314)]=null)}))}[Gt(277)](t){const e=Gt;do{const i=t[e(390)](e(206));if(i)return i;t=t[e(313)]}while(t);return null}[Gt(424)](){const t=Gt;this[t(195)][t(167)][t(446)]((e=>{const i=t;for(const t of this[i(195)][i(167)][i(291)])e[i(257)](t)}))}}function te(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(172)][r(216)](s[r(429)],i[r(321)]))return;const o=s[r(429)][r(292)](),a=s[r(429)][r(150)],c=t[r(167)][r(175)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(351)];h=h||c[r(289)](e);const i=n[r(278)][r(394)](e);if(i&&i[r(163)](r(287)))return;r(138)==t[r(224)]&&c[r(185)](e)&&!c[r(455)](e)&&(e[r(376)]||a[r(152)]?u&&u[r(313)]==e||(u=e,f(t[r(266)]),d=!0):l=l||t[r(266)])}function f(t){const i=r,o=n[i(278)][i(243)](t),a=n[i(284)][i(458)](i(327),{class:i(182)+e});n[i(284)][i(231)](o,a),n[i(278)][i(468)](a,s[i(254)])}h||d||!l||f(l)}}class ee extends W.Command{constructor(t){const e=Gt;super(t);const i=t[e(456)][e(176)](Xt);this[e(308)]=!1,this[e(372)](i,e(260),(()=>this[e(153)]())),this[e(372)](i,e(294),(()=>this[e(153)]()))}[Gt(452)](){const t=Gt,e=this[t(195)],i=e[t(456)][t(176)](Xt),s=i[t(411)]?i[t(406)][t(248)]:null;e[t(256)][t(176)](t(252))[t(303)](s)}[Gt(153)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(195)][t(456)][t(176)](Xt),r=n&&s[t(416)](n[t(248)]);this[t(388)]=e&&i&&Boolean(r)}}function ie(){const t=["startIndex","_balloon","delete","isAddSuggestion","writer","right","target","addHighlight","length","isContent","indexOf","markers","getWalker","1178937zgYaeV","change:isEnabled","createAttributeElement","left","_getChangeFromId","domEvent","top","updatePosition","uiElement","revision-end","restoreRevisionCallback","wrap","rootName","restoreRevision","view","affectsData","set","destroy","ck-revision-history-root-remove","enqueueChange","parent","activeChange","end","downcastDispatcher","userId","_processTape","side","insertions","name","_setConversion","_markInsertions","init","revision-comment:","done","span","bind","changes","maxOffset","then","abs","commands","nodeAfter","low","ck-suggestion-marker-split","addMarker:revision","addRevisionData","ck-revision-history-root-add","numberOfChanges","_setChanges","selection","revisionHistoryLabel","hasClass","object","conversion","editing","isOnRoot","createRangeIn","_markMarkers","item","level","ck-suggestion-marker--active","_getRevisionsRange","nextPosition","viewItem","toModel","addClass","showStack","change:activeView","getRevision","_removeUnsupportedChanges","isNavigationMode","suggestion:","vid_start","endIndex","element:pre","createPositionBefore","isAfter","getRevisionData","ck-suggestion-marker-","listenTo","slice","values","compare","nextSibling","distance","revision","isInline","includes","forEach","getItems","catch","processor","return","observeMarkers","_cleanUp","isEnabled","ck-suggestion-marker","getAttribute","_changeView","addMarker:revision-suggestion:insertion","_getViewForChange","toViewElement","isSuggestion","isIncorrect","createRevision","insertion","remove","attributesAfter","revisionHistoryAttachChange","isObject","roots","error","has","diff","3629160xKAYHK","pluginName","isPremiumPlugin","attributes","isReady","deletions","filter","elementToAttribute","revision-suggestion:","getLaterVisibleRevision","toViewRange","_refreshStartEndIndex","bottom","index","isEqual","consume","keys","_cleanMarkers","getIndex","markersEnd","sort","merge","markerRange","all","isOfficialPlugin","_makeModelFromViewString","getClientRects","ck-suggestion-preview-marker","_appendChild","stop","domConverter","3wzmpxL","revision-start","forceDisabled","POSITIVE_INFINITY","collaboration.channelId","detachRoot","_activeViewTarget","_setDistance","change","upcast","adapter","vid","vid_end","mouseover","execute","_removeRevisionMarkers","first","isLimit","plugins","unshift","createUIElement","high","_makeTape","useFillerType","removeAttribute","getAttributes","for","removeMarker:revision","changeId","unbindElementFromMarkerName","bindElementToMarker","loadRevisionData","6519200LddlwJ","RevisionsRepository","authors","change:numberOfChanges","getRevisionRootsAttributes","elementEnd","editingDowncast","showPreviousChange","RevisionViewer","requires","pop","push","element","_threeWayMerge","_joinTapes","addMarker:revision-suggestion:deletion","_step","start","comment","isAtEnd","refresh","code","isRemoved","addRevision","highest","findIndex","markersStart","revision-viewer","ck-suggestion-marker-merge","from","getCustomProperty","createPositionFromPath","isBefore","isRemoveSuggestion","model","revision-suggestion","change:activeChange","data","setAttribute","consumable","showNextChange","marked","schema","get","suggestion","isCollapsed","add","_fixObsoleteTags","getRootNames","ck-suggestion-preview-marker-","hasAttribute","_update","isBlock","mapViewToDom","_removeMissingPairs","elementStart","find","shift","enableReadOnlyMode","oldRevisionId","isAtStart","mousedown","editor","getChild","ck-editor__editable__overlay","activeView","createRange","1748812hnmmWo","dataToMarker","8048qoAjAR","markerToHighlight","repository","getRoot","data-change-id","document","diffData","isAttached","concat","flat","locale","_revisions","softBreak","currentChangeNumber","test","offsetSize","startsWith","deletion","split","3538360kkzNVJ","WidgetToolbarRepository","markerToData","type","checkAttribute","attachChange","resolve","_initInteractions","_markSuggestions","_markMismatchedRemovedTags","insert","_getViewObj","text","default","clear","parse","ck-revision-history-root--active","attribute:vid","splice","attributesBefore","string","next","toViewPosition","removeClass","_getDiff","markerNameToElements","166zFulNJ","newRevisionId","isAdded","children","-new","revisionHistory","_data","markerName","getDomRoot","config","removeMarker","_changeIdToChange","data-revision-","change:isReady","reconvertMarker","dataDowncast","forward","_makeModelFromTape","revision:","previousPosition","range","removeMarker:revision-suggestion","pairId","addRoot","2494335zrbawP","backward","map","_sortAndFilterDiffChanges","modelRange","ck-revision-history-root-","_findChangeIdFromDomTarget","mapper","toData"];return(ie=function(){return t})()}class se extends W.Command{[Gt(149)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(456)][i(176)](Xt);this[i(308)]=!1,this[i(149)]=i(263)===e?1:-1,this[i(372)](s,i(260),(()=>this[i(153)]())),this[i(372)](s,i(294),(()=>this[i(153)]())),this[i(372)](s,i(169),(()=>this[i(153)]()))}[Gt(452)](){const e=Gt,i=this[e(195)],s=i[e(456)][e(176)](Xt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(314)]=n?s[e(406)][e(329)][e(176)](r+this[e(149)]):s[e(406)][e(329)][e(454)],s[e(314)][e(170)][e(348)])o=i[e(347)][e(307)][e(255)](s[e(314)][e(305)]);else{const t=i[e(167)][e(291)][e(176)](e(265)+s[e(314)].id);o=(0,Z.getMarkerDomElement)(i[e(347)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(153)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(195)][t(456)][t(176)](Xt);this[t(388)]=!!(r&&n&&s)&&(!e||(1===this[t(149)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=290]})(t,e)}function ae(){const t=["2049488XOYfIx","set","forward","X_OF_Y_CHANGES","span","ck-revision-history-ui","_isStatusLabelVisible","Loading...","NUMBER_OF_CHANGES","isNavigationMode","54xEcznN","No changes","backward","_statusText","bindTemplate","92028hosKNn","div","isEnabled","682282tUcoOk","numberOfChanges","ck-revision-history-ui__changes-navigation__label","execute","ck-hidden","EDIT_X_OF_Y_REVISIONS","2215152XAuKUk","Show previous change","isReady","bind","597944JLtyeK","isForwardNavigationEnabled","923853mPWrSC","fire","Show next change","5chjnOf","setTemplate","Total","5052166fOUjyp","ck-revision-history-ui__changes-navigation","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__wrapper","currentChangeNumber"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(597235===parseInt(e(317))/1+-parseInt(e(299))/2+parseInt(e(329))/3+-parseInt(e(323))/4+-parseInt(e(290))/5*(-parseInt(e(314))/6)+parseInt(e(293))/7+parseInt(e(327))/8*(parseInt(e(309))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(313)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(300)](e(308),!1),this[e(300)](e(325),!1),this[e(300)](e(298),0),this[e(300)](e(318),0),this[e(300)](e(328),!1),this[e(300)](e(295),!1),this[e(326)](e(305)).to(this,e(325),this,e(318),((t,e)=>t&&e>0)),this[e(326)](e(312)).to(this,e(325),this,e(298),this,e(318),this,e(308),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(306));if(!n)return J(t,o(310));const a=J(t,o(307),n);return r?J(t,o(302),[s+1,n]):a})),s[e(300)]({label:J(t,e(324)),tooltip:!0,icon:dt.IconChevronUp}),n[e(300)]({label:J(t,e(331)),tooltip:!0,icon:dt.IconChevronDown}),s[e(326)](e(316)).to(this,e(295)),n[e(326)](e(316)).to(this,e(328)),s.on(e(320),(()=>this[e(330)](e(320),e(311)))),n.on(e(320),(()=>this[e(330)](e(320),e(301)))),this[e(291)]({tag:e(315),attributes:{class:["ck",e(304),e(294)]},children:[{tag:e(303),attributes:{class:[e(297)]},children:[{tag:e(303),attributes:{class:[e(319),i.if(e(305),e(321),(t=>!t))]},children:[{text:i.to(e(308),(i=>i?J(t,e(322))+": ":J(t,e(292))+": "))}]},{text:i.to(e(312))}]},new ft.ToolbarSeparatorView,{tag:e(315),attributes:{class:[e(296)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=me;!function(t){const e=me,i=t();for(;;)try{if(805003===parseInt(e(313))/1*(parseInt(e(316))/2)+parseInt(e(305))/3*(parseInt(e(323))/4)+-parseInt(e(314))/5*(parseInt(e(318))/6)+-parseInt(e(317))/7+-parseInt(e(311))/8+-parseInt(e(312))/9*(-parseInt(e(307))/10)+parseInt(e(306))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const de=he(322);function fe(){const t=["1382vcvQAv","1191778TdksJP","1075632wxCAfF","editing","removeClass","pluginName","ck-editor__editable__loading-overlay","84620SIfGOr","change","document","addClass","view","roots","editor","show","39cypFdk","23926749TwyXtM","530QhSoaP","RevisionViewerLoadingOverlay","hide","isOfficialPlugin","11180120jJvguz","76761iOCYYy","531ANPWjU","25ILZxSm","isPremiumPlugin"];return(fe=function(){return t})()}function me(t,e){const i=fe();return(me=function(t,e){return i[t-=299]})(t,e)}class pe extends W.Plugin{static get[he(321)](){return he(308)}static get[he(310)](){return!0}static get[he(315)](){return!0}[he(304)](){const t=he,e=this[t(303)][t(319)][t(301)];e[t(324)]((i=>{const s=t;for(const t of e[s(299)][s(302)])i[s(300)](de,t)}))}[he(309)](){const t=he,e=this[t(303)][t(319)][t(301)];e[t(324)]((i=>{const s=t;for(const t of e[s(299)][s(302)])i[s(320)](de,t)}))}}const ve=ye;function ge(){const t=["commands","1479828xfBRTk","88SvzQCO","3020370eqdJSA","showNextChange","plugins","Restore this revision","exitToEditing","listenTo","editor","restoreRevision","bind","requires","555HUFsXt","pluginName","componentFactory","isNavigationMode","3811460EJSzvx","isPremiumPlugin","forward","isEnabled","1236529CQOsTE","showPreviousChange","numberOfChanges","19736qGFfYi","currentChangeNumber","change:isReady","69416FKyAWL","execute","set","get","441mEfjaR","changesNavigation","init","RevisionViewerUI","Back to editing","closeRevisionViewerCallback","570YMGTCp","ck-revision-history-ui__back-to-editing","add","show","config","isBackwardNavigationEnabled","isOfficialPlugin","isForwardNavigationEnabled","hide","revisionHistory","2966Smzzuo","isReady"];return(ge=function(){return t})()}function ye(t,e){const i=ge();return(ye=function(t,e){return i[t-=240]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(418430===parseInt(e(281))/1*(-parseInt(e(266))/2)+-parseInt(e(269))/3+parseInt(e(243))/4*(-parseInt(e(256))/5)+-parseInt(e(271))/6+parseInt(e(240))/7+-parseInt(e(246))/8*(parseInt(e(250))/9)+-parseInt(e(285))/10*(-parseInt(e(270))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ke extends W.Plugin{static get[ve(282)](){return ve(253)}static get[ve(262)](){return!0}static get[ve(286)](){return!0}static get[ve(280)](){return[Xt,pe]}[ve(252)](){const t=ve,e=this[t(277)],i=e[t(273)][t(249)](Xt),s=e[t(273)][t(249)](pe);e.ui[t(283)][t(258)](t(275),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(248)]({label:J(i,s(254)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(257)}),this[s(276)](n,s(247),(()=>{const t=s;e[t(260)][t(249)](t(265))[t(255)]()})),n})),e.ui[t(283)][t(258)](t(278),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(248)]({label:J(i,s(274)),withText:!0,tooltip:!0}),n[s(279)](s(288)).to(e[s(268)][s(249)](s(278))),this[s(276)](n,s(247),(()=>e[s(247)](s(278)))),n})),e.ui[t(283)][t(258)](t(251),(s=>{const n=t,r=new ce(s),o=e[n(268)][n(249)](n(241)),a=e[n(268)][n(249)](n(272));return r[n(279)](n(261)).to(o,n(288)),r[n(279)](n(263)).to(a,n(288)),r[n(279)](n(267),n(244),n(242),n(284)).to(i),this[n(276)](r,n(247),((t,i)=>{const s=n;e[s(247)](s(287)===i?s(272):s(241))})),r})),s[t(259)](),i.on(t(245),((e,i,n)=>{const r=t;n?s[r(264)]():s[r(259)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;function _e(t,e){const i=Se();return(_e=function(t,e){return i[t-=428]})(t,e)}const Ie=_e;function Se(){const t=["_tooltipString","264IURFXr","133226GffRam","value","input","235935UbQnjj","element","36ResJHK","3922145ITpUks","set","ck-tooltip_multi-line","580606ifUPNw","clientWidth","fieldView","3455260SsEhlk","20sqzkNu","6zXixrE","4KmqmkD","extendTemplate","397833ZMHfBL","listenTo","Revision name","238xMbPtB","27HQUUil","ck-revision-history-sidebar__revision-name","span","scrollWidth","1578544DCGxbc","bindTemplate","placeholder","_updateTooltipText","destroy","render","Enter the revision name","_resizeObserver"];return(Se=function(){return t})()}!function(t){const e=_e,i=t();for(;;)try{if(599857===parseInt(e(452))/1*(parseInt(e(432))/2)+-parseInt(e(434))/3*(-parseInt(e(430))/4)+parseInt(e(458))/5*(parseInt(e(431))/6)+parseInt(e(455))/7*(parseInt(e(451))/8)+-parseInt(e(438))/9*(parseInt(e(429))/10)+parseInt(e(442))/11*(-parseInt(e(457))/12)+parseInt(e(461))/13*(-parseInt(e(437))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[Ie(449)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(443)];this[i(459)]({label:J(t,i(436)),_tooltipString:""}),this[i(428)][i(444)]=J(t,i(448)),this[i(433)]({tag:i(440),attributes:{class:[i(439)],"data-cke-tooltip-text":s.to(i(450)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(460)}})}[Ie(447)](){const e=Ie;super[e(447)](),this[e(449)]=new t.ResizeObserver(this[e(428)][e(456)],(()=>this[e(445)]())),this[e(435)](this[e(428)],e(454),(()=>this[e(445)]()))}[Ie(446)](){const t=Ie;super[t(446)](),this[t(449)]&&this[t(449)][t(446)]()}[Ie(445)](){const t=Ie,e=this[t(428)][t(456)];this[t(450)]=e[t(441)]>e[t(462)]&&e[t(453)]||""}}var xe=i(249),Te={attributes:{"data-cke":!0}};Te.setAttributes=wt(),Te.insert=kt().bind(null,"head"),Te.domAPI=gt(),Te.insertStyleElement=It();pt()(xe.A,Te);xe.A&&xe.A.locals&&xe.A.locals;function Ne(){const t=["624230FkFJwo","1094132GqmQms","2570352Xwgaaj","span","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name","22165670wxCVro","push","0 0 11 10","462932fMkXZf","9KtJqSG","38353cGwaKo","1112rICxuS","set","ck-revision-history-sidebar__revision-author_creator","24TWJgEu","Revision author","setTemplate","name","1827957PgfUbx","Revision creator"];return(Ne=function(){return t})()}function Re(t,e){const i=Ne();return(Re=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(415935===-parseInt(e(172))/1+parseInt(e(185))/2+parseInt(e(182))/3+-parseInt(e(178))/4*(-parseInt(e(184))/5)+parseInt(e(186))/6+-parseInt(e(174))/7*(-parseInt(e(175))/8)+parseInt(e(173))/9*(-parseInt(e(190))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Ae extends ft.View{constructor(t,e,i){const s=Re;super(t);const n=new ft.IconView;n[s(176)]({content:dt.IconUser,viewBox:s(192)});const r=["ck",s(188)];i&&r[s(191)](s(177));const o=[{tag:s(187),attributes:{class:["ck",s(189)],title:J(t,s(i?183:179))},children:[n,e[s(181)]]}];this[s(180)]({tag:"li",attributes:{class:r},children:o})}}function Me(){var t=["long","428646kAMLah","33WkHYOK","24hscZkI","654250BUVRgL","toLocaleTimeString","357VtNMYR","1243251QZmlTC","260304xYaqDr","180993KFBLHu","8aTORLg","3610010cmmBhn","toLocaleDateString","numeric","19374QLLVBf"];return(Me=function(){return t})()}function Ve(t,e){var i=Me();return(Ve=function(t,e){return i[t-=168]})(t,e)}!function(t){for(var e=Ve,i=t();;)try{if(250555===-parseInt(e(168))/1+parseInt(e(175))/2+-parseInt(e(176))/3*(parseInt(e(170))/4)+parseInt(e(171))/5+-parseInt(e(181))/6*(parseInt(e(173))/7)+parseInt(e(177))/8*(-parseInt(e(174))/9)+-parseInt(e(178))/10*(-parseInt(e(169))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var Ee=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ee.A,De);Ee.A&&Ee.A.locals&&Ee.A.locals;function Ce(){const t=["5huDtlm","action","execute","isActionsDropdownOpen","1699269BZCSNr","Restore this revision","Compare against selected","find","buttonView","isEnabled","locale","change:isActionsDropdownOpen","first","6696270cVawaL","isVisible","56LuEYQn","isOpen","add","stopPropagation","map","3097120ETJUVr","function","listenTo","button","_action","2QuWVgb","1285102KOvzGW","set","ck-on","source","items","1079919zrJZut","isReady","name","ck-revision-history-sidebar__revision__actions","3547540DJfDNk","menuitem","bindTemplate","55SABoxG","9102681gLxqTL","listView","Name this revision","menu","model","extendTemplate","children","panelPosition","bind","class","Show more items"];return(Ce=function(){return t})()}function Fe(t,e){const i=Ce();return(Fe=function(t,e){return i[t-=130]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(692491===-parseInt(e(131))/1+-parseInt(e(130))/2*(-parseInt(e(159))/3)+-parseInt(e(140))/4*(-parseInt(e(155))/5)+parseInt(e(168))/6+-parseInt(e(144))/7+parseInt(e(170))/8*(-parseInt(e(136))/9)+-parseInt(e(175))/10*(-parseInt(e(143))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ce);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=wt(),Le.insert=kt().bind(null,"head"),Le.domAPI=gt(),Le.insertStyleElement=It();pt()(je.A,Le);je.A&&je.A.locals&&je.A.locals;const Pe=ze;function ze(t,e){const i=Ue();return(ze=function(t,e){return i[t-=413]})(t,e)}function Ue(){const t=["220","44usHBro","_revision","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper","length","2445429IElHXK","select",".ck-thread__remove-confirm","isHighlighted","change","isActionsDropdownOpen","16517toxkvp","ck-revision-history-sidebar__revision","_createdAtFormatted","uiLanguage","name","listenTo","ck-revision-history-sidebar__actions_dropdown_open","revisionActionsView","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","780860diyZqd","bind","ck-revision-history-sidebar__revision__date","ck-disabled","isReady","deselect","ck-revision-history-sidebar__revision_highlighted","value","isSelected","ck-reset","35450xclzJk","4626CWJDtF","bindTemplate","3BeKnAT","fieldView","render","highlight","div","398168uaSJGq","createdAt","span","element","ck-revision-history-sidebar__revision_selected","isEnabled","filter","isConfirm","authors","_requireRevisionName","ck-revision-history-sidebar__revision-authors","setTemplate","1392372knBYfi","unhighlight","map","srcElement","creator","from","fire","2937760dIVipG","unshift","setName","closest","extendTemplate","set","revisionNameView"];return(Ue=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(899363===parseInt(e(458))/1*(-parseInt(e(447))/2)+parseInt(e(415))/3*(parseInt(e(467))/4)+-parseInt(e(439))/5+parseInt(e(432))/6+-parseInt(e(452))/7+-parseInt(e(420))/8+parseInt(e(413))/9*(parseInt(e(477))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class We extends((0,Z.ConfirmMixin)(ft.View)){id;[Pe(445)];[Pe(465)];[Pe(448)];[Pe(429)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(414)],a=function(t,e){const i=r,s=Array[i(437)](e[i(428)])[i(426)]((t=>t!=e[i(436)]));return e[i(436)]&&s[i(440)](e[i(436)]),s[i(434)]((s=>new Ae(t,s,s==e[i(436)])))}(e,i);this.id=i.id,this[r(448)]=i,this[r(429)]=n,this[r(468)](r(462),r(421)).to(i),this[r(468)](r(460)).to(this,r(421),(t=>{return i=e[r(461)],(s=t)[(n=Ve)(179)](i,{month:n(182),day:n(180)})+", "+s[n(172)](i,{hour:n(180),minute:n(180)});var i,s,n})),this[r(444)](r(475),!1),this[r(444)](r(455),!1),this[r(444)](r(457),!1),this[r(444)](r(471),!1),this[r(444)](r(425),!1),this[r(445)]=new Oe(e,ft.createLabeledInputText),this[r(445)][r(416)][r(443)]({attributes:{maxlength:r(446)}}),this[r(445)][r(416)][r(468)](r(474)).to(this,r(462),(t=>t||this[r(460)])),this[r(445)][r(468)](r(425)).to(this,r(475),this,r(425),((t,e)=>t&&e)),this[r(465)]=s&&s[r(451)]?function(e,i){const s=Fe,n=e[s(142)],r=e[s(165)],o=(0,ft.createDropdown)(r);o[s(151)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(165)],n={"Compare against selected":J(s,i(161)),"Name this revision":J(s,i(146)),"Restore this revision":J(s,i(160))};return e[i(174)]((t=>{const e=i,s=n[t[e(138)]];return s&&s!==t[e(138)]&&(t[e(138)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(178),model:new ft.ViewModel({label:t[n(138)],class:t[n(153)],withText:!0,role:n(141),_action:t[n(156)]})};i[n(148)][n(152)](n(164)).to(e,n(158),(i=>n(176)!=typeof t[n(164)]||!i||t[n(164)](e))),o[n(172)](i)}return o}(e,i);return e[s(152)](s(158)).to(o,s(171)),o[s(163)][s(132)]({label:J(r,s(154)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(149)]({attributes:{class:[s(139),n.if(s(158),s(133))]},on:{click:n.to((t=>t[s(173)]()))}}),o.on(s(157),(t=>{const i=s;e[i(137)]&&i(176)==typeof t[i(134)][i(179)]&&t[i(134)][i(179)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(147)}),o[s(177)](e,s(166),((t,n,r)=>{const a=s;if(r)for(const t of o[a(145)][a(135)]){const s=t[a(150)][a(167)],n=i[a(162)]((t=>t[a(156)]===s[a(179)]))[a(169)];t[a(169)]=void 0===n||n(e)}})),o}(this,s):"",this[r(465)]&&this[r(465)][r(468)](r(425)).to(this),this[r(431)]({tag:r(419),attributes:{class:["ck",r(476),r(450),o.if(r(427),r(466))]},children:[{tag:r(419),attributes:{class:["ck",r(476),r(459),o.if(r(425),r(470),(t=>!t)),o.if(r(475),r(424)),o.if(r(455),r(473)),o.if(r(457),r(464))]},children:[this[r(445)],{tag:r(422),attributes:{class:["ck",r(469)]},children:[{text:o.to(r(460))}]},{tag:r(419),attributes:{class:["ck",r(449)]},children:[{tag:"ul",attributes:{class:["ck",r(430)]},children:a}]},this[r(465)]],on:{click:o.to((t=>{const e=r;t[e(435)][e(442)](e(454))||this[e(471)]&&this[e(425)]&&this[e(438)](e(453),{id:this.id})}))}}]})}[Pe(417)](){const t=Pe;super[t(417)]();const e=this[t(445)][t(416)][t(423)];this[t(463)](e,t(456),(()=>{const i=t;this[i(429)]&&!e[i(474)]||this[i(438)](i(441),{id:this.id,name:e[i(474)]}),e[i(474)]||(e[i(474)]=this[i(462)]?this[i(462)]:this[i(460)])}))}[Pe(453)](){this[Pe(475)]=!0}[Pe(472)](){this[Pe(475)]=!1}[Pe(418)](){this[Pe(455)]=!0}[Pe(433)](){this[Pe(455)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ge extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",Xe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Qe,day:Ke},ii={year:Ke,month:Qe,day:Ke,weekday:Qe},si={year:Ke,month:Xe,day:Ke},ni={year:Ke,month:Xe,day:Ke,weekday:Xe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},yi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},ki={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},bi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,timeZoneName:Xe},wi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ws(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ti={};class Ni extends _i{static create(t){return Ti[t]||(Ti[t]=new Ni(t)),Ti[t]}static resetCache(){Ti={},Oi={}}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=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ws(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ls({year:n,month:r,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 Ri={};let Ai={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.DateTimeFormat(t,e),Ai[i]=s),s}let Vi={};let Ei={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).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 s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return As(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;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&&Ni.create(i).valid?(s=i,this.dt=t):(s="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,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}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 Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={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."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[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 zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Di=null,Ai={},Vi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,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,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,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=n,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?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(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 Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(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:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}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 Wi=null;class Zi extends _i{static get utcInstance(){return null===Wi&&(Wi=new Zi(0)),Wi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(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 Hi extends _i{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 qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={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]},Yi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${$i[i]}${e}`)),Ji[i][e]}let Ki,Qi=()=>Date.now(),Xi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){Xi=t}static get defaultZone(){return qi(Xi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Ui.resetCache(),Ni.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(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 ks(t){const e=Is(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ts(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Is(t)&&t>=e&&t<=i}function As(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(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 Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Us(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Ws(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ts(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${As(i,2)}:${As(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${As(i,2)}${As(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Xs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Xs];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[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 As(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(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.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 r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({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 s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({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 s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({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 s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({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 s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({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}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Tn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),Rn=/^-?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 An(t){const[e,i,s,n,r,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(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:Xs.indexOf(t)+1),a}const En=/^(?:(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 Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(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$/,Fn=/^(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$/,jn=/^(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 Ln(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Un=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Wn=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,xn,Tn),qn=fn(bn,On,xn,Tn),$n=fn(wn,On,xn,Tn),Bn=fn(On,xn,Tn);const Yn=fn(On);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(On,xn,Tn);const Qn="Invalid Duration",Xn={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}},tr={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},...Xn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,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:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Xn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={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 ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[Rn,An])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new ur({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 Ye(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?ln.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=nr.map((e=>{const i=this.values[e];return ws(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+=Ds(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 eo.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?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ts(e.values,t)||Ts(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.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]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(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 or(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 s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{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 Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.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:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.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?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}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:hr.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 hr.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 s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[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=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["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=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(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 s=t.charCodeAt(i);if(-1!==t[i].search($i.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={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 Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(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 br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Us);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\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 s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ts(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(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),ws(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(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 s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ts(i,"a")&&Ts(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Tr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(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=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Ar=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(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 jr(t,e,i){return Cr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.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=Ls(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=As(t.c.year,i?6:4),e?(s+="-",s+=As(t.c.month),s+="-",s+=As(t.c.day)):(s+=As(t.c.month),s+=As(t.c.day)),s}function Wr(t,e,i,s,n,r){let o=As(t.c.hour);return e?(o+=":",o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=As(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=As(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=As(Math.trunc(-t.o/60)),o+=":",o+=As(Math.trunc(-t.o%60))):(o+="+",o+=As(Math.trunc(t.o/60)),o+=":",o+=As(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(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 Ye(t);return e}(t)}}function Gr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Xr&&(Xr=rs.now()),to[t]=t.offset(Xr)),to[t]}(i);[n,r]=jr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(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 Xr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Ui.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Ui.fromObject(e),n=qs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=$r,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=Rs(t.weekNumber,1,zs(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=Rs(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=jr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Un,qn],[Wn,$n],[Zn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,Ln],[Fn,Ln],[jn,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Tr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Hn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Xr=void 0,to={}}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?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.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=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(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=qs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,Lr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){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"===s)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"===s){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?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Wr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Wr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[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 ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.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||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Tr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no();return(so=function(t,e){return i[t-=498]})(t,e)}function no(){const t=["145nxyydU","local","fromJSDate","toJSDate","51vfHZrj","1620mVeTah","40496nbBSAU","week","setLocale","503467PoUqcw","month","52921781xeaUFN","102NtchBu","8055650lEsOXn","hasSame","minus","162332fFSnHj","35050aPXIDh","toRelativeCalendar","year","349153zuxNMe","monthLong","startOf","weekdayLong","day"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(506)](t)[i(512)](e),n=eo[i(505)](),r=n[i(519)]({days:1})[i(501)](i(503));let o,a;return s[i(518)](n,i(503))?(o=s[i(501)](i(503))[i(507)](),a=s[i(522)]()):s[i(518)](r,i(503))?(o=r[i(507)](),a=s[i(522)]()):s[i(518)](n,i(511))?(o=s[i(501)](i(511))[i(507)](),a=s[i(502)]||""):s[i(518)](n,i(498))?(o=s[i(501)](i(514))[i(507)](),a=s[i(500)]||""):(o=s[i(501)](i(498))[i(507)](),a=String(s[i(498)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(863954===-parseInt(e(513))/1+-parseInt(e(521))/2*(-parseInt(e(508))/3)+parseInt(e(520))/4*(-parseInt(e(504))/5)+-parseInt(e(516))/6*(parseInt(e(499))/7)+-parseInt(e(510))/8*(parseInt(e(509))/9)+-parseInt(e(517))/10+parseInt(e(515))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=lo();return(uo=function(t,e){return i[t-=191]})(t,e)}function lo(){const t=["add","span","ck-revision-history-sidebar__time-period__revisions","2561200jggmlX","192eThwBF","addRevision","setTemplate","ck-revision-history-sidebar__time-period__label","find","removeRevision","uiLanguage","_revisionActions","_requireRevisionName","remove","div","setName","startDate","143584THfQZj","revisionViews","createCollection","17870tbjjLS","334848WIYtud","13535njeVYG","1269681QhieFs","delegate","ck-revision-history-sidebar__time-period","locale","localizedPeriodName","select","40972AdrxcK"];return(lo=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(103152===-parseInt(e(212))/1+parseInt(e(209))/2+parseInt(e(213))/3+-parseInt(e(191))/4+parseInt(e(214))/5*(parseInt(e(196))/6)+parseInt(e(215))/7+-parseInt(e(195))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class ho extends ft.View{[co(208)];[co(210)];[co(203)];[co(204)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(218)][n(202)])[n(219)];this[n(208)]=e,this[n(210)]=this[n(211)](),this[n(203)]=i,this[n(204)]=s,this[n(210)][n(216)](n(220)).to(this),this[n(210)][n(216)](n(207)).to(this),this[n(198)]({tag:n(206),attributes:{class:["ck",n(217)]},children:[{tag:n(193),attributes:{class:["ck",n(199)]},children:[{text:r}]},{tag:n(206),attributes:{class:["ck",n(194)]},children:this[n(210)]}]})}[co(197)](t){const e=co,i=new We(this[e(218)],t,this[e(203)],this[e(204)]);this[e(210)][e(192)](i)}[co(201)](t){const e=co,i=this[e(210)][e(200)]((e=>e.id===t.id));this[e(210)][e(205)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(t,e){const i=vo();return(po=function(t,e){return i[t-=209]})(t,e)}function vo(){const t=["80JVgWiV","20xRTgtG","Revision history","972295oVKxvr","20412LRTkjU","3329691SeRRQW","ck-reset_all","span","55TurSrM","content","104672qbvUaz","271566zgGFfA","ck-revision-history-sidebar__header__label","2614432KriwWP","ck-revision-history-sidebar__header","21rytwdH","div","3632988ZDGrob","133PUgOHn","setTemplate"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(616328===-parseInt(e(210))/1*(-parseInt(e(225))/2)+-parseInt(e(220))/3+-parseInt(e(216))/4*(-parseInt(e(218))/5)+parseInt(e(226))/6*(parseInt(e(213))/7)+parseInt(e(228))/8+parseInt(e(219))/9*(-parseInt(e(215))/10)+parseInt(e(223))/11*(-parseInt(e(212))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class go extends ft.View{constructor(t){const e=po;super(t);const i=new ft.IconView;i[e(224)]=dt.IconHistory,this[e(214)]({tag:e(211),attributes:{class:["ck",e(221),e(209)]},children:[i,{tag:e(222),attributes:{class:["ck",e(227)]},children:[J(t,e(217))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["highlightRevisions","createdAt","render","_revisionActions","select","get","unhighlight","_removeRevision","410xhZYBr","_revisions","createCollection","1354VnJwBQ","startDate","delegate","selectRevision","1653348aDovHM","ck-revision-history-sidebar__timeline","flat","7886046YtWEGy","397984UrYMhq","remove","isEnabled","76686thAnkq","map","revisionViews","ck-reset","set","setTemplate","locale","find","deselect","uiLanguage","addRevision","revisionSetName","_addRevision","setName","10kDYWPR","bindTemplate","ck-disabled","some","2505087QoAhEY","ck-rounded-corners","ck-revision-history-sidebar","1252KHxHVl","add","removeRevision","fire","getTime","timePeriodViews","highlight","revisionSelected","_requireRevisionName","div","_getTimePeriodViewByStartDate","13644243LEnSUP"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=237]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(708227===-parseInt(e(282))/1*(-parseInt(e(250))/2)+parseInt(e(279))/3+parseInt(e(254))/4+parseInt(e(247))/5*(-parseInt(e(261))/6)+parseInt(e(257))/7+parseInt(e(258))/8+parseInt(e(238))/9*(-parseInt(e(275))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends ft.View{[bo(287)];[bo(248)];[bo(242)];[bo(290)];constructor(t,e,i,s){const n=bo;super(t);const r=this[n(276)];this[n(287)]=this[n(249)](),this[n(287)][n(252)](n(243)).to(this),this[n(287)][n(252)](n(274)).to(this),this[n(248)]=e,this[n(242)]=i,this[n(290)]=s,this.on(n(243),((t,e)=>{const i=n;this[i(285)](i(289),e)})),this.on(n(274),((t,e)=>{const i=n;this[i(285)](i(272),e)})),this[n(265)](n(260),!1),this[n(266)]({tag:n(291),attributes:{class:["ck",n(264),n(280),n(281)]},children:[new go(t),{tag:n(291),attributes:{class:["ck",n(255),r.if(n(260),n(277),(t=>!t))]},children:this[n(287)]}]})}[bo(241)](){const t=bo;super[t(241)]();for(const e of this[t(248)])this[t(273)](e);this[t(248)].on(t(283),((e,i)=>{this[t(273)](i)})),this[t(248)].on(t(259),((e,i)=>{this[t(246)](i)}))}get[bo(263)](){const t=bo;return this[t(287)][t(262)]((e=>e[t(263)][t(262)]((t=>t))))[t(256)]()}[bo(253)](t){const e=bo;for(const i of this[e(263)])t&&t.id===i.id?i[e(243)]():i[e(269)]()}[bo(239)](t){const e=bo;for(const i of this[e(263)])t[e(278)]((({id:t})=>t===i.id))?i[e(288)]():i[e(245)]()}[bo(273)](t){const e=bo,i=ro(t[e(240)],this[e(267)][e(270)])[e(251)];let s=this[e(287)][e(244)](0);s&&s[e(251)][e(286)]()===i[e(286)]()||(s=new ho(this[e(267)],i,this[e(242)],this[e(290)]),this[e(287)][e(283)](s)),s[e(271)](t)}[bo(246)](t){const e=bo,i=ro(t[e(240)],this[e(267)][e(270)])[e(251)];this[e(237)](i)[e(284)](t)}[bo(237)](t){const e=bo;return this[e(287)][e(268)]((i=>i[e(251)][e(286)]()===t[e(286)]()))}}const So=xo;function Oo(){const t=["_revisions","restoreRevisionCallback","_revisionsRepository","render","config","string","revisionHistory.viewerSidebarContainer","getLaterVisibleRevision","selectRevision","revisionHistory","1511040xdkAOn","highlightRevisions","33318714MQfVNs","_revisionViewer","204161vNjHBC","Name this revision","destroy","12xtULOP","ready","_handleRevisionSelected","RevisionsSidebar","revisionHistory.revisionActions","listenTo","6srymGk","data","isOfficialPlugin","compareAgainstSelected","init","appendChild","_handleRevisionSetName","isReady","107292mMEJpU","plugins","compare","revisionSetName","427DyTavW","Restore this revision","length","timePeriodViews","isSelected","bind","defaultRevisionActions","newRevisionId","isEnabled","repository","add","_createRevisionActions","nameRevision","revisionViews","restoreRevision","9qwVBPo","requires","153170vIGkIF","getRevision","Compare against selected","availableRevisionActions","get","select","revisionSelected","5608825UGjQnd","diff","_sidebarView","change:diff","isPremiumPlugin","name","remove","element","locale","editor","getIndex","pluginName","setName","map","_handleDiffChange","focus","action","revisionHistory.requireRevisionName","getRevisionsInDiff","4nDcaME","2049951sedGId","getEarlierVisibleRevision","_handleEditorDataReady","assign","isVisible","fieldView"];return(Oo=function(){return t})()}function xo(t,e){const i=Oo();return(xo=function(t,e){return i[t-=151]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(572010===parseInt(e(193))/1*(parseInt(e(202))/2)+parseInt(e(173))/3*(-parseInt(e(172))/4)+-parseInt(e(153))/5+-parseInt(e(210))/6*(parseInt(e(214))/7)+-parseInt(e(189))/8+parseInt(e(229))/9*(parseInt(e(231))/10)+-parseInt(e(191))/11*(-parseInt(e(196))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class To extends W.Plugin{[So(192)];[So(181)];[So(155)];static[So(220)]=[So(205),So(228),So(226)];static[So(234)]=function(){const t=So;return{compareAgainstSelected:{name:t(233),action:({plugins:e},i)=>{const s=t,n=e[s(235)](Xt),r=n[s(223)];let o=n[s(154)][s(221)],a=i.id;r[s(163)](o)>r[s(163)](a)&&([o,a]=[a,o]),n[s(212)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(235)](Xt);return!(n[s(223)][s(171)](n[s(154)])[s(216)]>2||i[s(218)])}},restoreRevision:{name:t(215),action:(e,{id:i})=>{const s=t;e[s(183)][s(235)](s(188))[s(180)](i)},isVisible:({plugins:e},i)=>!!e[t(235)](Xt)[t(223)][t(186)](i.id)},nameRevision:{name:t(194),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(235)](Xt),o=r[n(223)][n(174)](i);r[n(212)](i,o),s[n(168)](),s[n(178)][n(151)]()}}}}();static get[So(164)](){return So(199)}static get[So(204)](){return!0}static get[So(157)](){return!0}static get[So(230)](){return[Xt]}constructor(t){const e=So;super(t),this[e(192)]=t[e(211)][e(235)](Xt),this[e(181)]=this[e(192)][e(223)],this[e(155)]=null}[So(206)](){const t=So,e=this[t(181)][t(179)],i=this[t(225)](),s=this[t(162)][t(183)][t(235)](t(185));this[t(155)]=new Io(this[t(162)][t(161)],e,i,this[t(162)][t(183)][t(235)](t(170))),this[t(155)].on(t(152),this[t(198)][t(219)](this)),this[t(155)].on(t(213),this[t(208)][t(219)](this)),this[t(155)][t(219)](t(222)).to(this[t(192)]),this[t(155)][t(217)].on(t(224),((e,i)=>{const s=t;i[s(227)].on(s(224),((t,e)=>{const i=s;e[i(219)](i(222),i(209)).to(this[i(192)])}))})),this[t(155)][t(182)](),this[t(201)](this[t(162)][t(203)],t(197),this[t(175)][t(219)](this)),this[t(201)](this[t(192)],t(156),this[t(167)][t(219)](this)),s[t(207)](this[t(155)][t(160)])}[So(195)](){const t=So;this[t(155)][t(160)][t(159)](),this[t(155)][t(195)]()}[So(175)](){const t=So,e=this[t(181)][t(232)](0);if(e){const i=this[t(181)][t(174)](e.id);this[t(192)][t(212)](e,i)}}[So(198)](t,e){const i=So,s=this[i(181)][i(232)](e.id),n=this[i(181)][i(174)](s.id);this[i(192)][i(212)](s,n)}[So(208)](t,e){const i=So;this[i(181)][i(232)](e.id)[i(165)](e[i(158)])}[So(167)](t,e,i){const s=So,n=this[s(181)][s(171)](i);n[s(216)]>2?(this[s(155)][s(190)](n),this[s(155)][s(187)](null)):(this[s(155)][s(190)]([]),this[s(155)][s(187)](n[0]))}[So(225)](){const t=So,e=this[t(162)],i=To[t(234)],s=e[t(183)][t(235)](t(200))||To[t(220)];if(s[t(216)])return s[t(166)]((s=>{const n=t,r=n(184)==typeof s?Object[n(176)]({},i[s]):s;return r[n(169)]=r[n(169)][n(219)](this,e),r[n(177)]&&(r[n(177)]=r[n(177)][n(219)](this,e)),r}))}}const No=To;function Ro(t,e){const i=Mo();return(Ro=function(t,e){return i[t-=142]})(t,e)}const Ao=Ro;function Mo(){const t=["editor","bind","6uhIoCE","componentFactory","_view","element","render","init","3179KnchqS","name","restore","fillFromConfig","addToolbar","isFocused","view","config","editable","rootName","toolbar","3OFrxey","getRoot","155666epRMeF","3217662wXMZMD","editing","get","detachDomRoot","_elementReplacer","9665oqdkUQ","_initToolbar","viewportOffset","705204NlxwRf","destroy","25870tOKHyo","setEditableElement","stickyPanel","focusTracker","300SMpdsC","limiterElement","viewportTopOffset","attachDomRoot","_toolbarConfig","ready","isActive","23964njrPYn","fire","document","replace","4379888YmPgzS"];return(Mo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(294014===-parseInt(e(179))/1+parseInt(e(166))/2*(parseInt(e(155))/3)+parseInt(e(172))/4*(parseInt(e(163))/5)+-parseInt(e(186))/6*(parseInt(e(157))/7)+-parseInt(e(183))/8+-parseInt(e(158))/9+-parseInt(e(168))/10*(-parseInt(e(144))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Vo extends ft.EditorUI{[Ao(188)];[Ao(176)];[Ao(162)];get[Ao(150)](){return this[Ao(188)]}constructor(e,i){const s=Ao;super(e),this[s(188)]=i,this[s(176)]=(0,ft.normalizeToolbarConfig)(e[s(151)][s(160)](s(154))),this[s(162)]=new t.ElementReplacer}get[Ao(189)](){const t=Ao;return this[t(150)][t(189)]}[Ao(143)](t){const e=Ao,i=this[e(184)],s=this[e(150)],n=i[e(159)][e(150)],r=s[e(152)],o=n[e(181)][e(156)]();r[e(145)]=o[e(153)],s[e(142)]();const a=r[e(189)];this[e(169)](r[e(145)],a),s[e(152)][e(185)](e(149)).to(this[e(171)]),n[e(175)](a),this[e(162)][e(182)](t,this[e(189)]),this[e(164)](),this[e(180)](e(177))}[Ao(167)](){const t=Ao;super[t(167)]();const e=this[t(150)],i=this[t(184)][t(159)][t(150)];this[t(162)][t(146)](),i[t(161)](e[t(152)][t(145)]),e[t(167)]()}[Ao(164)](){const t=Ao,e=this[t(150)];e[t(170)][t(185)](t(178)).to(this[t(171)],t(149)),e[t(170)][t(173)]=e[t(189)],e[t(170)][t(185)](t(174)).to(this,t(165),(({top:t})=>t)),e[t(154)][t(147)](this[t(176)],this[t(187)]),this[t(148)](e[t(154)])}}var Eo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Co=jo;function Fo(){var t=["stickyPanel","shouldToolbarGroupWhenFull","_editable","editable","top","render","9795NhbazS","add","204651rODBGw","96pyOOoA","content","1304330TMHPVt","289020AdVXkf","51072MFqPIJ","main","1185107dSXUZN","119977oAzwyv","3JKHzOQ","564NydvtM","toolbar"];return(Fo=function(){return t})()}function jo(t,e){var i=Fo();return(jo=function(t,e){return i[t-=213]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(167914===parseInt(e(214))/1+parseInt(e(231))/2+parseInt(e(215))/3*(parseInt(e(230))/4)+parseInt(e(224))/5*(parseInt(e(216))/6)+parseInt(e(213))/7+-parseInt(e(227))/8*(parseInt(e(226))/9)+-parseInt(e(229))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends ft.BoxedEditorUIView{[Co(220)];[Co(218)];[Co(217)];get[Co(221)](){return this[Co(220)]}constructor(t,e,i={}){var s=Co;super(t),this[s(218)]=new ft.StickyPanelView(t),this[s(217)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(219)]}),this[s(220)]=new ft.InlineEditableUIView(t,e)}[Co(223)](){var t=Co;super[t(223)](),this[t(218)][t(228)][t(225)](this[t(217)]),this[t(222)][t(225)](this[t(218)]),this[t(232)][t(225)](this[t(221)])}}const Po=Uo;function zo(){const t=["1963615VdIJgz","1377549eNjUDt","updateSourceElement","ready","63332XPBlor","initialData","editing","document","view","sourceElement","destroy","9IgLQaN","39NChUsO","initPlugins","data","config","6GiOTjC","createRoot","get","fire","1447360xHtgMK","354136itlXhg","35YBYJgr","18257085StYvyM","model","init","35566vVFIDE","_ui","create","locale"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=381]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(382004===-parseInt(e(382))/1*(parseInt(e(397))/2)+-parseInt(e(383))/3*(parseInt(e(405))/4)+parseInt(e(401))/5*(-parseInt(e(387))/6)+-parseInt(e(393))/7*(parseInt(e(392))/8)+-parseInt(e(402))/9+-parseInt(e(391))/10+parseInt(e(394))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Wo extends((0,W.ElementApiMixin)(W.Editor)){[Po(398)];get ui(){return this[Po(398)]}constructor(t,e){const i=Po;super(e),this[i(410)]=t,this[i(395)][i(408)][i(388)]();const s=new Lo(this[i(400)],this[i(407)][i(409)],{shouldToolbarGroupWhenFull:!0});this[i(398)]=new Vo(this,s)}[Po(381)](){const t=Po;return this[t(403)](),this.ui[t(381)](),super[t(381)]()}static async[Po(399)](t,e){const i=Po,s=new this(t,e);return await s[i(384)](),await s.ui[i(396)](t),await s[i(385)][i(396)](s[i(386)][i(389)](i(406))||""),s[i(390)](i(404)),s}}const Zo=Ho;function Ho(t,e){const i=Bo();return(Ho=function(t,e){return i[t-=477]})(t,e)}!function(t){const e=Ho,i=t();for(;;)try{if(683060===-parseInt(e(477))/1+parseInt(e(569))/2*(parseInt(e(526))/3)+parseInt(e(510))/4+-parseInt(e(590))/5*(-parseInt(e(517))/6)+-parseInt(e(549))/7+parseInt(e(500))/8+-parseInt(e(586))/9*(parseInt(e(544))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);const qo=[Zo(595),Zo(484)];class $o extends W.Plugin{[Zo(554)];static get[Zo(596)](){return Zo(482)}static get[Zo(551)](){return!0}static get[Zo(511)](){return!0}constructor(t){const e=Zo;function i(t){const e=Ho;return t[e(621)]((t=>String[e(506)](t)))[e(524)]("")}super(t),this[e(554)]=e(512),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Bo(){const t=["PaginationLookup","hide","refreshVisibility","adapter","Autosave","keys","isReady","fromVersion","_update","setAttribute","catch","translations","_enhanceShowRevisionViewerCallback","creator","14085kMMsUj","getRevision","requires","isAnonymous","185eyRaPt","RevisionsRepository","revisionHistory.showRevisionViewerCallback","has","restrictedEditingException","RevisionHistoryUI","pluginName","isEnabled","createdAt","data","none","revisionHistory.restoreRevisionCallback","model","document","markers","$graveyard","push","style","_viewerEditor","restoreRevision","then","toJSON","uiLanguage","Users","Annotations","toolbar","detachRoot","change","revisionHistory.editorContainer","_recalculatePageBreaks","exitToEditing","map","374284FRERrM","lazyRoots","revisionHistory.closeRevisionViewerCallback","getRevisionData","_closeRevisionViewer","RevisionViewerIntegration","isOpen","RestrictedEditingMode","getMarkersGroup","_restoreRevision","define","_showRevisionViewer","revisionHistory.requireRevisionName","includes","closeRevisionViewerCallback","rootName","commands","repository","parse","toLocaleTimeString","_cleanUp","RevisionHistory","error","5787168UFuoiE","set","block","editor","revision-history-viewer-opened","from","fromCharCode","name","getRevisions","removeSelectionAttribute","1437080mdqnDv","isPremiumPlugin","end","setSelection","update","bind","insert","176442xfZyLc","users","addRoot","enqueueChange","showRevisionViewerCallback","display","numeric","join","removeAttribute","77121ENHZGm","destroy","removeMarker","init","revisionHistory.viewerEditorElement","addRevisionData","revisionHistory.viewerContainer","plugins","save","RevisionTracker","getRevisionRootsAttributes","create","getAttributeKeys","changesNavigation","addUser","RevisionViewer","revisionHistory","toLocaleDateString","12110BGmNnF","Restored","Dialog","getRoot","roots","825377ZOaPtR","toVersion","isOfficialPlugin","config","createRangeIn","result","long","locale","revision-history-missing-configuration","isReadOnly","enableReadOnlyMode","saveRevision","disableReadOnlyMode","get","getUser","remove","_getRevisionViewerEditorConfig","refreshPositioning","_enhanceCloseRevisionViewerCallback","selection","70fVHtWR","isAttached","indexOf"];return(Bo=function(){return t})()}class Yo extends W.Plugin{[Zo(608)];static get[Zo(596)](){return Zo(498)}static get[Zo(551)](){return!0}static get[Zo(511)](){return!0}static get[Zo(588)](){return[st,Ct]}constructor(e){const i=Zo;if(super(e),!this[i(503)][i(552)][i(562)](i(542)))throw new t.CKEditorError(i(557),this);this[i(608)]=null,this[i(503)][i(552)][i(487)](i(592),(t=>this[i(488)]({...t,translations:this[i(503)][i(556)][i(583)]}))),this[i(503)][i(552)][i(487)](i(479),(t=>this[i(481)](t))),this[i(503)][i(552)][i(487)](i(601),(t=>this[i(486)](t))),this[i(503)][i(552)][i(487)](i(489),!1),this[i(584)](),this[i(567)]()}set[Zo(575)](t){const e=Zo;this[e(503)][e(533)][e(562)](e(535))[e(575)]=t}get[Zo(575)](){const t=Zo;return this[t(503)][t(533)][t(562)](t(535))[t(575)]}[Zo(531)](t){const e=Zo;return this[e(503)][e(533)][e(562)](e(535))[e(531)](t)}[Zo(587)](t){const e=Zo;return this[e(503)][e(533)][e(562)](e(591))[e(587)](t)}[Zo(508)](t){const e=Zo;return this[e(503)][e(533)][e(562)](e(591))[e(508)](t||{toJSON:!1})}[Zo(565)](){const e=Zo,i=this[e(503)],s=(0,Z.sanitizeEditorConfig)(i,qo),n=i[e(533)][e(562)](e(535)),r=i[e(533)][e(562)](e(613))[e(518)];return s[e(615)]=[e(620),e(609),e(539)],delete s[e(478)],s[e(533)][e(606)]($o,Xt,ke,class extends W.Plugin{static get[e(588)](){return[Xt,e(613)]}[e(529)](){const s=e,o=this[s(503)][s(533)][s(562)](s(613));for(const t of r)t[s(589)]||o[s(563)](t.id)||o[s(540)](t);const a=n[s(494)][s(508)]();let c=null;const u=this[s(503)][s(533)][s(562)](s(541));u[s(575)]=n[s(575)],u[s(515)](s(597)).to(n),this[s(503)][s(493)][s(562)](s(609))[s(515)](s(597)).to(i,s(558),(t=>!t));for(const e of a){const i=null===e[s(585)];if(i&&e[s(550)]===e[s(579)])continue;const r=e[s(611)]();u[s(531)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(580)](r,o);else if(!o){const e=a[u(611)]();e.id=(0,t.uid)(),n[u(560)](e,a[u(550)])[u(610)]((t=>{c=t}))}}else e[u(580)](r,o)}))}}},No),s}[Zo(584)](){const t=Zo,e=this[t(503)][t(552)][t(562)](t(542))[t(521)];this[t(503)][t(552)][t(501)](t(592),(async()=>{const i=t;this[i(503)][i(559)](i(504));const s=this[i(503)][i(533)][i(562)](i(535));if(this[i(503)][i(533)][i(593)](i(576))){const t=this[i(503)][i(533)][i(562)](i(576));await t[i(534)]()}else await s[i(514)]();if(this[i(503)][i(533)][i(593)](i(572))&&this[i(503)][i(533)][i(562)](i(572))[i(619)](),this[i(503)][i(533)][i(593)](i(546))){const t=this[i(503)][i(533)][i(562)](i(546));t[i(483)]&&t[i(573)]()}const n=this[i(565)]();return e(n)[i(610)]((t=>{const e=i;return this[e(608)]=t,this[e(503)][e(533)][e(593)](e(614))&&this[e(503)][e(533)][e(562)](e(614))[e(574)](),t}))[i(582)]((t=>(console[i(499)](t),this[i(503)][i(561)](i(504)),null)))}))}[Zo(567)](){const t=Zo,e=this[t(503)][t(552)][t(562)](t(542))[t(491)];this[t(503)][t(552)][t(501)](t(479),(()=>(this[t(503)][t(533)][t(593)](t(572))&&this[t(503)][t(533)][t(562)](t(572))[t(619)](),this[t(608)][t(533)][t(562)](t(541))[t(497)](),e(this[t(608)])[t(610)]((()=>{const e=t;if(this[e(503)][e(561)](e(504)),this[e(608)]=null,this[e(503)][e(533)][e(593)](e(614))){const t=this[e(503)][e(533)][e(562)](e(614));t[e(574)](),t[e(566)]()}})))))}[Zo(488)](t){const e=Zo,i=this[e(503)][e(552)][e(562)](e(618)),s=this[e(503)][e(552)][e(562)](e(532)),n=this[e(503)][e(552)][e(562)](e(530));return Wo[e(537)](n,t)[e(610)]((t=>(s[e(607)][e(522)]=e(502),i[e(607)][e(522)]=e(600),t)))}[Zo(481)](t){const e=Zo,i=this[e(503)][e(552)][e(562)](e(618));return this[e(503)][e(552)][e(562)](e(532))[e(607)][e(522)]=e(600),i[e(607)][e(522)]="",t[e(527)]()}async[Zo(486)](t){const e=Zo,i=this[e(503)],s=this[e(608)][e(533)][e(562)](e(541)),n=i[e(533)][e(562)](e(535)),r=s[e(494)][e(587)](t);let o,a,c;try{o=await s[e(480)](r),a=await s[e(536)](r)}catch(t){return void console[e(499)](t)}i[e(602)][e(617)]((t=>{const s=e;for(const e of Array[s(505)](i[s(602)][s(604)][s(485)](s(594))))t[s(528)](e)})),s[e(578)]=!1,i[e(602)][e(520)]((t=>{const s=e;t[s(513)](null),t[s(509)](i[s(602)][s(603)][s(568)][s(538)]());const n=Object[s(577)](o);for(const e of i[s(602)][s(603)][s(548)])s(605)!=e[s(492)]&&e[s(570)]()&&!n[s(490)](e[s(492)])&&t[s(616)](e);for(const e of n){let n=i[s(602)][s(603)][s(547)](e);n&&n[s(570)]()||(n=t[s(519)](e));const r=a[e],c=Object[s(577)](r),u=o[e];for(const e of n[s(538)]())c[s(490)](e)||t[s(525)](e,n);for(const i of c)t[s(581)](i,a[e][i],n);t[s(564)](t[s(553)](n)),t[s(516)](i[s(599)][s(495)](u,n),n,0)}}));const u=J(i[e(556)],e(545));return c=r[e(507)]?-1==r[e(507)][e(571)](u)?u+": "+r[e(507)]:r[e(507)]:u+": "+r[e(598)][e(543)](i[e(556)][e(612)],{month:e(555),day:e(523)})+", "+r[e(598)][e(496)](i[e(556)][e(612)],{hour:e(523),minute:e(523)}),await n[e(560)]({name:c}),s[e(578)]=!0,i[e(552)][e(562)](e(542))[e(491)]()}}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=354]})(t,e)}function Go(){var t=["345241vaqySF","478923koZuHz","315316wMzMNf","72786fvfXDz","1220248XWPErf","7ebbUzW","5237262aQRXtQ","481456uYZQsR","5dLsmay"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(283299===parseInt(e(355))/1+-parseInt(e(362))/2+-parseInt(e(356))/3+-parseInt(e(357))/4*(parseInt(e(354))/5)+-parseInt(e(358))/6+-parseInt(e(360))/7*(parseInt(e(359))/8)+parseInt(e(361))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=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(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},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}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)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]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[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=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(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,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());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}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.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 s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},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 s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>z,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>rt,RevisionViewer:()=>te,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>Y,RevisionsSidebar:()=>xo});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",T="[object Float32Array]",O="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M,V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(V=t,ArrayBuffer.isView(V)&&!(V instanceof DataView)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case T:case O:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=289]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(846342===parseInt(e(294))/1+parseInt(e(300))/2*(-parseInt(e(315))/3)+parseInt(e(316))/4+parseInt(e(312))/5+-parseInt(e(317))/6*(parseInt(e(306))/7)+parseInt(e(295))/8+parseInt(e(311))/9*(-parseInt(e(289))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[j(298)];[j(291)];[j(296)];[j(292)];[j(305)];[j(293)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(298)]=e[i(298)]||null,this[i(291)]=e[i(291)]||[],this[i(296)]=e[i(296)]||null,this[i(292)]=e[i(292)]||0,this[i(305)]=e[i(305)]||0,this[i(313)](i(314),e[i(314)]||""),this[i(313)](i(307),e[i(307)]||new Date),this[i(313)](i(304),e[i(304)]||{})}[j(301)](t){this[j(309)]({name:t})}[j(308)](t,e){const i=j,s=A(this[i(304)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(309)]({attributes:s})}[j(303)](t){const e=j,i=A(this[e(304)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(309)]({attributes:i})}[j(309)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(314),i(307),i(296),i(291),i(304),i(292),i(305),i(310)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(291)]&&(n[i(297)]=n[i(291)][i(299)]((t=>t.id)),delete n[i(291)]),this[i(302)](i(309),n,e))}[j(290)](){const t=j;return{id:this.id,name:this[t(314)],creatorId:this[t(298)]?this[t(298)].id:null,authorsIds:this[t(291)][t(299)]((t=>t.id)),diffData:this[t(296)],createdAt:this[t(307)],attributes:this[t(304)],fromVersion:this[t(305)],toVersion:this[t(292)]}}}function W(){const t=["6astTUQ","30BiptrB","toJSON","authors","toVersion","model","1639765fTZfWK","9101040AFeVBv","diffData","authorsIds","creator","map","1790958PHEymi","setName","fire","removeAttribute","attributes","fromVersion","2326100pNlMef","createdAt","setAttribute","_update","creatorId","8730963bFqFQP","5030250lMoHMj","set","name","3UyRFBu","4803988JtMNWp"];return(W=function(){return t})()}var U=i(782),Z=i(211),H=i(783);const q=B;function B(t,e){const i=$();return(B=function(t,e){return i[t-=314]})(t,e)}function $(){const t=["isPremiumPlugin","href","pluginName","createdAt","getIndex","data","earlier","addRevision","afterInit","name","diffData","getEarlierVisibleRevision","plugins","_revisions","1985aBgqmW","getRevisions","reverse","210mhPhFD","RevisionsRepository","11HSiLRe","fromVersion","later","Users","createRevision","getRevisionsInDiff","isOfficialPlugin","5104632FfpLlS","get","getRevision","5376324Qnzsjm","14hlbRqP","getUser","386170iTSDLq","getLaterVisibleRevision","push","authorsIds","37107APxskU","toVersion","from","toJSON","867576KYeCXy","newRevisionId","add","fromCharCode","length","join","editor","465PsoXnA","7082xckTKE","getRevisionsIterator","map","attributes","532yOsUrn","creatorId","isNaN","oldRevisionId","requires"];return($=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(502545===-parseInt(e(347))/1+-parseInt(e(363))/2*(-parseInt(e(362))/3)+-parseInt(e(367))/4*(parseInt(e(329))/5)+-parseInt(e(355))/6*(-parseInt(e(345))/7)+parseInt(e(341))/8+parseInt(e(351))/9*(-parseInt(e(332))/10)+parseInt(e(334))/11*(-parseInt(e(344))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(328)];static get[q(314)](){return[Z.Users]}static get[q(317)](){return q(333)}static get[q(340)](){return!0}static get[q(315)](){return!0}get[q(359)](){const t=q;return this[t(328)][t(359)]}constructor(e){const i=q;super(e),this[i(328)]=new t.Collection}[q(323)](){!async function(e){const i=k([117,56,102,113,100,80,99,82,85,121,120,54,105,101,67,111,98,114,57,116,76,87,109,78,119,74,90,106,81,104,49,55,84,79,110,122,50,108,118,97,77,66,48,51,88,53,86,89,65,72,69,71,112,107,115,75,52,83,68,70,103,73]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[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=r[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 s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),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=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(369)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[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([117]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}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 s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,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,s])=>{i(e),t(s)})):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 r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(365)]((t=>String[e(358)](t)))[e(360)]("")}!function(t){const i=l();r[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()]=s),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])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(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])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[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,s=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),s={...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 s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])((c=>{if(s())return c(k([86,97,108,105,100]));a(),r[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=>(r(),t)),(()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-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 s=36e5;function r(){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])](n/s)));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)*s: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)}))}}r[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])}),r[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 s(){return r[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(){r[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 s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,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,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),(t=>t[k([99,104,97,114,67,111,100,101,65,116])](0))),r=(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,n,r)||(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]))&&g(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])])?n/1e3:1741910400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,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:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(316)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[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=>n[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&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||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)}[q(338)](t){const e=q,i=this[e(361)][e(327)][e(342)](e(337));return new z({id:t.id,name:t[e(324)],creator:t[e(368)]?i[e(346)](t[e(368)]):null,diffData:t[e(325)]||t[e(320)],authors:t[e(350)][e(365)]((t=>i[e(346)](t))),createdAt:new Date(t[e(318)]),attributes:t[e(366)],fromVersion:t[e(335)],toVersion:t[e(352)]})}[q(322)](t,e=0){const i=q;this[i(328)][i(357)](t,e)}[q(343)](t){const e=q;return this[e(328)][e(342)](t)}[q(330)](t={toJSON:!1}){const e=q,i=Array[e(353)](this[e(328)]);return i[e(331)](),t[e(354)]?i[e(365)]((t=>t[e(354)]())):i}[q(319)](t){const e=q;return this[e(328)][e(319)](t)}[q(326)](t){const e=q,[,i]=this[e(364)](t,{direction:e(321)});return i}[q(348)](t){const e=q,[,i]=this[e(364)](t,{direction:e(336)});return i}[q(339)](t){const e=q,i=[];for(const s of this[e(364)](t[e(356)]))if(i[e(349)](s),s.id===t[e(370)])break;return i}*[q(364)](t,{direction:e=q(321),filter:i=()=>!0}={}){const s=q,n=s(321)===e?1:-1;let r=this[s(328)][s(342)](t),o=this[s(319)](r);for(yield r;r;){if(o+=n,r=this[s(343)](o),!r)return;i(r)&&(yield r)}}}function J(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function G(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function K(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return Q(t,e,r,o)}return Q(t,e,r,o)}function Q(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(M=s)||Number.isNaN(A)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,M;const V=(s=s??new Map).get(t),E=s.get(i);if(null!=V&&null!=E)return V===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!K(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>K(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case T:case O:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!K(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&Q(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&Q(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(Q(t.constructor,i.constructor,s,x)||G(t)&&G(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!K(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function X(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,X)}const et=it;function it(t,e){const i=st();return(it=function(t,e){return i[t-=364]})(t,e)}function st(){const t=["revisionHistoryLicenseKeyNotAllowed","_licenseKeyCheckInterval","revisionHistoryLicenseKeyExpired","useFillerType","_continueCurrentRevision","1370EUuLUE","toModel","data-revision-","finally","attachChange","stickiness","repository","createPositionFromPath","version","1086560zviNKH","removeRootAttribute","_getViewJson","_handleOperation","_addPendingAction","evaluationLimit","nodes","_diffRootsAttributes","type","insertion","getData","140400EAcude","delete","_handleRootOperation","attributesAfter","_initialRevisionId","getAttributes","dataDowncast","afterInit","getTime","1724679GlAfxV","range","_isPendingUpdate","_isInit","_loadRevisionData","getUser","_handleMarkerOperation","_transformMarkers","dataToMarker","remove","forEach","model","item","reverse","$graveyard","conversion","_processRootBeforeSave","targetPosition","_update","5ejCoNn","diffData","buildRevisionData","$text","string","reinsert","trim","parse","_prepareViewToSave","_removeRevisionMarkers","affectsData","_setConversion","get","reInit","Empty document","stringify","attributes","vid","revision-end","merge","childCount","getAncestors","data","oldRange","getTransformedByOperation","initial","_createInitialRevision","authorsIds","offset","from","changeRootAttribute","getRevisionRootsAttributes","marked","revisionHistoryLicenseKeyInvalid","PENDING_ACTION_REVISION_HISTORY","Initial revision","upcast","position","_markChanges","sourcePosition","userId","sort","_clone","_setAttribute","vid_start","getRevisionDocumentData","setRevisionData","_applyOperations","_createCurrentRevision","toVersion","addRootAttribute","element","fromEntries","getChildren","_showLicenseError","revisionHistoryLicenseKeyUsageLimit","attributesBefore","createRangeIn","_getFromVersion","_handleRootAttributeOperation","_baseRootsAttributes","elementEnd","config","add","_handleMoveOperation","1096444rzfsFW","destroy","getRevision","createPositionAfter","default","revisionHistoryLicenseKeyDomainLimit","insertionPosition","values","_savedMetaData","resolve","createRange","getRevisions","children","offsetSize","end","_diffRoots","Users","getRoot","_lastFrom","markers","featureNotAllowed","fromVersion","history","requires","rootsAttributes","getRootNames","push","revision","shift","nodeAfter","bind","rootName","addRevisionData","elementStart","set","text","path","currentRevision","domainLimit","vid_end","_generateTape","isEqual","addRevision","_loadedStateData","_replaceEditorDataWithRevisionData","PendingActions","revisionHistory.resumeUnsavedRevision","_handleMergeOperation","marker","init","_startingRevisionId","toData","markerToData","deletion","toView","setSource","hasContent","isEnabled","_calculateMetaData","_baseRoots","initialData","revisionHistoryLicenseKeyValid","_removeMetaData","getLatestVersion","_operations","view","isPremiumPlugin","length","_revisionDataBuilder","previousPosition","insert","splitPosition","plugins","RealTimeCollaborationClient","_handleInsertOperation","_loadState","key","define","creatorId","keys","filter","_revisionId","editing","_removePendingAction","getWalker","ready","keepParagraph","includes","authors","_bufferUpdate","_findInsertionIndex","getAttribute","addRoot","getIndex","expired","revision-start","updateRevisions","move","_touched","createdAt","invalid","_baseIdsRoots","max","paragraph","NEGATIVE_INFINITY","loadState","start","adapter","update","root","createRevision","_touchedRoots","name","getOperation","slice","getNodeByPath","documentFragment","source","_startingVersion","_cloneOperation","roots","_bufferedUpdates","clone","usageLimit","_insertChild","3JhsRBD","then","_saveMetaData","_makeIdsRoot","has","revision:","RevisionsRepository","RevisionHistory","_getState","for","createPositionAt","_markers","getMovedRangeStart","8503owjccR","newValue","_pendingAction","_fixRange","processor","tableCell","clear","licenseKey","createPositionBefore","_idsRoots","insertions","creator","split","document","editor","_execute","baseVersion","pluginName","sendBufferedUpdates","_getPreviousFrom","_fixOperation","615918XRMJey","some","getChild","_createFromRanges","map","newRange","_touchedMarkers","getRange","revisionHistoryLicenseKeyEvaluationLimit","_isAttached","editor-initial-data-replaced-with-revision-data","graveyardPosition","RevisionTracker","deletions","collaboration.channelId","locale","_source","saveRevision","_fixPosition","getCurrentRevisionId","getOperations","isOfficialPlugin","_getVidAttributeName","howMany","_handleSplitOperation","revisionHistoryLicenseKeyTrialLimit","_reset","startsWith","isReady","_lastTo","403150BelTwq","_makeRevision","_appendChild","detachRoot","_getBaseVids","parent","_copyMarkers","_authorId","_makeModelFromViewString","21zTbypJ","isAdd","size","isAttached","trialLimit","find"];return(st=function(){return t})()}!function(t){const e=it,i=t();for(;;)try{if(190005===-parseInt(e(505))/1+-parseInt(e(465))/2*(parseInt(e(401))/3)+parseInt(e(598))/4*(parseInt(e(533))/5)+parseInt(e(435))/6*(parseInt(e(474))/7)+-parseInt(e(494))/8+parseInt(e(514))/9+parseInt(e(485))/10*(-parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);const nt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class rt extends U.Plugin{[et(421)];[et(481)];[et(383)];[et(635)];[et(491)];[et(666)];[et(451)];[et(509)];[et(397)];[et(416)];[et(484)];[et(394)];[et(641)];static get[et(431)](){return et(447)}static get[et(456)](){return!0}static get[et(664)](){return!0}static get[et(621)](){return[Z.Users,Y,U.PendingActions]}constructor(e){const i=et;super(e),this[i(383)]=null,this[i(635)]=null,this[i(666)]=new at(this[i(428)]),this[i(509)]=this[i(428)][i(595)][i(545)](i(449))||i(558),this[i(397)]=new Map,this[i(641)]=null;const s=(0,t.uid)();this[i(451)]={history:this[i(428)][i(525)][i(427)][i(620)],getLatestVersion:()=>Promise[i(607)](this[i(428)][i(525)][i(427)][i(493)]),getCurrentRevisionId:()=>s},this[i(632)](i(463),!1),this[i(632)](i(655),!0),this[i(632)](i(516),!1),this[i(428)][i(595)][i(675)](i(644),!0),this[i(428)][i(529)][i(410)](i(569))[i(522)]({view:i(625)})}[et(647)](){const t=et;this[t(491)]=this[t(428)][t(670)][t(545)](t(407)),this[t(544)](),this[t(428)][t(555)].on(t(683),(()=>{const e=t,i=this[e(491)][e(600)](0),s=i&&null===i[e(425)]?i:null;if(this[e(484)]=!!s&&this[e(428)][e(595)][e(545)](e(644)),this[e(428)][e(670)][e(405)](e(671))){const t=this[e(451)][e(454)](),n=this[e(491)][e(600)](t);if(n)this[e(394)]=n[e(619)],this[e(484)]=!1;else{const t=this[e(451)][e(620)][e(662)][e(479)]((t=>!t[e(517)])),n=t?t[e(430)]:this[e(451)][e(620)][e(493)];i?(i[e(582)]<n&&i[e(532)]({toVersion:n}),this[e(484)]?(this[e(451)][e(454)]=()=>s.id,this[e(394)]=s[e(619)]):(this[e(394)]=i[e(582)],this[e(484)]=!1)):(this[e(394)]=n,this[e(484)]=!1)}}else s&&(this[e(428)][e(525)][e(427)][e(620)][e(493)]=Math[e(378)](s[e(582)],this[e(428)][e(525)][e(427)][e(620)][e(493)]),s[e(619)]===s[e(582)]?(0!==s[e(619)]&&(this[e(451)][e(454)]=()=>s.id),this[e(484)]=!1):this[e(484)]&&(this[e(451)][e(454)]=()=>s.id,this[e(394)]=s[e(619)])),this[e(484)]||(this[e(394)]=this[e(428)][e(525)][e(427)][e(493)]);this[e(666)][e(647)](this[e(451)][e(620)]),this[e(559)](this[e(394)]),this[e(581)](this[e(394)]),this[e(383)]&&this[e(432)]()})),this[t(628)](t(463)).to(this,t(516),(t=>!t)),this[t(421)]=this[t(428)][t(595)][t(545)](t(421));const e=this[t(428)];this[t(481)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(659)==r||i(566)==r||i(482)==r||i(603)==r||i(480)==r||i(443)==r||i(460)==r||i(588)==r){delete e[n],s=r,clearInterval(this[i(481)]),this[i(481)]=void 0;break}}i(566)==s&&e[i(587)](i(376)),i(482)==s&&e[i(587)](i(370)),i(603)==s&&e[i(587)](i(636)),i(480)==s&&e[i(587)](i(618),i(408)),i(443)==s&&e[i(587)](i(499)),i(460)==s&&e[i(587)](i(478)),i(588)==s&&e[i(587)](i(399))}),1e3)}async[et(512)](){const t=et;if(this[t(491)][t(665)]>0){const e=this[t(491)][t(600)](0),i=await this[t(578)](e),s=await this[t(564)](e);this[t(642)](i,s)}}[et(599)](){const t=et;super[t(599)](),this[t(481)]&&clearInterval(this[t(481)])}[et(653)](t){this[et(451)]=t}async[et(384)](){const t=et,e=await this[t(451)][t(661)]();if(e>this[t(635)][t(582)]){await this[t(673)]();const i=this[t(535)]({revision:this[t(635)],to:e});i[t(364)]=i[t(560)][t(439)]((e=>this[t(428)][t(670)][t(545)](t(614))[t(519)](e))),this[t(635)][t(532)](i)}}async[et(673)](){const t=et;this[t(484)]&&!this[t(641)]&&(await this[t(518)](this[t(635)]),this[t(666)][t(381)](this[t(635)]),this[t(641)]={fromVersion:this[t(635)][t(619)],authors:this[t(635)][t(364)][t(390)]()})}async[et(452)](e={},i=null){const s=et,n=[];await this[s(673)](),this[s(484)]=!1,i>this[s(635)][s(582)]&&(i=null),null===i&&(i=await this[s(451)][s(661)]());const r=this[s(591)](i),o=this[s(535)]({from:r,to:i});if(this[s(635)][s(582)]<i){const t=this[s(535)]({revision:this[s(635)],from:i,to:i});t[s(364)]=[],t[s(560)]=[],t.id=this[s(635)].id,this[s(635)][s(532)](t,!0),delete t[s(364)],n[s(624)](t)}e[s(676)]=this[s(428)][s(670)][s(545)](s(614)).me.id,e[s(388)]=e[s(388)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(630)](e);n[s(624)](e);const c=this[s(491)][s(369)](a);if(0!==c){const t=this[s(491)][s(600)](c-1);if(t[s(619)]!==i){const r=this[s(666)][s(504)](i,t[s(582)]),o={id:t.id,diffData:r[s(534)],authorsIds:r[s(560)],authors:r[s(560)][s(439)]((t=>this[s(428)][s(670)][s(545)](s(614))[s(519)](t))),fromVersion:i};t===this[s(635)]&&(o[s(375)]=new Date(e[s(375)][s(513)]()+10)),t[s(532)](o,!0),delete o[s(364)],n[s(624)](o)}}if(this[s(383)]){for(const t of n)this[s(365)](t.id,t,!0);this[s(432)]()}return a}[et(630)](t){const e=et,i=this[e(491)][e(386)](t);return this[e(383)]&&i.on(e(532),((t,i,s)=>{const n=e;s||(this[n(365)](i.id,i,!0),this[n(432)]())})),this[e(491)][e(640)](i,this[e(366)](i)),i}async[et(578)](t){const e=et;await this[e(518)](t);const i={};for(const s in t[e(534)]){if(t[e(534)][s][e(489)]&&!t[e(534)][s][e(489)][e(477)])continue;const n=this[e(542)](JSON[e(540)](t[e(534)][s][e(424)])),r=this[e(428)][e(680)][e(663)][e(427)],o=new H.ViewDocumentFragment(r,n[e(439)]((t=>ot(t,this[e(428)]))));this[e(428)][e(555)][e(418)][e(483)](e(565)),i[s]=this[e(428)][e(555)][e(418)][e(649)](o),this[e(428)][e(555)][e(418)][e(483)](e(602))}return i}async[et(564)](t){const e=et;await this[e(518)](t);const i={};for(const s in t[e(534)])t[e(534)][s][e(489)]&&!t[e(534)][s][e(489)][e(477)]||(i[s]=t[e(534)][s][e(508)]||{});return i}[et(432)](){const t=et;if(0===this[t(397)][t(476)])return;if(this[t(516)])return;let e=Array[t(562)](this[t(397)][t(605)]());this[t(397)][t(420)]();for(let i=0;i<e[t(665)];i++){const s=e[i];let n=!1;for(const e of Object[t(677)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(678)]((t=>null!==t)),!e[t(665)])return;for(let i=0;i<e[t(665)];i++){const s=e[i];void 0!==s[t(619)]&&void 0===s[t(582)]&&(s[t(582)]=this[t(491)][t(600)](s.id)[t(582)]),void 0!==s[t(582)]&&void 0===s[t(619)]&&(s[t(619)]=this[t(491)][t(600)](s.id)[t(619)])}const i=this[t(428)][t(595)][t(545)](t(449));this[t(516)]=!0,this[t(498)](),this[t(383)][t(372)](e,i)[t(488)]((()=>{this[t(516)]=!1}))[t(402)]((e=>{const i=t;if(e)for(const t of e)this[i(579)]({id:t.id,createdAt:t[i(375)]});this[i(681)](),this[i(432)]()}))}[et(642)](e,i){const s=et;let n=this[s(428)][s(595)][s(545)](s(658)),r=this[s(428)][s(595)][s(545)](s(622));if(void 0===n){n={};for(const t of this[s(428)][s(525)][s(427)][s(623)]())n[t]=""}if(s(537)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(428)][s(525)][s(427)][s(623)]())r[t]={}}let o=!1;const a=Object[s(677)](n),c=Object[s(677)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(539)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(677)](r[t])[s(665)]>0){o=!0;break}}o||(o=c[s(436)]((t=>!this[s(428)][s(525)][s(427)][s(615)](t)))),o&&(0,t.logWarning)(s(445),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(428)][s(595)][s(632)](s(658),e),this[s(428)][s(595)][s(632)](s(622),i)}[et(498)](){const t=et;if(!this[t(416)]){const e=this[t(428)][t(670)][t(545)](t(643));this[t(416)]=e[t(596)](J(this[t(428)][t(450)],t(567)))}}[et(681)](){const t=et;this[t(416)]&&(this[t(428)][t(670)][t(545)](t(643))[t(523)](this[t(416)]),this[t(416)]=null)}[et(366)](t){const e=et,i=this[e(491)][e(609)]();i[e(527)]();let s=0;for(;s<i[e(665)];){const n=i[s];if(n===this[e(635)]){s++;continue}if(n.id===this[e(509)])break;const r=t[e(582)]-n[e(582)]||t[e(619)]-n[e(619)];if(r>0)break;if(r<0)s++;else{if(!t[e(425)]&&n[e(425)])break;if(n[e(425)]||!t[e(425)]){if(t[e(375)]>n[e(375)])break;s++}else s++}}return s}[et(579)](t){const e=et,i=this[e(491)][e(600)](t.id);if(t[e(375)]&&(t[e(375)]=new Date(t[e(375)])),t[e(560)]){const i=this[e(428)][e(670)][e(545)](e(614));t[e(364)]=t[e(560)][e(439)]((t=>i[e(519)](t)))}i[e(532)](t,!0)}[et(535)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(619)],i=null!==i?i:t[s(582)];const n=this[s(666)][s(504)](e,i),r={diffData:n[s(534)],authorsIds:n[s(560)],fromVersion:e,toVersion:i};if(!t||i!==t[s(582)]){const t=i-1,e=this[s(451)][s(620)][s(389)](t);r[s(375)]=e&&e[s(375)]||new Date}if(this[s(641)]&&e===this[s(641)][s(619)])for(const t of this[s(641)][s(364)])r[s(560)][s(685)](t.id)||r[s(560)][s(624)](t.id);return r}[et(518)](t){const e=et;if(!t||t[e(534)])return Promise[e(607)]();{const i=this[e(428)][e(595)][e(545)](e(449));return this[e(383)][e(600)]({channelId:i,revisionId:t.id})[e(402)]((i=>{const s=e;t[s(534)]=i[s(534)]}))}}[et(365)](t,e,i){const s=et;if(this[s(397)][s(405)](t)){const n=this[s(397)][s(545)](t);e=i?{...n,...e}:{...e,...n}}this[s(397)][s(632)](t,e)}[et(591)](t){const e=et,i=this[e(491)][e(609)]();i[e(527)](),i[e(626)]();const s=i[e(479)]((i=>i[e(582)]<=t))[e(582)];return s<this[e(394)]?this[e(394)]:s}[et(559)](t){const e=et,i=this[e(491)][e(600)](this[e(491)][e(665)]-1);if(i)this[e(509)]=i.id;else{const i=!this[e(428)][e(525)][e(427)][e(396)][e(479)]((t=>this[e(428)][e(525)][e(654)](t))),s=this[e(428)][e(670)][e(545)](e(614)).me.id,n=J(this[e(428)][e(450)],e(i?547:568));this[e(466)]({from:t,to:t,id:this[e(509)],name:n,creatorId:s})}}[et(581)](t){const e=et,i=this[e(451)][e(454)]();this[e(635)]=this[e(491)][e(600)](i),this[e(635)]||(this[e(635)]=this[e(466)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(466)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(535)]({from:e,to:i});o[r(388)]=t,o[r(676)]=s,o.id=n;const a=this[r(630)](o);return this[r(383)]&&this[r(365)](o.id,o,!0),a}[et(544)](){const t=et;this[t(428)][t(529)][t(410)](t(511))[t(650)]({model:t(625)})}[et(542)](t){const e=et;return(t=t[e(678)]((t=>!t[e(388)]||e(371)!==t[e(388)]&&e(551)!==t[e(388)])))[e(524)]((t=>{const i=e;i(537)!=typeof t&&(t[i(610)]=this[i(542)](t[i(610)]),t[i(549)]=t[i(549)][i(678)]((t=>!t[0][i(462)](i(487)))))})),t}}function ot(t,e){const i=et,s=e[i(680)][i(663)][i(427)];if(i(537)==typeof t)return new H.ViewText(s,t);{const n=t[i(610)][i(439)]((t=>ot(t,e)));return new(nt[t[i(502)]]||H.ViewElement)(s,t[i(388)],t[i(549)],n)}}class at{[et(428)];[et(393)];[et(606)];[et(616)];[et(464)];[et(412)];[et(613)];[et(501)];[et(657)];[et(593)];[et(423)];[et(377)];[et(374)];[et(441)];[et(387)];[et(679)];[et(648)];constructor(t){const e=et;this[e(428)]=t,this[e(606)]=new Map,this[e(616)]=-1,this[e(464)]=-1,this[e(412)]=new Map,this[e(613)]=new Map,this[e(501)]=new Map,this[e(657)]=new Map,this[e(593)]=new Map,this[e(423)]=new Map,this[e(377)]=new Map,this[e(374)]=new Map,this[e(441)]=new Map,this[e(387)]=new Map,this[e(679)]=1}[et(647)](t){const e=et;this[e(393)]=t;const i=new Map,s=new Map,n=this[e(428)][e(525)][e(427)][e(396)][e(439)]((t=>t[e(629)]));for(const t of n){const n=this[e(428)][e(525)][e(427)][e(615)](t),r=ct(n);i[e(632)](t,r),s[e(632)](t,Object[e(585)](n[e(510)]()))}const r=Array[e(562)](this[e(428)][e(525)][e(617)])[e(439)]((t=>[t[e(388)],t[e(442)]()])),o=this[e(393)][e(493)];this[e(403)](o,i,r,s),this[e(648)]=this[e(679)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(632)](t,i),c[e(632)](t,{})}this[e(403)](Number[e(380)],a,[],c)}[et(504)](t,e){const i=et;if(this[i(616)]===t&&this[i(464)]<=e)this[i(606)][i(476)]>1&&this[i(660)](this[i(464)]),this[i(580)](this[i(464)],e,!0);else{if(!this[i(606)][i(405)](t)){const e=this[i(433)](t);this[i(656)](e,t,!1)}this[i(656)](t,e,!0)}return this[i(616)]=t,this[i(464)]=e,this[i(409)]()}[et(381)](t){const e=et;this[e(461)](),this[e(616)]=t[e(619)],this[e(464)]=t[e(582)];for(const i in t[e(534)]){const s=t[e(534)][i][e(489)],n=A(t[e(534)][i][e(589)])||{},r=this[e(473)](t[e(534)][i][e(448)]);r[e(629)]=i,r[e(444)]=!s||!s[e(477)],r[e(477)]=()=>r[e(444)],this[e(657)][e(632)](i,r),this[e(593)][e(632)](i,n),s&&this[e(387)][e(632)](i,s);const o=this[e(404)](r);this[e(377)][e(632)](i,o);for(const[t,i]of r[e(617)]){if(!t[e(462)](e(406)))continue;const s=t[e(426)](":")[2];for(const t of i[e(682)]({singleCharacters:!0})){const i=this[e(457)](t),n=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)],r=o[e(391)](n)[e(367)](i);this[e(374)][e(632)](r,{userId:s})}}}this[e(648)]=this[e(679)];const i=[...Array(this[e(679)])[e(677)]()][e(390)](1)[e(678)]((t=>!this[e(374)][e(405)](t)));let s=0;const n=new Map;for(const r in t[e(534)]){const o=t[e(534)][r][e(489)],a=A(t[e(534)][r][e(508)])||{},c=this[e(473)](t[e(534)][r][e(424)]);c[e(629)]=r,c[e(444)]=!o||o[e(477)],c[e(477)]=()=>c[e(444)],this[e(613)][e(632)](r,c),this[e(501)][e(632)](r,a);const u=this[e(404)](c,Number[e(380)]);this[e(423)][e(632)](r,u),n[e(632)](r,c[e(477)]()?a:{});for(const[t,i]of c[e(617)]){if(!t[e(462)](e(406)))continue;const s=t[e(426)](":")[2];for(const t of i[e(682)]({singleCharacters:!0})){const i=this[e(457)](t),n=this[e(679)]++,r=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)];u[e(391)](r)[e(576)](i,n),this[e(374)][e(632)](n,{userId:s})}}for(const t of this[e(428)][e(525)][e(590)](c)[e(682)]({singleCharacters:!0})){const n=this[e(457)](t),r=e(594)==t[e(502)]?t[e(667)][e(634)][e(390)](0,-1):t[e(667)][e(634)],o=u[e(391)](r);o[e(367)](n)>0||o[e(576)](n,i[s++])}for(const[t,i]of c[e(617)])t[e(462)](e(406))||this[e(412)][e(632)](t,i)}const r=ut(e(528));this[e(657)][e(632)](e(528),r),this[e(377)][e(632)](e(528),this[e(404)](r,1));const o=ut(e(528));this[e(613)][e(632)](e(528),o),this[e(423)][e(632)](e(528),this[e(404)](o,1));const a=Array[e(562)](this[e(613)])[e(439)]((([t,e])=>[t,ct(e)]));this[e(403)](this[e(464)],a,this[e(412)],n)}[et(473)](t){const e=et,i=JSON[e(540)](t),s=this[e(428)][e(680)][e(663)][e(427)],n=new H.ViewDocumentFragment(s,i[e(439)]((t=>ot(t,this[e(428)]))));return this[e(428)][e(555)][e(486)](n)}[et(403)](t,e,i,s){const n=et,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(632)](t,{start:e[n(382)][n(398)](),end:e[n(612)][n(398)](),rootName:e[n(385)][n(629)]});this[n(606)][n(632)](t,{roots:r,markers:a,rootsAttributes:o})}[et(660)](t){const e=et;this[e(606)][e(506)](t)}[et(546)](){const t=et;this[t(461)](),this[t(616)]=-1,this[t(464)]=-1,this[t(606)][t(420)](),this[t(647)](this[t(393)])}[et(461)](){const t=et;this[t(374)][t(420)](),this[t(441)][t(420)](),this[t(387)][t(420)](),this[t(613)][t(420)](),this[t(501)][t(420)](),this[t(657)][t(420)](),this[t(593)][t(420)](),this[t(423)][t(420)](),this[t(377)][t(420)](),this[t(412)][t(420)](),this[t(679)]=1,this[t(648)]=this[t(679)]}[et(404)](t,e=null){const i=et;let s=null;t.is(i(392))||(s=new H.Element(t[i(388)],{vid_start:null===e?this[i(679)]++:e++}));const n=[];for(const s of t[i(586)]())if(s.is(i(584))){n[i(624)](this[i(404)](s,e));const t=n[n[i(665)]-1];null!==e&&(e=t.is(i(584),i(536))?t[i(367)](i(550))+1:t[i(367)](i(637))+1)}else for(let t=0;t<s[i(611)];t++)n[i(624)](new H.Element(i(536),{vid:null===e?this[i(679)]++:e++}));if(t.is(i(392))){const e=ut(t[i(629)]);return e[i(400)](0,n),e}return s[i(576)](i(637),null===e?this[i(679)]++:e++),s[i(400)](0,n),s}[et(656)](t,e,i){const s=et;this[s(461)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(606)][s(545)](t);this[s(657)]=new Map(n),this[s(593)]=new Map(A(o));for(const[t,e]of this[s(657)])if(s(528)!==t&&(this[s(613)][s(632)](t,ct(e)),this[s(501)]=new Map(A(o)),i)){const i=this[s(679)];this[s(423)][s(632)](t,this[s(404)](e)),this[s(377)][s(632)](t,this[s(404)](e,i))}this[s(648)]=this[s(679)],this[s(613)][s(632)](s(528),ct(this[s(657)][s(545)](s(528)))),i&&this[s(423)][s(632)](s(528),this[s(404)](this[s(657)][s(545)](s(528))));for(const[t,e]of r){const i=this[s(657)][s(545)](e[s(629)]),n=this[s(613)][s(545)](e[s(629)]),r=new H.Range(this[s(453)](e[s(382)],i),this[s(453)](e[s(612)],i)),o=this[s(417)](r,n);i[s(617)][s(632)](t,r),this[s(412)][s(632)](t,o)}this[s(580)](t,e,i)}[et(580)](t,e,i){const s=et;for(const n of this[s(393)][s(455)](t,e))this[s(497)](n,i);for(const t of this[s(613)][s(605)]())t[s(617)][s(420)]();for(const[t,e]of this[s(412)])this[s(613)][s(545)](e[s(385)][s(629)])[s(617)][s(632)](t,e[s(398)]());const n=new Map,r=new Map;for(const[t,e]of this[s(613)])n[s(632)](t,ct(e)),r[s(632)](t,this[s(501)][s(545)](t));this[s(403)](e,n,this[s(412)],r)}[et(433)](t){const e=et,i=Array[e(562)](this[e(606)][e(677)]());i[e(574)](((t,e)=>t-e)),i[e(527)]();for(const e of i)if(e<t)return e;return Number[e(380)]}[et(471)](t,e){const i=et,s=Array[i(562)](e[i(617)])[i(439)]((([e,s])=>[e,this[i(417)](s,t)]));t[i(617)]=new Map(s)}[et(521)](t){const e=et;for(const i of this[e(412)][e(605)]()){const s=i[e(557)](t),n=H.Range[e(438)](s);i[e(382)]=n[e(382)],i[e(612)]=n[e(612)]}}[et(497)](t,e){const i=et;if(i(368)!=t[i(502)]&&i(468)!=t[i(502)]){if(i(668)==t[i(502)]){const s=t[i(570)][i(385)][i(629)];this[i(613)][i(405)](s)||(this[i(613)][i(632)](s,ut(s,!0)),this[i(501)][i(632)](s,{}),e&&this[i(423)][i(632)](s,ut(s,!0)))}else{if(i(583)==t[i(502)]||i(495)==t[i(502)]||i(563)==t[i(502)])return void this[i(592)](t);i(646)==t[i(502)]&&this[i(520)](t)}if(i(646)!==t[i(502)]){const e=this[i(395)](t,this[i(613)]);e[i(429)](),this[i(521)](e)}if(e)switch(t[i(502)]){case i(668):this[i(672)](t);break;case i(373):case i(523):case i(538):this[i(597)](t);break;case i(552):this[i(645)](t);break;case i(426):this[i(459)](t)}}else this[i(507)](t,e)}[et(395)](t,e){const i=et,s=t[i(398)]();return s[i(472)]=t[i(472)],this[i(434)](s,e),s}[et(469)](t){const e=et;return t[e(439)]((t=>{const i=e,s=this[i(457)](t);return Number(t[i(526)][i(367)](s))}))}[et(638)](t,e){const i=et;if(t.is(i(584),i(536)))e[i(624)]({item:t,type:i(633)});else{t.is(i(584))&&e[i(624)]({item:t,type:i(631)});for(const s of t[i(586)]())this[i(638)](s,e);t.is(i(584))&&e[i(624)]({item:t,type:i(594)})}return e}[et(409)](){const t=et,e=new Map(this[t(374)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(657)][t(677)](),...this[t(613)][t(677)]()]);a[t(506)](t(528));for(const e of a){const i=this[t(613)][t(545)](e)||ut(e,!1),s=this[t(657)][t(545)](e)||ut(e,!1);i[t(477)]()||s[t(477)]()?(n[t(424)][e]=ct(i),n[t(448)][e]=ct(s),this[t(471)](n[t(448)][e],s),this[t(471)](n[t(424)][e],i),r[t(424)][e]=this[t(638)](this[t(423)][t(545)](e),[]),r[t(448)][e]=this[t(638)](this[t(377)][t(545)](e)||ut(e,!1),[])):a[t(506)](e)}for(const n of a){const o=r[t(424)][n];for(const n of o){const r=this[t(457)](n),o=n[t(526)][t(367)](r);i[t(506)](o),o>=this[t(648)]&&s[t(632)](o,e[t(545)](o))}}for(const n of a){const a=r[t(424)][n],c=this[t(469)](r[t(448)][n]);let u=0;for(const n of a){const r=this[t(457)](n),a=n[t(526)][t(367)](r);if(!s[t(405)](a)&&!o[t(405)](a))if(i[t(405)](a))u++;else{if(a!=c[u]){const s=e[t(545)](a)||e[t(545)](c[u]);for(;a!=c[u];)i[t(405)](c[u])||(o[t(632)](c[u],s),e[t(632)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(424)][e];for(const e of n){const n=this[t(457)](e),r=e[t(526)][t(367)](n);if(o[t(405)](r)){const e=o[t(545)](r);i[t(405)](r)||i[t(632)](r,{...e}),s[t(632)](r,{...e})}}}for(const e of i[t(677)]())e>=this[t(648)]&&i[t(506)](e);const c=new Map;for(const e of a){let n=r[t(424)][e];for(const e of n)if(e[t(526)].is(t(584),t(419))){const i=this[t(457)](e),n=e[t(526)][t(367)](i);if(s[t(405)](n)){const i=e[t(526)][t(470)][t(470)][t(367)](t(577)),r=c[t(545)](i)||new Set;r[t(596)](s[t(545)](n)[t(573)]),c[t(632)](i,r)}}n=r[t(448)][e];for(const e of n)if(e[t(526)].is(t(584),t(419))){const s=this[t(457)](e),n=e[t(526)][t(367)](s);if(i[t(405)](n)){const s=e[t(526)][t(470)][t(470)][t(367)](t(577)),r=c[t(545)](s)||new Set;r[t(596)](i[t(545)](n)[t(573)]),c[t(632)](s,r)}}for(const e of c[t(677)]())(s[t(405)](e)||i[t(405)](e))&&c[t(506)](e)}for(const e of a){const n=r[t(424)][e];let o=null,a=null;for(const e of n){const n=this[t(457)](e),r=e[t(526)][t(367)](n),u=c[t(545)](r);u&&t(631)==e[t(502)]&&(o=Array[t(562)](u)[0],a=e[t(526)][t(367)](t(637))),o&&(i[t(632)](r,{userId:o}),s[t(632)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(448)][e],a=n[t(424)][e];for(const{userId:e}of this[t(441)][t(605)]())null!==e&&l[t(596)](e);for(const{userId:e}of this[t(387)][t(605)]())null!==e&&l[t(596)](e);this[t(571)](a,r[t(424)][e],s,t(503),l),this[t(571)](o,r[t(448)][e],i,t(651),l),u[e]={insertions:this[t(541)](a),deletions:this[t(541)](o),attachChange:this[t(387)][t(545)](e)||null,attributesBefore:A(this[t(593)][t(545)](e))||{},attributesAfter:A(this[t(501)][t(545)](e))}}return{diffData:u,authorsIds:Array[t(562)](l)}}[et(530)](t){const e=et;for(const[,i]of t[e(617)]){const t=i[e(382)][e(554)]()[e(678)]((t=>e(419)==t[e(388)]));for(const i of t)1==i[e(553)]&&i[e(437)](0).is(e(584),e(379))&&i[e(437)](0)[e(576)](e(684),!0)}}[et(541)](t){const e=et;this[e(530)](t);const i=this[e(428)][e(555)][e(652)](t,{}),s=Array[e(562)](i[e(586)]())[e(439)]((t=>this[e(496)](t)));return JSON[e(548)](s)}[et(496)](t){const e=et;if(t.is(e(536)))return t[e(555)];{const i=t;return{type:Object[e(677)](nt)[e(479)]((e=>t instanceof nt[e])),name:i[e(388)],attributes:Array[e(562)](i[e(510)]()),children:Array[e(562)](i[e(586)]())[e(439)]((t=>this[e(496)](t)))}}}[et(571)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(428)][r(525)];for(let s=0;s<e[r(665)];s++){const n=this[r(457)](e[s]),c=e[s][r(526)][r(367)](n),h=i[r(545)](c),d=s==e[r(665)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(573)]!=o[r(573)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(573)],d=l(406)+s+":"+h+":"+c++,f=u[l(608)](i,a);t[l(617)][l(632)](d,f),null!==h&&n[l(596)](h)}}[et(457)](t){const e=et;switch(t[e(502)]){case e(631):return e(577);case e(594):return e(637);default:return e(550)}}[et(434)](t,e){const i=et;t[i(430)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(545)](n[i(385)][i(629)]);t[s]=this[i(453)](n,r)}if(n instanceof H.Range){const r=e[i(545)](n[i(385)][i(629)]);t[s]=this[i(417)](n,r)}i(385)===s&&(t[i(385)]=e[i(545)](t[i(385)][i(629)]))}}[et(417)](t,e){const i=et;return this[i(428)][i(525)][i(608)](this[i(453)](t[i(382)],e),this[i(453)](t[i(612)],e))}[et(453)](t,e){const i=et;return this[i(428)][i(525)][i(492)](e,t[i(634)],t[i(490)])}[et(672)](t){const e=et,i=this[e(423)][e(545)](t[e(570)][e(385)][e(629)]),s=this[e(453)](t[e(570)],i),n=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,r=s[e(470)],o=this[e(679)],a=[];for(const i of t[e(500)])if(i.is(e(584)))a[e(624)](this[e(404)](i));else for(let t=0;t<i[e(611)];t++)a[e(624)](new H.Element(e(536),{vid:this[e(679)]++}));const c=this[e(679)];for(let t=o;t<c;t++)this[e(374)][e(632)](t,{userId:n});r[e(400)](s[e(561)],a)}[et(597)](t){const e=et;(t=this[e(395)](t,this[e(423)]))[e(429)]();const i=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(413)](),n=s[e(470)],r=s[e(561)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(437)](e);r.is(a(584),a(536))?s[a(632)](r[a(367)](a(550)),{userId:i}):(s[a(632)](r[a(367)](a(577)),{userId:i}),t(s,r,0,r[a(553)]),s[a(632)](r[a(367)](a(637)),{userId:i}))}}(this[e(374)],n,r,r+t[e(458)])}[et(645)](t){const e=et,i=null===(t=this[e(395)](t,this[e(423)]))[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(531)][e(470)],n=t[e(572)][e(470)],r=s[e(367)](e(637)),o=n[e(367)](e(577));s[e(576)](e(637),n[e(367)](e(637))),n[e(576)](e(637),r),this[e(374)][e(632)](o,{userId:i}),this[e(374)][e(632)](r,{userId:i}),t[e(429)]()}[et(459)](t){const e=et,i=null===(t=this[e(395)](t,this[e(423)]))[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,s=t[e(446)],n=t[e(669)][e(470)];t[e(429)]();const r=n[e(367)](e(637)),o=t[e(604)][e(627)];if(s){const t=o[e(367)](e(637)),s=n[e(367)](e(637));n[e(576)](e(637),t),o[e(576)](e(637),s),this[e(374)][e(632)](n[e(367)](e(637)),{userId:i}),this[e(374)][e(632)](o[e(367)](e(577)),{userId:i})}else{const t=this[e(679)]++,s=this[e(679)]++;n[e(576)](e(637),t),o[e(576)](e(577),s),o[e(576)](e(637),r),this[e(374)][e(632)](t,{userId:i}),this[e(374)][e(632)](s,{userId:i})}}[et(520)](t){const e=et;if(!t[e(543)])return;const i=(t=this[e(395)](t,this[e(613)]))[e(556)]?t[e(556)][e(385)]:null,s=t[e(440)]?t[e(440)][e(385)]:null;i&&this[e(412)][e(506)](t[e(388)]),s&&this[e(412)][e(632)](t[e(388)],t[e(440)][e(398)]());const n=null===t[e(472)]?null:t[e(472)]||this[e(428)][e(670)][e(545)](e(614)).me.id,r=t[e(388)];if(!this[e(441)][e(405)](r))return void this[e(441)][e(632)](r,{range:t[e(556)],userId:n});const o=this[e(441)][e(545)](r),a=o[e(515)],c=t[e(440)];null==a&&null==c||a&&c&&a[e(639)](c)?this[e(441)][e(506)](t[e(388)]):o[e(573)]=n}[et(507)](t,e){const i=et;this[i(613)][i(405)](t[i(629)])?this[i(613)][i(545)](t[i(629)])[i(444)]=t[i(475)]:(this[i(613)][i(632)](t[i(629)],ut(t[i(629)],!0)),this[i(501)][i(632)](t[i(629)],{}),e&&this[i(423)][i(632)](t[i(629)],ut(t[i(629)],!0)));const s=null===t[i(472)]?null:t[i(472)]||this[i(428)][i(670)][i(545)](i(614)).me.id,n=this[i(387)][i(545)](t[i(629)]);n&&n[i(573)]===s?this[i(387)][i(506)](t[i(629)]):this[i(387)][i(632)](t[i(629)],{userId:s,isAttached:t[i(475)]})}[et(592)](t){const e=et,i=this[e(501)][e(545)](t[e(385)][e(629)]);null===t[e(415)]?delete i[t[e(674)]]:i[t[e(674)]]=t[e(415)]}}function ct(t){const e=et,i=ut(t[e(629)],t[e(477)]());for(const s of t[e(586)]()){const t=s[e(575)](!0);i[e(467)](t)}return i}function ut(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(629)]=t,s[i(444)]=e,s[i(477)]=()=>s[i(444)],s}function lt(t,e,i){const s=et,n=s(594)==t[s(502)]?i[s(411)](t[s(526)],s(612)):i[s(422)](t[s(526)]);return i[s(492)](e,n[s(634)],n[s(490)])}function ht(t,e,i){const s=et,n=s(631)==t[s(502)]?i[s(411)](t[s(526)],0):i[s(601)](t[s(526)]);return i[s(492)](e,n[s(634)],n[s(490)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=wt(),Tt.insert=kt().bind(null,"head"),Tt.domAPI=gt(),Tt.insertStyleElement=It();pt()(St.A,Tt);St.A&&St.A.locals&&St.A.locals;var Ot=i(959),xt={attributes:{"data-cke":!0}};xt.setAttributes=wt(),xt.insert=kt().bind(null,"head"),xt.domAPI=gt(),xt.insertStyleElement=It();pt()(Ot.A,xt);Ot.A&&Ot.A.locals&&Ot.A.locals;const Nt=At;function Rt(){const t=["revisionNameInputValue","8xdLtcH","553905pERagr","revisionNameInputView","103384QyIRAd","set","errorText","reset","input","locale","220","915NviSfU","revisionName","_createRevisionNameInput","Name of the revision","trim","listenTo","24094560PjDHAq","keystrokes","1991808rJLBAV","arrowup","stopPropagation","1773744WfpXsg","value","18ZZdTDz","focus","add","4694535TAOVIo","element","render","ck-revision-history-save-revision-form","optional","arrowleft","focusTracker","label","fieldView","ck-responsive-form","arrowright","form","arrowdown","setTemplate","26436uOQZhO","extendTemplate"];return(Rt=function(){return t})()}function At(t,e){const i=Rt();return(At=function(t,e){return i[t-=370]})(t,e)}!function(t){const e=At,i=t();for(;;)try{if(494614===parseInt(e(384))/1*(-parseInt(e(404))/2)+parseInt(e(382))/3+parseInt(e(402))/4+-parseInt(e(391))/5*(parseInt(e(378))/6)+-parseInt(e(399))/7+-parseInt(e(381))/8*(parseInt(e(407))/9)+parseInt(e(397))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Mt extends ft.View{[Nt(370)];[Nt(398)];[Nt(383)];constructor(e,i){const s=Nt;super(e),this[s(370)]=new t.FocusTracker,this[s(398)]=new t.KeystrokeHandler,this[s(385)](s(380),""),this[s(383)]=this[s(393)](i),this[s(377)]({tag:s(375),attributes:{class:["ck",s(410),s(373)],tabindex:"-1"},children:[this[s(383)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(409)](){const t=Nt;super[t(409)](),(0,ft.submitHandler)({view:this}),this[t(370)][t(406)](this[t(383)][t(408)]),this[t(398)][t(396)](this[t(408)]);const e=e=>e[t(401)]();this[t(398)][t(385)](t(374),e),this[t(398)][t(385)](t(412),e),this[t(398)][t(385)](t(400),e),this[t(398)][t(385)](t(376),e)}[Nt(405)](){const t=Nt;this[t(383)][t(405)]()}get[Nt(392)](){const t=Nt;return this[t(383)][t(372)][t(408)][t(403)][t(395)]()}set[Nt(392)](t){const e=Nt;this[e(383)][e(372)][e(408)][e(403)]=t[e(395)]()}[Nt(387)](){const t=Nt;this[t(383)][t(372)][t(408)][t(403)]="",this[t(383)][t(386)]=null}[Nt(393)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(389)],ft.createLabeledInputText),s=i[e(372)];s[e(379)]({attributes:{maxlength:e(390)}});let n=J(this[e(389)],e(394));return!t&&(n+=" ("+J(this[e(389)],e(411))+")"),i[e(371)]=n,s.on(e(388),(()=>{const t=e;this[t(380)]=s[t(408)][t(403)][t(395)]()})),i}}function Vt(){const t=["editor","panelView","revisionName","role","revisionHistory","16034LCSYDs","editing","747252VEFHiY","75852MZFezL","show","isEnabled","menu","execute","menuBar:revisionHistory","errorText","delegate","1456746BHYnwI","Cancel","326015Wadrth","init","isOfficialPlugin","isPremiumPlugin","add","render","RevisionHistoryUI","addMany","The revision name cannot be empty.","saveRevision","_saveRevisionFormView","requires","isReady","ck-button-action","buttonView","showRevisionViewerCallback","RevisionTracker","22OwpOCk","items","3482328LTBdxW","reset","locale","set","hide","revisionSave","plugins","pluginName","Revision history","revisionNameInputView","1007958RavAxW","view","children","menuitem","focus","Accept","config","Open revision history","isOpen","Save current revision","isReadOnly","get","bind","Dialog","submit","_createSaveRevisionFormView","_showDialog","revisionHistory.requireRevisionName","componentFactory","_registerMenuComponent"];return(Vt=function(){return t})()}const Et=Dt;function Dt(t,e){const i=Vt();return(Dt=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=Dt,i=t();for(;;)try{if(187414===-parseInt(e(308))/1*(-parseInt(e(271))/2)+parseInt(e(283))/3+-parseInt(e(310))/4+parseInt(e(321))/5+parseInt(e(319))/6+-parseInt(e(311))/7+-parseInt(e(273))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Ct extends U.Plugin{static get[Et(280)](){return Et(327)}static get[Et(323)](){return!0}static get[Et(324)](){return!0}static get[Et(265)](){return[rt]}[Et(331)];[Et(322)](){const t=Et,e=this[t(303)],i=e[t(279)][t(294)](t(270));e.ui[t(301)][t(325)](t(307),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(304)][n(285)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(295)](n(313)).to(i,n(266),i,n(313),e,n(293),((t,e,i)=>t&&e&&!i)),r[n(268)][n(276)]({icon:dt.IconHistory,label:J(s,n(281)),tooltip:!0}),u[n(276)]({label:J(s,n(292)),withText:!0,role:n(286)}),u[n(295)](n(313)).to(i,n(266),i,n(313),e,n(293),((t,e,i)=>t&&e&&!i)),u.on(n(315),(()=>this[n(299)]())),h[n(276)]({label:J(s,n(290)),withText:!0,role:n(286)}),h[n(295)](n(313)).to(i,n(266),e,n(293),((t,e)=>t&&!e)),h.on(n(315),(()=>{const t=n;e[t(289)][t(294)](t(307))[t(269)](),r[t(291)]=!1,e[t(309)][t(284)][t(287)]()})),c[n(285)][n(325)](u),l[n(285)][n(325)](h),a[n(306)]=n(314),a[n(272)][n(328)]([c,l]),o[n(325)](a),r})),e.ui[t(301)][t(325)](t(316),(()=>this[t(302)]()))}[Et(302)](){const t=Et,e=this[t(303)],i=e[t(275)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(268)][t(276)]({icon:dt.IconHistory,label:J(i,t(281))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(276)]({label:J(i,t(292))}),o[t(318)](t(315)).to(s),o.on(t(315),(()=>{this[t(299)]()})),r[t(285)][t(325)](o),n[t(272)][t(325)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(276)]({label:J(i,t(290))}),c[t(318)](t(315)).to(s),c.on(t(315),(()=>{const i=t;e[i(289)][i(294)](i(307))[i(269)]()})),a[t(285)][t(325)](c),n[t(272)][t(325)](a),s[t(304)][t(285)][t(325)](n),s}[Et(299)](){const t=Et,e=this[t(303)],i=e[t(275)],s=e[t(279)][t(294)](t(296)),n=e[t(279)][t(294)](t(270));function r(n){const r=t;e[r(289)][r(294)](r(300))&&""===n[r(305)]?n[r(282)][r(317)]=J(i,r(329)):(e[r(279)][r(294)](rt)[r(330)]({name:n[r(305)]}),s[r(277)]())}this[t(331)]||(this[t(298)](),this[t(331)].on(t(297),(()=>r(this[t(331)])))),this[t(331)][t(274)](),s[t(312)]({id:t(278),title:J(i,t(292)),isModal:!0,content:this[t(331)],actionButtons:[{label:J(e[t(275)],t(320)),withText:!0,onExecute:()=>s[t(277)]()},{label:J(e[t(275)],t(288)),class:t(267),withText:!0,onCreate(i){const s=t;i[s(295)](s(313)).to(n,s(266),n,s(313),e,s(293),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(331)])}]})}[Et(298)](){const t=Et,e=this[t(303)],i=e[t(275)];this[t(331)]=new Mt(i,e[t(289)][t(294)](t(300))),this[t(331)][t(326)]()}}const Ft=Lt;function Lt(t,e){const i=Pt();return(Lt=function(t,e){return i[t-=363]})(t,e)}!function(t){const e=Lt,i=t();for(;;)try{if(670690===-parseInt(e(369))/1*(-parseInt(e(395))/2)+parseInt(e(378))/3+parseInt(e(393))/4*(-parseInt(e(390))/5)+parseInt(e(372))/6*(-parseInt(e(368))/7)+parseInt(e(380))/8+-parseInt(e(377))/9*(-parseInt(e(363))/10)+-parseInt(e(367))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class jt extends ft.View{[Ft(371)];[Ft(381)];constructor(t,e){const i=Ft;super(t),this[i(381)]=e,this[i(371)]=e.id;const s=this[i(374)],n=J(t,e[i(382)][i(388)]?i(391):i(376)==e[i(370)]?i(389):i(384));this[i(387)](i(370),e[i(370)]),this[i(375)]({tag:i(364),attributes:{class:[i(365),i(394),s.to(i(370),(t=>i(383)+t))],tabindex:-1},children:[{tag:i(386),children:[{tag:i(386),attributes:{class:[i(385)]},children:[{text:n}]},{text:" "+e[i(379)][i(366)]}]}]})}[Ft(392)](){const t=Ft;this[t(373)][t(392)]()}}function Pt(){const t=["focus","3632TTLVXk","ck-revision-change","83338QVutsT","1421590CmgiLr","div","ck-annotation","name","18926831rkztom","7cbNaJf","9jJIfFj","type","changeId","2482692ThaQwl","element","bindTemplate","setTemplate","add","63xqmwJr","1207110iCfMKM","author","8943528ovAAir","_model","data","ck-revision-change__","Removed by","ck-revision-change__label","span","set","isSuggestion","Added by","470rbYyTR","Suggested by"];return(Pt=function(){return t})()}function zt(){var t=["set","10GciWft","toJSON","2620338UkJKBx","1044772qCfksL","2ULrPwK","136908yUHPXq","createdAt","4098367ICPEsF","3088184kosTGX","12dtlfmf","author","rootName","type","data","951695mfCrow","6416154GyCwzE"];return(zt=function(){return t})()}var Wt=Ut;function Ut(t,e){var i=zt();return(Ut=function(t,e){return i[t-=257]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(697516===-parseInt(e(262))/1*(-parseInt(e(263))/2)+parseInt(e(264))/3+-parseInt(e(268))/4*(parseInt(e(273))/5)+parseInt(e(261))/6+-parseInt(e(266))/7+-parseInt(e(267))/8+parseInt(e(257))/9*(parseInt(e(259))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Zt extends((0,t.ObservableMixin)()){id;[Wt(269)];[Wt(271)];[Wt(272)];[Wt(270)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(269)]=e[i(269)],this[i(271)]=e[i(271)],this[i(272)]=e[i(272)]||{},this[i(270)]=e[i(270)],this[i(258)](i(265),e[i(265)])}[Wt(260)](){var t=Wt;return{id:this.id,authorId:this[t(269)].id,type:this[t(271)],data:this[t(272)],createdAt:this[t(265)]}}}function Ht(t,e){const i=$t();return(Ht=function(t,e){return i[t-=432]})(t,e)}const qt=Ht;!function(t){const e=Ht,i=t();for(;;)try{if(358775===parseInt(e(443))/1+-parseInt(e(441))/2*(parseInt(e(440))/3)+-parseInt(e(436))/4+-parseInt(e(438))/5*(-parseInt(e(442))/6)+parseInt(e(444))/7*(-parseInt(e(434))/8)+-parseInt(e(445))/9*(-parseInt(e(448))/10)+-parseInt(e(437))/11*(-parseInt(e(433))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Bt{[qt(432)];[qt(447)];[qt(435)];constructor(e,i){const s=qt;this[s(432)]=e,this[s(447)]=i,this[s(435)]=new t.Collection}[qt(446)](t){const e=qt;for(const i of t)this[e(435)][e(439)](i)}}function $t(){const t=["_setChanges","oldRevisionId","140AMimWG","newRevisionId","740604OULtBU","796856RXlFCp","changes","2018768ByalrD","77YbaIoj","84445IChBtB","add","75sFDQrE","53740EKNcJF","186FLaopP","220015hRzqNT","14vIqVqy","359253HTmQcu"];return($t=function(){return t})()}var Yt=i(536),Jt={attributes:{"data-cke":!0}};Jt.setAttributes=wt(),Jt.insert=kt().bind(null,"head"),Jt.domAPI=gt(),Jt.insertStyleElement=It();pt()(Yt.A,Jt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Gt=Kt;function Kt(t,e){const i=Qt();return(Kt=function(t,e){return i[t-=215]})(t,e)}function Qt(){const t=["marked","commands","setAttribute","ck-revision-history-root-","numberOfChanges","editor","getChild","consume","bind","comment","_removeUnsupportedChanges","revisionHistoryAttachChange","dataToMarker","delete","ck-revision-history-root--active","isObject","flat","isAtEnd","174TFqrLk","hasClass","isInline","high","_markMismatchedRemovedTags","stop","_setConversion","deletion","diffData","isRemoved","string","ck-suggestion-marker-split","distance","test","suggestion","createRange","_step","addRevisionData","revisionHistoryLabel","createUIElement","conversion","isLimit","_sortAndFilterDiffChanges","addMarker:revision-suggestion:insertion","plugins","ck-suggestion-preview-marker-","insertion","data-revision-","data-change-id","elementEnd","getIndex","isAddSuggestion","elementStart","low","change:isReady","rootName","editing","changes","4772UtirjD","nodeAfter","getDomRoot","range","toViewPosition","ck-suggestion-marker-merge","showNextChange","showPreviousChange","downcastDispatcher","modelRange","toData","toViewElement","observeMarkers","isNavigationMode","WidgetToolbarRepository","5MbBNYt","forEach","has","parse","vid_start","clear","startIndex","vid_end","view","_setChanges","revision-start","ck-revision-history-root-add","left","change:activeChange","RevisionViewer","_getDiff","isCollapsed","removeAttribute","schema","domEvent","removeClass","return","ck-suggestion-marker--active","includes","createPositionFromPath","currentChangeNumber","indexOf","isOfficialPlugin","object","ck-revision-history-root-remove","from","getRootNames","forceDisabled","vid","10QbeOgM","markersEnd","right","911682hffpPB","_changeIdToChange","userId","diff","markerToData","removeMarker:revision","loadRevisionData","highest","suggestion:","mouseover","affectsData","revision:","RevisionsRepository","split","then","POSITIVE_INFINITY","item","bindElementToMarker","addRevision","top","error","resolve","getAttribute","forward","getRoot","requires","addClass","ck-suggestion-preview-marker","ck-suggestion-marker-","revision-suggestion:","get","start","element:pre","name","concat","mapViewToDom","backward","push","_initInteractions","type","locale","attributes","createAttributeElement","_makeModelFromViewString","7640435VIczyF","deletions","addMarker:revision","unshift","collaboration.channelId","changeId","enqueueChange","change","_markMarkers","pop","getClientRects","isIncorrect","_activeViewTarget","parent","981954CdytQX","compare","isPremiumPlugin","detachRoot","revision-comment:","next","viewItem","model","destroy","pluginName","markerNameToElements","showStack","default","_makeModelFromTape","wrap","change:activeView","_setDistance","nextPosition","side","isOnRoot","ck-suggestion-marker","values","isAfter","element","editingDowncast","processor","text","offsetSize","_fixObsoleteTags","attributesAfter","_cleanUp","authors","mapper","unbindElementFromMarkerName","isEqual","data","attribute:vid","_markSuggestions","getRevisionRootsAttributes","isEnabled","length","_threeWayMerge","nextSibling","markerName","change:numberOfChanges","isSuggestion","previousPosition","_joinTapes","revision-end","_appendChild","find","abs","_cleanMarkers","restoreRevisionCallback","keys","_processTape","revision","_removeRevisionMarkers","removeMarker","endIndex","domConverter","target","sort","refresh","toViewRange","init","map","revisionHistory","maxOffset","_refreshStartEndIndex","uiElement","isBlock","code","isRemoveSuggestion","activeChange","config","findIndex","isContent","all","reconvertMarker","_update","getItems","mousedown","_balloon","revision-suggestion","filter","isAdded","_getChangeFromId","isAttached","_findChangeIdFromDomTarget","_removeMissingPairs","slice","hasAttribute","splice","attachChange","done","addMarker:revision-suggestion:deletion","markersStart","-new","getLaterVisibleRevision","first","isAtStart","span","shift","end","add","set","execute","writer","_markInsertions","startsWith","2214993nTnkcp","upcast","152754auBlYF","elementToAttribute","attributesBefore","pairId","ck-editor__editable__overlay","updatePosition","getWalker","_getViewObj","isReady","checkAttribute","merge","change:isEnabled","insertions","remove","945488hFfllw","document","activeView","revision-viewer","enableReadOnlyMode","_getRevisionsRange","_changeView","addRoot","softBreak","_data","oldRevisionId","selection","index","_getViewForChange","repository","dataDowncast","toModel","for","createRangeIn","children","addHighlight","getRevision","catch","_makeTape","getCustomProperty","insert","restoreRevision","getAttributes","newRevisionId","removeMarker:revision-suggestion","adapter","16axmZsB","consumable","markerToHighlight","_revisions","useFillerType","markerRange","listenTo","isBefore","createPositionBefore","roots","getRevisionData","markers","level","createRevision","bottom"];return(Qt=function(){return t})()}!function(t){const e=Kt,i=t();for(;;)try{if(393303===parseInt(e(447))/1*(-parseInt(e(409))/2)+parseInt(e(329))/3+parseInt(e(345))/4*(-parseInt(e(462))/5)+-parseInt(e(218))/6+-parseInt(e(331))/7+parseInt(e(376))/8*(-parseInt(e(499))/9)+-parseInt(e(496))/10*(-parseInt(e(543))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class te extends U.Plugin{[Gt(359)];[Gt(375)];[Gt(216)];[Gt(351)];[Gt(500)];[Gt(301)];static get[Gt(227)](){return Gt(476)}static get[Gt(489)](){return!0}static get[Gt(220)](){return!0}static get[Gt(524)](){return[Z.Users,ft.ContextualBalloon,Y]}constructor(t){const e=Gt;super(t),this[e(359)]=this[e(396)][e(433)][e(529)](e(511)),this[e(324)](e(292),null),this[e(324)](e(347),null),this[e(216)]=null,this[e(324)](e(502),null),this[e(324)](e(339),!1),this[e(324)](e(257),!0),this.on(e(342),((t,i,s)=>{const n=e;this[n(292)]=null,this[n(347)]=null,this[n(396)][n(445)][n(470)][n(550)]((t=>{const e=n;for(const i of this[e(396)][e(445)][e(470)][e(346)][e(385)])s?t[e(482)](e(335),i):t[e(525)](e(335),i)}))})),this[e(399)](e(460)).to(this,e(292),(t=>null!==t)),this[e(399)](e(487)).to(this,e(339),this,e(502),this,e(292),((t,i,s)=>t&&s?i[e(446)][e(439)](s):0)),this[e(399)](e(395)).to(this,e(339),this,e(502),((t,i)=>t?i[e(446)][e(258)]:0)),this[e(351)]=null,this[e(500)]=new Map,this[e(375)]=null,this[e(301)]=this[e(396)][e(433)][e(529)](ft.ContextualBalloon)}[Gt(283)](){const t=Gt,e=this[t(396)],i=new se(e,{direction:t(535)}),s=new se(e,{direction:t(522)});e[t(392)][t(323)](t(454),i),e[t(392)][t(323)](t(453),s),e[t(392)][t(323)](t(371),new ie(e)),this.on(t(262),(()=>{const e=t;i[e(281)](),s[e(281)]()})),this[t(415)](),this[t(537)](),e[t(349)](t(348)),e[t(433)][t(464)](t(461))&&e[t(433)][t(529)](t(461))[t(494)](t(348))}async[Gt(386)](t){const e=Gt;await this[e(505)](t);const i={};for(const s in t[e(417)]){if(t[e(417)][s][e(312)]&&!t[e(417)][s][e(312)][e(306)])continue;const n=this[e(275)](JSON[e(465)](t[e(417)][s][e(343)])),r=this[e(396)][e(445)][e(470)][e(346)],o=new H.ViewDocumentFragment(r,n[e(284)]((t=>this[e(338)](t))));this[e(396)][e(253)][e(243)][e(380)](e(391)),i[s]=this[e(396)][e(253)][e(243)][e(457)](o),this[e(396)][e(253)][e(243)][e(380)](e(230))}return i}async[Gt(256)](t){const e=Gt;await this[e(505)](t);const i={};for(const s in t[e(417)])t[e(417)][s][e(312)]&&!t[e(417)][s][e(312)][e(306)]||(i[s]=t[e(417)][s][e(247)]||{});return i}[Gt(275)](t){const e=Gt;return(t=t[e(303)]((t=>!t[e(532)]||e(472)!==t[e(532)]&&e(266)!==t[e(532)])))[e(463)]((t=>{const i=e;i(419)!=typeof t&&(t[i(364)]=this[i(275)](t[i(364)]),t[i(540)]=t[i(540)][i(303)]((t=>!t[0][i(328)](i(436)))))})),t}async[Gt(219)](t,e,i=!1){const s=Gt;if(!this[s(257)])return;const n=this[s(502)],r=this[s(359)],o=s(419)==typeof t?r[s(366)](t):t,a=s(419)==typeof e?r[s(366)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(502)]&&this[s(502)][s(373)]===c&&this[s(502)][s(355)]===u)return Promise[s(520)]();this[s(339)]=!1,this[s(347)]=null,this[s(292)]=null,this[s(502)]=new Bt(c,u);const l=this[s(350)](o,a,!0)[s(284)]((t=>this[s(505)](t)));return l[s(536)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(296)](l)[s(513)]((()=>{const t=s;if(!this[t(257)])return;this[t(248)]();const e=this[t(477)](c,u);for(const i of e[t(446)])this[t(500)][t(324)](i.id,i);this[t(396)][t(225)][t(549)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(396)][s(225)][s(346)][s(493)]())i[s(221)](t);for(const t of Object[s(272)](e[s(225)])){const n=i[s(352)](t);for(const r of Object[s(272)](e[s(540)][t]))i[s(393)](r,e[s(540)][t][r],n);i[s(370)](e[s(225)][t],n,0)}})),this[t(502)][t(471)](this[t(431)](e[t(446)])),this[t(339)]=!0}))[s(367)]((t=>{const e=s;console[e(519)](t),this[e(248)](),n&&(this[e(502)]=n),this[e(339)]=!0}))}[Gt(426)](t,e){const i=Gt,s=this[i(359)][i(389)](t);return s.on(i(298),((t,i,n)=>e(i,n,s))),this[i(359)][i(517)](s),s}[Gt(505)](t){const e=Gt;if(!t||t[e(417)])return Promise[e(520)]();{const i=this[e(396)][e(293)][e(529)](e(547));return this[e(375)][e(366)]({channelId:i,revisionId:t.id})[e(513)]((i=>{const s=e;t[s(298)]({diffData:i[s(417)]},!0)}))}}[Gt(248)](){const t=Gt;this[t(292)]=null,this[t(270)](),this[t(351)]&&this[t(351)][t(226)](),this[t(351)]=null,this[t(500)][t(467)](),this[t(396)][t(225)][t(549)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(396)][i(225)][i(346)][i(493)]())e[i(221)](t)}))}[Gt(431)](t){const e=Gt,i=[],s=new Map;for(const t of this[e(396)][e(225)][e(346)][e(493)]()){const n=this[e(396)][e(445)][e(470)][e(449)](t);if(!n)continue;const r=n[e(553)]()[e(515)](0);r&&(i[e(536)](t),s[e(324)](t,r))}return i[e(280)](((t,i)=>{const n=e,r=s[n(529)](t),o=s[n(529)](i);return r.y-o.y||r.x-o.x})),(t=t[e(303)]((t=>i[e(485)](t[e(444)]))))[e(280)](((t,s)=>i[e(488)](t[e(444)])-i[e(488)](s[e(444)]))),t}[Gt(368)](t){const e=Gt,i=Array[e(492)](t[e(387)])[e(303)]((([t,i])=>t[e(328)](e(510))&&!i[e(478)])),s=Array[e(492)](this[e(396)][e(225)][e(363)](t)[e(337)]({singleCharacters:!0}));if(0!=i[e(258)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(512)](":");if(n[e(322)][e(252)](t[e(235)])&&i[e(321)](),(t[e(264)][e(252)](n[e(530)])||t[e(264)][e(240)](n[e(530)]))&&(e(435)==r?t[e(304)]={userId:o}:e(416)==r&&(t[e(418)]={userId:o})),0==i[e(258)])break}return s}[Gt(287)](t){const e=Gt,i=new Map;for(let s=0;s<t[e(258)];s++)e(244)===t[s][e(538)]?(t[s][e(515)][e(468)]=s,t[s][e(515)][e(277)]=s):(e(441)===t[s][e(538)]?t[s][e(515)][e(468)]=s:e(438)===t[s][e(538)]&&(t[s][e(515)][e(277)]=s),i[e(324)](t[s].id,s));for(const s of i[e(239)]())e(441)===t[s][e(538)]?t[s][e(515)][e(277)]=i[e(529)](t[s][e(334)]):e(438)===t[s][e(538)]&&(t[s][e(515)][e(468)]=i[e(529)](t[s][e(334)]))}[Gt(273)](t){const e=Gt;for(let i=0;i<t[e(258)];i++){if(e(441)===t[i][e(538)])t[i][e(515)][e(468)]=i;else if(e(438)===t[i][e(538)]){t[i][e(515)][e(277)]=i;const s=t[i][e(515)][e(468)];t[s][e(334)]=t[i].id,t[i][e(334)]=t[s].id}else t[i][e(515)][e(468)]=i,t[i][e(515)][e(277)]=i,t[i][e(334)]=null;t[i][e(315)]||(t[i][e(315)]=[],t[i][e(497)]=[])}}[Gt(327)](t,e){const i=Gt,s=t[i(303)]((t=>!t[i(304)]));for(let t=0;t<e[i(258)];t++)e[t][i(304)]&&(s[t][i(304)]=e[t][i(304)])}[Gt(542)](t){const e=Gt,i=JSON[e(465)](t),s=this[e(396)][e(445)][e(470)][e(346)],n=new H.ViewDocumentFragment(s,i[e(284)]((t=>this[e(338)](t))));return this[e(396)][e(253)][e(361)](n)}[Gt(338)](t){const e=Gt,i=this[e(396)][e(445)][e(470)][e(346)];if(e(419)==typeof t)return new H.ViewText(i,t);{const s=t[e(364)][e(284)]((t=>this[e(338)](t)));return new(Xt[t[e(538)]]||H.ViewElement)(i,t[e(532)],t[e(540)],s)}}[Gt(477)](t,e=null){const i=Gt,s=this[i(359)][i(366)](t),n=e?this[i(359)][i(366)](e):null,r=this[i(350)](s,n),o=r[r[i(258)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(258)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(272)](e[i(417)]))if(e[i(417)][t][i(312)]){const s=e[i(417)][t][i(312)];s[i(306)]?(u[i(323)](t),l[i(464)](t)&&l[i(529)](t)[i(501)]==s[i(501)]?l[i(404)](t):l[i(324)](t,s)):l[i(464)](t)?(u[i(404)](t),l[i(404)](t)):(u[i(323)](t),l[i(324)](t,s))}else u[i(323)](t)}for(const t of u){const e=l[i(464)](t)&&!l[i(529)](t)[i(306)];let s=e?r[i(258)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(417)][t]){const s=e?o[i(417)][t][i(333)]:o[i(417)][t][i(247)];c[i(540)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(225)]={};for(const e of t[i(249)])a[i(324)](e.id,e);for(const e of u){const s=t[i(417)][e]?t[i(417)][e][i(343)]:"[]",n=t[i(417)][e]?t[i(417)][e][i(544)]:"[]";t[i(225)][e]={insertions:this[i(542)](s),deletions:this[i(542)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(492)](s[i(225)][t][i(343)][i(387)])[i(303)]((([t])=>!t[i(328)](i(510)))));let h=0;for(const o of r){const r=this[i(368)](o[i(225)][t][i(343)]);o==s?(e=r,n=e[i(258)],e[i(463)]((t=>{t.id=h++})),this[i(273)](e)):this[i(327)](e,r);const a=e[i(303)]((t=>!t[i(304)]))[i(284)]((t=>t.id));let c=0;const l=this[i(368)](o[i(225)][t][i(544)]);l[i(463)]((t=>{t[i(418)]?t.id=n++:t.id=a[c++]})),this[i(273)](l),this[i(234)](e,i(304)),this[i(234)](l,i(418)),o==s&&this[i(551)](e,u),e=this[i(265)](e,l),this[i(287)](e),this[i(234)](e,i(418))}e=e[i(303)]((t=>!(t[i(304)]&&t[i(418)])));const d=new Map(o[i(225)][t][i(544)][i(387)]),f=new Set(u[i(272)]());for(const t of d[i(272)]())f[i(404)](t);this[i(255)](e,f),this[i(246)](e),e=this[i(308)](e),e=this[i(413)](e),e=this[i(401)](e);const{root:m,changes:p}=this[i(231)](e,a,t);c[i(225)][t]=m;const v=l[i(529)](t);if(v){const e=a[i(529)](v[i(501)]),s=new Zt({author:e,type:v[i(306)]?i(323):i(344),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(546)](s),c[i(540)][t][i(402)]=s.id}c[i(446)]=c[i(446)][i(533)](p)}return c}[Gt(551)](t,e){const i=Gt;for(let s=0;s<t[i(258)];s++)for(const[n,r]of e)r[i(530)][i(252)](t[s][i(264)])&&t[s][i(315)][i(536)](n),r[i(322)][i(252)](t[s][i(235)])&&t[s][i(497)][i(536)](n)}[Gt(265)](t,e){const i=Gt;let s=[],n=0,r=0;for(;n<t[i(258)]||r<e[i(258)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(536)](o);else if(a[i(418)]&&o[i(304)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(259)](t,n,e,r);s=s[i(533)](o),n=a,r=c}else a[i(418)]?(r++,s[i(536)](a)):(n++,s[i(536)](o))}return s}[Gt(255)](t,e){const i=Gt,s=[];for(let o=0;o<t[i(258)];o++){for(let r=0;r<t[o][i(315)][i(258)];r++){const a=t[o][i(315)][r];if(!e[i(464)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(302)!=c||i(435)!=u&&i(416)!=u||(s[i(546)]({type:u,name:a,userId:l}),t[o][i(315)][i(311)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(497)][i(258)];r++){const a=t[o][i(497)][r];if(!e[i(464)](a))continue;const{group:c,type:u}=n(a);if(i(302)!=c||i(435)!=u&&i(416)!=u)continue;t[o][i(497)][i(311)](r,1),r--;const l=s[i(294)]((t=>t[i(532)]==a));l>-1&&s[i(311)](l,1)}}function n(t){const e=i,s=t[e(512)](":");return{group:s[0],type:s[1],subType:s[e(258)]>=5?s[2]:null,id:s[e(258)]<5?s[2]:s[3],authorId:s[e(258)]<5?s[3]:s[4],markerCount:6==s[e(258)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(258)];i++){if(t[e(304)]&&e(435)==s[i][e(538)])return t[e(440)]=s[i],void delete t[e(304)];if(!t[e(304)]&&!t[e(418)]&&e(416)==s[i][e(538)])return void(t[e(291)]=s[i])}}}[Gt(234)](t,e){const i=Gt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(324)](o.id,s);for(let s=0;s<t[i(258)];s++){if(i(418)==e&&t[s][i(304)]||i(304)==e&&t[s][i(418)])continue;if(i(244)==t[s][i(538)]){t[s][i(421)]=0;continue}const n=r[i(529)](t[s][i(334)]),o=r[i(529)](t[s].id);t[s][i(421)]=n-o}}[Gt(350)](t,e,i=!1){const s=Gt,n=[];let r=this[s(359)][s(439)](t),o=this[s(359)][s(439)](e);for(-1==o&&(o=this[s(359)][s(379)][s(258)],i=!1);r<o;)n[s(536)](this[s(359)][s(366)](r)),r++;return i&&n[s(536)](this[s(359)][s(366)](r)),n}[Gt(259)](t,e,i,s){const n=Gt,r=this[n(396)][n(225)][n(480)];let o=e;for(;t[o]&&t[o][n(304)];)o++;let a=s;for(;i[a]&&i[a][n(418)];)a++;u(t,e,o),u(i,s,a);const c=i[n(309)](s,a)[n(533)](t[n(309)](e,o));return c[n(280)](((t,e)=>t[n(236)]!=e[n(236)]?t[n(236)]-e[n(236)]:t[n(388)]!=e[n(388)]?t[n(388)]-e[n(388)]:t[n(421)]!=e[n(421)]?e[n(421)]-t[n(421)]:!!t[n(304)]!=!!e[n(304)]?-1==t[n(236)]||0==t[n(236)]?t[n(304)]?-1:1:t[n(304)]?1:-1:t[n(357)]-e[n(357)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(514)],c=!0;for(let n=e;n<i;n++)if(r[s(411)](t[n][s(515)])||(c=!1),t[n][s(515)][s(468)]<e&&(o=n),t[n][s(515)][s(277)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(236)]=n<=o?-1:n<a?0:1,t[n][s(357)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(421)]?t[i][s(388)]=u:(u++,t[i][s(388)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(236)]&&(t[n][s(388)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(421)]?t[e][s(388)]=u:(u--,t[e][s(388)]=u,u--)}}[Gt(246)](t){const e=Gt,i=new Map,s=this[e(396)][e(225)][e(480)];for(let n=1;n<t[e(258)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(244)==c[e(538)])continue;if(c[e(538)]!=u[e(538)])continue;if(!s[e(289)](u[e(515)])||s[e(430)](u[e(515)]))continue;if(!s[e(289)](c[e(515)])||s[e(430)](c[e(515)]))continue;if((t[n][e(304)]||t[n][e(440)])&&t[n-1][e(418)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(418)]||!t[n-1][e(304)]&&!t[n-1][e(440)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(388)]==o[e(388)],h=Math[e(269)](r[e(388)])<Math[e(269)](o[e(388)])&&0==o[e(421)];(l||h)&&(i[e(324)](o.id,r.id),t[e(311)](a,1),n--,r[e(304)]=!1)}for(let s=0;s<t[e(258)];s++)i[e(464)](t[s][e(334)])&&(t[s][e(334)]=i[e(529)](t[s][e(334)]))}[Gt(308)](t){const e=Gt,i=new Set(t[e(284)]((t=>t.id)));for(let s=0;s<t[e(258)];s++)i[e(464)](t[s][e(334)])||0==t[s][e(421)]||(t[s][e(215)]=!0);return t[e(303)]((t=>!t[e(215)]))}[Gt(413)](t){const e=Gt,i=new Set;for(let s=0;s<t[e(258)];s++){if(i[e(464)](t[s].id)&&t[s][e(418)]&&(t[s][e(215)]=!0),t[s][e(215)])continue;if(0==t[s][e(421)])continue;if(e(441)!=t[s][e(538)])continue;if(null==t[s][e(334)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(334)];)e(441)==t[n][e(538)]?r++:e(438)==t[n][e(538)]&&r--,n++;if(0!=r)if(t[s][e(418)])t[s][e(215)]=!0;else for(;n!=s;)t[n][e(418)]&&0!=t[n][e(421)]&&(t[n][e(215)]=!0,i[e(323)](t[n][e(334)])),n--}return t[e(303)]((t=>!t[e(215)]))}[Gt(401)](t){const e=Gt,i=this[e(396)][e(225)][e(480)];for(let s=0;s<t[e(258)];s++){if(!(t[s][e(304)]||t[s][e(440)]||t[s][e(418)]||t[s][e(291)]))continue;if(0==t[s][e(421)])continue;const n=t[s][e(515)];i[e(289)](n)||i[e(430)](n)||(t[s][e(304)]&&delete t[s][e(304)],t[s][e(440)]&&delete t[s][e(440)],t[s][e(291)]&&delete t[s][e(291)],t[s][e(418)]&&(t[s][e(215)]=!0))}return t[e(303)]((t=>!t[e(215)]))}[Gt(231)](t,e,i){const s=Gt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(396)][s(225)],c=a[s(480)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(258)];e++)if(s(441)===t[e][s(538)]){t[e][s(264)]=a[s(486)](n,f);const i=new H.Element(t[e][s(515)][s(532)],t[e][s(515)][s(372)]());u[0][s(267)](i),f[s(536)](0),u[s(546)](i),t[e][s(235)]=a[s(486)](n,f)}else s(438)===t[e][s(538)]?(u[s(321)](),t[e][s(264)]=a[s(486)](n,f),f[s(552)](),f[f[s(258)]-1]++,t[e][s(235)]=a[s(486)](n,f)):(t[e][s(264)]=a[s(486)](n,f),d?d[s(354)]+=t[e][s(515)][s(253)]:d=new H.Text(t[e][s(515)][s(253)],t[e][s(515)][s(372)]()),t[e+1]&&s(244)===t[e+1][s(538)]&&v(d,t[e+1][s(515)])||(u[0][s(267)](d),d=null),f[f[s(258)]-1]+=t[e][s(515)][s(245)],t[e][s(235)]=a[s(486)](n,f));for(let e=0;e<t[s(258)];e++){const i=t[e][s(264)],n=t[e][s(235)];for(const n of t[e][s(315)])o[s(324)](n,{start:i,end:null});m(s(291),e,i,n),m(s(440),e,i,n),m(s(418),e,i,n),m(s(304),e,i,n);for(const i of t[e][s(497)])o[s(529)](i)[s(322)]=n}for(const[t,e]of o){const i=this[s(396)][s(225)][s(424)](e[s(530)],e[s(322)]);n[s(387)][s(324)](t,i)}return r[s(280)](((t,e)=>{const i=s,r=n[i(387)][i(529)](i(510)+t.id),o=n[i(387)][i(529)](i(510)+e.id);return r[i(530)][i(383)](o[i(530)])?-1:r[i(530)][i(240)](o[i(530)])?1:r[i(322)][i(383)](o[i(322)])?-1:r[i(322)][i(240)](o[i(322)])?1:i(323)===t[i(538)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(501)]:null,d=i===t[o(258)]-1,f=h[e][0],m=c[o(406)](t[i][o(515)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(322)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(501)]!==u&&(l[e][o(322)]=n,f&&f[o(501)]===l[e][o(501)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(441)!==t[i][o(538)]||f&&f[o(501)]===u||h[e][o(546)]({userId:u,object:t[i][o(515)],change:l[e]}),o(438)===t[i][o(538)]&&f&&f[o(490)]===t[i][o(515)]&&(h[e][o(321)](),l[e]=f[o(550)])),l[e]&&d&&(l[e][o(322)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(515)],f=a[h(480)][h(289)](d)&&!a[h(480)][h(430)](d),m=t[h(448)]==o[h(217)]&&o[h(319)];if(f&&m)return;const p=a[h(424)](t,o),v=e[h(529)](u),g=new Zt({author:v,type:h(304)==l||h(440)==l?h(323):h(344),data:{isSuggestion:h(440)==l||h(291)==l},createdAt:new Date,rootName:i});r[h(536)](g),n[h(387)][h(324)](h(510)+g.id,p)}function v(t,e){const i=s,n=t[i(372)](),r=e[i(372)]();for(const t of n){if(t[1]!==e[i(521)](t[0]))return!1;r[i(223)]()}return r[i(223)]()[i(313)]}}[Gt(415)](){const t=Gt;this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(274)}),this[t(396)][t(429)][t(362)](t(242))[t(378)]({model:t(274),view:e=>{const i=t,s=e[i(261)][i(512)](":")[1],n=this[i(305)](s);if(!n)return null;const r=i(323)==n[i(538)]?i(435):i(416),o=[i(238),i(527)+r];return n[i(253)][i(263)]&&o[i(536)](i(527)+r+i(316)),this[i(292)]==n&&o[i(536)](i(484)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(396)][t(429)][t(362)](t(330))[t(323)]((e=>{const i=t;e.on(i(531),((t,e,s)=>{const n=i,r=e[n(224)][n(397)](0);if(!r||!r.is(n(241),n(290)))return;if(!s[n(377)][n(398)](r,{attributes:[n(466),n(469)]}))return;const o=e[n(456)][n(530)][n(448)];s[n(326)][n(393)](n(466),r[n(521)](n(466)),o),s[n(326)][n(393)](n(469),r[n(521)](n(469)),o)}),{priority:i(442)})})),this[t(396)][t(429)][t(362)](t(330))[t(323)]((e=>{const i=t;e.on(i(241),((t,e,s)=>{const n=i;if(!s[n(377)][n(398)](e[n(224)],{attributes:[n(466),n(469)]}))return;if(e[n(456)][n(478)])return;const r=e[n(456)][n(530)][n(448)];r[n(310)](n(466))||r[n(310)](n(495))||(s[n(326)][n(393)](n(466),e[n(224)][n(521)](n(466)),r),s[n(326)][n(393)](n(469),e[n(224)][n(521)](n(469)),r))}),{priority:i(442)})})),this[t(396)][t(429)][t(362)](t(330))[t(332)]({view:{name:t(320),attributes:{vid:!0}},model:{key:t(495),value:e=>e[t(521)](t(495))}}),this[t(396)][t(225)][t(480)].on(t(340),((e,[,i])=>{const s=t;[s(466),s(469),s(495)][s(485)](i)&&(e[s(483)]=!0,e[s(414)]())}),{priority:t(506)}),this[t(396)][t(429)][t(362)](t(360))[t(323)]((e=>{const i=t;e.on(i(254),((t,e,s)=>{const n=i;if(" "!=e[n(515)][n(253)]||e[n(515)][n(217)][n(286)]>1)return;if(!s[n(377)][n(398)](e[n(515)],t[n(532)]))return;const r=s[n(326)],o=s[n(250)][n(282)](e[n(450)]);r[n(232)](o,r[n(541)](n(320)))}))})),this[t(396)][t(429)][t(362)](t(360))[t(503)]({model:t(274)}),this[t(396)][t(445)][t(455)].on(t(545),function(e){const i=t,s=e[i(433)][i(529)](i(476));return(t,n,r)=>{const o=i,a=n[o(261)][o(512)](":")[1],c=s[o(305)](a);if(!c)return null;const u=o(323)==c[o(538)]?o(512):o(341);if(!r[o(377)][o(422)](n[o(381)],t[o(532)]))return;const l=n[o(381)][o(337)](),h=n[o(381)][o(530)],d=e[o(225)][o(480)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(515)];p=p||d[o(295)](e);const i=r[o(250)][o(458)](e);if(i&&i[o(369)](o(365)))return;o(438)==t[o(538)]&&d[o(289)](e)&&!d[o(430)](e)&&(e[o(260)]||h[o(408)]?f&&f[o(217)]==e||(f=e,g(t[o(264)]),v=!0):m=m||t[o(264)])}function g(t){const e=o,i=r[e(326)][e(428)](e(320),{class:e(527)+u}),a=r[e(250)][e(451)](t);c[e(253)][e(263)]&&r[e(326)][e(525)](e(527)+u+e(316),i),s[e(292)]==c&&r[e(326)][e(525)](e(484),i),r[e(326)][e(370)](a,i),r[e(250)][e(516)](i,n[e(261)])}p||v||!m||g(m)}}(this[t(396)]),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(504),((e,i,s)=>{const n=t,r=s[n(250)][n(228)](i[n(261)]);if(r)for(const t of r)(t[n(410)](n(420))||t[n(410)](n(452)))&&(s[n(250)][n(251)](t,i[n(261)]),s[n(326)][n(344)](t))}),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(545),((e,i,s)=>{const n=t,r=i[n(261)][n(512)](":")[1],o=this[n(305)](r);if(!o)return null;const a=n(323)==o[n(538)]?n(512):n(341);if(s[n(377)][n(422)](i[n(381)],e[n(532)]))for(const t of i[n(381)][n(299)]()){if(!t.is(n(241),n(353)))continue;const e=s[n(326)][n(428)](n(320),{class:n(527)+a}),r=s[n(250)][n(451)](this[n(396)][n(225)][n(384)](t));o[n(253)][n(263)]&&s[n(326)][n(525)](n(527)+a+n(316),e),this[n(292)]==o&&s[n(326)][n(525)](n(484),e),s[n(326)][n(370)](r,e),s[n(250)][n(516)](e,i[n(261)])}}),{priority:t(412)}),this[t(396)][t(225)][t(346)].on(t(550),(()=>{const e=t;this[e(396)][e(445)][e(470)][e(550)]((t=>{const i=e;for(const e of this[i(396)][i(225)][i(346)][i(493)]()){const s=this[i(396)][i(225)][i(346)][i(523)](e),n=this[i(396)][i(445)][i(470)][i(346)][i(523)](e);if(n){const e=s[i(521)](i(402));if(t[i(479)](i(437),n),t[i(482)](i(473),n),t[i(482)](i(491),n),t[i(482)](i(405),n),e){const s=this[i(305)](e);if(!s)return null;t[i(393)](i(437),e,n),t[i(525)](i(394)+s[i(538)],n),this[i(292)]==s&&t[i(525)](i(405),n)}}}}))})),this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(400),model:e=>t(222)+e,converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(330))[t(403)]({view:t(423),model:e=>t(528)+e,converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(360))[t(503)]({model:t(302),view:e=>({name:t(507)+e,group:t(302)}),converterPriority:t(506)}),this[t(396)][t(429)][t(362)](t(242))[t(378)]({model:t(302),view:e=>{const i=t,s=e[i(261)][i(512)](":")[1];return i(435)!=s&&i(416)!=s?null:{classes:[i(526),i(434)+s]}}}),this[t(396)][t(445)][t(455)].on(t(314),ee(this[t(396)],t(341)),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(432),ee(this[t(396)],t(512)),{priority:t(412)}),this[t(396)][t(445)][t(455)].on(t(374),((e,i,s)=>{const n=t,r=s[n(250)][n(228)](i[n(261)]);if(r)for(const t of r)t.is(n(288))&&(s[n(250)][n(251)](t,i[n(261)]),s[n(326)][n(344)](t))}),{priority:t(412)})}[Gt(305)](t){const e=Gt;return this[e(500)][e(529)](t)}[Gt(358)](t){const e=Gt;return this[e(351)]&&this[e(351)][e(226)](),this[e(351)]=new jt(this[e(396)][e(539)],t),this[e(351)]}[Gt(537)](){const t=Gt;this[t(396)][t(225)][t(346)][t(356)][t(459)](t(274)),this.on(t(233),((e,i,s,n)=>{const r=t;n&&this[r(301)][r(344)](n),s&&(this[r(301)][r(323)]({view:s,stackId:r(427),position:{target:()=>{const t=r,e=this[t(396)][t(445)],i=this[t(305)](s[t(548)]);let n;if(i[t(253)][t(237)]){const s=e[t(470)][t(449)](i[t(444)]);n=Array[t(492)](s[t(553)]())}else{const i=this[t(396)][t(225)][t(387)][t(529)](t(510)+s[t(548)]);n=Array[t(492)](e[t(250)][t(228)](i[t(532)]))[t(284)]((i=>e[t(470)][t(278)][t(534)](i)))[t(284)]((e=>Array[t(492)](e[t(553)]())))[t(407)]()}return this[t(216)]&&n[t(268)]((e=>e[t(518)]-3<=this[t(216)].y&&e[t(390)]+3>=this[t(216)].y&&e[t(474)]-3<=this[t(216)].x&&e[t(498)]+3>=this[t(216)].x))||n[0]}}}),this[r(301)][r(229)](r(427)))})),this.on(t(475),((e,i,s,n)=>{const r=t;this[r(347)]=s?this[r(358)](s):null,this[r(396)][r(225)][r(550)]((()=>{const t=r,e=this[t(396)][t(445)];n&&(n[t(253)][t(237)]?e[t(470)][t(550)]((i=>{const s=t;i[s(482)](s(405),e[s(470)][s(346)][s(523)](n[s(444)]))})):e[t(297)](t(510)+n.id)),s&&(s[t(253)][t(237)]?e[t(470)][t(550)]((i=>{const n=t;i[n(525)](n(405),e[n(470)][n(346)][n(523)](s[n(444)]))})):e[t(297)](t(510)+s.id))}))})),this[t(382)](this[t(396)][t(445)][t(470)][t(346)],t(508),((e,i)=>{const s=t;if(this[s(292)])return;const n=this[s(307)](i[s(279)]),r=this[s(500)][s(529)](n);r?(this[s(216)]={x:i[s(481)].x,y:i[s(481)].y},this[s(347)]=this[s(358)](r)):(this[s(216)]=null,this[s(347)]=null)})),this[t(382)](this[t(396)][t(445)][t(470)][t(346)],t(300),((e,i)=>{const s=t,n=this[s(307)](i[s(279)]),r=this[s(500)][s(529)](n);r?(this[s(216)]={x:i[s(481)].x,y:i[s(481)].y},r===this[s(292)]?this[s(301)][s(336)]():this[s(292)]=r):(this[s(216)]=null,this[s(292)]=null)}))}[Gt(307)](t){const e=Gt;do{const i=t[e(521)](e(437));if(i)return i;t=t[e(217)]}while(t);return null}[Gt(270)](){const t=Gt;this[t(396)][t(225)][t(550)]((e=>{const i=t;for(const t of this[i(396)][i(225)][i(387)])e[i(276)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(377)][r(422)](s[r(381)],i[r(532)]))return;const o=s[r(381)][r(337)](),a=s[r(381)][r(530)],c=t[r(225)][r(480)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(515)];h=h||c[r(295)](e);const i=n[r(250)][r(458)](e);if(i&&i[r(369)](r(365)))return;r(438)==t[r(538)]&&c[r(289)](e)&&!c[r(430)](e)&&(e[r(260)]||a[r(408)]?u&&u[r(217)]==e||(u=e,f(t[r(264)]),d=!0):l=l||t[r(264)])}function f(t){const i=r,o=n[i(250)][i(451)](t),a=n[i(326)][i(428)](i(320),{class:i(434)+e});n[i(326)][i(370)](o,a),n[i(250)][i(516)](a,s[i(261)])}h||d||!l||f(l)}}class ie extends U.Command{constructor(t){const e=Gt;super(t);const i=t[e(433)][e(529)](te);this[e(509)]=!1,this[e(382)](i,e(443),(()=>this[e(281)]())),this[e(382)](i,e(342),(()=>this[e(281)]()))}[Gt(325)](){const t=Gt,e=this[t(396)],i=e[t(433)][t(529)](te),s=i[t(339)]?i[t(502)][t(373)]:null;e[t(293)][t(529)](t(285))[t(271)](s)}[Gt(281)](){const t=Gt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(396)][t(433)][t(529)](te),r=n&&s[t(317)](n[t(373)]);this[t(257)]=e&&i&&Boolean(r)}}class se extends U.Command{[Gt(425)];constructor(t,{direction:e}){const i=Gt;super(t);const s=t[i(433)][i(529)](te);this[i(509)]=!1,this[i(425)]=i(522)===e?1:-1,this[i(382)](s,i(443),(()=>this[i(281)]())),this[i(382)](s,i(342),(()=>this[i(281)]())),this[i(382)](s,i(475),(()=>this[i(281)]()))}[Gt(325)](){const e=Gt,i=this[e(396)],s=i[e(433)][e(529)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(292)]=n?s[e(502)][e(446)][e(529)](r+this[e(425)]):s[e(502)][e(446)][e(318)],s[e(292)][e(253)][e(237)])o=i[e(445)][e(470)][e(449)](s[e(292)][e(444)]);else{const t=i[e(225)][e(387)][e(529)](e(510)+s[e(292)].id);o=(0,Z.getMarkerDomElement)(i[e(445)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Gt(281)](){const t=Gt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(396)][t(433)][t(529)](te);this[t(257)]=!!(r&&n&&s)&&(!e||(1===this[t(425)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=253]})(t,e)}function ae(){const t=["_statusText","forward","Show previous change","_isStatusLabelVisible","339018gntwnO","1305962oasQee","bindTemplate","X_OF_Y_CHANGES","7049673aqrCiL","set","NUMBER_OF_CHANGES","Loading...","748456MnArqq","613879vUCbHy","35ocpDTk","No changes","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation","isReady","Total","ck-hidden","Show next change","backward","currentChangeNumber","isBackwardNavigationEnabled","numberOfChanges","13052bqUQVi","1279371qUSxHj","div","isEnabled","fire","setTemplate","bind","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","execute","span","isNavigationMode","EDIT_X_OF_Y_REVISIONS","605zPVfpX"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(586871===parseInt(e(255))/1+-parseInt(e(289))/2+parseInt(e(269))/3+-parseInt(e(268))/4*(parseInt(e(283))/5)+-parseInt(e(288))/6*(parseInt(e(256))/7)+parseInt(e(254))/8+parseInt(e(292))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(290)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(293)](e(281),!1),this[e(293)](e(260),!1),this[e(293)](e(265),0),this[e(293)](e(267),0),this[e(293)](e(277),!1),this[e(293)](e(266),!1),this[e(274)](e(287)).to(this,e(260),this,e(267),((t,e)=>t&&e>0)),this[e(274)](e(284)).to(this,e(260),this,e(265),this,e(267),this,e(281),((i,s,n,r)=>{const o=e;if(!i)return J(t,o(253));if(!n)return J(t,o(257));const a=J(t,o(294),n);return r?J(t,o(291),[s+1,n]):a})),s[e(293)]({label:J(t,e(286)),tooltip:!0,icon:dt.IconChevronUp}),n[e(293)]({label:J(t,e(263)),tooltip:!0,icon:dt.IconChevronDown}),s[e(274)](e(271)).to(this,e(266)),n[e(274)](e(271)).to(this,e(277)),s.on(e(279),(()=>this[e(272)](e(279),e(264)))),n.on(e(279),(()=>this[e(272)](e(279),e(285)))),this[e(273)]({tag:e(270),attributes:{class:["ck",e(276),e(259)]},children:[{tag:e(280),attributes:{class:[e(278)]},children:[{tag:e(280),attributes:{class:[e(258),i.if(e(287),e(262),(t=>!t))]},children:[{text:i.to(e(281),(i=>i?J(t,e(282))+": ":J(t,e(261))+": "))}]},{text:i.to(e(284))}]},new ft.ToolbarSeparatorView,{tag:e(270),attributes:{class:[e(275)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=me;function de(){const t=["isOfficialPlugin","634214cZhjmO","792259FppoTC","10415672PIdjDA","hide","845270eGuSeQ","5lDUxVZ","isPremiumPlugin","3661581ClWYxN","editor","editing","19068JLybGW","addClass","9PwTzMe","669qZaJWa","roots","RevisionViewerLoadingOverlay","8557542sDwXTv","pluginName","removeClass","ck-editor__editable__loading-overlay","show","document","change","view"];return(de=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(751467===-parseInt(e(299))/1+parseInt(e(298))/2+-parseInt(e(286))/3*(parseInt(e(283))/4)+parseInt(e(278))/5*(parseInt(e(289))/6)+-parseInt(e(280))/7+parseInt(e(300))/8*(parseInt(e(285))/9)+parseInt(e(277))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const fe=he(292);function me(t,e){const i=de();return(me=function(t,e){return i[t-=277]})(t,e)}class pe extends U.Plugin{static get[he(290)](){return he(288)}static get[he(297)](){return!0}static get[he(279)](){return!0}[he(293)](){const t=he,e=this[t(281)][t(282)][t(296)];e[t(295)]((i=>{const s=t;for(const t of e[s(294)][s(287)])i[s(284)](fe,t)}))}[he(301)](){const t=he,e=this[t(281)][t(282)][t(296)];e[t(295)]((i=>{const s=t;for(const t of e[s(294)][s(287)])i[s(291)](fe,t)}))}}const ve=ge;function ge(t,e){const i=ye();return(ge=function(t,e){return i[t-=124]})(t,e)}function ye(){const t=["exitToEditing","requires","componentFactory","add","restoreRevision","isEnabled","6jtDuvN","show","change:isReady","28926JTwznA","listenTo","806856DjPljL","numberOfChanges","Restore this revision","3744uNpyRb","forward","pluginName","isForwardNavigationEnabled","currentChangeNumber","RevisionViewerUI","ck-revision-history-ui__back-to-editing","set","editor","changesNavigation","144124agIhNz","Back to editing","commands","showNextChange","4888980SLefuW","get","bind","plugins","871686ZKJLxI","isReady","revisionHistory","execute","isBackwardNavigationEnabled","isNavigationMode","716890BiQkZP","isOfficialPlugin","init","config","hide","showPreviousChange","4268047PdUZbQ","isPremiumPlugin","closeRevisionViewerCallback"];return(ye=function(){return t})()}!function(t){const e=ge,i=t();for(;;)try{if(508052===parseInt(e(146))/1+parseInt(e(160))/2+parseInt(e(154))/3+-parseInt(e(133))/4+-parseInt(e(150))/5+parseInt(e(128))/6*(-parseInt(e(166))/7)+parseInt(e(136))/8*(parseInt(e(131))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class ke extends U.Plugin{static get[ve(138)](){return ve(141)}static get[ve(161)](){return!0}static get[ve(167)](){return!0}static get[ve(170)](){return[te,pe]}[ve(162)](){const t=ve,e=this[t(144)],i=e[t(153)][t(151)](te),s=e[t(153)][t(151)](pe);e.ui[t(124)][t(125)](t(169),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(143)]({label:J(i,s(147)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(142)}),this[s(132)](n,s(157),(()=>{const t=s;e[t(163)][t(151)](t(156))[t(168)]()})),n})),e.ui[t(124)][t(125)](t(126),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(143)]({label:J(i,s(135)),withText:!0,tooltip:!0}),n[s(152)](s(127)).to(e[s(148)][s(151)](s(126))),this[s(132)](n,s(157),(()=>e[s(157)](s(126)))),n})),e.ui[t(124)][t(125)](t(145),(s=>{const n=t,r=new ce(s),o=e[n(148)][n(151)](n(165)),a=e[n(148)][n(151)](n(149));return r[n(152)](n(158)).to(o,n(127)),r[n(152)](n(139)).to(a,n(127)),r[n(152)](n(155),n(140),n(134),n(159)).to(i),this[n(132)](r,n(157),((t,i)=>{const s=n;e[s(157)](s(137)===i?s(149):s(165))})),r})),s[t(129)](),i.on(t(130),((e,i,n)=>{const r=t;n?s[r(164)]():s[r(129)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Ie;function Ie(t,e){const i=Se();return(Ie=function(t,e){return i[t-=139]})(t,e)}function Se(){const t=["bindTemplate","listenTo","1xFaauc","31173720PtrxnI","clientWidth","destroy","Revision name","2241JbJeRg","ck-tooltip_multi-line","_updateTooltipText","_resizeObserver","299388YaKGif","4wbjbEI","147erjRth","_tooltipString","fieldView","set","element","7537755iHRGoJ","3455252rZNEec","input","extendTemplate","scrollWidth","span","5138200yreqCZ","Enter the revision name","51860VDMHun","placeholder","value","render","ck-revision-history-sidebar__revision-name","33fpDkAS","2040699MGsNLT"];return(Se=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(896573===-parseInt(e(168))/1*(parseInt(e(152))/2)+-parseInt(e(165))/3+parseInt(e(145))/4*(-parseInt(e(151))/5)+parseInt(e(144))/6*(-parseInt(e(146))/7)+-parseInt(e(157))/8+-parseInt(e(140))/9*(parseInt(e(159))/10)+parseInt(e(164))/11*(parseInt(e(169))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends ft.LabeledFieldView{[_e(143)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(166)];this[i(149)]({label:J(t,i(139)),_tooltipString:""}),this[i(148)][i(160)]=J(t,i(158)),this[i(154)]({tag:i(156),attributes:{class:[i(163)],"data-cke-tooltip-text":s.to(i(147)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(141)}})}[_e(162)](){const e=_e;super[e(162)](),this[e(143)]=new t.ResizeObserver(this[e(148)][e(150)],(()=>this[e(142)]())),this[e(167)](this[e(148)],e(153),(()=>this[e(142)]()))}[_e(171)](){const t=_e;super[t(171)](),this[t(143)]&&this[t(143)][t(171)]()}[_e(142)](){const t=_e,e=this[t(148)][t(150)];this[t(147)]=e[t(155)]>e[t(170)]&&e[t(161)]||""}}var Oe=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=wt(),xe.insert=kt().bind(null,"head"),xe.domAPI=gt(),xe.insertStyleElement=It();pt()(Oe.A,xe);Oe.A&&Oe.A.locals&&Oe.A.locals;function Ne(t,e){const i=Re();return(Ne=function(t,e){return i[t-=485]})(t,e)}function Re(){const t=["span","2881832AqRpZq","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","Revision author","Revision creator","7626040jSqydr","2337775aUgpbO","555794KKyRIJ","948570GgLQuZ","set","0 0 11 10","505418HchGDB","setTemplate","4bkcNMI","push","ck-revision-history-sidebar__revision-author","9YbdZjN","163695iQNcSw","14LPCxyO","name"];return(Re=function(){return t})()}!function(t){const e=Ne,i=t();for(;;)try{if(348240===-parseInt(e(498))/1+-parseInt(e(494))/2+-parseInt(e(504))/3+parseInt(e(500))/4*(parseInt(e(493))/5)+-parseInt(e(495))/6*(-parseInt(e(505))/7)+parseInt(e(487))/8*(-parseInt(e(503))/9)+parseInt(e(492))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ae extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(496)]({content:dt.IconUser,viewBox:s(497)});const r=["ck",s(502)];i&&r[s(501)](s(488));const o=[{tag:s(486),attributes:{class:["ck",s(489)],title:J(t,s(i?491:490))},children:[n,e[s(485)]]}];this[s(499)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ve();return(Me=function(t,e){return i[t-=354]})(t,e)}function Ve(){var t=["60fJPTsk","690444CibKPG","1wJKLKZ","2009307TIsxag","4ZwHmcl","543946jqsapf","5857488FMtHDk","toLocaleDateString","numeric","long","13534128iRYFcx","2380128dWAEQx","toLocaleTimeString","4245845mhAziZ"];return(Ve=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(999537===parseInt(e(363))/1*(parseInt(e(366))/2)+parseInt(e(364))/3*(parseInt(e(365))/4)+parseInt(e(360))/5+-parseInt(e(358))/6+parseInt(e(367))/7+-parseInt(e(357))/8+parseInt(e(362))/9*(parseInt(e(361))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ee.A,De);Ee.A&&Ee.A.locals&&Ee.A.locals;function Ce(){const t=["2085512QEiigp","isActionsDropdownOpen","bindTemplate","7cAHTqD","map","button","class","isReady","panelPosition","stopPropagation","isOpen","24sUrJDz","20fvzqOo","isEnabled","buttonView","ck-on","listView","set","function","1646cOqutM","model","1851cTdtQz","Compare against selected","action","24oPRdGc","items","execute","source","220664HUEqLP","Restore this revision","ck-revision-history-sidebar__revision__actions","Name this revision","add","listenTo","Show more items","40gfSQgH","bind","118097TvlmKP","first","2332312UuaIbn","children","menuitem","406538lKFvyM","extendTemplate","menu","_action","isVisible","locale","9UDQNVO","name","change:isActionsDropdownOpen","find"];return(Ce=function(){return t})()}function Fe(t,e){const i=Ce();return(Fe=function(t,e){return i[t-=352]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(171263===parseInt(e(375))/1*(-parseInt(e(391))/2)+parseInt(e(393))/3+parseInt(e(400))/4*(-parseInt(e(384))/5)+parseInt(e(396))/6*(-parseInt(e(357))/7)+-parseInt(e(359))/8*(-parseInt(e(368))/9)+parseInt(e(355))/10*(-parseInt(e(362))/11)+-parseInt(e(383))/12*(-parseInt(e(372))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ce);var Le=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=wt(),je.insert=kt().bind(null,"head"),je.domAPI=gt(),je.insertStyleElement=It();pt()(Le.A,je);Le.A&&Le.A.locals&&Le.A.locals;const Pe=ze;function ze(t,e){const i=Ue();return(ze=function(t,e){return i[t-=167]})(t,e)}!function(t){const e=ze,i=t();for(;;)try{if(632893===parseInt(e(192))/1+-parseInt(e(206))/2*(parseInt(e(217))/3)+-parseInt(e(184))/4*(-parseInt(e(181))/5)+parseInt(e(197))/6+-parseInt(e(210))/7+parseInt(e(225))/8*(-parseInt(e(200))/9)+parseInt(e(204))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class We extends((0,Z.ConfirmMixin)(ft.View)){id;[Pe(168)];[Pe(203)];[Pe(183)];[Pe(189)];constructor(e,i,s,n){const r=Pe;super(e);const o=this[r(229)],a=function(t,e){const i=r,s=Array[i(194)](e[i(193)])[i(228)]((t=>t!=e[i(191)]));return e[i(191)]&&s[i(177)](e[i(191)]),s[i(224)]((s=>new Ae(t,s,s==e[i(191)])))}(e,i);this.id=i.id,this[r(183)]=i,this[r(189)]=n,this[r(213)](r(211),r(227)).to(i),this[r(213)](r(186)).to(this,r(227),(t=>{return i=e[r(170)],(s=t)[(n=Me)(354)](i,{month:n(356),day:n(355)})+", "+s[n(359)](i,{hour:n(355),minute:n(355)});var i,s,n})),this[r(230)](r(208),!1),this[r(230)](r(176),!1),this[r(230)](r(169),!1),this[r(230)](r(222),!1),this[r(230)](r(201),!1),this[r(168)]=new Te(e,ft.createLabeledInputText),this[r(168)][r(219)][r(187)]({attributes:{maxlength:r(190)}}),this[r(168)][r(219)][r(213)](r(198)).to(this,r(211),(t=>t||this[r(186)])),this[r(168)][r(213)](r(201)).to(this,r(208),this,r(201),((t,e)=>t&&e)),this[r(203)]=s&&s[r(202)]?function(e,i){const s=Fe,n=e[s(374)],r=e[s(367)],o=(0,ft.createDropdown)(r);o[s(380)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(367)],n={"Compare against selected":J(s,i(394)),"Name this revision":J(s,i(403)),"Restore this revision":J(s,i(401))};return e[i(376)]((t=>{const e=i,s=n[t[e(369)]];return s&&s!==t[e(369)]&&(t[e(369)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(377),model:new ft.ViewModel({label:t[n(369)],class:t[n(378)],withText:!0,role:n(361),_action:t[n(395)]})};i[n(392)][n(356)](n(385)).to(e,n(373),(i=>n(390)!=typeof t[n(385)]||!i||t[n(385)](e))),o[n(352)](i)}return o}(e,i);return e[s(356)](s(373)).to(o,s(382)),o[s(386)][s(389)]({label:J(r,s(354)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(363)]({attributes:{class:[s(402),n.if(s(373),s(387))]},on:{click:n.to((t=>t[s(381)]()))}}),o.on(s(398),(t=>{const i=s;e[i(379)]&&i(390)==typeof t[i(399)][i(365)]&&t[i(399)][i(365)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(364)}),o[s(353)](e,s(370),((t,n,r)=>{const a=s;if(r)for(const t of o[a(388)][a(397)]){const s=t[a(360)][a(358)],n=i[a(371)]((t=>t[a(395)]===s[a(365)]))[a(366)];t[a(366)]=void 0===n||n(e)}})),o}(this,s):"",this[r(203)]&&this[r(203)][r(213)](r(201)).to(this),this[r(179)]({tag:r(175),attributes:{class:["ck",r(231),r(212),o.if(r(209),r(221))]},children:[{tag:r(175),attributes:{class:["ck",r(231),r(215),o.if(r(201),r(223),(t=>!t)),o.if(r(208),r(171)),o.if(r(176),r(220)),o.if(r(169),r(173))]},children:[this[r(168)],{tag:r(205),attributes:{class:["ck",r(185)]},children:[{text:o.to(r(186))}]},{tag:r(175),attributes:{class:["ck",r(174)]},children:[{tag:"ul",attributes:{class:["ck",r(178)]},children:a}]},this[r(203)]],on:{click:o.to((t=>{const e=r;t[e(180)][e(172)](e(188))||this[e(222)]&&this[e(201)]&&this[e(226)](e(182),{id:this.id})}))}}]})}[Pe(199)](){const t=Pe;super[t(199)]();const e=this[t(168)][t(219)][t(216)];this[t(214)](e,t(167),(()=>{const i=t;this[i(189)]&&!e[i(198)]||this[i(226)](i(195),{id:this.id,name:e[i(198)]}),e[i(198)]||(e[i(198)]=this[i(211)]?this[i(211)]:this[i(186)])}))}[Pe(182)](){this[Pe(208)]=!0}[Pe(196)](){this[Pe(208)]=!1}[Pe(207)](){this[Pe(176)]=!0}[Pe(218)](){this[Pe(176)]=!1}}function Ue(){const t=["srcElement","5054115dglCvh","select","_revision","4AOrtbR","ck-revision-history-sidebar__revision__date","_createdAtFormatted","extendTemplate",".ck-thread__remove-confirm","_requireRevisionName","220","creator","1189245iUBjxl","authors","from","setName","deselect","4689924xEHYiB","value","render","315XRhufp","isEnabled","length","revisionActionsView","1253350GhROTS","span","176236ajWTVI","highlight","isSelected","isConfirm","6651141GhZYJT","name","ck-revision-history-sidebar__revision-wrapper","bind","listenTo","ck-revision-history-sidebar__revision","element","36QylAYB","unhighlight","fieldView","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isReady","ck-disabled","map","106648PpnwXY","fire","createdAt","filter","bindTemplate","set","ck-reset","change","revisionNameView","isActionsDropdownOpen","uiLanguage","ck-revision-history-sidebar__revision_selected","closest","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision__controls-wrapper","div","isHighlighted","unshift","ck-revision-history-sidebar__revision-authors","setTemplate"];return(Ue=function(){return t})()}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class $e extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je extends Ze{}class Ge extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",Xe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Qe,day:Ke},ii={year:Ke,month:Qe,day:Ke,weekday:Qe},si={year:Ke,month:Xe,day:Ke},ni={year:Ke,month:Xe,day:Ke,weekday:Xe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},yi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},ki={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},bi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,timeZoneName:Xe},wi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe};class _i{get type(){throw new Ge}get name(){throw new Ge}get ianaName(){return this.name}get isUniversal(){throw new Ge}offsetName(t,e){throw new Ge}formatOffset(t,e){throw new Ge}offset(t){throw new Ge}equals(t){throw new Ge}get isValid(){throw new Ge}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const Oi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ni extends _i{static create(t){return xi[t]||(xi[t]=new Ni(t)),xi[t]}static resetCache(){xi={},Ti={}}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=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Oi[e];"era"===e?s[r]=n:ws(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(js({year:n,month:r,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 Ri={};let Ai={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.DateTimeFormat(t,e),Ai[i]=s),s}let Vi={};let Ei={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).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 s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return As(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class ji{constructor(t,e,i){let s;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&&Ni.create(i).valid?(s=i,this.dt=t):(s="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,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}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 Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={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."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[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 zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Di=null,Ai={},Vi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,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,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,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=n,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?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(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 Fi(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=eo.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Fi(this,t,en,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(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:Ts()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):zi}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 Ui=null;class Zi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(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 Hi extends _i{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 qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},$i={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]},Yi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Gi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Ki,Qi=()=>Date.now(),Xi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){Xi=t}static get defaultZone(){return qi(Xi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.resetCache(),Ni.resetCache(),eo.resetCache(),Ji={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...$s(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...$s(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...$s(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...$s(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new $e("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(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 ks(t){const e=Is(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,Ls(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Os(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Is(t)&&t>=e&&t<=i}function As(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(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 Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function Ws(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${As(i,2)}:${As(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${As(i,2)}${As(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function $s(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Gs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Gs];case"short":return[...Js];case"long":return[...Ys];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 Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Xs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Xs];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return un[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 As(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(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.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 r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({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 s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({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 s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({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 s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({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 s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({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}},s=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function mn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Ms(s)}function Tn(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function On(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function xn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),Rn=/^-?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 An(t){const[e,i,s,n,r,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(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:Xs.indexOf(t)+1),a}const En=/^(?:(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 Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(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$/,Fn=/^(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$/,Ln=/^(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 jn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),Wn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),Tn,On,xn),qn=fn(bn,Tn,On,xn),Bn=fn(wn,Tn,On,xn),$n=fn(Tn,On,xn);const Yn=fn(Tn);const Jn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Gn=dn(_n),Kn=fn(Tn,On,xn);const Qn="Invalid Duration",Xn={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}},tr={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},...Xn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,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:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Xn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(t,e,i=!1){const s={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 ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[Rn,An])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new Be(i);return new ur({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 Ye(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?ln.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=nr.map((e=>{const i=this.values[e];return ws(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+=Ds(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 eo.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?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(xs(e.values,t)||xs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.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]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return cr(this.matrix,e),or(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 or(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 s of nr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const lr="Invalid Interval";class hr{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 Je("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.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:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.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?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(hr.fromDateTimes(s,i)),s=i,n+=1}return r}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:hr.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 hr.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 s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[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=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Ts()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["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=fr(t,e);return(i-i%7)/7}],["days",fr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(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 s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in $i){const[i,n]=$i[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={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 Sr=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Or{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Gi(e),s=Gi(e,"{2}"),n=Gi(e,"{3}"),r=Gi(e,"{4}"),o=Gi(e,"{6}"),a=Gi(e,"{1,2}"),c=Gi(e,"{1,3}"),u=Gi(e,"{1,6}"),l=Gi(e,"{1,9}"),h=Gi(e,"{2,4}"),d=Gi(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 br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,Ws);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\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 s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(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),ws(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(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 s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(i,"H"))throw new $e("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function xr(t,e,i){return new Or(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(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=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Rr="Invalid DateTime",Ar=864e13;function Mr(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Fr(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 Lr(t,e,i){return Cr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.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=js(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?ln.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=As(t.c.year,i?6:4),e?(s+="-",s+=As(t.c.month),s+="-",s+=As(t.c.day)):(s+=As(t.c.month),s+=As(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=As(t.c.hour);return e?(o+=":",o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=As(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=As(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=As(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=As(Math.trunc(-t.o/60)),o+=":",o+=As(Math.trunc(-t.o%60))):(o+="+",o+=As(Math.trunc(t.o/60)),o+=":",o+=As(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],$r=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Jr(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 Ye(t);return e}(t)}}function Gr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of Br)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Xr&&(Xr=rs.now()),to[t]=t.offset(Xr)),to[t]}(i);[n,r]=Lr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(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 Xr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=ws(t.ts)?rs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Gr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:Wi.fromObject(e)}):eo.invalid(Mr(n))}static fromMillis(t,e={}){if(_s(t))return t<-Ar||t>Ar?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:Wi.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Mr(i));const s=Wi.fromObject(e),n=qs(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new $e("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new $e("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=$r,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=Rs(t.weekNumber,1,zs(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=Rs(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=Lr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[zn,Hn],[Wn,qn],[Un,Bn],[Zn,$n])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,jn],[Fn,jn],[Ln,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Jn,Hn],[Gn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(ln.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Xr=void 0,to={}}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?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.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=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(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=qs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new $e("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new $e("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.normalizeUnit(t);switch(s){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"===s)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"===s){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?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?ln.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Wr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[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 ur.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.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||eo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Je("min requires all arguments be DateTimes");return Os(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Je("max requires all arguments be DateTimes");return Os(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Or(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no();return(so=function(t,e){return i[t-=406]})(t,e)}function no(){const t=["week","monthLong","2673579dyUntD","11618278xwQfkF","toRelativeCalendar","year","minus","local","day","159980HGFofA","45203184PWpeLk","startOf","toJSDate","weekdayLong","hasSame","fromJSDate","75fkLxay","10555128ZQkOAL","month","745692WclmKf","3540300swIZfN","setLocale"];return(no=function(){return t})()}function ro(t,e){const i=so,s=eo[i(407)](t)[i(413)](e),n=eo[i(421)](),r=n[i(420)]({days:1})[i(425)](i(422));let o,a;return s[i(406)](n,i(422))?(o=s[i(425)](i(422))[i(426)](),a=s[i(418)]()):s[i(406)](r,i(422))?(o=r[i(426)](),a=s[i(418)]()):s[i(406)](n,i(414))?(o=s[i(425)](i(414))[i(426)](),a=s[i(427)]||""):s[i(406)](n,i(419))?(o=s[i(425)](i(410))[i(426)](),a=s[i(415)]||""):(o=s[i(425)](i(419))[i(426)](),a=String(s[i(419)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=so,i=t();for(;;)try{if(915730===parseInt(e(411))/1+-parseInt(e(412))/2+-parseInt(e(416))/3+parseInt(e(423))/4*(parseInt(e(408))/5)+-parseInt(e(409))/6+-parseInt(e(417))/7+parseInt(e(424))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=uo;function uo(t,e){const i=lo();return(uo=function(t,e){return i[t-=296]})(t,e)}function lo(){const t=["4259816YLdUEk","_requireRevisionName","8CRxMyJ","2171990XTXNPz","468153qkJRKb","ck-revision-history-sidebar__time-period__revisions","createCollection","ck-revision-history-sidebar__time-period","378453bDVFqa","addRevision","12xeXgeu","uiLanguage","locale","5995682yjKiYu","ck-revision-history-sidebar__time-period__label","localizedPeriodName","div","remove","delegate","revisionViews","15NQWUoC","add","setTemplate","find","startDate","span","removeRevision","select","244088xJEDmz","24IzdHYt","_revisionActions","setName","462204sLykwX","9ClyEge"];return(lo=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(271834===parseInt(e(306))/1+parseInt(e(310))/2*(-parseInt(e(316))/3)+parseInt(e(302))/4*(-parseInt(e(328))/5)+parseInt(e(303))/6*(parseInt(e(312))/7)+parseInt(e(308))/8*(-parseInt(e(307))/9)+parseInt(e(311))/10+parseInt(e(321))/11*(parseInt(e(318))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class ho extends ft.View{[co(298)];[co(327)];[co(304)];[co(309)];constructor(t,e,i,s){const n=co;super(t);const r=ro(e,this[n(320)][n(319)])[n(323)];this[n(298)]=e,this[n(327)]=this[n(314)](),this[n(304)]=i,this[n(309)]=s,this[n(327)][n(326)](n(301)).to(this),this[n(327)][n(326)](n(305)).to(this),this[n(296)]({tag:n(324),attributes:{class:["ck",n(315)]},children:[{tag:n(299),attributes:{class:["ck",n(322)]},children:[{text:r}]},{tag:n(324),attributes:{class:["ck",n(313)]},children:this[n(327)]}]})}[co(317)](t){const e=co,i=new We(this[e(320)],t,this[e(304)],this[e(309)]);this[e(327)][e(329)](i)}[co(300)](t){const e=co,i=this[e(327)][e(297)]((e=>e.id===t.id));this[e(327)][e(325)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(t,e){const i=vo();return(po=function(t,e){return i[t-=195]})(t,e)}function vo(){const t=["div","17851163jJdyZU","1774472fWxjfm","ck-reset_all","9494740VmVryQ","6zLIQuq","content","9MloSzd","1649072mLZePV","12wYDsDs","Revision history","5qybgrh","span","setTemplate","ck-revision-history-sidebar__header","5755472MHMgui","27122ptxgpw","618958fLsdVY","ck-revision-history-sidebar__header__label"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(694729===parseInt(e(197))/1+-parseInt(e(198))/2*(-parseInt(e(205))/3)+parseInt(e(208))/4*(-parseInt(e(211))/5)+-parseInt(e(209))/6*(-parseInt(e(202))/7)+-parseInt(e(196))/8+-parseInt(e(207))/9*(parseInt(e(204))/10)+parseInt(e(201))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class go extends ft.View{constructor(t){const e=po;super(t);const i=new ft.IconView;i[e(206)]=dt.IconHistory,this[e(213)]({tag:e(200),attributes:{class:["ck",e(203),e(195)]},children:[i,{tag:e(212),attributes:{class:["ck",e(199)]},children:[J(t,e(210))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["_getTimePeriodViewByStartDate","set","59526QAVnXa","_removeRevision","getTime","_requireRevisionName","ck-revision-history-sidebar__timeline","fire","ck-revision-history-sidebar","490OolWyE","bindTemplate","ck-reset","highlight","7778655LJbMlM","ck-rounded-corners","remove","selectRevision","locale","startDate","15QheBmz","delegate","highlightRevisions","createdAt","unhighlight","revisionSetName","341lzvObl","flat","get","217170bsdRbE","_revisionActions","uiLanguage","8219656vRSzQn","addRevision","div","984957IPBXnk","9qJlatL","deselect","map","_revisions","setTemplate","add","2206QGgwPx","setName","select","render","1918232ilmbXa","find","removeRevision","_addRevision","createCollection","ck-disabled","isEnabled","timePeriodViews","revisionSelected","revisionViews","some"];return(bo=function(){return t})()}const wo=_o;function _o(t,e){const i=bo();return(_o=function(t,e){return i[t-=184]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(920513===parseInt(e(187))/1+parseInt(e(194))/2*(parseInt(e(228))/3)+parseInt(e(198))/4+-parseInt(e(222))/5+-parseInt(e(211))/6*(parseInt(e(218))/7)+parseInt(e(184))/8*(parseInt(e(188))/9)+-parseInt(e(237))/10*(-parseInt(e(234))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends ft.View{[wo(205)];[wo(191)];[wo(238)];[wo(214)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(219)];this[n(205)]=this[n(202)](),this[n(205)][n(229)](n(196)).to(this),this[n(205)][n(229)](n(195)).to(this),this[n(191)]=e,this[n(238)]=i,this[n(214)]=s,this.on(n(196),((t,e)=>{const i=n;this[i(216)](i(206),e)})),this.on(n(195),((t,e)=>{const i=n;this[i(216)](i(233),e)})),this[n(210)](n(204),!1),this[n(192)]({tag:n(186),attributes:{class:["ck",n(220),n(223),n(217)]},children:[new go(t),{tag:n(186),attributes:{class:["ck",n(215),r.if(n(204),n(203),(t=>!t))]},children:this[n(205)]}]})}[wo(197)](){const t=wo;super[t(197)]();for(const e of this[t(191)])this[t(201)](e);this[t(191)].on(t(193),((e,i)=>{this[t(201)](i)})),this[t(191)].on(t(224),((e,i)=>{this[t(212)](i)}))}get[wo(207)](){const t=wo;return this[t(205)][t(190)]((e=>e[t(207)][t(190)]((t=>t))))[t(235)]()}[wo(225)](t){const e=wo;for(const i of this[e(207)])t&&t.id===i.id?i[e(196)]():i[e(189)]()}[wo(230)](t){const e=wo;for(const i of this[e(207)])t[e(208)]((({id:t})=>t===i.id))?i[e(221)]():i[e(232)]()}[wo(201)](t){const e=wo,i=ro(t[e(231)],this[e(226)][e(239)])[e(227)];let s=this[e(205)][e(236)](0);s&&s[e(227)][e(213)]()===i[e(213)]()||(s=new ho(this[e(226)],i,this[e(238)],this[e(214)]),this[e(205)][e(193)](s)),s[e(185)](t)}[wo(212)](t){const e=wo,i=ro(t[e(231)],this[e(226)][e(239)])[e(227)];this[e(209)](i)[e(200)](t)}[wo(209)](t){const e=wo;return this[e(205)][e(199)]((i=>i[e(227)][e(213)]()===t[e(213)]()))}}const So=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=180]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(700368===-parseInt(e(226))/1*(-parseInt(e(201))/2)+-parseInt(e(209))/3+-parseInt(e(214))/4+-parseInt(e(241))/5+parseInt(e(203))/6*(-parseInt(e(259))/7)+parseInt(e(205))/8+parseInt(e(253))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class Oo extends U.Plugin{[So(220)];[So(207)];[So(183)];static[So(215)]=[So(236),So(208),So(217)];static[So(245)]=function(){const t=So;return{compareAgainstSelected:{name:t(238),action:({plugins:e},i)=>{const s=t,n=e[s(188)](te),r=n[s(189)];let o=n[s(194)][s(251)],a=i.id;r[s(224)](o)>r[s(224)](a)&&([o,a]=[a,o]),n[s(221)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(188)](te);return!(n[s(189)][s(229)](n[s(194)])[s(182)]>2||i[s(243)])}},restoreRevision:{name:t(261),action:(e,{id:i})=>{const s=t;e[s(213)][s(188)](s(237))[s(250)](i)},isVisible:({plugins:e},i)=>!!e[t(188)](te)[t(189)][t(248)](i.id)},nameRevision:{name:t(212),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(188)](te),o=r[n(189)][n(196)](i);r[n(221)](i,o),s[n(260)](),s[n(232)][n(242)]()}}}}();static get[So(235)](){return So(193)}static get[So(246)](){return!0}static get[So(186)](){return!0}static get[So(195)](){return[te]}constructor(t){const e=So;super(t),this[e(220)]=t[e(254)][e(188)](te),this[e(207)]=this[e(220)][e(189)],this[e(183)]=null}[So(227)](){const t=So,e=this[t(207)][t(199)],i=this[t(239)](),s=this[t(225)][t(213)][t(188)](t(206));this[t(183)]=new Io(this[t(225)][t(219)],e,i,this[t(225)][t(213)][t(188)](t(256))),this[t(183)].on(t(249),this[t(252)][t(247)](this)),this[t(183)].on(t(230),this[t(234)][t(247)](this)),this[t(183)][t(247)](t(185)).to(this[t(220)]),this[t(183)][t(192)].on(t(200),((e,i)=>{const s=t;i[s(257)].on(s(200),((t,e)=>{const i=s;e[i(247)](i(185),i(244)).to(this[i(220)])}))})),this[t(183)][t(216)](),this[t(191)](this[t(225)][t(211)],t(202),this[t(223)][t(247)](this)),this[t(191)](this[t(220)],t(184),this[t(190)][t(247)](this)),s[t(258)](this[t(183)][t(180)])}[So(233)](){const t=So;this[t(183)][t(180)][t(181)](),this[t(183)][t(233)]()}[So(223)](){const t=So,e=this[t(207)][t(218)](0);if(e){const i=this[t(207)][t(196)](e.id);this[t(220)][t(221)](e,i)}}[So(252)](t,e){const i=So,s=this[i(207)][i(218)](e.id),n=this[i(207)][i(196)](s.id);this[i(220)][i(221)](s,n)}[So(234)](t,e){const i=So;this[i(207)][i(218)](e.id)[i(240)](e[i(204)])}[So(190)](t,e,i){const s=So,n=this[s(207)][s(229)](i);n[s(182)]>2?(this[s(183)][s(222)](n),this[s(183)][s(210)](null)):(this[s(183)][s(222)]([]),this[s(183)][s(210)](n[0]))}[So(239)](){const t=So,e=this[t(225)],i=Oo[t(245)],s=e[t(213)][t(188)](t(187))||Oo[t(215)];if(s[t(182)])return s[t(228)]((s=>{const n=t,r=n(231)==typeof s?Object[n(198)]({},i[s]):s;return r[n(197)]=r[n(197)][n(247)](this,e),r[n(255)]&&(r[n(255)]=r[n(255)][n(247)](this,e)),r}))}}const xo=Oo;function No(){const t=["assign","_revisions","add","2EiFbFL","ready","157566pBDAFB","name","7398312OlNbyB","revisionHistory.viewerSidebarContainer","_revisionsRepository","restoreRevision","3411963ixvNAT","selectRevision","data","Name this revision","config","1795556VeCIgY","defaultRevisionActions","render","nameRevision","getRevision","locale","_revisionViewer","compare","highlightRevisions","_handleEditorDataReady","getIndex","editor","1107420TrRvYh","init","map","getRevisionsInDiff","revisionSetName","string","fieldView","destroy","_handleRevisionSetName","pluginName","compareAgainstSelected","revisionHistory","Compare against selected","_createRevisionActions","setName","1032380xbxsNk","select","isSelected","isReady","availableRevisionActions","isOfficialPlugin","bind","getLaterVisibleRevision","revisionSelected","restoreRevisionCallback","newRevisionId","_handleRevisionSelected","11474424bRRYnJ","plugins","isVisible","revisionHistory.requireRevisionName","revisionViews","appendChild","217yfMvuu","focus","Restore this revision","element","remove","length","_sidebarView","change:diff","isEnabled","isPremiumPlugin","revisionHistory.revisionActions","get","repository","_handleDiffChange","listenTo","timePeriodViews","RevisionsSidebar","diff","requires","getEarlierVisibleRevision","action"];return(No=function(){return t})()}const Ro=Ao;function Ao(t,e){const i=Mo();return(Ao=function(t,e){return i[t-=174]})(t,e)}function Mo(){const t=["limiterElement","viewportOffset","7202766vuyHOf","834659MOTUzT","rootName","5LXpgaP","attachDomRoot","toolbar","9064165FNdkBl","3232cNbXEB","isFocused","focusTracker","36wsxjCI","view","detachDomRoot","186778vIYdek","destroy","bind","name","_toolbarConfig","1137590whrXNb","restore","get","fillFromConfig","replace","render","editing","stickyPanel","editor","componentFactory","_view","_elementReplacer","16VmjcaZ","3176692SYllYp","init","fire","viewportTopOffset","element","isActive","addToolbar","getRoot","setEditableElement","ready","document","editable","config","_initToolbar","1788WMBaiV"];return(Mo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(670507===parseInt(e(194))/1+-parseInt(e(188))/2*(parseInt(e(178))/3)+-parseInt(e(212))/4+-parseInt(e(184))/5*(-parseInt(e(181))/6)+-parseInt(e(182))/7*(parseInt(e(211))/8)+-parseInt(e(191))/9*(-parseInt(e(199))/10)+parseInt(e(187))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Vo extends ft.EditorUI{[Ro(209)];[Ro(198)];[Ro(210)];get[Ro(192)](){return this[Ro(209)]}constructor(e,i){const s=Ro;super(e),this[s(209)]=i,this[s(198)]=(0,ft.normalizeToolbarConfig)(e[s(176)][s(201)](s(186))),this[s(210)]=new t.ElementReplacer}get[Ro(216)](){const t=Ro;return this[t(192)][t(216)]}[Ro(213)](t){const e=Ro,i=this[e(207)],s=this[e(192)],n=i[e(205)][e(192)],r=s[e(175)],o=n[e(174)][e(219)]();r[e(197)]=o[e(183)],s[e(204)]();const a=r[e(216)];this[e(220)](r[e(197)],a),s[e(175)][e(196)](e(189)).to(this[e(190)]),n[e(185)](a),this[e(210)][e(203)](t,this[e(216)]),this[e(177)](),this[e(214)](e(221))}[Ro(195)](){const t=Ro;super[t(195)]();const e=this[t(192)],i=this[t(207)][t(205)][t(192)];this[t(210)][t(200)](),i[t(193)](e[t(175)][t(197)]),e[t(195)]()}[Ro(177)](){const t=Ro,e=this[t(192)];e[t(206)][t(196)](t(217)).to(this[t(190)],t(189)),e[t(206)][t(179)]=e[t(216)],e[t(206)][t(196)](t(215)).to(this,t(180),(({top:t})=>t)),e[t(186)][t(202)](this[t(198)],this[t(208)]),this[t(218)](e[t(186)])}}var Eo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Eo.A,Do);Eo.A&&Eo.A.locals&&Eo.A.locals;var Co=Fo;function Fo(t,e){var i=Lo();return(Fo=function(t,e){return i[t-=423]})(t,e)}function Lo(){var t=["top","6166480NnVPdC","editable","16dtJIJw","10pYDSmE","shouldToolbarGroupWhenFull","18YlMZBE","2370683rcPtzN","stickyPanel","toolbar","add","368814rekSVH","104072CgDJlv","main","577960LfcYHT","content","60678dpTBLA","6015690TIouBG","_editable","render"];return(Lo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(360750===-parseInt(e(424))/1+-parseInt(e(426))/2*(-parseInt(e(436))/3)+parseInt(e(442))/4+parseInt(e(434))/5*(parseInt(e(441))/6)+-parseInt(e(437))/7*(parseInt(e(433))/8)+parseInt(e(427))/9+parseInt(e(431))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends ft.BoxedEditorUIView{[Co(428)];[Co(438)];[Co(439)];get[Co(432)](){return this[Co(428)]}constructor(t,e,i={}){var s=Co;super(t),this[s(438)]=new ft.StickyPanelView(t),this[s(439)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(435)]}),this[s(428)]=new ft.InlineEditableUIView(t,e)}[Co(429)](){var t=Co;super[t(429)](),this[t(438)][t(425)][t(440)](this[t(439)]),this[t(430)][t(440)](this[t(438)]),this[t(423)][t(440)](this[t(432)])}}function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=143]})(t,e)}const zo=Po;function Wo(){const t=["2685gkaSPR","locale","2692930XkRuZx","initialData","_ui","11946040eayKGu","createRoot","init","destroy","updateSourceElement","get","2490789qzDgYe","model","4lVbHBR","view","9kCbyWv","1446qeBARE","1486248gNaNkS","443392eauMUo","5160323vnheAc","config","document","fire","data","initPlugins","sourceElement","ready","editing","create"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(954053===-parseInt(e(153))/1+-parseInt(e(154))/2+-parseInt(e(147))/3*(-parseInt(e(149))/4)+-parseInt(e(165))/5*(parseInt(e(152))/6)+parseInt(e(155))/7+parseInt(e(170))/8+-parseInt(e(151))/9*(parseInt(e(167))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[zo(169)];get ui(){return this[zo(169)]}constructor(t,e){const i=zo;super(e),this[i(161)]=t,this[i(148)][i(157)][i(171)]();const s=new jo(this[i(166)],this[i(163)][i(150)],{shouldToolbarGroupWhenFull:!0});this[i(169)]=new Vo(this,s)}[zo(144)](){const t=zo;return this[t(145)](),this.ui[t(144)](),super[t(144)]()}static async[zo(164)](t,e){const i=zo,s=new this(t,e);return await s[i(160)](),await s.ui[i(143)](t),await s[i(159)][i(143)](s[i(156)][i(146)](i(168))||""),s[i(158)](i(162)),s}}const Zo=qo;function Ho(){const t=["revisionHistory.viewerContainer","none","revisionHistory.editorContainer","model","join","revisionHistory.restoreRevisionCallback","data","getRoot","catch","RevisionViewerIntegration","Restored","18CSaBSD","end","revisionHistory.showRevisionViewerCallback","isAttached","756852aJGMwo","161361vUmHec","pluginName","getMarkersGroup","users","long","removeSelectionAttribute","revision-history-missing-configuration","_cleanUp","RevisionsRepository","then","getRevisionRootsAttributes","insert","rootName","selection","RevisionTracker","bind","remove","revision-history-viewer-opened","addRoot","Dialog","revisionHistory.viewerEditorElement","isReady","destroy","set","showRevisionViewerCallback","Annotations","_enhanceShowRevisionViewerCallback","includes","refreshVisibility","init","from","_restoreRevision","RevisionViewer","indexOf","error","fromCharCode","revisionHistory.closeRevisionViewerCallback","keys","get","locale","commands","restrictedEditingException","document","uiLanguage","numeric","creator","revisionHistory.requireRevisionName","getRevisionData","1040217KGkiAU","translations","markers","390cmxCzm","createRangeIn","create","refreshPositioning","PaginationLookup","enableReadOnlyMode","addRevisionData","getRevision","2775296zhCVqW","5538550uhfcib","RevisionHistory","has","restoreRevision","update","toJSON","lazyRoots","roots","createdAt","hide","fromVersion","exitToEditing","editor","define","getAttributeKeys","_update","plugins","Autosave","isOpen","addUser","_showRevisionViewer","repository","block","_viewerEditor","2NBWJOh","isAnonymous","$graveyard","toLocaleDateString","RestrictedEditingMode","revisionHistory","save","_recalculatePageBreaks","closeRevisionViewerCallback","config","adapter","parse","toolbar","requires","_enhanceCloseRevisionViewerCallback","changesNavigation","name","_getRevisionViewerEditorConfig","detachRoot","change","RevisionHistoryUI","toVersion","removeMarker","setAttribute","isReadOnly","setSelection","style","getUser","display","result","isOfficialPlugin","isEnabled","_closeRevisionViewer","Users","map","2208983QGfezN","6849096DBUvrn","push","disableReadOnlyMode","enqueueChange","removeAttribute","getRevisions","saveRevision","isPremiumPlugin","toLocaleTimeString"];return(Ho=function(){return t})()}function qo(t,e){const i=Ho();return(qo=function(t,e){return i[t-=368]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(593158===parseInt(e(449))/1*(parseInt(e(485))/2)+-parseInt(e(400))/3+-parseInt(e(460))/4+parseInt(e(461))/5+parseInt(e(396))/6*(parseInt(e(375))/7)+-parseInt(e(376))/8+-parseInt(e(401))/9*(parseInt(e(452))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);const Bo=[Zo(505),Zo(489)];class $o extends U.Plugin{[Zo(369)];static get[Zo(402)](){return Zo(394)}static get[Zo(370)](){return!0}static get[Zo(383)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(374)]((t=>String[e(436)](t)))[e(389)]("")}super(t),this[e(369)]=e(397),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 Yo extends U.Plugin{[Zo(484)];static get[Zo(402)](){return Zo(462)}static get[Zo(370)](){return!0}static get[Zo(383)](){return!0}static get[Zo(498)](){return[rt,Ct]}constructor(e){const i=Zo;if(super(e),!this[i(473)][i(494)][i(439)](i(490)))throw new t.CKEditorError(i(407),this);this[i(484)]=null,this[i(473)][i(494)][i(474)](i(398),(t=>this[i(481)]({...t,translations:this[i(473)][i(440)][i(450)]}))),this[i(473)][i(494)][i(474)](i(437),(t=>this[i(372)](t))),this[i(473)][i(494)][i(474)](i(390),(t=>this[i(432)](t))),this[i(473)][i(494)][i(474)](i(447),!1),this[i(427)](),this[i(499)]()}set[Zo(495)](t){const e=Zo;this[e(473)][e(477)][e(439)](e(415))[e(495)]=t}get[Zo(495)](){const t=Zo;return this[t(473)][t(477)][t(439)](t(415))[t(495)]}[Zo(458)](t){const e=Zo;return this[e(473)][e(477)][e(439)](e(415))[e(458)](t)}[Zo(459)](t){const e=Zo;return this[e(473)][e(477)][e(439)](e(409))[e(459)](t)}[Zo(381)](t){const e=Zo;return this[e(473)][e(477)][e(439)](e(409))[e(381)](t||{toJSON:!1})}[Zo(502)](){const e=Zo,i=this[e(473)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(477)][e(439)](e(415)),r=i[e(477)][e(439)](e(373))[e(404)];return s[e(497)]=[e(472),e(464),e(500)],delete s[e(467)],s[e(477)][e(377)]($o,te,ke,class extends U.Plugin{static get[e(498)](){return[te,e(373)]}[e(430)](){const s=e,o=this[s(473)][s(477)][s(439)](s(373));for(const t of r)t[s(486)]||o[s(512)](t.id)||o[s(480)](t);const a=n[s(482)][s(381)]();let c=null;const u=this[s(473)][s(477)][s(439)](s(433));u[s(495)]=n[s(495)],u[s(416)](s(371)).to(n),this[s(473)][s(441)][s(439)](s(464))[s(416)](s(371)).to(i,s(509),(t=>!t));for(const e of a){const i=null===e[s(446)];if(i&&e[s(506)]===e[s(471)])continue;const r=e[s(466)]();u[s(458)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(476)](r,o);else if(!o){const e=a[u(466)]();e.id=(0,t.uid)(),n[u(382)](e,a[u(506)])[u(410)]((t=>{c=t}))}}else e[u(476)](r,o)}))}}},xo),s}[Zo(427)](){const t=Zo,e=this[t(473)][t(494)][t(439)](t(490))[t(425)];this[t(473)][t(494)][t(424)](t(398),(async()=>{const i=t;this[i(473)][i(457)](i(418));const s=this[i(473)][i(477)][i(439)](i(415));if(this[i(473)][i(477)][i(463)](i(478))){const t=this[i(473)][i(477)][i(439)](i(478));await t[i(491)]()}else await s[i(465)]();if(this[i(473)][i(477)][i(463)](i(456))&&this[i(473)][i(477)][i(439)](i(456))[i(492)](),this[i(473)][i(477)][i(463)](i(420))){const t=this[i(473)][i(477)][i(439)](i(420));t[i(479)]&&t[i(470)]()}const n=this[i(502)]();return e(n)[i(410)]((t=>{const e=i;return this[e(484)]=t,this[e(473)][e(477)][e(463)](e(426))&&this[e(473)][e(477)][e(439)](e(426))[e(429)](),t}))[i(393)]((t=>(console[i(435)](t),this[i(473)][i(378)](i(418)),null)))}))}[Zo(499)](){const t=Zo,e=this[t(473)][t(494)][t(439)](t(490))[t(493)];this[t(473)][t(494)][t(424)](t(437),(()=>(this[t(473)][t(477)][t(463)](t(456))&&this[t(473)][t(477)][t(439)](t(456))[t(492)](),this[t(484)][t(477)][t(439)](t(433))[t(408)](),e(this[t(484)])[t(410)]((()=>{const e=t;if(this[e(473)][e(378)](e(418)),this[e(484)]=null,this[e(473)][e(477)][e(463)](e(426))){const t=this[e(473)][e(477)][e(439)](e(426));t[e(429)](),t[e(455)]()}})))))}[Zo(481)](t){const e=Zo,i=this[e(473)][e(494)][e(439)](e(387)),s=this[e(473)][e(494)][e(439)](e(385)),n=this[e(473)][e(494)][e(439)](e(421));return Uo[e(454)](n,t)[e(410)]((t=>(s[e(511)][e(368)]=e(483),i[e(511)][e(368)]=e(386),t)))}[Zo(372)](t){const e=Zo,i=this[e(473)][e(494)][e(439)](e(387));return this[e(473)][e(494)][e(439)](e(385))[e(511)][e(368)]=e(386),i[e(511)][e(368)]="",t[e(423)]()}async[Zo(432)](t){const e=Zo,i=this[e(473)],s=this[e(484)][e(477)][e(439)](e(433)),n=i[e(477)][e(439)](e(415)),r=s[e(482)][e(459)](t);let o,a,c;try{o=await s[e(448)](r),a=await s[e(411)](r)}catch(t){return void console[e(435)](t)}i[e(388)][e(504)]((t=>{const s=e;for(const e of Array[s(431)](i[s(388)][s(451)][s(403)](s(442))))t[s(507)](e)})),s[e(422)]=!1,i[e(388)][e(379)]((t=>{const s=e;t[s(510)](null),t[s(406)](i[s(388)][s(443)][s(414)][s(475)]());const n=Object[s(438)](o);for(const e of i[s(388)][s(443)][s(468)])s(487)!=e[s(413)]&&e[s(399)]()&&!n[s(428)](e[s(413)])&&t[s(503)](e);for(const e of n){let n=i[s(388)][s(443)][s(392)](e);n&&n[s(399)]()||(n=t[s(419)](e));const r=a[e],c=Object[s(438)](r),u=o[e];for(const e of n[s(475)]())c[s(428)](e)||t[s(380)](e,n);for(const i of c)t[s(508)](i,a[e][i],n);t[s(417)](t[s(453)](n)),t[s(412)](i[s(391)][s(496)](u,n),n,0)}}));const u=J(i[e(440)],e(395));return c=r[e(501)]?-1==r[e(501)][e(434)](u)?u+": "+r[e(501)]:r[e(501)]:u+": "+r[e(469)][e(488)](i[e(440)][e(444)],{month:e(405),day:e(445)})+", "+r[e(469)][e(384)](i[e(440)][e(444)],{hour:e(445),minute:e(445)}),await n[e(382)]({name:c}),s[e(422)]=!0,i[e(494)][e(439)](e(490))[e(493)]()}}function Jo(t,e){var i=Go();return(Jo=function(t,e){return i[t-=329]})(t,e)}function Go(){var t=["5177390DblPWL","579539cNlFTE","2878425kceEhN","1183835ocywgr","27NZAGWh","4910700ecdrBd","20BiiPMD","2547828IzSCgw","1165927RtpKFm","16XHECCU"];return(Go=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(691502===-parseInt(e(333))/1+-parseInt(e(329))/2+parseInt(e(334))/3+parseInt(e(338))/4*(parseInt(e(335))/5)+-parseInt(e(337))/6+parseInt(e(330))/7*(-parseInt(e(331))/8)+parseInt(e(336))/9*(parseInt(e(332))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();