@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250504.0 → 0.0.0-nightly-20250506.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 (180) 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.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. 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:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,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]",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==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;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 D=/^(?: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 D.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 M(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?M(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const P=W;function j(){const t=["3204028TImHFT","fire","diffData","setName","10YfndrN","_update","36138ITeXnp","name","7991770gssrqo","map","1455312MgVZmL","removeAttribute","fromVersion","toJSON","set","authors","setAttribute","creatorId","toVersion","3163842rOhXrF","5TmLWJH","476kfzZEi","970323SHHAGQ","authorsIds","120562dLriLC","attributes","model","creator","createdAt"];return(j=function(){return t})()}function W(t,e){const i=j();return(W=function(t,e){return i[t-=475]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(688141===parseInt(e(484))/1*(parseInt(e(493))/2)+parseInt(e(482))/3+-parseInt(e(489))/4*(-parseInt(e(480))/5)+parseInt(e(495))/6*(-parseInt(e(481))/7)+-parseInt(e(499))/8+parseInt(e(479))/9+-parseInt(e(497))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class z extends((0,t.ObservableMixin)()){id;[P(487)];[P(475)];[P(491)];[P(478)];[P(501)];[P(486)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(487)]=e[i(487)]||null,this[i(475)]=e[i(475)]||[],this[i(491)]=e[i(491)]||null,this[i(478)]=e[i(478)]||0,this[i(501)]=e[i(501)]||0,this[i(503)](i(496),e[i(496)]||""),this[i(503)](i(488),e[i(488)]||new Date),this[i(503)](i(485),e[i(485)]||{})}[P(492)](t){this[P(494)]({name:t})}[P(476)](t,e){const i=P,s=A(this[i(485)]);(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(494)]({attributes:s})}[P(500)](t){const e=P,i=A(this[e(485)]);(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]&&M(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(494)]({attributes:i})}[P(494)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(496),i(488),i(491),i(475),i(485),i(478),i(501),i(477)];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(475)]&&(n[i(483)]=n[i(475)][i(498)]((t=>t.id)),delete n[i(475)]),this[i(490)](i(494),n,e))}[P(502)](){const t=P;return{id:this.id,name:this[t(496)],creatorId:this[t(487)]?this[t(487)].id:null,authorsIds:this[t(475)][t(498)]((t=>t.id)),diffData:this[t(491)],createdAt:this[t(488)],attributes:this[t(485)],fromVersion:this[t(501)],toVersion:this[t(478)]}}}var U=i(782),Z=i(211),H=i(783);const q=B;function $(){const t=["getEarlierVisibleRevision","from","authorsIds","fromVersion","join","_revisions","name","add","newRevisionId","addRevision","getLaterVisibleRevision","creatorId","1272016RpkpZF","5nknsGL","Users","map","data","pluginName","push","createRevision","get","diffData","href","getRevision","toVersion","getUser","isPremiumPlugin","editor","fromCharCode","oldRevisionId","createdAt","getRevisions","requires","1098972YEpIVF","3932120RXIOfp","3QcnJcI","isOfficialPlugin","40602740JHgYbR","isNaN","getIndex","later","1785KVDuby","length","RevisionsRepository","toJSON","getRevisionsIterator","afterInit","attributes","reverse","896776hnBSQU","earlier","getRevisionsInDiff","28736fUciUJ","12904038niGKcN","plugins"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=486]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(843476===-parseInt(e(535))/1+parseInt(e(498))/2*(-parseInt(e(521))/3)+-parseInt(e(520))/4*(parseInt(e(499))/5)+-parseInt(e(519))/6+-parseInt(e(527))/7*(-parseInt(e(538))/8)+-parseInt(e(539))/9+parseInt(e(523))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(491)];static get[q(518)](){return[Z.Users]}static get[q(503)](){return q(529)}static get[q(522)](){return!0}static get[q(512)](){return!0}get[q(528)](){const t=q;return this[t(491)][t(528)]}constructor(e){const i=q;super(e),this[i(491)]=new t.Collection}[q(532)](){!async function(e){const i=k([84,85,48,50,52,102,72,81,97,53,114,121,119,71,67,68,103,80,116,100,49,73,106,87,78,65,110,56,101,55,82,104,75,88,117,122,83,90,74,70,99,107,86,69,118,112,113,111,115,89,98,76,54,57,120,77,66,108,105,79,51,109]),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(524)](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([84]);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(501)]((t=>String[e(514)](t)))[e(490)]("")}!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:1746316800;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(508)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(505)](t){const e=q,i=this[e(513)][e(540)][e(506)](e(500));return new z({id:t.id,name:t[e(492)],creator:t[e(497)]?i[e(511)](t[e(497)]):null,diffData:t[e(507)]||t[e(502)],authors:t[e(488)][e(501)]((t=>i[e(511)](t))),createdAt:new Date(t[e(516)]),attributes:t[e(533)],fromVersion:t[e(489)],toVersion:t[e(510)]})}[q(495)](t,e=0){const i=q;this[i(491)][i(493)](t,e)}[q(509)](t){const e=q;return this[e(491)][e(506)](t)}[q(517)](t={toJSON:!1}){const e=q,i=Array[e(487)](this[e(491)]);return i[e(534)](),t[e(530)]?i[e(501)]((t=>t[e(530)]())):i}[q(525)](t){const e=q;return this[e(491)][e(525)](t)}[q(486)](t){const e=q,[,i]=this[e(531)](t,{direction:e(536)});return i}[q(496)](t){const e=q,[,i]=this[e(531)](t,{direction:e(526)});return i}[q(537)](t){const e=q,i=[];for(const s of this[e(531)](t[e(494)]))if(i[e(504)](s),s.id===t[e(515)])break;return i}*[q(531)](t,{direction:e=q(536),filter:i=()=>!0}={}){const s=q,n=s(536)===e?1:-1;let r=this[s(491)][s(506)](t),o=this[s(525)](r);for(yield r;r;){if(o+=n,r=this[s(509)](o),!r)return;i(r)&&(yield r)}}}const J=X;function G(){const t=["useFillerType","_getTypeCharForViewElement","10705qiAjed","marked","editing","createElement","isPremiumPlugin","parse","attributesAfter","_getViewFromDiffObj","revision-start","_makeModelFromViewString","document","619606yUaNIK","11173912uLXjyE","type","4594188eHnTpy","RevisionHistoryUtils","insertions","5xKPOPY","data","241065EOslVH","map","_appendChild","isOfficialPlugin","_viewClassToTypeChar","div","render","collaboration.channelId","revision-end","pluginName","htmlProcessor","_removeRevisionMarkers","getRevisionDocumentData","name","getRevision","processor","editor","27UPdKBK","view","domConverter","7cOIqvB","fillerOffset","viewChildrenToDom","getRevisionRootsAttributes","domDocument","startsWith","912orufJj","get","children","diffData","constructor","from","getFillerOffset","_setCustomProperty","domChildrenToView","attachChange","customProperties","length","_typeCharToViewClass","filter","toModel","loadRevisionData","forEach","default","222582yRaTIj","childNodes","string","toData","attributes","3575510rAUNZk","isAttached","data-revision-","append","innerHTML","config","276wsCyNo"];return(G=function(){return t})()}function X(t,e){const i=G();return(X=function(t,e){return i[t-=448]})(t,e)}!function(t){const e=X,i=t();for(;;)try{if(924240===-parseInt(e(481))/1*(-parseInt(e(475))/2)+-parseInt(e(450))/3+-parseInt(e(509))/4*(parseInt(e(464))/5)+parseInt(e(478))/6+parseInt(e(503))/7*(-parseInt(e(476))/8)+-parseInt(e(500))/9*(-parseInt(e(455))/10)+parseInt(e(483))/11*(-parseInt(e(461))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class K extends U.Plugin{static get[J(492)](){return J(479)}static get[J(486)](){return!0}static get[J(468)](){return!0}[J(487)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(521)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(524)](t,e){const i=J;if(t[i(512)]||!e)return;const s=this[i(499)][i(460)][i(510)](i(490)),n=await e[i(497)]({channelId:s,revisionId:t.id});t[i(512)]=n[i(512)]}[J(495)](t){const e=J,i={};for(const s in t[e(512)]){if(t[e(512)][s][e(518)]&&!t[e(512)][s][e(518)][e(456)])continue;const n=this[e(494)](JSON[e(469)](t[e(512)][s][e(480)])),r=this[e(499)][e(466)][e(501)][e(474)],o=new H.ViewDocumentFragment(r,n[e(484)]((t=>this[e(471)](t,!1))));this[e(499)][e(482)][e(498)][e(462)](e(465)),i[s]=this[e(499)][e(482)][e(498)][e(453)](o),this[e(499)][e(482)][e(498)][e(462)](e(449))}return i}[J(506)](t){const e=J,i={};for(const s in t[e(512)])t[e(512)][s][e(518)]&&!t[e(512)][s][e(518)][e(456)]||(i[s]=t[e(512)][s][e(470)]||{});return i}[J(463)](t){const e=J;return this[e(487)][e(510)](t[e(513)])}[J(471)](t,e){const i=J,s=this[i(499)][i(466)][i(501)][i(474)];if(i(452)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(477)]||"r"==t[i(477)]?[]:t[i(511)][i(484)]((t=>this[i(471)](t,e)));const o=this[i(521)][i(510)](t[i(477)])||H.ViewElement,a=this[i(499)][i(482)][i(493)][i(502)];if(n=new o(s,t[i(496)],t[i(454)],r),"u"==t[i(477)]&&t[i(511)][0]){const r=t[i(511)][0];if(n[i(489)]=function(t){const e=i,s=t[e(467)](e(488));return s[e(459)]=r,s[e(451)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(485)](n);const e=Array[i(514)](a[i(505)](t,{bind:!1})),r=a[i(507)][i(467)](i(488));r[i(458)](...e),n=Array[i(514)](a[i(517)](r))[0]}}else if("r"==t[i(477)]&&t[i(511)][0]){const r=t[i(511)][0];if(n[i(489)]=function(t){t[i(459)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(485)](n);const e=Array[i(514)](a[i(505)](t,{bind:!1})),r=a[i(507)][i(467)](i(488));r[i(458)](...e);const o=Array[i(514)](a[i(517)](r));o[i(520)]>1?n[i(485)](o):n=o[0]}}if(t[i(519)])for(const[e,s]of t[i(519)])n[i(516)](e,s);const c=void 0===t[i(504)]?null:t[i(504)];return null!==c&&(n[i(515)]=()=>c),n}}[J(473)](t){const e=J,i=JSON[e(469)](t),s=this[e(499)][e(466)][e(501)][e(474)],n=new H.ViewDocumentFragment(s,i[e(484)]((t=>this[e(471)](t,!0))));return this[e(499)][e(482)][e(523)](n)}[J(494)](t){const e=J;return(t=t[e(522)]((t=>!t[e(496)]||e(472)!==t[e(496)]&&e(491)!==t[e(496)])))[e(448)]((t=>{const i=e;i(452)!=typeof t&&(t[i(511)]=this[i(494)](t[i(511)]),t[i(454)]=t[i(454)][i(522)]((t=>!t[0][i(508)](i(457)))))})),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,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)===(D=s)||Number.isNaN(A)&&Number.isNaN(D)}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,D;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=at;function ot(){const t=["getChildren","childCount","getUser","attributesAfter","_createInitialRevision","string","_handleMarkerOperation","createPositionFromPath","update","_getFromVersion","_baseRoots","filter","isAttached","RevisionHistoryUtils","_insertChild","end","_touched","isPremiumPlugin","locale","303010arbpDW","_copyMarkers","$comment","getRevisions","editor-initial-data-replaced-with-revision-data","_authorId","RevisionTracker","_transformMarkers","_getTypeCharForViewElement","text","length","source","path","addRoot","getNodeByPath","_removePendingAction","stickiness","graveyardPosition","evaluationLimit","position","setSource","removeRootAttribute","splitPosition","_makeRevision","_diffRoots","RealTimeCollaborationClient","8628wmofmg","key","conversion","userId","rootName","init","_handleRootAttributeOperation","revisionHistory.resumeUnsavedRevision","markerToData","_execute","rootsAttributes","getData","nodeAfter","elementStart","changeRootAttribute","uiElement","attributesBefore","finally","vid_start","range","_touchedMarkers","loadRevisionData","getAttribute","createPositionAt","_baseRootsAttributes","revision","getCustomProperties","revisionHistoryLicenseKeyValid","trialLimit","parent","delete","set","affectsData","find","getWalker","_loadState","addRevision","_handleSplitOperation","isOfficialPlugin","version","_touchedRoots","_markers","dataToMarker","keys","insertion","getMovedRangeStart","newValue","name","some","element","fillerOffset","_removeMetaData","insertionPosition","createRevision","_handleOperation","domainLimit","_isInit","_showLicenseError","reInit","770RLwUgL","_getPreviousFrom","markers","_source","_savedMetaData","_revisionId","_loadedStateData","deletion","revisionHistoryLicenseKeyTrialLimit","attachChange","createPositionAfter","upcast","createRange","isAdd","Initial revision","_licenseKeyCheckInterval","howMany","currentRevision","slice","hasContent","45PgkmPd","918XXStTZ","isEqual","_createCurrentRevision","_prepareViewToSave","max","vid","getRoot","licenseKey","fromEntries","revision:","innerHTML","adapter","baseVersion","split","htmlProcessor","getRevisionRootsAttributes","938154gObzci","documentFragment","_makeModelFromViewString","revisionHistoryLicenseKeyUsageLimit","_diffRootsAttributes","_findInsertionIndex","from","authorsIds","5202MImLaP","Empty document","offsetSize","domConverter","afterInit","revisionHistoryLicenseKeyNotAllowed","add","saveRevision","outerHTML","get","render","creatorId","usageLimit","_appendChild","shift","offset","_baseIdsRoots","_handleInsertOperation","type","clone","dataDowncast","getFillerOffset","_getViewJson","ready","getCurrentRevisionId","root","getOperation","keepParagraph","_bufferedUpdates","_cloneOperation","children","getRevision","push","initial","_initialRevisionId","tableCell","getRange","fromVersion","remove","_applyOperations","document","46328TNtyDp","includes","_startingVersion","_setAttribute","_lastFrom","startsWith","model","targetPosition","$graveyard","_setConversion","detachRoot","_replaceEditorDataWithRevisionData","getRootNames","toView","_fixOperation","_pendingAction","move","values","rawElement","sourcePosition","sendBufferedUpdates","authors","RevisionsRepository","Users","_operations","pluginName","paragraph","createPositionBefore","_processRootBeforeSave","_idsRoots","sort","_fixPosition","data","updateRevisions","createdAt","size","for","_fixRange","editor","getAttributes","start","stringify","NEGATIVE_INFINITY","createElement","_reset","addRootAttribute","setRevisionData","has","revisionHistoryLicenseKeyDomainLimit","_isAttached","_handleRootOperation","_isPendingUpdate","_clone","reinsert","_revisionDataBuilder","insertions","buildRevisionData","creator","customProperties","_utils","getTime","PENDING_ACTION_REVISION_HISTORY","_getBaseVids","clear","getRevisionDocumentData","isEnabled","trim","revisionHistoryLicenseKeyInvalid","PendingActions","291632eMXSOi","_addPendingAction","getOperations","item","plugins","_handleMergeOperation","insert","repository","previousPosition","_lastTo","reverse","nodes","getTransformedByOperation","287298RbSNRT","_makeIdsRoot","expired","_saveMetaData","bind","loadState","_createFromRanges","newRange","_calculateMetaData","diffData","_markChanges","destroy","elementEnd","define","domDocument","collaboration.channelId","history","featureNotAllowed","map","addRevisionData","getAncestors","revisionHistoryLicenseKeyExpired","isReady","requires","invalid","_getVidAttributeName","createRangeIn","_bufferUpdate","resolve","roots","oldRange","deletions","_generateTape","marker","_continueCurrentRevision","vid_end","revisionHistoryLicenseKeyEvaluationLimit","_startingRevisionId","_handleMoveOperation","initialData","then","RevisionHistory","merge","_getState","toVersion","_update","$text","getLatestVersion","getChild","config","getIndex"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(313188===parseInt(e(409))/1+-parseInt(e(396))/2+-parseInt(e(278))/3+parseInt(e(505))/4*(parseInt(e(261))/5)+-parseInt(e(286))/6*(parseInt(e(241))/7)+parseInt(e(327))/8*(parseInt(e(262))/9)+-parseInt(e(479))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends U.Plugin{[rt(269)];[rt(256)];[rt(258)]=null;[rt(403)];[rt(273)]=null;[rt(381)];[rt(244)];[rt(320)];[rt(314)];[rt(386)];[rt(342)];[rt(443)];[rt(329)];[rt(247)];static get[rt(352)](){return rt(485)}static get[rt(220)](){return!0}static get[rt(477)](){return!0}static get[rt(432)](){return[Z.Users,Y,K,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(403)]=this[i(365)][i(400)][i(295)](i(349)),this[i(386)]=this[i(365)][i(400)][i(295)](i(473)),this[i(381)]=new ut(this[i(365)]),this[i(320)]=this[i(365)][i(458)][i(295)](i(424))||i(319),this[i(314)]=new Map,this[i(247)]=null;const s=(0,t.uid)();this[i(244)]={history:this[i(365)][i(333)][i(326)][i(425)],getLatestVersion:()=>Promise[i(437)](this[i(365)][i(333)][i(326)][i(221)]),getCurrentRevisionId:()=>s},this[i(213)](i(431),!1),this[i(213)](i(392),!0),this[i(213)](i(378),!1),this[i(365)][i(458)][i(422)](i(512),!0),this[i(365)][i(507)][i(363)](i(252))[i(224)]({view:i(207)})}[rt(510)](){const t=rt;this[t(336)](),this[t(365)][t(359)].on(t(309),(()=>{const e=t,i=this[e(403)][e(317)](0),s=i&&null===i[e(384)]?i:null;if(this[e(443)]=!!s&&this[e(365)][e(458)][e(295)](e(512)),this[e(365)][e(400)][e(374)](e(504))){const t=this[e(244)][e(310)](),n=this[e(403)][e(317)](t);if(n)this[e(329)]=n[e(323)],this[e(443)]=!1;else{const t=this[e(244)][e(425)][e(351)][e(215)]((t=>!t[e(238)])),n=t?t[e(274)]:this[e(244)][e(425)][e(221)];i?(i[e(453)]<n&&i[e(454)]({toVersion:n}),this[e(443)]?(this[e(244)][e(310)]=()=>s.id,this[e(329)]=s[e(323)]):(this[e(329)]=i[e(453)],this[e(443)]=!1)):(this[e(329)]=n,this[e(443)]=!1)}}else s&&(this[e(365)][e(333)][e(326)][e(425)][e(221)]=Math[e(266)](s[e(453)],this[e(365)][e(333)][e(326)][e(425)][e(221)]),s[e(323)]===s[e(453)]?(0!==s[e(323)]&&(this[e(244)][e(310)]=()=>s.id),this[e(443)]=!1):this[e(443)]&&(this[e(244)][e(310)]=()=>s.id,this[e(329)]=s[e(323)])),this[e(443)]||(this[e(329)]=this[e(365)][e(333)][e(326)][e(221)]);this[e(381)][e(510)](this[e(244)][e(425)]),this[e(464)](this[e(329)]),this[e(264)](this[e(329)]),this[e(273)]&&this[e(347)]()})),this[t(413)](t(431)).to(this,t(378),(t=>!t)),this[t(269)]=this[t(365)][t(458)][t(295)](t(269));const e=this[t(365)];this[t(256)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(209)==r||i(394)==r||i(430)==r||i(375)==r||i(291)==r||i(445)==r||i(249)==r||i(281)==r){delete e[n],s=r,clearInterval(this[i(256)]),this[i(256)]=void 0;break}}i(394)==s&&e[i(239)](i(433)),i(430)==s&&e[i(239)](i(411)),i(375)==s&&e[i(239)](i(237)),i(291)==s&&e[i(239)](i(426),i(450)),i(445)==s&&e[i(239)](i(497)),i(249)==s&&e[i(239)](i(210)),i(281)==s&&e[i(239)](i(298))}),1e3)}async[rt(290)](){const t=rt;if(this[t(403)][t(489)]>0){const e=this[t(403)][t(317)](0),i=await this[t(391)](e),s=await this[t(277)](e);this[t(338)](i,s)}}[rt(420)](){const t=rt;super[t(420)](),this[t(256)]&&clearInterval(this[t(256)])}[rt(499)](t){this[rt(244)]=t}async[rt(468)](){const t=rt,e=await this[t(244)][t(456)]();if(e>this[t(258)][t(453)]){await this[t(217)]();const i=this[t(383)]({revision:this[t(258)],to:e});i[t(348)]=i[t(285)][t(427)]((e=>this[t(365)][t(400)][t(295)](t(350))[t(462)](e))),this[t(258)][t(454)](i)}}async[rt(293)](e={},i=null){const s=rt,n=[];await this[s(217)](),this[s(443)]=!1,i>this[s(258)][s(453)]&&(i=null),null===i&&(i=await this[s(244)][s(456)]());const r=this[s(469)](i),o=this[s(383)]({from:r,to:i});if(this[s(258)][s(453)]<i){const t=this[s(383)]({revision:this[s(258)],from:i,to:i});t[s(348)]=[],t[s(285)]=[],t.id=this[s(258)].id,this[s(258)][s(454)](t,!0),delete t[s(348)],n[s(318)](t)}e[s(297)]=this[s(365)][s(400)][s(295)](s(350)).me.id,e[s(229)]=e[s(229)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(428)](e);n[s(318)](e);const c=this[s(403)][s(459)](a);if(0!==c){const t=this[s(403)][s(317)](c-1);if(t[s(323)]!==i){const r=this[s(381)][s(193)](i,t[s(453)]),o={id:t.id,diffData:r[s(418)],authorsIds:r[s(285)],authors:r[s(285)][s(427)]((t=>this[s(365)][s(400)][s(295)](s(350))[s(462)](t))),fromVersion:i};t===this[s(258)]&&(o[s(361)]=new Date(e[s(361)][s(387)]()+10)),t[s(454)](o,!0),delete o[s(348)],n[s(318)](o)}}if(this[s(273)]){for(const t of n)this[s(436)](t.id,t,!0);this[s(347)]()}return a}[rt(428)](t){const e=rt,i=this[e(403)][e(235)](t);return this[e(273)]&&i.on(e(454),((t,i,s)=>{const n=e;s||(this[n(436)](i.id,i,!0),this[n(347)]())})),this[e(403)][e(218)](i,this[e(283)](i)),i}async[rt(391)](t){const e=rt;return await this[e(386)][e(203)](t,this[e(273)]),this[e(386)][e(391)](t)}async[rt(277)](t){const e=rt;return await this[e(386)][e(203)](t,this[e(273)]),this[e(386)][e(277)](t)}[rt(347)](){const t=rt;if(0===this[t(314)][t(362)])return;if(this[t(378)])return;let e=Array[t(284)](this[t(314)][t(344)]());this[t(314)][t(390)]();for(let i=0;i<e[t(489)];i++){const s=e[i];let n=!1;for(const e of Object[t(225)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(471)]((t=>null!==t)),!e[t(489)])return;for(let i=0;i<e[t(489)];i++){const s=e[i];void 0!==s[t(323)]&&void 0===s[t(453)]&&(s[t(453)]=this[t(403)][t(317)](s.id)[t(453)]),void 0!==s[t(453)]&&void 0===s[t(323)]&&(s[t(323)]=this[t(403)][t(317)](s.id)[t(323)])}const i=this[t(365)][t(458)][t(295)](t(424));this[t(378)]=!0,this[t(397)](),this[t(273)][t(360)](e,i)[t(199)]((()=>{this[t(378)]=!1}))[t(449)]((e=>{const i=t;if(e)for(const t of e)this[i(373)]({id:t.id,createdAt:t[i(361)]});this[i(494)](),this[i(347)]()}))}[rt(383)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(323)],i=null!==i?i:t[s(453)];const n=this[s(381)][s(193)](e,i),r={diffData:n[s(418)],authorsIds:n[s(285)],fromVersion:e,toVersion:i};if(!t||i!==t[s(453)]){const t=i-1,e=this[s(244)][s(425)][s(312)](t);r[s(361)]=e&&e[s(361)]||new Date}if(this[s(247)]&&e===this[s(247)][s(323)])for(const t of this[s(247)][s(348)])r[s(285)][s(328)](t.id)||r[s(285)][s(318)](t.id);return r}[rt(436)](t,e,i){const s=rt;if(this[s(314)][s(374)](t)){const n=this[s(314)][s(295)](t);e=i?{...n,...e}:{...e,...n}}this[s(314)][s(213)](t,e)}[rt(373)](t){const e=rt,i=this[e(403)][e(317)](t.id);if(t[e(361)]&&(t[e(361)]=new Date(t[e(361)])),t[e(285)]){const i=this[e(365)][e(400)][e(295)](e(350));t[e(348)]=t[e(285)][e(427)]((t=>i[e(462)](t)))}i[e(454)](t,!0)}[rt(464)](t){const e=rt,i=this[e(403)][e(317)](this[e(403)][e(489)]-1);if(i)this[e(320)]=i.id;else{const i=!this[e(365)][e(333)][e(326)][e(438)][e(215)]((t=>this[e(365)][e(333)][e(260)](t))),s=this[e(365)][e(400)][e(295)](e(350)).me.id,n=Q(this[e(365)][e(478)],e(i?287:255));this[e(502)]({from:t,to:t,id:this[e(320)],name:n,creatorId:s})}}[rt(264)](t){const e=rt,i=this[e(244)][e(310)]();this[e(258)]=this[e(403)][e(317)](i),this[e(258)]||(this[e(258)]=this[e(502)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(217)](){const t=rt;this[t(443)]&&!this[t(247)]&&(await this[t(386)][t(203)](this[t(258)],this[t(273)]),this[t(381)][t(414)](this[t(258)]),this[t(247)]={fromVersion:this[t(258)][t(323)],authors:this[t(258)][t(348)][t(259)]()})}[rt(338)](e,i){const s=rt;let n=this[s(365)][s(458)][s(295)](s(448)),r=this[s(365)][s(458)][s(295)](s(515));if(void 0===n){n={};for(const t of this[s(365)][s(333)][s(326)][s(339)]())n[t]=""}if(s(465)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(365)][s(333)][s(326)][s(339)]())r[t]={}}let o=!1;const a=Object[s(225)](n),c=Object[s(225)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(393)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(225)](r[t])[s(489)]>0){o=!0;break}}o||(o=c[s(230)]((t=>!this[s(365)][s(333)][s(326)][s(268)](t)))),o&&(0,t.logWarning)(s(483),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(365)][s(458)][s(213)](s(448),e),this[s(365)][s(458)][s(213)](s(515),i)}[rt(397)](){const t=rt;if(!this[t(342)]){const e=this[t(365)][t(400)][t(295)](t(395));this[t(342)]=e[t(292)](Q(this[t(365)][t(478)],t(388)))}}[rt(494)](){const t=rt;this[t(342)]&&(this[t(365)][t(400)][t(295)](t(395))[t(324)](this[t(342)]),this[t(342)]=null)}[rt(283)](t){const e=rt,i=this[e(403)][e(482)]();i[e(406)]();let s=0;for(;s<i[e(489)];){const n=i[s];if(n===this[e(258)]){s++;continue}if(n.id===this[e(320)])break;const r=t[e(453)]-n[e(453)]||t[e(323)]-n[e(323)];if(r>0)break;if(r<0)s++;else{if(!t[e(384)]&&n[e(384)])break;if(n[e(384)]||!t[e(384)]){if(t[e(361)]>n[e(361)])break;s++}else s++}}return s}[rt(469)](t){const e=rt,i=this[e(403)][e(482)]();i[e(406)](),i[e(300)]();const s=i[e(215)]((i=>i[e(453)]<=t))[e(453)];return s<this[e(329)]?this[e(329)]:s}[rt(502)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(383)]({from:e,to:i});o[r(229)]=t,o[r(297)]=s,o.id=n;const a=this[r(428)](o);return this[r(273)]&&this[r(436)](o.id,o,!0),a}[rt(336)](){const t=rt;this[t(365)][t(507)][t(363)](t(306))[t(513)]({model:t(207)})}}class ut{[rt(365)];[rt(490)];[rt(245)];[rt(331)];[rt(405)];[rt(223)];[rt(503)];[rt(282)];[rt(470)];[rt(206)];[rt(356)];[rt(302)];[rt(476)];[rt(202)];[rt(222)];[rt(246)];[rt(446)];constructor(t){const e=rt;this[e(365)]=t,this[e(245)]=new Map,this[e(331)]=-1,this[e(405)]=-1,this[e(223)]=new Map,this[e(503)]=new Map,this[e(282)]=new Map,this[e(470)]=new Map,this[e(206)]=new Map,this[e(356)]=new Map,this[e(302)]=new Map,this[e(476)]=new Map,this[e(202)]=new Map,this[e(222)]=new Map,this[e(246)]=1}[rt(510)](t){const e=rt;this[e(490)]=t;const i=new Map,s=new Map,n=this[e(365)][e(333)][e(326)][e(438)][e(427)]((t=>t[e(509)]));for(const t of n){const n=this[e(365)][e(333)][e(326)][e(268)](t),r=lt(n);i[e(213)](t,r),s[e(213)](t,Object[e(270)](n[e(366)]()))}const r=Array[e(284)](this[e(365)][e(333)][e(243)])[e(427)]((t=>[t[e(229)],t[e(322)]()])),o=this[e(490)][e(221)];this[e(412)](o,i,r,s),this[e(446)]=this[e(246)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(213)](t,i),c[e(213)](t,{})}this[e(412)](Number[e(369)],a,[],c)}[rt(193)](t,e){const i=rt;if(this[i(331)]===t&&this[i(405)]<=e)this[i(245)][i(362)]>1&&this[i(233)](this[i(405)]),this[i(325)](this[i(405)],e,!0);else{if(!this[i(245)][i(374)](t)){const e=this[i(242)](t);this[i(417)](e,t,!1)}this[i(417)](t,e,!0)}return this[i(331)]=t,this[i(405)]=e,this[i(452)]()}[rt(414)](t){const e=rt,i=this[e(365)][e(400)][e(295)](e(473));this[e(371)](),this[e(331)]=t[e(323)],this[e(405)]=t[e(453)];for(const s in t[e(418)]){const n=t[e(418)][s][e(250)],r=A(t[e(418)][s][e(198)])||{},o=i[e(280)](t[e(418)][s][e(440)]);o[e(509)]=s,o[e(376)]=!n||!n[e(472)],o[e(472)]=()=>o[e(376)],this[e(470)][e(213)](s,o),this[e(206)][e(213)](s,r),n&&this[e(222)][e(213)](s,n);const a=this[e(410)](o);this[e(302)][e(213)](s,a);for(const[t,i]of o[e(243)]){if(!t[e(332)](e(271)))continue;const s=t[e(275)](":")[2];for(const t of i[e(216)]({singleCharacters:!0})){const i=this[e(434)](t),n=e(421)==t[e(304)]?t[e(404)][e(491)][e(259)](0,-1):t[e(404)][e(491)],r=a[e(493)](n)[e(204)](i);this[e(476)][e(213)](r,{userId:s})}}}this[e(446)]=this[e(246)];const s=[...Array(this[e(246)])[e(225)]()][e(259)](1)[e(471)]((t=>!this[e(476)][e(374)](t)));let n=0;const r=new Map;for(const o in t[e(418)]){const a=t[e(418)][o][e(250)],c=A(t[e(418)][o][e(463)])||{},u=i[e(280)](t[e(418)][o][e(382)]);u[e(509)]=o,u[e(376)]=!a||a[e(472)],u[e(472)]=()=>u[e(376)],this[e(503)][e(213)](o,u),this[e(282)][e(213)](o,c);const l=this[e(410)](u,Number[e(369)]);this[e(356)][e(213)](o,l),r[e(213)](o,u[e(472)]()?c:{});for(const[t,i]of u[e(243)]){if(!t[e(332)](e(271)))continue;const s=t[e(275)](":")[2];for(const t of i[e(216)]({singleCharacters:!0})){const i=this[e(434)](t),n=this[e(246)]++,r=e(421)==t[e(304)]?t[e(404)][e(491)][e(259)](0,-1):t[e(404)][e(491)];l[e(493)](r)[e(330)](i,n),this[e(476)][e(213)](n,{userId:s})}}for(const t of this[e(365)][e(333)][e(435)](u)[e(216)]({singleCharacters:!0})){const i=this[e(434)](t),r=e(421)==t[e(304)]?t[e(404)][e(491)][e(259)](0,-1):t[e(404)][e(491)],o=l[e(493)](r);o[e(204)](i)>0||o[e(330)](i,s[n++])}for(const[t,i]of u[e(243)])t[e(332)](e(271))||this[e(223)][e(213)](t,i)}const o=ht(e(335));this[e(470)][e(213)](e(335),o),this[e(302)][e(213)](e(335),this[e(410)](o,1));const a=ht(e(335));this[e(503)][e(213)](e(335),a),this[e(356)][e(213)](e(335),this[e(410)](a,1));const c=Array[e(284)](this[e(503)])[e(427)]((([t,e])=>[t,lt(e)]));this[e(412)](this[e(405)],c,this[e(223)],r)}[rt(240)](){const t=rt;this[t(371)](),this[t(331)]=-1,this[t(405)]=-1,this[t(245)][t(390)](),this[t(510)](this[t(490)])}[rt(412)](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(213)](t,{start:e[n(367)][n(305)](),end:e[n(475)][n(305)](),rootName:e[n(311)][n(509)]});this[n(245)][n(213)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(233)](t){const e=rt;this[e(245)][e(212)](t)}[rt(371)](){const t=rt;this[t(476)][t(390)](),this[t(202)][t(390)](),this[t(222)][t(390)](),this[t(503)][t(390)](),this[t(282)][t(390)](),this[t(470)][t(390)](),this[t(206)][t(390)](),this[t(356)][t(390)](),this[t(302)][t(390)](),this[t(223)][t(390)](),this[t(246)]=1,this[t(446)]=this[t(246)]}[rt(410)](t,e=null){const i=rt;let s=null;t.is(i(279))||(s=new H.Element(t[i(229)],{vid_start:null===e?this[i(246)]++:e++}));const n=[];for(const s of t[i(460)]())if(s.is(i(231))){n[i(318)](this[i(410)](s,e));const t=n[n[i(489)]-1];null!==e&&(e=t.is(i(231),i(455))?t[i(204)](i(267))+1:t[i(204)](i(444))+1)}else for(let t=0;t<s[i(288)];t++)n[i(318)](new H.Element(i(455),{vid:null===e?this[i(246)]++:e++}));if(t.is(i(279))){const e=ht(t[i(509)]);return e[i(474)](0,n),e}return s[i(330)](i(444),null===e?this[i(246)]++:e++),s[i(474)](0,n),s}[rt(417)](t,e,i){const s=rt;this[s(371)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(245)][s(295)](t);this[s(470)]=new Map(n),this[s(206)]=new Map(A(o));for(const[t,e]of this[s(470)])if(s(335)!==t&&(this[s(503)][s(213)](t,lt(e)),this[s(282)]=new Map(A(o)),i)){const i=this[s(246)];this[s(356)][s(213)](t,this[s(410)](e)),this[s(302)][s(213)](t,this[s(410)](e,i))}this[s(446)]=this[s(246)],this[s(503)][s(213)](s(335),lt(this[s(470)][s(295)](s(335)))),i&&this[s(356)][s(213)](s(335),this[s(410)](this[s(470)][s(295)](s(335))));for(const[t,e]of r){const i=this[s(470)][s(295)](e[s(509)]),n=this[s(503)][s(295)](e[s(509)]),r=new H.Range(this[s(358)](e[s(367)],i),this[s(358)](e[s(475)],i)),o=this[s(364)](r,n);i[s(243)][s(213)](t,r),this[s(223)][s(213)](t,o)}this[s(325)](t,e,i)}[rt(325)](t,e,i){const s=rt;for(const n of this[s(490)][s(398)](t,e))this[s(236)](n,i);for(const t of this[s(503)][s(344)]())t[s(243)][s(390)]();for(const[t,e]of this[s(223)])this[s(503)][s(295)](e[s(311)][s(509)])[s(243)][s(213)](t,e[s(305)]());const n=new Map,r=new Map;for(const[t,e]of this[s(503)])n[s(213)](t,lt(e)),r[s(213)](t,this[s(282)][s(295)](t));this[s(412)](e,n,this[s(223)],r)}[rt(242)](t){const e=rt,i=Array[e(284)](this[e(245)][e(225)]());i[e(357)](((t,e)=>t-e)),i[e(406)]();for(const e of i)if(e<t)return e;return Number[e(369)]}[rt(480)](t,e){const i=rt,s=Array[i(284)](e[i(243)])[i(427)]((([e,s])=>[e,this[i(364)](s,t)]));t[i(243)]=new Map(s)}[rt(486)](t){const e=rt;for(const i of this[e(223)][e(344)]()){const s=i[e(408)](t),n=H.Range[e(415)](s);i[e(367)]=n[e(367)],i[e(475)]=n[e(475)]}}[rt(236)](t,e){const i=rt;if(i(492)!=t[i(304)]&&i(337)!=t[i(304)]){if(i(402)==t[i(304)]){const s=t[i(498)][i(311)][i(509)];this[i(503)][i(374)](s)||(this[i(503)][i(213)](s,ht(s,!0)),this[i(282)][i(213)](s,{}),e&&this[i(356)][i(213)](s,ht(s,!0)))}else{if(i(372)==t[i(304)]||i(500)==t[i(304)]||i(196)==t[i(304)])return void this[i(511)](t);i(442)==t[i(304)]&&this[i(466)](t)}if(i(442)!==t[i(304)]){const e=this[i(315)](t,this[i(503)]);e[i(514)](),this[i(486)](e)}if(e)switch(t[i(304)]){case i(402):this[i(303)](t);break;case i(343):case i(324):case i(380):this[i(447)](t);break;case i(451):this[i(401)](t);break;case i(275):this[i(219)](t)}}else this[i(377)](t,e)}[rt(315)](t,e){const i=rt,s=t[i(305)]();return s[i(484)]=t[i(484)],this[i(341)](s,e),s}[rt(389)](t){const e=rt;return t[e(427)]((t=>{const i=e,s=this[i(434)](t);return Number(t[i(399)][i(204)](s))}))}[rt(441)](t,e){const i=rt;if(t.is(i(231),i(455)))e[i(318)]({item:t,type:i(488)});else{t.is(i(231))&&e[i(318)]({item:t,type:i(195)});for(const s of t[i(460)]())this[i(441)](s,e);t.is(i(231))&&e[i(318)]({item:t,type:i(421)})}return e}[rt(452)](){const t=rt,e=new Map(this[t(476)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(470)][t(225)](),...this[t(503)][t(225)]()]);a[t(212)](t(335));for(const e of a){const i=this[t(503)][t(295)](e)||ht(e,!1),s=this[t(470)][t(295)](e)||ht(e,!1);i[t(472)]()||s[t(472)]()?(n[t(382)][e]=lt(i),n[t(440)][e]=lt(s),this[t(480)](n[t(440)][e],s),this[t(480)](n[t(382)][e],i),r[t(382)][e]=this[t(441)](this[t(356)][t(295)](e),[]),r[t(440)][e]=this[t(441)](this[t(302)][t(295)](e)||ht(e,!1),[])):a[t(212)](e)}for(const n of a){const o=r[t(382)][n];for(const n of o){const r=this[t(434)](n),o=n[t(399)][t(204)](r);i[t(212)](o),o>=this[t(446)]&&s[t(213)](o,e[t(295)](o))}}for(const n of a){const a=r[t(382)][n],c=this[t(389)](r[t(440)][n]);let u=0;for(const n of a){const r=this[t(434)](n),a=n[t(399)][t(204)](r);if(!s[t(374)](a)&&!o[t(374)](a))if(i[t(374)](a))u++;else{if(a!=c[u]){const s=e[t(295)](a)||e[t(295)](c[u]);for(;a!=c[u];)i[t(374)](c[u])||(o[t(213)](c[u],s),e[t(213)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(382)][e];for(const e of n){const n=this[t(434)](e),r=e[t(399)][t(204)](n);if(o[t(374)](r)){const e=o[t(295)](r);i[t(374)](r)||i[t(213)](r,{...e}),s[t(213)](r,{...e})}}}for(const e of i[t(225)]())e>=this[t(446)]&&i[t(212)](e);const c=new Map;for(const e of a){let n=r[t(382)][e];for(const e of n)if(e[t(399)].is(t(231),t(321))){const i=this[t(434)](e),n=e[t(399)][t(204)](i);if(s[t(374)](n)){const i=e[t(399)][t(211)][t(211)][t(204)](t(200)),r=c[t(295)](i)||new Set;r[t(292)](s[t(295)](n)[t(508)]),c[t(213)](i,r)}}n=r[t(440)][e];for(const e of n)if(e[t(399)].is(t(231),t(321))){const s=this[t(434)](e),n=e[t(399)][t(204)](s);if(i[t(374)](n)){const s=e[t(399)][t(211)][t(211)][t(204)](t(200)),r=c[t(295)](s)||new Set;r[t(292)](i[t(295)](n)[t(508)]),c[t(213)](s,r)}}for(const e of c[t(225)]())(s[t(374)](e)||i[t(374)](e))&&c[t(212)](e)}for(const e of a){const n=r[t(382)][e];let o=null,a=null;for(const e of n){const n=this[t(434)](e),r=e[t(399)][t(204)](n),u=c[t(295)](r);u&&t(195)==e[t(304)]&&(o=Array[t(284)](u)[0],a=e[t(399)][t(204)](t(444))),o&&(i[t(213)](r,{userId:o}),s[t(213)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(440)][e],a=n[t(382)][e];for(const{userId:e}of this[t(202)][t(344)]())null!==e&&l[t(292)](e);for(const{userId:e}of this[t(222)][t(344)]())null!==e&&l[t(292)](e);this[t(419)](a,r[t(382)][e],s,t(226),l),this[t(419)](o,r[t(440)][e],i,t(248),l),u[e]={insertions:this[t(265)](a),deletions:this[t(265)](o),attachChange:this[t(222)][t(295)](e)||null,attributesBefore:A(this[t(206)][t(295)](e))||{},attributesAfter:A(this[t(282)][t(295)](e))}}return{diffData:u,authorsIds:Array[t(284)](l)}}[rt(355)](t){const e=rt;for(const[,i]of t[e(243)]){const t=i[e(367)][e(429)]()[e(471)]((t=>e(321)==t[e(229)]));for(const i of t)1==i[e(461)]&&i[e(457)](0).is(e(231),e(353))&&i[e(457)](0)[e(330)](e(313),!0)}}[rt(265)](t){const e=rt;this[e(355)](t);const i=this[e(365)][e(359)][e(340)](t,{}),s=Array[e(284)](i[e(460)]())[e(427)]((t=>this[e(308)](t)));return JSON[e(368)](s)}[rt(308)](t){const e=rt;if(t.is(e(455)))return t[e(359)];{const i=this[e(365)][e(400)][e(295)](e(473)),s=t,n=this[e(365)][e(359)][e(276)][e(289)],r={type:i[e(487)](s),name:s[e(229)],attributes:Array[e(284)](s[e(366)]()),children:Array[e(284)](s[e(460)]())[e(427)]((t=>this[e(308)](t)))};if(t.is(e(197))&&e(481)!=t[e(229)]){const i=t[e(296)](n[e(423)],n);r[e(316)][e(318)](i[e(294)])}else if(t.is(e(345))){const i=n[e(423)][e(370)](s[e(229)]);t[e(296)](i,n),r[e(316)][e(318)](i[e(272)])}const o=Array[e(284)](s[e(208)]());o[e(489)]>0&&(r[e(385)]=o);const a=s[e(307)]();return null!==a&&(r[e(232)]=a),r}}[rt(419)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(365)][r(333)];for(let s=0;s<e[r(489)];s++){const n=this[r(434)](e[s]),c=e[s][r(399)][r(204)](n),h=i[r(295)](c),d=s==e[r(489)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(508)]!=o[r(508)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(508)],d=l(271)+s+":"+h+":"+c++,f=u[l(253)](i,a);t[l(243)][l(213)](d,f),null!==h&&n[l(292)](h)}}[rt(434)](t){const e=rt;switch(t[e(304)]){case e(195):return e(200);case e(421):return e(444);default:return e(267)}}[rt(341)](t,e){const i=rt;t[i(274)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(295)](n[i(311)][i(509)]);t[s]=this[i(358)](n,r)}if(n instanceof H.Range){const r=e[i(295)](n[i(311)][i(509)]);t[s]=this[i(364)](n,r)}i(311)===s&&(t[i(311)]=e[i(295)](t[i(311)][i(509)]))}}[rt(364)](t,e){const i=rt;return this[i(365)][i(333)][i(253)](this[i(358)](t[i(367)],e),this[i(358)](t[i(475)],e))}[rt(358)](t,e){const i=rt;return this[i(365)][i(333)][i(467)](e,t[i(491)],t[i(495)])}[rt(303)](t){const e=rt,i=this[e(356)][e(295)](t[e(498)][e(311)][e(509)]),s=this[e(358)](t[e(498)],i),n=null===t[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,r=s[e(211)],o=this[e(246)],a=[];for(const i of t[e(407)])if(i.is(e(231)))a[e(318)](this[e(410)](i));else for(let t=0;t<i[e(288)];t++)a[e(318)](new H.Element(e(455),{vid:this[e(246)]++}));const c=this[e(246)];for(let t=o;t<c;t++)this[e(476)][e(213)](t,{userId:n});r[e(474)](s[e(301)],a)}[rt(447)](t){const e=rt;(t=this[e(315)](t,this[e(356)]))[e(514)]();const i=null===t[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,s=t[e(227)](),n=s[e(211)],r=s[e(301)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(457)](e);r.is(a(231),a(455))?s[a(213)](r[a(204)](a(267)),{userId:i}):(s[a(213)](r[a(204)](a(200)),{userId:i}),t(s,r,0,r[a(461)]),s[a(213)](r[a(204)](a(444)),{userId:i}))}}(this[e(476)],n,r,r+t[e(257)])}[rt(401)](t){const e=rt,i=null===(t=this[e(315)](t,this[e(356)]))[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,s=t[e(334)][e(211)],n=t[e(346)][e(211)],r=s[e(204)](e(444)),o=n[e(204)](e(200));s[e(330)](e(444),n[e(204)](e(444))),n[e(330)](e(444),r),this[e(476)][e(213)](o,{userId:i}),this[e(476)][e(213)](r,{userId:i}),t[e(514)]()}[rt(219)](t){const e=rt,i=null===(t=this[e(315)](t,this[e(356)]))[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,s=t[e(496)],n=t[e(501)][e(211)];t[e(514)]();const r=n[e(204)](e(444)),o=t[e(234)][e(194)];if(s){const t=o[e(204)](e(444)),s=n[e(204)](e(444));n[e(330)](e(444),t),o[e(330)](e(444),s),this[e(476)][e(213)](n[e(204)](e(444)),{userId:i}),this[e(476)][e(213)](o[e(204)](e(200)),{userId:i})}else{const t=this[e(246)]++,s=this[e(246)]++;n[e(330)](e(444),t),o[e(330)](e(200),s),o[e(330)](e(444),r),this[e(476)][e(213)](t,{userId:i}),this[e(476)][e(213)](s,{userId:i})}}[rt(466)](t){const e=rt;if(!t[e(214)])return;const i=(t=this[e(315)](t,this[e(503)]))[e(439)]?t[e(439)][e(311)]:null,s=t[e(416)]?t[e(416)][e(311)]:null;i&&this[e(223)][e(212)](t[e(229)]),s&&this[e(223)][e(213)](t[e(229)],t[e(416)][e(305)]());const n=null===t[e(484)]?null:t[e(484)]||this[e(365)][e(400)][e(295)](e(350)).me.id,r=t[e(229)];if(!this[e(202)][e(374)](r))return void this[e(202)][e(213)](r,{range:t[e(439)],userId:n});const o=this[e(202)][e(295)](r),a=o[e(201)],c=t[e(416)];null==a&&null==c||a&&c&&a[e(263)](c)?this[e(202)][e(212)](t[e(229)]):o[e(508)]=n}[rt(377)](t,e){const i=rt;this[i(503)][i(374)](t[i(509)])?this[i(503)][i(295)](t[i(509)])[i(376)]=t[i(254)]:(this[i(503)][i(213)](t[i(509)],ht(t[i(509)],!0)),this[i(282)][i(213)](t[i(509)],{}),e&&this[i(356)][i(213)](t[i(509)],ht(t[i(509)],!0)));const s=null===t[i(484)]?null:t[i(484)]||this[i(365)][i(400)][i(295)](i(350)).me.id,n=this[i(222)][i(295)](t[i(509)]);n&&n[i(508)]===s?this[i(222)][i(212)](t[i(509)]):this[i(222)][i(213)](t[i(509)],{userId:s,isAttached:t[i(254)]})}[rt(511)](t){const e=rt,i=this[e(282)][e(295)](t[e(311)][e(509)]);null===t[e(228)]?delete i[t[e(506)]]:i[t[e(506)]]=t[e(228)]}}function lt(t){const e=rt,i=ht(t[e(509)],t[e(472)]());for(const s of t[e(460)]()){const t=s[e(379)](!0);i[e(299)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(509)]=t,s[i(376)]=e,s[i(472)]=()=>s[i(376)],s}function dt(t,e,i){const s=rt,n=s(421)==t[s(304)]?i[s(205)](t[s(399)],s(475)):i[s(354)](t[s(399)]);return i[s(467)](e,n[s(491)],n[s(495)])}function ft(t,e,i){const s=rt,n=s(195)==t[s(304)]?i[s(205)](t[s(399)],0):i[s(251)](t[s(399)]);return i[s(467)](e,n[s(491)],n[s(495)])}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;function At(t,e){const i=Vt();return(At=function(t,e){return i[t-=348]})(t,e)}const Dt=At;function Vt(){const t=["220","input","revisionNameInputView","arrowright","3ihEGya","Name of the revision","fieldView","1536984twIVBh","arrowdown","locale","element","arrowleft","1217668MWImqV","1900doDnLM","render","optional","add","set","label","revisionNameInputValue","17765UHmwmL","_createRevisionNameInput","6430470UXRtjm","setTemplate","stopPropagation","reset","value","errorText","49340LbulgD","trim","focusTracker","focus","ck-responsive-form","ck-revision-history-save-revision-form","511qdzKTJ","27vQoasa","listenTo","404272uYspSY","form","72232WweiDN","arrowup","extendTemplate","keystrokes","revisionName"];return(Vt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(940178===parseInt(e(359))/1*(-parseInt(e(367))/2)+parseInt(e(390))/3*(parseInt(e(348))/4)+-parseInt(e(383))/5+parseInt(e(377))/6+-parseInt(e(389))/7*(-parseInt(e(350))/8)+-parseInt(e(362))/9+parseInt(e(368))/10*(parseInt(e(375))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[Dt(385)];[Dt(353)];[Dt(357)];constructor(e,i){const s=Dt;super(e),this[s(385)]=new t.FocusTracker,this[s(353)]=new t.KeystrokeHandler,this[s(372)](s(374),""),this[s(357)]=this[s(376)](i),this[s(378)]({tag:s(349),attributes:{class:["ck",s(388),s(387)],tabindex:"-1"},children:[this[s(357)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Dt(369)](){const t=Dt;super[t(369)](),(0,pt.submitHandler)({view:this}),this[t(385)][t(371)](this[t(357)][t(365)]),this[t(353)][t(391)](this[t(365)]);const e=e=>e[t(379)]();this[t(353)][t(372)](t(358),e),this[t(353)][t(372)](t(366),e),this[t(353)][t(372)](t(351),e),this[t(353)][t(372)](t(363),e)}[Dt(386)](){const t=Dt;this[t(357)][t(386)]()}get[Dt(354)](){const t=Dt;return this[t(357)][t(361)][t(365)][t(381)][t(384)]()}set[Dt(354)](t){const e=Dt;this[e(357)][e(361)][e(365)][e(381)]=t[e(384)]()}[Dt(380)](){const t=Dt;this[t(357)][t(361)][t(365)][t(381)]="",this[t(357)][t(382)]=null}[Dt(376)](t){const e=Dt,i=new pt.LabeledFieldView(this[e(364)],pt.createLabeledInputText),s=i[e(361)];s[e(352)]({attributes:{maxlength:e(355)}});let n=Q(this[e(364)],e(360));return!t&&(n+=" ("+Q(this[e(364)],e(370))+")"),i[e(373)]=n,s.on(e(356),(()=>{const t=e;this[t(374)]=s[t(365)][t(381)][t(384)]()})),i}}const Mt=Ft;function Ct(){const t=["hide","Revision history","12197952mgGNmx","get","Open revision history","revisionNameInputView","isReady","config","init","menuBar:revisionHistory","role","9CGhIWC","addMany","render","_showDialog","show","submit","saveRevision","revisionHistory","Cancel","isOpen","add","errorText","revisionHistory.requireRevisionName","children","execute","isPremiumPlugin","plugins","172191BFNyWw","RevisionHistoryUI","revisionName","items","menu","ck-button-action","Dialog","Accept","502303oBeXzh","showRevisionViewerCallback","revisionSave","view","8637475pDLRxW","The revision name cannot be empty.","16256050qxXJjj","_createSaveRevisionFormView","Save current revision","_registerMenuComponent","_saveRevisionFormView","buttonView","panelView","delegate","isOfficialPlugin","focus","isReadOnly","52QRVAMq","18hOCeiK","componentFactory","1514240XAHrUA","isEnabled","requires","editor","set","reset","editing","bind","menuitem","1127135kWpboe","pluginName","RevisionTracker","locale"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=386]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(765441===parseInt(e(388))/1+parseInt(e(408))/2+parseInt(e(449))/3*(parseInt(e(405))/4)+-parseInt(e(417))/5*(-parseInt(e(406))/6)+parseInt(e(392))/7+-parseInt(e(423))/8+-parseInt(e(432))/9*(parseInt(e(394))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Lt extends U.Plugin{static get[Mt(418)](){return Mt(450)}static get[Mt(402)](){return!0}static get[Mt(447)](){return!0}static get[Mt(410)](){return[ct]}[Mt(398)];[Mt(429)](){const t=Mt,e=this[t(411)],i=e[t(448)][t(424)](t(419));e.ui[t(407)][t(442)](t(439),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(400)][n(445)],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(415)](n(409)).to(i,n(427),i,n(409),e,n(404),((t,e,i)=>t&&e&&!i)),r[n(399)][n(412)]({icon:mt.IconHistory,label:Q(s,n(422)),tooltip:!0}),u[n(412)]({label:Q(s,n(396)),withText:!0,role:n(416)}),u[n(415)](n(409)).to(i,n(427),i,n(409),e,n(404),((t,e,i)=>t&&e&&!i)),u.on(n(446),(()=>this[n(435)]())),h[n(412)]({label:Q(s,n(425)),withText:!0,role:n(416)}),h[n(415)](n(409)).to(i,n(427),e,n(404),((t,e)=>t&&!e)),h.on(n(446),(()=>{const t=n;e[t(428)][t(424)](t(439))[t(389)](),r[t(441)]=!1,e[t(414)][t(391)][t(403)]()})),c[n(445)][n(442)](u),l[n(445)][n(442)](h),a[n(431)]=n(453),a[n(452)][n(433)]([c,l]),o[n(442)](a),r})),e.ui[t(407)][t(442)](t(430),(()=>this[t(397)]()))}[Mt(397)](){const t=Mt,e=this[t(411)],i=e[t(420)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(399)][t(412)]({icon:mt.IconHistory,label:Q(i,t(422))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(412)]({label:Q(i,t(396))}),o[t(401)](t(446)).to(s),o.on(t(446),(()=>{this[t(435)]()})),r[t(445)][t(442)](o),n[t(452)][t(442)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(412)]({label:Q(i,t(425))}),c[t(401)](t(446)).to(s),c.on(t(446),(()=>{const i=t;e[i(428)][i(424)](i(439))[i(389)]()})),a[t(445)][t(442)](c),n[t(452)][t(442)](a),s[t(400)][t(445)][t(442)](n),s}[Mt(435)](){const t=Mt,e=this[t(411)],i=e[t(420)],s=e[t(448)][t(424)](t(386)),n=e[t(448)][t(424)](t(419));function r(n){const r=t;e[r(428)][r(424)](r(444))&&""===n[r(451)]?n[r(426)][r(443)]=Q(i,r(393)):(e[r(448)][r(424)](ct)[r(438)]({name:n[r(451)]}),s[r(421)]())}this[t(398)]||(this[t(395)](),this[t(398)].on(t(437),(()=>r(this[t(398)])))),this[t(398)][t(413)](),s[t(436)]({id:t(390),title:Q(i,t(396)),isModal:!0,content:this[t(398)],actionButtons:[{label:Q(e[t(420)],t(440)),withText:!0,onExecute:()=>s[t(421)]()},{label:Q(e[t(420)],t(387)),class:t(454),withText:!0,onCreate(i){const s=t;i[s(415)](s(409)).to(n,s(427),n,s(409),e,s(404),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(398)])}]})}[Mt(395)](){const t=Mt,e=this[t(411)],i=e[t(420)];this[t(398)]=new Et(i,e[t(428)][t(424)](t(444))),this[t(398)][t(434)]()}}function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=440]})(t,e)}const jt=Pt;function Wt(){const t=["type","1000274uOPkVN","add","2738360aYFcoj","8145832cDZHnH","name","ck-revision-change","3560580cFwCOO","Removed by","ck-annotation","bindTemplate","14ClsQYx","author","setTemplate","focus","_model","826908bJByUT","ck-revision-change__","span","set","509064JFAFKH","div","element","948580Gtvnls","isSuggestion","data","Added by","ck-revision-change__label","Suggested by","changeId"];return(Wt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(470745===-parseInt(e(442))/1+-parseInt(e(453))/2+-parseInt(e(468))/3+-parseInt(e(455))/4+-parseInt(e(445))/5+parseInt(e(459))/6+parseInt(e(463))/7*(parseInt(e(456))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends pt.View{[jt(451)];[jt(467)];constructor(t,e){const i=jt;super(t),this[i(467)]=e,this[i(451)]=e.id;const s=this[i(462)],n=Q(t,e[i(447)][i(446)]?i(450):i(454)==e[i(452)]?i(448):i(460));this[i(441)](i(452),e[i(452)]),this[i(465)]({tag:i(443),attributes:{class:[i(461),i(458),s.to(i(452),(t=>i(469)+t))],tabindex:-1},children:[{tag:i(440),children:[{tag:i(440),attributes:{class:[i(449)]},children:[{text:n}]},{text:" "+e[i(464)][i(457)]}]}]})}[jt(466)](){const t=jt;this[t(444)][t(466)]()}}var Ut=Zt;function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=318]})(t,e)}function Ht(){var t=["author","24jHcuzY","1VSVWAs","createdAt","1003942IMafkc","33CVYIBD","toJSON","8240802zBlmPp","13363559aFWsvI","9PViZQJ","2848398imEvlF","7552656XgOOjK","299176PDOiDO","type","5furPys","rootName","set","data","15063770SyxzrF"];return(Ht=function(){return t})()}!function(t){for(var e=Zt,i=t();;)try{if(811368===parseInt(e(325))/1*(-parseInt(e(327))/2)+parseInt(e(328))/3*(parseInt(e(335))/4)+-parseInt(e(318))/5*(-parseInt(e(330))/6)+parseInt(e(333))/7*(-parseInt(e(324))/8)+-parseInt(e(332))/9*(parseInt(e(322))/10)+parseInt(e(331))/11+parseInt(e(334))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Ut(323)];[Ut(336)];[Ut(321)];[Ut(319)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(323)]=e[i(323)],this[i(336)]=e[i(336)],this[i(321)]=e[i(321)]||{},this[i(319)]=e[i(319)],this[i(320)](i(326),e[i(326)])}[Ut(329)](){var t=Ut;return{id:this.id,authorId:this[t(323)].id,type:this[t(336)],data:this[t(321)],createdAt:this[t(326)]}}}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=["1409228VDpNkm","297693cEiqkQ","3111608GgAvQd","64rJcljz","_setChanges","10mrOLQL","5691642knQMvm","22818WJBFuC","5XfHNCC","changes","936OcDOsD","oldRevisionId","6587Gxzthk","newRevisionId","332064fnKQkH","add"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(201263===parseInt(e(412))/1+-parseInt(e(417))/2*(-parseInt(e(405))/3)+parseInt(e(414))/4*(parseInt(e(406))/5)+-parseInt(e(408))/6*(-parseInt(e(410))/7)+-parseInt(e(416))/8+parseInt(e(415))/9*(parseInt(e(419))/10)+-parseInt(e(404))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(411)];[$t(409)];[$t(407)];constructor(e,i){const s=$t;this[s(411)]=e,this[s(409)]=i,this[s(407)]=new t.Collection}[$t(418)](t){const e=$t;for(const i of t)this[e(407)][e(413)](i)}}var Gt=i(536),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=It(),Xt.insert=wt().bind(null,"head"),Xt.domAPI=kt(),Xt.insertStyleElement=Ot();gt()(Gt.A,Xt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Kt=te;function Qt(){const t=["createRevision","hasClass","_markInsertions","next","suggestion","revisionHistoryAttachChange","_markMismatchedRemovedTags","abs","_setConversion","showNextChange","for","nextSibling","adapter","suggestion:","getAttributes","affectsData","observeMarkers","createPositionBefore","stop","2255tSzKUm","enableReadOnlyMode","modelRange","revision:","isReady","plugins","insert","error","offsetSize","domEvent","createAttributeElement","add","showStack","refresh","isEnabled","ck-revision-history-root-","_setChanges","_joinTapes","hasAttribute","-new","createRange","isLimit","string","attribute:vid","loadRevisionData","text","getRootNames","ck-revision-history-root--active","currentChangeNumber","getLaterVisibleRevision","markerToHighlight","dataToMarker","parent","data-change-id","commands","attributesAfter","markerToData","range","change:isEnabled","3582qenbnv","revision-comment:","viewItem","bindElementToMarker","change:activeChange","ck-suggestion-preview-marker","newRevisionId","forceDisabled","revision-suggestion","addRevision","splice","isCollapsed","remove","isAfter","isAtEnd","data","top","removeClass","addMarker:revision","_sortAndFilterDiffChanges","getWalker","type","model","POSITIVE_INFINITY","end","consume","isBlock","startIndex","includes","createRangeIn","filter","concat","_cleanMarkers","left","config","pairId","find","toViewRange","unbindElementFromMarkerName","_threeWayMerge","isBefore","_update","previousPosition","insertions","59382LyhDgO","uiElement","markerNameToElements","wrap","showPreviousChange","_initInteractions","vid_start","mapViewToDom","forward","getIndex","elementStart","isPremiumPlugin","mapper","userId","then","_appendChild","requires","_fixObsoleteTags","bottom","revision-suggestion:","pluginName","vid_end","ck-suggestion-preview-marker-","index","toViewPosition","_setDistance","first","repository","398532yEBEAZ","consumable","destroy","endIndex","activeChange","maxOffset","comment","getClientRects","backward","bind","enqueueChange","_changeIdToChange","_cleanUp","schema","change:isReady","ck-suggestion-marker","level","insertion","_makeTape","change:numberOfChanges","1978172BQJyrd","mouseover","mousedown","_getViewForChange","attributes","forEach","ck-suggestion-marker--active","_markMarkers","right","change:activeView","isOfficialPlugin","_data","slice","checkAttribute","createUIElement","rootName","_activeViewTarget","writer","isNavigationMode","_makeModelFromViewString","RevisionViewer","addMarker:revision-suggestion:insertion","push","markerName","_changeView","removeMarker","isInline","nodeAfter","addMarker:revision-suggestion:deletion","getRevisionDocumentData","reconvertMarker","isAttached","resolve","getRevision","oldRevisionId","selection","addRoot","10jpDJiu","RevisionHistoryUtils","_getDiff","updatePosition","_removeMissingPairs","unshift","isSuggestion","deletion","isAdded","item","_step","revision","isContent","addHighlight","span","listenTo","revision-viewer","isAddSuggestion","roots","clear","start","restoreRevision","ck-suggestion-marker-merge","_getRevisionsRange","restoreRevisionCallback","toViewElement","6300873WhkwYW","_makeModelFromTape","ck-editor__editable__overlay","markersEnd","13345090aPoOSE","_revisions","catch","length","WidgetToolbarRepository","_removeUnsupportedChanges","ck-revision-history-root-add","_markSuggestions","flat","highest","vid","change","numberOfChanges","_findChangeIdFromDomTarget","_processTape","conversion","softBreak","addClass","elementToAttribute","ck-suggestion-marker-split","createPositionFromPath","setAttribute","2sHljIe","high","init","side","view","RevisionsRepository","low","diff","set","domConverter","sort","code","markers","attachChange","ck-revision-history-root-remove","distance","removeMarker:revision","332588mqQTcL","editingDowncast","isAtStart","split","attributesBefore","revisionHistory","downcastDispatcher","map","diffData","isRemoveSuggestion","dataDowncast","changeId","pop","compare","findIndex","shift","deletions","editor","return","getDomRoot","document","getChild","element","removeAttribute","_balloon","delete","element:pre","has","markerRange","authors","from","getItems","elementEnd","values","merge","getAttribute","done","target","activeView","ck-suggestion-marker-","8IMfpYw","nextPosition","isEqual","upcast","getCustomProperty","isRemoved","_utils","locale","editing","changes","test","execute","getRevisionRootsAttributes","get","indexOf","name","startsWith","revisionHistoryLabel","keys","_refreshStartEndIndex","markersStart","removeMarker:revision-suggestion","object","all","getRoot","addRevisionData","isObject","detachRoot","isOnRoot","isIncorrect","_getChangeFromId"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=459]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(462723===-parseInt(e(583))/1*(-parseInt(e(474))/2)+parseInt(e(773))/3+parseInt(e(600))/4+parseInt(e(690))/5*(-parseInt(e(729))/6)+-parseInt(e(494))/7+-parseInt(e(640))/8*(parseInt(e(557))/9)+-parseInt(e(531))/10*(-parseInt(e(561))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends U.Plugin{[Kt(473)];[Kt(683)]=null;[Kt(646)];[Kt(510)];[Kt(518)];[Kt(485)];[Kt(624)];static get[Kt(466)](){return Kt(514)}static get[Kt(504)](){return!0}static get[Kt(784)](){return!0}static get[Kt(462)](){return[Z.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Kt;super(t),this[e(473)]=this[e(617)][e(695)][e(653)](e(588)),this[e(646)]=this[e(617)][e(695)][e(653)](e(532)),this[e(591)](e(478),null),this[e(591)](e(638),null),this[e(510)]=null,this[e(591)](e(590),null),this[e(591)](e(694),!1),this[e(591)](e(704),!0),this.on(e(728),((t,i,s)=>{const n=e;this[n(478)]=null,this[n(638)]=null,this[n(617)][n(648)][n(587)][n(572)]((t=>{const e=n;for(const i of this[e(617)][e(648)][e(587)][e(620)][e(549)])s?t[e(746)](e(559),i):t[e(578)](e(559),i)}))})),this[e(483)](e(512)).to(this,e(478),(t=>null!==t)),this[e(483)](e(718)).to(this,e(694),this,e(590),this,e(478),((t,i,s)=>t&&s?i[e(649)][e(782)](s):0)),this[e(483)](e(573)).to(this,e(694),this,e(590),((t,i)=>t?i[e(649)][e(564)]:0)),this[e(518)]=null,this[e(485)]=new Map,this[e(624)]=this[e(617)][e(695)][e(653)](pt.ContextualBalloon)}[Kt(585)](){const t=Kt,e=this[t(617)],i=new ne(e,{direction:t(482)}),s=new ne(e,{direction:t(781)});e[t(724)][t(701)](t(777),i),e[t(724)][t(701)](t(680),s),e[t(724)][t(701)](t(552),new se(e)),this.on(t(493),(()=>{const e=t;i[e(703)](),s[e(703)]()})),this[t(679)](),this[t(778)](),e[t(691)](t(547)),e[t(695)][t(627)](t(565))&&e[t(695)][t(653)](t(565))[t(736)](t(547))}async[Kt(523)](t){const e=Kt;return await this[e(646)][e(714)](t,this[e(683)]),this[e(646)][e(523)](t)}async[Kt(652)](t){const e=Kt;return await this[e(646)][e(714)](t,this[e(683)]),this[e(646)][e(652)](t)}async[Kt(613)](t,e,i=!1){const s=Kt;if(!this[s(704)])return;const n=this[s(590)],r=this[s(473)],o=s(712)==typeof t?r[s(527)](t):t,a=s(712)==typeof e?r[s(527)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(590)]&&this[s(590)][s(735)]===c&&this[s(590)][s(528)]===u)return Promise[s(526)]();this[s(694)]=!1,this[s(638)]=null,this[s(478)]=null,this[s(590)]=new Jt(c,u);const l=this[s(554)](o,a,!0)[s(607)]((t=>this[s(646)][s(714)](t,this[s(683)])));return l[s(516)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(663)](l)[s(460)]((()=>{const t=s;if(!this[t(704)])return;this[t(486)]();const e=this[t(533)](c,u);for(const i of e[t(649)])this[t(485)][t(591)](i.id,i);this[t(617)][t(751)][t(484)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(617)][s(751)][s(620)][s(716)]())i[s(667)](t);for(const t of Object[s(658)](e[s(751)])){const n=i[s(530)](t);for(const r of Object[s(658)](e[s(498)][t]))i[s(582)](r,e[s(498)][t][r],n);i[s(696)](e[s(751)][t],n,0)}})),this[t(590)][t(706)](this[t(748)](e[t(649)])),this[t(694)]=!0}))[s(563)]((t=>{const e=s;console[e(697)](t),this[e(486)](),n&&(this[e(590)]=n),this[e(694)]=!0}))}[Kt(665)](t,e){const i=Kt,s=this[i(473)][i(671)](t);return s.on(i(770),((t,i,n)=>e(i,n,s))),this[i(473)][i(738)](s),s}[Kt(486)](){const t=Kt;this[t(478)]=null,this[t(761)](),this[t(518)]&&this[t(518)][t(476)](),this[t(518)]=null,this[t(485)][t(550)](),this[t(617)][t(751)][t(484)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(617)][i(751)][i(620)][i(716)]())e[i(667)](t)}))}[Kt(748)](t){const e=Kt,i=[],s=new Map;for(const t of this[e(617)][e(751)][e(620)][e(716)]()){const n=this[e(617)][e(648)][e(587)][e(619)](t);if(!n)continue;const r=n[e(481)]()[e(540)](0);r&&(i[e(516)](t),s[e(591)](t,r))}return i[e(593)](((t,i)=>{const n=e,r=s[n(653)](t),o=s[n(653)](i);return r.y-o.y||r.x-o.x})),(t=t[e(759)]((t=>i[e(757)](t[e(509)]))))[e(593)](((t,s)=>i[e(654)](t[e(509)])-i[e(654)](s[e(509)]))),t}[Kt(492)](t){const e=Kt,i=Array[e(630)](t[e(595)])[e(759)]((([t,i])=>t[e(656)](e(693))&&!i[e(740)])),s=Array[e(630)](this[e(617)][e(751)][e(758)](t)[e(749)]({singleCharacters:!0}));if(0!=i[e(564)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(603)](":");if(n[e(753)][e(642)](t[e(641)])&&i[e(615)](),(t[e(771)][e(642)](n[e(551)])||t[e(771)][e(742)](n[e(551)]))&&(e(491)==r?t[e(539)]={userId:o}:e(538)==r&&(t[e(645)]={userId:o})),0==i[e(564)])break}return s}[Kt(659)](t){const e=Kt,i=new Map;for(let s=0;s<t[e(564)];s++)e(715)===t[s][e(750)]?(t[s][e(540)][e(756)]=s,t[s][e(540)][e(477)]=s):(e(783)===t[s][e(750)]?t[s][e(540)][e(756)]=s:e(632)===t[s][e(750)]&&(t[s][e(540)][e(477)]=s),i[e(591)](t[s].id,s));for(const s of i[e(633)]())e(783)===t[s][e(750)]?t[s][e(540)][e(477)]=i[e(653)](t[s][e(764)]):e(632)===t[s][e(750)]&&(t[s][e(540)][e(756)]=i[e(653)](t[s][e(764)]))}[Kt(575)](t){const e=Kt;for(let i=0;i<t[e(564)];i++){if(e(783)===t[i][e(750)])t[i][e(540)][e(756)]=i;else if(e(632)===t[i][e(750)]){t[i][e(540)][e(477)]=i;const s=t[i][e(540)][e(756)];t[s][e(764)]=t[i].id,t[i][e(764)]=t[s].id}else t[i][e(540)][e(756)]=i,t[i][e(540)][e(477)]=i,t[i][e(764)]=null;t[i][e(660)]||(t[i][e(660)]=[],t[i][e(560)]=[])}}[Kt(673)](t,e){const i=Kt,s=t[i(759)]((t=>!t[i(539)]));for(let t=0;t<e[i(564)];t++)e[t][i(539)]&&(s[t][i(539)]=e[t][i(539)])}[Kt(533)](t,e=null){const i=Kt,s=this[i(473)][i(527)](t),n=e?this[i(473)][i(527)](e):null,r=this[i(554)](s,n),o=r[r[i(564)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(564)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(658)](e[i(608)]))if(e[i(608)][t][i(596)]){const s=e[i(608)][t][i(596)];s[i(525)]?(u[i(701)](t),l[i(627)](t)&&l[i(653)](t)[i(459)]==s[i(459)]?l[i(625)](t):l[i(591)](t,s)):l[i(627)](t)?(u[i(625)](t),l[i(625)](t)):(u[i(701)](t),l[i(591)](t,s))}else u[i(701)](t)}for(const t of u){const e=l[i(627)](t)&&!l[i(653)](t)[i(525)];let s=e?r[i(564)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(608)][t]){const s=e?o[i(608)][t][i(604)]:o[i(608)][t][i(725)];c[i(498)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(751)]={};for(const e of t[i(629)])a[i(591)](e.id,e);for(const e of u){const s=t[i(608)][e]?t[i(608)][e][i(772)]:"[]",n=t[i(608)][e]?t[i(608)][e][i(616)]:"[]";t[i(751)][e]={insertions:this[i(646)][i(513)](s),deletions:this[i(646)][i(513)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(630)](s[i(751)][t][i(772)][i(595)])[i(759)]((([t])=>!t[i(656)](i(693)))));let h=0;for(const o of r){const r=this[i(492)](o[i(751)][t][i(772)]);o==s?(e=r,n=e[i(564)],e[i(499)]((t=>{t.id=h++})),this[i(575)](e)):this[i(673)](e,r);const a=e[i(759)]((t=>!t[i(539)]))[i(607)]((t=>t.id));let c=0;const l=this[i(492)](o[i(751)][t][i(616)]);l[i(499)]((t=>{t[i(645)]?t.id=n++:t.id=a[c++]})),this[i(575)](l),this[i(471)](e,i(539)),this[i(471)](l,i(645)),o==s&&this[i(501)](e,u),e=this[i(707)](e,l),this[i(659)](e),this[i(471)](e,i(645))}e=e[i(759)]((t=>!(t[i(539)]&&t[i(645)])));const d=new Map(o[i(751)][t][i(616)][i(595)]),f=new Set(u[i(658)]());for(const t of d[i(658)]())f[i(625)](t);this[i(568)](e,f),this[i(463)](e),e=this[i(535)](e),e=this[i(677)](e),e=this[i(566)](e);const{root:m,changes:p}=this[i(558)](e,a,t);c[i(751)][t]=m;const v=l[i(653)](t);if(v){const e=a[i(653)](v[i(459)]),s=new qt({author:e,type:v[i(525)]?i(701):i(741),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(536)](s),c[i(498)][t][i(676)]=s.id}c[i(649)]=c[i(649)][i(760)](p)}return c}[Kt(501)](t,e){const i=Kt;for(let s=0;s<t[i(564)];s++)for(const[n,r]of e)!r[i(740)]&&r[i(551)][i(642)](t[s][i(771)])&&t[s][i(660)][i(516)](n),r[i(753)][i(642)](t[s][i(641)])&&t[s][i(560)][i(516)](n)}[Kt(707)](t,e){const i=Kt;let s=[],n=0,r=0;for(;n<t[i(564)]||r<e[i(564)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(516)](o);else if(a[i(645)]&&o[i(539)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(768)](t,n,e,r);s=s[i(760)](o),n=a,r=c}else a[i(645)]?(r++,s[i(516)](a)):(n++,s[i(516)](o))}return s}[Kt(568)](t,e){const i=Kt,s=[];for(let o=0;o<t[i(564)];o++){for(let r=0;r<t[o][i(660)][i(564)];r++){const a=t[o][i(660)][r];if(!e[i(627)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(737)!=c||i(491)!=u&&i(538)!=u||(s[i(536)]({type:u,name:a,userId:l}),t[o][i(660)][i(739)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(560)][i(564)];r++){const a=t[o][i(560)][r];if(!e[i(627)](a))continue;const{group:c,type:u}=n(a);if(i(737)!=c||i(491)!=u&&i(538)!=u)continue;t[o][i(560)][i(739)](r,1),r--;const l=s[i(614)]((t=>t[i(655)]==a));l>-1&&s[i(739)](l,1)}}function n(t){const e=i,s=t[e(603)](":");return{group:s[0],type:s[1],subType:s[e(564)]>=5?s[2]:null,id:s[e(564)]<5?s[2]:s[3],authorId:s[e(564)]<5?s[3]:s[4],markerCount:6==s[e(564)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(564)];i++){if(t[e(539)]&&e(491)==s[i][e(750)])return t[e(548)]=s[i],void delete t[e(539)];if(!t[e(539)]&&!t[e(645)]&&e(538)==s[i][e(750)])return void(t[e(609)]=s[i])}}}[Kt(471)](t,e){const i=Kt;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(564)];s++){if(i(645)==e&&t[s][i(539)]||i(539)==e&&t[s][i(645)])continue;if(i(715)==t[s][i(750)]){t[s][i(598)]=0;continue}const n=r[i(653)](t[s][i(764)]),o=r[i(653)](t[s].id);t[s][i(598)]=n-o}}[Kt(554)](t,e,i=!1){const s=Kt,n=[];let r=this[s(473)][s(782)](t),o=this[s(473)][s(782)](e);for(-1==o&&(o=this[s(473)][s(562)][s(564)],i=!1);r<o;)n[s(516)](this[s(473)][s(527)](r)),r++;return i&&n[s(516)](this[s(473)][s(527)](r)),n}[Kt(768)](t,e,i,s){const n=Kt,r=this[n(617)][n(751)][n(487)];let o=e;for(;t[o]&&t[o][n(539)];)o++;let a=s;for(;i[a]&&i[a][n(645)];)a++;u(t,e,o),u(i,s,a);const c=i[n(506)](s,a)[n(760)](t[n(506)](e,o));return c[n(593)](((t,e)=>t[n(586)]!=e[n(586)]?t[n(586)]-e[n(586)]:t[n(490)]!=e[n(490)]?t[n(490)]-e[n(490)]:t[n(598)]!=e[n(598)]?e[n(598)]-t[n(598)]:!!t[n(539)]!=!!e[n(539)]?-1==t[n(586)]||0==t[n(586)]?t[n(539)]?-1:1:t[n(539)]?1:-1:t[n(469)]-e[n(469)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(752)],c=!0;for(let n=e;n<i;n++)if(r[s(520)](t[n][s(540)])||(c=!1),t[n][s(540)][s(756)]<e&&(o=n),t[n][s(540)][s(477)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(586)]=n<=o?-1:n<a?0:1,t[n][s(469)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(598)]?t[i][s(490)]=u:(u++,t[i][s(490)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(586)]&&(t[n][s(490)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(598)]?t[e][s(490)]=u:(u--,t[e][s(490)]=u,u--)}}[Kt(463)](t){const e=Kt,i=new Map,s=this[e(617)][e(751)][e(487)];for(let n=1;n<t[e(564)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(715)==c[e(750)])continue;if(c[e(750)]!=u[e(750)])continue;if(!s[e(755)](u[e(540)])||s[e(711)](u[e(540)]))continue;if(!s[e(755)](c[e(540)])||s[e(711)](c[e(540)]))continue;if((t[n][e(539)]||t[n][e(548)])&&t[n-1][e(645)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(645)]||!t[n-1][e(539)]&&!t[n-1][e(548)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(490)]==o[e(490)],h=Math[e(678)](r[e(490)])<Math[e(678)](o[e(490)])&&0==o[e(598)];(l||h)&&(i[e(591)](o.id,r.id),t[e(739)](a,1),n--,r[e(539)]=!1)}for(let s=0;s<t[e(564)];s++)i[e(627)](t[s][e(764)])&&(t[s][e(764)]=i[e(653)](t[s][e(764)]))}[Kt(535)](t){const e=Kt,i=new Set(t[e(607)]((t=>t.id)));for(let s=0;s<t[e(564)];s++)i[e(627)](t[s][e(764)])||0==t[s][e(598)]||(t[s][e(669)]=!0);return t[e(759)]((t=>!t[e(669)]))}[Kt(677)](t){const e=Kt,i=new Set;for(let s=0;s<t[e(564)];s++){if(i[e(627)](t[s].id)&&t[s][e(645)]&&(t[s][e(669)]=!0),t[s][e(669)])continue;if(0==t[s][e(598)])continue;if(e(783)!=t[s][e(750)])continue;if(null==t[s][e(764)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(764)];)e(783)==t[n][e(750)]?r++:e(632)==t[n][e(750)]&&r--,n++;if(0!=r)if(t[s][e(645)])t[s][e(669)]=!0;else for(;n!=s;)t[n][e(645)]&&0!=t[n][e(598)]&&(t[n][e(669)]=!0,i[e(701)](t[n][e(764)])),n--}return t[e(759)]((t=>!t[e(669)]))}[Kt(566)](t){const e=Kt,i=this[e(617)][e(751)][e(487)];for(let s=0;s<t[e(564)];s++){if(!(t[s][e(539)]||t[s][e(548)]||t[s][e(645)]||t[s][e(609)]))continue;if(0==t[s][e(598)])continue;const n=t[s][e(540)];i[e(755)](n)||i[e(711)](n)||(t[s][e(539)]&&delete t[s][e(539)],t[s][e(548)]&&delete t[s][e(548)],t[s][e(609)]&&delete t[s][e(609)],t[s][e(645)]&&(t[s][e(669)]=!0))}return t[e(759)]((t=>!t[e(669)]))}[Kt(558)](t,e,i){const s=Kt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(617)][s(751)],c=a[s(487)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(564)];e++)if(s(783)===t[e][s(750)]){t[e][s(771)]=a[s(581)](n,f);const i=new H.Element(t[e][s(540)][s(655)],t[e][s(540)][s(685)]());u[0][s(461)](i),f[s(516)](0),u[s(536)](i),t[e][s(641)]=a[s(581)](n,f)}else s(632)===t[e][s(750)]?(u[s(615)](),t[e][s(771)]=a[s(581)](n,f),f[s(612)](),f[f[s(564)]-1]++,t[e][s(641)]=a[s(581)](n,f)):(t[e][s(771)]=a[s(581)](n,f),d?d[s(505)]+=t[e][s(540)][s(744)]:d=new H.Text(t[e][s(540)][s(744)],t[e][s(540)][s(685)]()),t[e+1]&&s(715)===t[e+1][s(750)]&&v(d,t[e+1][s(540)])||(u[0][s(461)](d),d=null),f[f[s(564)]-1]+=t[e][s(540)][s(698)],t[e][s(641)]=a[s(581)](n,f));for(let e=0;e<t[s(564)];e++){const i=t[e][s(771)],n=t[e][s(641)];for(const n of t[e][s(660)])o[s(591)](n,{start:i,end:null});m(s(609),e,i,n),m(s(548),e,i,n),m(s(645),e,i,n),m(s(539),e,i,n);for(const i of t[e][s(560)]){const t=o[s(653)](i);t?t[s(753)]=n:o[s(591)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(617)][s(751)][s(710)](e[s(551)],e[s(753)]);n[s(595)][s(591)](t,i)}return r[s(593)](((t,e)=>{const i=s,r=n[i(595)][i(653)](i(693)+t.id),o=n[i(595)][i(653)](i(693)+e.id);return r[i(551)][i(769)](o[i(551)])?-1:r[i(551)][i(742)](o[i(551)])?1:r[i(753)][i(769)](o[i(753)])?-1:r[i(753)][i(742)](o[i(753)])?1:i(701)===t[i(750)]?-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(459)]:null,d=i===t[o(564)]-1,f=h[e][0],m=c[o(666)](t[i][o(540)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(753)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(459)]!==u&&(l[e][o(753)]=n,f&&f[o(459)]===l[e][o(459)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(783)!==t[i][o(750)]||f&&f[o(459)]===u||h[e][o(536)]({userId:u,object:t[i][o(540)],change:l[e]}),o(632)===t[i][o(750)]&&f&&f[o(662)]===t[i][o(540)]&&(h[e][o(615)](),l[e]=f[o(572)])),l[e]&&d&&(l[e][o(753)]=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(540)],f=a[h(487)][h(755)](d)&&!a[h(487)][h(711)](d),m=t[h(521)]==o[h(722)]&&o[h(602)];if(f&&m)return;const p=a[h(710)](t,o),v=e[h(653)](u),g=new qt({author:v,type:h(539)==l||h(548)==l?h(701):h(741),data:{isSuggestion:h(548)==l||h(609)==l},createdAt:new Date,rootName:i});r[h(516)](g),n[h(595)][h(591)](h(693)+g.id,p)}function v(t,e){const i=s,n=t[i(685)](),r=e[i(685)]();for(const t of n){if(t[1]!==e[i(635)](t[0]))return!1;r[i(674)]()}return r[i(674)]()[i(636)]}}[Kt(679)](){const t=Kt;this[t(617)][t(576)][t(681)](t(643))[t(721)]({view:t(542)}),this[t(617)][t(576)][t(681)](t(601))[t(720)]({model:t(542),view:e=>{const i=t,s=e[i(517)][i(603)](":")[1],n=this[i(670)](s);if(!n)return null;const r=i(701)==n[i(750)]?i(491):i(538),o=[i(489),i(639)+r];return n[i(744)][i(537)]&&o[i(516)](i(639)+r+i(709)),this[i(478)]==n&&o[i(516)](i(500)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(617)][t(576)][t(681)](t(643))[t(701)]((e=>{const i=t;e.on(i(626),((t,e,s)=>{const n=i,r=e[n(731)][n(621)](0);if(!r||!r.is(n(622),n(594)))return;if(!s[n(475)][n(754)](r,{attributes:[n(779),n(467)]}))return;const o=e[n(692)][n(551)][n(521)];s[n(511)][n(582)](n(779),r[n(635)](n(779)),o),s[n(511)][n(582)](n(467),r[n(635)](n(467)),o)}),{priority:i(589)})})),this[t(617)][t(576)][t(681)](t(643))[t(701)]((e=>{const i=t;e.on(i(622),((t,e,s)=>{const n=i;if(!s[n(475)][n(754)](e[n(731)],{attributes:[n(779),n(467)]}))return;if(e[n(692)][n(740)])return;const r=e[n(692)][n(551)][n(521)];r[n(708)](n(779))||r[n(708)](n(571))||(s[n(511)][n(582)](n(779),e[n(731)][n(635)](n(779)),r),s[n(511)][n(582)](n(467),e[n(731)][n(635)](n(467)),r))}),{priority:i(589)})})),this[t(617)][t(576)][t(681)](t(643))[t(579)]({view:{name:t(545),attributes:{vid:!0}},model:{key:t(571),value:e=>e[t(635)](t(571))}}),this[t(617)][t(751)][t(487)].on(t(507),((e,[,i])=>{const s=t;[s(779),s(467),s(571)][s(757)](i)&&(e[s(618)]=!0,e[s(689)]())}),{priority:t(570)}),this[t(617)][t(576)][t(681)](t(610))[t(701)]((e=>{const i=t;e.on(i(713),((t,e,s)=>{const n=i;if(" "!=e[n(540)][n(744)]||e[n(540)][n(722)][n(479)]>1)return;if(!s[n(475)][n(754)](e[n(540)],t[n(655)]))return;const r=s[n(511)],o=s[n(785)][n(766)](e[n(727)]);r[n(776)](o,r[n(700)](n(545)))}))})),this[t(617)][t(576)][t(681)](t(610))[t(726)]({model:t(542)}),this[t(617)][t(648)][t(606)].on(t(747),function(e){const i=t,s=e[i(695)][i(653)](i(514));return(t,n,r)=>{const o=i,a=n[o(517)][o(603)](":")[1],c=s[o(670)](a);if(!c)return null;const u=o(701)==c[o(750)]?o(603):o(634);if(!r[o(475)][o(650)](n[o(628)],t[o(655)]))return;const l=n[o(628)][o(749)](),h=n[o(628)][o(551)],d=e[o(751)][o(487)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(540)];p=p||d[o(543)](e);const i=r[o(785)][o(556)](e);if(i&&i[o(644)](o(544)))return;o(632)==t[o(750)]&&d[o(755)](e)&&!d[o(711)](e)&&(e[o(682)]||h[o(743)]?f&&f[o(722)]==e||(f=e,g(t[o(771)]),v=!0):m=m||t[o(771)])}function g(t){const e=o,i=r[e(511)][e(508)](e(545),{class:e(639)+u}),a=r[e(785)][e(470)](t);c[e(744)][e(537)]&&r[e(511)][e(578)](e(639)+u+e(709),i),s[e(478)]==c&&r[e(511)][e(578)](e(500),i),r[e(511)][e(696)](a,i),r[e(785)][e(732)](i,n[e(517)])}p||v||!m||g(m)}}(this[t(617)]),{priority:t(584)}),this[t(617)][t(648)][t(606)].on(t(599),((e,i,s)=>{const n=t,r=s[n(785)][n(775)](i[n(517)]);if(r)for(const t of r)(t[n(672)](n(580))||t[n(672)](n(553)))&&(s[n(785)][n(767)](t,i[n(517)]),s[n(511)][n(741)](t))}),{priority:t(584)}),this[t(617)][t(648)][t(606)].on(t(747),((e,i,s)=>{const n=t,r=i[n(517)][n(603)](":")[1],o=this[n(670)](r);if(!o)return null;const a=n(701)==o[n(750)]?n(603):n(634);if(s[n(475)][n(650)](i[n(628)],e[n(655)]))for(const t of i[n(628)][n(631)]()){if(!t.is(n(622),n(577)))continue;const e=s[n(511)][n(508)](n(545),{class:n(639)+a}),r=s[n(785)][n(470)](this[n(617)][n(751)][n(688)](t));o[n(744)][n(537)]&&s[n(511)][n(578)](n(639)+a+n(709),e),this[n(478)]==o&&s[n(511)][n(578)](n(500),e),s[n(511)][n(696)](r,e),s[n(785)][n(732)](e,i[n(517)])}}),{priority:t(584)}),this[t(617)][t(751)][t(620)].on(t(572),(()=>{const e=t;this[e(617)][e(648)][e(587)][e(572)]((t=>{const i=e;for(const e of this[i(617)][i(751)][i(620)][i(716)]()){const s=this[i(617)][i(751)][i(620)][i(664)](e),n=this[i(617)][i(648)][i(587)][i(620)][i(664)](e);if(n){const e=s[i(635)](i(676));if(t[i(623)](i(723),n),t[i(746)](i(567),n),t[i(746)](i(597),n),t[i(746)](i(717),n),e){const s=this[i(670)](e);if(!s)return null;t[i(582)](i(723),e,n),t[i(578)](i(705)+s[i(750)],n),this[i(478)]==s&&t[i(578)](i(717),n)}}}}))})),this[t(617)][t(576)][t(681)](t(643))[t(721)]({view:t(480),model:e=>t(730)+e,converterPriority:t(570)}),this[t(617)][t(576)][t(681)](t(643))[t(721)]({view:t(675),model:e=>t(465)+e,converterPriority:t(570)}),this[t(617)][t(576)][t(681)](t(610))[t(726)]({model:t(737),view:e=>({name:t(684)+e,group:t(737)}),converterPriority:t(570)}),this[t(617)][t(576)][t(681)](t(601))[t(720)]({model:t(737),view:e=>{const i=t,s=e[i(517)][i(603)](":")[1];return i(491)!=s&&i(538)!=s?null:{classes:[i(734),i(468)+s]}}}),this[t(617)][t(648)][t(606)].on(t(522),ie(this[t(617)],t(634)),{priority:t(584)}),this[t(617)][t(648)][t(606)].on(t(515),ie(this[t(617)],t(603)),{priority:t(584)}),this[t(617)][t(648)][t(606)].on(t(661),((e,i,s)=>{const n=t,r=s[n(785)][n(775)](i[n(517)]);if(r)for(const t of r)t.is(n(774))&&(s[n(785)][n(767)](t,i[n(517)]),s[n(511)][n(741)](t))}),{priority:t(584)})}[Kt(670)](t){const e=Kt;return this[e(485)][e(653)](t)}[Kt(497)](t){const e=Kt;return this[e(518)]&&this[e(518)][e(476)](),this[e(518)]=new zt(this[e(617)][e(647)],t),this[e(518)]}[Kt(778)](){const t=Kt;this[t(617)][t(751)][t(620)][t(529)][t(687)](t(542)),this.on(t(503),((e,i,s,n)=>{const r=t;n&&this[r(624)][r(741)](n),s&&(this[r(624)][r(701)]({view:s,stackId:r(657),position:{target:()=>{const t=r,e=this[t(617)][t(648)],i=this[t(670)](s[t(611)]);let n;if(i[t(744)][t(668)]){const s=e[t(587)][t(619)](i[t(509)]);n=Array[t(630)](s[t(481)]())}else{const i=this[t(617)][t(751)][t(595)][t(653)](t(693)+s[t(611)]);n=Array[t(630)](e[t(785)][t(775)](i[t(655)]))[t(607)]((i=>e[t(587)][t(592)][t(780)](i)))[t(607)]((e=>Array[t(630)](e[t(481)]())))[t(569)]()}return this[t(510)]&&n[t(765)]((e=>e[t(745)]-3<=this[t(510)].y&&e[t(464)]+3>=this[t(510)].y&&e[t(762)]-3<=this[t(510)].x&&e[t(502)]+3>=this[t(510)].x))||n[0]}}}),this[r(624)][r(702)](r(657)))})),this.on(t(733),((e,i,s,n)=>{const r=t;this[r(638)]=s?this[r(497)](s):null,this[r(617)][r(751)][r(572)]((()=>{const t=r,e=this[t(617)][t(648)];n&&(n[t(744)][t(668)]?e[t(587)][t(572)]((i=>{const s=t;i[s(746)](s(717),e[s(587)][s(620)][s(664)](n[s(509)]))})):e[t(524)](t(693)+n.id)),s&&(s[t(744)][t(668)]?e[t(587)][t(572)]((i=>{const n=t;i[n(578)](n(717),e[n(587)][n(620)][n(664)](s[n(509)]))})):e[t(524)](t(693)+s.id))}))})),this[t(546)](this[t(617)][t(648)][t(587)][t(620)],t(495),((e,i)=>{const s=t;if(this[s(478)])return;const n=this[s(574)](i[s(637)]),r=this[s(485)][s(653)](n);r?(this[s(510)]={x:i[s(699)].x,y:i[s(699)].y},this[s(638)]=this[s(497)](r)):(this[s(510)]=null,this[s(638)]=null)})),this[t(546)](this[t(617)][t(648)][t(587)][t(620)],t(496),((e,i)=>{const s=t,n=this[s(574)](i[s(637)]),r=this[s(485)][s(653)](n);r?(this[s(510)]={x:i[s(699)].x,y:i[s(699)].y},r===this[s(478)]?this[s(624)][s(534)]():this[s(478)]=r):(this[s(510)]=null,this[s(478)]=null)}))}[Kt(574)](t){const e=Kt;do{const i=t[e(635)](e(723));if(i)return i;t=t[e(722)]}while(t);return null}[Kt(761)](){const t=Kt;this[t(617)][t(751)][t(572)]((e=>{const i=t;for(const t of this[i(617)][i(751)][i(595)])e[i(519)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(475)][r(650)](s[r(628)],i[r(655)]))return;const o=s[r(628)][r(749)](),a=s[r(628)][r(551)],c=t[r(751)][r(487)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(540)];h=h||c[r(543)](e);const i=n[r(785)][r(556)](e);if(i&&i[r(644)](r(544)))return;r(632)==t[r(750)]&&c[r(755)](e)&&!c[r(711)](e)&&(e[r(682)]||a[r(743)]?u&&u[r(722)]==e||(u=e,f(t[r(771)]),d=!0):l=l||t[r(771)])}function f(t){const i=r,o=n[i(785)][i(470)](t),a=n[i(511)][i(508)](i(545),{class:i(468)+e});n[i(511)][i(696)](o,a),n[i(785)][i(732)](a,s[i(517)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Kt;super(t);const i=t[e(695)][e(653)](ee);this[e(686)]=!1,this[e(546)](i,e(488),(()=>this[e(703)]())),this[e(546)](i,e(728),(()=>this[e(703)]()))}[Kt(651)](){const t=Kt,e=this[t(617)],i=e[t(695)][t(653)](ee),s=i[t(694)]?i[t(590)][t(735)]:null;e[t(763)][t(653)](t(605))[t(555)](s)}[Kt(703)](){const t=Kt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(617)][t(695)][t(653)](ee),r=n&&s[t(719)](n[t(735)]);this[t(704)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Kt(541)];constructor(t,{direction:e}){const i=Kt;super(t);const s=t[i(695)][i(653)](ee);this[i(686)]=!1,this[i(541)]=i(781)===e?1:-1,this[i(546)](s,i(488),(()=>this[i(703)]())),this[i(546)](s,i(728),(()=>this[i(703)]())),this[i(546)](s,i(733),(()=>this[i(703)]()))}[Kt(651)](){const e=Kt,i=this[e(617)],s=i[e(695)][e(653)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(478)]=n?s[e(590)][e(649)][e(653)](r+this[e(541)]):s[e(590)][e(649)][e(472)],s[e(478)][e(744)][e(668)])o=i[e(648)][e(587)][e(619)](s[e(478)][e(509)]);else{const t=i[e(751)][e(595)][e(653)](e(693)+s[e(478)].id);o=(0,Z.getMarkerDomElement)(i[e(648)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Kt(703)](){const t=Kt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(617)][t(695)][t(653)](ee);this[t(704)]=!!(r&&n&&s)&&(!e||(1===this[t(541)]?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=ce();return(ae=function(t,e){return i[t-=427]})(t,e)}function ce(){const t=["ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__label","397104mjeMbC","36234LQWlED","2fnNjme","_isStatusLabelVisible","ck-revision-history-ui","Show next change","bind","isBackwardNavigationEnabled","isForwardNavigationEnabled","1599447CcltuU","bindTemplate","span","8tJmsep","ck-revision-history-ui__changes-navigation__navigation","12PoFbWc","fire","No changes","15298558Kwypnq","544305tvUwLQ","ck-hidden","91565HnQiyW","currentChangeNumber","1170WaOoiI","backward","2886pFUJfx","forward","set","setTemplate","isNavigationMode","Loading...","isEnabled","7819klNPIN","div","numberOfChanges","Show previous change","NUMBER_OF_CHANGES","EDIT_X_OF_Y_REVISIONS","execute","ck-revision-history-ui__changes-navigation__wrapper","Total","X_OF_Y_CHANGES","isReady","_statusText"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(333353===-parseInt(e(456))/1+-parseInt(e(440))/2*(parseInt(e(447))/3)+-parseInt(e(450))/4*(-parseInt(e(458))/5)+parseInt(e(462))/6*(-parseInt(e(469))/7)+parseInt(e(438))/8+parseInt(e(439))/9*(parseInt(e(460))/10)+-parseInt(e(455))/11*(-parseInt(e(452))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(448)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(464)](e(466),!1),this[e(464)](e(434),!1),this[e(464)](e(459),0),this[e(464)](e(471),0),this[e(464)](e(446),!1),this[e(464)](e(445),!1),this[e(444)](e(441)).to(this,e(434),this,e(471),((t,e)=>t&&e>0)),this[e(444)](e(435)).to(this,e(434),this,e(459),this,e(471),this,e(466),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(467));if(!n)return Q(t,o(454));const a=Q(t,o(428),n);return r?Q(t,o(433),[s+1,n]):a})),s[e(464)]({label:Q(t,e(427)),tooltip:!0,icon:mt.IconChevronUp}),n[e(464)]({label:Q(t,e(443)),tooltip:!0,icon:mt.IconChevronDown}),s[e(444)](e(468)).to(this,e(445)),n[e(444)](e(468)).to(this,e(446)),s.on(e(430),(()=>this[e(453)](e(430),e(461)))),n.on(e(430),(()=>this[e(453)](e(430),e(463)))),this[e(465)]({tag:e(470),attributes:{class:["ck",e(442),e(436)]},children:[{tag:e(449),attributes:{class:[e(431)]},children:[{tag:e(449),attributes:{class:[e(437),i.if(e(441),e(457),(t=>!t))]},children:[{text:i.to(e(466),(i=>i?Q(t,e(429))+": ":Q(t,e(432))+": "))}]},{text:i.to(e(435))}]},new pt.ToolbarSeparatorView,{tag:e(470),attributes:{class:[e(451)]},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;function de(){const t=["roots","document","1ZCKmDE","8rlQrCT","removeClass","3400271EquUWf","editing","hide","9MvbZJr","addClass","isPremiumPlugin","3592776PyVqnx","editor","4718696kQuySQ","show","ck-editor__editable__loading-overlay","change","RevisionViewerLoadingOverlay","1291827cGsECG","811810jqqPER","pluginName","696792VmrGub","view","isOfficialPlugin","14104170snPmkX"];return(de=function(){return t})()}const fe=pe;!function(t){const e=pe,i=t();for(;;)try{if(300600===parseInt(e(459))/1*(parseInt(e(453))/2)+-parseInt(e(450))/3+-parseInt(e(460))/4*(parseInt(e(451))/5)+-parseInt(e(468))/6+parseInt(e(462))/7+parseInt(e(445))/8*(-parseInt(e(465))/9)+parseInt(e(456))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const me=fe(447);function pe(t,e){const i=de();return(pe=function(t,e){return i[t-=444]})(t,e)}class ve extends U.Plugin{static get[fe(452)](){return fe(449)}static get[fe(455)](){return!0}static get[fe(467)](){return!0}[fe(446)](){const t=fe,e=this[t(444)][t(463)][t(454)];e[t(448)]((i=>{const s=t;for(const t of e[s(458)][s(457)])i[s(466)](me,t)}))}[fe(464)](){const t=fe,e=this[t(444)][t(463)][t(454)];e[t(448)]((i=>{const s=t;for(const t of e[s(458)][s(457)])i[s(461)](me,t)}))}}function ge(){const t=["listenTo","numberOfChanges","componentFactory","Back to editing","bind","isOfficialPlugin","changesNavigation","plugins","forward","5740yhXrvn","isEnabled","restoreRevision","editor","265447KQxapv","403746IzLbXs","849672RfXcxU","config","9567TVvHRG","pluginName","isBackwardNavigationEnabled","showNextChange","execute","383070JxMRUl","ck-revision-history-ui__back-to-editing","RevisionViewerUI","requires","exitToEditing","showPreviousChange","init","isNavigationMode","5106800fXCEyh","28esLWYK","change:isReady","commands","add","isReady","isPremiumPlugin","currentChangeNumber","isForwardNavigationEnabled","Restore this revision","480877BbIWDb","30XFlhJa","closeRevisionViewerCallback","set","show","get","revisionHistory","hide"];return(ge=function(){return t})()}const ye=ke;function ke(t,e){const i=ge();return(ke=function(t,e){return i[t-=178]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(906039===-parseInt(e(181))/1+parseInt(e(203))/2+parseInt(e(204))/3+parseInt(e(220))/4*(-parseInt(e(211))/5)+parseInt(e(182))/6*(parseInt(e(202))/7)+parseInt(e(219))/8+parseInt(e(206))/9*(parseInt(e(198))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class be extends U.Plugin{static get[ye(207)](){return ye(213)}static get[ye(194)](){return!0}static get[ye(225)](){return!0}static get[ye(214)](){return[ee,ve]}[ye(217)](){const t=ye,e=this[t(201)],i=e[t(196)][t(186)](ee),s=e[t(196)][t(186)](ve);e.ui[t(191)][t(223)](t(215),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(184)]({label:Q(i,s(192)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(212)}),this[s(189)](n,s(210),(()=>{const t=s;e[t(205)][t(186)](t(187))[t(183)]()})),n})),e.ui[t(191)][t(223)](t(200),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(184)]({label:Q(i,s(180)),withText:!0,tooltip:!0}),n[s(193)](s(199)).to(e[s(222)][s(186)](s(200))),this[s(189)](n,s(210),(()=>e[s(210)](s(200)))),n})),e.ui[t(191)][t(223)](t(195),(s=>{const n=t,r=new ue(s),o=e[n(222)][n(186)](n(216)),a=e[n(222)][n(186)](n(209));return r[n(193)](n(208)).to(o,n(199)),r[n(193)](n(179)).to(a,n(199)),r[n(193)](n(224),n(178),n(190),n(218)).to(i),this[n(189)](r,n(210),((t,i)=>{const s=n;e[s(210)](s(197)===i?s(209):s(216))})),r})),s[t(185)](),i.on(t(221),((e,i,n)=>{const r=t;n?s[r(188)]():s[r(185)]()}))}}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-=353]})(t,e)}function Oe(){const t=["3511827PUGqYy","clientWidth","ck-tooltip_multi-line","59762OovPYM","Enter the revision name","18926860cUkmlm","1722mfuRse","value","render","5224140kchEfu","18702ZImytb","_updateTooltipText","extendTemplate","4086896PjWWYo","16kNfbvg","element","listenTo","_tooltipString","fieldView","span","873LoVaVI","ck-revision-history-sidebar__revision-name","scrollWidth","Revision name","set","input","destroy","94672MGcacm","_resizeObserver","bindTemplate","placeholder"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(691403===-parseInt(e(367))/1*(parseInt(e(356))/2)+parseInt(e(353))/3+parseInt(e(366))/4+-parseInt(e(362))/5+-parseInt(e(363))/6*(-parseInt(e(359))/7)+parseInt(e(380))/8*(parseInt(e(373))/9)+-parseInt(e(358))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(381)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(382)];this[i(377)]({label:Q(t,i(376)),_tooltipString:""}),this[i(371)][i(383)]=Q(t,i(357)),this[i(365)]({tag:i(372),attributes:{class:[i(374)],"data-cke-tooltip-text":s.to(i(370)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(355)}})}[Ie(361)](){const e=Ie;super[e(361)](),this[e(381)]=new t.ResizeObserver(this[e(371)][e(368)],(()=>this[e(364)]())),this[e(369)](this[e(371)],e(378),(()=>this[e(364)]()))}[Ie(379)](){const t=Ie;super[t(379)](),this[t(381)]&&this[t(381)][t(379)]()}[Ie(364)](){const t=Ie,e=this[t(371)][t(368)];this[t(370)]=e[t(375)]>e[t(354)]&&e[t(360)]||""}}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(t,e){const i=Ae();return(Re=function(t,e){return i[t-=211]})(t,e)}function Ae(){const t=["60buFBSq","setTemplate","11XvdoRK","name","601750cyDUsS","1762MtGrBe","1184029baHZjn","ck-revision-history-sidebar__revision-author__name","set","ck-revision-history-sidebar__revision-author","3895800UvMsfi","span","16UzZFpW","84nkOXFp","5465IULBZr","11155800gecifp","Revision author","9SvLsmx","ck-revision-history-sidebar__revision-author_creator","Revision creator","0 0 11 10","push","307880vodymM"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(346712===parseInt(e(227))/1+parseInt(e(233))/2*(parseInt(e(218))/3)+parseInt(e(228))/4*(parseInt(e(219))/5)+parseInt(e(215))/6+-parseInt(e(211))/7*(-parseInt(e(217))/8)+parseInt(e(222))/9*(-parseInt(e(232))/10)+parseInt(e(230))/11*(-parseInt(e(220))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class De extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(213)]({content:mt.IconUser,viewBox:s(225)});const r=["ck",s(214)];i&&r[s(226)](s(223));const o=[{tag:s(216),attributes:{class:["ck",s(212)],title:Q(t,s(i?224:221))},children:[n,e[s(231)]]}];this[s(229)]({tag:"li",attributes:{class:r},children:o})}}function Ve(t,e){var i=Ee();return(Ve=function(t,e){return i[t-=498]})(t,e)}function Ee(){var t=["744988IYimic","numeric","9173760cLfRhO","long","50XPFncw","13050060fDLuTi","1047483cEqHfg","22LDAVlX","65866BUuaBH","15SitdcN","12doEkfO","2996945hhEvZx","toLocaleTimeString","3oqALjE","4117825aQEMfv","toLocaleDateString"];return(Ee=function(){return t})()}!function(t){for(var e=Ve,i=t();;)try{if(902046===parseInt(e(505))/1*(-parseInt(e(500))/2)+parseInt(e(501))/3*(parseInt(e(508))/4)+parseInt(e(506))/5+-parseInt(e(502))/6*(-parseInt(e(503))/7)+parseInt(e(510))/8+parseInt(e(498))/9*(-parseInt(e(512))/10)+-parseInt(e(499))/11*(parseInt(e(513))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=500]})(t,e)}function Le(){const t=["change:isActionsDropdownOpen","22640fDSRSk","first","bindTemplate","bind","name","isEnabled","isOpen","9pZWdEk","stopPropagation","items","action","children","11PeJzyC","find","Restore this revision","ck-on","function","class","_action","Show more items","menu","set","buttonView","2977923WYgiWp","panelPosition","execute","967631PYbzDw","Name this revision","441eVxywj","add","8gWEUbj","menuitem","Compare against selected","source","button","listenTo","1323276yEuXbG","listView","locale","3DaxxOB","15KWamxP","extendTemplate","isActionsDropdownOpen","isReady","394644ESiVWD","83036ZCntkP","isVisible","model","42830xoKtpX","ck-revision-history-sidebar__revision__actions","map"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(107673===parseInt(e(519))/1*(parseInt(e(508))/2)+parseInt(e(551))/3*(parseInt(e(505))/4)+-parseInt(e(500))/5*(parseInt(e(504))/6)+-parseInt(e(538))/7*(parseInt(e(542))/8)+-parseInt(e(540))/9*(-parseInt(e(512))/10)+-parseInt(e(524))/11*(parseInt(e(548))/12)+parseInt(e(535))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var Pe=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=It(),je.insert=wt().bind(null,"head"),je.domAPI=kt(),je.insertStyleElement=Ot();gt()(Pe.A,je);Pe.A&&Pe.A.locals&&Pe.A.locals;const We=Ue;function ze(){const t=["isEnabled","bindTemplate","select","ck-revision-history-sidebar__revision_highlighted","220","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","revisionActionsView","fire",".ck-thread__remove-confirm","isActionsDropdownOpen","span","deselect","898byBeHb","ck-revision-history-sidebar__revision-wrapper","fieldView","isConfirm","listenTo","bind","77bUfspL","set","63jsgdws","authors","ck-disabled","setTemplate","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","from","map","628040VCdCcw","ck-revision-history-sidebar__revision-authors","createdAt","12FIKxPm","ck-reset","isHighlighted","ck-revision-history-sidebar__revision","337aPaSzZ","value","207zozcuj","9306946oxbNFJ","865235yJJJuK","isSelected","change","439368agcJvt","ck-revision-history-sidebar__revision__date","name","creator","render","length","srcElement","setName","extendTemplate","ck-revision-history-sidebar__revision__controls-wrapper","_revision","unshift","ck-revision-history-sidebar__revision_selected","uiLanguage","_requireRevisionName","2804952JqFZsI","element","highlight","div","unhighlight","isReady","30484CcGEts","_createdAtFormatted","filter","closest"];return(ze=function(){return t})()}function Ue(t,e){const i=ze();return(Ue=function(t,e){return i[t-=428]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(417996===-parseInt(e(468))/1*(parseInt(e(446))/2)+-parseInt(e(470))/3*(-parseInt(e(429))/4)+parseInt(e(472))/5+-parseInt(e(475))/6*(-parseInt(e(452))/7)+parseInt(e(490))/8+-parseInt(e(454))/9*(parseInt(e(461))/10)+parseInt(e(471))/11*(-parseInt(e(464))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[We(438)];[We(440)];[We(485)];[We(489)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(434)],a=function(t,e){const i=r,s=Array[i(459)](e[i(455)])[i(431)]((t=>t!=e[i(478)]));return e[i(478)]&&s[i(486)](e[i(478)]),s[i(460)]((s=>new De(t,s,s==e[i(478)])))}(e,i);this.id=i.id,this[r(485)]=i,this[r(489)]=n,this[r(451)](r(477),r(463)).to(i),this[r(451)](r(430)).to(this,r(463),(t=>{return i=e[r(488)],(s=t)[(n=Ve)(507)](i,{month:n(511),day:n(509)})+", "+s[n(504)](i,{hour:n(509),minute:n(509)});var i,s,n})),this[r(453)](r(473),!1),this[r(453)](r(466),!1),this[r(453)](r(443),!1),this[r(453)](r(428),!1),this[r(453)](r(433),!1),this[r(438)]=new Te(e,pt.createLabeledInputText),this[r(438)][r(448)][r(483)]({attributes:{maxlength:r(437)}}),this[r(438)][r(448)][r(451)](r(469)).to(this,r(477),(t=>t||this[r(430)])),this[r(438)][r(451)](r(433)).to(this,r(473),this,r(433),((t,e)=>t&&e)),this[r(440)]=s&&s[r(480)]?function(e,i){const s=Fe,n=e[s(514)],r=e[s(550)],o=(0,pt.createDropdown)(r);o[s(536)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(550)],n={"Compare against selected":Q(s,i(544)),"Name this revision":Q(s,i(539)),"Restore this revision":Q(s,i(526))};return e[i(510)]((t=>{const e=i,s=n[t[e(516)]];return s&&s!==t[e(516)]&&(t[e(516)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(546),model:new pt.ViewModel({label:t[n(516)],class:t[n(529)],withText:!0,role:n(543),_action:t[n(522)]})};i[n(507)][n(515)](n(517)).to(e,n(502),(i=>n(528)!=typeof t[n(517)]||!i||t[n(517)](e))),o[n(541)](i)}return o}(e,i);return e[s(515)](s(502)).to(o,s(518)),o[s(534)][s(533)]({label:Q(r,s(531)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(501)]({attributes:{class:[s(509),n.if(s(502),s(527))]},on:{click:n.to((t=>t[s(520)]()))}}),o.on(s(537),(t=>{const i=s;e[i(503)]&&i(528)==typeof t[i(545)][i(530)]&&t[i(545)][i(530)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(532)}),o[s(547)](e,s(511),((t,n,r)=>{const a=s;if(r)for(const t of o[a(549)][a(521)]){const s=t[a(523)][a(513)],n=i[a(525)]((t=>t[a(522)]===s[a(530)]))[a(506)];t[a(506)]=void 0===n||n(e)}})),o}(this,s):"",this[r(440)]&&this[r(440)][r(451)](r(433)).to(this),this[r(457)]({tag:r(493),attributes:{class:["ck",r(465),r(447),o.if(r(449),r(458))]},children:[{tag:r(493),attributes:{class:["ck",r(465),r(467),o.if(r(433),r(456),(t=>!t)),o.if(r(473),r(487)),o.if(r(466),r(436)),o.if(r(443),r(439))]},children:[this[r(438)],{tag:r(444),attributes:{class:["ck",r(476)]},children:[{text:o.to(r(430))}]},{tag:r(493),attributes:{class:["ck",r(484)]},children:[{tag:"ul",attributes:{class:["ck",r(462)]},children:a}]},this[r(440)]],on:{click:o.to((t=>{const e=r;t[e(481)][e(432)](e(442))||this[e(428)]&&this[e(433)]&&this[e(441)](e(435),{id:this.id})}))}}]})}[We(479)](){const t=We;super[t(479)]();const e=this[t(438)][t(448)][t(491)];this[t(450)](e,t(474),(()=>{const i=t;this[i(489)]&&!e[i(469)]||this[i(441)](i(482),{id:this.id,name:e[i(469)]}),e[i(469)]||(e[i(469)]=this[i(477)]?this[i(477)]:this[i(430)])}))}[We(435)](){this[We(473)]=!0}[We(445)](){this[We(473)]=!1}[We(492)](){this[We(466)]=!0}[We(494)](){this[We(466)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Xe extends He{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",ti="long",ei={year:Ke,month:Ke,day:Ke},ii={year:Ke,month:Qe,day:Ke},si={year:Ke,month:Qe,day:Ke,weekday:Qe},ni={year:Ke,month:ti,day:Ke},ri={year:Ke,month:ti,day:Ke,weekday:ti},oi={hour:Ke,minute:Ke},ai={hour:Ke,minute:Ke,second:Ke},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,second:Ke,timeZoneName:ti},li={hour:Ke,minute:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:ti},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},pi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},gi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},yi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},ki={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},bi={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},wi={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,timeZoneName:ti},_i={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,second:Ke,timeZoneName:ti};class Ii{get type(){throw new Xe}get name(){throw new Xe}get ianaName(){return this.name}get isUniversal(){throw new Xe}offsetName(t,e){throw new Xe}formatOffset(t,e){throw new Xe}offset(t){throw new Xe}equals(t){throw new Xe}get isValid(){throw new Xe}}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 Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const 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 Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=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,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Di={};function Vi(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.DateTimeFormat(t,e),Di[i]=s),s}let Ei={};let Mi={};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 Pi{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 Ds(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&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 Wi{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=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||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,Di={},Ei={},Mi={}}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 Li(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=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 Pi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new Wi(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):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 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${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 qi 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 qi(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 Xi({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 Ki,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 Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Ui.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,Ps(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 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 Ds(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 Ms(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 Ps(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 js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(t+1,e,i);return(Ls(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 qs(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)]=qs(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}${Ds(i,2)}:${Ds(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ds(i,2)}${Ds(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"],Xs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Xs];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 Ds(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 Ks(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:Ms(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 Dn(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(Ms(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:Gs.indexOf(i)+1,day:Vs(s),hour:Vs(n),minute:Vs(r)};return o&&(a.second=Vs(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(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$/,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$/,Pn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const zn=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),qn=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),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Xn=fn(In),Kn=mn(Tn,xn,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||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 Ge("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 Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Dn])}(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]=qs(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||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(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])=>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=Xi(e),s=Xi(e,"{2}"),n=Xi(e,"{3}"),r=Xi(e,"{4}"),o=Xi(e,"{6}"),a=Xi(e,"{1,2}"),c=Xi(e,"{1,3}"),u=Xi(e,"{1,6}"),l=Xi(e,"{1,9}"),h=Xi(e,"{2,4}"),d=Xi(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=Ms(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",Dr=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 Mr(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 Pr(t,e,i){return Fr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ps(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=js(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Wr(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(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+=Ds(t.c.year,i?6:4),e?(s+="-",s+=Ds(t.c.month),s+="-",s+=Ds(t.c.day)):(s+=Ds(t.c.month),s+=Ds(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Ds(t.c.hour);return e?(o+=":",o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ds(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ds(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ds(Math.trunc(-t.o/60)),o+=":",o+=Ds(Math.trunc(-t.o%60))):(o+="+",o+=Ds(Math.trunc(t.o/60)),o+=":",o+=Ds(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},qr={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 Xr(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 Br)_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]=Pr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Kr(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: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=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||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]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Xr({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=Hi.utcInstance,Xr({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<-Dr||t>Dr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.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:Ui.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(Vr(i));const s=Ui.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=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,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,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]=Pr(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,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return Wr(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),[Mn,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,jn],[Ln,jn],[Pn,Wn])}(t);return Wr(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=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):Wr(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,qn],[Xn,Kn])}(t);return Wr(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 qe(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?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(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=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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 Ps(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(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]=Pr(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,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(Ps(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Pr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,jr(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 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":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():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),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(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 xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("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 Ge("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 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):Wr(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=ro();return(no=function(t,e){return i[t-=208]})(t,e)}function ro(){const t=["14721008eTBBup","42626440qVcVkT","day","4JClmZj","16123707qZNKkD","startOf","hasSame","monthLong","setLocale","local","weekdayLong","toRelativeCalendar","minus","799914SpaUxJ","month","week","toJSDate","168PiSGbX","fromJSDate","958260hhRnQV","year","5348YbIyJX","4430901ENVpXF","7OtCGIN"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(218)](t)[i(208)](e),n=io[i(209)](),r=n[i(212)]({days:1})[i(229)](i(226));let o,a;return s[i(230)](n,i(226))?(o=s[i(229)](i(226))[i(216)](),a=s[i(211)]()):s[i(230)](r,i(226))?(o=r[i(216)](),a=s[i(211)]()):s[i(230)](n,i(215))?(o=s[i(229)](i(215))[i(216)](),a=s[i(210)]||""):s[i(230)](n,i(220))?(o=s[i(229)](i(214))[i(216)](),a=s[i(231)]||""):(o=s[i(229)](i(220))[i(216)](),a=String(s[i(220)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(970233===-parseInt(e(217))/1*(-parseInt(e(221))/2)+-parseInt(e(222))/3*(-parseInt(e(227))/4)+-parseInt(e(219))/5+parseInt(e(213))/6*(-parseInt(e(223))/7)+parseInt(e(224))/8+parseInt(e(228))/9+-parseInt(e(225))/10)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=ho;function lo(){const t=["uiLanguage","createCollection","371979gIVWfW","3022332DPTrqD","376316DRzscF","remove","1098AkAGKz","div","2000660FRFUov","6BVxfUO","delegate","setTemplate","span","removeRevision","88530lKwqMW","ck-revision-history-sidebar__time-period__revisions","localizedPeriodName","addRevision","_revisionActions","locale","12060DNoMAu","find","483TWUPdV","ck-revision-history-sidebar__time-period","22UbccbS","add","ck-revision-history-sidebar__time-period__label","_requireRevisionName","select","9104xloOQw","revisionViews","40QOpwvu","setName","startDate"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=128]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(207527===-parseInt(e(158))/1+-parseInt(e(160))/2*(-parseInt(e(131))/3)+-parseInt(e(153))/4*(-parseInt(e(136))/5)+parseInt(e(142))/6*(-parseInt(e(144))/7)+parseInt(e(151))/8*(-parseInt(e(128))/9)+-parseInt(e(130))/10+-parseInt(e(146))/11*(-parseInt(e(159))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(155)];[uo(152)];[uo(140)];[uo(149)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(141)][n(156)])[n(138)];this[n(155)]=e,this[n(152)]=this[n(157)](),this[n(140)]=i,this[n(149)]=s,this[n(152)][n(132)](n(150)).to(this),this[n(152)][n(132)](n(154)).to(this),this[n(133)]({tag:n(129),attributes:{class:["ck",n(145)]},children:[{tag:n(134),attributes:{class:["ck",n(148)]},children:[{text:r}]},{tag:n(129),attributes:{class:["ck",n(137)]},children:this[n(152)]}]})}[uo(139)](t){const e=uo,i=new Ze(this[e(141)],t,this[e(140)],this[e(149)]);this[e(152)][e(147)](i)}[uo(135)](t){const e=uo,i=this[e(152)][e(143)]((e=>e.id===t.id));this[e(152)][e(161)](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(t,e){const i=go();return(vo=function(t,e){return i[t-=455]})(t,e)}function go(){const t=["span","1909881dcoXNL","145561lbNUeQ","20222257FqlTXX","div","249473SDuFvn","100sfhTfD","2218530rAZXHi","setTemplate","Revision history","71553jlZrDe","42zyGZDX","16IZwhCf","4419910iGAuEr","ck-revision-history-sidebar__header__label","content","16pzRmRP","ck-reset_all","ck-revision-history-sidebar__header"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(597998===-parseInt(e(463))/1*(parseInt(e(473))/2)+parseInt(e(471))/3*(parseInt(e(467))/4)+parseInt(e(468))/5+-parseInt(e(472))/6*(parseInt(e(466))/7)+-parseInt(e(458))/8*(parseInt(e(462))/9)+-parseInt(e(455))/10+parseInt(e(464))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(457)]=mt.IconHistory,this[e(469)]({tag:e(465),attributes:{class:["ck",e(459),e(460)]},children:[i,{tag:e(461),attributes:{class:["ck",e(456)]},children:[Q(t,e(470))]}]})}}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=Io;function _o(){const t=["623022GwuxmD","_addRevision","createdAt","3145100ccSguO","createCollection","4Zvobpy","1517120wWsXvh","_requireRevisionName","revisionSetName","2677242gVafcz","isEnabled","8skZFwS","uiLanguage","get","8enXYUd","flat","highlightRevisions","bindTemplate","startDate","locale","fire","ck-revision-history-sidebar","setName","ck-disabled","_revisions","unhighlight","some","3292659vlOfoI","remove","removeRevision","find","_removeRevision","addRevision","set","8932rBRVsL","timePeriodViews","select","revisionSelected","revisionViews","delegate","render","div","11533210CFnZMT","getTime","add","_getTimePeriodViewByStartDate","selectRevision","ck-reset","ck-revision-history-sidebar__timeline","ck-rounded-corners","map","highlight","setTemplate","_revisionActions","deselect"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=192]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(237551===parseInt(e(236))/1*(-parseInt(e(213))/2)+parseInt(e(202))/3*(-parseInt(e(207))/4)+-parseInt(e(208))/5+parseInt(e(211))/6+-parseInt(e(205))/7+parseInt(e(216))/8*(-parseInt(e(229))/9)+parseInt(e(244))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(237)];[wo(226)];[wo(200)];[wo(209)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(219)];this[n(237)]=this[n(206)](),this[n(237)][n(241)](n(238)).to(this),this[n(237)][n(241)](n(224)).to(this),this[n(226)]=e,this[n(200)]=i,this[n(209)]=s,this.on(n(238),((t,e)=>{const i=n;this[i(222)](i(239),e)})),this.on(n(224),((t,e)=>{const i=n;this[i(222)](i(210),e)})),this[n(235)](n(212),!1),this[n(199)]({tag:n(243),attributes:{class:["ck",n(194),n(196),n(223)]},children:[new yo(t),{tag:n(243),attributes:{class:["ck",n(195),r.if(n(212),n(225),(t=>!t))]},children:this[n(237)]}]})}[wo(242)](){const t=wo;super[t(242)]();for(const e of this[t(226)])this[t(203)](e);this[t(226)].on(t(246),((e,i)=>{this[t(203)](i)})),this[t(226)].on(t(230),((e,i)=>{this[t(233)](i)}))}get[wo(240)](){const t=wo;return this[t(237)][t(197)]((e=>e[t(240)][t(197)]((t=>t))))[t(217)]()}[wo(193)](t){const e=wo;for(const i of this[e(240)])t&&t.id===i.id?i[e(238)]():i[e(201)]()}[wo(218)](t){const e=wo;for(const i of this[e(240)])t[e(228)]((({id:t})=>t===i.id))?i[e(198)]():i[e(227)]()}[wo(203)](t){const e=wo,i=oo(t[e(204)],this[e(221)][e(214)])[e(220)];let s=this[e(237)][e(215)](0);s&&s[e(220)][e(245)]()===i[e(245)]()||(s=new fo(this[e(221)],i,this[e(200)],this[e(209)]),this[e(237)][e(246)](s)),s[e(234)](t)}[wo(233)](t){const e=wo,i=oo(t[e(204)],this[e(221)][e(214)])[e(220)];this[e(192)](i)[e(231)](t)}[wo(192)](t){const e=wo;return this[e(237)][e(232)]((i=>i[e(220)][e(245)]()===t[e(245)]()))}}function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=273]})(t,e)}const To=Oo;function xo(){const t=["741967ZZVEyt","isVisible","_handleDiffChange","string","_revisionsRepository","isEnabled","name","requires","_handleEditorDataReady","getRevision","destroy","getRevisionsInDiff","_handleRevisionSetName","isReady","revisionSelected","map","compareAgainstSelected","4319XTgBGW","revisionHistory.revisionActions","ready","Restore this revision","_createRevisionActions","getEarlierVisibleRevision","_revisions","11352ALcfbx","listenTo","render","690toJBpe","remove","assign","_revisionViewer","data","diff","init","getIndex","locale","repository","pluginName","isPremiumPlugin","nameRevision","revisionHistory.viewerSidebarContainer","fieldView","revisionSetName","_handleRevisionSelected","config","restoreRevisionCallback","Compare against selected","appendChild","get","revisionHistory","52748688ARwiyA","plugins","_sidebarView","revisionViews","selectRevision","length","focus","1312rUZIPw","508fZARqu","add","isOfficialPlugin","getLaterVisibleRevision","6945110psvwRa","newRevisionId","RevisionsSidebar","highlightRevisions","setName","5364NOJzhn","availableRevisionActions","select","19310Nlwclw","6686TuMLyV","timePeriodViews","action","element","change:diff","bind","restoreRevision","compare","22RWRfQN","defaultRevisionActions","editor","isSelected","revisionHistory.requireRevisionName","Name this revision"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(721211===-parseInt(e(275))/1+-parseInt(e(346))/2*(parseInt(e(302))/3)+-parseInt(e(333))/4*(-parseInt(e(345))/5)+parseInt(e(299))/6*(-parseInt(e(292))/7)+parseInt(e(332))/8*(-parseInt(e(342))/9)+-parseInt(e(337))/10*(parseInt(e(354))/11)+parseInt(e(325))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends U.Plugin{[To(305)];[To(279)];[To(327)];static[To(355)]=[To(291),To(352),To(314)];static[To(343)]=function(){const t=To;return{compareAgainstSelected:{name:t(321),action:({plugins:e},i)=>{const s=t,n=e[s(323)](ee),r=n[s(311)];let o=n[s(307)][s(338)],a=i.id;r[s(309)](o)>r[s(309)](a)&&([o,a]=[a,o]),n[s(353)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(323)](ee);return!(n[s(311)][s(286)](n[s(307)])[s(330)]>2||i[s(357)])}},restoreRevision:{name:t(295),action:(e,{id:i})=>{const s=t;e[s(319)][s(323)](s(324))[s(320)](i)},isVisible:({plugins:e},i)=>!!e[t(323)](ee)[t(311)][t(336)](i.id)},nameRevision:{name:t(274),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(323)](ee),o=r[n(311)][n(297)](i);r[n(353)](i,o),s[n(331)](),s[n(316)][n(344)]()}}}}();static get[To(312)](){return To(339)}static get[To(335)](){return!0}static get[To(313)](){return!0}static get[To(282)](){return[ee]}constructor(t){const e=To;super(t),this[e(305)]=t[e(326)][e(323)](ee),this[e(279)]=this[e(305)][e(311)],this[e(327)]=null}[To(308)](){const t=To,e=this[t(279)][t(298)],i=this[t(296)](),s=this[t(356)][t(319)][t(323)](t(315));this[t(327)]=new So(this[t(356)][t(310)],e,i,this[t(356)][t(319)][t(323)](t(273))),this[t(327)].on(t(289),this[t(318)][t(351)](this)),this[t(327)].on(t(317),this[t(287)][t(351)](this)),this[t(327)][t(351)](t(280)).to(this[t(305)]),this[t(327)][t(347)].on(t(334),((e,i)=>{const s=t;i[s(328)].on(s(334),((t,e)=>{const i=s;e[i(351)](i(280),i(288)).to(this[i(305)])}))})),this[t(327)][t(301)](),this[t(300)](this[t(356)][t(306)],t(294),this[t(283)][t(351)](this)),this[t(300)](this[t(305)],t(350),this[t(277)][t(351)](this)),s[t(322)](this[t(327)][t(349)])}[To(285)](){const t=To;this[t(327)][t(349)][t(303)](),this[t(327)][t(285)]()}[To(283)](){const t=To,e=this[t(279)][t(284)](0);if(e){const i=this[t(279)][t(297)](e.id);this[t(305)][t(353)](e,i)}}[To(318)](t,e){const i=To,s=this[i(279)][i(284)](e.id),n=this[i(279)][i(297)](s.id);this[i(305)][i(353)](s,n)}[To(287)](t,e){const i=To;this[i(279)][i(284)](e.id)[i(341)](e[i(281)])}[To(277)](t,e,i){const s=To,n=this[s(279)][s(286)](i);n[s(330)]>2?(this[s(327)][s(340)](n),this[s(327)][s(329)](null)):(this[s(327)][s(340)]([]),this[s(327)][s(329)](n[0]))}[To(296)](){const t=To,e=this[t(356)],i=No[t(343)],s=e[t(319)][t(323)](t(293))||No[t(355)];if(s[t(330)])return s[t(290)]((s=>{const n=t,r=n(278)==typeof s?Object[n(304)]({},i[s]):s;return r[n(348)]=r[n(348)][n(351)](this,e),r[n(276)]&&(r[n(276)]=r[n(276)][n(351)](this,e)),r}))}}const Ro=No,Ao=Do;function Do(t,e){const i=Vo();return(Do=function(t,e){return i[t-=335]})(t,e)}function Vo(){const t=["140HDjkte","30796WJaQAD","bind","fillFromConfig","init","_toolbarConfig","render","7vEnKBq","componentFactory","detachDomRoot","fire","get","isActive","_initToolbar","_elementReplacer","30DugwtT","6379120oCtESs","view","name","viewportTopOffset","ready","editable","4458088oqkdLx","editor","12249MbDYlt","config","rootName","document","toolbar","stickyPanel","setEditableElement","1550187kxdXrv","limiterElement","element","881256GJXRdC","editing","isFocused","_view","getRoot","addToolbar","36653ZDttSe","focusTracker","2930NTOdoQ","destroy","restore","attachDomRoot","viewportOffset","replace"];return(Vo=function(){return t})()}!function(t){const e=Do,i=t();for(;;)try{if(340484===-parseInt(e(353))/1*(-parseInt(e(376))/2)+-parseInt(e(344))/3+-parseInt(e(362))/4*(parseInt(e(361))/5)+parseInt(e(347))/6+-parseInt(e(368))/7*(-parseInt(e(335))/8)+-parseInt(e(337))/9*(-parseInt(e(355))/10)+-parseInt(e(377))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends pt.EditorUI{[Ao(350)];[Ao(366)];[Ao(375)];get[Ao(378)](){return this[Ao(350)]}constructor(e,i){const s=Ao;super(e),this[s(350)]=i,this[s(366)]=(0,pt.normalizeToolbarConfig)(e[s(338)][s(372)](s(341))),this[s(375)]=new t.ElementReplacer}get[Ao(346)](){const t=Ao;return this[t(378)][t(346)]}[Ao(365)](t){const e=Ao,i=this[e(336)],s=this[e(378)],n=i[e(348)][e(378)],r=s[e(382)],o=n[e(340)][e(351)]();r[e(379)]=o[e(339)],s[e(367)]();const a=r[e(346)];this[e(343)](r[e(379)],a),s[e(382)][e(363)](e(349)).to(this[e(354)]),n[e(358)](a),this[e(375)][e(360)](t,this[e(346)]),this[e(374)](),this[e(371)](e(381))}[Ao(356)](){const t=Ao;super[t(356)]();const e=this[t(378)],i=this[t(336)][t(348)][t(378)];this[t(375)][t(357)](),i[t(370)](e[t(382)][t(379)]),e[t(356)]()}[Ao(374)](){const t=Ao,e=this[t(378)];e[t(342)][t(363)](t(373)).to(this[t(354)],t(349)),e[t(342)][t(345)]=e[t(346)],e[t(342)][t(363)](t(380)).to(this,t(359),(({top:t})=>t)),e[t(341)][t(364)](this[t(366)],this[t(369)]),this[t(352)](e[t(341)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;function Fo(){var t=["stickyPanel","138780dIuwQN","403840ZHJBlq","editable","856984xyweKZ","143492CENvnw","render","303230hFUwcG","top","toolbar","5173QhCSAs","content","1758yvDqwe","add","95196pkEJIx","_editable","main","shouldToolbarGroupWhenFull","9AwStXb"];return(Fo=function(){return t})()}function Lo(t,e){var i=Fo();return(Lo=function(t,e){return i[t-=425]})(t,e)}var Po=Lo;!function(t){for(var e=Lo,i=t();;)try{if(133479===-parseInt(e(440))/1+-parseInt(e(442))/2+parseInt(e(430))/3+parseInt(e(437))/4+-parseInt(e(436))/5+parseInt(e(428))/6*(parseInt(e(426))/7)+-parseInt(e(439))/8*(-parseInt(e(434))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends pt.BoxedEditorUIView{[Po(431)];[Po(435)];[Po(425)];get[Po(438)](){return this[Po(431)]}constructor(t,e,i={}){var s=Po;super(t),this[s(435)]=new pt.StickyPanelView(t),this[s(425)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(433)]}),this[s(431)]=new pt.InlineEditableUIView(t,e)}[Po(441)](){var t=Po;super[t(441)](),this[t(435)][t(427)][t(429)](this[t(425)]),this[t(443)][t(429)](this[t(435)]),this[t(432)][t(429)](this[t(438)])}}const Wo=Uo;function zo(){const t=["684HgLUSR","159632GcYFiT","7752TdvpBX","editing","524270sXPCOQ","updateSourceElement","ready","init","createRoot","view","locale","document","model","330353CgFNAr","destroy","98dHIAPu","19524GYDHsO","345FknOqY","config","46220RHeQvK","initialData","data","fire","1703328jMRbyE","initPlugins","get","_ui","sourceElement","create"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(169987===-parseInt(e(395))/1+parseInt(e(412))/2+-parseInt(e(399))/3*(-parseInt(e(413))/4)+parseInt(e(415))/5+-parseInt(e(398))/6*(parseInt(e(397))/7)+-parseInt(e(405))/8+-parseInt(e(411))/9*(-parseInt(e(401))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(408)];get ui(){return this[Wo(408)]}constructor(t,e){const i=Wo;super(e),this[i(409)]=t,this[i(394)][i(393)][i(390)]();const s=new jo(this[i(392)],this[i(414)][i(391)],{shouldToolbarGroupWhenFull:!0});this[i(408)]=new Eo(this,s)}[Wo(396)](){const t=Wo;return this[t(416)](),this.ui[t(396)](),super[t(396)]()}static async[Wo(410)](t,e){const i=Wo,s=new this(t,e);return await s[i(406)](),await s.ui[i(418)](t),await s[i(403)][i(418)](s[i(400)][i(407)](i(402))||""),s[i(404)](i(417)),s}}const Ho=$o;function qo(){const t=["PaginationLookup","revisionHistory.requireRevisionName","14TgbKOz","Restored","isReadOnly","170322ERKubf","style","revisionHistory.viewerEditorElement","remove","198964nctZZa","set","Users","markers","then","getRoot","removeAttribute","getRevision","RevisionsRepository","none","refreshVisibility","translations","RestrictedEditingMode","addUser","selection","lazyRoots","Dialog","revisionHistory.viewerContainer","name","_showRevisionViewer","isAnonymous","indexOf","error","revisionHistory.showRevisionViewerCallback","setSelection","getMarkersGroup","removeMarker","RevisionTracker","477868hhRgPD","getRevisions","requires","isPremiumPlugin","isRevisionViewerOpen","setAttribute","344QYKmRM","getRevisionDocumentData","refreshPositioning","revisionHistory.closeRevisionViewerCallback","getAttributeKeys","map","_update","has","end","display","locale","100134IFBBMR","destroy","repository","RevisionHistoryUI","disableReadOnlyMode","save","view","toLocaleTimeString","createRangeIn","createdAt","keys","plugins","_enhanceCloseRevisionViewerCallback","numeric","revision-history-viewer-opened","addRevisionData","long","changesNavigation","10jJInCz","toLocaleDateString","creator","detachRoot","getUser","block","result","toolbar","isOpen","insert","_viewerEditor","1649532VBgAGC","exitToEditing","bind","_restoreRevision","define","_recalculatePageBreaks","RevisionHistoryUtils","revisionHistory.editorContainer","40QFOIZt","users","init","hide","join","_getRevisionViewerEditorConfig","adapter","isEnabled","RevisionHistory","_closeRevisionViewer","restoreRevision","fromCharCode","roots","_cleanUp","RevisionViewerIntegration","from","461820XCNfII","uiLanguage","DocumentOutlineUI","parse","update","revision-history-missing-configuration","revisionHistory","fromVersion","document","get","RevisionViewer","commands","revisionHistory.restoreRevisionCallback","model","toJSON","create","isReady","enableReadOnlyMode","config","getRevisionRootsAttributes","addRoot","catch","Annotations","_enhanceShowRevisionViewerCallback","includes","push","showRevisionViewerCallback","loadRevisionData","isOfficialPlugin","enqueueChange","isAttached","$graveyard","pluginName","editor","element","removeSelectionAttribute","DocumentOutline","rootName","3833357RLrqoX","saveRevision","closeRevisionViewerCallback","Autosave","data","toVersion","change","restrictedEditingException"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=371]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(301645===parseInt(e(410))/1+-parseInt(e(493))/2+parseInt(e(386))/3+-parseInt(e(465))/4*(parseInt(e(394))/5)+parseInt(e(461))/6*(parseInt(e(458))/7)+-parseInt(e(499))/8*(parseInt(e(510))/9)+-parseInt(e(375))/10*(-parseInt(e(448))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(513),Ho(477)];class Yo extends U.Plugin{[Ho(381)];static get[Ho(442)](){return Ho(408)}static get[Ho(438)](){return!0}static get[Ho(496)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(504)]((t=>String[e(405)](t)))[e(398)]("")}super(t),this[e(381)]=e(507),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 U.Plugin{[Ho(385)];static get[Ho(442)](){return Ho(402)}static get[Ho(438)](){return!0}static get[Ho(496)](){return!0}static get[Ho(495)](){return[ct,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(443)][i(428)][i(419)](i(416)))throw new t.CKEditorError(i(415),this);this[i(385)]=null,this[i(466)](i(497),!1),this[i(443)][i(428)][i(390)](i(488),(t=>this[i(484)]({...t,translations:this[i(443)][i(509)][i(476)]}))),this[i(443)][i(428)][i(390)](i(502),(t=>this[i(403)](t))),this[i(443)][i(428)][i(390)](i(422),(t=>this[i(389)](t))),this[i(443)][i(428)][i(390)](i(457),!1),this[i(433)](),this[i(522)]()}set[Ho(400)](t){const e=Ho;this[e(443)][e(521)][e(419)](e(492))[e(400)]=t}get[Ho(400)](){const t=Ho;return this[t(443)][t(521)][t(419)](t(492))[t(400)]}[Ho(372)](t){const e=Ho;return this[e(443)][e(521)][e(419)](e(492))[e(372)](t)}[Ho(472)](t){const e=Ho;return this[e(443)][e(521)][e(419)](e(473))[e(472)](t)}[Ho(494)](t){const e=Ho;return this[e(443)][e(521)][e(419)](e(473))[e(494)](t||{toJSON:!1})}[Ho(399)](){const e=Ho,i=this[e(443)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(521)][e(419)](e(492)),r=i[e(521)][e(419)](e(467))[e(395)];return s[e(382)]=[e(387),e(404),e(374)],delete s[e(480)],s[e(521)][e(435)](Yo,ee,be,class extends U.Plugin{static get[e(495)](){return[ee,e(467)]}[e(396)](){const s=e,o=this[s(443)][s(521)][s(419)](s(467));for(const t of r)t[s(485)]||o[s(379)](t.id)||o[s(478)](t);const a=n[s(512)][s(494)]();let c=null;const u=this[s(443)][s(521)][s(419)](s(420));u[s(400)]=n[s(400)],u[s(388)](s(401)).to(n),this[s(443)][s(421)][s(419)](s(404))[s(388)](s(401)).to(i,s(460),(t=>!t));for(const e of a){const i=null===e[s(377)];if(i&&e[s(453)]===e[s(417)])continue;const r=e[s(424)]();u[s(372)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(505)](r,o);else if(!o){const e=a[u(424)]();e.id=(0,t.uid)(),n[u(449)](e,a[u(453)])[u(469)]((t=>{c=t}))}}else e[u(505)](r,o)}))}}},Ro),s}[Ho(433)](){const t=Ho,e=this[t(443)][t(428)][t(419)](t(416))[t(436)];this[t(443)][t(428)][t(466)](t(488),(async()=>{const i=t;this[i(443)][i(427)](i(371));const s=this[i(443)][i(521)][i(419)](i(492));if(this[i(443)][i(521)][i(506)](i(451))){const t=this[i(443)][i(521)][i(419)](i(451));await t[i(515)]()}else await s[i(414)]();if(this[i(443)][i(521)][i(506)](i(456))&&this[i(443)][i(521)][i(419)](i(456))[i(391)](),this[i(443)][i(521)][i(506)](i(481))){const t=this[i(443)][i(521)][i(419)](i(481));t[i(383)]&&t[i(397)]()}const n=this[i(399)]();return e(n)[i(469)]((t=>{const e=i;return this[e(385)]=t,this[e(443)][e(521)][e(506)](e(432))&&this[e(443)][e(521)][e(419)](e(432))[e(475)](),this[e(443)][e(521)][e(506)](e(446))&&(this[e(443)][e(521)][e(419)](e(412))[e(516)][e(444)][e(462)][e(508)]=e(474)),t}))[i(431)]((t=>(console[i(487)](t),this[i(443)][i(514)](i(371)),null)))}))}[Ho(522)](){const t=Ho,e=this[t(443)][t(428)][t(419)](t(416))[t(450)];this[t(443)][t(428)][t(466)](t(502),(()=>(this[t(443)][t(521)][t(506)](t(456))&&this[t(443)][t(521)][t(419)](t(456))[t(391)](),this[t(443)][t(521)][t(506)](t(446))&&(this[t(443)][t(521)][t(419)](t(412))[t(516)][t(444)][t(462)][t(508)]=""),this[t(385)][t(521)][t(419)](t(420))[t(407)](),e(this[t(385)])[t(469)]((()=>{const e=t;if(this[e(443)][e(514)](e(371)),this[e(385)]=null,this[e(443)][e(521)][e(506)](e(432))){const t=this[e(443)][e(521)][e(419)](e(432));t[e(475)](),t[e(501)]()}})))))}[Ho(484)](t){const e=Ho,i=this[e(443)][e(428)][e(419)](e(393)),s=this[e(443)][e(428)][e(419)](e(482)),n=this[e(443)][e(428)][e(419)](e(463));return Zo[e(425)](n,t)[e(469)]((t=>(s[e(462)][e(508)]=e(380),i[e(462)][e(508)]=e(474),this[e(497)]=!0,t)))}[Ho(403)](t){const e=Ho,i=this[e(443)][e(428)][e(419)](e(393));return this[e(443)][e(428)][e(419)](e(482))[e(462)][e(508)]=e(474),i[e(462)][e(508)]="",this[e(497)]=!1,t[e(511)]()}async[Ho(389)](t){const e=Ho,i=this[e(443)],s=this[e(385)][e(521)][e(419)](e(420)),n=i[e(521)][e(419)](e(492)),r=i[e(521)][e(419)](e(392)),o=s[e(512)][e(472)](t);let a,c,u;try{await r[e(437)](o,this[e(400)]),a=r[e(500)](o),c=r[e(429)](o)}catch(t){return void console[e(487)](t)}i[e(423)][e(454)]((t=>{const s=e;for(const e of Array[s(409)](i[s(423)][s(468)][s(490)](s(455))))t[s(491)](e)})),s[e(426)]=!1,i[e(423)][e(439)]((t=>{const s=e;t[s(489)](null),t[s(445)](i[s(423)][s(418)][s(479)][s(503)]());const n=Object[s(520)](a);for(const e of i[s(423)][s(418)][s(406)])s(441)!=e[s(447)]&&e[s(440)]()&&!n[s(434)](e[s(447)])&&t[s(378)](e);for(const e of n){let n=i[s(423)][s(418)][s(470)](e);n&&n[s(440)]()||(n=t[s(430)](e));const r=c[e],o=Object[s(520)](r),u=a[e];for(const e of n[s(503)]())o[s(434)](e)||t[s(471)](e,n);for(const i of o)t[s(498)](i,c[e][i],n);t[s(464)](t[s(518)](n)),t[s(384)](i[s(452)][s(413)](u,n),n,0)}}));const l=Q(i[e(509)],e(459));return u=o[e(483)]?-1==o[e(483)][e(486)](l)?l+": "+o[e(483)]:o[e(483)]:l+": "+o[e(519)][e(376)](i[e(509)][e(411)],{month:e(373),day:e(523)})+", "+o[e(519)][e(517)](i[e(509)][e(411)],{hour:e(523),minute:e(523)}),await n[e(449)]({name:u}),s[e(426)]=!0,i[e(428)][e(419)](e(416))[e(450)]()}}function Go(t,e){var i=Xo();return(Go=function(t,e){return i[t-=325]})(t,e)}function Xo(){var t=["33929MvXfGe","4915qYphhW","1225755hSxTph","360435RSHaRf","980lkPzck","30dfbRfV","121569QqOVHj","1716792WSglMv","573696pdsiZX"];return(Xo=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(151230===-parseInt(e(330))/1+parseInt(e(332))/2+parseInt(e(327))/3+parseInt(e(328))/4*(parseInt(e(325))/5)+parseInt(e(329))/6*(-parseInt(e(333))/7)+-parseInt(e(331))/8+-parseInt(e(326))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo)})(),(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:()=>U,RevisionHistory:()=>Go,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Wo,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]",T="[object Float32Array]",O="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;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 T:case O:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const M=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function 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 j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=111]})(t,e)}function z(){const t=["name","151348fsUYRN","15mxAJJj","creatorId","1568763txihcP","createdAt","fire","creator","set","2773896TfmkbX","toVersion","setAttribute","2249605RChwBr","103202RFRqlx","_update","toJSON","attributes","9697504oISvRg","setName","authors","removeAttribute","authorsIds","diffData","model","map","6817860DJGUCs","fromVersion"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(585811===-parseInt(e(129))/1+-parseInt(e(114))/2*(parseInt(e(130))/3)+parseInt(e(137))/4+parseInt(e(113))/5+-parseInt(e(126))/6+-parseInt(e(132))/7+parseInt(e(118))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class U extends((0,t.ObservableMixin)()){id;[L(135)];[L(120)];[L(123)];[L(111)];[L(127)];[L(124)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(135)]=e[i(135)]||null,this[i(120)]=e[i(120)]||[],this[i(123)]=e[i(123)]||null,this[i(111)]=e[i(111)]||0,this[i(127)]=e[i(127)]||0,this[i(136)](i(128),e[i(128)]||""),this[i(136)](i(133),e[i(133)]||new Date),this[i(136)](i(117),e[i(117)]||{})}[L(119)](t){this[L(115)]({name:t})}[L(112)](t,e){const i=L,s=A(this[i(117)]);(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]=V(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(115)]({attributes:s})}[L(121)](t){const e=L,i=A(this[e(117)]);(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]&&E(e))return j(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(115)]({attributes:i})}[L(115)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(128),i(133),i(123),i(120),i(117),i(111),i(127),i(131)];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(120)]&&(n[i(122)]=n[i(120)][i(125)]((t=>t.id)),delete n[i(120)]),this[i(134)](i(115),n,e))}[L(116)](){const t=L;return{id:this.id,name:this[t(128)],creatorId:this[t(135)]?this[t(135)].id:null,authorsIds:this[t(120)][t(125)]((t=>t.id)),diffData:this[t(123)],createdAt:this[t(133)],attributes:this[t(117)],fromVersion:this[t(127)],toVersion:this[t(111)]}}}var W=i(782),Z=i(211),H=i(783);const q=B;function $(){const t=["4457496AGTbnv","createdAt","50OczNMv","1187307wJETYg","getIndex","9048anTOvh","getRevision","newRevisionId","2428860kBuste","map","authorsIds","isNaN","getEarlierVisibleRevision","plugins","earlier","data","279178nqMzFx","_revisions","reverse","getLaterVisibleRevision","toVersion","href","createRevision","get","11261627hGMPwy","length","getUser","toJSON","12PPYTXV","addRevision","requires","pluginName","7itcqWP","diffData","push","join","isOfficialPlugin","add","1194yzlgXe","editor","fromCharCode","oldRevisionId","getRevisions","fromVersion","RevisionsRepository","getRevisionsIterator","15003ZsyMkS","creatorId","attributes","isPremiumPlugin","Users","name","afterInit","from","7SGvjQX","later","3448QptLHz","getRevisionsInDiff"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=373]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(759958===parseInt(e(380))/1*(-parseInt(e(400))/2)+parseInt(e(422))/3*(parseInt(e(389))/4)+parseInt(e(392))/5+parseInt(e(384))/6*(parseInt(e(416))/7)+-parseInt(e(382))/8*(parseInt(e(430))/9)+parseInt(e(386))/10*(-parseInt(e(387))/11)+parseInt(e(412))/12*(parseInt(e(408))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends W.Plugin{[q(401)];static get[q(414)](){return[Z.Users]}static get[q(415)](){return q(428)}static get[q(420)](){return!0}static get[q(375)](){return!0}get[q(409)](){const t=q;return this[t(401)][t(409)]}constructor(e){const i=q;super(e),this[i(401)]=new t.Collection}[q(378)](){!async function(e){const i=k([81,67,73,83,89,53,106,108,69,90,100,84,104,103,82,50,121,75,72,99,78,55,97,77,74,115,79,48,71,87,119,122,101,110,98,49,68,56,66,76,112,107,80,51,109,120,52,105,114,118,113,88,86,116,85,111,57,117,102,70,65,54]),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(395)](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([81]);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(393)]((t=>String[e(424)](t)))[e(419)]("")}!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:1746489600;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(405)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(406)](t){const e=q,i=this[e(423)][e(397)][e(407)](e(376));return new U({id:t.id,name:t[e(377)],creator:t[e(373)]?i[e(410)](t[e(373)]):null,diffData:t[e(417)]||t[e(399)],authors:t[e(394)][e(393)]((t=>i[e(410)](t))),createdAt:new Date(t[e(385)]),attributes:t[e(374)],fromVersion:t[e(427)],toVersion:t[e(404)]})}[q(413)](t,e=0){const i=q;this[i(401)][i(421)](t,e)}[q(390)](t){const e=q;return this[e(401)][e(407)](t)}[q(426)](t={toJSON:!1}){const e=q,i=Array[e(379)](this[e(401)]);return i[e(402)](),t[e(411)]?i[e(393)]((t=>t[e(411)]())):i}[q(388)](t){const e=q;return this[e(401)][e(388)](t)}[q(396)](t){const e=q,[,i]=this[e(429)](t,{direction:e(398)});return i}[q(403)](t){const e=q,[,i]=this[e(429)](t,{direction:e(381)});return i}[q(383)](t){const e=q,i=[];for(const s of this[e(429)](t[e(391)]))if(i[e(418)](s),s.id===t[e(425)])break;return i}*[q(429)](t,{direction:e=q(398),filter:i=()=>!0}={}){const s=q,n=s(398)===e?1:-1;let r=this[s(401)][s(407)](t),o=this[s(388)](r);for(yield r;r;){if(o+=n,r=this[s(390)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=K();return(J=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=J,i=t();for(;;)try{if(746620===-parseInt(e(532))/1*(parseInt(e(521))/2)+-parseInt(e(550))/3*(-parseInt(e(518))/4)+-parseInt(e(519))/5+parseInt(e(535))/6+parseInt(e(562))/7+-parseInt(e(564))/8+parseInt(e(528))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends W.Plugin{static get[G(509)](){return G(540)}static get[G(512)](){return!0}static get[G(526)](){return!0}[G(525)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(547)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(538)](t,e){const i=G;if(t[i(548)]||!e)return;const s=this[i(505)][i(527)][i(561)](i(551)),n=await e[i(520)]({channelId:s,revisionId:t.id});t[i(548)]=n[i(548)]}[G(553)](t){const e=G,i={};for(const s in t[e(548)]){if(t[e(548)][s][e(523)]&&!t[e(548)][s][e(523)][e(543)])continue;const n=this[e(514)](JSON[e(545)](t[e(548)][s][e(539)])),r=this[e(505)][e(555)][e(554)][e(501)],o=new H.ViewDocumentFragment(r,n[e(524)]((t=>this[e(569)](t,!1))));this[e(505)][e(537)][e(497)][e(560)](e(499)),i[s]=this[e(505)][e(537)][e(497)][e(503)](o),this[e(505)][e(537)][e(497)][e(560)](e(546))}return i}[G(506)](t){const e=G,i={};for(const s in t[e(548)])t[e(548)][s][e(523)]&&!t[e(548)][s][e(523)][e(543)]||(i[s]=t[e(548)][s][e(559)]||{});return i}[G(541)](t){const e=G;return this[e(525)][e(561)](t[e(565)])}[G(569)](t,e){const i=G,s=this[i(505)][i(555)][i(554)][i(501)];if(i(531)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(530)]||"r"==t[i(530)]?[]:t[i(529)][i(524)]((t=>this[i(569)](t,e)));const o=this[i(547)][i(561)](t[i(530)])||H.ViewElement,a=this[i(505)][i(537)][i(542)][i(556)];if(n=new o(s,t[i(552)],t[i(567)],r),"u"==t[i(530)]&&t[i(529)][0]){const r=t[i(529)][0];if(n[i(549)]=function(t){const e=i,s=t[e(513)](e(544));return s[e(570)]=r,s[e(516)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(557)](n);const e=Array[i(500)](a[i(508)](t,{bind:!1})),r=a[i(533)][i(513)](i(544));r[i(510)](...e),n=Array[i(500)](a[i(566)](r))[0]}}else if("r"==t[i(530)]&&t[i(529)][0]){const r=t[i(529)][0];if(n[i(549)]=function(t){t[i(570)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(557)](n);const e=Array[i(500)](a[i(508)](t,{bind:!1})),r=a[i(533)][i(513)](i(544));r[i(510)](...e);const o=Array[i(500)](a[i(566)](r));o[i(511)]>1?n[i(557)](o):n=o[0]}}if(t[i(563)])for(const[e,s]of t[i(563)])n[i(558)](e,s);const c=void 0===t[i(507)]?null:t[i(507)];return null!==c&&(n[i(504)]=()=>c),n}}[G(498)](t){const e=G,i=JSON[e(545)](t),s=this[e(505)][e(555)][e(554)][e(501)],n=new H.ViewDocumentFragment(s,i[e(524)]((t=>this[e(569)](t,!0))));return this[e(505)][e(537)][e(534)](n)}[G(514)](t){const e=G;return(t=t[e(517)]((t=>!t[e(552)]||e(536)!==t[e(552)]&&e(568)!==t[e(552)])))[e(515)]((t=>{const i=e;i(531)!=typeof t&&(t[i(529)]=this[i(514)](t[i(529)]),t[i(567)]=t[i(567)][i(517)]((t=>!t[0][i(522)](i(502)))))})),t}}function K(){const t=["toData","getFillerOffset","editor","getRevisionRootsAttributes","fillerOffset","viewChildrenToDom","pluginName","append","length","isOfficialPlugin","createElement","_removeRevisionMarkers","forEach","childNodes","filter","104ASIlMo","2280035ckIXZB","getRevision","258618AsmRbI","startsWith","attachChange","map","_viewClassToTypeChar","isPremiumPlugin","config","11669724XkBTiH","children","type","string","2lfspII","domDocument","toModel","6132084YObVEW","revision-start","data","loadRevisionData","insertions","RevisionHistoryUtils","_getTypeCharForViewElement","htmlProcessor","isAttached","div","parse","default","_typeCharToViewClass","diffData","render","7683NGfaqx","collaboration.channelId","name","getRevisionDocumentData","view","editing","domConverter","_appendChild","_setCustomProperty","attributesAfter","useFillerType","get","808318HnJAQl","customProperties","8315720qQtJkC","constructor","domChildrenToView","attributes","revision-end","_getViewFromDiffObj","innerHTML","processor","_makeModelFromViewString","marked","from","document","data-revision-"];return(K=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,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),D=s.get(i);if(null!=V&&null!=D)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 T:case O:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!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=at;function ot(){const t=["$text","setRevisionData","revisionHistoryLicenseKeyEvaluationLimit","get","getAttribute","_makeIdsRoot","sourcePosition","_isAttached","_diffRootsAttributes","_markChanges","390QxESaY","revisionHistoryLicenseKeyTrialLimit","insertion","_applyOperations","addRevision","_getViewJson","_handleMarkerOperation","markers","50VNpfMn","_copyMarkers","size","for","baseVersion","remove","_baseRootsAttributes","_prepareViewToSave","domainLimit","saveRevision","64361divWek","affectsData","document","afterInit","createdAt","keepParagraph","finally","_isInit","elementEnd","_removeMetaData","_reset","root","_revisionDataBuilder","end","isEnabled","17616siLEbY","getUser","type","_insertChild","oldRange","_loadState","_getVidAttributeName","_bufferedUpdates","invalid","define","insert","isOfficialPlugin","getWalker","getRevisions","text","_handleSplitOperation","_authorId","_handleMergeOperation","_fixPosition","getOperations","getIndex","toVersion","_calculateMetaData","createRevision","_removePendingAction","version","history","tableCell","_replaceEditorDataWithRevisionData","_startingRevisionId","revisionHistoryLicenseKeyDomainLimit","locale","_update","isPremiumPlugin","elementStart","_savedMetaData","isReady","_makeModelFromViewString","RevisionTracker","revisionHistoryLicenseKeyExpired","update","some","RevisionHistory","push","4328qjBIOw","domDocument","setSource","nodeAfter","getOperation","parent","attachChange","stringify","getAttributes","1440qzlEaL","createPositionAfter","_touchedMarkers","fromEntries","ready","targetPosition","init","requires","RevisionHistoryUtils","filter","loadRevisionData","attributesBefore","element","length","set","getRevisionDocumentData","_getBaseVids","createRangeIn","dataToMarker","getLatestVersion","_getState","name","_diffRoots","toView","_createFromRanges","fromVersion","adapter","_saveMetaData","_source","getRevision","usageLimit","domConverter","_pendingAction","_appendChild","shift","config","destroy","slice","max","howMany","deletions","documentFragment","nodes","createElement","dataDowncast","rootName","bind","sendBufferedUpdates","_utils","revision:","editor","item","vid_start","229705sVCpXg","data","_lastTo","createPositionFromPath","addRevisionData","_findInsertionIndex","removeRootAttribute","getData","_baseIdsRoots","Initial revision","getTransformedByOperation","getRoot","createRange","initial","expired","userId","revisionHistoryLicenseKeyNotAllowed","_handleRootAttributeOperation","resolve","2135852yZfznr","offsetSize","creator","_lastFrom","_clone","getCustomProperties","_processRootBeforeSave","5mupBAB","13097ZPETxc","_operations","revisionHistory.resumeUnsavedRevision","getCurrentRevisionId","addRoot","getAncestors","move","values","delete","_getTypeCharForViewElement","getFillerOffset","_setConversion","_addPendingAction","then","_getFromVersion","hasContent","createPositionAt","5575728FStVwm","authorsIds","has","_touched","_execute","upcast","repository","startsWith","getRange","render","_transformMarkers","PENDING_ACTION_REVISION_HISTORY","_continueCurrentRevision","_markers","licenseKey","splitPosition","loadState","isAttached","revisionHistoryLicenseKeyValid","96eDRRIZ","isAdd","getChildren","evaluationLimit","_licenseKeyCheckInterval","includes","map","childCount","RevisionsRepository","NEGATIVE_INFINITY","collaboration.channelId","find","_handleRootOperation","_makeRevision","plugins","getRootNames","htmlProcessor","roots","offset","insertions","trialLimit","vid_end","$graveyard","editor-initial-data-replaced-with-revision-data","uiElement","revision","_showLicenseError","start","rawElement","sort","graveyardPosition","_loadedStateData","string","range","_createCurrentRevision","getNodeByPath","previousPosition","rootsAttributes","clone","revisionHistoryLicenseKeyInvalid","add","_touchedRoots","addRootAttribute","children","_cloneOperation","deletion","vid","marker","paragraph","model","updateRevisions","createPositionBefore","innerHTML","changeRootAttribute","clear","initialData","authors","newValue","_revisionId","merge","isEqual","_createInitialRevision","attributesAfter","key","_fixRange","pluginName","from","_idsRoots","revisionHistoryLicenseKeyUsageLimit","_handleOperation","markerToData","reInit","reinsert","_setAttribute","Empty document","PendingActions","customProperties","_generateTape","detachRoot","_initialRevisionId","$comment","_startingVersion","stickiness","_bufferUpdate","_handleInsertOperation","creatorId","_baseRoots","getRevisionRootsAttributes","getMovedRangeStart","keys","featureNotAllowed","_handleMoveOperation","insertionPosition","conversion","Users","getChild","reverse","RealTimeCollaborationClient","position","buildRevisionData","newRange","split","_fixOperation","source","_isPendingUpdate","path","fillerOffset","getTime","trim","currentRevision","diffData","_getPreviousFrom","outerHTML"];return(ot=function(){return t})()}function at(t,e){const i=ot();return(at=function(t,e){return i[t-=495]})(t,e)}!function(t){const e=at,i=t();for(;;)try{if(369343===parseInt(e(532))/1+parseInt(e(795))/2*(-parseInt(e(718))/3)+parseInt(e(551))/4*(parseInt(e(558))/5)+-parseInt(e(595))/6*(parseInt(e(559))/7)+parseInt(e(751))/8*(parseInt(e(804))/9)+-parseInt(e(726))/10*(-parseInt(e(736))/11)+-parseInt(e(576))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class ct extends W.Plugin{[rt(590)];[rt(599)];[rt(704)]=null;[rt(582)];[rt(505)]=null;[rt(748)];[rt(507)];[rt(674)];[rt(758)];[rt(527)];[rt(511)];[rt(588)];[rt(676)];[rt(626)];static get[rt(660)](){return rt(789)}static get[rt(762)](){return!0}static get[rt(784)](){return!0}static get[rt(811)](){return[Z.Users,Y,X,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(582)]=this[i(529)][i(609)][i(711)](i(603)),this[i(527)]=this[i(529)][i(609)][i(711)](i(812)),this[i(748)]=new ut(this[i(529)]),this[i(674)]=this[i(529)][i(514)][i(711)](i(605))||i(545),this[i(758)]=new Map,this[i(626)]=null;const s=(0,t.uid)();this[i(507)]={history:this[i(529)][i(644)][i(738)][i(777)],getLatestVersion:()=>Promise[i(550)](this[i(529)][i(644)][i(738)][i(776)]),getCurrentRevisionId:()=>s},this[i(818)](i(787),!1),this[i(818)](i(750),!0),this[i(818)](i(699),!1),this[i(529)][i(514)][i(760)](i(561),!0),this[i(529)][i(688)][i(729)](i(581))[i(497)]({view:i(620)})}[rt(810)](){const t=rt;this[t(570)](),this[t(529)][t(533)].on(t(808),(()=>{const e=t,i=this[e(582)][e(508)](0),s=i&&null===i[e(553)]?i:null;if(this[e(588)]=!!s&&this[e(529)][e(514)][e(711)](e(561)),this[e(529)][e(609)][e(578)](e(692))){const t=this[e(507)][e(562)](),n=this[e(582)][e(508)](t);if(n)this[e(676)]=n[e(504)],this[e(588)]=!1;else{const t=this[e(507)][e(777)][e(560)][e(606)]((t=>!t[e(743)])),n=t?t[e(730)]:this[e(507)][e(777)][e(776)];i?(i[e(772)]<n&&i[e(783)]({toVersion:n}),this[e(588)]?(this[e(507)][e(562)]=()=>s.id,this[e(676)]=s[e(504)]):(this[e(676)]=i[e(772)],this[e(588)]=!1)):(this[e(676)]=n,this[e(588)]=!1)}}else s&&(this[e(529)][e(644)][e(738)][e(777)][e(776)]=Math[e(517)](s[e(772)],this[e(529)][e(644)][e(738)][e(777)][e(776)]),s[e(504)]===s[e(772)]?(0!==s[e(504)]&&(this[e(507)][e(562)]=()=>s.id),this[e(588)]=!1):this[e(588)]&&(this[e(507)][e(562)]=()=>s.id,this[e(676)]=s[e(504)])),this[e(588)]||(this[e(676)]=this[e(529)][e(644)][e(738)][e(776)]);this[e(748)][e(810)](this[e(507)][e(777)]),this[e(656)](this[e(676)]),this[e(629)](this[e(676)]),this[e(505)]&&this[e(526)]()})),this[t(525)](t(787)).to(this,t(699),(t=>!t)),this[t(590)]=this[t(529)][t(514)][t(711)](t(590));const e=this[t(529)];this[t(599)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(594)==r||i(634)==r||i(790)==r||i(781)==r||i(548)==r||i(710)==r||i(719)==r||i(663)==r){delete e[n],s=r,clearInterval(this[i(599)]),this[i(599)]=void 0;break}}i(634)==s&&e[i(621)](i(759)),i(790)==s&&e[i(621)](i(546)),i(781)==s&&e[i(621)](i(734)),i(548)==s&&e[i(621)](i(685),i(793)),i(710)==s&&e[i(621)](i(598)),i(719)==s&&e[i(621)](i(615)),i(663)==s&&e[i(621)](i(509))}),1e3)}async[rt(739)](){const t=rt;if(this[t(582)][t(817)]>0){const e=this[t(582)][t(508)](0),i=await this[t(819)](e),s=await this[t(682)](e);this[t(779)](i,s)}}[rt(515)](){const t=rt;super[t(515)](),this[t(599)]&&clearInterval(this[t(599)])}[rt(797)](t){this[rt(507)]=t}async[rt(791)](){const t=rt,e=await this[t(507)][t(498)]();if(e>this[t(704)][t(772)]){await this[t(756)]();const i=this[t(694)]({revision:this[t(704)],to:e});i[t(651)]=i[t(577)][t(601)]((e=>this[t(529)][t(609)][t(711)](t(689))[t(752)](e))),this[t(704)][t(783)](i)}}async[rt(735)](e={},i=null){const s=rt,n=[];await this[s(756)](),this[s(588)]=!1,i>this[s(704)][s(772)]&&(i=null),null===i&&(i=await this[s(507)][s(498)]());const r=this[s(573)](i),o=this[s(694)]({from:r,to:i});if(this[s(704)][s(772)]<i){const t=this[s(694)]({revision:this[s(704)],from:i,to:i});t[s(651)]=[],t[s(577)]=[],t.id=this[s(704)].id,this[s(704)][s(783)](t,!0),delete t[s(651)],n[s(794)](t)}e[s(680)]=this[s(529)][s(609)][s(711)](s(689)).me.id,e[s(500)]=e[s(500)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(536)](e);n[s(794)](e);const c=this[s(582)][s(771)](a);if(0!==c){const t=this[s(582)][s(508)](c-1);if(t[s(504)]!==i){const r=this[s(748)][s(539)](i,t[s(772)]),o={id:t.id,diffData:r[s(705)],authorsIds:r[s(577)],authors:r[s(577)][s(601)]((t=>this[s(529)][s(609)][s(711)](s(689))[s(752)](t))),fromVersion:i};t===this[s(704)]&&(o[s(740)]=new Date(e[s(740)][s(702)]()+10)),t[s(783)](o,!0),delete o[s(651)],n[s(794)](o)}}if(this[s(505)]){for(const t of n)this[s(678)](t.id,t,!0);this[s(526)]()}return a}[rt(536)](t){const e=rt,i=this[e(582)][e(774)](t);return this[e(505)]&&i.on(e(783),((t,i,s)=>{const n=e;s||(this[n(678)](i.id,i,!0),this[n(526)]())})),this[e(582)][e(722)](i,this[e(537)](i)),i}async[rt(819)](t){const e=rt;return await this[e(527)][e(814)](t,this[e(505)]),this[e(527)][e(819)](t)}async[rt(682)](t){const e=rt;return await this[e(527)][e(814)](t,this[e(505)]),this[e(527)][e(682)](t)}[rt(526)](){const t=rt;if(0===this[t(758)][t(728)])return;if(this[t(699)])return;let e=Array[t(661)](this[t(758)][t(566)]());this[t(758)][t(649)]();for(let i=0;i<e[t(817)];i++){const s=e[i];let n=!1;for(const e of Object[t(684)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(813)]((t=>null!==t)),!e[t(817)])return;for(let i=0;i<e[t(817)];i++){const s=e[i];void 0!==s[t(504)]&&void 0===s[t(772)]&&(s[t(772)]=this[t(582)][t(508)](s.id)[t(772)]),void 0!==s[t(772)]&&void 0===s[t(504)]&&(s[t(504)]=this[t(582)][t(508)](s.id)[t(504)])}const i=this[t(529)][t(514)][t(711)](t(605));this[t(699)]=!0,this[t(571)](),this[t(505)][t(645)](e,i)[t(742)]((()=>{this[t(699)]=!1}))[t(572)]((e=>{const i=t;if(e)for(const t of e)this[i(709)]({id:t.id,createdAt:t[i(740)]});this[i(775)](),this[i(526)]()}))}[rt(694)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(504)],i=null!==i?i:t[s(772)];const n=this[s(748)][s(539)](e,i),r={diffData:n[s(705)],authorsIds:n[s(577)],fromVersion:e,toVersion:i};if(!t||i!==t[s(772)]){const t=i-1,e=this[s(507)][s(777)][s(799)](t);r[s(740)]=e&&e[s(740)]||new Date}if(this[s(626)]&&e===this[s(626)][s(504)])for(const t of this[s(626)][s(651)])r[s(577)][s(600)](t.id)||r[s(577)][s(794)](t.id);return r}[rt(678)](t,e,i){const s=rt;if(this[s(758)][s(578)](t)){const n=this[s(758)][s(711)](t);e=i?{...n,...e}:{...e,...n}}this[s(758)][s(818)](t,e)}[rt(709)](t){const e=rt,i=this[e(582)][e(508)](t.id);if(t[e(740)]&&(t[e(740)]=new Date(t[e(740)])),t[e(577)]){const i=this[e(529)][e(609)][e(711)](e(689));t[e(651)]=t[e(577)][e(601)]((t=>i[e(752)](t)))}i[e(783)](t,!0)}[rt(656)](t){const e=rt,i=this[e(582)][e(508)](this[e(582)][e(817)]-1);if(i)this[e(674)]=i.id;else{const i=!this[e(529)][e(644)][e(738)][e(612)][e(606)]((t=>this[e(529)][e(644)][e(574)](t))),s=this[e(529)][e(609)][e(711)](e(689)).me.id,n=Q(this[e(529)][e(782)],e(i?669:541));this[e(608)]({from:t,to:t,id:this[e(674)],name:n,creatorId:s})}}[rt(629)](t){const e=rt,i=this[e(507)][e(562)]();this[e(704)]=this[e(582)][e(508)](i),this[e(704)]||(this[e(704)]=this[e(608)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(756)](){const t=rt;this[t(588)]&&!this[t(626)]&&(await this[t(527)][t(814)](this[t(704)],this[t(505)]),this[t(748)][t(592)](this[t(704)]),this[t(626)]={fromVersion:this[t(704)][t(504)],authors:this[t(704)][t(651)][t(516)]()})}[rt(779)](e,i){const s=rt;let n=this[s(529)][s(514)][s(711)](s(650)),r=this[s(529)][s(514)][s(711)](s(632));if(void 0===n){n={};for(const t of this[s(529)][s(644)][s(738)][s(610)]())n[t]=""}if(s(627)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(529)][s(644)][s(738)][s(610)]())r[t]={}}let o=!1;const a=Object[s(684)](n),c=Object[s(684)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(703)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(684)](r[t])[s(817)]>0){o=!0;break}}o||(o=c[s(792)]((t=>!this[s(529)][s(644)][s(738)][s(543)](t)))),o&&(0,t.logWarning)(s(618),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(529)][s(514)][s(818)](s(650),e),this[s(529)][s(514)][s(818)](s(632),i)}[rt(571)](){const t=rt;if(!this[t(511)]){const e=this[t(529)][t(609)][t(711)](t(670));this[t(511)]=e[t(635)](Q(this[t(529)][t(782)],t(587)))}}[rt(775)](){const t=rt;this[t(511)]&&(this[t(529)][t(609)][t(711)](t(670))[t(731)](this[t(511)]),this[t(511)]=null)}[rt(537)](t){const e=rt,i=this[e(582)][e(764)]();i[e(691)]();let s=0;for(;s<i[e(817)];){const n=i[s];if(n===this[e(704)]){s++;continue}if(n.id===this[e(674)])break;const r=t[e(772)]-n[e(772)]||t[e(504)]-n[e(504)];if(r>0)break;if(r<0)s++;else{if(!t[e(553)]&&n[e(553)])break;if(n[e(553)]||!t[e(553)]){if(t[e(740)]>n[e(740)])break;s++}else s++}}return s}[rt(573)](t){const e=rt,i=this[e(582)][e(764)]();i[e(691)](),i[e(513)]();const s=i[e(606)]((i=>i[e(772)]<=t))[e(772)];return s<this[e(676)]?this[e(676)]:s}[rt(608)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(694)]({from:e,to:i});o[r(500)]=t,o[r(680)]=s,o.id=n;const a=this[r(536)](o);return this[r(505)]&&this[r(678)](o.id,o,!0),a}[rt(570)](){const t=rt;this[t(529)][t(688)][t(729)](t(523))[t(665)]({model:t(620)})}}class ut{[rt(529)];[rt(698)];[rt(786)];[rt(554)];[rt(534)];[rt(589)];[rt(501)];[rt(716)];[rt(681)];[rt(732)];[rt(662)];[rt(540)];[rt(579)];[rt(806)];[rt(636)];[rt(653)];[rt(780)];constructor(t){const e=rt;this[e(529)]=t,this[e(786)]=new Map,this[e(554)]=-1,this[e(534)]=-1,this[e(589)]=new Map,this[e(501)]=new Map,this[e(716)]=new Map,this[e(681)]=new Map,this[e(732)]=new Map,this[e(662)]=new Map,this[e(540)]=new Map,this[e(579)]=new Map,this[e(806)]=new Map,this[e(636)]=new Map,this[e(653)]=1}[rt(810)](t){const e=rt;this[e(698)]=t;const i=new Map,s=new Map,n=this[e(529)][e(644)][e(738)][e(612)][e(601)]((t=>t[e(524)]));for(const t of n){const n=this[e(529)][e(644)][e(738)][e(543)](t),r=lt(n);i[e(818)](t,r),s[e(818)](t,Object[e(807)](n[e(803)]()))}const r=Array[e(661)](this[e(529)][e(644)][e(725)])[e(601)]((t=>[t[e(500)],t[e(584)]()])),o=this[e(698)][e(776)];this[e(506)](o,i,r,s),this[e(780)]=this[e(653)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(818)](t,i),c[e(818)](t,{})}this[e(506)](Number[e(604)],a,[],c)}[rt(539)](t,e){const i=rt;if(this[i(554)]===t&&this[i(534)]<=e)this[i(786)][i(728)]>1&&this[i(745)](this[i(534)]),this[i(721)](this[i(534)],e,!0);else{if(!this[i(786)][i(578)](t)){const e=this[i(706)](t);this[i(773)](e,t,!1)}this[i(773)](t,e,!0)}return this[i(554)]=t,this[i(534)]=e,this[i(499)]()}[rt(592)](t){const e=rt,i=this[e(529)][e(609)][e(711)](e(812));this[e(746)](),this[e(554)]=t[e(504)],this[e(534)]=t[e(772)];for(const s in t[e(705)]){const n=t[e(705)][s][e(801)],r=A(t[e(705)][s][e(815)])||{},o=i[e(788)](t[e(705)][s][e(519)]);o[e(524)]=s,o[e(715)]=!n||!n[e(593)],o[e(593)]=()=>o[e(715)],this[e(681)][e(818)](s,o),this[e(732)][e(818)](s,r),n&&this[e(636)][e(818)](s,n);const a=this[e(713)](o);this[e(540)][e(818)](s,a);for(const[t,i]of o[e(725)]){if(!t[e(583)](e(528)))continue;const s=t[e(696)](":")[2];for(const t of i[e(763)]({singleCharacters:!0})){const i=this[e(757)](t),n=e(744)==t[e(753)]?t[e(631)][e(700)][e(516)](0,-1):t[e(631)][e(700)],r=a[e(630)](n)[e(712)](i);this[e(579)][e(818)](r,{userId:s})}}}this[e(780)]=this[e(653)];const s=[...Array(this[e(653)])[e(684)]()][e(516)](1)[e(813)]((t=>!this[e(579)][e(578)](t)));let n=0;const r=new Map;for(const o in t[e(705)]){const a=t[e(705)][o][e(801)],c=A(t[e(705)][o][e(657)])||{},u=i[e(788)](t[e(705)][o][e(614)]);u[e(524)]=o,u[e(715)]=!a||a[e(593)],u[e(593)]=()=>u[e(715)],this[e(501)][e(818)](o,u),this[e(716)][e(818)](o,c);const l=this[e(713)](u,Number[e(604)]);this[e(662)][e(818)](o,l),r[e(818)](o,u[e(593)]()?c:{});for(const[t,i]of u[e(725)]){if(!t[e(583)](e(528)))continue;const s=t[e(696)](":")[2];for(const t of i[e(763)]({singleCharacters:!0})){const i=this[e(757)](t),n=this[e(653)]++,r=e(744)==t[e(753)]?t[e(631)][e(700)][e(516)](0,-1):t[e(631)][e(700)];l[e(630)](r)[e(668)](i,n),this[e(579)][e(818)](n,{userId:s})}}for(const t of this[e(529)][e(644)][e(496)](u)[e(763)]({singleCharacters:!0})){const i=this[e(757)](t),r=e(744)==t[e(753)]?t[e(631)][e(700)][e(516)](0,-1):t[e(631)][e(700)],o=l[e(630)](r);o[e(712)](i)>0||o[e(668)](i,s[n++])}for(const[t,i]of u[e(725)])t[e(583)](e(528))||this[e(589)][e(818)](t,i)}const o=ht(e(617));this[e(681)][e(818)](e(617),o),this[e(540)][e(818)](e(617),this[e(713)](o,1));const a=ht(e(617));this[e(501)][e(818)](e(617),a),this[e(662)][e(818)](e(617),this[e(713)](a,1));const c=Array[e(661)](this[e(501)])[e(601)]((([t,e])=>[t,lt(e)]));this[e(506)](this[e(534)],c,this[e(589)],r)}[rt(666)](){const t=rt;this[t(746)](),this[t(554)]=-1,this[t(534)]=-1,this[t(786)][t(649)](),this[t(810)](this[t(698)])}[rt(506)](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(818)](t,{start:e[n(622)][n(633)](),end:e[n(749)][n(633)](),rootName:e[n(747)][n(524)]});this[n(786)][n(818)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(745)](t){const e=rt;this[e(786)][e(567)](t)}[rt(746)](){const t=rt;this[t(579)][t(649)](),this[t(806)][t(649)](),this[t(636)][t(649)](),this[t(501)][t(649)](),this[t(716)][t(649)](),this[t(681)][t(649)](),this[t(732)][t(649)](),this[t(662)][t(649)](),this[t(540)][t(649)](),this[t(589)][t(649)](),this[t(653)]=1,this[t(780)]=this[t(653)]}[rt(713)](t,e=null){const i=rt;let s=null;t.is(i(520))||(s=new H.Element(t[i(500)],{vid_start:null===e?this[i(653)]++:e++}));const n=[];for(const s of t[i(597)]())if(s.is(i(816))){n[i(794)](this[i(713)](s,e));const t=n[n[i(817)]-1];null!==e&&(e=t.is(i(816),i(708))?t[i(712)](i(641))+1:t[i(712)](i(616))+1)}else for(let t=0;t<s[i(552)];t++)n[i(794)](new H.Element(i(708),{vid:null===e?this[i(653)]++:e++}));if(t.is(i(520))){const e=ht(t[i(524)]);return e[i(754)](0,n),e}return s[i(668)](i(616),null===e?this[i(653)]++:e++),s[i(754)](0,n),s}[rt(773)](t,e,i){const s=rt;this[s(746)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(786)][s(711)](t);this[s(681)]=new Map(n),this[s(732)]=new Map(A(o));for(const[t,e]of this[s(681)])if(s(617)!==t&&(this[s(501)][s(818)](t,lt(e)),this[s(716)]=new Map(A(o)),i)){const i=this[s(653)];this[s(662)][s(818)](t,this[s(713)](e)),this[s(540)][s(818)](t,this[s(713)](e,i))}this[s(780)]=this[s(653)],this[s(501)][s(818)](s(617),lt(this[s(681)][s(711)](s(617)))),i&&this[s(662)][s(818)](s(617),this[s(713)](this[s(681)][s(711)](s(617))));for(const[t,e]of r){const i=this[s(681)][s(711)](e[s(524)]),n=this[s(501)][s(711)](e[s(524)]),r=new H.Range(this[s(769)](e[s(622)],i),this[s(769)](e[s(749)],i)),o=this[s(659)](r,n);i[s(725)][s(818)](t,r),this[s(589)][s(818)](t,o)}this[s(721)](t,e,i)}[rt(721)](t,e,i){const s=rt;for(const n of this[s(698)][s(770)](t,e))this[s(664)](n,i);for(const t of this[s(501)][s(566)]())t[s(725)][s(649)]();for(const[t,e]of this[s(589)])this[s(501)][s(711)](e[s(747)][s(524)])[s(725)][s(818)](t,e[s(633)]());const n=new Map,r=new Map;for(const[t,e]of this[s(501)])n[s(818)](t,lt(e)),r[s(818)](t,this[s(716)][s(711)](t));this[s(506)](e,n,this[s(589)],r)}[rt(706)](t){const e=rt,i=Array[e(661)](this[e(786)][e(684)]());i[e(624)](((t,e)=>t-e)),i[e(691)]();for(const e of i)if(e<t)return e;return Number[e(604)]}[rt(727)](t,e){const i=rt,s=Array[i(661)](e[i(725)])[i(601)]((([e,s])=>[e,this[i(659)](s,t)]));t[i(725)]=new Map(s)}[rt(586)](t){const e=rt;for(const i of this[e(589)][e(566)]()){const s=i[e(542)](t),n=H.Range[e(503)](s);i[e(622)]=n[e(622)],i[e(749)]=n[e(749)]}}[rt(664)](t,e){const i=rt;if(i(563)!=t[i(753)]&&i(673)!=t[i(753)]){if(i(761)==t[i(753)]){const s=t[i(693)][i(747)][i(524)];this[i(501)][i(578)](s)||(this[i(501)][i(818)](s,ht(s,!0)),this[i(716)][i(818)](s,{}),e&&this[i(662)][i(818)](s,ht(s,!0)))}else{if(i(637)==t[i(753)]||i(538)==t[i(753)]||i(648)==t[i(753)])return void this[i(549)](t);i(642)==t[i(753)]&&this[i(724)](t)}if(i(642)!==t[i(753)]){const e=this[i(639)](t,this[i(501)]);e[i(580)](),this[i(586)](e)}if(e)switch(t[i(753)]){case i(761):this[i(679)](t);break;case i(565):case i(731):case i(667):this[i(686)](t);break;case i(654):this[i(768)](t);break;case i(696):this[i(766)](t)}}else this[i(607)](t,e)}[rt(639)](t,e){const i=rt,s=t[i(633)]();return s[i(767)]=t[i(767)],this[i(697)](s,e),s}[rt(495)](t){const e=rt;return t[e(601)]((t=>{const i=e,s=this[i(757)](t);return Number(t[i(530)][i(712)](s))}))}[rt(672)](t,e){const i=rt;if(t.is(i(816),i(708)))e[i(794)]({item:t,type:i(765)});else{t.is(i(816))&&e[i(794)]({item:t,type:i(785)});for(const s of t[i(597)]())this[i(672)](s,e);t.is(i(816))&&e[i(794)]({item:t,type:i(744)})}return e}[rt(499)](){const t=rt,e=new Map(this[t(579)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(681)][t(684)](),...this[t(501)][t(684)]()]);a[t(567)](t(617));for(const e of a){const i=this[t(501)][t(711)](e)||ht(e,!1),s=this[t(681)][t(711)](e)||ht(e,!1);i[t(593)]()||s[t(593)]()?(n[t(614)][e]=lt(i),n[t(519)][e]=lt(s),this[t(727)](n[t(519)][e],s),this[t(727)](n[t(614)][e],i),r[t(614)][e]=this[t(672)](this[t(662)][t(711)](e),[]),r[t(519)][e]=this[t(672)](this[t(540)][t(711)](e)||ht(e,!1),[])):a[t(567)](e)}for(const n of a){const o=r[t(614)][n];for(const n of o){const r=this[t(757)](n),o=n[t(530)][t(712)](r);i[t(567)](o),o>=this[t(780)]&&s[t(818)](o,e[t(711)](o))}}for(const n of a){const a=r[t(614)][n],c=this[t(495)](r[t(519)][n]);let u=0;for(const n of a){const r=this[t(757)](n),a=n[t(530)][t(712)](r);if(!s[t(578)](a)&&!o[t(578)](a))if(i[t(578)](a))u++;else{if(a!=c[u]){const s=e[t(711)](a)||e[t(711)](c[u]);for(;a!=c[u];)i[t(578)](c[u])||(o[t(818)](c[u],s),e[t(818)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(614)][e];for(const e of n){const n=this[t(757)](e),r=e[t(530)][t(712)](n);if(o[t(578)](r)){const e=o[t(711)](r);i[t(578)](r)||i[t(818)](r,{...e}),s[t(818)](r,{...e})}}}for(const e of i[t(684)]())e>=this[t(780)]&&i[t(567)](e);const c=new Map;for(const e of a){let n=r[t(614)][e];for(const e of n)if(e[t(530)].is(t(816),t(778))){const i=this[t(757)](e),n=e[t(530)][t(712)](i);if(s[t(578)](n)){const i=e[t(530)][t(800)][t(800)][t(712)](t(531)),r=c[t(711)](i)||new Set;r[t(635)](s[t(711)](n)[t(547)]),c[t(818)](i,r)}}n=r[t(519)][e];for(const e of n)if(e[t(530)].is(t(816),t(778))){const s=this[t(757)](e),n=e[t(530)][t(712)](s);if(i[t(578)](n)){const s=e[t(530)][t(800)][t(800)][t(712)](t(531)),r=c[t(711)](s)||new Set;r[t(635)](i[t(711)](n)[t(547)]),c[t(818)](s,r)}}for(const e of c[t(684)]())(s[t(578)](e)||i[t(578)](e))&&c[t(567)](e)}for(const e of a){const n=r[t(614)][e];let o=null,a=null;for(const e of n){const n=this[t(757)](e),r=e[t(530)][t(712)](n),u=c[t(711)](r);u&&t(785)==e[t(753)]&&(o=Array[t(661)](u)[0],a=e[t(530)][t(712)](t(616))),o&&(i[t(818)](r,{userId:o}),s[t(818)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(519)][e],a=n[t(614)][e];for(const{userId:e}of this[t(806)][t(566)]())null!==e&&l[t(635)](e);for(const{userId:e}of this[t(636)][t(566)]())null!==e&&l[t(635)](e);this[t(717)](a,r[t(614)][e],s,t(720),l),this[t(717)](o,r[t(519)][e],i,t(640),l),u[e]={insertions:this[t(733)](a),deletions:this[t(733)](o),attachChange:this[t(636)][t(711)](e)||null,attributesBefore:A(this[t(732)][t(711)](e))||{},attributesAfter:A(this[t(716)][t(711)](e))}}return{diffData:u,authorsIds:Array[t(661)](l)}}[rt(557)](t){const e=rt;for(const[,i]of t[e(725)]){const t=i[e(622)][e(564)]()[e(813)]((t=>e(778)==t[e(500)]));for(const i of t)1==i[e(602)]&&i[e(690)](0).is(e(816),e(643))&&i[e(690)](0)[e(668)](e(741),!0)}}[rt(733)](t){const e=rt;this[e(557)](t);const i=this[e(529)][e(533)][e(502)](t,{}),s=Array[e(661)](i[e(597)]())[e(601)]((t=>this[e(723)](t)));return JSON[e(802)](s)}[rt(723)](t){const e=rt;if(t.is(e(708)))return t[e(533)];{const i=this[e(529)][e(609)][e(711)](e(812)),s=t,n=this[e(529)][e(533)][e(611)][e(510)],r={type:i[e(568)](s),name:s[e(500)],attributes:Array[e(661)](s[e(803)]()),children:Array[e(661)](s[e(597)]())[e(601)]((t=>this[e(723)](t)))};if(t.is(e(619))&&e(675)!=t[e(500)]){const i=t[e(585)](n[e(796)],n);r[e(638)][e(794)](i[e(707)])}else if(t.is(e(623))){const i=n[e(796)][e(522)](s[e(500)]);t[e(585)](i,n),r[e(638)][e(794)](i[e(647)])}const o=Array[e(661)](s[e(556)]());o[e(817)]>0&&(r[e(671)]=o);const a=s[e(569)]();return null!==a&&(r[e(701)]=a),r}}[rt(717)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(529)][r(644)];for(let s=0;s<e[r(817)];s++){const n=this[r(757)](e[s]),c=e[s][r(530)][r(712)](n),h=i[r(711)](c),d=s==e[r(817)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(547)]!=o[r(547)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(547)],d=l(528)+s+":"+h+":"+c++,f=u[l(544)](i,a);t[l(725)][l(818)](d,f),null!==h&&n[l(635)](h)}}[rt(757)](t){const e=rt;switch(t[e(753)]){case e(785):return e(531);case e(744):return e(616);default:return e(641)}}[rt(697)](t,e){const i=rt;t[i(730)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(711)](n[i(747)][i(524)]);t[s]=this[i(769)](n,r)}if(n instanceof H.Range){const r=e[i(711)](n[i(747)][i(524)]);t[s]=this[i(659)](n,r)}i(747)===s&&(t[i(747)]=e[i(711)](t[i(747)][i(524)]))}}[rt(659)](t,e){const i=rt;return this[i(529)][i(644)][i(544)](this[i(769)](t[i(622)],e),this[i(769)](t[i(749)],e))}[rt(769)](t,e){const i=rt;return this[i(529)][i(644)][i(535)](e,t[i(700)],t[i(677)])}[rt(679)](t){const e=rt,i=this[e(662)][e(711)](t[e(693)][e(747)][e(524)]),s=this[e(769)](t[e(693)],i),n=null===t[e(767)]?null:t[e(767)]||this[e(529)][e(609)][e(711)](e(689)).me.id,r=s[e(800)],o=this[e(653)],a=[];for(const i of t[e(521)])if(i.is(e(816)))a[e(794)](this[e(713)](i));else for(let t=0;t<i[e(552)];t++)a[e(794)](new H.Element(e(708),{vid:this[e(653)]++}));const c=this[e(653)];for(let t=o;t<c;t++)this[e(579)][e(818)](t,{userId:n});r[e(754)](s[e(613)],a)}[rt(686)](t){const e=rt;(t=this[e(639)](t,this[e(662)]))[e(580)]();const i=null===t[e(767)]?null:t[e(767)]||this[e(529)][e(609)][e(711)](e(689)).me.id,s=t[e(683)](),n=s[e(800)],r=s[e(613)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(690)](e);r.is(a(816),a(708))?s[a(818)](r[a(712)](a(641)),{userId:i}):(s[a(818)](r[a(712)](a(531)),{userId:i}),t(s,r,0,r[a(602)]),s[a(818)](r[a(712)](a(616)),{userId:i}))}}(this[e(579)],n,r,r+t[e(518)])}[rt(768)](t){const e=rt,i=null===(t=this[e(639)](t,this[e(662)]))[e(767)]?null:t[e(767)]||this[e(529)][e(609)][e(711)](e(689)).me.id,s=t[e(809)][e(800)],n=t[e(714)][e(800)],r=s[e(712)](e(616)),o=n[e(712)](e(531));s[e(668)](e(616),n[e(712)](e(616))),n[e(668)](e(616),r),this[e(579)][e(818)](o,{userId:i}),this[e(579)][e(818)](r,{userId:i}),t[e(580)]()}[rt(766)](t){const e=rt,i=null===(t=this[e(639)](t,this[e(662)]))[e(767)]?null:t[e(767)]||this[e(529)][e(609)][e(711)](e(689)).me.id,s=t[e(625)],n=t[e(591)][e(800)];t[e(580)]();const r=n[e(712)](e(616)),o=t[e(687)][e(798)];if(s){const t=o[e(712)](e(616)),s=n[e(712)](e(616));n[e(668)](e(616),t),o[e(668)](e(616),s),this[e(579)][e(818)](n[e(712)](e(616)),{userId:i}),this[e(579)][e(818)](o[e(712)](e(531)),{userId:i})}else{const t=this[e(653)]++,s=this[e(653)]++;n[e(668)](e(616),t),o[e(668)](e(531),s),o[e(668)](e(616),r),this[e(579)][e(818)](t,{userId:i}),this[e(579)][e(818)](s,{userId:i})}}[rt(724)](t){const e=rt;if(!t[e(737)])return;const i=(t=this[e(639)](t,this[e(501)]))[e(755)]?t[e(755)][e(747)]:null,s=t[e(695)]?t[e(695)][e(747)]:null;i&&this[e(589)][e(567)](t[e(500)]),s&&this[e(589)][e(818)](t[e(500)],t[e(695)][e(633)]());const n=null===t[e(767)]?null:t[e(767)]||this[e(529)][e(609)][e(711)](e(689)).me.id,r=t[e(500)];if(!this[e(806)][e(578)](r))return void this[e(806)][e(818)](r,{range:t[e(755)],userId:n});const o=this[e(806)][e(711)](r),a=o[e(628)],c=t[e(695)];null==a&&null==c||a&&c&&a[e(655)](c)?this[e(806)][e(567)](t[e(500)]):o[e(547)]=n}[rt(607)](t,e){const i=rt;this[i(501)][i(578)](t[i(524)])?this[i(501)][i(711)](t[i(524)])[i(715)]=t[i(596)]:(this[i(501)][i(818)](t[i(524)],ht(t[i(524)],!0)),this[i(716)][i(818)](t[i(524)],{}),e&&this[i(662)][i(818)](t[i(524)],ht(t[i(524)],!0)));const s=null===t[i(767)]?null:t[i(767)]||this[i(529)][i(609)][i(711)](i(689)).me.id,n=this[i(636)][i(711)](t[i(524)]);n&&n[i(547)]===s?this[i(636)][i(567)](t[i(524)]):this[i(636)][i(818)](t[i(524)],{userId:s,isAttached:t[i(596)]})}[rt(549)](t){const e=rt,i=this[e(716)][e(711)](t[e(747)][e(524)]);null===t[e(652)]?delete i[t[e(658)]]:i[t[e(658)]]=t[e(652)]}}function lt(t){const e=rt,i=ht(t[e(524)],t[e(593)]());for(const s of t[e(597)]()){const t=s[e(555)](!0);i[e(512)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(524)]=t,s[i(715)]=e,s[i(593)]=()=>s[i(715)],s}function dt(t,e,i){const s=rt,n=s(744)==t[s(753)]?i[s(575)](t[s(530)],s(749)):i[s(646)](t[s(530)]);return i[s(535)](e,n[s(700)],n[s(677)])}function ft(t,e,i){const s=rt,n=s(785)==t[s(753)]?i[s(575)](t[s(530)],0):i[s(805)](t[s(530)]);return i[s(535)](e,n[s(700)],n[s(677)])}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),Tt=i.n(St),Ot=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Tt();gt()(Ot.A,xt);Ot.A&&Ot.A.locals&&Ot.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=Tt();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Vt;function Mt(){const t=["1844703hcPCmN","revisionNameInputValue","element","value","56nJzSHe","keystrokes","locale","set","optional","220","arrowright","ck-revision-history-save-revision-form","listenTo","9737930tEYDfq","form","setTemplate","arrowleft","16924886IsqiWh","1235eaOVfT","stopPropagation","errorText","add","arrowup","render","887082KaPhGG","Name of the revision","reset","2125053jsPrgl","extendTemplate","label","revisionName","11622saoHgt","159426fakCBQ","trim","_createRevisionNameInput","arrowdown","focusTracker","input","revisionNameInputView","ck-responsive-form","fieldView","8oPmgdt","1ESaYXH","focus"];return(Mt=function(){return t})()}function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=101]})(t,e)}!function(t){const e=Vt,i=t();for(;;)try{if(798332===parseInt(e(129))/1*(parseInt(e(119))/2)+-parseInt(e(114))/3*(parseInt(e(128))/4)+parseInt(e(105))/5*(parseInt(e(118))/6)+parseInt(e(111))/7*(parseInt(e(135))/8)+parseInt(e(131))/9+-parseInt(e(144))/10+parseInt(e(104))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Dt extends pt.View{[At(123)];[At(136)];[At(125)];constructor(e,i){const s=At;super(e),this[s(123)]=new t.FocusTracker,this[s(136)]=new t.KeystrokeHandler,this[s(138)](s(132),""),this[s(125)]=this[s(121)](i),this[s(102)]({tag:s(101),attributes:{class:["ck",s(142),s(126)],tabindex:"-1"},children:[this[s(125)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(110)](){const t=At;super[t(110)](),(0,pt.submitHandler)({view:this}),this[t(123)][t(108)](this[t(125)][t(133)]),this[t(136)][t(143)](this[t(133)]);const e=e=>e[t(106)]();this[t(136)][t(138)](t(141),e),this[t(136)][t(138)](t(103),e),this[t(136)][t(138)](t(109),e),this[t(136)][t(138)](t(122),e)}[At(130)](){const t=At;this[t(125)][t(130)]()}get[At(117)](){const t=At;return this[t(125)][t(127)][t(133)][t(134)][t(120)]()}set[At(117)](t){const e=At;this[e(125)][e(127)][e(133)][e(134)]=t[e(120)]()}[At(113)](){const t=At;this[t(125)][t(127)][t(133)][t(134)]="",this[t(125)][t(107)]=null}[At(121)](t){const e=At,i=new pt.LabeledFieldView(this[e(137)],pt.createLabeledInputText),s=i[e(127)];s[e(115)]({attributes:{maxlength:e(140)}});let n=Q(this[e(137)],e(112));return!t&&(n+=" ("+Q(this[e(137)],e(139))+")"),i[e(116)]=n,s.on(e(124),(()=>{const t=e;this[t(132)]=s[t(133)][t(134)][t(120)]()})),i}}const Et=Ft;function Ct(){const t=["pluginName","Save current revision","Cancel","editor","_showDialog","Accept","submit","locale","revisionName","execute","61659JaxDls","requires","editing","menu","bind","Revision history","panelView","9515FRpfzK","isReady","Dialog","isReadOnly","480603cjqtHs","errorText","reset","Open revision history","isEnabled","revisionNameInputView","saveRevision","plugins","RevisionTracker","add","54SHymRf","config","3142174nnbpCh","buttonView","isPremiumPlugin","set","7246860CtUehq","revisionHistory","showRevisionViewerCallback","445532UDcrZB","_saveRevisionFormView","15mJHQDs","_registerMenuComponent","componentFactory","items","_createSaveRevisionFormView","show","The revision name cannot be empty.","init","get","667746LbGTLK","delegate","ck-button-action","192uqoDCy","view","hide","render","isOpen","role","revisionHistory.requireRevisionName","menuBar:revisionHistory","revisionSave","focus","isOfficialPlugin","addMany","menuitem","RevisionHistoryUI","children"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(351814===parseInt(e(262))/1+parseInt(e(292))/2+parseInt(e(283))/3*(-parseInt(e(281))/4)+parseInt(e(258))/5*(-parseInt(e(272))/6)+-parseInt(e(274))/7+-parseInt(e(295))/8*(parseInt(e(320))/9)+parseInt(e(278))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends W.Plugin{static get[Et(310)](){return Et(308)}static get[Et(305)](){return!0}static get[Et(276)](){return!0}static get[Et(252)](){return[ct]}[Et(282)];[Et(290)](){const t=Et,e=this[t(313)],i=e[t(269)][t(291)](t(270));e.ui[t(285)][t(271)](t(279),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(257)][n(309)],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(255)](n(266)).to(i,n(259),i,n(266),e,n(261),((t,e,i)=>t&&e&&!i)),r[n(275)][n(277)]({icon:mt.IconHistory,label:Q(s,n(256)),tooltip:!0}),u[n(277)]({label:Q(s,n(311)),withText:!0,role:n(307)}),u[n(255)](n(266)).to(i,n(259),i,n(266),e,n(261),((t,e,i)=>t&&e&&!i)),u.on(n(319),(()=>this[n(314)]())),h[n(277)]({label:Q(s,n(265)),withText:!0,role:n(307)}),h[n(255)](n(266)).to(i,n(259),e,n(261),((t,e)=>t&&!e)),h.on(n(319),(()=>{const t=n;e[t(273)][t(291)](t(279))[t(280)](),r[t(299)]=!1,e[t(253)][t(296)][t(304)]()})),c[n(309)][n(271)](u),l[n(309)][n(271)](h),a[n(300)]=n(254),a[n(286)][n(306)]([c,l]),o[n(271)](a),r})),e.ui[t(285)][t(271)](t(302),(()=>this[t(284)]()))}[Et(284)](){const t=Et,e=this[t(313)],i=e[t(317)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(275)][t(277)]({icon:mt.IconHistory,label:Q(i,t(256))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(277)]({label:Q(i,t(311))}),o[t(293)](t(319)).to(s),o.on(t(319),(()=>{this[t(314)]()})),r[t(309)][t(271)](o),n[t(286)][t(271)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(277)]({label:Q(i,t(265))}),c[t(293)](t(319)).to(s),c.on(t(319),(()=>{const i=t;e[i(273)][i(291)](i(279))[i(280)]()})),a[t(309)][t(271)](c),n[t(286)][t(271)](a),s[t(257)][t(309)][t(271)](n),s}[Et(314)](){const t=Et,e=this[t(313)],i=e[t(317)],s=e[t(269)][t(291)](t(260)),n=e[t(269)][t(291)](t(270));function r(n){const r=t;e[r(273)][r(291)](r(301))&&""===n[r(318)]?n[r(267)][r(263)]=Q(i,r(289)):(e[r(269)][r(291)](ct)[r(268)]({name:n[r(318)]}),s[r(297)]())}this[t(282)]||(this[t(287)](),this[t(282)].on(t(316),(()=>r(this[t(282)])))),this[t(282)][t(264)](),s[t(288)]({id:t(303),title:Q(i,t(311)),isModal:!0,content:this[t(282)],actionButtons:[{label:Q(e[t(317)],t(312)),withText:!0,onExecute:()=>s[t(297)]()},{label:Q(e[t(317)],t(315)),class:t(294),withText:!0,onCreate(i){const s=t;i[s(255)](s(266)).to(n,s(259),n,s(266),e,s(261),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(282)])}]})}[Et(287)](){const t=Et,e=this[t(313)],i=e[t(317)];this[t(282)]=new Dt(i,e[t(273)][t(291)](t(301))),this[t(282)][t(298)]()}}const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=281]})(t,e)}function zt(){const t=["ck-revision-change__","44ALsinj","1845wtihSU","Added by","span","13239408WEMIJj","Removed by","isSuggestion","1849579jQZqJm","16010TnVvnl","71382FNBXWQ","setTemplate","Suggested by","875NrlbHK","324gAGMaU","data","name","type","add","changeId","ck-revision-change","ck-revision-change__label","2GnYZJD","set","1385607jZyQeQ","author","element","focus","ck-annotation","112825iJWXGV","2257409cxIFIT","div","_model","bindTemplate"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(931162===parseInt(e(284))/1*(-parseInt(e(298))/2)+parseInt(e(300))/3+-parseInt(e(311))/4*(-parseInt(e(305))/5)+parseInt(e(286))/6*(-parseInt(e(289))/7)+-parseInt(e(281))/8+-parseInt(e(312))/9*(parseInt(e(285))/10)+parseInt(e(306))/11*(parseInt(e(290))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ut extends pt.View{[Lt(295)];[Lt(308)];constructor(t,e){const i=Lt;super(t),this[i(308)]=e,this[i(295)]=e.id;const s=this[i(309)],n=Q(t,e[i(291)][i(283)]?i(288):i(294)==e[i(293)]?i(313):i(282));this[i(299)](i(293),e[i(293)]),this[i(287)]({tag:i(307),attributes:{class:[i(304),i(296),s.to(i(293),(t=>i(310)+t))],tabindex:-1},children:[{tag:i(314),children:[{tag:i(314),attributes:{class:[i(297)]},children:[{text:n}]},{text:" "+e[i(301)][i(292)]}]}]})}[Lt(303)](){const t=Lt;this[t(302)][t(303)]()}}var Wt=Ht;!function(t){for(var e=Ht,i=t();;)try{if(800909===-parseInt(e(156))/1+parseInt(e(159))/2*(parseInt(e(165))/3)+parseInt(e(161))/4*(-parseInt(e(158))/5)+-parseInt(e(166))/6+-parseInt(e(172))/7+-parseInt(e(171))/8+parseInt(e(162))/9*(parseInt(e(160))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Zt extends((0,t.ObservableMixin)()){id;[Wt(157)];[Wt(168)];[Wt(167)];[Wt(170)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(157)]=e[i(157)],this[i(168)]=e[i(168)],this[i(167)]=e[i(167)]||{},this[i(170)]=e[i(170)],this[i(169)](i(164),e[i(164)])}[Wt(163)](){var t=Wt;return{id:this.id,authorId:this[t(157)].id,type:this[t(168)],data:this[t(167)],createdAt:this[t(164)]}}}function Ht(t,e){var i=qt();return(Ht=function(t,e){return i[t-=156]})(t,e)}function qt(){var t=["rootName","7361224PQnEtO","5030053UfTaUv","1599406mLjPPu","author","55NXrJmN","2oXwbTg","120XQtEiC","263404ZgKCQt","3486825stjAVt","toJSON","createdAt","614316MSXgym","542784GBqwAV","data","type","set"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=157]})(t,e)}function Yt(){const t=["changes","1529508ZOpqUM","_setChanges","1291032RmDZko","65576lteNGc","74494NURZhM","oldRevisionId","10BMiurL","96GEAtln","add","531005YOsstm","newRevisionId","690087hRDYzN","66birdpD","17477217qzmfPQ"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(824148===parseInt(e(170))/1+-parseInt(e(163))/2+parseInt(e(159))/3+parseInt(e(161))/4+parseInt(e(168))/5*(parseInt(e(171))/6)+parseInt(e(162))/7*(parseInt(e(166))/8)+-parseInt(e(157))/9*(parseInt(e(165))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt{[$t(169)];[$t(164)];[$t(158)];constructor(e,i){const s=$t;this[s(169)]=e,this[s(164)]=i,this[s(158)]=new t.Collection}[$t(160)](t){const e=$t;for(const i of t)this[e(158)][e(167)](i)}}var Jt=i(536),Xt={attributes:{"data-cke":!0}};Xt.setAttributes=It(),Xt.insert=wt().bind(null,"head"),Xt.domAPI=kt(),Xt.insertStyleElement=Tt();gt()(Jt.A,Xt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Kt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=484]})(t,e)}function te(){const t=["4CQdBGW","markerRange","_findChangeIdFromDomTarget","getChild","_update","elementStart","createRevision","_setChanges","catch","attributesBefore","consume","createRange","bind","changes","editor","restoreRevision","detachRoot","then","highest","isContent","remove","first","all","_getDiff","resolve","mapper","isEqual","elementToAttribute","isInline","updatePosition","isRemoved","change","ck-suggestion-marker--active","_getViewForChange","235oltpdq","ck-revision-history-root-","ck-suggestion-preview-marker","showNextChange","revision-suggestion:","_removeMissingPairs","isOnRoot","_changeView","430eQcTEZ","attributes","listenTo","vid_end","element:pre","getDomRoot","WidgetToolbarRepository","selection","keys","startIndex","pop","domConverter","revision:","clear","_makeModelFromViewString","commands","RevisionsRepository","stop","forEach","diffData","view","isAtEnd","_data","_markMismatchedRemovedTags","checkAttribute","_getRevisionsRange","concat","_refreshStartEndIndex","toViewElement","delete","name","downcastDispatcher","_makeTape","userId","getAttribute","sort","addRevisionData","revisionHistory","plugins","merge","affectsData","type","_removeUnsupportedChanges","220530osdbKq","ck-suggestion-marker-split","compare","model","editingDowncast","start","isAddSuggestion","abs","addMarker:revision-suggestion:insertion","activeChange","isEnabled","end","includes","from","markerName","getRevision","endIndex","push","getRevisionRootsAttributes","_changeIdToChange","observeMarkers","consumable","isOfficialPlugin","high","startsWith","181247VsdRJj","_setDistance","config","getRoot","adapter","execute","change:activeView","change:numberOfChanges","init","addHighlight","removeAttribute","forward","isLimit","dataDowncast","toViewRange","markers","addMarker:revision","findIndex","nextSibling","changeId","data","attachChange","length","change:isEnabled","split","editing","markerToData","uiElement","suggestion:","createPositionFromPath","for","done","markersEnd","isBefore","repository","schema","domEvent","markersStart","attribute:vid","_markSuggestions","roots","requires","removeMarker:revision","isPremiumPlugin","_balloon","ck-suggestion-marker","change:activeChange","insert","comment","_threeWayMerge","isAttached","upcast","deletions","destroy","6982224ZLQrjr","getRootNames","span","rootName","createUIElement","643601siCOMC","ck-revision-history-root-add","_cleanMarkers","addClass","getWalker","document","element","wrap","_markInsertions","32MsVRZc","pairId","removeClass","writer","mousedown","enqueueChange","elementEnd","isBlock","values","parent","-new","flat","pluginName","_setConversion","isCollapsed","unshift","filter","distance","revision-viewer","hasClass","isSuggestion","object","backward","deletion","_fixObsoleteTags","bindElementToMarker","oldRevisionId","getClientRects","maxOffset","map","_sortAndFilterDiffChanges","mouseover","ck-suggestion-preview-marker-","toViewPosition","getAttributes","RevisionHistoryUtils","shift","addRevision","addMarker:revision-suggestion:deletion","56YmuDNs","revision-suggestion","showPreviousChange","ck-editor__editable__overlay","markerToHighlight","diff","viewItem","setAttribute","_step","ck-revision-history-root-remove","getIndex","getRevisionDocumentData","error","has","softBreak","revision","revisionHistoryLabel","item","index","createAttributeElement","_processTape","nextPosition","RevisionViewer","2067501IunlDg","revisionHistoryAttachChange","slice","low","set","target","isNavigationMode","splice","reconvertMarker","authors","hasAttribute","71174oSayBn","dataToMarker","isObject","_activeViewTarget","ck-suggestion-marker-merge","ck-revision-history-root--active","nodeAfter","_utils","vid_start","right","_getChangeFromId","createPositionBefore","forceDisabled","change:isReady","code","data-change-id","locale","isIncorrect","level","attributesAfter","indexOf","bottom","markerNameToElements","_appendChild","numberOfChanges","getCustomProperty","isReady","refresh","isAtStart","restoreRevisionCallback","left","showStack","_joinTapes","addRoot","ck-suggestion-marker-","removeMarker","add","isRemoveSuggestion","newRevisionId","get","offsetSize","range","isAfter","revision-comment:","modelRange","_initInteractions","next","getItems","enableReadOnlyMode","top","loadRevisionData","getLaterVisibleRevision","insertion","currentChangeNumber","mapViewToDom","vid","removeMarker:revision-suggestion","string","suggestion","conversion","test","previousPosition","return","createRangeIn","find","isAdded","activeView","text","_revisions","3835359EXuWqD","_makeModelFromTape","_cleanUp","insertions","_markMarkers","POSITIVE_INFINITY","unbindElementFromMarkerName","side"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(972447===-parseInt(e(718))/1*(parseInt(e(645))/2)+-parseInt(e(707))/3*(parseInt(e(795))/4)+parseInt(e(501))/5*(parseInt(e(552))/6)+parseInt(e(636))/7*(-parseInt(e(684))/8)+parseInt(e(787))/9+-parseInt(e(509))/10*(-parseInt(e(577))/11)+parseInt(e(631))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends W.Plugin{[Kt(611)];[Kt(581)]=null;[Kt(725)];[Kt(721)];[Kt(508)];[Kt(571)];[Kt(621)];static get[Kt(657)](){return Kt(706)}static get[Kt(574)](){return!0}static get[Kt(620)](){return!0}static get[Kt(618)](){return[Z.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Kt;super(t),this[e(611)]=this[e(809)][e(547)][e(757)](e(525)),this[e(725)]=this[e(809)][e(547)][e(757)](e(680)),this[e(711)](e(561),null),this[e(711)](e(784),null),this[e(721)]=null,this[e(711)](e(689),null),this[e(711)](e(744),!1),this[e(711)](e(562),!0),this.on(e(600),((t,i,s)=>{const n=e;this[n(561)]=null,this[n(784)]=null,this[n(809)][n(602)][n(529)][n(498)]((t=>{const e=n;for(const i of this[e(809)][e(602)][e(529)][e(641)][e(617)])s?t[e(647)](e(687),i):t[e(639)](e(687),i)}))})),this[e(807)](e(713)).to(this,e(561),(t=>null!==t)),this[e(807)](e(771)).to(this,e(744),this,e(689),this,e(561),((t,i,s)=>t&&s?i[e(808)][e(694)](s):0)),this[e(807)](e(742)).to(this,e(744),this,e(689),((t,i)=>t?i[e(808)][e(599)]:0)),this[e(508)]=null,this[e(571)]=new Map,this[e(621)]=this[e(809)][e(547)][e(757)](pt.ContextualBalloon)}[Kt(585)](){const t=Kt,e=this[t(809)],i=new ne(e,{direction:t(667)}),s=new ne(e,{direction:t(588)});e[t(524)][t(754)](t(686),i),e[t(524)][t(754)](t(504),s),e[t(524)][t(754)](t(810),new se(e)),this.on(t(584),(()=>{const e=t;i[e(745)](),s[e(745)]()})),this[t(658)](),this[t(763)](),e[t(766)](t(663)),e[t(547)][t(697)](t(515))&&e[t(547)][t(757)](t(515))[t(730)](t(663))}async[Kt(695)](t){const e=Kt;return await this[e(725)][e(768)](t,this[e(581)]),this[e(725)][e(695)](t)}async[Kt(570)](t){const e=Kt;return await this[e(725)][e(768)](t,this[e(581)]),this[e(725)][e(570)](t)}async[Kt(554)](t,e,i=!1){const s=Kt;if(!this[s(562)])return;const n=this[s(689)],r=this[s(611)],o=s(775)==typeof t?r[s(567)](t):t,a=s(775)==typeof e?r[s(567)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(689)]&&this[s(689)][s(756)]===c&&this[s(689)][s(671)]===u)return Promise[s(491)]();this[s(744)]=!1,this[s(784)]=null,this[s(561)]=null,this[s(689)]=new Gt(c,u);const l=this[s(534)](o,a,!0)[s(674)]((t=>this[s(725)][s(768)](t,this[s(581)])));return l[s(569)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(489)](l)[s(484)]((()=>{const t=s;if(!this[t(562)])return;this[t(789)]();const e=this[t(490)](c,u);for(const i of e[t(808)])this[t(571)][t(711)](i.id,i);this[t(809)][t(555)][t(650)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(809)][s(555)][s(641)][s(632)]())i[s(811)](t);for(const t of Object[s(517)](e[s(555)])){const n=i[s(751)](t);for(const r of Object[s(517)](e[s(510)][t]))i[s(691)](r,e[s(510)][t][r],n);i[s(624)](e[s(555)][t],n,0)}})),this[t(689)][t(802)](this[t(675)](e[t(808)])),this[t(744)]=!0}))[s(803)]((t=>{const e=s;console[e(696)](t),this[e(789)](),n&&(this[e(689)]=n),this[e(744)]=!0}))}[Kt(545)](t,e){const i=Kt,s=this[i(611)][i(801)](t);return s.on(i(799),((t,i,n)=>e(i,n,s))),this[i(611)][i(682)](s),s}[Kt(789)](){const t=Kt;this[t(561)]=null,this[t(638)](),this[t(508)]&&this[t(508)][t(630)](),this[t(508)]=null,this[t(571)][t(522)](),this[t(809)][t(555)][t(650)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(809)][i(555)][i(641)][i(632)]())e[i(811)](t)}))}[Kt(675)](t){const e=Kt,i=[],s=new Map;for(const t of this[e(809)][e(555)][e(641)][e(632)]()){const n=this[e(809)][e(602)][e(529)][e(514)](t);if(!n)continue;const r=n[e(672)]()[e(701)](0);r&&(i[e(569)](t),s[e(711)](t,r))}return i[e(544)](((t,i)=>{const n=e,r=s[n(757)](t),o=s[n(757)](i);return r.y-o.y||r.x-o.x})),(t=t[e(661)]((t=>i[e(564)](t[e(634)]))))[e(544)](((t,s)=>i[e(738)](t[e(634)])-i[e(738)](s[e(634)]))),t}[Kt(541)](t){const e=Kt,i=Array[e(565)](t[e(592)])[e(661)]((([t,i])=>t[e(576)](e(521))&&!i[e(659)])),s=Array[e(565)](this[e(809)][e(555)][e(781)](t)[e(640)]({singleCharacters:!0}));if(0!=i[e(599)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(601)](":");if(n[e(563)][e(493)](t[e(705)])&&i[e(681)](),(t[e(779)][e(493)](n[e(557)])||t[e(779)][e(760)](n[e(557)]))&&(e(770)==r?t[e(783)]={userId:o}:e(668)==r&&(t[e(497)]={userId:o})),0==i[e(599)])break}return s}[Kt(536)](t){const e=Kt,i=new Map;for(let s=0;s<t[e(599)];s++)e(785)===t[s][e(550)]?(t[s][e(701)][e(518)]=s,t[s][e(701)][e(568)]=s):(e(800)===t[s][e(550)]?t[s][e(701)][e(518)]=s:e(651)===t[s][e(550)]&&(t[s][e(701)][e(568)]=s),i[e(711)](t[s].id,s));for(const s of i[e(653)]())e(800)===t[s][e(550)]?t[s][e(701)][e(568)]=i[e(757)](t[s][e(646)]):e(651)===t[s][e(550)]&&(t[s][e(701)][e(518)]=i[e(757)](t[s][e(646)]))}[Kt(704)](t){const e=Kt;for(let i=0;i<t[e(599)];i++){if(e(800)===t[i][e(550)])t[i][e(701)][e(518)]=i;else if(e(651)===t[i][e(550)]){t[i][e(701)][e(568)]=i;const s=t[i][e(701)][e(518)];t[s][e(646)]=t[i].id,t[i][e(646)]=t[s].id}else t[i][e(701)][e(518)]=i,t[i][e(701)][e(568)]=i,t[i][e(646)]=null;t[i][e(614)]||(t[i][e(614)]=[],t[i][e(609)]=[])}}[Kt(644)](t,e){const i=Kt,s=t[i(661)]((t=>!t[i(783)]));for(let t=0;t<e[i(599)];t++)e[t][i(783)]&&(s[t][i(783)]=e[t][i(783)])}[Kt(490)](t,e=null){const i=Kt,s=this[i(611)][i(567)](t),n=e?this[i(611)][i(567)](e):null,r=this[i(534)](s,n),o=r[r[i(599)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(599)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(517)](e[i(528)]))if(e[i(528)][t][i(598)]){const s=e[i(528)][t][i(598)];s[i(627)]?(u[i(754)](t),l[i(697)](t)&&l[i(757)](t)[i(542)]==s[i(542)]?l[i(538)](t):l[i(711)](t,s)):l[i(697)](t)?(u[i(538)](t),l[i(538)](t)):(u[i(754)](t),l[i(711)](t,s))}else u[i(754)](t)}for(const t of u){const e=l[i(697)](t)&&!l[i(757)](t)[i(627)];let s=e?r[i(599)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(528)][t]){const s=e?o[i(528)][t][i(804)]:o[i(528)][t][i(737)];c[i(510)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(555)]={};for(const e of t[i(716)])a[i(711)](e.id,e);for(const e of u){const s=t[i(528)][e]?t[i(528)][e][i(790)]:"[]",n=t[i(528)][e]?t[i(528)][e][i(629)]:"[]";t[i(555)][e]={insertions:this[i(725)][i(523)](s),deletions:this[i(725)][i(523)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(565)](s[i(555)][t][i(790)][i(592)])[i(661)]((([t])=>!t[i(576)](i(521)))));let h=0;for(const o of r){const r=this[i(541)](o[i(555)][t][i(790)]);o==s?(e=r,n=e[i(599)],e[i(527)]((t=>{t.id=h++})),this[i(704)](e)):this[i(644)](e,r);const a=e[i(661)]((t=>!t[i(783)]))[i(674)]((t=>t.id));let c=0;const l=this[i(541)](o[i(555)][t][i(629)]);l[i(527)]((t=>{t[i(497)]?t.id=n++:t.id=a[c++]})),this[i(704)](l),this[i(578)](e,i(783)),this[i(578)](l,i(497)),o==s&&this[i(791)](e,u),e=this[i(750)](e,l),this[i(536)](e),this[i(578)](e,i(497))}e=e[i(661)]((t=>!(t[i(783)]&&t[i(497)])));const d=new Map(o[i(555)][t][i(629)][i(592)]),f=new Set(u[i(517)]());for(const t of d[i(517)]())f[i(538)](t);this[i(616)](e,f),this[i(669)](e),e=this[i(506)](e),e=this[i(532)](e),e=this[i(551)](e);const{root:m,changes:p}=this[i(788)](e,a,t);c[i(555)][t]=m;const v=l[i(757)](t);if(v){const e=a[i(757)](v[i(542)]),s=new Zt({author:e,type:v[i(627)]?i(754):i(487),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(660)](s),c[i(510)][t][i(708)]=s.id}c[i(808)]=c[i(808)][i(535)](p)}return c}[Kt(791)](t,e){const i=Kt;for(let s=0;s<t[i(599)];s++)for(const[n,r]of e)!r[i(659)]&&r[i(557)][i(493)](t[s][i(779)])&&t[s][i(614)][i(569)](n),r[i(563)][i(493)](t[s][i(705)])&&t[s][i(609)][i(569)](n)}[Kt(750)](t,e){const i=Kt;let s=[],n=0,r=0;for(;n<t[i(599)]||r<e[i(599)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(569)](o);else if(a[i(497)]&&o[i(783)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(626)](t,n,e,r);s=s[i(535)](o),n=a,r=c}else a[i(497)]?(r++,s[i(569)](a)):(n++,s[i(569)](o))}return s}[Kt(616)](t,e){const i=Kt,s=[];for(let o=0;o<t[i(599)];o++){for(let r=0;r<t[o][i(614)][i(599)];r++){const a=t[o][i(614)][r];if(!e[i(697)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(685)!=c||i(770)!=u&&i(668)!=u||(s[i(660)]({type:u,name:a,userId:l}),t[o][i(614)][i(714)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(609)][i(599)];r++){const a=t[o][i(609)][r];if(!e[i(697)](a))continue;const{group:c,type:u}=n(a);if(i(685)!=c||i(770)!=u&&i(668)!=u)continue;t[o][i(609)][i(714)](r,1),r--;const l=s[i(594)]((t=>t[i(539)]==a));l>-1&&s[i(714)](l,1)}}function n(t){const e=i,s=t[e(601)](":");return{group:s[0],type:s[1],subType:s[e(599)]>=5?s[2]:null,id:s[e(599)]<5?s[2]:s[3],authorId:s[e(599)]<5?s[3]:s[4],markerCount:6==s[e(599)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(599)];i++){if(t[e(783)]&&e(770)==s[i][e(550)])return t[e(558)]=s[i],void delete t[e(783)];if(!t[e(783)]&&!t[e(497)]&&e(668)==s[i][e(550)])return void(t[e(755)]=s[i])}}}[Kt(578)](t,e){const i=Kt;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(711)](o.id,s);for(let s=0;s<t[i(599)];s++){if(i(497)==e&&t[s][i(783)]||i(783)==e&&t[s][i(497)])continue;if(i(785)==t[s][i(550)]){t[s][i(662)]=0;continue}const n=r[i(757)](t[s][i(646)]),o=r[i(757)](t[s].id);t[s][i(662)]=n-o}}[Kt(534)](t,e,i=!1){const s=Kt,n=[];let r=this[s(611)][s(694)](t),o=this[s(611)][s(694)](e);for(-1==o&&(o=this[s(611)][s(786)][s(599)],i=!1);r<o;)n[s(569)](this[s(611)][s(567)](r)),r++;return i&&n[s(569)](this[s(611)][s(567)](r)),n}[Kt(626)](t,e,i,s){const n=Kt,r=this[n(809)][n(555)][n(612)];let o=e;for(;t[o]&&t[o][n(783)];)o++;let a=s;for(;i[a]&&i[a][n(497)];)a++;u(t,e,o),u(i,s,a);const c=i[n(709)](s,a)[n(535)](t[n(709)](e,o));return c[n(544)](((t,e)=>t[n(794)]!=e[n(794)]?t[n(794)]-e[n(794)]:t[n(736)]!=e[n(736)]?t[n(736)]-e[n(736)]:t[n(662)]!=e[n(662)]?e[n(662)]-t[n(662)]:!!t[n(783)]!=!!e[n(783)]?-1==t[n(794)]||0==t[n(794)]?t[n(783)]?-1:1:t[n(783)]?1:-1:t[n(702)]-e[n(702)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(792)],c=!0;for(let n=e;n<i;n++)if(r[s(495)](t[n][s(701)])||(c=!1),t[n][s(701)][s(518)]<e&&(o=n),t[n][s(701)][s(568)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(794)]=n<=o?-1:n<a?0:1,t[n][s(702)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(662)]?t[i][s(736)]=u:(u++,t[i][s(736)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(794)]&&(t[n][s(736)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(662)]?t[e][s(736)]=u:(u--,t[e][s(736)]=u,u--)}}[Kt(669)](t){const e=Kt,i=new Map,s=this[e(809)][e(555)][e(612)];for(let n=1;n<t[e(599)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(785)==c[e(550)])continue;if(c[e(550)]!=u[e(550)])continue;if(!s[e(652)](u[e(701)])||s[e(589)](u[e(701)]))continue;if(!s[e(652)](c[e(701)])||s[e(589)](c[e(701)]))continue;if((t[n][e(783)]||t[n][e(558)])&&t[n-1][e(497)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(497)]||!t[n-1][e(783)]&&!t[n-1][e(558)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(736)]==o[e(736)],h=Math[e(559)](r[e(736)])<Math[e(559)](o[e(736)])&&0==o[e(662)];(l||h)&&(i[e(711)](o.id,r.id),t[e(714)](a,1),n--,r[e(783)]=!1)}for(let s=0;s<t[e(599)];s++)i[e(697)](t[s][e(646)])&&(t[s][e(646)]=i[e(757)](t[s][e(646)]))}[Kt(506)](t){const e=Kt,i=new Set(t[e(674)]((t=>t.id)));for(let s=0;s<t[e(599)];s++)i[e(697)](t[s][e(646)])||0==t[s][e(662)]||(t[s][e(735)]=!0);return t[e(661)]((t=>!t[e(735)]))}[Kt(532)](t){const e=Kt,i=new Set;for(let s=0;s<t[e(599)];s++){if(i[e(697)](t[s].id)&&t[s][e(497)]&&(t[s][e(735)]=!0),t[s][e(735)])continue;if(0==t[s][e(662)])continue;if(e(800)!=t[s][e(550)])continue;if(null==t[s][e(646)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(646)];)e(800)==t[n][e(550)]?r++:e(651)==t[n][e(550)]&&r--,n++;if(0!=r)if(t[s][e(497)])t[s][e(735)]=!0;else for(;n!=s;)t[n][e(497)]&&0!=t[n][e(662)]&&(t[n][e(735)]=!0,i[e(754)](t[n][e(646)])),n--}return t[e(661)]((t=>!t[e(735)]))}[Kt(551)](t){const e=Kt,i=this[e(809)][e(555)][e(612)];for(let s=0;s<t[e(599)];s++){if(!(t[s][e(783)]||t[s][e(558)]||t[s][e(497)]||t[s][e(755)]))continue;if(0==t[s][e(662)])continue;const n=t[s][e(701)];i[e(652)](n)||i[e(589)](n)||(t[s][e(783)]&&delete t[s][e(783)],t[s][e(558)]&&delete t[s][e(558)],t[s][e(755)]&&delete t[s][e(755)],t[s][e(497)]&&(t[s][e(735)]=!0))}return t[e(661)]((t=>!t[e(735)]))}[Kt(788)](t,e,i){const s=Kt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(809)][s(555)],c=a[s(612)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(599)];e++)if(s(800)===t[e][s(550)]){t[e][s(779)]=a[s(606)](n,f);const i=new H.Element(t[e][s(701)][s(539)],t[e][s(701)][s(679)]());u[0][s(741)](i),f[s(569)](0),u[s(660)](i),t[e][s(705)]=a[s(606)](n,f)}else s(651)===t[e][s(550)]?(u[s(681)](),t[e][s(779)]=a[s(606)](n,f),f[s(519)](),f[f[s(599)]-1]++,t[e][s(705)]=a[s(606)](n,f)):(t[e][s(779)]=a[s(606)](n,f),d?d[s(531)]+=t[e][s(701)][s(597)]:d=new H.Text(t[e][s(701)][s(597)],t[e][s(701)][s(679)]()),t[e+1]&&s(785)===t[e+1][s(550)]&&v(d,t[e+1][s(701)])||(u[0][s(741)](d),d=null),f[f[s(599)]-1]+=t[e][s(701)][s(758)],t[e][s(705)]=a[s(606)](n,f));for(let e=0;e<t[s(599)];e++){const i=t[e][s(779)],n=t[e][s(705)];for(const n of t[e][s(614)])o[s(711)](n,{start:i,end:null});m(s(755),e,i,n),m(s(558),e,i,n),m(s(497),e,i,n),m(s(783),e,i,n);for(const i of t[e][s(609)]){const t=o[s(757)](i);t?t[s(563)]=n:o[s(711)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(809)][s(555)][s(806)](e[s(557)],e[s(563)]);n[s(592)][s(711)](t,i)}return r[s(544)](((t,e)=>{const i=s,r=n[i(592)][i(757)](i(521)+t.id),o=n[i(592)][i(757)](i(521)+e.id);return r[i(557)][i(610)](o[i(557)])?-1:r[i(557)][i(760)](o[i(557)])?1:r[i(563)][i(610)](o[i(563)])?-1:r[i(563)][i(760)](o[i(563)])?1:i(754)===t[i(550)]?-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(542)]:null,d=i===t[o(599)]-1,f=h[e][0],m=c[o(720)](t[i][o(701)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(563)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(542)]!==u&&(l[e][o(563)]=n,f&&f[o(542)]===l[e][o(542)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(800)!==t[i][o(550)]||f&&f[o(542)]===u||h[e][o(660)]({userId:u,object:t[i][o(701)],change:l[e]}),o(651)===t[i][o(550)]&&f&&f[o(666)]===t[i][o(701)]&&(h[e][o(681)](),l[e]=f[o(498)])),l[e]&&d&&(l[e][o(563)]=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(701)],f=a[h(612)][h(652)](d)&&!a[h(612)][h(589)](d),m=t[h(724)]==o[h(654)]&&o[h(746)];if(f&&m)return;const p=a[h(806)](t,o),v=e[h(757)](u),g=new Zt({author:v,type:h(783)==l||h(558)==l?h(754):h(487),data:{isSuggestion:h(558)==l||h(755)==l},createdAt:new Date,rootName:i});r[h(569)](g),n[h(592)][h(711)](h(521)+g.id,p)}function v(t,e){const i=s,n=t[i(679)](),r=e[i(679)]();for(const t of n){if(t[1]!==e[i(543)](t[0]))return!1;r[i(764)]()}return r[i(764)]()[i(608)]}}[Kt(658)](){const t=Kt;this[t(809)][t(777)][t(607)](t(628))[t(719)]({view:t(699)}),this[t(809)][t(777)][t(607)](t(556))[t(688)]({model:t(699),view:e=>{const i=t,s=e[i(566)][i(601)](":")[1],n=this[i(728)](s);if(!n)return null;const r=i(754)==n[i(550)]?i(770):i(668),o=[i(622),i(752)+r];return n[i(597)][i(665)]&&o[i(569)](i(752)+r+i(655)),this[i(561)]==n&&o[i(569)](i(499)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(809)][t(777)][t(607)](t(628))[t(754)]((e=>{const i=t;e.on(i(513),((t,e,s)=>{const n=i,r=e[n(690)][n(798)](0);if(!r||!r.is(n(642),n(732)))return;if(!s[n(573)][n(805)](r,{attributes:[n(726),n(512)]}))return;const o=e[n(762)][n(557)][n(724)];s[n(648)][n(691)](n(726),r[n(543)](n(726)),o),s[n(648)][n(691)](n(512),r[n(543)](n(512)),o)}),{priority:i(710)})})),this[t(809)][t(777)][t(607)](t(628))[t(754)]((e=>{const i=t;e.on(i(642),((t,e,s)=>{const n=i;if(!s[n(573)][n(805)](e[n(690)],{attributes:[n(726),n(512)]}))return;if(e[n(762)][n(659)])return;const r=e[n(762)][n(557)][n(724)];r[n(717)](n(726))||r[n(717)](n(773))||(s[n(648)][n(691)](n(726),e[n(690)][n(543)](n(726)),r),s[n(648)][n(691)](n(512),e[n(690)][n(543)](n(512)),r))}),{priority:i(710)})})),this[t(809)][t(777)][t(607)](t(628))[t(494)]({view:{name:t(633),attributes:{vid:!0}},model:{key:t(773),value:e=>e[t(543)](t(773))}}),this[t(809)][t(555)][t(612)].on(t(533),((e,[,i])=>{const s=t;[s(726),s(512),s(773)][s(564)](i)&&(e[s(780)]=!0,e[s(526)]())}),{priority:t(485)}),this[t(809)][t(777)][t(607)](t(590))[t(754)]((e=>{const i=t;e.on(i(615),((t,e,s)=>{const n=i;if(" "!=e[n(701)][n(597)]||e[n(701)][n(654)][n(673)]>1)return;if(!s[n(573)][n(805)](e[n(701)],t[n(539)]))return;const r=s[n(648)],o=s[n(492)][n(591)](e[n(759)]);r[n(643)](o,r[n(703)](n(633)))}))})),this[t(809)][t(777)][t(607)](t(590))[t(603)]({model:t(699)}),this[t(809)][t(602)][t(540)].on(t(593),function(e){const i=t,s=e[i(547)][i(757)](i(706));return(t,n,r)=>{const o=i,a=n[o(566)][o(601)](":")[1],c=s[o(728)](a);if(!c)return null;const u=o(754)==c[o(550)]?o(601):o(548);if(!r[o(573)][o(778)](n[o(796)],t[o(539)]))return;const l=n[o(796)][o(640)](),h=n[o(796)][o(557)],d=e[o(555)][o(612)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(701)];p=p||d[o(486)](e);const i=r[o(492)][o(537)](e);if(i&&i[o(743)](o(586)))return;o(651)==t[o(550)]&&d[o(652)](e)&&!d[o(589)](e)&&(e[o(595)]||h[o(530)]?f&&f[o(654)]==e||(f=e,g(t[o(779)]),v=!0):m=m||t[o(779)])}function g(t){const e=o,i=r[e(648)][e(635)](e(633),{class:e(752)+u}),a=r[e(492)][e(678)](t);c[e(597)][e(665)]&&r[e(648)][e(639)](e(752)+u+e(655),i),s[e(561)]==c&&r[e(648)][e(639)](e(499),i),r[e(648)][e(624)](a,i),r[e(492)][e(670)](i,n[e(566)])}p||v||!m||g(m)}}(this[t(809)]),{priority:t(575)}),this[t(809)][t(602)][t(540)].on(t(619),((e,i,s)=>{const n=t,r=s[n(492)][n(740)](i[n(566)]);if(r)for(const t of r)(t[n(664)](n(553))||t[n(664)](n(722)))&&(s[n(492)][n(793)](t,i[n(566)]),s[n(648)][n(487)](t))}),{priority:t(575)}),this[t(809)][t(602)][t(540)].on(t(593),((e,i,s)=>{const n=t,r=i[n(566)][n(601)](":")[1],o=this[n(728)](r);if(!o)return null;const a=n(754)==o[n(550)]?n(601):n(548);if(s[n(573)][n(778)](i[n(796)],e[n(539)]))for(const t of i[n(796)][n(765)]()){if(!t.is(n(642),n(698)))continue;const e=s[n(648)][n(635)](n(633),{class:n(752)+a}),r=s[n(492)][n(678)](this[n(809)][n(555)][n(729)](t));o[n(597)][n(665)]&&s[n(648)][n(639)](n(752)+a+n(655),e),this[n(561)]==o&&s[n(648)][n(639)](n(499),e),s[n(648)][n(624)](r,e),s[n(492)][n(670)](e,i[n(566)])}}),{priority:t(575)}),this[t(809)][t(555)][t(641)].on(t(498),(()=>{const e=t;this[e(809)][e(602)][e(529)][e(498)]((t=>{const i=e;for(const e of this[i(809)][i(555)][i(641)][i(632)]()){const s=this[i(809)][i(555)][i(641)][i(580)](e),n=this[i(809)][i(602)][i(529)][i(641)][i(580)](e);if(n){const e=s[i(543)](i(708));if(t[i(587)](i(733),n),t[i(647)](i(637),n),t[i(647)](i(693),n),t[i(647)](i(723),n),e){const s=this[i(728)](e);if(!s)return null;t[i(691)](i(733),e,n),t[i(639)](i(502)+s[i(550)],n),this[i(561)]==s&&t[i(639)](i(723),n)}}}}))})),this[t(809)][t(777)][t(607)](t(628))[t(719)]({view:t(625),model:e=>t(761)+e,converterPriority:t(485)}),this[t(809)][t(777)][t(607)](t(628))[t(719)]({view:t(776),model:e=>t(505)+e,converterPriority:t(485)}),this[t(809)][t(777)][t(607)](t(590))[t(603)]({model:t(685),view:e=>({name:t(605)+e,group:t(685)}),converterPriority:t(485)}),this[t(809)][t(777)][t(607)](t(556))[t(688)]({model:t(685),view:e=>{const i=t,s=e[i(566)][i(601)](":")[1];return i(770)!=s&&i(668)!=s?null:{classes:[i(503),i(677)+s]}}}),this[t(809)][t(602)][t(540)].on(t(683),ie(this[t(809)],t(548)),{priority:t(575)}),this[t(809)][t(602)][t(540)].on(t(560),ie(this[t(809)],t(601)),{priority:t(575)}),this[t(809)][t(602)][t(540)].on(t(774),((e,i,s)=>{const n=t,r=s[n(492)][n(740)](i[n(566)]);if(r)for(const t of r)t.is(n(604))&&(s[n(492)][n(793)](t,i[n(566)]),s[n(648)][n(487)](t))}),{priority:t(575)})}[Kt(728)](t){const e=Kt;return this[e(571)][e(757)](t)}[Kt(500)](t){const e=Kt;return this[e(508)]&&this[e(508)][e(630)](),this[e(508)]=new Ut(this[e(809)][e(734)],t),this[e(508)]}[Kt(763)](){const t=Kt;this[t(809)][t(555)][t(641)][t(516)][t(572)](t(699)),this.on(t(583),((e,i,s,n)=>{const r=t;n&&this[r(621)][r(487)](n),s&&(this[r(621)][r(754)]({view:s,stackId:r(700),position:{target:()=>{const t=r,e=this[t(809)][t(602)],i=this[t(728)](s[t(596)]);let n;if(i[t(597)][t(507)]){const s=e[t(529)][t(514)](i[t(634)]);n=Array[t(565)](s[t(672)]())}else{const i=this[t(809)][t(555)][t(592)][t(757)](t(521)+s[t(596)]);n=Array[t(565)](e[t(492)][t(740)](i[t(539)]))[t(674)]((i=>e[t(529)][t(520)][t(772)](i)))[t(674)]((e=>Array[t(565)](e[t(672)]())))[t(656)]()}return this[t(721)]&&n[t(782)]((e=>e[t(767)]-3<=this[t(721)].y&&e[t(739)]+3>=this[t(721)].y&&e[t(748)]-3<=this[t(721)].x&&e[t(727)]+3>=this[t(721)].x))||n[0]}}}),this[r(621)][r(749)](r(700)))})),this.on(t(623),((e,i,s,n)=>{const r=t;this[r(784)]=s?this[r(500)](s):null,this[r(809)][r(555)][r(498)]((()=>{const t=r,e=this[t(809)][t(602)];n&&(n[t(597)][t(507)]?e[t(529)][t(498)]((i=>{const s=t;i[s(647)](s(723),e[s(529)][s(641)][s(580)](n[s(634)]))})):e[t(715)](t(521)+n.id)),s&&(s[t(597)][t(507)]?e[t(529)][t(498)]((i=>{const n=t;i[n(639)](n(723),e[n(529)][n(641)][n(580)](s[n(634)]))})):e[t(715)](t(521)+s.id))}))})),this[t(511)](this[t(809)][t(602)][t(529)][t(641)],t(676),((e,i)=>{const s=t;if(this[s(561)])return;const n=this[s(797)](i[s(712)]),r=this[s(571)][s(757)](n);r?(this[s(721)]={x:i[s(613)].x,y:i[s(613)].y},this[s(784)]=this[s(500)](r)):(this[s(721)]=null,this[s(784)]=null)})),this[t(511)](this[t(809)][t(602)][t(529)][t(641)],t(649),((e,i)=>{const s=t,n=this[s(797)](i[s(712)]),r=this[s(571)][s(757)](n);r?(this[s(721)]={x:i[s(613)].x,y:i[s(613)].y},r===this[s(561)]?this[s(621)][s(496)]():this[s(561)]=r):(this[s(721)]=null,this[s(561)]=null)}))}[Kt(797)](t){const e=Kt;do{const i=t[e(543)](e(733));if(i)return i;t=t[e(654)]}while(t);return null}[Kt(638)](){const t=Kt;this[t(809)][t(555)][t(498)]((e=>{const i=t;for(const t of this[i(809)][i(555)][i(592)])e[i(753)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(573)][r(778)](s[r(796)],i[r(539)]))return;const o=s[r(796)][r(640)](),a=s[r(796)][r(557)],c=t[r(555)][r(612)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(701)];h=h||c[r(486)](e);const i=n[r(492)][r(537)](e);if(i&&i[r(743)](r(586)))return;r(651)==t[r(550)]&&c[r(652)](e)&&!c[r(589)](e)&&(e[r(595)]||a[r(530)]?u&&u[r(654)]==e||(u=e,f(t[r(779)]),d=!0):l=l||t[r(779)])}function f(t){const i=r,o=n[i(492)][i(678)](t),a=n[i(648)][i(635)](i(633),{class:i(677)+e});n[i(648)][i(624)](o,a),n[i(492)][i(670)](a,s[i(566)])}h||d||!l||f(l)}}class se extends W.Command{constructor(t){const e=Kt;super(t);const i=t[e(547)][e(757)](ee);this[e(549)]=!1,this[e(511)](i,e(731),(()=>this[e(745)]())),this[e(511)](i,e(600),(()=>this[e(745)]()))}[Kt(582)](){const t=Kt,e=this[t(809)],i=e[t(547)][t(757)](ee),s=i[t(744)]?i[t(689)][t(756)]:null;e[t(579)][t(757)](t(546))[t(747)](s)}[Kt(745)](){const t=Kt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(809)][t(547)][t(757)](ee),r=n&&s[t(769)](n[t(756)]);this[t(562)]=e&&i&&Boolean(r)}}class ne extends W.Command{[Kt(692)];constructor(t,{direction:e}){const i=Kt;super(t);const s=t[i(547)][i(757)](ee);this[i(549)]=!1,this[i(692)]=i(588)===e?1:-1,this[i(511)](s,i(731),(()=>this[i(745)]())),this[i(511)](s,i(600),(()=>this[i(745)]())),this[i(511)](s,i(623),(()=>this[i(745)]()))}[Kt(582)](){const e=Kt,i=this[e(809)],s=i[e(547)][e(757)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(561)]=n?s[e(689)][e(808)][e(757)](r+this[e(692)]):s[e(689)][e(808)][e(488)],s[e(561)][e(597)][e(507)])o=i[e(602)][e(529)][e(514)](s[e(561)][e(634)]);else{const t=i[e(555)][e(592)][e(757)](e(521)+s[e(561)].id);o=(0,Z.getMarkerDomElement)(i[e(602)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Kt(745)](){const t=Kt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(809)][t(547)][t(757)](ee);this[t(562)]=!!(r&&n&&s)&&(!e||(1===this[t(692)]?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=Tt();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=292]})(t,e)}function ce(){const t=["1940430vfGber","numberOfChanges","7NMMlXy","setTemplate","2371592grKTND","forward","12GcwwZV","ck-revision-history-ui__changes-navigation__label","No changes","currentChangeNumber","NUMBER_OF_CHANGES","bind","isEnabled","isReady","bindTemplate","X_OF_Y_CHANGES","Loading...","div","EDIT_X_OF_Y_REVISIONS","Show previous change","ck-hidden","67675cSQMpY","Show next change","ck-revision-history-ui__changes-navigation","_isStatusLabelVisible","Total","606764mILvHn","backward","set","203605EzqFTS","ck-revision-history-ui","execute","5811hriIXh","isForwardNavigationEnabled","isNavigationMode","ck-revision-history-ui__changes-navigation__wrapper","fire","ck-revision-history-ui__changes-navigation__navigation","_statusText","span","4020453jBSmDm","isBackwardNavigationEnabled","20YkaHuo"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(181527===parseInt(e(303))/1+-parseInt(e(300))/2+parseInt(e(306))/3*(-parseInt(e(323))/4)+parseInt(e(295))/5+-parseInt(e(317))/6*(parseInt(e(319))/7)+-parseInt(e(321))/8+-parseInt(e(314))/9*(-parseInt(e(316))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(331)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(302)](e(308),!1),this[e(302)](e(330),!1),this[e(302)](e(326),0),this[e(302)](e(318),0),this[e(302)](e(307),!1),this[e(302)](e(315),!1),this[e(328)](e(298)).to(this,e(330),this,e(318),((t,e)=>t&&e>0)),this[e(328)](e(312)).to(this,e(330),this,e(326),this,e(318),this,e(308),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(333));if(!n)return Q(t,o(325));const a=Q(t,o(327),n);return r?Q(t,o(332),[s+1,n]):a})),s[e(302)]({label:Q(t,e(293)),tooltip:!0,icon:mt.IconChevronUp}),n[e(302)]({label:Q(t,e(296)),tooltip:!0,icon:mt.IconChevronDown}),s[e(328)](e(329)).to(this,e(315)),n[e(328)](e(329)).to(this,e(307)),s.on(e(305),(()=>this[e(310)](e(305),e(301)))),n.on(e(305),(()=>this[e(310)](e(305),e(322)))),this[e(320)]({tag:e(334),attributes:{class:["ck",e(304),e(297)]},children:[{tag:e(313),attributes:{class:[e(309)]},children:[{tag:e(313),attributes:{class:[e(324),i.if(e(298),e(294),(t=>!t))]},children:[{text:i.to(e(308),(i=>i?Q(t,e(292))+": ":Q(t,e(299))+": "))}]},{text:i.to(e(312))}]},new pt.ToolbarSeparatorView,{tag:e(334),attributes:{class:[e(311)]},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=Tt();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=me();return(de=function(t,e){return i[t-=284]})(t,e)}const fe=de;function me(){const t=["10OgmApx","isOfficialPlugin","RevisionViewerLoadingOverlay","28509NHUFiG","6674558vpJopC","show","editing","6531nGrnzv","332XADmDJ","view","change","ck-editor__editable__loading-overlay","addClass","editor","7941660oDjqui","307280RTDrPi","isPremiumPlugin","removeClass","136ZognHY","95868HHNJah","document","3244lGATfa","roots","pluginName","4452pIRDGB","546NDIcyY","hide"];return(me=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(553532===parseInt(e(301))/1*(parseInt(e(297))/2)+parseInt(e(306))/3*(-parseInt(e(284))/4)+parseInt(e(291))/5+-parseInt(e(300))/6*(parseInt(e(310))/7)+parseInt(e(294))/8*(-parseInt(e(295))/9)+-parseInt(e(303))/10*(-parseInt(e(307))/11)+parseInt(e(290))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=fe(287);class ve extends W.Plugin{static get[fe(299)](){return fe(305)}static get[fe(304)](){return!0}static get[fe(292)](){return!0}[fe(308)](){const t=fe,e=this[t(289)][t(309)][t(285)];e[t(286)]((i=>{const s=t;for(const t of e[s(296)][s(298)])i[s(288)](pe,t)}))}[fe(302)](){const t=fe,e=this[t(289)][t(309)][t(285)];e[t(286)]((i=>{const s=t;for(const t of e[s(296)][s(298)])i[s(293)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=340]})(t,e)}function ke(){const t=["init","RevisionViewerUI","isOfficialPlugin","isForwardNavigationEnabled","Restore this revision","bind","restoreRevision","isReady","exitToEditing","set","isEnabled","changesNavigation","56328qOkteQ","showPreviousChange","isNavigationMode","22gHbLGV","config","get","17580ufsydO","editor","currentChangeNumber","add","1931216eduRrz","requires","numberOfChanges","5361470gWPaYy","ck-revision-history-ui__back-to-editing","1948962FGUxpT","plugins","closeRevisionViewerCallback","revisionHistory","change:isReady","isPremiumPlugin","execute","2941075FkWiUC","Back to editing","11498CjzDjj","showNextChange","hide","2259DYGiwB","componentFactory","forward","isBackwardNavigationEnabled","10pyQmNs","show","listenTo","308mPCpHq","pluginName","commands"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(929952===-parseInt(e(342))/1*(parseInt(e(349))/2)+-parseInt(e(382))/3+parseInt(e(377))/4+parseInt(e(340))/5+-parseInt(e(373))/6*(parseInt(e(352))/7)+-parseInt(e(367))/8*(-parseInt(e(345))/9)+-parseInt(e(380))/10*(parseInt(e(370))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends W.Plugin{static get[ge(353)](){return ge(356)}static get[ge(357)](){return!0}static get[ge(387)](){return!0}static get[ge(378)](){return[ee,ve]}[ge(355)](){const t=ge,e=this[t(374)],i=e[t(383)][t(372)](ee),s=e[t(383)][t(372)](ve);e.ui[t(346)][t(376)](t(363),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(364)]({label:Q(i,s(341)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(381)}),this[s(351)](n,s(388),(()=>{const t=s;e[t(371)][t(372)](t(385))[t(384)]()})),n})),e.ui[t(346)][t(376)](t(361),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(364)]({label:Q(i,s(359)),withText:!0,tooltip:!0}),n[s(360)](s(365)).to(e[s(354)][s(372)](s(361))),this[s(351)](n,s(388),(()=>e[s(388)](s(361)))),n})),e.ui[t(346)][t(376)](t(366),(s=>{const n=t,r=new ue(s),o=e[n(354)][n(372)](n(368)),a=e[n(354)][n(372)](n(343));return r[n(360)](n(348)).to(o,n(365)),r[n(360)](n(358)).to(a,n(365)),r[n(360)](n(362),n(375),n(379),n(369)).to(i),this[n(351)](r,n(388),((t,i)=>{const s=n;e[s(388)](s(347)===i?s(343):s(368))})),r})),s[t(350)](),i.on(t(386),((e,i,n)=>{const r=t;n?s[r(344)]():s[r(350)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Tt();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Te;function Se(){const t=["fieldView","destroy","value","_resizeObserver","18xaHSFY","4OBGsni","Revision name","extendTemplate","287008mveNql","render","scrollWidth","10752300htMNlz","1uqJDfv","listenTo","_tooltipString","3065cRsQLK","set","1420573xGvDwL","ck-revision-history-sidebar__revision-name","input","element","11FTsjfB","Enter the revision name","span","bindTemplate","2592650eNVfRj","688616RfEHaY","ck-tooltip_multi-line","1069179thkcPg","placeholder","4674MryuEG","clientWidth","_updateTooltipText"];return(Se=function(){return t})()}function Te(t,e){const i=Se();return(Te=function(t,e){return i[t-=292]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(239297===parseInt(e(300))/1*(-parseInt(e(296))/2)+parseInt(e(316))/3*(-parseInt(e(293))/4)+parseInt(e(303))/5*(parseInt(e(318))/6)+-parseInt(e(305))/7+-parseInt(e(314))/8*(parseInt(e(292))/9)+-parseInt(e(313))/10+parseInt(e(309))/11*(parseInt(e(299))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends pt.LabeledFieldView{[Ie(324)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(312)];this[i(304)]({label:Q(t,i(294)),_tooltipString:""}),this[i(321)][i(317)]=Q(t,i(310)),this[i(295)]({tag:i(311),attributes:{class:[i(306)],"data-cke-tooltip-text":s.to(i(302)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(315)}})}[Ie(297)](){const e=Ie;super[e(297)](),this[e(324)]=new t.ResizeObserver(this[e(321)][e(308)],(()=>this[e(320)]())),this[e(301)](this[e(321)],e(307),(()=>this[e(320)]()))}[Ie(322)](){const t=Ie;super[t(322)](),this[t(324)]&&this[t(324)][t(322)]()}[Ie(320)](){const t=Ie,e=this[t(321)][t(308)];this[t(302)]=e[t(298)]>e[t(319)]&&e[t(323)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Tt();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(){const t=["push","9lcftST","234036ftznkQ","205LssHhe","0 0 11 10","setTemplate","94cCfVCD","7151qbvKGK","Revision author","75cucyYQ","ck-revision-history-sidebar__revision-author","13857872yTYkBA","set","7nTOEMP","name","36751872OvppWb","ck-revision-history-sidebar__revision-author__name","span","Revision creator","7688252benSFH","4055140LXoQZi","ck-revision-history-sidebar__revision-author_creator","129172mjaiKM"];return(Re=function(){return t})()}function Ae(t,e){const i=Re();return(Ae=function(t,e){return i[t-=406]})(t,e)}!function(t){const e=Ae,i=t();for(;;)try{if(902042===parseInt(e(423))/1*(parseInt(e(422))/2)+parseInt(e(425))/3*(-parseInt(e(415))/4)+parseInt(e(419))/5*(parseInt(e(418))/6)+parseInt(e(406))/7*(parseInt(e(427))/8)+-parseInt(e(417))/9*(-parseInt(e(413))/10)+parseInt(e(412))/11+-parseInt(e(408))/12)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(428)]({content:mt.IconUser,viewBox:s(420)});const r=["ck",s(426)];i&&r[s(416)](s(414));const o=[{tag:s(410),attributes:{class:["ck",s(409)],title:Q(t,s(i?411:424))},children:[n,e[s(407)]]}];this[s(421)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){var t=["numeric","toLocaleTimeString","2oJRJzy","60PZtVtV","124870DMfgsd","24qgToqs","372504KycLAZ","toLocaleDateString","1614746UDQuYC","1653510nbXNdw","1716451uFRZsC","117lTIWHc","4245156KkEyHp","12tSdFFw","long","145430ypCNED"];return(Ve=function(){return t})()}function De(t,e){var i=Ve();return(De=function(t,e){return i[t-=345]})(t,e)}!function(t){for(var e=De,i=t();;)try{if(379392===parseInt(e(354))/1*(parseInt(e(350))/2)+parseInt(e(357))/3+-parseInt(e(345))/4*(parseInt(e(347))/5)+-parseInt(e(360))/6+-parseInt(e(356))/7*(parseInt(e(353))/8)+parseInt(e(359))/9*(parseInt(e(352))/10)+parseInt(e(358))/11*(parseInt(e(351))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Tt();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["_action","first","add","19354FjnmFb","button","isReady","Compare against selected","bindTemplate","isActionsDropdownOpen","action","class","99MSaCZz","listenTo","Restore this revision","533940JVGCxZ","name","items","map","panelPosition","isVisible","8113264tvxpNs","menuitem","find","9EtuZiY","menu","isOpen","54payYsQ","change:isActionsDropdownOpen","execute","source","model","function","extendTemplate","ck-revision-history-sidebar__revision__actions","isEnabled","1551207xUVxCn","stopPropagation","children","Show more items","10417372Brocdg","locale","32070500CpSbAt","listView","bind","ck-on","set","119684sjLjux","Name this revision","buttonView"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=123]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(776357===parseInt(e(132))/1+parseInt(e(149))/2+-parseInt(e(157))/3*(-parseInt(e(143))/4)+parseInt(e(160))/5*(parseInt(e(123))/6)+parseInt(e(136))/7+parseInt(e(166))/8*(-parseInt(e(169))/9)+-parseInt(e(138))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Tt();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=Ue;function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=464]})(t,e)}function We(){const t=["287340NrCkZI","unhighlight","ck-revision-history-sidebar__revision-wrapper","4521TJPjKl","createdAt","uiLanguage","8gFIkoV","div","63sDOVkg","highlight","102bmMQqO","creator","isSelected","revisionActionsView","from","setName","ck-revision-history-sidebar__actions_dropdown_open","fire","authors","28IHeHcd","setTemplate","4937772TOfjjs","unshift","name","fieldView","render","isEnabled","4194708NXMAdR","ck-revision-history-sidebar__revision__controls-wrapper","ck-reset","ck-revision-history-sidebar__revision_highlighted","isActionsDropdownOpen","filter","_revision","_requireRevisionName","select","extendTemplate","map","closest","11160bkxLhp","bindTemplate","3nKCSnk","ck-revision-history-sidebar__revision","length","isReady","ck-revision-history-sidebar__revision_selected","value","790660agtRFC","listenTo","element","isHighlighted","srcElement","95350EhexMA","span",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","set","deselect","ck-revision-history-sidebar__revision-authors","revisionNameView","_createdAtFormatted","28095nxJqYB","change","220","isConfirm","ck-revision-history-sidebar__revision__date","26pKEtwT","bind","ck-disabled"];return(We=function(){return t})()}!function(t){const e=Ue,i=t();for(;;)try{if(510450===-parseInt(e(519))/1*(-parseInt(e(530))/2)+-parseInt(e(478))/3*(parseInt(e(497))/4)+-parseInt(e(470))/5*(parseInt(e(488))/6)+-parseInt(e(499))/7*(-parseInt(e(484))/8)+parseInt(e(486))/9*(-parseInt(e(525))/10)+-parseInt(e(481))/11*(-parseInt(e(517))/12)+parseInt(e(475))/13*(parseInt(e(505))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(468)];[ze(491)];[ze(511)];[ze(512)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(518)],a=function(t,e){const i=r,s=Array[i(492)](e[i(496)])[i(510)]((t=>t!=e[i(489)]));return e[i(489)]&&s[i(500)](e[i(489)]),s[i(515)]((s=>new Me(t,s,s==e[i(489)])))}(e,i);this.id=i.id,this[r(511)]=i,this[r(512)]=n,this[r(476)](r(501),r(482)).to(i),this[r(476)](r(469)).to(this,r(482),(t=>{return i=e[r(483)],(s=t)[(n=De)(355)](i,{month:n(346),day:n(348)})+", "+s[n(349)](i,{hour:n(348),minute:n(348)});var i,s,n})),this[r(465)](r(490),!1),this[r(465)](r(528),!1),this[r(465)](r(509),!1),this[r(465)](r(522),!1),this[r(465)](r(504),!1),this[r(468)]=new Oe(e,pt.createLabeledInputText),this[r(468)][r(502)][r(514)]({attributes:{maxlength:r(472)}}),this[r(468)][r(502)][r(476)](r(524)).to(this,r(501),(t=>t||this[r(469)])),this[r(468)][r(476)](r(504)).to(this,r(490),this,r(504),((t,e)=>t&&e)),this[r(491)]=s&&s[r(521)]?function(e,i){const s=je,n=e[s(153)],r=e[s(137)],o=(0,pt.createDropdown)(r);o[s(164)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(137)],n={"Compare against selected":Q(s,i(152)),"Name this revision":Q(s,i(144)),"Restore this revision":Q(s,i(159))};return e[i(163)]((t=>{const e=i,s=n[t[e(161)]];return s&&s!==t[e(161)]&&(t[e(161)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(150),model:new pt.ViewModel({label:t[n(161)],class:t[n(156)],withText:!0,role:n(167),_action:t[n(155)]})};i[n(127)][n(140)](n(131)).to(e,n(154),(i=>n(128)!=typeof t[n(131)]||!i||t[n(131)](e))),o[n(148)](i)}return o}(e,i);return e[s(140)](s(154)).to(o,s(171)),o[s(145)][s(142)]({label:Q(r,s(135)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(129)]({attributes:{class:[s(130),n.if(s(154),s(141))]},on:{click:n.to((t=>t[s(133)]()))}}),o.on(s(125),(t=>{const i=s;e[i(151)]&&i(128)==typeof t[i(126)][i(146)]&&t[i(126)][i(146)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(170)}),o[s(158)](e,s(124),((t,n,r)=>{const a=s;if(r)for(const t of o[a(139)][a(162)]){const s=t[a(134)][a(147)],n=i[a(168)]((t=>t[a(155)]===s[a(146)]))[a(165)];t[a(165)]=void 0===n||n(e)}})),o}(this,s):"",this[r(491)]&&this[r(491)][r(476)](r(504)).to(this),this[r(498)]({tag:r(485),attributes:{class:["ck",r(507),r(480),o.if(r(473),r(464))]},children:[{tag:r(485),attributes:{class:["ck",r(507),r(520),o.if(r(504),r(477),(t=>!t)),o.if(r(490),r(523)),o.if(r(528),r(508)),o.if(r(509),r(494))]},children:[this[r(468)],{tag:r(531),attributes:{class:["ck",r(474)]},children:[{text:o.to(r(469))}]},{tag:r(485),attributes:{class:["ck",r(506)]},children:[{tag:"ul",attributes:{class:["ck",r(467)]},children:a}]},this[r(491)]],on:{click:o.to((t=>{const e=r;t[e(529)][e(516)](e(532))||this[e(522)]&&this[e(504)]&&this[e(495)](e(513),{id:this.id})}))}}]})}[ze(503)](){const t=ze;super[t(503)]();const e=this[t(468)][t(502)][t(527)];this[t(526)](e,t(471),(()=>{const i=t;this[i(512)]&&!e[i(524)]||this[i(495)](i(493),{id:this.id,name:e[i(524)]}),e[i(524)]||(e[i(524)]=this[i(501)]?this[i(501)]:this[i(469)])}))}[ze(513)](){this[ze(490)]=!0}[ze(466)](){this[ze(490)]=!1}[ze(487)](){this[ze(528)]=!0}[ze(479)](){this[ze(528)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be 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 Xe extends He{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Qe="short",ti="long",ei={year:Ke,month:Ke,day:Ke},ii={year:Ke,month:Qe,day:Ke},si={year:Ke,month:Qe,day:Ke,weekday:Qe},ni={year:Ke,month:ti,day:Ke},ri={year:Ke,month:ti,day:Ke,weekday:ti},oi={hour:Ke,minute:Ke},ai={hour:Ke,minute:Ke,second:Ke},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,second:Ke,timeZoneName:ti},li={hour:Ke,minute:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:ti},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},pi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},vi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke},gi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke},yi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke},ki={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,timeZoneName:Qe},bi={year:Ke,month:ti,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},wi={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,timeZoneName:ti},_i={year:Ke,month:ti,day:Ke,weekday:ti,hour:Ke,minute:Ke,second:Ke,timeZoneName:ti};class Ii{get type(){throw new Xe}get name(){throw new Xe}get ianaName(){return this.name}get isUniversal(){throw new Xe}offsetName(t,e){throw new Xe}formatOffset(t,e){throw new Xe}offset(t){throw new Xe}equals(t){throw new Xe}get isValid(){throw new Xe}}let Si=null;class Ti extends Ii{static get instance(){return null===Si&&(Si=new Ti),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 Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Oi={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=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 Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_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 Di={};let Ei={};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=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 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&&Ts()&&(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 Ui={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,Mi={},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=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?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 ji(this,t,Ks,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=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:Os()?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):Ui}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${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 qi 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?Ti.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 qi(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]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Xi({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let Ki,Qi=()=>Date.now(),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,Ti.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 Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){Wi.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=Us(c,e,i)):u>Us(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 Ts(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function 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 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 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 Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Ws(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 qs(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)]=qs(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}${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"],Xs=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Xs];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 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 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 Ks(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 Tn(t,e,i){const s=t[e];return _s(s)?i:Vs(s)}function On(t,e){return[{hours:Tn(t,e,0),minutes:Tn(t,e+1,0),seconds:Tn(t,e+2,0),milliseconds:Es(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(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 Vn={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(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?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?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[Dn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Hi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:Tn(t,e),month:Tn(t,e+1,1),day:Tn(t,e+2,1)},null,e+3]}),On,xn,Nn),$n=mn(wn,On,xn,Nn),Bn=mn(_n,On,xn,Nn),Yn=mn(On,xn,Nn);const Gn=mn(On);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Xn=fn(In),Kn=mn(On,xn,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 Je("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 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 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 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):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]=qs(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||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:Ts(),localeWeek:Os()}}}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+=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 Tr=null;function Or(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=Or(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Xi(e),s=Xi(e,"{2}"),n=Xi(e,"{3}"),r=Xi(e,"{4}"),o=Xi(e,"{6}"),a=Xi(e,"{1,2}"),c=Xi(e,"{1,3}"),u=Xi(e,"{1,6}"),l=Xi(e,"{1,9}"),h=Xi(e,"{2,4}"),d=Xi(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 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=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 xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Tr||(Tr=io.fromMillis(1555555555555)),Tr)),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 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 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 Ur(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+=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},qr={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"],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 Xr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Vr(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]=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 Kr(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: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||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 Xr({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=Hi.utcInstance,Xr({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(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:Wi.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:Wi.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=Wi.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=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,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,Us(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,[Un,qn],[Wn,$n],[Zn,Bn],[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),[En,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=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):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,qn],[Xn,Kn])}(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 qe(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 Or(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=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?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(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=Wr(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(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 Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(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")),Ur(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),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(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(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 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=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?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-=453]})(t,e)}function ro(){const t=["hasSame","local","918708IihGAL","110ipINEc","year","day","startOf","week","setLocale","fromJSDate","minus","8836730CejkzP","toJSDate","6zMgRyh","6350WSQNNG","3092165EVbhhj","weekdayLong","month","1113812hWysHs","9819248EmtJGv","monthLong","42195555uDtTmD","toRelativeCalendar"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(469)](t)[i(468)](e),n=io[i(461)](),r=n[i(470)]({days:1})[i(466)](i(465));let o,a;return s[i(460)](n,i(465))?(o=s[i(466)](i(465))[i(472)](),a=s[i(459)]()):s[i(460)](r,i(465))?(o=r[i(472)](),a=s[i(459)]()):s[i(460)](n,i(467))?(o=s[i(466)](i(467))[i(472)](),a=s[i(453)]||""):s[i(460)](n,i(464))?(o=s[i(466)](i(454))[i(472)](),a=s[i(457)]||""):(o=s[i(466)](i(464))[i(472)](),a=String(s[i(464)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(827128===-parseInt(e(463))/1*(parseInt(e(474))/2)+-parseInt(e(473))/3*(parseInt(e(455))/4)+-parseInt(e(475))/5+parseInt(e(462))/6+-parseInt(e(471))/7+-parseInt(e(456))/8+parseInt(e(458))/9)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=Tt();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["createCollection","localizedPeriodName","select","locale","1317400KOOBgm","25QcRvpp","277zxKmsc","_revisionActions","addRevision","ck-revision-history-sidebar__time-period__label","setTemplate","div","13515849LNiyWW","delegate","10bOrexl","3681560hPvWbR","141786ZcbpAZ","removeRevision","find","_requireRevisionName","642435FwEPkF","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period","revisionViews","startDate","setName","uiLanguage","span","1964068BKbMzE","1658yjmXUV","add","remove"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(636082===parseInt(e(222))/1*(parseInt(e(213))/2)+-parseInt(e(204))/3+-parseInt(e(212))/4+-parseInt(e(221))/5*(parseInt(e(200))/6)+parseInt(e(220))/7+-parseInt(e(199))/8+-parseInt(e(228))/9*(-parseInt(e(230))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(208)];[uo(207)];[uo(223)];[uo(203)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(219)][n(210)])[n(217)];this[n(208)]=e,this[n(207)]=this[n(216)](),this[n(223)]=i,this[n(203)]=s,this[n(207)][n(229)](n(218)).to(this),this[n(207)][n(229)](n(209)).to(this),this[n(226)]({tag:n(227),attributes:{class:["ck",n(206)]},children:[{tag:n(211),attributes:{class:["ck",n(225)]},children:[{text:r}]},{tag:n(227),attributes:{class:["ck",n(205)]},children:this[n(207)]}]})}[uo(224)](t){const e=uo,i=new Ze(this[e(219)],t,this[e(223)],this[e(203)]);this[e(207)][e(214)](i)}[uo(201)](t){const e=uo,i=this[e(207)][e(202)]((e=>e.id===t.id));this[e(207)][e(215)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Tt();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["3lkYCiE","138414XjJEzT","ck-reset_all","271526xQnbKS","251760iUSrqx","11335TNrYTt","content","14791032swTdBH","Revision history","div","4714576gRcnCu","span","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","2900436fONFkr","354dYdcyD","setTemplate"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=490]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(711278===-parseInt(e(501))/1+parseInt(e(503))/2+-parseInt(e(500))/3*(parseInt(e(493))/4)+-parseInt(e(505))/5*(parseInt(e(498))/6)+parseInt(e(497))/7+-parseInt(e(504))/8+parseInt(e(490))/9)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(506)]=mt.IconHistory,this[e(499)]({tag:e(492),attributes:{class:["ck",e(502),e(496)]},children:[i,{tag:e(494),attributes:{class:["ck",e(495)]},children:[Q(t,e(491))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Tt();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=263]})(t,e)}function _o(){const t=["getTime","startDate","77SJsIrF","176728NNIoZe","get","delegate","ck-reset","remove","2899weTumc","isEnabled","createdAt","some","unhighlight","ck-rounded-corners","revisionSetName","_revisions","325YjaEhn","2VxMefS","set","setTemplate","1428qdcUrM","render","_removeRevision","addRevision","locale","_getTimePeriodViewByStartDate","selectRevision","fire","highlightRevisions","setName","1017291APIYqd","timePeriodViews","select","map","div","16FPawyY","ck-revision-history-sidebar","15572BWcyZB","flat","uiLanguage","8124CpkUwP","createCollection","find","highlight","1239993oswhvI","bindTemplate","ck-disabled","add","ck-revision-history-sidebar__timeline","revisionViews","_revisionActions","_requireRevisionName","_addRevision","593710SPYgAW","removeRevision","81084viMEdl","revisionSelected","deselect"];return(_o=function(){return t})()}const Io=wo;!function(t){const e=wo,i=t();for(;;)try{if(229426===-parseInt(e(300))/1*(-parseInt(e(314))/2)+parseInt(e(269))/3+-parseInt(e(276))/4*(-parseInt(e(313))/5)+-parseInt(e(279))/6*(-parseInt(e(317))/7)+parseInt(e(274))/8*(parseInt(e(283))/9)+parseInt(e(292))/10*(parseInt(e(299))/11)+-parseInt(e(294))/12*(parseInt(e(305))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[Io(270)];[Io(312)];[Io(289)];[Io(290)];constructor(t,e,i,s){const n=Io;super(t);const r=this[n(284)];this[n(270)]=this[n(280)](),this[n(270)][n(302)](n(271)).to(this),this[n(270)][n(302)](n(268)).to(this),this[n(312)]=e,this[n(289)]=i,this[n(290)]=s,this.on(n(271),((t,e)=>{const i=n;this[i(266)](i(295),e)})),this.on(n(268),((t,e)=>{const i=n;this[i(266)](i(311),e)})),this[n(315)](n(306),!1),this[n(316)]({tag:n(273),attributes:{class:["ck",n(303),n(310),n(275)]},children:[new yo(t),{tag:n(273),attributes:{class:["ck",n(287),r.if(n(306),n(285),(t=>!t))]},children:this[n(270)]}]})}[Io(318)](){const t=Io;super[t(318)]();for(const e of this[t(312)])this[t(291)](e);this[t(312)].on(t(286),((e,i)=>{this[t(291)](i)})),this[t(312)].on(t(304),((e,i)=>{this[t(319)](i)}))}get[Io(288)](){const t=Io;return this[t(270)][t(272)]((e=>e[t(288)][t(272)]((t=>t))))[t(277)]()}[Io(265)](t){const e=Io;for(const i of this[e(288)])t&&t.id===i.id?i[e(271)]():i[e(296)]()}[Io(267)](t){const e=Io;for(const i of this[e(288)])t[e(308)]((({id:t})=>t===i.id))?i[e(282)]():i[e(309)]()}[Io(291)](t){const e=Io,i=oo(t[e(307)],this[e(263)][e(278)])[e(298)];let s=this[e(270)][e(301)](0);s&&s[e(298)][e(297)]()===i[e(297)]()||(s=new fo(this[e(263)],i,this[e(289)],this[e(290)]),this[e(270)][e(286)](s)),s[e(320)](t)}[Io(319)](t){const e=Io,i=oo(t[e(307)],this[e(263)][e(278)])[e(298)];this[e(264)](i)[e(293)](t)}[Io(264)](t){const e=Io;return this[e(270)][e(281)]((i=>i[e(298)][e(297)]()===t[e(297)]()))}}const To=xo;function Oo(){const t=["select","get","4SUMPjf","getRevision","editor","pluginName","init","getLaterVisibleRevision","destroy","data","bind","restoreRevisionCallback","isReady","revisionHistory.revisionActions","1574585svGAbk","appendChild","Restore this revision","restoreRevision","_handleRevisionSetName","length","compareAgainstSelected","ready","setName","Name this revision","newRevisionId","_handleEditorDataReady","336384MwLAOj","852964TkwMJG","1466886IgSdlM","plugins","393039KrRvoM","string","isVisible","revisionSelected","locale","_revisions","revisionHistory","requires","change:diff","fieldView","_createRevisionActions","_handleDiffChange","focus","17067BpBBLc","render","element","assign","104335PaLCcf","listenTo","availableRevisionActions","add","diff","map","repository","remove","revisionHistory.viewerSidebarContainer","nameRevision","highlightRevisions","name","isSelected","isOfficialPlugin","selectRevision","_revisionsRepository","_sidebarView","18DoQLwx","RevisionsSidebar","isPremiumPlugin","getIndex","_revisionViewer","compare","isEnabled","getRevisionsInDiff","revisionSetName","revisionViews","16LvMZWu","action","config","defaultRevisionActions","_handleRevisionSelected","getEarlierVisibleRevision","timePeriodViews","Compare against selected","revisionHistory.requireRevisionName","540aSqEnB"];return(Oo=function(){return t})()}function xo(t,e){const i=Oo();return(xo=function(t,e){return i[t-=173]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(210533===parseInt(e(238))/1*(-parseInt(e(175))/2)+-parseInt(e(221))/3+-parseInt(e(197))/4*(parseInt(e(209))/5)+parseInt(e(223))/6+parseInt(e(222))/7+parseInt(e(185))/8*(-parseInt(e(225))/9)+-parseInt(e(194))/10*(-parseInt(e(242))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class No extends W.Plugin{[To(179)];[To(173)];[To(174)];static[To(188)]=[To(215),To(212),To(251)];static[To(244)]=function(){const t=To;return{compareAgainstSelected:{name:t(192),action:({plugins:e},i)=>{const s=t,n=e[s(196)](ee),r=n[s(248)];let o=n[s(246)][s(219)],a=i.id;r[s(178)](o)>r[s(178)](a)&&([o,a]=[a,o]),n[s(180)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(196)](ee);return!(n[s(248)][s(182)](n[s(246)])[s(214)]>2||i[s(254)])}},restoreRevision:{name:t(211),action:(e,{id:i})=>{const s=t;e[s(187)][s(196)](s(231))[s(206)](i)},isVisible:({plugins:e},i)=>!!e[t(196)](ee)[t(248)][t(202)](i.id)},nameRevision:{name:t(218),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(196)](ee),o=r[n(248)][n(190)](i);r[n(180)](i,o),s[n(237)](),s[n(234)][n(195)]()}}}}();static get[To(200)](){return To(176)}static get[To(255)](){return!0}static get[To(177)](){return!0}static get[To(232)](){return[ee]}constructor(t){const e=To;super(t),this[e(179)]=t[e(224)][e(196)](ee),this[e(173)]=this[e(179)][e(248)],this[e(174)]=null}[To(201)](){const t=To,e=this[t(173)][t(230)],i=this[t(235)](),s=this[t(199)][t(187)][t(196)](t(250));this[t(174)]=new So(this[t(199)][t(229)],e,i,this[t(199)][t(187)][t(196)](t(193))),this[t(174)].on(t(228),this[t(189)][t(205)](this)),this[t(174)].on(t(183),this[t(213)][t(205)](this)),this[t(174)][t(205)](t(181)).to(this[t(179)]),this[t(174)][t(191)].on(t(245),((e,i)=>{const s=t;i[s(184)].on(s(245),((t,e)=>{const i=s;e[i(205)](i(181),i(207)).to(this[i(179)])}))})),this[t(174)][t(239)](),this[t(243)](this[t(199)][t(204)],t(216),this[t(220)][t(205)](this)),this[t(243)](this[t(179)],t(233),this[t(236)][t(205)](this)),s[t(210)](this[t(174)][t(240)])}[To(203)](){const t=To;this[t(174)][t(240)][t(249)](),this[t(174)][t(203)]()}[To(220)](){const t=To,e=this[t(173)][t(198)](0);if(e){const i=this[t(173)][t(190)](e.id);this[t(179)][t(180)](e,i)}}[To(189)](t,e){const i=To,s=this[i(173)][i(198)](e.id),n=this[i(173)][i(190)](s.id);this[i(179)][i(180)](s,n)}[To(213)](t,e){const i=To;this[i(173)][i(198)](e.id)[i(217)](e[i(253)])}[To(236)](t,e,i){const s=To,n=this[s(173)][s(182)](i);n[s(214)]>2?(this[s(174)][s(252)](n),this[s(174)][s(256)](null)):(this[s(174)][s(252)]([]),this[s(174)][s(256)](n[0]))}[To(235)](){const t=To,e=this[t(199)],i=No[t(244)],s=e[t(187)][t(196)](t(208))||No[t(188)];if(s[t(214)])return s[t(247)]((s=>{const n=t,r=n(226)==typeof s?Object[n(241)]({},i[s]):s;return r[n(186)]=r[n(186)][n(205)](this,e),r[n(227)]&&(r[n(227)]=r[n(227)][n(205)](this,e)),r}))}}const Ro=No;function Ao(){const t=["editable","3489176aaqPMZ","element","isFocused","render","ready","bind","init","config","4646vzOIvA","29EGXoPs","6695550rCVXcP","editor","limiterElement","220122Qwifqx","view","rootName","replace","7zXlxEX","fire","stickyPanel","focusTracker","name","attachDomRoot","fillFromConfig","componentFactory","destroy","document","1943680aySIHY","isActive","1957746FXjKxe","get","viewportTopOffset","1963460rrTVWe","_toolbarConfig","detachDomRoot","viewportOffset","setEditableElement","addToolbar","restore","_elementReplacer","toolbar","_initToolbar","getRoot","_view","editing"];return(Ao=function(){return t})()}const Mo=Vo;function Vo(t,e){const i=Ao();return(Vo=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(250525===parseInt(e(134))/1*(-parseInt(e(133))/2)+parseInt(e(138))/3+parseInt(e(152))/4+parseInt(e(157))/5+-parseInt(e(154))/6*(parseInt(e(142))/7)+parseInt(e(125))/8+-parseInt(e(135))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class Do extends pt.EditorUI{[Mo(168)];[Mo(158)];[Mo(164)];get[Mo(139)](){return this[Mo(168)]}constructor(e,i){const s=Mo;super(e),this[s(168)]=i,this[s(158)]=(0,pt.normalizeToolbarConfig)(e[s(132)][s(155)](s(165))),this[s(164)]=new t.ElementReplacer}get[Mo(126)](){const t=Mo;return this[t(139)][t(126)]}[Mo(131)](t){const e=Mo,i=this[e(136)],s=this[e(139)],n=i[e(169)][e(139)],r=s[e(170)],o=n[e(151)][e(167)]();r[e(146)]=o[e(140)],s[e(128)]();const a=r[e(126)];this[e(161)](r[e(146)],a),s[e(170)][e(130)](e(127)).to(this[e(145)]),n[e(147)](a),this[e(164)][e(141)](t,this[e(126)]),this[e(166)](),this[e(143)](e(129))}[Mo(150)](){const t=Mo;super[t(150)]();const e=this[t(139)],i=this[t(136)][t(169)][t(139)];this[t(164)][t(163)](),i[t(159)](e[t(170)][t(146)]),e[t(150)]()}[Mo(166)](){const t=Mo,e=this[t(139)];e[t(144)][t(130)](t(153)).to(this[t(145)],t(127)),e[t(144)][t(137)]=e[t(126)],e[t(144)][t(130)](t(156)).to(this,t(160),(({top:t})=>t)),e[t(165)][t(148)](this[t(158)],this[t(149)]),this[t(162)](e[t(165)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Tt();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;var Fo=Lo;function jo(){var t=["toolbar","35LnkUql","_editable","editable","add","937544qyhBgh","render","88FtTbvw","main","top","stickyPanel","3673732gUdOUT","8lzaDpm","10266372admDsX","2XQaCcp","960924yepJSF","content","150918zxvHSa","shouldToolbarGroupWhenFull","2101495rUbnGo","3XWRfWb","818870wBleRo"];return(jo=function(){return t})()}function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=117]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(945158===parseInt(e(121))/1*(-parseInt(e(130))/2)+-parseInt(e(136))/3*(-parseInt(e(127))/4)+parseInt(e(135))/5+parseInt(e(133))/6*(parseInt(e(117))/7)+parseInt(e(128))/8*(parseInt(e(129))/9)+-parseInt(e(137))/10+-parseInt(e(123))/11*(parseInt(e(131))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(118)];[Fo(126)];[Fo(138)];get[Fo(119)](){return this[Fo(118)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(126)]=new pt.StickyPanelView(t),this[s(138)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(134)]}),this[s(118)]=new pt.InlineEditableUIView(t,e)}[Fo(122)](){var t=Fo;super[t(122)](),this[t(126)][t(132)][t(120)](this[t(138)]),this[t(125)][t(120)](this[t(126)]),this[t(124)][t(120)](this[t(119)])}}const zo=Uo;function Uo(t,e){const i=Zo();return(Uo=function(t,e){return i[t-=225]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(809268===parseInt(e(248))/1*(parseInt(e(251))/2)+-parseInt(e(237))/3+-parseInt(e(231))/4+-parseInt(e(244))/5+-parseInt(e(228))/6+-parseInt(e(227))/7*(parseInt(e(252))/8)+parseInt(e(240))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);class Wo extends((0,W.ElementApiMixin)(W.Editor)){[zo(249)];get ui(){return this[zo(249)]}constructor(t,e){const i=zo;super(e),this[i(243)]=t,this[i(234)][i(250)][i(232)]();const s=new Po(this[i(235)],this[i(233)][i(247)],{shouldToolbarGroupWhenFull:!0});this[i(249)]=new Do(this,s)}[zo(246)](){const t=zo;return this[t(241)](),this.ui[t(246)](),super[t(246)]()}static async[zo(239)](t,e){const i=zo,s=new this(t,e);return await s[i(225)](),await s.ui[i(229)](t),await s[i(242)][i(229)](s[i(238)][i(236)](i(245))||""),s[i(230)](i(226)),s}}function Zo(){const t=["model","locale","get","3995622TVBUtk","config","create","38539629UqfznX","updateSourceElement","data","sourceElement","5471610TrElqd","initialData","destroy","view","167ZUbDJK","_ui","document","17950skNqAE","5688952XUVMuZ","initPlugins","ready","7danTWN","1528602TUylOd","init","fire","6318624nLgsIV","createRoot","editing"];return(Zo=function(){return t})()}const Ho=$o;function qo(){const t=["exitToEditing","document","getUser","toJSON","has","saveRevision","RevisionHistoryUI","editor","revisionHistory.showRevisionViewerCallback","504VVYCVf","closeRevisionViewerCallback","users","remove","translations","creator","203QhJXRJ","_enhanceShowRevisionViewerCallback","name","isAttached","hide","indexOf","121920TlSGtc","isReady","showRevisionViewerCallback","309436qWbDOu","plugins","isOfficialPlugin","toLocaleTimeString","view","uiLanguage","refreshPositioning","_showRevisionViewer","_closeRevisionViewer","element","get","markers","requires","16877RwIUiq","error","createRangeIn","getMarkersGroup","rootName","insert","config","set","isAnonymous","RevisionTracker","loadRevisionData","result","keys","create","then","display","removeSelectionAttribute","numeric","revisionHistory.viewerEditorElement","restoreRevision","Users","pluginName","245YjxDgF","long","RestrictedEditingMode","selection","bind","removeAttribute","refreshVisibility","revisionHistory.restoreRevisionCallback","commands","update","restrictedEditingException","setAttribute","from","RevisionViewerIntegration","addUser","join","DocumentOutlineUI","getRevisions","disableReadOnlyMode","lazyRoots","repository","define","9dNxAbO","detachRoot","getRevision","map","1096fXohPt","push","11EGBJFo","style","data","getAttributeKeys","RevisionsRepository","change","addRoot","_restoreRevision","isOpen","toVersion","revisionHistory","_recalculatePageBreaks","revision-history-missing-configuration","enableReadOnlyMode","Dialog","createdAt","revisionHistory.viewerContainer","init","2322888UaTFwY","isPremiumPlugin","isReadOnly","Restored","revisionHistory.editorContainer","revisionHistory.requireRevisionName","getRevisionRootsAttributes","5086wrbzzV","isEnabled","_update","RevisionViewer","model","enqueueChange","_enhanceCloseRevisionViewerCallback","_viewerEditor","revisionHistory.closeRevisionViewerCallback","10829663SQJpsS","adapter","fromVersion","locale","addRevisionData","block","isRevisionViewerOpen","roots","Autosave","_getRevisionViewerEditorConfig","includes","toLocaleDateString","parse","changesNavigation","RevisionHistoryUtils","fromCharCode","catch","revision-history-viewer-opened","DocumentOutline","getRevisionDocumentData","destroy","getRoot","end","RevisionHistory","setSelection","$graveyard","toolbar","_cleanUp","PaginationLookup","save","23676eXXXCV","none","removeMarker","Annotations"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=185]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(491072===parseInt(e(187))/1*(parseInt(e(284))/2)+-parseInt(e(253))/3*(parseInt(e(196))/4)+parseInt(e(231))/5*(parseInt(e(323))/6)+-parseInt(e(209))/7*(parseInt(e(257))/8)+-parseInt(e(336))/9*(parseInt(e(193))/10)+parseInt(e(259))/11*(parseInt(e(277))/12)+parseInt(e(293))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(333),Ho(233)];class Yo extends W.Plugin{[Ho(220)];static get[Ho(230)](){return Ho(244)}static get[Ho(198)](){return!0}static get[Ho(278)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(256)]((t=>String[e(308)](t)))[e(246)]("")}super(t),this[e(220)]=e(315),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 W.Plugin{[Ho(291)];static get[Ho(230)](){return Ho(316)}static get[Ho(198)](){return!0}static get[Ho(278)](){return!0}static get[Ho(208)](){return[ct,jt]}constructor(e){const i=Ho;if(super(e),!this[i(334)][i(215)][i(206)](i(269)))throw new t.CKEditorError(i(271),this);this[i(291)]=null,this[i(216)](i(299),!1),this[i(334)][i(215)][i(252)](i(335),(t=>this[i(203)]({...t,translations:this[i(334)][i(296)][i(185)]}))),this[i(334)][i(215)][i(252)](i(292),(t=>this[i(204)](t))),this[i(334)][i(215)][i(252)](i(238),(t=>this[i(266)](t))),this[i(334)][i(215)][i(252)](i(282),!1),this[i(188)](),this[i(290)]()}set[Ho(294)](t){const e=Ho;this[e(334)][e(197)][e(206)](e(218))[e(294)]=t}get[Ho(294)](){const t=Ho;return this[t(334)][t(197)][t(206)](t(218))[t(294)]}[Ho(297)](t){const e=Ho;return this[e(334)][e(197)][e(206)](e(218))[e(297)](t)}[Ho(255)](t){const e=Ho;return this[e(334)][e(197)][e(206)](e(263))[e(255)](t)}[Ho(248)](t){const e=Ho;return this[e(334)][e(197)][e(206)](e(263))[e(248)](t||{toJSON:!1})}[Ho(302)](){const e=Ho,i=this[e(334)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(197)][e(206)](e(218)),r=i[e(197)][e(206)](e(229))[e(338)];return s[e(319)]=[e(327),e(228),e(306)],delete s[e(250)],s[e(197)][e(258)](Yo,ee,be,class extends W.Plugin{static get[e(208)](){return[ee,e(229)]}[e(276)](){const s=e,o=this[s(334)][s(197)][s(206)](s(229));for(const t of r)t[s(217)]||o[s(329)](t.id)||o[s(245)](t);const a=n[s(251)][s(248)]();let c=null;const u=this[s(334)][s(197)][s(206)](s(287));u[s(294)]=n[s(294)],u[s(235)](s(285)).to(n),this[s(334)][s(239)][s(206)](s(228))[s(235)](s(285)).to(i,s(279),(t=>!t));for(const e of a){const i=null===e[s(186)];if(i&&e[s(268)]===e[s(295)])continue;const r=e[s(330)]();u[s(297)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(286)](r,o);else if(!o){const e=a[u(330)]();e.id=(0,t.uid)(),n[u(332)](e,a[u(268)])[u(223)]((t=>{c=t}))}}else e[u(286)](r,o)}))}}},Ro),s}[Ho(188)](){const t=Ho,e=this[t(334)][t(215)][t(206)](t(269))[t(195)];this[t(334)][t(215)][t(216)](t(335),(async()=>{const i=t;this[i(334)][i(272)](i(310));const s=this[i(334)][i(197)][i(206)](i(218));if(this[i(334)][i(197)][i(331)](i(301))){const t=this[i(334)][i(197)][i(206)](i(301));await t[i(322)]()}else await s[i(240)]();if(this[i(334)][i(197)][i(331)](i(321))&&this[i(334)][i(197)][i(206)](i(321))[i(270)](),this[i(334)][i(197)][i(331)](i(273))){const t=this[i(334)][i(197)][i(206)](i(273));t[i(267)]&&t[i(191)]()}const n=this[i(302)]();return e(n)[i(223)]((t=>{const e=i;return this[e(291)]=t,this[e(334)][e(197)][e(331)](e(326))&&this[e(334)][e(197)][e(206)](e(326))[e(237)](),this[e(334)][e(197)][e(331)](e(311))&&(this[e(334)][e(197)][e(206)](e(247))[e(200)][e(205)][e(260)][e(224)]=e(324)),t}))[i(309)]((t=>(console[i(210)](t),this[i(334)][i(249)](i(310)),null)))}))}[Ho(290)](){const t=Ho,e=this[t(334)][t(215)][t(206)](t(269))[t(337)];this[t(334)][t(215)][t(216)](t(292),(()=>(this[t(334)][t(197)][t(331)](t(321))&&this[t(334)][t(197)][t(206)](t(321))[t(270)](),this[t(334)][t(197)][t(331)](t(311))&&(this[t(334)][t(197)][t(206)](t(247))[t(200)][t(205)][t(260)][t(224)]=""),this[t(291)][t(197)][t(206)](t(287))[t(320)](),e(this[t(291)])[t(223)]((()=>{const e=t;if(this[e(334)][e(249)](e(310)),this[e(291)]=null,this[e(334)][e(197)][e(331)](e(326))){const t=this[e(334)][e(197)][e(206)](e(326));t[e(237)](),t[e(202)]()}})))))}[Ho(203)](t){const e=Ho,i=this[e(334)][e(215)][e(206)](e(281)),s=this[e(334)][e(215)][e(206)](e(275)),n=this[e(334)][e(215)][e(206)](e(227));return Wo[e(222)](n,t)[e(223)]((t=>(s[e(260)][e(224)]=e(298),i[e(260)][e(224)]=e(324),this[e(299)]=!0,t)))}[Ho(204)](t){const e=Ho,i=this[e(334)][e(215)][e(206)](e(281));return this[e(334)][e(215)][e(206)](e(275))[e(260)][e(224)]=e(324),i[e(260)][e(224)]="",this[e(299)]=!1,t[e(313)]()}async[Ho(266)](t){const e=Ho,i=this[e(334)],s=this[e(291)][e(197)][e(206)](e(287)),n=i[e(197)][e(206)](e(218)),r=i[e(197)][e(206)](e(307)),o=s[e(251)][e(255)](t);let a,c,u;try{await r[e(219)](o,this[e(294)]),a=r[e(312)](o),c=r[e(283)](o)}catch(t){return void console[e(210)](t)}i[e(288)][e(264)]((t=>{const s=e;for(const e of Array[s(243)](i[s(288)][s(207)][s(212)](s(241))))t[s(325)](e)})),s[e(194)]=!1,i[e(288)][e(289)]((t=>{const s=e;t[s(317)](null),t[s(225)](i[s(288)][s(328)][s(234)][s(262)]());const n=Object[s(221)](a);for(const e of i[s(288)][s(328)][s(300)])s(318)!=e[s(213)]&&e[s(190)]()&&!n[s(303)](e[s(213)])&&t[s(254)](e);for(const e of n){let n=i[s(288)][s(328)][s(314)](e);n&&n[s(190)]()||(n=t[s(265)](e));const r=c[e],o=Object[s(221)](r),u=a[e];for(const e of n[s(262)]())o[s(303)](e)||t[s(236)](e,n);for(const i of o)t[s(242)](i,c[e][i],n);t[s(339)](t[s(211)](n)),t[s(214)](i[s(261)][s(305)](u,n),n,0)}}));const l=Q(i[e(296)],e(280));return u=o[e(189)]?-1==o[e(189)][e(192)](l)?l+": "+o[e(189)]:o[e(189)]:l+": "+o[e(274)][e(304)](i[e(296)][e(201)],{month:e(232),day:e(226)})+", "+o[e(274)][e(199)](i[e(296)][e(201)],{hour:e(226),minute:e(226)}),await n[e(332)]({name:u}),s[e(194)]=!0,i[e(215)][e(206)](e(269))[e(337)]()}}function Jo(t,e){var i=Xo();return(Jo=function(t,e){return i[t-=375]})(t,e)}function Xo(){var t=["6kKUygr","196995VTjLMq","1801114XAitKh","1289238IQIMSU","284484uQWbNX","501596XeCtRG","3809288xPFawc","221152nzRwnO"];return(Xo=function(){return t})()}!function(t){for(var e=Jo,i=t();;)try{if(256141===parseInt(e(377))/1+parseInt(e(380))/2+parseInt(e(376))/3+parseInt(e(378))/4+parseInt(e(382))/5+parseInt(e(381))/6*(-parseInt(e(375))/7)+-parseInt(e(379))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();