@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250509.0 → 0.0.0-nightly-20250511.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 (181) 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/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.d.ts +1 -1
  158. package/src/revisionhistory.js +1 -1
  159. package/src/revisionhistoryutils.js +1 -1
  160. package/src/revisionsrepository.js +1 -1
  161. package/src/revisiontracker.js +1 -1
  162. package/src/revisionviewer.js +1 -1
  163. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  164. package/src/ui/revision/revisionauthorview.js +1 -1
  165. package/src/ui/revision/revisionnameview.js +1 -1
  166. package/src/ui/revision/revisionview.js +2 -2
  167. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  168. package/src/ui/revision/subrevisionview.js +1 -1
  169. package/src/ui/revision/utils.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  171. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  175. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  176. package/src/ui/revisionssidebar/utils.js +1 -1
  177. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  178. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  180. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  181. 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:()=>z,RevisionHistory:()=>Go,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ot,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>q,RevisionsSidebar:()=>Ro});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]",T="[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;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(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){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 O:case T: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 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=W();return(P=function(t,e){return i[t-=430]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(136850===-parseInt(e(440))/1*(parseInt(e(447))/2)+-parseInt(e(441))/3*(parseInt(e(435))/4)+parseInt(e(442))/5+parseInt(e(434))/6*(parseInt(e(446))/7)+parseInt(e(451))/8+parseInt(e(438))/9+-parseInt(e(454))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[L(444)];[L(445)];[L(455)];[L(437)];[L(439)];[L(450)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(444)]=e[i(444)]||null,this[i(445)]=e[i(445)]||[],this[i(455)]=e[i(455)]||null,this[i(437)]=e[i(437)]||0,this[i(439)]=e[i(439)]||0,this[i(456)](i(432),e[i(432)]||""),this[i(456)](i(458),e[i(458)]||new Date),this[i(456)](i(443),e[i(443)]||{})}[L(452)](t){this[L(430)]({name:t})}[L(431)](t,e){const i=L,s=A(this[i(443)]);(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(430)]({attributes:s})}[L(457)](t){const e=L,i=A(this[e(443)]);(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(430)]({attributes:i})}[L(430)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(432),i(458),i(455),i(445),i(443),i(437),i(439),i(433)];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(445)]&&(n[i(449)]=n[i(445)][i(436)]((t=>t.id)),delete n[i(445)]),this[i(448)](i(430),n,e))}[L(453)](){const t=L;return{id:this.id,name:this[t(432)],creatorId:this[t(444)]?this[t(444)].id:null,authorsIds:this[t(445)][t(436)]((t=>t.id)),diffData:this[t(455)],createdAt:this[t(458)],attributes:this[t(443)],fromVersion:this[t(439)],toVersion:this[t(437)]}}}function W(){const t=["45602XtZMJa","fire","authorsIds","model","2183304qhPmso","setName","toJSON","4063210zwxkCu","diffData","set","removeAttribute","createdAt","_update","setAttribute","name","creatorId","96vfoeBy","28452igrFhj","map","toVersion","9243XLTVaK","fromVersion","1UNQHsC","21FwWzXx","1358155nEutuj","attributes","creator","authors","30709zabXiu"];return(W=function(){return t})()}var U=i(782),Z=i(211),H=i(783);const B=$;function $(t,e){const i=Y();return($=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(503448===parseInt(e(213))/1+-parseInt(e(180))/2*(-parseInt(e(204))/3)+-parseInt(e(183))/4*(parseInt(e(188))/5)+-parseInt(e(223))/6+-parseInt(e(222))/7*(parseInt(e(197))/8)+parseInt(e(225))/9*(-parseInt(e(219))/10)+parseInt(e(173))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class q extends U.Plugin{[B(178)];static get[B(196)](){return[Z.Users]}static get[B(191)](){return B(186)}static get[B(179)](){return!0}static get[B(172)](){return!0}get[B(190)](){const t=B;return this[t(178)][t(190)]}constructor(e){const i=B;super(e),this[i(178)]=new t.Collection}[B(224)](){!async function(e){const i=k([100,53,104,121,80,97,88,87,98,73,116,56,111,68,109,108,113,72,50,102,99,49,119,112,54,52,105,55,114,76,89,84,57,107,122,117,66,69,106,67,83,120,79,90,101,85,75,86,78,82,110,115,48,118,71,70,51,81,65,74,103,77]),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=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(181)](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([100]);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=$;return t[e(177)]((t=>String[e(193)](t)))[e(192)]("")}!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:1746748800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,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(218)]);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)}[B(205)](t){const e=B,i=this[e(184)][e(175)][e(227)](e(199));return new z({id:t.id,name:t[e(202)],creator:t[e(189)]?i[e(206)](t[e(189)]):null,diffData:t[e(217)]||t[e(220)],authors:t[e(216)][e(177)]((t=>i[e(206)](t))),createdAt:new Date(t[e(198)]),attributes:t[e(174)],fromVersion:t[e(211)],toVersion:t[e(201)]})}[B(207)](t,e=0){const i=B;this[i(178)][i(203)](t,e)}[B(187)](t){const e=B;return this[e(178)][e(227)](t)}[B(194)](t={toJSON:!1}){const e=B,i=Array[e(176)](this[e(178)]);return i[e(182)](),t[e(215)]?i[e(177)]((t=>t[e(215)]())):i}[B(212)](t){const e=B;return this[e(178)][e(212)](t)}[B(221)](t){const e=B,[,i]=this[e(210)](t,{direction:e(200)});return i}[B(185)](t){const e=B,[,i]=this[e(210)](t,{direction:e(195)});return i}[B(214)](t){const e=B,i=[];for(const s of this[e(210)](t[e(209)]))if(i[e(208)](s),s.id===t[e(226)])break;return i}*[B(210)](t,{direction:e=B(200),filter:i=()=>!0}={}){const s=B,n=s(200)===e?1:-1;let r=this[s(178)][s(227)](t),o=this[s(212)](r);for(yield r;r;){if(o+=n,r=this[s(187)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["98451FmOGCc","oldRevisionId","get","isPremiumPlugin","32838102vAfWAE","attributes","plugins","from","map","_revisions","isOfficialPlugin","964442IaXgmu","isNaN","reverse","500468BzKjXu","editor","getLaterVisibleRevision","RevisionsRepository","getRevision","35zqxroW","creatorId","length","pluginName","join","fromCharCode","getRevisions","later","requires","8ufPneM","createdAt","Users","earlier","toVersion","name","add","3pDoyKr","createRevision","getUser","addRevision","push","newRevisionId","getRevisionsIterator","fromVersion","getIndex","478974wsYIBq","getRevisionsInDiff","toJSON","authorsIds","diffData","href","800KLmDFf","data","getEarlierVisibleRevision","6523643GGAOyQ","4560846xlROrJ","afterInit"];return(Y=function(){return t})()}const G=K;function J(){const t=["useFillerType","domChildrenToView","attributes","domDocument","forEach","editor","_removeRevisionMarkers","attachChange","isOfficialPlugin","_appendChild","5918488TzMvyP","6326KpuaKc","data-revision-","isAttached","3973990fKngLI","_typeCharToViewClass","innerHTML","toModel","data","toData","1056986KbrGeQ","_makeModelFromViewString","getFillerOffset","_getTypeCharForViewElement","revision-end","get","22LijFMs","parse","9LwISrV","name","startsWith","children","3327048GkUfqY","fillerOffset","1047qZlnQW","length","revision-start","marked","view","map","36gApXtw","createElement","_setCustomProperty","attributesAfter","RevisionHistoryUtils","from","pluginName","document","config","childNodes","isPremiumPlugin","insertions","collaboration.channelId","domConverter","append","getRevision","customProperties","getRevisionRootsAttributes","_getViewFromDiffObj","900255BXajEF","viewChildrenToDom","htmlProcessor","getRevisionDocumentData","default","render","string","editing","div","filter","diffData","5838520vUiHSf","type","_viewClassToTypeChar","constructor","processor","loadRevisionData"];return(J=function(){return t})()}function K(t,e){const i=J();return(K=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(707225===parseInt(e(153))/1+parseInt(e(181))/2*(parseInt(e(128))/3)+parseInt(e(126))/4+-parseInt(e(184))/5+parseInt(e(134))/6*(-parseInt(e(190))/7)+-parseInt(e(180))/8*(-parseInt(e(198))/9)+parseInt(e(164))/10*(-parseInt(e(196))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Q extends U.Plugin{static get[G(140)](){return G(138)}static get[G(178)](){return!0}static get[G(144)](){return!0}[G(166)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(185)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(169)](t,e){const i=G;if(t[i(163)]||!e)return;const s=this[i(175)][i(142)][i(195)](i(146)),n=await e[i(149)]({channelId:s,revisionId:t.id});t[i(163)]=n[i(163)]}[G(156)](t){const e=G,i={};for(const s in t[e(163)]){if(t[e(163)][s][e(177)]&&!t[e(163)][s][e(177)][e(183)])continue;const n=this[e(176)](JSON[e(197)](t[e(163)][s][e(145)])),r=this[e(175)][e(160)][e(132)][e(141)],o=new H.ViewDocumentFragment(r,n[e(133)]((t=>this[e(152)](t,!1))));this[e(175)][e(188)][e(168)][e(170)](e(131)),i[s]=this[e(175)][e(188)][e(168)][e(189)](o),this[e(175)][e(188)][e(168)][e(170)](e(157))}return i}[G(151)](t){const e=G,i={};for(const s in t[e(163)])t[e(163)][s][e(177)]&&!t[e(163)][s][e(177)][e(183)]||(i[s]=t[e(163)][s][e(137)]||{});return i}[G(193)](t){const e=G;return this[e(166)][e(195)](t[e(167)])}[G(152)](t,e){const i=G,s=this[i(175)][i(160)][i(132)][i(141)];if(i(159)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(165)]||"r"==t[i(165)]?[]:t[i(125)][i(133)]((t=>this[i(152)](t,e)));const o=this[i(185)][i(195)](t[i(165)])||H.ViewElement,a=this[i(175)][i(188)][i(155)][i(147)];if(n=new o(s,t[i(199)],t[i(172)],r),"u"==t[i(165)]&&t[i(125)][0]){const r=t[i(125)][0];if(n[i(158)]=function(t){const e=i,s=t[e(135)](e(161));return s[e(186)]=r,s[e(143)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(179)](n);const e=Array[i(139)](a[i(154)](t,{bind:!1})),r=a[i(173)][i(135)](i(161));r[i(148)](...e),n=Array[i(139)](a[i(171)](r))[0]}}else if("r"==t[i(165)]&&t[i(125)][0]){const r=t[i(125)][0];if(n[i(158)]=function(t){t[i(186)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(179)](n);const e=Array[i(139)](a[i(154)](t,{bind:!1})),r=a[i(173)][i(135)](i(161));r[i(148)](...e);const o=Array[i(139)](a[i(171)](r));o[i(129)]>1?n[i(179)](o):n=o[0]}}if(t[i(150)])for(const[e,s]of t[i(150)])n[i(136)](e,s);const c=void 0===t[i(127)]?null:t[i(127)];return null!==c&&(n[i(192)]=()=>c),n}}[G(191)](t){const e=G,i=JSON[e(197)](t),s=this[e(175)][e(160)][e(132)][e(141)],n=new H.ViewDocumentFragment(s,i[e(133)]((t=>this[e(152)](t,!0))));return this[e(175)][e(188)][e(187)](n)}[G(176)](t){const e=G;return(t=t[e(162)]((t=>!t[e(199)]||e(130)!==t[e(199)]&&e(194)!==t[e(199)])))[e(174)]((t=>{const i=e;i(159)!=typeof t&&(t[i(125)]=this[i(176)](t[i(125)]),t[i(172)]=t[i(172)][i(162)]((t=>!t[0][i(200)](i(182)))))})),t}}function X(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(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)||!et(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=>et(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 O:case T: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(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=dt;!function(t){const e=dt,i=t();for(;;)try{if(890882===parseInt(e(371))/1+parseInt(e(537))/2+-parseInt(e(327))/3*(-parseInt(e(531))/4)+-parseInt(e(610))/5*(-parseInt(e(455))/6)+-parseInt(e(315))/7+parseInt(e(589))/8+-parseInt(e(347))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ut);class ot extends U.Plugin{[rt(535)];[rt(426)];[rt(383)]=null;[rt(453)];[rt(561)]=null;[rt(317)];[rt(320)];[rt(424)];[rt(608)];[rt(480)];[rt(345)];[rt(554)];[rt(432)];[rt(403)];static get[rt(471)](){return rt(446)}static get[rt(469)](){return!0}static get[rt(438)](){return!0}static get[rt(464)](){return[Z.Users,q,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(453)]=this[i(596)][i(552)][i(410)](i(546)),this[i(480)]=this[i(596)][i(552)][i(410)](i(496)),this[i(317)]=new at(this[i(596)]),this[i(424)]=this[i(596)][i(547)][i(410)](i(595))||i(632),this[i(608)]=new Map,this[i(403)]=null;const s=(0,t.uid)();this[i(320)]={history:this[i(596)][i(558)][i(433)][i(519)],getLatestVersion:()=>Promise[i(413)](this[i(596)][i(558)][i(433)][i(575)]),getCurrentRevisionId:()=>s},this[i(598)](i(622),!1),this[i(598)](i(485),!0),this[i(598)](i(548),!1),this[i(596)][i(547)][i(374)](i(443),!0),this[i(596)][i(486)][i(378)](i(470))[i(564)]({view:i(459)})}[rt(343)](){const t=rt;this[t(566)](),this[t(596)][t(346)].on(t(624),(()=>{const e=t,i=this[e(453)][e(414)](0),s=i&&null===i[e(601)]?i:null;if(this[e(554)]=!!s&&this[e(596)][e(547)][e(410)](e(443)),this[e(596)][e(552)][e(472)](e(369))){const t=this[e(320)][e(382)](),n=this[e(453)][e(414)](t);if(n)this[e(432)]=n[e(402)],this[e(554)]=!1;else{const t=this[e(320)][e(519)][e(488)][e(631)]((t=>!t[e(353)])),n=t?t[e(415)]:this[e(320)][e(519)][e(575)];i?(i[e(560)]<n&&i[e(514)]({toVersion:n}),this[e(554)]?(this[e(320)][e(382)]=()=>s.id,this[e(432)]=s[e(402)]):(this[e(432)]=i[e(560)],this[e(554)]=!1)):(this[e(432)]=n,this[e(554)]=!1)}}else s&&(this[e(596)][e(558)][e(433)][e(519)][e(575)]=Math[e(404)](s[e(560)],this[e(596)][e(558)][e(433)][e(519)][e(575)]),s[e(402)]===s[e(560)]?(0!==s[e(402)]&&(this[e(320)][e(382)]=()=>s.id),this[e(554)]=!1):this[e(554)]&&(this[e(320)][e(382)]=()=>s.id,this[e(432)]=s[e(402)])),this[e(554)]||(this[e(432)]=this[e(596)][e(558)][e(433)][e(575)]);this[e(317)][e(343)](this[e(320)][e(519)]),this[e(328)](this[e(432)]),this[e(356)](this[e(432)]),this[e(561)]&&this[e(526)]()})),this[t(512)](t(622)).to(this,t(548),(t=>!t)),this[t(535)]=this[t(596)][t(547)][t(410)](t(535));const e=this[t(596)];this[t(426)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(342)==r||i(392)==r||i(442)==r||i(574)==r||i(329)==r||i(324)==r||i(563)==r||i(592)==r){delete e[n],s=r,clearInterval(this[i(426)]),this[i(426)]=void 0;break}}i(392)==s&&e[i(437)](i(505)),i(442)==s&&e[i(437)](i(372)),i(574)==s&&e[i(437)](i(368)),i(329)==s&&e[i(437)](i(393),i(606)),i(324)==s&&e[i(437)](i(322)),i(563)==s&&e[i(437)](i(478)),i(592)==s&&e[i(437)](i(474))}),1e3)}async[rt(588)](){const t=rt;if(this[t(453)][t(580)]>0){const e=this[t(453)][t(414)](0),i=await this[t(617)](e),s=await this[t(456)](e);this[t(504)](i,s)}}[rt(321)](){const t=rt;super[t(321)](),this[t(426)]&&clearInterval(this[t(426)])}[rt(430)](t){this[rt(320)]=t}async[rt(333)](){const t=rt,e=await this[t(320)][t(629)]();if(e>this[t(383)][t(560)]){await this[t(555)]();const i=this[t(482)]({revision:this[t(383)],to:e});i[t(323)]=i[t(573)][t(494)]((e=>this[t(596)][t(552)][t(410)](t(510))[t(490)](e))),this[t(383)][t(514)](i)}}async[rt(408)](e={},i=null){const s=rt,n=[];await this[s(555)](),this[s(554)]=!1,i>this[s(383)][s(560)]&&(i=null),null===i&&(i=await this[s(320)][s(629)]());const r=this[s(498)](i),o=this[s(482)]({from:r,to:i});if(this[s(383)][s(560)]<i){const t=this[s(482)]({revision:this[s(383)],from:i,to:i});t[s(323)]=[],t[s(573)]=[],t.id=this[s(383)].id,this[s(383)][s(514)](t,!0),delete t[s(323)],n[s(467)](t)}e[s(412)]=this[s(596)][s(552)][s(410)](s(510)).me.id,e[s(525)]=e[s(525)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(549)](e);n[s(467)](e);const c=this[s(453)][s(381)](a);if(0!==c){const t=this[s(453)][s(414)](c-1);if(t[s(402)]!==i){const r=this[s(317)][s(612)](i,t[s(560)]),o={id:t.id,diffData:r[s(625)],authorsIds:r[s(573)],authors:r[s(573)][s(494)]((t=>this[s(596)][s(552)][s(410)](s(510))[s(490)](t))),fromVersion:i};t===this[s(383)]&&(o[s(375)]=new Date(e[s(375)][s(481)]()+10)),t[s(514)](o,!0),delete o[s(323)],n[s(467)](o)}}if(this[s(561)]){for(const t of n)this[s(527)](t.id,t,!0);this[s(526)]()}return a}[rt(549)](t){const e=rt,i=this[e(453)][e(423)](t);return this[e(561)]&&i.on(e(514),((t,i,s)=>{const n=e;s||(this[n(527)](i.id,i,!0),this[n(526)]())})),this[e(453)][e(484)](i,this[e(447)](i)),i}async[rt(617)](t){const e=rt;return await this[e(480)][e(325)](t,this[e(561)]),this[e(480)][e(617)](t)}async[rt(456)](t){const e=rt;return await this[e(480)][e(325)](t,this[e(561)]),this[e(480)][e(456)](t)}[rt(526)](){const t=rt;if(0===this[t(608)][t(436)])return;if(this[t(548)])return;let e=Array[t(339)](this[t(608)][t(516)]());this[t(608)][t(400)]();for(let i=0;i<e[t(580)];i++){const s=e[i];let n=!1;for(const e of Object[t(621)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(457)]((t=>null!==t)),!e[t(580)])return;for(let i=0;i<e[t(580)];i++){const s=e[i];void 0!==s[t(402)]&&void 0===s[t(560)]&&(s[t(560)]=this[t(453)][t(414)](s.id)[t(560)]),void 0!==s[t(560)]&&void 0===s[t(402)]&&(s[t(402)]=this[t(453)][t(414)](s.id)[t(402)])}const i=this[t(596)][t(547)][t(410)](t(595));this[t(548)]=!0,this[t(630)](),this[t(561)][t(495)](e,i)[t(536)]((()=>{this[t(548)]=!1}))[t(599)]((e=>{const i=t;if(e)for(const t of e)this[i(502)]({id:t.id,createdAt:t[i(375)]});this[i(409)](),this[i(526)]()}))}[rt(482)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(402)],i=null!==i?i:t[s(560)];const n=this[s(317)][s(612)](e,i),r={diffData:n[s(625)],authorsIds:n[s(573)],fromVersion:e,toVersion:i};if(!t||i!==t[s(560)]){const t=i-1,e=this[s(320)][s(519)][s(503)](t);r[s(375)]=e&&e[s(375)]||new Date}if(this[s(403)]&&e===this[s(403)][s(402)])for(const t of this[s(403)][s(323)])r[s(573)][s(568)](t.id)||r[s(573)][s(467)](t.id);return r}[rt(527)](t,e,i){const s=rt;if(this[s(608)][s(472)](t)){const n=this[s(608)][s(410)](t);e=i?{...n,...e}:{...e,...n}}this[s(608)][s(598)](t,e)}[rt(502)](t){const e=rt,i=this[e(453)][e(414)](t.id);if(t[e(375)]&&(t[e(375)]=new Date(t[e(375)])),t[e(573)]){const i=this[e(596)][e(552)][e(410)](e(510));t[e(323)]=t[e(573)][e(494)]((t=>i[e(490)](t)))}i[e(514)](t,!0)}[rt(328)](t){const e=rt,i=this[e(453)][e(414)](this[e(453)][e(580)]-1);if(i)this[e(424)]=i.id;else{const i=!this[e(596)][e(558)][e(433)][e(344)][e(631)]((t=>this[e(596)][e(558)][e(534)](t))),s=this[e(596)][e(552)][e(410)](e(510)).me.id,n=X(this[e(596)][e(468)],e(i?628:506));this[e(477)]({from:t,to:t,id:this[e(424)],name:n,creatorId:s})}}[rt(356)](t){const e=rt,i=this[e(320)][e(382)]();this[e(383)]=this[e(453)][e(414)](i),this[e(383)]||(this[e(383)]=this[e(477)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(555)](){const t=rt;this[t(554)]&&!this[t(403)]&&(await this[t(480)][t(325)](this[t(383)],this[t(561)]),this[t(317)][t(380)](this[t(383)]),this[t(403)]={fromVersion:this[t(383)][t(402)],authors:this[t(383)][t(323)][t(533)]()})}[rt(504)](e,i){const s=rt;let n=this[s(596)][s(547)][s(410)](s(540)),r=this[s(596)][s(547)][s(410)](s(454));if(void 0===n){n={};for(const t of this[s(596)][s(558)][s(433)][s(418)]())n[t]=""}if(s(458)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(596)][s(558)][s(433)][s(418)]())r[t]={}}let o=!1;const a=Object[s(621)](n),c=Object[s(621)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(425)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(621)](r[t])[s(580)]>0){o=!0;break}}o||(o=c[s(577)]((t=>!this[s(596)][s(558)][s(433)][s(370)](t)))),o&&(0,t.logWarning)(s(550),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(596)][s(547)][s(598)](s(540),e),this[s(596)][s(547)][s(598)](s(454),i)}[rt(630)](){const t=rt;if(!this[t(345)]){const e=this[t(596)][t(552)][t(410)](t(493));this[t(345)]=e[t(509)](X(this[t(596)][t(468)],t(520)))}}[rt(409)](){const t=rt;this[t(345)]&&(this[t(596)][t(552)][t(410)](t(493))[t(349)](this[t(345)]),this[t(345)]=null)}[rt(447)](t){const e=rt,i=this[e(453)][e(530)]();i[e(627)]();let s=0;for(;s<i[e(580)];){const n=i[s];if(n===this[e(383)]){s++;continue}if(n.id===this[e(424)])break;const r=t[e(560)]-n[e(560)]||t[e(402)]-n[e(402)];if(r>0)break;if(r<0)s++;else{if(!t[e(601)]&&n[e(601)])break;if(n[e(601)]||!t[e(601)]){if(t[e(375)]>n[e(375)])break;s++}else s++}}return s}[rt(498)](t){const e=rt,i=this[e(453)][e(530)]();i[e(627)](),i[e(491)]();const s=i[e(631)]((i=>i[e(560)]<=t))[e(560)];return s<this[e(432)]?this[e(432)]:s}[rt(477)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(482)]({from:e,to:i});o[r(525)]=t,o[r(412)]=s,o.id=n;const a=this[r(549)](o);return this[r(561)]&&this[r(527)](o.id,o,!0),a}[rt(566)](){const t=rt;this[t(596)][t(486)][t(378)](t(434))[t(448)]({model:t(459)})}}class at{[rt(596)];[rt(483)];[rt(461)];[rt(350)];[rt(348)];[rt(572)];[rt(406)];[rt(473)];[rt(357)];[rt(570)];[rt(373)];[rt(611)];[rt(460)];[rt(619)];[rt(585)];[rt(386)];[rt(539)];constructor(t){const e=rt;this[e(596)]=t,this[e(461)]=new Map,this[e(350)]=-1,this[e(348)]=-1,this[e(572)]=new Map,this[e(406)]=new Map,this[e(473)]=new Map,this[e(357)]=new Map,this[e(570)]=new Map,this[e(373)]=new Map,this[e(611)]=new Map,this[e(460)]=new Map,this[e(619)]=new Map,this[e(585)]=new Map,this[e(386)]=1}[rt(343)](t){const e=rt;this[e(483)]=t;const i=new Map,s=new Map,n=this[e(596)][e(558)][e(433)][e(344)][e(494)]((t=>t[e(451)]));for(const t of n){const n=this[e(596)][e(558)][e(433)][e(370)](t),r=ct(n);i[e(598)](t,r),s[e(598)](t,Object[e(623)](n[e(571)]()))}const r=Array[e(339)](this[e(596)][e(558)][e(576)])[e(494)]((t=>[t[e(525)],t[e(313)]()])),o=this[e(483)][e(575)];this[e(398)](o,i,r,s),this[e(539)]=this[e(386)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(598)](t,i),c[e(598)](t,{})}this[e(398)](Number[e(314)],a,[],c)}[rt(612)](t,e){const i=rt;if(this[i(350)]===t&&this[i(348)]<=e)this[i(461)][i(436)]>1&&this[i(390)](this[i(348)]),this[i(336)](this[i(348)],e,!0);else{if(!this[i(461)][i(472)](t)){const e=this[i(361)](t);this[i(397)](e,t,!1)}this[i(397)](t,e,!0)}return this[i(350)]=t,this[i(348)]=e,this[i(335)]()}[rt(380)](t){const e=rt,i=this[e(596)][e(552)][e(410)](e(496));this[e(401)](),this[e(350)]=t[e(402)],this[e(348)]=t[e(560)];for(const s in t[e(625)]){const n=t[e(625)][s][e(444)],r=A(t[e(625)][s][e(377)])||{},o=i[e(363)](t[e(625)][s][e(389)]);o[e(451)]=s,o[e(475)]=!n||!n[e(567)],o[e(567)]=()=>o[e(475)],this[e(357)][e(598)](s,o),this[e(570)][e(598)](s,r),n&&this[e(585)][e(598)](s,n);const a=this[e(528)](o);this[e(611)][e(598)](s,a);for(const[t,i]of o[e(576)]){if(!t[e(479)](e(521)))continue;const s=t[e(421)](":")[2];for(const t of i[e(522)]({singleCharacters:!0})){const i=this[e(429)](t),n=e(600)==t[e(331)]?t[e(609)][e(586)][e(533)](0,-1):t[e(609)][e(586)],r=a[e(358)](n)[e(354)](i);this[e(460)][e(598)](r,{userId:s})}}}this[e(539)]=this[e(386)];const s=[...Array(this[e(386)])[e(621)]()][e(533)](1)[e(457)]((t=>!this[e(460)][e(472)](t)));let n=0;const r=new Map;for(const o in t[e(625)]){const a=t[e(625)][o][e(444)],c=A(t[e(625)][o][e(407)])||{},u=i[e(363)](t[e(625)][o][e(583)]);u[e(451)]=o,u[e(475)]=!a||a[e(567)],u[e(567)]=()=>u[e(475)],this[e(406)][e(598)](o,u),this[e(473)][e(598)](o,c);const l=this[e(528)](u,Number[e(314)]);this[e(373)][e(598)](o,l),r[e(598)](o,u[e(567)]()?c:{});for(const[t,i]of u[e(576)]){if(!t[e(479)](e(521)))continue;const s=t[e(421)](":")[2];for(const t of i[e(522)]({singleCharacters:!0})){const i=this[e(429)](t),n=this[e(386)]++,r=e(600)==t[e(331)]?t[e(609)][e(586)][e(533)](0,-1):t[e(609)][e(586)];l[e(358)](r)[e(616)](i,n),this[e(460)][e(598)](n,{userId:s})}}for(const t of this[e(596)][e(558)][e(416)](u)[e(522)]({singleCharacters:!0})){const i=this[e(429)](t),r=e(600)==t[e(331)]?t[e(609)][e(586)][e(533)](0,-1):t[e(609)][e(586)],o=l[e(358)](r);o[e(354)](i)>0||o[e(616)](i,s[n++])}for(const[t,i]of u[e(576)])t[e(479)](e(521))||this[e(572)][e(598)](t,i)}const o=lt(e(352));this[e(357)][e(598)](e(352),o),this[e(611)][e(598)](e(352),this[e(528)](o,1));const a=lt(e(352));this[e(406)][e(598)](e(352),a),this[e(373)][e(598)](e(352),this[e(528)](a,1));const c=Array[e(339)](this[e(406)])[e(494)]((([t,e])=>[t,ct(e)]));this[e(398)](this[e(348)],c,this[e(572)],r)}[rt(556)](){const t=rt;this[t(401)](),this[t(350)]=-1,this[t(348)]=-1,this[t(461)][t(400)](),this[t(343)](this[t(483)])}[rt(398)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(598)](t,{start:e[n(518)][n(545)](),end:e[n(508)][n(545)](),rootName:e[n(341)][n(451)]});this[n(461)][n(598)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(390)](t){const e=rt;this[e(461)][e(581)](t)}[rt(401)](){const t=rt;this[t(460)][t(400)](),this[t(619)][t(400)](),this[t(585)][t(400)](),this[t(406)][t(400)](),this[t(473)][t(400)](),this[t(357)][t(400)](),this[t(570)][t(400)](),this[t(373)][t(400)](),this[t(611)][t(400)](),this[t(572)][t(400)](),this[t(386)]=1,this[t(539)]=this[t(386)]}[rt(528)](t,e=null){const i=rt;let s=null;t.is(i(626))||(s=new H.Element(t[i(525)],{vid_start:null===e?this[i(386)]++:e++}));const n=[];for(const s of t[i(604)]())if(s.is(i(529))){n[i(467)](this[i(528)](s,e));const t=n[n[i(580)]-1];null!==e&&(e=t.is(i(529),i(620))?t[i(354)](i(395))+1:t[i(354)](i(603))+1)}else for(let t=0;t<s[i(523)];t++)n[i(467)](new H.Element(i(620),{vid:null===e?this[i(386)]++:e++}));if(t.is(i(626))){const e=lt(t[i(451)]);return e[i(492)](0,n),e}return s[i(616)](i(603),null===e?this[i(386)]++:e++),s[i(492)](0,n),s}[rt(397)](t,e,i){const s=rt;this[s(401)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(461)][s(410)](t);this[s(357)]=new Map(n),this[s(570)]=new Map(A(o));for(const[t,e]of this[s(357)])if(s(352)!==t&&(this[s(406)][s(598)](t,ct(e)),this[s(473)]=new Map(A(o)),i)){const i=this[s(386)];this[s(373)][s(598)](t,this[s(528)](e)),this[s(611)][s(598)](t,this[s(528)](e,i))}this[s(539)]=this[s(386)],this[s(406)][s(598)](s(352),ct(this[s(357)][s(410)](s(352)))),i&&this[s(373)][s(598)](s(352),this[s(528)](this[s(357)][s(410)](s(352))));for(const[t,e]of r){const i=this[s(357)][s(410)](e[s(451)]),n=this[s(406)][s(410)](e[s(451)]),r=new H.Range(this[s(597)](e[s(518)],i),this[s(597)](e[s(508)],i)),o=this[s(607)](r,n);i[s(576)][s(598)](t,r),this[s(572)][s(598)](t,o)}this[s(336)](t,e,i)}[rt(336)](t,e,i){const s=rt;for(const n of this[s(483)][s(439)](t,e))this[s(351)](n,i);for(const t of this[s(406)][s(516)]())t[s(576)][s(400)]();for(const[t,e]of this[s(572)])this[s(406)][s(410)](e[s(341)][s(451)])[s(576)][s(598)](t,e[s(545)]());const n=new Map,r=new Map;for(const[t,e]of this[s(406)])n[s(598)](t,ct(e)),r[s(598)](t,this[s(473)][s(410)](t));this[s(398)](e,n,this[s(572)],r)}[rt(361)](t){const e=rt,i=Array[e(339)](this[e(461)][e(621)]());i[e(557)](((t,e)=>t-e)),i[e(627)]();for(const e of i)if(e<t)return e;return Number[e(314)]}[rt(362)](t,e){const i=rt,s=Array[i(339)](e[i(576)])[i(494)]((([e,s])=>[e,this[i(607)](s,t)]));t[i(576)]=new Map(s)}[rt(613)](t){const e=rt;for(const i of this[e(572)][e(516)]()){const s=i[e(543)](t),n=H.Range[e(497)](s);i[e(518)]=n[e(518)],i[e(508)]=n[e(508)]}}[rt(351)](t,e){const i=rt;if(i(476)!=t[i(331)]&&i(340)!=t[i(331)]){if(i(338)==t[i(331)]){const s=t[i(391)][i(341)][i(451)];this[i(406)][i(472)](s)||(this[i(406)][i(598)](s,lt(s,!0)),this[i(473)][i(598)](s,{}),e&&this[i(373)][i(598)](s,lt(s,!0)))}else{if(i(385)==t[i(331)]||i(376)==t[i(331)]||i(387)==t[i(331)])return void this[i(584)](t);i(422)==t[i(331)]&&this[i(435)](t)}if(i(422)!==t[i(331)]){const e=this[i(319)](t,this[i(406)]);e[i(582)](),this[i(613)](e)}if(e)switch(t[i(331)]){case i(338):this[i(440)](t);break;case i(411):case i(349):case i(569):this[i(359)](t);break;case i(332):this[i(489)](t);break;case i(421):this[i(312)](t)}}else this[i(605)](t,e)}[rt(319)](t,e){const i=rt,s=t[i(545)]();return s[i(578)]=t[i(578)],this[i(541)](s,e),s}[rt(449)](t){const e=rt;return t[e(494)]((t=>{const i=e,s=this[i(429)](t);return Number(t[i(326)][i(354)](s))}))}[rt(365)](t,e){const i=rt;if(t.is(i(529),i(620)))e[i(467)]({item:t,type:i(394)});else{t.is(i(529))&&e[i(467)]({item:t,type:i(591)});for(const s of t[i(604)]())this[i(365)](s,e);t.is(i(529))&&e[i(467)]({item:t,type:i(600)})}return e}[rt(335)](){const t=rt,e=new Map(this[t(460)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(357)][t(621)](),...this[t(406)][t(621)]()]);a[t(581)](t(352));for(const e of a){const i=this[t(406)][t(410)](e)||lt(e,!1),s=this[t(357)][t(410)](e)||lt(e,!1);i[t(567)]()||s[t(567)]()?(n[t(583)][e]=ct(i),n[t(389)][e]=ct(s),this[t(362)](n[t(389)][e],s),this[t(362)](n[t(583)][e],i),r[t(583)][e]=this[t(365)](this[t(373)][t(410)](e),[]),r[t(389)][e]=this[t(365)](this[t(611)][t(410)](e)||lt(e,!1),[])):a[t(581)](e)}for(const n of a){const o=r[t(583)][n];for(const n of o){const r=this[t(429)](n),o=n[t(326)][t(354)](r);i[t(581)](o),o>=this[t(539)]&&s[t(598)](o,e[t(410)](o))}}for(const n of a){const a=r[t(583)][n],c=this[t(449)](r[t(389)][n]);let u=0;for(const n of a){const r=this[t(429)](n),a=n[t(326)][t(354)](r);if(!s[t(472)](a)&&!o[t(472)](a))if(i[t(472)](a))u++;else{if(a!=c[u]){const s=e[t(410)](a)||e[t(410)](c[u]);for(;a!=c[u];)i[t(472)](c[u])||(o[t(598)](c[u],s),e[t(598)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(583)][e];for(const e of n){const n=this[t(429)](e),r=e[t(326)][t(354)](n);if(o[t(472)](r)){const e=o[t(410)](r);i[t(472)](r)||i[t(598)](r,{...e}),s[t(598)](r,{...e})}}}for(const e of i[t(621)]())e>=this[t(539)]&&i[t(581)](e);const c=new Map;for(const e of a){let n=r[t(583)][e];for(const e of n)if(e[t(326)].is(t(529),t(559))){const i=this[t(429)](e),n=e[t(326)][t(354)](i);if(s[t(472)](n)){const i=e[t(326)][t(532)][t(532)][t(354)](t(500)),r=c[t(410)](i)||new Set;r[t(509)](s[t(410)](n)[t(396)]),c[t(598)](i,r)}}n=r[t(389)][e];for(const e of n)if(e[t(326)].is(t(529),t(559))){const s=this[t(429)](e),n=e[t(326)][t(354)](s);if(i[t(472)](n)){const s=e[t(326)][t(532)][t(532)][t(354)](t(500)),r=c[t(410)](s)||new Set;r[t(509)](i[t(410)](n)[t(396)]),c[t(598)](s,r)}}for(const e of c[t(621)]())(s[t(472)](e)||i[t(472)](e))&&c[t(581)](e)}for(const e of a){const n=r[t(583)][e];let o=null,a=null;for(const e of n){const n=this[t(429)](e),r=e[t(326)][t(354)](n),u=c[t(410)](r);u&&t(591)==e[t(331)]&&(o=Array[t(339)](u)[0],a=e[t(326)][t(354)](t(603))),o&&(i[t(598)](r,{userId:o}),s[t(598)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(389)][e],a=n[t(583)][e];for(const{userId:e}of this[t(619)][t(516)]())null!==e&&l[t(509)](e);for(const{userId:e}of this[t(585)][t(516)]())null!==e&&l[t(509)](e);this[t(466)](a,r[t(583)][e],s,t(316),l),this[t(466)](o,r[t(389)][e],i,t(441),l),u[e]={insertions:this[t(542)](a),deletions:this[t(542)](o),attachChange:this[t(585)][t(410)](e)||null,attributesBefore:A(this[t(570)][t(410)](e))||{},attributesAfter:A(this[t(473)][t(410)](e))}}return{diffData:u,authorsIds:Array[t(339)](l)}}[rt(318)](t){const e=rt;for(const[,i]of t[e(576)]){const t=i[e(518)][e(420)]()[e(457)]((t=>e(559)==t[e(525)]));for(const i of t)1==i[e(364)]&&i[e(367)](0).is(e(529),e(614))&&i[e(367)](0)[e(616)](e(553),!0)}}[rt(542)](t){const e=rt;this[e(318)](t);const i=this[e(596)][e(346)][e(445)](t,{}),s=Array[e(339)](i[e(604)]())[e(494)]((t=>this[e(551)](t)));return JSON[e(544)](s)}[rt(551)](t){const e=rt;if(t.is(e(620)))return t[e(346)];{const i=this[e(596)][e(552)][e(410)](e(496)),s=t,n=this[e(596)][e(346)][e(579)][e(337)],r={type:i[e(499)](s),name:s[e(525)],attributes:Array[e(339)](s[e(571)]()),children:Array[e(339)](s[e(604)]())[e(494)]((t=>this[e(551)](t)))};if(t.is(e(452))&&e(593)!=t[e(525)]){const i=t[e(334)](n[e(431)],n);r[e(379)][e(467)](i[e(633)])}else if(t.is(e(487))){const i=n[e(431)][e(366)](s[e(525)]);t[e(334)](i,n),r[e(379)][e(467)](i[e(330)])}const o=Array[e(339)](s[e(565)]());o[e(580)]>0&&(r[e(388)]=o);const a=s[e(524)]();return null!==a&&(r[e(615)]=a),r}}[rt(466)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(596)][r(558)];for(let s=0;s<e[r(580)];s++){const n=this[r(429)](e[s]),c=e[s][r(326)][r(354)](n),h=i[r(410)](c),d=s==e[r(580)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(396)]!=o[r(396)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(396)],d=l(521)+s+":"+h+":"+c++,f=u[l(602)](i,a);t[l(576)][l(598)](d,f),null!==h&&n[l(509)](h)}}[rt(429)](t){const e=rt;switch(t[e(331)]){case e(591):return e(500);case e(600):return e(603);default:return e(395)}}[rt(541)](t,e){const i=rt;t[i(415)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(410)](n[i(341)][i(451)]);t[s]=this[i(597)](n,r)}if(n instanceof H.Range){const r=e[i(410)](n[i(341)][i(451)]);t[s]=this[i(607)](n,r)}i(341)===s&&(t[i(341)]=e[i(410)](t[i(341)][i(451)]))}}[rt(607)](t,e){const i=rt;return this[i(596)][i(558)][i(602)](this[i(597)](t[i(518)],e),this[i(597)](t[i(508)],e))}[rt(597)](t,e){const i=rt;return this[i(596)][i(558)][i(462)](e,t[i(586)],t[i(515)])}[rt(440)](t){const e=rt,i=this[e(373)][e(410)](t[e(391)][e(341)][e(451)]),s=this[e(597)](t[e(391)],i),n=null===t[e(578)]?null:t[e(578)]||this[e(596)][e(552)][e(410)](e(510)).me.id,r=s[e(532)],o=this[e(386)],a=[];for(const i of t[e(419)])if(i.is(e(529)))a[e(467)](this[e(528)](i));else for(let t=0;t<i[e(523)];t++)a[e(467)](new H.Element(e(620),{vid:this[e(386)]++}));const c=this[e(386)];for(let t=o;t<c;t++)this[e(460)][e(598)](t,{userId:n});r[e(492)](s[e(450)],a)}[rt(359)](t){const e=rt;(t=this[e(319)](t,this[e(373)]))[e(582)]();const i=null===t[e(578)]?null:t[e(578)]||this[e(596)][e(552)][e(410)](e(510)).me.id,s=t[e(513)](),n=s[e(532)],r=s[e(450)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(367)](e);r.is(a(529),a(620))?s[a(598)](r[a(354)](a(395)),{userId:i}):(s[a(598)](r[a(354)](a(500)),{userId:i}),t(s,r,0,r[a(364)]),s[a(598)](r[a(354)](a(603)),{userId:i}))}}(this[e(460)],n,r,r+t[e(360)])}[rt(489)](t){const e=rt,i=null===(t=this[e(319)](t,this[e(373)]))[e(578)]?null:t[e(578)]||this[e(596)][e(552)][e(410)](e(510)).me.id,s=t[e(594)][e(532)],n=t[e(517)][e(532)],r=s[e(354)](e(603)),o=n[e(354)](e(500));s[e(616)](e(603),n[e(354)](e(603))),n[e(616)](e(603),r),this[e(460)][e(598)](o,{userId:i}),this[e(460)][e(598)](r,{userId:i}),t[e(582)]()}[rt(312)](t){const e=rt,i=null===(t=this[e(319)](t,this[e(373)]))[e(578)]?null:t[e(578)]||this[e(596)][e(552)][e(410)](e(510)).me.id,s=t[e(355)],n=t[e(384)][e(532)];t[e(582)]();const r=n[e(354)](e(603)),o=t[e(428)][e(501)];if(s){const t=o[e(354)](e(603)),s=n[e(354)](e(603));n[e(616)](e(603),t),o[e(616)](e(603),s),this[e(460)][e(598)](n[e(354)](e(603)),{userId:i}),this[e(460)][e(598)](o[e(354)](e(500)),{userId:i})}else{const t=this[e(386)]++,s=this[e(386)]++;n[e(616)](e(603),t),o[e(616)](e(500),s),o[e(616)](e(603),r),this[e(460)][e(598)](t,{userId:i}),this[e(460)][e(598)](s,{userId:i})}}[rt(435)](t){const e=rt;if(!t[e(465)])return;const i=(t=this[e(319)](t,this[e(406)]))[e(427)]?t[e(427)][e(341)]:null,s=t[e(405)]?t[e(405)][e(341)]:null;i&&this[e(572)][e(581)](t[e(525)]),s&&this[e(572)][e(598)](t[e(525)],t[e(405)][e(545)]());const n=null===t[e(578)]?null:t[e(578)]||this[e(596)][e(552)][e(410)](e(510)).me.id,r=t[e(525)];if(!this[e(619)][e(472)](r))return void this[e(619)][e(598)](r,{range:t[e(427)],userId:n});const o=this[e(619)][e(410)](r),a=o[e(538)],c=t[e(405)];null==a&&null==c||a&&c&&a[e(399)](c)?this[e(619)][e(581)](t[e(525)]):o[e(396)]=n}[rt(605)](t,e){const i=rt;this[i(406)][i(472)](t[i(451)])?this[i(406)][i(410)](t[i(451)])[i(475)]=t[i(587)]:(this[i(406)][i(598)](t[i(451)],lt(t[i(451)],!0)),this[i(473)][i(598)](t[i(451)],{}),e&&this[i(373)][i(598)](t[i(451)],lt(t[i(451)],!0)));const s=null===t[i(578)]?null:t[i(578)]||this[i(596)][i(552)][i(410)](i(510)).me.id,n=this[i(585)][i(410)](t[i(451)]);n&&n[i(396)]===s?this[i(585)][i(581)](t[i(451)]):this[i(585)][i(598)](t[i(451)],{userId:s,isAttached:t[i(587)]})}[rt(584)](t){const e=rt,i=this[e(473)][e(410)](t[e(341)][e(451)]);null===t[e(507)]?delete i[t[e(590)]]:i[t[e(590)]]=t[e(507)]}}function ct(t){const e=rt,i=lt(t[e(451)],t[e(567)]());for(const s of t[e(604)]()){const t=s[e(511)](!0);i[e(562)](t)}return i}function ut(){const t=["newRange","_diffRoots","attributesAfter","saveRevision","_removePendingAction","get","move","creatorId","resolve","getRevision","baseVersion","createRangeIn","createPositionBefore","getRootNames","nodes","getAncestors","split","marker","createRevision","_initialRevisionId","trim","_licenseKeyCheckInterval","oldRange","insertionPosition","_getVidAttributeName","setSource","domDocument","_startingVersion","document","dataDowncast","_handleMarkerOperation","size","_showLicenseError","isPremiumPlugin","getOperations","_handleInsertOperation","deletion","revisionHistoryLicenseKeyExpired","revisionHistory.resumeUnsavedRevision","attachChange","toView","RevisionTracker","_findInsertionIndex","markerToData","_getBaseVids","offset","rootName","uiElement","repository","rootsAttributes","6DjEXdY","getRevisionRootsAttributes","filter","string","revision","_touched","_savedMetaData","createPositionFromPath","createPositionAfter","requires","affectsData","_markChanges","push","locale","isOfficialPlugin","upcast","pluginName","has","_diffRootsAttributes","usageLimit","_isAttached","addRoot","_makeRevision","trialLimit","startsWith","_utils","getTime","buildRevisionData","source","addRevision","isEnabled","conversion","rawElement","_operations","_handleMergeOperation","getUser","shift","_insertChild","PendingActions","map","updateRevisions","RevisionHistoryUtils","_createFromRanges","_getFromVersion","_getTypeCharForViewElement","vid_start","nodeAfter","setRevisionData","getOperation","_replaceEditorDataWithRevisionData","invalid","Initial revision","newValue","end","add","Users","_clone","bind","getMovedRangeStart","_update","stickiness","values","sourcePosition","start","history","PENDING_ACTION_REVISION_HISTORY","revision:","getWalker","offsetSize","getFillerOffset","name","sendBufferedUpdates","_bufferUpdate","_makeIdsRoot","element","getRevisions","53356ZEDElT","parent","slice","hasContent","licenseKey","finally","85410MhrcBa","range","_startingRevisionId","initialData","_fixOperation","_prepareViewToSave","getTransformedByOperation","stringify","clone","RevisionsRepository","config","_isPendingUpdate","addRevisionData","editor-initial-data-replaced-with-revision-data","_getViewJson","plugins","keepParagraph","_continueCurrentRevision","_loadState","reInit","sort","model","tableCell","toVersion","adapter","_appendChild","revisionHistoryLicenseKeyTrialLimit","dataToMarker","getCustomProperties","_setConversion","isAttached","includes","reinsert","_baseRootsAttributes","getAttributes","_markers","authorsIds","revisionHistoryLicenseKeyDomainLimit","version","markers","some","_authorId","htmlProcessor","length","delete","_execute","insertions","_handleRootAttributeOperation","_touchedRoots","path","isAdd","afterInit","6947408YPVhyE","key","elementStart","revisionHistoryLicenseKeyUsageLimit","$comment","targetPosition","collaboration.channelId","editor","_fixPosition","set","then","elementEnd","creator","createRange","vid_end","getChildren","_handleRootOperation","RevisionHistory","_fixRange","_bufferedUpdates","previousPosition","7903475TFvQsd","_baseIdsRoots","getData","_transformMarkers","paragraph","fillerOffset","_setAttribute","getRevisionDocumentData","createPositionAt","_touchedMarkers","$text","keys","isReady","fromEntries","ready","diffData","documentFragment","reverse","Empty document","getLatestVersion","_addPendingAction","find","initial","outerHTML","_handleSplitOperation","getRange","NEGATIVE_INFINITY","11675846qdbynQ","insertion","_revisionDataBuilder","_processRootBeforeSave","_cloneOperation","_source","destroy","evaluationLimit","authors","revisionHistoryLicenseKeyEvaluationLimit","loadRevisionData","item","150PZOZyy","_createInitialRevision","revisionHistoryLicenseKeyNotAllowed","innerHTML","type","merge","update","render","_getState","_applyOperations","domConverter","insert","from","detachRoot","root","revisionHistoryLicenseKeyValid","init","roots","_pendingAction","data","17677386MtkgWf","_lastTo","remove","_lastFrom","_handleOperation","$graveyard","_isInit","getAttribute","graveyardPosition","_createCurrentRevision","_baseRoots","getNodeByPath","_handleMoveOperation","howMany","_getPreviousFrom","_copyMarkers","_makeModelFromViewString","childCount","_generateTape","createElement","getChild","domainLimit","RealTimeCollaborationClient","getRoot","1364238heILIf","expired","_idsRoots","define","createdAt","removeRootAttribute","attributesBefore","for","children","loadState","getIndex","getCurrentRevisionId","currentRevision","splitPosition","addRootAttribute","_revisionId","changeRootAttribute","customProperties","deletions","_removeMetaData","position","revisionHistoryLicenseKeyInvalid","featureNotAllowed","text","vid","userId","_calculateMetaData","_saveMetaData","isEqual","clear","_reset","fromVersion","_loadedStateData","max"];return(ut=function(){return t})()}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(451)]=t,s[i(475)]=e,s[i(567)]=()=>s[i(475)],s}function ht(t,e,i){const s=rt,n=s(600)==t[s(331)]?i[s(618)](t[s(326)],s(508)):i[s(417)](t[s(326)]);return i[s(462)](e,n[s(586)],n[s(515)])}function dt(t,e){const i=ut();return(dt=function(t,e){return i[t-=312]})(t,e)}function ft(t,e,i){const s=rt,n=s(591)==t[s(331)]?i[s(618)](t[s(326)],0):i[s(463)](t[s(326)]);return i[s(462)](e,n[s(586)],n[s(515)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Mt(){const t=["122897VUfwez","focusTracker","arrowleft","setTemplate","label","stopPropagation","input","locale","202543BSRyHY","focus","render","optional","2IiWpaV","3626901wluxya","ck-revision-history-save-revision-form","2220meBLcE","2380269FsWTpr","8AoWFTj","6578859MxcyYm","arrowup","4977180CUFkij","30SzCxLp","element","fieldView","reset","trim","add","30lNzncv","_createRevisionNameInput","revisionName","revisionNameInputView","arrowdown","revisionNameInputValue","keystrokes","value","errorText","extendTemplate","listenTo","form","1632670RMkFiO","set","Name of the revision","220","arrowright","ck-responsive-form"];return(Mt=function(){return t})()}function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=472]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(975450===parseInt(e(516))/1+parseInt(e(483))/2*(-parseInt(e(487))/3)+-parseInt(e(491))/4+-parseInt(e(510))/5*(-parseInt(e(492))/6)+parseInt(e(489))/7*(-parseInt(e(488))/8)+parseInt(e(484))/9*(-parseInt(e(498))/10)+parseInt(e(479))/11*(parseInt(e(486))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Et extends pt.View{[At(472)];[At(504)];[At(501)];constructor(e,i){const s=At;super(e),this[s(472)]=new t.FocusTracker,this[s(504)]=new t.KeystrokeHandler,this[s(511)](s(503),""),this[s(501)]=this[s(499)](i),this[s(474)]({tag:s(509),attributes:{class:["ck",s(485),s(515)],tabindex:"-1"},children:[this[s(501)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(481)](){const t=At;super[t(481)](),(0,pt.submitHandler)({view:this}),this[t(472)][t(497)](this[t(501)][t(493)]),this[t(504)][t(508)](this[t(493)]);const e=e=>e[t(476)]();this[t(504)][t(511)](t(514),e),this[t(504)][t(511)](t(473),e),this[t(504)][t(511)](t(490),e),this[t(504)][t(511)](t(502),e)}[At(480)](){const t=At;this[t(501)][t(480)]()}get[At(500)](){const t=At;return this[t(501)][t(494)][t(493)][t(505)][t(496)]()}set[At(500)](t){const e=At;this[e(501)][e(494)][e(493)][e(505)]=t[e(496)]()}[At(495)](){const t=At;this[t(501)][t(494)][t(493)][t(505)]="",this[t(501)][t(506)]=null}[At(499)](t){const e=At,i=new pt.LabeledFieldView(this[e(478)],pt.createLabeledInputText),s=i[e(494)];s[e(507)]({attributes:{maxlength:e(513)}});let n=X(this[e(478)],e(512));return!t&&(n+=" ("+X(this[e(478)],e(482))+")"),i[e(475)]=n,s.on(e(477),(()=>{const t=e;this[t(503)]=s[t(493)][t(505)][t(496)]()})),i}}const Dt=Ft;function Ct(){const t=["1720RkQwBv","Cancel","children","2555811IZaVYU","config","Save current revision","editor","menuitem","revisionNameInputView","revisionName","_createSaveRevisionFormView","show","_saveRevisionFormView","Accept","39487mWatnM","revisionHistory.requireRevisionName","_registerMenuComponent","submit","342iduoGc","isPremiumPlugin","execute","revisionHistory","isReady","_showDialog","10FUVrro","requires","Open revision history","hide","2399508XjCPpV","isReadOnly","pluginName","ck-button-action","16caPTqW","componentFactory","Revision history","revisionSave","editing","buttonView","isEnabled","addMany","delegate","showRevisionViewerCallback","render","RevisionTracker","isOpen","items","29254181uMrXSP","init","The revision name cannot be empty.","RevisionHistoryUI","add","menu","panelView","132085yAXjij","bind","reset","Dialog","saveRevision","errorText","set","83183LizrCW","focus","menuBar:revisionHistory","locale","view","isOfficialPlugin","plugins","get","3356172VgAEvA","role"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(845425===parseInt(e(289))/1*(parseInt(e(261))/2)+-parseInt(e(232))/3+parseInt(e(257))/4+parseInt(e(282))/5*(parseInt(e(247))/6)+parseInt(e(243))/7*(parseInt(e(229))/8)+parseInt(e(227))/9*(parseInt(e(253))/10)+-parseInt(e(275))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends U.Plugin{static get[Dt(259)](){return Dt(278)}static get[Dt(224)](){return!0}static get[Dt(248)](){return!0}static get[Dt(254)](){return[ot]}[Dt(241)];[Dt(276)](){const t=Dt,e=this[t(235)],i=e[t(225)][t(226)](t(272));e.ui[t(262)][t(279)](t(250),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(281)][n(231)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(283)](n(267)).to(i,n(251),i,n(267),e,n(258),((t,e,i)=>t&&e&&!i)),r[n(266)][n(288)]({icon:mt.IconHistory,label:X(s,n(263)),tooltip:!0}),u[n(288)]({label:X(s,n(234)),withText:!0,role:n(236)}),u[n(283)](n(267)).to(i,n(251),i,n(267),e,n(258),((t,e,i)=>t&&e&&!i)),u.on(n(249),(()=>this[n(252)]())),h[n(288)]({label:X(s,n(255)),withText:!0,role:n(236)}),h[n(283)](n(267)).to(i,n(251),e,n(258),((t,e)=>t&&!e)),h.on(n(249),(()=>{const t=n;e[t(233)][t(226)](t(250))[t(270)](),r[t(273)]=!1,e[t(265)][t(223)][t(220)]()})),c[n(231)][n(279)](u),l[n(231)][n(279)](h),a[n(228)]=n(280),a[n(274)][n(268)]([c,l]),o[n(279)](a),r})),e.ui[t(262)][t(279)](t(221),(()=>this[t(245)]()))}[Dt(245)](){const t=Dt,e=this[t(235)],i=e[t(222)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(266)][t(288)]({icon:mt.IconHistory,label:X(i,t(263))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(288)]({label:X(i,t(234))}),o[t(269)](t(249)).to(s),o.on(t(249),(()=>{this[t(252)]()})),r[t(231)][t(279)](o),n[t(274)][t(279)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(288)]({label:X(i,t(255))}),c[t(269)](t(249)).to(s),c.on(t(249),(()=>{const i=t;e[i(233)][i(226)](i(250))[i(270)]()})),a[t(231)][t(279)](c),n[t(274)][t(279)](a),s[t(281)][t(231)][t(279)](n),s}[Dt(252)](){const t=Dt,e=this[t(235)],i=e[t(222)],s=e[t(225)][t(226)](t(285)),n=e[t(225)][t(226)](t(272));function r(n){const r=t;e[r(233)][r(226)](r(244))&&""===n[r(238)]?n[r(237)][r(287)]=X(i,r(277)):(e[r(225)][r(226)](ot)[r(286)]({name:n[r(238)]}),s[r(256)]())}this[t(241)]||(this[t(239)](),this[t(241)].on(t(246),(()=>r(this[t(241)])))),this[t(241)][t(284)](),s[t(240)]({id:t(264),title:X(i,t(234)),isModal:!0,content:this[t(241)],actionButtons:[{label:X(e[t(222)],t(230)),withText:!0,onExecute:()=>s[t(256)]()},{label:X(e[t(222)],t(242)),class:t(260),withText:!0,onCreate(i){const s=t;i[s(283)](s(267)).to(n,s(251),n,s(267),e,s(258),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(241)])}]})}[Dt(239)](){const t=Dt,e=this[t(235)],i=e[t(222)];this[t(241)]=new Et(i,e[t(233)][t(226)](t(244))),this[t(241)][t(271)]()}}const Lt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=362]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(954092===parseInt(e(379))/1*(-parseInt(e(373))/2)+parseInt(e(368))/3*(-parseInt(e(369))/4)+-parseInt(e(362))/5+-parseInt(e(371))/6+parseInt(e(394))/7*(-parseInt(e(385))/8)+parseInt(e(390))/9*(parseInt(e(386))/10)+parseInt(e(382))/11*(parseInt(e(392))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends pt.View{[Lt(365)];[Lt(374)];constructor(t,e){const i=Lt;super(t),this[i(374)]=e,this[i(365)]=e.id;const s=this[i(393)],n=X(t,e[i(389)][i(378)]?i(381):i(375)==e[i(372)]?i(384):i(364));this[i(387)](i(372),e[i(372)]),this[i(366)]({tag:i(370),attributes:{class:[i(367),i(380),s.to(i(372),(t=>i(383)+t))],tabindex:-1},children:[{tag:i(395),children:[{tag:i(395),attributes:{class:[i(363)]},children:[{text:n}]},{text:" "+e[i(388)][i(377)]}]}]})}[Lt(391)](){const t=Lt;this[t(376)][t(391)]()}}function Wt(){const t=["set","author","data","2844783XjPVYJ","focus","89881692EkTCru","bindTemplate","13062532IzsdYE","span","5232265nlKKJg","ck-revision-change__label","Removed by","changeId","setTemplate","ck-annotation","5284533JJGlES","4UfeQzC","div","8445114nThOlr","type","6apAPuk","_model","add","element","name","isSuggestion","256859YtqSxw","ck-revision-change","Suggested by","11OBEBep","ck-revision-change__","Added by","8olMMds","10zOFGHl"];return(Wt=function(){return t})()}function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=256]})(t,e)}var Zt=Ut;function Ht(){var t=["author","12NvkSwJ","713cSdwrq","set","128wwBVLu","5153409BgcSCa","data","650VyHcQM","4323zjRtpK","1577022xuykMr","130396ZGmNuF","createdAt","type","857240UmJcAT","toJSON","1683385UkPDUv","rootName","1478GNfych"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(387293===parseInt(e(258))/1*(parseInt(e(273))/2)+-parseInt(e(265))/3+parseInt(e(269))/4+-parseInt(e(271))/5*(parseInt(e(257))/6)+parseInt(e(266))/7*(parseInt(e(260))/8)+parseInt(e(261))/9+-parseInt(e(263))/10*(parseInt(e(264))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Bt extends((0,t.ObservableMixin)()){id;[Zt(256)];[Zt(268)];[Zt(262)];[Zt(272)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(256)]=e[i(256)],this[i(268)]=e[i(268)],this[i(262)]=e[i(262)]||{},this[i(272)]=e[i(272)],this[i(259)](i(267),e[i(267)])}[Zt(270)](){var t=Zt;return{id:this.id,authorId:this[t(256)].id,type:this[t(268)],data:this[t(262)],createdAt:this[t(267)]}}}const $t=Yt;function qt(){const t=["_setChanges","716304MlMkKC","4949605onjCFZ","newRevisionId","146060BAFGYW","changes","oldRevisionId","7380282VDXDyy","1231336woNASM","966882czqmLB","add","3XhnnXi","19520208znQUPj"];return(qt=function(){return t})()}function Yt(t,e){const i=qt();return(Yt=function(t,e){return i[t-=129]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(892366===parseInt(e(133))/1+-parseInt(e(136))/2+parseInt(e(130))/3*(-parseInt(e(140))/4)+-parseInt(e(134))/5+parseInt(e(141))/6+-parseInt(e(139))/7+parseInt(e(131))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Gt{[$t(135)];[$t(138)];[$t(137)];constructor(e,i){const s=$t;this[s(135)]=e,this[s(138)]=i,this[s(137)]=new t.Collection}[$t(132)](t){const e=$t;for(const i of t)this[e(137)][e(129)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=324]})(t,e)}function te(){const t=["error","createUIElement","change:activeChange","873mLVKhu","splice","createPositionBefore","next","_balloon","2051IcbDVN","attributesBefore","end","ck-revision-history-root-add","pairId","init","startIndex","span","_processTape","ck-suggestion-marker--active","diff","rootName","getCustomProperty","side","observeMarkers","upcast","isObject","getRevision","indexOf","ck-suggestion-marker-split","destroy","markerRange","keys","commands","domEvent","diffData","userId","editingDowncast","_getDiff","offsetSize","elementToAttribute","isInline","previousPosition","attributesAfter","enableReadOnlyMode","merge","hasAttribute","change:isReady","push","createRangeIn","first","has","data","suggestion:","_getViewForChange","flat","top","isAdded","softBreak","done","isRemoved","removeAttribute","getItems","roots","change:activeView","start","_changeIdToChange","_sortAndFilterDiffChanges","model","activeView","data-change-id","isOfficialPlugin","ck-suggestion-preview-marker","revision","execute","getRootNames","addClass","markerName","bottom","item","pluginName","downcastDispatcher","-new","_revisions","forward","mapper","mouseover","elementStart","_data","startsWith","viewItem","revision:","_setDistance","ck-suggestion-marker-","resolve","change:isEnabled","toViewRange","getClientRects","ck-suggestion-preview-marker-","POSITIVE_INFINITY","remove","createPositionFromPath","_makeTape","_setChanges","updatePosition","vid","isLimit","markersStart","activeChange","string","listenTo","element","revision-viewer","forEach","WidgetToolbarRepository","filter","endIndex","type","code","ck-suggestion-marker-merge","_initInteractions","markerNameToElements","pop","restoreRevisionCallback","_refreshStartEndIndex","name","isContent","abs","detachRoot","level","_markMismatchedRemovedTags","selection","high","includes","416581PJJprM","132otrwIo","removeMarker","domConverter","setAttribute","addRoot","changeId","getRevisionDocumentData","RevisionViewer","unshift","insert","_threeWayMerge","split","compare","enqueueChange","locale","_markSuggestions","isAfter","_markInsertions","_joinTapes","schema","uiElement","9402TCcwTy","isReady","left","return","addHighlight","conversion","suggestion","right","createAttributeElement","deletion","authors","requires","distance","_activeViewTarget","ck-suggestion-marker","get","slice","ck-revision-history-root-remove","comment","_utils","length","revisionHistoryAttachChange","isAttached","getChild","createRange","isAddSuggestion","modelRange","attributes","mousedown","nextPosition","consumable","revision-suggestion","currentChangeNumber","_fixObsoleteTags","ck-editor__editable__overlay","isSuggestion","writer","maxOffset","2RyEGYP","addMarker:revision","revision-suggestion:","_makeModelFromTape","1730545KSJqed","nextSibling","getAttribute","stop","repository","find","_step","plugins","attachChange","index","text","config","mapViewToDom","markerToHighlight","delete","showStack","object","deletions","clear","shift","oldRevisionId","revisionHistory","checkAttribute","then","bindElementToMarker","concat","add","isBlock","_update","_getRevisionsRange","getIndex","dataDowncast","values","loadRevisionData","toViewPosition","_changeView","isEnabled","showNextChange","refresh","getWalker","insertion","bind","ck-revision-history-root--active","ck-revision-history-root-","sort","RevisionHistoryUtils","affectsData","reconvertMarker","_cleanUp","addRevisionData","highest","267463vdlHrh","removeMarker:revision-suggestion","_getChangeFromId","forceDisabled","revisionHistoryLabel","isPremiumPlugin","revision-comment:","6xWDplW","showPreviousChange","elementEnd","_appendChild","newRevisionId","_markMarkers","removeMarker:revision","getRoot","wrap","insertions","change","vid_end","nodeAfter","_setConversion","getRevisionRootsAttributes","markerToData","numberOfChanges","editor","attribute:vid","addMarker:revision-suggestion:insertion","_removeUnsupportedChanges","change:numberOfChanges","1101512KBmfKA","dataToMarker","isRemoveSuggestion","createRevision","isBefore","consume","backward","low","isNavigationMode","addMarker:revision-suggestion:deletion","changes","from","view","test","isAtStart","unbindElementFromMarkerName","_removeMissingPairs","hasClass","toViewElement","adapter","isCollapsed","isEqual","parent","markersEnd","isIncorrect","set","markers","_makeModelFromViewString","_cleanMarkers","editing","getAttributes","findIndex","isAtEnd","getDomRoot","document","catch","all","16500EYlINF","map","element:pre","range","vid_start","getLaterVisibleRevision","target","addRevision","removeClass","isOnRoot","_findChangeIdFromDomTarget","for","1179488tlVbhV","RevisionsRepository","restoreRevision"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(279366===parseInt(e(537))/1*(-parseInt(e(482))/2)+parseInt(e(544))/3*(parseInt(e(566))/4)+parseInt(e(486))/5+parseInt(e(444))/6*(-parseInt(e(626))/7)+-parseInt(e(615))/8+-parseInt(e(621))/9*(parseInt(e(603))/10)+parseInt(e(422))/11*(parseInt(e(423))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(490)];[Qt(585)]=null;[Qt(463)];[Qt(457)];[Qt(521)];[Qt(354)];[Qt(625)];static get[Qt(368)](){return Qt(430)}static get[Qt(359)](){return!0}static get[Qt(542)](){return!0}static get[Qt(455)](){return[Z.Users,pt.ContextualBalloon,q,Q]}constructor(t){const e=Qt;super(t),this[e(490)]=this[e(561)][e(493)][e(459)](e(616)),this[e(463)]=this[e(561)][e(493)][e(459)](e(531)),this[e(591)](e(396),null),this[e(591)](e(357),null),this[e(457)]=null,this[e(591)](e(636),null),this[e(591)](e(445),!1),this[e(591)](e(522),!0),this.on(e(383),((t,i,s)=>{const n=e;this[n(396)]=null,this[n(357)]=null,this[n(561)][n(595)][n(578)][n(554)]((t=>{const e=n;for(const i of this[e(561)][e(595)][e(578)][e(600)][e(351)])s?t[e(611)](e(478),i):t[e(364)](e(478),i)}))})),this[e(527)](e(574)).to(this,e(396),(t=>null!==t)),this[e(527)](e(476)).to(this,e(445),this,e(636),this,e(396),((t,i,s)=>t&&s?i[e(576)][e(516)](s):0)),this[e(527)](e(560)).to(this,e(445),this,e(636),((t,i)=>t?i[e(576)][e(464)]:0)),this[e(521)]=null,this[e(354)]=new Map,this[e(625)]=this[e(561)][e(493)][e(459)](pt.ContextualBalloon)}[Qt(631)](){const t=Qt,e=this[t(561)],i=new ne(e,{direction:t(572)}),s=new ne(e,{direction:t(372)});e[t(649)][t(512)](t(545),i),e[t(649)][t(512)](t(523),s),e[t(649)][t(512)](t(617),new se(e)),this.on(t(565),(()=>{const e=t;i[e(524)](),s[e(524)]()})),this[t(557)](),this[t(408)](),e[t(332)](t(400)),e[t(493)][t(339)](t(402))&&e[t(493)][t(459)](t(402))[t(540)](t(400))}async[Qt(429)](t){const e=Qt;return await this[e(463)][e(519)](t,this[e(585)]),this[e(463)][e(429)](t)}async[Qt(558)](t){const e=Qt;return await this[e(463)][e(519)](t,this[e(585)]),this[e(463)][e(558)](t)}async[Qt(435)](t,e,i=!1){const s=Qt;if(!this[s(522)])return;const n=this[s(636)],r=this[s(490)],o=s(397)==typeof t?r[s(643)](t):t,a=s(397)==typeof e?r[s(643)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(636)]&&this[s(636)][s(548)]===c&&this[s(636)][s(506)]===u)return Promise[s(382)]();this[s(445)]=!1,this[s(357)]=null,this[s(396)]=null,this[s(636)]=new Gt(c,u);const l=this[s(515)](o,a,!0)[s(604)]((t=>this[s(463)][s(519)](t,this[s(585)])));return l[s(336)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(602)](l)[s(509)]((()=>{const t=s;if(!this[t(522)])return;this[t(534)]();const e=this[t(326)](c,u);for(const i of e[t(576)])this[t(354)][t(591)](i.id,i);this[t(561)][t(356)][t(436)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(561)][s(356)][s(600)][s(363)]())i[s(416)](t);for(const t of Object[s(648)](e[s(356)])){const n=i[s(427)](t);for(const r of Object[s(648)](e[s(471)][t]))i[s(426)](r,e[s(471)][t][r],n);i[s(432)](e[s(356)][t],n,0)}})),this[t(636)][t(391)](this[t(355)](e[t(576)])),this[t(445)]=!0}))[s(601)]((t=>{const e=s;console[e(618)](t),this[e(534)](),n&&(this[e(636)]=n),this[e(445)]=!0}))}[Qt(535)](t,e){const i=Qt,s=this[i(490)][i(569)](t);return s.on(i(514),((t,i,n)=>e(i,n,s))),this[i(490)][i(610)](s),s}[Qt(534)](){const t=Qt;this[t(396)]=null,this[t(594)](),this[t(521)]&&this[t(521)][t(646)](),this[t(521)]=null,this[t(354)][t(504)](),this[t(561)][t(356)][t(436)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(561)][i(356)][i(600)][i(363)]())e[i(416)](t)}))}[Qt(355)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(561)][e(356)][e(600)][e(363)]()){const n=this[e(561)][e(595)][e(578)][e(599)](t);if(!n)continue;const r=n[e(385)]()[e(367)](0);r&&(i[e(336)](t),s[e(591)](t,r))}return i[e(530)](((t,i)=>{const n=e,r=s[n(459)](t),o=s[n(459)](i);return r.y-o.y||r.x-o.x})),(t=t[e(403)]((t=>i[e(421)](t[e(637)]))))[e(530)](((t,s)=>i[e(644)](t[e(637)])-i[e(644)](s[e(637)]))),t}[Qt(390)](t){const e=Qt,i=Array[e(577)](t[e(592)])[e(403)]((([t,i])=>t[e(377)](e(379))&&!i[e(586)])),s=Array[e(577)](this[e(561)][e(356)][e(337)](t)[e(525)]({singleCharacters:!0}));if(0!=i[e(464)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(434)](":");if(n[e(628)][e(587)](t[e(473)])&&i[e(505)](),(t[e(330)][e(587)](n[e(353)])||t[e(330)][e(439)](n[e(353)]))&&(e(526)==r?t[e(345)]={userId:o}:e(453)==r&&(t[e(348)]={userId:o})),0==i[e(464)])break}return s}[Qt(412)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(464)];s++)e(496)===t[s][e(405)]?(t[s][e(367)][e(632)]=s,t[s][e(367)][e(404)]=s):(e(375)===t[s][e(405)]?t[s][e(367)][e(632)]=s:e(546)===t[s][e(405)]&&(t[s][e(367)][e(404)]=s),i[e(591)](t[s].id,s));for(const s of i[e(518)]())e(375)===t[s][e(405)]?t[s][e(367)][e(404)]=i[e(459)](t[s][e(630)]):e(546)===t[s][e(405)]&&(t[s][e(367)][e(632)]=i[e(459)](t[s][e(630)]))}[Qt(634)](t){const e=Qt;for(let i=0;i<t[e(464)];i++){if(e(375)===t[i][e(405)])t[i][e(367)][e(632)]=i;else if(e(546)===t[i][e(405)]){t[i][e(367)][e(404)]=i;const s=t[i][e(367)][e(632)];t[s][e(630)]=t[i].id,t[i][e(630)]=t[s].id}else t[i][e(367)][e(632)]=i,t[i][e(367)][e(404)]=i,t[i][e(630)]=null;t[i][e(395)]||(t[i][e(395)]=[],t[i][e(589)]=[])}}[Qt(440)](t,e){const i=Qt,s=t[i(403)]((t=>!t[i(345)]));for(let t=0;t<e[i(464)];t++)e[t][i(345)]&&(s[t][i(345)]=e[t][i(345)])}[Qt(326)](t,e=null){const i=Qt,s=this[i(490)][i(643)](t),n=e?this[i(490)][i(643)](e):null,r=this[i(515)](s,n),o=r[r[i(464)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(464)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(648)](e[i(651)]))if(e[i(651)][t][i(494)]){const s=e[i(651)][t][i(494)];s[i(466)]?(u[i(512)](t),l[i(339)](t)&&l[i(459)](t)[i(324)]==s[i(324)]?l[i(500)](t):l[i(591)](t,s)):l[i(339)](t)?(u[i(500)](t),l[i(500)](t)):(u[i(512)](t),l[i(591)](t,s))}else u[i(512)](t)}for(const t of u){const e=l[i(339)](t)&&!l[i(459)](t)[i(466)];let s=e?r[i(464)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(651)][t]){const s=e?o[i(651)][t][i(627)]:o[i(651)][t][i(331)];c[i(471)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(356)]={};for(const e of t[i(454)])a[i(591)](e.id,e);for(const e of u){const s=t[i(651)][e]?t[i(651)][e][i(553)]:"[]",n=t[i(651)][e]?t[i(651)][e][i(503)]:"[]";t[i(356)][e]={insertions:this[i(463)][i(593)](s),deletions:this[i(463)][i(593)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(577)](s[i(356)][t][i(553)][i(592)])[i(403)]((([t])=>!t[i(377)](i(379)))));let h=0;for(const o of r){const r=this[i(390)](o[i(356)][t][i(553)]);o==s?(e=r,n=e[i(464)],e[i(401)]((t=>{t.id=h++})),this[i(634)](e)):this[i(440)](e,r);const a=e[i(403)]((t=>!t[i(345)]))[i(604)]((t=>t.id));let c=0;const l=this[i(390)](o[i(356)][t][i(503)]);l[i(401)]((t=>{t[i(348)]?t.id=n++:t.id=a[c++]})),this[i(634)](l),this[i(380)](e,i(345)),this[i(380)](l,i(348)),o==s&&this[i(549)](e,u),e=this[i(441)](e,l),this[i(412)](e),this[i(380)](e,i(348))}e=e[i(403)]((t=>!(t[i(345)]&&t[i(348)])));const d=new Map(o[i(356)][t][i(503)][i(592)]),f=new Set(u[i(648)]());for(const t of d[i(648)]())f[i(500)](t);this[i(438)](e,f),this[i(477)](e),e=this[i(582)](e),e=this[i(418)](e),e=this[i(564)](e);const{root:m,changes:p}=this[i(485)](e,a,t);c[i(356)][t]=m;const v=l[i(459)](t);if(v){const e=a[i(459)](v[i(324)]),s=new Bt({author:e,type:v[i(466)]?i(512):i(388),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(431)](s),c[i(471)][t][i(465)]=s.id}c[i(576)]=c[i(576)][i(511)](p)}return c}[Qt(549)](t,e){const i=Qt;for(let s=0;s<t[i(464)];s++)for(const[n,r]of e)!r[i(586)]&&r[i(353)][i(587)](t[s][i(330)])&&t[s][i(395)][i(336)](n),r[i(628)][i(587)](t[s][i(473)])&&t[s][i(589)][i(336)](n)}[Qt(441)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(464)]||r<e[i(464)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(336)](o);else if(a[i(348)]&&o[i(345)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(433)](t,n,e,r);s=s[i(511)](o),n=a,r=c}else a[i(348)]?(r++,s[i(336)](a)):(n++,s[i(336)](o))}return s}[Qt(438)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(464)];o++){for(let r=0;r<t[o][i(395)][i(464)];r++){const a=t[o][i(395)][r];if(!e[i(339)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(475)!=c||i(526)!=u&&i(453)!=u||(s[i(431)]({type:u,name:a,userId:l}),t[o][i(395)][i(622)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(589)][i(464)];r++){const a=t[o][i(589)][r];if(!e[i(339)](a))continue;const{group:c,type:u}=n(a);if(i(475)!=c||i(526)!=u&&i(453)!=u)continue;t[o][i(589)][i(622)](r,1),r--;const l=s[i(597)]((t=>t[i(413)]==a));l>-1&&s[i(622)](l,1)}}function n(t){const e=i,s=t[e(434)](":");return{group:s[0],type:s[1],subType:s[e(464)]>=5?s[2]:null,id:s[e(464)]<5?s[2]:s[3],authorId:s[e(464)]<5?s[3]:s[4],markerCount:6==s[e(464)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(464)];i++){if(t[e(345)]&&e(526)==s[i][e(405)])return t[e(469)]=s[i],void delete t[e(345)];if(!t[e(345)]&&!t[e(348)]&&e(453)==s[i][e(405)])return void(t[e(568)]=s[i])}}}[Qt(380)](t,e){const i=Qt;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(591)](o.id,s);for(let s=0;s<t[i(464)];s++){if(i(348)==e&&t[s][i(345)]||i(345)==e&&t[s][i(348)])continue;if(i(496)==t[s][i(405)]){t[s][i(456)]=0;continue}const n=r[i(459)](t[s][i(630)]),o=r[i(459)](t[s].id);t[s][i(456)]=n-o}}[Qt(515)](t,e,i=!1){const s=Qt,n=[];let r=this[s(490)][s(516)](t),o=this[s(490)][s(516)](e);for(-1==o&&(o=this[s(490)][s(371)][s(464)],i=!1);r<o;)n[s(336)](this[s(490)][s(643)](r)),r++;return i&&n[s(336)](this[s(490)][s(643)](r)),n}[Qt(433)](t,e,i,s){const n=Qt,r=this[n(561)][n(356)][n(442)];let o=e;for(;t[o]&&t[o][n(345)];)o++;let a=s;for(;i[a]&&i[a][n(348)];)a++;u(t,e,o),u(i,s,a);const c=i[n(460)](s,a)[n(511)](t[n(460)](e,o));return c[n(530)](((t,e)=>t[n(639)]!=e[n(639)]?t[n(639)]-e[n(639)]:t[n(417)]!=e[n(417)]?t[n(417)]-e[n(417)]:t[n(456)]!=e[n(456)]?e[n(456)]-t[n(456)]:!!t[n(345)]!=!!e[n(345)]?-1==t[n(639)]||0==t[n(639)]?t[n(345)]?-1:1:t[n(345)]?1:-1:t[n(495)]-e[n(495)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(387)],c=!0;for(let n=e;n<i;n++)if(r[s(329)](t[n][s(367)])||(c=!1),t[n][s(367)][s(632)]<e&&(o=n),t[n][s(367)][s(404)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(639)]=n<=o?-1:n<a?0:1,t[n][s(495)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(456)]?t[i][s(417)]=u:(u++,t[i][s(417)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(639)]&&(t[n][s(417)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(456)]?t[e][s(417)]=u:(u--,t[e][s(417)]=u,u--)}}[Qt(477)](t){const e=Qt,i=new Map,s=this[e(561)][e(356)][e(442)];for(let n=1;n<t[e(464)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(496)==c[e(405)])continue;if(c[e(405)]!=u[e(405)])continue;if(!s[e(513)](u[e(367)])||s[e(394)](u[e(367)]))continue;if(!s[e(513)](c[e(367)])||s[e(394)](c[e(367)]))continue;if((t[n][e(345)]||t[n][e(469)])&&t[n-1][e(348)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(348)]||!t[n-1][e(345)]&&!t[n-1][e(469)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(417)]==o[e(417)],h=Math[e(415)](r[e(417)])<Math[e(415)](o[e(417)])&&0==o[e(456)];(l||h)&&(i[e(591)](o.id,r.id),t[e(622)](a,1),n--,r[e(345)]=!1)}for(let s=0;s<t[e(464)];s++)i[e(339)](t[s][e(630)])&&(t[s][e(630)]=i[e(459)](t[s][e(630)]))}[Qt(582)](t){const e=Qt,i=new Set(t[e(604)]((t=>t.id)));for(let s=0;s<t[e(464)];s++)i[e(339)](t[s][e(630)])||0==t[s][e(456)]||(t[s][e(590)]=!0);return t[e(403)]((t=>!t[e(590)]))}[Qt(418)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(464)];s++){if(i[e(339)](t[s].id)&&t[s][e(348)]&&(t[s][e(590)]=!0),t[s][e(590)])continue;if(0==t[s][e(456)])continue;if(e(375)!=t[s][e(405)])continue;if(null==t[s][e(630)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(630)];)e(375)==t[n][e(405)]?r++:e(546)==t[n][e(405)]&&r--,n++;if(0!=r)if(t[s][e(348)])t[s][e(590)]=!0;else for(;n!=s;)t[n][e(348)]&&0!=t[n][e(456)]&&(t[n][e(590)]=!0,i[e(512)](t[n][e(630)])),n--}return t[e(403)]((t=>!t[e(590)]))}[Qt(564)](t){const e=Qt,i=this[e(561)][e(356)][e(442)];for(let s=0;s<t[e(464)];s++){if(!(t[s][e(345)]||t[s][e(469)]||t[s][e(348)]||t[s][e(568)]))continue;if(0==t[s][e(456)])continue;const n=t[s][e(367)];i[e(513)](n)||i[e(394)](n)||(t[s][e(345)]&&delete t[s][e(345)],t[s][e(469)]&&delete t[s][e(469)],t[s][e(568)]&&delete t[s][e(568)],t[s][e(348)]&&(t[s][e(590)]=!0))}return t[e(403)]((t=>!t[e(590)]))}[Qt(485)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(561)][s(356)],c=a[s(442)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(464)];e++)if(s(375)===t[e][s(405)]){t[e][s(330)]=a[s(389)](n,f);const i=new H.Element(t[e][s(367)][s(413)],t[e][s(367)][s(596)]());u[0][s(547)](i),f[s(336)](0),u[s(431)](i),t[e][s(473)]=a[s(389)](n,f)}else s(546)===t[e][s(405)]?(u[s(505)](),t[e][s(330)]=a[s(389)](n,f),f[s(410)](),f[f[s(464)]-1]++,t[e][s(473)]=a[s(389)](n,f)):(t[e][s(330)]=a[s(389)](n,f),d?d[s(376)]+=t[e][s(367)][s(340)]:d=new H.Text(t[e][s(367)][s(340)],t[e][s(367)][s(596)]()),t[e+1]&&s(496)===t[e+1][s(405)]&&v(d,t[e+1][s(367)])||(u[0][s(547)](d),d=null),f[f[s(464)]-1]+=t[e][s(367)][s(327)],t[e][s(473)]=a[s(389)](n,f));for(let e=0;e<t[s(464)];e++){const i=t[e][s(330)],n=t[e][s(473)];for(const n of t[e][s(395)])o[s(591)](n,{start:i,end:null});m(s(568),e,i,n),m(s(469),e,i,n),m(s(348),e,i,n),m(s(345),e,i,n);for(const i of t[e][s(589)]){const t=o[s(459)](i);t?t[s(628)]=n:o[s(591)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(561)][s(356)][s(468)](e[s(353)],e[s(628)]);n[s(592)][s(591)](t,i)}return r[s(530)](((t,e)=>{const i=s,r=n[i(592)][i(459)](i(379)+t.id),o=n[i(592)][i(459)](i(379)+e.id);return r[i(353)][i(570)](o[i(353)])?-1:r[i(353)][i(439)](o[i(353)])?1:r[i(628)][i(570)](o[i(628)])?-1:r[i(628)][i(439)](o[i(628)])?1:i(512)===t[i(405)]?-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(324)]:null,d=i===t[o(464)]-1,f=h[e][0],m=c[o(642)](t[i][o(367)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(628)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(324)]!==u&&(l[e][o(628)]=n,f&&f[o(324)]===l[e][o(324)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(375)!==t[i][o(405)]||f&&f[o(324)]===u||h[e][o(431)]({userId:u,object:t[i][o(367)],change:l[e]}),o(546)===t[i][o(405)]&&f&&f[o(502)]===t[i][o(367)]&&(h[e][o(505)](),l[e]=f[o(554)])),l[e]&&d&&(l[e][o(628)]=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(367)],f=a[h(442)][h(513)](d)&&!a[h(442)][h(394)](d),m=t[h(556)]==o[h(588)]&&o[h(580)];if(f&&m)return;const p=a[h(468)](t,o),v=e[h(459)](u),g=new Bt({author:v,type:h(345)==l||h(469)==l?h(512):h(388),data:{isSuggestion:h(469)==l||h(568)==l},createdAt:new Date,rootName:i});r[h(336)](g),n[h(592)][h(591)](h(379)+g.id,p)}function v(t,e){const i=s,n=t[i(596)](),r=e[i(596)]();for(const t of n){if(t[1]!==e[i(488)](t[0]))return!1;r[i(624)]()}return r[i(624)]()[i(347)]}}[Qt(557)](){const t=Qt;this[t(561)][t(449)][t(614)](t(641))[t(567)]({view:t(361)}),this[t(561)][t(449)][t(614)](t(325))[t(499)]({model:t(361),view:e=>{const i=t,s=e[i(365)][i(434)](":")[1],n=this[i(539)](s);if(!n)return null;const r=i(512)==n[i(405)]?i(526):i(453),o=[i(458),i(381)+r];return n[i(340)][i(479)]&&o[i(336)](i(381)+r+i(370)),this[i(396)]==n&&o[i(336)](i(635)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(561)][t(449)][t(614)](t(641))[t(512)]((e=>{const i=t;e.on(i(605),((t,e,s)=>{const n=i,r=e[n(378)][n(467)](0);if(!r||!r.is(n(399),n(406)))return;if(!s[n(474)][n(571)](r,{attributes:[n(607),n(555)]}))return;const o=e[n(470)][n(353)][n(556)];s[n(480)][n(426)](n(607),r[n(488)](n(607)),o),s[n(480)][n(426)](n(555),r[n(488)](n(555)),o)}),{priority:i(573)})})),this[t(561)][t(449)][t(614)](t(641))[t(512)]((e=>{const i=t;e.on(i(399),((t,e,s)=>{const n=i;if(!s[n(474)][n(571)](e[n(378)],{attributes:[n(607),n(555)]}))return;if(e[n(470)][n(586)])return;const r=e[n(470)][n(353)][n(556)];r[n(334)](n(607))||r[n(334)](n(393))||(s[n(480)][n(426)](n(607),e[n(378)][n(488)](n(607)),r),s[n(480)][n(426)](n(555),e[n(378)][n(488)](n(555)),r))}),{priority:i(573)})})),this[t(561)][t(449)][t(614)](t(641))[t(328)]({view:{name:t(633),attributes:{vid:!0}},model:{key:t(393),value:e=>e[t(488)](t(393))}}),this[t(561)][t(356)][t(442)].on(t(508),((e,[,i])=>{const s=t;[s(607),s(555),s(393)][s(421)](i)&&(e[s(447)]=!0,e[s(489)]())}),{priority:t(536)}),this[t(561)][t(449)][t(614)](t(517))[t(512)]((e=>{const i=t;e.on(i(562),((t,e,s)=>{const n=i;if(" "!=e[n(367)][n(340)]||e[n(367)][n(588)][n(481)]>1)return;if(!s[n(474)][n(571)](e[n(367)],t[n(413)]))return;const r=s[n(480)],o=s[n(373)][n(384)](e[n(606)]);r[n(552)](o,r[n(452)](n(633)))}))})),this[t(561)][t(449)][t(614)](t(517))[t(559)]({model:t(361)}),this[t(561)][t(595)][t(369)].on(t(483),function(e){const i=t,s=e[i(493)][i(459)](i(430));return(t,n,r)=>{const o=i,a=n[o(365)][o(434)](":")[1],c=s[o(539)](a);if(!c)return null;const u=o(512)==c[o(405)]?o(434):o(333);if(!r[o(474)][o(579)](n[o(647)],t[o(413)]))return;const l=n[o(647)][o(525)](),h=n[o(647)][o(353)],d=e[o(356)][o(442)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(367)];p=p||d[o(414)](e);const i=r[o(373)][o(584)](e);if(i&&i[o(638)](o(448)))return;o(546)==t[o(405)]&&d[o(513)](e)&&!d[o(394)](e)&&(e[o(487)]||h[o(598)]?f&&f[o(588)]==e||(f=e,g(t[o(330)]),v=!0):m=m||t[o(330)])}function g(t){const e=o,i=r[e(480)][e(619)](e(633),{class:e(381)+u}),a=r[e(373)][e(520)](t);c[e(340)][e(479)]&&r[e(480)][e(364)](e(381)+u+e(370),i),s[e(396)]==c&&r[e(480)][e(364)](e(635),i),r[e(480)][e(432)](a,i),r[e(373)][e(510)](i,n[e(365)])}p||v||!m||g(m)}}(this[t(561)]),{priority:t(420)}),this[t(561)][t(595)][t(369)].on(t(550),((e,i,s)=>{const n=t,r=s[n(373)][n(409)](i[n(365)]);if(r)for(const t of r)(t[n(583)](n(645))||t[n(583)](n(407)))&&(s[n(373)][n(581)](t,i[n(365)]),s[n(480)][n(388)](t))}),{priority:t(420)}),this[t(561)][t(595)][t(369)].on(t(483),((e,i,s)=>{const n=t,r=i[n(365)][n(434)](":")[1],o=this[n(539)](r);if(!o)return null;const a=n(512)==o[n(405)]?n(434):n(333);if(s[n(474)][n(579)](i[n(647)],e[n(413)]))for(const t of i[n(647)][n(350)]()){if(!t.is(n(399),n(346)))continue;const e=s[n(480)][n(619)](n(633),{class:n(381)+a}),r=s[n(373)][n(520)](this[n(561)][n(356)][n(623)](t));o[n(340)][n(479)]&&s[n(480)][n(364)](n(381)+a+n(370),e),this[n(396)]==o&&s[n(480)][n(364)](n(635),e),s[n(480)][n(432)](r,e),s[n(373)][n(510)](e,i[n(365)])}}),{priority:t(420)}),this[t(561)][t(356)][t(600)].on(t(554),(()=>{const e=t;this[e(561)][e(595)][e(578)][e(554)]((t=>{const i=e;for(const e of this[i(561)][i(356)][i(600)][i(363)]()){const s=this[i(561)][i(356)][i(600)][i(551)](e),n=this[i(561)][i(595)][i(578)][i(600)][i(551)](e);if(n){const e=s[i(488)](i(465));if(t[i(349)](i(358),n),t[i(611)](i(629),n),t[i(611)](i(461),n),t[i(611)](i(528),n),e){const s=this[i(539)](e);if(!s)return null;t[i(426)](i(358),e,n),t[i(364)](i(529)+s[i(405)],n),this[i(396)]==s&&t[i(364)](i(528),n)}}}}))})),this[t(561)][t(449)][t(614)](t(641))[t(567)]({view:t(462),model:e=>t(543)+e,converterPriority:t(536)}),this[t(561)][t(449)][t(614)](t(641))[t(567)]({view:t(450),model:e=>t(484)+e,converterPriority:t(536)}),this[t(561)][t(449)][t(614)](t(517))[t(559)]({model:t(475),view:e=>({name:t(341)+e,group:t(475)}),converterPriority:t(536)}),this[t(561)][t(449)][t(614)](t(325))[t(499)]({model:t(475),view:e=>{const i=t,s=e[i(365)][i(434)](":")[1];return i(526)!=s&&i(453)!=s?null:{classes:[i(360),i(386)+s]}}}),this[t(561)][t(595)][t(369)].on(t(575),ie(this[t(561)],t(333)),{priority:t(420)}),this[t(561)][t(595)][t(369)].on(t(563),ie(this[t(561)],t(434)),{priority:t(420)}),this[t(561)][t(595)][t(369)].on(t(538),((e,i,s)=>{const n=t,r=s[n(373)][n(409)](i[n(365)]);if(r)for(const t of r)t.is(n(443))&&(s[n(373)][n(581)](t,i[n(365)]),s[n(480)][n(388)](t))}),{priority:t(420)})}[Qt(539)](t){const e=Qt;return this[e(354)][e(459)](t)}[Qt(342)](t){const e=Qt;return this[e(521)]&&this[e(521)][e(646)](),this[e(521)]=new zt(this[e(561)][e(437)],t),this[e(521)]}[Qt(408)](){const t=Qt;this[t(561)][t(356)][t(600)][t(419)][t(640)](t(361)),this.on(t(352),((e,i,s,n)=>{const r=t;n&&this[r(625)][r(388)](n),s&&(this[r(625)][r(512)]({view:s,stackId:r(541),position:{target:()=>{const t=r,e=this[t(561)][t(595)],i=this[t(539)](s[t(428)]);let n;if(i[t(340)][t(612)]){const s=e[t(578)][t(599)](i[t(637)]);n=Array[t(577)](s[t(385)]())}else{const i=this[t(561)][t(356)][t(592)][t(459)](t(379)+s[t(428)]);n=Array[t(577)](e[t(373)][t(409)](i[t(413)]))[t(604)]((i=>e[t(578)][t(425)][t(498)](i)))[t(604)]((e=>Array[t(577)](e[t(385)]())))[t(343)]()}return this[t(457)]&&n[t(491)]((e=>e[t(344)]-3<=this[t(457)].y&&e[t(366)]+3>=this[t(457)].y&&e[t(446)]-3<=this[t(457)].x&&e[t(451)]+3>=this[t(457)].x))||n[0]}}}),this[r(625)][r(501)](r(541)))})),this.on(t(620),((e,i,s,n)=>{const r=t;this[r(357)]=s?this[r(342)](s):null,this[r(561)][r(356)][r(554)]((()=>{const t=r,e=this[t(561)][t(595)];n&&(n[t(340)][t(612)]?e[t(578)][t(554)]((i=>{const s=t;i[s(611)](s(528),e[s(578)][s(600)][s(551)](n[s(637)]))})):e[t(533)](t(379)+n.id)),s&&(s[t(340)][t(612)]?e[t(578)][t(554)]((i=>{const n=t;i[n(364)](n(528),e[n(578)][n(600)][n(551)](s[n(637)]))})):e[t(533)](t(379)+s.id))}))})),this[t(398)](this[t(561)][t(595)][t(578)][t(600)],t(374),((e,i)=>{const s=t;if(this[s(396)])return;const n=this[s(613)](i[s(609)]),r=this[s(354)][s(459)](n);r?(this[s(457)]={x:i[s(650)].x,y:i[s(650)].y},this[s(357)]=this[s(342)](r)):(this[s(457)]=null,this[s(357)]=null)})),this[t(398)](this[t(561)][t(595)][t(578)][t(600)],t(472),((e,i)=>{const s=t,n=this[s(613)](i[s(609)]),r=this[s(354)][s(459)](n);r?(this[s(457)]={x:i[s(650)].x,y:i[s(650)].y},r===this[s(396)]?this[s(625)][s(392)]():this[s(396)]=r):(this[s(457)]=null,this[s(396)]=null)}))}[Qt(613)](t){const e=Qt;do{const i=t[e(488)](e(358));if(i)return i;t=t[e(588)]}while(t);return null}[Qt(594)](){const t=Qt;this[t(561)][t(356)][t(554)]((e=>{const i=t;for(const t of this[i(561)][i(356)][i(592)])e[i(424)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(474)][r(579)](s[r(647)],i[r(413)]))return;const o=s[r(647)][r(525)](),a=s[r(647)][r(353)],c=t[r(356)][r(442)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(367)];h=h||c[r(414)](e);const i=n[r(373)][r(584)](e);if(i&&i[r(638)](r(448)))return;r(546)==t[r(405)]&&c[r(513)](e)&&!c[r(394)](e)&&(e[r(487)]||a[r(598)]?u&&u[r(588)]==e||(u=e,f(t[r(330)]),d=!0):l=l||t[r(330)])}function f(t){const i=r,o=n[i(373)][i(520)](t),a=n[i(480)][i(619)](i(633),{class:i(386)+e});n[i(480)][i(432)](o,a),n[i(373)][i(510)](a,s[i(365)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(493)][e(459)](ee);this[e(532)]=!1,this[e(398)](i,e(335),(()=>this[e(524)]())),this[e(398)](i,e(383),(()=>this[e(524)]()))}[Qt(362)](){const t=Qt,e=this[t(561)],i=e[t(493)][t(459)](ee),s=i[t(445)]?i[t(636)][t(548)]:null;e[t(497)][t(459)](t(507))[t(411)](s)}[Qt(524)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(561)][t(493)][t(459)](ee),r=n&&s[t(608)](n[t(548)]);this[t(522)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(492)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(493)][i(459)](ee);this[i(532)]=!1,this[i(492)]=i(372)===e?1:-1,this[i(398)](s,i(335),(()=>this[i(524)]())),this[i(398)](s,i(383),(()=>this[i(524)]())),this[i(398)](s,i(620),(()=>this[i(524)]()))}[Qt(362)](){const e=Qt,i=this[e(561)],s=i[e(493)][e(459)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(396)]=n?s[e(636)][e(576)][e(459)](r+this[e(492)]):s[e(636)][e(576)][e(338)],s[e(396)][e(340)][e(612)])o=i[e(595)][e(578)][e(599)](s[e(396)][e(637)]);else{const t=i[e(356)][e(592)][e(459)](e(379)+s[e(396)].id);o=(0,Z.getMarkerDomElement)(i[e(595)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(524)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(561)][t(493)][t(459)](ee);this[t(522)]=!!(r&&n&&s)&&(!e||(1===this[t(492)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["EDIT_X_OF_Y_REVISIONS","X_OF_Y_CHANGES","bind","2222yacOrS","645824lBvdqm","isReady","NUMBER_OF_CHANGES","Total","Show previous change","execute","isBackwardNavigationEnabled","150SmQgZM","_statusText","ck-revision-history-ui__changes-navigation__navigation","ck-hidden","8RCahhZ","ck-revision-history-ui__changes-navigation","684XTbeDQ","Show next change","246954FoNPBU","5041022jwxzFm","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","96003vqyWBd","currentChangeNumber","18HZebwa","isEnabled","backward","isNavigationMode","350985WgpQBZ","ck-revision-history-ui","No changes","forward","numberOfChanges","span","Loading...","set","bindTemplate","ck-revision-history-ui__changes-navigation__label","57648QUIdeA","div","5409nQlMLX","_isStatusLabelVisible","fire","setTemplate"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=233]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(594543===parseInt(e(266))/1*(parseInt(e(262))/2)+parseInt(e(243))/3*(parseInt(e(264))/4)+parseInt(e(276))/5*(-parseInt(e(272))/6)+parseInt(e(267))/7+-parseInt(e(251))/8+-parseInt(e(270))/9*(parseInt(e(258))/10)+parseInt(e(250))/11*(-parseInt(e(241))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(239)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(238)](e(275),!1),this[e(238)](e(252),!1),this[e(238)](e(271),0),this[e(238)](e(235),0),this[e(238)](e(268),!1),this[e(238)](e(257),!1),this[e(249)](e(244)).to(this,e(252),this,e(235),((t,e)=>t&&e>0)),this[e(249)](e(259)).to(this,e(252),this,e(271),this,e(235),this,e(275),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(237));if(!n)return X(t,o(233));const a=X(t,o(253),n);return r?X(t,o(248),[s+1,n]):a})),s[e(238)]({label:X(t,e(255)),tooltip:!0,icon:mt.IconChevronUp}),n[e(238)]({label:X(t,e(265)),tooltip:!0,icon:mt.IconChevronDown}),s[e(249)](e(273)).to(this,e(257)),n[e(249)](e(273)).to(this,e(268)),s.on(e(256),(()=>this[e(245)](e(256),e(274)))),n.on(e(256),(()=>this[e(245)](e(256),e(234)))),this[e(246)]({tag:e(242),attributes:{class:["ck",e(277),e(263)]},children:[{tag:e(236),attributes:{class:[e(269)]},children:[{tag:e(236),attributes:{class:[e(240),i.if(e(244),e(261),(t=>!t))]},children:[{text:i.to(e(275),(i=>i?X(t,e(247))+": ":X(t,e(254))+": "))}]},{text:i.to(e(259))}]},new pt.ToolbarSeparatorView,{tag:e(242),attributes:{class:[e(260)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=pe();return(fe=function(t,e){return i[t-=161]})(t,e)}!function(t){const e=fe,i=t();for(;;)try{if(317864===parseInt(e(177))/1*(parseInt(e(181))/2)+parseInt(e(170))/3*(parseInt(e(168))/4)+parseInt(e(161))/5+parseInt(e(180))/6*(-parseInt(e(163))/7)+parseInt(e(174))/8*(-parseInt(e(164))/9)+-parseInt(e(187))/10*(parseInt(e(178))/11)+-parseInt(e(165))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=de(173);function pe(){const t=["12rJbijg","editor","editing","ck-editor__editable__loading-overlay","155752VjXvZH","RevisionViewerLoadingOverlay","document","1WGoDQU","11PsKiQf","pluginName","9264bFHoUN","684762Mnhmeo","view","addClass","isOfficialPlugin","roots","change","3188190ceIBYv","2797190WpPyoo","isPremiumPlugin","532mkayUX","72GzSFcw","1969392yCOsTu","show","hide","172076HtBjZh","removeClass"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[de(179)](){return de(175)}static get[de(184)](){return!0}static get[de(162)](){return!0}[de(166)](){const t=de,e=this[t(171)][t(172)][t(182)];e[t(186)]((i=>{const s=t;for(const t of e[s(176)][s(185)])i[s(183)](me,t)}))}[de(167)](){const t=de,e=this[t(171)][t(172)][t(182)];e[t(186)]((i=>{const s=t;for(const t of e[s(176)][s(185)])i[s(169)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=290]})(t,e)}function ke(){const t=["3302166ayexmz","279881HWtTjS","isBackwardNavigationEnabled","showPreviousChange","config","editor","closeRevisionViewerCallback","listenTo","restoreRevision","commands","bind","660jpcthy","923580qiZLcK","2173xwrjLe","isEnabled","ck-revision-history-ui__back-to-editing","changesNavigation","767277lSEwPs","get","numberOfChanges","2721470dDbBuy","componentFactory","currentChangeNumber","isNavigationMode","isOfficialPlugin","showNextChange","add","3094848acxTqn","pluginName","isPremiumPlugin","forward","exitToEditing","requires","RevisionViewerUI","isForwardNavigationEnabled","Restore this revision","hide","show","Back to editing","init","set","execute","24hgXfsQ","change:isReady","isReady","plugins","revisionHistory"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(393111===parseInt(e(326))/1*(-parseInt(e(324))/2)+parseInt(e(325))/3+parseInt(e(293))/4+parseInt(e(333))/5+-parseInt(e(313))/6+-parseInt(e(314))/7*(-parseInt(e(308))/8)+-parseInt(e(330))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(294)](){return ge(299)}static get[ge(290)](){return!0}static get[ge(295)](){return!0}static get[ge(298)](){return[ee,ve]}[ge(305)](){const t=ge,e=this[t(318)],i=e[t(311)][t(331)](ee),s=e[t(311)][t(331)](ve);e.ui[t(334)][t(292)](t(297),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(306)]({label:X(i,s(304)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(328)}),this[s(320)](n,s(307),(()=>{const t=s;e[t(317)][t(331)](t(312))[t(319)]()})),n})),e.ui[t(334)][t(292)](t(321),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(306)]({label:X(i,s(301)),withText:!0,tooltip:!0}),n[s(323)](s(327)).to(e[s(322)][s(331)](s(321))),this[s(320)](n,s(307),(()=>e[s(307)](s(321)))),n})),e.ui[t(334)][t(292)](t(329),(s=>{const n=t,r=new ue(s),o=e[n(322)][n(331)](n(316)),a=e[n(322)][n(331)](n(291));return r[n(323)](n(315)).to(o,n(327)),r[n(323)](n(300)).to(a,n(327)),r[n(323)](n(310),n(335),n(332),n(336)).to(i),this[n(320)](r,n(307),((t,i)=>{const s=n;e[s(307)](s(296)===i?s(291):s(316))})),r})),s[t(303)](),i.on(t(309),((e,i,n)=>{const r=t;n?s[r(302)]():s[r(303)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=164]})(t,e)}function Oe(){const t=["extendTemplate","listenTo","_tooltipString","clientWidth","34429eEgsWG","1554892zQwzRW","destroy","ck-revision-history-sidebar__revision-name","bindTemplate","_resizeObserver","span","6441306kHcBxW","_updateTooltipText","Revision name","18730300HIdwOf","fieldView","value","element","ck-tooltip_multi-line","placeholder","30tgBQFz","10704432PWkvZd","render","input","10011771ufoCRi","Enter the revision name","5SVdMLg","2399193WydErf","set","18XvfMzo","scrollWidth"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(767817===parseInt(e(175))/1*(-parseInt(e(191))/2)+parseInt(e(167))/3+-parseInt(e(176))/4*(-parseInt(e(166))/5)+parseInt(e(182))/6+parseInt(e(164))/7+parseInt(e(192))/8+parseInt(e(169))/9*(-parseInt(e(185))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(180)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(179)];this[i(168)]({label:X(t,i(184)),_tooltipString:""}),this[i(186)][i(190)]=X(t,i(165)),this[i(171)]({tag:i(181),attributes:{class:[i(178)],"data-cke-tooltip-text":s.to(i(173)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(189)}})}[Ie(193)](){const e=Ie;super[e(193)](),this[e(180)]=new t.ResizeObserver(this[e(186)][e(188)],(()=>this[e(183)]())),this[e(172)](this[e(186)],e(194),(()=>this[e(183)]()))}[Ie(177)](){const t=Ie;super[t(177)](),this[t(180)]&&this[t(180)][t(177)]()}[Ie(183)](){const t=Ie,e=this[t(186)][t(188)];this[t(173)]=e[t(170)]>e[t(174)]&&e[t(187)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(){const t=["2oHlrAj","0 0 11 10","ck-revision-history-sidebar__revision-author","312313lVJFAW","146469oCwzwR","span","Revision creator","setTemplate","2701332UZSKIE","1730GFgaVi","2688732UhWbRf","371485DZvObk","set","Revision author","ck-revision-history-sidebar__revision-author_creator","name","push","20999Zhukdi","8RiDqIB","600fwDuNv","ck-revision-history-sidebar__revision-author__name","34328nNlmIH"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=483]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(276083===-parseInt(e(483))/1+parseInt(e(502))/2*(-parseInt(e(484))/3)+-parseInt(e(498))/4*(parseInt(e(491))/5)+parseInt(e(490))/6+parseInt(e(501))/7*(parseInt(e(499))/8)+parseInt(e(488))/9+-parseInt(e(489))/10*(parseInt(e(497))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Me extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(492)]({content:mt.IconUser,viewBox:s(503)});const r=["ck",s(504)];i&&r[s(496)](s(494));const o=[{tag:s(485),attributes:{class:["ck",s(500)],title:X(t,s(i?486:493))},children:[n,e[s(495)]]}];this[s(487)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){var t=["long","4482192BhNOVo","6300387bHPQoz","numeric","4440342zvHyFs","toLocaleDateString","88qJVmxr","toLocaleTimeString","951552KmRIxu","193124DPkcGD","176260zdDkII","10lWYYFt","2332500bqRFqx"];return(Ve=function(){return t})()}function Ee(t,e){var i=Ve();return(Ee=function(t,e){return i[t-=367]})(t,e)}!function(t){for(var e=Ee,i=t();;)try{if(499312===parseInt(e(374))/1*(parseInt(e(372))/2)+-parseInt(e(375))/3+-parseInt(e(369))/4*(-parseInt(e(373))/5)+-parseInt(e(367))/6+parseInt(e(371))/7+-parseInt(e(377))/8+parseInt(e(378))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=327]})(t,e)}function je(){const t=["class","items","904703MIWsJC","ck-revision-history-sidebar__revision__actions","2WPfHsy","name","Name this revision","action","isEnabled","8549937PukZsI","Compare against selected","function","panelPosition","241109FcZxNW","50EJsjeh","listenTo","150927blmXSj","12INdfQd","children","extendTemplate","set","buttonView","execute","locale","bind","find","407495zyFwiZ","7458wwtMbC","Restore this revision","1156jgQvih","menu","isOpen","button","source","296CQEmun","isVisible","Show more items","56256MGpxjv","isReady","_action","1781xkuMzc","ck-on","listView","change:isActionsDropdownOpen","isActionsDropdownOpen","map","first","bindTemplate","stopPropagation","menuitem","add","model"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(713446===parseInt(e(327))/1*(-parseInt(e(329))/2)+parseInt(e(352))/3*(-parseInt(e(354))/4)+parseInt(e(351))/5*(-parseInt(e(342))/6)+-parseInt(e(341))/7*(-parseInt(e(359))/8)+parseInt(e(334))/9+-parseInt(e(339))/10*(-parseInt(e(338))/11)+-parseInt(e(362))/12*(-parseInt(e(365))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=119]})(t,e)}function Ue(){const t=["ck-revision-history-sidebar__revision-wrapper_confirmation_visible","element","11moTJFf","highlight","unhighlight","123280vMziJO","220174NiYcKp","220","ck-revision-history-sidebar__revision_highlighted","uiLanguage","div","authors","setTemplate","srcElement","setName","isConfirm","createdAt","395768dhfNdp","ck-reset","ck-revision-history-sidebar__revision-wrapper","ck-disabled","filter","ck-revision-history-sidebar__revision_selected","207296lPmWPE","from","203mCtBsp","isEnabled","fieldView","deselect","ck-revision-history-sidebar__revision-authors","3867347DnXSQt","801ZmlSlZ","creator","1476qidXSY","revisionActionsView","length","extendTemplate","bindTemplate","closest","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","3GCXnUW","set","value","select","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","render","unshift","17530leGlOQ","change","15329928KcmAoB","isHighlighted","listenTo",".ck-thread__remove-confirm","_createdAtFormatted","fire","bind","ck-revision-history-sidebar__revision__date","_revision","isReady","name","isActionsDropdownOpen","ck-revision-history-sidebar__revision","_requireRevisionName","span","map"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(730005===parseInt(e(174))/1*(parseInt(e(178))/2)+parseInt(e(146))/3*(-parseInt(e(128))/4)+-parseInt(e(154))/5*(-parseInt(e(138))/6)+parseInt(e(130))/7*(parseInt(e(122))/8)+-parseInt(e(136))/9*(parseInt(e(177))/10)+-parseInt(e(135))/11+-parseInt(e(156))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(144)];[ze(139)];[ze(164)];[ze(169)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(142)],a=function(t,e){const i=r,s=Array[i(129)](e[i(183)])[i(126)]((t=>t!=e[i(137)]));return e[i(137)]&&s[i(153)](e[i(137)]),s[i(171)]((s=>new Me(t,s,s==e[i(137)])))}(e,i);this.id=i.id,this[r(164)]=i,this[r(169)]=n,this[r(162)](r(166),r(121)).to(i),this[r(162)](r(160)).to(this,r(121),(t=>{return i=e[r(181)],(s=t)[(n=Ee)(368)](i,{month:n(376),day:n(379)})+", "+s[n(370)](i,{hour:n(379),minute:n(379)});var i,s,n})),this[r(147)](r(150),!1),this[r(147)](r(157),!1),this[r(147)](r(167),!1),this[r(147)](r(165),!1),this[r(147)](r(131),!1),this[r(144)]=new Te(e,pt.createLabeledInputText),this[r(144)][r(132)][r(141)]({attributes:{maxlength:r(179)}}),this[r(144)][r(132)][r(162)](r(148)).to(this,r(166),(t=>t||this[r(160)])),this[r(144)][r(162)](r(131)).to(this,r(150),this,r(131),((t,e)=>t&&e)),this[r(139)]=s&&s[r(140)]?function(e,i){const s=Fe,n=e[s(372)],r=e[s(348)],o=(0,pt.createDropdown)(r);o[s(337)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(348)],n={"Compare against selected":X(s,i(335)),"Name this revision":X(s,i(331)),"Restore this revision":X(s,i(353))};return e[i(370)]((t=>{const e=i,s=n[t[e(330)]];return s&&s!==t[e(330)]&&(t[e(330)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(357),model:new pt.ViewModel({label:t[n(330)],class:t[n(377)],withText:!0,role:n(374),_action:t[n(332)]})};i[n(376)][n(349)](n(333)).to(e,n(369),(i=>n(336)!=typeof t[n(333)]||!i||t[n(333)](e))),o[n(375)](i)}return o}(e,i);return e[s(349)](s(369)).to(o,s(356)),o[s(346)][s(345)]({label:X(r,s(361)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(344)]({attributes:{class:[s(328),n.if(s(369),s(366))]},on:{click:n.to((t=>t[s(373)]()))}}),o.on(s(347),(t=>{const i=s;e[i(363)]&&i(336)==typeof t[i(358)][i(364)]&&t[i(358)][i(364)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(355)}),o[s(340)](e,s(368),((t,n,r)=>{const a=s;if(r)for(const t of o[a(367)][a(378)]){const s=t[a(343)][a(371)],n=i[a(350)]((t=>t[a(332)]===s[a(364)]))[a(360)];t[a(360)]=void 0===n||n(e)}})),o}(this,s):"",this[r(139)]&&this[r(139)][r(162)](r(131)).to(this),this[r(184)]({tag:r(182),attributes:{class:["ck",r(123),r(124),o.if(r(120),r(172))]},children:[{tag:r(182),attributes:{class:["ck",r(123),r(168),o.if(r(131),r(125),(t=>!t)),o.if(r(150),r(127)),o.if(r(157),r(180)),o.if(r(167),r(145))]},children:[this[r(144)],{tag:r(170),attributes:{class:["ck",r(163)]},children:[{text:o.to(r(160))}]},{tag:r(182),attributes:{class:["ck",r(151)]},children:[{tag:"ul",attributes:{class:["ck",r(134)]},children:a}]},this[r(139)]],on:{click:o.to((t=>{const e=r;t[e(185)][e(143)](e(159))||this[e(165)]&&this[e(131)]&&this[e(161)](e(149),{id:this.id})}))}}]})}[ze(152)](){const t=ze;super[t(152)]();const e=this[t(144)][t(132)][t(173)];this[t(158)](e,t(155),(()=>{const i=t;this[i(169)]&&!e[i(148)]||this[i(161)](i(119),{id:this.id,name:e[i(148)]}),e[i(148)]||(e[i(148)]=this[i(166)]?this[i(166)]:this[i(160)])}))}[ze(149)](){this[ze(150)]=!0}[ze(133)](){this[ze(150)]=!1}[ze(175)](){this[ze(157)]=!0}[ze(176)](){this[ze(157)]=!1}}class He extends Error{}class Be extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},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=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return qs(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=xi[e];"era"===e?s[r]=n:_s(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,(Ps({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 Ai={};let Mi={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function ji(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=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{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&&Ri.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=Vi(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 zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[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 Wi={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||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Mi={},Ei={},Di={}}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=Vi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Vi(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,Rs(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 ji(this,t,Qs,(()=>{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=io.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 ji(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[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=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}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 Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(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 Bi extends Ii{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 $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Bi(t)}const qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={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]},Gi=qi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${qi[i]}${e}`)),Ji[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){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 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 Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Je("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Vs(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(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?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(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 zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(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 Hs(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 Bs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Bs(n)}return i}function qs(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}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["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"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];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 Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Ms(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Vs(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Vs(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?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 Mn(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(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Vn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Vs(e)):Vs(e),month:Js.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(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 Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Vn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(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$/,jn=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),Bn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),qn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;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 lr.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 lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Gn])}(t);return i?lr.fromObject(i,e):lr.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 as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new lr({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 Ge(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?hn.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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]=Bs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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 rr)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 hr="Invalid Interval";class dr{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 as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.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:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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(qi.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.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=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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(Ns(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;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(t.u)||(t.S=Ds(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(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Mr=864e13;function Vr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 jr(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 Fr(Ps(t),e,i)}function Pr(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=lr.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=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.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+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Br={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["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 Ge(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of qr)_s(t[e])&&(t[e]=Hr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Lr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 Xr(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Vr(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("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 io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Vr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.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(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Yr,v=Br,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=qr,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,Bn],[Un,$n],[Zn,qn],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(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}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,Bn],[Kn,Qn])}(t);return zr(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 as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Ps(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=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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 Cr(this,{ts:s,zone:t})}return io.invalid(Vr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.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+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(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":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(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")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[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 lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.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 Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.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(_s(t)||_s(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?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=145]})(t,e)}function ro(){const t=["18vxWUeH","year","12hBqPjF","14096EgDBbF","minus","startOf","23375rvUBkG","24CZyiiS","fromJSDate","912447wXfmaZ","toRelativeCalendar","weekdayLong","month","week","day","487851hJkTcx","local","9zdynyK","toJSDate","295043vvWzid","2QESUGv","hasSame","setLocale","1054665HLZlMQ","monthLong","1809130kfqExY"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(165)](t)[i(153)](e),n=io[i(147)](),r=n[i(161)]({days:1})[i(162)](i(145));let o,a;return s[i(152)](n,i(145))?(o=s[i(162)](i(145))[i(149)](),a=s[i(167)]()):s[i(152)](r,i(145))?(o=r[i(149)](),a=s[i(167)]()):s[i(152)](n,i(170))?(o=s[i(162)](i(170))[i(149)](),a=s[i(168)]||""):s[i(152)](n,i(158))?(o=s[i(162)](i(169))[i(149)](),a=s[i(155)]||""):(o=s[i(162)](i(158))[i(149)](),a=String(s[i(158)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(282154===parseInt(e(146))/1*(parseInt(e(151))/2)+-parseInt(e(148))/3*(-parseInt(e(160))/4)+-parseInt(e(154))/5+-parseInt(e(157))/6*(parseInt(e(150))/7)+-parseInt(e(164))/8*(-parseInt(e(166))/9)+-parseInt(e(156))/10+parseInt(e(163))/11*(-parseInt(e(159))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=351]})(t,e)}function ho(){const t=["1043352MTzffX","55QAneQg","933hsOcqy","createCollection","setTemplate","ck-revision-history-sidebar__time-period__label","localizedPeriodName","_requireRevisionName","8516tmcqtM","removeRevision","revisionViews","_revisionActions","find","ck-revision-history-sidebar__time-period__revisions","delegate","addRevision","startDate","2763884xEIIqs","setName","3448190mAKZSl","96fDSWhV","span","ck-revision-history-sidebar__time-period","12171040hxsoMy","select","add","remove","78Sdcmlp","122660LahMGY","div","locale","149096OYEHYz","uiLanguage"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(883844===-parseInt(e(375))/1+-parseInt(e(361))/2+-parseInt(e(379))/3*(-parseInt(e(352))/4)+-parseInt(e(372))/5*(parseInt(e(371))/6)+parseInt(e(367))/7+-parseInt(e(364))/8*(parseInt(e(377))/9)+parseInt(e(363))/10*(parseInt(e(378))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(360)];[uo(354)];[uo(355)];[uo(351)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(374)][n(376)])[n(383)];this[n(360)]=e,this[n(354)]=this[n(380)](),this[n(355)]=i,this[n(351)]=s,this[n(354)][n(358)](n(368)).to(this),this[n(354)][n(358)](n(362)).to(this),this[n(381)]({tag:n(373),attributes:{class:["ck",n(366)]},children:[{tag:n(365),attributes:{class:["ck",n(382)]},children:[{text:r}]},{tag:n(373),attributes:{class:["ck",n(357)]},children:this[n(354)]}]})}[uo(359)](t){const e=uo,i=new Ze(this[e(374)],t,this[e(355)],this[e(351)]);this[e(354)][e(369)](i)}[uo(353)](t){const e=uo,i=this[e(354)][e(356)]((e=>e.id===t.id));this[e(354)][e(370)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;!function(t){const e=go,i=t();for(;;)try{if(511808===-parseInt(e(326))/1+-parseInt(e(339))/2*(parseInt(e(337))/3)+-parseInt(e(342))/4+parseInt(e(325))/5*(-parseInt(e(333))/6)+parseInt(e(336))/7+parseInt(e(328))/8*(-parseInt(e(335))/9)+parseInt(e(338))/10*(parseInt(e(341))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yo);class vo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(329)]=mt.IconHistory,this[e(340)]({tag:e(324),attributes:{class:["ck",e(331),e(332)]},children:[i,{tag:e(334),attributes:{class:["ck",e(330)]},children:[X(t,e(327))]}]})}}function go(t,e){const i=yo();return(go=function(t,e){return i[t-=324]})(t,e)}function yo(){const t=["div","3241365OEvrYD","226071mkUVKy","Revision history","7232376UMzETm","content","ck-revision-history-sidebar__header__label","ck-reset_all","ck-revision-history-sidebar__header","6tpBqrF","span","9amMykI","2903838VtYWxO","2035008xqKtcV","34930990SzsMXs","2Qhapng","setTemplate","11HbADHf","3757592HkWWUA"];return(yo=function(){return t})()}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=468]})(t,e)}function Io(){const t=["29213IYHscC","_addRevision","addRevision","bindTemplate","1359570XcUurV","516348rLyjrR","createCollection","ck-disabled","deselect","some","revisionViews","locale","setTemplate","delegate","_revisionActions","ck-revision-history-sidebar__timeline","startDate","div","397270LLXxpP","fire","_getTimePeriodViewByStartDate","getTime","revisionSetName","map","_requireRevisionName","27NRNdFa","121268QpdjjO","isEnabled","highlightRevisions","507102NaabVd","_revisions","remove","select","add","createdAt","timePeriodViews","flat","removeRevision","ck-reset","56IVgtcY","setName","selectRevision","get","unhighlight","ck-rounded-corners","render","ck-revision-history-sidebar","_removeRevision","193123UZpeAo","find","set","uiLanguage","revisionSelected","highlight"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(155077===parseInt(e(481))/1+-parseInt(e(499))/2+parseInt(e(506))/3*(parseInt(e(507))/4)+parseInt(e(485))/5+-parseInt(e(510))/6+-parseInt(e(475))/7*(parseInt(e(520))/8)+parseInt(e(486))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(516)];[wo(511)];[wo(495)];[wo(505)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(484)];this[n(516)]=this[n(487)](),this[n(516)][n(494)](n(513)).to(this),this[n(516)][n(494)](n(521)).to(this),this[n(511)]=e,this[n(495)]=i,this[n(505)]=s,this.on(n(513),((t,e)=>{const i=n;this[i(500)](i(479),e)})),this.on(n(521),((t,e)=>{const i=n;this[i(500)](i(503),e)})),this[n(477)](n(508),!1),this[n(493)]({tag:n(498),attributes:{class:["ck",n(519),n(471),n(473)]},children:[new vo(t),{tag:n(498),attributes:{class:["ck",n(496),r.if(n(508),n(488),(t=>!t))]},children:this[n(516)]}]})}[wo(472)](){const t=wo;super[t(472)]();for(const e of this[t(511)])this[t(482)](e);this[t(511)].on(t(514),((e,i)=>{this[t(482)](i)})),this[t(511)].on(t(512),((e,i)=>{this[t(474)](i)}))}get[wo(491)](){const t=wo;return this[t(516)][t(504)]((e=>e[t(491)][t(504)]((t=>t))))[t(517)]()}[wo(468)](t){const e=wo;for(const i of this[e(491)])t&&t.id===i.id?i[e(513)]():i[e(489)]()}[wo(509)](t){const e=wo;for(const i of this[e(491)])t[e(490)]((({id:t})=>t===i.id))?i[e(480)]():i[e(470)]()}[wo(482)](t){const e=wo,i=oo(t[e(515)],this[e(492)][e(478)])[e(497)];let s=this[e(516)][e(469)](0);s&&s[e(497)][e(502)]()===i[e(502)]()||(s=new fo(this[e(492)],i,this[e(495)],this[e(505)]),this[e(516)][e(514)](s)),s[e(483)](t)}[wo(474)](t){const e=wo,i=oo(t[e(515)],this[e(492)][e(478)])[e(497)];this[e(501)](i)[e(518)](t)}[wo(501)](t){const e=wo;return this[e(516)][e(476)]((i=>i[e(497)][e(502)]()===t[e(502)]()))}}const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=174]})(t,e)}function xo(){const t=["90378HllymS","action","defaultRevisionActions","_handleEditorDataReady","remove","compare","get","focus","restoreRevisionCallback","_handleDiffChange","isOfficialPlugin","_revisions","appendChild","getRevision","data","fieldView","isVisible","8grchQS","isPremiumPlugin","selectRevision","_handleRevisionSetName","Compare against selected","getRevisionsInDiff","add","getEarlierVisibleRevision","revisionHistory","change:diff","Name this revision","newRevisionId","940642jLwdZo","setName","repository","diff","config","timePeriodViews","2888179LLaWFl","1otBXNa","name","string","assign","RevisionsSidebar","4839912MSFWPQ","617845AmMKYj","revisionHistory.requireRevisionName","render","isSelected","Restore this revision","revisionHistory.revisionActions","_sidebarView","getIndex","isEnabled","locale","length","2210ktGxFY","element","map","bind","revisionViews","init","pluginName","_createRevisionActions","revisionHistory.viewerSidebarContainer","listenTo","highlightRevisions","revisionSetName","nameRevision","destroy","_revisionViewer","requires","restoreRevision","plugins","compareAgainstSelected","editor","ready","_revisionsRepository","getLaterVisibleRevision","_handleRevisionSelected","availableRevisionActions","select","2806842ucloCY","revisionSelected","2753248ZwHzED","isReady"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(502920===parseInt(e(196))/1*(parseInt(e(189))/2)+parseInt(e(239))/3+-parseInt(e(177))/4*(parseInt(e(202))/5)+parseInt(e(201))/6+parseInt(e(195))/7+parseInt(e(241))/8+-parseInt(e(243))/9*(parseInt(e(213))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[Oo(227)];[Oo(234)];[Oo(208)];static[Oo(245)]=[Oo(231),Oo(229),Oo(225)];static[Oo(237)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(181),action:({plugins:e},i)=>{const s=t,n=e[s(249)](ee),r=n[s(191)];let o=n[s(192)][s(188)],a=i.id;r[s(209)](o)>r[s(209)](a)&&([o,a]=[a,o]),n[s(248)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(249)](ee);return!(n[s(191)][s(182)](n[s(192)])[s(212)]>2||i[s(205)])}},restoreRevision:{name:t(206),action:(e,{id:i})=>{const s=t;e[s(193)][s(249)](s(185))[s(251)](i)},isVisible:({plugins:e},i)=>!!e[t(249)](ee)[t(191)][t(235)](i.id)},nameRevision:{name:t(187),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(249)](ee),o=r[n(191)][n(184)](i);r[n(248)](i,o),s[n(250)](),s[n(175)][n(238)]()}}}}();static get[Oo(219)](){return Oo(200)}static get[Oo(253)](){return!0}static get[Oo(178)](){return!0}static get[Oo(228)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(227)]=t[e(230)][e(249)](ee),this[e(234)]=this[e(227)][e(191)],this[e(208)]=null}[Oo(218)](){const t=Oo,e=this[t(234)][t(254)],i=this[t(220)](),s=this[t(232)][t(193)][t(249)](t(221));this[t(208)]=new So(this[t(232)][t(211)],e,i,this[t(232)][t(193)][t(249)](t(203))),this[t(208)].on(t(240),this[t(236)][t(216)](this)),this[t(208)].on(t(224),this[t(180)][t(216)](this)),this[t(208)][t(216)](t(210)).to(this[t(227)]),this[t(208)][t(194)].on(t(183),((e,i)=>{const s=t;i[s(217)].on(s(183),((t,e)=>{const i=s;e[i(216)](i(210),i(242)).to(this[i(227)])}))})),this[t(208)][t(204)](),this[t(222)](this[t(232)][t(174)],t(233),this[t(246)][t(216)](this)),this[t(222)](this[t(227)],t(186),this[t(252)][t(216)](this)),s[t(255)](this[t(208)][t(214)])}[Oo(226)](){const t=Oo;this[t(208)][t(214)][t(247)](),this[t(208)][t(226)]()}[Oo(246)](){const t=Oo,e=this[t(234)][t(256)](0);if(e){const i=this[t(234)][t(184)](e.id);this[t(227)][t(248)](e,i)}}[Oo(236)](t,e){const i=Oo,s=this[i(234)][i(256)](e.id),n=this[i(234)][i(184)](s.id);this[i(227)][i(248)](s,n)}[Oo(180)](t,e){const i=Oo;this[i(234)][i(256)](e.id)[i(190)](e[i(197)])}[Oo(252)](t,e,i){const s=Oo,n=this[s(234)][s(182)](i);n[s(212)]>2?(this[s(208)][s(223)](n),this[s(208)][s(179)](null)):(this[s(208)][s(223)]([]),this[s(208)][s(179)](n[0]))}[Oo(220)](){const t=Oo,e=this[t(232)],i=No[t(237)],s=e[t(193)][t(249)](t(207))||No[t(245)];if(s[t(212)])return s[t(215)]((s=>{const n=t,r=n(198)==typeof s?Object[n(199)]({},i[s]):s;return r[n(244)]=r[n(244)][n(216)](this,e),r[n(176)]&&(r[n(176)]=r[n(176)][n(216)](this,e)),r}))}}const Ro=No,Ao=Mo;function Mo(t,e){const i=Vo();return(Mo=function(t,e){return i[t-=458]})(t,e)}function Vo(){const t=["toolbar","init","restore","_elementReplacer","rootName","replace","editor","22CBogDT","getRoot","15jEBkSd","destroy","85439flDVBi","_toolbarConfig","editing","isFocused","4939970rUNpaE","_initToolbar","componentFactory","element","bind","isActive","detachDomRoot","1856631egVlpm","stickyPanel","_view","1734186VDUngh","name","viewportOffset","render","document","15643539aZNnma","2145208yzUMIF","focusTracker","attachDomRoot","limiterElement","editable","viewportTopOffset","ready","2730796SJwKCX","setEditableElement","addToolbar","config","fillFromConfig","fire","view","get"];return(Vo=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(773224===-parseInt(e(466))/1*(-parseInt(e(462))/2)+parseInt(e(477))/3+-parseInt(e(493))/4+parseInt(e(464))/5*(-parseInt(e(480))/6)+-parseInt(e(470))/7+-parseInt(e(486))/8+parseInt(e(485))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends pt.EditorUI{[Ao(479)];[Ao(467)];[Ao(458)];get[Ao(499)](){return this[Ao(479)]}constructor(e,i){const s=Ao;super(e),this[s(479)]=i,this[s(467)]=(0,pt.normalizeToolbarConfig)(e[s(496)][s(500)](s(501))),this[s(458)]=new t.ElementReplacer}get[Ao(473)](){const t=Ao;return this[t(499)][t(473)]}[Ao(502)](t){const e=Ao,i=this[e(461)],s=this[e(499)],n=i[e(468)][e(499)],r=s[e(490)],o=n[e(484)][e(463)]();r[e(481)]=o[e(459)],s[e(483)]();const a=r[e(473)];this[e(494)](r[e(481)],a),s[e(490)][e(474)](e(469)).to(this[e(487)]),n[e(488)](a),this[e(458)][e(460)](t,this[e(473)]),this[e(471)](),this[e(498)](e(492))}[Ao(465)](){const t=Ao;super[t(465)]();const e=this[t(499)],i=this[t(461)][t(468)][t(499)];this[t(458)][t(503)](),i[t(476)](e[t(490)][t(481)]),e[t(465)]()}[Ao(471)](){const t=Ao,e=this[t(499)];e[t(478)][t(474)](t(475)).to(this[t(487)],t(469)),e[t(478)][t(489)]=e[t(473)],e[t(478)][t(474)](t(491)).to(this,t(482),(({top:t})=>t)),e[t(501)][t(497)](this[t(467)],this[t(472)]),this[t(495)](e[t(501)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(){var t=["3006475DaWdNK","editable","3704697SqTloa","1970409fPVVyq","_editable","stickyPanel","content","7FplBSS","top","add","93970IeWxZR","1415144wznSxr","4UnXPRv","804FCBugD","1176852vLckeZ","main","924cWpmNU","761YhtZam","shouldToolbarGroupWhenFull","6kVQnVV","toolbar","render"];return(Fo=function(){return t})()}var jo=Lo;function Lo(t,e){var i=Fo();return(Lo=function(t,e){return i[t-=363]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(660323===-parseInt(e(363))/1*(-parseInt(e(381))/2)+-parseInt(e(371))/3*(-parseInt(e(380))/4)+-parseInt(e(368))/5*(parseInt(e(365))/6)+-parseInt(e(375))/7*(parseInt(e(379))/8)+-parseInt(e(370))/9+-parseInt(e(378))/10*(-parseInt(e(384))/11)+parseInt(e(382))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[jo(372)];[jo(373)];[jo(366)];get[jo(369)](){return this[jo(372)]}constructor(t,e,i={}){var s=jo;super(t),this[s(373)]=new pt.StickyPanelView(t),this[s(366)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(364)]}),this[s(372)]=new pt.InlineEditableUIView(t,e)}[jo(367)](){var t=jo;super[t(367)](),this[t(373)][t(374)][t(377)](this[t(366)]),this[t(376)][t(377)](this[t(373)]),this[t(383)][t(377)](this[t(369)])}}function zo(){const t=["create","initialData","33824VYWPai","_ui","view","updateSourceElement","66LiOReh","editing","3265DKkEPH","config","model","249767shQspm","initPlugins","1799400dyUQSD","4793112WzTsyC","destroy","8822wwuaaE","ready","document","309wMCuBh","fire","94516QGTyJQ","init","locale","sourceElement","data","get","1253vFbiyn","createRoot"];return(zo=function(){return t})()}const Wo=Uo;function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=320]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(421786===-parseInt(e(340))/1+-parseInt(e(345))/2*(parseInt(e(348))/3)+parseInt(e(321))/4+-parseInt(e(337))/5*(parseInt(e(335))/6)+parseInt(e(327))/7*(parseInt(e(331))/8)+parseInt(e(343))/9+-parseInt(e(342))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(332)];get ui(){return this[Wo(332)]}constructor(t,e){const i=Wo;super(e),this[i(324)]=t,this[i(339)][i(347)][i(328)]();const s=new Po(this[i(323)],this[i(336)][i(333)],{shouldToolbarGroupWhenFull:!0});this[i(332)]=new Eo(this,s)}[Wo(344)](){const t=Wo;return this[t(334)](),this.ui[t(344)](),super[t(344)]()}static async[Wo(329)](t,e){const i=Wo,s=new this(t,e);return await s[i(341)](),await s.ui[i(322)](t),await s[i(325)][i(322)](s[i(338)][i(326)](i(330))||""),s[i(320)](i(346)),s}}const Ho=Bo;function Bo(t,e){const i=$o();return(Bo=function(t,e){return i[t-=129]})(t,e)}function $o(){const t=["isReadOnly","getMarkersGroup","isOpen","isPremiumPlugin","isAttached","commands","insert","update","element","changesNavigation","revision-history-missing-configuration","model","map","Restored","set","_viewerEditor","pluginName","refreshPositioning","RevisionViewer","_showRevisionViewer","catch","rootName","adapter","init","revisionHistory.showRevisionViewerCallback","1651027hthPxT","_cleanUp","plugins","DocumentOutlineUI","from","refreshVisibility","4057750QBWYff","indexOf","RevisionHistoryUtils","isAnonymous","define","document","includes","revisionHistory.editorContainer","RevisionTracker","RevisionsRepository","Autosave","_update","get","801TQjhTl","addRoot","end","removeAttribute","repository","toJSON","parse","config","Users","uiLanguage","data","Dialog","view","keys","revisionHistory.viewerEditorElement","none","display","Annotations","getRoot","hide","long","RestrictedEditingMode","addRevisionData","style","disableReadOnlyMode","remove","_closeRevisionViewer","exitToEditing","closeRevisionViewerCallback","revisionHistory.viewerContainer","isEnabled","3680116YdXSAZ","addUser","toLocaleTimeString","isOfficialPlugin","_recalculatePageBreaks","getUser","editor","RevisionViewerIntegration","revisionHistory.restoreRevisionCallback","translations","getRevision","showRevisionViewerCallback","4iVgNDl","setSelection","isReady","toVersion","create","has","isRevisionViewerOpen","revisionHistory.requireRevisionName","getRevisionRootsAttributes","lazyRoots","revision-history-viewer-opened","25BDvaQP","enqueueChange","$graveyard","removeMarker","save","_getRevisionViewerEditorConfig","fromVersion","getRevisionDocumentData","requires","roots","684975cvczEf","getAttributeKeys","toLocaleDateString","error","change","markers","numeric","_restoreRevision","users","43712GyxmuX","join","fromCharCode","315042RpNQyz","removeSelectionAttribute","getRevisions","loadRevisionData","setAttribute","saveRevision","name","_enhanceCloseRevisionViewerCallback","restrictedEditingException","RevisionHistory","enableReadOnlyMode","createRangeIn","then","createdAt","bind","locale","detachRoot","RevisionHistoryUI","801522YMNzpW","result","revisionHistory.closeRevisionViewerCallback","destroy","toolbar","DocumentOutline","selection","creator","push","PaginationLookup","revisionHistory","block","restoreRevision","_enhanceShowRevisionViewerCallback"];return($o=function(){return t})()}!function(t){const e=Bo,i=t();for(;;)try{if(487569===parseInt(e(276))/1+-parseInt(e(255))/2*(-parseInt(e(136))/3)+-parseInt(e(243))/4+parseInt(e(266))/5*(parseInt(e(154))/6)+-parseInt(e(193))/7+-parseInt(e(133))/8*(-parseInt(e(212))/9)+-parseInt(e(199))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const qo=[Ho(153),Ho(233)];class Yo extends U.Plugin{[Ho(155)];static get[Ho(184)](){return Ho(250)}static get[Ho(246)](){return!0}static get[Ho(171)](){return!0}constructor(t){const e=Ho;function i(t){const e=Bo;return t[e(180)]((t=>String[e(135)](t)))[e(134)]("")}super(t),this[e(155)]=e(214),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 Go extends U.Plugin{[Ho(183)];static get[Ho(184)](){return Ho(145)}static get[Ho(246)](){return!0}static get[Ho(171)](){return!0}static get[Ho(274)](){return[ot,jt]}constructor(e){const i=Ho;if(super(e),!this[i(249)][i(219)][i(211)](i(164)))throw new t.CKEditorError(i(178),this);this[i(183)]=null,this[i(182)](i(261),!1),this[i(249)][i(219)][i(203)](i(192),(t=>this[i(187)]({...t,translations:this[i(249)][i(151)][i(252)]}))),this[i(249)][i(219)][i(203)](i(156),(t=>this[i(238)](t))),this[i(249)][i(219)][i(203)](i(251),(t=>this[i(131)](t))),this[i(249)][i(219)][i(203)](i(262),!1),this[i(167)](),this[i(143)]()}set[Ho(190)](t){const e=Ho;this[e(249)][e(195)][e(211)](e(207))[e(190)]=t}get[Ho(190)](){const t=Ho;return this[t(249)][t(195)][t(211)](t(207))[t(190)]}[Ho(234)](t){const e=Ho;return this[e(249)][e(195)][e(211)](e(207))[e(234)](t)}[Ho(253)](t){const e=Ho;return this[e(249)][e(195)][e(211)](e(208))[e(253)](t)}[Ho(138)](t){const e=Ho;return this[e(249)][e(195)][e(211)](e(208))[e(138)](t||{toJSON:!1})}[Ho(271)](){const e=Ho,i=this[e(249)],s=(0,Z.sanitizeEditorConfig)(i,qo),n=i[e(195)][e(211)](e(207)),r=i[e(195)][e(211)](e(220))[e(132)];return s[e(158)]=[e(239),e(166),e(177)],delete s[e(264)],s[e(195)][e(162)](Yo,ee,be,class extends U.Plugin{static get[e(274)](){return[ee,e(220)]}[e(191)](){const s=e,o=this[s(249)][s(195)][s(211)](s(220));for(const t of r)t[s(202)]||o[s(248)](t.id)||o[s(244)](t);const a=n[s(216)][s(138)]();let c=null;const u=this[s(249)][s(195)][s(211)](s(186));u[s(190)]=n[s(190)],u[s(150)](s(242)).to(n),this[s(249)][s(173)][s(211)](s(166))[s(150)](s(242)).to(i,s(168),(t=>!t));for(const e of a){const i=null===e[s(161)];if(i&&e[s(258)]===e[s(272)])continue;const r=e[s(217)]();u[s(234)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(210)](r,o);else if(!o){const e=a[u(217)]();e.id=(0,t.uid)(),n[u(141)](e,a[u(258)])[u(148)]((t=>{c=t}))}}else e[u(210)](r,o)}))}}},Ro),s}[Ho(167)](){const t=Ho,e=this[t(249)][t(219)][t(211)](t(164))[t(254)];this[t(249)][t(219)][t(182)](t(192),(async()=>{const i=t;this[i(249)][i(146)](i(265));const s=this[i(249)][i(195)][i(211)](i(207));if(this[i(249)][i(195)][i(260)](i(209))){const t=this[i(249)][i(195)][i(211)](i(209));await t[i(270)]()}else await s[i(175)]();if(this[i(249)][i(195)][i(260)](i(163))&&this[i(249)][i(195)][i(211)](i(163))[i(247)](),this[i(249)][i(195)][i(260)](i(223))){const t=this[i(249)][i(195)][i(211)](i(223));t[i(170)]&&t[i(231)]()}const n=this[i(271)]();return e(n)[i(148)]((t=>{const e=i;return this[e(183)]=t,this[e(249)][e(195)][e(260)](e(229))&&this[e(249)][e(195)][e(211)](e(229))[e(198)](),this[e(249)][e(195)][e(260)](e(159))&&(this[e(249)][e(195)][e(211)](e(196))[e(224)][e(176)][e(235)][e(228)]=e(227)),t}))[i(188)]((t=>(console[i(279)](t),this[i(249)][i(236)](i(265)),null)))}))}[Ho(143)](){const t=Ho,e=this[t(249)][t(219)][t(211)](t(164))[t(240)];this[t(249)][t(219)][t(182)](t(156),(()=>(this[t(249)][t(195)][t(260)](t(163))&&this[t(249)][t(195)][t(211)](t(163))[t(247)](),this[t(249)][t(195)][t(260)](t(159))&&(this[t(249)][t(195)][t(211)](t(196))[t(224)][t(176)][t(235)][t(228)]=""),this[t(183)][t(195)][t(211)](t(186))[t(194)](),e(this[t(183)])[t(148)]((()=>{const e=t;if(this[e(249)][e(236)](e(265)),this[e(183)]=null,this[e(249)][e(195)][e(260)](e(229))){const t=this[e(249)][e(195)][e(211)](e(229));t[e(198)](),t[e(185)]()}})))))}[Ho(187)](t){const e=Ho,i=this[e(249)][e(219)][e(211)](e(206)),s=this[e(249)][e(219)][e(211)](e(241)),n=this[e(249)][e(219)][e(211)](e(226));return Zo[e(259)](n,t)[e(148)]((t=>(s[e(235)][e(228)]=e(165),i[e(235)][e(228)]=e(227),this[e(261)]=!0,t)))}[Ho(238)](t){const e=Ho,i=this[e(249)][e(219)][e(211)](e(206));return this[e(249)][e(219)][e(211)](e(241))[e(235)][e(228)]=e(227),i[e(235)][e(228)]="",this[e(261)]=!1,t[e(157)]()}async[Ho(131)](t){const e=Ho,i=this[e(249)],s=this[e(183)][e(195)][e(211)](e(186)),n=i[e(195)][e(211)](e(207)),r=i[e(195)][e(211)](e(201)),o=s[e(216)][e(253)](t);let a,c,u;try{await r[e(139)](o,this[e(190)]),a=r[e(273)](o),c=r[e(263)](o)}catch(t){return void console[e(279)](t)}i[e(179)][e(280)]((t=>{const s=e;for(const e of Array[s(197)](i[s(179)][s(129)][s(169)](s(144))))t[s(269)](e)})),s[e(257)]=!1,i[e(179)][e(267)]((t=>{const s=e;t[s(256)](null),t[s(137)](i[s(179)][s(204)][s(160)][s(277)]());const n=Object[s(225)](a);for(const e of i[s(179)][s(204)][s(275)])s(268)!=e[s(189)]&&e[s(172)]()&&!n[s(205)](e[s(189)])&&t[s(152)](e);for(const e of n){let n=i[s(179)][s(204)][s(230)](e);n&&n[s(172)]()||(n=t[s(213)](e));const r=c[e],o=Object[s(225)](r),u=a[e];for(const e of n[s(277)]())o[s(205)](e)||t[s(215)](e,n);for(const i of o)t[s(140)](i,c[e][i],n);t[s(237)](t[s(147)](n)),t[s(174)](i[s(222)][s(218)](u,n),n,0)}}));const l=X(i[e(151)],e(181));return u=o[e(142)]?-1==o[e(142)][e(200)](l)?l+": "+o[e(142)]:o[e(142)]:l+": "+o[e(149)][e(278)](i[e(151)][e(221)],{month:e(232),day:e(130)})+", "+o[e(149)][e(245)](i[e(151)][e(221)],{hour:e(130),minute:e(130)}),await n[e(141)]({name:u}),s[e(257)]=!0,i[e(219)][e(211)](e(164))[e(240)]()}}function Jo(){var t=["3094ENbCFC","5001505SuwXhn","4849710dgFkRG","3112832JLoUbR","406259ukgwox","2825040YXnvnF","6uHPkMB","20504RBztbt","12903597ggDLgn"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=138]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(609982===-parseInt(e(140))/1*(parseInt(e(142))/2)+parseInt(e(141))/3+parseInt(e(139))/4+-parseInt(e(146))/5+parseInt(e(138))/6+parseInt(e(145))/7*(-parseInt(e(143))/8)+parseInt(e(144))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(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:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>qo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});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==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var 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(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){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 V=/^(?:0|[1-9]\d*)$/;function M(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 V.test(t)}}function D(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 E(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?E(e)?F(t,D(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=U;function P(){const t=["fire","creatorId","1955440yrLuZp","toVersion","3576888DggwqX","toJSON","68TwyzpB","38050045XdalqJ","244870uHacgG","fromVersion","authorsIds","74135TeYRKl","attributes","28LAoQUQ","234lUpjOX","model","_update","setAttribute","339803rJFsiW","removeAttribute","name","setName","set","authors","4156146ypVuvm","creator","createdAt","diffData","map","2FIDWdP"];return(P=function(){return t})()}function U(t,e){const i=P();return(U=function(t,e){return i[t-=187]})(t,e)}!function(t){const e=U,i=t();for(;;)try{if(753246===parseInt(e(203))/1*(-parseInt(e(214))/2)+-parseInt(e(189))/3+parseInt(e(191))/4*(-parseInt(e(196))/5)+parseInt(e(209))/6+-parseInt(e(198))/7*(parseInt(e(187))/8)+parseInt(e(199))/9*(-parseInt(e(193))/10)+parseInt(e(192))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class z extends((0,t.ObservableMixin)()){id;[j(210)];[j(208)];[j(212)];[j(188)];[j(194)];[j(200)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(210)]=e[i(210)]||null,this[i(208)]=e[i(208)]||[],this[i(212)]=e[i(212)]||null,this[i(188)]=e[i(188)]||0,this[i(194)]=e[i(194)]||0,this[i(207)](i(205),e[i(205)]||""),this[i(207)](i(211),e[i(211)]||new Date),this[i(207)](i(197),e[i(197)]||{})}[j(206)](t){this[j(201)]({name:t})}[j(202)](t,e){const i=j,s=A(this[i(197)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(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]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(201)]({attributes:s})}[j(204)](t){const e=j,i=A(this[e(197)]);(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]&&E(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(201)]({attributes:i})}[j(201)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(205),i(211),i(212),i(208),i(197),i(188),i(194),i(216)];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(208)]&&(n[i(195)]=n[i(208)][i(213)]((t=>t.id)),delete n[i(208)]),this[i(215)](i(201),n,e))}[j(190)](){const t=j;return{id:this.id,name:this[t(205)],creatorId:this[t(210)]?this[t(210)].id:null,authorsIds:this[t(208)][t(213)]((t=>t.id)),diffData:this[t(212)],createdAt:this[t(211)],attributes:this[t(197)],fromVersion:this[t(194)],toVersion:this[t(188)]}}}var W=i(782),q=i(211),Z=i(783);const H=B;function $(){const t=["96230fRXDMA","push","fromVersion","24tiDVqD","add","editor","reverse","10196020VoXOqj","authorsIds","data","getLaterVisibleRevision","12wNWGSI","toVersion","getIndex","getRevisionsInDiff","getUser","get","length","name","addRevision","oldRevisionId","5048449TKTGAO","isNaN","154xvHaUR","createdAt","later","Users","4661796hgQsbx","9eNjzVd","RevisionsRepository","creatorId","newRevisionId","requires","afterInit","isPremiumPlugin","6910144hLyOFN","href","19586Xdprgj","_revisions","33TCJOUx","getEarlierVisibleRevision","2963109OTRFyq","earlier","diffData","getRevision","fromCharCode","isOfficialPlugin","plugins","toJSON","pluginName","getRevisionsIterator","createRevision","getRevisions","join","from","attributes","map"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(837742===parseInt(e(264))/1*(parseInt(e(221))/2)+-parseInt(e(225))/3+parseInt(e(244))/4*(-parseInt(e(241))/5)+-parseInt(e(252))/6*(-parseInt(e(262))/7)+-parseInt(e(219))/8*(parseInt(e(269))/9)+parseInt(e(248))/10+-parseInt(e(223))/11*(parseInt(e(268))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends W.Plugin{[H(222)];static get[H(273)](){return[q.Users]}static get[H(233)](){return H(270)}static get[H(230)](){return!0}static get[H(218)](){return!0}get[H(258)](){const t=H;return this[t(222)][t(258)]}constructor(e){const i=H;super(e),this[i(222)]=new t.Collection}[H(217)](){!async function(e){const i=k([80,73,119,103,53,111,50,97,55,120,49,77,90,99,121,115,65,118,122,89,105,52,100,110,112,72,57,70,71,79,74,116,51,107,69,81,113,98,66,82,88,101,85,108,104,78,56,114,75,54,48,87,67,84,106,83,86,76,102,109,68,117]),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(263)](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([80]);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(240)]((t=>String[e(229)](t)))[e(237)]("")}!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:1746921600;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(220)]);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)}[H(235)](t){const e=H,i=this[e(246)][e(231)][e(257)](e(267));return new z({id:t.id,name:t[e(259)],creator:t[e(271)]?i[e(256)](t[e(271)]):null,diffData:t[e(227)]||t[e(250)],authors:t[e(249)][e(240)]((t=>i[e(256)](t))),createdAt:new Date(t[e(265)]),attributes:t[e(239)],fromVersion:t[e(243)],toVersion:t[e(253)]})}[H(260)](t,e=0){const i=H;this[i(222)][i(245)](t,e)}[H(228)](t){const e=H;return this[e(222)][e(257)](t)}[H(236)](t={toJSON:!1}){const e=H,i=Array[e(238)](this[e(222)]);return i[e(247)](),t[e(232)]?i[e(240)]((t=>t[e(232)]())):i}[H(254)](t){const e=H;return this[e(222)][e(254)](t)}[H(224)](t){const e=H,[,i]=this[e(234)](t,{direction:e(226)});return i}[H(251)](t){const e=H,[,i]=this[e(234)](t,{direction:e(266)});return i}[H(255)](t){const e=H,i=[];for(const s of this[e(234)](t[e(272)]))if(i[e(242)](s),s.id===t[e(261)])break;return i}*[H(234)](t,{direction:e=H(226),filter:i=()=>!0}={}){const s=H,n=s(226)===e?1:-1;let r=this[s(222)][s(257)](t),o=this[s(254)](r);for(yield r;r;){if(o+=n,r=this[s(228)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=X();return(G=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=G,i=t();for(;;)try{if(357618===-parseInt(e(290))/1*(parseInt(e(221))/2)+parseInt(e(226))/3*(-parseInt(e(223))/4)+parseInt(e(295))/5*(-parseInt(e(291))/6)+-parseInt(e(280))/7*(-parseInt(e(260))/8)+-parseInt(e(288))/9*(parseInt(e(235))/10)+-parseInt(e(261))/11+parseInt(e(257))/12*(parseInt(e(220))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class K extends W.Plugin{static get[J(287)](){return J(251)}static get[J(292)](){return!0}static get[J(240)](){return!0}[J(255)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(269)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(249)](t,e){const i=J;if(t[i(232)]||!e)return;const s=this[i(277)][i(237)][i(252)](i(294)),n=await e[i(289)]({channelId:s,revisionId:t.id});t[i(232)]=n[i(232)]}[J(283)](t){const e=J,i={};for(const s in t[e(232)]){if(t[e(232)][s][e(293)]&&!t[e(232)][s][e(293)][e(246)])continue;const n=this[e(296)](JSON[e(266)](t[e(232)][s][e(263)])),r=this[e(277)][e(256)][e(241)][e(236)],o=new Z.ViewDocumentFragment(r,n[e(242)]((t=>this[e(282)](t,!1))));this[e(277)][e(264)][e(233)][e(274)](e(276)),i[s]=this[e(277)][e(264)][e(233)][e(222)](o),this[e(277)][e(264)][e(233)][e(274)](e(259))}return i}[J(284)](t){const e=J,i={};for(const s in t[e(232)])t[e(232)][s][e(293)]&&!t[e(232)][s][e(293)][e(246)]||(i[s]=t[e(232)][s][e(278)]||{});return i}[J(272)](t){const e=J;return this[e(255)][e(252)](t[e(254)])}[J(282)](t,e){const i=J,s=this[i(277)][i(256)][i(241)][i(236)];if(i(225)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(253)]||"r"==t[i(253)]?[]:t[i(224)][i(242)]((t=>this[i(282)](t,e)));const o=this[i(269)][i(252)](t[i(253)])||Z.ViewElement,a=this[i(277)][i(264)][i(275)][i(228)];if(n=new o(s,t[i(285)],t[i(271)],r),"u"==t[i(253)]&&t[i(224)][0]){const r=t[i(224)][0];if(n[i(297)]=function(t){const e=i,s=t[e(245)](e(234));return s[e(270)]=r,s[e(273)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(267)](n);const e=Array[i(279)](a[i(243)](t,{bind:!1})),r=a[i(244)][i(245)](i(234));r[i(262)](...e),n=Array[i(279)](a[i(281)](r))[0]}}else if("r"==t[i(253)]&&t[i(224)][0]){const r=t[i(224)][0];if(n[i(297)]=function(t){t[i(270)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(267)](n);const e=Array[i(279)](a[i(243)](t,{bind:!1})),r=a[i(244)][i(245)](i(234));r[i(262)](...e);const o=Array[i(279)](a[i(281)](r));o[i(258)]>1?n[i(267)](o):n=o[0]}}if(t[i(265)])for(const[e,s]of t[i(265)])n[i(248)](e,s);const c=void 0===t[i(286)]?null:t[i(286)];return null!==c&&(n[i(268)]=()=>c),n}}[J(250)](t){const e=J,i=JSON[e(266)](t),s=this[e(277)][e(256)][e(241)][e(236)],n=new Z.ViewDocumentFragment(s,i[e(242)]((t=>this[e(282)](t,!0))));return this[e(277)][e(264)][e(238)](n)}[J(296)](t){const e=J;return(t=t[e(230)]((t=>!t[e(285)]||e(239)!==t[e(285)]&&e(229)!==t[e(285)])))[e(231)]((t=>{const i=e;i(225)!=typeof t&&(t[i(224)]=this[i(296)](t[i(224)]),t[i(271)]=t[i(271)][i(230)]((t=>!t[0][i(247)](i(227)))))})),t}}function X(){const t=["domConverter","revision-end","filter","forEach","diffData","processor","div","940490gxOJBl","document","config","toModel","revision-start","isPremiumPlugin","view","map","viewChildrenToDom","domDocument","createElement","isAttached","startsWith","_setCustomProperty","loadRevisionData","_makeModelFromViewString","RevisionHistoryUtils","get","type","constructor","_viewClassToTypeChar","editing","9183828UzXrUB","length","default","3892880TDisoQ","605836CSgcwd","append","insertions","data","customProperties","parse","_appendChild","getFillerOffset","_typeCharToViewClass","innerHTML","attributes","_getTypeCharForViewElement","childNodes","useFillerType","htmlProcessor","marked","editor","attributesAfter","from","7LMaWCq","domChildrenToView","_getViewFromDiffObj","getRevisionDocumentData","getRevisionRootsAttributes","name","fillerOffset","pluginName","63kGkAGn","getRevision","1PtqBUo","65682vzvmHb","isOfficialPlugin","attachChange","collaboration.channelId","195wgzYmf","_removeRevisionMarkers","render","26IaJnRu","528746tfkUAQ","toData","140XzXSEe","children","string","21849QdnFBX","data-revision-"];return(X=function(){return t})()}function Q(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 tt(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 et(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 it(t,e,r,o)}return it(t,e,r,o)}function it(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)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}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,V;const M=(s=s??new Map).get(t),D=s.get(i);if(null!=M&&null!=D)return M===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)||!et(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=>et(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(!et(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,T)||tt(t)&&tt(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(!et(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=ft();return(ot=function(t,e){return i[t-=161]})(t,e)}!function(t){const e=ot,i=t();for(;;)try{if(885574===parseInt(e(452))/1*(-parseInt(e(234))/2)+-parseInt(e(264))/3*(parseInt(e(241))/4)+-parseInt(e(301))/5+parseInt(e(352))/6+parseInt(e(231))/7*(parseInt(e(358))/8)+-parseInt(e(314))/9*(parseInt(e(447))/10)+parseInt(e(416))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class at extends W.Plugin{[rt(432)];[rt(461)];[rt(259)]=null;[rt(471)];[rt(382)]=null;[rt(478)];[rt(356)];[rt(184)];[rt(175)];[rt(269)];[rt(431)];[rt(253)];[rt(243)];[rt(360)];static get[rt(391)](){return rt(435)}static get[rt(179)](){return!0}static get[rt(357)](){return!0}static get[rt(428)](){return[q.Users,Y,K,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(471)]=this[i(168)][i(410)][i(306)](i(290)),this[i(269)]=this[i(168)][i(410)][i(306)](i(282)),this[i(478)]=new ct(this[i(168)]),this[i(184)]=this[i(168)][i(462)][i(306)](i(411))||i(378),this[i(175)]=new Map,this[i(360)]=null;const s=(0,t.uid)();this[i(356)]={history:this[i(168)][i(374)][i(215)][i(279)],getLatestVersion:()=>Promise[i(368)](this[i(168)][i(374)][i(215)][i(474)]),getCurrentRevisionId:()=>s},this[i(322)](i(265),!1),this[i(322)](i(310),!0),this[i(322)](i(363),!1),this[i(168)][i(462)][i(217)](i(417),!0),this[i(168)][i(401)][i(367)](i(324))[i(268)]({view:i(472)})}[rt(315)](){const t=rt;this[t(320)](),this[t(168)][t(225)].on(t(192),(()=>{const e=t,i=this[e(471)][e(377)](0),s=i&&null===i[e(479)]?i:null;if(this[e(253)]=!!s&&this[e(168)][e(462)][e(306)](e(417)),this[e(168)][e(410)][e(425)](e(316))){const t=this[e(356)][e(388)](),n=this[e(471)][e(377)](t);if(n)this[e(243)]=n[e(371)],this[e(253)]=!1;else{const t=this[e(356)][e(279)][e(309)][e(263)]((t=>!t[e(289)])),n=t?t[e(274)]:this[e(356)][e(279)][e(474)];i?(i[e(185)]<n&&i[e(446)]({toVersion:n}),this[e(253)]?(this[e(356)][e(388)]=()=>s.id,this[e(243)]=s[e(371)]):(this[e(243)]=i[e(185)],this[e(253)]=!1)):(this[e(243)]=n,this[e(253)]=!1)}}else s&&(this[e(168)][e(374)][e(215)][e(279)][e(474)]=Math[e(235)](s[e(185)],this[e(168)][e(374)][e(215)][e(279)][e(474)]),s[e(371)]===s[e(185)]?(0!==s[e(371)]&&(this[e(356)][e(388)]=()=>s.id),this[e(253)]=!1):this[e(253)]&&(this[e(356)][e(388)]=()=>s.id,this[e(243)]=s[e(371)])),this[e(253)]||(this[e(243)]=this[e(168)][e(374)][e(215)][e(474)]);this[e(478)][e(315)](this[e(356)][e(279)]),this[e(335)](this[e(243)]),this[e(275)](this[e(243)]),this[e(382)]&&this[e(454)]()})),this[t(458)](t(265)).to(this,t(363),(t=>!t)),this[t(432)]=this[t(168)][t(462)][t(306)](t(432));const e=this[t(168)];this[t(461)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(222)==r||i(354)==r||i(291)==r||i(405)==r||i(463)==r||i(261)==r||i(359)==r||i(214)==r){delete e[n],s=r,clearInterval(this[i(461)]),this[i(461)]=void 0;break}}i(354)==s&&e[i(329)](i(334)),i(291)==s&&e[i(329)](i(226)),i(405)==s&&e[i(329)](i(426)),i(463)==s&&e[i(329)](i(172),i(390)),i(261)==s&&e[i(329)](i(349)),i(359)==s&&e[i(329)](i(362)),i(214)==s&&e[i(329)](i(236))}),1e3)}async[rt(364)](){const t=rt;if(this[t(471)][t(433)]>0){const e=this[t(471)][t(377)](0),i=await this[t(419)](e),s=await this[t(483)](e);this[t(412)](i,s)}}[rt(221)](){const t=rt;super[t(221)](),this[t(461)]&&clearInterval(this[t(461)])}[rt(232)](t){this[rt(356)]=t}async[rt(397)](){const t=rt,e=await this[t(356)][t(237)]();if(e>this[t(259)][t(185)]){await this[t(406)]();const i=this[t(193)]({revision:this[t(259)],to:e});i[t(464)]=i[t(466)][t(248)]((e=>this[t(168)][t(410)][t(306)](t(247))[t(302)](e))),this[t(259)][t(446)](i)}}async[rt(203)](e={},i=null){const s=rt,n=[];await this[s(406)](),this[s(253)]=!1,i>this[s(259)][s(185)]&&(i=null),null===i&&(i=await this[s(356)][s(237)]());const r=this[s(336)](i),o=this[s(193)]({from:r,to:i});if(this[s(259)][s(185)]<i){const t=this[s(193)]({revision:this[s(259)],from:i,to:i});t[s(464)]=[],t[s(466)]=[],t.id=this[s(259)].id,this[s(259)][s(446)](t,!0),delete t[s(464)],n[s(328)](t)}e[s(476)]=this[s(168)][s(410)][s(306)](s(247)).me.id,e[s(398)]=e[s(398)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(295)](e);n[s(328)](e);const c=this[s(471)][s(325)](a);if(0!==c){const t=this[s(471)][s(377)](c-1);if(t[s(371)]!==i){const r=this[s(478)][s(444)](i,t[s(185)]),o={id:t.id,diffData:r[s(191)],authorsIds:r[s(466)],authors:r[s(466)][s(248)]((t=>this[s(168)][s(410)][s(306)](s(247))[s(302)](t))),fromVersion:i};t===this[s(259)]&&(o[s(481)]=new Date(e[s(481)][s(327)]()+10)),t[s(446)](o,!0),delete o[s(464)],n[s(328)](o)}}if(this[s(382)]){for(const t of n)this[s(345)](t.id,t,!0);this[s(454)]()}return a}[rt(295)](t){const e=rt,i=this[e(471)][e(340)](t);return this[e(382)]&&i.on(e(446),((t,i,s)=>{const n=e;s||(this[n(345)](i.id,i,!0),this[n(454)]())})),this[e(471)][e(244)](i,this[e(470)](i)),i}async[rt(419)](t){const e=rt;return await this[e(269)][e(381)](t,this[e(382)]),this[e(269)][e(419)](t)}async[rt(483)](t){const e=rt;return await this[e(269)][e(381)](t,this[e(382)]),this[e(269)][e(483)](t)}[rt(454)](){const t=rt;if(0===this[t(175)][t(188)])return;if(this[t(363)])return;let e=Array[t(182)](this[t(175)][t(348)]());this[t(175)][t(245)]();for(let i=0;i<e[t(433)];i++){const s=e[i];let n=!1;for(const e of Object[t(256)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(312)]((t=>null!==t)),!e[t(433)])return;for(let i=0;i<e[t(433)];i++){const s=e[i];void 0!==s[t(371)]&&void 0===s[t(185)]&&(s[t(185)]=this[t(471)][t(377)](s.id)[t(185)]),void 0!==s[t(185)]&&void 0===s[t(371)]&&(s[t(371)]=this[t(471)][t(377)](s.id)[t(371)])}const i=this[t(168)][t(462)][t(306)](t(411));this[t(363)]=!0,this[t(469)](),this[t(382)][t(386)](e,i)[t(163)]((()=>{this[t(363)]=!1}))[t(418)]((e=>{const i=t;if(e)for(const t of e)this[i(484)]({id:t.id,createdAt:t[i(481)]});this[i(436)](),this[i(454)]()}))}[rt(193)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(371)],i=null!==i?i:t[s(185)];const n=this[s(478)][s(444)](e,i),r={diffData:n[s(191)],authorsIds:n[s(466)],fromVersion:e,toVersion:i};if(!t||i!==t[s(185)]){const t=i-1,e=this[s(356)][s(279)][s(167)](t);r[s(481)]=e&&e[s(481)]||new Date}if(this[s(360)]&&e===this[s(360)][s(371)])for(const t of this[s(360)][s(464)])r[s(466)][s(369)](t.id)||r[s(466)][s(328)](t.id);return r}[rt(345)](t,e,i){const s=rt;if(this[s(175)][s(425)](t)){const n=this[s(175)][s(306)](t);e=i?{...n,...e}:{...e,...n}}this[s(175)][s(322)](t,e)}[rt(484)](t){const e=rt,i=this[e(471)][e(377)](t.id);if(t[e(481)]&&(t[e(481)]=new Date(t[e(481)])),t[e(466)]){const i=this[e(168)][e(410)][e(306)](e(247));t[e(464)]=t[e(466)][e(248)]((t=>i[e(302)](t)))}i[e(446)](t,!0)}[rt(335)](t){const e=rt,i=this[e(471)][e(377)](this[e(471)][e(433)]-1);if(i)this[e(184)]=i.id;else{const i=!this[e(168)][e(374)][e(215)][e(427)][e(263)]((t=>this[e(168)][e(374)][e(271)](t))),s=this[e(168)][e(410)][e(306)](e(247)).me.id,n=Q(this[e(168)][e(413)],e(i?202:292));this[e(384)]({from:t,to:t,id:this[e(184)],name:n,creatorId:s})}}[rt(275)](t){const e=rt,i=this[e(356)][e(388)]();this[e(259)]=this[e(471)][e(377)](i),this[e(259)]||(this[e(259)]=this[e(384)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(406)](){const t=rt;this[t(253)]&&!this[t(360)]&&(await this[t(269)][t(381)](this[t(259)],this[t(382)]),this[t(478)][t(395)](this[t(259)]),this[t(360)]={fromVersion:this[t(259)][t(371)],authors:this[t(259)][t(464)][t(341)]()})}[rt(412)](e,i){const s=rt;let n=this[s(168)][s(462)][s(306)](s(286)),r=this[s(168)][s(462)][s(306)](s(242));if(void 0===n){n={};for(const t of this[s(168)][s(374)][s(215)][s(430)]())n[t]=""}if(s(176)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(168)][s(374)][s(215)][s(430)]())r[t]={}}let o=!1;const a=Object[s(256)](n),c=Object[s(256)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(210)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(256)](r[t])[s(433)]>0){o=!0;break}}o||(o=c[s(434)]((t=>!this[s(168)][s(374)][s(215)][s(170)](t)))),o&&(0,t.logWarning)(s(392),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(168)][s(462)][s(322)](s(286),e),this[s(168)][s(462)][s(322)](s(242),i)}[rt(469)](){const t=rt;if(!this[t(431)]){const e=this[t(168)][t(410)][t(306)](t(449));this[t(431)]=e[t(255)](Q(this[t(168)][t(413)],t(311)))}}[rt(436)](){const t=rt;this[t(431)]&&(this[t(168)][t(410)][t(306)](t(449))[t(326)](this[t(431)]),this[t(431)]=null)}[rt(470)](t){const e=rt,i=this[e(471)][e(266)]();i[e(323)]();let s=0;for(;s<i[e(433)];){const n=i[s];if(n===this[e(259)]){s++;continue}if(n.id===this[e(184)])break;const r=t[e(185)]-n[e(185)]||t[e(371)]-n[e(371)];if(r>0)break;if(r<0)s++;else{if(!t[e(479)]&&n[e(479)])break;if(n[e(479)]||!t[e(479)]){if(t[e(481)]>n[e(481)])break;s++}else s++}}return s}[rt(336)](t){const e=rt,i=this[e(471)][e(266)]();i[e(323)](),i[e(287)]();const s=i[e(263)]((i=>i[e(185)]<=t))[e(185)];return s<this[e(243)]?this[e(243)]:s}[rt(384)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(193)]({from:e,to:i});o[r(398)]=t,o[r(476)]=s,o.id=n;const a=this[r(295)](o);return this[r(382)]&&this[r(345)](o.id,o,!0),a}[rt(320)](){const t=rt;this[t(168)][t(401)][t(367)](t(459))[t(209)]({model:t(472)})}}class ct{[rt(168)];[rt(307)];[rt(422)];[rt(223)];[rt(165)];[rt(394)];[rt(280)];[rt(424)];[rt(206)];[rt(297)];[rt(317)];[rt(196)];[rt(270)];[rt(379)];[rt(375)];[rt(407)];[rt(207)];constructor(t){const e=rt;this[e(168)]=t,this[e(422)]=new Map,this[e(223)]=-1,this[e(165)]=-1,this[e(394)]=new Map,this[e(280)]=new Map,this[e(424)]=new Map,this[e(206)]=new Map,this[e(297)]=new Map,this[e(317)]=new Map,this[e(196)]=new Map,this[e(270)]=new Map,this[e(379)]=new Map,this[e(375)]=new Map,this[e(407)]=1}[rt(315)](t){const e=rt;this[e(307)]=t;const i=new Map,s=new Map,n=this[e(168)][e(374)][e(215)][e(427)][e(248)]((t=>t[e(273)]));for(const t of n){const n=this[e(168)][e(374)][e(215)][e(170)](t),r=ut(n);i[e(322)](t,r),s[e(322)](t,Object[e(421)](n[e(429)]()))}const r=Array[e(182)](this[e(168)][e(374)][e(473)])[e(248)]((t=>[t[e(398)],t[e(186)]()])),o=this[e(307)][e(474)];this[e(450)](o,i,r,s),this[e(207)]=this[e(407)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(322)](t,i),c[e(322)](t,{})}this[e(450)](Number[e(393)],a,[],c)}[rt(444)](t,e){const i=rt;if(this[i(223)]===t&&this[i(165)]<=e)this[i(422)][i(188)]>1&&this[i(229)](this[i(165)]),this[i(198)](this[i(165)],e,!0);else{if(!this[i(422)][i(425)](t)){const e=this[i(385)](t);this[i(376)](e,t,!1)}this[i(376)](t,e,!0)}return this[i(223)]=t,this[i(165)]=e,this[i(372)]()}[rt(395)](t){const e=rt,i=this[e(168)][e(410)][e(306)](e(282));this[e(277)](),this[e(223)]=t[e(371)],this[e(165)]=t[e(185)];for(const s in t[e(191)]){const n=t[e(191)][s][e(262)],r=A(t[e(191)][s][e(319)])||{},o=i[e(366)](t[e(191)][s][e(230)]);o[e(273)]=s,o[e(260)]=!n||!n[e(400)],o[e(400)]=()=>o[e(260)],this[e(206)][e(322)](s,o),this[e(297)][e(322)](s,r),n&&this[e(375)][e(322)](s,n);const a=this[e(169)](o);this[e(196)][e(322)](s,a);for(const[t,i]of o[e(473)]){if(!t[e(333)](e(437)))continue;const s=t[e(285)](":")[2];for(const t of i[e(330)]({singleCharacters:!0})){const i=this[e(321)](t),n=e(318)==t[e(456)]?t[e(161)][e(195)][e(341)](0,-1):t[e(161)][e(195)],r=a[e(293)](n)[e(420)](i);this[e(270)][e(322)](r,{userId:s})}}}this[e(207)]=this[e(407)];const s=[...Array(this[e(407)])[e(256)]()][e(341)](1)[e(312)]((t=>!this[e(270)][e(425)](t)));let n=0;const r=new Map;for(const o in t[e(191)]){const a=t[e(191)][o][e(262)],c=A(t[e(191)][o][e(276)])||{},u=i[e(366)](t[e(191)][o][e(380)]);u[e(273)]=o,u[e(260)]=!a||a[e(400)],u[e(400)]=()=>u[e(260)],this[e(280)][e(322)](o,u),this[e(424)][e(322)](o,c);const l=this[e(169)](u,Number[e(393)]);this[e(317)][e(322)](o,l),r[e(322)](o,u[e(400)]()?c:{});for(const[t,i]of u[e(473)]){if(!t[e(333)](e(437)))continue;const s=t[e(285)](":")[2];for(const t of i[e(330)]({singleCharacters:!0})){const i=this[e(321)](t),n=this[e(407)]++,r=e(318)==t[e(456)]?t[e(161)][e(195)][e(341)](0,-1):t[e(161)][e(195)];l[e(293)](r)[e(396)](i,n),this[e(270)][e(322)](n,{userId:s})}}for(const t of this[e(168)][e(374)][e(171)](u)[e(330)]({singleCharacters:!0})){const i=this[e(321)](t),r=e(318)==t[e(456)]?t[e(161)][e(195)][e(341)](0,-1):t[e(161)][e(195)],o=l[e(293)](r);o[e(420)](i)>0||o[e(396)](i,s[n++])}for(const[t,i]of u[e(473)])t[e(333)](e(437))||this[e(394)][e(322)](t,i)}const o=lt(e(441));this[e(206)][e(322)](e(441),o),this[e(196)][e(322)](e(441),this[e(169)](o,1));const a=lt(e(441));this[e(280)][e(322)](e(441),a),this[e(317)][e(322)](e(441),this[e(169)](a,1));const c=Array[e(182)](this[e(280)])[e(248)]((([t,e])=>[t,ut(e)]));this[e(450)](this[e(165)],c,this[e(394)],r)}[rt(218)](){const t=rt;this[t(277)](),this[t(223)]=-1,this[t(165)]=-1,this[t(422)][t(245)](),this[t(315)](this[t(307)])}[rt(450)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(322)](t,{start:e[n(211)][n(342)](),end:e[n(346)][n(342)](),rootName:e[n(227)][n(273)]});this[n(422)][n(322)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(229)](t){const e=rt;this[e(422)][e(298)](t)}[rt(277)](){const t=rt;this[t(270)][t(245)](),this[t(379)][t(245)](),this[t(375)][t(245)](),this[t(280)][t(245)](),this[t(424)][t(245)](),this[t(206)][t(245)](),this[t(297)][t(245)](),this[t(317)][t(245)](),this[t(196)][t(245)](),this[t(394)][t(245)](),this[t(407)]=1,this[t(207)]=this[t(407)]}[rt(169)](t,e=null){const i=rt;let s=null;t.is(i(365))||(s=new Z.Element(t[i(398)],{vid_start:null===e?this[i(407)]++:e++}));const n=[];for(const s of t[i(457)]())if(s.is(i(205))){n[i(328)](this[i(169)](s,e));const t=n[n[i(433)]-1];null!==e&&(e=t.is(i(205),i(338))?t[i(420)](i(278))+1:t[i(420)](i(343))+1)}else for(let t=0;t<s[i(370)];t++)n[i(328)](new Z.Element(i(338),{vid:null===e?this[i(407)]++:e++}));if(t.is(i(365))){const e=lt(t[i(273)]);return e[i(339)](0,n),e}return s[i(396)](i(343),null===e?this[i(407)]++:e++),s[i(339)](0,n),s}[rt(376)](t,e,i){const s=rt;this[s(277)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(422)][s(306)](t);this[s(206)]=new Map(n),this[s(297)]=new Map(A(o));for(const[t,e]of this[s(206)])if(s(441)!==t&&(this[s(280)][s(322)](t,ut(e)),this[s(424)]=new Map(A(o)),i)){const i=this[s(407)];this[s(317)][s(322)](t,this[s(169)](e)),this[s(196)][s(322)](t,this[s(169)](e,i))}this[s(207)]=this[s(407)],this[s(280)][s(322)](s(441),ut(this[s(206)][s(306)](s(441)))),i&&this[s(317)][s(322)](s(441),this[s(169)](this[s(206)][s(306)](s(441))));for(const[t,e]of r){const i=this[s(206)][s(306)](e[s(273)]),n=this[s(280)][s(306)](e[s(273)]),r=new Z.Range(this[s(240)](e[s(211)],i),this[s(240)](e[s(346)],i)),o=this[s(294)](r,n);i[s(473)][s(322)](t,r),this[s(394)][s(322)](t,o)}this[s(198)](t,e,i)}[rt(198)](t,e,i){const s=rt;for(const n of this[s(307)][s(178)](t,e))this[s(347)](n,i);for(const t of this[s(280)][s(348)]())t[s(473)][s(245)]();for(const[t,e]of this[s(394)])this[s(280)][s(306)](e[s(227)][s(273)])[s(473)][s(322)](t,e[s(342)]());const n=new Map,r=new Map;for(const[t,e]of this[s(280)])n[s(322)](t,ut(e)),r[s(322)](t,this[s(424)][s(306)](t));this[s(450)](e,n,this[s(394)],r)}[rt(385)](t){const e=rt,i=Array[e(182)](this[e(422)][e(256)]());i[e(423)](((t,e)=>t-e)),i[e(323)]();for(const e of i)if(e<t)return e;return Number[e(393)]}[rt(281)](t,e){const i=rt,s=Array[i(182)](e[i(473)])[i(248)]((([e,s])=>[e,this[i(294)](s,t)]));t[i(473)]=new Map(s)}[rt(303)](t){const e=rt;for(const i of this[e(394)][e(348)]()){const s=i[e(460)](t),n=Z.Range[e(272)](s);i[e(211)]=n[e(211)],i[e(346)]=n[e(346)]}}[rt(347)](t,e){const i=rt;if(i(190)!=t[i(456)]&&i(249)!=t[i(456)]){if(i(344)==t[i(456)]){const s=t[i(208)][i(227)][i(273)];this[i(280)][i(425)](s)||(this[i(280)][i(322)](s,lt(s,!0)),this[i(424)][i(322)](s,{}),e&&this[i(317)][i(322)](s,lt(s,!0)))}else{if(i(288)==t[i(456)]||i(383)==t[i(456)]||i(239)==t[i(456)])return void this[i(414)](t);i(246)==t[i(456)]&&this[i(213)](t)}if(i(246)!==t[i(456)]){const e=this[i(283)](t,this[i(280)]);e[i(332)](),this[i(303)](e)}if(e)switch(t[i(456)]){case i(344):this[i(296)](t);break;case i(399):case i(326):case i(467):this[i(443)](t);break;case i(200):this[i(453)](t);break;case i(285):this[i(219)](t)}}else this[i(204)](t,e)}[rt(283)](t,e){const i=rt,s=t[i(342)]();return s[i(480)]=t[i(480)],this[i(404)](s,e),s}[rt(402)](t){const e=rt;return t[e(248)]((t=>{const i=e,s=this[i(321)](t);return Number(t[i(284)][i(420)](s))}))}[rt(216)](t,e){const i=rt;if(t.is(i(205),i(338)))e[i(328)]({item:t,type:i(197)});else{t.is(i(205))&&e[i(328)]({item:t,type:i(177)});for(const s of t[i(457)]())this[i(216)](s,e);t.is(i(205))&&e[i(328)]({item:t,type:i(318)})}return e}[rt(372)](){const t=rt,e=new Map(this[t(270)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(206)][t(256)](),...this[t(280)][t(256)]()]);a[t(298)](t(441));for(const e of a){const i=this[t(280)][t(306)](e)||lt(e,!1),s=this[t(206)][t(306)](e)||lt(e,!1);i[t(400)]()||s[t(400)]()?(n[t(380)][e]=ut(i),n[t(230)][e]=ut(s),this[t(281)](n[t(230)][e],s),this[t(281)](n[t(380)][e],i),r[t(380)][e]=this[t(216)](this[t(317)][t(306)](e),[]),r[t(230)][e]=this[t(216)](this[t(196)][t(306)](e)||lt(e,!1),[])):a[t(298)](e)}for(const n of a){const o=r[t(380)][n];for(const n of o){const r=this[t(321)](n),o=n[t(284)][t(420)](r);i[t(298)](o),o>=this[t(207)]&&s[t(322)](o,e[t(306)](o))}}for(const n of a){const a=r[t(380)][n],c=this[t(402)](r[t(230)][n]);let u=0;for(const n of a){const r=this[t(321)](n),a=n[t(284)][t(420)](r);if(!s[t(425)](a)&&!o[t(425)](a))if(i[t(425)](a))u++;else{if(a!=c[u]){const s=e[t(306)](a)||e[t(306)](c[u]);for(;a!=c[u];)i[t(425)](c[u])||(o[t(322)](c[u],s),e[t(322)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(380)][e];for(const e of n){const n=this[t(321)](e),r=e[t(284)][t(420)](n);if(o[t(425)](r)){const e=o[t(306)](r);i[t(425)](r)||i[t(322)](r,{...e}),s[t(322)](r,{...e})}}}for(const e of i[t(256)]())e>=this[t(207)]&&i[t(298)](e);const c=new Map;for(const e of a){let n=r[t(380)][e];for(const e of n)if(e[t(284)].is(t(205),t(331))){const i=this[t(321)](e),n=e[t(284)][t(420)](i);if(s[t(425)](n)){const i=e[t(284)][t(475)][t(475)][t(420)](t(465)),r=c[t(306)](i)||new Set;r[t(255)](s[t(306)](n)[t(166)]),c[t(322)](i,r)}}n=r[t(230)][e];for(const e of n)if(e[t(284)].is(t(205),t(331))){const s=this[t(321)](e),n=e[t(284)][t(420)](s);if(i[t(425)](n)){const s=e[t(284)][t(475)][t(475)][t(420)](t(465)),r=c[t(306)](s)||new Set;r[t(255)](i[t(306)](n)[t(166)]),c[t(322)](s,r)}}for(const e of c[t(256)]())(s[t(425)](e)||i[t(425)](e))&&c[t(298)](e)}for(const e of a){const n=r[t(380)][e];let o=null,a=null;for(const e of n){const n=this[t(321)](e),r=e[t(284)][t(420)](n),u=c[t(306)](r);u&&t(177)==e[t(456)]&&(o=Array[t(182)](u)[0],a=e[t(284)][t(420)](t(343))),o&&(i[t(322)](r,{userId:o}),s[t(322)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(230)][e],a=n[t(380)][e];for(const{userId:e}of this[t(379)][t(348)]())null!==e&&l[t(255)](e);for(const{userId:e}of this[t(375)][t(348)]())null!==e&&l[t(255)](e);this[t(351)](a,r[t(380)][e],s,t(415),l),this[t(351)](o,r[t(230)][e],i,t(408),l),u[e]={insertions:this[t(403)](a),deletions:this[t(403)](o),attachChange:this[t(375)][t(306)](e)||null,attributesBefore:A(this[t(297)][t(306)](e))||{},attributesAfter:A(this[t(424)][t(306)](e))}}return{diffData:u,authorsIds:Array[t(182)](l)}}[rt(440)](t){const e=rt;for(const[,i]of t[e(473)]){const t=i[e(211)][e(233)]()[e(312)]((t=>e(331)==t[e(398)]));for(const i of t)1==i[e(389)]&&i[e(251)](0).is(e(205),e(228))&&i[e(251)](0)[e(396)](e(451),!0)}}[rt(403)](t){const e=rt;this[e(440)](t);const i=this[e(168)][e(225)][e(201)](t,{}),s=Array[e(182)](i[e(457)]())[e(248)]((t=>this[e(189)](t)));return JSON[e(299)](s)}[rt(189)](t){const e=rt;if(t.is(e(338)))return t[e(225)];{const i=this[e(168)][e(410)][e(306)](e(282)),s=t,n=this[e(168)][e(225)][e(267)][e(455)],r={type:i[e(183)](s),name:s[e(398)],attributes:Array[e(182)](s[e(429)]()),children:Array[e(182)](s[e(457)]())[e(248)]((t=>this[e(189)](t)))};if(t.is(e(224))&&e(442)!=t[e(398)]){const i=t[e(350)](n[e(173)],n);r[e(258)][e(328)](i[e(387)])}else if(t.is(e(194))){const i=n[e(173)][e(164)](s[e(398)]);t[e(350)](i,n),r[e(258)][e(328)](i[e(250)])}const o=Array[e(182)](s[e(482)]());o[e(433)]>0&&(r[e(220)]=o);const a=s[e(254)]();return null!==a&&(r[e(361)]=a),r}}[rt(351)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(168)][r(374)];for(let s=0;s<e[r(433)];s++){const n=this[r(321)](e[s]),c=e[s][r(284)][r(420)](n),h=i[r(306)](c),d=s==e[r(433)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(166)]!=o[r(166)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),dt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(166)],d=l(437)+s+":"+h+":"+c++,f=u[l(187)](i,a);t[l(473)][l(322)](d,f),null!==h&&n[l(255)](h)}}[rt(321)](t){const e=rt;switch(t[e(456)]){case e(177):return e(465);case e(318):return e(343);default:return e(278)}}[rt(404)](t,e){const i=rt;t[i(274)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(306)](n[i(227)][i(273)]);t[s]=this[i(240)](n,r)}if(n instanceof Z.Range){const r=e[i(306)](n[i(227)][i(273)]);t[s]=this[i(294)](n,r)}i(227)===s&&(t[i(227)]=e[i(306)](t[i(227)][i(273)]))}}[rt(294)](t,e){const i=rt;return this[i(168)][i(374)][i(187)](this[i(240)](t[i(211)],e),this[i(240)](t[i(346)],e))}[rt(240)](t,e){const i=rt;return this[i(168)][i(374)][i(199)](e,t[i(195)],t[i(305)])}[rt(296)](t){const e=rt,i=this[e(317)][e(306)](t[e(208)][e(227)][e(273)]),s=this[e(240)](t[e(208)],i),n=null===t[e(480)]?null:t[e(480)]||this[e(168)][e(410)][e(306)](e(247)).me.id,r=s[e(475)],o=this[e(407)],a=[];for(const i of t[e(181)])if(i.is(e(205)))a[e(328)](this[e(169)](i));else for(let t=0;t<i[e(370)];t++)a[e(328)](new Z.Element(e(338),{vid:this[e(407)]++}));const c=this[e(407)];for(let t=o;t<c;t++)this[e(270)][e(322)](t,{userId:n});r[e(339)](s[e(355)],a)}[rt(443)](t){const e=rt;(t=this[e(283)](t,this[e(317)]))[e(332)]();const i=null===t[e(480)]?null:t[e(480)]||this[e(168)][e(410)][e(306)](e(247)).me.id,s=t[e(373)](),n=s[e(475)],r=s[e(355)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(251)](e);r.is(a(205),a(338))?s[a(322)](r[a(420)](a(278)),{userId:i}):(s[a(322)](r[a(420)](a(465)),{userId:i}),t(s,r,0,r[a(389)]),s[a(322)](r[a(420)](a(343)),{userId:i}))}}(this[e(270)],n,r,r+t[e(308)])}[rt(453)](t){const e=rt,i=null===(t=this[e(283)](t,this[e(317)]))[e(480)]?null:t[e(480)]||this[e(168)][e(410)][e(306)](e(247)).me.id,s=t[e(174)][e(475)],n=t[e(300)][e(475)],r=s[e(420)](e(343)),o=n[e(420)](e(465));s[e(396)](e(343),n[e(420)](e(343))),n[e(396)](e(343),r),this[e(270)][e(322)](o,{userId:i}),this[e(270)][e(322)](r,{userId:i}),t[e(332)]()}[rt(219)](t){const e=rt,i=null===(t=this[e(283)](t,this[e(317)]))[e(480)]?null:t[e(480)]||this[e(168)][e(410)][e(306)](e(247)).me.id,s=t[e(212)],n=t[e(409)][e(475)];t[e(332)]();const r=n[e(420)](e(343)),o=t[e(438)][e(252)];if(s){const t=o[e(420)](e(343)),s=n[e(420)](e(343));n[e(396)](e(343),t),o[e(396)](e(343),s),this[e(270)][e(322)](n[e(420)](e(343)),{userId:i}),this[e(270)][e(322)](o[e(420)](e(465)),{userId:i})}else{const t=this[e(407)]++,s=this[e(407)]++;n[e(396)](e(343),t),o[e(396)](e(465),s),o[e(396)](e(343),r),this[e(270)][e(322)](t,{userId:i}),this[e(270)][e(322)](s,{userId:i})}}[rt(213)](t){const e=rt;if(!t[e(257)])return;const i=(t=this[e(283)](t,this[e(280)]))[e(238)]?t[e(238)][e(227)]:null,s=t[e(439)]?t[e(439)][e(227)]:null;i&&this[e(394)][e(298)](t[e(398)]),s&&this[e(394)][e(322)](t[e(398)],t[e(439)][e(342)]());const n=null===t[e(480)]?null:t[e(480)]||this[e(168)][e(410)][e(306)](e(247)).me.id,r=t[e(398)];if(!this[e(379)][e(425)](r))return void this[e(379)][e(322)](r,{range:t[e(238)],userId:n});const o=this[e(379)][e(306)](r),a=o[e(337)],c=t[e(439)];null==a&&null==c||a&&c&&a[e(448)](c)?this[e(379)][e(298)](t[e(398)]):o[e(166)]=n}[rt(204)](t,e){const i=rt;this[i(280)][i(425)](t[i(273)])?this[i(280)][i(306)](t[i(273)])[i(260)]=t[i(180)]:(this[i(280)][i(322)](t[i(273)],lt(t[i(273)],!0)),this[i(424)][i(322)](t[i(273)],{}),e&&this[i(317)][i(322)](t[i(273)],lt(t[i(273)],!0)));const s=null===t[i(480)]?null:t[i(480)]||this[i(168)][i(410)][i(306)](i(247)).me.id,n=this[i(375)][i(306)](t[i(273)]);n&&n[i(166)]===s?this[i(375)][i(298)](t[i(273)]):this[i(375)][i(322)](t[i(273)],{userId:s,isAttached:t[i(180)]})}[rt(414)](t){const e=rt,i=this[e(424)][e(306)](t[e(227)][e(273)]);null===t[e(304)]?delete i[t[e(468)]]:i[t[e(468)]]=t[e(304)]}}function ut(t){const e=rt,i=lt(t[e(273)],t[e(400)]());for(const s of t[e(457)]()){const t=s[e(477)](!0);i[e(353)](t)}return i}function lt(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(273)]=t,s[i(260)]=e,s[i(400)]=()=>s[i(260)],s}function ht(t,e,i){const s=rt,n=s(318)==t[s(456)]?i[s(445)](t[s(284)],s(346)):i[s(162)](t[s(284)]);return i[s(199)](e,n[s(195)],n[s(305)])}function dt(t,e,i){const s=rt,n=s(177)==t[s(456)]?i[s(445)](t[s(284)],0):i[s(313)](t[s(284)]);return i[s(199)](e,n[s(195)],n[s(305)])}function ft(){const t=["createElement","_lastTo","userId","getOperation","editor","_makeIdsRoot","getRoot","createRangeIn","featureNotAllowed","domDocument","targetPosition","_bufferedUpdates","string","elementStart","getOperations","isOfficialPlugin","isAdd","nodes","from","_getTypeCharForViewElement","_initialRevisionId","toVersion","getRange","createRange","size","_getViewJson","addRoot","diffData","ready","buildRevisionData","rawElement","path","_baseIdsRoots","text","_applyOperations","createPositionFromPath","merge","toView","Empty document","saveRevision","_handleRootOperation","element","_baseRoots","_startingRevisionId","position","markerToData","trim","start","graveyardPosition","_handleMarkerOperation","revisionHistoryLicenseKeyUsageLimit","document","_generateTape","define","reInit","_handleSplitOperation","customProperties","destroy","revisionHistoryLicenseKeyValid","_lastFrom","uiElement","data","expired","root","paragraph","_removeMetaData","deletions","2796556jpCkVY","setSource","getAncestors","8sjEfXP","max","usageLimit","getLatestVersion","oldRange","changeRootAttribute","_fixPosition","152wlbuKT","rootsAttributes","_startingVersion","addRevision","clear","marker","Users","map","detachRoot","innerHTML","getChild","nodeAfter","_continueCurrentRevision","getFillerOffset","add","keys","affectsData","children","currentRevision","_isAttached","revisionHistoryLicenseKeyEvaluationLimit","attachChange","find","22749IpPmHB","isReady","getRevisions","htmlProcessor","dataToMarker","_utils","_touched","hasContent","_createFromRanges","rootName","baseVersion","_createCurrentRevision","attributesAfter","_reset","vid","history","_diffRoots","_copyMarkers","RevisionHistoryUtils","_cloneOperation","item","split","initialData","shift","addRootAttribute","_isInit","RevisionsRepository","revisionHistoryLicenseKeyExpired","Initial revision","getNodeByPath","_fixRange","addRevisionData","_handleInsertOperation","_baseRootsAttributes","delete","stringify","sourcePosition","8389970RYHDGJ","getUser","_transformMarkers","newValue","stickiness","get","source","howMany","_operations","isEnabled","PENDING_ACTION_REVISION_HISTORY","filter","createPositionAfter","27nehFBE","init","RealTimeCollaborationClient","_idsRoots","elementEnd","attributesBefore","_setConversion","_getVidAttributeName","set","reverse","upcast","getIndex","remove","getTime","push","_showLicenseError","getWalker","tableCell","_execute","startsWith","invalid","_createInitialRevision","_getFromVersion","range","$text","_insertChild","createRevision","slice","clone","vid_end","insert","_bufferUpdate","end","_handleOperation","values","evaluationLimit","render","_markChanges","7030062qFeJwS","_appendChild","revisionHistoryLicenseKeyInvalid","offset","_source","isPremiumPlugin","8OwPslL","revisionHistoryLicenseKeyTrialLimit","_loadedStateData","fillerOffset","trialLimit","_isPendingUpdate","afterInit","documentFragment","_makeModelFromViewString","for","resolve","includes","offsetSize","fromVersion","_getState","getMovedRangeStart","model","_touchedRoots","_calculateMetaData","getRevision","initial","_touchedMarkers","insertions","loadRevisionData","adapter","removeRootAttribute","_makeRevision","_getPreviousFrom","updateRevisions","outerHTML","getCurrentRevisionId","childCount","RevisionHistory","pluginName","editor-initial-data-replaced-with-revision-data","NEGATIVE_INFINITY","_markers","loadState","_setAttribute","update","name","move","isAttached","conversion","_getBaseVids","_prepareViewToSave","_fixOperation","revisionHistoryLicenseKeyDomainLimit","_loadState","_revisionId","deletion","splitPosition","plugins","collaboration.channelId","_replaceEditorDataWithRevisionData","locale","_handleRootAttributeOperation","insertion","31326746CCzIOO","revisionHistory.resumeUnsavedRevision","then","getRevisionDocumentData","getAttribute","fromEntries","_savedMetaData","sort","_diffRootsAttributes","has","domainLimit","roots","requires","getAttributes","getRootNames","_pendingAction","licenseKey","length","some","RevisionTracker","_removePendingAction","revision:","insertionPosition","newRange","_processRootBeforeSave","$graveyard","$comment","_handleMoveOperation","getData","createPositionAt","_update","2864110AWfKlc","isEqual","PendingActions","_saveMetaData","keepParagraph","177029AyRmal","_handleMergeOperation","sendBufferedUpdates","domConverter","type","getChildren","bind","dataDowncast","getTransformedByOperation","_licenseKeyCheckInterval","config","revisionHistoryLicenseKeyNotAllowed","authors","vid_start","authorsIds","reinsert","key","_addPendingAction","_findInsertionIndex","repository","revision","markers","version","parent","creatorId","_clone","_revisionDataBuilder","creator","_authorId","createdAt","getCustomProperties","getRevisionRootsAttributes","setRevisionData","previousPosition","createPositionBefore","finally"];return(ft=function(){return t})()}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),xt=i(426),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=It(),Tt.insert=wt().bind(null,"head"),Tt.domAPI=kt(),Tt.insertStyleElement=Ot();gt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=141]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(874687===-parseInt(e(142))/1*(-parseInt(e(155))/2)+parseInt(e(157))/3*(parseInt(e(167))/4)+parseInt(e(148))/5+parseInt(e(143))/6+parseInt(e(153))/7+parseInt(e(147))/8*(parseInt(e(184))/9)+parseInt(e(175))/10*(-parseInt(e(145))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Mt extends pt.View{[At(181)];[At(170)];[At(165)];constructor(e,i){const s=At;super(e),this[s(181)]=new t.FocusTracker,this[s(170)]=new t.KeystrokeHandler,this[s(172)](s(179),""),this[s(165)]=this[s(166)](i),this[s(176)]({tag:s(163),attributes:{class:["ck",s(152),s(182)],tabindex:"-1"},children:[this[s(165)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(149)](){const t=At;super[t(149)](),(0,pt.submitHandler)({view:this}),this[t(181)][t(177)](this[t(165)][t(146)]),this[t(170)][t(183)](this[t(146)]);const e=e=>e[t(150)]();this[t(170)][t(172)](t(173),e),this[t(170)][t(172)](t(178),e),this[t(170)][t(172)](t(158),e),this[t(170)][t(172)](t(141),e)}[At(151)](){const t=At;this[t(165)][t(151)]()}get[At(180)](){const t=At;return this[t(165)][t(162)][t(146)][t(174)][t(160)]()}set[At(180)](t){const e=At;this[e(165)][e(162)][e(146)][e(174)]=t[e(160)]()}[At(154)](){const t=At;this[t(165)][t(162)][t(146)][t(174)]="",this[t(165)][t(164)]=null}[At(166)](t){const e=At,i=new pt.LabeledFieldView(this[e(169)],pt.createLabeledInputText),s=i[e(162)];s[e(159)]({attributes:{maxlength:e(144)}});let n=Q(this[e(169)],e(161));return!t&&(n+=" ("+Q(this[e(169)],e(171))+")"),i[e(156)]=n,s.on(e(168),(()=>{const t=e;this[t(179)]=s[t(146)][t(174)][t(160)]()})),i}}function Dt(){const t=["label","201dXMiax","arrowup","extendTemplate","trim","Name of the revision","fieldView","form","errorText","revisionNameInputView","_createRevisionNameInput","95012KuTUjw","input","locale","keystrokes","optional","set","arrowright","value","890sisLtt","setTemplate","add","arrowleft","revisionNameInputValue","revisionName","focusTracker","ck-responsive-form","listenTo","54KNRAIp","arrowdown","154949uJUeyS","1680168TPLznY","220","549890mrMvcx","element","1519376eIxMau","6452645yvDOpe","render","stopPropagation","focus","ck-revision-history-save-revision-form","4986513PrmHup","reset","4McEBfF"];return(Dt=function(){return t})()}function Et(t,e){const i=Ct();return(Et=function(t,e){return i[t-=199]})(t,e)}function Ct(){const t=["_showDialog","role","locale","_saveRevisionFormView","Open revision history","componentFactory","addMany","view","items","requires","pluginName","set","menuBar:revisionHistory","revisionNameInputView","11743144NNgeJf","showRevisionViewerCallback","hide","isEnabled","get","execute","_registerMenuComponent","Accept","revisionName","1431084ZfwsuD","panelView","523610OLaqjR","revisionSave","Save current revision","errorText","592507OQkxxc","children","2710968tkKgPx","add","buttonView","Revision history","isReadOnly","saveRevision","Cancel","show","bind","init","1300523eCSpup","menu","isReady","editing","editor","render","ck-button-action","revisionHistory","The revision name cannot be empty.","isOfficialPlugin","submit","reset","RevisionTracker","delegate","config","RevisionHistoryUI","Dialog","isOpen","2046400LtxIJf","focus","revisionHistory.requireRevisionName","_createSaveRevisionFormView","menuitem","isPremiumPlugin","plugins","6NxuRVm"];return(Ct=function(){return t})()}const Ft=Et;!function(t){const e=Et,i=t();for(;;)try{if(742836===-parseInt(e(204))/1+parseInt(e(200))/2+-parseInt(e(265))/3+parseInt(e(206))/4+-parseInt(e(234))/5+parseInt(e(241))/6*(-parseInt(e(216))/7)+parseInt(e(256))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends W.Plugin{static get[Ft(252)](){return Ft(231)}static get[Ft(225)](){return!0}static get[Ft(239)](){return!0}static get[Ft(251)](){return[at]}[Ft(245)];[Ft(215)](){const t=Ft,e=this[t(220)],i=e[t(240)][t(260)](t(228));e.ui[t(247)][t(207)](t(223),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(199)][n(205)],a=new pt.ListView(s),c=new pt.ListItemView(s),u=new pt.ButtonView(s),l=new pt.ListItemView(s),h=new pt.ButtonView(s);return r[n(214)](n(259)).to(i,n(218),i,n(259),e,n(210),((t,e,i)=>t&&e&&!i)),r[n(208)][n(253)]({icon:mt.IconHistory,label:Q(s,n(209)),tooltip:!0}),u[n(253)]({label:Q(s,n(202)),withText:!0,role:n(238)}),u[n(214)](n(259)).to(i,n(218),i,n(259),e,n(210),((t,e,i)=>t&&e&&!i)),u.on(n(261),(()=>this[n(242)]())),h[n(253)]({label:Q(s,n(246)),withText:!0,role:n(238)}),h[n(214)](n(259)).to(i,n(218),e,n(210),((t,e)=>t&&!e)),h.on(n(261),(()=>{const t=n;e[t(230)][t(260)](t(223))[t(257)](),r[t(233)]=!1,e[t(219)][t(249)][t(235)]()})),c[n(205)][n(207)](u),l[n(205)][n(207)](h),a[n(243)]=n(217),a[n(250)][n(248)]([c,l]),o[n(207)](a),r})),e.ui[t(247)][t(207)](t(254),(()=>this[t(262)]()))}[Ft(262)](){const t=Ft,e=this[t(220)],i=e[t(244)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(208)][t(253)]({icon:mt.IconHistory,label:Q(i,t(209))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(253)]({label:Q(i,t(202))}),o[t(229)](t(261)).to(s),o.on(t(261),(()=>{this[t(242)]()})),r[t(205)][t(207)](o),n[t(250)][t(207)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(253)]({label:Q(i,t(246))}),c[t(229)](t(261)).to(s),c.on(t(261),(()=>{const i=t;e[i(230)][i(260)](i(223))[i(257)]()})),a[t(205)][t(207)](c),n[t(250)][t(207)](a),s[t(199)][t(205)][t(207)](n),s}[Ft(242)](){const t=Ft,e=this[t(220)],i=e[t(244)],s=e[t(240)][t(260)](t(232)),n=e[t(240)][t(260)](t(228));function r(n){const r=t;e[r(230)][r(260)](r(236))&&""===n[r(264)]?n[r(255)][r(203)]=Q(i,r(224)):(e[r(240)][r(260)](at)[r(211)]({name:n[r(264)]}),s[r(258)]())}this[t(245)]||(this[t(237)](),this[t(245)].on(t(226),(()=>r(this[t(245)])))),this[t(245)][t(227)](),s[t(213)]({id:t(201),title:Q(i,t(202)),isModal:!0,content:this[t(245)],actionButtons:[{label:Q(e[t(244)],t(212)),withText:!0,onExecute:()=>s[t(258)]()},{label:Q(e[t(244)],t(263)),class:t(222),withText:!0,onCreate(i){const s=t;i[s(214)](s(259)).to(n,s(218),n,s(259),e,s(210),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(245)])}]})}[Ft(237)](){const t=Ft,e=this[t(220)],i=e[t(244)];this[t(245)]=new Mt(i,e[t(230)][t(260)](t(236))),this[t(245)][t(221)]()}}const jt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(544347===parseInt(e(128))/1*(-parseInt(e(116))/2)+-parseInt(e(132))/3*(-parseInt(e(140))/4)+parseInt(e(122))/5*(-parseInt(e(129))/6)+-parseInt(e(118))/7+parseInt(e(137))/8+parseInt(e(110))/9*(parseInt(e(125))/10)+parseInt(e(113))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends pt.View{[jt(120)];[jt(117)];constructor(t,e){const i=jt;super(t),this[i(117)]=e,this[i(120)]=e.id;const s=this[i(135)],n=Q(t,e[i(139)][i(134)]?i(124):i(131)==e[i(123)]?i(114):i(112));this[i(115)](i(123),e[i(123)]),this[i(126)]({tag:i(142),attributes:{class:[i(127),i(111),s.to(i(123),(t=>i(121)+t))],tabindex:-1},children:[{tag:i(130),children:[{tag:i(130),attributes:{class:[i(133)]},children:[{text:n}]},{text:" "+e[i(136)][i(119)]}]}]})}[jt(138)](){const t=jt;this[t(141)][t(138)]()}}function zt(){const t=["38460sbxJOg","setTemplate","ck-annotation","8pMrUdD","53160GAkWdz","span","add","42KoQYIq","ck-revision-change__label","isSuggestion","bindTemplate","author","7297392NFMrCG","focus","data","78316ucmLdr","element","div","711SGjRvE","ck-revision-change","Removed by","7762370KsFwID","Added by","set","4310IHXCKm","_model","5733539gpGyYz","name","changeId","ck-revision-change__","460OndFmv","type","Suggested by"];return(zt=function(){return t})()}var Wt=qt;function qt(t,e){var i=Zt();return(qt=function(t,e){return i[t-=375]})(t,e)}function Zt(){var t=["692244hWArdk","360068GwgZim","data","createdAt","4838370DHCaCb","type","toJSON","815pltdtz","40VbROaS","2GrRgJH","1002789nddtxB","11984940KOfQFj","1495329eiPiyE","author","4036vwIOBH","set","rootName"];return(Zt=function(){return t})()}!function(t){for(var e=qt,i=t();;)try{if(430146===parseInt(e(382))/1*(parseInt(e(390))/2)+parseInt(e(376))/3+parseInt(e(378))/4*(-parseInt(e(388))/5)+-parseInt(e(385))/6+-parseInt(e(381))/7+-parseInt(e(389))/8*(parseInt(e(391))/9)+parseInt(e(375))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Ht extends((0,t.ObservableMixin)()){id;[Wt(377)];[Wt(386)];[Wt(383)];[Wt(380)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(377)]=e[i(377)],this[i(386)]=e[i(386)],this[i(383)]=e[i(383)]||{},this[i(380)]=e[i(380)],this[i(379)](i(384),e[i(384)])}[Wt(387)](){var t=Wt;return{id:this.id,authorId:this[t(377)].id,type:this[t(386)],data:this[t(383)],createdAt:this[t(384)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=404]})(t,e)}function Yt(){const t=["552903mZSLdu","552678dqRYei","changes","newRevisionId","oldRevisionId","54ETyKQT","691190yZGXtT","45MKOgSu","52828dhZAwK","3669696SrwdsN","1160880cNhRls","7MnUfez","_setChanges","add","2019980KERUIn"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(369267===-parseInt(e(413))/1+parseInt(e(414))/2+parseInt(e(418))/3*(parseInt(e(406))/4)+-parseInt(e(412))/5+parseInt(e(407))/6+-parseInt(e(409))/7*(parseInt(e(408))/8)+parseInt(e(405))/9*(parseInt(e(404))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(416)];[$t(417)];[$t(415)];constructor(e,i){const s=$t;this[s(416)]=e,this[s(417)]=i,this[s(415)]=new t.Collection}[$t(410)](t){const e=$t;for(const i of t)this[e(415)][e(411)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=469]})(t,e)}function te(){const t=["_setDistance","slice","delete","_makeModelFromTape","type","affectsData","toViewPosition","addRevision","bind","revision","markerToHighlight","sort","isIncorrect","ck-suggestion-marker--active","WidgetToolbarRepository","loadRevisionData","isOnRoot","pluginName","4WMxScP","insert","conversion","enableReadOnlyMode","revisionHistoryAttachChange","_changeIdToChange","_makeTape","isInline","view","_markSuggestions","init","revisionHistory","then","_getViewForChange","RevisionsRepository","change:activeView","enqueueChange","roots","top","getRevision","markerNameToElements","map","checkAttribute","getDomRoot","ck-suggestion-marker","merge","newRevisionId","getWalker","getCustomProperty","addRoot","addClass","markerRange","getItems","isObject","_sortAndFilterDiffChanges","model","keys","change:activeChange","isAfter","_balloon","indexOf","setAttribute","addHighlight","previousPosition","element","includes","flat","_findChangeIdFromDomTarget","length","return","values","revision-viewer","nextPosition","isEqual","bottom","change","hasAttribute","resolve","for","name","2775744bPCyXm","getRevisionDocumentData","isAttached","span","index","_markMismatchedRemovedTags","getChild","_removeMissingPairs","first","ck-revision-history-root--active","showStack","attachChange","domConverter","writer","_data","ck-suggestion-marker-","getIndex","deletions","push","removeAttribute","restoreRevisionCallback","side","isRemoveSuggestion","authors","-new","next","attribute:vid","high","range","vid","_setChanges","diffData","revisionHistoryLabel","level","elementEnd","abs","editor","addRevisionData","dataDowncast","createRange","_getChangeFromId","schema","revision-comment:","createRangeIn","activeChange","ck-editor__editable__overlay","item","getRevisionRootsAttributes","backward","markersEnd","_update","observeMarkers","addMarker:revision-suggestion:deletion","unshift","elementToAttribute","nodeAfter","removeMarker","done","splice","restoreRevision","534TOgEMu","bindElementToMarker","maxOffset","modelRange","isPremiumPlugin","diff","start","concat","ck-revision-history-root-","insertions","selection","revision:","markerName","mouseover","_threeWayMerge","upcast","test","execute","plugins","isBefore","userId","_initInteractions","_step","numberOfChanges","isContent","change:isReady","low","end","pairId","isAddSuggestion","showNextChange","hasClass","startIndex","createAttributeElement","endIndex","right","_cleanUp","7157848RpjvkV","insertion","split","getLaterVisibleRevision","requires","comment","remove","unbindElementFromMarkerName","wrap","has","_appendChild","data","compare","ck-suggestion-marker-merge","RevisionHistoryUtils","isCollapsed","ck-suggestion-preview-marker-","24354650gQqJMv","config","suggestion","suggestion:","string","RevisionViewer","7257123xnOXEg","currentChangeNumber","reconvertMarker","highest","14gpGgDp","_getRevisionsRange","addMarker:revision-suggestion:insertion","from","mapper","toViewElement","activeView","dataToMarker","_changeView","offsetSize","ck-suggestion-preview-marker","change:isEnabled","domEvent","detachRoot","catch","getRootNames","isEnabled","vid_end","removeClass","filter","distance","oldRevisionId","getAttributes","forEach","findIndex","adapter","rootName","attributesAfter","showPreviousChange","object","getClientRects","createRevision","revision-suggestion:","isAdded","removeMarker:revision-suggestion","51870UnGPkP","mapViewToDom","error","elementStart","4555068RVXcnU","document","_markInsertions","_joinTapes","POSITIVE_INFINITY","_revisions","getAttribute","_setConversion","viewItem","revision-suggestion","isLimit","consume","locale","isOfficialPlugin","forceDisabled","parent","isAtEnd","createPositionBefore","_cleanMarkers","createUIElement","createPositionFromPath","mousedown","target","forward","get","stop","pop","deletion","_utils","_markMarkers","markerToData","117371XKXcUr","toViewRange","editingDowncast","updatePosition","text","addMarker:revision","data-change-id","getRoot","_activeViewTarget","ck-suggestion-marker-split","_fixObsoleteTags","clear","left","isNavigationMode","element:pre","nextSibling","_removeUnsupportedChanges","startsWith","commands","attributesBefore","isBlock","markers","changeId","isRemoved","_getDiff","change:numberOfChanges","consumable","softBreak","repository","downcastDispatcher","_processTape","_refreshStartEndIndex","refresh","changes","ck-revision-history-root-add","uiElement","editing","markersStart","find","add","listenTo","code","all","attributes","vid_start","ck-revision-history-root-remove","set","isSuggestion","shift","_makeModelFromViewString","isAtStart","isReady","removeMarker:revision","destroy"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(797006===parseInt(e(623))/1*(parseInt(e(553))/2)+parseInt(e(755))/3*(parseInt(e(695))/4)+-parseInt(e(588))/5*(-parseInt(e(489))/6)+parseInt(e(592))/7+-parseInt(e(526))/8+parseInt(e(549))/9+-parseInt(e(543))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends W.Plugin{[Xt(651)];[Xt(578)]=null;[Xt(620)];[Xt(631)];[Xt(561)];[Xt(700)];[Xt(734)];static get[Xt(694)](){return Xt(548)}static get[Xt(605)](){return!0}static get[Xt(493)](){return!0}static get[Xt(530)](){return[q.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Xt;super(t),this[e(651)]=this[e(791)][e(507)][e(616)](e(709)),this[e(620)]=this[e(791)][e(507)][e(616)](e(540)),this[e(669)](e(473),null),this[e(669)](e(559),null),this[e(631)]=null,this[e(669)](e(494),null),this[e(669)](e(674),!1),this[e(669)](e(569),!0),this.on(e(564),((t,i,s)=>{const n=e;this[n(473)]=null,this[n(559)]=null,this[n(791)][n(659)][n(703)][n(750)]((t=>{const e=n;for(const i of this[e(791)][e(659)][e(703)][e(593)][e(712)])s?t[e(571)](e(474),i):t[e(725)](e(474),i)}))})),this[e(685)](e(636)).to(this,e(473),(t=>null!==t)),this[e(685)](e(550)).to(this,e(674),this,e(494),this,e(473),((t,i,s)=>t&&s?i[e(656)][e(771)](s):0)),this[e(685)](e(512)).to(this,e(674),this,e(494),((t,i)=>t?i[e(656)][e(743)]:0)),this[e(561)]=null,this[e(700)]=new Map,this[e(734)]=this[e(791)][e(507)][e(616)](pt.ContextualBalloon)}[Xt(705)](){const t=Xt,e=this[t(791)],i=new ne(e,{direction:t(477)}),s=new ne(e,{direction:t(615)});e[t(641)][t(662)](t(581),i),e[t(641)][t(662)](t(519),s),e[t(641)][t(662)](t(488),new se(e)),this.on(t(648),(()=>{const e=t;i[e(655)](),s[e(655)]()})),this[t(599)](),this[t(510)](),e[t(698)](t(746)),e[t(507)][t(535)](t(691))&&e[t(507)][t(616)](t(691))[t(606)](t(746))}async[Xt(756)](t){const e=Xt;return await this[e(620)][e(692)](t,this[e(578)]),this[e(620)][e(756)](t)}async[Xt(476)](t){const e=Xt;return await this[e(620)][e(692)](t,this[e(578)]),this[e(620)][e(476)](t)}async[Xt(538)](t,e,i=!1){const s=Xt;if(!this[s(569)])return;const n=this[s(494)],r=this[s(651)],o=s(547)==typeof t?r[s(714)](t):t,a=s(547)==typeof e?r[s(714)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(494)]&&this[s(494)][s(721)]===c&&this[s(494)][s(574)]===u)return Promise[s(752)]();this[s(674)]=!1,this[s(559)]=null,this[s(473)]=null,this[s(494)]=new Jt(c,u);const l=this[s(554)](o,a,!0)[s(716)]((t=>this[s(620)][s(692)](t,this[s(578)])));return l[s(773)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(665)](l)[s(707)]((()=>{const t=s;if(!this[t(569)])return;this[t(525)]();const e=this[t(647)](c,u);for(const i of e[t(656)])this[t(700)][t(669)](i.id,i);this[t(791)][t(730)][t(711)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(791)][s(730)][s(593)][s(568)]())i[s(566)](t);for(const t of Object[s(731)](e[s(730)])){const n=i[s(724)](t);for(const r of Object[s(731)](e[s(666)][t]))i[s(736)](r,e[s(666)][t][r],n);i[s(696)](e[s(730)][t],n,0)}})),this[t(494)][t(785)](this[t(729)](e[t(656)])),this[t(674)]=!0}))[s(567)]((t=>{const e=s;console[e(590)](t),this[e(525)](),n&&(this[e(494)]=n),this[e(674)]=!0}))}[Xt(792)](t,e){const i=Xt,s=this[i(651)][i(584)](t);return s.on(i(479),((t,i,n)=>e(i,n,s))),this[i(651)][i(684)](s),s}[Xt(525)](){const t=Xt;this[t(473)]=null,this[t(610)](),this[t(561)]&&this[t(561)][t(676)](),this[t(561)]=null,this[t(700)][t(634)](),this[t(791)][t(730)][t(711)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(791)][i(730)][i(593)][i(568)]())e[i(566)](t)}))}[Xt(729)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(791)][e(730)][e(593)][e(568)]()){const n=this[e(791)][e(659)][e(703)][e(718)](t);if(!n)continue;const r=n[e(583)]()[e(475)](0);r&&(i[e(773)](t),s[e(669)](t,r))}return i[e(688)](((t,i)=>{const n=e,r=s[n(616)](t),o=s[n(616)](i);return r.y-o.y||r.x-o.x})),(t=t[e(572)]((t=>i[e(740)](t[e(579)]))))[e(688)](((t,s)=>i[e(735)](t[e(579)])-i[e(735)](s[e(579)]))),t}[Xt(701)](t){const e=Xt,i=Array[e(556)](t[e(644)])[e(572)]((([t,i])=>t[e(640)](e(500))&&!i[e(541)])),s=Array[e(556)](this[e(791)][e(730)][e(472)](t)[e(722)]({singleCharacters:!0}));if(0!=i[e(743)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(528)](":");if(n[e(516)][e(748)](t[e(747)])&&i[e(671)](),(t[e(738)][e(748)](n[e(495)])||t[e(738)][e(733)](n[e(495)]))&&(e(527)==r?t[e(586)]={userId:o}:e(619)==r&&(t[e(646)]={userId:o})),0==i[e(743)])break}return s}[Xt(654)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(743)];s++)e(627)===t[s][e(681)]?(t[s][e(475)][e(521)]=s,t[s][e(475)][e(523)]=s):(e(591)===t[s][e(681)]?t[s][e(475)][e(521)]=s:e(789)===t[s][e(681)]&&(t[s][e(475)][e(523)]=s),i[e(669)](t[s].id,s));for(const s of i[e(745)]())e(591)===t[s][e(681)]?t[s][e(475)][e(523)]=i[e(616)](t[s][e(517)]):e(789)===t[s][e(681)]&&(t[s][e(475)][e(521)]=i[e(616)](t[s][e(517)]))}[Xt(653)](t){const e=Xt;for(let i=0;i<t[e(743)];i++){if(e(591)===t[i][e(681)])t[i][e(475)][e(521)]=i;else if(e(789)===t[i][e(681)]){t[i][e(475)][e(523)]=i;const s=t[i][e(475)][e(521)];t[s][e(517)]=t[i].id,t[i][e(517)]=t[s].id}else t[i][e(475)][e(521)]=i,t[i][e(475)][e(523)]=i,t[i][e(517)]=null;t[i][e(660)]||(t[i][e(660)]=[],t[i][e(478)]=[])}}[Xt(594)](t,e){const i=Xt,s=t[i(572)]((t=>!t[i(586)]));for(let t=0;t<e[i(743)];t++)e[t][i(586)]&&(s[t][i(586)]=e[t][i(586)])}[Xt(647)](t,e=null){const i=Xt,s=this[i(651)][i(714)](t),n=e?this[i(651)][i(714)](e):null,r=this[i(554)](s,n),o=r[r[i(743)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(743)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(731)](e[i(786)]))if(e[i(786)][t][i(766)]){const s=e[i(786)][t][i(766)];s[i(757)]?(u[i(662)](t),l[i(535)](t)&&l[i(616)](t)[i(509)]==s[i(509)]?l[i(679)](t):l[i(669)](t,s)):l[i(535)](t)?(u[i(679)](t),l[i(679)](t)):(u[i(662)](t),l[i(669)](t,s))}else u[i(662)](t)}for(const t of u){const e=l[i(535)](t)&&!l[i(616)](t)[i(757)];let s=e?r[i(743)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(786)][t]){const s=e?o[i(786)][t][i(642)]:o[i(786)][t][i(580)];c[i(666)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(730)]={};for(const e of t[i(778)])a[i(669)](e.id,e);for(const e of u){const s=t[i(786)][e]?t[i(786)][e][i(498)]:"[]",n=t[i(786)][e]?t[i(786)][e][i(772)]:"[]";t[i(730)][e]={insertions:this[i(620)][i(672)](s),deletions:this[i(620)][i(672)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(556)](s[i(730)][t][i(498)][i(644)])[i(572)]((([t])=>!t[i(640)](i(500)))));let h=0;for(const o of r){const r=this[i(701)](o[i(730)][t][i(498)]);o==s?(e=r,n=e[i(743)],e[i(576)]((t=>{t.id=h++})),this[i(653)](e)):this[i(594)](e,r);const a=e[i(572)]((t=>!t[i(586)]))[i(716)]((t=>t.id));let c=0;const l=this[i(701)](o[i(730)][t][i(772)]);l[i(576)]((t=>{t[i(646)]?t.id=n++:t.id=a[c++]})),this[i(653)](l),this[i(677)](e,i(586)),this[i(677)](l,i(646)),o==s&&this[i(621)](e,u),e=this[i(595)](e,l),this[i(654)](e),this[i(677)](e,i(646))}e=e[i(572)]((t=>!(t[i(586)]&&t[i(646)])));const d=new Map(o[i(730)][t][i(772)][i(644)]),f=new Set(u[i(731)]());for(const t of d[i(731)]())f[i(679)](t);this[i(704)](e,f),this[i(633)](e),e=this[i(762)](e),e=this[i(760)](e),e=this[i(639)](e);const{root:m,changes:p}=this[i(680)](e,a,t);c[i(730)][t]=m;const v=l[i(616)](t);if(v){const e=a[i(616)](v[i(509)]),s=new Ht({author:e,type:v[i(757)]?i(662):i(532),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(482)](s),c[i(666)][t][i(699)]=s.id}c[i(656)]=c[i(656)][i(496)](p)}return c}[Xt(621)](t,e){const i=Xt;for(let s=0;s<t[i(743)];s++)for(const[n,r]of e)!r[i(541)]&&r[i(495)][i(748)](t[s][i(738)])&&t[s][i(660)][i(773)](n),r[i(516)][i(748)](t[s][i(747)])&&t[s][i(478)][i(773)](n)}[Xt(595)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(743)]||r<e[i(743)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(773)](o);else if(a[i(646)]&&o[i(586)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(503)](t,n,e,r);s=s[i(496)](o),n=a,r=c}else a[i(646)]?(r++,s[i(773)](a)):(n++,s[i(773)](o))}return s}[Xt(704)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(743)];o++){for(let r=0;r<t[o][i(660)][i(743)];r++){const a=t[o][i(660)][r];if(!e[i(535)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(601)!=c||i(527)!=u&&i(619)!=u||(s[i(482)]({type:u,name:a,userId:l}),t[o][i(660)][i(487)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(478)][i(743)];r++){const a=t[o][i(478)][r];if(!e[i(535)](a))continue;const{group:c,type:u}=n(a);if(i(601)!=c||i(527)!=u&&i(619)!=u)continue;t[o][i(478)][i(487)](r,1),r--;const l=s[i(577)]((t=>t[i(754)]==a));l>-1&&s[i(487)](l,1)}}function n(t){const e=i,s=t[e(528)](":");return{group:s[0],type:s[1],subType:s[e(743)]>=5?s[2]:null,id:s[e(743)]<5?s[2]:s[3],authorId:s[e(743)]<5?s[3]:s[4],markerCount:6==s[e(743)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(743)];i++){if(t[e(586)]&&e(527)==s[i][e(681)]&&t[e(586)][e(509)]==s[i][e(509)])return t[e(518)]=s[i],void delete t[e(586)];if(!t[e(586)]&&!t[e(646)]&&e(619)==s[i][e(681)])return void(t[e(777)]=s[i])}}}[Xt(677)](t,e){const i=Xt;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(669)](o.id,s);for(let s=0;s<t[i(743)];s++){if(i(646)==e&&t[s][i(586)]||i(586)==e&&t[s][i(646)])continue;if(i(627)==t[s][i(681)]){t[s][i(573)]=0;continue}const n=r[i(616)](t[s][i(517)]),o=r[i(616)](t[s].id);t[s][i(573)]=n-o}}[Xt(554)](t,e,i=!1){const s=Xt,n=[];let r=this[s(651)][s(771)](t),o=this[s(651)][s(771)](e);for(-1==o&&(o=this[s(651)][s(597)][s(743)],i=!1);r<o;)n[s(773)](this[s(651)][s(714)](r)),r++;return i&&n[s(773)](this[s(651)][s(714)](r)),n}[Xt(503)](t,e,i,s){const n=Xt,r=this[n(791)][n(730)][n(470)];let o=e;for(;t[o]&&t[o][n(586)];)o++;let a=s;for(;i[a]&&i[a][n(646)];)a++;u(t,e,o),u(i,s,a);const c=i[n(678)](s,a)[n(496)](t[n(678)](e,o));return c[n(688)](((t,e)=>t[n(776)]!=e[n(776)]?t[n(776)]-e[n(776)]:t[n(788)]!=e[n(788)]?t[n(788)]-e[n(788)]:t[n(573)]!=e[n(573)]?e[n(573)]-t[n(573)]:!!t[n(586)]!=!!e[n(586)]?-1==t[n(776)]||0==t[n(776)]?t[n(586)]?-1:1:t[n(586)]?1:-1:t[n(759)]-e[n(759)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(596)],c=!0;for(let n=e;n<i;n++)if(r[s(702)](t[n][s(475)])||(c=!1),t[n][s(475)][s(521)]<e&&(o=n),t[n][s(475)][s(523)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(776)]=n<=o?-1:n<a?0:1,t[n][s(759)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(573)]?t[i][s(788)]=u:(u++,t[i][s(788)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(776)]&&(t[n][s(788)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(573)]?t[e][s(788)]=u:(u--,t[e][s(788)]=u,u--)}}[Xt(633)](t){const e=Xt,i=new Map,s=this[e(791)][e(730)][e(470)];for(let n=1;n<t[e(743)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(627)==c[e(681)])continue;if(c[e(681)]!=u[e(681)])continue;if(!s[e(643)](u[e(475)])||s[e(602)](u[e(475)]))continue;if(!s[e(643)](c[e(475)])||s[e(602)](c[e(475)]))continue;if((t[n][e(586)]||t[n][e(518)])&&t[n-1][e(646)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(646)]||!t[n-1][e(586)]&&!t[n-1][e(518)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(788)]==o[e(788)],h=Math[e(790)](r[e(788)])<Math[e(790)](o[e(788)])&&0==o[e(573)];(l||h)&&(i[e(669)](o.id,r.id),t[e(487)](a,1),n--,r[e(586)]=!1)}for(let s=0;s<t[e(743)];s++)i[e(535)](t[s][e(517)])&&(t[s][e(517)]=i[e(616)](t[s][e(517)]))}[Xt(762)](t){const e=Xt,i=new Set(t[e(716)]((t=>t.id)));for(let s=0;s<t[e(743)];s++)i[e(535)](t[s][e(517)])||0==t[s][e(573)]||(t[s][e(689)]=!0);return t[e(572)]((t=>!t[e(689)]))}[Xt(760)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(743)];s++){if(i[e(535)](t[s].id)&&t[s][e(646)]&&(t[s][e(689)]=!0),t[s][e(689)])continue;if(0==t[s][e(573)])continue;if(e(591)!=t[s][e(681)])continue;if(null==t[s][e(517)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(517)];)e(591)==t[n][e(681)]?r++:e(789)==t[n][e(681)]&&r--,n++;if(0!=r)if(t[s][e(646)])t[s][e(689)]=!0;else for(;n!=s;)t[n][e(646)]&&0!=t[n][e(573)]&&(t[n][e(689)]=!0,i[e(662)](t[n][e(517)])),n--}return t[e(572)]((t=>!t[e(689)]))}[Xt(639)](t){const e=Xt,i=this[e(791)][e(730)][e(470)];for(let s=0;s<t[e(743)];s++){if(!(t[s][e(586)]||t[s][e(518)]||t[s][e(646)]||t[s][e(777)]))continue;if(0==t[s][e(573)])continue;const n=t[s][e(475)];i[e(643)](n)||i[e(602)](n)||(t[s][e(586)]&&delete t[s][e(586)],t[s][e(518)]&&delete t[s][e(518)],t[s][e(777)]&&delete t[s][e(777)],t[s][e(646)]&&(t[s][e(689)]=!0))}return t[e(572)]((t=>!t[e(689)]))}[Xt(680)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(791)][s(730)],c=a[s(470)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(743)];e++)if(s(591)===t[e][s(681)]){t[e][s(738)]=a[s(612)](n,f);const i=new Z.Element(t[e][s(475)][s(754)],t[e][s(475)][s(575)]());u[0][s(536)](i),f[s(773)](0),u[s(482)](i),t[e][s(747)]=a[s(612)](n,f)}else s(789)===t[e][s(681)]?(u[s(671)](),t[e][s(738)]=a[s(612)](n,f),f[s(618)](),f[f[s(743)]-1]++,t[e][s(747)]=a[s(612)](n,f)):(t[e][s(738)]=a[s(612)](n,f),d?d[s(769)]+=t[e][s(475)][s(537)]:d=new Z.Text(t[e][s(475)][s(537)],t[e][s(475)][s(575)]()),t[e+1]&&s(627)===t[e+1][s(681)]&&v(d,t[e+1][s(475)])||(u[0][s(536)](d),d=null),f[f[s(743)]-1]+=t[e][s(475)][s(562)],t[e][s(747)]=a[s(612)](n,f));for(let e=0;e<t[s(743)];e++){const i=t[e][s(738)],n=t[e][s(747)];for(const n of t[e][s(660)])o[s(669)](n,{start:i,end:null});m(s(777),e,i,n),m(s(518),e,i,n),m(s(646),e,i,n),m(s(586),e,i,n);for(const i of t[e][s(478)]){const t=o[s(616)](i);t?t[s(516)]=n:o[s(669)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(791)][s(730)][s(794)](e[s(495)],e[s(516)]);n[s(644)][s(669)](t,i)}return r[s(688)](((t,e)=>{const i=s,r=n[i(644)][i(616)](i(500)+t.id),o=n[i(644)][i(616)](i(500)+e.id);return r[i(495)][i(508)](o[i(495)])?-1:r[i(495)][i(733)](o[i(495)])?1:r[i(516)][i(508)](o[i(516)])?-1:r[i(516)][i(733)](o[i(516)])?1:i(662)===t[i(681)]?-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(509)]:null,d=i===t[o(743)]-1,f=h[e][0],m=c[o(728)](t[i][o(475)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(516)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(509)]!==u&&(l[e][o(516)]=n,f&&f[o(509)]===l[e][o(509)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(591)!==t[i][o(681)]||f&&f[o(509)]===u||h[e][o(482)]({userId:u,object:t[i][o(475)],change:l[e]}),o(789)===t[i][o(681)]&&f&&f[o(582)]===t[i][o(475)]&&(h[e][o(671)](),l[e]=f[o(750)])),l[e]&&d&&(l[e][o(516)]=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(475)],f=a[h(470)][h(643)](d)&&!a[h(470)][h(602)](d),m=t[h(484)]==o[h(607)]&&o[h(673)];if(f&&m)return;const p=a[h(794)](t,o),v=e[h(616)](u),g=new Ht({author:v,type:h(586)==l||h(518)==l?h(662):h(532),data:{isSuggestion:h(518)==l||h(777)==l},createdAt:new Date,rootName:i});r[h(773)](g),n[h(644)][h(669)](h(500)+g.id,p)}function v(t,e){const i=s,n=t[i(575)](),r=e[i(575)]();for(const t of n){if(t[1]!==e[i(598)](t[0]))return!1;r[i(780)]()}return r[i(780)]()[i(486)]}}[Xt(599)](){const t=Xt;this[t(791)][t(697)][t(753)](t(504))[t(560)]({view:t(686)}),this[t(791)][t(697)][t(753)](t(625))[t(687)]({model:t(686),view:e=>{const i=t,s=e[i(501)][i(528)](":")[1],n=this[i(469)](s);if(!n)return null;const r=i(662)==n[i(681)]?i(527):i(619),o=[i(719),i(770)+r];return n[i(537)][i(670)]&&o[i(773)](i(770)+r+i(779)),this[i(473)]==n&&o[i(773)](i(690)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(791)][t(697)][t(753)](t(504))[t(662)]((e=>{const i=t;e.on(i(637),((t,e,s)=>{const n=i,r=e[n(600)][n(761)](0);if(!r||!r.is(n(739),n(664)))return;if(!s[n(649)][n(603)](r,{attributes:[n(667),n(570)]}))return;const o=e[n(492)][n(495)][n(484)];s[n(768)][n(736)](n(667),r[n(598)](n(667)),o),s[n(768)][n(736)](n(570),r[n(598)](n(570)),o)}),{priority:i(515)})})),this[t(791)][t(697)][t(753)](t(504))[t(662)]((e=>{const i=t;e.on(i(739),((t,e,s)=>{const n=i;if(!s[n(649)][n(603)](e[n(600)],{attributes:[n(667),n(570)]}))return;if(e[n(492)][n(541)])return;const r=e[n(492)][n(495)][n(484)];r[n(751)](n(667))||r[n(751)](n(784))||(s[n(768)][n(736)](n(667),e[n(600)][n(598)](n(667)),r),s[n(768)][n(736)](n(570),e[n(600)][n(598)](n(570)),r))}),{priority:i(515)})})),this[t(791)][t(697)][t(753)](t(504))[t(483)]({view:{name:t(758),attributes:{vid:!0}},model:{key:t(784),value:e=>e[t(598)](t(784))}}),this[t(791)][t(730)][t(470)].on(t(717),((e,[,i])=>{const s=t;[s(667),s(570),s(784)][s(740)](i)&&(e[s(744)]=!0,e[s(617)]())}),{priority:t(552)}),this[t(791)][t(697)][t(753)](t(793))[t(662)]((e=>{const i=t;e.on(i(781),((t,e,s)=>{const n=i;if(" "!=e[n(475)][n(537)]||e[n(475)][n(607)][n(491)]>1)return;if(!s[n(649)][n(603)](e[n(475)],t[n(754)]))return;const r=s[n(768)],o=s[n(557)][n(624)](e[n(783)]);r[n(534)](o,r[n(522)](n(758)))}))})),this[t(791)][t(697)][t(753)](t(793))[t(622)]({model:t(686)}),this[t(791)][t(659)][t(652)].on(t(628),function(e){const i=t,s=e[i(507)][i(616)](i(548));return(t,n,r)=>{const o=i,a=n[o(501)][o(528)](":")[1],c=s[o(469)](a);if(!c)return null;const u=o(662)==c[o(681)]?o(528):o(720);if(!r[o(649)][o(505)](n[o(726)],t[o(754)]))return;const l=n[o(726)][o(722)](),h=n[o(726)][o(495)],d=e[o(730)][o(470)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(475)];p=p||d[o(513)](e);const i=r[o(557)][o(558)](e);if(i&&i[o(723)](o(737)))return;o(789)==t[o(681)]&&d[o(643)](e)&&!d[o(602)](e)&&(e[o(638)]||h[o(608)]?f&&f[o(607)]==e||(f=e,g(t[o(738)]),v=!0):m=m||t[o(738)])}function g(t){const e=o,i=r[e(768)][e(611)](e(758),{class:e(770)+u}),a=r[e(557)][e(683)](t);c[e(537)][e(670)]&&r[e(768)][e(725)](e(770)+u+e(779),i),s[e(473)]==c&&r[e(768)][e(725)](e(690),i),r[e(768)][e(696)](a,i),r[e(557)][e(490)](i,n[e(501)])}p||v||!m||g(m)}}(this[t(791)]),{priority:t(782)}),this[t(791)][t(659)][t(652)].on(t(675),((e,i,s)=>{const n=t,r=s[n(557)][n(715)](i[n(501)]);if(r)for(const t of r)(t[n(520)](n(632))||t[n(520)](n(539)))&&(s[n(557)][n(533)](t,i[n(501)]),s[n(768)][n(532)](t))}),{priority:t(782)}),this[t(791)][t(659)][t(652)].on(t(628),((e,i,s)=>{const n=t,r=i[n(501)][n(528)](":")[1],o=this[n(469)](r);if(!o)return null;const a=n(662)==o[n(681)]?n(528):n(720);if(s[n(649)][n(505)](i[n(726)],e[n(754)]))for(const t of i[n(726)][n(727)]()){if(!t.is(n(739),n(650)))continue;const e=s[n(768)][n(611)](n(758),{class:n(770)+a}),r=s[n(557)][n(683)](this[n(791)][n(730)][n(609)](t));o[n(537)][n(670)]&&s[n(768)][n(725)](n(770)+a+n(779),e),this[n(473)]==o&&s[n(768)][n(725)](n(690),e),s[n(768)][n(696)](r,e),s[n(557)][n(490)](e,i[n(501)])}}),{priority:t(782)}),this[t(791)][t(730)][t(593)].on(t(750),(()=>{const e=t;this[e(791)][e(659)][e(703)][e(750)]((t=>{const i=e;for(const e of this[i(791)][i(730)][i(593)][i(568)]()){const s=this[i(791)][i(730)][i(593)][i(630)](e),n=this[i(791)][i(659)][i(703)][i(593)][i(630)](e);if(n){const e=s[i(598)](i(699));if(t[i(774)](i(629),n),t[i(571)](i(657),n),t[i(571)](i(668),n),t[i(571)](i(764),n),e){const s=this[i(469)](e);if(!s)return null;t[i(736)](i(629),e,n),t[i(725)](i(497)+s[i(681)],n),this[i(473)]==s&&t[i(725)](i(764),n)}}}}))})),this[t(791)][t(697)][t(753)](t(504))[t(560)]({view:t(531),model:e=>t(471)+e,converterPriority:t(552)}),this[t(791)][t(697)][t(753)](t(504))[t(560)]({view:t(545),model:e=>t(585)+e,converterPriority:t(552)}),this[t(791)][t(697)][t(753)](t(793))[t(622)]({model:t(601),view:e=>({name:t(546)+e,group:t(601)}),converterPriority:t(552)}),this[t(791)][t(697)][t(753)](t(625))[t(687)]({model:t(601),view:e=>{const i=t,s=e[i(501)][i(528)](":")[1];return i(527)!=s&&i(619)!=s?null:{classes:[i(563),i(542)+s]}}}),this[t(791)][t(659)][t(652)].on(t(481),ie(this[t(791)],t(720)),{priority:t(782)}),this[t(791)][t(659)][t(652)].on(t(555),ie(this[t(791)],t(528)),{priority:t(782)}),this[t(791)][t(659)][t(652)].on(t(587),((e,i,s)=>{const n=t,r=s[n(557)][n(715)](i[n(501)]);if(r)for(const t of r)t.is(n(658))&&(s[n(557)][n(533)](t,i[n(501)]),s[n(768)][n(532)](t))}),{priority:t(782)})}[Xt(469)](t){const e=Xt;return this[e(700)][e(616)](t)}[Xt(708)](t){const e=Xt;return this[e(561)]&&this[e(561)][e(676)](),this[e(561)]=new Ut(this[e(791)][e(604)],t),this[e(561)]}[Xt(510)](){const t=Xt;this[t(791)][t(730)][t(593)][t(499)][t(480)](t(686)),this.on(t(710),((e,i,s,n)=>{const r=t;n&&this[r(734)][r(532)](n),s&&(this[r(734)][r(662)]({view:s,stackId:r(787),position:{target:()=>{const t=r,e=this[t(791)][t(659)],i=this[t(469)](s[t(645)]);let n;if(i[t(537)][t(693)]){const s=e[t(703)][t(718)](i[t(579)]);n=Array[t(556)](s[t(583)]())}else{const i=this[t(791)][t(730)][t(644)][t(616)](t(500)+s[t(645)]);n=Array[t(556)](e[t(557)][t(715)](i[t(754)]))[t(716)]((i=>e[t(703)][t(767)][t(589)](i)))[t(716)]((e=>Array[t(556)](e[t(583)]())))[t(741)]()}return this[t(631)]&&n[t(661)]((e=>e[t(713)]-3<=this[t(631)].y&&e[t(749)]+3>=this[t(631)].y&&e[t(635)]-3<=this[t(631)].x&&e[t(524)]+3>=this[t(631)].x))||n[0]}}}),this[r(734)][r(765)](r(787)))})),this.on(t(732),((e,i,s,n)=>{const r=t;this[r(559)]=s?this[r(708)](s):null,this[r(791)][r(730)][r(750)]((()=>{const t=r,e=this[t(791)][t(659)];n&&(n[t(537)][t(693)]?e[t(703)][t(750)]((i=>{const s=t;i[s(571)](s(764),e[s(703)][s(593)][s(630)](n[s(579)]))})):e[t(551)](t(500)+n.id)),s&&(s[t(537)][t(693)]?e[t(703)][t(750)]((i=>{const n=t;i[n(725)](n(764),e[n(703)][n(593)][n(630)](s[n(579)]))})):e[t(551)](t(500)+s.id))}))})),this[t(663)](this[t(791)][t(659)][t(703)][t(593)],t(502),((e,i)=>{const s=t;if(this[s(473)])return;const n=this[s(742)](i[s(614)]),r=this[s(700)][s(616)](n);r?(this[s(631)]={x:i[s(565)].x,y:i[s(565)].y},this[s(559)]=this[s(708)](r)):(this[s(631)]=null,this[s(559)]=null)})),this[t(663)](this[t(791)][t(659)][t(703)][t(593)],t(613),((e,i)=>{const s=t,n=this[s(742)](i[s(614)]),r=this[s(700)][s(616)](n);r?(this[s(631)]={x:i[s(565)].x,y:i[s(565)].y},r===this[s(473)]?this[s(734)][s(626)]():this[s(473)]=r):(this[s(631)]=null,this[s(473)]=null)}))}[Xt(742)](t){const e=Xt;do{const i=t[e(598)](e(629));if(i)return i;t=t[e(607)]}while(t);return null}[Xt(610)](){const t=Xt;this[t(791)][t(730)][t(750)]((e=>{const i=t;for(const t of this[i(791)][i(730)][i(644)])e[i(485)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(649)][r(505)](s[r(726)],i[r(754)]))return;const o=s[r(726)][r(722)](),a=s[r(726)][r(495)],c=t[r(730)][r(470)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(475)];h=h||c[r(513)](e);const i=n[r(557)][r(558)](e);if(i&&i[r(723)](r(737)))return;r(789)==t[r(681)]&&c[r(643)](e)&&!c[r(602)](e)&&(e[r(638)]||a[r(608)]?u&&u[r(607)]==e||(u=e,f(t[r(738)]),d=!0):l=l||t[r(738)])}function f(t){const i=r,o=n[i(557)][i(683)](t),a=n[i(768)][i(611)](i(758),{class:i(542)+e});n[i(768)][i(696)](o,a),n[i(557)][i(490)](a,s[i(501)])}h||d||!l||f(l)}}class se extends W.Command{constructor(t){const e=Xt;super(t);const i=t[e(507)][e(616)](ee);this[e(682)]=!1,this[e(663)](i,e(514),(()=>this[e(655)]())),this[e(663)](i,e(564),(()=>this[e(655)]()))}[Xt(506)](){const t=Xt,e=this[t(791)],i=e[t(507)][t(616)](ee),s=i[t(674)]?i[t(494)][t(721)]:null;e[t(544)][t(616)](t(706))[t(775)](s)}[Xt(655)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(791)][t(507)][t(616)](ee),r=n&&s[t(529)](n[t(721)]);this[t(569)]=e&&i&&Boolean(r)}}class ne extends W.Command{[Xt(511)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(507)][i(616)](ee);this[i(682)]=!1,this[i(511)]=i(615)===e?1:-1,this[i(663)](s,i(514),(()=>this[i(655)]())),this[i(663)](s,i(564),(()=>this[i(655)]())),this[i(663)](s,i(732),(()=>this[i(655)]()))}[Xt(506)](){const e=Xt,i=this[e(791)],s=i[e(507)][e(616)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(473)]=n?s[e(494)][e(656)][e(616)](r+this[e(511)]):s[e(494)][e(656)][e(763)],s[e(473)][e(537)][e(693)])o=i[e(659)][e(703)][e(718)](s[e(473)][e(579)]);else{const t=i[e(730)][e(644)][e(616)](e(500)+s[e(473)].id);o=(0,q.getMarkerDomElement)(i[e(659)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(655)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(791)][t(507)][t(616)](ee);this[t(569)]=!!(r&&n&&s)&&(!e||(1===this[t(511)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ue();return(ae=function(t,e){return i[t-=158]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(410624===parseInt(e(195))/1*(-parseInt(e(187))/2)+-parseInt(e(181))/3+-parseInt(e(161))/4*(parseInt(e(191))/5)+-parseInt(e(174))/6*(parseInt(e(189))/7)+-parseInt(e(197))/8+parseInt(e(193))/9*(-parseInt(e(201))/10)+parseInt(e(176))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(180)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(175)](e(196),!1),this[e(175)](e(169),!1),this[e(175)](e(168),0),this[e(175)](e(194),0),this[e(175)](e(171),!1),this[e(175)](e(167),!1),this[e(178)](e(188)).to(this,e(169),this,e(194),((t,e)=>t&&e>0)),this[e(178)](e(177)).to(this,e(169),this,e(168),this,e(194),this,e(196),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(185));if(!n)return Q(t,o(184));const a=Q(t,o(166),n);return r?Q(t,o(163),[s+1,n]):a})),s[e(175)]({label:Q(t,e(172)),tooltip:!0,icon:mt.IconChevronUp}),n[e(175)]({label:Q(t,e(183)),tooltip:!0,icon:mt.IconChevronDown}),s[e(178)](e(162)).to(this,e(167)),n[e(178)](e(162)).to(this,e(171)),s.on(e(173),(()=>this[e(164)](e(173),e(160)))),n.on(e(173),(()=>this[e(164)](e(173),e(182)))),this[e(200)]({tag:e(192),attributes:{class:["ck",e(190),e(199)]},children:[{tag:e(198),attributes:{class:[e(165)]},children:[{tag:e(198),attributes:{class:[e(170),i.if(e(188),e(158),(t=>!t))]},children:[{text:i.to(e(196),(i=>i?Q(t,e(159))+": ":Q(t,e(186))+": "))}]},{text:i.to(e(177))}]},new pt.ToolbarSeparatorView,{tag:e(192),attributes:{class:[e(179)]},children:[s,n]}]})}}function ue(){const t=["ck-revision-history-ui__changes-navigation__wrapper","NUMBER_OF_CHANGES","isBackwardNavigationEnabled","currentChangeNumber","isReady","ck-revision-history-ui__changes-navigation__label","isForwardNavigationEnabled","Show previous change","execute","116394UhRavQ","set","29754065ZSpaXH","_statusText","bind","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","1460979QCpZVf","forward","Show next change","No changes","Loading...","Total","11026uOSSaH","_isStatusLabelVisible","203wuKKNE","ck-revision-history-ui","297655XpSqPZ","div","9LyJZQy","numberOfChanges","91iUksOq","isNavigationMode","511928nAVbBQ","span","ck-revision-history-ui__changes-navigation","setTemplate","242120HyEpWu","ck-hidden","EDIT_X_OF_Y_REVISIONS","backward","44SYYfJf","isEnabled","X_OF_Y_CHANGES","fire"];return(ue=function(){return t})()}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=pe;function fe(){const t=["isPremiumPlugin","852728cWgVtU","removeClass","show","change","editor","282265vqkzLW","450443fwIVaT","243220JdMBcE","document","44889xAdzvR","roots","hide","2502XGNANh","isOfficialPlugin","6vZGKqq","ck-editor__editable__loading-overlay","pluginName","view","107930RRypVZ","2BIzSby","addClass","editing","2550lfUllO","RevisionViewerLoadingOverlay"];return(fe=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(110175===parseInt(e(137))/1+-parseInt(e(138))/2*(parseInt(e(128))/3)+parseInt(e(126))/4+parseInt(e(124))/5*(parseInt(e(133))/6)+-parseInt(e(125))/7+-parseInt(e(144))/8+-parseInt(e(131))/9*(-parseInt(e(141))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(134);function pe(t,e){const i=fe();return(pe=function(t,e){return i[t-=120]})(t,e)}class ve extends W.Plugin{static get[de(135)](){return de(142)}static get[de(132)](){return!0}static get[de(143)](){return!0}[de(121)](){const t=de,e=this[t(123)][t(140)][t(136)];e[t(122)]((i=>{const s=t;for(const t of e[s(127)][s(129)])i[s(139)](me,t)}))}[de(130)](){const t=de,e=this[t(123)][t(140)][t(136)];e[t(122)]((i=>{const s=t;for(const t of e[s(127)][s(129)])i[s(120)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=246]})(t,e)}function ke(){const t=["revisionHistory","442791GjoLZF","currentChangeNumber","restoreRevision","isNavigationMode","init","show","isEnabled","Back to editing","ck-revision-history-ui__back-to-editing","showNextChange","closeRevisionViewerCallback","31244oIpAdp","get","requires","plugins","isPremiumPlugin","numberOfChanges","forward","5672IsezRB","set","1438224DPCGst","isForwardNavigationEnabled","editor","147070KFOqYv","componentFactory","change:isReady","showPreviousChange","5UXTQZd","execute","commands","Restore this revision","isReady","isOfficialPlugin","add","2149vgpSVy","hide","bind","config","isBackwardNavigationEnabled","258971Hxtgsm","RevisionViewerUI","5683626HcfXeX","listenTo","pluginName","changesNavigation","exitToEditing"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(151075===parseInt(e(280))/1+-parseInt(e(264))/2+parseInt(e(288))/3+parseInt(e(252))/4*(-parseInt(e(268))/5)+parseInt(e(261))/6+parseInt(e(275))/7*(parseInt(e(259))/8)+-parseInt(e(282))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends W.Plugin{static get[ge(284)](){return ge(281)}static get[ge(273)](){return!0}static get[ge(256)](){return!0}static get[ge(254)](){return[ee,ve]}[ge(292)](){const t=ge,e=this[t(263)],i=e[t(255)][t(253)](ee),s=e[t(255)][t(253)](ve);e.ui[t(265)][t(274)](t(286),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(260)]({label:Q(i,s(248)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(249)}),this[s(283)](n,s(269),(()=>{const t=s;e[t(278)][t(253)](t(287))[t(251)]()})),n})),e.ui[t(265)][t(274)](t(290),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(260)]({label:Q(i,s(271)),withText:!0,tooltip:!0}),n[s(277)](s(247)).to(e[s(270)][s(253)](s(290))),this[s(283)](n,s(269),(()=>e[s(269)](s(290)))),n})),e.ui[t(265)][t(274)](t(285),(s=>{const n=t,r=new ce(s),o=e[n(270)][n(253)](n(267)),a=e[n(270)][n(253)](n(250));return r[n(277)](n(279)).to(o,n(247)),r[n(277)](n(262)).to(a,n(247)),r[n(277)](n(272),n(289),n(257),n(291)).to(i),this[n(283)](r,n(269),((t,i)=>{const s=n;e[s(269)](s(258)===i?s(250):s(267))})),r})),s[t(246)](),i.on(t(266),((e,i,n)=>{const r=t;n?s[r(276)]():s[r(246)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Oe();return(Se=function(t,e){return i[t-=162]})(t,e)}function Oe(){const t=["1303734AzXSQN","fieldView","_resizeObserver","343791BLyAGh","Enter the revision name","15dUThHG","destroy","element","7414390ypRjIO","value","80cIyGgS","ck-revision-history-sidebar__revision-name","render","set","placeholder","listenTo","clientWidth","_tooltipString","8033445fcCIUG","bindTemplate","input","1271142yqLeSj","_updateTooltipText","ck-tooltip_multi-line","20344kzNkQe","scrollWidth","extendTemplate","807AbtFJL","Revision name","span","3091386sfmroV"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(962329===-parseInt(e(167))/1+parseInt(e(163))/2+-parseInt(e(191))/3*(parseInt(e(188))/4)+-parseInt(e(169))/5*(-parseInt(e(164))/6)+parseInt(e(182))/7+-parseInt(e(174))/8*(parseInt(e(185))/9)+parseInt(e(172))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends pt.LabeledFieldView{[Ie(166)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(183)];this[i(177)]({label:Q(t,i(192)),_tooltipString:""}),this[i(165)][i(178)]=Q(t,i(168)),this[i(190)]({tag:i(162),attributes:{class:[i(175)],"data-cke-tooltip-text":s.to(i(181)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(187)}})}[Ie(176)](){const e=Ie;super[e(176)](),this[e(166)]=new t.ResizeObserver(this[e(165)][e(171)],(()=>this[e(186)]())),this[e(179)](this[e(165)],e(184),(()=>this[e(186)]()))}[Ie(170)](){const t=Ie;super[t(170)](),this[t(166)]&&this[t(166)][t(170)]()}[Ie(186)](){const t=Ie,e=this[t(165)][t(171)];this[t(181)]=e[t(189)]>e[t(180)]&&e[t(173)]||""}}var Te=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(Te.A,Ne);Te.A&&Te.A.locals&&Te.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=158]})(t,e)}function Ae(){const t=["2aUtBMf","Revision creator","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","1612384xLgcNN","set","156jSWQKn","9476390dFSkZl","810043mlYPqx","push","2814705xDeeDO","306JeOqxG","name","span","setTemplate","35DhNtfr","0 0 11 10","4145mwOvZR","20JqRHNi","1417ovdKvD","3LxmkXU","4596548fOsabN","Revision author","ck-revision-history-sidebar__revision-author__name"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(756302===parseInt(e(163))/1*(-parseInt(e(168))/2)+-parseInt(e(164))/3*(-parseInt(e(165))/4)+-parseInt(e(161))/5*(-parseInt(e(179))/6)+parseInt(e(159))/7*(-parseInt(e(172))/8)+-parseInt(e(178))/9*(-parseInt(e(162))/10)+-parseInt(e(175))/11+parseInt(e(174))/12*(parseInt(e(176))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(173)]({content:mt.IconUser,viewBox:s(160)});const r=["ck",s(170)];i&&r[s(177)](s(171));const o=[{tag:s(181),attributes:{class:["ck",s(167)],title:Q(t,s(i?169:166))},children:[n,e[s(180)]]}];this[s(158)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=De();return(Me=function(t,e){return i[t-=418]})(t,e)}function De(){var t=["1528773xXxnCh","5uWxFqA","2672104ZKtLBx","toLocaleDateString","1279602tdsCAB","63iYPBOY","6382RqYxKe","long","225oAFeKg","toLocaleTimeString","522856oRWJOf","13414510yvsOen","3696000RnLGbj","numeric"];return(De=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(411375===-parseInt(e(425))/1*(-parseInt(e(423))/2)+parseInt(e(431))/3+-parseInt(e(419))/4*(-parseInt(e(418))/5)+-parseInt(e(421))/6+parseInt(e(429))/7+-parseInt(e(427))/8*(parseInt(e(422))/9)+-parseInt(e(428))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["17148470VEvqLF","source","extendTemplate","Show more items","change:isActionsDropdownOpen","isActionsDropdownOpen","locale","2298628ayfNuR","bindTemplate","857362tXSVqY","ck-on","menu","action","Compare against selected","6KzhSLF","name","isReady","class","items","menuitem","find","stopPropagation","buttonView","set","Name this revision","model","_action","isOpen","553641FcQypL","bind","ck-revision-history-sidebar__revision__actions","8131655WivyUO","button","287802fuGphA","map","listView","function","add","first","listenTo","Restore this revision","children","8SVHygf","panelPosition","execute","9rKNpSD","100545eOmXBG","isEnabled","isVisible"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=211]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(692316===-parseInt(e(232))/1+-parseInt(e(213))/2+parseInt(e(218))/3*(parseInt(e(211))/4)+parseInt(e(250))/5+-parseInt(e(237))/6+-parseInt(e(235))/7*(parseInt(e(246))/8)+-parseInt(e(249))/9*(-parseInt(e(253))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const Ue=We;function ze(){const t=["select","2615742PurOzZ","authors","ck-revision-history-sidebar__revision-authors","setName","map","18734342PPblqS","fieldView","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision__controls-wrapper","name","closest","change","220","unhighlight","isHighlighted","18BdOOUX","element","extendTemplate","listenTo","ck-disabled","uiLanguage","setTemplate","isSelected","isActionsDropdownOpen","704020BULlJb","value","ck-revision-history-sidebar__revision__date","div","length","_requireRevisionName","ck-reset","revisionActionsView","40BLQSmi","1256938RgPJlF","5874219REFhKn","28uoGsEV","6757712VMIrDF","createdAt","srcElement","set","isReady","_revision","bindTemplate","isEnabled","15687130ekrQvu","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision_highlighted","fire","isConfirm","render",".ck-thread__remove-confirm","revisionNameView","unshift","ck-revision-history-sidebar__revision","deselect","ck-revision-history-sidebar__actions_dropdown_open","bind","filter","ck-revision-history-sidebar__revision-wrapper","1jhfoOD","highlight","_createdAtFormatted","creator","span","from"];return(ze=function(){return t})()}function We(t,e){const i=ze();return(We=function(t,e){return i[t-=291]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(989693===-parseInt(e(345))/1*(-parseInt(e(319))/2)+parseInt(e(320))/3+-parseInt(e(318))/4*(parseInt(e(310))/5)+parseInt(e(352))/6*(-parseInt(e(321))/7)+-parseInt(e(322))/8*(-parseInt(e(301))/9)+parseInt(e(330))/10+-parseInt(e(291))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class qe extends((0,q.ConfirmMixin)(pt.View)){id;[Ue(337)];[Ue(317)];[Ue(327)];[Ue(315)];constructor(e,i,s,n){const r=Ue;super(e);const o=this[r(328)],a=function(t,e){const i=r,s=Array[i(350)](e[i(353)])[i(343)]((t=>t!=e[i(348)]));return e[i(348)]&&s[i(338)](e[i(348)]),s[i(356)]((s=>new Ve(t,s,s==e[i(348)])))}(e,i);this.id=i.id,this[r(327)]=i,this[r(315)]=n,this[r(342)](r(295),r(323)).to(i),this[r(342)](r(347)).to(this,r(323),(t=>{return i=e[r(306)],(s=t)[(n=Me)(420)](i,{month:n(424),day:n(430)})+", "+s[n(426)](i,{hour:n(430),minute:n(430)});var i,s,n})),this[r(325)](r(308),!1),this[r(325)](r(300),!1),this[r(325)](r(309),!1),this[r(325)](r(326),!1),this[r(325)](r(329),!1),this[r(337)]=new xe(e,pt.createLabeledInputText),this[r(337)][r(292)][r(303)]({attributes:{maxlength:r(298)}}),this[r(337)][r(292)][r(342)](r(311)).to(this,r(295),(t=>t||this[r(347)])),this[r(337)][r(342)](r(329)).to(this,r(308),this,r(329),((t,e)=>t&&e)),this[r(317)]=s&&s[r(314)]?function(e,i){const s=Le,n=e[s(212)],r=e[s(259)],o=(0,pt.createDropdown)(r);o[s(247)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(259)],n={"Compare against selected":Q(s,i(217)),"Name this revision":Q(s,i(228)),"Restore this revision":Q(s,i(244))};return e[i(238)]((t=>{const e=i,s=n[t[e(219)]];return s&&s!==t[e(219)]&&(t[e(219)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(236),model:new pt.ViewModel({label:t[n(219)],class:t[n(221)],withText:!0,role:n(223),_action:t[n(216)]})};i[n(229)][n(233)](n(251)).to(e,n(258),(i=>n(240)!=typeof t[n(251)]||!i||t[n(251)](e))),o[n(241)](i)}return o}(e,i);return e[s(233)](s(258)).to(o,s(231)),o[s(226)][s(227)]({label:Q(r,s(256)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(255)]({attributes:{class:[s(234),n.if(s(258),s(214))]},on:{click:n.to((t=>t[s(225)]()))}}),o.on(s(248),(t=>{const i=s;e[i(220)]&&i(240)==typeof t[i(254)][i(230)]&&t[i(254)][i(230)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(215)}),o[s(243)](e,s(257),((t,n,r)=>{const a=s;if(r)for(const t of o[a(239)][a(222)]){const s=t[a(245)][a(242)],n=i[a(224)]((t=>t[a(216)]===s[a(230)]))[a(252)];t[a(252)]=void 0===n||n(e)}})),o}(this,s):"",this[r(317)]&&this[r(317)][r(342)](r(329)).to(this),this[r(307)]({tag:r(313),attributes:{class:["ck",r(316),r(344),o.if(r(334),r(293))]},children:[{tag:r(313),attributes:{class:["ck",r(316),r(339),o.if(r(329),r(305),(t=>!t)),o.if(r(308),r(331)),o.if(r(300),r(332)),o.if(r(309),r(341))]},children:[this[r(337)],{tag:r(349),attributes:{class:["ck",r(312)]},children:[{text:o.to(r(347))}]},{tag:r(313),attributes:{class:["ck",r(294)]},children:[{tag:"ul",attributes:{class:["ck",r(354)]},children:a}]},this[r(317)]],on:{click:o.to((t=>{const e=r;t[e(324)][e(296)](e(336))||this[e(326)]&&this[e(329)]&&this[e(333)](e(351),{id:this.id})}))}}]})}[Ue(335)](){const t=Ue;super[t(335)]();const e=this[t(337)][t(292)][t(302)];this[t(304)](e,t(297),(()=>{const i=t;this[i(315)]&&!e[i(311)]||this[i(333)](i(355),{id:this.id,name:e[i(311)]}),e[i(311)]||(e[i(311)]=this[i(295)]?this[i(295)]:this[i(347)])}))}[Ue(351)](){this[Ue(308)]=!0}[Ue(340)](){this[Ue(308)]=!1}[Ue(346)](){this[Ue(300)]=!0}[Ue(299)](){this[Ue(300)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return qs(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 xi={};const Ti={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},xi={}}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=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return qs(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,xi[s]||(xi[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"})),xi[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=Ti[e];"era"===e?s[r]=n:_s(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,(Ps({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 Ai={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Di={};let Ei={};let Ci=null;let Fi={};function Li(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=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{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&&Ri.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 Ui{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(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||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Di={},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,Rs(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 Li(this,t,Xs,(()=>{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=io.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 Li(this,t,sn,(()=>{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=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.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 Pi(t,this.intl,e)}relFormatter(t={}){return new Ui(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[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:xs()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[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 qi=null;class Zi extends Ii{static get utcInstance(){return null===qi&&(qi=new Zi(0)),qi}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 Ii{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 $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(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"},Yi={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]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Wi.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(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 ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(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,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(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 bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function xs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ts(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 Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(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?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(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 Us(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Us(t,e,i),n=Us(t+1,e,i);return(Ls(t)-s+n)/7}function Ws(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function qs(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 Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(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}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];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"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(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 ln[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 Vs(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 nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.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=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(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 dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...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 pn(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 vn(...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 gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function xn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Es(t[e+3])},null,e+4]}function Tn(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 Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?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 Vn(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(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(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 Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Gs.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:tn.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 Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(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$/,Ln=/^(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 Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Zi.utcInstance]}function Un(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),qn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),Hn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),xn,Tn,Nn),$n=mn(wn,xn,Tn,Nn),Bn=mn(_n,xn,Tn,Nn),Yn=mn(xn,Tn,Nn);const Jn=mn(xn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(xn,Tn,Nn);const Qn="Invalid Duration",tr={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}},er={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},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,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:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(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 lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(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),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;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 lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({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 Je(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?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(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+=Cs(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 io.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?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.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 ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(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 ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(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=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)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;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(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 ur(this.matrix,e),ar(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 ar(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 rr)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 hr="Invalid Interval";class dr{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 Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.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:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.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=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.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?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).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(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.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(dr.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:dr.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 dr.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(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[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=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.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:Os(),localeWeek:xs()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(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=mr(t,e);return(i-i%7)/7}],["days",mr]],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=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(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+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={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 Or=null;function xr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Tr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=xr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(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 wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Ws);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\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(Ns(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;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(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),_s(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(Ns(i,"a")&&Ns(i,"H"))throw new Ye("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 Nr(t,e,i){return new Tr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),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=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(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 Lr(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 Fr(Ps(t),e,i)}function Pr(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=lr.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=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Ur(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=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?hn.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+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function qr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(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},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(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 Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(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 to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.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=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("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 io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({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,Kr({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 io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=Hr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[zn,Hn],[Wn,$n],[qn,Bn],[Zn,Yn])}(t);return Ur(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Cn])}(t);return Ur(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,Un])}(t);return Ur(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("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}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):Ur(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,Hn],[Kn,Xn])}(t);return Ur(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new He(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return xr(hn.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}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?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(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?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.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=Ps(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=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(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}=hn.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(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.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 Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(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=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.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?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.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+=qr(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":"")+qr(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():Ar}[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 lr.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(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.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||io.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),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return Ts(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.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 Tr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("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 Ge(`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?io.invalid(u):Ur(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=oo();return(no=function(t,e){return i[t-=394]})(t,e)}function ro(t,e){const i=no,s=io[i(400)](t)[i(402)](e),n=io[i(405)](),r=n[i(414)]({days:1})[i(404)](i(409));let o,a;return s[i(417)](n,i(409))?(o=s[i(404)](i(409))[i(408)](),a=s[i(403)]()):s[i(417)](r,i(409))?(o=r[i(408)](),a=s[i(403)]()):s[i(417)](n,i(397))?(o=s[i(404)](i(397))[i(408)](),a=s[i(416)]||""):s[i(417)](n,i(394))?(o=s[i(404)](i(413))[i(408)](),a=s[i(415)]||""):(o=s[i(404)](i(394))[i(408)](),a=String(s[i(394)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["startOf","local","457520aeQyXT","4UaVMrw","toJSDate","day","601371wraqQO","96lNKvMk","1058729hLwwSJ","month","minus","monthLong","weekdayLong","hasSame","year","10vKGloB","78060AEcYfL","week","205075pVUgKX","61011VFyizv","fromJSDate","2152376VEtnOc","setLocale","toRelativeCalendar"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(136671===parseInt(e(398))/1+-parseInt(e(406))/2+parseInt(e(410))/3*(-parseInt(e(407))/4)+-parseInt(e(396))/5*(-parseInt(e(411))/6)+-parseInt(e(412))/7+parseInt(e(401))/8+-parseInt(e(399))/9*(parseInt(e(395))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=269]})(t,e)}function ho(){const t=["setTemplate","span","2248974kKnOSA","select","18fkUJGZ","35925670GucecV","ck-revision-history-sidebar__time-period__label","2168072UuxIBV","10pfENPy","removeRevision","uiLanguage","startDate","310SxBehP","revisionViews","addRevision","_requireRevisionName","ck-revision-history-sidebar__time-period__revisions","localizedPeriodName","setName","ck-revision-history-sidebar__time-period","add","delegate","createCollection","2392257FmzeNm","432809aCufpm","111996jKRXfc","_revisionActions","2045056FgayUD","locale","remove","find","6ACIvpQ","div"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(671413===parseInt(e(270))/1+parseInt(e(281))/2+-parseInt(e(277))/3*(-parseInt(e(273))/4)+parseInt(e(291))/5*(parseInt(e(271))/6)+-parseInt(e(269))/7+parseInt(e(286))/8*(parseInt(e(283))/9)+parseInt(e(287))/10*(-parseInt(e(284))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(290)];[uo(292)];[uo(272)];[uo(294)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(274)][n(289)])[n(296)];this[n(290)]=e,this[n(292)]=this[n(301)](),this[n(272)]=i,this[n(294)]=s,this[n(292)][n(300)](n(282)).to(this),this[n(292)][n(300)](n(297)).to(this),this[n(279)]({tag:n(278),attributes:{class:["ck",n(298)]},children:[{tag:n(280),attributes:{class:["ck",n(285)]},children:[{text:r}]},{tag:n(278),attributes:{class:["ck",n(295)]},children:this[n(292)]}]})}[uo(293)](t){const e=uo,i=new qe(this[e(274)],t,this[e(272)],this[e(294)]);this[e(292)][e(299)](i)}[uo(288)](t){const e=uo,i=this[e(292)][e(276)]((e=>e.id===t.id));this[e(292)][e(275)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["3015334wxLqak","span","content","6qzAdVN","setTemplate","15009071udhQEJ","3815976QPlXfW","ck-reset_all","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","Revision history","div","1046560cKPdlp","10qZNEDy","4Joyinq","5538785PQxgcB","49336IoONuM","2580012gZqMqA","9bPinmd"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=175]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(849608===parseInt(e(186))/1+-parseInt(e(187))/2+parseInt(e(176))/3+parseInt(e(184))/4*(-parseInt(e(185))/5)+-parseInt(e(192))/6*(-parseInt(e(189))/7)+-parseInt(e(182))/8*(-parseInt(e(188))/9)+-parseInt(e(183))/10*(-parseInt(e(175))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(191)]=mt.IconHistory,this[e(193)]({tag:e(181),attributes:{class:["ck",e(177),e(178)]},children:[i,{tag:e(190),attributes:{class:["ck",e(179)]},children:[Q(t,e(180))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=So();return(_o=function(t,e){return i[t-=319]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(201163===parseInt(e(350))/1*(parseInt(e(367))/2)+parseInt(e(321))/3*(parseInt(e(337))/4)+parseInt(e(365))/5*(-parseInt(e(357))/6)+parseInt(e(368))/7+parseInt(e(352))/8+-parseInt(e(359))/9*(-parseInt(e(325))/10)+parseInt(e(344))/11*(-parseInt(e(334))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(So);class Io extends pt.View{[wo(369)];[wo(348)];[wo(347)];[wo(336)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(371)];this[n(369)]=this[n(323)](),this[n(369)][n(339)](n(335)).to(this),this[n(369)][n(339)](n(326)).to(this),this[n(348)]=e,this[n(347)]=i,this[n(336)]=s,this.on(n(335),((t,e)=>{const i=n;this[i(373)](i(361),e)})),this.on(n(326),((t,e)=>{const i=n;this[i(373)](i(329),e)})),this[n(364)](n(327),!1),this[n(332)]({tag:n(374),attributes:{class:["ck",n(366),n(358),n(319)]},children:[new yo(t),{tag:n(374),attributes:{class:["ck",n(372),r.if(n(327),n(351),(t=>!t))]},children:this[n(369)]}]})}[wo(324)](){const t=wo;super[t(324)]();for(const e of this[t(348)])this[t(346)](e);this[t(348)].on(t(322),((e,i)=>{this[t(346)](i)})),this[t(348)].on(t(343),((e,i)=>{this[t(342)](i)}))}get[wo(345)](){const t=wo;return this[t(369)][t(356)]((e=>e[t(345)][t(356)]((t=>t))))[t(363)]()}[wo(320)](t){const e=wo;for(const i of this[e(345)])t&&t.id===i.id?i[e(335)]():i[e(349)]()}[wo(328)](t){const e=wo;for(const i of this[e(345)])t[e(375)]((({id:t})=>t===i.id))?i[e(333)]():i[e(330)]()}[wo(346)](t){const e=wo,i=ro(t[e(341)],this[e(354)][e(340)])[e(355)];let s=this[e(369)][e(360)](0);s&&s[e(355)][e(370)]()===i[e(370)]()||(s=new fo(this[e(354)],i,this[e(347)],this[e(336)]),this[e(369)][e(322)](s)),s[e(362)](t)}[wo(342)](t){const e=wo,i=ro(t[e(341)],this[e(354)][e(340)])[e(355)];this[e(353)](i)[e(331)](t)}[wo(353)](t){const e=wo;return this[e(369)][e(338)]((i=>i[e(355)][e(370)]()===t[e(370)]()))}}function So(){const t=["highlightRevisions","revisionSetName","unhighlight","removeRevision","setTemplate","highlight","15348MKHHge","select","_requireRevisionName","328QbhiPs","find","delegate","uiLanguage","createdAt","_removeRevision","remove","4180fdfBqw","revisionViews","_addRevision","_revisionActions","_revisions","deselect","141848UiTdxw","ck-disabled","253072VpMhNy","_getTimePeriodViewByStartDate","locale","startDate","map","24jgBKGf","ck-rounded-corners","1823409KlktDj","get","revisionSelected","addRevision","flat","set","52775NTecBT","ck-reset","4ceoHAc","600362sbGFsJ","timePeriodViews","getTime","bindTemplate","ck-revision-history-sidebar__timeline","fire","div","some","ck-revision-history-sidebar","selectRevision","4599ZDMygJ","add","createCollection","render","10MOeWvN","setName","isEnabled"];return(So=function(){return t})()}const Oo=xo;function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=147]})(t,e)}function To(){const t=["change:diff","restoreRevision","revisionViews","availableRevisionActions","diff","compareAgainstSelected","18869719fkaAHB","32MEDbiW","getEarlierVisibleRevision","isVisible","_handleEditorDataReady","isEnabled","listenTo","config","setName","Restore this revision","5dRXmOk","revisionHistory","_revisionViewer","timePeriodViews","data","_revisionsRepository","plugins","assign","requires","getRevision","pluginName","2qxqinD","nameRevision","RevisionsSidebar","getLaterVisibleRevision","766534hqqIbN","action","_revisions","Compare against selected","isSelected","24795459AvysKe","390131crqzjU","appendChild","focus","12PWSRDb","Name this revision","name","revisionHistory.revisionActions","defaultRevisionActions","revisionHistory.viewerSidebarContainer","render","select","isReady","592062UxqWjm","getIndex","787004QCiGbY","destroy","revisionSelected","editor","873ngSjCI","119410ZbZwIx","map","_handleRevisionSelected","12rlLMSf","add","restoreRevisionCallback","get","element","_handleRevisionSetName","bind","selectRevision","revisionSetName","isOfficialPlugin","fieldView","_handleDiffChange","isPremiumPlugin","string","revisionHistory.requireRevisionName","_sidebarView","init","compare","ready","length","remove","locale","newRevisionId","highlightRevisions","getRevisionsInDiff","_createRevisionActions","repository"];return(To=function(){return t})()}!function(t){const e=xo,i=t();for(;;)try{if(908784===-parseInt(e(153))/1*(-parseInt(e(157))/2)+-parseInt(e(166))/3*(-parseInt(e(177))/4)+parseInt(e(228))/5*(parseInt(e(175))/6)+parseInt(e(163))/7*(parseInt(e(219))/8)+-parseInt(e(181))/9*(parseInt(e(182))/10)+-parseInt(e(218))/11+-parseInt(e(185))/12*(-parseInt(e(162))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends W.Plugin{[Oo(230)];[Oo(147)];[Oo(200)];static[Oo(170)]=[Oo(217),Oo(213),Oo(154)];static[Oo(215)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(160),action:({plugins:e},i)=>{const s=t,n=e[s(188)](ee),r=n[s(211)];let o=n[s(216)][s(207)],a=i.id;r[s(176)](o)>r[s(176)](a)&&([o,a]=[a,o]),n[s(202)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(188)](ee);return!(n[s(211)][s(209)](n[s(216)])[s(204)]>2||i[s(161)])}},restoreRevision:{name:t(227),action:(e,{id:i})=>{const s=t;e[s(225)][s(188)](s(229))[s(187)](i)},isVisible:({plugins:e},i)=>!!e[t(188)](ee)[t(211)][t(156)](i.id)},nameRevision:{name:t(167),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(188)](ee),o=r[n(211)][n(220)](i);r[n(202)](i,o),s[n(165)](),s[n(195)][n(173)]()}}}}();static get[Oo(152)](){return Oo(155)}static get[Oo(194)](){return!0}static get[Oo(197)](){return!0}static get[Oo(150)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(230)]=t[e(148)][e(188)](ee),this[e(147)]=this[e(230)][e(211)],this[e(200)]=null}[Oo(201)](){const t=Oo,e=this[t(147)][t(159)],i=this[t(210)](),s=this[t(180)][t(225)][t(188)](t(171));this[t(200)]=new Io(this[t(180)][t(206)],e,i,this[t(180)][t(225)][t(188)](t(199))),this[t(200)].on(t(179),this[t(184)][t(191)](this)),this[t(200)].on(t(193),this[t(190)][t(191)](this)),this[t(200)][t(191)](t(223)).to(this[t(230)]),this[t(200)][t(231)].on(t(186),((e,i)=>{const s=t;i[s(214)].on(s(186),((t,e)=>{const i=s;e[i(191)](i(223),i(174)).to(this[i(230)])}))})),this[t(200)][t(172)](),this[t(224)](this[t(180)][t(232)],t(203),this[t(222)][t(191)](this)),this[t(224)](this[t(230)],t(212),this[t(196)][t(191)](this)),s[t(164)](this[t(200)][t(189)])}[Oo(178)](){const t=Oo;this[t(200)][t(189)][t(205)](),this[t(200)][t(178)]()}[Oo(222)](){const t=Oo,e=this[t(147)][t(151)](0);if(e){const i=this[t(147)][t(220)](e.id);this[t(230)][t(202)](e,i)}}[Oo(184)](t,e){const i=Oo,s=this[i(147)][i(151)](e.id),n=this[i(147)][i(220)](s.id);this[i(230)][i(202)](s,n)}[Oo(190)](t,e){const i=Oo;this[i(147)][i(151)](e.id)[i(226)](e[i(168)])}[Oo(196)](t,e,i){const s=Oo,n=this[s(147)][s(209)](i);n[s(204)]>2?(this[s(200)][s(208)](n),this[s(200)][s(192)](null)):(this[s(200)][s(208)]([]),this[s(200)][s(192)](n[0]))}[Oo(210)](){const t=Oo,e=this[t(180)],i=No[t(215)],s=e[t(225)][t(188)](t(169))||No[t(170)];if(s[t(204)])return s[t(183)]((s=>{const n=t,r=n(198)==typeof s?Object[n(149)]({},i[s]):s;return r[n(158)]=r[n(158)][n(191)](this,e),r[n(221)]&&(r[n(221)]=r[n(221)][n(191)](this,e)),r}))}}const Ro=No,Ao=Mo;!function(t){const e=Mo,i=t();for(;;)try{if(759427===-parseInt(e(471))/1+-parseInt(e(463))/2+-parseInt(e(446))/3+-parseInt(e(489))/4+-parseInt(e(458))/5*(-parseInt(e(483))/6)+-parseInt(e(456))/7+parseInt(e(464))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends pt.EditorUI{[Ao(447)];[Ao(450)];[Ao(481)];get[Ao(452)](){return this[Ao(447)]}constructor(e,i){const s=Ao;super(e),this[s(447)]=i,this[s(450)]=(0,pt.normalizeToolbarConfig)(e[s(468)][s(479)](s(480))),this[s(481)]=new t.ElementReplacer}get[Ao(472)](){const t=Ao;return this[t(452)][t(472)]}[Ao(459)](t){const e=Ao,i=this[e(475)],s=this[e(452)],n=i[e(476)][e(452)],r=s[e(477)],o=n[e(467)][e(454)]();r[e(448)]=o[e(455)],s[e(470)]();const a=r[e(472)];this[e(457)](r[e(448)],a),s[e(477)][e(487)](e(451)).to(this[e(473)]),n[e(482)](a),this[e(481)][e(474)](t,this[e(472)]),this[e(461)](),this[e(465)](e(466))}[Ao(460)](){const t=Ao;super[t(460)]();const e=this[t(452)],i=this[t(475)][t(476)][t(452)];this[t(481)][t(478)](),i[t(485)](e[t(477)][t(448)]),e[t(460)]()}[Ao(461)](){const t=Ao,e=this[t(452)];e[t(484)][t(487)](t(453)).to(this[t(473)],t(451)),e[t(484)][t(449)]=e[t(472)],e[t(484)][t(487)](t(462)).to(this,t(488),(({top:t})=>t)),e[t(480)][t(486)](this[t(450)],this[t(490)]),this[t(469)](e[t(480)])}}function Mo(t,e){const i=Do();return(Mo=function(t,e){return i[t-=446]})(t,e)}function Do(){const t=["250125MjYgJJ","init","destroy","_initToolbar","viewportTopOffset","1566088nFNXFP","33752352LrFJFj","fire","ready","document","config","addToolbar","render","1284819LozhCj","element","focusTracker","replace","editor","editing","editable","restore","get","toolbar","_elementReplacer","attachDomRoot","12aIgPrH","stickyPanel","detachDomRoot","fillFromConfig","bind","viewportOffset","644896CzuKyr","componentFactory","1553619rdLtzh","_view","name","limiterElement","_toolbarConfig","isFocused","view","isActive","getRoot","rootName","5688949iBAmuD","setEditableElement"];return(Do=function(){return t})()}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;function Fo(t,e){var i=jo();return(Fo=function(t,e){return i[t-=285]})(t,e)}var Lo=Fo;function jo(){var t=["301855mcbXAv","editable","stickyPanel","764912KeamST","5600943aNWlUl","10lXjpYv","main","toolbar","render","add","3FNYoUy","8XSZzXt","848568CSlZBX","shouldToolbarGroupWhenFull","894816gBWKPZ","_editable","content","255094EeXQFA","top","402236xxDMtL"];return(jo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(129373===parseInt(e(298))/1+parseInt(e(300))/2*(parseInt(e(291))/3)+parseInt(e(292))/4*(parseInt(e(301))/5)+parseInt(e(295))/6+parseInt(e(293))/7+-parseInt(e(304))/8+-parseInt(e(285))/9*(parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Lo(296)];[Lo(303)];[Lo(288)];get[Lo(302)](){return this[Lo(296)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(303)]=new pt.StickyPanelView(t),this[s(288)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(294)]}),this[s(296)]=new pt.InlineEditableUIView(t,e)}[Lo(289)](){var t=Lo;super[t(289)](),this[t(303)][t(297)][t(290)](this[t(288)]),this[t(299)][t(290)](this[t(303)]),this[t(287)][t(290)](this[t(302)])}}const Uo=Wo;function zo(){const t=["2302536vfqEpD","fire","view","model","destroy","get","561390IdEwMO","config","initialData","ready","18535NUkGsv","updateSourceElement","sourceElement","3745700VhzncF","682344qdxnAU","init","359UmHeWv","28UrVjOQ","document","320tjPVhi","3574XcvPgM","_ui","initPlugins","create","131589KfCtlH","data","locale","editing","createRoot"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=129]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(348527===-parseInt(e(155))/1*(parseInt(e(130))/2)+parseInt(e(145))/3+parseInt(e(156))/4*(-parseInt(e(149))/5)+parseInt(e(153))/6+parseInt(e(152))/7+-parseInt(e(139))/8+parseInt(e(134))/9*(parseInt(e(129))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class qo extends((0,W.ElementApiMixin)(W.Editor)){[Uo(131)];get ui(){return this[Uo(131)]}constructor(t,e){const i=Uo;super(e),this[i(151)]=t,this[i(142)][i(157)][i(138)]();const s=new Po(this[i(136)],this[i(137)][i(141)],{shouldToolbarGroupWhenFull:!0});this[i(131)]=new Vo(this,s)}[Uo(143)](){const t=Uo;return this[t(150)](),this.ui[t(143)](),super[t(143)]()}static async[Uo(133)](t,e){const i=Uo,s=new this(t,e);return await s[i(132)](),await s.ui[i(154)](t),await s[i(135)][i(154)](s[i(146)][i(144)](i(147))||""),s[i(140)](i(148)),s}}function Zo(t,e){const i=$o();return(Zo=function(t,e){return i[t-=409]})(t,e)}const Ho=Zo;function $o(){const t=["setAttribute","saveRevision","requires","RevisionsRepository","repository","loadRevisionData","setSelection","display","isReady","DocumentOutline","hide","removeAttribute","enableReadOnlyMode","removeSelectionAttribute","save","2818251sdMtQm","bind","isAnonymous","create","_showRevisionViewer","Annotations","revisionHistory","revisionHistory.restoreRevisionCallback","uiLanguage","destroy","getMarkersGroup","block","selection","error","translations","RevisionViewer","revisionHistory.editorContainer","numeric","5836LINXMF","map","getRevision","revisionHistory.requireRevisionName","DocumentOutlineUI","end","isReadOnly","createRangeIn","set","RevisionHistoryUtils","_viewerEditor","locale","7049413VolLXc","toLocaleDateString","revision-history-viewer-opened","closeRevisionViewerCallback","restrictedEditingException","addRoot","restoreRevision","2745gWxovI","insert","change","Dialog","pluginName","addRevisionData","$graveyard","lazyRoots","style","isAttached","revision-history-missing-configuration","config","editor","enqueueChange","update","parse","revisionHistory.viewerContainer","_enhanceShowRevisionViewerCallback","commands","toVersion","Restored","name","revisionHistory.showRevisionViewerCallback","markers","createdAt","isOpen","define","addUser","_closeRevisionViewer","getRevisions","isPremiumPlugin","has","PaginationLookup","revisionHistory.closeRevisionViewerCallback","isRevisionViewerOpen","get","exitToEditing","data","revisionHistory.viewerEditorElement","adapter","toolbar","roots","result","catch","disableReadOnlyMode","7052958SKWchJ","indexOf","showRevisionViewerCallback","_update","detachRoot","getAttributeKeys","getUser","keys","_cleanUp","RevisionViewerIntegration","from","element","4138704goWyik","Users","rootName","fromVersion","users","join","model","refreshPositioning","fromCharCode","786548tLiICE","getRevisionRootsAttributes","document","getRoot","getRevisionDocumentData","none","changesNavigation","RevisionHistoryUI","isOfficialPlugin","toLocaleTimeString","RevisionTracker","Autosave","_recalculatePageBreaks","toJSON","view","long","push","includes","_restoreRevision","isEnabled","init","_getRevisionViewerEditorConfig","remove","722024KWoxQT","_enhanceCloseRevisionViewerCallback","plugins","RestrictedEditingMode","removeMarker","creator","refreshVisibility","RevisionHistory","then"];return($o=function(){return t})()}!function(t){const e=Zo,i=t();for(;;)try{if(660230===parseInt(e(465))/1+parseInt(e(488))/2+-parseInt(e(512))/3+parseInt(e(530))/4*(parseInt(e(549))/5)+parseInt(e(444))/6+-parseInt(e(542))/7+-parseInt(e(456))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Ho(472),Ho(491)];class Yo extends W.Plugin{[Ho(441)];static get[Ho(553)](){return Ho(453)}static get[Ho(473)](){return!0}static get[Ho(429)](){return!0}constructor(t){const e=Ho;function i(t){const e=Zo;return t[e(531)]((t=>String[e(464)](t)))[e(461)]("")}super(t),this[e(441)]=e(535),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 Jo extends W.Plugin{[Ho(540)];static get[Ho(553)](){return Ho(495)}static get[Ho(473)](){return!0}static get[Ho(429)](){return!0}static get[Ho(499)](){return[at,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(411)][i(410)][i(434)](i(518)))throw new t.CKEditorError(i(409),this);this[i(540)]=null,this[i(538)](i(433),!1),this[i(411)][i(410)][i(425)](i(421),(t=>this[i(516)]({...t,translations:this[i(411)][i(541)][i(526)]}))),this[i(411)][i(410)][i(425)](i(432),(t=>this[i(427)](t))),this[i(411)][i(410)][i(425)](i(519),(t=>this[i(483)](t))),this[i(411)][i(410)][i(425)](i(533),!1),this[i(416)](),this[i(489)]()}set[Ho(438)](t){const e=Ho;this[e(411)][e(490)][e(434)](e(475))[e(438)]=t}get[Ho(438)](){const t=Ho;return this[t(411)][t(490)][t(434)](t(475))[t(438)]}[Ho(554)](t){const e=Ho;return this[e(411)][e(490)][e(434)](e(475))[e(554)](t)}[Ho(532)](t){const e=Ho;return this[e(411)][e(490)][e(434)](e(500))[e(532)](t)}[Ho(428)](t){const e=Ho;return this[e(411)][e(490)][e(434)](e(500))[e(428)](t||{toJSON:!1})}[Ho(486)](){const e=Ho,i=this[e(411)],s=(0,q.sanitizeEditorConfig)(i,Bo),n=i[e(490)][e(434)](e(475)),r=i[e(490)][e(434)](e(457))[e(460)];return s[e(439)]=[e(435),e(548),e(471)],delete s[e(556)],s[e(490)][e(481)](Yo,ee,be,class extends W.Plugin{static get[e(499)](){return[ee,e(457)]}[e(485)](){const s=e,o=this[s(411)][s(490)][s(434)](s(457));for(const t of r)t[s(514)]||o[s(450)](t.id)||o[s(426)](t);const a=n[s(501)][s(428)]();let c=null;const u=this[s(411)][s(490)][s(434)](s(527));u[s(438)]=n[s(438)],u[s(513)](s(484)).to(n),this[s(411)][s(417)][s(434)](s(548))[s(513)](s(484)).to(i,s(536),(t=>!t));for(const e of a){const i=null===e[s(493)];if(i&&e[s(418)]===e[s(459)])continue;const r=e[s(478)]();u[s(554)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(447)](r,o);else if(!o){const e=a[u(478)]();e.id=(0,t.uid)(),n[u(498)](e,a[u(418)])[u(496)]((t=>{c=t}))}}else e[u(447)](r,o)}))}}},Ro),s}[Ho(416)](){const t=Ho,e=this[t(411)][t(410)][t(434)](t(518))[t(446)];this[t(411)][t(410)][t(538)](t(421),(async()=>{const i=t;this[i(411)][i(509)](i(544));const s=this[i(411)][i(490)][i(434)](i(475));if(this[i(411)][i(490)][i(430)](i(476))){const t=this[i(411)][i(490)][i(434)](i(476));await t[i(511)]()}else await s[i(413)]();if(this[i(411)][i(490)][i(430)](i(431))&&this[i(411)][i(490)][i(434)](i(431))[i(477)](),this[i(411)][i(490)][i(430)](i(552))){const t=this[i(411)][i(490)][i(434)](i(552));t[i(424)]&&t[i(507)]()}const n=this[i(486)]();return e(n)[i(496)]((t=>{const e=i;return this[e(540)]=t,this[e(411)][e(490)][e(430)](e(517))&&this[e(411)][e(490)][e(434)](e(517))[e(494)](),this[e(411)][e(490)][e(430)](e(506))&&(this[e(411)][e(490)][e(434)](e(534))[e(479)][e(455)][e(557)][e(504)]=e(470)),t}))[i(442)]((t=>(console[i(525)](t),this[i(411)][i(443)](i(544)),null)))}))}[Ho(489)](){const t=Ho,e=this[t(411)][t(410)][t(434)](t(518))[t(545)];this[t(411)][t(410)][t(538)](t(432),(()=>(this[t(411)][t(490)][t(430)](t(431))&&this[t(411)][t(490)][t(434)](t(431))[t(477)](),this[t(411)][t(490)][t(430)](t(506))&&(this[t(411)][t(490)][t(434)](t(534))[t(479)][t(455)][t(557)][t(504)]=""),this[t(540)][t(490)][t(434)](t(527))[t(452)](),e(this[t(540)])[t(496)]((()=>{const e=t;if(this[e(411)][e(443)](e(544)),this[e(540)]=null,this[e(411)][e(490)][e(430)](e(517))){const t=this[e(411)][e(490)][e(434)](e(517));t[e(494)](),t[e(463)]()}})))))}[Ho(516)](t){const e=Ho,i=this[e(411)][e(410)][e(434)](e(528)),s=this[e(411)][e(410)][e(434)](e(415)),n=this[e(411)][e(410)][e(434)](e(437));return qo[e(515)](n,t)[e(496)]((t=>(s[e(557)][e(504)]=e(523),i[e(557)][e(504)]=e(470),this[e(433)]=!0,t)))}[Ho(427)](t){const e=Ho,i=this[e(411)][e(410)][e(434)](e(528));return this[e(411)][e(410)][e(434)](e(415))[e(557)][e(504)]=e(470),i[e(557)][e(504)]="",this[e(433)]=!1,t[e(521)]()}async[Ho(483)](t){const e=Ho,i=this[e(411)],s=this[e(540)][e(490)][e(434)](e(527)),n=i[e(490)][e(434)](e(475)),r=i[e(490)][e(434)](e(539)),o=s[e(501)][e(532)](t);let a,c,u;try{await r[e(502)](o,this[e(438)]),a=r[e(469)](o),c=r[e(466)](o)}catch(t){return void console[e(525)](t)}i[e(462)][e(551)]((t=>{const s=e;for(const e of Array[s(454)](i[s(462)][s(422)][s(522)](s(546))))t[s(492)](e)})),s[e(505)]=!1,i[e(462)][e(412)]((t=>{const s=e;t[s(503)](null),t[s(510)](i[s(462)][s(467)][s(524)][s(449)]());const n=Object[s(451)](a);for(const e of i[s(462)][s(467)][s(440)])s(555)!=e[s(458)]&&e[s(558)]()&&!n[s(482)](e[s(458)])&&t[s(448)](e);for(const e of n){let n=i[s(462)][s(467)][s(468)](e);n&&n[s(558)]()||(n=t[s(547)](e));const r=c[e],o=Object[s(451)](r),u=a[e];for(const e of n[s(449)]())o[s(482)](e)||t[s(508)](e,n);for(const i of o)t[s(497)](i,c[e][i],n);t[s(487)](t[s(537)](n)),t[s(550)](i[s(436)][s(414)](u,n),n,0)}}));const l=Q(i[e(541)],e(419));return u=o[e(420)]?-1==o[e(420)][e(445)](l)?l+": "+o[e(420)]:o[e(420)]:l+": "+o[e(423)][e(543)](i[e(541)][e(520)],{month:e(480),day:e(529)})+", "+o[e(423)][e(474)](i[e(541)][e(520)],{hour:e(529),minute:e(529)}),await n[e(498)]({name:u}),s[e(505)]=!0,i[e(410)][e(434)](e(518))[e(545)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=465]})(t,e)}function Ko(){var t=["742967uNrqxw","3404224OxRZTC","7gCGjAB","1376itrPnb","2717616UCRzRq","10643800VizvKq","4qAMMnV","2127UIPhkp","2096895uwemRC","276849dSvsXv"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(457877===parseInt(e(465))/1+-parseInt(e(468))/2*(parseInt(e(472))/3)+parseInt(e(471))/4*(parseInt(e(473))/5)+parseInt(e(469))/6+-parseInt(e(467))/7*(-parseInt(e(466))/8)+-parseInt(e(474))/9+-parseInt(e(470))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();