@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250407.0 → 0.0.0-nightly-20250408.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 (183) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/be.js +1 -0
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.d.ts +8 -0
  13. package/dist/translations/be.js +23 -0
  14. package/dist/translations/be.umd.js +23 -0
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/lang/translations/be.po +131 -0
  152. package/package.json +11 -11
  153. package/src/changeitem.js +2 -2
  154. package/src/editor/revisionviewereditor.js +2 -2
  155. package/src/editor/revisionviewereditorui.js +1 -1
  156. package/src/editor/revisionviewereditoruiview.js +1 -1
  157. package/src/index.js +1 -1
  158. package/src/revision.js +2 -2
  159. package/src/revisiondiff.js +1 -1
  160. package/src/revisionhistory.js +1 -1
  161. package/src/revisionhistoryutils.js +1 -1
  162. package/src/revisionsrepository.js +1 -1
  163. package/src/revisiontracker.js +1 -1
  164. package/src/revisionviewer.js +1 -1
  165. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  166. package/src/ui/revision/revisionauthorview.js +1 -1
  167. package/src/ui/revision/revisionnameview.js +1 -1
  168. package/src/ui/revision/revisionview.js +2 -2
  169. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  170. package/src/ui/revision/subrevisionview.js +1 -1
  171. package/src/ui/revision/utils.js +1 -1
  172. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  173. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  175. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  176. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  177. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  178. package/src/ui/revisionssidebar/utils.js +1 -1
  179. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  180. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  181. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  182. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  183. 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:()=>W,RevisionHistory:()=>Bo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>B,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(D=t)||"object"!=typeof D&&"function"!=typeof D)return t;var D;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const D=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}function V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function M(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?M(e)?F(t,V(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}}function P(t,e){const i=z();return(P=function(t,e){return i[t-=427]})(t,e)}const L=P;function z(){const t=["4425352YKxszz","toVersion","3962Xjektk","4626vwtTUw","44932XzeQFc","authorsIds","model","toJSON","set","17805755ePMCEt","34856VbwYwz","26sJoxwR","attributes","fire","_update","name","creatorId","730qivEkx","fromVersion","map","removeAttribute","80523iOXPWd","411285RtLYCY","325NDSaal","setName","setAttribute","authors","creator","diffData","createdAt"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(390131===parseInt(e(434))/1*(-parseInt(e(433))/2)+parseInt(e(445))/3+parseInt(e(427))/4*(parseInt(e(446))/5)+parseInt(e(456))/6*(-parseInt(e(455))/7)+-parseInt(e(453))/8+parseInt(e(444))/9*(-parseInt(e(440))/10)+parseInt(e(432))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[L(450)];[L(449)];[L(451)];[L(454)];[L(441)];[L(429)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(450)]=e[i(450)]||null,this[i(449)]=e[i(449)]||[],this[i(451)]=e[i(451)]||null,this[i(454)]=e[i(454)]||0,this[i(441)]=e[i(441)]||0,this[i(431)](i(438),e[i(438)]||""),this[i(431)](i(452),e[i(452)]||new Date),this[i(431)](i(435),e[i(435)]||{})}[L(447)](t){this[L(437)]({name:t})}[L(448)](t,e){const i=L,s=A(this[i(435)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(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]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(437)]({attributes:s})}[L(443)](t){const e=L,i=A(this[e(435)]);(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]&&M(e))return j(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(437)]({attributes:i})}[L(437)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(438),i(452),i(451),i(449),i(435),i(454),i(441),i(439)];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(449)]&&(n[i(428)]=n[i(449)][i(442)]((t=>t.id)),delete n[i(449)]),this[i(436)](i(437),n,e))}[L(430)](){const t=L;return{id:this.id,name:this[t(438)],creatorId:this[t(450)]?this[t(450)].id:null,authorsIds:this[t(449)][t(442)]((t=>t.id)),diffData:this[t(451)],createdAt:this[t(452)],attributes:this[t(435)],fromVersion:this[t(441)],toVersion:this[t(454)]}}}var U=i(782),H=i(211),Z=i(783);const $=Y;function q(){const t=["3WCuzvY","newRevisionId","creatorId","11879CKhvzc","createdAt","24789330PQtpRR","getIndex","diffData","name","add","href","Users","earlier","3256175HxgWZg","getRevisions","getUser","isNaN","addRevision","isPremiumPlugin","fromCharCode","3625756zLEAjp","getRevisionsInDiff","editor","_revisions","387226yeQJrm","getEarlierVisibleRevision","afterInit","1048zHCaRX","get","fromVersion","later","getLaterVisibleRevision","createRevision","RevisionsRepository","123072dPUCYZ","attributes","reverse","join","map","oldRevisionId","1081416HziYla","data","from","toJSON","isOfficialPlugin","toVersion","plugins","getRevisionsIterator","push","length","authorsIds","requires","getRevision","pluginName"];return(q=function(){return t})()}function Y(t,e){const i=q();return(Y=function(t,e){return i[t-=230]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(551712===-parseInt(e(260))/1+parseInt(e(244))/2+parseInt(e(274))/3*(-parseInt(e(240))/4)+-parseInt(e(233))/5+parseInt(e(254))/6+parseInt(e(277))/7*(parseInt(e(247))/8)+parseInt(e(279))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class B extends U.Plugin{[$(243)];static get[$(271)](){return[H.Users]}static get[$(273)](){return $(253)}static get[$(264)](){return!0}static get[$(238)](){return!0}get[$(269)](){const t=$;return this[t(243)][t(269)]}constructor(e){const i=$;super(e),this[i(243)]=new t.Collection}[$(246)](){!async function(e){const i=k([101,57,106,77,115,81,114,113,53,79,118,55,65,50,104,75,100,82,105,78,83,110,119,90,67,108,98,84,72,109,66,86,73,70,99,116,76,117,97,56,122,54,107,48,51,120,103,74,69,71,89,111,87,121,68,49,88,112,52,85,80,102]),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=Y;for(const e in window)if(window[k([78,117,109,98,101,114])][i(236)](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([101]);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=Y;return t[e(258)]((t=>String[e(239)](t)))[e(257)]("")}!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:1743984e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Y,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(230)]);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)}[$(252)](t){const e=$,i=this[e(242)][e(266)][e(248)](e(231));return new W({id:t.id,name:t[e(282)],creator:t[e(276)]?i[e(235)](t[e(276)]):null,diffData:t[e(281)]||t[e(261)],authors:t[e(270)][e(258)]((t=>i[e(235)](t))),createdAt:new Date(t[e(278)]),attributes:t[e(255)],fromVersion:t[e(249)],toVersion:t[e(265)]})}[$(237)](t,e=0){const i=$;this[i(243)][i(283)](t,e)}[$(272)](t){const e=$;return this[e(243)][e(248)](t)}[$(234)](t={toJSON:!1}){const e=$,i=Array[e(262)](this[e(243)]);return i[e(256)](),t[e(263)]?i[e(258)]((t=>t[e(263)]())):i}[$(280)](t){const e=$;return this[e(243)][e(280)](t)}[$(245)](t){const e=$,[,i]=this[e(267)](t,{direction:e(232)});return i}[$(251)](t){const e=$,[,i]=this[e(267)](t,{direction:e(250)});return i}[$(241)](t){const e=$,i=[];for(const s of this[e(267)](t[e(275)]))if(i[e(268)](s),s.id===t[e(259)])break;return i}*[$(267)](t,{direction:e=$(232),filter:i=()=>!0}={}){const s=$,n=s(232)===e?1:-1;let r=this[s(243)][s(248)](t),o=this[s(280)](r);for(yield r;r;){if(o+=n,r=this[s(272)](o),!r)return;i(r)&&(yield r)}}}function J(t,e){const i=K();return(J=function(t,e){return i[t-=320]})(t,e)}const G=J;function K(){const t=["toModel","112422gpswea","32647DwfiHv","_removeRevisionMarkers","div","processor","append","_setCustomProperty","455562oaZHlw","childNodes","forEach","document","data-revision-","_viewClassToTypeChar","isOfficialPlugin","_makeModelFromViewString","_appendChild","_getTypeCharForViewElement","editing","collaboration.channelId","101270AgpYCz","map","pluginName","type","string","editor","useFillerType","getRevisionRootsAttributes","getRevisionDocumentData","isAttached","isPremiumPlugin","view","4CWhlPF","666jYhAnv","revision-end","children","_typeCharToViewClass","marked","data","3494600rbZdvb","startsWith","revision-start","from","domChildrenToView","getFillerOffset","loadRevisionData","innerHTML","parse","378135dsERuE","diffData","default","attributes","fillerOffset","length","get","render","insertions","name","domConverter","viewChildrenToDom","domDocument","filter","2yzbfQO","_getViewFromDiffObj","createElement","customProperties","htmlProcessor","4491172QKLYLz","constructor","attributesAfter","attachChange","toData","getRevision","RevisionHistoryUtils","config"];return(K=function(){return t})()}!function(t){const e=J,i=t();for(;;)try{if(368530===parseInt(e(368))/1+parseInt(e(353))/2*(-parseInt(e(374))/3)+-parseInt(e(323))/4*(parseInt(e(339))/5)+parseInt(e(367))/6+-parseInt(e(358))/7+parseInt(e(330))/8+-parseInt(e(324))/9*(-parseInt(e(386))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends U.Plugin{static get[G(388)](){return G(364)}static get[G(380)](){return!0}static get[G(321)](){return!0}[G(379)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(327)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(336)](t,e){const i=G;if(t[i(340)]||!e)return;const s=this[i(391)][i(365)][i(345)](i(385)),n=await e[i(363)]({channelId:s,revisionId:t.id});t[i(340)]=n[i(340)]}[G(394)](t){const e=G,i={};for(const s in t[e(340)]){if(t[e(340)][s][e(361)]&&!t[e(340)][s][e(361)][e(320)])continue;const n=this[e(369)](JSON[e(338)](t[e(340)][s][e(347)])),r=this[e(391)][e(384)][e(322)][e(377)],o=new Z.ViewDocumentFragment(r,n[e(387)]((t=>this[e(354)](t,!1))));this[e(391)][e(329)][e(371)][e(392)](e(328)),i[s]=this[e(391)][e(329)][e(371)][e(362)](o),this[e(391)][e(329)][e(371)][e(392)](e(341))}return i}[G(393)](t){const e=G,i={};for(const s in t[e(340)])t[e(340)][s][e(361)]&&!t[e(340)][s][e(361)][e(320)]||(i[s]=t[e(340)][s][e(360)]||{});return i}[G(383)](t){const e=G;return this[e(379)][e(345)](t[e(359)])}[G(354)](t,e){const i=G,s=this[i(391)][i(384)][i(322)][i(377)];if(i(390)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(389)]||"r"==t[i(389)]?[]:t[i(326)][i(387)]((t=>this[i(354)](t,e)));const o=this[i(327)][i(345)](t[i(389)])||Z.ViewElement,a=this[i(391)][i(329)][i(357)][i(349)];if(n=new o(s,t[i(348)],t[i(342)],r),"u"==t[i(389)]){const r=t[i(326)][0];if(n[i(346)]=function(t){const e=i,s=t[e(355)](e(370));return s[e(337)]=r,s[e(375)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(382)](n);const e=Array[i(333)](a[i(350)](t,{bind:!1})),r=a[i(351)][i(355)](i(370));r[i(372)](...e),n=Array[i(333)](a[i(334)](r))[0]}}else if("r"==t[i(389)]){const r=t[i(326)][0];if(n[i(346)]=function(t){t[i(337)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(382)](n);const e=Array[i(333)](a[i(350)](t,{bind:!1})),r=a[i(351)][i(355)](i(370));r[i(372)](...e);const o=Array[i(333)](a[i(334)](r));o[i(344)]>1?n[i(382)](o):n=o[0]}}if(t[i(356)])for(const[e,s]of t[i(356)])n[i(373)](e,s);const c=t[i(343)]||null;return n[i(335)]=()=>c,n}}[G(381)](t){const e=G,i=JSON[e(338)](t),s=this[e(391)][e(384)][e(322)][e(377)],n=new Z.ViewDocumentFragment(s,i[e(387)]((t=>this[e(354)](t,!0))));return this[e(391)][e(329)][e(366)](n)}[G(369)](t){const e=G;return(t=t[e(352)]((t=>!t[e(348)]||e(332)!==t[e(348)]&&e(325)!==t[e(348)])))[e(376)]((t=>{const i=e;i(390)!=typeof t&&(t[i(326)]=this[i(369)](t[i(326)]),t[i(342)]=t[i(342)][i(352)]((t=>!t[0][i(331)](i(378)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(D=s)||Number.isNaN(A)&&Number.isNaN(D)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,D;const E=(s=s??new Map).get(t),V=s.get(i);if(null!=E&&null!=V)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=dt;function ot(){const t=["detachRoot","RevisionsRepository","map","move","_loadedStateData","_applyOperations","_revisionId","_copyMarkers","_diffRoots","afterInit","reinsert","version","attributesBefore","revisionHistoryLicenseKeyExpired","domainLimit","revisionHistoryLicenseKeyInvalid","update","insert","finally","_startingRevisionId","_addPendingAction","_lastFrom","clear","initialData","includes","_generateTape","getNodeByPath","range","_baseRoots","fillerOffset","nodes","5482896aGNYmv","createRevision","getCustomProperties","diffData","trialLimit","revisionHistory.resumeUnsavedRevision","loadState","ready","filter","getTransformedByOperation","render","invalid","isAdd","adapter","define","affectsData","_isInit","dataToMarker","$comment","from","createPositionAfter","_savedMetaData","resolve","then","graveyardPosition","addRevision","createRangeIn","has","authors","name","_licenseKeyCheckInterval","vid_end","markers","currentRevision","sourcePosition","creatorId","_pendingAction","_loadState","element","_baseIdsRoots","9270989IeQftr","5zfOtfO","_makeRevision","17054244UlqlOO","revisionHistoryLicenseKeyTrialLimit","_touchedMarkers","config","_getVidAttributeName","trim","reverse","_setConversion","keys","history","document","_markers","revision:","stickiness","key","20409oOKBbM","newRange","_cloneOperation","setRevisionData","addRootAttribute","roots","_update","root","_getTypeCharForViewElement","createPositionFromPath","howMany","_handleRootAttributeOperation","hasContent","Empty document","_makeIdsRoot","deletion","_revisionDataBuilder","getUser","getRootNames","marker","creator","_prepareViewToSave","_continueCurrentRevision","_touchedRoots","insertion","createElement","_bufferedUpdates","destroy","revisionHistoryLicenseKeyEvaluationLimit","outerHTML","shift","updateRevisions","oldRange","plugins","init","start","getOperations","getRevision","customProperties","3639486KjTSfd","path","isOfficialPlugin","splitPosition","fromVersion","getAncestors","getLatestVersion","_markChanges","rootName","RevisionHistoryUtils","toView","createPositionBefore","addRoot","loadRevisionData","documentFragment","_handleInsertOperation","vid_start","_transformMarkers","pluginName","attachChange","length","addRevisionData","keepParagraph","previousPosition","userId","source","_initialRevisionId","elementEnd","rawElement","usageLimit","_fixPosition","isReady","createPositionAt","getAttribute","getIndex","domConverter","isPremiumPlugin","_setAttribute","_replaceEditorDataWithRevisionData","locale","_lastTo","rootsAttributes","getAttributes","RevisionTracker","RealTimeCollaborationClient","domDocument","getTime","revisionHistoryLicenseKeyDomainLimit","sendBufferedUpdates","_removeMetaData","editor","find","htmlProcessor","paragraph","requires","_getBaseVids","getCurrentRevisionId","isEnabled","newValue","parent","_idsRoots","_createInitialRevision","toVersion","slice","set","removeRootAttribute","getData","$graveyard","max","_createFromRanges","tableCell","attributesAfter","_source","_processRootBeforeSave","for","getChildren","markerToData","baseVersion","expired","_fixOperation","_touched","_makeModelFromViewString","values","string","$text","getRange","split","saveRevision","revisionHistoryLicenseKeyValid","Users","_calculateMetaData","_isAttached","_diffRootsAttributes","editor-initial-data-replaced-with-revision-data","reInit","_reset","position","getWalker","end","_saveMetaData","getRoot","_handleSplitOperation","remove","isEqual","getRevisionRootsAttributes","push","offsetSize","PendingActions","_handleOperation","getRevisionDocumentData","innerHTML","changeRootAttribute","_removePendingAction","getMovedRangeStart","vid","_handleMergeOperation","upcast","offset","size","_getPreviousFrom","_authorId","revisionHistoryLicenseKeyNotAllowed","_handleRootOperation","_getFromVersion","repository","_baseRootsAttributes","get","insertionPosition","_findInsertionIndex","item","getRevisions","uiElement","_getState","getOperation","_startingVersion","merge","_fixRange","text","targetPosition","evaluationLimit","_getViewJson","initial","startsWith","_bufferUpdate","conversion","licenseKey","_insertChild","clone","_handleMoveOperation","setSource","_createCurrentRevision","444lkEwff","stringify","childCount","add","fromEntries","_handleMarkerOperation","delete","NEGATIVE_INFINITY","getFillerOffset","sort","some","_clone","326461MwHfxA","_operations","_isPendingUpdate","type","data","bind","revisionHistoryLicenseKeyUsageLimit","insertions","model","authorsIds","deletions","RevisionHistory","1706864QelgVZ","isAttached","buildRevisionData","dataDowncast","_appendChild","createdAt","nodeAfter","collaboration.channelId","Initial revision","createRange","revision","children","_utils","featureNotAllowed","_execute","elementStart","getChild","PENDING_ACTION_REVISION_HISTORY","_showLicenseError"];return(ot=function(){return t})()}!function(t){const e=dt,i=t();for(;;)try{if(760741===parseInt(e(279))/1+-parseInt(e(267))/2*(-parseInt(e(399))/3)+-parseInt(e(291))/4+-parseInt(e(382))/5*(-parseInt(e(116))/6)+parseInt(e(381))/7+-parseInt(e(341))/8+-parseInt(e(384))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends U.Plugin{[rt(261)];[rt(371)];[rt(374)]=null;[rt(240)];[rt(354)]=null;[rt(415)];[rt(188)];[rt(142)];[rt(425)];[rt(303)];[rt(377)];[rt(421)];[rt(250)];[rt(314)];static get[rt(134)](){return rt(159)}static get[rt(118)](){return!0}static get[rt(152)](){return!0}static get[rt(170)](){return[H.Users,B,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(240)]=this[i(166)][i(432)][i(242)](i(311)),this[i(303)]=this[i(166)][i(432)][i(242)](i(125)),this[i(415)]=new ct(this[i(166)]),this[i(142)]=this[i(166)][i(387)][i(242)](i(298))||i(257),this[i(425)]=new Map,this[i(314)]=null;const s=(0,t.uid)();this[i(188)]={history:this[i(166)][i(287)][i(394)][i(393)],getLatestVersion:()=>Promise[i(363)](this[i(166)][i(287)][i(394)][i(321)]),getCurrentRevisionId:()=>s},this[i(180)](i(147),!1),this[i(180)](i(173),!0),this[i(180)](i(281),!1),this[i(166)][i(387)][i(355)](i(346),!0),this[i(166)][i(260)][i(190)](i(232))[i(358)]({view:i(301)})}[rt(433)](){const t=rt;this[t(391)](),this[t(166)][t(283)].on(t(348),(()=>{const e=t,i=this[e(240)][e(114)](0),s=i&&null===i[e(419)]?i:null;if(this[e(421)]=!!s&&this[e(166)][e(387)][e(242)](e(346)),this[e(166)][e(432)][e(368)](e(160))){const t=this[e(188)][e(172)](),n=this[e(240)][e(114)](t);if(n)this[e(250)]=n[e(120)],this[e(421)]=!1;else{const t=this[e(188)][e(393)][e(280)][e(167)]((t=>!t[e(357)])),n=t?t[e(193)]:this[e(188)][e(393)][e(321)];i?(i[e(178)]<n&&i[e(405)]({toVersion:n}),this[e(421)]?(this[e(188)][e(172)]=()=>s.id,this[e(250)]=s[e(120)]):(this[e(250)]=i[e(178)],this[e(421)]=!1)):(this[e(250)]=n,this[e(421)]=!1)}}else s&&(this[e(166)][e(287)][e(394)][e(393)][e(321)]=Math[e(184)](s[e(178)],this[e(166)][e(287)][e(394)][e(393)][e(321)]),s[e(120)]===s[e(178)]?(0!==s[e(120)]&&(this[e(188)][e(172)]=()=>s.id),this[e(421)]=!1):this[e(421)]&&(this[e(188)][e(172)]=()=>s.id,this[e(250)]=s[e(120)])),this[e(421)]||(this[e(250)]=this[e(166)][e(287)][e(394)][e(321)]);this[e(415)][e(433)](this[e(188)][e(393)]),this[e(177)](this[e(250)]),this[e(266)](this[e(250)]),this[e(354)]&&this[e(164)]()})),this[t(284)](t(147)).to(this,t(281),(t=>!t)),this[t(261)]=this[t(166)][t(387)][t(242)](t(261));const e=this[t(166)];this[t(371)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(204)==r||i(325)==r||i(323)==r||i(163)==r||i(237)==r||i(427)==r||i(385)==r||i(285)==r){delete e[n],s=r,clearInterval(this[i(371)]),this[i(371)]=void 0;break}}i(325)==s&&e[i(309)](i(352)),i(323)==s&&e[i(309)](i(194)),i(163)==s&&e[i(309)](i(324)),i(237)==s&&e[i(309)](i(304),i(290)),i(427)==s&&e[i(309)](i(255)),i(385)==s&&e[i(309)](i(345)),i(285)==s&&e[i(309)](i(145))}),1e3)}async[rt(319)](){const t=rt;if(this[t(240)][t(136)]>0){const e=this[t(240)][t(114)](0),i=await this[t(225)](e),s=await this[t(220)](e);this[t(154)](i,s)}}[rt(426)](){const t=rt;super[t(426)](),this[t(371)]&&clearInterval(this[t(371)])}[rt(265)](t){this[rt(188)]=t}async[rt(326)](){const t=rt,e=await this[t(188)][t(122)]();if(e>this[t(374)][t(178)]){await this[t(378)]();const i=this[t(293)]({revision:this[t(374)],to:e});i[t(369)]=i[t(288)][t(312)]((e=>this[t(166)][t(432)][t(242)](t(205))[t(416)](e))),this[t(374)][t(405)](i)}}async[rt(203)](e={},i=null){const s=rt,n=[];await this[s(378)](),this[s(421)]=!1,i>this[s(374)][s(178)]&&(i=null),null===i&&(i=await this[s(188)][s(122)]());const r=this[s(239)](i),o=this[s(293)]({from:r,to:i});if(this[s(374)][s(178)]<i){const t=this[s(293)]({revision:this[s(374)],from:i,to:i});t[s(369)]=[],t[s(288)]=[],t.id=this[s(374)].id,this[s(374)][s(405)](t,!0),delete t[s(369)],n[s(221)](t)}e[s(376)]=this[s(166)][s(432)][s(242)](s(205)).me.id,e[s(370)]=e[s(370)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(137)](e);n[s(221)](e);const c=this[s(240)][s(150)](a);if(0!==c){const t=this[s(240)][s(114)](c-1);if(t[s(120)]!==i){const r=this[s(415)][s(182)](i,t[s(178)]),o={id:t.id,diffData:r[s(344)],authorsIds:r[s(288)],authors:r[s(288)][s(312)]((t=>this[s(166)][s(432)][s(242)](s(205))[s(416)](t))),fromVersion:i};t===this[s(374)]&&(o[s(296)]=new Date(e[s(296)][s(162)]()+10)),t[s(405)](o,!0),delete o[s(369)],n[s(221)](o)}}if(this[s(354)]){for(const t of n)this[s(259)](t.id,t,!0);this[s(164)]()}return a}[rt(137)](t){const e=rt,i=this[e(240)][e(342)](t);return this[e(354)]&&i.on(e(405),((t,i,s)=>{const n=e;s||(this[n(259)](i.id,i,!0),this[n(164)]())})),this[e(240)][e(366)](i,this[e(244)](i)),i}async[rt(225)](t){const e=rt;return await this[e(303)][e(129)](t,this[e(354)]),this[e(303)][e(225)](t)}async[rt(220)](t){const e=rt;return await this[e(303)][e(129)](t,this[e(354)]),this[e(303)][e(220)](t)}[rt(164)](){const t=rt;if(0===this[t(425)][t(234)])return;if(this[t(281)])return;let e=Array[t(360)](this[t(425)][t(198)]());this[t(425)][t(332)]();for(let i=0;i<e[t(136)];i++){const s=e[i];let n=!1;for(const e of Object[t(392)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(349)]((t=>null!==t)),!e[t(136)])return;for(let i=0;i<e[t(136)];i++){const s=e[i];void 0!==s[t(120)]&&void 0===s[t(178)]&&(s[t(178)]=this[t(240)][t(114)](s.id)[t(178)]),void 0!==s[t(178)]&&void 0===s[t(120)]&&(s[t(120)]=this[t(240)][t(114)](s.id)[t(120)])}const i=this[t(166)][t(387)][t(242)](t(298));this[t(281)]=!0,this[t(330)](),this[t(354)][t(430)](e,i)[t(328)]((()=>{this[t(281)]=!1}))[t(364)]((e=>{const i=t;if(e)for(const t of e)this[i(402)]({id:t.id,createdAt:t[i(296)]});this[i(228)](),this[i(164)]()}))}[rt(293)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(120)],i=null!==i?i:t[s(178)];const n=this[s(415)][s(182)](e,i),r={diffData:n[s(344)],authorsIds:n[s(288)],fromVersion:e,toVersion:i};if(!t||i!==t[s(178)]){const t=i-1,e=this[s(188)][s(393)][s(249)](t);r[s(296)]=e&&e[s(296)]||new Date}if(this[s(314)]&&e===this[s(314)][s(120)])for(const t of this[s(314)][s(369)])r[s(288)][s(334)](t.id)||r[s(288)][s(221)](t.id);return r}[rt(259)](t,e,i){const s=rt;if(this[s(425)][s(368)](t)){const n=this[s(425)][s(242)](t);e=i?{...n,...e}:{...e,...n}}this[s(425)][s(180)](t,e)}[rt(402)](t){const e=rt,i=this[e(240)][e(114)](t.id);if(t[e(296)]&&(t[e(296)]=new Date(t[e(296)])),t[e(288)]){const i=this[e(166)][e(432)][e(242)](e(205));t[e(369)]=t[e(288)][e(312)]((t=>i[e(416)](t)))}i[e(405)](t,!0)}[rt(177)](t){const e=rt,i=this[e(240)][e(114)](this[e(240)][e(136)]-1);if(i)this[e(142)]=i.id;else{const i=!this[e(166)][e(287)][e(394)][e(404)][e(167)]((t=>this[e(166)][e(287)][e(411)](t))),s=this[e(166)][e(432)][e(242)](e(205)).me.id,n=Q(this[e(166)][e(155)],e(i?412:299));this[e(383)]({from:t,to:t,id:this[e(142)],name:n,creatorId:s})}}[rt(266)](t){const e=rt,i=this[e(188)][e(172)]();this[e(374)]=this[e(240)][e(114)](i),this[e(374)]||(this[e(374)]=this[e(383)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(378)](){const t=rt;this[t(421)]&&!this[t(314)]&&(await this[t(303)][t(129)](this[t(374)],this[t(354)]),this[t(415)][t(347)](this[t(374)]),this[t(314)]={fromVersion:this[t(374)][t(120)],authors:this[t(374)][t(369)][t(179)]()})}[rt(154)](e,i){const s=rt;let n=this[s(166)][s(387)][s(242)](s(333)),r=this[s(166)][s(387)][s(242)](s(157));if(void 0===n){n={};for(const t of this[s(166)][s(287)][s(394)][s(417)]())n[t]=""}if(s(199)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(166)][s(287)][s(394)][s(417)]())r[t]={}}let o=!1;const a=Object[s(392)](n),c=Object[s(392)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(389)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(392)](r[t])[s(136)]>0){o=!0;break}}o||(o=c[s(277)]((t=>!this[s(166)][s(287)][s(394)][s(216)](t)))),o&&(0,t.logWarning)(s(209),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(166)][s(387)][s(180)](s(333),e),this[s(166)][s(387)][s(180)](s(157),i)}[rt(330)](){const t=rt;if(!this[t(377)]){const e=this[t(166)][t(432)][t(242)](t(223));this[t(377)]=e[t(270)](Q(this[t(166)][t(155)],t(308)))}}[rt(228)](){const t=rt;this[t(377)]&&(this[t(166)][t(432)][t(242)](t(223))[t(218)](this[t(377)]),this[t(377)]=null)}[rt(244)](t){const e=rt,i=this[e(240)][e(246)]();i[e(390)]();let s=0;for(;s<i[e(136)];){const n=i[s];if(n===this[e(374)]){s++;continue}if(n.id===this[e(142)])break;const r=t[e(178)]-n[e(178)]||t[e(120)]-n[e(120)];if(r>0)break;if(r<0)s++;else{if(!t[e(419)]&&n[e(419)])break;if(n[e(419)]||!t[e(419)]){if(t[e(296)]>n[e(296)])break;s++}else s++}}return s}[rt(239)](t){const e=rt,i=this[e(240)][e(246)]();i[e(390)](),i[e(429)]();const s=i[e(167)]((i=>i[e(178)]<=t))[e(178)];return s<this[e(250)]?this[e(250)]:s}[rt(383)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(293)]({from:e,to:i});o[r(370)]=t,o[r(376)]=s,o.id=n;const a=this[r(137)](o);return this[r(354)]&&this[r(259)](o.id,o,!0),a}[rt(391)](){const t=rt;this[t(166)][t(260)][t(190)](t(294))[t(192)]({model:t(301)})}}class ct{[rt(166)];[rt(141)];[rt(362)];[rt(331)];[rt(156)];[rt(395)];[rt(318)];[rt(208)];[rt(338)];[rt(241)];[rt(176)];[rt(380)];[rt(196)];[rt(386)];[rt(422)];[rt(316)];[rt(329)];constructor(t){const e=rt;this[e(166)]=t,this[e(362)]=new Map,this[e(331)]=-1,this[e(156)]=-1,this[e(395)]=new Map,this[e(318)]=new Map,this[e(208)]=new Map,this[e(338)]=new Map,this[e(241)]=new Map,this[e(176)]=new Map,this[e(380)]=new Map,this[e(196)]=new Map,this[e(386)]=new Map,this[e(422)]=new Map,this[e(316)]=1}[rt(433)](t){const e=rt;this[e(141)]=t;const i=new Map,s=new Map,n=this[e(166)][e(287)][e(394)][e(404)][e(312)]((t=>t[e(124)]));for(const t of n){const n=this[e(166)][e(287)][e(394)][e(216)](t),r=ut(n);i[e(180)](t,r),s[e(180)](t,Object[e(271)](n[e(158)]()))}const r=Array[e(360)](this[e(166)][e(287)][e(373)])[e(312)]((t=>[t[e(370)],t[e(201)]()])),o=this[e(141)][e(321)];this[e(215)](o,i,r,s),this[e(329)]=this[e(316)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(180)](t,i),c[e(180)](t,{})}this[e(215)](Number[e(274)],a,[],c)}[rt(182)](t,e){const i=rt;if(this[i(331)]===t&&this[i(156)]<=e)this[i(362)][i(234)]>1&&this[i(165)](this[i(156)]),this[i(315)](this[i(156)],e,!0);else{if(!this[i(362)][i(368)](t)){const e=this[i(235)](t);this[i(206)](e,t,!1)}this[i(206)](t,e,!0)}return this[i(331)]=t,this[i(156)]=e,this[i(248)]()}[rt(347)](t){const e=rt,i=this[e(166)][e(432)][e(242)](e(125));this[e(211)](),this[e(331)]=t[e(120)],this[e(156)]=t[e(178)];for(const s in t[e(344)]){const n=t[e(344)][s][e(135)],r=A(t[e(344)][s][e(322)])||{},o=i[e(197)](t[e(344)][s][e(289)]);o[e(124)]=s,o[e(207)]=!n||!n[e(292)],o[e(292)]=()=>o[e(207)],this[e(338)][e(180)](s,o),this[e(241)][e(180)](s,r),n&&this[e(422)][e(180)](s,n);const a=this[e(413)](o);this[e(380)][e(180)](s,a);for(const[t,i]of o[e(373)]){if(!t[e(258)](e(396)))continue;const s=t[e(202)](":")[2];for(const t of i[e(213)]({singleCharacters:!0})){const i=this[e(388)](t),n=e(143)==t[e(282)]?t[e(139)][e(117)][e(179)](0,-1):t[e(139)][e(117)],r=a[e(336)](n)[e(149)](i);this[e(196)][e(180)](r,{userId:s})}}}this[e(329)]=this[e(316)];const s=[...Array(this[e(316)])[e(392)]()][e(179)](1)[e(349)]((t=>!this[e(196)][e(368)](t)));let n=0;const r=new Map;for(const o in t[e(344)]){const a=t[e(344)][o][e(135)],c=A(t[e(344)][o][e(187)])||{},u=i[e(197)](t[e(344)][o][e(286)]);u[e(124)]=o,u[e(207)]=!a||a[e(292)],u[e(292)]=()=>u[e(207)],this[e(318)][e(180)](o,u),this[e(208)][e(180)](o,c);const l=this[e(413)](u,Number[e(274)]);this[e(176)][e(180)](o,l),r[e(180)](o,u[e(292)]()?c:{});for(const[t,i]of u[e(373)]){if(!t[e(258)](e(396)))continue;const s=t[e(202)](":")[2];for(const t of i[e(213)]({singleCharacters:!0})){const i=this[e(388)](t),n=this[e(316)]++,r=e(143)==t[e(282)]?t[e(139)][e(117)][e(179)](0,-1):t[e(139)][e(117)];l[e(336)](r)[e(153)](i,n),this[e(196)][e(180)](n,{userId:s})}}for(const t of this[e(166)][e(287)][e(367)](u)[e(213)]({singleCharacters:!0})){const i=this[e(388)](t),r=e(143)==t[e(282)]?t[e(139)][e(117)][e(179)](0,-1):t[e(139)][e(117)],o=l[e(336)](r);o[e(149)](i)>0||o[e(153)](i,s[n++])}for(const[t,i]of u[e(373)])t[e(258)](e(396))||this[e(395)][e(180)](t,i)}const o=lt(e(183));this[e(338)][e(180)](e(183),o),this[e(380)][e(180)](e(183),this[e(413)](o,1));const a=lt(e(183));this[e(318)][e(180)](e(183),a),this[e(176)][e(180)](e(183),this[e(413)](a,1));const c=Array[e(360)](this[e(318)])[e(312)]((([t,e])=>[t,ut(e)]));this[e(215)](this[e(156)],c,this[e(395)],r)}[rt(210)](){const t=rt;this[t(211)](),this[t(331)]=-1,this[t(156)]=-1,this[t(362)][t(332)](),this[t(433)](this[t(141)])}[rt(215)](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(180)](t,{start:e[n(112)][n(263)](),end:e[n(214)][n(263)](),rootName:e[n(406)][n(124)]});this[n(362)][n(180)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(165)](t){const e=rt;this[e(362)][e(273)](t)}[rt(211)](){const t=rt;this[t(196)][t(332)](),this[t(386)][t(332)](),this[t(422)][t(332)](),this[t(318)][t(332)](),this[t(208)][t(332)](),this[t(338)][t(332)](),this[t(241)][t(332)](),this[t(176)][t(332)](),this[t(380)][t(332)](),this[t(395)][t(332)](),this[t(316)]=1,this[t(329)]=this[t(316)]}[rt(413)](t,e=null){const i=rt;let s=null;t.is(i(130))||(s=new Z.Element(t[i(370)],{vid_start:null===e?this[i(316)]++:e++}));const n=[];for(const s of t[i(191)]())if(s.is(i(379))){n[i(221)](this[i(413)](s,e));const t=n[n[i(136)]-1];null!==e&&(e=t.is(i(379),i(200))?t[i(149)](i(230))+1:t[i(149)](i(372))+1)}else for(let t=0;t<s[i(222)];t++)n[i(221)](new Z.Element(i(200),{vid:null===e?this[i(316)]++:e++}));if(t.is(i(130))){const e=lt(t[i(124)]);return e[i(262)](0,n),e}return s[i(153)](i(372),null===e?this[i(316)]++:e++),s[i(262)](0,n),s}[rt(206)](t,e,i){const s=rt;this[s(211)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(362)][s(242)](t);this[s(338)]=new Map(n),this[s(241)]=new Map(A(o));for(const[t,e]of this[s(338)])if(s(183)!==t&&(this[s(318)][s(180)](t,ut(e)),this[s(208)]=new Map(A(o)),i)){const i=this[s(316)];this[s(176)][s(180)](t,this[s(413)](e)),this[s(380)][s(180)](t,this[s(413)](e,i))}this[s(329)]=this[s(316)],this[s(318)][s(180)](s(183),ut(this[s(338)][s(242)](s(183)))),i&&this[s(176)][s(180)](s(183),this[s(413)](this[s(338)][s(242)](s(183))));for(const[t,e]of r){const i=this[s(338)][s(242)](e[s(124)]),n=this[s(318)][s(242)](e[s(124)]),r=new Z.Range(this[s(146)](e[s(112)],i),this[s(146)](e[s(214)],i)),o=this[s(252)](r,n);i[s(373)][s(180)](t,r),this[s(395)][s(180)](t,o)}this[s(315)](t,e,i)}[rt(315)](t,e,i){const s=rt;for(const n of this[s(141)][s(113)](t,e))this[s(224)](n,i);for(const t of this[s(318)][s(198)]())t[s(373)][s(332)]();for(const[t,e]of this[s(395)])this[s(318)][s(242)](e[s(406)][s(124)])[s(373)][s(180)](t,e[s(263)]());const n=new Map,r=new Map;for(const[t,e]of this[s(318)])n[s(180)](t,ut(e)),r[s(180)](t,this[s(208)][s(242)](t));this[s(215)](e,n,this[s(395)],r)}[rt(235)](t){const e=rt,i=Array[e(360)](this[e(362)][e(392)]());i[e(276)](((t,e)=>t-e)),i[e(390)]();for(const e of i)if(e<t)return e;return Number[e(274)]}[rt(317)](t,e){const i=rt,s=Array[i(360)](e[i(373)])[i(312)]((([e,s])=>[e,this[i(252)](s,t)]));t[i(373)]=new Map(s)}[rt(133)](t){const e=rt;for(const i of this[e(395)][e(198)]()){const s=i[e(350)](t),n=Z.Range[e(185)](s);i[e(112)]=n[e(112)],i[e(214)]=n[e(214)]}}[rt(224)](t,e){const i=rt;if(i(128)!=t[i(282)]&&i(310)!=t[i(282)]){if(i(327)==t[i(282)]){const s=t[i(212)][i(406)][i(124)];this[i(318)][i(368)](s)||(this[i(318)][i(180)](s,lt(s,!0)),this[i(208)][i(180)](s,{}),e&&this[i(176)][i(180)](s,lt(s,!0)))}else{if(i(403)==t[i(282)]||i(181)==t[i(282)]||i(227)==t[i(282)])return void this[i(410)](t);i(418)==t[i(282)]&&this[i(272)](t)}if(i(418)!==t[i(282)]){const e=this[i(401)](t,this[i(318)]);e[i(305)](),this[i(133)](e)}if(e)switch(t[i(282)]){case i(327):this[i(131)](t);break;case i(313):case i(218):case i(320):this[i(264)](t);break;case i(251):this[i(231)](t);break;case i(202):this[i(217)](t)}}else this[i(238)](t,e)}[rt(401)](t,e){const i=rt,s=t[i(263)]();return s[i(236)]=t[i(236)],this[i(195)](s,e),s}[rt(171)](t){const e=rt;return t[e(312)]((t=>{const i=e,s=this[i(388)](t);return Number(t[i(245)][i(149)](s))}))}[rt(335)](t,e){const i=rt;if(t.is(i(379),i(200)))e[i(221)]({item:t,type:i(253)});else{t.is(i(379))&&e[i(221)]({item:t,type:i(306)});for(const s of t[i(191)]())this[i(335)](s,e);t.is(i(379))&&e[i(221)]({item:t,type:i(143)})}return e}[rt(248)](){const t=rt,e=new Map(this[t(196)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(338)][t(392)](),...this[t(318)][t(392)]()]);a[t(273)](t(183));for(const e of a){const i=this[t(318)][t(242)](e)||lt(e,!1),s=this[t(338)][t(242)](e)||lt(e,!1);i[t(292)]()||s[t(292)]()?(n[t(286)][e]=ut(i),n[t(289)][e]=ut(s),this[t(317)](n[t(289)][e],s),this[t(317)](n[t(286)][e],i),r[t(286)][e]=this[t(335)](this[t(176)][t(242)](e),[]),r[t(289)][e]=this[t(335)](this[t(380)][t(242)](e)||lt(e,!1),[])):a[t(273)](e)}for(const n of a){const o=r[t(286)][n];for(const n of o){const r=this[t(388)](n),o=n[t(245)][t(149)](r);i[t(273)](o),o>=this[t(329)]&&s[t(180)](o,e[t(242)](o))}}for(const n of a){const a=r[t(286)][n],c=this[t(171)](r[t(289)][n]);let u=0;for(const n of a){const r=this[t(388)](n),a=n[t(245)][t(149)](r);if(!s[t(368)](a)&&!o[t(368)](a))if(i[t(368)](a))u++;else{if(a!=c[u]){const s=e[t(242)](a)||e[t(242)](c[u]);for(;a!=c[u];)i[t(368)](c[u])||(o[t(180)](c[u],s),e[t(180)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(286)][e];for(const e of n){const n=this[t(388)](e),r=e[t(245)][t(149)](n);if(o[t(368)](r)){const e=o[t(242)](r);i[t(368)](r)||i[t(180)](r,{...e}),s[t(180)](r,{...e})}}}for(const e of i[t(392)]())e>=this[t(329)]&&i[t(273)](e);const c=new Map;for(const e of a){let n=r[t(286)][e];for(const e of n)if(e[t(245)].is(t(379),t(186))){const i=this[t(388)](e),n=e[t(245)][t(149)](i);if(s[t(368)](n)){const i=e[t(245)][t(175)][t(175)][t(149)](t(132)),r=c[t(242)](i)||new Set;r[t(270)](s[t(242)](n)[t(140)]),c[t(180)](i,r)}}n=r[t(289)][e];for(const e of n)if(e[t(245)].is(t(379),t(186))){const s=this[t(388)](e),n=e[t(245)][t(149)](s);if(i[t(368)](n)){const s=e[t(245)][t(175)][t(175)][t(149)](t(132)),r=c[t(242)](s)||new Set;r[t(270)](i[t(242)](n)[t(140)]),c[t(180)](s,r)}}for(const e of c[t(392)]())(s[t(368)](e)||i[t(368)](e))&&c[t(273)](e)}for(const e of a){const n=r[t(286)][e];let o=null,a=null;for(const e of n){const n=this[t(388)](e),r=e[t(245)][t(149)](n),u=c[t(242)](r);u&&t(306)==e[t(282)]&&(o=Array[t(360)](u)[0],a=e[t(245)][t(149)](t(372))),o&&(i[t(180)](r,{userId:o}),s[t(180)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(289)][e],a=n[t(286)][e];for(const{userId:e}of this[t(386)][t(198)]())null!==e&&l[t(270)](e);for(const{userId:e}of this[t(422)][t(198)]())null!==e&&l[t(270)](e);this[t(123)](a,r[t(286)][e],s,t(423),l),this[t(123)](o,r[t(289)][e],i,t(414),l),u[e]={insertions:this[t(420)](a),deletions:this[t(420)](o),attachChange:this[t(422)][t(242)](e)||null,attributesBefore:A(this[t(241)][t(242)](e))||{},attributesAfter:A(this[t(208)][t(242)](e))}}return{diffData:u,authorsIds:Array[t(360)](l)}}[rt(189)](t){const e=rt;for(const[,i]of t[e(373)]){const t=i[e(112)][e(121)]()[e(349)]((t=>e(186)==t[e(370)]));for(const i of t)1==i[e(269)]&&i[e(307)](0).is(e(379),e(169))&&i[e(307)](0)[e(153)](e(138),!0)}}[rt(420)](t){const e=rt;this[e(189)](t);const i=this[e(166)][e(283)][e(126)](t,{}),s=Array[e(360)](i[e(191)]())[e(312)]((t=>this[e(256)](t)));return JSON[e(268)](s)}[rt(256)](t){const e=rt;if(t.is(e(200)))return t[e(283)];{const i=this[e(166)][e(432)][e(242)](e(125)),s=t,n=this[e(166)][e(283)][e(168)][e(151)],r={type:i[e(407)](s),name:s[e(370)],attributes:Array[e(360)](s[e(158)]()),children:Array[e(360)](s[e(191)]())[e(312)]((t=>this[e(256)](t)))};if(t.is(e(247))&&e(359)!=t[e(370)]){const i=t[e(351)](n[e(161)],n);r[e(302)][e(221)](i[e(428)])}else if(t.is(e(144))){const i=n[e(161)][e(424)](s[e(370)]);t[e(351)](i,n),r[e(302)][e(221)](i[e(226)])}const o=Array[e(360)](s[e(343)]());o[e(136)]>0&&(r[e(115)]=o);const a=s[e(275)]();return null!==a&&(r[e(339)]=a),r}}[rt(123)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(166)][r(287)];for(let s=0;s<e[r(136)];s++){const n=this[r(388)](e[s]),c=e[s][r(245)][r(149)](n),h=i[r(242)](c),d=s==e[r(136)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(140)]!=o[r(140)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(140)],d=l(396)+s+":"+h+":"+c++,f=u[l(300)](i,a);t[l(373)][l(180)](d,f),null!==h&&n[l(270)](h)}}[rt(388)](t){const e=rt;switch(t[e(282)]){case e(306):return e(132);case e(143):return e(372);default:return e(230)}}[rt(195)](t,e){const i=rt;t[i(193)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(242)](n[i(406)][i(124)]);t[s]=this[i(146)](n,r)}if(n instanceof Z.Range){const r=e[i(242)](n[i(406)][i(124)]);t[s]=this[i(252)](n,r)}i(406)===s&&(t[i(406)]=e[i(242)](t[i(406)][i(124)]))}}[rt(252)](t,e){const i=rt;return this[i(166)][i(287)][i(300)](this[i(146)](t[i(112)],e),this[i(146)](t[i(214)],e))}[rt(146)](t,e){const i=rt;return this[i(166)][i(287)][i(408)](e,t[i(117)],t[i(397)])}[rt(131)](t){const e=rt,i=this[e(176)][e(242)](t[e(212)][e(406)][e(124)]),s=this[e(146)](t[e(212)],i),n=null===t[e(236)]?null:t[e(236)]||this[e(166)][e(432)][e(242)](e(205)).me.id,r=s[e(175)],o=this[e(316)],a=[];for(const i of t[e(340)])if(i.is(e(379)))a[e(221)](this[e(413)](i));else for(let t=0;t<i[e(222)];t++)a[e(221)](new Z.Element(e(200),{vid:this[e(316)]++}));const c=this[e(316)];for(let t=o;t<c;t++)this[e(196)][e(180)](t,{userId:n});r[e(262)](s[e(233)],a)}[rt(264)](t){const e=rt;(t=this[e(401)](t,this[e(176)]))[e(305)]();const i=null===t[e(236)]?null:t[e(236)]||this[e(166)][e(432)][e(242)](e(205)).me.id,s=t[e(229)](),n=s[e(175)],r=s[e(233)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(307)](e);r.is(a(379),a(200))?s[a(180)](r[a(149)](a(230)),{userId:i}):(s[a(180)](r[a(149)](a(132)),{userId:i}),t(s,r,0,r[a(269)]),s[a(180)](r[a(149)](a(372)),{userId:i}))}}(this[e(196)],n,r,r+t[e(409)])}[rt(231)](t){const e=rt,i=null===(t=this[e(401)](t,this[e(176)]))[e(236)]?null:t[e(236)]||this[e(166)][e(432)][e(242)](e(205)).me.id,s=t[e(254)][e(175)],n=t[e(375)][e(175)],r=s[e(149)](e(372)),o=n[e(149)](e(132));s[e(153)](e(372),n[e(149)](e(372))),n[e(153)](e(372),r),this[e(196)][e(180)](o,{userId:i}),this[e(196)][e(180)](r,{userId:i}),t[e(305)]()}[rt(217)](t){const e=rt,i=null===(t=this[e(401)](t,this[e(176)]))[e(236)]?null:t[e(236)]||this[e(166)][e(432)][e(242)](e(205)).me.id,s=t[e(365)],n=t[e(119)][e(175)];t[e(305)]();const r=n[e(149)](e(372)),o=t[e(243)][e(297)];if(s){const t=o[e(149)](e(372)),s=n[e(149)](e(372));n[e(153)](e(372),t),o[e(153)](e(372),s),this[e(196)][e(180)](n[e(149)](e(372)),{userId:i}),this[e(196)][e(180)](o[e(149)](e(132)),{userId:i})}else{const t=this[e(316)]++,s=this[e(316)]++;n[e(153)](e(372),t),o[e(153)](e(132),s),o[e(153)](e(372),r),this[e(196)][e(180)](t,{userId:i}),this[e(196)][e(180)](s,{userId:i})}}[rt(272)](t){const e=rt;if(!t[e(356)])return;const i=(t=this[e(401)](t,this[e(318)]))[e(431)]?t[e(431)][e(406)]:null,s=t[e(400)]?t[e(400)][e(406)]:null;i&&this[e(395)][e(273)](t[e(370)]),s&&this[e(395)][e(180)](t[e(370)],t[e(400)][e(263)]());const n=null===t[e(236)]?null:t[e(236)]||this[e(166)][e(432)][e(242)](e(205)).me.id,r=t[e(370)];if(!this[e(386)][e(368)](r))return void this[e(386)][e(180)](r,{range:t[e(431)],userId:n});const o=this[e(386)][e(242)](r),a=o[e(337)],c=t[e(400)];null==a&&null==c||a&&c&&a[e(219)](c)?this[e(386)][e(273)](t[e(370)]):o[e(140)]=n}[rt(238)](t,e){const i=rt;this[i(318)][i(368)](t[i(124)])?this[i(318)][i(242)](t[i(124)])[i(207)]=t[i(353)]:(this[i(318)][i(180)](t[i(124)],lt(t[i(124)],!0)),this[i(208)][i(180)](t[i(124)],{}),e&&this[i(176)][i(180)](t[i(124)],lt(t[i(124)],!0)));const s=null===t[i(236)]?null:t[i(236)]||this[i(166)][i(432)][i(242)](i(205)).me.id,n=this[i(422)][i(242)](t[i(124)]);n&&n[i(140)]===s?this[i(422)][i(273)](t[i(124)]):this[i(422)][i(180)](t[i(124)],{userId:s,isAttached:t[i(353)]})}[rt(410)](t){const e=rt,i=this[e(208)][e(242)](t[e(406)][e(124)]);null===t[e(174)]?delete i[t[e(398)]]:i[t[e(398)]]=t[e(174)]}}function ut(t){const e=rt,i=lt(t[e(124)],t[e(292)]());for(const s of t[e(191)]()){const t=s[e(278)](!0);i[e(295)](t)}return i}function lt(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(124)]=t,s[i(207)]=e,s[i(292)]=()=>s[i(207)],s}function ht(t,e,i){const s=rt,n=s(143)==t[s(282)]?i[s(148)](t[s(245)],s(214)):i[s(127)](t[s(245)]);return i[s(408)](e,n[s(117)],n[s(397)])}function dt(t,e){const i=ot();return(dt=function(t,e){return i[t-=112]})(t,e)}function ft(t,e,i){const s=rt,n=s(306)==t[s(282)]?i[s(148)](t[s(245)],0):i[s(361)](t[s(245)]);return i[s(408)](e,n[s(117)],n[s(397)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;const At=Dt;function Dt(t,e){const i=Et();return(Dt=function(t,e){return i[t-=456]})(t,e)}function Et(){const t=["keystrokes","element","447AXoelM","focusTracker","errorText","fieldView","set","extendTemplate","arrowdown","164545EmFgxE","7772958sTSErW","label","setTemplate","15AuazRa","listenTo","revisionName","add","value","77oeldiR","Name of the revision","13rEWsJQ","arrowleft","_createRevisionNameInput","218652fHcjoc","trim","revisionNameInputValue","639556aGVDuj","arrowup","input","revisionNameInputView","6928810JboNZC","focus","stopPropagation","locale","762710kwHxTL","optional","form","220","6966AfRrjp","ck-revision-history-save-revision-form","8xrwQlg","ck-responsive-form","render","reset","arrowright","174ehHSEK"];return(Et=function(){return t})()}!function(t){const e=Dt,i=t();for(;;)try{if(941539===-parseInt(e(478))/1*(-parseInt(e(468))/2)+parseInt(e(489))/3*(parseInt(e(456))/4)+-parseInt(e(485))/5*(-parseInt(e(475))/6)+-parseInt(e(460))/7+parseInt(e(470))/8*(-parseInt(e(486))/9)+-parseInt(e(464))/10*(parseInt(e(494))/11)+parseInt(e(499))/12*(parseInt(e(496))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Vt extends pt.View{[At(479)];[At(476)];[At(459)];constructor(e,i){const s=At;super(e),this[s(479)]=new t.FocusTracker,this[s(476)]=new t.KeystrokeHandler,this[s(482)](s(501),""),this[s(459)]=this[s(498)](i),this[s(488)]({tag:s(466),attributes:{class:["ck",s(469),s(471)],tabindex:"-1"},children:[this[s(459)]]}),(0,pt.injectCssTransitionDisabler)(this)}[At(472)](){const t=At;super[t(472)](),(0,pt.submitHandler)({view:this}),this[t(479)][t(492)](this[t(459)][t(477)]),this[t(476)][t(490)](this[t(477)]);const e=e=>e[t(462)]();this[t(476)][t(482)](t(474),e),this[t(476)][t(482)](t(497),e),this[t(476)][t(482)](t(457),e),this[t(476)][t(482)](t(484),e)}[At(461)](){const t=At;this[t(459)][t(461)]()}get[At(491)](){const t=At;return this[t(459)][t(481)][t(477)][t(493)][t(500)]()}set[At(491)](t){const e=At;this[e(459)][e(481)][e(477)][e(493)]=t[e(500)]()}[At(473)](){const t=At;this[t(459)][t(481)][t(477)][t(493)]="",this[t(459)][t(480)]=null}[At(498)](t){const e=At,i=new pt.LabeledFieldView(this[e(463)],pt.createLabeledInputText),s=i[e(481)];s[e(483)]({attributes:{maxlength:e(467)}});let n=Q(this[e(463)],e(495));return!t&&(n+=" ("+Q(this[e(463)],e(465))+")"),i[e(487)]=n,s.on(e(458),(()=>{const t=e;this[t(501)]=s[t(477)][t(493)][t(500)]()})),i}}const Mt=Ft;function Ct(){const t=["_registerMenuComponent","children","331181QSHtwl","revisionHistory.requireRevisionName","revisionHistory","locale","The revision name cannot be empty.","config","84DDPuaJ","execute","_saveRevisionFormView","menuBar:revisionHistory","render","set","13224912HbEQun","menuitem","isOfficialPlugin","view","ck-button-action","delegate","reset","_createSaveRevisionFormView","bind","focus","editor","revisionName","panelView","componentFactory","errorText","saveRevision","4431hgCbDw","isReadOnly","RevisionTracker","Revision history","765DCYGlb","7997UrEReO","requires","Cancel","isReady","RevisionHistoryUI","5prspdK","editing","showRevisionViewerCallback","menu","submit","pluginName","_showDialog","addMany","5564348xrNUKl","get","346362XkurEO","show","13330FzUcDf","init","Accept","items","revisionSave","102904glsAKg","buttonView","Save current revision","role","Dialog","isPremiumPlugin","1814PfLCLu","Open revision history","hide","isEnabled","isOpen","plugins","add","revisionNameInputView"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=371]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(746451===-parseInt(e(435))/1+-parseInt(e(425))/2*(-parseInt(e(392))/3)+-parseInt(e(410))/4*(-parseInt(e(402))/5)+-parseInt(e(412))/6*(parseInt(e(441))/7)+parseInt(e(419))/8*(-parseInt(e(396))/9)+-parseInt(e(414))/10*(parseInt(e(397))/11)+parseInt(e(376))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class jt extends U.Plugin{static get[Mt(407)](){return Mt(401)}static get[Mt(378)](){return!0}static get[Mt(424)](){return!0}static get[Mt(398)](){return[at]}[Mt(372)];[Mt(415)](){const t=Mt,e=this[t(386)],i=e[t(430)][t(411)](t(394));e.ui[t(389)][t(431)](t(437),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(388)][n(434)],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(384)](n(428)).to(i,n(400),i,n(428),e,n(393),((t,e,i)=>t&&e&&!i)),r[n(420)][n(375)]({icon:mt.IconHistory,label:Q(s,n(395)),tooltip:!0}),u[n(375)]({label:Q(s,n(421)),withText:!0,role:n(377)}),u[n(384)](n(428)).to(i,n(400),i,n(428),e,n(393),((t,e,i)=>t&&e&&!i)),u.on(n(371),(()=>this[n(408)]())),h[n(375)]({label:Q(s,n(426)),withText:!0,role:n(377)}),h[n(384)](n(428)).to(i,n(400),e,n(393),((t,e)=>t&&!e)),h.on(n(371),(()=>{const t=n;e[t(440)][t(411)](t(437))[t(404)](),r[t(429)]=!1,e[t(403)][t(379)][t(385)]()})),c[n(434)][n(431)](u),l[n(434)][n(431)](h),a[n(422)]=n(405),a[n(417)][n(409)]([c,l]),o[n(431)](a),r})),e.ui[t(389)][t(431)](t(373),(()=>this[t(433)]()))}[Mt(433)](){const t=Mt,e=this[t(386)],i=e[t(438)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(420)][t(375)]({icon:mt.IconHistory,label:Q(i,t(395))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(375)]({label:Q(i,t(421))}),o[t(381)](t(371)).to(s),o.on(t(371),(()=>{this[t(408)]()})),r[t(434)][t(431)](o),n[t(417)][t(431)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(375)]({label:Q(i,t(426))}),c[t(381)](t(371)).to(s),c.on(t(371),(()=>{const i=t;e[i(440)][i(411)](i(437))[i(404)]()})),a[t(434)][t(431)](c),n[t(417)][t(431)](a),s[t(388)][t(434)][t(431)](n),s}[Mt(408)](){const t=Mt,e=this[t(386)],i=e[t(438)],s=e[t(430)][t(411)](t(423)),n=e[t(430)][t(411)](t(394));function r(n){const r=t;e[r(440)][r(411)](r(436))&&""===n[r(387)]?n[r(432)][r(390)]=Q(i,r(439)):(e[r(430)][r(411)](at)[r(391)]({name:n[r(387)]}),s[r(427)]())}this[t(372)]||(this[t(383)](),this[t(372)].on(t(406),(()=>r(this[t(372)])))),this[t(372)][t(382)](),s[t(413)]({id:t(418),title:Q(i,t(421)),isModal:!0,content:this[t(372)],actionButtons:[{label:Q(e[t(438)],t(399)),withText:!0,onExecute:()=>s[t(427)]()},{label:Q(e[t(438)],t(416)),class:t(380),withText:!0,onCreate(i){const s=t;i[s(384)](s(428)).to(n,s(400),n,s(428),e,s(393),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(372)])}]})}[Mt(383)](){const t=Mt,e=this[t(386)],i=e[t(438)];this[t(372)]=new Vt(i,e[t(440)][t(411)](t(436))),this[t(372)][t(374)]()}}const Pt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=373]})(t,e)}function zt(){const t=["1248753VmXISj","642270cTrSYB","isSuggestion","bindTemplate","data","Added by","_model","add","author","5nCmPDZ","setTemplate","ck-revision-change__label","5022bncOqE","869368bYLCwX","4aWbzSM","div","element","Suggested by","ck-revision-change__","name","2491398obnpva","set","Removed by","span","1524785NQnaEb","ck-annotation","focus","ck-revision-change","type","changeId","934947IwPJNm"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(247230===-parseInt(e(384))/1*(parseInt(e(387))/2)+parseInt(e(375))/3+parseInt(e(389))/4*(parseInt(e(399))/5)+parseInt(e(376))/6+-parseInt(e(395))/7+-parseInt(e(388))/8+-parseInt(e(374))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends pt.View{[Pt(373)];[Pt(381)];constructor(t,e){const i=Pt;super(t),this[i(381)]=e,this[i(373)]=e.id;const s=this[i(378)],n=Q(t,e[i(379)][i(377)]?i(392):i(382)==e[i(403)]?i(380):i(397));this[i(396)](i(403),e[i(403)]),this[i(385)]({tag:i(390),attributes:{class:[i(400),i(402),s.to(i(403),(t=>i(393)+t))],tabindex:-1},children:[{tag:i(398),children:[{tag:i(398),attributes:{class:[i(386)]},children:[{text:n}]},{text:" "+e[i(383)][i(394)]}]}]})}[Pt(401)](){const t=Pt;this[t(391)][t(401)]()}}function Ut(){var t=["type","8JTWDYe","74325eLDlab","3937430mvKUNe","toJSON","author","1321016PyivVf","18AedPAG","5350760ldYMTi","6bdTNjg","createdAt","5018930OPfCPV","121qcCdbb","rootName","3047515yvlafs","set","data","5861664gRZfqe","80rPzkod"];return(Ut=function(){return t})()}function Ht(t,e){var i=Ut();return(Ht=function(t,e){return i[t-=385]})(t,e)}var Zt=Ht;!function(t){for(var e=Ht,i=t();;)try{if(672687===-parseInt(e(390))/1+-parseInt(e(402))/2*(parseInt(e(386))/3)+-parseInt(e(392))/4+parseInt(e(398))/5*(-parseInt(e(393))/6)+-parseInt(e(387))/7*(-parseInt(e(385))/8)+-parseInt(e(391))/9*(parseInt(e(395))/10)+-parseInt(e(396))/11*(-parseInt(e(401))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class $t extends((0,t.ObservableMixin)()){id;[Zt(389)];[Zt(403)];[Zt(400)];[Zt(397)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(389)]=e[i(389)],this[i(403)]=e[i(403)],this[i(400)]=e[i(400)]||{},this[i(397)]=e[i(397)],this[i(399)](i(394),e[i(394)])}[Zt(388)](){var t=Zt;return{id:this.id,authorId:this[t(389)].id,type:this[t(403)],data:this[t(400)],createdAt:this[t(394)]}}}const qt=Yt;function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=396]})(t,e)}function Bt(){const t=["569WxuJMN","3124278OFAQng","16ytAiVQ","_setChanges","1329798sCyoTl","newRevisionId","add","1943354Bmjyzi","5230233gpCWKE","2646180ugyuQs","10DewauD","oldRevisionId","4952688CVRklk","4786TAfhjw","changes"];return(Bt=function(){return t})()}!function(t){const e=Yt,i=t();for(;;)try{if(826351===parseInt(e(401))/1*(parseInt(e(399))/2)+parseInt(e(405))/3+parseInt(e(398))/4+parseInt(e(396))/5*(-parseInt(e(402))/6)+-parseInt(e(408))/7+parseInt(e(403))/8*(-parseInt(e(409))/9)+parseInt(e(410))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt{[qt(406)];[qt(397)];[qt(400)];constructor(e,i){const s=qt;this[s(406)]=e,this[s(397)]=i,this[s(400)]=new t.Collection}[qt(404)](t){const e=qt;for(const i of t)this[e(400)][e(407)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=275]})(t,e)}function te(){const t=["getIndex","roots","isBefore","_appendChild","ck-suggestion-preview-marker-","locale","element:pre","set","markersEnd","done","editor","document","getWalker","forEach","model","_joinTapes","getRevision","_utils","vid_start","getRevisionDocumentData","high","_setDistance","clear","revision:","change:numberOfChanges","modelRange","affectsData","toViewRange","numberOfChanges","isContent","_findChangeIdFromDomTarget","unbindElementFromMarkerName","changes","deletions","attributesBefore","next","viewItem","markerToHighlight","observeMarkers","resolve","_update","right","_changeIdToChange","checkAttribute","RevisionHistoryUtils","isAdded","-new","_processTape","shift","findIndex","getRoot","change:activeChange","enqueueChange","markerRange","revisionHistoryAttachChange","start","code","wrap","sort","has","attributes","maxOffset","first","getCustomProperty","return","indexOf","text","side","ck-revision-history-root-add","_getDiff","RevisionViewer","bottom","abs","distance","concat","activeChange","RevisionsRepository","revision-viewer","setAttribute","hasClass","isOfficialPlugin","_setChanges","hasAttribute","dataDowncast","3957462iXRPdr","isAttached","updatePosition","isReady","_makeTape","get","markers","toViewElement","_setConversion","insertions","getRootNames","2573952ofzixZ","showStack","revision","reconvertMarker","diff","consumable","currentChangeNumber","downcastDispatcher","getAttribute","left","low","_refreshStartEndIndex","ck-revision-history-root-remove","addHighlight","getLaterVisibleRevision","object","_removeMissingPairs","getDomRoot","getClientRects","WidgetToolbarRepository","rootName","then","_markMismatchedRemovedTags","_cleanUp","createAttributeElement","ck-suggestion-preview-marker","removeMarker:revision-suggestion","ck-suggestion-marker--active","deletion","merge","push","_data","mapViewToDom","pluginName","addClass","values","_step","attachChange","284641KPAXie","restoreRevisionCallback","_markMarkers","getRevisionRootsAttributes","filter","removeMarker","keys","ck-revision-history-root-","createRevision","addRevision","dataToMarker","vid","change","addMarker:revision","softBreak","isOnRoot","slice","_revisions","change:isReady","insertion","upcast","getItems","schema","removeAttribute","type","includes","isInline","error","requires","_sortAndFilterDiffChanges","enableReadOnlyMode","change:activeView","_balloon","item","suggestion:","addMarker:revision-suggestion:insertion","revisionHistory","_cleanMarkers","_getChangeFromId","remove","isCollapsed","activeView","compare","highest","endIndex","span","level","revision-suggestion:","index","splice","nextSibling","createPositionFromPath","nodeAfter","ck-revision-history-root--active","isAtEnd","_removeUnsupportedChanges","target","getChild","mousedown","element","_getViewForChange","_threeWayMerge","execute","removeClass","detachRoot","525476rNkwXf","view","_markSuggestions","offsetSize","conversion","isAfter","string","data-change-id","changeId","isSuggestion","authors","elementToAttribute","revision-comment:","plugins","isRemoveSuggestion","elementStart","comment","addRoot","removeMarker:revision","_markInsertions","ck-editor__editable__overlay","domConverter","isBlock","attribute:vid","userId","top","name","isAtStart","startIndex","514725JgTWnO","revisionHistoryLabel","end","stop","find","_fixObsoleteTags","writer","oldRevisionId","151394oSUTWm","suggestion","range","1599954tindUm","isIncorrect","listenTo","editingDowncast","split","markerNameToElements","commands","add","for","ck-suggestion-marker","init","all","nextPosition","_initInteractions","bindElementToMarker","change:isEnabled","revision-suggestion","isPremiumPlugin","from","restoreRevision","insert","length","addRevisionData","isAddSuggestion","ck-suggestion-marker-split","_changeView","4WUcRZL","selection","refresh","mapper","ck-suggestion-marker-merge","map","markerToData","delete","backward","catch","uiElement","elementEnd","previousPosition","createRangeIn","startsWith","toViewPosition","_makeModelFromViewString","isRemoved","POSITIVE_INFINITY","markersStart","isLimit","editing","isNavigationMode","_getRevisionsRange","pairId","data","config","diffData","test","flat","showPreviousChange","forward","forceDisabled","consume","showNextChange","destroy","domEvent","isEnabled","ck-suggestion-marker-","mouseover","parent","_activeViewTarget","isObject","unshift","markerName","createRange","loadRevisionData","pop","getAttributes","isEqual","_makeModelFromTape","addMarker:revision-suggestion:deletion","newRevisionId","createPositionBefore","repository","adapter","createUIElement","bind","attributesAfter","vid_end"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(332260===-parseInt(e(597))/1+-parseInt(e(310))/2+-parseInt(e(313))/3*(-parseInt(e(339))/4)+parseInt(e(302))/5+parseInt(e(483))/6+-parseInt(e(532))/7+-parseInt(e(494))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Xt(393)];[Xt(394)]=null;[Xt(416)];[Xt(380)];[Xt(338)];[Xt(441)];[Xt(564)];static get[Xt(527)](){return Xt(469)}static get[Xt(479)](){return!0}static get[Xt(330)](){return!0}static get[Xt(560)](){return[H.Users,pt.ContextualBalloon,B,X]}constructor(t){const e=Xt;super(t),this[e(393)]=this[e(409)][e(286)][e(488)](e(475)),this[e(416)]=this[e(409)][e(286)][e(488)](e(443)),this[e(406)](e(474),null),this[e(406)](e(573),null),this[e(380)]=null,this[e(406)](e(498),null),this[e(406)](e(486),!1),this[e(406)](e(376),!0),this.on(e(328),((t,i,s)=>{const n=e;this[n(474)]=null,this[n(573)]=null,this[n(409)][n(360)][n(598)][n(544)]((t=>{const e=n;for(const i of this[e(409)][e(360)][e(598)][e(410)][e(400)])s?t[e(595)](e(293),i):t[e(528)](e(293),i)}))})),this[e(396)](e(361)).to(this,e(474),(t=>null!==t)),this[e(396)](e(500)).to(this,e(486),this,e(498),this,e(474),((t,i,s)=>t&&s?i[e(431)][e(399)](s):0)),this[e(396)](e(427)).to(this,e(486),this,e(498),((t,i)=>t?i[e(431)][e(334)]:0)),this[e(338)]=null,this[e(441)]=new Map,this[e(564)]=this[e(409)][e(286)][e(488)](pt.ContextualBalloon)}[Xt(323)](){const t=Xt,e=this[t(409)],i=new ne(e,{direction:t(347)}),s=new ne(e,{direction:t(370)});e[t(319)][t(320)](t(369),i),e[t(319)][t(320)](t(373),s),e[t(319)][t(320)](t(332),new se(e)),this.on(t(423),(()=>{const e=t;i[e(341)](),s[e(341)]()})),this[t(491)](),this[t(326)](),e[t(562)](t(476)),e[t(286)][t(458)](t(513))&&e[t(286)][t(488)](t(513))[t(371)](t(476))}async[Xt(418)](t){const e=Xt;return await this[e(416)][e(385)](t,this[e(394)]),this[e(416)][e(418)](t)}async[Xt(535)](t){const e=Xt;return await this[e(416)][e(385)](t,this[e(394)]),this[e(416)][e(535)](t)}async[Xt(574)](t,e,i=!1){const s=Xt;if(!this[s(376)])return;const n=this[s(498)],r=this[s(393)],o=s(279)==typeof t?r[s(415)](t):t,a=s(279)==typeof e?r[s(415)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(498)]&&this[s(498)][s(391)]===c&&this[s(498)][s(309)]===u)return Promise[s(438)]();this[s(486)]=!1,this[s(573)]=null,this[s(474)]=null,this[s(498)]=new Jt(c,u);const l=this[s(362)](o,a,!0)[s(344)]((t=>this[s(416)][s(385)](t,this[s(394)])));return l[s(524)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(324)](l)[s(515)]((()=>{const t=s;if(!this[t(376)])return;this[t(517)]();const e=this[t(468)](c,u);for(const i of e[t(431)])this[t(441)][t(406)](i.id,i);this[t(409)][t(413)][t(451)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(409)][s(413)][s(410)][s(493)]())i[s(596)](t);for(const t of Object[s(538)](e[s(413)])){const n=i[s(290)](t);for(const r of Object[s(538)](e[s(459)][t]))i[s(477)](r,e[s(459)][t][r],n);i[s(333)](e[s(413)][t],n,0)}})),this[t(498)][t(480)](this[t(561)](e[t(431)])),this[t(486)]=!0}))[s(348)]((t=>{const e=s;console[e(559)](t),this[e(517)](),n&&(this[e(498)]=n),this[e(486)]=!0}))}[Xt(335)](t,e){const i=Xt,s=this[i(393)][i(540)](t);return s.on(i(439),((t,i,n)=>e(i,n,s))),this[i(393)][i(541)](s),s}[Xt(517)](){const t=Xt;this[t(474)]=null,this[t(569)](),this[t(338)]&&this[t(338)][t(374)](),this[t(338)]=null,this[t(441)][t(421)](),this[t(409)][t(413)][t(451)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(409)][i(413)][i(410)][i(493)]())e[i(596)](t)}))}[Xt(561)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(409)][e(413)][e(410)][e(493)]()){const n=this[e(409)][e(360)][e(598)][e(511)](t);if(!n)continue;const r=n[e(512)]()[e(565)](0);r&&(i[e(524)](t),s[e(406)](t,r))}return i[e(457)](((t,i)=>{const n=e,r=s[n(488)](t),o=s[n(488)](i);return r.y-o.y||r.x-o.x})),(t=t[e(536)]((t=>i[e(557)](t[e(514)]))))[e(457)](((t,s)=>i[e(464)](t[e(514)])-i[e(464)](s[e(514)]))),t}[Xt(487)](t){const e=Xt,i=Array[e(331)](t[e(489)])[e(536)]((([t,i])=>t[e(353)](e(422))&&!i[e(572)])),s=Array[e(331)](this[e(409)][e(413)][e(352)](t)[e(411)]({singleCharacters:!0}));if(0!=i[e(334)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(317)](":");if(n[e(304)][e(388)](t[e(325)])&&i[e(447)](),(t[e(351)][e(388)](n[e(454)])||t[e(351)][e(278)](n[e(454)]))&&(e(551)==r?t[e(444)]={userId:o}:e(522)==r&&(t[e(356)]={userId:o})),0==i[e(334)])break}return s}[Xt(505)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(334)];s++)e(465)===t[s][e(556)]?(t[s][e(565)][e(301)]=s,t[s][e(565)][e(576)]=s):(e(288)===t[s][e(556)]?t[s][e(565)][e(301)]=s:e(350)===t[s][e(556)]&&(t[s][e(565)][e(576)]=s),i[e(406)](t[s].id,s));for(const s of i[e(529)]())e(288)===t[s][e(556)]?t[s][e(565)][e(576)]=i[e(488)](t[s][e(363)]):e(350)===t[s][e(556)]&&(t[s][e(565)][e(301)]=i[e(488)](t[s][e(363)]))}[Xt(446)](t){const e=Xt;for(let i=0;i<t[e(334)];i++){if(e(288)===t[i][e(556)])t[i][e(565)][e(301)]=i;else if(e(350)===t[i][e(556)]){t[i][e(565)][e(576)]=i;const s=t[i][e(565)][e(301)];t[s][e(363)]=t[i].id,t[i][e(363)]=t[s].id}else t[i][e(565)][e(301)]=i,t[i][e(565)][e(576)]=i,t[i][e(363)]=null;t[i][e(358)]||(t[i][e(358)]=[],t[i][e(407)]=[])}}[Xt(292)](t,e){const i=Xt,s=t[i(536)]((t=>!t[i(444)]));for(let t=0;t<e[i(334)];t++)e[t][i(444)]&&(s[t][i(444)]=e[t][i(444)])}[Xt(468)](t,e=null){const i=Xt,s=this[i(393)][i(415)](t),n=e?this[i(393)][i(415)](e):null,r=this[i(362)](s,n),o=r[r[i(334)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(334)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(538)](e[i(366)]))if(e[i(366)][t][i(531)]){const s=e[i(366)][t][i(531)];s[i(484)]?(u[i(320)](t),l[i(458)](t)&&l[i(488)](t)[i(297)]==s[i(297)]?l[i(346)](t):l[i(406)](t,s)):l[i(458)](t)?(u[i(346)](t),l[i(346)](t)):(u[i(320)](t),l[i(406)](t,s))}else u[i(320)](t)}for(const t of u){const e=l[i(458)](t)&&!l[i(488)](t)[i(484)];let s=e?r[i(334)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(366)][t]){const s=e?o[i(366)][t][i(433)]:o[i(366)][t][i(397)];c[i(459)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(413)]={};for(const e of t[i(283)])a[i(406)](e.id,e);for(const e of u){const s=t[i(366)][e]?t[i(366)][e][i(492)]:"[]",n=t[i(366)][e]?t[i(366)][e][i(432)]:"[]";t[i(413)][e]={insertions:this[i(416)][i(355)](s),deletions:this[i(416)][i(355)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(331)](s[i(413)][t][i(492)][i(489)])[i(536)]((([t])=>!t[i(353)](i(422)))));let h=0;for(const o of r){const r=this[i(487)](o[i(413)][t][i(492)]);o==s?(e=r,n=e[i(334)],e[i(412)]((t=>{t.id=h++})),this[i(446)](e)):this[i(292)](e,r);const a=e[i(536)]((t=>!t[i(444)]))[i(344)]((t=>t.id));let c=0;const l=this[i(487)](o[i(413)][t][i(432)]);l[i(412)]((t=>{t[i(356)]?t.id=n++:t.id=a[c++]})),this[i(446)](l),this[i(420)](e,i(444)),this[i(420)](l,i(356)),o==s&&this[i(534)](e,u),e=this[i(414)](e,l),this[i(505)](e),this[i(420)](e,i(356))}e=e[i(536)]((t=>!(t[i(444)]&&t[i(356)])));const d=new Map(o[i(413)][t][i(432)][i(489)]),f=new Set(u[i(538)]());for(const t of d[i(538)]())f[i(346)](t);this[i(275)](e,f),this[i(307)](e),e=this[i(510)](e),e=this[i(516)](e),e=this[i(587)](e);const{root:m,changes:p}=this[i(389)](e,a,t);c[i(413)][t]=m;const v=l[i(488)](t);if(v){const e=a[i(488)](v[i(297)]),s=new $t({author:e,type:v[i(484)]?i(320):i(571),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(382)](s),c[i(459)][t][i(453)]=s.id}c[i(431)]=c[i(431)][i(473)](p)}return c}[Xt(534)](t,e){const i=Xt;for(let s=0;s<t[i(334)];s++)for(const[n,r]of e)!r[i(572)]&&r[i(454)][i(388)](t[s][i(351)])&&t[s][i(358)][i(524)](n),r[i(304)][i(388)](t[s][i(325)])&&t[s][i(407)][i(524)](n)}[Xt(414)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(334)]||r<e[i(334)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(524)](o);else if(a[i(356)]&&o[i(444)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(593)](t,n,e,r);s=s[i(473)](o),n=a,r=c}else a[i(356)]?(r++,s[i(524)](a)):(n++,s[i(524)](o))}return s}[Xt(275)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(334)];o++){for(let r=0;r<t[o][i(358)][i(334)];r++){const a=t[o][i(358)][r];if(!e[i(458)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(329)!=c||i(551)!=u&&i(522)!=u||(s[i(382)]({type:u,name:a,userId:l}),t[o][i(358)][i(581)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(407)][i(334)];r++){const a=t[o][i(407)][r];if(!e[i(458)](a))continue;const{group:c,type:u}=n(a);if(i(329)!=c||i(551)!=u&&i(522)!=u)continue;t[o][i(407)][i(581)](r,1),r--;const l=s[i(448)]((t=>t[i(299)]==a));l>-1&&s[i(581)](l,1)}}function n(t){const e=i,s=t[e(317)](":");return{group:s[0],type:s[1],subType:s[e(334)]>=5?s[2]:null,id:s[e(334)]<5?s[2]:s[3],authorId:s[e(334)]<5?s[3]:s[4],markerCount:6==s[e(334)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(334)];i++){if(t[e(444)]&&e(551)==s[i][e(556)])return t[e(336)]=s[i],void delete t[e(444)];if(!t[e(444)]&&!t[e(356)]&&e(522)==s[i][e(556)])return void(t[e(287)]=s[i])}}}[Xt(420)](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(406)](o.id,s);for(let s=0;s<t[i(334)];s++){if(i(356)==e&&t[s][i(444)]||i(444)==e&&t[s][i(356)])continue;if(i(465)==t[s][i(556)]){t[s][i(472)]=0;continue}const n=r[i(488)](t[s][i(363)]),o=r[i(488)](t[s].id);t[s][i(472)]=n-o}}[Xt(362)](t,e,i=!1){const s=Xt,n=[];let r=this[s(393)][s(399)](t),o=this[s(393)][s(399)](e);for(-1==o&&(o=this[s(393)][s(549)][s(334)],i=!1);r<o;)n[s(524)](this[s(393)][s(415)](r)),r++;return i&&n[s(524)](this[s(393)][s(415)](r)),n}[Xt(593)](t,e,i,s){const n=Xt,r=this[n(409)][n(413)][n(554)];let o=e;for(;t[o]&&t[o][n(444)];)o++;let a=s;for(;i[a]&&i[a][n(356)];)a++;u(t,e,o),u(i,s,a);const c=i[n(548)](s,a)[n(473)](t[n(548)](e,o));return c[n(457)](((t,e)=>t[n(466)]!=e[n(466)]?t[n(466)]-e[n(466)]:t[n(578)]!=e[n(578)]?t[n(578)]-e[n(578)]:t[n(472)]!=e[n(472)]?e[n(472)]-t[n(472)]:!!t[n(444)]!=!!e[n(444)]?-1==t[n(466)]||0==t[n(466)]?t[n(444)]?-1:1:t[n(444)]?1:-1:t[n(580)]-e[n(580)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(357)],c=!0;for(let n=e;n<i;n++)if(r[s(558)](t[n][s(565)])||(c=!1),t[n][s(565)][s(301)]<e&&(o=n),t[n][s(565)][s(576)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(466)]=n<=o?-1:n<a?0:1,t[n][s(580)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(472)]?t[i][s(578)]=u:(u++,t[i][s(578)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(466)]&&(t[n][s(578)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(472)]?t[e][s(578)]=u:(u--,t[e][s(578)]=u,u--)}}[Xt(307)](t){const e=Xt,i=new Map,s=this[e(409)][e(413)][e(554)];for(let n=1;n<t[e(334)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(465)==c[e(556)])continue;if(c[e(556)]!=u[e(556)])continue;if(!s[e(295)](u[e(565)])||s[e(359)](u[e(565)]))continue;if(!s[e(295)](c[e(565)])||s[e(359)](c[e(565)]))continue;if((t[n][e(444)]||t[n][e(336)])&&t[n-1][e(356)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(356)]||!t[n-1][e(444)]&&!t[n-1][e(336)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(578)]==o[e(578)],h=Math[e(471)](r[e(578)])<Math[e(471)](o[e(578)])&&0==o[e(472)];(l||h)&&(i[e(406)](o.id,r.id),t[e(581)](a,1),n--,r[e(444)]=!1)}for(let s=0;s<t[e(334)];s++)i[e(458)](t[s][e(363)])&&(t[s][e(363)]=i[e(488)](t[s][e(363)]))}[Xt(510)](t){const e=Xt,i=new Set(t[e(344)]((t=>t.id)));for(let s=0;s<t[e(334)];s++)i[e(458)](t[s][e(363)])||0==t[s][e(472)]||(t[s][e(314)]=!0);return t[e(536)]((t=>!t[e(314)]))}[Xt(516)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(334)];s++){if(i[e(458)](t[s].id)&&t[s][e(356)]&&(t[s][e(314)]=!0),t[s][e(314)])continue;if(0==t[s][e(472)])continue;if(e(288)!=t[s][e(556)])continue;if(null==t[s][e(363)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(363)];)e(288)==t[n][e(556)]?r++:e(350)==t[n][e(556)]&&r--,n++;if(0!=r)if(t[s][e(356)])t[s][e(314)]=!0;else for(;n!=s;)t[n][e(356)]&&0!=t[n][e(472)]&&(t[n][e(314)]=!0,i[e(320)](t[n][e(363)])),n--}return t[e(536)]((t=>!t[e(314)]))}[Xt(587)](t){const e=Xt,i=this[e(409)][e(413)][e(554)];for(let s=0;s<t[e(334)];s++){if(!(t[s][e(444)]||t[s][e(336)]||t[s][e(356)]||t[s][e(287)]))continue;if(0==t[s][e(472)])continue;const n=t[s][e(565)];i[e(295)](n)||i[e(359)](n)||(t[s][e(444)]&&delete t[s][e(444)],t[s][e(336)]&&delete t[s][e(336)],t[s][e(287)]&&delete t[s][e(287)],t[s][e(356)]&&(t[s][e(314)]=!0))}return t[e(536)]((t=>!t[e(314)]))}[Xt(389)](t,e,i){const s=Xt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(409)][s(413)],c=a[s(554)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(334)];e++)if(s(288)===t[e][s(556)]){t[e][s(351)]=a[s(583)](n,f);const i=new Z.Element(t[e][s(565)][s(299)],t[e][s(565)][s(387)]());u[0][s(402)](i),f[s(524)](0),u[s(382)](i),t[e][s(325)]=a[s(583)](n,f)}else s(350)===t[e][s(556)]?(u[s(447)](),t[e][s(351)]=a[s(583)](n,f),f[s(386)](),f[f[s(334)]-1]++,t[e][s(325)]=a[s(583)](n,f)):(t[e][s(351)]=a[s(583)](n,f),d?d[s(525)]+=t[e][s(565)][s(364)]:d=new Z.Text(t[e][s(565)][s(364)],t[e][s(565)][s(387)]()),t[e+1]&&s(465)===t[e+1][s(556)]&&v(d,t[e+1][s(565)])||(u[0][s(402)](d),d=null),f[f[s(334)]-1]+=t[e][s(565)][s(276)],t[e][s(325)]=a[s(583)](n,f));for(let e=0;e<t[s(334)];e++){const i=t[e][s(351)],n=t[e][s(325)];for(const n of t[e][s(358)])o[s(406)](n,{start:i,end:null});m(s(287),e,i,n),m(s(336),e,i,n),m(s(356),e,i,n),m(s(444),e,i,n);for(const i of t[e][s(407)]){const t=o[s(488)](i);t?t[s(304)]=n:o[s(406)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(409)][s(413)][s(384)](e[s(454)],e[s(304)]);n[s(489)][s(406)](t,i)}return r[s(457)](((t,e)=>{const i=s,r=n[i(489)][i(488)](i(422)+t.id),o=n[i(489)][i(488)](i(422)+e.id);return r[i(454)][i(401)](o[i(454)])?-1:r[i(454)][i(278)](o[i(454)])?1:r[i(304)][i(401)](o[i(304)])?-1:r[i(304)][i(278)](o[i(304)])?1:i(320)===t[i(556)]?-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(297)]:null,d=i===t[o(334)]-1,f=h[e][0],m=c[o(381)](t[i][o(565)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(304)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(297)]!==u&&(l[e][o(304)]=n,f&&f[o(297)]===l[e][o(297)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(288)!==t[i][o(556)]||f&&f[o(297)]===u||h[e][o(382)]({userId:u,object:t[i][o(565)],change:l[e]}),o(350)===t[i][o(556)]&&f&&f[o(509)]===t[i][o(565)]&&(h[e][o(447)](),l[e]=f[o(544)])),l[e]&&d&&(l[e][o(304)]=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(565)],f=a[h(554)][h(295)](d)&&!a[h(554)][h(359)](d),m=t[h(584)]==o[h(379)]&&o[h(300)];if(f&&m)return;const p=a[h(384)](t,o),v=e[h(488)](u),g=new $t({author:v,type:h(444)==l||h(336)==l?h(320):h(571),data:{isSuggestion:h(336)==l||h(287)==l},createdAt:new Date,rootName:i});r[h(524)](g),n[h(489)][h(406)](h(422)+g.id,p)}function v(t,e){const i=s,n=t[i(387)](),r=e[i(387)]();for(const t of n){if(t[1]!==e[i(502)](t[0]))return!1;r[i(434)]()}return r[i(434)]()[i(408)]}}[Xt(491)](){const t=Xt;this[t(409)][t(277)][t(321)](t(552))[t(542)]({view:t(496)}),this[t(409)][t(277)][t(321)](t(316))[t(436)]({model:t(496),view:e=>{const i=t,s=e[i(383)][i(317)](":")[1],n=this[i(570)](s);if(!n)return null;const r=i(320)==n[i(556)]?i(551):i(522),o=[i(322),i(377)+r];return n[i(364)][i(282)]&&o[i(524)](i(377)+r+i(445)),this[i(474)]==n&&o[i(524)](i(521)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(409)][t(277)][t(321)](t(552))[t(320)]((e=>{const i=t;e.on(i(405),((t,e,s)=>{const n=i,r=e[n(435)][n(589)](0);if(!r||!r.is(n(591),n(455)))return;if(!s[n(499)][n(372)](r,{attributes:[n(417),n(398)]}))return;const o=e[n(424)][n(454)][n(584)];s[n(308)][n(477)](n(417),r[n(502)](n(417)),o),s[n(308)][n(477)](n(398),r[n(502)](n(398)),o)}),{priority:i(504)})})),this[t(409)][t(277)][t(321)](t(552))[t(320)]((e=>{const i=t;e.on(i(591),((t,e,s)=>{const n=i;if(!s[n(499)][n(372)](e[n(435)],{attributes:[n(417),n(398)]}))return;if(e[n(424)][n(572)])return;const r=e[n(424)][n(454)][n(584)];r[n(481)](n(417))||r[n(481)](n(543))||(s[n(308)][n(477)](n(417),e[n(435)][n(502)](n(417)),r),s[n(308)][n(477)](n(398),e[n(435)][n(502)](n(398)),r))}),{priority:i(504)})})),this[t(409)][t(277)][t(321)](t(552))[t(284)]({view:{name:t(577),attributes:{vid:!0}},model:{key:t(543),value:e=>e[t(502)](t(543))}}),this[t(409)][t(413)][t(554)].on(t(442),((e,[,i])=>{const s=t;[s(417),s(398),s(543)][s(557)](i)&&(e[s(463)]=!0,e[s(305)]())}),{priority:t(575)}),this[t(409)][t(277)][t(321)](t(482))[t(320)]((e=>{const i=t;e.on(i(296),((t,e,s)=>{const n=i;if(" "!=e[n(565)][n(364)]||e[n(565)][n(379)][n(460)]>1)return;if(!s[n(499)][n(372)](e[n(565)],t[n(299)]))return;const r=s[n(308)],o=s[n(342)][n(426)](e[n(312)]);r[n(456)](o,r[n(518)](n(577)))}))})),this[t(409)][t(277)][t(321)](t(482))[t(345)]({model:t(496)}),this[t(409)][t(360)][t(501)].on(t(545),function(e){const i=t,s=e[i(286)][i(488)](i(469));return(t,n,r)=>{const o=i,a=n[o(383)][o(317)](":")[1],c=s[o(570)](a);if(!c)return null;const u=o(320)==c[o(556)]?o(317):o(523);if(!r[o(499)][o(367)](n[o(452)],t[o(299)]))return;const l=n[o(452)][o(411)](),h=n[o(452)][o(454)],d=e[o(413)][o(554)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(565)];p=p||d[o(428)](e);const i=r[o(342)][o(490)](e);if(i&&i[o(462)](o(507)))return;o(350)==t[o(556)]&&d[o(295)](e)&&!d[o(359)](e)&&(e[o(582)]||h[o(586)]?f&&f[o(379)]==e||(f=e,g(t[o(351)]),v=!0):m=m||t[o(351)])}function g(t){const e=o,i=r[e(308)][e(395)](e(577),{class:e(377)+u}),a=r[e(342)][e(354)](t);c[e(364)][e(282)]&&r[e(308)][e(528)](e(377)+u+e(445),i),s[e(474)]==c&&r[e(308)][e(528)](e(521),i),r[e(308)][e(333)](a,i),r[e(342)][e(327)](i,n[e(383)])}p||v||!m||g(m)}}(this[t(409)]),{priority:t(419)}),this[t(409)][t(360)][t(501)].on(t(291),((e,i,s)=>{const n=t,r=s[n(342)][n(318)](i[n(383)]);if(r)for(const t of r)(t[n(478)](n(337))||t[n(478)](n(343)))&&(s[n(342)][n(430)](t,i[n(383)]),s[n(308)][n(571)](t))}),{priority:t(419)}),this[t(409)][t(360)][t(501)].on(t(545),((e,i,s)=>{const n=t,r=i[n(383)][n(317)](":")[1],o=this[n(570)](r);if(!o)return null;const a=n(320)==o[n(556)]?n(317):n(523);if(s[n(499)][n(367)](i[n(452)],e[n(299)]))for(const t of i[n(452)][n(553)]()){if(!t.is(n(591),n(546)))continue;const e=s[n(308)][n(395)](n(577),{class:n(377)+a}),r=s[n(342)][n(354)](this[n(409)][n(413)][n(392)](t));o[n(364)][n(282)]&&s[n(308)][n(528)](n(377)+a+n(445),e),this[n(474)]==o&&s[n(308)][n(528)](n(521),e),s[n(308)][n(333)](r,e),s[n(342)][n(327)](e,i[n(383)])}}),{priority:t(419)}),this[t(409)][t(413)][t(410)].on(t(544),(()=>{const e=t;this[e(409)][e(360)][e(598)][e(544)]((t=>{const i=e;for(const e of this[i(409)][i(413)][i(410)][i(493)]()){const s=this[i(409)][i(413)][i(410)][i(449)](e),n=this[i(409)][i(360)][i(598)][i(410)][i(449)](e);if(n){const e=s[i(502)](i(453));if(t[i(555)](i(280),n),t[i(595)](i(467),n),t[i(595)](i(506),n),t[i(595)](i(585),n),e){const s=this[i(570)](e);if(!s)return null;t[i(477)](i(280),e,n),t[i(528)](i(539)+s[i(556)],n),this[i(474)]==s&&t[i(528)](i(585),n)}}}}))})),this[t(409)][t(277)][t(321)](t(552))[t(542)]({view:t(289),model:e=>t(285)+e,converterPriority:t(575)}),this[t(409)][t(277)][t(321)](t(552))[t(542)]({view:t(311),model:e=>t(579)+e,converterPriority:t(575)}),this[t(409)][t(277)][t(321)](t(482))[t(345)]({model:t(329),view:e=>({name:t(566)+e,group:t(329)}),converterPriority:t(575)}),this[t(409)][t(277)][t(321)](t(316))[t(436)]({model:t(329),view:e=>{const i=t,s=e[i(383)][i(317)](":")[1];return i(551)!=s&&i(522)!=s?null:{classes:[i(519),i(403)+s]}}}),this[t(409)][t(360)][t(501)].on(t(390),ie(this[t(409)],t(523)),{priority:t(419)}),this[t(409)][t(360)][t(501)].on(t(567),ie(this[t(409)],t(317)),{priority:t(419)}),this[t(409)][t(360)][t(501)].on(t(520),((e,i,s)=>{const n=t,r=s[n(342)][n(318)](i[n(383)]);if(r)for(const t of r)t.is(n(349))&&(s[n(342)][n(430)](t,i[n(383)]),s[n(308)][n(571)](t))}),{priority:t(419)})}[Xt(570)](t){const e=Xt;return this[e(441)][e(488)](t)}[Xt(592)](t){const e=Xt;return this[e(338)]&&this[e(338)][e(374)](),this[e(338)]=new Wt(this[e(409)][e(404)],t),this[e(338)]}[Xt(326)](){const t=Xt;this[t(409)][t(413)][t(410)][t(340)][t(437)](t(496)),this.on(t(563),((e,i,s,n)=>{const r=t;n&&this[r(564)][r(571)](n),s&&(this[r(564)][r(320)]({view:s,stackId:r(303),position:{target:()=>{const t=r,e=this[t(409)][t(360)],i=this[t(570)](s[t(281)]);let n;if(i[t(364)][t(547)]){const s=e[t(598)][t(511)](i[t(514)]);n=Array[t(331)](s[t(512)]())}else{const i=this[t(409)][t(413)][t(489)][t(488)](t(422)+s[t(281)]);n=Array[t(331)](e[t(342)][t(318)](i[t(299)]))[t(344)]((i=>e[t(598)][t(294)][t(526)](i)))[t(344)]((e=>Array[t(331)](e[t(512)]())))[t(368)]()}return this[t(380)]&&n[t(306)]((e=>e[t(298)]-3<=this[t(380)].y&&e[t(470)]+3>=this[t(380)].y&&e[t(503)]-3<=this[t(380)].x&&e[t(440)]+3>=this[t(380)].x))||n[0]}}}),this[r(564)][r(495)](r(303)))})),this.on(t(450),((e,i,s,n)=>{const r=t;this[r(573)]=s?this[r(592)](s):null,this[r(409)][r(413)][r(544)]((()=>{const t=r,e=this[t(409)][t(360)];n&&(n[t(364)][t(547)]?e[t(598)][t(544)]((i=>{const s=t;i[s(595)](s(585),e[s(598)][s(410)][s(449)](n[s(514)]))})):e[t(497)](t(422)+n.id)),s&&(s[t(364)][t(547)]?e[t(598)][t(544)]((i=>{const n=t;i[n(528)](n(585),e[n(598)][n(410)][n(449)](s[n(514)]))})):e[t(497)](t(422)+s.id))}))})),this[t(315)](this[t(409)][t(360)][t(598)][t(410)],t(378),((e,i)=>{const s=t;if(this[s(474)])return;const n=this[s(429)](i[s(588)]),r=this[s(441)][s(488)](n);r?(this[s(380)]={x:i[s(375)].x,y:i[s(375)].y},this[s(573)]=this[s(592)](r)):(this[s(380)]=null,this[s(573)]=null)})),this[t(315)](this[t(409)][t(360)][t(598)][t(410)],t(590),((e,i)=>{const s=t,n=this[s(429)](i[s(588)]),r=this[s(441)][s(488)](n);r?(this[s(380)]={x:i[s(375)].x,y:i[s(375)].y},r===this[s(474)]?this[s(564)][s(485)]():this[s(474)]=r):(this[s(380)]=null,this[s(474)]=null)}))}[Xt(429)](t){const e=Xt;do{const i=t[e(502)](e(280));if(i)return i;t=t[e(379)]}while(t);return null}[Xt(569)](){const t=Xt;this[t(409)][t(413)][t(544)]((e=>{const i=t;for(const t of this[i(409)][i(413)][i(489)])e[i(537)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(499)][r(367)](s[r(452)],i[r(299)]))return;const o=s[r(452)][r(411)](),a=s[r(452)][r(454)],c=t[r(413)][r(554)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(565)];h=h||c[r(428)](e);const i=n[r(342)][r(490)](e);if(i&&i[r(462)](r(507)))return;r(350)==t[r(556)]&&c[r(295)](e)&&!c[r(359)](e)&&(e[r(582)]||a[r(586)]?u&&u[r(379)]==e||(u=e,f(t[r(351)]),d=!0):l=l||t[r(351)])}function f(t){const i=r,o=n[i(342)][i(354)](t),a=n[i(308)][i(395)](i(577),{class:i(403)+e});n[i(308)][i(333)](o,a),n[i(342)][i(327)](a,s[i(383)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(286)][e(488)](ee);this[e(425)]=!1,this[e(315)](i,e(550),(()=>this[e(341)]())),this[e(315)](i,e(328),(()=>this[e(341)]()))}[Xt(594)](){const t=Xt,e=this[t(409)],i=e[t(286)][t(488)](ee),s=i[t(486)]?i[t(498)][t(391)]:null;e[t(365)][t(488)](t(568))[t(533)](s)}[Xt(341)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(409)][t(286)][t(488)](ee),r=n&&s[t(508)](n[t(391)]);this[t(376)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(530)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(286)][i(488)](ee);this[i(425)]=!1,this[i(530)]=i(370)===e?1:-1,this[i(315)](s,i(550),(()=>this[i(341)]())),this[i(315)](s,i(328),(()=>this[i(341)]())),this[i(315)](s,i(450),(()=>this[i(341)]()))}[Xt(594)](){const e=Xt,i=this[e(409)],s=i[e(286)][e(488)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(474)]=n?s[e(498)][e(431)][e(488)](r+this[e(530)]):s[e(498)][e(431)][e(461)],s[e(474)][e(364)][e(547)])o=i[e(360)][e(598)][e(511)](s[e(474)][e(514)]);else{const t=i[e(413)][e(489)][e(488)](e(422)+s[e(474)].id);o=(0,H.getMarkerDomElement)(i[e(360)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(341)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(409)][t(286)][t(488)](ee);this[t(376)]=!!(r&&n&&s)&&(!e||(1===this[t(530)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(){const t=["EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui","forward","10756530CrsLjY","Total","No changes","313834fgQmkm","Loading...","isReady","Show previous change","numberOfChanges","isBackwardNavigationEnabled","X_OF_Y_CHANGES","bind","bindTemplate","set","ck-hidden","2133930AUhIul","isEnabled","ck-revision-history-ui__changes-navigation__label","backward","isForwardNavigationEnabled","NUMBER_OF_CHANGES","16IqJjwL","div","_statusText","span","2199665jqHwTG","ck-revision-history-ui__changes-navigation__navigation","Show next change","_isStatusLabelVisible","174606JTLYJX","7KjniGE","setTemplate","currentChangeNumber","ck-revision-history-ui__changes-navigation__wrapper","119401HzoHcg","execute","isNavigationMode","fire","9unVJGo","3406808bIQJVm","ck-revision-history-ui__changes-navigation"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=405]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(224954===-parseInt(e(444))/1+-parseInt(e(414))/2+parseInt(e(439))/3*(-parseInt(e(431))/4)+parseInt(e(435))/5+-parseInt(e(425))/6+-parseInt(e(440))/7*(parseInt(e(406))/8)+parseInt(e(405))/9*(parseInt(e(411))/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(422)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(423)](e(446),!1),this[e(423)](e(416),!1),this[e(423)](e(442),0),this[e(423)](e(418),0),this[e(423)](e(429),!1),this[e(423)](e(419),!1),this[e(421)](e(438)).to(this,e(416),this,e(418),((t,e)=>t&&e>0)),this[e(421)](e(433)).to(this,e(416),this,e(442),this,e(418),this,e(446),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(415));if(!n)return Q(t,o(413));const a=Q(t,o(430),n);return r?Q(t,o(420),[s+1,n]):a})),s[e(423)]({label:Q(t,e(417)),tooltip:!0,icon:mt.IconChevronUp}),n[e(423)]({label:Q(t,e(437)),tooltip:!0,icon:mt.IconChevronDown}),s[e(421)](e(426)).to(this,e(419)),n[e(421)](e(426)).to(this,e(429)),s.on(e(445),(()=>this[e(447)](e(445),e(428)))),n.on(e(445),(()=>this[e(447)](e(445),e(410)))),this[e(441)]({tag:e(432),attributes:{class:["ck",e(409),e(407)]},children:[{tag:e(434),attributes:{class:[e(443)]},children:[{tag:e(434),attributes:{class:[e(427),i.if(e(438),e(424),(t=>!t))]},children:[{text:i.to(e(446),(i=>i?Q(t,e(408))+": ":Q(t,e(412))+": "))}]},{text:i.to(e(433))}]},new pt.ToolbarSeparatorView,{tag:e(432),attributes:{class:[e(436)]},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=pe();return(de=function(t,e){return i[t-=303]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(561410===parseInt(e(328))/1*(-parseInt(e(330))/2)+parseInt(e(317))/3*(parseInt(e(323))/4)+-parseInt(e(303))/5*(parseInt(e(327))/6)+parseInt(e(325))/7+parseInt(e(309))/8*(-parseInt(e(324))/9)+parseInt(e(326))/10*(parseInt(e(320))/11)+parseInt(e(329))/12*(parseInt(e(307))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=fe(322);function pe(){const t=["202345pvvCWp","pluginName","2977272qOVqdV","view","removeClass","addClass","isPremiumPlugin","document","editor","hide","33ewgHJc","isOfficialPlugin","show","11223443TKmGxD","change","ck-editor__editable__loading-overlay","151576gBOzGg","27WkaASH","5828802oVBbuF","10bCemtB","294NIalDO","4iuhNDv","204EpzMHm","354212qxOybc","15115qUjfwj","RevisionViewerLoadingOverlay","editing","roots"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[fe(308)](){return fe(304)}static get[fe(318)](){return!0}static get[fe(313)](){return!0}[fe(319)](){const t=fe,e=this[t(315)][t(305)][t(310)];e[t(321)]((i=>{const s=t;for(const t of e[s(314)][s(306)])i[s(312)](me,t)}))}[fe(316)](){const t=fe,e=this[t(315)][t(305)][t(310)];e[t(321)]((i=>{const s=t;for(const t of e[s(314)][s(306)])i[s(311)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=157]})(t,e)}function ke(){const t=["numberOfChanges","requires","hide","set","isBackwardNavigationEnabled","isNavigationMode","7QWKSiS","commands","componentFactory","Restore this revision","ck-revision-history-ui__back-to-editing","204945rwRsjC","isEnabled","init","3594loMkGZ","showNextChange","3aevtHa","exitToEditing","get","plugins","bind","editor","RevisionViewerUI","pluginName","1952104tPjhlR","27IHEDHi","add","currentChangeNumber","showPreviousChange","isForwardNavigationEnabled","forward","48241413bpGYTm","Back to editing","isReady","closeRevisionViewerCallback","execute","changesNavigation","910122aRSFUa","change:isReady","12385LFDPgg","config","isPremiumPlugin","5939530QdQSjR","1398828BLxKCV","listenTo","revisionHistory","restoreRevision","isOfficialPlugin","show"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(907217===parseInt(e(169))/1*(parseInt(e(190))/2)+parseInt(e(164))/3+parseInt(e(196))/4+-parseInt(e(192))/5*(-parseInt(e(167))/6)+-parseInt(e(159))/7*(-parseInt(e(177))/8)+parseInt(e(178))/9*(parseInt(e(195))/10)+-parseInt(e(184))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(176)](){return ge(175)}static get[ge(200)](){return!0}static get[ge(194)](){return!0}static get[ge(203)](){return[ee,ve]}[ge(166)](){const t=ge,e=this[t(174)],i=e[t(172)][t(171)](ee),s=e[t(172)][t(171)](ve);e.ui[t(161)][t(179)](t(170),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(205)]({label:Q(i,s(185)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(163)}),this[s(197)](n,s(188),(()=>{const t=s;e[t(193)][t(171)](t(198))[t(187)]()})),n})),e.ui[t(161)][t(179)](t(199),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(205)]({label:Q(i,s(162)),withText:!0,tooltip:!0}),n[s(173)](s(165)).to(e[s(160)][s(171)](s(199))),this[s(197)](n,s(188),(()=>e[s(188)](s(199)))),n})),e.ui[t(161)][t(179)](t(189),(s=>{const n=t,r=new ue(s),o=e[n(160)][n(171)](n(181)),a=e[n(160)][n(171)](n(168));return r[n(173)](n(157)).to(o,n(165)),r[n(173)](n(182)).to(a,n(165)),r[n(173)](n(186),n(180),n(202),n(158)).to(i),this[n(197)](r,n(188),((t,i)=>{const s=n;e[s(188)](s(183)===i?s(168):s(181))})),r})),s[t(201)](),i.on(t(191),((e,i,n)=>{const r=t;n?s[r(204)]():s[r(201)]()}))}}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;function Ie(t,e){const i=Oe();return(Ie=function(t,e){return i[t-=354]})(t,e)}const Se=Ie;function Oe(){const t=["value","set","2632848WMwswz","Revision name","2410zUSspt","ck-revision-history-sidebar__revision-name","777160esQAcO","scrollWidth","28tofADb","bindTemplate","_resizeObserver","ck-tooltip_multi-line","_updateTooltipText","listenTo","destroy","151771fVsDpz","clientWidth","Enter the revision name","span","render","element","input","extendTemplate","16479hADTbP","fieldView","_tooltipString","1339722yyQZwt","2rIOQHW","422240vBdOHV","placeholder","1589620CSYzWd"];return(Oe=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(319210===-parseInt(e(355))/1*(-parseInt(e(367))/2)+parseInt(e(366))/3+-parseInt(e(368))/4+parseInt(e(370))/5+-parseInt(e(373))/6+parseInt(e(379))/7*(parseInt(e(377))/8)+parseInt(e(363))/9*(-parseInt(e(375))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends pt.LabeledFieldView{[Se(381)]=null;constructor(t,e){const i=Se;super(t,e);const s=this[i(380)];this[i(372)]({label:Q(t,i(374)),_tooltipString:""}),this[i(364)][i(369)]=Q(t,i(357)),this[i(362)]({tag:i(358),attributes:{class:[i(376)],"data-cke-tooltip-text":s.to(i(365)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(382)}})}[Se(359)](){const e=Se;super[e(359)](),this[e(381)]=new t.ResizeObserver(this[e(364)][e(360)],(()=>this[e(383)]())),this[e(384)](this[e(364)],e(361),(()=>this[e(383)]()))}[Se(354)](){const t=Se;super[t(354)](),this[t(381)]&&this[t(381)][t(354)]()}[Se(383)](){const t=Se,e=this[t(364)][t(360)];this[t(365)]=e[t(378)]>e[t(356)]&&e[t(371)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=260]})(t,e)}function Ae(){const t=["setTemplate","ck-revision-history-sidebar__revision-author","span","7rIcAfj","2638WXYfKw","827204oPzfqN","set","10NTkzqk","3352536spEEkg","ck-revision-history-sidebar__revision-author_creator","55OhqgUk","0 0 11 10","10236906flTZwD","push","2175IlKePC","242288TJpXfS","Revision author","20180567OPNhmP","ck-revision-history-sidebar__revision-author__name","name","210772RzEBAG","Revision creator"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(981788===parseInt(e(261))/1+-parseInt(e(260))/2*(parseInt(e(270))/3)+parseInt(e(276))/4*(parseInt(e(266))/5)+-parseInt(e(268))/6+parseInt(e(281))/7*(parseInt(e(271))/8)+parseInt(e(264))/9+-parseInt(e(263))/10*(-parseInt(e(273))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class De extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(262)]({content:mt.IconUser,viewBox:s(267)});const r=["ck",s(279)];i&&r[s(269)](s(265));const o=[{tag:s(280),attributes:{class:["ck",s(274)],title:Q(t,s(i?277:272))},children:[n,e[s(275)]]}];this[s(278)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Ve();return(Ee=function(t,e){return i[t-=120]})(t,e)}function Ve(){var t=["numeric","4980290kBxgDB","48MfijCx","428659ZrytPI","242766PSWzFd","595446bsVPFN","219833zzhmVt","3505RputJR","toLocaleDateString","676UjIxPv","toLocaleTimeString","long","671658RdWTlH","2lofaGb"];return(Ve=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(183765===-parseInt(e(125))/1*(parseInt(e(132))/2)+parseInt(e(131))/3+-parseInt(e(128))/4*(parseInt(e(126))/5)+-parseInt(e(124))/6+parseInt(e(122))/7+-parseInt(e(121))/8*(parseInt(e(123))/9)+parseInt(e(120))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var Me=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Me.A,Ce);Me.A&&Me.A.locals&&Me.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=486]})(t,e)}function je(){const t=["ck-on","map","198VsGCej","items","Compare against selected","find","ck-revision-history-sidebar__revision__actions","3505606WWgGpQ","menu","bind","Name this revision","isEnabled","isActionsDropdownOpen","set","source","buttonView","locale","stopPropagation","bindTemplate","add","panelPosition","_action","8019bCtmlX","4701600bGTezv","56xfgOXT","isOpen","Restore this revision","function","menuitem","listenTo","class","name","first","action","Show more items","change:isActionsDropdownOpen","341010YxLLyF","extendTemplate","listView","620LMGubW","313318zDxNJg","model","isReady","children","button","isVisible","execute","1019712eKuWTM","1329285TDlNaG"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(931329===parseInt(e(497))/1+parseInt(e(513))/2+parseInt(e(528))/3*(-parseInt(e(496))/4)+parseInt(e(505))/5+parseInt(e(529))/6+parseInt(e(530))/7*(-parseInt(e(504))/8)+parseInt(e(508))/9*(-parseInt(e(493))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);var Pe=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=It(),Le.insert=wt().bind(null,"head"),Le.domAPI=kt(),Le.insertStyleElement=Ot();gt()(Pe.A,Le);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=We;function We(t,e){const i=Ue();return(We=function(t,e){return i[t-=287]})(t,e)}function Ue(){const t=["9VOJLqu","3279498zSIgZf","value","bind","unhighlight","name","element","fire","isReady","ck-revision-history-sidebar__revision__controls-wrapper","authors","extendTemplate","ck-revision-history-sidebar__revision-authors","isHighlighted","change","ck-revision-history-sidebar__revision_highlighted","srcElement","unshift","createdAt",".ck-thread__remove-confirm","_createdAtFormatted","select","_revision","from","1321130GffaRl","isConfirm","set","ck-disabled","creator","setName","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","revisionNameView","bindTemplate","isSelected","div","closest","_requireRevisionName","18rjKPiw","span","listenTo","isActionsDropdownOpen","4031713CbosoR","revisionActionsView","setTemplate","map","isEnabled","7372089YSFHCR","filter","ck-revision-history-sidebar__revision","ck-reset","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_selected","220","highlight","918184MXQbfs","2581015TrSwxI","fieldView","length","uiLanguage","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__actions_dropdown_open","render","deselect","2802936LYrlHA"];return(Ue=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(965071===-parseInt(e(339))/1+parseInt(e(316))/2+parseInt(e(315))/3*(parseInt(e(305))/4)+parseInt(e(306))/5+parseInt(e(288))/6*(-parseInt(e(292))/7)+parseInt(e(314))/8+parseInt(e(297))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(346)];[ze(293)];[ze(337)];[ze(287)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(347)],a=function(t,e){const i=r,s=Array[i(338)](e[i(325)])[i(298)]((t=>t!=e[i(343)]));return e[i(343)]&&s[i(332)](e[i(343)]),s[i(295)]((s=>new De(t,s,s==e[i(343)])))}(e,i);this.id=i.id,this[r(337)]=i,this[r(287)]=n,this[r(318)](r(320),r(333)).to(i),this[r(318)](r(335)).to(this,r(333),(t=>{return i=e[r(309)],(s=t)[(n=Ee)(127)](i,{month:n(130),day:n(133)})+", "+s[n(129)](i,{hour:n(133),minute:n(133)});var i,s,n})),this[r(341)](r(348),!1),this[r(341)](r(328),!1),this[r(341)](r(291),!1),this[r(341)](r(323),!1),this[r(341)](r(296),!1),this[r(346)]=new Te(e,pt.createLabeledInputText),this[r(346)][r(307)][r(326)]({attributes:{maxlength:r(303)}}),this[r(346)][r(307)][r(318)](r(317)).to(this,r(320),(t=>t||this[r(335)])),this[r(346)][r(318)](r(296)).to(this,r(348),this,r(296),((t,e)=>t&&e)),this[r(293)]=s&&s[r(308)]?function(e,i){const s=Fe,n=e[s(524)],r=e[s(522)],o=(0,pt.createDropdown)(r);o[s(526)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(522)],n={"Compare against selected":Q(s,i(510)),"Name this revision":Q(s,i(516)),"Restore this revision":Q(s,i(532))};return e[i(507)]((t=>{const e=i,s=n[t[e(488)]];return s&&s!==t[e(488)]&&(t[e(488)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(501),model:new pt.ViewModel({label:t[n(488)],class:t[n(487)],withText:!0,role:n(534),_action:t[n(490)]})};i[n(498)][n(515)](n(517)).to(e,n(518),(i=>n(533)!=typeof t[n(517)]||!i||t[n(517)](e))),o[n(525)](i)}return o}(e,i);return e[s(515)](s(518)).to(o,s(531)),o[s(521)][s(519)]({label:Q(r,s(491)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(494)]({attributes:{class:[s(512),n.if(s(518),s(506))]},on:{click:n.to((t=>t[s(523)]()))}}),o.on(s(503),(t=>{const i=s;e[i(499)]&&i(533)==typeof t[i(520)][i(527)]&&t[i(520)][i(527)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(514)}),o[s(486)](e,s(492),((t,n,r)=>{const a=s;if(r)for(const t of o[a(495)][a(509)]){const s=t[a(500)][a(489)],n=i[a(511)]((t=>t[a(490)]===s[a(527)]))[a(502)];t[a(502)]=void 0===n||n(e)}})),o}(this,s):"",this[r(293)]&&this[r(293)][r(318)](r(296)).to(this),this[r(294)]({tag:r(349),attributes:{class:["ck",r(300),r(310),o.if(r(340),r(345))]},children:[{tag:r(349),attributes:{class:["ck",r(300),r(299),o.if(r(296),r(342),(t=>!t)),o.if(r(348),r(302)),o.if(r(328),r(330)),o.if(r(291),r(311))]},children:[this[r(346)],{tag:r(289),attributes:{class:["ck",r(301)]},children:[{text:o.to(r(335))}]},{tag:r(349),attributes:{class:["ck",r(324)]},children:[{tag:"ul",attributes:{class:["ck",r(327)]},children:a}]},this[r(293)]],on:{click:o.to((t=>{const e=r;t[e(331)][e(350)](e(334))||this[e(323)]&&this[e(296)]&&this[e(322)](e(336),{id:this.id})}))}}]})}[ze(312)](){const t=ze;super[t(312)]();const e=this[t(346)][t(307)][t(321)];this[t(290)](e,t(329),(()=>{const i=t;this[i(287)]&&!e[i(317)]||this[i(322)](i(344),{id:this.id,name:e[i(317)]}),e[i(317)]||(e[i(317)]=this[i(320)]?this[i(320)]:this[i(335)])}))}[ze(336)](){this[ze(348)]=!0}[ze(313)](){this[ze(348)]=!1}[ze(304)](){this[ze(328)]=!0}[ze(319)](){this[ze(328)]=!1}}class Ze extends Error{}class $e extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Ye extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return Ys(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i,this.name)}formatOffset(t,e){return Ys(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ls({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Di={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.DateTimeFormat(t,e),Di[i]=s),s}let Vi={};let Mi={};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 Pi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ds(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&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=Ei(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=Mi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Mi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const 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,Di={},Vi={},Mi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(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 Pi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Li(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 Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Ys(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Ys(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Ys(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 $i 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 qi(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new $i(t)}const Yi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Yi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Yi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return qi(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(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(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,...Bs(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Bs(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Bs(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 Be("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ps(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Ds(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ms(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function js(t){return Fs(t)?366:365}function Ps(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function 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 Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function $s(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=$s(n)}return i}function Ys(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ds(i,2)}:${Ds(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ds(i,2)}${Ds(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ds(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return 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]]=Es(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:Es(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ms(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Dn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Ms(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Mn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Vn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,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$/,Pn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ln(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),$n=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),qn=mn(wn,Tn,xn,Nn),Yn=mn(_n,Tn,xn,Nn),Bn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:qs(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Dn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Ye(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=$s(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,...qs(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(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 qi(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(Yi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ms(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Be("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Dr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Mr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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 Pr(t,e,i){return Fr(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ps(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ls(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+=Ds(t.c.year,i?6:4),e?(s+="-",s+=Ds(t.c.month),s+="-",s+=Ds(t.c.day)):(s+=Ds(t.c.month),s+=Ds(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ds(t.c.hour);return e?(o+=":",o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ds(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ds(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ds(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ds(Math.trunc(-t.o/60)),o+=":",o+=Ds(Math.trunc(-t.o%60))):(o+="+",o+=Ds(Math.trunc(t.o/60)),o+=":",o+=Ds(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},$r={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Yr=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Yr)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Pr(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:Er(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=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=qi(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Dr||t>Dr?io.invalid("Timestamp out of range"):new io({ts:t,zone:qi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:qi(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Ui.fromObject(e),n=qs(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Br,v=$r,g=ps(g,r,o)):u?(p=Jr,v=qr,g=gs(g)):(p=Yr,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,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]=Pr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,$n],[Un,qn],[Hn,Yn],[Zn,Bn])}(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),[Mn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Ln],[jn,Ln],[Pn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):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,[Gn,$n],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(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?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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 Ps(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(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Pr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Er(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=qs(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ps(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Pr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Lr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Lr(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+=Hr(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":"")+Hr(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 Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):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 Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=132]})(t,e)}function ro(){const t=["2AmVUSZ","784436OGGNLc","day","143504fKuDep","month","fromJSDate","local","2071218LFqfjQ","4234266hFINrU","weekdayLong","toJSDate","19290390YjyJXO","year","8elPcNJ","hasSame","255eeubvI","startOf","week","monthLong","5566267PeYyuy","8761206wYzuFf","setLocale","minus","toRelativeCalendar"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(137)](t)[i(153)](e),n=io[i(138)](),r=n[i(154)]({days:1})[i(148)](i(134));let o,a;return s[i(146)](n,i(134))?(o=s[i(148)](i(134))[i(142)](),a=s[i(155)]()):s[i(146)](r,i(134))?(o=r[i(142)](),a=s[i(155)]()):s[i(146)](n,i(149))?(o=s[i(148)](i(149))[i(142)](),a=s[i(141)]||""):s[i(146)](n,i(144))?(o=s[i(148)](i(136))[i(142)](),a=s[i(150)]||""):(o=s[i(148)](i(144))[i(142)](),a=String(s[i(144)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(938829===-parseInt(e(133))/1+parseInt(e(132))/2*(parseInt(e(139))/3)+-parseInt(e(135))/4*(-parseInt(e(147))/5)+-parseInt(e(152))/6+parseInt(e(151))/7*(-parseInt(e(145))/8)+-parseInt(e(140))/9+parseInt(e(143))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=123]})(t,e)}function ho(){const t=["revisionViews","createCollection","8ZhjRxL","locale","_revisionActions","_requireRevisionName","removeRevision","158016sJPLpQ","div","ck-revision-history-sidebar__time-period__revisions","2191800NwLlto","469056IHGXla","remove","setTemplate","9189lqsqoy","add","setName","276562CfGlSv","1105466moOsPw","uiLanguage","ck-revision-history-sidebar__time-period__label","localizedPeriodName","ck-revision-history-sidebar__time-period","span","18MUcmRo","addRevision","10210lGmaLa","startDate","select","delegate","1895816iYcSrj","find"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(294605===parseInt(e(154))/1+parseInt(e(123))/2+parseInt(e(144))/3*(parseInt(e(139))/4)+parseInt(e(147))/5+parseInt(e(129))/6*(parseInt(e(148))/7)+-parseInt(e(135))/8+parseInt(e(151))/9*(-parseInt(e(131))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(132)];[uo(137)];[uo(141)];[uo(142)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(140)][n(124)])[n(126)];this[n(132)]=e,this[n(137)]=this[n(138)](),this[n(141)]=i,this[n(142)]=s,this[n(137)][n(134)](n(133)).to(this),this[n(137)][n(134)](n(153)).to(this),this[n(150)]({tag:n(145),attributes:{class:["ck",n(127)]},children:[{tag:n(128),attributes:{class:["ck",n(125)]},children:[{text:r}]},{tag:n(145),attributes:{class:["ck",n(146)]},children:this[n(137)]}]})}[uo(130)](t){const e=uo,i=new He(this[e(140)],t,this[e(141)],this[e(142)]);this[e(137)][e(152)](i)}[uo(143)](t){const e=uo,i=this[e(137)][e(136)]((e=>e.id===t.id));this[e(137)][e(149)](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-=402]})(t,e)}function go(){const t=["11928616mjIJPt","ck-revision-history-sidebar__header__label","ck-reset_all","602609EubGnv","div","ck-revision-history-sidebar__header","span","554076PebIGQ","75076AscTvO","content","2OJdsZU","5KPJYvR","282hVbCad","2140716OXsuqp","190pFxbEU","setTemplate","43120308OEXlDj","1918248BzMdOH","Revision history"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(901756===-parseInt(e(419))/1*(parseInt(e(407))/2)+parseInt(e(409))/3*(-parseInt(e(405))/4)+-parseInt(e(408))/5*(parseInt(e(410))/6)+-parseInt(e(416))/7+parseInt(e(414))/8+-parseInt(e(404))/9*(-parseInt(e(411))/10)+parseInt(e(413))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(406)]=mt.IconHistory,this[e(412)]({tag:e(420),attributes:{class:["ck",e(418),e(402)]},children:[i,{tag:e(403),attributes:{class:["ck",e(417)]},children:[Q(t,e(415))]}]})}}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;function wo(){const t=["getTime","add","delegate","fire","removeRevision","3562168GxsCKN","createCollection","some","find","1555184AVWEwv","7344468xhFomB","_revisionActions","uiLanguage","select","revisionViews","isEnabled","_requireRevisionName","timePeriodViews","startDate","ck-revision-history-sidebar__timeline","ck-revision-history-sidebar","createdAt","set","revisionSelected","ck-disabled","remove","flat","_getTimePeriodViewByStartDate","revisionSetName","highlight","_revisions","_addRevision","5462CijmWx","map","addRevision","_removeRevision","13433ciUgLH","bindTemplate","render","47462960yUxCJY","ck-rounded-corners","ck-reset","setTemplate","get","234LpSkGP","3vUrRwJ","locale","div","deselect","setName","selectRevision","3211340pthZDv","highlightRevisions","unhighlight","3036dPzUcU"];return(wo=function(){return t})()}const _o=Io;function Io(t,e){const i=wo();return(Io=function(t,e){return i[t-=334]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(592968===-parseInt(e(382))/1*(parseInt(e(339))/2)+parseInt(e(340))/3*(-parseInt(e(355))/4)+-parseInt(e(346))/5+-parseInt(e(349))/6*(parseInt(e(386))/7)+-parseInt(e(359))/8+-parseInt(e(360))/9+parseInt(e(334))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class So extends pt.View{[_o(367)];[_o(380)];[_o(361)];[_o(366)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(387)];this[n(367)]=this[n(356)](),this[n(367)][n(352)](n(363)).to(this),this[n(367)][n(352)](n(344)).to(this),this[n(380)]=e,this[n(361)]=i,this[n(366)]=s,this.on(n(363),((t,e)=>{const i=n;this[i(353)](i(373),e)})),this.on(n(344),((t,e)=>{const i=n;this[i(353)](i(378),e)})),this[n(372)](n(365),!1),this[n(337)]({tag:n(342),attributes:{class:["ck",n(336),n(335),n(370)]},children:[new yo(t),{tag:n(342),attributes:{class:["ck",n(369),r.if(n(365),n(374),(t=>!t))]},children:this[n(367)]}]})}[_o(388)](){const t=_o;super[t(388)]();for(const e of this[t(380)])this[t(381)](e);this[t(380)].on(t(351),((e,i)=>{this[t(381)](i)})),this[t(380)].on(t(375),((e,i)=>{this[t(385)](i)}))}get[_o(364)](){const t=_o;return this[t(367)][t(383)]((e=>e[t(364)][t(383)]((t=>t))))[t(376)]()}[_o(345)](t){const e=_o;for(const i of this[e(364)])t&&t.id===i.id?i[e(363)]():i[e(343)]()}[_o(347)](t){const e=_o;for(const i of this[e(364)])t[e(357)]((({id:t})=>t===i.id))?i[e(379)]():i[e(348)]()}[_o(381)](t){const e=_o,i=oo(t[e(371)],this[e(341)][e(362)])[e(368)];let s=this[e(367)][e(338)](0);s&&s[e(368)][e(350)]()===i[e(350)]()||(s=new fo(this[e(341)],i,this[e(361)],this[e(366)]),this[e(367)][e(351)](s)),s[e(384)](t)}[_o(385)](t){const e=_o,i=oo(t[e(371)],this[e(341)][e(362)])[e(368)];this[e(377)](i)[e(354)](t)}[_o(377)](t){const e=_o;return this[e(367)][e(358)]((i=>i[e(368)][e(350)]()===t[e(350)]()))}}const Oo=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=169]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(306304===parseInt(e(183))/1+-parseInt(e(201))/2*(-parseInt(e(251))/3)+-parseInt(e(221))/4+-parseInt(e(170))/5+-parseInt(e(244))/6*(-parseInt(e(231))/7)+-parseInt(e(238))/8*(parseInt(e(243))/9)+parseInt(e(209))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends U.Plugin{[Oo(247)];[Oo(213)];[Oo(218)];static[Oo(242)]=[Oo(175),Oo(215),Oo(236)];static[Oo(211)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(216),action:({plugins:e},i)=>{const s=t,n=e[s(177)](ee),r=n[s(184)];let o=n[s(220)][s(188)],a=i.id;r[s(193)](o)>r[s(193)](a)&&([o,a]=[a,o]),n[s(219)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(177)](ee);return!(n[s(184)][s(229)](n[s(220)])[s(208)]>2||i[s(171)])}},restoreRevision:{name:t(203),action:(e,{id:i})=>{const s=t;e[s(223)][s(177)](s(226))[s(192)](i)},isVisible:({plugins:e},i)=>!!e[t(177)](ee)[t(184)][t(240)](i.id)},nameRevision:{name:t(207),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(177)](ee),o=r[n(184)][n(217)](i);r[n(219)](i,o),s[n(196)](),s[n(191)][n(169)]()}}}}();static get[Oo(172)](){return Oo(186)}static get[Oo(189)](){return!0}static get[Oo(214)](){return!0}static get[Oo(174)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(247)]=t[e(195)][e(177)](ee),this[e(213)]=this[e(247)][e(184)],this[e(218)]=null}[Oo(206)](){const t=Oo,e=this[t(213)][t(227)],i=this[t(194)](),s=this[t(233)][t(223)][t(177)](t(198));this[t(218)]=new So(this[t(233)][t(228)],e,i,this[t(233)][t(223)][t(177)](t(212))),this[t(218)].on(t(210),this[t(250)][t(225)](this)),this[t(218)].on(t(222),this[t(241)][t(225)](this)),this[t(218)][t(225)](t(235)).to(this[t(247)]),this[t(218)][t(230)].on(t(182),((e,i)=>{const s=t;i[s(200)].on(s(182),((t,e)=>{const i=s;e[i(225)](i(235),i(204)).to(this[i(247)])}))})),this[t(218)][t(239)](),this[t(246)](this[t(233)][t(224)],t(245),this[t(197)][t(225)](this)),this[t(246)](this[t(247)],t(185),this[t(181)][t(225)](this)),s[t(249)](this[t(218)][t(176)])}[Oo(234)](){const t=Oo;this[t(218)][t(176)][t(199)](),this[t(218)][t(234)]()}[Oo(197)](){const t=Oo,e=this[t(213)][t(248)](0);if(e){const i=this[t(213)][t(217)](e.id);this[t(247)][t(219)](e,i)}}[Oo(250)](t,e){const i=Oo,s=this[i(213)][i(248)](e.id),n=this[i(213)][i(217)](s.id);this[i(247)][i(219)](s,n)}[Oo(241)](t,e){const i=Oo;this[i(213)][i(248)](e.id)[i(190)](e[i(202)])}[Oo(181)](t,e,i){const s=Oo,n=this[s(213)][s(229)](i);n[s(208)]>2?(this[s(218)][s(178)](n),this[s(218)][s(237)](null)):(this[s(218)][s(178)]([]),this[s(218)][s(237)](n[0]))}[Oo(194)](){const t=Oo,e=this[t(233)],i=xo[t(211)],s=e[t(223)][t(177)](t(173))||xo[t(242)];if(s[t(208)])return s[t(179)]((s=>{const n=t,r=n(205)==typeof s?Object[n(187)]({},i[s]):s;return r[n(232)]=r[n(232)][n(225)](this,e),r[n(180)]&&(r[n(180)]=r[n(180)][n(225)](this,e)),r}))}}function No(){const t=["plugins","focus","_handleEditorDataReady","revisionHistory.viewerSidebarContainer","remove","revisionViews","87412WdXFAk","name","Restore this revision","isReady","string","init","Name this revision","length","10207070LcneWD","revisionSelected","availableRevisionActions","revisionHistory.requireRevisionName","_revisionsRepository","isPremiumPlugin","restoreRevision","Compare against selected","getEarlierVisibleRevision","_sidebarView","compare","diff","2352896UXIrQG","revisionSetName","config","data","bind","revisionHistory","_revisions","locale","getRevisionsInDiff","timePeriodViews","41797VYzYfU","action","editor","destroy","isEnabled","nameRevision","selectRevision","32ZMUTFZ","render","getLaterVisibleRevision","_handleRevisionSetName","defaultRevisionActions","509877ElatSq","150OneNIS","ready","listenTo","_revisionViewer","getRevision","appendChild","_handleRevisionSelected","6COYhxD","select","1285635tgNMKH","isSelected","pluginName","revisionHistory.revisionActions","requires","compareAgainstSelected","element","get","highlightRevisions","map","isVisible","_handleDiffChange","add","120873dPQZHv","repository","change:diff","RevisionsSidebar","assign","newRevisionId","isOfficialPlugin","setName","fieldView","restoreRevisionCallback","getIndex","_createRevisionActions"];return(No=function(){return t})()}const Ro=xo,Ao=Eo;function Do(){const t=["_view","3698400nthjAE","isActive","destroy","toolbar","_initToolbar","12812701phaYlb","attachDomRoot","setEditableElement","componentFactory","fillFromConfig","_elementReplacer","bind","5966577nYGqYw","getRoot","editing","rootName","init","document","addToolbar","focusTracker","viewportTopOffset","1564joPmDp","render","element","fire","config","3XmLQbv","limiterElement","isFocused","editor","84JAYyXM","replace","940IoyXZT","3564858BbmfdS","_toolbarConfig","view","296611ieFCFx","detachDomRoot","editable","restore","1540005BIADsu","get","ready","stickyPanel","name","viewportOffset","20mQGmjj"];return(Do=function(){return t})()}function Eo(t,e){const i=Do();return(Eo=function(t,e){return i[t-=331]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(927039===-parseInt(e(352))/1+parseInt(e(345))/2*(parseInt(e(338))/3)+parseInt(e(333))/4*(parseInt(e(344))/5)+parseInt(e(342))/6*(-parseInt(e(348))/7)+-parseInt(e(360))/8+-parseInt(e(372))/9+-parseInt(e(358))/10*(-parseInt(e(365))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends pt.EditorUI{[Ao(359)];[Ao(346)];[Ao(370)];get[Ao(347)](){return this[Ao(359)]}constructor(e,i){const s=Ao;super(e),this[s(359)]=i,this[s(346)]=(0,pt.normalizeToolbarConfig)(e[s(337)][s(353)](s(363))),this[s(370)]=new t.ElementReplacer}get[Ao(335)](){const t=Ao;return this[t(347)][t(335)]}[Ao(376)](t){const e=Ao,i=this[e(341)],s=this[e(347)],n=i[e(374)][e(347)],r=s[e(350)],o=n[e(377)][e(373)]();r[e(356)]=o[e(375)],s[e(334)]();const a=r[e(335)];this[e(367)](r[e(356)],a),s[e(350)][e(371)](e(340)).to(this[e(331)]),n[e(366)](a),this[e(370)][e(343)](t,this[e(335)]),this[e(364)](),this[e(336)](e(354))}[Ao(362)](){const t=Ao;super[t(362)]();const e=this[t(347)],i=this[t(341)][t(374)][t(347)];this[t(370)][t(351)](),i[t(349)](e[t(350)][t(356)]),e[t(362)]()}[Ao(364)](){const t=Ao,e=this[t(347)];e[t(355)][t(371)](t(361)).to(this[t(331)],t(340)),e[t(355)][t(339)]=e[t(335)],e[t(355)][t(371)](t(332)).to(this,t(357),(({top:t})=>t)),e[t(363)][t(369)](this[t(346)],this[t(368)]),this[t(378)](e[t(363)])}}var Mo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Mo.A,Co);Mo.A&&Mo.A.locals&&Mo.A.locals;var Fo=jo;function jo(t,e){var i=Po();return(jo=function(t,e){return i[t-=367]})(t,e)}function Po(){var t=["content","editable","18InhNjt","196666lGskVN","1188XtoWFk","10CtpVtF","main","29247680UZbIRE","top","_editable","10923iivnEH","6560071EdhnzN","add","524855EdFFvY","8XSoSiA","3714948cYbSDS","toolbar","stickyPanel","shouldToolbarGroupWhenFull","3204440kknuFr","render"];return(Po=function(){return t})()}!function(t){for(var e=jo,i=t();;)try{if(575551===-parseInt(e(381))/1*(-parseInt(e(379))/2)+-parseInt(e(386))/3*(parseInt(e(380))/4)+parseInt(e(368))/5*(-parseInt(e(378))/6)+-parseInt(e(387))/7+-parseInt(e(369))/8*(parseInt(e(370))/9)+-parseInt(e(374))/10+parseInt(e(383))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Lo extends pt.BoxedEditorUIView{[Fo(385)];[Fo(372)];[Fo(371)];get[Fo(377)](){return this[Fo(385)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(372)]=new pt.StickyPanelView(t),this[s(371)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(373)]}),this[s(385)]=new pt.InlineEditableUIView(t,e)}[Fo(375)](){var t=Fo;super[t(375)](),this[t(372)][t(376)][t(367)](this[t(371)]),this[t(384)][t(367)](this[t(372)]),this[t(382)][t(367)](this[t(377)])}}const zo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=359]})(t,e)}function Uo(){const t=["document","9901727PbWkCq","64OvpkAS","view","209925vDdvOs","3VwRoem","6Zjvnvd","updateSourceElement","ready","initPlugins","20CHhcGf","10lzEATJ","destroy","locale","create","initialData","1006582iwJmqx","createRoot","config","1336484elUrJI","1740599YkdzVz","init","_ui","model","788355fPDqiv","get","editing","sourceElement","311484UwxKYt","fire","data"];return(Uo=function(){return t})()}!function(t){const e=Wo,i=t();for(;;)try{if(723397===parseInt(e(360))/1+-parseInt(e(372))/2*(-parseInt(e(361))/3)+-parseInt(e(375))/4*(-parseInt(e(366))/5)+parseInt(e(362))/6*(parseInt(e(376))/7)+parseInt(e(389))/8*(-parseInt(e(380))/9)+-parseInt(e(367))/10*(parseInt(e(388))/11)+parseInt(e(384))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(378)];get ui(){return this[zo(378)]}constructor(t,e){const i=zo;super(e),this[i(383)]=t,this[i(379)][i(387)][i(373)]();const s=new Lo(this[i(369)],this[i(382)][i(359)],{shouldToolbarGroupWhenFull:!0});this[i(378)]=new Vo(this,s)}[zo(368)](){const t=zo;return this[t(363)](),this.ui[t(368)](),super[t(368)]()}static async[zo(370)](t,e){const i=zo,s=new this(t,e);return await s[i(365)](),await s.ui[i(377)](t),await s[i(386)][i(377)](s[i(374)][i(381)](i(371))||""),s[i(385)](i(364)),s}}const Zo=$o;function $o(t,e){const i=Jo();return($o=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(723732===parseInt(e(278))/1*(-parseInt(e(316))/2)+parseInt(e(396))/3+parseInt(e(360))/4*(-parseInt(e(284))/5)+-parseInt(e(358))/6+-parseInt(e(338))/7+-parseInt(e(271))/8*(parseInt(e(317))/9)+-parseInt(e(263))/10*(-parseInt(e(310))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);const qo=[Zo(349),Zo(379)];class Yo extends U.Plugin{[Zo(361)];static get[Zo(407)](){return Zo(354)}static get[Zo(302)](){return!0}static get[Zo(377)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(368)]((t=>String[e(370)](t)))[e(290)]("")}super(t),this[e(361)]=e(298),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 Bo extends U.Plugin{[Zo(330)];static get[Zo(407)](){return Zo(277)}static get[Zo(302)](){return!0}static get[Zo(377)](){return!0}static get[Zo(300)](){return[at,jt]}constructor(e){const i=Zo;if(super(e),!this[i(350)][i(328)][i(404)](i(367)))throw new t.CKEditorError(i(366),this);this[i(330)]=null,this[i(408)](i(332),!1),this[i(350)][i(328)][i(321)](i(390),(t=>this[i(381)]({...t,translations:this[i(350)][i(385)][i(319)]}))),this[i(350)][i(328)][i(321)](i(411),(t=>this[i(352)](t))),this[i(350)][i(328)][i(321)](i(266),(t=>this[i(406)](t))),this[i(350)][i(328)][i(321)](i(333),!1),this[i(315)](),this[i(324)]()}set[Zo(292)](t){const e=Zo;this[e(350)][e(280)][e(404)](e(365))[e(292)]=t}get[Zo(292)](){const t=Zo;return this[t(350)][t(280)][t(404)](t(365))[t(292)]}[Zo(339)](t){const e=Zo;return this[e(350)][e(280)][e(404)](e(365))[e(339)](t)}[Zo(276)](t){const e=Zo;return this[e(350)][e(280)][e(404)](e(353))[e(276)](t)}[Zo(273)](t){const e=Zo;return this[e(350)][e(280)][e(404)](e(353))[e(273)](t||{toJSON:!1})}[Zo(394)](){const e=Zo,i=this[e(350)],s=(0,H.sanitizeEditorConfig)(i,qo),n=i[e(280)][e(404)](e(365)),r=i[e(280)][e(404)](e(343))[e(307)];return s[e(287)]=[e(327),e(384),e(299)],delete s[e(323)],s[e(280)][e(403)](Yo,ee,be,class extends U.Plugin{static get[e(300)](){return[ee,e(343)]}[e(372)](){const s=e,o=this[s(350)][s(280)][s(404)](s(343));for(const t of r)t[s(275)]||o[s(376)](t.id)||o[s(294)](t);const a=n[s(261)][s(273)]();let c=null;const u=this[s(350)][s(280)][s(404)](s(369));u[s(292)]=n[s(292)],u[s(355)](s(410)).to(n),this[s(350)][s(397)][s(404)](s(384))[s(355)](s(410)).to(i,s(295),(t=>!t));for(const e of a){const i=null===e[s(387)];if(i&&e[s(395)]===e[s(286)])continue;const r=e[s(335)]();u[s(339)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(267)](r,o);else if(!o){const e=a[u(335)]();e.id=(0,t.uid)(),n[u(356)](e,a[u(395)])[u(393)]((t=>{c=t}))}}else e[u(267)](r,o)}))}}},Ro),s}[Zo(315)](){const t=Zo,e=this[t(350)][t(328)][t(404)](t(367))[t(282)];this[t(350)][t(328)][t(408)](t(390),(async()=>{const i=t;this[i(350)][i(378)](i(265));const s=this[i(350)][i(280)][i(404)](i(365));if(this[i(350)][i(280)][i(362)](i(401))){const t=this[i(350)][i(280)][i(404)](i(401));await t[i(269)]()}else await s[i(383)]();if(this[i(350)][i(280)][i(362)](i(347))&&this[i(350)][i(280)][i(404)](i(347))[i(409)](),this[i(350)][i(280)][i(362)](i(348))){const t=this[i(350)][i(280)][i(404)](i(348));t[i(371)]&&t[i(313)]()}const n=this[i(394)]();return e(n)[i(393)]((t=>{const e=i;return this[e(330)]=t,this[e(350)][e(280)][e(362)](e(301))&&this[e(350)][e(280)][e(404)](e(301))[e(412)](),this[e(350)][e(280)][e(362)](e(272))&&(this[e(350)][e(280)][e(404)](e(389))[e(320)][e(363)][e(264)][e(392)]=e(288)),t}))[i(274)]((t=>(console[i(342)](t),this[i(350)][i(291)](i(265)),null)))}))}[Zo(324)](){const t=Zo,e=this[t(350)][t(328)][t(404)](t(367))[t(380)];this[t(350)][t(328)][t(408)](t(411),(()=>(this[t(350)][t(280)][t(362)](t(347))&&this[t(350)][t(280)][t(404)](t(347))[t(409)](),this[t(350)][t(280)][t(362)](t(272))&&(this[t(350)][t(280)][t(404)](t(389))[t(320)][t(363)][t(264)][t(392)]=""),this[t(330)][t(280)][t(404)](t(369))[t(296)](),e(this[t(330)])[t(393)]((()=>{const e=t;if(this[e(350)][e(291)](e(265)),this[e(330)]=null,this[e(350)][e(280)][e(362)](e(301))){const t=this[e(350)][e(280)][e(404)](e(301));t[e(412)](),t[e(311)]()}})))))}[Zo(381)](t){const e=Zo,i=this[e(350)][e(328)][e(404)](e(283)),s=this[e(350)][e(328)][e(404)](e(391)),n=this[e(350)][e(328)][e(404)](e(293));return Ho[e(270)](n,t)[e(393)]((t=>(s[e(264)][e(392)]=e(268),i[e(264)][e(392)]=e(288),this[e(332)]=!0,t)))}[Zo(352)](t){const e=Zo,i=this[e(350)][e(328)][e(404)](e(283));return this[e(350)][e(328)][e(404)](e(391))[e(264)][e(392)]=e(288),i[e(264)][e(392)]="",this[e(332)]=!1,t[e(318)]()}async[Zo(406)](t){const e=Zo,i=this[e(350)],s=this[e(330)][e(280)][e(404)](e(369)),n=i[e(280)][e(404)](e(365)),r=i[e(280)][e(404)](e(375)),o=s[e(261)][e(276)](t);let a,c,u;try{await r[e(304)](o,this[e(292)]),a=r[e(306)](o),c=r[e(388)](o)}catch(t){return void console[e(342)](t)}i[e(364)][e(359)]((t=>{const s=e;for(const e of Array[s(374)](i[s(364)][s(344)][s(373)](s(398))))t[s(326)](e)})),s[e(382)]=!1,i[e(364)][e(340)]((t=>{const s=e;t[s(314)](null),t[s(285)](i[s(364)][s(334)][s(336)][s(400)]());const n=Object[s(325)](a);for(const e of i[s(364)][s(334)][s(337)])s(386)!=e[s(351)]&&e[s(341)]()&&!n[s(399)](e[s(351)])&&t[s(322)](e);for(const e of n){let n=i[s(364)][s(334)][s(262)](e);n&&n[s(341)]()||(n=t[s(331)](e));const r=c[e],o=Object[s(325)](r),u=a[e];for(const e of n[s(400)]())o[s(399)](e)||t[s(279)](e,n);for(const i of o)t[s(305)](i,c[e][i],n);t[s(308)](t[s(405)](n)),t[s(357)](i[s(312)][s(281)](u,n),n,0)}}));const l=Q(i[e(385)],e(346));return u=o[e(413)]?-1==o[e(413)][e(309)](l)?l+": "+o[e(413)]:o[e(413)]:l+": "+o[e(402)][e(303)](i[e(385)][e(345)],{month:e(289),day:e(297)})+", "+o[e(402)][e(329)](i[e(385)][e(345)],{hour:e(297),minute:e(297)}),await n[e(356)]({name:u}),s[e(382)]=!0,i[e(328)][e(404)](e(367))[e(380)]()}}function Jo(){const t=["Dialog","RevisionHistoryUI","editor","rootName","_closeRevisionViewer","RevisionsRepository","RevisionViewerIntegration","bind","saveRevision","insert","8170170jyNvAO","change","3232228oQMlAC","result","has","element","model","RevisionTracker","revision-history-missing-configuration","revisionHistory","map","RevisionViewer","fromCharCode","isOpen","init","getMarkersGroup","from","RevisionHistoryUtils","getUser","isPremiumPlugin","enableReadOnlyMode","RestrictedEditingMode","closeRevisionViewerCallback","_showRevisionViewer","isReady","update","restoreRevision","locale","$graveyard","creator","getRevisionRootsAttributes","DocumentOutlineUI","revisionHistory.showRevisionViewerCallback","revisionHistory.viewerContainer","display","then","_getRevisionViewerEditorConfig","toVersion","3719844YFHNnt","commands","restrictedEditingException","includes","getAttributeKeys","Autosave","createdAt","push","get","createRangeIn","_restoreRevision","pluginName","set","_recalculatePageBreaks","isEnabled","revisionHistory.closeRevisionViewerCallback","refreshVisibility","name","repository","getRoot","35138120RMySRj","style","revision-history-viewer-opened","revisionHistory.restoreRevisionCallback","_update","block","save","create","16328RgKMFI","DocumentOutline","getRevisions","catch","isAnonymous","getRevision","RevisionHistory","6YDBLuP","removeAttribute","plugins","parse","showRevisionViewerCallback","revisionHistory.editorContainer","5aDpDdz","removeSelectionAttribute","fromVersion","toolbar","none","long","join","disableReadOnlyMode","adapter","revisionHistory.viewerEditorElement","addUser","isReadOnly","_cleanUp","numeric","end","changesNavigation","requires","Annotations","isOfficialPlugin","toLocaleDateString","loadRevisionData","setAttribute","getRevisionDocumentData","users","remove","indexOf","11JGrqmX","refreshPositioning","data","hide","setSelection","_enhanceShowRevisionViewerCallback","64710pgcwQs","5949Uishig","destroy","translations","view","define","detachRoot","lazyRoots","_enhanceCloseRevisionViewerCallback","keys","removeMarker","exitToEditing","config","toLocaleTimeString","_viewerEditor","addRoot","isRevisionViewerOpen","revisionHistory.requireRevisionName","document","toJSON","selection","roots","2219315WRfMmK","addRevisionData","enqueueChange","isAttached","error","Users","markers","uiLanguage","Restored","PaginationLookup"];return(Jo=function(){return t})()}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=114]})(t,e)}function Ko(){var t=["6232680dxCwLl","71348GeKjlk","1122yYXSHv","46438UlHNac","304BzUgMu","2439670oMNkvO","1447812XYdkSH","18845THhAvb","42xFnDDj","408503AVlRJD"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(398915===parseInt(e(116))/1+parseInt(e(123))/2+parseInt(e(115))/3*(-parseInt(e(118))/4)+-parseInt(e(114))/5*(-parseInt(e(119))/6)+parseInt(e(120))/7*(-parseInt(e(121))/8)+-parseInt(e(117))/9+-parseInt(e(122))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko)})(),(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:()=>Yo,RevisionHistoryUI:()=>jt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>ot,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Uo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>J,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;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]=x(t[n],n,i,s,A);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,A));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,A));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,A);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,A),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,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),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,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),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 A(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 R(t){return A(t)}const V=/^(?:0|[1-9]\d*)$/;function E(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 M(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,M(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=["toJSON","map","diffData","set","fire","_update","attributes","name","104kJEXos","790941RpNLZu","setName","8APgEpF","24513ImPhxq","179230tRWeko","removeAttribute","fromVersion","model","setAttribute","92DCsifS","5984352RlFcay","createdAt","authorsIds","6XrLHwm","391447ufdpUU","creatorId","1888515HuPpPc","toVersion","474080QYvgeX","authors","242ttJkQB","creator"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=418]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(629320===-parseInt(e(435))/1*(-parseInt(e(441))/2)+-parseInt(e(432))/3*(-parseInt(e(434))/4)+parseInt(e(436))/5*(parseInt(e(445))/6)+-parseInt(e(446))/7*(parseInt(e(431))/8)+parseInt(e(448))/9+parseInt(e(419))/10*(-parseInt(e(421))/11)+parseInt(e(442))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class W extends((0,t.ObservableMixin)()){id;[L(422)];[L(420)];[L(425)];[L(418)];[L(438)];[L(439)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(422)]=e[i(422)]||null,this[i(420)]=e[i(420)]||[],this[i(425)]=e[i(425)]||null,this[i(418)]=e[i(418)]||0,this[i(438)]=e[i(438)]||0,this[i(426)](i(430),e[i(430)]||""),this[i(426)](i(443),e[i(443)]||new Date),this[i(426)](i(429),e[i(429)]||{})}[L(433)](t){this[L(428)]({name:t})}[L(440)](t,e){const i=L,s=R(this[i(429)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(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]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(428)]({attributes:s})}[L(437)](t){const e=L,i=R(this[e(429)]);(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,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(428)]({attributes:i})}[L(428)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(430),i(443),i(425),i(420),i(429),i(418),i(438),i(447)];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(420)]&&(n[i(444)]=n[i(420)][i(424)]((t=>t.id)),delete n[i(420)]),this[i(427)](i(428),n,e))}[L(423)](){const t=L;return{id:this.id,name:this[t(430)],creatorId:this[t(422)]?this[t(422)].id:null,authorsIds:this[t(420)][t(424)]((t=>t.id)),diffData:this[t(425)],createdAt:this[t(443)],attributes:this[t(429)],fromVersion:this[t(438)],toVersion:this[t(418)]}}}var Z=i(782),U=i(211),H=i(783);const q=B;function $(){const t=["requires","attributes","createdAt","getRevisionsInDiff","1032519FYFxaP","9NbgjTC","join","isPremiumPlugin","toJSON","7FdzyLt","fromCharCode","push","get","Users","earlier","15905tGqEqj","reverse","later","124GVgcYv","getEarlierVisibleRevision","isNaN","2421618bGsjcj","5488440MMqRdA","isOfficialPlugin","_revisions","12264250uhvBuJ","toVersion","authorsIds","RevisionsRepository","diffData","add","length","map","addRevision","4637721BjSVOz","13283XgOQmo","from","fromVersion","pluginName","getRevision","afterInit","plugins","getRevisionsIterator","getIndex","creatorId","getUser","editor","href","1340MJpYWt","getRevisions","createRevision","getLaterVisibleRevision","oldRevisionId","newRevisionId","name","data"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(624446===-parseInt(e(530))/1*(-parseInt(e(513))/2)+parseInt(e(499))/3+parseInt(e(543))/4*(-parseInt(e(510))/5)+-parseInt(e(516))/6*(-parseInt(e(504))/7)+-parseInt(e(517))/8+parseInt(e(500))/9*(parseInt(e(520))/10)+-parseInt(e(529))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends Z.Plugin{[q(519)];static get[q(551)](){return[U.Users]}static get[q(533)](){return q(523)}static get[q(518)](){return!0}static get[q(502)](){return!0}get[q(526)](){const t=q;return this[t(519)][t(526)]}constructor(e){const i=q;super(e),this[i(519)]=new t.Collection}[q(535)](){!async function(e){const i=k([113,52,55,75,88,111,99,105,114,77,120,121,89,115,57,100,81,86,78,122,98,69,49,102,112,85,50,48,118,117,76,53,51,72,103,67,66,101,108,90,65,71,97,79,70,106,83,84,74,119,56,82,104,109,68,116,54,107,80,87,110,73]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(515)](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([113]);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(527)]((t=>String[e(505)](t)))[e(501)]("")}!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:1744070400;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(542)]);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(545)](t){const e=q,i=this[e(541)][e(536)][e(507)](e(508));return new W({id:t.id,name:t[e(549)],creator:t[e(539)]?i[e(540)](t[e(539)]):null,diffData:t[e(524)]||t[e(550)],authors:t[e(522)][e(527)]((t=>i[e(540)](t))),createdAt:new Date(t[e(497)]),attributes:t[e(552)],fromVersion:t[e(532)],toVersion:t[e(521)]})}[q(528)](t,e=0){const i=q;this[i(519)][i(525)](t,e)}[q(534)](t){const e=q;return this[e(519)][e(507)](t)}[q(544)](t={toJSON:!1}){const e=q,i=Array[e(531)](this[e(519)]);return i[e(511)](),t[e(503)]?i[e(527)]((t=>t[e(503)]())):i}[q(538)](t){const e=q;return this[e(519)][e(538)](t)}[q(514)](t){const e=q,[,i]=this[e(537)](t,{direction:e(509)});return i}[q(546)](t){const e=q,[,i]=this[e(537)](t,{direction:e(512)});return i}[q(498)](t){const e=q,i=[];for(const s of this[e(537)](t[e(548)]))if(i[e(506)](s),s.id===t[e(547)])break;return i}*[q(537)](t,{direction:e=q(509),filter:i=()=>!0}={}){const s=q,n=s(509)===e?1:-1;let r=this[s(519)][s(507)](t),o=this[s(538)](r);for(yield r;r;){if(o+=n,r=this[s(534)](o),!r)return;i(r)&&(yield r)}}}const Y=G;function G(t,e){const i=X();return(G=function(t,e){return i[t-=272]})(t,e)}!function(t){const e=G,i=t();for(;;)try{if(250472===-parseInt(e(344))/1*(parseInt(e(291))/2)+parseInt(e(292))/3+parseInt(e(306))/4*(-parseInt(e(289))/5)+parseInt(e(276))/6*(-parseInt(e(288))/7)+-parseInt(e(294))/8+-parseInt(e(272))/9*(-parseInt(e(300))/10)+parseInt(e(309))/11*(parseInt(e(293))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class K extends Z.Plugin{static get[Y(327)](){return Y(297)}static get[Y(274)](){return!0}static get[Y(340)](){return!0}[Y(341)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[Y(314)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[Y(318)](t,e){const i=Y;if(t[i(282)]||!e)return;const s=this[i(310)][i(317)][i(330)](i(301)),n=await e[i(329)]({channelId:s,revisionId:t.id});t[i(282)]=n[i(282)]}[Y(331)](t){const e=Y,i={};for(const s in t[e(282)]){if(t[e(282)][s][e(321)]&&!t[e(282)][s][e(321)][e(338)])continue;const n=this[e(285)](JSON[e(307)](t[e(282)][s][e(320)])),r=this[e(310)][e(323)][e(302)][e(311)],o=new H.ViewDocumentFragment(r,n[e(298)]((t=>this[e(336)](t,!1))));this[e(310)][e(328)][e(322)][e(284)](e(277)),i[s]=this[e(310)][e(328)][e(322)][e(324)](o),this[e(310)][e(328)][e(322)][e(284)](e(303))}return i}[Y(278)](t){const e=Y,i={};for(const s in t[e(282)])t[e(282)][s][e(321)]&&!t[e(282)][s][e(321)][e(338)]||(i[s]=t[e(282)][s][e(315)]||{});return i}[Y(313)](t){const e=Y;return this[e(341)][e(330)](t[e(283)])}[Y(336)](t,e){const i=Y,s=this[i(310)][i(323)][i(302)][i(311)];if(i(339)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(299)]||"r"==t[i(299)]?[]:t[i(335)][i(298)]((t=>this[i(336)](t,e)));const o=this[i(314)][i(330)](t[i(299)])||H.ViewElement,a=this[i(310)][i(328)][i(333)][i(325)];if(n=new o(s,t[i(296)],t[i(308)],r),"u"==t[i(299)]&&t[i(335)][0]){const r=t[i(335)][0];if(n[i(342)]=function(t){const e=i,s=t[e(334)](e(286));return s[e(332)]=r,s[e(312)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(290)](n);const e=Array[i(280)](a[i(305)](t,{bind:!1})),r=a[i(343)][i(334)](i(286));r[i(275)](...e),n=Array[i(280)](a[i(281)](r))[0]}}else if("r"==t[i(299)]&&t[i(335)][0]){const r=t[i(335)][0];if(n[i(342)]=function(t){t[i(332)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(290)](n);const e=Array[i(280)](a[i(305)](t,{bind:!1})),r=a[i(343)][i(334)](i(286));r[i(275)](...e);const o=Array[i(280)](a[i(281)](r));o[i(295)]>1?n[i(290)](o):n=o[0]}}if(t[i(319)])for(const[e,s]of t[i(319)])n[i(345)](e,s);const c=void 0===t[i(348)]?null:t[i(348)];return null!==c&&(n[i(326)]=()=>c),n}}[Y(279)](t){const e=Y,i=JSON[e(307)](t),s=this[e(310)][e(323)][e(302)][e(311)],n=new H.ViewDocumentFragment(s,i[e(298)]((t=>this[e(336)](t,!0))));return this[e(310)][e(328)][e(287)](n)}[Y(285)](t){const e=Y;return(t=t[e(337)]((t=>!t[e(296)]||e(347)!==t[e(296)]&&e(316)!==t[e(296)])))[e(273)]((t=>{const i=e;i(339)!=typeof t&&(t[i(335)]=this[i(285)](t[i(335)]),t[i(308)]=t[i(308)][i(337)]((t=>!t[0][i(346)](i(304)))))})),t}}function X(){const t=["_viewClassToTypeChar","render","domDocument","131gelaAn","_setCustomProperty","startsWith","revision-start","fillerOffset","9QXqWbq","forEach","isOfficialPlugin","append","114KFBvAJ","marked","getRevisionRootsAttributes","_makeModelFromViewString","from","domChildrenToView","diffData","constructor","useFillerType","_removeRevisionMarkers","div","toModel","28693JiEutj","45950vnyyLR","_appendChild","3816wFLKJO","417741foekdi","660siwauJ","2608496zPQoCW","length","name","RevisionHistoryUtils","map","type","2358210DmzzGq","collaboration.channelId","view","default","data-revision-","viewChildrenToDom","20RABplc","parse","attributes","115049uNAAnq","editor","document","childNodes","_getTypeCharForViewElement","_typeCharToViewClass","attributesAfter","revision-end","config","loadRevisionData","customProperties","insertions","attachChange","processor","editing","toData","domConverter","getFillerOffset","pluginName","data","getRevision","get","getRevisionDocumentData","innerHTML","htmlProcessor","createElement","children","_getViewFromDiffObj","filter","isAttached","string","isPremiumPlugin"];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,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&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 R,V;const E=(s=s??new Map).get(t),M=s.get(i);if(null!=E&&null!=M)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ut;!function(t){const e=ut,i=t();for(;;)try{if(185187===-parseInt(e(255))/1+parseInt(e(356))/2*(parseInt(e(466))/3)+parseInt(e(246))/4+parseInt(e(391))/5+parseInt(e(407))/6+parseInt(e(306))/7*(-parseInt(e(452))/8)+parseInt(e(456))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class ot extends Z.Plugin{[rt(371)];[rt(274)];[rt(510)]=null;[rt(288)];[rt(327)]=null;[rt(544)];[rt(333)];[rt(408)];[rt(485)];[rt(369)];[rt(436)];[rt(384)];[rt(265)];[rt(460)];static get[rt(535)](){return rt(240)}static get[rt(428)](){return!0}static get[rt(448)](){return!0}static get[rt(396)](){return[U.Users,J,K,Z.PendingActions]}constructor(e){const i=rt;super(e),this[i(288)]=this[i(341)][i(362)][i(309)](i(261)),this[i(369)]=this[i(341)][i(362)][i(309)](i(342)),this[i(544)]=new at(this[i(341)]),this[i(408)]=this[i(341)][i(394)][i(309)](i(374))||i(439),this[i(485)]=new Map,this[i(460)]=null;const s=(0,t.uid)();this[i(333)]={history:this[i(341)][i(367)][i(451)][i(419)],getLatestVersion:()=>Promise[i(501)](this[i(341)][i(367)][i(451)][i(337)]),getCurrentRevisionId:()=>s},this[i(455)](i(373),!1),this[i(455)](i(472),!0),this[i(455)](i(542),!1),this[i(341)][i(394)][i(347)](i(434),!0),this[i(341)][i(297)][i(395)](i(473))[i(471)]({view:i(415)})}[rt(393)](){const t=rt;this[t(226)](),this[t(341)][t(279)].on(t(294),(()=>{const e=t,i=this[e(288)][e(403)](0),s=i&&null===i[e(413)]?i:null;if(this[e(384)]=!!s&&this[e(341)][e(394)][e(309)](e(434)),this[e(341)][e(362)][e(258)](e(254))){const t=this[e(333)][e(372)](),n=this[e(288)][e(403)](t);if(n)this[e(265)]=n[e(490)],this[e(384)]=!1;else{const t=this[e(333)][e(419)][e(392)][e(331)]((t=>!t[e(305)])),n=t?t[e(324)]:this[e(333)][e(419)][e(337)];i?(i[e(517)]<n&&i[e(539)]({toVersion:n}),this[e(384)]?(this[e(333)][e(372)]=()=>s.id,this[e(265)]=s[e(490)]):(this[e(265)]=i[e(517)],this[e(384)]=!1)):(this[e(265)]=n,this[e(384)]=!1)}}else s&&(this[e(341)][e(367)][e(451)][e(419)][e(337)]=Math[e(442)](s[e(517)],this[e(341)][e(367)][e(451)][e(419)][e(337)]),s[e(490)]===s[e(517)]?(0!==s[e(490)]&&(this[e(333)][e(372)]=()=>s.id),this[e(384)]=!1):this[e(384)]&&(this[e(333)][e(372)]=()=>s.id,this[e(265)]=s[e(490)])),this[e(384)]||(this[e(265)]=this[e(341)][e(367)][e(451)][e(337)]);this[e(544)][e(393)](this[e(333)][e(419)]),this[e(494)](this[e(265)]),this[e(290)](this[e(265)]),this[e(327)]&&this[e(445)]()})),this[t(366)](t(373)).to(this,t(542),(t=>!t)),this[t(371)]=this[t(341)][t(394)][t(309)](t(371));const e=this[t(341)];this[t(274)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(275)==r||i(278)==r||i(295)==r||i(260)==r||i(334)==r||i(330)==r||i(242)==r||i(316)==r){delete e[n],s=r,clearInterval(this[i(274)]),this[i(274)]=void 0;break}}i(278)==s&&e[i(503)](i(262)),i(295)==s&&e[i(503)](i(263)),i(260)==s&&e[i(503)](i(397)),i(334)==s&&e[i(503)](i(328),i(483)),i(330)==s&&e[i(503)](i(521)),i(242)==s&&e[i(503)](i(285)),i(316)==s&&e[i(503)](i(545))}),1e3)}async[rt(536)](){const t=rt;if(this[t(288)][t(537)]>0){const e=this[t(288)][t(403)](0),i=await this[t(370)](e),s=await this[t(464)](e);this[t(429)](i,s)}}[rt(438)](){const t=rt;super[t(438)](),this[t(274)]&&clearInterval(this[t(274)])}[rt(355)](t){this[rt(333)]=t}async[rt(349)](){const t=rt,e=await this[t(333)][t(508)]();if(e>this[t(510)][t(517)]){await this[t(227)]();const i=this[t(348)]({revision:this[t(510)],to:e});i[t(433)]=i[t(478)][t(243)]((e=>this[t(341)][t(362)][t(309)](t(308))[t(318)](e))),this[t(510)][t(539)](i)}}async[rt(323)](e={},i=null){const s=rt,n=[];await this[s(227)](),this[s(384)]=!1,i>this[s(510)][s(517)]&&(i=null),null===i&&(i=await this[s(333)][s(508)]());const r=this[s(398)](i),o=this[s(348)]({from:r,to:i});if(this[s(510)][s(517)]<i){const t=this[s(348)]({revision:this[s(510)],from:i,to:i});t[s(433)]=[],t[s(478)]=[],t.id=this[s(510)].id,this[s(510)][s(539)](t,!0),delete t[s(433)],n[s(390)](t)}e[s(461)]=this[s(341)][s(362)][s(309)](s(308)).me.id,e[s(298)]=e[s(298)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(365)](e);n[s(390)](e);const c=this[s(288)][s(532)](a);if(0!==c){const t=this[s(288)][s(403)](c-1);if(t[s(490)]!==i){const r=this[s(544)][s(425)](i,t[s(517)]),o={id:t.id,diffData:r[s(540)],authorsIds:r[s(478)],authors:r[s(478)][s(243)]((t=>this[s(341)][s(362)][s(309)](s(308))[s(318)](t))),fromVersion:i};t===this[s(510)]&&(o[s(233)]=new Date(e[s(233)][s(519)]()+10)),t[s(539)](o,!0),delete o[s(433)],n[s(390)](o)}}if(this[s(327)]){for(const t of n)this[s(458)](t.id,t,!0);this[s(445)]()}return a}[rt(365)](t){const e=rt,i=this[e(288)][e(325)](t);return this[e(327)]&&i.on(e(539),((t,i,s)=>{const n=e;s||(this[n(458)](i.id,i,!0),this[n(445)]())})),this[e(288)][e(481)](i,this[e(228)](i)),i}async[rt(370)](t){const e=rt;return await this[e(369)][e(256)](t,this[e(327)]),this[e(369)][e(370)](t)}async[rt(464)](t){const e=rt;return await this[e(369)][e(256)](t,this[e(327)]),this[e(369)][e(464)](t)}[rt(445)](){const t=rt;if(0===this[t(485)][t(414)])return;if(this[t(542)])return;let e=Array[t(411)](this[t(485)][t(421)]());this[t(485)][t(399)]();for(let i=0;i<e[t(537)];i++){const s=e[i];let n=!1;for(const e of Object[t(412)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(489)]((t=>null!==t)),!e[t(537)])return;for(let i=0;i<e[t(537)];i++){const s=e[i];void 0!==s[t(490)]&&void 0===s[t(517)]&&(s[t(517)]=this[t(288)][t(403)](s.id)[t(517)]),void 0!==s[t(517)]&&void 0===s[t(490)]&&(s[t(490)]=this[t(288)][t(403)](s.id)[t(490)])}const i=this[t(341)][t(394)][t(309)](t(374));this[t(542)]=!0,this[t(277)](),this[t(327)][t(420)](e,i)[t(476)]((()=>{this[t(542)]=!1}))[t(454)]((e=>{const i=t;if(e)for(const t of e)this[i(280)]({id:t.id,createdAt:t[i(233)]});this[i(488)](),this[i(445)]()}))}[rt(348)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(490)],i=null!==i?i:t[s(517)];const n=this[s(544)][s(425)](e,i),r={diffData:n[s(540)],authorsIds:n[s(478)],fromVersion:e,toVersion:i};if(!t||i!==t[s(517)]){const t=i-1,e=this[s(333)][s(419)][s(377)](t);r[s(233)]=e&&e[s(233)]||new Date}if(this[s(460)]&&e===this[s(460)][s(490)])for(const t of this[s(460)][s(433)])r[s(478)][s(487)](t.id)||r[s(478)][s(390)](t.id);return r}[rt(458)](t,e,i){const s=rt;if(this[s(485)][s(258)](t)){const n=this[s(485)][s(309)](t);e=i?{...n,...e}:{...e,...n}}this[s(485)][s(455)](t,e)}[rt(280)](t){const e=rt,i=this[e(288)][e(403)](t.id);if(t[e(233)]&&(t[e(233)]=new Date(t[e(233)])),t[e(478)]){const i=this[e(341)][e(362)][e(309)](e(308));t[e(433)]=t[e(478)][e(243)]((t=>i[e(318)](t)))}i[e(539)](t,!0)}[rt(494)](t){const e=rt,i=this[e(288)][e(403)](this[e(288)][e(537)]-1);if(i)this[e(408)]=i.id;else{const i=!this[e(341)][e(367)][e(451)][e(312)][e(331)]((t=>this[e(341)][e(367)][e(437)](t))),s=this[e(341)][e(362)][e(309)](e(308)).me.id,n=Q(this[e(341)][e(252)],e(i?401:513));this[e(257)]({from:t,to:t,id:this[e(408)],name:n,creatorId:s})}}[rt(290)](t){const e=rt,i=this[e(333)][e(372)]();this[e(510)]=this[e(288)][e(403)](i),this[e(510)]||(this[e(510)]=this[e(257)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(227)](){const t=rt;this[t(384)]&&!this[t(460)]&&(await this[t(369)][t(256)](this[t(510)],this[t(327)]),this[t(544)][t(300)](this[t(510)]),this[t(460)]={fromVersion:this[t(510)][t(490)],authors:this[t(510)][t(433)][t(459)]()})}[rt(429)](e,i){const s=rt;let n=this[s(341)][s(394)][s(309)](s(230)),r=this[s(341)][s(394)][s(309)](s(336));if(void 0===n){n={};for(const t of this[s(341)][s(367)][s(451)][s(498)]())n[t]=""}if(s(515)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(341)][s(367)][s(451)][s(498)]())r[t]={}}let o=!1;const a=Object[s(412)](n),c=Object[s(412)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(447)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(412)](r[t])[s(537)]>0){o=!0;break}}o||(o=c[s(475)]((t=>!this[s(341)][s(367)][s(451)][s(303)](t)))),o&&(0,t.logWarning)(s(432),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(341)][s(394)][s(455)](s(230),e),this[s(341)][s(394)][s(455)](s(336),i)}[rt(277)](){const t=rt;if(!this[t(436)]){const e=this[t(341)][t(362)][t(309)](t(426));this[t(436)]=e[t(405)](Q(this[t(341)][t(252)],t(289)))}}[rt(488)](){const t=rt;this[t(436)]&&(this[t(341)][t(362)][t(309)](t(426))[t(264)](this[t(436)]),this[t(436)]=null)}[rt(228)](t){const e=rt,i=this[e(288)][e(313)]();i[e(339)]();let s=0;for(;s<i[e(537)];){const n=i[s];if(n===this[e(510)]){s++;continue}if(n.id===this[e(408)])break;const r=t[e(517)]-n[e(517)]||t[e(490)]-n[e(490)];if(r>0)break;if(r<0)s++;else{if(!t[e(413)]&&n[e(413)])break;if(n[e(413)]||!t[e(413)]){if(t[e(233)]>n[e(233)])break;s++}else s++}}return s}[rt(398)](t){const e=rt,i=this[e(288)][e(313)]();i[e(339)](),i[e(266)]();const s=i[e(331)]((i=>i[e(517)]<=t))[e(517)];return s<this[e(265)]?this[e(265)]:s}[rt(257)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(348)]({from:e,to:i});o[r(298)]=t,o[r(461)]=s,o.id=n;const a=this[r(365)](o);return this[r(327)]&&this[r(458)](o.id,o,!0),a}[rt(226)](){const t=rt;this[t(341)][t(297)][t(395)](t(293))[t(402)]({model:t(415)})}}class at{[rt(341)];[rt(329)];[rt(446)];[rt(340)];[rt(248)];[rt(299)];[rt(440)];[rt(533)];[rt(480)];[rt(282)];[rt(273)];[rt(500)];[rt(387)];[rt(383)];[rt(424)];[rt(444)];[rt(469)];constructor(t){const e=rt;this[e(341)]=t,this[e(446)]=new Map,this[e(340)]=-1,this[e(248)]=-1,this[e(299)]=new Map,this[e(440)]=new Map,this[e(533)]=new Map,this[e(480)]=new Map,this[e(282)]=new Map,this[e(273)]=new Map,this[e(500)]=new Map,this[e(387)]=new Map,this[e(383)]=new Map,this[e(424)]=new Map,this[e(444)]=1}[rt(393)](t){const e=rt;this[e(329)]=t;const i=new Map,s=new Map,n=this[e(341)][e(367)][e(451)][e(312)][e(243)]((t=>t[e(363)]));for(const t of n){const n=this[e(341)][e(367)][e(451)][e(303)](t),r=ct(n);i[e(455)](t,r),s[e(455)](t,Object[e(259)](n[e(505)]()))}const r=Array[e(411)](this[e(341)][e(367)][e(296)])[e(243)]((t=>[t[e(298)],t[e(311)]()])),o=this[e(329)][e(337)];this[e(495)](o,i,r,s),this[e(469)]=this[e(444)];const a=new Map,c=new Map;for(const t of n){const i=lt(t);a[e(455)](t,i),c[e(455)](t,{})}this[e(495)](Number[e(353)],a,[],c)}[rt(425)](t,e){const i=rt;if(this[i(340)]===t&&this[i(248)]<=e)this[i(446)][i(414)]>1&&this[i(497)](this[i(248)]),this[i(484)](this[i(248)],e,!0);else{if(!this[i(446)][i(258)](t)){const e=this[i(268)](t);this[i(422)](e,t,!1)}this[i(422)](t,e,!0)}return this[i(340)]=t,this[i(248)]=e,this[i(345)]()}[rt(300)](t){const e=rt,i=this[e(341)][e(362)][e(309)](e(342));this[e(479)](),this[e(340)]=t[e(490)],this[e(248)]=t[e(517)];for(const s in t[e(540)]){const n=t[e(540)][s][e(522)],r=R(t[e(540)][s][e(239)])||{},o=i[e(509)](t[e(540)][s][e(427)]);o[e(363)]=s,o[e(357)]=!n||!n[e(368)],o[e(368)]=()=>o[e(357)],this[e(480)][e(455)](s,o),this[e(282)][e(455)](s,r),n&&this[e(424)][e(455)](s,n);const a=this[e(286)](o);this[e(500)][e(455)](s,a);for(const[t,i]of o[e(296)]){if(!t[e(463)](e(247)))continue;const s=t[e(388)](":")[2];for(const t of i[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),n=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)],r=a[e(376)](n)[e(291)](i);this[e(387)][e(455)](r,{userId:s})}}}this[e(469)]=this[e(444)];const s=[...Array(this[e(444)])[e(412)]()][e(459)](1)[e(489)]((t=>!this[e(387)][e(258)](t)));let n=0;const r=new Map;for(const o in t[e(540)]){const a=t[e(540)][o][e(522)],c=R(t[e(540)][o][e(474)])||{},u=i[e(509)](t[e(540)][o][e(344)]);u[e(363)]=o,u[e(357)]=!a||a[e(368)],u[e(368)]=()=>u[e(357)],this[e(440)][e(455)](o,u),this[e(533)][e(455)](o,c);const l=this[e(286)](u,Number[e(353)]);this[e(273)][e(455)](o,l),r[e(455)](o,u[e(368)]()?c:{});for(const[t,i]of u[e(296)]){if(!t[e(463)](e(247)))continue;const s=t[e(388)](":")[2];for(const t of i[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),n=this[e(444)]++,r=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)];l[e(376)](r)[e(491)](i,n),this[e(387)][e(455)](n,{userId:s})}}for(const t of this[e(341)][e(367)][e(502)](u)[e(409)]({singleCharacters:!0})){const i=this[e(351)](t),r=e(423)==t[e(511)]?t[e(477)][e(272)][e(459)](0,-1):t[e(477)][e(272)],o=l[e(376)](r);o[e(291)](i)>0||o[e(491)](i,s[n++])}for(const[t,i]of u[e(296)])t[e(463)](e(247))||this[e(299)][e(455)](t,i)}const o=lt(e(354));this[e(480)][e(455)](e(354),o),this[e(500)][e(455)](e(354),this[e(286)](o,1));const a=lt(e(354));this[e(440)][e(455)](e(354),a),this[e(273)][e(455)](e(354),this[e(286)](a,1));const c=Array[e(411)](this[e(440)])[e(243)]((([t,e])=>[t,ct(e)]));this[e(495)](this[e(248)],c,this[e(299)],r)}[rt(470)](){const t=rt;this[t(479)](),this[t(340)]=-1,this[t(248)]=-1,this[t(446)][t(399)](),this[t(393)](this[t(329)])}[rt(495)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(455)](t,{start:e[n(512)][n(400)](),end:e[n(343)][n(400)](),rootName:e[n(546)][n(363)]});this[n(446)][n(455)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(497)](t){const e=rt;this[e(446)][e(541)](t)}[rt(479)](){const t=rt;this[t(387)][t(399)](),this[t(383)][t(399)](),this[t(424)][t(399)](),this[t(440)][t(399)](),this[t(533)][t(399)](),this[t(480)][t(399)](),this[t(282)][t(399)](),this[t(273)][t(399)](),this[t(500)][t(399)](),this[t(299)][t(399)](),this[t(444)]=1,this[t(469)]=this[t(444)]}[rt(286)](t,e=null){const i=rt;let s=null;t.is(i(234))||(s=new H.Element(t[i(298)],{vid_start:null===e?this[i(444)]++:e++}));const n=[];for(const s of t[i(514)]())if(s.is(i(453))){n[i(390)](this[i(286)](s,e));const t=n[n[i(537)]-1];null!==e&&(e=t.is(i(453),i(406))?t[i(291)](i(530))+1:t[i(291)](i(276))+1)}else for(let t=0;t<s[i(465)];t++)n[i(390)](new H.Element(i(406),{vid:null===e?this[i(444)]++:e++}));if(t.is(i(234))){const e=lt(t[i(363)]);return e[i(381)](0,n),e}return s[i(491)](i(276),null===e?this[i(444)]++:e++),s[i(381)](0,n),s}[rt(422)](t,e,i){const s=rt;this[s(479)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(446)][s(309)](t);this[s(480)]=new Map(n),this[s(282)]=new Map(R(o));for(const[t,e]of this[s(480)])if(s(354)!==t&&(this[s(440)][s(455)](t,ct(e)),this[s(533)]=new Map(R(o)),i)){const i=this[s(444)];this[s(273)][s(455)](t,this[s(286)](e)),this[s(500)][s(455)](t,this[s(286)](e,i))}this[s(469)]=this[s(444)],this[s(440)][s(455)](s(354),ct(this[s(480)][s(309)](s(354)))),i&&this[s(273)][s(455)](s(354),this[s(286)](this[s(480)][s(309)](s(354))));for(const[t,e]of r){const i=this[s(480)][s(309)](e[s(363)]),n=this[s(440)][s(309)](e[s(363)]),r=new H.Range(this[s(315)](e[s(512)],i),this[s(315)](e[s(343)],i)),o=this[s(301)](r,n);i[s(296)][s(455)](t,r),this[s(299)][s(455)](t,o)}this[s(484)](t,e,i)}[rt(484)](t,e,i){const s=rt;for(const n of this[s(329)][s(244)](t,e))this[s(528)](n,i);for(const t of this[s(440)][s(421)]())t[s(296)][s(399)]();for(const[t,e]of this[s(299)])this[s(440)][s(309)](e[s(546)][s(363)])[s(296)][s(455)](t,e[s(400)]());const n=new Map,r=new Map;for(const[t,e]of this[s(440)])n[s(455)](t,ct(e)),r[s(455)](t,this[s(533)][s(309)](t));this[s(495)](e,n,this[s(299)],r)}[rt(268)](t){const e=rt,i=Array[e(411)](this[e(446)][e(412)]());i[e(386)](((t,e)=>t-e)),i[e(339)]();for(const e of i)if(e<t)return e;return Number[e(353)]}[rt(231)](t,e){const i=rt,s=Array[i(411)](e[i(296)])[i(243)]((([e,s])=>[e,this[i(301)](s,t)]));t[i(296)]=new Map(s)}[rt(468)](t){const e=rt;for(const i of this[e(299)][e(421)]()){const s=i[e(435)](t),n=H.Range[e(253)](s);i[e(512)]=n[e(512)],i[e(343)]=n[e(343)]}}[rt(528)](t,e){const i=rt;if(i(251)!=t[i(511)]&&i(524)!=t[i(511)]){if(i(547)==t[i(511)]){const s=t[i(431)][i(546)][i(363)];this[i(440)][i(258)](s)||(this[i(440)][i(455)](s,lt(s,!0)),this[i(533)][i(455)](s,{}),e&&this[i(273)][i(455)](s,lt(s,!0)))}else{if(i(525)==t[i(511)]||i(538)==t[i(511)]||i(507)==t[i(511)])return void this[i(270)](t);i(249)==t[i(511)]&&this[i(232)](t)}if(i(249)!==t[i(511)]){const e=this[i(281)](t,this[i(440)]);e[i(314)](),this[i(468)](e)}if(e)switch(t[i(511)]){case i(547):this[i(358)](t);break;case i(404):case i(264):case i(379):this[i(237)](t);break;case i(499):this[i(531)](t);break;case i(388):this[i(271)](t)}}else this[i(287)](t,e)}[rt(281)](t,e){const i=rt,s=t[i(400)]();return s[i(359)]=t[i(359)],this[i(326)](s,e),s}[rt(441)](t){const e=rt;return t[e(243)]((t=>{const i=e,s=this[i(351)](t);return Number(t[i(375)][i(291)](s))}))}[rt(292)](t,e){const i=rt;if(t.is(i(453),i(406)))e[i(390)]({item:t,type:i(467)});else{t.is(i(453))&&e[i(390)]({item:t,type:i(527)});for(const s of t[i(514)]())this[i(292)](s,e);t.is(i(453))&&e[i(390)]({item:t,type:i(423)})}return e}[rt(345)](){const t=rt,e=new Map(this[t(387)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(480)][t(412)](),...this[t(440)][t(412)]()]);a[t(541)](t(354));for(const e of a){const i=this[t(440)][t(309)](e)||lt(e,!1),s=this[t(480)][t(309)](e)||lt(e,!1);i[t(368)]()||s[t(368)]()?(n[t(344)][e]=ct(i),n[t(427)][e]=ct(s),this[t(231)](n[t(427)][e],s),this[t(231)](n[t(344)][e],i),r[t(344)][e]=this[t(292)](this[t(273)][t(309)](e),[]),r[t(427)][e]=this[t(292)](this[t(500)][t(309)](e)||lt(e,!1),[])):a[t(541)](e)}for(const n of a){const o=r[t(344)][n];for(const n of o){const r=this[t(351)](n),o=n[t(375)][t(291)](r);i[t(541)](o),o>=this[t(469)]&&s[t(455)](o,e[t(309)](o))}}for(const n of a){const a=r[t(344)][n],c=this[t(441)](r[t(427)][n]);let u=0;for(const n of a){const r=this[t(351)](n),a=n[t(375)][t(291)](r);if(!s[t(258)](a)&&!o[t(258)](a))if(i[t(258)](a))u++;else{if(a!=c[u]){const s=e[t(309)](a)||e[t(309)](c[u]);for(;a!=c[u];)i[t(258)](c[u])||(o[t(455)](c[u],s),e[t(455)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(344)][e];for(const e of n){const n=this[t(351)](e),r=e[t(375)][t(291)](n);if(o[t(258)](r)){const e=o[t(309)](r);i[t(258)](r)||i[t(455)](r,{...e}),s[t(455)](r,{...e})}}}for(const e of i[t(412)]())e>=this[t(469)]&&i[t(541)](e);const c=new Map;for(const e of a){let n=r[t(344)][e];for(const e of n)if(e[t(375)].is(t(453),t(335))){const i=this[t(351)](e),n=e[t(375)][t(291)](i);if(s[t(258)](n)){const i=e[t(375)][t(364)][t(364)][t(291)](t(504)),r=c[t(309)](i)||new Set;r[t(405)](s[t(309)](n)[t(382)]),c[t(455)](i,r)}}n=r[t(427)][e];for(const e of n)if(e[t(375)].is(t(453),t(335))){const s=this[t(351)](e),n=e[t(375)][t(291)](s);if(i[t(258)](n)){const s=e[t(375)][t(364)][t(364)][t(291)](t(504)),r=c[t(309)](s)||new Set;r[t(405)](i[t(309)](n)[t(382)]),c[t(455)](s,r)}}for(const e of c[t(412)]())(s[t(258)](e)||i[t(258)](e))&&c[t(541)](e)}for(const e of a){const n=r[t(344)][e];let o=null,a=null;for(const e of n){const n=this[t(351)](e),r=e[t(375)][t(291)](n),u=c[t(309)](r);u&&t(527)==e[t(511)]&&(o=Array[t(411)](u)[0],a=e[t(375)][t(291)](t(276))),o&&(i[t(455)](r,{userId:o}),s[t(455)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(427)][e],a=n[t(344)][e];for(const{userId:e}of this[t(383)][t(421)]())null!==e&&l[t(405)](e);for(const{userId:e}of this[t(424)][t(421)]())null!==e&&l[t(405)](e);this[t(518)](a,r[t(344)][e],s,t(450),l),this[t(518)](o,r[t(427)][e],i,t(380),l),u[e]={insertions:this[t(529)](a),deletions:this[t(529)](o),attachChange:this[t(424)][t(309)](e)||null,attributesBefore:R(this[t(282)][t(309)](e))||{},attributesAfter:R(this[t(533)][t(309)](e))}}return{diffData:u,authorsIds:Array[t(411)](l)}}[rt(443)](t){const e=rt;for(const[,i]of t[e(296)]){const t=i[e(512)][e(267)]()[e(489)]((t=>e(335)==t[e(298)]));for(const i of t)1==i[e(229)]&&i[e(238)](0).is(e(453),e(332))&&i[e(238)](0)[e(491)](e(416),!0)}}[rt(529)](t){const e=rt;this[e(443)](t);const i=this[e(341)][e(279)][e(310)](t,{}),s=Array[e(411)](i[e(514)]())[e(243)]((t=>this[e(302)](t)));return JSON[e(321)](s)}[rt(302)](t){const e=rt;if(t.is(e(406)))return t[e(279)];{const i=this[e(341)][e(362)][e(309)](e(342)),s=t,n=this[e(341)][e(279)][e(430)][e(236)],r={type:i[e(284)](s),name:s[e(298)],attributes:Array[e(411)](s[e(505)]()),children:Array[e(411)](s[e(514)]())[e(243)]((t=>this[e(302)](t)))};if(t.is(e(526))&&e(346)!=t[e(298)]){const i=t[e(317)](n[e(385)],n);r[e(520)][e(390)](i[e(320)])}else if(t.is(e(462))){const i=n[e(385)][e(350)](s[e(298)]);t[e(317)](i,n),r[e(520)][e(390)](i[e(245)])}const o=Array[e(411)](s[e(449)]());o[e(537)]>0&&(r[e(304)]=o);const a=s[e(389)]();return null!==a&&(r[e(241)]=a),r}}[rt(518)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(341)][r(367)];for(let s=0;s<e[r(537)];s++){const n=this[r(351)](e[s]),c=e[s][r(375)][r(291)](n),h=i[r(309)](c),d=s==e[r(537)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(382)]!=o[r(382)])&&(l(h,ht(a,t,u),ht(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,ht(a,t,u),dt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(382)],d=l(247)+s+":"+h+":"+c++,f=u[l(506)](i,a);t[l(296)][l(455)](d,f),null!==h&&n[l(405)](h)}}[rt(351)](t){const e=rt;switch(t[e(511)]){case e(527):return e(504);case e(423):return e(276);default:return e(530)}}[rt(326)](t,e){const i=rt;t[i(324)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(309)](n[i(546)][i(363)]);t[s]=this[i(315)](n,r)}if(n instanceof H.Range){const r=e[i(309)](n[i(546)][i(363)]);t[s]=this[i(301)](n,r)}i(546)===s&&(t[i(546)]=e[i(309)](t[i(546)][i(363)]))}}[rt(301)](t,e){const i=rt;return this[i(341)][i(367)][i(506)](this[i(315)](t[i(512)],e),this[i(315)](t[i(343)],e))}[rt(315)](t,e){const i=rt;return this[i(341)][i(367)][i(482)](e,t[i(272)],t[i(496)])}[rt(358)](t){const e=rt,i=this[e(273)][e(309)](t[e(431)][e(546)][e(363)]),s=this[e(315)](t[e(431)],i),n=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,r=s[e(364)],o=this[e(444)],a=[];for(const i of t[e(283)])if(i.is(e(453)))a[e(390)](this[e(286)](i));else for(let t=0;t<i[e(465)];t++)a[e(390)](new H.Element(e(406),{vid:this[e(444)]++}));const c=this[e(444)];for(let t=o;t<c;t++)this[e(387)][e(455)](t,{userId:n});r[e(381)](s[e(418)],a)}[rt(237)](t){const e=rt;(t=this[e(281)](t,this[e(273)]))[e(314)]();const i=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(493)](),n=s[e(364)],r=s[e(418)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(238)](e);r.is(a(453),a(406))?s[a(455)](r[a(291)](a(530)),{userId:i}):(s[a(455)](r[a(291)](a(504)),{userId:i}),t(s,r,0,r[a(229)]),s[a(455)](r[a(291)](a(276)),{userId:i}))}}(this[e(387)],n,r,r+t[e(516)])}[rt(531)](t){const e=rt,i=null===(t=this[e(281)](t,this[e(273)]))[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(361)][e(364)],n=t[e(322)][e(364)],r=s[e(291)](e(276)),o=n[e(291)](e(504));s[e(491)](e(276),n[e(291)](e(276))),n[e(491)](e(276),r),this[e(387)][e(455)](o,{userId:i}),this[e(387)][e(455)](r,{userId:i}),t[e(314)]()}[rt(271)](t){const e=rt,i=null===(t=this[e(281)](t,this[e(273)]))[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,s=t[e(486)],n=t[e(457)][e(364)];t[e(314)]();const r=n[e(291)](e(276)),o=t[e(543)][e(378)];if(s){const t=o[e(291)](e(276)),s=n[e(291)](e(276));n[e(491)](e(276),t),o[e(491)](e(276),s),this[e(387)][e(455)](n[e(291)](e(276)),{userId:i}),this[e(387)][e(455)](o[e(291)](e(504)),{userId:i})}else{const t=this[e(444)]++,s=this[e(444)]++;n[e(491)](e(276),t),o[e(491)](e(504),s),o[e(491)](e(276),r),this[e(387)][e(455)](t,{userId:i}),this[e(387)][e(455)](s,{userId:i})}}[rt(232)](t){const e=rt;if(!t[e(250)])return;const i=(t=this[e(281)](t,this[e(440)]))[e(523)]?t[e(523)][e(546)]:null,s=t[e(492)]?t[e(492)][e(546)]:null;i&&this[e(299)][e(541)](t[e(298)]),s&&this[e(299)][e(455)](t[e(298)],t[e(492)][e(400)]());const n=null===t[e(359)]?null:t[e(359)]||this[e(341)][e(362)][e(309)](e(308)).me.id,r=t[e(298)];if(!this[e(383)][e(258)](r))return void this[e(383)][e(455)](r,{range:t[e(523)],userId:n});const o=this[e(383)][e(309)](r),a=o[e(352)],c=t[e(492)];null==a&&null==c||a&&c&&a[e(319)](c)?this[e(383)][e(541)](t[e(298)]):o[e(382)]=n}[rt(287)](t,e){const i=rt;this[i(440)][i(258)](t[i(363)])?this[i(440)][i(309)](t[i(363)])[i(357)]=t[i(235)]:(this[i(440)][i(455)](t[i(363)],lt(t[i(363)],!0)),this[i(533)][i(455)](t[i(363)],{}),e&&this[i(273)][i(455)](t[i(363)],lt(t[i(363)],!0)));const s=null===t[i(359)]?null:t[i(359)]||this[i(341)][i(362)][i(309)](i(308)).me.id,n=this[i(424)][i(309)](t[i(363)]);n&&n[i(382)]===s?this[i(424)][i(541)](t[i(363)]):this[i(424)][i(455)](t[i(363)],{userId:s,isAttached:t[i(235)]})}[rt(270)](t){const e=rt,i=this[e(533)][e(309)](t[e(546)][e(363)]);null===t[e(338)]?delete i[t[e(417)]]:i[t[e(417)]]=t[e(338)]}}function ct(t){const e=rt,i=lt(t[e(363)],t[e(368)]());for(const s of t[e(514)]()){const t=s[e(410)](!0);i[e(534)](t)}return i}function ut(t,e){const i=ft();return(ut=function(t,e){return i[t-=226]})(t,e)}function lt(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(363)]=t,s[i(357)]=e,s[i(368)]=()=>s[i(357)],s}function ht(t,e,i){const s=rt,n=s(423)==t[s(511)]?i[s(307)](t[s(375)],s(343)):i[s(360)](t[s(375)]);return i[s(482)](e,n[s(272)],n[s(496)])}function dt(t,e,i){const s=rt,n=s(527)==t[s(511)]?i[s(307)](t[s(375)],0):i[s(269)](t[s(375)]);return i[s(482)](e,n[s(272)],n[s(496)])}function ft(){const t=["domDocument","sort","_touched","split","getFillerOffset","push","148395buwVhz","_operations","init","config","for","requires","domainLimit","_getFromVersion","clear","clone","Empty document","markerToData","getRevision","move","add","$text","447030DNqwMX","_initialRevisionId","getWalker","_clone","from","keys","creator","size","revision","keepParagraph","key","offset","history","updateRevisions","values","_calculateMetaData","elementEnd","_touchedRoots","getData","PendingActions","deletions","isOfficialPlugin","_replaceEditorDataWithRevisionData","htmlProcessor","position","editor-initial-data-replaced-with-revision-data","authors","revisionHistory.resumeUnsavedRevision","getTransformedByOperation","_pendingAction","hasContent","destroy","initial","_diffRoots","_getBaseVids","max","_processRootBeforeSave","_revisionId","sendBufferedUpdates","_savedMetaData","trim","isPremiumPlugin","getCustomProperties","insertion","document","386432FlIaoK","element","then","set","1621188KjAqVf","splitPosition","_bufferUpdate","slice","_loadedStateData","creatorId","rawElement","startsWith","getRevisionRootsAttributes","offsetSize","87oiFgFE","text","_transformMarkers","_startingRevisionId","reInit","dataToMarker","isEnabled","upcast","attributesAfter","some","finally","previousPosition","authorsIds","_reset","_baseRoots","addRevision","createPositionFromPath","RevisionHistory","_applyOperations","_bufferedUpdates","graveyardPosition","includes","_removePendingAction","filter","fromVersion","_setAttribute","newRange","getMovedRangeStart","_createInitialRevision","_saveMetaData","stickiness","_removeMetaData","getRootNames","merge","_baseIdsRoots","resolve","createRangeIn","_showLicenseError","vid_start","getAttributes","createRange","changeRootAttribute","getLatestVersion","_makeModelFromViewString","currentRevision","type","start","Initial revision","getChildren","string","howMany","toVersion","_markChanges","getTime","children","evaluationLimit","attachChange","oldRange","detachRoot","addRootAttribute","uiElement","elementStart","_handleOperation","_prepareViewToSave","vid","_handleMergeOperation","getIndex","_diffRootsAttributes","_appendChild","pluginName","afterInit","length","removeRootAttribute","_update","diffData","delete","_isPendingUpdate","insertionPosition","_revisionDataBuilder","usageLimit","root","insert","_setConversion","_loadState","_findInsertionIndex","childCount","initialData","_copyMarkers","_handleMarkerOperation","createdAt","documentFragment","isAdd","domConverter","_handleMoveOperation","getChild","attributesBefore","RevisionTracker","fillerOffset","revisionHistoryLicenseKeyTrialLimit","map","getOperations","innerHTML","743856Pvflpb","revision:","_lastTo","marker","affectsData","addRoot","locale","_createFromRanges","RealTimeCollaborationClient","146252cRxfWZ","loadRevisionData","_makeRevision","has","fromEntries","revisionHistoryLicenseKeyDomainLimit","RevisionsRepository","invalid","expired","remove","_startingVersion","shift","getAncestors","_getPreviousFrom","createPositionAfter","_handleRootAttributeOperation","_handleSplitOperation","path","_idsRoots","_licenseKeyCheckInterval","revisionHistoryLicenseKeyValid","vid_end","_addPendingAction","revisionHistoryLicenseKeyInvalid","data","setRevisionData","_cloneOperation","_baseRootsAttributes","nodes","_getTypeCharForViewElement","trialLimit","_makeIdsRoot","_handleRootOperation","repository","PENDING_ACTION_REVISION_HISTORY","_createCurrentRevision","getAttribute","_generateTape","dataDowncast","ready","revisionHistoryLicenseKeyExpired","markers","conversion","name","_markers","loadState","_fixRange","_getViewJson","getRoot","customProperties","_isInit","28KRIusO","createPositionAt","Users","get","toView","getRange","roots","getRevisions","_execute","_fixPosition","revisionHistoryLicenseKeyUsageLimit","render","getUser","isEqual","outerHTML","stringify","sourcePosition","saveRevision","baseVersion","createRevision","_fixOperation","adapter","featureNotAllowed","source","revisionHistoryLicenseKeyEvaluationLimit","find","paragraph","_source","revisionHistoryLicenseKeyNotAllowed","tableCell","rootsAttributes","version","newValue","reverse","_lastFrom","editor","RevisionHistoryUtils","end","insertions","_getState","$comment","define","buildRevisionData","update","createElement","_getVidAttributeName","range","NEGATIVE_INFINITY","$graveyard","setSource","3750CWoJrQ","_isAttached","_handleInsertOperation","_authorId","createPositionBefore","targetPosition","plugins","rootName","parent","addRevisionData","bind","model","isAttached","_utils","getRevisionDocumentData","licenseKey","getCurrentRevisionId","isReady","collaboration.channelId","item","getNodeByPath","getOperation","nodeAfter","reinsert","deletion","_insertChild","userId","_touchedMarkers","_continueCurrentRevision"];return(ft=function(){return t})()}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),At={attributes:{"data-cke":!0}};At.setAttributes=It(),At.insert=wt().bind(null,"head"),At.domAPI=kt(),At.insertStyleElement=Ot();gt()(Nt.A,At);Nt.A&&Nt.A.locals&&Nt.A.locals;const Rt=Et;function Vt(){const t=["8fCuQSu","413720sCYAac","revisionName","input","label","extendTemplate","keystrokes","reset","listenTo","form","1758975wlxtGJ","locale","Name of the revision","arrowright","focus","optional","646158yxubOM","161658KOVjff","arrowdown","481005ctEapA","347631qSyTvS","setTemplate","fieldView","stopPropagation","revisionNameInputView","10367208DWJahJ","220","errorText","arrowleft","revisionNameInputValue","set","focusTracker","trim","12KFLxkg","ck-responsive-form","add","_createRevisionNameInput","render","value","element","arrowup","ck-revision-history-save-revision-form"];return(Vt=function(){return t})()}function Et(t,e){const i=Vt();return(Et=function(t,e){return i[t-=482]})(t,e)}!function(t){const e=Et,i=t();for(;;)try{if(190397===-parseInt(e(519))/1+-parseInt(e(518))/2+parseInt(e(522))/3+-parseInt(e(503))/4+-parseInt(e(512))/5+-parseInt(e(493))/6*(parseInt(e(521))/7)+parseInt(e(502))/8*(parseInt(e(485))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vt);class Mt extends pt.View{[Rt(491)];[Rt(508)];[Rt(484)];constructor(e,i){const s=Rt;super(e),this[s(491)]=new t.FocusTracker,this[s(508)]=new t.KeystrokeHandler,this[s(490)](s(489),""),this[s(484)]=this[s(496)](i),this[s(523)]({tag:s(511),attributes:{class:["ck",s(501),s(494)],tabindex:"-1"},children:[this[s(484)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(497)](){const t=Rt;super[t(497)](),(0,pt.submitHandler)({view:this}),this[t(491)][t(495)](this[t(484)][t(499)]),this[t(508)][t(510)](this[t(499)]);const e=e=>e[t(483)]();this[t(508)][t(490)](t(515),e),this[t(508)][t(490)](t(488),e),this[t(508)][t(490)](t(500),e),this[t(508)][t(490)](t(520),e)}[Rt(516)](){const t=Rt;this[t(484)][t(516)]()}get[Rt(504)](){const t=Rt;return this[t(484)][t(482)][t(499)][t(498)][t(492)]()}set[Rt(504)](t){const e=Rt;this[e(484)][e(482)][e(499)][e(498)]=t[e(492)]()}[Rt(509)](){const t=Rt;this[t(484)][t(482)][t(499)][t(498)]="",this[t(484)][t(487)]=null}[Rt(496)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(513)],pt.createLabeledInputText),s=i[e(482)];s[e(507)]({attributes:{maxlength:e(486)}});let n=Q(this[e(513)],e(514));return!t&&(n+=" ("+Q(this[e(513)],e(517))+")"),i[e(506)]=n,s.on(e(505),(()=>{const t=e;this[t(489)]=s[t(499)][t(498)][t(492)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=207]})(t,e)}function Ft(){const t=["get","isReady","Open revision history","revisionSave","_saveRevisionFormView","requires","isOpen","children","reset","_registerMenuComponent","Revision history","menuitem","delegate","plugins","view","addMany","focus","Accept","RevisionTracker","isEnabled","Save current revision","revisionHistory","config","bind","171EwefbT","RevisionHistoryUI","submit","saveRevision","buttonView","menu","editor","show","isReadOnly","_createSaveRevisionFormView","1232007WqKvZw","3002226UPQfJu","set","Cancel","menuBar:revisionHistory","1ALdvHI","execute","editing","items","componentFactory","839858MHsJGV","add","177220tDSrNm","errorText","init","revisionName","5zqLBAj","1174680HYWIFj","2433YCByhg","hide","isPremiumPlugin","The revision name cannot be empty.","render","locale","panelView","7316001QTaSNM","Dialog","revisionHistory.requireRevisionName","role","pluginName","976MRvfLY","revisionNameInputView","showRevisionViewerCallback","ck-button-action","_showDialog","isOfficialPlugin"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(272789===-parseInt(e(214))/1*(parseInt(e(219))/2)+parseInt(e(227))/3*(parseInt(e(239))/4)+parseInt(e(225))/5*(parseInt(e(210))/6)+parseInt(e(209))/7+parseInt(e(226))/8+-parseInt(e(269))/9*(-parseInt(e(221))/10)+-parseInt(e(234))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class jt extends Z.Plugin{static get[Dt(238)](){return Dt(270)}static get[Dt(244)](){return!0}static get[Dt(229)](){return!0}static get[Dt(250)](){return[ot]}[Dt(249)];[Dt(223)](){const t=Dt,e=this[t(275)],i=e[t(258)][t(245)](t(263));e.ui[t(218)][t(220)](t(266),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(233)][n(252)],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(268)](n(264)).to(i,n(246),i,n(264),e,n(207),((t,e,i)=>t&&e&&!i)),r[n(273)][n(211)]({icon:mt.IconHistory,label:Q(s,n(255)),tooltip:!0}),u[n(211)]({label:Q(s,n(265)),withText:!0,role:n(256)}),u[n(268)](n(264)).to(i,n(246),i,n(264),e,n(207),((t,e,i)=>t&&e&&!i)),u.on(n(215),(()=>this[n(243)]())),h[n(211)]({label:Q(s,n(247)),withText:!0,role:n(256)}),h[n(268)](n(264)).to(i,n(246),e,n(207),((t,e)=>t&&!e)),h.on(n(215),(()=>{const t=n;e[t(267)][t(245)](t(266))[t(241)](),r[t(251)]=!1,e[t(216)][t(259)][t(261)]()})),c[n(252)][n(220)](u),l[n(252)][n(220)](h),a[n(237)]=n(274),a[n(217)][n(260)]([c,l]),o[n(220)](a),r})),e.ui[t(218)][t(220)](t(213),(()=>this[t(254)]()))}[Dt(254)](){const t=Dt,e=this[t(275)],i=e[t(232)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(273)][t(211)]({icon:mt.IconHistory,label:Q(i,t(255))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(211)]({label:Q(i,t(265))}),o[t(257)](t(215)).to(s),o.on(t(215),(()=>{this[t(243)]()})),r[t(252)][t(220)](o),n[t(217)][t(220)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(211)]({label:Q(i,t(247))}),c[t(257)](t(215)).to(s),c.on(t(215),(()=>{const i=t;e[i(267)][i(245)](i(266))[i(241)]()})),a[t(252)][t(220)](c),n[t(217)][t(220)](a),s[t(233)][t(252)][t(220)](n),s}[Dt(243)](){const t=Dt,e=this[t(275)],i=e[t(232)],s=e[t(258)][t(245)](t(235)),n=e[t(258)][t(245)](t(263));function r(n){const r=t;e[r(267)][r(245)](r(236))&&""===n[r(224)]?n[r(240)][r(222)]=Q(i,r(230)):(e[r(258)][r(245)](ot)[r(272)]({name:n[r(224)]}),s[r(228)]())}this[t(249)]||(this[t(208)](),this[t(249)].on(t(271),(()=>r(this[t(249)])))),this[t(249)][t(253)](),s[t(276)]({id:t(248),title:Q(i,t(265)),isModal:!0,content:this[t(249)],actionButtons:[{label:Q(e[t(232)],t(212)),withText:!0,onExecute:()=>s[t(228)]()},{label:Q(e[t(232)],t(262)),class:t(242),withText:!0,onCreate(i){const s=t;i[s(268)](s(264)).to(n,s(246),n,s(264),e,s(207),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(249)])}]})}[Dt(208)](){const t=Dt,e=this[t(275)],i=e[t(232)];this[t(249)]=new Mt(i,e[t(267)][t(245)](t(236))),this[t(249)][t(231)]()}}function Lt(){const t=["span","div","_model","Removed by","10jvvRxn","add","Suggested by","author","type","ck-annotation","2223Bsqvzt","focus","data","2261570HcpJmC","7POVaui","22552EiGSoa","name","Added by","changeId","11NEbdPD","element","2HLfRIr","373064FRJGYE","ck-revision-change","4326012TcQnTj","71472CVllYT","65AzsjPO","setTemplate","522465rFukEA","isSuggestion","ck-revision-change__label","set","ck-revision-change__","bindTemplate","606113LmEBNg"];return(Lt=function(){return t})()}const Pt=zt;function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(377481===-parseInt(e(327))/1*(parseInt(e(314))/2)+-parseInt(e(321))/3+-parseInt(e(315))/4*(parseInt(e(332))/5)+-parseInt(e(318))/6*(-parseInt(e(307))/7)+parseInt(e(308))/8*(-parseInt(e(303))/9)+-parseInt(e(306))/10*(-parseInt(e(312))/11)+-parseInt(e(317))/12*(-parseInt(e(319))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends pt.View{[Pt(311)];[Pt(330)];constructor(t,e){const i=Pt;super(t),this[i(330)]=e,this[i(311)]=e.id;const s=this[i(326)],n=Q(t,e[i(305)][i(322)]?i(299):i(333)==e[i(301)]?i(310):i(331));this[i(324)](i(301),e[i(301)]),this[i(320)]({tag:i(329),attributes:{class:[i(302),i(316),s.to(i(301),(t=>i(325)+t))],tabindex:-1},children:[{tag:i(328),children:[{tag:i(328),attributes:{class:[i(323)]},children:[{text:n}]},{text:" "+e[i(300)][i(309)]}]}]})}[Pt(304)](){const t=Pt;this[t(313)][t(304)]()}}var Zt=Ut;function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=404]})(t,e)}function Ht(){var t=["3828cSSwgc","createdAt","9rYLCIv","1488AoJwHj","1297780KukKkn","8393yXaUcG","set","type","23780UIqWBO","data","rootName","66nkfpYR","6424930NaxmQP","357XGvSfU","author","84588VTXmrM","toJSON","5045dXfKoJ","304296jyblRm"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(361833===-parseInt(e(421))/1+-parseInt(e(407))/2+parseInt(e(416))/3*(-parseInt(e(411))/4)+parseInt(e(420))/5*(-parseInt(e(414))/6)+parseInt(e(408))/7*(parseInt(e(406))/8)+-parseInt(e(405))/9*(parseInt(e(415))/10)+-parseInt(e(422))/11*(-parseInt(e(418))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(417)];[Zt(410)];[Zt(412)];[Zt(413)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(417)]=e[i(417)],this[i(410)]=e[i(410)],this[i(412)]=e[i(412)]||{},this[i(413)]=e[i(413)],this[i(409)](i(404),e[i(404)])}[Zt(419)](){var t=Zt;return{id:this.id,authorId:this[t(417)].id,type:this[t(410)],data:this[t(412)],createdAt:this[t(404)]}}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=376]})(t,e)}function Jt(){const t=["12339008RxRqnl","28386iNrDYZ","152796cgRZgo","newRevisionId","10aZnaed","changes","185NcuoAZ","oldRevisionId","_setChanges","1653988ejkBHN","add","348516jqUIjB","2510FEgcst","1147900hFtuVw","34327QobFzp"];return(Jt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(813066===parseInt(e(379))/1*(-parseInt(e(384))/2)+parseInt(e(376))/3+-parseInt(e(378))/4+-parseInt(e(386))/5*(parseInt(e(382))/6)+-parseInt(e(389))/7+parseInt(e(380))/8+-parseInt(e(381))/9*(-parseInt(e(377))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[$t(383)];[$t(387)];[$t(385)];constructor(e,i){const s=$t;this[s(383)]=e,this[s(387)]=i,this[s(385)]=new t.Collection}[$t(388)](t){const e=$t;for(const i of t)this[e(385)][e(390)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Xt=te;function Qt(){const t=["domConverter","mapper","data","isAddSuggestion","has","revision","map","startIndex","attribute:vid","isCollapsed","revision-comment:","getAttribute","observeMarkers","markers","side","test","high","suggestion:","isInline","isNavigationMode","markerToHighlight","isContent","_joinTapes","endIndex","addRoot","destroy","ck-suggestion-preview-marker","_changeIdToChange","revision-suggestion:","error","numberOfChanges","mouseover","isIncorrect","merge","isAdded","_cleanUp","bottom","getWalker","change:isReady","clear","vid","checkAttribute","80oEodID","RevisionsRepository","isRemoveSuggestion","return","suggestion","change:numberOfChanges","24905HtLtSH","isEqual","refresh","next","highest","previousPosition","newRevisionId","_sortAndFilterDiffChanges","-new","startsWith","authors","stop","createPositionBefore","flat","isAttached","comment","_makeModelFromTape","roots","revision:","concat","attachChange","deletions","selection","getLaterVisibleRevision","3350928KBSZJT","domEvent","toViewElement","createPositionFromPath","writer","element:pre","find","push","markerName","changeId","right","addMarker:revision","removeMarker:revision-suggestion","635022yboDIX","vid_end","getRevisionDocumentData","_getDiff","ck-suggestion-marker-split","_removeMissingPairs","dataDowncast","isAfter","parent","activeView","keys","isReady","ck-revision-history-root-add","_makeTape","bindElementToMarker","change:activeView","markersStart","distance","_balloon","pairId","top","isPremiumPlugin","markerToData","634299oFhjme","type","end","enableReadOnlyMode","affectsData","updatePosition","editingDowncast","slice","getCustomProperty","done","addHighlight","createUIElement","change","isSuggestion","addMarker:revision-suggestion:deletion","splice","ck-revision-history-root--active","data-change-id","attributesAfter","activeChange","locale","unbindElementFromMarkerName","_getChangeFromId","findIndex","rootName","isEnabled","indexOf","revisionHistory","loadRevisionData","isAtEnd","nextPosition","1356523GJunSB","_getViewForChange","requires","isObject","_markMarkers","getRevisionRootsAttributes","index","downcastDispatcher","values","level","_removeUnsupportedChanges","_refreshStartEndIndex","maxOffset","_markInsertions","elementEnd","init","vid_start","filter","for","_appendChild","target","_revisions","insertions","set","revision-viewer","offsetSize","_fixObsoleteTags","editor","2004024eghevS","_utils","left","low","all","getRootNames","getRoot","ck-suggestion-marker-merge","consumable","_data","getDomRoot","_activeViewTarget","upcast","delete","showPreviousChange","change:isEnabled","forceDisabled","start","view","markerRange","deletion","add","abs","plugins","removeMarker","forward","ck-editor__editable__overlay","_cleanMarkers","dataToMarker","ck-revision-history-root-remove","6RvzvyZ","schema","getItems","addRevision","_step","isAtStart","wrap","change:activeChange","createRevision","removeAttribute","first","getChild","elementToAttribute","1108xBFmwu","listenTo","pluginName","hasClass","isOnRoot","getIndex","651936RhRlPS","then","diffData","nodeAfter","code","mousedown","restoreRevision","_setChanges","object","viewItem","detachRoot","softBreak","document","RevisionViewer","createAttributeElement","shift","getRevision","commands","sort","catch","createRangeIn","ck-suggestion-marker","includes","attributesBefore","from","range","_markSuggestions","get","name","model","markersEnd","enqueueChange","span","consume","_findChangeIdFromDomTarget","ck-suggestion-marker--active","_setConversion","string","split","isBlock","compare","config","addClass","oldRevisionId","setAttribute","toViewPosition","execute","removeClass","isRemoved","elementStart","addRevisionData","hasAttribute","pop","diff","_initInteractions","userId","markerNameToElements","toViewRange","insertion","element","adapter","ck-revision-history-root-","remove","showNextChange","getAttributes","length","forEach","_getRevisionsRange","ck-suggestion-preview-marker-","reconvertMarker","_processTape","_makeModelFromViewString","revisionHistoryAttachChange","restoreRevisionCallback","mapViewToDom","isOfficialPlugin","_markMismatchedRemovedTags","currentChangeNumber","editing","item","revisionHistoryLabel","addMarker:revision-suggestion:insertion","nextSibling","isLimit","text","unshift","showStack","insert","attributes","repository","changes","bind","uiElement","_update","RevisionHistoryUtils","WidgetToolbarRepository","backward","removeMarker:revision","conversion","_changeView","resolve","revision-suggestion","POSITIVE_INFINITY","_setDistance","_threeWayMerge","getClientRects","isBefore","modelRange","ck-suggestion-marker-","createRange"];return(Qt=function(){return t})()}function te(t,e){const i=Qt();return(te=function(t,e){return i[t-=148]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(746521===parseInt(e(453))/1+-parseInt(e(186))/2+-parseInt(e(235))/3+-parseInt(e(229))/4*(-parseInt(e(393))/5)+-parseInt(e(216))/6*(parseInt(e(158))/7)+-parseInt(e(417))/8+-parseInt(e(430))/9*(-parseInt(e(387))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class ee extends Z.Plugin{[Xt(324)];[Xt(295)]=null;[Xt(187)];[Xt(197)];[Xt(334)];[Xt(372)];[Xt(448)];static get[Xt(231)](){return Xt(248)}static get[Xt(310)](){return!0}static get[Xt(451)](){return!0}static get[Xt(160)](){return[U.Users,pt.ContextualBalloon,J,K]}constructor(t){const e=Xt;super(t),this[e(324)]=this[e(185)][e(209)][e(262)](e(388)),this[e(187)]=this[e(185)][e(209)][e(262)](e(329)),this[e(181)](e(472),null),this[e(181)](e(439),null),this[e(197)]=null,this[e(181)](e(288),null),this[e(181)](e(441),!1),this[e(181)](e(152),!0),this.on(e(201),((t,i,s)=>{const n=e;this[n(472)]=null,this[n(439)]=null,this[n(185)][n(313)][n(204)][n(465)]((t=>{const e=n;for(const i of this[e(185)][e(313)][e(204)][e(247)][e(410)])s?t[e(282)](e(212),i):t[e(277)](e(212),i)}))})),this[e(326)](e(364)).to(this,e(472),(t=>null!==t)),this[e(326)](e(312)).to(this,e(441),this,e(288),this,e(472),((t,i,s)=>t&&s?i[e(325)][e(234)](s):0)),this[e(326)](e(375)).to(this,e(441),this,e(288),((t,i)=>t?i[e(325)][e(300)]:0)),this[e(334)]=null,this[e(372)]=new Map,this[e(448)]=this[e(185)][e(209)][e(262)](pt.ContextualBalloon)}[Xt(173)](){const t=Xt,e=this[t(185)],i=new ne(e,{direction:t(331)}),s=new ne(e,{direction:t(211)});e[t(252)][t(207)](t(200),i),e[t(252)][t(207)](t(298),s),e[t(252)][t(207)](t(241),new se(e)),this.on(t(392),(()=>{const e=t;i[e(395)](),s[e(395)]()})),this[t(271)](),this[t(289)](),e[t(456)](t(182)),e[t(209)][t(349)](t(330))&&e[t(209)][t(262)](t(330))[t(202)](t(182))}async[Xt(432)](t){const e=Xt;return await this[e(187)][e(155)](t,this[e(295)]),this[e(187)][e(432)](t)}async[Xt(163)](t){const e=Xt;return await this[e(187)][e(155)](t,this[e(295)]),this[e(187)][e(163)](t)}async[Xt(275)](t,e,i=!1){const s=Xt;if(!this[s(152)])return;const n=this[s(288)],r=this[s(324)],o=s(272)==typeof t?r[s(251)](t):t,a=s(272)==typeof e?r[s(251)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(288)]&&this[s(288)][s(399)]===c&&this[s(288)][s(278)]===u)return Promise[s(335)]();this[s(441)]=!1,this[s(439)]=null,this[s(472)]=null,this[s(288)]=new Yt(c,u);const l=this[s(302)](o,a,!0)[s(351)]((t=>this[s(187)][s(155)](t,this[s(295)])));return l[s(424)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(190)](l)[s(236)]((()=>{const t=s;if(!this[t(152)])return;this[t(380)]();const e=this[t(433)](c,u);for(const i of e[t(325)])this[t(372)][t(181)](i.id,i);this[t(185)][t(264)][t(266)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(185)][s(264)][s(247)][s(191)]())i[s(245)](t);for(const t of Object[s(440)](e[s(264)])){const n=i[s(369)](t);for(const r of Object[s(440)](e[s(323)][t]))i[s(279)](r,e[s(323)][t][r],n);i[s(322)](e[s(264)][t],n,0)}})),this[t(288)][t(242)](this[t(400)](e[t(325)])),this[t(441)]=!0}))[s(254)]((t=>{const e=s;console[e(374)](t),this[e(380)](),n&&(this[e(288)]=n),this[e(441)]=!0}))}[Xt(285)](t,e){const i=Xt,s=this[i(324)][i(224)](t);return s.on(i(328),((t,i,n)=>e(i,n,s))),this[i(324)][i(219)](s),s}[Xt(380)](){const t=Xt;this[t(472)]=null,this[t(213)](),this[t(334)]&&this[t(334)][t(370)](),this[t(334)]=null,this[t(372)][t(384)](),this[t(185)][t(264)][t(266)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(185)][i(264)][i(247)][i(191)]())e[i(245)](t)}))}[Xt(400)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(185)][e(264)][e(247)][e(191)]()){const n=this[e(185)][e(313)][e(204)][e(196)](t);if(!n)continue;const r=n[e(340)]()[e(314)](0);r&&(i[e(424)](t),s[e(181)](t,r))}return i[e(253)](((t,i)=>{const n=e,r=s[n(262)](t),o=s[n(262)](i);return r.y-o.y||r.x-o.x})),(t=t[e(175)]((t=>i[e(257)](t[e(151)]))))[e(253)](((t,s)=>i[e(153)](t[e(151)])-i[e(153)](s[e(151)]))),t}[Xt(443)](t){const e=Xt,i=Array[e(259)](t[e(358)])[e(175)]((([t,i])=>t[e(402)](e(411))&&!i[e(354)])),s=Array[e(259)](this[e(185)][e(264)][e(255)](t)[e(382)]({singleCharacters:!0}));if(0!=i[e(300)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(273)](":");if(n[e(455)][e(394)](t[e(157)])&&i[e(250)](),(t[e(398)][e(394)](n[e(203)])||t[e(398)][e(437)](n[e(203)]))&&(e(293)==r?t[e(379)]={userId:o}:e(206)==r&&(t[e(283)]={userId:o})),0==i[e(300)])break}return s}[Xt(169)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(300)];s++)e(319)===t[s][e(454)]?(t[s][e(314)][e(352)]=s,t[s][e(314)][e(368)]=s):(e(284)===t[s][e(454)]?t[s][e(314)][e(352)]=s:e(172)===t[s][e(454)]&&(t[s][e(314)][e(368)]=s),i[e(181)](t[s].id,s));for(const s of i[e(166)]())e(284)===t[s][e(454)]?t[s][e(314)][e(368)]=i[e(262)](t[s][e(449)]):e(172)===t[s][e(454)]&&(t[s][e(314)][e(352)]=i[e(262)](t[s][e(449)]))}[Xt(305)](t){const e=Xt;for(let i=0;i<t[e(300)];i++){if(e(284)===t[i][e(454)])t[i][e(314)][e(352)]=i;else if(e(172)===t[i][e(454)]){t[i][e(314)][e(368)]=i;const s=t[i][e(314)][e(352)];t[s][e(449)]=t[i].id,t[i][e(449)]=t[s].id}else t[i][e(314)][e(352)]=i,t[i][e(314)][e(368)]=i,t[i][e(449)]=null;t[i][e(446)]||(t[i][e(446)]=[],t[i][e(265)]=[])}}[Xt(171)](t,e){const i=Xt,s=t[i(175)]((t=>!t[i(379)]));for(let t=0;t<e[i(300)];t++)e[t][i(379)]&&(s[t][i(379)]=e[t][i(379)])}[Xt(433)](t,e=null){const i=Xt,s=this[i(324)][i(251)](t),n=e?this[i(324)][i(251)](e):null,r=this[i(302)](s,n),o=r[r[i(300)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(300)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(440)](e[i(237)]))if(e[i(237)][t][i(413)]){const s=e[i(237)][t][i(413)];s[i(407)]?(u[i(207)](t),l[i(349)](t)&&l[i(262)](t)[i(290)]==s[i(290)]?l[i(199)](t):l[i(181)](t,s)):l[i(349)](t)?(u[i(199)](t),l[i(199)](t)):(u[i(207)](t),l[i(181)](t,s))}else u[i(207)](t)}for(const t of u){const e=l[i(349)](t)&&!l[i(262)](t)[i(407)];let s=e?r[i(300)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(237)][t]){const s=e?o[i(237)][t][i(258)]:o[i(237)][t][i(471)];c[i(323)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(264)]={};for(const e of t[i(403)])a[i(181)](e.id,e);for(const e of u){const s=t[i(237)][e]?t[i(237)][e][i(180)]:"[]",n=t[i(237)][e]?t[i(237)][e][i(414)]:"[]";t[i(264)][e]={insertions:this[i(187)][i(306)](s),deletions:this[i(187)][i(306)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(259)](s[i(264)][t][i(180)][i(358)])[i(175)]((([t])=>!t[i(402)](i(411)))));let h=0;for(const o of r){const r=this[i(443)](o[i(264)][t][i(180)]);o==s?(e=r,n=e[i(300)],e[i(301)]((t=>{t.id=h++})),this[i(305)](e)):this[i(171)](e,r);const a=e[i(175)]((t=>!t[i(379)]))[i(351)]((t=>t.id));let c=0;const l=this[i(443)](o[i(264)][t][i(414)]);l[i(301)]((t=>{t[i(283)]?t.id=n++:t.id=a[c++]})),this[i(305)](l),this[i(338)](e,i(379)),this[i(338)](l,i(283)),o==s&&this[i(162)](e,u),e=this[i(367)](e,l),this[i(169)](e),this[i(338)](e,i(283))}e=e[i(175)]((t=>!(t[i(379)]&&t[i(283)])));const d=new Map(o[i(264)][t][i(414)][i(358)]),f=new Set(u[i(440)]());for(const t of d[i(440)]())f[i(199)](t);this[i(261)](e,f),this[i(184)](e),e=this[i(435)](e),e=this[i(311)](e),e=this[i(168)](e);const{root:m,changes:p}=this[i(409)](e,a,t);c[i(264)][t]=m;const v=l[i(262)](t);if(v){const e=a[i(262)](v[i(290)]),s=new qt({author:e,type:v[i(407)]?i(207):i(297),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(320)](s),c[i(323)][t][i(307)]=s.id}c[i(325)]=c[i(325)][i(412)](p)}return c}[Xt(162)](t,e){const i=Xt;for(let s=0;s<t[i(300)];s++)for(const[n,r]of e)!r[i(354)]&&r[i(203)][i(394)](t[s][i(398)])&&t[s][i(446)][i(424)](n),r[i(455)][i(394)](t[s][i(157)])&&t[s][i(265)][i(424)](n)}[Xt(367)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(300)]||r<e[i(300)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(424)](o);else if(a[i(283)]&&o[i(379)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(339)](t,n,e,r);s=s[i(412)](o),n=a,r=c}else a[i(283)]?(r++,s[i(424)](a)):(n++,s[i(424)](o))}return s}[Xt(261)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(300)];o++){for(let r=0;r<t[o][i(446)][i(300)];r++){const a=t[o][i(446)][r];if(!e[i(349)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(336)!=c||i(293)!=u&&i(206)!=u||(s[i(320)]({type:u,name:a,userId:l}),t[o][i(446)][i(468)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(265)][i(300)];r++){const a=t[o][i(265)][r];if(!e[i(349)](a))continue;const{group:c,type:u}=n(a);if(i(336)!=c||i(293)!=u&&i(206)!=u)continue;t[o][i(265)][i(468)](r,1),r--;const l=s[i(150)]((t=>t[i(263)]==a));l>-1&&s[i(468)](l,1)}}function n(t){const e=i,s=t[e(273)](":");return{group:s[0],type:s[1],subType:s[e(300)]>=5?s[2]:null,id:s[e(300)]<5?s[2]:s[3],authorId:s[e(300)]<5?s[3]:s[4],markerCount:6==s[e(300)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(300)];i++){if(t[e(379)]&&e(293)==s[i][e(454)])return t[e(348)]=s[i],void delete t[e(379)];if(!t[e(379)]&&!t[e(283)]&&e(206)==s[i][e(454)])return void(t[e(389)]=s[i])}}}[Xt(338)](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(181)](o.id,s);for(let s=0;s<t[i(300)];s++){if(i(283)==e&&t[s][i(379)]||i(379)==e&&t[s][i(283)])continue;if(i(319)==t[s][i(454)]){t[s][i(447)]=0;continue}const n=r[i(262)](t[s][i(449)]),o=r[i(262)](t[s].id);t[s][i(447)]=n-o}}[Xt(302)](t,e,i=!1){const s=Xt,n=[];let r=this[s(324)][s(234)](t),o=this[s(324)][s(234)](e);for(-1==o&&(o=this[s(324)][s(179)][s(300)],i=!1);r<o;)n[s(424)](this[s(324)][s(251)](r)),r++;return i&&n[s(424)](this[s(324)][s(251)](r)),n}[Xt(339)](t,e,i,s){const n=Xt,r=this[n(185)][n(264)][n(217)];let o=e;for(;t[o]&&t[o][n(379)];)o++;let a=s;for(;i[a]&&i[a][n(283)];)a++;u(t,e,o),u(i,s,a);const c=i[n(460)](s,a)[n(412)](t[n(460)](e,o));return c[n(253)](((t,e)=>t[n(359)]!=e[n(359)]?t[n(359)]-e[n(359)]:t[n(167)]!=e[n(167)]?t[n(167)]-e[n(167)]:t[n(447)]!=e[n(447)]?e[n(447)]-t[n(447)]:!!t[n(379)]!=!!e[n(379)]?-1==t[n(359)]||0==t[n(359)]?t[n(379)]?-1:1:t[n(379)]?1:-1:t[n(164)]-e[n(164)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(337)],c=!0;for(let n=e;n<i;n++)if(r[s(363)](t[n][s(314)])||(c=!1),t[n][s(314)][s(352)]<e&&(o=n),t[n][s(314)][s(368)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(359)]=n<=o?-1:n<a?0:1,t[n][s(164)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(447)]?t[i][s(167)]=u:(u++,t[i][s(167)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(359)]&&(t[n][s(167)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(447)]?t[e][s(167)]=u:(u--,t[e][s(167)]=u,u--)}}[Xt(184)](t){const e=Xt,i=new Map,s=this[e(185)][e(264)][e(217)];for(let n=1;n<t[e(300)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(319)==c[e(454)])continue;if(c[e(454)]!=u[e(454)])continue;if(!s[e(274)](u[e(314)])||s[e(318)](u[e(314)]))continue;if(!s[e(274)](c[e(314)])||s[e(318)](c[e(314)]))continue;if((t[n][e(379)]||t[n][e(348)])&&t[n-1][e(283)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(283)]||!t[n-1][e(379)]&&!t[n-1][e(348)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(167)]==o[e(167)],h=Math[e(208)](r[e(167)])<Math[e(208)](o[e(167)])&&0==o[e(447)];(l||h)&&(i[e(181)](o.id,r.id),t[e(468)](a,1),n--,r[e(379)]=!1)}for(let s=0;s<t[e(300)];s++)i[e(349)](t[s][e(449)])&&(t[s][e(449)]=i[e(262)](t[s][e(449)]))}[Xt(435)](t){const e=Xt,i=new Set(t[e(351)]((t=>t.id)));for(let s=0;s<t[e(300)];s++)i[e(349)](t[s][e(449)])||0==t[s][e(447)]||(t[s][e(377)]=!0);return t[e(175)]((t=>!t[e(377)]))}[Xt(311)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(300)];s++){if(i[e(349)](t[s].id)&&t[s][e(283)]&&(t[s][e(377)]=!0),t[s][e(377)])continue;if(0==t[s][e(447)])continue;if(e(284)!=t[s][e(454)])continue;if(null==t[s][e(449)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(449)];)e(284)==t[n][e(454)]?r++:e(172)==t[n][e(454)]&&r--,n++;if(0!=r)if(t[s][e(283)])t[s][e(377)]=!0;else for(;n!=s;)t[n][e(283)]&&0!=t[n][e(447)]&&(t[n][e(377)]=!0,i[e(207)](t[n][e(449)])),n--}return t[e(175)]((t=>!t[e(377)]))}[Xt(168)](t){const e=Xt,i=this[e(185)][e(264)][e(217)];for(let s=0;s<t[e(300)];s++){if(!(t[s][e(379)]||t[s][e(348)]||t[s][e(283)]||t[s][e(389)]))continue;if(0==t[s][e(447)])continue;const n=t[s][e(314)];i[e(274)](n)||i[e(318)](n)||(t[s][e(379)]&&delete t[s][e(379)],t[s][e(348)]&&delete t[s][e(348)],t[s][e(389)]&&delete t[s][e(389)],t[s][e(283)]&&(t[s][e(377)]=!0))}return t[e(175)]((t=>!t[e(377)]))}[Xt(409)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(185)][s(264)],c=a[s(217)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(300)];e++)if(s(284)===t[e][s(454)]){t[e][s(398)]=a[s(420)](n,f);const i=new H.Element(t[e][s(314)][s(263)],t[e][s(314)][s(299)]());u[0][s(177)](i),f[s(424)](0),u[s(320)](i),t[e][s(157)]=a[s(420)](n,f)}else s(172)===t[e][s(454)]?(u[s(250)](),t[e][s(398)]=a[s(420)](n,f),f[s(287)](),f[f[s(300)]-1]++,t[e][s(157)]=a[s(420)](n,f)):(t[e][s(398)]=a[s(420)](n,f),d?d[s(195)]+=t[e][s(314)][s(347)]:d=new H.Text(t[e][s(314)][s(347)],t[e][s(314)][s(299)]()),t[e+1]&&s(319)===t[e+1][s(454)]&&v(d,t[e+1][s(314)])||(u[0][s(177)](d),d=null),f[f[s(300)]-1]+=t[e][s(314)][s(183)],t[e][s(157)]=a[s(420)](n,f));for(let e=0;e<t[s(300)];e++){const i=t[e][s(398)],n=t[e][s(157)];for(const n of t[e][s(446)])o[s(181)](n,{start:i,end:null});m(s(389),e,i,n),m(s(348),e,i,n),m(s(283),e,i,n),m(s(379),e,i,n);for(const i of t[e][s(265)]){const t=o[s(262)](i);t?t[s(455)]=n:o[s(181)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(185)][s(264)][s(344)](e[s(203)],e[s(455)]);n[s(358)][s(181)](t,i)}return r[s(253)](((t,e)=>{const i=s,r=n[i(358)][i(262)](i(411)+t.id),o=n[i(358)][i(262)](i(411)+e.id);return r[i(203)][i(341)](o[i(203)])?-1:r[i(203)][i(437)](o[i(203)])?1:r[i(455)][i(341)](o[i(455)])?-1:r[i(455)][i(437)](o[i(455)])?1:i(207)===t[i(454)]?-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(290)]:null,d=i===t[o(300)]-1,f=h[e][0],m=c[o(161)](t[i][o(314)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(455)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(290)]!==u&&(l[e][o(455)]=n,f&&f[o(290)]===l[e][o(290)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(284)!==t[i][o(454)]||f&&f[o(290)]===u||h[e][o(320)]({userId:u,object:t[i][o(314)],change:l[e]}),o(172)===t[i][o(454)]&&f&&f[o(243)]===t[i][o(314)]&&(h[e][o(250)](),l[e]=f[o(465)])),l[e]&&d&&(l[e][o(455)]=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(314)],f=a[h(217)][h(274)](d)&&!a[h(217)][h(318)](d),m=t[h(238)]==o[h(438)]&&o[h(221)];if(f&&m)return;const p=a[h(344)](t,o),v=e[h(262)](u),g=new qt({author:v,type:h(379)==l||h(348)==l?h(207):h(297),data:{isSuggestion:h(348)==l||h(389)==l},createdAt:new Date,rootName:i});r[h(424)](g),n[h(358)][h(181)](h(411)+g.id,p)}function v(t,e){const i=s,n=t[i(299)](),r=e[i(299)]();for(const t of n){if(t[1]!==e[i(356)](t[0]))return!1;r[i(396)]()}return r[i(396)]()[i(462)]}}[Xt(271)](){const t=Xt;this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(350)}),this[t(185)][t(333)][t(176)](t(459))[t(365)]({model:t(350),view:e=>{const i=t,s=e[i(425)][i(273)](":")[1],n=this[i(149)](s);if(!n)return null;const r=i(207)==n[i(454)]?i(293):i(206),o=[i(256),i(343)+r];return n[i(347)][i(466)]&&o[i(424)](i(343)+r+i(401)),this[i(472)]==n&&o[i(424)](i(270)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(185)][t(333)][t(176)](t(198))[t(207)]((e=>{const i=t;e.on(i(422),((t,e,s)=>{const n=i,r=e[n(244)][n(227)](0);if(!r||!r.is(n(294),n(239)))return;if(!s[n(194)][n(268)](r,{attributes:[n(174),n(431)]}))return;const o=e[n(342)][n(203)][n(238)];s[n(421)][n(279)](n(174),r[n(356)](n(174)),o),s[n(421)][n(279)](n(431),r[n(356)](n(431)),o)}),{priority:i(189)})})),this[t(185)][t(333)][t(176)](t(198))[t(207)]((e=>{const i=t;e.on(i(294),((t,e,s)=>{const n=i;if(!s[n(194)][n(268)](e[n(244)],{attributes:[n(174),n(431)]}))return;if(e[n(342)][n(354)])return;const r=e[n(342)][n(203)][n(238)];r[n(286)](n(174))||r[n(286)](n(385))||(s[n(421)][n(279)](n(174),e[n(244)][n(356)](n(174)),r),s[n(421)][n(279)](n(431),e[n(244)][n(356)](n(431)),r))}),{priority:i(189)})})),this[t(185)][t(333)][t(176)](t(198))[t(228)]({view:{name:t(267),attributes:{vid:!0}},model:{key:t(385),value:e=>e[t(356)](t(385))}}),this[t(185)][t(264)][t(217)].on(t(386),((e,[,i])=>{const s=t;[s(174),s(431),s(385)][s(257)](i)&&(e[s(390)]=!0,e[s(404)]())}),{priority:t(397)}),this[t(185)][t(333)][t(176)](t(436))[t(207)]((e=>{const i=t;e.on(i(353),((t,e,s)=>{const n=i;if(" "!=e[n(314)][n(347)]||e[n(314)][n(438)][n(170)]>1)return;if(!s[n(194)][n(268)](e[n(314)],t[n(263)]))return;const r=s[n(421)],o=s[n(346)][n(292)](e[n(260)]);r[n(222)](o,r[n(249)](n(267)))}))})),this[t(185)][t(333)][t(176)](t(436))[t(452)]({model:t(350)}),this[t(185)][t(313)][t(165)].on(t(428),function(e){const i=t,s=e[i(209)][i(262)](i(248));return(t,n,r)=>{const o=i,a=n[o(425)][o(273)](":")[1],c=s[o(149)](a);if(!c)return null;const u=o(207)==c[o(454)]?o(273):o(378);if(!r[o(194)][o(360)](n[o(205)],t[o(263)]))return;const l=n[o(205)][o(382)](),h=n[o(205)][o(203)],d=e[o(264)][o(217)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(314)];p=p||d[o(366)](e);const i=r[o(346)][o(419)](e);if(i&&i[o(461)](o(463)))return;o(172)==t[o(454)]&&d[o(274)](e)&&!d[o(318)](e)&&(e[o(317)]||h[o(156)]?f&&f[o(438)]==e||(f=e,g(t[o(398)]),v=!0):m=m||t[o(398)])}function g(t){const e=o,i=r[e(421)][e(464)](e(267),{class:e(343)+u}),a=r[e(346)][e(280)](t);c[e(347)][e(466)]&&r[e(421)][e(277)](e(343)+u+e(401),i),s[e(472)]==c&&r[e(421)][e(277)](e(270),i),r[e(421)][e(322)](a,i),r[e(346)][e(444)](i,n[e(425)])}p||v||!m||g(m)}}(this[t(185)]),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(332),((e,i,s)=>{const n=t,r=s[n(346)][n(291)](i[n(425)]);if(r)for(const t of r)(t[n(232)](n(434))||t[n(232)](n(193)))&&(s[n(346)][n(148)](t,i[n(425)]),s[n(421)][n(297)](t))}),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(428),((e,i,s)=>{const n=t,r=i[n(425)][n(273)](":")[1],o=this[n(149)](r);if(!o)return null;const a=n(207)==o[n(454)]?n(273):n(378);if(s[n(194)][n(360)](i[n(205)],e[n(263)]))for(const t of i[n(205)][n(218)]()){if(!t.is(n(294),n(246)))continue;const e=s[n(421)][n(464)](n(267),{class:n(343)+a}),r=s[n(346)][n(280)](this[n(185)][n(264)][n(405)](t));o[n(347)][n(466)]&&s[n(421)][n(277)](n(343)+a+n(401),e),this[n(472)]==o&&s[n(421)][n(277)](n(270),e),s[n(421)][n(322)](r,e),s[n(346)][n(444)](e,i[n(425)])}}),{priority:t(361)}),this[t(185)][t(264)][t(247)].on(t(465),(()=>{const e=t;this[e(185)][e(313)][e(204)][e(465)]((t=>{const i=e;for(const e of this[i(185)][i(264)][i(247)][i(191)]()){const s=this[i(185)][i(264)][i(247)][i(192)](e),n=this[i(185)][i(313)][i(204)][i(247)][i(192)](e);if(n){const e=s[i(356)](i(307));if(t[i(225)](i(470),n),t[i(282)](i(442),n),t[i(282)](i(215),n),t[i(282)](i(469),n),e){const s=this[i(149)](e);if(!s)return null;t[i(279)](i(470),e,n),t[i(277)](i(296)+s[i(454)],n),this[i(472)]==s&&t[i(277)](i(469),n)}}}}))})),this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(408),model:e=>t(355)+e,converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(198))[t(214)]({view:t(391),model:e=>t(373)+e,converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(436))[t(452)]({model:t(336),view:e=>({name:t(362)+e,group:t(336)}),converterPriority:t(397)}),this[t(185)][t(333)][t(176)](t(459))[t(365)]({model:t(336),view:e=>{const i=t,s=e[i(425)][i(273)](":")[1];return i(293)!=s&&i(206)!=s?null:{classes:[i(371),i(303)+s]}}}),this[t(185)][t(313)][t(165)].on(t(467),ie(this[t(185)],t(378)),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(316),ie(this[t(185)],t(273)),{priority:t(361)}),this[t(185)][t(313)][t(165)].on(t(429),((e,i,s)=>{const n=t,r=s[n(346)][n(291)](i[n(425)]);if(r)for(const t of r)t.is(n(327))&&(s[n(346)][n(148)](t,i[n(425)]),s[n(421)][n(297)](t))}),{priority:t(361)})}[Xt(149)](t){const e=Xt;return this[e(372)][e(262)](t)}[Xt(159)](t){const e=Xt;return this[e(334)]&&this[e(334)][e(370)](),this[e(334)]=new Wt(this[e(185)][e(473)],t),this[e(334)]}[Xt(289)](){const t=Xt;this[t(185)][t(264)][t(247)][t(415)][t(357)](t(350)),this.on(t(445),((e,i,s,n)=>{const r=t;n&&this[r(448)][r(297)](n),s&&(this[r(448)][r(207)]({view:s,stackId:r(315),position:{target:()=>{const t=r,e=this[t(185)][t(313)],i=this[t(149)](s[t(426)]);let n;if(i[t(347)][t(233)]){const s=e[t(204)][t(196)](i[t(151)]);n=Array[t(259)](s[t(340)]())}else{const i=this[t(185)][t(264)][t(358)][t(262)](t(411)+s[t(426)]);n=Array[t(259)](e[t(346)][t(291)](i[t(263)]))[t(351)]((i=>e[t(204)][t(345)][t(309)](i)))[t(351)]((e=>Array[t(259)](e[t(340)]())))[t(406)]()}return this[t(197)]&&n[t(423)]((e=>e[t(450)]-3<=this[t(197)].y&&e[t(381)]+3>=this[t(197)].y&&e[t(188)]-3<=this[t(197)].x&&e[t(427)]+3>=this[t(197)].x))||n[0]}}}),this[r(448)][r(321)](r(315)))})),this.on(t(223),((e,i,s,n)=>{const r=t;this[r(439)]=s?this[r(159)](s):null,this[r(185)][r(264)][r(465)]((()=>{const t=r,e=this[t(185)][t(313)];n&&(n[t(347)][t(233)]?e[t(204)][t(465)]((i=>{const s=t;i[s(282)](s(469),e[s(204)][s(247)][s(192)](n[s(151)]))})):e[t(304)](t(411)+n.id)),s&&(s[t(347)][t(233)]?e[t(204)][t(465)]((i=>{const n=t;i[n(277)](n(469),e[n(204)][n(247)][n(192)](s[n(151)]))})):e[t(304)](t(411)+s.id))}))})),this[t(230)](this[t(185)][t(313)][t(204)][t(247)],t(376),((e,i)=>{const s=t;if(this[s(472)])return;const n=this[s(269)](i[s(178)]),r=this[s(372)][s(262)](n);r?(this[s(197)]={x:i[s(418)].x,y:i[s(418)].y},this[s(439)]=this[s(159)](r)):(this[s(197)]=null,this[s(439)]=null)})),this[t(230)](this[t(185)][t(313)][t(204)][t(247)],t(240),((e,i)=>{const s=t,n=this[s(269)](i[s(178)]),r=this[s(372)][s(262)](n);r?(this[s(197)]={x:i[s(418)].x,y:i[s(418)].y},r===this[s(472)]?this[s(448)][s(458)]():this[s(472)]=r):(this[s(197)]=null,this[s(472)]=null)}))}[Xt(269)](t){const e=Xt;do{const i=t[e(356)](e(470));if(i)return i;t=t[e(438)]}while(t);return null}[Xt(213)](){const t=Xt;this[t(185)][t(264)][t(465)]((e=>{const i=t;for(const t of this[i(185)][i(264)][i(358)])e[i(210)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(194)][r(360)](s[r(205)],i[r(263)]))return;const o=s[r(205)][r(382)](),a=s[r(205)][r(203)],c=t[r(264)][r(217)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(314)];h=h||c[r(366)](e);const i=n[r(346)][r(419)](e);if(i&&i[r(461)](r(463)))return;r(172)==t[r(454)]&&c[r(274)](e)&&!c[r(318)](e)&&(e[r(317)]||a[r(156)]?u&&u[r(438)]==e||(u=e,f(t[r(398)]),d=!0):l=l||t[r(398)])}function f(t){const i=r,o=n[i(346)][i(280)](t),a=n[i(421)][i(464)](i(267),{class:i(303)+e});n[i(421)][i(322)](o,a),n[i(346)][i(444)](a,s[i(425)])}h||d||!l||f(l)}}class se extends Z.Command{constructor(t){const e=Xt;super(t);const i=t[e(209)][e(262)](ee);this[e(457)]=!1,this[e(230)](i,e(383),(()=>this[e(395)]())),this[e(230)](i,e(201),(()=>this[e(395)]()))}[Xt(281)](){const t=Xt,e=this[t(185)],i=e[t(209)][t(262)](ee),s=i[t(441)]?i[t(288)][t(399)]:null;e[t(276)][t(262)](t(154))[t(308)](s)}[Xt(395)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(185)][t(209)][t(262)](ee),r=n&&s[t(416)](n[t(399)]);this[t(152)]=e&&i&&Boolean(r)}}class ne extends Z.Command{[Xt(220)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(209)][i(262)](ee);this[i(457)]=!1,this[i(220)]=i(211)===e?1:-1,this[i(230)](s,i(383),(()=>this[i(395)]())),this[i(230)](s,i(201),(()=>this[i(395)]())),this[i(230)](s,i(223),(()=>this[i(395)]()))}[Xt(281)](){const e=Xt,i=this[e(185)],s=i[e(209)][e(262)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(472)]=n?s[e(288)][e(325)][e(262)](r+this[e(220)]):s[e(288)][e(325)][e(226)],s[e(472)][e(347)][e(233)])o=i[e(313)][e(204)][e(196)](s[e(472)][e(151)]);else{const t=i[e(264)][e(358)][e(262)](e(411)+s[e(472)].id);o=(0,U.getMarkerDomElement)(i[e(313)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(395)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(185)][t(209)][t(262)](ee);this[t(152)]=!!(r&&n&&s)&&(!e||(1===this[t(220)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=408]})(t,e)}function ce(){const t=["numberOfChanges","EDIT_X_OF_Y_REVISIONS","No changes","1225563asxZQG","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","ck-hidden","div","ck-revision-history-ui__changes-navigation__label","906276aMcSuC","Loading...","NUMBER_OF_CHANGES","bind","isReady","ck-revision-history-ui__changes-navigation__wrapper","Total","406EaaziS","execute","isNavigationMode","_isStatusLabelVisible","Show next change","set","span","isEnabled","forward","20VuKCOM","Show previous change","isForwardNavigationEnabled","bindTemplate","ck-revision-history-ui__changes-navigation__navigation","setTemplate","backward","1258464iBAZFx","1329039PXpUDF","_statusText","currentChangeNumber","1014MVIrnL","200370FxEtNt","40fjALhZ","fire","isBackwardNavigationEnabled","6492bttcBJ","ck-revision-history-ui"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(218602===-parseInt(e(444))/1*(parseInt(e(433))/2)+-parseInt(e(411))/3+parseInt(e(417))/4+parseInt(e(445))/5+parseInt(e(449))/6*(-parseInt(e(424))/7)+-parseInt(e(440))/8+parseInt(e(441))/9*(parseInt(e(446))/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(436)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(429)](e(426),!1),this[e(429)](e(421),!1),this[e(429)](e(443),0),this[e(429)](e(408),0),this[e(429)](e(435),!1),this[e(429)](e(448),!1),this[e(420)](e(427)).to(this,e(421),this,e(408),((t,e)=>t&&e>0)),this[e(420)](e(442)).to(this,e(421),this,e(443),this,e(408),this,e(426),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(418));if(!n)return Q(t,o(410));const a=Q(t,o(419),n);return r?Q(t,o(413),[s+1,n]):a})),s[e(429)]({label:Q(t,e(434)),tooltip:!0,icon:mt.IconChevronUp}),n[e(429)]({label:Q(t,e(428)),tooltip:!0,icon:mt.IconChevronDown}),s[e(420)](e(431)).to(this,e(448)),n[e(420)](e(431)).to(this,e(435)),s.on(e(425),(()=>this[e(447)](e(425),e(439)))),n.on(e(425),(()=>this[e(447)](e(425),e(432)))),this[e(438)]({tag:e(415),attributes:{class:["ck",e(450),e(412)]},children:[{tag:e(430),attributes:{class:[e(422)]},children:[{tag:e(430),attributes:{class:[e(416),i.if(e(427),e(414),(t=>!t))]},children:[{text:i.to(e(426),(i=>i?Q(t,e(409))+": ":Q(t,e(423))+": "))}]},{text:i.to(e(442))}]},new pt.ToolbarSeparatorView,{tag:e(415),attributes:{class:[e(437)]},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=fe();return(de=function(t,e){return i[t-=202]})(t,e)}function fe(){const t=["isPremiumPlugin","addClass","6512967TcmYTz","871046UfqJtA","40JnGQnf","view","122808oyTTTR","RevisionViewerLoadingOverlay","isOfficialPlugin","show","pluginName","editor","10cZZybV","roots","hide","1568385pKFjWV","1146552BjqGXi","document","editing","561421sJHBsd","866504saajcC","removeClass","ck-editor__editable__loading-overlay","change","8uAccAI"];return(fe=function(){return t})()}const me=de;!function(t){const e=de,i=t();for(;;)try{if(472745===-parseInt(e(216))/1+-parseInt(e(208))/2+parseInt(e(203))/3+parseInt(e(204))/4+-parseInt(e(217))/5*(-parseInt(e(219))/6)+parseInt(e(207))/7*(parseInt(e(212))/8)+parseInt(e(215))/9*(parseInt(e(225))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const pe=me(210);class ve extends Z.Plugin{static get[me(223)](){return me(220)}static get[me(221)](){return!0}static get[me(213)](){return!0}[me(222)](){const t=me,e=this[t(224)][t(206)][t(218)];e[t(211)]((i=>{const s=t;for(const t of e[s(205)][s(226)])i[s(214)](pe,t)}))}[me(202)](){const t=me,e=this[t(224)][t(206)][t(218)];e[t(211)]((i=>{const s=t;for(const t of e[s(205)][s(226)])i[s(209)](pe,t)}))}}const ge=ke;function ye(){const t=["changesNavigation","bind","change:isReady","isNavigationMode","isForwardNavigationEnabled","3tYnIMr","RevisionViewerUI","5123224RjjbHh","showNextChange","set","componentFactory","3042243imnwFS","8824580cdjNnV","isEnabled","restoreRevision","editor","add","Back to editing","get","requires","1016803gEuPDB","4861486XojxBo","closeRevisionViewerCallback","24gAnqGW","isReady","showPreviousChange","2090485LZhbmc","1642382cyrKyp","currentChangeNumber","show","18kBRUXs","init","listenTo","isBackwardNavigationEnabled","numberOfChanges","exitToEditing","commands","forward","isOfficialPlugin","ck-revision-history-ui__back-to-editing","plugins","isPremiumPlugin","Restore this revision","execute","revisionHistory","hide","config","pluginName"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=250]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(785002===parseInt(e(296))/1+-parseInt(e(255))/2+-parseInt(e(281))/3*(-parseInt(e(283))/4)+parseInt(e(254))/5*(-parseInt(e(258))/6)+parseInt(e(297))/7+-parseInt(e(251))/8*(parseInt(e(287))/9)+parseInt(e(288))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends Z.Plugin{static get[ge(275)](){return ge(282)}static get[ge(266)](){return!0}static get[ge(269)](){return!0}static get[ge(295)](){return[ee,ve]}[ge(259)](){const t=ge,e=this[t(291)],i=e[t(268)][t(294)](ee),s=e[t(268)][t(294)](ve);e.ui[t(286)][t(292)](t(263),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(293)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(267)}),this[s(260)](n,s(271),(()=>{const t=s;e[t(274)][t(294)](t(272))[t(250)]()})),n})),e.ui[t(286)][t(292)](t(290),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(285)]({label:Q(i,s(270)),withText:!0,tooltip:!0}),n[s(277)](s(289)).to(e[s(264)][s(294)](s(290))),this[s(260)](n,s(271),(()=>e[s(271)](s(290)))),n})),e.ui[t(286)][t(292)](t(276),(s=>{const n=t,r=new ue(s),o=e[n(264)][n(294)](n(253)),a=e[n(264)][n(294)](n(284));return r[n(277)](n(261)).to(o,n(289)),r[n(277)](n(280)).to(a,n(289)),r[n(277)](n(252),n(256),n(262),n(279)).to(i),this[n(260)](r,n(271),((t,i)=>{const s=n;e[s(271)](s(265)===i?s(284):s(253))})),r})),s[t(257)](),i.on(t(278),((e,i,n)=>{const r=t;n?s[r(273)]():s[r(257)]()}))}}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=Oe;function Se(){const t=["listenTo","500056IFwpfb","111332vLxsAx","72GVkbJL","4041tccGMH","ck-revision-history-sidebar__revision-name","7tddefG","render","_tooltipString","110844HLkhij","bindTemplate","_resizeObserver","Enter the revision name","value","set","393189mHOOaJ","ck-tooltip_multi-line","placeholder","element","fieldView","_updateTooltipText","scrollWidth","span","clientWidth","destroy","input","3746040vwQASp","extendTemplate","Revision name","4524930PSZLwK","16750lFUemL"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(431982===parseInt(e(290))/1+parseInt(e(315))/2+-parseInt(e(309))/3*(-parseInt(e(308))/4)+-parseInt(e(301))/5+parseInt(e(304))/6+-parseInt(e(312))/7*(-parseInt(e(307))/8)+-parseInt(e(310))/9*(parseInt(e(305))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(317)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(316)];this[i(320)]({label:Q(t,i(303)),_tooltipString:""}),this[i(294)][i(292)]=Q(t,i(318)),this[i(302)]({tag:i(297),attributes:{class:[i(311)],"data-cke-tooltip-text":s.to(i(314)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(291)}})}[Ie(313)](){const e=Ie;super[e(313)](),this[e(317)]=new t.ResizeObserver(this[e(294)][e(293)],(()=>this[e(295)]())),this[e(306)](this[e(294)],e(300),(()=>this[e(295)]()))}[Ie(299)](){const t=Ie;super[t(299)](),this[t(317)]&&this[t(317)][t(299)]()}[Ie(295)](){const t=Ie,e=this[t(294)][t(293)];this[t(314)]=e[t(296)]>e[t(298)]&&e[t(319)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(){const t=["name","2uuNstE","span","Revision author","990ckTipZ","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","1561721WEkyhZ","294558KlWxfS","setTemplate","52810durSKP","491433VBEGOy","6TnypcG","2557136ReiTfd","set","ck-revision-history-sidebar__revision-author","0 0 11 10","Revision creator","576880aOPRrf","push","190285DtRVUc"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=349]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(248919===parseInt(e(356))/1*(parseInt(e(367))/2)+-parseInt(e(353))/3+-parseInt(e(363))/4+parseInt(e(365))/5+-parseInt(e(357))/6*(-parseInt(e(352))/7)+parseInt(e(358))/8+-parseInt(e(349))/9*(parseInt(e(355))/10))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(359)]({content:mt.IconUser,viewBox:s(361)});const r=["ck",s(360)];i&&r[s(364)](s(350));const o=[{tag:s(368),attributes:{class:["ck",s(351)],title:Q(t,s(i?362:369))},children:[n,e[s(366)]]}];this[s(354)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=489]})(t,e)}function Me(){var t=["11148ZHVEiA","713811bJgRDs","420587MZygqU","3368htKuvc","545XjMdzz","toLocaleDateString","4OenLMU","320Rycdtu","2909620IQQLar","570823OXYHgC","2619030AUadVx","toLocaleTimeString","long","numeric","5157xPQmyh"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(498070===parseInt(e(492))/1*(-parseInt(e(496))/2)+-parseInt(e(491))/3+parseInt(e(490))/4*(-parseInt(e(494))/5)+-parseInt(e(500))/6+parseInt(e(498))/7+-parseInt(e(493))/8*(-parseInt(e(489))/9)+-parseInt(e(497))/10*(-parseInt(e(499))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);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=["535510qYrARw","isEnabled","buttonView","menuitem","372739qycMpr","_action","192752xkABhJ","menu","Show more items","bind","isReady","panelPosition","isActionsDropdownOpen","Name this revision","items","Compare against selected","Restore this revision","bindTemplate","extendTemplate","listenTo","function","locale","add","find","class","change:isActionsDropdownOpen","ck-on","24IXefYe","2088504vkhMwi","button","stopPropagation","isOpen","first","source","model","children","map","listView","3iWEfFC","set","29180zgUhZS","958376jFEoWW","name","isVisible","ck-revision-history-sidebar__revision__actions","action","5631260NedZNc","execute","70fMumFs"];return(Fe=function(){return t})()}function je(t,e){const i=Fe();return(je=function(t,e){return i[t-=324]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(204088===-parseInt(e(348))/1+parseInt(e(344))/2+-parseInt(e(333))/3*(parseInt(e(336))/4)+parseInt(e(335))/5*(-parseInt(e(371))/6)+-parseInt(e(343))/7*(-parseInt(e(350))/8)+-parseInt(e(372))/9+parseInt(e(341))/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=Ot();gt()(Le.A,Pe);Le.A&&Le.A.locals&&Le.A.locals;const ze=We;function We(t,e){const i=Ze();return(We=function(t,e){return i[t-=324]})(t,e)}function Ze(){const t=["ck-revision-history-sidebar__actions_dropdown_open","4053891iAiojr","fieldView","_createdAtFormatted","_revision","220","from","11oLZqbw","ck-reset","isEnabled","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","closest","highlight","isConfirm","map","filter","authors","change","element","uiLanguage","name","54566AUDFfg","render","listenTo","5XXxISR","bindTemplate","bind","ck-revision-history-sidebar__revision__controls-wrapper","span","_requireRevisionName","126fyLfHE","extendTemplate","ck-disabled","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision_selected","isSelected","revisionNameView","unshift","ck-revision-history-sidebar__revision-authors","setName","setTemplate","revisionActionsView","175332FMnQXO","2281707ghbhrD","length",".ck-thread__remove-confirm","value","srcElement","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision","fire","isReady","div","isHighlighted","select","isActionsDropdownOpen","2492820zCfxlU","20OrQiuM","8019232dZSsUm","ck-revision-history-sidebar__revision-wrapper","createdAt","set","5271716EGeeAp","deselect","unhighlight","creator"];return(Ze=function(){return t})()}!function(t){const e=We,i=t();for(;;)try{if(876593===parseInt(e(371))/1*(-parseInt(e(385))/2)+-parseInt(e(365))/3+parseInt(e(360))/4*(parseInt(e(388))/5)+parseInt(e(340))/6*(-parseInt(e(328))/7)+parseInt(e(356))/8+-parseInt(e(341))/9*(-parseInt(e(355))/10)+parseInt(e(354))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);class Ue extends((0,U.ConfirmMixin)(pt.View)){id;[ze(334)];[ze(339)];[ze(368)];[ze(327)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(389)],a=function(t,e){const i=r,s=Array[i(370)](e[i(380)])[i(379)]((t=>t!=e[i(363)]));return e[i(363)]&&s[i(335)](e[i(363)]),s[i(378)]((s=>new Ve(t,s,s==e[i(363)])))}(e,i);this.id=i.id,this[r(368)]=i,this[r(327)]=n,this[r(324)](r(384),r(358)).to(i),this[r(324)](r(367)).to(this,r(358),(t=>{return i=e[r(383)],(s=t)[(n=Ee)(495)](i,{month:n(502),day:n(503)})+", "+s[n(501)](i,{hour:n(503),minute:n(503)});var i,s,n})),this[r(359)](r(333),!1),this[r(359)](r(351),!1),this[r(359)](r(353),!1),this[r(359)](r(349),!1),this[r(359)](r(373),!1),this[r(334)]=new Te(e,pt.createLabeledInputText),this[r(334)][r(366)][r(329)]({attributes:{maxlength:r(369)}}),this[r(334)][r(366)][r(324)](r(344)).to(this,r(384),(t=>t||this[r(367)])),this[r(334)][r(324)](r(373)).to(this,r(333),this,r(373),((t,e)=>t&&e)),this[r(339)]=s&&s[r(342)]?function(e,i){const s=je,n=e[s(361)],r=e[s(365)],o=(0,pt.createDropdown)(r);o[s(355)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=je,s=t[i(365)],n={"Compare against selected":Q(s,i(359)),"Name this revision":Q(s,i(357)),"Restore this revision":Q(s,i(360))};return e[i(331)]((t=>{const e=i,s=n[t[e(337)]];return s&&s!==t[e(337)]&&(t[e(337)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(324),model:new pt.ViewModel({label:t[n(337)],class:t[n(368)],withText:!0,role:n(347),_action:t[n(340)]})};i[n(329)][n(353)](n(345)).to(e,n(356),(i=>n(364)!=typeof t[n(345)]||!i||t[n(345)](e))),o[n(366)](i)}return o}(e,i);return e[s(353)](s(356)).to(o,s(326)),o[s(346)][s(334)]({label:Q(r,s(352)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(362)]({attributes:{class:[s(339),n.if(s(356),s(370))]},on:{click:n.to((t=>t[s(325)]()))}}),o.on(s(342),(t=>{const i=s;e[i(354)]&&i(364)==typeof t[i(328)][i(349)]&&t[i(328)][i(349)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(351)}),o[s(363)](e,s(369),((t,n,r)=>{const a=s;if(r)for(const t of o[a(332)][a(358)]){const s=t[a(330)][a(327)],n=i[a(367)]((t=>t[a(340)]===s[a(349)]))[a(338)];t[a(338)]=void 0===n||n(e)}})),o}(this,s):"",this[r(339)]&&this[r(339)][r(324)](r(373)).to(this),this[r(338)]({tag:r(350),attributes:{class:["ck",r(372),r(357),o.if(r(377),r(374))]},children:[{tag:r(350),attributes:{class:["ck",r(372),r(347),o.if(r(373),r(330),(t=>!t)),o.if(r(333),r(332)),o.if(r(351),r(331)),o.if(r(353),r(364))]},children:[this[r(334)],{tag:r(326),attributes:{class:["ck",r(346)]},children:[{text:o.to(r(367))}]},{tag:r(350),attributes:{class:["ck",r(325)]},children:[{tag:"ul",attributes:{class:["ck",r(336)]},children:a}]},this[r(339)]],on:{click:o.to((t=>{const e=r;t[e(345)][e(375)](e(343))||this[e(349)]&&this[e(373)]&&this[e(348)](e(352),{id:this.id})}))}}]})}[ze(386)](){const t=ze;super[t(386)]();const e=this[t(334)][t(366)][t(382)];this[t(387)](e,t(381),(()=>{const i=t;this[i(327)]&&!e[i(344)]||this[i(348)](i(337),{id:this.id,name:e[i(344)]}),e[i(344)]||(e[i(344)]=this[i(384)]?this[i(384)]:this[i(367)])}))}[ze(352)](){this[ze(333)]=!0}[ze(361)](){this[ze(333)]=!1}[ze(376)](){this[ze(351)]=!0}[ze(362)](){this[ze(351)]=!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 Je extends He{}class Ye extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge 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 Us(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ai extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ai(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ai.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=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 Ri={};let Vi={};function Ei(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 Mi={};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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[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&&Ai.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=Ei(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 Zi{static fromOpts(t){return Zi.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=As(s)||os.defaultWeekSettings;return new Zi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Zi.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=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(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?Zi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(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=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=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 Ui=null;class Hi extends Ii{static get utcInstance(){return null===Ui&&(Ui=new Hi(0)),Ui}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ai.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"},Ji={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Yi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(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(){Zi.resetCache(),Ai.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Js(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,...Js(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Js(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Js(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 Je("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=Rs(t.month,1,12),s=Rs(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=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(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 Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(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 Zs(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Us(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${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 Js(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Ys];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],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]]=Es(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:Es(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function 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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Zs(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(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=Mn(e,n,s,i,r,o,a);let f;return f=c?En[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[Mn(e,n,s,i,r,o,a),Hi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Hi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Zn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Un=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Jn=mn(Tn,xn,Nn);const Yn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Zi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Zi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,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,[An,Yn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ye(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Zi.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Ji){const[i,n]=Ji[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=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Zs);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=Ai.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Je("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 Ar(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 Rr="Invalid DateTime",Vr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(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(Zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Zr(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 Ur(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},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Jr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ye(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Zi.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 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:Er(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||Zi.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=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Zi.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(i));const s=Zi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Je("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=jr(a,c);m?(p=Jr,v=qr,g=ps(g,r,o)):u?(p=Yr,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=Rs(t.weekNumber,1,Ws(t.weekYear,e,i)),r=Rs(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=Rs(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],[Zn,$n],[Un,Bn],[Hn,Jn])}(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 Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.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,[Gn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Zi.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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=jr(a,r),l=jr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?js(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Hi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Lr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Je("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Je("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):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}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=Zr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Zr(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":"")+Ur(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?Zr(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():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Zi.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=Zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):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 Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=375]})(t,e)}function ro(){const t=["minus","day","1TwpDgM","10mICpDp","5VlleGu","year","8694603mnXNPB","4438308NaPxFO","setLocale","toJSDate","622530kCaYAU","2397972WGyBDE","monthLong","3724412ClHjKj","14GICysZ","week","weekdayLong","month","startOf","local","hasSame","fromJSDate","toRelativeCalendar","3190720gwQKSC","2726109BJOFQD","77irAAaR"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(399)](t)[i(386)](e),n=io[i(397)](),r=n[i(378)]({days:1})[i(396)](i(379));let o,a;return s[i(398)](n,i(379))?(o=s[i(396)](i(379))[i(387)](),a=s[i(400)]()):s[i(398)](r,i(379))?(o=r[i(387)](),a=s[i(400)]()):s[i(398)](n,i(393))?(o=s[i(396)](i(393))[i(387)](),a=s[i(394)]||""):s[i(398)](n,i(383))?(o=s[i(396)](i(395))[i(387)](),a=s[i(390)]||""):(o=s[i(396)](i(383))[i(387)](),a=String(s[i(383)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(494889===-parseInt(e(380))/1*(-parseInt(e(388))/2)+-parseInt(e(376))/3+parseInt(e(391))/4*(-parseInt(e(382))/5)+parseInt(e(389))/6*(parseInt(e(392))/7)+-parseInt(e(375))/8+parseInt(e(384))/9*(-parseInt(e(381))/10)+-parseInt(e(377))/11*(-parseInt(e(385))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["createCollection","840450osYGpK","1104273dreIVn","2694276hcVfZK","span","find","select","setName","_requireRevisionName","56OxTLRD","add","uiLanguage","setTemplate","locale","addRevision","ck-revision-history-sidebar__time-period__revisions","startDate","localizedPeriodName","436720AWlyHT","501007bEXfEr","revisionViews","delegate","_revisionActions","2181goAXVY","ck-revision-history-sidebar__time-period","1091704wdugHl","div","remove","removeRevision","706TfsJRw","ck-revision-history-sidebar__time-period__label"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=338]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(331663===-parseInt(e(346))/1+parseInt(e(356))/2*(parseInt(e(350))/3)+parseInt(e(352))/4+parseInt(e(359))/5+parseInt(e(361))/6+parseInt(e(367))/7*(-parseInt(e(345))/8)+parseInt(e(360))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(343)];[uo(347)];[uo(349)];[uo(366)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(340)][n(338)])[n(344)];this[n(343)]=e,this[n(347)]=this[n(358)](),this[n(349)]=i,this[n(366)]=s,this[n(347)][n(348)](n(364)).to(this),this[n(347)][n(348)](n(365)).to(this),this[n(339)]({tag:n(353),attributes:{class:["ck",n(351)]},children:[{tag:n(362),attributes:{class:["ck",n(357)]},children:[{text:r}]},{tag:n(353),attributes:{class:["ck",n(342)]},children:this[n(347)]}]})}[uo(341)](t){const e=uo,i=new Ue(this[e(340)],t,this[e(349)],this[e(366)]);this[e(347)][e(368)](i)}[uo(355)](t){const e=uo,i=this[e(347)][e(363)]((e=>e.id===t.id));this[e(347)][e(354)](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-=470]})(t,e)}function go(){const t=["415lBrgin","content","7866620xNOaZA","div","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","49728alCnIM","980872wJCVCz","2797695RIimgF","2PPWDnB","1523550sVzVnh","Revision history","setTemplate","9ClXgQU","span","ck-reset_all","2591421baVESS","4743192xCjniI"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(553184===-parseInt(e(480))/1+parseInt(e(482))/2*(parseInt(e(481))/3)+-parseInt(e(479))/4*(-parseInt(e(473))/5)+-parseInt(e(483))/6+-parseInt(e(471))/7+-parseInt(e(472))/8+parseInt(e(486))/9*(parseInt(e(475))/10))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(474)]=mt.IconHistory,this[e(485)]({tag:e(476),attributes:{class:["ck",e(470),e(478)]},children:[i,{tag:e(487),attributes:{class:["ck",e(477)]},children:[Q(t,e(484))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=363]})(t,e)}function Io(){const t=["346196wlNMjf","ck-disabled","createdAt","uiLanguage","some","ck-revision-history-sidebar","remove","_revisionActions","locale","map","set","3517644sYYLCv","_revisions","add","startDate","setTemplate","revisionSelected","_removeRevision","ck-reset","5phZqEP","delegate","find","addRevision","fire","selectRevision","_addRevision","ck-rounded-corners","flat","div","getTime","highlight","1742132ZrmXqp","2268628HtOJoG","revisionViews","bindTemplate","get","createCollection","_getTimePeriodViewByStartDate","unhighlight","ck-revision-history-sidebar__timeline","timePeriodViews","revisionSetName","select","highlightRevisions","setName","deselect","_requireRevisionName","23505740ICkhCl","isEnabled","2236266sLiFLw","removeRevision","2146950zRePZi","render","48ttdKsB","18sBBgrJ"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(780347===-parseInt(e(381))/1+-parseInt(e(375))/2+-parseInt(e(392))/3+parseInt(e(413))/4*(parseInt(e(400))/5)+-parseInt(e(377))/6+parseInt(e(412))/7*(-parseInt(e(379))/8)+parseInt(e(380))/9*(parseInt(e(373))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(366)];[wo(393)];[wo(388)];[wo(372)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(415)];this[n(366)]=this[n(417)](),this[n(366)][n(401)](n(368)).to(this),this[n(366)][n(401)](n(370)).to(this),this[n(393)]=e,this[n(388)]=i,this[n(372)]=s,this.on(n(368),((t,e)=>{const i=n;this[i(404)](i(397),e)})),this.on(n(370),((t,e)=>{const i=n;this[i(404)](i(367),e)})),this[n(391)](n(374),!1),this[n(396)]({tag:n(409),attributes:{class:["ck",n(399),n(407),n(386)]},children:[new yo(t),{tag:n(409),attributes:{class:["ck",n(365),r.if(n(374),n(382),(t=>!t))]},children:this[n(366)]}]})}[wo(378)](){const t=wo;super[t(378)]();for(const e of this[t(393)])this[t(406)](e);this[t(393)].on(t(394),((e,i)=>{this[t(406)](i)})),this[t(393)].on(t(387),((e,i)=>{this[t(398)](i)}))}get[wo(414)](){const t=wo;return this[t(366)][t(390)]((e=>e[t(414)][t(390)]((t=>t))))[t(408)]()}[wo(405)](t){const e=wo;for(const i of this[e(414)])t&&t.id===i.id?i[e(368)]():i[e(371)]()}[wo(369)](t){const e=wo;for(const i of this[e(414)])t[e(385)]((({id:t})=>t===i.id))?i[e(411)]():i[e(364)]()}[wo(406)](t){const e=wo,i=oo(t[e(383)],this[e(389)][e(384)])[e(395)];let s=this[e(366)][e(416)](0);s&&s[e(395)][e(410)]()===i[e(410)]()||(s=new fo(this[e(389)],i,this[e(388)],this[e(372)]),this[e(366)][e(394)](s)),s[e(403)](t)}[wo(398)](t){const e=wo,i=oo(t[e(383)],this[e(389)][e(384)])[e(395)];this[e(363)](i)[e(376)](t)}[wo(363)](t){const e=wo;return this[e(366)][e(402)]((i=>i[e(395)][e(410)]()===t[e(410)]()))}}const Oo=To;function To(t,e){const i=Ao();return(To=function(t,e){return i[t-=108]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(963970===-parseInt(e(148))/1*(parseInt(e(111))/2)+-parseInt(e(117))/3+-parseInt(e(125))/4+-parseInt(e(141))/5*(-parseInt(e(126))/6)+parseInt(e(181))/7*(parseInt(e(115))/8)+-parseInt(e(156))/9+parseInt(e(160))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class xo extends Z.Plugin{[Oo(109)];[Oo(140)];[Oo(174)];static[Oo(176)]=[Oo(135),Oo(121),Oo(182)];static[Oo(116)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(168),action:({plugins:e},i)=>{const s=t,n=e[s(147)](ee),r=n[s(184)];let o=n[s(145)][s(159)],a=i.id;r[s(129)](o)>r[s(129)](a)&&([o,a]=[a,o]),n[s(167)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(147)](ee);return!(n[s(184)][s(186)](n[s(145)])[s(122)]>2||i[s(114)])}},restoreRevision:{name:t(143),action:(e,{id:i})=>{const s=t;e[s(137)][s(147)](s(164))[s(190)](i)},isVisible:({plugins:e},i)=>!!e[t(147)](ee)[t(184)][t(151)](i.id)},nameRevision:{name:t(110),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(147)](ee),o=r[n(184)][n(133)](i);r[n(167)](i,o),s[n(172)](),s[n(185)][n(170)]()}}}}();static get[Oo(124)](){return Oo(138)}static get[Oo(157)](){return!0}static get[Oo(169)](){return!0}static get[Oo(163)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(109)]=t[e(178)][e(147)](ee),this[e(140)]=this[e(109)][e(184)],this[e(174)]=null}[Oo(161)](){const t=Oo,e=this[t(140)][t(150)],i=this[t(131)](),s=this[t(173)][t(137)][t(147)](t(183));this[t(174)]=new So(this[t(173)][t(154)],e,i,this[t(173)][t(137)][t(147)](t(108))),this[t(174)].on(t(171),this[t(175)][t(127)](this)),this[t(174)].on(t(179),this[t(155)][t(127)](this)),this[t(174)][t(127)](t(118)).to(this[t(109)]),this[t(174)][t(120)].on(t(177),((e,i)=>{const s=t;i[s(149)].on(s(177),((t,e)=>{const i=s;e[i(127)](i(118),i(139)).to(this[i(109)])}))})),this[t(174)][t(165)](),this[t(132)](this[t(173)][t(113)],t(128),this[t(189)][t(127)](this)),this[t(132)](this[t(109)],t(112),this[t(136)][t(127)](this)),s[t(142)](this[t(174)][t(144)])}[Oo(152)](){const t=Oo;this[t(174)][t(144)][t(146)](),this[t(174)][t(152)]()}[Oo(189)](){const t=Oo,e=this[t(140)][t(153)](0);if(e){const i=this[t(140)][t(133)](e.id);this[t(109)][t(167)](e,i)}}[Oo(175)](t,e){const i=Oo,s=this[i(140)][i(153)](e.id),n=this[i(140)][i(133)](s.id);this[i(109)][i(167)](s,n)}[Oo(155)](t,e){const i=Oo;this[i(140)][i(153)](e.id)[i(130)](e[i(188)])}[Oo(136)](t,e,i){const s=Oo,n=this[s(140)][s(186)](i);n[s(122)]>2?(this[s(174)][s(119)](n),this[s(174)][s(134)](null)):(this[s(174)][s(119)]([]),this[s(174)][s(134)](n[0]))}[Oo(131)](){const t=Oo,e=this[t(173)],i=xo[t(116)],s=e[t(137)][t(147)](t(162))||xo[t(176)];if(s[t(122)])return s[t(123)]((s=>{const n=t,r=n(187)==typeof s?Object[n(166)]({},i[s]):s;return r[n(180)]=r[n(180)][n(127)](this,e),r[n(158)]&&(r[n(158)]=r[n(158)][n(127)](this,e)),r}))}}const No=xo;function Ao(){const t=["change:diff","data","isSelected","15179192VbpCMa","availableRevisionActions","5033739mvPivh","isEnabled","highlightRevisions","timePeriodViews","restoreRevision","length","map","pluginName","1137340RirnZH","4893978qorhkM","bind","ready","getIndex","setName","_createRevisionActions","listenTo","getEarlierVisibleRevision","selectRevision","compareAgainstSelected","_handleDiffChange","config","RevisionsSidebar","isReady","_revisionsRepository","5ZuYroc","appendChild","Restore this revision","element","diff","remove","get","227jiGeXW","revisionViews","_revisions","getLaterVisibleRevision","destroy","getRevision","locale","_handleRevisionSetName","394632GCULaR","isOfficialPlugin","isVisible","newRevisionId","17958370LgfVcn","init","revisionHistory.revisionActions","requires","revisionHistory","render","assign","compare","Compare against selected","isPremiumPlugin","select","revisionSelected","focus","editor","_sidebarView","_handleRevisionSelected","defaultRevisionActions","add","plugins","revisionSetName","action","7ZQBsqh","nameRevision","revisionHistory.viewerSidebarContainer","repository","fieldView","getRevisionsInDiff","string","name","_handleEditorDataReady","restoreRevisionCallback","revisionHistory.requireRevisionName","_revisionViewer","Name this revision","13558yrJIJC"];return(Ao=function(){return t})()}function Ro(){const t=["toolbar","render","3mtTszT","attachDomRoot","init","config","2849816NCErxW","isActive","_elementReplacer","document","fillFromConfig","destroy","editor","get","fire","_view","4941066jYwxqT","7NzpJxq","viewportTopOffset","isFocused","editable","limiterElement","editing","componentFactory","replace","element","viewportOffset","ready","restore","detachDomRoot","1589390UoEHGQ","_initToolbar","bind","addToolbar","setEditableElement","1164147hOjDSb","getRoot","168888nFHzQV","name","2554623uKdZGQ","3085484VqxLLx","focusTracker","_toolbarConfig","view","stickyPanel","rootName"];return(Ro=function(){return t})()}const Vo=Eo;function Eo(t,e){const i=Ro();return(Eo=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(760677===-parseInt(e(299))/1+parseInt(e(301))/2+parseInt(e(266))/3*(parseInt(e(304))/4)+parseInt(e(294))/5+parseInt(e(280))/6*(parseInt(e(281))/7)+-parseInt(e(270))/8+parseInt(e(303))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Mo extends pt.EditorUI{[Vo(279)];[Vo(306)];[Vo(272)];get[Vo(307)](){return this[Vo(279)]}constructor(e,i){const s=Vo;super(e),this[s(279)]=i,this[s(306)]=(0,pt.normalizeToolbarConfig)(e[s(269)][s(277)](s(264))),this[s(272)]=new t.ElementReplacer}get[Vo(289)](){const t=Vo;return this[t(307)][t(289)]}[Vo(268)](t){const e=Vo,i=this[e(276)],s=this[e(307)],n=i[e(286)][e(307)],r=s[e(284)],o=n[e(273)][e(300)]();r[e(302)]=o[e(263)],s[e(265)]();const a=r[e(289)];this[e(298)](r[e(302)],a),s[e(284)][e(296)](e(283)).to(this[e(305)]),n[e(267)](a),this[e(272)][e(288)](t,this[e(289)]),this[e(295)](),this[e(278)](e(291))}[Vo(275)](){const t=Vo;super[t(275)]();const e=this[t(307)],i=this[t(276)][t(286)][t(307)];this[t(272)][t(292)](),i[t(293)](e[t(284)][t(302)]),e[t(275)]()}[Vo(295)](){const t=Vo,e=this[t(307)];e[t(262)][t(296)](t(271)).to(this[t(305)],t(283)),e[t(262)][t(285)]=e[t(289)],e[t(262)][t(296)](t(282)).to(this,t(290),(({top:t})=>t)),e[t(264)][t(274)](this[t(306)],this[t(287)]),this[t(297)](e[t(264)])}}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;var Fo=Lo;!function(t){for(var e=Lo,i=t();;)try{if(287276===-parseInt(e(384))/1+parseInt(e(382))/2*(-parseInt(e(380))/3)+parseInt(e(391))/4+parseInt(e(392))/5+parseInt(e(383))/6*(parseInt(e(390))/7)+parseInt(e(385))/8+parseInt(e(377))/9*(-parseInt(e(381))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(376)];[Fo(378)];[Fo(388)];get[Fo(386)](){return this[Fo(376)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(378)]=new pt.StickyPanelView(t),this[s(388)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(375)]}),this[s(376)]=new pt.InlineEditableUIView(t,e)}[Fo(387)](){var t=Fo;super[t(387)](),this[t(378)][t(373)][t(379)](this[t(388)]),this[t(389)][t(379)](this[t(378)]),this[t(374)][t(379)](this[t(386)])}}function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=373]})(t,e)}function Po(){var t=["12ZKHFUc","166685aDFzcm","2476656MkGlZM","editable","render","toolbar","top","1236130hDkpmO","1743320JrMXom","1402740lQaGnN","content","main","shouldToolbarGroupWhenFull","_editable","18PdzblX","stickyPanel","add","1374999zkfCgI","2334230ppHESv","2dVteLr"];return(Po=function(){return t})()}const zo=Zo;function Wo(){const t=["105368wsnWqy","initialData","view","607JeHSbM","ready","document","6ZyLQcq","11969350ggAZXp","editing","destroy","405lEcBWp","_ui","get","fire","model","data","createRoot","1201936CeZAGl","init","64638EQdzXr","514fgQoKJ","initPlugins","locale","998980EPBlsT","189792pNOZKL","create","config","updateSourceElement","sourceElement"];return(Wo=function(){return t})()}function Zo(t,e){const i=Wo();return(Zo=function(t,e){return i[t-=380]})(t,e)}!function(t){const e=Zo,i=t();for(;;)try{if(313989===-parseInt(e(384))/1*(-parseInt(e(401))/2)+parseInt(e(405))/3+-parseInt(e(398))/4+parseInt(e(404))/5*(-parseInt(e(387))/6)+-parseInt(e(400))/7+-parseInt(e(381))/8*(parseInt(e(391))/9)+parseInt(e(388))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends((0,Z.ElementApiMixin)(Z.Editor)){[zo(392)];get ui(){return this[zo(392)]}constructor(t,e){const i=zo;super(e),this[i(380)]=t,this[i(395)][i(386)][i(397)]();const s=new jo(this[i(403)],this[i(389)][i(383)],{shouldToolbarGroupWhenFull:!0});this[i(392)]=new Mo(this,s)}[zo(390)](){const t=zo;return this[t(408)](),this.ui[t(390)](),super[t(390)]()}static async[zo(406)](t,e){const i=zo,s=new this(t,e);return await s[i(402)](),await s.ui[i(399)](t),await s[i(396)][i(399)](s[i(407)][i(393)](i(382))||""),s[i(394)](i(385)),s}}const Ho=$o;function qo(){const t=["locale","removeMarker","indexOf","map","RevisionViewerIntegration","enableReadOnlyMode","addUser","restoreRevision","_getRevisionViewerEditorConfig","config","8113UrsSqA","_enhanceShowRevisionViewerCallback","isPremiumPlugin","end","RevisionsRepository","display","save","rootName","error","repository","toLocaleDateString","isReadOnly","set","refreshVisibility","addRoot","markers","translations","element","toolbar","join","getRevisionDocumentData","revisionHistory.requireRevisionName","model","block","commands","_showRevisionViewer","PaginationLookup","removeSelectionAttribute","isReady","getAttributeKeys","setSelection","revisionHistory","saveRevision","getRevision","toJSON","style","$graveyard","refreshPositioning","revisionHistory.viewerEditorElement","282900CbHWSF","RevisionHistory","getRevisionRootsAttributes","isAnonymous","429312XIOpKv","_recalculatePageBreaks","restrictedEditingException","includes","revisionHistory.viewerContainer","168DmJpXq","closeRevisionViewerCallback","view","revisionHistory.showRevisionViewerCallback","16869oItihS","Users","RevisionHistoryUI","init","RevisionViewer","RevisionTracker","_viewerEditor","bind","push","plugins","isEnabled","roots","disableReadOnlyMode","creator","destroy","revisionHistory.editorContainer","toVersion","toLocaleTimeString","keys","createdAt","createRangeIn","10fUUZsh","from","enqueueChange","getRoot","data","result","_update","DocumentOutline","Dialog","selection","loadRevisionData","remove","Restored","_restoreRevision","create","none","_enhanceCloseRevisionViewerCallback","removeAttribute","parse","revisionHistory.restoreRevisionCallback","document","lazyRoots","get","getRevisions","adapter","hide","update","DocumentOutlineUI","insert","define","users","pluginName","286044ceLAHd","addRevisionData","revisionHistory.closeRevisionViewerCallback","detachRoot","1888gsiksj","_cleanUp","revision-history-missing-configuration","requires","long","isRevisionViewerOpen","isOpen","RevisionHistoryUtils","name","numeric","changesNavigation","setAttribute","_closeRevisionViewer","showRevisionViewerCallback","isAttached","fromCharCode","catch","11372150PwhHAg","uiLanguage","change","then","revision-history-viewer-opened","Annotations","exitToEditing","Autosave","2743938samWWe","editor","RestrictedEditingMode","isOfficialPlugin","getMarkersGroup","fromVersion","has","getUser"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=320]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(159051===-parseInt(e(381))/1+parseInt(e(385))/2+-parseInt(e(394))/3*(parseInt(e(390))/4)+-parseInt(e(415))/5*(parseInt(e(447))/6)+-parseInt(e(342))/7*(parseInt(e(451))/8)+-parseInt(e(324))/9+parseInt(e(468))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(396),Ho(326)];class Jo extends Z.Plugin{[Ho(420)];static get[Ho(446)](){return Ho(336)}static get[Ho(327)](){return!0}static get[Ho(344)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(335)]((t=>String[e(466)](t)))[e(361)]("")}super(t),this[e(420)]=e(345),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Yo extends Z.Plugin{[Ho(400)];static get[Ho(446)](){return Ho(382)}static get[Ho(327)](){return!0}static get[Ho(344)](){return!0}static get[Ho(454)](){return[ot,jt]}constructor(e){const i=Ho;if(super(e),!this[i(325)][i(341)][i(437)](i(373)))throw new t.CKEditorError(i(453),this);this[i(400)]=null,this[i(354)](i(456),!1),this[i(325)][i(341)][i(444)](i(393),(t=>this[i(367)]({...t,translations:this[i(325)][i(332)][i(358)]}))),this[i(325)][i(341)][i(444)](i(449),(t=>this[i(463)](t))),this[i(325)][i(341)][i(444)](i(434),(t=>this[i(428)](t))),this[i(325)][i(341)][i(444)](i(363),!1),this[i(343)](),this[i(431)]()}set[Ho(439)](t){const e=Ho;this[e(325)][e(403)][e(437)](e(399))[e(439)]=t}get[Ho(439)](){const t=Ho;return this[t(325)][t(403)][t(437)](t(399))[t(439)]}[Ho(448)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(399))[e(448)](t)}[Ho(375)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(346))[e(375)](t)}[Ho(438)](t){const e=Ho;return this[e(325)][e(403)][e(437)](e(346))[e(438)](t||{toJSON:!1})}[Ho(340)](){const e=Ho,i=this[e(325)],s=(0,U.sanitizeEditorConfig)(i,Bo),n=i[e(403)][e(437)](e(399)),r=i[e(403)][e(437)](e(395))[e(445)];return s[e(360)]=[e(322),e(339),e(461)],delete s[e(436)],s[e(403)][e(402)](Jo,ee,be,class extends Z.Plugin{static get[e(454)](){return[ee,e(395)]}[e(397)](){const s=e,o=this[s(325)][s(403)][s(437)](s(395));for(const t of r)t[s(384)]||o[s(331)](t.id)||o[s(338)](t);const a=n[s(351)][s(438)]();let c=null;const u=this[s(325)][s(403)][s(437)](s(398));u[s(439)]=n[s(439)],u[s(401)](s(404)).to(n),this[s(325)][s(366)][s(437)](s(339))[s(401)](s(404)).to(i,s(353),(t=>!t));for(const e of a){const i=null===e[s(407)];if(i&&e[s(410)]===e[s(329)])continue;const r=e[s(376)]();u[s(448)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(421)](r,o);else if(!o){const e=a[u(376)]();e.id=(0,t.uid)(),n[u(374)](e,a[u(410)])[u(471)]((t=>{c=t}))}}else e[u(421)](r,o)}))}}},No),s}[Ho(343)](){const t=Ho,e=this[t(325)][t(341)][t(437)](t(373))[t(464)];this[t(325)][t(341)][t(354)](t(393),(async()=>{const i=t;this[i(325)][i(337)](i(320));const s=this[i(325)][i(403)][i(437)](i(399));if(this[i(325)][i(403)][i(330)](i(323))){const t=this[i(325)][i(403)][i(437)](i(323));await t[i(348)]()}else await s[i(441)]();if(this[i(325)][i(403)][i(330)](i(368))&&this[i(325)][i(403)][i(437)](i(368))[i(386)](),this[i(325)][i(403)][i(330)](i(423))){const t=this[i(325)][i(403)][i(437)](i(423));t[i(457)]&&t[i(440)]()}const n=this[i(340)]();return e(n)[i(471)]((t=>{const e=i;return this[e(400)]=t,this[e(325)][e(403)][e(330)](e(321))&&this[e(325)][e(403)][e(437)](e(321))[e(355)](),this[e(325)][e(403)][e(330)](e(422))&&(this[e(325)][e(403)][e(437)](e(442))[e(392)][e(359)][e(377)][e(347)]=e(430)),t}))[i(467)]((t=>(console[i(350)](t),this[i(325)][i(406)](i(320)),null)))}))}[Ho(431)](){const t=Ho,e=this[t(325)][t(341)][t(437)](t(373))[t(391)];this[t(325)][t(341)][t(354)](t(449),(()=>(this[t(325)][t(403)][t(330)](t(368))&&this[t(325)][t(403)][t(437)](t(368))[t(386)](),this[t(325)][t(403)][t(330)](t(422))&&(this[t(325)][t(403)][t(437)](t(442))[t(392)][t(359)][t(377)][t(347)]=""),this[t(400)][t(403)][t(437)](t(398))[t(452)](),e(this[t(400)])[t(471)]((()=>{const e=t;if(this[e(325)][e(406)](e(320)),this[e(400)]=null,this[e(325)][e(403)][e(330)](e(321))){const t=this[e(325)][e(403)][e(437)](e(321));t[e(355)](),t[e(379)]()}})))))}[Ho(367)](t){const e=Ho,i=this[e(325)][e(341)][e(437)](e(409)),s=this[e(325)][e(341)][e(437)](e(389)),n=this[e(325)][e(341)][e(437)](e(380));return Uo[e(429)](n,t)[e(471)]((t=>(s[e(377)][e(347)]=e(365),i[e(377)][e(347)]=e(430),this[e(456)]=!0,t)))}[Ho(463)](t){const e=Ho,i=this[e(325)][e(341)][e(437)](e(409));return this[e(325)][e(341)][e(437)](e(389))[e(377)][e(347)]=e(430),i[e(377)][e(347)]="",this[e(456)]=!1,t[e(408)]()}async[Ho(428)](t){const e=Ho,i=this[e(325)],s=this[e(400)][e(403)][e(437)](e(398)),n=i[e(403)][e(437)](e(399)),r=i[e(403)][e(437)](e(458)),o=s[e(351)][e(375)](t);let a,c,u;try{await r[e(425)](o,this[e(439)]),a=r[e(362)](o),c=r[e(383)](o)}catch(t){return void console[e(350)](t)}i[e(364)][e(470)]((t=>{const s=e;for(const e of Array[s(416)](i[s(364)][s(357)][s(328)](s(387))))t[s(333)](e)})),s[e(370)]=!1,i[e(364)][e(417)]((t=>{const s=e;t[s(372)](null),t[s(369)](i[s(364)][s(435)][s(424)][s(371)]());const n=Object[s(412)](a);for(const e of i[s(364)][s(435)][s(405)])s(378)!=e[s(349)]&&e[s(465)]()&&!n[s(388)](e[s(349)])&&t[s(450)](e);for(const e of n){let n=i[s(364)][s(435)][s(418)](e);n&&n[s(465)]()||(n=t[s(356)](e));const r=c[e],o=Object[s(412)](r),u=a[e];for(const e of n[s(371)]())o[s(388)](e)||t[s(432)](e,n);for(const i of o)t[s(462)](i,c[e][i],n);t[s(426)](t[s(414)](n)),t[s(443)](i[s(419)][s(433)](u,n),n,0)}}));const l=Q(i[e(332)],e(427));return u=o[e(459)]?-1==o[e(459)][e(334)](l)?l+": "+o[e(459)]:o[e(459)]:l+": "+o[e(413)][e(352)](i[e(332)][e(469)],{month:e(455),day:e(460)})+", "+o[e(413)][e(411)](i[e(332)][e(469)],{hour:e(460),minute:e(460)}),await n[e(374)]({name:u}),s[e(370)]=!0,i[e(341)][e(437)](e(373))[e(391)]()}}function Go(){var t=["575638gjbSFB","8KBVdHv","373952ifNvBG","181062tkBlXl","3879618VhEWMU","1438740WvhaZP","346230DaNxDB","721503zithxL"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=147]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(399238===parseInt(e(152))/1+-parseInt(e(149))/2+-parseInt(e(151))/3+parseInt(e(154))/4+parseInt(e(150))/5+parseInt(e(148))/6+-parseInt(e(147))/7*(parseInt(e(153))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();