@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250506.0 → 0.0.0-nightly-20250507.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:()=>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})();
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:()=>W,RevisionHistory:()=>Go,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>pe,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 N(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=N(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,N(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(N(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]=N(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),x(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),x(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),x(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,x(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),x(e,t,i,s,R),e}return t}function x(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]=N(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return N(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 x(e,t),e}case u:{const e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function j(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const L=z;function P(){const t=["creatorId","setAttribute","name","2514qZICFg","61144cbAKTP","toVersion","3CcRWMn","diffData","authorsIds","fire","6846744ksDrbP","attributes","4990880yDhZCA","removeAttribute","1470344eYbHrV","creator","1233TjIDVE","set","model","toJSON","7459210ueRQvb","fromVersion","_update","11djEPCh","authors","map","24927eMVGhZ","824598ZqGEwt","setName","createdAt"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=202]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(935751===-parseInt(e(221))/1+-parseInt(e(204))/2+-parseInt(e(213))/3*(parseInt(e(217))/4)+parseInt(e(227))/5+parseInt(e(210))/6*(parseInt(e(203))/7)+parseInt(e(211))/8*(parseInt(e(223))/9)+parseInt(e(219))/10*(parseInt(e(230))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(222)];[L(231)];[L(214)];[L(212)];[L(228)];[L(225)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(222)]=e[i(222)]||null,this[i(231)]=e[i(231)]||[],this[i(214)]=e[i(214)]||null,this[i(212)]=e[i(212)]||0,this[i(228)]=e[i(228)]||0,this[i(224)](i(209),e[i(209)]||""),this[i(224)](i(206),e[i(206)]||new Date),this[i(224)](i(218),e[i(218)]||{})}[L(205)](t){this[L(229)]({name:t})}[L(208)](t,e){const i=L,s=A(this[i(218)]);(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]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(229)]({attributes:s})}[L(220)](t){const e=L,i=A(this[e(218)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return j(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return j(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(229)]({attributes:i})}[L(229)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(209),i(206),i(214),i(231),i(218),i(212),i(228),i(207)];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(231)]&&(n[i(215)]=n[i(231)][i(202)]((t=>t.id)),delete n[i(231)]),this[i(216)](i(229),n,e))}[L(226)](){const t=L;return{id:this.id,name:this[t(209)],creatorId:this[t(222)]?this[t(222)].id:null,authorsIds:this[t(231)][t(202)]((t=>t.id)),diffData:this[t(214)],createdAt:this[t(206)],attributes:this[t(218)],fromVersion:this[t(228)],toVersion:this[t(212)]}}}var U=i(782),Z=i(211),H=i(783);const q=$;function B(){const t=["getRevisionsIterator","getEarlierVisibleRevision","map","526638PjhLVm","isOfficialPlugin","later","1295112QIQGIv","createRevision","42ofgTUG","attributes","fromCharCode","name","from","oldRevisionId","getLaterVisibleRevision","authorsIds","data","2216522BKmOhQ","editor","getIndex","length","afterInit","creatorId","join","toJSON","559917bkBOua","isPremiumPlugin","_revisions","get","href","reverse","diffData","getUser","addRevision","pluginName","createdAt","RevisionsRepository","plugins","129635puRRGo","getRevisionsInDiff","188720YpfVnF","1864KjQifG","getRevision","toVersion","requires","earlier","24264cULUMO","getRevisions","Users","fromVersion","add","isNaN","newRevisionId","push"];return(B=function(){return t})()}function $(t,e){const i=B();return($=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(178111===-parseInt(e(429))/1+-parseInt(e(446))/2+-parseInt(e(414))/3+parseInt(e(449))/4+-parseInt(e(427))/5*(-parseInt(e(451))/6)+-parseInt(e(460))/7+parseInt(e(430))/8*(parseInt(e(435))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends U.Plugin{[q(416)];static get[q(433)](){return[Z.Users]}static get[q(423)](){return q(425)}static get[q(447)](){return!0}static get[q(415)](){return!0}get[q(409)](){const t=q;return this[t(416)][t(409)]}constructor(e){const i=q;super(e),this[i(416)]=new t.Collection}[q(410)](){!async function(e){const i=k([49,104,116,98,75,107,100,66,83,106,88,68,101,121,50,57,51,97,73,74,84,89,78,77,71,67,90,108,76,52,48,99,65,118,72,102,85,103,111,115,122,109,86,56,119,87,80,79,55,54,112,105,81,120,70,113,114,110,117,53,69,82]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(440)](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([104]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(445)]((t=>String[e(453)](t)))[e(412)]("")}!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:1746576e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(418)]);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(450)](t){const e=q,i=this[e(461)][e(426)][e(417)](e(437));return new W({id:t.id,name:t[e(454)],creator:t[e(411)]?i[e(421)](t[e(411)]):null,diffData:t[e(420)]||t[e(459)],authors:t[e(458)][e(445)]((t=>i[e(421)](t))),createdAt:new Date(t[e(424)]),attributes:t[e(452)],fromVersion:t[e(438)],toVersion:t[e(432)]})}[q(422)](t,e=0){const i=q;this[i(416)][i(439)](t,e)}[q(431)](t){const e=q;return this[e(416)][e(417)](t)}[q(436)](t={toJSON:!1}){const e=q,i=Array[e(455)](this[e(416)]);return i[e(419)](),t[e(413)]?i[e(445)]((t=>t[e(413)]())):i}[q(408)](t){const e=q;return this[e(416)][e(408)](t)}[q(444)](t){const e=q,[,i]=this[e(443)](t,{direction:e(434)});return i}[q(457)](t){const e=q,[,i]=this[e(443)](t,{direction:e(448)});return i}[q(428)](t){const e=q,i=[];for(const s of this[e(443)](t[e(441)]))if(i[e(442)](s),s.id===t[e(456)])break;return i}*[q(443)](t,{direction:e=q(434),filter:i=()=>!0}={}){const s=q,n=s(434)===e?1:-1;let r=this[s(416)][s(417)](t),o=this[s(408)](r);for(yield r;r;){if(o+=n,r=this[s(431)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=X();return(J=function(t,e){return i[t-=209]})(t,e)}!function(t){const e=J,i=t();for(;;)try{if(625401===parseInt(e(268))/1+-parseInt(e(237))/2+parseInt(e(280))/3+-parseInt(e(230))/4+-parseInt(e(235))/5*(-parseInt(e(248))/6)+parseInt(e(277))/7*(-parseInt(e(249))/8)+parseInt(e(247))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class K extends U.Plugin{static get[G(224)](){return G(271)}static get[G(257)](){return!0}static get[G(212)](){return!0}[G(214)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(265)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(251)](t,e){const i=G;if(t[i(233)]||!e)return;const s=this[i(209)][i(279)][i(254)](i(223)),n=await e[i(270)]({channelId:s,revisionId:t.id});t[i(233)]=n[i(233)]}[G(246)](t){const e=G,i={};for(const s in t[e(233)]){if(t[e(233)][s][e(259)]&&!t[e(233)][s][e(259)][e(269)])continue;const n=this[e(217)](JSON[e(276)](t[e(233)][s][e(213)])),r=this[e(209)][e(220)][e(240)][e(227)],o=new H.ViewDocumentFragment(r,n[e(273)]((t=>this[e(258)](t,!1))));this[e(209)][e(221)][e(264)][e(252)](e(281)),i[s]=this[e(209)][e(221)][e(264)][e(267)](o),this[e(209)][e(221)][e(264)][e(252)](e(245))}return i}[G(219)](t){const e=G,i={};for(const s in t[e(233)])t[e(233)][s][e(259)]&&!t[e(233)][s][e(259)][e(269)]||(i[s]=t[e(233)][s][e(253)]||{});return i}[G(218)](t){const e=G;return this[e(214)][e(254)](t[e(272)])}[G(258)](t,e){const i=G,s=this[i(209)][i(220)][i(240)][i(227)];if(i(278)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(238)]||"r"==t[i(238)]?[]:t[i(239)][i(273)]((t=>this[i(258)](t,e)));const o=this[i(265)][i(254)](t[i(238)])||H.ViewElement,a=this[i(209)][i(221)][i(226)][i(260)];if(n=new o(s,t[i(250)],t[i(261)],r),"u"==t[i(238)]&&t[i(239)][0]){const r=t[i(239)][0];if(n[i(216)]=function(t){const e=i,s=t[e(211)](e(255));return s[e(232)]=r,s[e(215)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(231)](n);const e=Array[i(234)](a[i(228)](t,{bind:!1})),r=a[i(275)][i(211)](i(255));r[i(242)](...e),n=Array[i(234)](a[i(225)](r))[0]}}else if("r"==t[i(238)]&&t[i(239)][0]){const r=t[i(239)][0];if(n[i(216)]=function(t){t[i(232)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(231)](n);const e=Array[i(234)](a[i(228)](t,{bind:!1})),r=a[i(275)][i(211)](i(255));r[i(242)](...e);const o=Array[i(234)](a[i(225)](r));o[i(229)]>1?n[i(231)](o):n=o[0]}}if(t[i(236)])for(const[e,s]of t[i(236)])n[i(210)](e,s);const c=void 0===t[i(282)]?null:t[i(282)];return null!==c&&(n[i(266)]=()=>c),n}}[G(262)](t){const e=G,i=JSON[e(276)](t),s=this[e(209)][e(220)][e(240)][e(227)],n=new H.ViewDocumentFragment(s,i[e(273)]((t=>this[e(258)](t,!0))));return this[e(209)][e(221)][e(244)](n)}[G(217)](t){const e=G;return(t=t[e(274)]((t=>!t[e(250)]||e(263)!==t[e(250)]&&e(241)!==t[e(250)])))[e(243)]((t=>{const i=e;i(278)!=typeof t&&(t[i(239)]=this[i(217)](t[i(239)]),t[i(261)]=t[i(261)][i(274)]((t=>!t[0][i(256)](i(222)))))})),t}}function X(){const t=["type","children","view","revision-end","append","forEach","toModel","default","getRevisionDocumentData","6360120GEqksK","79056UBpnPn","1075240aBEldp","name","loadRevisionData","useFillerType","attributesAfter","get","div","startsWith","isOfficialPlugin","_getViewFromDiffObj","attachChange","domConverter","attributes","_makeModelFromViewString","revision-start","processor","_typeCharToViewClass","getFillerOffset","toData","547493jiZldr","isAttached","getRevision","RevisionHistoryUtils","constructor","map","filter","domDocument","parse","63tmvfQF","string","config","2410491zNaPto","marked","fillerOffset","editor","_setCustomProperty","createElement","isPremiumPlugin","insertions","_viewClassToTypeChar","childNodes","render","_removeRevisionMarkers","_getTypeCharForViewElement","getRevisionRootsAttributes","editing","data","data-revision-","collaboration.channelId","pluginName","domChildrenToView","htmlProcessor","document","viewChildrenToDom","length","3241252PiFsiQ","_appendChild","innerHTML","diffData","from","290WvfZVC","customProperties","353038WHeFNT"];return(X=function(){return t})()}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,N){if(Object.is(t,i))return!0;let x=n(t),R=n(i);if(x===u&&(x=v),R===u&&(R=v),x!==R)return!1;switch(x){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(x){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,N))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,N)));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,N))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,N);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,N);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,N)||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,N))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=ut;function ot(){const t=["fillerOffset","destroy","$graveyard","find","afterInit","_continueCurrentRevision","3sTyzxa","insertions","push","htmlProcessor","domainLimit","string","createPositionAfter","revisionHistoryLicenseKeyNotAllowed","length","reverse","userId","_lastTo","_diffRootsAttributes","reinsert","_bufferedUpdates","elementStart","start","type","dataToMarker","_setConversion","conversion","getOperations","_startingRevisionId","_applyOperations","279piQZVj","getIndex","_baseRoots","getRange","_operations","revisionHistoryLicenseKeyEvaluationLimit","1910118hkTOxa","getTransformedByOperation","deletion","filter","_handleMergeOperation","has","innerHTML","update","initial","2192196TCMUGh","_savedMetaData","_removeMetaData","merge","get","config","elementEnd","newRange","revisionHistoryLicenseKeyValid","loadState","getLatestVersion","toView","resolve","_reset","11SzTMgv","_prepareViewToSave","path","editor","max","pluginName","_loadedStateData","deletions","key","_getVidAttributeName","revisionHistoryLicenseKeyInvalid","position","_revisionId","_lastFrom","getTime","evaluationLimit","hasContent","ready","_findInsertionIndex","getNodeByPath","_isPendingUpdate","NEGATIVE_INFINITY","addRevisionData","invalid","_touchedMarkers","marker","39310nTHIuE","RealTimeCollaborationClient","graveyardPosition","getRevisions","_touched","getAttribute","_processRootBeforeSave","26wRsNWz","isReady","repository","removeRootAttribute","_isInit","markerToData","_createInitialRevision","init","loadRevisionData","RevisionsRepository","isOfficialPlugin","_fixRange","domConverter","bind","createdAt","_execute","_bufferUpdate","_initialRevisionId","markers","sourcePosition","stickiness","isAdd","domDocument","_touchedRoots","define","createPositionBefore","reInit","2932496eukruM","_createCurrentRevision","outerHTML","diffData","_authorId","children","isEqual","RevisionHistory","revisionHistory.resumeUnsavedRevision","_getTypeCharForViewElement","insert","item","affectsData","isPremiumPlugin","_appendChild","getChildren","adapter","delete","_setAttribute","dataDowncast","getMovedRangeStart","history","_handleMarkerOperation","_handleInsertOperation","collaboration.channelId","getWalker","Users","getRevisionRootsAttributes","_clone","keys","documentFragment","getRevision","setSource","_startingVersion","_addPendingAction","initialData","currentRevision","_replaceEditorDataWithRevisionData","_removePendingAction","trialLimit","_transformMarkers","render","licenseKey","_markers","detachRoot","split","clone","_baseIdsRoots","document","revisionHistoryLicenseKeyTrialLimit","creator","remove","_getBaseVids","move","isAttached","_loadState","revisionHistoryLicenseKeyDomainLimit","newValue","clear","revisionHistoryLicenseKeyExpired","authorsIds","_pendingAction","trim","_baseRootsAttributes","_insertChild","name","_utils","revision","authors","nodes","_handleSplitOperation","_getFromVersion","model","Empty document","attributesAfter","vid","_getViewJson","_handleRootAttributeOperation","text","then","_getState","creatorId","targetPosition","_handleRootOperation","_generateTape","_source","_update","version","expired","_licenseKeyCheckInterval","oldRange","revisionHistoryLicenseKeyUsageLimit","set","element","previousPosition","map","add","paragraph","getFillerOffset","size","_diffRoots","setRevisionData","vid_start","_fixPosition","_showLicenseError","updateRevisions","createRevision","getOperation","root","sendBufferedUpdates","createPositionAt","requires","getRevisionDocumentData","childCount","PENDING_ACTION_REVISION_HISTORY","insertionPosition","locale","$comment","roots","featureNotAllowed","_markChanges","customProperties","10gjFZwL","changeRootAttribute","rawElement","createElement","getChild","upcast","for","attributesBefore","buildRevisionData","getRootNames","baseVersion","_isAttached","nodeAfter","offset","shift","addRootAttribute","998780JteuKR","getCurrentRevisionId","getAncestors","isEnabled","editor-initial-data-replaced-with-revision-data","range","_handleMoveOperation","finally","stringify","RevisionHistoryUtils","fromEntries","Initial revision","from","includes","some","offsetSize","rootsAttributes","tableCell","rootName","_idsRoots","fromVersion","getCustomProperties","plugins","55439vSjqVE","usageLimit","getUser","_fixOperation","source","toVersion","slice","howMany","RevisionTracker","createRangeIn","getData","getRoot","_cloneOperation","insertion","vid_end","data","addRevision","_makeRevision","PendingActions","keepParagraph","_getPreviousFrom","_handleOperation","attachChange","_makeIdsRoot","values","revision:","getAttributes","2736186lcmsdX","_createFromRanges","$text","_makeModelFromViewString","_revisionDataBuilder","splitPosition","_saveMetaData","end","sort","parent","saveRevision","createPositionFromPath","startsWith","addRoot","_copyMarkers","_calculateMetaData","createRange","uiElement"];return(ot=function(){return t})()}!function(t){const e=ut,i=t();for(;;)try{if(456572===parseInt(e(807))/1*(parseInt(e(619))/2)+parseInt(e(533))/3*(parseInt(e(784))/4)+parseInt(e(768))/5*(-parseInt(e(509))/6)+-parseInt(e(563))/7+parseInt(e(646))/8+parseInt(e(557))/9*(parseInt(e(612))/10)+-parseInt(e(586))/11*(-parseInt(e(572))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends U.Plugin{[rt(688)];[rt(735)];[rt(682)]=null;[rt(621)];[rt(662)]=null;[rt(513)];[rt(731)];[rt(636)];[rt(547)];[rt(712)];[rt(707)];[rt(532)];[rt(679)];[rt(592)];static get[rt(591)](){return rt(490)}static get[rt(629)](){return!0}static get[rt(659)](){return!0}static get[rt(757)](){return[Z.Users,Y,K,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(621)]=this[i(589)][i(806)][i(576)](i(628)),this[i(712)]=this[i(589)][i(806)][i(576)](i(793)),this[i(513)]=new ct(this[i(589)]),this[i(636)]=this[i(589)][i(577)][i(576)](i(670))||i(571),this[i(547)]=new Map,this[i(592)]=null;const s=(0,t.uid)();this[i(731)]={history:this[i(589)][i(718)][i(694)][i(667)],getLatestVersion:()=>Promise[i(584)](this[i(589)][i(718)][i(694)][i(733)]),getCurrentRevisionId:()=>s},this[i(738)](i(620),!1),this[i(738)](i(787),!0),this[i(738)](i(606),!1),this[i(589)][i(577)][i(643)](i(654),!0),this[i(589)][i(553)][i(774)](i(773))[i(551)]({view:i(713)})}[rt(626)](){const t=rt;this[t(552)](),this[t(589)][t(497)].on(t(603),(()=>{const e=t,i=this[e(621)][e(677)](0),s=i&&null===i[e(696)]?i:null;if(this[e(532)]=!!s&&this[e(589)][e(577)][e(576)](e(654)),this[e(589)][e(806)][e(568)](e(613))){const t=this[e(731)][e(785)](),n=this[e(621)][e(677)](t);if(n)this[e(679)]=n[e(804)],this[e(532)]=!1;else{const t=this[e(731)][e(667)][e(561)][e(530)]((t=>!t[e(623)])),n=t?t[e(778)]:this[e(731)][e(667)][e(733)];i?(i[e(487)]<n&&i[e(732)]({toVersion:n}),this[e(532)]?(this[e(731)][e(785)]=()=>s.id,this[e(679)]=s[e(804)]):(this[e(679)]=i[e(487)],this[e(532)]=!1)):(this[e(679)]=n,this[e(532)]=!1)}}else s&&(this[e(589)][e(718)][e(694)][e(667)][e(733)]=Math[e(590)](s[e(487)],this[e(589)][e(718)][e(694)][e(667)][e(733)]),s[e(804)]===s[e(487)]?(0!==s[e(804)]&&(this[e(731)][e(785)]=()=>s.id),this[e(532)]=!1):this[e(532)]&&(this[e(731)][e(785)]=()=>s.id,this[e(679)]=s[e(804)])),this[e(532)]||(this[e(679)]=this[e(589)][e(718)][e(694)][e(733)]);this[e(513)][e(626)](this[e(731)][e(667)]),this[e(625)](this[e(679)]),this[e(647)](this[e(679)]),this[e(662)]&&this[e(755)]()})),this[t(632)](t(620)).to(this,t(606),(t=>!t)),this[t(688)]=this[t(589)][t(577)][t(576)](t(688));const e=this[t(589)];this[t(735)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(580)==r||i(596)==r||i(705)==r||i(702)==r||i(540)==r||i(562)==r||i(695)==r||i(737)==r){delete e[n],s=r,clearInterval(this[i(735)]),this[i(735)]=void 0;break}}i(596)==s&&e[i(750)](i(609)),i(705)==s&&e[i(750)](i(734)),i(702)==s&&e[i(750)](i(537)),i(540)==s&&e[i(750)](i(765),i(653)),i(562)==s&&e[i(750)](i(601)),i(695)==s&&e[i(750)](i(685)),i(737)==s&&e[i(750)](i(808))}),1e3)}async[rt(531)](){const t=rt;if(this[t(621)][t(541)]>0){const e=this[t(621)][t(677)](0),i=await this[t(758)](e),s=await this[t(673)](e);this[t(683)](i,s)}}[rt(528)](){const t=rt;super[t(528)](),this[t(735)]&&clearInterval(this[t(735)])}[rt(678)](t){this[rt(731)]=t}async[rt(570)](){const t=rt,e=await this[t(731)][t(582)]();if(e>this[t(682)][t(487)]){await this[t(701)]();const i=this[t(776)]({revision:this[t(682)],to:e});i[t(714)]=i[t(706)][t(741)]((e=>this[t(589)][t(806)][t(576)](t(672))[t(809)](e))),this[t(682)][t(732)](i)}}async[rt(519)](e={},i=null){const s=rt,n=[];await this[s(701)](),this[s(532)]=!1,i>this[s(682)][s(487)]&&(i=null),null===i&&(i=await this[s(731)][s(582)]());const r=this[s(717)](i),o=this[s(776)]({from:r,to:i});if(this[s(682)][s(487)]<i){const t=this[s(776)]({revision:this[s(682)],from:i,to:i});t[s(714)]=[],t[s(706)]=[],t.id=this[s(682)].id,this[s(682)][s(732)](t,!0),delete t[s(714)],n[s(535)](t)}e[s(727)]=this[s(589)][s(806)][s(576)](s(672)).me.id,e[s(711)]=e[s(711)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(608)](e);n[s(535)](e);const c=this[s(621)][s(558)](a);if(0!==c){const t=this[s(621)][s(677)](c-1);if(t[s(804)]!==i){const r=this[s(513)][s(492)](i,t[s(487)]),o={id:t.id,diffData:r[s(649)],authorsIds:r[s(706)],authors:r[s(706)][s(741)]((t=>this[s(589)][s(806)][s(576)](s(672))[s(809)](t))),fromVersion:i};t===this[s(682)]&&(o[s(633)]=new Date(e[s(633)][s(600)]()+10)),t[s(732)](o,!0),delete o[s(714)],n[s(535)](o)}}if(this[s(662)]){for(const t of n)this[s(635)](t.id,t,!0);this[s(755)]()}return a}[rt(608)](t){const e=rt,i=this[e(621)][e(752)](t);return this[e(662)]&&i.on(e(732),((t,i,s)=>{const n=e;s||(this[n(635)](i.id,i,!0),this[n(755)]())})),this[e(621)][e(498)](i,this[e(604)](i)),i}async[rt(758)](t){const e=rt;return await this[e(712)][e(627)](t,this[e(662)]),this[e(712)][e(758)](t)}async[rt(673)](t){const e=rt;return await this[e(712)][e(627)](t,this[e(662)]),this[e(712)][e(673)](t)}[rt(755)](){const t=rt;if(0===this[t(547)][t(745)])return;if(this[t(606)])return;let e=Array[t(796)](this[t(547)][t(506)]());this[t(547)][t(704)]();for(let i=0;i<e[t(541)];i++){const s=e[i];let n=!1;for(const e of Object[t(675)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(566)]((t=>null!==t)),!e[t(541)])return;for(let i=0;i<e[t(541)];i++){const s=e[i];void 0!==s[t(804)]&&void 0===s[t(487)]&&(s[t(487)]=this[t(621)][t(677)](s.id)[t(487)]),void 0!==s[t(487)]&&void 0===s[t(804)]&&(s[t(804)]=this[t(621)][t(677)](s.id)[t(804)])}const i=this[t(589)][t(577)][t(576)](t(670));this[t(606)]=!0,this[t(680)](),this[t(662)][t(751)](e,i)[t(791)]((()=>{this[t(606)]=!1}))[t(725)]((e=>{const i=t;if(e)for(const t of e)this[i(747)]({id:t.id,createdAt:t[i(633)]});this[i(684)](),this[i(755)]()}))}[rt(776)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(804)],i=null!==i?i:t[s(487)];const n=this[s(513)][s(492)](e,i),r={diffData:n[s(649)],authorsIds:n[s(706)],fromVersion:e,toVersion:i};if(!t||i!==t[s(487)]){const t=i-1,e=this[s(731)][s(667)][s(753)](t);r[s(633)]=e&&e[s(633)]||new Date}if(this[s(592)]&&e===this[s(592)][s(804)])for(const t of this[s(592)][s(714)])r[s(706)][s(797)](t.id)||r[s(706)][s(535)](t.id);return r}[rt(635)](t,e,i){const s=rt;if(this[s(547)][s(568)](t)){const n=this[s(547)][s(576)](t);e=i?{...n,...e}:{...e,...n}}this[s(547)][s(738)](t,e)}[rt(747)](t){const e=rt,i=this[e(621)][e(677)](t.id);if(t[e(633)]&&(t[e(633)]=new Date(t[e(633)])),t[e(706)]){const i=this[e(589)][e(806)][e(576)](e(672));t[e(714)]=t[e(706)][e(741)]((t=>i[e(809)](t)))}i[e(732)](t,!0)}[rt(625)](t){const e=rt,i=this[e(621)][e(677)](this[e(621)][e(541)]-1);if(i)this[e(636)]=i.id;else{const i=!this[e(589)][e(718)][e(694)][e(764)][e(530)]((t=>this[e(589)][e(718)][e(602)](t))),s=this[e(589)][e(806)][e(576)](e(672)).me.id,n=Q(this[e(589)][e(762)],e(i?719:795));this[e(499)]({from:t,to:t,id:this[e(636)],name:n,creatorId:s})}}[rt(647)](t){const e=rt,i=this[e(731)][e(785)]();this[e(682)]=this[e(621)][e(677)](i),this[e(682)]||(this[e(682)]=this[e(499)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(701)](){const t=rt;this[t(532)]&&!this[t(592)]&&(await this[t(712)][t(627)](this[t(682)],this[t(662)]),this[t(513)][t(581)](this[t(682)]),this[t(592)]={fromVersion:this[t(682)][t(804)],authors:this[t(682)][t(714)][t(488)]()})}[rt(683)](e,i){const s=rt;let n=this[s(589)][s(577)][s(576)](s(681)),r=this[s(589)][s(577)][s(576)](s(800));if(void 0===n){n={};for(const t of this[s(589)][s(718)][s(694)][s(777)]())n[t]=""}if(s(538)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(589)][s(718)][s(694)][s(777)]())r[t]={}}let o=!1;const a=Object[s(675)](n),c=Object[s(675)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(708)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(675)](r[t])[s(541)]>0){o=!0;break}}o||(o=c[s(798)]((t=>!this[s(589)][s(718)][s(694)][s(493)](t)))),o&&(0,t.logWarning)(s(788),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(589)][s(577)][s(738)](s(681),e),this[s(589)][s(577)][s(738)](s(800),i)}[rt(680)](){const t=rt;if(!this[t(707)]){const e=this[t(589)][t(806)][t(576)](t(500));this[t(707)]=e[t(742)](Q(this[t(589)][t(762)],t(760)))}}[rt(684)](){const t=rt;this[t(707)]&&(this[t(589)][t(806)][t(576)](t(500))[t(697)](this[t(707)]),this[t(707)]=null)}[rt(604)](t){const e=rt,i=this[e(621)][e(615)]();i[e(542)]();let s=0;for(;s<i[e(541)];){const n=i[s];if(n===this[e(682)]){s++;continue}if(n.id===this[e(636)])break;const r=t[e(487)]-n[e(487)]||t[e(804)]-n[e(804)];if(r>0)break;if(r<0)s++;else{if(!t[e(696)]&&n[e(696)])break;if(n[e(696)]||!t[e(696)]){if(t[e(633)]>n[e(633)])break;s++}else s++}}return s}[rt(717)](t){const e=rt,i=this[e(621)][e(615)]();i[e(542)](),i[e(782)]();const s=i[e(530)]((i=>i[e(487)]<=t))[e(487)];return s<this[e(679)]?this[e(679)]:s}[rt(499)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(776)]({from:e,to:i});o[r(711)]=t,o[r(727)]=s,o.id=n;const a=this[r(608)](o);return this[r(662)]&&this[r(635)](o.id,o,!0),a}[rt(552)](){const t=rt;this[t(589)][t(553)][t(774)](t(665))[t(624)]({model:t(713)})}}class ct{[rt(589)];[rt(486)];[rt(573)];[rt(599)];[rt(544)];[rt(689)];[rt(746)];[rt(545)];[rt(559)];[rt(709)];[rt(803)];[rt(693)];[rt(616)];[rt(610)];[rt(642)];[rt(598)];[rt(555)];constructor(t){const e=rt;this[e(589)]=t,this[e(573)]=new Map,this[e(599)]=-1,this[e(544)]=-1,this[e(689)]=new Map,this[e(746)]=new Map,this[e(545)]=new Map,this[e(559)]=new Map,this[e(709)]=new Map,this[e(803)]=new Map,this[e(693)]=new Map,this[e(616)]=new Map,this[e(610)]=new Map,this[e(642)]=new Map,this[e(598)]=1}[rt(626)](t){const e=rt;this[e(486)]=t;const i=new Map,s=new Map,n=this[e(589)][e(718)][e(694)][e(764)][e(741)]((t=>t[e(802)]));for(const t of n){const n=this[e(589)][e(718)][e(694)][e(493)](t),r=lt(n);i[e(738)](t,r),s[e(738)](t,Object[e(794)](n[e(508)]()))}const r=Array[e(796)](this[e(589)][e(718)][e(637)])[e(741)]((t=>[t[e(711)],t[e(560)]()])),o=this[e(486)][e(733)];this[e(515)](o,i,r,s),this[e(555)]=this[e(598)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(738)](t,i),c[e(738)](t,{})}this[e(515)](Number[e(607)],a,[],c)}[rt(492)](t,e){const i=rt;if(this[i(599)]===t&&this[i(544)]<=e)this[i(573)][i(745)]>1&&this[i(574)](this[i(544)]),this[i(556)](this[i(544)],e,!0);else{if(!this[i(573)][i(568)](t)){const e=this[i(502)](t);this[i(524)](e,t,!1)}this[i(524)](t,e,!0)}return this[i(599)]=t,this[i(544)]=e,this[i(726)]()}[rt(581)](t){const e=rt,i=this[e(589)][e(806)][e(576)](e(793));this[e(585)](),this[e(599)]=t[e(804)],this[e(544)]=t[e(487)];for(const s in t[e(649)]){const n=t[e(649)][s][e(504)],r=A(t[e(649)][s][e(775)])||{},o=i[e(512)](t[e(649)][s][e(593)]);o[e(802)]=s,o[e(779)]=!n||!n[e(700)],o[e(700)]=()=>o[e(779)],this[e(559)][e(738)](s,o),this[e(709)][e(738)](s,r),n&&this[e(642)][e(738)](s,n);const a=this[e(505)](o);this[e(693)][e(738)](s,a);for(const[t,i]of o[e(637)]){if(!t[e(521)](e(507)))continue;const s=t[e(691)](":")[2];for(const t of i[e(671)]({singleCharacters:!0})){const i=this[e(595)](t),n=e(578)==t[e(550)]?t[e(740)][e(588)][e(488)](0,-1):t[e(740)][e(588)],r=a[e(605)](n)[e(617)](i);this[e(616)][e(738)](r,{userId:s})}}}this[e(555)]=this[e(598)];const s=[...Array(this[e(598)])[e(675)]()][e(488)](1)[e(566)]((t=>!this[e(616)][e(568)](t)));let n=0;const r=new Map;for(const o in t[e(649)]){const a=t[e(649)][o][e(504)],c=A(t[e(649)][o][e(720)])||{},u=i[e(512)](t[e(649)][o][e(534)]);u[e(802)]=o,u[e(779)]=!a||a[e(700)],u[e(700)]=()=>u[e(779)],this[e(746)][e(738)](o,u),this[e(545)][e(738)](o,c);const l=this[e(505)](u,Number[e(607)]);this[e(803)][e(738)](o,l),r[e(738)](o,u[e(700)]()?c:{});for(const[t,i]of u[e(637)]){if(!t[e(521)](e(507)))continue;const s=t[e(691)](":")[2];for(const t of i[e(671)]({singleCharacters:!0})){const i=this[e(595)](t),n=this[e(598)]++,r=e(578)==t[e(550)]?t[e(740)][e(588)][e(488)](0,-1):t[e(740)][e(588)];l[e(605)](r)[e(664)](i,n),this[e(616)][e(738)](n,{userId:s})}}for(const t of this[e(589)][e(718)][e(491)](u)[e(671)]({singleCharacters:!0})){const i=this[e(595)](t),r=e(578)==t[e(550)]?t[e(740)][e(588)][e(488)](0,-1):t[e(740)][e(588)],o=l[e(605)](r);o[e(617)](i)>0||o[e(664)](i,s[n++])}for(const[t,i]of u[e(637)])t[e(521)](e(507))||this[e(689)][e(738)](t,i)}const o=ht(e(529));this[e(559)][e(738)](e(529),o),this[e(693)][e(738)](e(529),this[e(505)](o,1));const a=ht(e(529));this[e(746)][e(738)](e(529),a),this[e(803)][e(738)](e(529),this[e(505)](a,1));const c=Array[e(796)](this[e(746)])[e(741)]((([t,e])=>[t,lt(e)]));this[e(515)](this[e(544)],c,this[e(689)],r)}[rt(645)](){const t=rt;this[t(585)](),this[t(599)]=-1,this[t(544)]=-1,this[t(573)][t(704)](),this[t(626)](this[t(486)])}[rt(515)](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(738)](t,{start:e[n(549)][n(692)](),end:e[n(516)][n(692)](),rootName:e[n(754)][n(802)]});this[n(573)][n(738)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(574)](t){const e=rt;this[e(573)][e(663)](t)}[rt(585)](){const t=rt;this[t(616)][t(704)](),this[t(610)][t(704)](),this[t(642)][t(704)](),this[t(746)][t(704)](),this[t(545)][t(704)](),this[t(559)][t(704)](),this[t(709)][t(704)](),this[t(803)][t(704)](),this[t(693)][t(704)](),this[t(689)][t(704)](),this[t(598)]=1,this[t(555)]=this[t(598)]}[rt(505)](t,e=null){const i=rt;let s=null;t.is(i(676))||(s=new H.Element(t[i(711)],{vid_start:null===e?this[i(598)]++:e++}));const n=[];for(const s of t[i(661)]())if(s.is(i(739))){n[i(535)](this[i(505)](s,e));const t=n[n[i(541)]-1];null!==e&&(e=t.is(i(739),i(511))?t[i(617)](i(721))+1:t[i(617)](i(496))+1)}else for(let t=0;t<s[i(799)];t++)n[i(535)](new H.Element(i(511),{vid:null===e?this[i(598)]++:e++}));if(t.is(i(676))){const e=ht(t[i(802)]);return e[i(710)](0,n),e}return s[i(664)](i(496),null===e?this[i(598)]++:e++),s[i(710)](0,n),s}[rt(524)](t,e,i){const s=rt;this[s(585)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(573)][s(576)](t);this[s(559)]=new Map(n),this[s(709)]=new Map(A(o));for(const[t,e]of this[s(559)])if(s(529)!==t&&(this[s(746)][s(738)](t,lt(e)),this[s(545)]=new Map(A(o)),i)){const i=this[s(598)];this[s(803)][s(738)](t,this[s(505)](e)),this[s(693)][s(738)](t,this[s(505)](e,i))}this[s(555)]=this[s(598)],this[s(746)][s(738)](s(529),lt(this[s(559)][s(576)](s(529)))),i&&this[s(803)][s(738)](s(529),this[s(505)](this[s(559)][s(576)](s(529))));for(const[t,e]of r){const i=this[s(559)][s(576)](e[s(802)]),n=this[s(746)][s(576)](e[s(802)]),r=new H.Range(this[s(749)](e[s(549)],i),this[s(749)](e[s(516)],i)),o=this[s(630)](r,n);i[s(637)][s(738)](t,r),this[s(689)][s(738)](t,o)}this[s(556)](t,e,i)}[rt(556)](t,e,i){const s=rt;for(const n of this[s(486)][s(554)](t,e))this[s(503)](n,i);for(const t of this[s(746)][s(506)]())t[s(637)][s(704)]();for(const[t,e]of this[s(689)])this[s(746)][s(576)](e[s(754)][s(802)])[s(637)][s(738)](t,e[s(692)]());const n=new Map,r=new Map;for(const[t,e]of this[s(746)])n[s(738)](t,lt(e)),r[s(738)](t,this[s(545)][s(576)](t));this[s(515)](e,n,this[s(689)],r)}[rt(502)](t){const e=rt,i=Array[e(796)](this[e(573)][e(675)]());i[e(517)](((t,e)=>t-e)),i[e(542)]();for(const e of i)if(e<t)return e;return Number[e(607)]}[rt(523)](t,e){const i=rt,s=Array[i(796)](e[i(637)])[i(741)]((([e,s])=>[e,this[i(630)](s,t)]));t[i(637)]=new Map(s)}[rt(686)](t){const e=rt;for(const i of this[e(689)][e(506)]()){const s=i[e(564)](t),n=H.Range[e(510)](s);i[e(549)]=n[e(549)],i[e(516)]=n[e(516)]}}[rt(503)](t,e){const i=rt;if(i(522)!=t[i(550)]&&i(690)!=t[i(550)]){if(i(656)==t[i(550)]){const s=t[i(597)][i(754)][i(802)];this[i(746)][i(568)](s)||(this[i(746)][i(738)](s,ht(s,!0)),this[i(545)][i(738)](s,{}),e&&this[i(803)][i(738)](s,ht(s,!0)))}else{if(i(783)==t[i(550)]||i(622)==t[i(550)]||i(769)==t[i(550)])return void this[i(723)](t);i(611)==t[i(550)]&&this[i(668)](t)}if(i(611)!==t[i(550)]){const e=this[i(494)](t,this[i(746)]);e[i(634)](),this[i(686)](e)}if(e)switch(t[i(550)]){case i(656):this[i(669)](t);break;case i(699):case i(697):case i(546):this[i(790)](t);break;case i(575):this[i(567)](t);break;case i(691):this[i(716)](t)}}else this[i(729)](t,e)}[rt(494)](t,e){const i=rt,s=t[i(692)]();return s[i(650)]=t[i(650)],this[i(485)](s,e),s}[rt(698)](t){const e=rt;return t[e(741)]((t=>{const i=e,s=this[i(595)](t);return Number(t[i(657)][i(617)](s))}))}[rt(730)](t,e){const i=rt;if(t.is(i(739),i(511)))e[i(535)]({item:t,type:i(724)});else{t.is(i(739))&&e[i(535)]({item:t,type:i(548)});for(const s of t[i(661)]())this[i(730)](s,e);t.is(i(739))&&e[i(535)]({item:t,type:i(578)})}return e}[rt(726)](){const t=rt,e=new Map(this[t(616)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(559)][t(675)](),...this[t(746)][t(675)]()]);a[t(663)](t(529));for(const e of a){const i=this[t(746)][t(576)](e)||ht(e,!1),s=this[t(559)][t(576)](e)||ht(e,!1);i[t(700)]()||s[t(700)]()?(n[t(534)][e]=lt(i),n[t(593)][e]=lt(s),this[t(523)](n[t(593)][e],s),this[t(523)](n[t(534)][e],i),r[t(534)][e]=this[t(730)](this[t(803)][t(576)](e),[]),r[t(593)][e]=this[t(730)](this[t(693)][t(576)](e)||ht(e,!1),[])):a[t(663)](e)}for(const n of a){const o=r[t(534)][n];for(const n of o){const r=this[t(595)](n),o=n[t(657)][t(617)](r);i[t(663)](o),o>=this[t(555)]&&s[t(738)](o,e[t(576)](o))}}for(const n of a){const a=r[t(534)][n],c=this[t(698)](r[t(593)][n]);let u=0;for(const n of a){const r=this[t(595)](n),a=n[t(657)][t(617)](r);if(!s[t(568)](a)&&!o[t(568)](a))if(i[t(568)](a))u++;else{if(a!=c[u]){const s=e[t(576)](a)||e[t(576)](c[u]);for(;a!=c[u];)i[t(568)](c[u])||(o[t(738)](c[u],s),e[t(738)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(534)][e];for(const e of n){const n=this[t(595)](e),r=e[t(657)][t(617)](n);if(o[t(568)](r)){const e=o[t(576)](r);i[t(568)](r)||i[t(738)](r,{...e}),s[t(738)](r,{...e})}}}for(const e of i[t(675)]())e>=this[t(555)]&&i[t(663)](e);const c=new Map;for(const e of a){let n=r[t(534)][e];for(const e of n)if(e[t(657)].is(t(739),t(801))){const i=this[t(595)](e),n=e[t(657)][t(617)](i);if(s[t(568)](n)){const i=e[t(657)][t(518)][t(518)][t(617)](t(748)),r=c[t(576)](i)||new Set;r[t(742)](s[t(576)](n)[t(543)]),c[t(738)](i,r)}}n=r[t(593)][e];for(const e of n)if(e[t(657)].is(t(739),t(801))){const s=this[t(595)](e),n=e[t(657)][t(617)](s);if(i[t(568)](n)){const s=e[t(657)][t(518)][t(518)][t(617)](t(748)),r=c[t(576)](s)||new Set;r[t(742)](i[t(576)](n)[t(543)]),c[t(738)](s,r)}}for(const e of c[t(675)]())(s[t(568)](e)||i[t(568)](e))&&c[t(663)](e)}for(const e of a){const n=r[t(534)][e];let o=null,a=null;for(const e of n){const n=this[t(595)](e),r=e[t(657)][t(617)](n),u=c[t(576)](r);u&&t(548)==e[t(550)]&&(o=Array[t(796)](u)[0],a=e[t(657)][t(617)](t(496))),o&&(i[t(738)](r,{userId:o}),s[t(738)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(593)][e],a=n[t(534)][e];for(const{userId:e}of this[t(610)][t(506)]())null!==e&&l[t(742)](e);for(const{userId:e}of this[t(642)][t(506)]())null!==e&&l[t(742)](e);this[t(766)](a,r[t(534)][e],s,t(495),l),this[t(766)](o,r[t(593)][e],i,t(565),l),u[e]={insertions:this[t(587)](a),deletions:this[t(587)](o),attachChange:this[t(642)][t(576)](e)||null,attributesBefore:A(this[t(709)][t(576)](e))||{},attributesAfter:A(this[t(545)][t(576)](e))}}return{diffData:u,authorsIds:Array[t(796)](l)}}[rt(618)](t){const e=rt;for(const[,i]of t[e(637)]){const t=i[e(549)][e(786)]()[e(566)]((t=>e(801)==t[e(711)]));for(const i of t)1==i[e(759)]&&i[e(772)](0).is(e(739),e(743))&&i[e(772)](0)[e(664)](e(501),!0)}}[rt(587)](t){const e=rt;this[e(618)](t);const i=this[e(589)][e(497)][e(583)](t,{}),s=Array[e(796)](i[e(661)]())[e(741)]((t=>this[e(722)](t)));return JSON[e(792)](s)}[rt(722)](t){const e=rt;if(t.is(e(511)))return t[e(497)];{const i=this[e(589)][e(806)][e(576)](e(793)),s=t,n=this[e(589)][e(497)][e(536)][e(631)],r={type:i[e(655)](s),name:s[e(711)],attributes:Array[e(796)](s[e(508)]()),children:Array[e(796)](s[e(661)]())[e(741)]((t=>this[e(722)](t)))};if(t.is(e(526))&&e(763)!=t[e(711)]){const i=t[e(687)](n[e(641)],n);r[e(651)][e(535)](i[e(648)])}else if(t.is(e(770))){const i=n[e(641)][e(771)](s[e(711)]);t[e(687)](i,n),r[e(651)][e(535)](i[e(569)])}const o=Array[e(796)](s[e(805)]());o[e(541)]>0&&(r[e(767)]=o);const a=s[e(744)]();return null!==a&&(r[e(527)]=a),r}}[rt(766)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(589)][r(718)];for(let s=0;s<e[r(541)];s++){const n=this[r(595)](e[s]),c=e[s][r(657)][r(617)](n),h=i[r(576)](c),d=s==e[r(541)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(543)]!=o[r(543)])&&(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(543)],d=l(507)+s+":"+h+":"+c++,f=u[l(525)](i,a);t[l(637)][l(738)](d,f),null!==h&&n[l(742)](h)}}[rt(595)](t){const e=rt;switch(t[e(550)]){case e(548):return e(748);case e(578):return e(496);default:return e(721)}}[rt(485)](t,e){const i=rt;t[i(778)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(576)](n[i(754)][i(802)]);t[s]=this[i(749)](n,r)}if(n instanceof H.Range){const r=e[i(576)](n[i(754)][i(802)]);t[s]=this[i(630)](n,r)}i(754)===s&&(t[i(754)]=e[i(576)](t[i(754)][i(802)]))}}[rt(630)](t,e){const i=rt;return this[i(589)][i(718)][i(525)](this[i(749)](t[i(549)],e),this[i(749)](t[i(516)],e))}[rt(749)](t,e){const i=rt;return this[i(589)][i(718)][i(520)](e,t[i(588)],t[i(639)])}[rt(669)](t){const e=rt,i=this[e(803)][e(576)](t[e(597)][e(754)][e(802)]),s=this[e(749)](t[e(597)],i),n=null===t[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,r=s[e(518)],o=this[e(598)],a=[];for(const i of t[e(715)])if(i.is(e(739)))a[e(535)](this[e(505)](i));else for(let t=0;t<i[e(799)];t++)a[e(535)](new H.Element(e(511),{vid:this[e(598)]++}));const c=this[e(598)];for(let t=o;t<c;t++)this[e(616)][e(738)](t,{userId:n});r[e(710)](s[e(781)],a)}[rt(790)](t){const e=rt;(t=this[e(494)](t,this[e(803)]))[e(634)]();const i=null===t[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,s=t[e(666)](),n=s[e(518)],r=s[e(781)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(772)](e);r.is(a(739),a(511))?s[a(738)](r[a(617)](a(721)),{userId:i}):(s[a(738)](r[a(617)](a(748)),{userId:i}),t(s,r,0,r[a(759)]),s[a(738)](r[a(617)](a(496)),{userId:i}))}}(this[e(616)],n,r,r+t[e(489)])}[rt(567)](t){const e=rt,i=null===(t=this[e(494)](t,this[e(803)]))[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,s=t[e(728)][e(518)],n=t[e(638)][e(518)],r=s[e(617)](e(496)),o=n[e(617)](e(748));s[e(664)](e(496),n[e(617)](e(496))),n[e(664)](e(496),r),this[e(616)][e(738)](o,{userId:i}),this[e(616)][e(738)](r,{userId:i}),t[e(634)]()}[rt(716)](t){const e=rt,i=null===(t=this[e(494)](t,this[e(803)]))[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,s=t[e(614)],n=t[e(514)][e(518)];t[e(634)]();const r=n[e(617)](e(496)),o=t[e(761)][e(780)];if(s){const t=o[e(617)](e(496)),s=n[e(617)](e(496));n[e(664)](e(496),t),o[e(664)](e(496),s),this[e(616)][e(738)](n[e(617)](e(496)),{userId:i}),this[e(616)][e(738)](o[e(617)](e(748)),{userId:i})}else{const t=this[e(598)]++,s=this[e(598)]++;n[e(664)](e(496),t),o[e(664)](e(748),s),o[e(664)](e(496),r),this[e(616)][e(738)](t,{userId:i}),this[e(616)][e(738)](s,{userId:i})}}[rt(668)](t){const e=rt;if(!t[e(658)])return;const i=(t=this[e(494)](t,this[e(746)]))[e(736)]?t[e(736)][e(754)]:null,s=t[e(579)]?t[e(579)][e(754)]:null;i&&this[e(689)][e(663)](t[e(711)]),s&&this[e(689)][e(738)](t[e(711)],t[e(579)][e(692)]());const n=null===t[e(650)]?null:t[e(650)]||this[e(589)][e(806)][e(576)](e(672)).me.id,r=t[e(711)];if(!this[e(610)][e(568)](r))return void this[e(610)][e(738)](r,{range:t[e(736)],userId:n});const o=this[e(610)][e(576)](r),a=o[e(789)],c=t[e(579)];null==a&&null==c||a&&c&&a[e(652)](c)?this[e(610)][e(663)](t[e(711)]):o[e(543)]=n}[rt(729)](t,e){const i=rt;this[i(746)][i(568)](t[i(802)])?this[i(746)][i(576)](t[i(802)])[i(779)]=t[i(640)]:(this[i(746)][i(738)](t[i(802)],ht(t[i(802)],!0)),this[i(545)][i(738)](t[i(802)],{}),e&&this[i(803)][i(738)](t[i(802)],ht(t[i(802)],!0)));const s=null===t[i(650)]?null:t[i(650)]||this[i(589)][i(806)][i(576)](i(672)).me.id,n=this[i(642)][i(576)](t[i(802)]);n&&n[i(543)]===s?this[i(642)][i(663)](t[i(802)]):this[i(642)][i(738)](t[i(802)],{userId:s,isAttached:t[i(640)]})}[rt(723)](t){const e=rt,i=this[e(545)][e(576)](t[e(754)][e(802)]);null===t[e(703)]?delete i[t[e(594)]]:i[t[e(594)]]=t[e(703)]}}function ut(t,e){const i=ot();return(ut=function(t,e){return i[t-=485]})(t,e)}function lt(t){const e=rt,i=ht(t[e(802)],t[e(700)]());for(const s of t[e(661)]()){const t=s[e(674)](!0);i[e(660)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(802)]=t,s[i(779)]=e,s[i(700)]=()=>s[i(779)],s}function dt(t,e,i){const s=rt,n=s(578)==t[s(550)]?i[s(756)](t[s(657)],s(516)):i[s(644)](t[s(657)]);return i[s(520)](e,n[s(588)],n[s(639)])}function ft(t,e,i){const s=rt,n=s(548)==t[s(550)]?i[s(756)](t[s(657)],0):i[s(539)](t[s(657)]);return i[s(520)](e,n[s(588)],n[s(639)])}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),Nt={attributes:{"data-cke":!0}};Nt.setAttributes=It(),Nt.insert=wt().bind(null,"head"),Nt.domAPI=kt(),Nt.insertStyleElement=Ot();gt()(Tt.A,Nt);Tt.A&&Tt.A.locals&&Tt.A.locals;var xt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(xt.A,Rt);xt.A&&xt.A.locals&&xt.A.locals;const At=Mt;function Vt(){const t=["arrowup","extendTemplate","arrowleft","799215ejstBC","Name of the revision","optional","form","264FDLTJE","focus","render","element","3325483CRPvuM","revisionNameInputValue","label","value","220","reset","keystrokes","focusTracker","locale","revisionNameInputView","828922pABfrt","fieldView","13219520XJsRlk","arrowdown","trim","stopPropagation","errorText","ck-revision-history-save-revision-form","_createRevisionNameInput","set","setTemplate","ck-responsive-form","199061VClsOM","revisionName","18390pQnWBt","1442532PBmxhD","arrowright","listenTo","add","input"];return(Vt=function(){return t})()}function Mt(t,e){const i=Vt();return(Mt=function(t,e){return i[t-=205]})(t,e)}!function(t){const e=Mt,i=t();for(;;)try{if(240996===parseInt(e(243))/1+parseInt(e(231))/2+-parseInt(e(245))/3*(-parseInt(e(217))/4)+parseInt(e(213))/5+parseInt(e(205))/6+parseInt(e(221))/7+-parseInt(e(233))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Et extends pt.View{[At(228)];[At(227)];[At(230)];constructor(e,i){const s=At;super(e),this[s(228)]=new t.FocusTracker,this[s(227)]=new t.KeystrokeHandler,this[s(240)](s(222),""),this[s(230)]=this[s(239)](i),this[s(241)]({tag:s(216),attributes:{class:["ck",s(238),s(242)],tabindex:"-1"},children:[this[s(230)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(219)](){const t=At;super[t(219)](),(0,pt.submitHandler)({view:this}),this[t(228)][t(208)](this[t(230)][t(220)]),this[t(227)][t(207)](this[t(220)]);const e=e=>e[t(236)]();this[t(227)][t(240)](t(206),e),this[t(227)][t(240)](t(212),e),this[t(227)][t(240)](t(210),e),this[t(227)][t(240)](t(234),e)}[At(218)](){const t=At;this[t(230)][t(218)]()}get[At(244)](){const t=At;return this[t(230)][t(232)][t(220)][t(224)][t(235)]()}set[At(244)](t){const e=At;this[e(230)][e(232)][e(220)][e(224)]=t[e(235)]()}[At(226)](){const t=At;this[t(230)][t(232)][t(220)][t(224)]="",this[t(230)][t(237)]=null}[At(239)](t){const e=At,i=new pt.LabeledFieldView(this[e(229)],pt.createLabeledInputText),s=i[e(232)];s[e(211)]({attributes:{maxlength:e(225)}});let n=Q(this[e(229)],e(214));return!t&&(n+=" ("+Q(this[e(229)],e(215))+")"),i[e(223)]=n,s.on(e(209),(()=>{const t=e;this[t(222)]=s[t(220)][t(224)][t(235)]()})),i}}function Dt(t,e){const i=Ft();return(Dt=function(t,e){return i[t-=107]})(t,e)}const Ct=Dt;function Ft(){const t=["get","Save current revision","hide","editor","_registerMenuComponent","reset","saveRevision","Revision history","isReadOnly","revisionHistory.requireRevisionName","menuitem","3423186WSRMhc","errorText","submit","set","Open revision history","1790280NeEHJf","init","1700902zeVucn","Cancel","view","execute","menu","items","318gkwzWm","ck-button-action","bind","RevisionTracker","The revision name cannot be empty.","isEnabled","showRevisionViewerCallback","isReady","isPremiumPlugin","role","editing","96698LqDvFA","RevisionHistoryUI","menuBar:revisionHistory","children","revisionHistory","_saveRevisionFormView","componentFactory","1120584HpXRKA","delegate","add","Dialog","addMany","Accept","revisionSave","revisionNameInputView","revisionName","show","isOfficialPlugin","plugins","_createSaveRevisionFormView","13548wpAKJN","7580510ddTqaM","config","isOpen","locale","panelView","buttonView","12ozzcfz","requires","render","focus","_showDialog","pluginName"];return(Ft=function(){return t})()}!function(t){const e=Dt,i=t();for(;;)try{if(850073===parseInt(e(107))/1*(-parseInt(e(148))/2)+parseInt(e(137))/3*(-parseInt(e(168))/4)+parseInt(e(169))/5+parseInt(e(155))/6+parseInt(e(131))/7+parseInt(e(129))/8+-parseInt(e(124))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends U.Plugin{static get[Ct(112)](){return Ct(149)}static get[Ct(165)](){return!0}static get[Ct(145)](){return!0}static get[Ct(108)](){return[at]}[Ct(153)];[Ct(130)](){const t=Ct,e=this[t(116)],i=e[t(166)][t(113)](t(140));e.ui[t(154)][t(157)](t(152),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(173)][n(151)],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(139)](n(142)).to(i,n(144),i,n(142),e,n(121),((t,e,i)=>t&&e&&!i)),r[n(174)][n(127)]({icon:mt.IconHistory,label:Q(s,n(120)),tooltip:!0}),u[n(127)]({label:Q(s,n(114)),withText:!0,role:n(123)}),u[n(139)](n(142)).to(i,n(144),i,n(142),e,n(121),((t,e,i)=>t&&e&&!i)),u.on(n(134),(()=>this[n(111)]())),h[n(127)]({label:Q(s,n(128)),withText:!0,role:n(123)}),h[n(139)](n(142)).to(i,n(144),e,n(121),((t,e)=>t&&!e)),h.on(n(134),(()=>{const t=n;e[t(170)][t(113)](t(152))[t(143)](),r[t(171)]=!1,e[t(147)][t(133)][t(110)]()})),c[n(151)][n(157)](u),l[n(151)][n(157)](h),a[n(146)]=n(135),a[n(136)][n(159)]([c,l]),o[n(157)](a),r})),e.ui[t(154)][t(157)](t(150),(()=>this[t(117)]()))}[Ct(117)](){const t=Ct,e=this[t(116)],i=e[t(172)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(174)][t(127)]({icon:mt.IconHistory,label:Q(i,t(120))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(127)]({label:Q(i,t(114))}),o[t(156)](t(134)).to(s),o.on(t(134),(()=>{this[t(111)]()})),r[t(151)][t(157)](o),n[t(136)][t(157)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(127)]({label:Q(i,t(128))}),c[t(156)](t(134)).to(s),c.on(t(134),(()=>{const i=t;e[i(170)][i(113)](i(152))[i(143)]()})),a[t(151)][t(157)](c),n[t(136)][t(157)](a),s[t(173)][t(151)][t(157)](n),s}[Ct(111)](){const t=Ct,e=this[t(116)],i=e[t(172)],s=e[t(166)][t(113)](t(158)),n=e[t(166)][t(113)](t(140));function r(n){const r=t;e[r(170)][r(113)](r(122))&&""===n[r(163)]?n[r(162)][r(125)]=Q(i,r(141)):(e[r(166)][r(113)](at)[r(119)]({name:n[r(163)]}),s[r(115)]())}this[t(153)]||(this[t(167)](),this[t(153)].on(t(126),(()=>r(this[t(153)])))),this[t(153)][t(118)](),s[t(164)]({id:t(161),title:Q(i,t(114)),isModal:!0,content:this[t(153)],actionButtons:[{label:Q(e[t(172)],t(132)),withText:!0,onExecute:()=>s[t(115)]()},{label:Q(e[t(172)],t(160)),class:t(138),withText:!0,onCreate(i){const s=t;i[s(139)](s(142)).to(n,s(144),n,s(142),e,s(121),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(153)])}]})}[Ct(167)](){const t=Ct,e=this[t(116)],i=e[t(172)];this[t(153)]=new Et(i,e[t(170)][t(113)](t(122))),this[t(153)][t(109)]()}}function Lt(){const t=["1312644VweQQi","4xPZNIJ","setTemplate","div","ck-revision-change__label","span","_model","346446RaLzaa","changeId","16960460pGTPXM","ck-revision-change__","type","isSuggestion","12bblzmc","ck-annotation","bindTemplate","data","Added by","Removed by","5034911AVWQym","551757tnKojL","name","author","set","4Lydxfa","Suggested by","16KDEDbJ","984fcmkBJ","5456410BpiXfB","element","515339IVwcwI","ck-revision-change","focus","add"];return(Lt=function(){return t})()}const Pt=zt;function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=448]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(973234===parseInt(e(475))/1*(parseInt(e(456))/2)+-parseInt(e(455))/3+-parseInt(e(479))/4*(-parseInt(e(449))/5)+-parseInt(e(468))/6*(-parseInt(e(474))/7)+-parseInt(e(481))/8*(parseInt(e(462))/9)+parseInt(e(464))/10+parseInt(e(451))/11*(-parseInt(e(448))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends pt.View{[Pt(463)];[Pt(461)];constructor(t,e){const i=Pt;super(t),this[i(461)]=e,this[i(463)]=e.id;const s=this[i(470)],n=Q(t,e[i(471)][i(467)]?i(480):i(454)==e[i(466)]?i(472):i(473));this[i(478)](i(466),e[i(466)]),this[i(457)]({tag:i(458),attributes:{class:[i(469),i(452),s.to(i(466),(t=>i(465)+t))],tabindex:-1},children:[{tag:i(460),children:[{tag:i(460),attributes:{class:[i(459)]},children:[{text:n}]},{text:" "+e[i(477)][i(476)]}]}]})}[Pt(453)](){const t=Pt;this[t(450)][t(453)]()}}var Ut=Ht;function Zt(){var t=["createdAt","rootName","toJSON","type","11294576IPtKsW","data","2008LCgHrV","author","set","27aRYlKK","594ytmkYW","115751qJqogw","6wzjhde","5276588RVnRhB","9221268KThfCs","4510790uHjWfo","2904260faDHMo"];return(Zt=function(){return t})()}function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=463]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(720655===-parseInt(e(469))/1+-parseInt(e(464))/2*(-parseInt(e(468))/3)+-parseInt(e(471))/4+parseInt(e(474))/5*(parseInt(e(470))/6)+parseInt(e(472))/7+parseInt(e(479))/8+parseInt(e(467))/9*(-parseInt(e(473))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(465)];[Ut(478)];[Ut(463)];[Ut(476)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(465)]=e[i(465)],this[i(478)]=e[i(478)],this[i(463)]=e[i(463)]||{},this[i(476)]=e[i(476)],this[i(466)](i(475),e[i(475)])}[Ut(477)](){var t=Ut;return{id:this.id,authorId:this[t(465)].id,type:this[t(478)],data:this[t(463)],createdAt:this[t(475)]}}}const Bt=$t;function $t(t,e){const i=Yt();return($t=function(t,e){return i[t-=268]})(t,e)}function Yt(){const t=["oldRevisionId","578164mincYt","227425NgNUgw","newRevisionId","83334zxCCKm","6GZHtBF","60LvHBaA","173310vGoKiQ","add","306489HPzYgY","changes","8696kJaYhK","_setChanges","434934PjifSu","525ooJtDF"];return(Yt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(163743===-parseInt(e(276))/1+-parseInt(e(274))/2+-parseInt(e(272))/3*(-parseInt(e(268))/4)+parseInt(e(269))/5+parseInt(e(271))/6+-parseInt(e(281))/7*(parseInt(e(278))/8)+parseInt(e(280))/9*(parseInt(e(273))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt{[Bt(270)];[Bt(282)];[Bt(277)];constructor(e,i){const s=Bt;this[s(270)]=e,this[s(282)]=i,this[s(277)]=new t.Collection}[Bt(279)](t){const e=Bt;for(const i of t)this[e(277)][e(275)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Xt=te;function Qt(){const t=["removeClass","userId","abs","maxOffset","length","bindElementToMarker","view","newRevisionId","startIndex","changeId","removeAttribute","addHighlight","showStack","isSuggestion","indexOf","_activeViewTarget","bind","writer","9312003zIRPbw","_removeMissingPairs","dataToMarker","requires","nodeAfter","revision","attributes","addMarker:revision-suggestion:insertion","_getDiff","delete","_setDistance","change:activeChange","includes","createRevision","ck-suggestion-marker","mapper","loadRevisionData","checkAttribute","enableReadOnlyMode","consume","isRemoved","isLimit","vid_end","isObject","deletions","top","isReady","createAttributeElement","pluginName","addMarker:revision","next","_findChangeIdFromDomTarget","_markMismatchedRemovedTags","resolve","WidgetToolbarRepository","nextSibling","values","element","consumable","getChild","_processTape","text","forceDisabled","nextPosition","adapter","addRoot","RevisionsRepository","markerToData","_removeUnsupportedChanges","editor","886166LRalsk","sort","markerName","destroy","has","domEvent","getItems","ck-revision-history-root-add","error","isEnabled","highest","_update","_sortAndFilterDiffChanges","createPositionFromPath","viewItem","addRevision","mouseover","5505vVyicB","createPositionBefore","getIndex","observeMarkers","vid","change:activeView","ck-suggestion-marker-merge","_setChanges","string","elementToAttribute","conversion","isAdded","POSITIVE_INFINITY","shift","markerNameToElements","backward","getRevision","isAtEnd","attachChange","change:isReady","locale","getRootNames","revision-suggestion:","getWalker","listenTo","oldRevisionId","markersEnd","createRange","createUIElement","get","forEach","revision-viewer","uiElement","low","removeMarker:revision","return","revision-suggestion","upcast","diffData","start","3488570eDljuy","wrap","revision:","_changeView","getRevisionDocumentData","then","mapViewToDom","_revisions","showNextChange","revisionHistory","9753tfieml","getCustomProperty","getRoot","diff","toViewElement","31808nLhali","_changeIdToChange","_makeModelFromViewString","remove","976968WfWqwd","comment","authors","change","done","_cleanMarkers","for","right","selection","_setConversion","first","data","model","ck-suggestion-preview-marker-","removeMarker:revision-suggestion","isCollapsed","attribute:vid","isAttached","side","_markMarkers","merge","pairId","parent","toViewRange","toViewPosition","_appendChild","_refreshStartEndIndex","schema","index","endIndex","ck-editor__editable__overlay","downcastDispatcher","config","RevisionViewer","_joinTapes","catch","filter","revision-comment:","left","detachRoot","_data","_utils","_markInsertions","ck-revision-history-root-remove","_step","attributesBefore","stop","numberOfChanges","refresh","markerToHighlight","isInline","addRevisionData","isIncorrect","isPremiumPlugin","change:isEnabled","ck-suggestion-marker-split","_cleanUp","ck-revision-history-root--active","document","showPreviousChange","set","reconvertMarker","markers","getDomRoot","hasAttribute","from","1694XVMGzT","_getRevisionsRange","map","markersStart","offsetSize","ck-suggestion-marker-","editingDowncast","forward","end","isBefore","all","setAttribute","getLaterVisibleRevision","findIndex","vid_start","isAfter","markerRange","concat","isOfficialPlugin","ck-suggestion-marker--active","distance","target","unshift","revisionHistoryAttachChange","6084GZpRtK","test","plugins","insertions","level","dataDowncast","commands","ck-revision-history-root-","object","clear","softBreak","item","isNavigationMode","-new","_fixObsoleteTags","revisionHistoryLabel","unbindElementFromMarkerName","_markSuggestions","enqueueChange","suggestion:","getRevisionRootsAttributes","affectsData","attributesAfter","init","_balloon","elementStart","mousedown","insert","changes","modelRange","getClientRects","104iPFors","bottom","editing","_getViewForChange","_getChangeFromId","isAtStart","activeView","change:numberOfChanges","span","pop","deletion","code","elementEnd","hasClass","previousPosition","getAttributes","RevisionHistoryUtils","high","restoreRevisionCallback","type","range","activeChange","add","addMarker:revision-suggestion:deletion","isBlock","repository","suggestion","split","isRemoveSuggestion","element:pre","push","_initInteractions","insertion","isEqual","_threeWayMerge","createRangeIn","ck-suggestion-preview-marker","execute","getAttribute","restoreRevision","data-change-id","addClass","updatePosition","isAddSuggestion","startsWith","_makeModelFromTape","domConverter","roots","slice","isContent","_makeTape","removeMarker","splice","flat","find","compare","isOnRoot","currentChangeNumber","keys","rootName","name"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(576390===-parseInt(e(425))/1+-parseInt(e(622))/2*(-parseInt(e(492))/3)+-parseInt(e(501))/4+-parseInt(e(442))/5*(-parseInt(e(591))/6)+-parseInt(e(567))/7*(parseInt(e(497))/8)+parseInt(e(701))/9+parseInt(e(482))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends U.Plugin{[Xt(647)];[Xt(419)]=null;[Xt(542)];[Xt(698)];[Xt(485)];[Xt(498)];[Xt(615)];static get[Xt(403)](){return Xt(534)}static get[Xt(585)](){return!0}static get[Xt(554)](){return!0}static get[Xt(704)](){return[Z.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Xt;super(t),this[e(647)]=this[e(424)][e(593)][e(471)](e(421)),this[e(542)]=this[e(424)][e(593)][e(471)](e(638)),this[e(561)](e(643),null),this[e(561)](e(628),null),this[e(698)]=null,this[e(561)](e(495),null),this[e(561)](e(401),!1),this[e(561)](e(434),!0),this.on(e(555),((t,i,s)=>{const n=e;this[n(643)]=null,this[n(628)]=null,this[n(424)][n(624)][n(689)][n(504)]((t=>{const e=n;for(const i of this[e(424)][e(624)][e(689)][e(559)][e(669)])s?t[e(683)](e(531),i):t[e(663)](e(531),i)}))})),this[e(699)](e(603)).to(this,e(643),(t=>null!==t)),this[e(699)](e(679)).to(this,e(401),this,e(495),this,e(643),((t,i,s)=>t&&s?i[e(619)][e(444)](s):0)),this[e(699)](e(548)).to(this,e(401),this,e(495),((t,i)=>t?i[e(619)][e(687)]:0)),this[e(485)]=null,this[e(498)]=new Map,this[e(615)]=this[e(424)][e(593)][e(471)](pt.ContextualBalloon)}[Xt(614)](){const t=Xt,e=this[t(424)],i=new ne(e,{direction:t(457)}),s=new ne(e,{direction:t(574)});e[t(597)][t(644)](t(560),i),e[t(597)][t(644)](t(490),s),e[t(597)][t(644)](t(661),new se(e)),this.on(t(629),(()=>{const e=t;i[e(549)](),s[e(549)]()})),this[t(510)](),this[t(653)](),e[t(393)](t(473)),e[t(593)][t(429)](t(409))&&e[t(593)][t(471)](t(409))[t(417)](t(473))}async[Xt(486)](t){const e=Xt;return await this[e(542)][e(391)](t,this[e(419)]),this[e(542)][e(486)](t)}async[Xt(611)](t){const e=Xt;return await this[e(542)][e(391)](t,this[e(419)]),this[e(542)][e(611)](t)}async[Xt(677)](t,e,i=!1){const s=Xt;if(!this[s(434)])return;const n=this[s(495)],r=this[s(647)],o=s(450)==typeof t?r[s(458)](t):t,a=s(450)==typeof e?r[s(458)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(495)]&&this[s(495)][s(690)]===c&&this[s(495)][s(467)]===u)return Promise[s(408)]();this[s(401)]=!1,this[s(628)]=null,this[s(643)]=null,this[s(495)]=new Gt(c,u);const l=this[s(568)](o,a,!0)[s(569)]((t=>this[s(542)][s(391)](t,this[s(419)])));return l[s(652)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(577)](l)[s(487)]((()=>{const t=s;if(!this[t(434)])return;this[t(557)]();const e=this[t(709)](c,u);for(const i of e[t(619)])this[t(498)][t(561)](i.id,i);this[t(424)][t(513)][t(609)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(424)][s(513)][s(559)][s(463)]())i[s(540)](t);for(const t of Object[s(680)](e[s(513)])){const n=i[s(420)](t);for(const r of Object[s(680)](e[s(707)][t]))i[s(578)](r,e[s(707)][t][r],n);i[s(618)](e[s(513)][t],n,0)}})),this[t(495)][t(449)](this[t(437)](e[t(619)])),this[t(401)]=!0}))[s(536)]((t=>{const e=s;console[e(433)](t),this[e(557)](),n&&(this[e(495)]=n),this[e(401)]=!0}))}[Xt(552)](t,e){const i=Xt,s=this[i(647)][i(388)](t);return s.on(i(436),((t,i,n)=>e(i,n,s))),this[i(647)][i(440)](s),s}[Xt(557)](){const t=Xt;this[t(643)]=null,this[t(506)](),this[t(485)]&&this[t(485)][t(428)](),this[t(485)]=null,this[t(498)][t(600)](),this[t(424)][t(513)][t(609)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(424)][i(513)][i(559)][i(463)]())e[i(540)](t)}))}[Xt(437)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(424)][e(513)][e(559)][e(463)]()){const n=this[e(424)][e(624)][e(689)][e(564)](t);if(!n)continue;const r=n[e(621)]()[e(602)](0);r&&(i[e(652)](t),s[e(561)](t,r))}return i[e(426)](((t,i)=>{const n=e,r=s[n(471)](t),o=s[n(471)](i);return r.y-o.y||r.x-o.x})),(t=t[e(537)]((t=>i[e(387)](t[e(681)]))))[e(426)](((t,s)=>i[e(697)](t[e(681)])-i[e(697)](s[e(681)]))),t}[Xt(672)](t){const e=Xt,i=Array[e(566)](t[e(563)])[e(537)]((([t,i])=>t[e(666)](e(484))&&!i[e(516)])),s=Array[e(566)](this[e(424)][e(513)][e(657)](t)[e(465)]({singleCharacters:!0}));if(0!=i[e(687)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(649)](":");if(n[e(575)][e(655)](t[e(418)])&&i[e(455)](),(t[e(636)][e(655)](n[e(481)])||t[e(636)][e(582)](n[e(481)]))&&(e(654)==r?t[e(453)]={userId:o}:e(632)==r&&(t[e(395)]={userId:o})),0==i[e(687)])break}return s}[Xt(527)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(687)];s++)e(416)===t[s][e(641)]?(t[s][e(602)][e(691)]=s,t[s][e(602)][e(530)]=s):(e(616)===t[s][e(641)]?t[s][e(602)][e(691)]=s:e(634)===t[s][e(641)]&&(t[s][e(602)][e(530)]=s),i[e(561)](t[s].id,s));for(const s of i[e(411)]())e(616)===t[s][e(641)]?t[s][e(602)][e(530)]=i[e(471)](t[s][e(522)]):e(634)===t[s][e(641)]&&(t[s][e(602)][e(691)]=i[e(471)](t[s][e(522)]))}[Xt(415)](t){const e=Xt;for(let i=0;i<t[e(687)];i++){if(e(616)===t[i][e(641)])t[i][e(602)][e(691)]=i;else if(e(634)===t[i][e(641)]){t[i][e(602)][e(530)]=i;const s=t[i][e(602)][e(691)];t[s][e(522)]=t[i].id,t[i][e(522)]=t[s].id}else t[i][e(602)][e(691)]=i,t[i][e(602)][e(530)]=i,t[i][e(522)]=null;t[i][e(570)]||(t[i][e(570)]=[],t[i][e(468)]=[])}}[Xt(543)](t,e){const i=Xt,s=t[i(537)]((t=>!t[i(453)]));for(let t=0;t<e[i(687)];t++)e[t][i(453)]&&(s[t][i(453)]=e[t][i(453)])}[Xt(709)](t,e=null){const i=Xt,s=this[i(647)][i(458)](t),n=e?this[i(647)][i(458)](e):null,r=this[i(568)](s,n),o=r[r[i(687)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(687)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(680)](e[i(480)]))if(e[i(480)][t][i(460)]){const s=e[i(480)][t][i(460)];s[i(518)]?(u[i(644)](t),l[i(429)](t)&&l[i(471)](t)[i(684)]==s[i(684)]?l[i(384)](t):l[i(561)](t,s)):l[i(429)](t)?(u[i(384)](t),l[i(384)](t)):(u[i(644)](t),l[i(561)](t,s))}else u[i(644)](t)}for(const t of u){const e=l[i(429)](t)&&!l[i(471)](t)[i(518)];let s=e?r[i(687)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(480)][t]){const s=e?o[i(480)][t][i(546)]:o[i(480)][t][i(613)];c[i(707)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(513)]={};for(const e of t[i(503)])a[i(561)](e.id,e);for(const e of u){const s=t[i(480)][e]?t[i(480)][e][i(594)]:"[]",n=t[i(480)][e]?t[i(480)][e][i(399)]:"[]";t[i(513)][e]={insertions:this[i(542)][i(499)](s),deletions:this[i(542)][i(499)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(566)](s[i(513)][t][i(594)][i(563)])[i(537)]((([t])=>!t[i(666)](i(484)))));let h=0;for(const o of r){const r=this[i(672)](o[i(513)][t][i(594)]);o==s?(e=r,n=e[i(687)],e[i(472)]((t=>{t.id=h++})),this[i(415)](e)):this[i(543)](e,r);const a=e[i(537)]((t=>!t[i(453)]))[i(569)]((t=>t.id));let c=0;const l=this[i(672)](o[i(513)][t][i(399)]);l[i(472)]((t=>{t[i(395)]?t.id=n++:t.id=a[c++]})),this[i(415)](l),this[i(385)](e,i(453)),this[i(385)](l,i(395)),o==s&&this[i(520)](e,u),e=this[i(535)](e,l),this[i(527)](e),this[i(385)](e,i(395))}e=e[i(537)]((t=>!(t[i(453)]&&t[i(395)])));const d=new Map(o[i(513)][t][i(399)][i(563)]),f=new Set(u[i(680)]());for(const t of d[i(680)]())f[i(384)](t);this[i(608)](e,f),this[i(605)](e),e=this[i(702)](e),e=this[i(407)](e),e=this[i(423)](e);const{root:m,changes:p}=this[i(667)](e,a,t);c[i(513)][t]=m;const v=l[i(471)](t);if(v){const e=a[i(471)](v[i(684)]),s=new qt({author:e,type:v[i(518)]?i(644):i(500),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(589)](s),c[i(707)][t][i(590)]=s.id}c[i(619)]=c[i(619)][i(584)](p)}return c}[Xt(520)](t,e){const i=Xt;for(let s=0;s<t[i(687)];s++)for(const[n,r]of e)!r[i(516)]&&r[i(481)][i(655)](t[s][i(636)])&&t[s][i(570)][i(652)](n),r[i(575)][i(655)](t[s][i(418)])&&t[s][i(468)][i(652)](n)}[Xt(535)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(687)]||r<e[i(687)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(652)](o);else if(a[i(395)]&&o[i(453)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(656)](t,n,e,r);s=s[i(584)](o),n=a,r=c}else a[i(395)]?(r++,s[i(652)](a)):(n++,s[i(652)](o))}return s}[Xt(608)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(687)];o++){for(let r=0;r<t[o][i(570)][i(687)];r++){const a=t[o][i(570)][r];if(!e[i(429)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(478)!=c||i(654)!=u&&i(632)!=u||(s[i(589)]({type:u,name:a,userId:l}),t[o][i(570)][i(674)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(468)][i(687)];r++){const a=t[o][i(468)][r];if(!e[i(429)](a))continue;const{group:c,type:u}=n(a);if(i(478)!=c||i(654)!=u&&i(632)!=u)continue;t[o][i(468)][i(674)](r,1),r--;const l=s[i(580)]((t=>t[i(682)]==a));l>-1&&s[i(674)](l,1)}}function n(t){const e=i,s=t[e(649)](":");return{group:s[0],type:s[1],subType:s[e(687)]>=5?s[2]:null,id:s[e(687)]<5?s[2]:s[3],authorId:s[e(687)]<5?s[3]:s[4],markerCount:6==s[e(687)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(687)];i++){if(t[e(453)]&&e(654)==s[i][e(641)])return t[e(665)]=s[i],void delete t[e(453)];if(!t[e(453)]&&!t[e(395)]&&e(632)==s[i][e(641)])return void(t[e(650)]=s[i])}}}[Xt(385)](t,e){const i=Xt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(561)](o.id,s);for(let s=0;s<t[i(687)];s++){if(i(395)==e&&t[s][i(453)]||i(453)==e&&t[s][i(395)])continue;if(i(416)==t[s][i(641)]){t[s][i(587)]=0;continue}const n=r[i(471)](t[s][i(522)]),o=r[i(471)](t[s].id);t[s][i(587)]=n-o}}[Xt(568)](t,e,i=!1){const s=Xt,n=[];let r=this[s(647)][s(444)](t),o=this[s(647)][s(444)](e);for(-1==o&&(o=this[s(647)][s(489)][s(687)],i=!1);r<o;)n[s(652)](this[s(647)][s(458)](r)),r++;return i&&n[s(652)](this[s(647)][s(458)](r)),n}[Xt(656)](t,e,i,s){const n=Xt,r=this[n(424)][n(513)][n(528)];let o=e;for(;t[o]&&t[o][n(453)];)o++;let a=s;for(;i[a]&&i[a][n(395)];)a++;u(t,e,o),u(i,s,a);const c=i[n(670)](s,a)[n(584)](t[n(670)](e,o));return c[n(426)](((t,e)=>t[n(519)]!=e[n(519)]?t[n(519)]-e[n(519)]:t[n(595)]!=e[n(595)]?t[n(595)]-e[n(595)]:t[n(587)]!=e[n(587)]?e[n(587)]-t[n(587)]:!!t[n(453)]!=!!e[n(453)]?-1==t[n(519)]||0==t[n(519)]?t[n(453)]?-1:1:t[n(453)]?1:-1:t[n(529)]-e[n(529)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(454)],c=!0;for(let n=e;n<i;n++)if(r[s(551)](t[n][s(602)])||(c=!1),t[n][s(602)][s(691)]<e&&(o=n),t[n][s(602)][s(530)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(519)]=n<=o?-1:n<a?0:1,t[n][s(529)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(587)]?t[i][s(595)]=u:(u++,t[i][s(595)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(519)]&&(t[n][s(595)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(587)]?t[e][s(595)]=u:(u--,t[e][s(595)]=u,u--)}}[Xt(605)](t){const e=Xt,i=new Map,s=this[e(424)][e(513)][e(528)];for(let n=1;n<t[e(687)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(416)==c[e(641)])continue;if(c[e(641)]!=u[e(641)])continue;if(!s[e(646)](u[e(602)])||s[e(396)](u[e(602)]))continue;if(!s[e(646)](c[e(602)])||s[e(396)](c[e(602)]))continue;if((t[n][e(453)]||t[n][e(665)])&&t[n-1][e(395)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(395)]||!t[n-1][e(453)]&&!t[n-1][e(665)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(595)]==o[e(595)],h=Math[e(685)](r[e(595)])<Math[e(685)](o[e(595)])&&0==o[e(587)];(l||h)&&(i[e(561)](o.id,r.id),t[e(674)](a,1),n--,r[e(453)]=!1)}for(let s=0;s<t[e(687)];s++)i[e(429)](t[s][e(522)])&&(t[s][e(522)]=i[e(471)](t[s][e(522)]))}[Xt(702)](t){const e=Xt,i=new Set(t[e(569)]((t=>t.id)));for(let s=0;s<t[e(687)];s++)i[e(429)](t[s][e(522)])||0==t[s][e(587)]||(t[s][e(553)]=!0);return t[e(537)]((t=>!t[e(553)]))}[Xt(407)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(687)];s++){if(i[e(429)](t[s].id)&&t[s][e(395)]&&(t[s][e(553)]=!0),t[s][e(553)])continue;if(0==t[s][e(587)])continue;if(e(616)!=t[s][e(641)])continue;if(null==t[s][e(522)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(522)];)e(616)==t[n][e(641)]?r++:e(634)==t[n][e(641)]&&r--,n++;if(0!=r)if(t[s][e(395)])t[s][e(553)]=!0;else for(;n!=s;)t[n][e(395)]&&0!=t[n][e(587)]&&(t[n][e(553)]=!0,i[e(644)](t[n][e(522)])),n--}return t[e(537)]((t=>!t[e(553)]))}[Xt(423)](t){const e=Xt,i=this[e(424)][e(513)][e(528)];for(let s=0;s<t[e(687)];s++){if(!(t[s][e(453)]||t[s][e(665)]||t[s][e(395)]||t[s][e(650)]))continue;if(0==t[s][e(587)])continue;const n=t[s][e(602)];i[e(646)](n)||i[e(396)](n)||(t[s][e(453)]&&delete t[s][e(453)],t[s][e(665)]&&delete t[s][e(665)],t[s][e(650)]&&delete t[s][e(650)],t[s][e(395)]&&(t[s][e(553)]=!0))}return t[e(537)]((t=>!t[e(553)]))}[Xt(667)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(424)][s(513)],c=a[s(528)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(687)];e++)if(s(616)===t[e][s(641)]){t[e][s(636)]=a[s(438)](n,f);const i=new H.Element(t[e][s(602)][s(682)],t[e][s(602)][s(637)]());u[0][s(526)](i),f[s(652)](0),u[s(589)](i),t[e][s(418)]=a[s(438)](n,f)}else s(634)===t[e][s(641)]?(u[s(455)](),t[e][s(636)]=a[s(438)](n,f),f[s(631)](),f[f[s(687)]-1]++,t[e][s(418)]=a[s(438)](n,f)):(t[e][s(636)]=a[s(438)](n,f),d?d[s(541)]+=t[e][s(602)][s(512)]:d=new H.Text(t[e][s(602)][s(512)],t[e][s(602)][s(637)]()),t[e+1]&&s(416)===t[e+1][s(641)]&&v(d,t[e+1][s(602)])||(u[0][s(526)](d),d=null),f[f[s(687)]-1]+=t[e][s(602)][s(571)],t[e][s(418)]=a[s(438)](n,f));for(let e=0;e<t[s(687)];e++){const i=t[e][s(636)],n=t[e][s(418)];for(const n of t[e][s(570)])o[s(561)](n,{start:i,end:null});m(s(650),e,i,n),m(s(665),e,i,n),m(s(395),e,i,n),m(s(453),e,i,n);for(const i of t[e][s(468)]){const t=o[s(471)](i);t?t[s(575)]=n:o[s(561)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(424)][s(513)][s(469)](e[s(481)],e[s(575)]);n[s(563)][s(561)](t,i)}return r[s(426)](((t,e)=>{const i=s,r=n[i(563)][i(471)](i(484)+t.id),o=n[i(563)][i(471)](i(484)+e.id);return r[i(481)][i(576)](o[i(481)])?-1:r[i(481)][i(582)](o[i(481)])?1:r[i(575)][i(576)](o[i(575)])?-1:r[i(575)][i(582)](o[i(575)])?1:i(644)===t[i(641)]?-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(684)]:null,d=i===t[o(687)]-1,f=h[e][0],m=c[o(398)](t[i][o(602)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(575)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(684)]!==u&&(l[e][o(575)]=n,f&&f[o(684)]===l[e][o(684)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(616)!==t[i][o(641)]||f&&f[o(684)]===u||h[e][o(589)]({userId:u,object:t[i][o(602)],change:l[e]}),o(634)===t[i][o(641)]&&f&&f[o(599)]===t[i][o(602)]&&(h[e][o(455)](),l[e]=f[o(504)])),l[e]&&d&&(l[e][o(575)]=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(602)],f=a[h(528)][h(646)](d)&&!a[h(528)][h(396)](d),m=t[h(705)]==o[h(523)]&&o[h(627)];if(f&&m)return;const p=a[h(469)](t,o),v=e[h(471)](u),g=new qt({author:v,type:h(453)==l||h(665)==l?h(644):h(500),data:{isSuggestion:h(665)==l||h(650)==l},createdAt:new Date,rootName:i});r[h(652)](g),n[h(563)][h(561)](h(484)+g.id,p)}function v(t,e){const i=s,n=t[i(637)](),r=e[i(637)]();for(const t of n){if(t[1]!==e[i(660)](t[0]))return!1;r[i(405)]()}return r[i(405)]()[i(505)]}}[Xt(510)](){const t=Xt;this[t(424)][t(452)][t(507)](t(479))[t(703)]({view:t(706)}),this[t(424)][t(452)][t(507)](t(573))[t(550)]({model:t(706),view:e=>{const i=t,s=e[i(427)][i(649)](":")[1],n=this[i(626)](s);if(!n)return null;const r=i(644)==n[i(641)]?i(654):i(632),o=[i(389),i(572)+r];return n[i(512)][i(696)]&&o[i(652)](i(572)+r+i(604)),this[i(643)]==n&&o[i(652)](i(586)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(424)][t(452)][t(507)](t(479))[t(644)]((e=>{const i=t;e.on(i(651),((t,e,s)=>{const n=i,r=e[n(439)][n(414)](0);if(!r||!r.is(n(412),n(633)))return;if(!s[n(413)][n(394)](r,{attributes:[n(581),n(397)]}))return;const o=e[n(620)][n(481)][n(705)];s[n(700)][n(578)](n(581),r[n(660)](n(581)),o),s[n(700)][n(578)](n(397),r[n(660)](n(397)),o)}),{priority:i(475)})})),this[t(424)][t(452)][t(507)](t(479))[t(644)]((e=>{const i=t;e.on(i(412),((t,e,s)=>{const n=i;if(!s[n(413)][n(394)](e[n(439)],{attributes:[n(581),n(397)]}))return;if(e[n(620)][n(516)])return;const r=e[n(620)][n(481)][n(705)];r[n(565)](n(581))||r[n(565)](n(446))||(s[n(700)][n(578)](n(581),e[n(439)][n(660)](n(581)),r),s[n(700)][n(578)](n(397),e[n(439)][n(660)](n(397)),r))}),{priority:i(475)})})),this[t(424)][t(452)][t(507)](t(479))[t(451)]({view:{name:t(630),attributes:{vid:!0}},model:{key:t(446),value:e=>e[t(660)](t(446))}}),this[t(424)][t(513)][t(528)].on(t(392),((e,[,i])=>{const s=t;[s(581),s(397),s(446)][s(387)](i)&&(e[s(477)]=!0,e[s(547)]())}),{priority:t(435)}),this[t(424)][t(452)][t(507)](t(596))[t(644)]((e=>{const i=t;e.on(i(517),((t,e,s)=>{const n=i;if(" "!=e[n(602)][n(512)]||e[n(602)][n(523)][n(686)]>1)return;if(!s[n(413)][n(394)](e[n(602)],t[n(682)]))return;const r=s[n(700)],o=s[n(390)][n(524)](e[n(642)]);r[n(483)](o,r[n(402)](n(630)))}))})),this[t(424)][t(452)][t(507)](t(596))[t(422)]({model:t(706)}),this[t(424)][t(624)][t(532)].on(t(404),function(e){const i=t,s=e[i(593)][i(471)](i(534));return(t,n,r)=>{const o=i,a=n[o(427)][o(649)](":")[1],c=s[o(626)](a);if(!c)return null;const u=o(644)==c[o(641)]?o(649):o(521);if(!r[o(413)][o(592)](n[o(583)],t[o(682)]))return;const l=n[o(583)][o(465)](),h=n[o(583)][o(481)],d=e[o(513)][o(528)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(602)];p=p||d[o(671)](e);const i=r[o(390)][o(496)](e);if(i&&i[o(493)](o(694)))return;o(634)==t[o(641)]&&d[o(646)](e)&&!d[o(396)](e)&&(e[o(410)]||h[o(459)]?f&&f[o(523)]==e||(f=e,g(t[o(636)]),v=!0):m=m||t[o(636)])}function g(t){const e=o,i=r[e(700)][e(470)](e(630),{class:e(572)+u}),a=r[e(390)][e(525)](t);c[e(512)][e(696)]&&r[e(700)][e(663)](e(572)+u+e(604),i),s[e(643)]==c&&r[e(700)][e(663)](e(586),i),r[e(700)][e(618)](a,i),r[e(390)][e(688)](i,n[e(427)])}p||v||!m||g(m)}}(this[t(424)]),{priority:t(639)}),this[t(424)][t(624)][t(532)].on(t(476),((e,i,s)=>{const n=t,r=s[n(390)][n(456)](i[n(427)]);if(r)for(const t of r)(t[n(635)](n(556))||t[n(635)](n(448)))&&(s[n(390)][n(607)](t,i[n(427)]),s[n(700)][n(500)](t))}),{priority:t(639)}),this[t(424)][t(624)][t(532)].on(t(404),((e,i,s)=>{const n=t,r=i[n(427)][n(649)](":")[1],o=this[n(626)](r);if(!o)return null;const a=n(644)==o[n(641)]?n(649):n(521);if(s[n(413)][n(592)](i[n(583)],e[n(682)]))for(const t of i[n(583)][n(431)]()){if(!t.is(n(412),n(601)))continue;const e=s[n(700)][n(470)](n(630),{class:n(572)+a}),r=s[n(390)][n(525)](this[n(424)][n(513)][n(443)](t));o[n(512)][n(696)]&&s[n(700)][n(663)](n(572)+a+n(604),e),this[n(643)]==o&&s[n(700)][n(663)](n(586),e),s[n(700)][n(618)](r,e),s[n(390)][n(688)](e,i[n(427)])}}),{priority:t(639)}),this[t(424)][t(513)][t(559)].on(t(504),(()=>{const e=t;this[e(424)][e(624)][e(689)][e(504)]((t=>{const i=e;for(const e of this[i(424)][i(513)][i(559)][i(463)]()){const s=this[i(424)][i(513)][i(559)][i(494)](e),n=this[i(424)][i(624)][i(689)][i(559)][i(494)](e);if(n){const e=s[i(660)](i(590));if(t[i(693)](i(662),n),t[i(683)](i(432),n),t[i(683)](i(544),n),t[i(683)](i(558),n),e){const s=this[i(626)](e);if(!s)return null;t[i(578)](i(662),e,n),t[i(663)](i(598)+s[i(641)],n),this[i(643)]==s&&t[i(663)](i(558),n)}}}}))})),this[t(424)][t(452)][t(507)](t(479))[t(703)]({view:t(502),model:e=>t(538)+e,converterPriority:t(435)}),this[t(424)][t(452)][t(507)](t(479))[t(703)]({view:t(648),model:e=>t(464)+e,converterPriority:t(435)}),this[t(424)][t(452)][t(507)](t(596))[t(422)]({model:t(478),view:e=>({name:t(610)+e,group:t(478)}),converterPriority:t(435)}),this[t(424)][t(452)][t(507)](t(573))[t(550)]({model:t(478),view:e=>{const i=t,s=e[i(427)][i(649)](":")[1];return i(654)!=s&&i(632)!=s?null:{classes:[i(658),i(514)+s]}}}),this[t(424)][t(624)][t(532)].on(t(645),ie(this[t(424)],t(521)),{priority:t(639)}),this[t(424)][t(624)][t(532)].on(t(708),ie(this[t(424)],t(649)),{priority:t(639)}),this[t(424)][t(624)][t(532)].on(t(515),((e,i,s)=>{const n=t,r=s[n(390)][n(456)](i[n(427)]);if(r)for(const t of r)t.is(n(474))&&(s[n(390)][n(607)](t,i[n(427)]),s[n(700)][n(500)](t))}),{priority:t(639)})}[Xt(626)](t){const e=Xt;return this[e(498)][e(471)](t)}[Xt(625)](t){const e=Xt;return this[e(485)]&&this[e(485)][e(428)](),this[e(485)]=new Wt(this[e(424)][e(462)],t),this[e(485)]}[Xt(653)](){const t=Xt;this[t(424)][t(513)][t(559)][t(509)][t(445)](t(706)),this.on(t(447),((e,i,s,n)=>{const r=t;n&&this[r(615)][r(500)](n),s&&(this[r(615)][r(644)]({view:s,stackId:r(606),position:{target:()=>{const t=r,e=this[t(424)][t(624)],i=this[t(626)](s[t(692)]);let n;if(i[t(512)][t(678)]){const s=e[t(689)][t(564)](i[t(681)]);n=Array[t(566)](s[t(621)]())}else{const i=this[t(424)][t(513)][t(563)][t(471)](t(484)+s[t(692)]);n=Array[t(566)](e[t(390)][t(456)](i[t(682)]))[t(569)]((i=>e[t(689)][t(668)][t(488)](i)))[t(569)]((e=>Array[t(566)](e[t(621)]())))[t(675)]()}return this[t(698)]&&n[t(676)]((e=>e[t(400)]-3<=this[t(698)].y&&e[t(623)]+3>=this[t(698)].y&&e[t(539)]-3<=this[t(698)].x&&e[t(508)]+3>=this[t(698)].x))||n[0]}}}),this[r(615)][r(695)](r(606)))})),this.on(t(386),((e,i,s,n)=>{const r=t;this[r(628)]=s?this[r(625)](s):null,this[r(424)][r(513)][r(504)]((()=>{const t=r,e=this[t(424)][t(624)];n&&(n[t(512)][t(678)]?e[t(689)][t(504)]((i=>{const s=t;i[s(683)](s(558),e[s(689)][s(559)][s(494)](n[s(681)]))})):e[t(562)](t(484)+n.id)),s&&(s[t(512)][t(678)]?e[t(689)][t(504)]((i=>{const n=t;i[n(663)](n(558),e[n(689)][n(559)][n(494)](s[n(681)]))})):e[t(562)](t(484)+s.id))}))})),this[t(466)](this[t(424)][t(624)][t(689)][t(559)],t(441),((e,i)=>{const s=t;if(this[s(643)])return;const n=this[s(406)](i[s(588)]),r=this[s(498)][s(471)](n);r?(this[s(698)]={x:i[s(430)].x,y:i[s(430)].y},this[s(628)]=this[s(625)](r)):(this[s(698)]=null,this[s(628)]=null)})),this[t(466)](this[t(424)][t(624)][t(689)][t(559)],t(617),((e,i)=>{const s=t,n=this[s(406)](i[s(588)]),r=this[s(498)][s(471)](n);r?(this[s(698)]={x:i[s(430)].x,y:i[s(430)].y},r===this[s(643)]?this[s(615)][s(664)]():this[s(643)]=r):(this[s(698)]=null,this[s(643)]=null)}))}[Xt(406)](t){const e=Xt;do{const i=t[e(660)](e(662));if(i)return i;t=t[e(523)]}while(t);return null}[Xt(506)](){const t=Xt;this[t(424)][t(513)][t(504)]((e=>{const i=t;for(const t of this[i(424)][i(513)][i(563)])e[i(673)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(413)][r(592)](s[r(583)],i[r(682)]))return;const o=s[r(583)][r(465)](),a=s[r(583)][r(481)],c=t[r(513)][r(528)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(602)];h=h||c[r(671)](e);const i=n[r(390)][r(496)](e);if(i&&i[r(493)](r(694)))return;r(634)==t[r(641)]&&c[r(646)](e)&&!c[r(396)](e)&&(e[r(410)]||a[r(459)]?u&&u[r(523)]==e||(u=e,f(t[r(636)]),d=!0):l=l||t[r(636)])}function f(t){const i=r,o=n[i(390)][i(525)](t),a=n[i(700)][i(470)](i(630),{class:i(514)+e});n[i(700)][i(618)](o,a),n[i(390)][i(688)](a,s[i(427)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(593)][e(471)](ee);this[e(612)]=!1,this[e(466)](i,e(461),(()=>this[e(549)]())),this[e(466)](i,e(555),(()=>this[e(549)]()))}[Xt(659)](){const t=Xt,e=this[t(424)],i=e[t(593)][t(471)](ee),s=i[t(401)]?i[t(495)][t(690)]:null;e[t(533)][t(471)](t(491))[t(640)](s)}[Xt(549)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(424)][t(593)][t(471)](ee),r=n&&s[t(579)](n[t(690)]);this[t(434)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(545)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(593)][i(471)](ee);this[i(612)]=!1,this[i(545)]=i(574)===e?1:-1,this[i(466)](s,i(461),(()=>this[i(549)]())),this[i(466)](s,i(555),(()=>this[i(549)]())),this[i(466)](s,i(386),(()=>this[i(549)]()))}[Xt(659)](){const e=Xt,i=this[e(424)],s=i[e(593)][e(471)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(643)]=n?s[e(495)][e(619)][e(471)](r+this[e(545)]):s[e(495)][e(619)][e(511)],s[e(643)][e(512)][e(678)])o=i[e(624)][e(689)][e(564)](s[e(643)][e(681)]);else{const t=i[e(513)][e(563)][e(471)](e(484)+s[e(643)].id);o=(0,Z.getMarkerDomElement)(i[e(624)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(549)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(424)][t(593)][t(471)](ee);this[t(434)]=!!(r&&n&&s)&&(!e||(1===this[t(545)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["No changes","625096MHBAlM","bindTemplate","currentChangeNumber","numberOfChanges","280887XVjeAx","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","ck-revision-history-ui","set","span","Show next change","2GVbtce","Loading...","execute","isBackwardNavigationEnabled","setTemplate","div","_statusText","784272VAFZUH","ck-revision-history-ui__changes-navigation","EDIT_X_OF_Y_REVISIONS","isNavigationMode","X_OF_Y_CHANGES","Total","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","forward","918911dqcSWg","isForwardNavigationEnabled","5776443tiHCGX","10yMOIlT","backward","Show previous change","1668208kwaBjz","isEnabled","191810fGNyYP","bind","ck-hidden","isReady","5gVPLAh","ck-revision-history-ui__changes-navigation__navigation","fire"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=155]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(113223===parseInt(e(172))/1+parseInt(e(191))/2*(-parseInt(e(184))/3)+parseInt(e(180))/4*(-parseInt(e(176))/5)+-parseInt(e(155))/6+-parseInt(e(164))/7+-parseInt(e(170))/8+parseInt(e(166))/9*(parseInt(e(167))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends pt.View{constructor(t){const e=ce;super(t);const i=this[e(181)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(188)](e(158),!1),this[e(188)](e(175),!1),this[e(188)](e(182),0),this[e(188)](e(183),0),this[e(188)](e(165),!1),this[e(188)](e(194),!1),this[e(173)](e(186)).to(this,e(175),this,e(183),((t,e)=>t&&e>0)),this[e(173)](e(197)).to(this,e(175),this,e(182),this,e(183),this,e(158),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(192));if(!n)return Q(t,o(179));const a=Q(t,o(161),n);return r?Q(t,o(159),[s+1,n]):a})),s[e(188)]({label:Q(t,e(169)),tooltip:!0,icon:mt.IconChevronUp}),n[e(188)]({label:Q(t,e(190)),tooltip:!0,icon:mt.IconChevronDown}),s[e(173)](e(171)).to(this,e(194)),n[e(173)](e(171)).to(this,e(165)),s.on(e(193),(()=>this[e(178)](e(193),e(168)))),n.on(e(193),(()=>this[e(178)](e(193),e(163)))),this[e(195)]({tag:e(196),attributes:{class:["ck",e(187),e(156)]},children:[{tag:e(189),attributes:{class:[e(185)]},children:[{tag:e(189),attributes:{class:[e(162),i.if(e(186),e(174),(t=>!t))]},children:[{text:i.to(e(158),(i=>i?Q(t,e(157))+": ":Q(t,e(160))+": "))}]},{text:i.to(e(197))}]},new pt.ToolbarSeparatorView,{tag:e(196),attributes:{class:[e(177)]},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(t,e){const i=ve();return(de=function(t,e){return i[t-=173]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(694420===-parseInt(e(180))/1+parseInt(e(190))/2+parseInt(e(193))/3*(-parseInt(e(197))/4)+-parseInt(e(176))/5*(parseInt(e(182))/6)+-parseInt(e(192))/7*(parseInt(e(173))/8)+-parseInt(e(191))/9+-parseInt(e(187))/10*(-parseInt(e(188))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const me=fe(194);class pe extends U.Plugin{static get[fe(177)](){return fe(189)}static get[fe(184)](){return!0}static get[fe(179)](){return!0}[fe(198)](){const t=fe,e=this[t(186)][t(196)][t(181)];e[t(185)]((i=>{const s=t;for(const t of e[s(183)][s(178)])i[s(195)](me,t)}))}[fe(174)](){const t=fe,e=this[t(186)][t(196)][t(181)];e[t(185)]((i=>{const s=t;for(const t of e[s(183)][s(178)])i[s(175)](me,t)}))}}function ve(){const t=["document","isOfficialPlugin","change","editor","3310270cNDGHD","165SKpsde","RevisionViewerLoadingOverlay","1290892eRoeNK","9050994ZWRaJZ","4191131NCesgk","1783554kVJLbn","ck-editor__editable__loading-overlay","addClass","editing","8QawaOj","show","8HqviHV","hide","removeClass","10tRsYBU","pluginName","roots","isPremiumPlugin","987294QfBblx","view","3407106YNoqOR"];return(ve=function(){return t})()}const ge=ke;function ye(){const t=["310vODJlq","plugins","editor","restoreRevision","init","Restore this revision","forward","168009AENBek","1542465PBPrKE","88saMTTf","isBackwardNavigationEnabled","14LhpRpE","1655910eWPqyz","isReady","add","RevisionViewerUI","bind","closeRevisionViewerCallback","execute","Back to editing","currentChangeNumber","3232284omeLor","isForwardNavigationEnabled","isPremiumPlugin","showNextChange","changesNavigation","hide","isNavigationMode","set","requires","exitToEditing","pluginName","287532GjkVtH","revisionHistory","showPreviousChange","ck-revision-history-ui__back-to-editing","975265TLkcQj","isOfficialPlugin","change:isReady","isEnabled","commands","numberOfChanges","componentFactory","show","436289VYgOPw","get","config","listenTo"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=344]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(532292===-parseInt(e(363))/1+-parseInt(e(386))/2*(parseInt(e(382))/3)+parseInt(e(348))/4+-parseInt(e(383))/5+-parseInt(e(387))/6+parseInt(e(371))/7*(parseInt(e(384))/8)+-parseInt(e(359))/9*(-parseInt(e(375))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(358)](){return ge(390)}static get[ge(364)](){return!0}static get[ge(350)](){return!0}static get[ge(356)](){return[ee,pe]}[ge(379)](){const t=ge,e=this[t(377)],i=e[t(376)][t(372)](ee),s=e[t(376)][t(372)](pe);e.ui[t(369)][t(389)](t(357),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(355)]({label:Q(i,s(346)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(362)}),this[s(374)](n,s(345),(()=>{const t=s;e[t(373)][t(372)](t(360))[t(344)]()})),n})),e.ui[t(369)][t(389)](t(378),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(355)]({label:Q(i,s(380)),withText:!0,tooltip:!0}),n[s(391)](s(366)).to(e[s(367)][s(372)](s(378))),this[s(374)](n,s(345),(()=>e[s(345)](s(378)))),n})),e.ui[t(369)][t(389)](t(352),(s=>{const n=t,r=new ue(s),o=e[n(367)][n(372)](n(361)),a=e[n(367)][n(372)](n(351));return r[n(391)](n(385)).to(o,n(366)),r[n(391)](n(349)).to(a,n(366)),r[n(391)](n(388),n(347),n(368),n(354)).to(i),this[n(374)](r,n(345),((t,i)=>{const s=n;e[s(345)](s(381)===i?s(351):s(361))})),r})),s[t(370)](),i.on(t(365),((e,i,n)=>{const r=t;n?s[r(353)]():s[r(370)]()}))}}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-=335]})(t,e)}function Oe(){const t=["placeholder","76170CYIPkz","clientWidth","render","fieldView","value","_updateTooltipText","element","scrollWidth","bindTemplate","1823922gTqbTI","ck-revision-history-sidebar__revision-name","input","extendTemplate","ck-tooltip_multi-line","1198gDcrne","_resizeObserver","8456ANqVMS","12960585DzRXRb","destroy","span","6eXDqLH","6774235oAKKAZ","4683gGmqvg","set","Revision name","1665aXxZIl","779VQKSZG","Enter the revision name","_tooltipString","2100120JaxdrD","listenTo"];return(Oe=function(){return t})()}!function(t){const e=Se,i=t();for(;;)try{if(909077===parseInt(e(351))/1*(parseInt(e(339))/2)+-parseInt(e(366))/3+parseInt(e(354))/4+-parseInt(e(346))/5*(parseInt(e(345))/6)+parseInt(e(347))/7*(-parseInt(e(341))/8)+-parseInt(e(350))/9*(-parseInt(e(357))/10)+parseInt(e(342))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Ie(340)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(365)];this[i(348)]({label:Q(t,i(349)),_tooltipString:""}),this[i(360)][i(356)]=Q(t,i(352)),this[i(337)]({tag:i(344),attributes:{class:[i(335)],"data-cke-tooltip-text":s.to(i(353)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(338)}})}[Ie(359)](){const e=Ie;super[e(359)](),this[e(340)]=new t.ResizeObserver(this[e(360)][e(363)],(()=>this[e(362)]())),this[e(355)](this[e(360)],e(336),(()=>this[e(362)]()))}[Ie(343)](){const t=Ie;super[t(343)](),this[t(340)]&&this[t(340)][t(343)]()}[Ie(362)](){const t=Ie,e=this[t(360)][t(363)];this[t(353)]=e[t(364)]>e[t(358)]&&e[t(361)]||""}}var Ne=i(249),xe={attributes:{"data-cke":!0}};xe.setAttributes=It(),xe.insert=wt().bind(null,"head"),xe.domAPI=kt(),xe.insertStyleElement=Ot();gt()(Ne.A,xe);Ne.A&&Ne.A.locals&&Ne.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=319]})(t,e)}function Ae(){const t=["2678921CIGSBg","set","9IYqFJl","ck-revision-history-sidebar__revision-author","6035282jFEaTU","ck-revision-history-sidebar__revision-author__name","push","8710030eMJSNl","3yUhlbM","74zhSzIX","Revision author","ck-revision-history-sidebar__revision-author_creator","16ZuBsZr","6568164pwSHeS","10AbRMTt","setTemplate","738868AJdAJY","0 0 11 10","Revision creator","12202ccqgBh","name","span","450420eUoIPz"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(682049===-parseInt(e(339))/1*(-parseInt(e(326))/2)+parseInt(e(338))/3*(parseInt(e(323))/4)+parseInt(e(321))/5*(parseInt(e(329))/6)+-parseInt(e(330))/7*(-parseInt(e(319))/8)+parseInt(e(332))/9*(-parseInt(e(337))/10)+parseInt(e(334))/11+-parseInt(e(320))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(331)]({content:mt.IconUser,viewBox:s(324)});const r=["ck",s(333)];i&&r[s(336)](s(341));const o=[{tag:s(328),attributes:{class:["ck",s(335)],title:Q(t,s(i?325:340))},children:[n,e[s(327)]]}];this[s(322)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=439]})(t,e)}function Ee(){var t=["26tjzrpv","3401568aAtfTb","154LcAijC","124580qnZsgR","215438DmLEMa","toLocaleTimeString","27420UBHBpT","1hDCWcY","toLocaleDateString","47264AQVlut","long","498awYwLX","6VUewWf","198124SZueOM","numeric","259BhDoCw","3651672weCKAp"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(345165===-parseInt(e(441))/1*(-parseInt(e(455))/2)+-parseInt(e(446))/3*(-parseInt(e(447))/4)+-parseInt(e(440))/5*(parseInt(e(445))/6)+parseInt(e(449))/7*(-parseInt(e(443))/8)+parseInt(e(452))/9+parseInt(e(454))/10*(-parseInt(e(453))/11)+-parseInt(e(450))/12*(-parseInt(e(451))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["Restore this revision","Name this revision","first","bind","isOpen","158379LgPkWN","class","source","2579427qPpUIs","set","children","isEnabled","Compare against selected","Show more items","panelPosition","change:isActionsDropdownOpen","isReady","buttonView","menu","menuitem","model","items","find","extendTemplate","3413226tePePB","execute","name","844gIpiVu","_action","ck-on","action","add","19275SoCFgA","46YmiPKs","8460788VNWRRH","button","map","16553wBfkhK","listenTo","function","ck-revision-history-sidebar__revision__actions","locale","bindTemplate","stopPropagation","listView","isActionsDropdownOpen","isVisible","5584768HQfqYX"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(671413===-parseInt(e(230))/1*(-parseInt(e(226))/2)+parseInt(e(246))/3+-parseInt(e(220))/4*(parseInt(e(225))/5)+-parseInt(e(217))/6+parseInt(e(227))/7+parseInt(e(240))/8+-parseInt(e(249))/9)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=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=Ue;function We(){const t=["isActionsDropdownOpen","length","element","unhighlight","listenTo","isHighlighted","ck-revision-history-sidebar__revision_highlighted","setTemplate","ck-revision-history-sidebar__revision-authors","fire","highlight","fieldView","_requireRevisionName","isEnabled","unshift","creator","change","span","7858qxXNeX","deselect","2986770IJwFVC","_revision","revisionNameView","createdAt","ck-revision-history-sidebar__actions_dropdown_open","revisionActionsView","value","1789219gtRAEN","map","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__date","render","name","filter","div","set","ck-disabled","428694RyKFQv","isConfirm","select","uiLanguage","220","ck-reset","bindTemplate","closest","1179RWpiKA","8574935CYXDtk","_createdAtFormatted","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_selected","isReady","bind","7807244MGmaLs","296nDCOIZ","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","srcElement","ck-revision-history-sidebar__revision__controls-wrapper","extendTemplate",".ck-thread__remove-confirm","1217745EjVePt","authors","isSelected","from"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=330]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(999592===-parseInt(e(356))/1+-parseInt(e(347))/2*(parseInt(e(374))/3)+-parseInt(e(381))/4+parseInt(e(375))/5+-parseInt(e(349))/6+parseInt(e(366))/7+-parseInt(e(382))/8*(-parseInt(e(389))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[ze(351)];[ze(354)];[ze(350)];[ze(341)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(372)],a=function(t,e){const i=r,s=Array[i(392)](e[i(390)])[i(362)]((t=>t!=e[i(344)]));return e[i(344)]&&s[i(343)](e[i(344)]),s[i(357)]((s=>new Ve(t,s,s==e[i(344)])))}(e,i);this.id=i.id,this[r(350)]=i,this[r(341)]=n,this[r(380)](r(361),r(352)).to(i),this[r(380)](r(376)).to(this,r(352),(t=>{return i=e[r(369)],(s=t)[(n=Me)(442)](i,{month:n(444),day:n(448)})+", "+s[n(439)](i,{hour:n(448),minute:n(448)});var i,s,n})),this[r(364)](r(391),!1),this[r(364)](r(334),!1),this[r(364)](r(393),!1),this[r(364)](r(379),!1),this[r(364)](r(342),!1),this[r(351)]=new Te(e,pt.createLabeledInputText),this[r(351)][r(340)][r(387)]({attributes:{maxlength:r(370)}}),this[r(351)][r(340)][r(380)](r(355)).to(this,r(361),(t=>t||this[r(376)])),this[r(351)][r(380)](r(342)).to(this,r(391),this,r(342),((t,e)=>t&&e)),this[r(354)]=s&&s[r(330)]?function(e,i){const s=je,n=e[s(235)],r=e[s(234)],o=(0,pt.createDropdown)(r);o[s(255)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(234)],n={"Compare against selected":Q(s,i(253)),"Name this revision":Q(s,i(242)),"Restore this revision":Q(s,i(241))};return e[i(229)]((t=>{const e=i,s=n[t[e(219)]];return s&&s!==t[e(219)]&&(t[e(219)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(228),model:new pt.ViewModel({label:t[n(219)],class:t[n(247)],withText:!0,role:n(260),_action:t[n(223)]})};i[n(261)][n(244)](n(252)).to(e,n(238),(i=>n(232)!=typeof t[n(252)]||!i||t[n(252)](e))),o[n(224)](i)}return o}(e,i);return e[s(244)](s(238)).to(o,s(245)),o[s(258)][s(250)]({label:Q(r,s(254)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(264)]({attributes:{class:[s(233),n.if(s(238),s(222))]},on:{click:n.to((t=>t[s(236)]()))}}),o.on(s(218),(t=>{const i=s;e[i(257)]&&i(232)==typeof t[i(248)][i(221)]&&t[i(248)][i(221)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(259)}),o[s(231)](e,s(256),((t,n,r)=>{const a=s;if(r)for(const t of o[a(237)][a(262)]){const s=t[a(251)][a(243)],n=i[a(263)]((t=>t[a(223)]===s[a(221)]))[a(239)];t[a(239)]=void 0===n||n(e)}})),o}(this,s):"",this[r(354)]&&this[r(354)][r(380)](r(342)).to(this),this[r(336)]({tag:r(363),attributes:{class:["ck",r(371),r(358),o.if(r(367),r(383))]},children:[{tag:r(363),attributes:{class:["ck",r(371),r(377),o.if(r(342),r(365),(t=>!t)),o.if(r(391),r(378)),o.if(r(334),r(335)),o.if(r(393),r(353))]},children:[this[r(351)],{tag:r(346),attributes:{class:["ck",r(359)]},children:[{text:o.to(r(376))}]},{tag:r(363),attributes:{class:["ck",r(386)]},children:[{tag:"ul",attributes:{class:["ck",r(337)]},children:a}]},this[r(354)]],on:{click:o.to((t=>{const e=r;t[e(385)][e(373)](e(388))||this[e(379)]&&this[e(342)]&&this[e(338)](e(368),{id:this.id})}))}}]})}[ze(360)](){const t=ze;super[t(360)]();const e=this[t(351)][t(340)][t(331)];this[t(333)](e,t(345),(()=>{const i=t;this[i(341)]&&!e[i(355)]||this[i(338)](i(384),{id:this.id,name:e[i(355)]}),e[i(355)]||(e[i(355)]=this[i(361)]?this[i(361)]:this[i(376)])}))}[ze(368)](){this[ze(391)]=!0}[ze(348)](){this[ze(391)]=!1}[ze(339)](){this[ze(334)]=!0}[ze(332)](){this[ze(334)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const Ni={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let xi={};class Ri extends Ii{static create(t){return xi[t]||(xi[t]=new Ri(t)),xi[t]}static resetCache(){xi={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=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 $s(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=Ni[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function ji(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return ji(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return ji(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return ji(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class 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 Bi(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 $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},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=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${$i[i]}${e}`)),Ji[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return Bi(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=js(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=js(c)):u>a?(c=s+1,u-=js(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ns(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function xs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function 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 Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(js(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function Bs(t,e){const i={};for(const s in t)if(xs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function $s(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Vs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function Nn(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 xn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={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(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),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,Nn,xn),Bn=mn(wn,Tn,Nn,xn),$n=mn(_n,Tn,Nn,xn),Yn=mn(Tn,Nn,xn);const Gn=mn(Tn);const Jn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,Nn,xn);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 Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:Bs(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,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 $e(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)(xs(e.values,t)||xs(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,...Bs(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 Be(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 Bi(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($i.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Nr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(xs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(xs(i,"a")&&xs(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 xr(t,e,i){return new Nr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function jr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Lr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const 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},Br={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of $r)_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 Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=jr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=Bi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:Bi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=Bi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=Bs(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=Br,g=gs(g)):(p=$r,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,js(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Lr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Un,Bn],[Zn,$n],[Hn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[jn,Pn],[Ln,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=xr(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],[Kn,Xn])}(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,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=Bi(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(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=Bs(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return Ns(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return Ns(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return xr(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 Nr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro,s=io[i(409)](t)[i(396)](e),n=io[i(410)](),r=n[i(405)]({days:1})[i(398)](i(390));let o,a;return s[i(411)](n,i(390))?(o=s[i(398)](i(390))[i(394)](),a=s[i(407)]()):s[i(411)](r,i(390))?(o=r[i(394)](),a=s[i(407)]()):s[i(411)](n,i(392))?(o=s[i(398)](i(392))[i(394)](),a=s[i(395)]||""):s[i(411)](n,i(389))?(o=s[i(398)](i(412))[i(394)](),a=s[i(404)]||""):(o=s[i(398)](i(389))[i(394)](),a=String(s[i(389)])),{startDate:o,localizedPeriodName:a}}function ro(t,e){const i=oo();return(ro=function(t,e){return i[t-=389]})(t,e)}function oo(){const t=["7IzcTSw","toRelativeCalendar","1010LdEyeS","fromJSDate","local","hasSame","month","33fsFSfg","697221VWaOKB","year","day","13059YGALro","week","13982WFwRjb","toJSDate","weekdayLong","setLocale","2882442zKXgPK","startOf","125FZnssg","38LiuJpZ","55484NjggFs","2689888GrCQqY","716700wYCwqq","monthLong","minus"];return(oo=function(){return t})()}!function(t){const e=ro,i=t();for(;;)try{if(353923===parseInt(e(393))/1*(parseInt(e(400))/2)+parseInt(e(414))/3+-parseInt(e(401))/4*(-parseInt(e(399))/5)+parseInt(e(397))/6*(-parseInt(e(406))/7)+-parseInt(e(402))/8+parseInt(e(391))/9*(parseInt(e(408))/10)+parseInt(e(413))/11*(parseInt(e(403))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;function uo(t,e){const i=ho();return(uo=function(t,e){return i[t-=215]})(t,e)}const lo=uo;function ho(){const t=["span","3321992heMucP","addRevision","removeRevision","971898yhVPjL","find","setName","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__revisions","4tXEGJl","208617tKexjU","delegate","uiLanguage","_revisionActions","_requireRevisionName","6YtSWEI","12574400aHjFHS","459055zvdqMy","select","locale","div","revisionViews","localizedPeriodName","createCollection","startDate","remove","ck-revision-history-sidebar__time-period__label","add","4tfzGTc","3550617itPLEU","setTemplate","67123oGbEkK"];return(ho=function(){return t})()}!function(t){const e=uo,i=t();for(;;)try{if(211300===-parseInt(e(216))/1*(-parseInt(e(215))/2)+parseInt(e(242))/3+parseInt(e(234))/4*(-parseInt(e(223))/5)+parseInt(e(221))/6*(parseInt(e(237))/7)+parseInt(e(239))/8+parseInt(e(235))/9+-parseInt(e(222))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[lo(230)];[lo(227)];[lo(219)];[lo(220)];constructor(t,e,i,s){const n=lo;super(t);const r=no(e,this[n(225)][n(218)])[n(228)];this[n(230)]=e,this[n(227)]=this[n(229)](),this[n(219)]=i,this[n(220)]=s,this[n(227)][n(217)](n(224)).to(this),this[n(227)][n(217)](n(244)).to(this),this[n(236)]({tag:n(226),attributes:{class:["ck",n(245)]},children:[{tag:n(238),attributes:{class:["ck",n(232)]},children:[{text:r}]},{tag:n(226),attributes:{class:["ck",n(246)]},children:this[n(227)]}]})}[lo(240)](t){const e=lo,i=new Ze(this[e(225)],t,this[e(219)],this[e(220)]);this[e(227)][e(233)](i)}[lo(241)](t){const e=lo,i=this[e(227)][e(243)]((e=>e.id===t.id));this[e(227)][e(231)](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-=442]})(t,e)}function go(){const t=["setTemplate","66MlVygN","9226944YRijRM","5560029fmTawX","419732iFidBz","2ZaqcaY","1530606QwNAvv","616646LELyEc","content","ck-revision-history-sidebar__header","25UjfOBJ","6OqCbuo","ck-revision-history-sidebar__header__label","div","17206LLhVxB","span","2131730hUgTlR","ck-reset_all","4616ioTTFh","Revision history"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(739352===parseInt(e(448))/1*(-parseInt(e(446))/2)+parseInt(e(452))/3*(-parseInt(e(445))/4)+parseInt(e(451))/5*(parseInt(e(447))/6)+parseInt(e(455))/7*(parseInt(e(459))/8)+-parseInt(e(444))/9+-parseInt(e(457))/10*(parseInt(e(442))/11)+parseInt(e(443))/12)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(449)]=mt.IconHistory,this[e(461)]({tag:e(454),attributes:{class:["ck",e(458),e(450)]},children:[i,{tag:e(456),attributes:{class:["ck",e(453)]},children:[Q(t,e(460))]}]})}}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=["unhighlight","startDate","129805ywzdds","highlight","ck-revision-history-sidebar","258eZiCni","locale","addRevision","_revisions","selectRevision","766760jYgeLB","add","div","removeRevision","render","ck-revision-history-sidebar__timeline","createCollection","map","find","revisionSetName","remove","_revisionActions","_getTimePeriodViewByStartDate","some","ck-disabled","uiLanguage","delegate","_removeRevision","1510990tADDns","select","getTime","flat","638fjVYAD","fire","ck-rounded-corners","setName","revisionViews","1322181kKeiwZ","4FyoLMO","_requireRevisionName","12698874yPlMIP","_addRevision","timePeriodViews","2362500hhjIun","5570625hqrvNj","get","setTemplate","deselect","highlightRevisions","createdAt","bindTemplate","isEnabled","8lLILoT","ck-reset","revisionSelected","set"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(967210===parseInt(e(263))/1+-parseInt(e(310))/2+parseInt(e(270))/3*(-parseInt(e(264))/4)+parseInt(e(284))/5*(-parseInt(e(287))/6)+parseInt(e(269))/7*(parseInt(e(278))/8)+-parseInt(e(266))/9+parseInt(e(292))/10*(parseInt(e(314))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(268)];[wo(290)];[wo(303)];[wo(265)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(276)];this[n(268)]=this[n(298)](),this[n(268)][n(308)](n(311)).to(this),this[n(268)][n(308)](n(261)).to(this),this[n(290)]=e,this[n(303)]=i,this[n(265)]=s,this.on(n(311),((t,e)=>{const i=n;this[i(315)](i(280),e)})),this.on(n(261),((t,e)=>{const i=n;this[i(315)](i(301),e)})),this[n(281)](n(277),!1),this[n(272)]({tag:n(294),attributes:{class:["ck",n(279),n(316),n(286)]},children:[new yo(t),{tag:n(294),attributes:{class:["ck",n(297),r.if(n(277),n(306),(t=>!t))]},children:this[n(268)]}]})}[wo(296)](){const t=wo;super[t(296)]();for(const e of this[t(290)])this[t(267)](e);this[t(290)].on(t(293),((e,i)=>{this[t(267)](i)})),this[t(290)].on(t(302),((e,i)=>{this[t(309)](i)}))}get[wo(262)](){const t=wo;return this[t(268)][t(299)]((e=>e[t(262)][t(299)]((t=>t))))[t(313)]()}[wo(291)](t){const e=wo;for(const i of this[e(262)])t&&t.id===i.id?i[e(311)]():i[e(273)]()}[wo(274)](t){const e=wo;for(const i of this[e(262)])t[e(305)]((({id:t})=>t===i.id))?i[e(285)]():i[e(282)]()}[wo(267)](t){const e=wo,i=no(t[e(275)],this[e(288)][e(307)])[e(283)];let s=this[e(268)][e(271)](0);s&&s[e(283)][e(312)]()===i[e(312)]()||(s=new fo(this[e(288)],i,this[e(303)],this[e(265)]),this[e(268)][e(293)](s)),s[e(289)](t)}[wo(309)](t){const e=wo,i=no(t[e(275)],this[e(288)][e(307)])[e(283)];this[e(304)](i)[e(295)](t)}[wo(304)](t){const e=wo;return this[e(268)][e(300)]((i=>i[e(283)][e(312)]()===t[e(312)]()))}}const Oo=No;function To(){const t=["restoreRevision","config","Restore this revision","469089HxjDuw","getIndex","pluginName","247kGYxrm","451mivRqU","plugins","compareAgainstSelected","bind","revisionViews","7qBeMeC","39DHkNvg","nameRevision","setName","diff","element","listenTo","availableRevisionActions","revisionHistory.requireRevisionName","change:diff","152VBXYyA","data","init","_handleEditorDataReady","_revisionViewer","167298jvXrOK","isReady","1874841ChXHRI","string","focus","name","render","512688fLcqxR","_handleRevisionSetName","_sidebarView","820nYZWjE","revisionHistory.revisionActions","getEarlierVisibleRevision","assign","locale","get","add","selectRevision","editor","_handleDiffChange","1057330aBEzzl","isPremiumPlugin","length","_createRevisionActions","destroy","compare","isSelected","ready","map","requires","RevisionsSidebar","Compare against selected","highlightRevisions","isOfficialPlugin","revisionSelected","restoreRevisionCallback","fieldView","132540imabQm","remove","getRevision","select","_revisions","newRevisionId","_revisionsRepository","timePeriodViews","isVisible","appendChild","defaultRevisionActions","revisionSetName","4ULewip","repository","getLaterVisibleRevision","_handleRevisionSelected","isEnabled","getRevisionsInDiff","revisionHistory","Name this revision","action","revisionHistory.viewerSidebarContainer"];return(To=function(){return t})()}function No(t,e){const i=To();return(No=function(t,e){return i[t-=337]})(t,e)}!function(t){const e=No,i=t();for(;;)try{if(833267===-parseInt(e(371))/1*(-parseInt(e(395))/2)+-parseInt(e(387))/3*(parseInt(e(348))/4)+parseInt(e(405))/5+parseInt(e(385))/6*(-parseInt(e(370))/7)+parseInt(e(380))/8*(parseInt(e(361))/9)+parseInt(e(422))/10*(-parseInt(e(365))/11)+parseInt(e(392))/12*(parseInt(e(364))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends U.Plugin{[Oo(384)];[Oo(342)];[Oo(394)];static[Oo(346)]=[Oo(367),Oo(358),Oo(372)];static[Oo(377)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(416),action:({plugins:e},i)=>{const s=t,n=e[s(400)](ee),r=n[s(349)];let o=n[s(374)][s(341)],a=i.id;r[s(362)](o)>r[s(362)](a)&&([o,a]=[a,o]),n[s(410)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(400)](ee);return!(n[s(349)][s(353)](n[s(374)])[s(407)]>2||i[s(411)])}},restoreRevision:{name:t(360),action:(e,{id:i})=>{const s=t;e[s(359)][s(400)](s(354))[s(420)](i)},isVisible:({plugins:e},i)=>!!e[t(400)](ee)[t(349)][t(350)](i.id)},nameRevision:{name:t(355),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(400)](ee),o=r[n(349)][n(397)](i);r[n(410)](i,o),s[n(389)](),s[n(421)][n(339)]()}}}}();static get[Oo(363)](){return Oo(415)}static get[Oo(418)](){return!0}static get[Oo(406)](){return!0}static get[Oo(414)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(384)]=t[e(366)][e(400)](ee),this[e(342)]=this[e(384)][e(349)],this[e(394)]=null}[Oo(382)](){const t=Oo,e=this[t(342)][t(340)],i=this[t(408)](),s=this[t(403)][t(359)][t(400)](t(357));this[t(394)]=new So(this[t(403)][t(399)],e,i,this[t(403)][t(359)][t(400)](t(378))),this[t(394)].on(t(419),this[t(351)][t(368)](this)),this[t(394)].on(t(347),this[t(393)][t(368)](this)),this[t(394)][t(368)](t(352)).to(this[t(384)]),this[t(394)][t(343)].on(t(401),((e,i)=>{const s=t;i[s(369)].on(s(401),((t,e)=>{const i=s;e[i(368)](i(352),i(386)).to(this[i(384)])}))})),this[t(394)][t(391)](),this[t(376)](this[t(403)][t(381)],t(412),this[t(383)][t(368)](this)),this[t(376)](this[t(384)],t(379),this[t(404)][t(368)](this)),s[t(345)](this[t(394)][t(375)])}[Oo(409)](){const t=Oo;this[t(394)][t(375)][t(337)](),this[t(394)][t(409)]()}[Oo(383)](){const t=Oo,e=this[t(342)][t(338)](0);if(e){const i=this[t(342)][t(397)](e.id);this[t(384)][t(410)](e,i)}}[Oo(351)](t,e){const i=Oo,s=this[i(342)][i(338)](e.id),n=this[i(342)][i(397)](s.id);this[i(384)][i(410)](s,n)}[Oo(393)](t,e){const i=Oo;this[i(342)][i(338)](e.id)[i(373)](e[i(390)])}[Oo(404)](t,e,i){const s=Oo,n=this[s(342)][s(353)](i);n[s(407)]>2?(this[s(394)][s(417)](n),this[s(394)][s(402)](null)):(this[s(394)][s(417)]([]),this[s(394)][s(402)](n[0]))}[Oo(408)](){const t=Oo,e=this[t(403)],i=xo[t(377)],s=e[t(359)][t(400)](t(396))||xo[t(346)];if(s[t(407)])return s[t(413)]((s=>{const n=t,r=n(388)==typeof s?Object[n(398)]({},i[s]):s;return r[n(356)]=r[n(356)][n(368)](this,e),r[n(344)]&&(r[n(344)]=r[n(344)][n(368)](this,e)),r}))}}const Ro=xo,Ao=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=377]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(427388===-parseInt(e(396))/1*(parseInt(e(402))/2)+parseInt(e(378))/3+parseInt(e(410))/4+parseInt(e(422))/5*(parseInt(e(420))/6)+parseInt(e(418))/7+parseInt(e(411))/8+-parseInt(e(401))/9*(parseInt(e(395))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends pt.EditorUI{[Ao(417)];[Ao(386)];[Ao(392)];get[Ao(405)](){return this[Ao(417)]}constructor(e,i){const s=Ao;super(e),this[s(417)]=i,this[s(386)]=(0,pt.normalizeToolbarConfig)(e[s(391)][s(403)](s(416))),this[s(392)]=new t.ElementReplacer}get[Ao(390)](){const t=Ao;return this[t(405)][t(390)]}[Ao(423)](t){const e=Ao,i=this[e(414)],s=this[e(405)],n=i[e(387)][e(405)],r=s[e(379)],o=n[e(406)][e(394)]();r[e(377)]=o[e(385)],s[e(409)]();const a=r[e(390)];this[e(393)](r[e(377)],a),s[e(379)][e(389)](e(384)).to(this[e(388)]),n[e(421)](a),this[e(392)][e(380)](t,this[e(390)]),this[e(407)](),this[e(383)](e(404))}[Ao(413)](){const t=Ao;super[t(413)]();const e=this[t(405)],i=this[t(414)][t(387)][t(405)];this[t(392)][t(412)](),i[t(400)](e[t(379)][t(377)]),e[t(413)]()}[Ao(407)](){const t=Ao,e=this[t(405)];e[t(397)][t(389)](t(398)).to(this[t(388)],t(384)),e[t(397)][t(415)]=e[t(390)],e[t(397)][t(389)](t(408)).to(this,t(382),(({top:t})=>t)),e[t(416)][t(399)](this[t(386)],this[t(381)]),this[t(419)](e[t(416)])}}function Eo(){const t=["editing","focusTracker","bind","element","config","_elementReplacer","setEditableElement","getRoot","70ZXqdvH","675310kRyXoX","stickyPanel","isActive","fillFromConfig","detachDomRoot","2223747lfgGPM","2QtAUNe","get","ready","view","document","_initToolbar","viewportTopOffset","render","2978028qlICfb","3914136kJKUyK","restore","destroy","editor","limiterElement","toolbar","_view","3806747oaiDTe","addToolbar","2160252NoOuCJ","attachDomRoot","10BobVGy","init","name","1003800jdqBBq","editable","replace","componentFactory","viewportOffset","fire","isFocused","rootName","_toolbarConfig"];return(Eo=function(){return t})()}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(){var t=["47856kFFZTj","stickyPanel","render","content","318120ZYUKpH","toolbar","2787660qivqIE","shouldToolbarGroupWhenFull","18tzoytv","92XPZBEQ","editable","main","654934cgUTnM","9MoDmOG","add","top","_editable","291335OkQczf","284017yboGgE","3032272MDYhIj"];return(Fo=function(){return t})()}var jo=Lo;function Lo(t,e){var i=Fo();return(Lo=function(t,e){return i[t-=243]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(257688===parseInt(e(256))/1+parseInt(e(262))/2+-parseInt(e(258))/3*(parseInt(e(247))/4)+parseInt(e(255))/5*(parseInt(e(246))/6)+-parseInt(e(250))/7+-parseInt(e(257))/8*(-parseInt(e(251))/9)+-parseInt(e(244))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends pt.BoxedEditorUIView{[jo(254)];[jo(259)];[jo(243)];get[jo(248)](){return this[jo(254)]}constructor(t,e,i={}){var s=jo;super(t),this[s(259)]=new pt.StickyPanelView(t),this[s(243)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(245)]}),this[s(254)]=new pt.InlineEditableUIView(t,e)}[jo(260)](){var t=jo;super[t(260)](),this[t(259)][t(261)][t(252)](this[t(243)]),this[t(253)][t(252)](this[t(259)]),this[t(249)][t(252)](this[t(248)])}}const zo=Uo;function Wo(){const t=["661734qblBes","9vytVaB","initPlugins","ready","initialData","data","document","config","845858wgkRwN","8NEFoPp","_ui","init","fire","createRoot","view","242613zlebro","435fFPglD","sourceElement","get","editing","create","destroy","2079954gUHhsO","locale","19952MqEXKD","model","1655690JhcseT","3564351loQEVg","updateSourceElement"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=324]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(298655===parseInt(e(348))/1+parseInt(e(341))/2+parseInt(e(333))/3+-parseInt(e(328))/4*(-parseInt(e(349))/5)+-parseInt(e(326))/6+-parseInt(e(331))/7*(parseInt(e(342))/8)+-parseInt(e(334))/9*(parseInt(e(330))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[zo(343)];get ui(){return this[zo(343)]}constructor(t,e){const i=zo;super(e),this[i(350)]=t,this[i(329)][i(339)][i(346)]();const s=new Po(this[i(327)],this[i(352)][i(347)],{shouldToolbarGroupWhenFull:!0});this[i(343)]=new Mo(this,s)}[zo(325)](){const t=zo;return this[t(332)](),this.ui[t(325)](),super[t(325)]()}static async[zo(324)](t,e){const i=zo,s=new this(t,e);return await s[i(335)](),await s.ui[i(344)](t),await s[i(338)][i(344)](s[i(340)][i(351)](i(337))||""),s[i(345)](i(336)),s}}const Ho=qo;function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=447]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(192408===parseInt(e(584))/1+-parseInt(e(491))/2*(parseInt(e(463))/3)+parseInt(e(484))/4+parseInt(e(497))/5+-parseInt(e(538))/6+-parseInt(e(453))/7+parseInt(e(498))/8*(parseInt(e(503))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const Bo=[Ho(527),Ho(581)];class $o extends U.Plugin{[Ho(559)];static get[Ho(488)](){return Ho(566)}static get[Ho(451)](){return!0}static get[Ho(504)](){return!0}constructor(t){const e=Ho;function i(t){const e=qo;return t[e(507)]((t=>String[e(597)](t)))[e(591)]("")}super(t),this[e(559)]=e(522),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Yo(){const t=["removeMarker","fromCharCode","display","loadRevisionData","element","fromVersion","isOfficialPlugin","setSelection","879641LOxVru","toolbar","roots","_showRevisionViewer","getUser","insert","isReadOnly","_closeRevisionViewer","revisionHistory.viewerEditorElement","PaginationLookup","305907sBhxUS","revisionHistory.editorContainer","init","locale","repository","showRevisionViewerCallback","rootName","change","name","isAnonymous","lazyRoots","isRevisionViewerOpen","_enhanceShowRevisionViewerCallback","enableReadOnlyMode","getRevisions","data","revision-history-missing-configuration","saveRevision","_restoreRevision","adapter","createdAt","1040184SfEpBy","getAttributeKeys","selection","toVersion","pluginName","get","disableReadOnlyMode","2pjBzlI","$graveyard","users","toLocaleDateString","_cleanUp","define","573245jwshBQ","192392NAoWlj","push","getRevisionRootsAttributes","DocumentOutlineUI","remove","9VeAUtr","isPremiumPlugin","Autosave","long","map","parse","_viewerEditor","refreshPositioning","Restored","creator","revision-history-viewer-opened","uiLanguage","save","toJSON","changesNavigation","from","style","getMarkersGroup","indexOf","end","none","includes","isReady","numeric","RevisionHistoryUI","restrictedEditingException","enqueueChange","_getRevisionViewerEditorConfig","revisionHistory.requireRevisionName","addUser","restoreRevision","hide","destroy","removeSelectionAttribute","requires","1153416ytFGIq","isEnabled","RevisionHistoryUtils","view","RevisionsRepository","isOpen","refreshVisibility","plugins","Users","revisionHistory","commands","translations","getRoot","revisionHistory.closeRevisionViewerCallback","RevisionViewer","markers","model","revisionHistory.viewerContainer","RevisionHistory","Annotations","document","result","bind","revisionHistory.restoreRevisionCallback","exitToEditing","update","isAttached","getRevision","RevisionViewerIntegration","error","catch","editor","RevisionTracker","getRevisionDocumentData","then","DocumentOutline","_update","keys","removeAttribute","Dialog","createRangeIn","closeRevisionViewerCallback","revisionHistory.showRevisionViewerCallback","RestrictedEditingMode","set","addRoot","213532plgQSl","setAttribute","has","_recalculatePageBreaks","config","detachRoot","toLocaleTimeString","join","block","_enhanceCloseRevisionViewerCallback","create","addRevisionData"];return(Yo=function(){return t})()}class Go extends U.Plugin{[Ho(509)];static get[Ho(488)](){return Ho(556)}static get[Ho(451)](){return!0}static get[Ho(504)](){return!0}static get[Ho(537)](){return[at,jt]}constructor(e){const i=Ho;if(super(e),!this[i(569)][i(588)][i(489)](i(547)))throw new t.CKEditorError(i(479),this);this[i(509)]=null,this[i(582)](i(474),!1),this[i(569)][i(588)][i(496)](i(580),(t=>this[i(456)]({...t,translations:this[i(569)][i(466)][i(549)]}))),this[i(569)][i(588)][i(496)](i(551),(t=>this[i(460)](t))),this[i(569)][i(588)][i(496)](i(561),(t=>this[i(481)](t))),this[i(569)][i(588)][i(496)](i(531),!1),this[i(475)](),this[i(593)]()}set[Ho(482)](t){const e=Ho;this[e(569)][e(545)][e(489)](e(570))[e(482)]=t}get[Ho(482)](){const t=Ho;return this[t(569)][t(545)][t(489)](t(570))[t(482)]}[Ho(595)](t){const e=Ho;return this[e(569)][e(545)][e(489)](e(570))[e(595)](t)}[Ho(565)](t){const e=Ho;return this[e(569)][e(545)][e(489)](e(542))[e(565)](t)}[Ho(477)](t){const e=Ho;return this[e(569)][e(545)][e(489)](e(542))[e(477)](t||{toJSON:!1})}[Ho(530)](){const e=Ho,i=this[e(569)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(545)][e(489)](e(570)),r=i[e(545)][e(489)](e(546))[e(493)];return s[e(454)]=[e(562),e(533),e(517)],delete s[e(473)],s[e(545)][e(499)]($o,ee,be,class extends U.Plugin{static get[e(537)](){return[ee,e(546)]}[e(465)](){const s=e,o=this[s(569)][s(545)][s(489)](s(546));for(const t of r)t[s(472)]||o[s(457)](t.id)||o[s(532)](t);const a=n[s(467)][s(477)]();let c=null;const u=this[s(569)][s(545)][s(489)](s(552));u[s(482)]=n[s(482)],u[s(560)](s(539)).to(n),this[s(569)][s(548)][s(489)](s(533))[s(560)](s(539)).to(i,s(459),(t=>!t));for(const e of a){const i=null===e[s(512)];if(i&&e[s(487)]===e[s(450)])continue;const r=e[s(516)]();u[s(595)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(574)](r,o);else if(!o){const e=a[u(516)]();e.id=(0,t.uid)(),n[u(480)](e,a[u(487)])[u(572)]((t=>{c=t}))}}else e[u(574)](r,o)}))}}},Ro),s}[Ho(475)](){const t=Ho,e=this[t(569)][t(588)][t(489)](t(547))[t(468)];this[t(569)][t(588)][t(582)](t(580),(async()=>{const i=t;this[i(569)][i(476)](i(513));const s=this[i(569)][i(545)][i(489)](i(570));if(this[i(569)][i(545)][i(586)](i(505))){const t=this[i(569)][i(545)][i(489)](i(505));await t[i(515)]()}else await s[i(563)]();if(this[i(569)][i(545)][i(586)](i(462))&&this[i(569)][i(545)][i(489)](i(462))[i(587)](),this[i(569)][i(545)][i(586)](i(577))){const t=this[i(569)][i(545)][i(489)](i(577));t[i(543)]&&t[i(534)]()}const n=this[i(530)]();return e(n)[i(572)]((t=>{const e=i;return this[e(509)]=t,this[e(569)][e(545)][e(586)](e(557))&&this[e(569)][e(545)][e(489)](e(557))[e(544)](),this[e(569)][e(545)][e(586)](e(573))&&(this[e(569)][e(545)][e(489)](e(501))[e(541)][e(449)][e(519)][e(447)]=e(523)),t}))[i(568)]((t=>(console[i(567)](t),this[i(569)][i(490)](i(513)),null)))}))}[Ho(593)](){const t=Ho,e=this[t(569)][t(588)][t(489)](t(547))[t(579)];this[t(569)][t(588)][t(582)](t(551),(()=>(this[t(569)][t(545)][t(586)](t(462))&&this[t(569)][t(545)][t(489)](t(462))[t(587)](),this[t(569)][t(545)][t(586)](t(573))&&(this[t(569)][t(545)][t(489)](t(501))[t(541)][t(449)][t(519)][t(447)]=""),this[t(509)][t(545)][t(489)](t(552))[t(495)](),e(this[t(509)])[t(572)]((()=>{const e=t;if(this[e(569)][e(490)](e(513)),this[e(509)]=null,this[e(569)][e(545)][e(586)](e(557))){const t=this[e(569)][e(545)][e(489)](e(557));t[e(544)](),t[e(510)]()}})))))}[Ho(456)](t){const e=Ho,i=this[e(569)][e(588)][e(489)](e(464)),s=this[e(569)][e(588)][e(489)](e(555)),n=this[e(569)][e(588)][e(489)](e(461));return Zo[e(594)](n,t)[e(572)]((t=>(s[e(519)][e(447)]=e(592),i[e(519)][e(447)]=e(523),this[e(474)]=!0,t)))}[Ho(460)](t){const e=Ho,i=this[e(569)][e(588)][e(489)](e(464));return this[e(569)][e(588)][e(489)](e(555))[e(519)][e(447)]=e(523),i[e(519)][e(447)]="",this[e(474)]=!1,t[e(535)]()}async[Ho(481)](t){const e=Ho,i=this[e(569)],s=this[e(509)][e(545)][e(489)](e(552)),n=i[e(545)][e(489)](e(570)),r=i[e(545)][e(489)](e(540)),o=s[e(467)][e(565)](t);let a,c,u;try{await r[e(448)](o,this[e(482)]),a=r[e(571)](o),c=r[e(500)](o)}catch(t){return void console[e(567)](t)}i[e(554)][e(470)]((t=>{const s=e;for(const e of Array[s(518)](i[s(554)][s(553)][s(520)](s(528))))t[s(596)](e)})),s[e(525)]=!1,i[e(554)][e(529)]((t=>{const s=e;t[s(452)](null),t[s(536)](i[s(554)][s(558)][s(486)][s(485)]());const n=Object[s(575)](a);for(const e of i[s(554)][s(558)][s(455)])s(492)!=e[s(469)]&&e[s(564)]()&&!n[s(524)](e[s(469)])&&t[s(589)](e);for(const e of n){let n=i[s(554)][s(558)][s(550)](e);n&&n[s(564)]()||(n=t[s(583)](e));const r=c[e],o=Object[s(575)](r),u=a[e];for(const e of n[s(485)]())o[s(524)](e)||t[s(576)](e,n);for(const i of o)t[s(585)](i,c[e][i],n);t[s(502)](t[s(578)](n)),t[s(458)](i[s(478)][s(508)](u,n),n,0)}}));const l=Q(i[e(466)],e(511));return u=o[e(471)]?-1==o[e(471)][e(521)](l)?l+": "+o[e(471)]:o[e(471)]:l+": "+o[e(483)][e(494)](i[e(466)][e(514)],{month:e(506),day:e(526)})+", "+o[e(483)][e(590)](i[e(466)][e(514)],{hour:e(526),minute:e(526)}),await n[e(480)]({name:u}),s[e(525)]=!0,i[e(588)][e(489)](e(547))[e(579)]()}}function Jo(){var t=["5138301LfNYJl","9BsTUBG","1506rRTRBT","1417112jbEdmY","265NOjXZH","67222BUJPHO","1672064CNNFrb","751854hZZNCr","503460ikhfqN"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=196]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(371422===parseInt(e(197))/1+-parseInt(e(203))/2+-parseInt(e(196))/3+-parseInt(e(204))/4+-parseInt(e(202))/5*(-parseInt(e(200))/6)+parseInt(e(198))/7+parseInt(e(201))/8*(-parseInt(e(199))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();