@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250409.0 → 0.0.0-nightly-20250412.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>U,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>at,RevisionViewer:()=>te,RevisionViewerEditor:()=>Wo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ao});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 M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=z;function P(){const t=["createdAt","408JorUrm","setName","map","5STFAtJ","208iglUBo","23025PABOoW","2052hISkzL","creator","10WOLzdg","fire","creatorId","model","set","removeAttribute","3130061cgBRgR","authorsIds","fromVersion","25312epLlcW","299zItTvI","authors","1635528ZGRqsR","1848884HtdIEm","name","attributes","toJSON","diffData","setAttribute","toVersion","710532BcvczV","_update","2814MsgEjU"];return(P=function(){return t})()}function z(t,e){const i=P();return(z=function(t,e){return i[t-=109]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(699632===-parseInt(e(112))/1+parseInt(e(120))/2*(-parseInt(e(121))/3)+parseInt(e(137))/4*(-parseInt(e(119))/5)+-parseInt(e(116))/6*(parseInt(e(114))/7)+parseInt(e(133))/8*(-parseInt(e(122))/9)+parseInt(e(124))/10*(parseInt(e(130))/11)+-parseInt(e(136))/12*(-parseInt(e(134))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(P);class U extends((0,t.ObservableMixin)()){id;[j(123)];[j(135)];[j(109)];[j(111)];[j(132)];[j(127)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(123)]=e[i(123)]||null,this[i(135)]=e[i(135)]||[],this[i(109)]=e[i(109)]||null,this[i(111)]=e[i(111)]||0,this[i(132)]=e[i(132)]||0,this[i(128)](i(138),e[i(138)]||""),this[i(128)](i(115),e[i(115)]||new Date),this[i(128)](i(139),e[i(139)]||{})}[j(117)](t){this[j(113)]({name:t})}[j(110)](t,e){const i=j,s=R(this[i(139)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(113)]({attributes:s})}[j(129)](t){const e=j,i=R(this[e(139)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(113)]({attributes:i})}[j(113)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(138),i(115),i(109),i(135),i(139),i(111),i(132),i(126)];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(135)]&&(n[i(131)]=n[i(135)][i(118)]((t=>t.id)),delete n[i(135)]),this[i(125)](i(113),n,e))}[j(140)](){const t=j;return{id:this.id,name:this[t(138)],creatorId:this[t(123)]?this[t(123)].id:null,authorsIds:this[t(135)][t(118)]((t=>t.id)),diffData:this[t(109)],createdAt:this[t(115)],attributes:this[t(139)],fromVersion:this[t(132)],toVersion:this[t(111)]}}}var W=i(782),H=i(211),Z=i(783);const B=$;function $(t,e){const i=q();return($=function(t,e){return i[t-=439]})(t,e)}function q(){const t=["addRevision","authorsIds","from","getRevisions","fromVersion","plugins","earlier","getRevisionsIterator","4378860KIWHzE","981674mfaWWd","join","attributes","map","15877062GNmTAC","_revisions","toJSON","14TLtsYq","creatorId","requires","newRevisionId","getLaterVisibleRevision","getRevision","later","afterInit","getIndex","1234845IiUddd","getEarlierVisibleRevision","pluginName","getUser","612361eCqwwB","add","reverse","editor","name","href","createRevision","RevisionsRepository","get","isNaN","Users","isPremiumPlugin","fromCharCode","3150416aLlxyR","diffData","16swKdOT","length","oldRevisionId","createdAt","push","isOfficialPlugin","toVersion","getRevisionsInDiff","2582517XJfCLz","data"];return(q=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(498813===-parseInt(e(451))/1+-parseInt(e(485))/2+parseInt(e(474))/3+parseInt(e(466))/4*(parseInt(e(447))/5)+parseInt(e(484))/6+-parseInt(e(492))/7*(-parseInt(e(464))/8)+-parseInt(e(489))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends W.Plugin{[B(490)];static get[B(440)](){return[H.Users]}static get[B(449)](){return B(458)}static get[B(471)](){return!0}static get[B(462)](){return!0}get[B(467)](){const t=B;return this[t(490)][t(467)]}constructor(e){const i=B;super(e),this[i(490)]=new t.Collection}[B(445)](){!async function(e){const i=k([112,115,88,71,55,107,77,82,121,78,118,83,81,53,85,100,116,80,52,74,73,50,87,72,65,110,90,57,67,68,104,109,89,48,120,101,103,117,69,49,75,105,70,113,79,84,51,99,114,97,102,86,76,54,111,122,108,98,106,56,119,66]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(460)](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([112]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(488)]((t=>String[e(463)](t)))[e(486)]("")}!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:1744156800;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(456)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[B(457)](t){const e=B,i=this[e(454)][e(481)][e(459)](e(461));return new U({id:t.id,name:t[e(455)],creator:t[e(439)]?i[e(450)](t[e(439)]):null,diffData:t[e(465)]||t[e(475)],authors:t[e(477)][e(488)]((t=>i[e(450)](t))),createdAt:new Date(t[e(469)]),attributes:t[e(487)],fromVersion:t[e(480)],toVersion:t[e(472)]})}[B(476)](t,e=0){const i=B;this[i(490)][i(452)](t,e)}[B(443)](t){const e=B;return this[e(490)][e(459)](t)}[B(479)](t={toJSON:!1}){const e=B,i=Array[e(478)](this[e(490)]);return i[e(453)](),t[e(491)]?i[e(488)]((t=>t[e(491)]())):i}[B(446)](t){const e=B;return this[e(490)][e(446)](t)}[B(448)](t){const e=B,[,i]=this[e(483)](t,{direction:e(482)});return i}[B(442)](t){const e=B,[,i]=this[e(483)](t,{direction:e(444)});return i}[B(473)](t){const e=B,i=[];for(const s of this[e(483)](t[e(441)]))if(i[e(470)](s),s.id===t[e(468)])break;return i}*[B(483)](t,{direction:e=B(482),filter:i=()=>!0}={}){const s=B,n=s(482)===e?1:-1;let r=this[s(490)][s(459)](t),o=this[s(446)](r);for(yield r;r;){if(o+=n,r=this[s(443)](o),!r)return;i(r)&&(yield r)}}}const J=K;function G(){const t=["insertions","pluginName","isOfficialPlugin","domChildrenToView","getRevisionRootsAttributes","revision-start","document","collaboration.channelId","_viewClassToTypeChar","RevisionHistoryUtils","isPremiumPlugin","name","2336095PjKOcq","fillerOffset","data-revision-","toData","config","domDocument","get","370488aJGkhd","parse","append","_getViewFromDiffObj","childNodes","data","536632VHIHKG","startsWith","revision-end","children","getRevisionDocumentData","211321KmAMdm","getRevision","htmlProcessor","innerHTML","_makeModelFromViewString","viewChildrenToDom","map","forEach","loadRevisionData","attachChange","_getTypeCharForViewElement","_typeCharToViewClass","_removeRevisionMarkers","type","length","marked","editing","customProperties","useFillerType","toModel","_setCustomProperty","1103114JzQvRy","isAttached","_appendChild","default","7SmSAlg","attributes","636474wnlTHv","processor","filter","getFillerOffset","render","from","attributesAfter","937482vJFqrp","div","editor","createElement","constructor","domConverter","diffData","view","string"];return(G=function(){return t})()}function K(t,e){const i=G();return(K=function(t,e){return i[t-=140]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(307855===parseInt(e(162))/1+-parseInt(e(183))/2+parseInt(e(196))/3+-parseInt(e(151))/4+parseInt(e(144))/5+-parseInt(e(189))/6+parseInt(e(187))/7*(parseInt(e(157))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class Q extends W.Plugin{static get[J(206)](){return J(141)}static get[J(207)](){return!0}static get[J(142)](){return!0}[J(140)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(173)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(170)](t,e){const i=J;if(t[i(202)]||!e)return;const s=this[i(198)][i(148)][i(150)](i(212)),n=await e[i(163)]({channelId:s,revisionId:t.id});t[i(202)]=n[i(202)]}[J(161)](t){const e=J,i={};for(const s in t[e(202)]){if(t[e(202)][s][e(171)]&&!t[e(202)][s][e(171)][e(184)])continue;const n=this[e(174)](JSON[e(152)](t[e(202)][s][e(205)])),r=this[e(198)][e(178)][e(203)][e(211)],o=new Z.ViewDocumentFragment(r,n[e(168)]((t=>this[e(154)](t,!1))));this[e(198)][e(156)][e(190)][e(180)](e(177)),i[s]=this[e(198)][e(156)][e(190)][e(147)](o),this[e(198)][e(156)][e(190)][e(180)](e(186))}return i}[J(209)](t){const e=J,i={};for(const s in t[e(202)])t[e(202)][s][e(171)]&&!t[e(202)][s][e(171)][e(184)]||(i[s]=t[e(202)][s][e(195)]||{});return i}[J(172)](t){const e=J;return this[e(140)][e(150)](t[e(200)])}[J(154)](t,e){const i=J,s=this[i(198)][i(178)][i(203)][i(211)];if(i(204)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(175)]||"r"==t[i(175)]?[]:t[i(160)][i(168)]((t=>this[i(154)](t,e)));const o=this[i(173)][i(150)](t[i(175)])||Z.ViewElement,a=this[i(198)][i(156)][i(164)][i(201)];if(n=new o(s,t[i(143)],t[i(188)],r),"u"==t[i(175)]&&t[i(160)][0]){const r=t[i(160)][0];if(n[i(193)]=function(t){const e=i,s=t[e(199)](e(197));return s[e(165)]=r,s[e(155)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(185)](n);const e=Array[i(194)](a[i(167)](t,{bind:!1})),r=a[i(149)][i(199)](i(197));r[i(153)](...e),n=Array[i(194)](a[i(208)](r))[0]}}else if("r"==t[i(175)]&&t[i(160)][0]){const r=t[i(160)][0];if(n[i(193)]=function(t){t[i(165)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(185)](n);const e=Array[i(194)](a[i(167)](t,{bind:!1})),r=a[i(149)][i(199)](i(197));r[i(153)](...e);const o=Array[i(194)](a[i(208)](r));o[i(176)]>1?n[i(185)](o):n=o[0]}}if(t[i(179)])for(const[e,s]of t[i(179)])n[i(182)](e,s);const c=void 0===t[i(145)]?null:t[i(145)];return null!==c&&(n[i(192)]=()=>c),n}}[J(166)](t){const e=J,i=JSON[e(152)](t),s=this[e(198)][e(178)][e(203)][e(211)],n=new Z.ViewDocumentFragment(s,i[e(168)]((t=>this[e(154)](t,!0))));return this[e(198)][e(156)][e(181)](n)}[J(174)](t){const e=J;return(t=t[e(191)]((t=>!t[e(143)]||e(210)!==t[e(143)]&&e(159)!==t[e(143)])))[e(169)]((t=>{const i=e;i(204)!=typeof t&&(t[i(160)]=this[i(174)](t[i(160)]),t[i(188)]=t[i(188)][i(191)]((t=>!t[0][i(158)](i(146)))))})),t}}function X(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),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 M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(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=lt;function ot(){const t=["RealTimeCollaborationClient","createPositionBefore","_replaceEditorDataWithRevisionData","_generateTape","_handleMergeOperation","vid_start","_isPendingUpdate","dataDowncast","collaboration.channelId","editor","42224vhCosV","editor-initial-data-replaced-with-revision-data","getIndex","max","type","_handleRootAttributeOperation","getMovedRangeStart","creator","attachChange","getCurrentRevisionId","createElement","getData","insertion","_isInit","stringify","_setConversion","deletions","model","getRevisionRootsAttributes","_loadState","locale","revisionHistoryLicenseKeyInvalid","get","_setAttribute","newRange","toView","resolve","includes","isOfficialPlugin","getRange","childCount","destroy","range","start","_fixPosition","Initial revision","_licenseKeyCheckInterval","merge","update","_processRootBeforeSave","outerHTML","elementStart","updateRevisions","getUser","featureNotAllowed","innerHTML","rootName","attributesAfter","isAdd","source","1113620HyMdjl","reinsert","_lastFrom","getOperations","_reset","parent","vid_end","6212352dyIyFb","move","_getBaseVids","item","getTime","_getTypeCharForViewElement","push","createRevision","PENDING_ACTION_REVISION_HISTORY","targetPosition","requires","clear","RevisionHistory","roots","_handleInsertOperation","render","PendingActions","baseVersion","userId","usageLimit","insertionPosition","has","offset","invalid","for","_removePendingAction","_revisionId","_markers","_touched","revisionHistoryLicenseKeyEvaluationLimit","$graveyard","currentRevision","setRevisionData","RevisionHistoryUtils","4094748IWraAD","_lastTo","initialData","_createInitialRevision","dataToMarker","startsWith","nodes","_insertChild","nodeAfter","set","getRevision","addRootAttribute","sendBufferedUpdates","_loadedStateData","markers","sourcePosition","createRangeIn","marker","addRevisionData","conversion","some","_findInsertionIndex","authorsIds","remove","_idsRoots","vid","_bufferedUpdates","_getFromVersion","_createCurrentRevision","deletion","graveyardPosition","history","_makeRevision","data","text","_saveMetaData","_handleMarkerOperation","insert","reInit","tableCell","_handleRootOperation","getRootNames","trialLimit","_touchedRoots","expired","licenseKey","getOperation","hasContent","RevisionsRepository","createPositionAt","_handleOperation","revisionHistoryLicenseKeyTrialLimit","revisionHistoryLicenseKeyNotAllowed","changeRootAttribute","diffData","key","clone","authors","delete","getCustomProperties","_authorId","_getPreviousFrom","getRevisions","customProperties","_calculateMetaData","revisionHistoryLicenseKeyUsageLimit","revisionHistoryLicenseKeyDomainLimit","fromEntries","keys","revision:","_pendingAction","splitPosition","revisionHistoryLicenseKeyValid","_handleMoveOperation","end","markerToData","string","_utils","children","_startingRevisionId","_getViewJson","path","plugins","name","evaluationLimit","_clone","trim","_removeMetaData","ready","16gOMItF","repository","insertions","_makeModelFromViewString","$comment","revisionHistory.resumeUnsavedRevision","_getVidAttributeName","reverse","isPremiumPlugin","_getState","loadState","map","initial","_baseRoots","getWalker","NEGATIVE_INFINITY","domConverter","_startingVersion","revision","buildRevisionData","offsetSize","init","_isAttached","finally","createPositionFromPath","getChild","createPositionAfter","toVersion","getLatestVersion","detachRoot","createRange","_touchedMarkers","_bufferUpdate","_applyOperations","getAttributes","_markChanges","_fixRange","isEnabled","_showLicenseError","RevisionTracker","_cloneOperation","isAttached","uiElement","domainLimit","_continueCurrentRevision","Users","bind","define","previousPosition","_initialRevisionId","upcast","saveRevision","document","_update","getChildren","_createFromRanges","_source","getFillerOffset","_copyMarkers","creatorId","element","269118TtnvPI","htmlProcessor","filter","_prepareViewToSave","isReady","newValue","getAttribute","rootsAttributes","rawElement","_handleSplitOperation","find","_execute","getRevisionDocumentData","split","_makeIdsRoot","documentFragment","paragraph","attributesBefore","3XXMeRB","elementEnd","getAncestors","shift","isEqual","_diffRoots","_addPendingAction","domDocument","_fixOperation","_appendChild","root","version","afterInit","getTransformedByOperation","add","274631YNuyHr","adapter","keepParagraph","$text","position","loadRevisionData","fromVersion","sort","_savedMetaData","addRevision","fillerOffset","getRoot","Empty document","_baseRootsAttributes","_baseIdsRoots","revisionHistoryLicenseKeyExpired","getNodeByPath","howMany","length","_diffRootsAttributes","_transformMarkers","addRoot","values","then","_operations","affectsData","setSource","removeRootAttribute","oldRange","createdAt","config","slice","pluginName","from","2121474Jcvydi","size","_revisionDataBuilder","stickiness"];return(ot=function(){return t})()}!function(t){const e=lt,i=t();for(;;)try{if(543931===parseInt(e(422))/1+parseInt(e(167))/2*(-parseInt(e(440))/3)+-parseInt(e(181))/4+-parseInt(e(231))/5+parseInt(e(238))/6+-parseInt(e(133))/7*(-parseInt(e(361))/8)+parseInt(e(272))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class at extends W.Plugin{[rt(317)];[rt(217)];[rt(269)]=null;[rt(362)];[rt(134)]=null;[rt(169)];[rt(417)];[rt(410)];[rt(298)];[rt(349)];[rt(342)];[rt(405)];[rt(378)];[rt(285)];static get[rt(165)](){return rt(400)}static get[rt(209)](){return!0}static get[rt(369)](){return!0}static get[rt(248)](){return[H.Users,Y,Q,W.PendingActions]}constructor(e){const i=rt;super(e),this[i(362)]=this[i(180)][i(354)][i(203)](i(320)),this[i(349)]=this[i(180)][i(354)][i(203)](i(271)),this[i(169)]=new ct(this[i(180)]),this[i(410)]=this[i(180)][i(163)][i(203)](i(179))||i(373),this[i(298)]=new Map,this[i(285)]=null;const s=(0,t.uid)();this[i(417)]={history:this[i(180)][i(198)][i(413)][i(303)],getLatestVersion:()=>Promise[i(207)](this[i(180)][i(198)][i(413)][i(451)]),getCurrentRevisionId:()=>s},this[i(281)](i(426),!1),this[i(281)](i(398),!0),this[i(281)](i(177),!1),this[i(180)][i(163)][i(408)](i(366),!0),this[i(180)][i(291)][i(262)](i(411))[i(276)]({view:i(379)})}[rt(382)](){const t=rt;this[t(196)](),this[t(180)][t(305)].on(t(360),(()=>{const e=t,i=this[e(362)][e(282)](0),s=i&&null===i[e(188)]?i:null;if(this[e(405)]=!!s&&this[e(180)][e(163)][e(203)](e(366)),this[e(180)][e(354)][e(259)](e(171))){const t=this[e(417)][e(190)](),n=this[e(362)][e(282)](t);if(n)this[e(378)]=n[e(139)],this[e(405)]=!1;else{const t=this[e(417)][e(303)][e(157)][e(432)]((t=>!t[e(194)])),n=t?t[e(255)]:this[e(417)][e(303)][e(451)];i?(i[e(388)]<n&&i[e(414)]({toVersion:n}),this[e(405)]?(this[e(417)][e(190)]=()=>s.id,this[e(378)]=s[e(139)]):(this[e(378)]=i[e(388)],this[e(405)]=!1)):(this[e(378)]=n,this[e(405)]=!1)}}else s&&(this[e(180)][e(198)][e(413)][e(303)][e(451)]=Math[e(184)](s[e(388)],this[e(180)][e(198)][e(413)][e(303)][e(451)]),s[e(139)]===s[e(388)]?(0!==s[e(139)]&&(this[e(417)][e(190)]=()=>s.id),this[e(405)]=!1):this[e(405)]&&(this[e(417)][e(190)]=()=>s.id,this[e(378)]=s[e(139)])),this[e(405)]||(this[e(378)]=this[e(180)][e(198)][e(413)][e(451)]);this[e(169)][e(382)](this[e(417)][e(303)]),this[e(275)](this[e(378)]),this[e(300)](this[e(378)]),this[e(134)]&&this[e(284)]()})),this[t(407)](t(426)).to(this,t(177),(t=>!t)),this[t(317)]=this[t(180)][t(163)][t(203)](t(317));const e=this[t(180)];this[t(217)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(344)==r||i(202)==r||i(148)==r||i(338)==r||i(324)==r||i(267)==r||i(323)==r||i(337)==r){delete e[n],s=r,clearInterval(this[i(217)]),this[i(217)]=void 0;break}}i(202)==s&&e[i(399)](i(261)),i(148)==s&&e[i(399)](i(316)),i(338)==s&&e[i(399)](i(404)),i(324)==s&&e[i(399)](i(225),i(250)),i(267)==s&&e[i(399)](i(356)),i(323)==s&&e[i(399)](i(314)),i(337)==s&&e[i(399)](i(257))}),1e3)}async[rt(452)](){const t=rt;if(this[t(362)][t(151)]>0){const e=this[t(362)][t(282)](0),i=await this[t(434)](e),s=await this[t(199)](e);this[t(173)](i,s)}}[rt(212)](){const t=rt;super[t(212)](),this[t(217)]&&clearInterval(this[t(217)])}[rt(159)](t){this[rt(417)]=t}async[rt(219)](){const t=rt,e=await this[t(417)][t(389)]();if(e>this[t(269)][t(388)]){await this[t(200)]();const i=this[t(380)]({revision:this[t(269)],to:e});i[t(329)]=i[t(294)][t(372)]((e=>this[t(180)][t(354)][t(203)](t(406))[t(224)](e))),this[t(269)][t(414)](i)}}async[rt(412)](e={},i=null){const s=rt,n=[];await this[s(200)](),this[s(405)]=!1,i>this[s(269)][s(388)]&&(i=null),null===i&&(i=await this[s(417)][s(389)]());const r=this[s(299)](i),o=this[s(380)]({from:r,to:i});if(this[s(269)][s(388)]<i){const t=this[s(380)]({revision:this[s(269)],from:i,to:i});t[s(329)]=[],t[s(294)]=[],t.id=this[s(269)].id,this[s(269)][s(414)](t,!0),delete t[s(329)],n[s(244)](t)}e[s(420)]=this[s(180)][s(354)][s(203)](s(406)).me.id,e[s(355)]=e[s(355)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(290)](e);n[s(244)](e);const c=this[s(362)][s(183)](a);if(0!==c){const t=this[s(362)][s(282)](c-1);if(t[s(139)]!==i){const r=this[s(169)][s(192)](i,t[s(388)]),o={id:t.id,diffData:r[s(326)],authorsIds:r[s(294)],authors:r[s(294)][s(372)]((t=>this[s(180)][s(354)][s(203)](s(406))[s(224)](t))),fromVersion:i};t===this[s(269)]&&(o[s(162)]=new Date(e[s(162)][s(242)]()+10)),t[s(414)](o,!0),delete o[s(329)],n[s(244)](o)}}if(this[s(134)]){for(const t of n)this[s(393)](t.id,t,!0);this[s(284)]()}return a}[rt(290)](t){const e=rt,i=this[e(362)][e(245)](t);return this[e(134)]&&i.on(e(414),((t,i,s)=>{const n=e;s||(this[n(393)](i.id,i,!0),this[n(284)]())})),this[e(362)][e(142)](i,this[e(293)](i)),i}async[rt(434)](t){const e=rt;return await this[e(349)][e(138)](t,this[e(134)]),this[e(349)][e(434)](t)}async[rt(199)](t){const e=rt;return await this[e(349)][e(138)](t,this[e(134)]),this[e(349)][e(199)](t)}[rt(284)](){const t=rt;if(0===this[t(298)][t(168)])return;if(this[t(177)])return;let e=Array[t(166)](this[t(298)][t(155)]());this[t(298)][t(249)]();for(let i=0;i<e[t(151)];i++){const s=e[i];let n=!1;for(const e of Object[t(340)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(424)]((t=>null!==t)),!e[t(151)])return;for(let i=0;i<e[t(151)];i++){const s=e[i];void 0!==s[t(139)]&&void 0===s[t(388)]&&(s[t(388)]=this[t(362)][t(282)](s.id)[t(388)]),void 0!==s[t(388)]&&void 0===s[t(139)]&&(s[t(139)]=this[t(362)][t(282)](s.id)[t(139)])}const i=this[t(180)][t(163)][t(203)](t(179));this[t(177)]=!0,this[t(446)](),this[t(134)][t(223)](e,i)[t(384)]((()=>{this[t(177)]=!1}))[t(156)]((e=>{const i=t;if(e)for(const t of e)this[i(270)]({id:t.id,createdAt:t[i(162)]});this[i(263)](),this[i(284)]()}))}[rt(380)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(139)],i=null!==i?i:t[s(388)];const n=this[s(169)][s(192)](e,i),r={diffData:n[s(326)],authorsIds:n[s(294)],fromVersion:e,toVersion:i};if(!t||i!==t[s(388)]){const t=i-1,e=this[s(417)][s(303)][s(318)](t);r[s(162)]=e&&e[s(162)]||new Date}if(this[s(285)]&&e===this[s(285)][s(139)])for(const t of this[s(285)][s(329)])r[s(294)][s(208)](t.id)||r[s(294)][s(244)](t.id);return r}[rt(393)](t,e,i){const s=rt;if(this[s(298)][s(259)](t)){const n=this[s(298)][s(203)](t);e=i?{...n,...e}:{...e,...n}}this[s(298)][s(281)](t,e)}[rt(270)](t){const e=rt,i=this[e(362)][e(282)](t.id);if(t[e(162)]&&(t[e(162)]=new Date(t[e(162)])),t[e(294)]){const i=this[e(180)][e(354)][e(203)](e(406));t[e(329)]=t[e(294)][e(372)]((t=>i[e(224)](t)))}i[e(414)](t,!0)}[rt(275)](t){const e=rt,i=this[e(362)][e(282)](this[e(362)][e(151)]-1);if(i)this[e(410)]=i.id;else{const i=!this[e(180)][e(198)][e(413)][e(251)][e(432)]((t=>this[e(180)][e(198)][e(319)](t))),s=this[e(180)][e(354)][e(203)](e(406)).me.id,n=X(this[e(180)][e(201)],e(i?145:216));this[e(304)]({from:t,to:t,id:this[e(410)],name:n,creatorId:s})}}[rt(300)](t){const e=rt,i=this[e(417)][e(190)]();this[e(269)]=this[e(362)][e(282)](i),this[e(269)]||(this[e(269)]=this[e(304)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(200)](){const t=rt;this[t(405)]&&!this[t(285)]&&(await this[t(349)][t(138)](this[t(269)],this[t(134)]),this[t(169)][t(371)](this[t(269)]),this[t(285)]={fromVersion:this[t(269)][t(139)],authors:this[t(269)][t(329)][t(164)]()})}[rt(173)](e,i){const s=rt;let n=this[s(180)][s(163)][s(203)](s(274)),r=this[s(180)][s(163)][s(203)](s(429));if(void 0===n){n={};for(const t of this[s(180)][s(198)][s(413)][s(313)]())n[t]=""}if(s(348)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(180)][s(198)][s(413)][s(313)]())r[t]={}}let o=!1;const a=Object[s(340)](n),c=Object[s(340)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(358)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(340)](r[t])[s(151)]>0){o=!0;break}}o||(o=c[s(292)]((t=>!this[s(180)][s(198)][s(413)][s(144)](t)))),o&&(0,t.logWarning)(s(182),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(180)][s(163)][s(281)](s(274),e),this[s(180)][s(163)][s(281)](s(429),i)}[rt(446)](){const t=rt;if(!this[t(342)]){const e=this[t(180)][t(354)][t(203)](t(254));this[t(342)]=e[t(132)](X(this[t(180)][t(201)],t(246)))}}[rt(263)](){const t=rt;this[t(342)]&&(this[t(180)][t(354)][t(203)](t(254))[t(295)](this[t(342)]),this[t(342)]=null)}[rt(293)](t){const e=rt,i=this[e(362)][e(334)]();i[e(368)]();let s=0;for(;s<i[e(151)];){const n=i[s];if(n===this[e(269)]){s++;continue}if(n.id===this[e(410)])break;const r=t[e(388)]-n[e(388)]||t[e(139)]-n[e(139)];if(r>0)break;if(r<0)s++;else{if(!t[e(188)]&&n[e(188)])break;if(n[e(188)]||!t[e(188)]){if(t[e(162)]>n[e(162)])break;s++}else s++}}return s}[rt(299)](t){const e=rt,i=this[e(362)][e(334)]();i[e(368)](),i[e(443)]();const s=i[e(432)]((i=>i[e(388)]<=t))[e(388)];return s<this[e(378)]?this[e(378)]:s}[rt(304)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(380)]({from:e,to:i});o[r(355)]=t,o[r(420)]=s,o.id=n;const a=this[r(290)](o);return this[r(134)]&&this[r(393)](o.id,o,!0),a}[rt(196)](){const t=rt;this[t(180)][t(291)][t(262)](t(178))[t(347)]({model:t(379)})}}class ct{[rt(180)];[rt(230)];[rt(141)];[rt(233)];[rt(273)];[rt(265)];[rt(445)];[rt(152)];[rt(374)];[rt(146)];[rt(296)];[rt(147)];[rt(266)];[rt(392)];[rt(315)];[rt(264)];[rt(351)];constructor(t){const e=rt;this[e(180)]=t,this[e(141)]=new Map,this[e(233)]=-1,this[e(273)]=-1,this[e(265)]=new Map,this[e(445)]=new Map,this[e(152)]=new Map,this[e(374)]=new Map,this[e(146)]=new Map,this[e(296)]=new Map,this[e(147)]=new Map,this[e(266)]=new Map,this[e(392)]=new Map,this[e(315)]=new Map,this[e(264)]=1}[rt(382)](t){const e=rt;this[e(230)]=t;const i=new Map,s=new Map,n=this[e(180)][e(198)][e(413)][e(251)][e(372)]((t=>t[e(227)]));for(const t of n){const n=this[e(180)][e(198)][e(413)][e(144)](t),r=ut(n);i[e(281)](t,r),s[e(281)](t,Object[e(339)](n[e(395)]()))}const r=Array[e(166)](this[e(180)][e(198)][e(286)])[e(372)]((t=>[t[e(355)],t[e(210)]()])),o=this[e(230)][e(451)];this[e(307)](o,i,r,s),this[e(351)]=this[e(264)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(281)](t,i),c[e(281)](t,{})}this[e(307)](Number[e(376)],a,[],c)}[rt(192)](t,e){const i=rt;if(this[i(233)]===t&&this[i(273)]<=e)this[i(141)][i(168)]>1&&this[i(359)](this[i(273)]),this[i(394)](this[i(273)],e,!0);else{if(!this[i(141)][i(259)](t)){const e=this[i(333)](t);this[i(336)](e,t,!1)}this[i(336)](t,e,!0)}return this[i(233)]=t,this[i(273)]=e,this[i(370)]()}[rt(371)](t){const e=rt,i=this[e(180)][e(354)][e(203)](e(271));this[e(235)](),this[e(233)]=t[e(139)],this[e(273)]=t[e(388)];for(const s in t[e(326)]){const n=t[e(326)][s][e(189)],r=R(t[e(326)][s][e(439)])||{},o=i[e(364)](t[e(326)][s][e(197)]);o[e(227)]=s,o[e(383)]=!n||!n[e(402)],o[e(402)]=()=>o[e(383)],this[e(374)][e(281)](s,o),this[e(146)][e(281)](s,r),n&&this[e(315)][e(281)](s,n);const a=this[e(436)](o);this[e(147)][e(281)](s,a);for(const[t,i]of o[e(286)]){if(!t[e(277)](e(341)))continue;const s=t[e(435)](":")[2];for(const t of i[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),n=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)],r=a[e(149)](n)[e(428)](i);this[e(266)][e(281)](r,{userId:s})}}}this[e(351)]=this[e(264)];const s=[...Array(this[e(264)])[e(340)]()][e(164)](1)[e(424)]((t=>!this[e(266)][e(259)](t)));let n=0;const r=new Map;for(const o in t[e(326)]){const a=t[e(326)][o][e(189)],c=R(t[e(326)][o][e(228)])||{},u=i[e(364)](t[e(326)][o][e(363)]);u[e(227)]=o,u[e(383)]=!a||a[e(402)],u[e(402)]=()=>u[e(383)],this[e(445)][e(281)](o,u),this[e(152)][e(281)](o,c);const l=this[e(436)](u,Number[e(376)]);this[e(296)][e(281)](o,l),r[e(281)](o,u[e(402)]()?c:{});for(const[t,i]of u[e(286)]){if(!t[e(277)](e(341)))continue;const s=t[e(435)](":")[2];for(const t of i[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),n=this[e(264)]++,r=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)];l[e(149)](r)[e(204)](i,n),this[e(266)][e(281)](n,{userId:s})}}for(const t of this[e(180)][e(198)][e(288)](u)[e(375)]({singleCharacters:!0})){const i=this[e(367)](t),r=e(441)==t[e(185)]?t[e(409)][e(353)][e(164)](0,-1):t[e(409)][e(353)],o=l[e(149)](r);o[e(428)](i)>0||o[e(204)](i,s[n++])}for(const[t,i]of u[e(286)])t[e(277)](e(341))||this[e(265)][e(281)](t,i)}const o=ht(e(268));this[e(374)][e(281)](e(268),o),this[e(147)][e(281)](e(268),this[e(436)](o,1));const a=ht(e(268));this[e(445)][e(281)](e(268),a),this[e(296)][e(281)](e(268),this[e(436)](a,1));const c=Array[e(166)](this[e(445)])[e(372)]((([t,e])=>[t,ut(e)]));this[e(307)](this[e(273)],c,this[e(265)],r)}[rt(310)](){const t=rt;this[t(235)](),this[t(233)]=-1,this[t(273)]=-1,this[t(141)][t(249)](),this[t(382)](this[t(230)])}[rt(307)](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(281)](t,{start:e[n(214)][n(328)](),end:e[n(346)][n(328)](),rootName:e[n(450)][n(227)]});this[n(141)][n(281)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(359)](t){const e=rt;this[e(141)][e(330)](t)}[rt(235)](){const t=rt;this[t(266)][t(249)](),this[t(392)][t(249)](),this[t(315)][t(249)](),this[t(445)][t(249)](),this[t(152)][t(249)](),this[t(374)][t(249)](),this[t(146)][t(249)](),this[t(296)][t(249)](),this[t(147)][t(249)](),this[t(265)][t(249)](),this[t(264)]=1,this[t(351)]=this[t(264)]}[rt(436)](t,e=null){const i=rt;let s=null;t.is(i(437))||(s=new Z.Element(t[i(355)],{vid_start:null===e?this[i(264)]++:e++}));const n=[];for(const s of t[i(415)]())if(s.is(i(421))){n[i(244)](this[i(436)](s,e));const t=n[n[i(151)]-1];null!==e&&(e=t.is(i(421),i(136))?t[i(428)](i(297))+1:t[i(428)](i(237))+1)}else for(let t=0;t<s[i(381)];t++)n[i(244)](new Z.Element(i(136),{vid:null===e?this[i(264)]++:e++}));if(t.is(i(437))){const e=ht(t[i(227)]);return e[i(279)](0,n),e}return s[i(204)](i(237),null===e?this[i(264)]++:e++),s[i(279)](0,n),s}[rt(336)](t,e,i){const s=rt;this[s(235)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(141)][s(203)](t);this[s(374)]=new Map(n),this[s(146)]=new Map(R(o));for(const[t,e]of this[s(374)])if(s(268)!==t&&(this[s(445)][s(281)](t,ut(e)),this[s(152)]=new Map(R(o)),i)){const i=this[s(264)];this[s(296)][s(281)](t,this[s(436)](e)),this[s(147)][s(281)](t,this[s(436)](e,i))}this[s(351)]=this[s(264)],this[s(445)][s(281)](s(268),ut(this[s(374)][s(203)](s(268)))),i&&this[s(296)][s(281)](s(268),this[s(436)](this[s(374)][s(203)](s(268))));for(const[t,e]of r){const i=this[s(374)][s(203)](e[s(227)]),n=this[s(445)][s(203)](e[s(227)]),r=new Z.Range(this[s(215)](e[s(214)],i),this[s(215)](e[s(346)],i)),o=this[s(397)](r,n);i[s(286)][s(281)](t,r),this[s(265)][s(281)](t,o)}this[s(394)](t,e,i)}[rt(394)](t,e,i){const s=rt;for(const n of this[s(230)][s(234)](t,e))this[s(322)](n,i);for(const t of this[s(445)][s(155)]())t[s(286)][s(249)]();for(const[t,e]of this[s(265)])this[s(445)][s(203)](e[s(450)][s(227)])[s(286)][s(281)](t,e[s(328)]());const n=new Map,r=new Map;for(const[t,e]of this[s(445)])n[s(281)](t,ut(e)),r[s(281)](t,this[s(152)][s(203)](t));this[s(307)](e,n,this[s(265)],r)}[rt(333)](t){const e=rt,i=Array[e(166)](this[e(141)][e(340)]());i[e(140)](((t,e)=>t-e)),i[e(368)]();for(const e of i)if(e<t)return e;return Number[e(376)]}[rt(419)](t,e){const i=rt,s=Array[i(166)](e[i(286)])[i(372)]((([e,s])=>[e,this[i(397)](s,t)]));t[i(286)]=new Map(s)}[rt(153)](t){const e=rt;for(const i of this[e(265)][e(155)]()){const s=i[e(453)](t),n=Z.Range[e(416)](s);i[e(214)]=n[e(214)],i[e(346)]=n[e(346)]}}[rt(322)](t,e){const i=rt;if(i(154)!=t[i(185)]&&i(390)!=t[i(185)]){if(i(309)==t[i(185)]){const s=t[i(137)][i(450)][i(227)];this[i(445)][i(259)](s)||(this[i(445)][i(281)](s,ht(s,!0)),this[i(152)][i(281)](s,{}),e&&this[i(296)][i(281)](s,ht(s,!0)))}else{if(i(283)==t[i(185)]||i(160)==t[i(185)]||i(325)==t[i(185)])return void this[i(186)](t);i(289)==t[i(185)]&&this[i(308)](t)}if(i(289)!==t[i(185)]){const e=this[i(401)](t,this[i(445)]);e[i(433)](),this[i(153)](e)}if(e)switch(t[i(185)]){case i(309):this[i(252)](t);break;case i(239):case i(295):case i(232):this[i(345)](t);break;case i(218):this[i(175)](t);break;case i(435):this[i(431)](t)}}else this[i(312)](t,e)}[rt(401)](t,e){const i=rt,s=t[i(328)]();return s[i(332)]=t[i(332)],this[i(448)](s,e),s}[rt(240)](t){const e=rt;return t[e(372)]((t=>{const i=e,s=this[i(367)](t);return Number(t[i(241)][i(428)](s))}))}[rt(174)](t,e){const i=rt;if(t.is(i(421),i(136)))e[i(244)]({item:t,type:i(306)});else{t.is(i(421))&&e[i(244)]({item:t,type:i(222)});for(const s of t[i(415)]())this[i(174)](s,e);t.is(i(421))&&e[i(244)]({item:t,type:i(441)})}return e}[rt(370)](){const t=rt,e=new Map(this[t(266)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(374)][t(340)](),...this[t(445)][t(340)]()]);a[t(330)](t(268));for(const e of a){const i=this[t(445)][t(203)](e)||ht(e,!1),s=this[t(374)][t(203)](e)||ht(e,!1);i[t(402)]()||s[t(402)]()?(n[t(363)][e]=ut(i),n[t(197)][e]=ut(s),this[t(419)](n[t(197)][e],s),this[t(419)](n[t(363)][e],i),r[t(363)][e]=this[t(174)](this[t(296)][t(203)](e),[]),r[t(197)][e]=this[t(174)](this[t(147)][t(203)](e)||ht(e,!1),[])):a[t(330)](e)}for(const n of a){const o=r[t(363)][n];for(const n of o){const r=this[t(367)](n),o=n[t(241)][t(428)](r);i[t(330)](o),o>=this[t(351)]&&s[t(281)](o,e[t(203)](o))}}for(const n of a){const a=r[t(363)][n],c=this[t(240)](r[t(197)][n]);let u=0;for(const n of a){const r=this[t(367)](n),a=n[t(241)][t(428)](r);if(!s[t(259)](a)&&!o[t(259)](a))if(i[t(259)](a))u++;else{if(a!=c[u]){const s=e[t(203)](a)||e[t(203)](c[u]);for(;a!=c[u];)i[t(259)](c[u])||(o[t(281)](c[u],s),e[t(281)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(363)][e];for(const e of n){const n=this[t(367)](e),r=e[t(241)][t(428)](n);if(o[t(259)](r)){const e=o[t(203)](r);i[t(259)](r)||i[t(281)](r,{...e}),s[t(281)](r,{...e})}}}for(const e of i[t(340)]())e>=this[t(351)]&&i[t(330)](e);const c=new Map;for(const e of a){let n=r[t(363)][e];for(const e of n)if(e[t(241)].is(t(421),t(311))){const i=this[t(367)](e),n=e[t(241)][t(428)](i);if(s[t(259)](n)){const i=e[t(241)][t(236)][t(236)][t(428)](t(176)),r=c[t(203)](i)||new Set;r[t(132)](s[t(203)](n)[t(256)]),c[t(281)](i,r)}}n=r[t(197)][e];for(const e of n)if(e[t(241)].is(t(421),t(311))){const s=this[t(367)](e),n=e[t(241)][t(428)](s);if(i[t(259)](n)){const s=e[t(241)][t(236)][t(236)][t(428)](t(176)),r=c[t(203)](s)||new Set;r[t(132)](i[t(203)](n)[t(256)]),c[t(281)](s,r)}}for(const e of c[t(340)]())(s[t(259)](e)||i[t(259)](e))&&c[t(330)](e)}for(const e of a){const n=r[t(363)][e];let o=null,a=null;for(const e of n){const n=this[t(367)](e),r=e[t(241)][t(428)](n),u=c[t(203)](r);u&&t(222)==e[t(185)]&&(o=Array[t(166)](u)[0],a=e[t(241)][t(428)](t(237))),o&&(i[t(281)](r,{userId:o}),s[t(281)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(197)][e],a=n[t(363)][e];for(const{userId:e}of this[t(392)][t(155)]())null!==e&&l[t(132)](e);for(const{userId:e}of this[t(315)][t(155)]())null!==e&&l[t(132)](e);this[t(396)](a,r[t(363)][e],s,t(193),l),this[t(396)](o,r[t(197)][e],i,t(301),l),u[e]={insertions:this[t(425)](a),deletions:this[t(425)](o),attachChange:this[t(315)][t(203)](e)||null,attributesBefore:R(this[t(146)][t(203)](e))||{},attributesAfter:R(this[t(152)][t(203)](e))}}return{diffData:u,authorsIds:Array[t(166)](l)}}[rt(220)](t){const e=rt;for(const[,i]of t[e(286)]){const t=i[e(214)][e(442)]()[e(424)]((t=>e(311)==t[e(355)]));for(const i of t)1==i[e(211)]&&i[e(386)](0).is(e(421),e(438))&&i[e(386)](0)[e(204)](e(135),!0)}}[rt(425)](t){const e=rt;this[e(220)](t);const i=this[e(180)][e(305)][e(206)](t,{}),s=Array[e(166)](i[e(415)]())[e(372)]((t=>this[e(352)](t)));return JSON[e(195)](s)}[rt(352)](t){const e=rt;if(t.is(e(136)))return t[e(305)];{const i=this[e(180)][e(354)][e(203)](e(271)),s=t,n=this[e(180)][e(305)][e(423)][e(377)],r={type:i[e(243)](s),name:s[e(355)],attributes:Array[e(166)](s[e(395)]()),children:Array[e(166)](s[e(415)]())[e(372)]((t=>this[e(352)](t)))};if(t.is(e(403))&&e(365)!=t[e(355)]){const i=t[e(253)](n[e(447)],n);r[e(350)][e(244)](i[e(221)])}else if(t.is(e(430))){const i=n[e(447)][e(191)](s[e(355)]);t[e(253)](i,n),r[e(350)][e(244)](i[e(226)])}const o=Array[e(166)](s[e(331)]());o[e(151)]>0&&(r[e(335)]=o);const a=s[e(418)]();return null!==a&&(r[e(143)]=a),r}}[rt(396)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(180)][r(198)];for(let s=0;s<e[r(151)];s++){const n=this[r(367)](e[s]),c=e[s][r(241)][r(428)](n),h=i[r(203)](c),d=s==e[r(151)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(256)]!=o[r(256)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(256)],d=l(341)+s+":"+h+":"+c++,f=u[l(391)](i,a);t[l(286)][l(281)](d,f),null!==h&&n[l(132)](h)}}[rt(367)](t){const e=rt;switch(t[e(185)]){case e(222):return e(176);case e(441):return e(237);default:return e(297)}}[rt(448)](t,e){const i=rt;t[i(255)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(203)](n[i(450)][i(227)]);t[s]=this[i(215)](n,r)}if(n instanceof Z.Range){const r=e[i(203)](n[i(450)][i(227)]);t[s]=this[i(397)](n,r)}i(450)===s&&(t[i(450)]=e[i(203)](t[i(450)][i(227)]))}}[rt(397)](t,e){const i=rt;return this[i(180)][i(198)][i(391)](this[i(215)](t[i(214)],e),this[i(215)](t[i(346)],e))}[rt(215)](t,e){const i=rt;return this[i(180)][i(198)][i(385)](e,t[i(353)],t[i(170)])}[rt(252)](t){const e=rt,i=this[e(296)][e(203)](t[e(137)][e(450)][e(227)]),s=this[e(215)](t[e(137)],i),n=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,r=s[e(236)],o=this[e(264)],a=[];for(const i of t[e(278)])if(i.is(e(421)))a[e(244)](this[e(436)](i));else for(let t=0;t<i[e(381)];t++)a[e(244)](new Z.Element(e(136),{vid:this[e(264)]++}));const c=this[e(264)];for(let t=o;t<c;t++)this[e(266)][e(281)](t,{userId:n});r[e(279)](s[e(260)],a)}[rt(345)](t){const e=rt;(t=this[e(401)](t,this[e(296)]))[e(433)]();const i=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(187)](),n=s[e(236)],r=s[e(260)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(386)](e);r.is(a(421),a(136))?s[a(281)](r[a(428)](a(297)),{userId:i}):(s[a(281)](r[a(428)](a(176)),{userId:i}),t(s,r,0,r[a(211)]),s[a(281)](r[a(428)](a(237)),{userId:i}))}}(this[e(266)],n,r,r+t[e(150)])}[rt(175)](t){const e=rt,i=null===(t=this[e(401)](t,this[e(296)]))[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(247)][e(236)],n=t[e(287)][e(236)],r=s[e(428)](e(237)),o=n[e(428)](e(176));s[e(204)](e(237),n[e(428)](e(237))),n[e(204)](e(237),r),this[e(266)][e(281)](o,{userId:i}),this[e(266)][e(281)](r,{userId:i}),t[e(433)]()}[rt(431)](t){const e=rt,i=null===(t=this[e(401)](t,this[e(296)]))[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,s=t[e(302)],n=t[e(343)][e(236)];t[e(433)]();const r=n[e(428)](e(237)),o=t[e(258)][e(280)];if(s){const t=o[e(428)](e(237)),s=n[e(428)](e(237));n[e(204)](e(237),t),o[e(204)](e(237),s),this[e(266)][e(281)](n[e(428)](e(237)),{userId:i}),this[e(266)][e(281)](o[e(428)](e(176)),{userId:i})}else{const t=this[e(264)]++,s=this[e(264)]++;n[e(204)](e(237),t),o[e(204)](e(176),s),o[e(204)](e(237),r),this[e(266)][e(281)](t,{userId:i}),this[e(266)][e(281)](s,{userId:i})}}[rt(308)](t){const e=rt;if(!t[e(158)])return;const i=(t=this[e(401)](t,this[e(445)]))[e(161)]?t[e(161)][e(450)]:null,s=t[e(205)]?t[e(205)][e(450)]:null;i&&this[e(265)][e(330)](t[e(355)]),s&&this[e(265)][e(281)](t[e(355)],t[e(205)][e(328)]());const n=null===t[e(332)]?null:t[e(332)]||this[e(180)][e(354)][e(203)](e(406)).me.id,r=t[e(355)];if(!this[e(392)][e(259)](r))return void this[e(392)][e(281)](r,{range:t[e(161)],userId:n});const o=this[e(392)][e(203)](r),a=o[e(213)],c=t[e(205)];null==a&&null==c||a&&c&&a[e(444)](c)?this[e(392)][e(330)](t[e(355)]):o[e(256)]=n}[rt(312)](t,e){const i=rt;this[i(445)][i(259)](t[i(227)])?this[i(445)][i(203)](t[i(227)])[i(383)]=t[i(229)]:(this[i(445)][i(281)](t[i(227)],ht(t[i(227)],!0)),this[i(152)][i(281)](t[i(227)],{}),e&&this[i(296)][i(281)](t[i(227)],ht(t[i(227)],!0)));const s=null===t[i(332)]?null:t[i(332)]||this[i(180)][i(354)][i(203)](i(406)).me.id,n=this[i(315)][i(203)](t[i(227)]);n&&n[i(256)]===s?this[i(315)][i(330)](t[i(227)]):this[i(315)][i(281)](t[i(227)],{userId:s,isAttached:t[i(229)]})}[rt(186)](t){const e=rt,i=this[e(152)][e(203)](t[e(450)][e(227)]);null===t[e(427)]?delete i[t[e(327)]]:i[t[e(327)]]=t[e(427)]}}function ut(t){const e=rt,i=ht(t[e(227)],t[e(402)]());for(const s of t[e(415)]()){const t=s[e(357)](!0);i[e(449)](t)}return i}function lt(t,e){const i=ot();return(lt=function(t,e){return i[t-=132]})(t,e)}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(227)]=t,s[i(383)]=e,s[i(402)]=()=>s[i(383)],s}function dt(t,e,i){const s=rt,n=s(441)==t[s(185)]?i[s(321)](t[s(241)],s(346)):i[s(172)](t[s(241)]);return i[s(385)](e,n[s(353)],n[s(170)])}function ft(t,e,i){const s=rt,n=s(222)==t[s(185)]?i[s(321)](t[s(241)],0):i[s(387)](t[s(241)]);return i[s(385)](e,n[s(353)],n[s(170)])}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=Vt;function Vt(t,e){const i=Mt();return(Vt=function(t,e){return i[t-=155]})(t,e)}function Mt(){const t=["form","keystrokes","errorText","revisionNameInputView","set","arrowleft","96tBtgbP","1006250wJEUAG","25510199MHRihp","reset","revisionNameInputValue","optional","1517211nfWdHr","focusTracker","40BsLKOQ","ck-revision-history-save-revision-form","29470wuZvpK","1377796HIpIPz","_createRevisionNameInput","28TKmqkD","focus","add","fieldView","value","arrowright","input","ck-responsive-form","element","21219xIkTVz","arrowup","stopPropagation","revisionName","53fbIGMN","trim","16295unmQAG","label","render","extendTemplate","220","arrowdown","locale","Name of the revision","setTemplate","listenTo"];return(Mt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(601689===-parseInt(e(187))/1*(parseInt(e(171))/2)+-parseInt(e(183))/3*(parseInt(e(174))/4)+-parseInt(e(189))/5*(-parseInt(e(161))/6)+-parseInt(e(172))/7+-parseInt(e(169))/8*(parseInt(e(167))/9)+parseInt(e(162))/10+parseInt(e(163))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Et extends pt.View{[Rt(168)];[Rt(156)];[Rt(158)];constructor(e,i){const s=Rt;super(e),this[s(168)]=new t.FocusTracker,this[s(156)]=new t.KeystrokeHandler,this[s(159)](s(165),""),this[s(158)]=this[s(173)](i),this[s(197)]({tag:s(155),attributes:{class:["ck",s(170),s(181)],tabindex:"-1"},children:[this[s(158)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(191)](){const t=Rt;super[t(191)](),(0,pt.submitHandler)({view:this}),this[t(168)][t(176)](this[t(158)][t(182)]),this[t(156)][t(198)](this[t(182)]);const e=e=>e[t(185)]();this[t(156)][t(159)](t(179),e),this[t(156)][t(159)](t(160),e),this[t(156)][t(159)](t(184),e),this[t(156)][t(159)](t(194),e)}[Rt(175)](){const t=Rt;this[t(158)][t(175)]()}get[Rt(186)](){const t=Rt;return this[t(158)][t(177)][t(182)][t(178)][t(188)]()}set[Rt(186)](t){const e=Rt;this[e(158)][e(177)][e(182)][e(178)]=t[e(188)]()}[Rt(164)](){const t=Rt;this[t(158)][t(177)][t(182)][t(178)]="",this[t(158)][t(157)]=null}[Rt(173)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(195)],pt.createLabeledInputText),s=i[e(177)];s[e(192)]({attributes:{maxlength:e(193)}});let n=X(this[e(195)],e(196));return!t&&(n+=" ("+X(this[e(195)],e(166))+")"),i[e(190)]=n,s.on(e(180),(()=>{const t=e;this[t(165)]=s[t(182)][t(178)][t(188)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=402]})(t,e)}function Ft(){const t=["hide","The revision name cannot be empty.","isReadOnly","children","Save current revision","_registerMenuComponent","1014666ovlAcx","view","focus","submit","_saveRevisionFormView","2jbiPsI","editing","items","menuitem","172827rkkrJR","reset","revisionHistory.requireRevisionName","buttonView","7585438eKBSMs","99iaAzrS","execute","Cancel","editor","config","show","35xhpYPL","revisionSave","Dialog","isOfficialPlugin","showRevisionViewerCallback","Accept","isEnabled","_createSaveRevisionFormView","menu","init","locale","menuBar:revisionHistory","ck-button-action","errorText","revisionName","136DvybFY","_showDialog","saveRevision","isReady","revisionNameInputView","bind","isOpen","panelView","isPremiumPlugin","1681272esyXER","693078XLfCEN","add","Open revision history","render","get","RevisionHistoryUI","revisionHistory","2763780iEBZKR","componentFactory","addMany","plugins","117708cVqYxP","pluginName","delegate","RevisionTracker","Revision history","role","requires","set"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(552592===parseInt(e(461))/1+parseInt(e(466))/2*(parseInt(e(447))/3)+parseInt(e(435))/4+parseInt(e(411))/5*(parseInt(e(436))/6)+parseInt(e(404))/7+parseInt(e(426))/8*(-parseInt(e(470))/9)+-parseInt(e(443))/10*(parseInt(e(405))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends W.Plugin{static get[Dt(448)](){return Dt(441)}static get[Dt(414)](){return!0}static get[Dt(434)](){return!0}static get[Dt(453)](){return[at]}[Dt(465)];[Dt(420)](){const t=Dt,e=this[t(408)],i=e[t(446)][t(440)](t(450));e.ui[t(444)][t(437)](t(442),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(433)][n(458)],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(431)](n(417)).to(i,n(429),i,n(417),e,n(457),((t,e,i)=>t&&e&&!i)),r[n(403)][n(454)]({icon:mt.IconHistory,label:X(s,n(451)),tooltip:!0}),u[n(454)]({label:X(s,n(459)),withText:!0,role:n(469)}),u[n(431)](n(417)).to(i,n(429),i,n(417),e,n(457),((t,e,i)=>t&&e&&!i)),u.on(n(406),(()=>this[n(427)]())),h[n(454)]({label:X(s,n(438)),withText:!0,role:n(469)}),h[n(431)](n(417)).to(i,n(429),e,n(457),((t,e)=>t&&!e)),h.on(n(406),(()=>{const t=n;e[t(409)][t(440)](t(442))[t(415)](),r[t(432)]=!1,e[t(467)][t(462)][t(463)]()})),c[n(458)][n(437)](u),l[n(458)][n(437)](h),a[n(452)]=n(419),a[n(468)][n(445)]([c,l]),o[n(437)](a),r})),e.ui[t(444)][t(437)](t(422),(()=>this[t(460)]()))}[Dt(460)](){const t=Dt,e=this[t(408)],i=e[t(421)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(403)][t(454)]({icon:mt.IconHistory,label:X(i,t(451))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(454)]({label:X(i,t(459))}),o[t(449)](t(406)).to(s),o.on(t(406),(()=>{this[t(427)]()})),r[t(458)][t(437)](o),n[t(468)][t(437)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(454)]({label:X(i,t(438))}),c[t(449)](t(406)).to(s),c.on(t(406),(()=>{const i=t;e[i(409)][i(440)](i(442))[i(415)]()})),a[t(458)][t(437)](c),n[t(468)][t(437)](a),s[t(433)][t(458)][t(437)](n),s}[Dt(427)](){const t=Dt,e=this[t(408)],i=e[t(421)],s=e[t(446)][t(440)](t(413)),n=e[t(446)][t(440)](t(450));function r(n){const r=t;e[r(409)][r(440)](r(402))&&""===n[r(425)]?n[r(430)][r(424)]=X(i,r(456)):(e[r(446)][r(440)](at)[r(428)]({name:n[r(425)]}),s[r(455)]())}this[t(465)]||(this[t(418)](),this[t(465)].on(t(464),(()=>r(this[t(465)])))),this[t(465)][t(471)](),s[t(410)]({id:t(412),title:X(i,t(459)),isModal:!0,content:this[t(465)],actionButtons:[{label:X(e[t(421)],t(407)),withText:!0,onExecute:()=>s[t(455)]()},{label:X(e[t(421)],t(416)),class:t(423),withText:!0,onCreate(i){const s=t;i[s(431)](s(417)).to(n,s(429),n,s(417),e,s(457),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(465)])}]})}[Dt(418)](){const t=Dt,e=this[t(408)],i=e[t(421)];this[t(465)]=new Et(i,e[t(409)][t(440)](t(402))),this[t(465)][t(439)]()}}const jt=zt;!function(t){const e=zt,i=t();for(;;)try{if(664263===parseInt(e(302))/1+parseInt(e(310))/2+-parseInt(e(316))/3+parseInt(e(296))/4*(-parseInt(e(306))/5)+-parseInt(e(299))/6*(-parseInt(e(305))/7)+-parseInt(e(311))/8+parseInt(e(323))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Pt extends pt.View{[jt(313)];[jt(298)];constructor(t,e){const i=jt;super(t),this[i(298)]=e,this[i(313)]=e.id;const s=this[i(322)],n=X(t,e[i(297)][i(303)]?i(308):i(315)==e[i(319)]?i(324):i(307));this[i(300)](i(319),e[i(319)]),this[i(301)]({tag:i(304),attributes:{class:[i(318),i(317),s.to(i(319),(t=>i(320)+t))],tabindex:-1},children:[{tag:i(312),children:[{tag:i(312),attributes:{class:[i(321)]},children:[{text:n}]},{text:" "+e[i(314)][i(294)]}]}]})}[jt(309)](){const t=jt;this[t(295)][t(309)]()}}function zt(t,e){const i=Ut();return(zt=function(t,e){return i[t-=294]})(t,e)}function Ut(){const t=["50pkVbSx","Removed by","Suggested by","focus","687332bQBDrS","6706696OlSzbz","span","changeId","author","add","3189498nmDLnN","ck-revision-change","ck-annotation","type","ck-revision-change__","ck-revision-change__label","bindTemplate","14349987GneuUX","Added by","name","element","433084sYAaff","data","_model","3438eyftpp","set","setTemplate","1046833mdIJpV","isSuggestion","div","8106ShzPgY"];return(Ut=function(){return t})()}var Wt=Zt;function Ht(){var t=["createdAt","926520ghPjpU","author","988631nbfVNB","rootName","set","1717986ednXVL","68148BNtPcp","type","184VzxIhB","1968105fQTCnp","1449684bHHFhE","toJSON","6rmfBGJ","3062736cyxZgy","data"];return(Ht=function(){return t})()}function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=372]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(551396===parseInt(e(373))/1+parseInt(e(376))/2+-parseInt(e(384))/3+-parseInt(e(381))/4+parseInt(e(380))/5*(parseInt(e(383))/6)+-parseInt(e(387))/7+parseInt(e(379))/8*(-parseInt(e(377))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Bt extends((0,t.ObservableMixin)()){id;[Wt(372)];[Wt(378)];[Wt(385)];[Wt(374)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(372)]=e[i(372)],this[i(378)]=e[i(378)],this[i(385)]=e[i(385)]||{},this[i(374)]=e[i(374)],this[i(375)](i(386),e[i(386)])}[Wt(382)](){var t=Wt;return{id:this.id,authorId:this[t(372)].id,type:this[t(378)],data:this[t(385)],createdAt:this[t(386)]}}}const $t=Yt;function qt(){const t=["2202842sCouxT","2403441knPNlS","762nXucnh","_setChanges","changes","oldRevisionId","32KyBnhW","add","33JdkQbj","3xgkJUk","2068927mbXAFL","3913540evHJhj","36185CImWza","655496PGzGnG","278520EQDZwx","newRevisionId"];return(qt=function(){return t})()}function Yt(t,e){const i=qt();return(Yt=function(t,e){return i[t-=265]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(656389===parseInt(e(279))/1+parseInt(e(266))/2+-parseInt(e(275))/3*(-parseInt(e(280))/4)+-parseInt(e(278))/5*(-parseInt(e(268))/6)+parseInt(e(276))/7*(-parseInt(e(272))/8)+parseInt(e(267))/9+parseInt(e(277))/10*(-parseInt(e(274))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Jt{[$t(265)];[$t(271)];[$t(270)];constructor(e,i){const s=$t;this[s(265)]=e,this[s(271)]=i,this[s(270)]=new t.Collection}[$t(269)](t){const e=$t;for(const i of t)this[e(270)][e(273)](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 Qt=Xt;function Xt(t,e){const i=se();return(Xt=function(t,e){return i[t-=271]})(t,e)}!function(t){const e=Xt,i=t();for(;;)try{if(752378===parseInt(e(560))/1+-parseInt(e(334))/2*(parseInt(e(280))/3)+parseInt(e(414))/4*(parseInt(e(469))/5)+parseInt(e(405))/6+-parseInt(e(300))/7*(-parseInt(e(423))/8)+-parseInt(e(319))/9*(parseInt(e(311))/10)+parseInt(e(475))/11*(-parseInt(e(557))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class te extends W.Plugin{[Qt(486)];[Qt(331)]=null;[Qt(528)];[Qt(578)];[Qt(292)];[Qt(465)];[Qt(452)];static get[Qt(575)](){return Qt(492)}static get[Qt(402)](){return!0}static get[Qt(597)](){return!0}static get[Qt(550)](){return[H.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(486)]=this[e(424)][e(349)][e(558)](e(562)),this[e(528)]=this[e(424)][e(349)][e(558)](e(428)),this[e(427)](e(297),null),this[e(427)](e(598),null),this[e(578)]=null,this[e(427)](e(542),null),this[e(427)](e(312),!1),this[e(427)](e(459),!0),this.on(e(529),((t,i,s)=>{const n=e;this[n(297)]=null,this[n(598)]=null,this[n(424)][n(274)][n(476)][n(330)]((t=>{const e=n;for(const i of this[e(424)][e(274)][e(476)][e(336)][e(437)])s?t[e(572)](e(466),i):t[e(586)](e(466),i)}))})),this[e(376)](e(420)).to(this,e(297),(t=>null!==t)),this[e(376)](e(522)).to(this,e(312),this,e(542),this,e(297),((t,i,s)=>t&&s?i[e(445)][e(422)](s):0)),this[e(376)](e(364)).to(this,e(312),this,e(542),((t,i)=>t?i[e(445)][e(415)]:0)),this[e(292)]=null,this[e(465)]=new Map,this[e(452)]=this[e(424)][e(349)][e(558)](pt.ContextualBalloon)}[Qt(449)](){const t=Qt,e=this[t(424)],i=new ne(e,{direction:t(584)}),s=new ne(e,{direction:t(539)});e[t(338)][t(434)](t(567),i),e[t(338)][t(434)](t(521),s),e[t(338)][t(434)](t(387),new ie(e)),this.on(t(351),(()=>{const e=t;i[e(276)](),s[e(276)]()})),this[t(531)](),this[t(527)](),e[t(442)](t(277)),e[t(349)][t(352)](t(375))&&e[t(349)][t(558)](t(375))[t(472)](t(277))}async[Qt(324)](t){const e=Qt;return await this[e(528)][e(361)](t,this[e(331)]),this[e(528)][e(324)](t)}async[Qt(340)](t){const e=Qt;return await this[e(528)][e(361)](t,this[e(331)]),this[e(528)][e(340)](t)}async[Qt(520)](t,e,i=!1){const s=Qt;if(!this[s(459)])return;const n=this[s(542)],r=this[s(486)],o=s(487)==typeof t?r[s(335)](t):t,a=s(487)==typeof e?r[s(335)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(542)]&&this[s(542)][s(329)]===c&&this[s(542)][s(358)]===u)return Promise[s(456)]();this[s(312)]=!1,this[s(598)]=null,this[s(297)]=null,this[s(542)]=new Jt(c,u);const l=this[s(393)](o,a,!0)[s(448)]((t=>this[s(528)][s(361)](t,this[s(331)])));return l[s(295)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(299)](l)[s(504)]((()=>{const t=s;if(!this[t(459)])return;this[t(417)]();const e=this[t(511)](c,u);for(const i of e[t(445)])this[t(465)][t(427)](i.id,i);this[t(424)][t(491)][t(540)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(424)][s(491)][s(336)][s(501)]())i[s(541)](t);for(const t of Object[s(342)](e[s(491)])){const n=i[s(323)](t);for(const r of Object[s(342)](e[s(433)][t]))i[s(547)](r,e[s(433)][t][r],n);i[s(301)](e[s(491)][t],n,0)}})),this[t(542)][t(439)](this[t(272)](e[t(445)])),this[t(312)]=!0}))[s(505)]((t=>{const e=s;console[e(435)](t),this[e(417)](),n&&(this[e(542)]=n),this[e(312)]=!0}))}[Qt(537)](t,e){const i=Qt,s=this[i(486)][i(279)](t);return s.on(i(582),((t,i,n)=>e(i,n,s))),this[i(486)][i(559)](s),s}[Qt(417)](){const t=Qt;this[t(297)]=null,this[t(370)](),this[t(292)]&&this[t(292)][t(495)](),this[t(292)]=null,this[t(465)][t(555)](),this[t(424)][t(491)][t(540)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(424)][i(491)][i(336)][i(501)]())e[i(541)](t)}))}[Qt(272)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(424)][e(491)][e(336)][e(501)]()){const n=this[e(424)][e(274)][e(476)][e(321)](t);if(!n)continue;const r=n[e(524)]()[e(543)](0);r&&(i[e(295)](t),s[e(427)](t,r))}return i[e(477)](((t,i)=>{const n=e,r=s[n(558)](t),o=s[n(558)](i);return r.y-o.y||r.x-o.x})),(t=t[e(288)]((t=>i[e(447)](t[e(302)]))))[e(477)](((t,s)=>i[e(515)](t[e(302)])-i[e(515)](s[e(302)]))),t}[Qt(585)](t){const e=Qt,i=Array[e(278)](t[e(359)])[e(288)]((([t,i])=>t[e(483)](e(275))&&!i[e(369)])),s=Array[e(278)](this[e(424)][e(491)][e(468)](t)[e(546)]({singleCharacters:!0}));if(0!=i[e(415)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(512)](":");if(n[e(377)][e(533)](t[e(526)])&&i[e(565)](),(t[e(309)][e(533)](n[e(430)])||t[e(309)][e(283)](n[e(430)]))&&(e(416)==r?t[e(366)]={userId:o}:e(293)==r&&(t[e(410)]={userId:o})),0==i[e(415)])break}return s}[Qt(401)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(415)];s++)e(509)===t[s][e(411)]?(t[s][e(543)][e(592)]=s,t[s][e(543)][e(568)]=s):(e(378)===t[s][e(411)]?t[s][e(543)][e(592)]=s:e(583)===t[s][e(411)]&&(t[s][e(543)][e(568)]=s),i[e(427)](t[s].id,s));for(const s of i[e(564)]())e(378)===t[s][e(411)]?t[s][e(543)][e(568)]=i[e(558)](t[s][e(389)]):e(583)===t[s][e(411)]&&(t[s][e(543)][e(592)]=i[e(558)](t[s][e(389)]))}[Qt(341)](t){const e=Qt;for(let i=0;i<t[e(415)];i++){if(e(378)===t[i][e(411)])t[i][e(543)][e(592)]=i;else if(e(583)===t[i][e(411)]){t[i][e(543)][e(568)]=i;const s=t[i][e(543)][e(592)];t[s][e(389)]=t[i].id,t[i][e(389)]=t[s].id}else t[i][e(543)][e(592)]=i,t[i][e(543)][e(568)]=i,t[i][e(389)]=null;t[i][e(350)]||(t[i][e(350)]=[],t[i][e(451)]=[])}}[Qt(493)](t,e){const i=Qt,s=t[i(288)]((t=>!t[i(366)]));for(let t=0;t<e[i(415)];t++)e[t][i(366)]&&(s[t][i(366)]=e[t][i(366)])}[Qt(511)](t,e=null){const i=Qt,s=this[i(486)][i(335)](t),n=e?this[i(486)][i(335)](e):null,r=this[i(393)](s,n),o=r[r[i(415)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(415)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(342)](e[i(307)]))if(e[i(307)][t][i(580)]){const s=e[i(307)][t][i(580)];s[i(553)]?(u[i(434)](t),l[i(352)](t)&&l[i(558)](t)[i(431)]==s[i(431)]?l[i(517)](t):l[i(427)](t,s)):l[i(352)](t)?(u[i(517)](t),l[i(517)](t)):(u[i(434)](t),l[i(427)](t,s))}else u[i(434)](t)}for(const t of u){const e=l[i(352)](t)&&!l[i(558)](t)[i(553)];let s=e?r[i(415)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(307)][t]){const s=e?o[i(307)][t][i(365)]:o[i(307)][t][i(525)];c[i(433)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(491)]={};for(const e of t[i(314)])a[i(427)](e.id,e);for(const e of u){const s=t[i(307)][e]?t[i(307)][e][i(346)]:"[]",n=t[i(307)][e]?t[i(307)][e][i(325)]:"[]";t[i(491)][e]={insertions:this[i(528)][i(355)](s),deletions:this[i(528)][i(355)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(278)](s[i(491)][t][i(346)][i(359)])[i(288)]((([t])=>!t[i(483)](i(275)))));let h=0;for(const o of r){const r=this[i(585)](o[i(491)][t][i(346)]);o==s?(e=r,n=e[i(415)],e[i(347)]((t=>{t.id=h++})),this[i(341)](e)):this[i(493)](e,r);const a=e[i(288)]((t=>!t[i(366)]))[i(448)]((t=>t.id));let c=0;const l=this[i(585)](o[i(491)][t][i(325)]);l[i(347)]((t=>{t[i(410)]?t.id=n++:t.id=a[c++]})),this[i(341)](l),this[i(548)](e,i(366)),this[i(548)](l,i(410)),o==s&&this[i(471)](e,u),e=this[i(332)](e,l),this[i(401)](e),this[i(548)](e,i(410))}e=e[i(288)]((t=>!(t[i(366)]&&t[i(410)])));const d=new Map(o[i(491)][t][i(325)][i(359)]),f=new Set(u[i(342)]());for(const t of d[i(342)]())f[i(517)](t);this[i(440)](e,f),this[i(593)](e),e=this[i(556)](e),e=this[i(374)](e),e=this[i(577)](e);const{root:m,changes:p}=this[i(353)](e,a,t);c[i(491)][t]=m;const v=l[i(558)](t);if(v){const e=a[i(558)](v[i(431)]),s=new Bt({author:e,type:v[i(553)]?i(434):i(403),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(320)](s),c[i(433)][t][i(581)]=s.id}c[i(445)]=c[i(445)][i(499)](p)}return c}[Qt(471)](t,e){const i=Qt;for(let s=0;s<t[i(415)];s++)for(const[n,r]of e)!r[i(369)]&&r[i(430)][i(533)](t[s][i(309)])&&t[s][i(350)][i(295)](n),r[i(377)][i(533)](t[s][i(526)])&&t[s][i(451)][i(295)](n)}[Qt(332)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(415)]||r<e[i(415)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(295)](o);else if(a[i(410)]&&o[i(366)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(594)](t,n,e,r);s=s[i(499)](o),n=a,r=c}else a[i(410)]?(r++,s[i(295)](a)):(n++,s[i(295)](o))}return s}[Qt(440)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(415)];o++){for(let r=0;r<t[o][i(350)][i(415)];r++){const a=t[o][i(350)][r];if(!e[i(352)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(429)!=c||i(416)!=u&&i(293)!=u||(s[i(320)]({type:u,name:a,userId:l}),t[o][i(350)][i(380)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(451)][i(415)];r++){const a=t[o][i(451)][r];if(!e[i(352)](a))continue;const{group:c,type:u}=n(a);if(i(429)!=c||i(416)!=u&&i(293)!=u)continue;t[o][i(451)][i(380)](r,1),r--;const l=s[i(333)]((t=>t[i(344)]==a));l>-1&&s[i(380)](l,1)}}function n(t){const e=i,s=t[e(512)](":");return{group:s[0],type:s[1],subType:s[e(415)]>=5?s[2]:null,id:s[e(415)]<5?s[2]:s[3],authorId:s[e(415)]<5?s[3]:s[4],markerCount:6==s[e(415)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(415)];i++){if(t[e(366)]&&e(416)==s[i][e(411)])return t[e(464)]=s[i],void delete t[e(366)];if(!t[e(366)]&&!t[e(410)]&&e(293)==s[i][e(411)])return void(t[e(388)]=s[i])}}}[Qt(548)](t,e){const i=Qt;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(427)](o.id,s);for(let s=0;s<t[i(415)];s++){if(i(410)==e&&t[s][i(366)]||i(366)==e&&t[s][i(410)])continue;if(i(509)==t[s][i(411)]){t[s][i(426)]=0;continue}const n=r[i(558)](t[s][i(389)]),o=r[i(558)](t[s].id);t[s][i(426)]=n-o}}[Qt(393)](t,e,i=!1){const s=Qt,n=[];let r=this[s(486)][s(422)](t),o=this[s(486)][s(422)](e);for(-1==o&&(o=this[s(486)][s(514)][s(415)],i=!1);r<o;)n[s(295)](this[s(486)][s(335)](r)),r++;return i&&n[s(295)](this[s(486)][s(335)](r)),n}[Qt(594)](t,e,i,s){const n=Qt,r=this[n(424)][n(491)][n(536)];let o=e;for(;t[o]&&t[o][n(366)];)o++;let a=s;for(;i[a]&&i[a][n(410)];)a++;u(t,e,o),u(i,s,a);const c=i[n(318)](s,a)[n(499)](t[n(318)](e,o));return c[n(477)](((t,e)=>t[n(461)]!=e[n(461)]?t[n(461)]-e[n(461)]:t[n(513)]!=e[n(513)]?t[n(513)]-e[n(513)]:t[n(426)]!=e[n(426)]?e[n(426)]-t[n(426)]:!!t[n(366)]!=!!e[n(366)]?-1==t[n(461)]||0==t[n(461)]?t[n(366)]?-1:1:t[n(366)]?1:-1:t[n(473)]-e[n(473)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(453)],c=!0;for(let n=e;n<i;n++)if(r[s(406)](t[n][s(543)])||(c=!1),t[n][s(543)][s(592)]<e&&(o=n),t[n][s(543)][s(568)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(461)]=n<=o?-1:n<a?0:1,t[n][s(473)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(426)]?t[i][s(513)]=u:(u++,t[i][s(513)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(461)]&&(t[n][s(513)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(426)]?t[e][s(513)]=u:(u--,t[e][s(513)]=u,u--)}}[Qt(593)](t){const e=Qt,i=new Map,s=this[e(424)][e(491)][e(536)];for(let n=1;n<t[e(415)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(509)==c[e(411)])continue;if(c[e(411)]!=u[e(411)])continue;if(!s[e(357)](u[e(543)])||s[e(596)](u[e(543)]))continue;if(!s[e(357)](c[e(543)])||s[e(596)](c[e(543)]))continue;if((t[n][e(366)]||t[n][e(464)])&&t[n-1][e(410)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(410)]||!t[n-1][e(366)]&&!t[n-1][e(464)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(513)]==o[e(513)],h=Math[e(454)](r[e(513)])<Math[e(454)](o[e(513)])&&0==o[e(426)];(l||h)&&(i[e(427)](o.id,r.id),t[e(380)](a,1),n--,r[e(366)]=!1)}for(let s=0;s<t[e(415)];s++)i[e(352)](t[s][e(389)])&&(t[s][e(389)]=i[e(558)](t[s][e(389)]))}[Qt(556)](t){const e=Qt,i=new Set(t[e(448)]((t=>t.id)));for(let s=0;s<t[e(415)];s++)i[e(352)](t[s][e(389)])||0==t[s][e(426)]||(t[s][e(282)]=!0);return t[e(288)]((t=>!t[e(282)]))}[Qt(374)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(415)];s++){if(i[e(352)](t[s].id)&&t[s][e(410)]&&(t[s][e(282)]=!0),t[s][e(282)])continue;if(0==t[s][e(426)])continue;if(e(378)!=t[s][e(411)])continue;if(null==t[s][e(389)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(389)];)e(378)==t[n][e(411)]?r++:e(583)==t[n][e(411)]&&r--,n++;if(0!=r)if(t[s][e(410)])t[s][e(282)]=!0;else for(;n!=s;)t[n][e(410)]&&0!=t[n][e(426)]&&(t[n][e(282)]=!0,i[e(434)](t[n][e(389)])),n--}return t[e(288)]((t=>!t[e(282)]))}[Qt(577)](t){const e=Qt,i=this[e(424)][e(491)][e(536)];for(let s=0;s<t[e(415)];s++){if(!(t[s][e(366)]||t[s][e(464)]||t[s][e(410)]||t[s][e(388)]))continue;if(0==t[s][e(426)])continue;const n=t[s][e(543)];i[e(357)](n)||i[e(596)](n)||(t[s][e(366)]&&delete t[s][e(366)],t[s][e(464)]&&delete t[s][e(464)],t[s][e(388)]&&delete t[s][e(388)],t[s][e(410)]&&(t[s][e(282)]=!0))}return t[e(288)]((t=>!t[e(282)]))}[Qt(353)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(424)][s(491)],c=a[s(536)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(415)];e++)if(s(378)===t[e][s(411)]){t[e][s(309)]=a[s(343)](n,f);const i=new Z.Element(t[e][s(543)][s(344)],t[e][s(543)][s(591)]());u[0][s(409)](i),f[s(295)](0),u[s(320)](i),t[e][s(526)]=a[s(343)](n,f)}else s(583)===t[e][s(411)]?(u[s(565)](),t[e][s(309)]=a[s(343)](n,f),f[s(534)](),f[f[s(415)]-1]++,t[e][s(526)]=a[s(343)](n,f)):(t[e][s(309)]=a[s(343)](n,f),d?d[s(356)]+=t[e][s(543)][s(482)]:d=new Z.Text(t[e][s(543)][s(482)],t[e][s(543)][s(591)]()),t[e+1]&&s(509)===t[e+1][s(411)]&&v(d,t[e+1][s(543)])||(u[0][s(409)](d),d=null),f[f[s(415)]-1]+=t[e][s(543)][s(326)],t[e][s(526)]=a[s(343)](n,f));for(let e=0;e<t[s(415)];e++){const i=t[e][s(309)],n=t[e][s(526)];for(const n of t[e][s(350)])o[s(427)](n,{start:i,end:null});m(s(388),e,i,n),m(s(464),e,i,n),m(s(410),e,i,n),m(s(366),e,i,n);for(const i of t[e][s(451)]){const t=o[s(558)](i);t?t[s(377)]=n:o[s(427)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(424)][s(491)][s(532)](e[s(430)],e[s(377)]);n[s(359)][s(427)](t,i)}return r[s(477)](((t,e)=>{const i=s,r=n[i(359)][i(558)](i(275)+t.id),o=n[i(359)][i(558)](i(275)+e.id);return r[i(430)][i(392)](o[i(430)])?-1:r[i(430)][i(283)](o[i(430)])?1:r[i(377)][i(392)](o[i(377)])?-1:r[i(377)][i(283)](o[i(377)])?1:i(434)===t[i(411)]?-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(431)]:null,d=i===t[o(415)]-1,f=h[e][0],m=c[o(354)](t[i][o(543)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(377)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(431)]!==u&&(l[e][o(377)]=n,f&&f[o(431)]===l[e][o(431)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(378)!==t[i][o(411)]||f&&f[o(431)]===u||h[e][o(320)]({userId:u,object:t[i][o(543)],change:l[e]}),o(583)===t[i][o(411)]&&f&&f[o(372)]===t[i][o(543)]&&(h[e][o(565)](),l[e]=f[o(330)])),l[e]&&d&&(l[e][o(377)]=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(543)],f=a[h(536)][h(357)](d)&&!a[h(536)][h(596)](d),m=t[h(494)]==o[h(298)]&&o[h(588)];if(f&&m)return;const p=a[h(532)](t,o),v=e[h(558)](u),g=new Bt({author:v,type:h(366)==l||h(464)==l?h(434):h(403),data:{isSuggestion:h(464)==l||h(388)==l},createdAt:new Date,rootName:i});r[h(295)](g),n[h(359)][h(427)](h(275)+g.id,p)}function v(t,e){const i=s,n=t[i(591)](),r=e[i(591)]();for(const t of n){if(t[1]!==e[i(438)](t[0]))return!1;r[i(404)]()}return r[i(404)]()[i(317)]}}[Qt(531)](){const t=Qt;this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(563)}),this[t(424)][t(371)][t(408)](t(367))[t(308)]({model:t(563),view:e=>{const i=t,s=e[i(502)][i(512)](":")[1],n=this[i(385)](s);if(!n)return null;const r=i(434)==n[i(411)]?i(416):i(293),o=[i(467),i(400)+r];return n[i(482)][i(561)]&&o[i(295)](i(400)+r+i(391)),this[i(297)]==n&&o[i(295)](i(570)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(424)][t(371)][t(408)](t(291))[t(434)]((e=>{const i=t;e.on(i(506),((t,e,s)=>{const n=i,r=e[n(386)][n(413)](0);if(!r||!r.is(n(519),n(363)))return;if(!s[n(485)][n(287)](r,{attributes:[n(345),n(306)]}))return;const o=e[n(551)][n(430)][n(494)];s[n(284)][n(547)](n(345),r[n(438)](n(345)),o),s[n(284)][n(547)](n(306),r[n(438)](n(306)),o)}),{priority:i(289)})})),this[t(424)][t(371)][t(408)](t(291))[t(434)]((e=>{const i=t;e.on(i(519),((t,e,s)=>{const n=i;if(!s[n(485)][n(287)](e[n(386)],{attributes:[n(345),n(306)]}))return;if(e[n(551)][n(369)])return;const r=e[n(551)][n(430)][n(494)];r[n(381)](n(345))||r[n(381)](n(590))||(s[n(284)][n(547)](n(345),e[n(386)][n(438)](n(345)),r),s[n(284)][n(547)](n(306),e[n(386)][n(438)](n(306)),r))}),{priority:i(289)})})),this[t(424)][t(371)][t(408)](t(291))[t(271)]({view:{name:t(446),attributes:{vid:!0}},model:{key:t(590),value:e=>e[t(438)](t(590))}}),this[t(424)][t(491)][t(536)].on(t(462),((e,[,i])=>{const s=t;[s(345),s(306),s(590)][s(447)](i)&&(e[s(457)]=!0,e[s(348)]())}),{priority:t(510)}),this[t(424)][t(371)][t(408)](t(530))[t(434)]((e=>{const i=t;e.on(i(305),((t,e,s)=>{const n=i;if(" "!=e[n(543)][n(482)]||e[n(543)][n(298)][n(479)]>1)return;if(!s[n(485)][n(287)](e[n(543)],t[n(344)]))return;const r=s[n(284)],o=s[n(569)][n(516)](e[n(398)]);r[n(444)](o,r[n(396)](n(446)))}))})),this[t(424)][t(371)][t(408)](t(530))[t(394)]({model:t(563)}),this[t(424)][t(274)][t(458)].on(t(399),function(e){const i=t,s=e[i(349)][i(558)](i(492));return(t,n,r)=>{const o=i,a=n[o(502)][o(512)](":")[1],c=s[o(385)](a);if(!c)return null;const u=o(434)==c[o(411)]?o(512):o(327);if(!r[o(485)][o(538)](n[o(544)],t[o(344)]))return;const l=n[o(544)][o(546)](),h=n[o(544)][o(430)],d=e[o(491)][o(536)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(543)];p=p||d[o(296)](e);const i=r[o(569)][o(450)](e);if(i&&i[o(573)](o(407)))return;o(583)==t[o(411)]&&d[o(357)](e)&&!d[o(596)](e)&&(e[o(421)]||h[o(304)]?f&&f[o(298)]==e||(f=e,g(t[o(309)]),v=!0):m=m||t[o(309)])}function g(t){const e=o,i=r[e(284)][e(496)](e(446),{class:e(400)+u}),a=r[e(569)][e(432)](t);c[e(482)][e(561)]&&r[e(284)][e(586)](e(400)+u+e(391),i),s[e(297)]==c&&r[e(284)][e(586)](e(570),i),r[e(284)][e(301)](a,i),r[e(569)][e(313)](i,n[e(502)])}p||v||!m||g(m)}}(this[t(424)]),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(500),((e,i,s)=>{const n=t,r=s[n(569)][n(480)](i[n(502)]);if(r)for(const t of r)(t[n(463)](n(489))||t[n(463)](n(397)))&&(s[n(569)][n(436)](t,i[n(502)]),s[n(284)][n(403)](t))}),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(399),((e,i,s)=>{const n=t,r=i[n(502)][n(512)](":")[1],o=this[n(385)](r);if(!o)return null;const a=n(434)==o[n(411)]?n(512):n(327);if(s[n(485)][n(538)](i[n(544)],e[n(344)]))for(const t of i[n(544)][n(587)]()){if(!t.is(n(519),n(395)))continue;const e=s[n(284)][n(496)](n(446),{class:n(400)+a}),r=s[n(569)][n(432)](this[n(424)][n(491)][n(443)](t));o[n(482)][n(561)]&&s[n(284)][n(586)](n(400)+a+n(391),e),this[n(297)]==o&&s[n(284)][n(586)](n(570),e),s[n(284)][n(301)](r,e),s[n(569)][n(313)](e,i[n(502)])}}),{priority:t(576)}),this[t(424)][t(491)][t(336)].on(t(330),(()=>{const e=t;this[e(424)][e(274)][e(476)][e(330)]((t=>{const i=e;for(const e of this[i(424)][i(491)][i(336)][i(501)]()){const s=this[i(424)][i(491)][i(336)][i(441)](e),n=this[i(424)][i(274)][i(476)][i(336)][i(441)](e);if(n){const e=s[i(438)](i(581));if(t[i(497)](i(535),n),t[i(572)](i(368),n),t[i(572)](i(566),n),t[i(572)](i(373),n),e){const s=this[i(385)](e);if(!s)return null;t[i(547)](i(535),e,n),t[i(586)](i(484)+s[i(411)],n),this[i(297)]==s&&t[i(586)](i(373),n)}}}}))})),this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(554),model:e=>t(362)+e,converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(291))[t(488)]({view:t(419),model:e=>t(290)+e,converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(530))[t(394)]({model:t(429),view:e=>({name:t(383)+e,group:t(429)}),converterPriority:t(510)}),this[t(424)][t(371)][t(408)](t(367))[t(308)]({model:t(429),view:e=>{const i=t,s=e[i(502)][i(512)](":")[1];return i(416)!=s&&i(293)!=s?null:{classes:[i(412),i(508)+s]}}}),this[t(424)][t(274)][t(458)].on(t(281),ee(this[t(424)],t(327)),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(523),ee(this[t(424)],t(512)),{priority:t(576)}),this[t(424)][t(274)][t(458)].on(t(310),((e,i,s)=>{const n=t,r=s[n(569)][n(480)](i[n(502)]);if(r)for(const t of r)t.is(n(571))&&(s[n(569)][n(436)](t,i[n(502)]),s[n(284)][n(403)](t))}),{priority:t(576)})}[Qt(385)](t){const e=Qt;return this[e(465)][e(558)](t)}[Qt(574)](t){const e=Qt;return this[e(292)]&&this[e(292)][e(495)](),this[e(292)]=new Pt(this[e(424)][e(339)],t),this[e(292)]}[Qt(527)](){const t=Qt;this[t(424)][t(491)][t(336)][t(460)][t(478)](t(563)),this.on(t(294),((e,i,s,n)=>{const r=t;n&&this[r(452)][r(403)](n),s&&(this[r(452)][r(434)]({view:s,stackId:r(481),position:{target:()=>{const t=r,e=this[t(424)][t(274)],i=this[t(385)](s[t(507)]);let n;if(i[t(482)][t(337)]){const s=e[t(476)][t(321)](i[t(302)]);n=Array[t(278)](s[t(524)]())}else{const i=this[t(424)][t(491)][t(359)][t(558)](t(275)+s[t(507)]);n=Array[t(278)](e[t(569)][t(480)](i[t(344)]))[t(448)]((i=>e[t(476)][t(322)][t(474)](i)))[t(448)]((e=>Array[t(278)](e[t(524)]())))[t(518)]()}return this[t(578)]&&n[t(552)]((e=>e[t(384)]-3<=this[t(578)].y&&e[t(316)]+3>=this[t(578)].y&&e[t(589)]-3<=this[t(578)].x&&e[t(328)]+3>=this[t(578)].x))||n[0]}}}),this[r(452)][r(360)](r(481)))})),this.on(t(379),((e,i,s,n)=>{const r=t;this[r(598)]=s?this[r(574)](s):null,this[r(424)][r(491)][r(330)]((()=>{const t=r,e=this[t(424)][t(274)];n&&(n[t(482)][t(337)]?e[t(476)][t(330)]((i=>{const s=t;i[s(572)](s(373),e[s(476)][s(336)][s(441)](n[s(302)]))})):e[t(285)](t(275)+n.id)),s&&(s[t(482)][t(337)]?e[t(476)][t(330)]((i=>{const n=t;i[n(586)](n(373),e[n(476)][n(336)][n(441)](s[n(302)]))})):e[t(285)](t(275)+s.id))}))})),this[t(503)](this[t(424)][t(274)][t(476)][t(336)],t(425),((e,i)=>{const s=t;if(this[s(297)])return;const n=this[s(470)](i[s(286)]),r=this[s(465)][s(558)](n);r?(this[s(578)]={x:i[s(418)].x,y:i[s(418)].y},this[s(598)]=this[s(574)](r)):(this[s(578)]=null,this[s(598)]=null)})),this[t(503)](this[t(424)][t(274)][t(476)][t(336)],t(579),((e,i)=>{const s=t,n=this[s(470)](i[s(286)]),r=this[s(465)][s(558)](n);r?(this[s(578)]={x:i[s(418)].x,y:i[s(418)].y},r===this[s(297)]?this[s(452)][s(545)]():this[s(297)]=r):(this[s(578)]=null,this[s(297)]=null)}))}[Qt(470)](t){const e=Qt;do{const i=t[e(438)](e(535));if(i)return i;t=t[e(298)]}while(t);return null}[Qt(370)](){const t=Qt;this[t(424)][t(491)][t(330)]((e=>{const i=t;for(const t of this[i(424)][i(491)][i(359)])e[i(303)](t)}))}}function ee(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(485)][r(538)](s[r(544)],i[r(344)]))return;const o=s[r(544)][r(546)](),a=s[r(544)][r(430)],c=t[r(491)][r(536)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(543)];h=h||c[r(296)](e);const i=n[r(569)][r(450)](e);if(i&&i[r(573)](r(407)))return;r(583)==t[r(411)]&&c[r(357)](e)&&!c[r(596)](e)&&(e[r(421)]||a[r(304)]?u&&u[r(298)]==e||(u=e,f(t[r(309)]),d=!0):l=l||t[r(309)])}function f(t){const i=r,o=n[i(569)][i(432)](t),a=n[i(284)][i(496)](i(446),{class:i(508)+e});n[i(284)][i(301)](o,a),n[i(569)][i(313)](a,s[i(502)])}h||d||!l||f(l)}}class ie extends W.Command{constructor(t){const e=Qt;super(t);const i=t[e(349)][e(558)](te);this[e(498)]=!1,this[e(503)](i,e(315),(()=>this[e(276)]())),this[e(503)](i,e(529),(()=>this[e(276)]()))}[Qt(390)](){const t=Qt,e=this[t(424)],i=e[t(349)][t(558)](te),s=i[t(312)]?i[t(542)][t(329)]:null;e[t(595)][t(558)](t(490))[t(273)](s)}[Qt(276)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(424)][t(349)][t(558)](te),r=n&&s[t(549)](n[t(329)]);this[t(459)]=e&&i&&Boolean(r)}}function se(){const t=["_update","elementEnd","backward","_makeTape","addClass","getItems","isAtStart","left","vid","getAttributes","startIndex","_fixObsoleteTags","_threeWayMerge","config","isLimit","isPremiumPlugin","activeView","elementToAttribute","_sortAndFilterDiffChanges","restoreRevisionCallback","editing","revision:","refresh","revision-viewer","from","createRevision","6369aWbrje","addMarker:revision-suggestion:deletion","isIncorrect","isAfter","writer","reconvertMarker","target","consume","filter","low","revision-suggestion:","upcast","_changeView","deletion","change:activeView","push","isContent","activeChange","parent","all","1297919ToEivv","insert","rootName","removeMarker","isAtEnd","attribute:vid","vid_end","diffData","markerToHighlight","previousPosition","removeMarker:revision-suggestion","50fMihAj","isReady","bindElementToMarker","authors","change:isReady","bottom","done","slice","2253924vlSEJw","unshift","getDomRoot","domConverter","addRoot","getRevisionDocumentData","deletions","offsetSize","merge","right","newRevisionId","change","adapter","_joinTapes","findIndex","86nVwKmx","getRevision","document","isOnRoot","commands","locale","getRevisionRootsAttributes","_processTape","keys","createPositionFromPath","name","vid_start","insertions","forEach","stop","plugins","markersStart","change:numberOfChanges","has","_makeModelFromTape","isObject","_makeModelFromViewString","_data","isBlock","oldRevisionId","markers","showStack","loadRevisionData","revision-comment:","code","numberOfChanges","attributesBefore","isAdded","editingDowncast","ck-revision-history-root-add","isCollapsed","_cleanMarkers","conversion","object","ck-revision-history-root--active","_markMismatchedRemovedTags","WidgetToolbarRepository","bind","end","elementStart","change:activeChange","splice","hasAttribute","first","suggestion:","top","_getChangeFromId","viewItem","restoreRevision","isRemoveSuggestion","pairId","execute","-new","isBefore","_getRevisionsRange","markerToData","softBreak","createAttributeElement","ck-suggestion-marker-merge","range","addMarker:revision","ck-suggestion-marker-","_refreshStartEndIndex","isOfficialPlugin","remove","next","965760ZrIVZY","isInline","addHighlight","for","_appendChild","isRemoved","type","ck-suggestion-preview-marker","getChild","29948BJBexH","length","insertion","_cleanUp","domEvent","suggestion","isNavigationMode","nextSibling","getIndex","48XMAQhg","editor","mouseover","distance","set","RevisionHistoryUtils","revision-suggestion","start","userId","toViewPosition","attributes","add","error","unbindElementFromMarkerName","roots","getAttribute","_setChanges","_markSuggestions","getRoot","enableReadOnlyMode","createPositionBefore","wrap","changes","span","includes","map","init","toViewElement","markersEnd","_balloon","POSITIVE_INFINITY","abs","_step","resolve","return","downcastDispatcher","isEnabled","selection","side","checkAttribute","hasClass","isAddSuggestion","_changeIdToChange","ck-editor__editable__overlay","ck-suggestion-marker","createRangeIn","815ekODoK","_findChangeIdFromDomTarget","_markMarkers","forceDisabled","index","mapViewToDom","592867kdHDPG","view","sort","observeMarkers","maxOffset","markerNameToElements","revisionHistoryLabel","data","startsWith","ck-revision-history-root-","consumable","repository","string","dataToMarker","ck-suggestion-marker-split","revisionHistory","model","RevisionViewer","_markInsertions","nodeAfter","destroy","createUIElement","removeAttribute","affectsData","concat","removeMarker:revision","getRootNames","markerName","listenTo","then","catch","element:pre","changeId","ck-suggestion-preview-marker-","text","highest","_getDiff","split","level","_revisions","indexOf","toViewRange","delete","flat","element","compare","showNextChange","currentChangeNumber","addMarker:revision-suggestion:insertion","getClientRects","attributesAfter","nextPosition","_initInteractions","_utils","change:isEnabled","dataDowncast","_setConversion","createRange","isEqual","pop","data-change-id","schema","addRevisionData","test","forward","enqueueChange","detachRoot","diff","item","markerRange","updatePosition","getWalker","setAttribute","_setDistance","getLaterVisibleRevision","requires","modelRange","find","isAttached","comment","clear","_removeMissingPairs","276RLbbgJ","get","addRevision","841635Uzakvr","isSuggestion","RevisionsRepository","revision","values","shift","ck-revision-history-root-remove","showPreviousChange","endIndex","mapper","ck-suggestion-marker--active","uiElement","removeClass","getCustomProperty","_getViewForChange","pluginName","high","_removeUnsupportedChanges","_activeViewTarget","mousedown","attachChange","revisionHistoryAttachChange"];return(se=function(){return t})()}class ne extends W.Command{[Qt(455)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(349)][i(558)](te);this[i(498)]=!1,this[i(455)]=i(539)===e?1:-1,this[i(503)](s,i(315),(()=>this[i(276)]())),this[i(503)](s,i(529),(()=>this[i(276)]())),this[i(503)](s,i(379),(()=>this[i(276)]()))}[Qt(390)](){const e=Qt,i=this[e(424)],s=i[e(349)][e(558)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(297)]=n?s[e(542)][e(445)][e(558)](r+this[e(455)]):s[e(542)][e(445)][e(382)],s[e(297)][e(482)][e(337)])o=i[e(274)][e(476)][e(321)](s[e(297)][e(302)]);else{const t=i[e(491)][e(359)][e(558)](e(275)+s[e(297)].id);o=(0,H.getMarkerDomElement)(i[e(274)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(276)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(424)][t(349)][t(558)](te);this[t(459)]=!!(r&&n&&s)&&(!e||(1===this[t(455)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ue();return(ae=function(t,e){return i[t-=185]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(652100===-parseInt(e(198))/1+parseInt(e(208))/2*(-parseInt(e(188))/3)+-parseInt(e(185))/4*(parseInt(e(191))/5)+parseInt(e(227))/6*(parseInt(e(203))/7)+parseInt(e(200))/8*(parseInt(e(217))/9)+parseInt(e(214))/10+-parseInt(e(216))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(202)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(199)](e(225),!1),this[e(199)](e(210),!1),this[e(199)](e(204),0),this[e(199)](e(209),0),this[e(199)](e(192),!1),this[e(199)](e(186),!1),this[e(197)](e(215)).to(this,e(210),this,e(209),((t,e)=>t&&e>0)),this[e(197)](e(223)).to(this,e(210),this,e(204),this,e(209),this,e(225),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(211));if(!n)return X(t,o(190));const a=X(t,o(193),n);return r?X(t,o(226),[s+1,n]):a})),s[e(199)]({label:X(t,e(220)),tooltip:!0,icon:mt.IconChevronUp}),n[e(199)]({label:X(t,e(224)),tooltip:!0,icon:mt.IconChevronDown}),s[e(197)](e(206)).to(this,e(186)),n[e(197)](e(206)).to(this,e(192)),s.on(e(187),(()=>this[e(207)](e(187),e(228)))),n.on(e(187),(()=>this[e(207)](e(187),e(201)))),this[e(213)]({tag:e(221),attributes:{class:["ck",e(195),e(189)]},children:[{tag:e(219),attributes:{class:[e(196)]},children:[{tag:e(219),attributes:{class:[e(194),i.if(e(215),e(218),(t=>!t))]},children:[{text:i.to(e(225),(i=>i?X(t,e(222))+": ":X(t,e(205))+": "))}]},{text:i.to(e(223))}]},new pt.ToolbarSeparatorView,{tag:e(221),attributes:{class:[e(212)]},children:[s,n]}]})}}function ue(){const t=["_isStatusLabelVisible","1091915pmvJah","10951092GsmgAl","ck-hidden","span","Show previous change","div","EDIT_X_OF_Y_REVISIONS","_statusText","Show next change","isNavigationMode","X_OF_Y_CHANGES","5180430byFEjq","backward","1293316SHrkvw","isBackwardNavigationEnabled","execute","180333yaTute","ck-revision-history-ui__changes-navigation","No changes","10oeZfOZ","isForwardNavigationEnabled","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__wrapper","bind","797104xjEJnp","set","8bMoCQl","forward","bindTemplate","7uYYZGO","currentChangeNumber","Total","isEnabled","fire","26UmNbxb","numberOfChanges","isReady","Loading...","ck-revision-history-ui__changes-navigation__navigation","setTemplate","8963770soBXau"];return(ue=function(){return t})()}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=pe;function fe(){const t=["413484JmjyTc","show","1570wJuUiE","ck-editor__editable__loading-overlay","roots","RevisionViewerLoadingOverlay","246EKLwDT","40HXaPVO","editor","395896BIporx","8soePsm","document","removeClass","addClass","13030furcMs","20559165DXyePM","60057xjSwze","isPremiumPlugin","view","pluginName","editing","hide","isOfficialPlugin","1491826JOoWlj","change","2777452jORPWJ"];return(fe=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(527757===-parseInt(e(463))/1+-parseInt(e(468))/2*(parseInt(e(460))/3)+-parseInt(e(453))/4+-parseInt(e(461))/5*(parseInt(e(454))/6)+parseInt(e(451))/7*(-parseInt(e(464))/8)+parseInt(e(444))/9*(parseInt(e(456))/10)+parseInt(e(443))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const me=de(457);function pe(t,e){const i=fe();return(pe=function(t,e){return i[t-=443]})(t,e)}class ve extends W.Plugin{static get[de(447)](){return de(459)}static get[de(450)](){return!0}static get[de(445)](){return!0}[de(455)](){const t=de,e=this[t(462)][t(448)][t(446)];e[t(452)]((i=>{const s=t;for(const t of e[s(465)][s(458)])i[s(467)](me,t)}))}[de(449)](){const t=de,e=this[t(462)][t(448)][t(446)];e[t(452)]((i=>{const s=t;for(const t of e[s(465)][s(458)])i[s(466)](me,t)}))}}function ge(){const t=["pluginName","restoreRevision","isEnabled","numberOfChanges","isPremiumPlugin","editor","closeRevisionViewerCallback","get","set","18046OJgxSx","4RgOMhq","listenTo","revisionHistory","1566978ZeHRbM","Restore this revision","hide","280TGsAfo","add","bind","isNavigationMode","exitToEditing","commands","showPreviousChange","execute","requires","forward","63phGTcm","changesNavigation","plugins","currentChangeNumber","isBackwardNavigationEnabled","1656844ZmSlyb","451456KVMVQC","componentFactory","5676363IpBYMd","RevisionViewerUI","show","2855390njRVBO","25800VlYMSA","config","ck-revision-history-ui__back-to-editing","isOfficialPlugin","isForwardNavigationEnabled","Back to editing","isReady","change:isReady","showNextChange","init"];return(ge=function(){return t})()}const ye=ke;function ke(t,e){const i=ge();return(ke=function(t,e){return i[t-=155]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(359395===parseInt(e(184))/1*(-parseInt(e(167))/2)+parseInt(e(171))/3*(-parseInt(e(168))/4)+parseInt(e(174))/5*(parseInt(e(196))/6)+parseInt(e(189))/7+parseInt(e(190))/8+parseInt(e(192))/9+parseInt(e(195))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class be extends W.Plugin{static get[ye(158)](){return ye(193)}static get[ye(199)](){return!0}static get[ye(162)](){return!0}static get[ye(182)](){return[te,ve]}[ye(157)](){const t=ye,e=this[t(163)],i=e[t(186)][t(165)](te),s=e[t(186)][t(165)](ve);e.ui[t(191)][t(175)](t(178),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(166)]({label:X(i,s(201)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(198)}),this[s(169)](n,s(181),(()=>{const t=s;e[t(197)][t(165)](t(170))[t(164)]()})),n})),e.ui[t(191)][t(175)](t(159),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(166)]({label:X(i,s(172)),withText:!0,tooltip:!0}),n[s(176)](s(160)).to(e[s(179)][s(165)](s(159))),this[s(169)](n,s(181),(()=>e[s(181)](s(159)))),n})),e.ui[t(191)][t(175)](t(185),(s=>{const n=t,r=new ce(s),o=e[n(179)][n(165)](n(180)),a=e[n(179)][n(165)](n(156));return r[n(176)](n(188)).to(o,n(160)),r[n(176)](n(200)).to(a,n(160)),r[n(176)](n(202),n(187),n(161),n(177)).to(i),this[n(169)](r,n(181),((t,i)=>{const s=n;e[s(181)](s(183)===i?s(156):s(180))})),r})),s[t(194)](),i.on(t(155),((e,i,n)=>{const r=t;n?s[r(173)]():s[r(194)]()}))}}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=["placeholder","input","1811560UDRogS","element","_tooltipString","ck-tooltip_multi-line","_updateTooltipText","Enter the revision name","clientWidth","fieldView","205439QnSdcq","scrollWidth","440eiOJPY","listenTo","ck-revision-history-sidebar__revision-name","span","render","37590WZmOYB","destroy","2281020pvKZur","value","bindTemplate","Revision name","extendTemplate","3144415hGPTQz","set","1014686gDHUmj","_resizeObserver","1004658xqXscz"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=141]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(375977===-parseInt(e(159))/1+parseInt(e(146))/2+parseInt(e(148))/3+parseInt(e(151))/4+-parseInt(e(144))/5+-parseInt(e(168))/6+-parseInt(e(166))/7*(-parseInt(e(161))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(147)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(141)];this[i(145)]({label:X(t,i(142)),_tooltipString:""}),this[i(158)][i(149)]=X(t,i(156)),this[i(143)]({tag:i(164),attributes:{class:[i(163)],"data-cke-tooltip-text":s.to(i(153)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(154)}})}[Ie(165)](){const e=Ie;super[e(165)](),this[e(147)]=new t.ResizeObserver(this[e(158)][e(152)],(()=>this[e(155)]())),this[e(162)](this[e(158)],e(150),(()=>this[e(155)]()))}[Ie(167)](){const t=Ie;super[t(167)](),this[t(147)]&&this[t(147)][t(167)]()}[Ie(155)](){const t=Ie,e=this[t(158)][t(152)];this[t(153)]=e[t(160)]>e[t(157)]&&e[t(169)]||""}}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(t,e){const i=Re();return(Ae=function(t,e){return i[t-=108]})(t,e)}function Re(){const t=["141389vzUNGK","ck-revision-history-sidebar__revision-author__name","1761060ERLYRf","1777089USGLVz","set","Revision author","span","2256kjNfDR","ck-revision-history-sidebar__revision-author_creator","push","3300588gJFGJJ","ck-revision-history-sidebar__revision-author","971540QZhVlo","setTemplate","23072gAGRsJ","Revision creator","1876460onvkKu","name","0 0 11 10"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(453315===-parseInt(e(114))/1+-parseInt(e(126))/2+-parseInt(e(117))/3+parseInt(e(124))/4+-parseInt(e(111))/5+parseInt(e(116))/6+-parseInt(e(109))/7*(-parseInt(e(121))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ve extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(118)]({content:mt.IconUser,viewBox:s(113)});const r=["ck",s(125)];i&&r[s(123)](s(122));const o=[{tag:s(120),attributes:{class:["ck",s(115)],title:X(t,s(i?110:119))},children:[n,e[s(112)]]}];this[s(108)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=303]})(t,e)}function Ee(){var t=["1073048wmGiCy","numeric","680802bOcCPj","438055GEQMtq","toLocaleTimeString","long","toLocaleDateString","121095bmzEcO","2125265AspHLE","14hvXAPa","286426MHwtfa","450RNyMQP","108728WuDyJv"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(325808===parseInt(e(309))/1+parseInt(e(303))/2+parseInt(e(313))/3+-parseInt(e(306))/4+parseInt(e(314))/5+-parseInt(e(308))/6*(-parseInt(e(315))/7)+-parseInt(e(305))/8*(parseInt(e(304))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=122]})(t,e)}function Le(){const t=["set","menuitem","22lAVLZe","add","extendTemplate","Restore this revision","isEnabled","42pkIulO","buttonView","10ZAxkhB","ck-on","map","listenTo","62598oYGjwF","15TpdQdR","1896432SpFQeg","116804NsbXvV","action","stopPropagation","isReady","menu","class","first","find","Show more items","13280QyPrrL","6buDWQF","1316097UqYNHm","isVisible","source","Compare against selected","change:isActionsDropdownOpen","2278080nNbfwS","items","execute","name","_action","button","225177MtLsvM","listView","bind","model","Name this revision","isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","isOpen","bindTemplate","children","panelPosition","function","locale"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(294777===-parseInt(e(142))/1+-parseInt(e(155))/2*(-parseInt(e(167))/3)+-parseInt(e(145))/4*(parseInt(e(143))/5)+parseInt(e(161))/6+-parseInt(e(136))/7*(-parseInt(e(154))/8)+parseInt(e(156))/9*(parseInt(e(138))/10)+parseInt(e(131))/11*(-parseInt(e(144))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=Ue;function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=167]})(t,e)}function We(){const t=["setTemplate","_requireRevisionName","srcElement","value","isActionsDropdownOpen","createdAt","ck-revision-history-sidebar__revision_highlighted","closest","621309YYZPJm","revisionActionsView","bindTemplate","52420QtrGFE","length","element","span","unhighlight","ck-revision-history-sidebar__revision-wrapper","isConfirm","ck-revision-history-sidebar__revision-authors","220","from","render","isReady","ck-disabled","426334oVxBZZ","ck-revision-history-sidebar__revision__controls-wrapper","unshift","333656NlCcBs","fieldView","isHighlighted",".ck-thread__remove-confirm","fire","ck-revision-history-sidebar__revision__date","29057LzUvxh","18LUfiah","name","3QyAOEh","bind","uiLanguage","_revision","ck-reset","listenTo","select","192830JrdlLA","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","deselect","authors","261BXGgLx","creator","revisionNameView","ck-revision-history-sidebar__revision_selected","filter","isSelected","ck-revision-history-sidebar__revision","map","680AzgfdY","div","extendTemplate","highlight","_createdAtFormatted","change","ck-revision-history-sidebar__actions_dropdown_open","isEnabled","set","4253315IqlOgp"];return(We=function(){return t})()}!function(t){const e=Ue,i=t();for(;;)try{if(412269===-parseInt(e(176))/1+-parseInt(e(192))/2+-parseInt(e(204))/3*(parseInt(e(195))/4)+-parseInt(e(179))/5*(-parseInt(e(202))/6)+parseInt(e(201))/7*(parseInt(e(224))/8)+-parseInt(e(216))/9*(-parseInt(e(211))/10)+parseInt(e(167))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(218)];[ze(177)];[ze(207)];[ze(169)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(178)],a=function(t,e){const i=r,s=Array[i(188)](e[i(215)])[i(220)]((t=>t!=e[i(217)]));return e[i(217)]&&s[i(194)](e[i(217)]),s[i(223)]((s=>new Ve(t,s,s==e[i(217)])))}(e,i);this.id=i.id,this[r(207)]=i,this[r(169)]=n,this[r(205)](r(203),r(173)).to(i),this[r(205)](r(228)).to(this,r(173),(t=>{return i=e[r(206)],(s=t)[(n=Me)(312)](i,{month:n(311),day:n(307)})+", "+s[n(310)](i,{hour:n(307),minute:n(307)});var i,s,n})),this[r(232)](r(221),!1),this[r(232)](r(197),!1),this[r(232)](r(172),!1),this[r(232)](r(190),!1),this[r(232)](r(231),!1),this[r(218)]=new Te(e,pt.createLabeledInputText),this[r(218)][r(196)][r(226)]({attributes:{maxlength:r(187)}}),this[r(218)][r(196)][r(205)](r(171)).to(this,r(203),(t=>t||this[r(228)])),this[r(218)][r(205)](r(231)).to(this,r(221),this,r(231),((t,e)=>t&&e)),this[r(177)]=s&&s[r(180)]?function(e,i){const s=Fe,n=e[s(124)],r=e[s(128)],o=(0,pt.createDropdown)(r);o[s(126)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(128)],n={"Compare against selected":X(s,i(159)),"Name this revision":X(s,i(171)),"Restore this revision":X(s,i(134))};return e[i(140)]((t=>{const e=i,s=n[t[e(164)]];return s&&s!==t[e(164)]&&(t[e(164)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(166),model:new pt.ViewModel({label:t[n(164)],class:t[n(150)],withText:!0,role:n(130),_action:t[n(146)]})};i[n(170)][n(169)](n(135)).to(e,n(172),(i=>n(127)!=typeof t[n(135)]||!i||t[n(135)](e))),o[n(132)](i)}return o}(e,i);return e[s(169)](s(172)).to(o,s(123)),o[s(137)][s(129)]({label:X(r,s(153)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(133)]({attributes:{class:[s(122),n.if(s(172),s(139))]},on:{click:n.to((t=>t[s(147)]()))}}),o.on(s(163),(t=>{const i=s;e[i(148)]&&i(127)==typeof t[i(158)][i(165)]&&t[i(158)][i(165)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(149)}),o[s(141)](e,s(160),((t,n,r)=>{const a=s;if(r)for(const t of o[a(168)][a(162)]){const s=t[a(125)][a(151)],n=i[a(152)]((t=>t[a(146)]===s[a(165)]))[a(157)];t[a(157)]=void 0===n||n(e)}})),o}(this,s):"",this[r(177)]&&this[r(177)][r(205)](r(231)).to(this),this[r(168)]({tag:r(225),attributes:{class:["ck",r(208),r(184),o.if(r(185),r(212))]},children:[{tag:r(225),attributes:{class:["ck",r(208),r(222),o.if(r(231),r(191),(t=>!t)),o.if(r(221),r(219)),o.if(r(197),r(174)),o.if(r(172),r(230))]},children:[this[r(218)],{tag:r(182),attributes:{class:["ck",r(200)]},children:[{text:o.to(r(228))}]},{tag:r(225),attributes:{class:["ck",r(193)]},children:[{tag:"ul",attributes:{class:["ck",r(186)]},children:a}]},this[r(177)]],on:{click:o.to((t=>{const e=r;t[e(170)][e(175)](e(198))||this[e(190)]&&this[e(231)]&&this[e(199)](e(210),{id:this.id})}))}}]})}[ze(189)](){const t=ze;super[t(189)]();const e=this[t(218)][t(196)][t(181)];this[t(209)](e,t(229),(()=>{const i=t;this[i(169)]&&!e[i(171)]||this[i(199)](i(213),{id:this.id,name:e[i(171)]}),e[i(171)]||(e[i(171)]=this[i(203)]?this[i(203)]:this[i(228)])}))}[ze(210)](){this[ze(221)]=!0}[ze(214)](){this[ze(221)]=!1}[ze(227)](){this[ze(197)]=!0}[ze(183)](){this[ze(197)]=!1}}class Ze extends Error{}class Be extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class 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 Hs(t,e,i,this.name)}formatOffset(t,e){return qs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&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=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ui={firstDay:1,minimalDays:4,weekend:[6,7]};class Wi{static fromOpts(t){return Wi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Wi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Wi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Wi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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 Li(this,t,Qs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new 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):Ui}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let 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${qs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${qs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return qs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class Bi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ai.create(t)}return Is(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Bi(t)}const qi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=qi.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(`${qi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=As(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Wi.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=Us(c,e,i)):u>Us(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=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 Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Us(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Ws(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 Bs(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)]=Bs(n)}return i}function qs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Vs(i,2)}:${Vs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Vs(i,2)}${Vs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Js=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(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 Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return 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 Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function 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]?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(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?Ws(Ms(e)):Ms(e),month:Gs.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:tn.indexOf(t)+1),a}const Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Un=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Wn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),Bn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),qn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Jn=mn(Tn);const Gn=fn(/(\d{4})-(\d\d)-(\d\d)/,Sn),Kn=fn(In),Qn=mn(Tn,xn,Nn);const Xn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Wi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Wi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[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,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 qe(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new 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):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=Bs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new 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||Wi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Wi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Wi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Wi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Wi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Wi.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(qi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function 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,Ws);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ai.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=Ds(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function 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 Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Ur(t,e,i=!0){return t.isValid?hn.create(Wi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Wr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=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 Hr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Br={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of qr)_s(t[e])&&(t[e]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Wi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Wi.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Wi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Wi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=Br,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=qr,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=Rs(t.weekNumber,1,Us(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,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Un,Bn],[Wn,$n],[Hn,qn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,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=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,Bn],[Kn,Qn])}(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 Be(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(t,Wi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Wi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Us(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Us(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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=Wr(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Wr(this,"extended"===t):null}toISOWeekDate(){return Ur(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Ur(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Ur(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Wr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Ur(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new 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(Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Wi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Wi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):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(){const t=["hasSame","monthLong","local","1989375nQgKvn","week","45vDIRdq","month","weekdayLong","startOf","7925706ZFSMcj","setLocale","5710250cJXHyj","day","419083cPoNSk","minus","toRelativeCalendar","fromJSDate","82959WkuzpD","year","toJSDate","2123512iFFTSC","544144bJgvzU","22Hcioba"];return(no=function(){return t})()}function ro(t,e){const i=no();return(ro=function(t,e){return i[t-=403]})(t,e)}function oo(t,e){const i=ro,s=io[i(412)](t)[i(406)](e),n=io[i(421)](),r=n[i(410)]({days:1})[i(404)](i(408));let o,a;return s[i(419)](n,i(408))?(o=s[i(404)](i(408))[i(415)](),a=s[i(411)]()):s[i(419)](r,i(408))?(o=r[i(415)](),a=s[i(411)]()):s[i(419)](n,i(423))?(o=s[i(404)](i(423))[i(415)](),a=s[i(403)]||""):s[i(419)](n,i(414))?(o=s[i(404)](i(425))[i(415)](),a=s[i(420)]||""):(o=s[i(404)](i(414))[i(415)](),a=String(s[i(414)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=ro,i=t();for(;;)try{if(662567===parseInt(e(409))/1+-parseInt(e(418))/2*(parseInt(e(413))/3)+parseInt(e(417))/4+-parseInt(e(422))/5+parseInt(e(405))/6+parseInt(e(407))/7+-parseInt(e(416))/8*(parseInt(e(424))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(no);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(t){const e=ho,i=t();for(;;)try{if(512733===parseInt(e(293))/1*(parseInt(e(294))/2)+-parseInt(e(275))/3+-parseInt(e(291))/4+parseInt(e(263))/5+parseInt(e(285))/6*(parseInt(e(277))/7)+-parseInt(e(274))/8*(-parseInt(e(279))/9)+-parseInt(e(290))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class lo extends pt.View{[uo(287)];[uo(265)];[uo(283)];[uo(273)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(292)][n(278)])[n(266)];this[n(287)]=e,this[n(265)]=this[n(269)](),this[n(283)]=i,this[n(273)]=s,this[n(265)][n(288)](n(284)).to(this),this[n(265)][n(288)](n(272)).to(this),this[n(264)]({tag:n(289),attributes:{class:["ck",n(281)]},children:[{tag:n(276),attributes:{class:["ck",n(280)]},children:[{text:r}]},{tag:n(289),attributes:{class:["ck",n(267)]},children:this[n(265)]}]})}[uo(282)](t){const e=uo,i=new He(this[e(292)],t,this[e(283)],this[e(273)]);this[e(265)][e(270)](i)}[uo(271)](t){const e=uo,i=this[e(265)][e(268)]((e=>e.id===t.id));this[e(265)][e(286)](i)}}function ho(t,e){const i=fo();return(ho=function(t,e){return i[t-=263]})(t,e)}function fo(){const t=["removeRevision","setName","_requireRevisionName","101224dpEXcz","309387CsIsDg","span","7KrapUQ","uiLanguage","252sCrmzu","ck-revision-history-sidebar__time-period__label","ck-revision-history-sidebar__time-period","addRevision","_revisionActions","select","2080374QXbrBg","remove","startDate","delegate","div","15786150ldtOSq","581000vroVzk","locale","262503tUTBmt","6wZCGzU","4256025gGPhmu","setTemplate","revisionViews","localizedPeriodName","ck-revision-history-sidebar__time-period__revisions","find","createCollection","add"];return(fo=function(){return t})()}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-=366]})(t,e)}function go(){const t=["content","3424848nYdLjG","setTemplate","span","2302407ZhSbLJ","1367649RMpgdi","div","1sCcMho","ck-revision-history-sidebar__header__label","3295vXWNtP","ck-reset_all","3728UwsrIT","Revision history","589426HBRXfy","ck-revision-history-sidebar__header","4261887uxHpmq","2051344LMrkEu"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(327106===-parseInt(e(367))/1*(parseInt(e(373))/2)+-parseInt(e(382))/3+-parseInt(e(371))/4*(parseInt(e(369))/5)+parseInt(e(378))/6+parseInt(e(375))/7+parseInt(e(376))/8+parseInt(e(381))/9)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(377)]=mt.IconHistory,this[e(379)]({tag:e(366),attributes:{class:["ck",e(370),e(374)]},children:[i,{tag:e(380),attributes:{class:["ck",e(368)]},children:[X(t,e(372))]}]})}}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(t,e){const i=Io();return(wo=function(t,e){return i[t-=224]})(t,e)}const _o=wo;function Io(){const t=["_requireRevisionName","uiLanguage","_getTimePeriodViewByStartDate","startDate","99DFhfaF","revisionSelected","unhighlight","ck-revision-history-sidebar","flat","remove","get","locale","createCollection","setTemplate","revisionViews","2528778tCVVxV","128830EtWrLP","div","setName","14716jKOdQI","createdAt","some","65986NhcyCL","deselect","add","find","22WcFWWY","8704224WSXZVu","highlight","delegate","ck-rounded-corners","1038890xRzViW","bindTemplate","isEnabled","_revisionActions","timePeriodViews","removeRevision","render","getTime","highlightRevisions","map","365193gXsjXS","ck-revision-history-sidebar__timeline","selectRevision","select","ck-reset","_removeRevision","set","_addRevision","6UmVTjX","addRevision","18rsPzIX","revisionSetName","ck-disabled","fire","_revisions","8JJUOft"];return(Io=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(197644===parseInt(e(268))/1*(-parseInt(e(241))/2)+-parseInt(e(280))/3*(-parseInt(e(238))/4)+parseInt(e(235))/5*(parseInt(e(270))/6)+parseInt(e(234))/7*(-parseInt(e(275))/8)+parseInt(e(260))/9+-parseInt(e(250))/10*(parseInt(e(245))/11)+parseInt(e(246))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[_o(254)];[_o(274)];[_o(253)];[_o(276)];constructor(t,e,i,s){const n=_o;super(t);const r=this[n(251)];this[n(254)]=this[n(231)](),this[n(254)][n(248)](n(263)).to(this),this[n(254)][n(248)](n(237)).to(this),this[n(274)]=e,this[n(253)]=i,this[n(276)]=s,this.on(n(263),((t,e)=>{const i=n;this[i(273)](i(224),e)})),this.on(n(237),((t,e)=>{const i=n;this[i(273)](i(271),e)})),this[n(266)](n(252),!1),this[n(232)]({tag:n(236),attributes:{class:["ck",n(264),n(249),n(226)]},children:[new yo(t),{tag:n(236),attributes:{class:["ck",n(261),r.if(n(252),n(272),(t=>!t))]},children:this[n(254)]}]})}[_o(256)](){const t=_o;super[t(256)]();for(const e of this[t(274)])this[t(267)](e);this[t(274)].on(t(243),((e,i)=>{this[t(267)](i)})),this[t(274)].on(t(228),((e,i)=>{this[t(265)](i)}))}get[_o(233)](){const t=_o;return this[t(254)][t(259)]((e=>e[t(233)][t(259)]((t=>t))))[t(227)]()}[_o(262)](t){const e=_o;for(const i of this[e(233)])t&&t.id===i.id?i[e(263)]():i[e(242)]()}[_o(258)](t){const e=_o;for(const i of this[e(233)])t[e(240)]((({id:t})=>t===i.id))?i[e(247)]():i[e(225)]()}[_o(267)](t){const e=_o,i=oo(t[e(239)],this[e(230)][e(277)])[e(279)];let s=this[e(254)][e(229)](0);s&&s[e(279)][e(257)]()===i[e(257)]()||(s=new lo(this[e(230)],i,this[e(253)],this[e(276)]),this[e(254)][e(243)](s)),s[e(269)](t)}[_o(265)](t){const e=_o,i=oo(t[e(239)],this[e(230)][e(277)])[e(279)];this[e(278)](i)[e(255)](t)}[_o(278)](t){const e=_o;return this[e(254)][e(244)]((i=>i[e(279)][e(257)]()===t[e(257)]()))}}const Oo=xo;function To(){const t=["733075rlQHhe","revisionHistory.viewerSidebarContainer","bind","_handleDiffChange","getRevisionsInDiff","revisionViews","isSelected","get","revisionHistory.requireRevisionName","revisionHistory","getIndex","appendChild","getEarlierVisibleRevision","getLaterVisibleRevision","1849329LBoxuV","10581kBBTdM","getRevision","_handleRevisionSetName","selectRevision","data","_revisionsRepository","setName","map","isEnabled","listenTo","isReady","availableRevisionActions","remove","_revisions","nameRevision","plugins","compare","2399235egDjfG","10jAlKvx","length","requires","timePeriodViews","select","8GbjFdm","focus","name","1811OfItBf","983538AhAEuP","config","element","action","add","compareAgainstSelected","_createRevisionActions","change:diff","572HPYRtd","revisionSetName","_revisionViewer","diff","isPremiumPlugin","_handleEditorDataReady","ready","Restore this revision","RevisionsSidebar","isVisible","editor","locale","isOfficialPlugin","highlightRevisions","destroy","1059993NvUFFr","restoreRevision","_handleRevisionSelected","pluginName","string","revisionSelected","fieldView","_sidebarView","init","newRevisionId","repository","restoreRevisionCallback","180aNhkdP","revisionHistory.revisionActions","defaultRevisionActions","assign","Compare against selected","render","Name this revision"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(285252===parseInt(e(560))/1*(parseInt(e(552))/2)+-parseInt(e(534))/3*(parseInt(e(485))/4)+-parseInt(e(551))/5+-parseInt(e(561))/6+-parseInt(e(519))/7+parseInt(e(557))/8*(-parseInt(e(533))/9)+parseInt(e(512))/10*(parseInt(e(500))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends W.Plugin{[Oo(487)];[Oo(539)];[Oo(507)];static[Oo(514)]=[Oo(482),Oo(501),Oo(548)];static[Oo(545)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(516),action:({plugins:e},i)=>{const s=t,n=e[s(526)](te),r=n[s(510)];let o=n[s(488)][s(509)],a=i.id;r[s(529)](o)>r[s(529)](a)&&([o,a]=[a,o]),n[s(550)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(526)](te);return!(n[s(510)][s(523)](n[s(488)])[s(553)]>2||i[s(525)])}},restoreRevision:{name:t(492),action:(e,{id:i})=>{const s=t;e[s(562)][s(526)](s(528))[s(511)](i)},isVisible:({plugins:e},i)=>!!e[t(526)](te)[t(510)][t(532)](i.id)},nameRevision:{name:t(518),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(526)](te),o=r[n(510)][n(531)](i);r[n(550)](i,o),s[n(558)](),s[n(506)][n(556)]()}}}}();static get[Oo(503)](){return Oo(493)}static get[Oo(497)](){return!0}static get[Oo(489)](){return!0}static get[Oo(554)](){return[te]}constructor(t){const e=Oo;super(t),this[e(487)]=t[e(549)][e(526)](te),this[e(539)]=this[e(487)][e(510)],this[e(507)]=null}[Oo(508)](){const t=Oo,e=this[t(539)][t(547)],i=this[t(483)](),s=this[t(495)][t(562)][t(526)](t(520));this[t(507)]=new So(this[t(495)][t(496)],e,i,this[t(495)][t(562)][t(526)](t(527))),this[t(507)].on(t(505),this[t(502)][t(521)](this)),this[t(507)].on(t(486),this[t(536)][t(521)](this)),this[t(507)][t(521)](t(542)).to(this[t(487)]),this[t(507)][t(555)].on(t(481),((e,i)=>{const s=t;i[s(524)].on(s(481),((t,e)=>{const i=s;e[i(521)](i(542),i(544)).to(this[i(487)])}))})),this[t(507)][t(517)](),this[t(543)](this[t(495)][t(538)],t(491),this[t(490)][t(521)](this)),this[t(543)](this[t(487)],t(484),this[t(522)][t(521)](this)),s[t(530)](this[t(507)][t(563)])}[Oo(499)](){const t=Oo;this[t(507)][t(563)][t(546)](),this[t(507)][t(499)]()}[Oo(490)](){const t=Oo,e=this[t(539)][t(535)](0);if(e){const i=this[t(539)][t(531)](e.id);this[t(487)][t(550)](e,i)}}[Oo(502)](t,e){const i=Oo,s=this[i(539)][i(535)](e.id),n=this[i(539)][i(531)](s.id);this[i(487)][i(550)](s,n)}[Oo(536)](t,e){const i=Oo;this[i(539)][i(535)](e.id)[i(540)](e[i(559)])}[Oo(522)](t,e,i){const s=Oo,n=this[s(539)][s(523)](i);n[s(553)]>2?(this[s(507)][s(498)](n),this[s(507)][s(537)](null)):(this[s(507)][s(498)]([]),this[s(507)][s(537)](n[0]))}[Oo(483)](){const t=Oo,e=this[t(495)],i=No[t(545)],s=e[t(562)][t(526)](t(513))||No[t(514)];if(s[t(553)])return s[t(541)]((s=>{const n=t,r=n(504)==typeof s?Object[n(515)]({},i[s]):s;return r[n(564)]=r[n(564)][n(521)](this,e),r[n(494)]&&(r[n(494)]=r[n(494)][n(521)](this,e)),r}))}}const Ao=No;function Ro(){const t=["render","_toolbarConfig","componentFactory","toolbar","focusTracker","destroy","525728rnhhXq","replace","_view","190hxLwYy","170830YgZbXr","2845480TTyRDE","27EBTutf","get","document","setEditableElement","view","ready","isActive","attachDomRoot","_elementReplacer","572924jwYFTi","init","element","bind","_initToolbar","getRoot","name","restore","viewportOffset","12OkkUsb","fillFromConfig","fire","isFocused","detachDomRoot","viewportTopOffset","editing","504415ZLhafZ","5389454frPfJs","addToolbar","editor","config","22TlaZJk","237345ojMtqN","limiterElement","stickyPanel","editable","rootName"];return(Ro=function(){return t})()}const Vo=Mo;function Mo(t,e){const i=Ro();return(Mo=function(t,e){return i[t-=256]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(591743===-parseInt(e(302))/1+-parseInt(e(290))/2*(-parseInt(e(291))/3)+-parseInt(e(269))/4+-parseInt(e(285))/5*(parseInt(e(278))/6)+-parseInt(e(286))/7+parseInt(e(259))/8*(parseInt(e(260))/9)+-parseInt(e(257))/10*(-parseInt(e(258))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ro);class Eo extends pt.EditorUI{[Vo(256)];[Vo(297)];[Vo(268)];get[Vo(264)](){return this[Vo(256)]}constructor(e,i){const s=Vo;super(e),this[s(256)]=i,this[s(297)]=(0,pt.normalizeToolbarConfig)(e[s(289)][s(261)](s(299))),this[s(268)]=new t.ElementReplacer}get[Vo(271)](){const t=Vo;return this[t(264)][t(271)]}[Vo(270)](t){const e=Vo,i=this[e(288)],s=this[e(264)],n=i[e(284)][e(264)],r=s[e(294)],o=n[e(262)][e(274)]();r[e(275)]=o[e(295)],s[e(296)]();const a=r[e(271)];this[e(263)](r[e(275)],a),s[e(294)][e(272)](e(281)).to(this[e(300)]),n[e(267)](a),this[e(268)][e(303)](t,this[e(271)]),this[e(273)](),this[e(280)](e(265))}[Vo(301)](){const t=Vo;super[t(301)]();const e=this[t(264)],i=this[t(288)][t(284)][t(264)];this[t(268)][t(276)](),i[t(282)](e[t(294)][t(275)]),e[t(301)]()}[Vo(273)](){const t=Vo,e=this[t(264)];e[t(293)][t(272)](t(266)).to(this[t(300)],t(281)),e[t(293)][t(292)]=e[t(271)],e[t(293)][t(272)](t(283)).to(this,t(277),(({top:t})=>t)),e[t(299)][t(279)](this[t(297)],this[t(298)]),this[t(287)](e[t(299)])}}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 Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=234]})(t,e)}function jo(){var t=["11zHAjxZ","18150850FgxdVD","add","shouldToolbarGroupWhenFull","editable","_editable","2xtHQNH","677937QVAJZA","70YpBWvP","349184BSetSe","toolbar","top","stickyPanel","19320QpqfZp","144bogspe","4774392orlTIT","render","content","main","618395VKIojB","2830974BoHAlx"];return(jo=function(){return t})()}!function(t){for(var e=Lo,i=t();;)try{if(361964===parseInt(e(236))/1+-parseInt(e(244))/2*(parseInt(e(245))/3)+parseInt(e(251))/4*(-parseInt(e(246))/5)+parseInt(e(237))/6+parseInt(e(253))/7+-parseInt(e(247))/8*(-parseInt(e(252))/9)+-parseInt(e(239))/10*(parseInt(e(238))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(243)];[Fo(250)];[Fo(248)];get[Fo(242)](){return this[Fo(243)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(250)]=new pt.StickyPanelView(t),this[s(248)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(241)]}),this[s(243)]=new pt.InlineEditableUIView(t,e)}[Fo(254)](){var t=Fo;super[t(254)](),this[t(250)][t(234)][t(240)](this[t(248)]),this[t(249)][t(240)](this[t(250)]),this[t(235)][t(240)](this[t(242)])}}function zo(t,e){const i=Ho();return(zo=function(t,e){return i[t-=324]})(t,e)}const Uo=zo;!function(t){const e=zo,i=t();for(;;)try{if(878061===parseInt(e(342))/1+parseInt(e(345))/2*(-parseInt(e(332))/3)+parseInt(e(339))/4*(parseInt(e(346))/5)+parseInt(e(324))/6*(-parseInt(e(340))/7)+-parseInt(e(329))/8*(-parseInt(e(328))/9)+-parseInt(e(333))/10+-parseInt(e(335))/11*(-parseInt(e(330))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ho);class Wo extends((0,W.ElementApiMixin)(W.Editor)){[Uo(352)];get ui(){return this[Uo(352)]}constructor(t,e){const i=Uo;super(e),this[i(350)]=t,this[i(341)][i(344)][i(347)]();const s=new Po(this[i(334)],this[i(343)][i(337)],{shouldToolbarGroupWhenFull:!0});this[i(352)]=new Eo(this,s)}[Uo(349)](){const t=Uo;return this[t(325)](),this.ui[t(349)](),super[t(349)]()}static async[Uo(348)](t,e){const i=Uo,s=new this(t,e);return await s[i(351)](),await s.ui[i(331)](t),await s[i(354)][i(331)](s[i(353)][i(326)](i(336))||""),s[i(338)](i(327)),s}}function Ho(){const t=["4084930rRDAzm","locale","11cQbMYG","initialData","view","fire","4YmSkDl","1787093BKLCBF","model","217836xdYLdI","editing","document","200510hDcKue","2184265AsFVEH","createRoot","create","destroy","sourceElement","initPlugins","_ui","config","data","12bvMwCb","updateSourceElement","get","ready","9kgdBlx","2029232sbkJZQ","31117728ypOCPI","init","51zvgwbP"];return(Ho=function(){return t})()}const Zo=$o;function Bo(){const t=["revisionHistory","removeMarker","11589WYVbsY","_getRevisionViewerEditorConfig","RevisionHistory","_viewerEditor","style","insert","2025471kQtWbx","_restoreRevision","toLocaleTimeString","then","toLocaleDateString","_enhanceCloseRevisionViewerCallback","2375148FRwZHs","refreshPositioning","markers","saveRevision","showRevisionViewerCallback","PaginationLookup","getMarkersGroup","exitToEditing","10243107QbPNyZ","revisionHistory.viewerEditorElement","editor","getRoot","18DhecLp","refreshVisibility","includes","restrictedEditingException","RevisionHistoryUtils","has","removeSelectionAttribute","map","view","translations","createRangeIn","isPremiumPlugin","keys","hide","revision-history-viewer-opened","push","Users","RevisionViewerIntegration","addUser","revision-history-missing-configuration","document","revisionHistory.closeRevisionViewerCallback","RevisionViewer","numeric","detachRoot","toolbar","$graveyard","block","adapter","fromCharCode","9xOGAhg","1294265CNLUqz","enableReadOnlyMode","update","Dialog","data","Annotations","none","closeRevisionViewerCallback","getRevisionRootsAttributes","revisionHistory.viewerContainer","_cleanUp","_enhanceShowRevisionViewerCallback","removeAttribute","indexOf","lazyRoots","getAttributeKeys","save","revisionHistory.editorContainer","users","RevisionHistoryUI","end","display","_update","RestrictedEditingMode","join","setSelection","addRoot","isOpen","pluginName","catch","createdAt","getUser","_closeRevisionViewer","getRevisions","config","loadRevisionData","result","isRevisionViewerOpen","disableReadOnlyMode","repository","_showRevisionViewer","parse","_recalculatePageBreaks","isEnabled","RevisionTracker","long","changesNavigation","rootName","init","toVersion","bind","plugins","Restored","name","isReady","from","addRevisionData","commands","define","isOfficialPlugin","model","setAttribute","212sYjEli","locale","getRevision","isAnonymous","requires","Autosave","isAttached","revisionHistory.requireRevisionName","remove","toJSON","element","revisionHistory.restoreRevisionCallback","destroy","roots","35909490ZlQwCA","selection","revisionHistory.showRevisionViewerCallback","DocumentOutline","DocumentOutlineUI","restoreRevision","creator","create","uiLanguage","RevisionsRepository","fromVersion","1724536ItalnT","change","enqueueChange","set","error","isReadOnly","get","getRevisionDocumentData"];return(Bo=function(){return t})()}function $o(t,e){const i=Bo();return($o=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(930722===-parseInt(e(289))/1*(-parseInt(e(406))/2)+parseInt(e(295))/3+parseInt(e(301))/4+-parseInt(e(344))/5*(-parseInt(e(313))/6)+parseInt(e(309))/7+-parseInt(e(431))/8*(parseInt(e(343))/9)+-parseInt(e(420))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);const qo=[Zo(363),Zo(367)];class Yo extends W.Plugin{[Zo(380)];static get[Zo(372)](){return Zo(330)}static get[Zo(403)](){return!0}static get[Zo(324)](){return!0}constructor(t){const e=Zo;function i(t){const e=$o;return t[e(320)]((t=>String[e(342)](t)))[e(368)]("")}super(t),this[e(380)]=e(364),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends W.Plugin{[Zo(292)];static get[Zo(372)](){return Zo(291)}static get[Zo(403)](){return!0}static get[Zo(324)](){return!0}static get[Zo(410)](){return[at,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(311)][i(378)][i(437)](i(439)))throw new t.CKEditorError(i(332),this);this[i(292)]=null,this[i(434)](i(381),!1),this[i(311)][i(378)][i(402)](i(422),(t=>this[i(384)]({...t,translations:this[i(311)][i(407)][i(322)]}))),this[i(311)][i(378)][i(402)](i(334),(t=>this[i(376)](t))),this[i(311)][i(378)][i(402)](i(417),(t=>this[i(296)](t))),this[i(311)][i(378)][i(402)](i(413),!1),this[i(355)](),this[i(300)]()}set[Zo(341)](t){const e=Zo;this[e(311)][e(395)][e(437)](e(388))[e(341)]=t}get[Zo(341)](){const t=Zo;return this[t(311)][t(395)][t(437)](t(388))[t(341)]}[Zo(400)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(388))[e(400)](t)}[Zo(408)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(429))[e(408)](t)}[Zo(377)](t){const e=Zo;return this[e(311)][e(395)][e(437)](e(429))[e(377)](t||{toJSON:!1})}[Zo(290)](){const e=Zo,i=this[e(311)],s=(0,H.sanitizeEditorConfig)(i,qo),n=i[e(395)][e(437)](e(388)),r=i[e(395)][e(437)](e(329))[e(362)];return s[e(338)]=[e(308),e(425),e(390)],delete s[e(358)],s[e(395)][e(328)](Yo,te,be,class extends W.Plugin{static get[e(410)](){return[te,e(329)]}[e(392)](){const s=e,o=this[s(311)][s(395)][s(437)](s(329));for(const t of r)t[s(409)]||o[s(375)](t.id)||o[s(331)](t);const a=n[s(383)][s(377)]();let c=null;const u=this[s(311)][s(395)][s(437)](s(335));u[s(341)]=n[s(341)],u[s(394)](s(387)).to(n),this[s(311)][s(401)][s(437)](s(425))[s(394)](s(387)).to(i,s(436),(t=>!t));for(const e of a){const i=null===e[s(426)];if(i&&e[s(393)]===e[s(430)])continue;const r=e[s(415)]();u[s(400)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(366)](r,o);else if(!o){const e=a[u(415)]();e.id=(0,t.uid)(),n[u(304)](e,a[u(393)])[u(298)]((t=>{c=t}))}}else e[u(366)](r,o)}))}}},Ao),s}[Zo(355)](){const t=Zo,e=this[t(311)][t(378)][t(437)](t(439))[t(305)];this[t(311)][t(378)][t(434)](t(422),(async()=>{const i=t;this[i(311)][i(345)](i(327));const s=this[i(311)][i(395)][i(437)](i(388));if(this[i(311)][i(395)][i(318)](i(411))){const t=this[i(311)][i(395)][i(437)](i(411));await t[i(360)]()}else await s[i(346)]();if(this[i(311)][i(395)][i(318)](i(306))&&this[i(311)][i(395)][i(437)](i(306))[i(386)](),this[i(311)][i(395)][i(318)](i(347))){const t=this[i(311)][i(395)][i(437)](i(347));t[i(371)]&&t[i(326)]()}const n=this[i(290)]();return e(n)[i(298)]((t=>{const e=i;return this[e(292)]=t,this[e(311)][e(395)][e(318)](e(349))&&this[e(311)][e(395)][e(437)](e(349))[e(314)](),this[e(311)][e(395)][e(318)](e(423))&&(this[e(311)][e(395)][e(437)](e(424))[e(321)][e(416)][e(293)][e(365)]=e(350)),t}))[i(373)]((t=>(console[i(435)](t),this[i(311)][i(382)](i(327)),null)))}))}[Zo(300)](){const t=Zo,e=this[t(311)][t(378)][t(437)](t(439))[t(351)];this[t(311)][t(378)][t(434)](t(334),(()=>(this[t(311)][t(395)][t(318)](t(306))&&this[t(311)][t(395)][t(437)](t(306))[t(386)](),this[t(311)][t(395)][t(318)](t(423))&&(this[t(311)][t(395)][t(437)](t(424))[t(321)][t(416)][t(293)][t(365)]=""),this[t(292)][t(395)][t(437)](t(335))[t(354)](),e(this[t(292)])[t(298)]((()=>{const e=t;if(this[e(311)][e(382)](e(327)),this[e(292)]=null,this[e(311)][e(395)][e(318)](e(349))){const t=this[e(311)][e(395)][e(437)](e(349));t[e(314)](),t[e(302)]()}})))))}[Zo(384)](t){const e=Zo,i=this[e(311)][e(378)][e(437)](e(361)),s=this[e(311)][e(378)][e(437)](e(353)),n=this[e(311)][e(378)][e(437)](e(310));return Wo[e(427)](n,t)[e(298)]((t=>(s[e(293)][e(365)]=e(340),i[e(293)][e(365)]=e(350),this[e(381)]=!0,t)))}[Zo(376)](t){const e=Zo,i=this[e(311)][e(378)][e(437)](e(361));return this[e(311)][e(378)][e(437)](e(353))[e(293)][e(365)]=e(350),i[e(293)][e(365)]="",this[e(381)]=!1,t[e(418)]()}async[Zo(296)](t){const e=Zo,i=this[e(311)],s=this[e(292)][e(395)][e(437)](e(335)),n=i[e(395)][e(437)](e(388)),r=i[e(395)][e(437)](e(317)),o=s[e(383)][e(408)](t);let a,c,u;try{await r[e(379)](o,this[e(341)]),a=r[e(438)](o),c=r[e(352)](o)}catch(t){return void console[e(435)](t)}i[e(404)][e(432)]((t=>{const s=e;for(const e of Array[s(399)](i[s(404)][s(303)][s(307)](s(316))))t[s(288)](e)})),s[e(398)]=!1,i[e(404)][e(433)]((t=>{const s=e;t[s(369)](null),t[s(319)](i[s(404)][s(333)][s(421)][s(359)]());const n=Object[s(325)](a);for(const e of i[s(404)][s(333)][s(419)])s(339)!=e[s(391)]&&e[s(412)]()&&!n[s(315)](e[s(391)])&&t[s(337)](e);for(const e of n){let n=i[s(404)][s(333)][s(312)](e);n&&n[s(412)]()||(n=t[s(370)](e));const r=c[e],o=Object[s(325)](r),u=a[e];for(const e of n[s(359)]())o[s(315)](e)||t[s(356)](e,n);for(const i of o)t[s(405)](i,c[e][i],n);t[s(414)](t[s(323)](n)),t[s(294)](i[s(348)][s(385)](u,n),n,0)}}));const l=X(i[e(407)],e(396));return u=o[e(397)]?-1==o[e(397)][e(357)](l)?l+": "+o[e(397)]:o[e(397)]:l+": "+o[e(374)][e(299)](i[e(407)][e(428)],{month:e(389),day:e(336)})+", "+o[e(374)][e(297)](i[e(407)][e(428)],{hour:e(336),minute:e(336)}),await n[e(304)]({name:u}),s[e(398)]=!0,i[e(378)][e(437)](e(439))[e(351)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=152]})(t,e)}function Ko(){var t=["522HQAdbo","7018795gayNrO","12ygChec","32450940icaEMv","2049020UVdxxF","111128NSSUTV","69682UUnDeU","2635740NJZivR","65133YnlhIq","80qBOJVt"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(659282===-parseInt(e(156))/1+-parseInt(e(159))/2*(parseInt(e(158))/3)+-parseInt(e(157))/4+-parseInt(e(154))/5*(-parseInt(e(152))/6)+-parseInt(e(161))/7+-parseInt(e(155))/8*(parseInt(e(160))/9)+parseInt(e(153))/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:()=>z,RevisionHistory:()=>Go,RevisionHistoryUI:()=>Ft,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ct,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>B,RevisionsSidebar:()=>Ao});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==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E;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 E=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}function D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function V(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?V(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=400]})(t,e)}function W(){const t=["7524PcySeM","creator","513976sikqgy","removeAttribute","6688320shZgFZ","toVersion","setName","authors","611244mJTtDB","attributes","creatorId","11158169MSUduw","setAttribute","12555BjAlev","80afHMbu","toJSON","createdAt","authorsIds","model","set","name","860682GvXfbQ","fire","77czYhtj","_update","fromVersion","diffData","map","21NjiSUG","2196ZboAUz"];return(W=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(806195===parseInt(e(421))/1+-parseInt(e(400))/2*(parseInt(e(428))/3)+parseInt(e(429))/4*(-parseInt(e(413))/5)+parseInt(e(404))/6+-parseInt(e(423))/7*(-parseInt(e(402))/8)+-parseInt(e(408))/9*(-parseInt(e(414))/10)+-parseInt(e(411))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[j(401)];[j(407)];[j(426)];[j(405)];[j(425)];[j(418)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(401)]=e[i(401)]||null,this[i(407)]=e[i(407)]||[],this[i(426)]=e[i(426)]||null,this[i(405)]=e[i(405)]||0,this[i(425)]=e[i(425)]||0,this[i(419)](i(420),e[i(420)]||""),this[i(419)](i(416),e[i(416)]||new Date),this[i(419)](i(409),e[i(409)]||{})}[j(406)](t){this[j(424)]({name:t})}[j(412)](t,e){const i=j,s=R(this[i(409)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?D(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(424)]({attributes:s})}[j(403)](t){const e=j,i=R(this[e(409)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&V(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(424)]({attributes:i})}[j(424)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(420),i(416),i(426),i(407),i(409),i(405),i(425),i(410)];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(407)]&&(n[i(417)]=n[i(407)][i(427)]((t=>t.id)),delete n[i(407)]),this[i(422)](i(424),n,e))}[j(415)](){const t=j;return{id:this.id,name:this[t(420)],creatorId:this[t(401)]?this[t(401)].id:null,authorsIds:this[t(407)][t(427)]((t=>t.id)),diffData:this[t(426)],createdAt:this[t(416)],attributes:this[t(409)],fromVersion:this[t(425)],toVersion:this[t(405)]}}}var U=i(782),Z=i(211),H=i(783);const q=$;function $(t,e){const i=Y();return($=function(t,e){return i[t-=295]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(907071===parseInt(e(305))/1*(-parseInt(e(297))/2)+parseInt(e(311))/3+parseInt(e(351))/4*(parseInt(e(321))/5)+parseInt(e(304))/6*(parseInt(e(345))/7)+parseInt(e(344))/8+parseInt(e(316))/9*(-parseInt(e(331))/10)+parseInt(e(327))/11*(-parseInt(e(342))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends U.Plugin{[q(343)];static get[q(326)](){return[Z.Users]}static get[q(315)](){return q(306)}static get[q(300)](){return!0}static get[q(303)](){return!0}get[q(348)](){const t=q;return this[t(343)][t(348)]}constructor(e){const i=q;super(e),this[i(343)]=new t.Collection}[q(322)](){!async function(e){const i=k([97,105,78,99,57,115,108,67,121,98,116,49,119,80,77,86,118,106,112,85,74,103,117,55,84,113,89,81,110,104,88,100,70,71,72,101,65,82,66,50,54,73,122,102,56,114,51,69,48,68,53,79,109,107,76,87,83,111,52,90,120,75]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(295)](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([97]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=$;return t[e(296)]((t=>String[e(330)](t)))[e(308)]("")}!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:1744416e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(346)]);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(341)](t){const e=q,i=this[e(325)][e(313)][e(318)](e(320));return new z({id:t.id,name:t[e(310)],creator:t[e(329)]?i[e(340)](t[e(329)]):null,diffData:t[e(299)]||t[e(314)],authors:t[e(334)][e(296)]((t=>i[e(340)](t))),createdAt:new Date(t[e(301)]),attributes:t[e(323)],fromVersion:t[e(312)],toVersion:t[e(349)]})}[q(328)](t,e=0){const i=q;this[i(343)][i(298)](t,e)}[q(309)](t){const e=q;return this[e(343)][e(318)](t)}[q(335)](t={toJSON:!1}){const e=q,i=Array[e(337)](this[e(343)]);return i[e(317)](),t[e(324)]?i[e(296)]((t=>t[e(324)]())):i}[q(332)](t){const e=q;return this[e(343)][e(332)](t)}[q(347)](t){const e=q,[,i]=this[e(338)](t,{direction:e(339)});return i}[q(319)](t){const e=q,[,i]=this[e(338)](t,{direction:e(350)});return i}[q(302)](t){const e=q,i=[];for(const s of this[e(338)](t[e(307)]))if(i[e(336)](s),s.id===t[e(333)])break;return i}*[q(338)](t,{direction:e=q(339),filter:i=()=>!0}={}){const s=q,n=s(339)===e?1:-1;let r=this[s(343)][s(318)](t),o=this[s(332)](r);for(yield r;r;){if(o+=n,r=this[s(309)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["requires","8492YWiNdk","addRevision","creatorId","fromCharCode","100WKuEmJ","getIndex","oldRevisionId","authorsIds","getRevisions","push","from","getRevisionsIterator","earlier","getUser","createRevision","19164jDqkXH","_revisions","10213512bmZnpo","84049wGWGvt","href","getEarlierVisibleRevision","length","toVersion","later","4LqDyvf","isNaN","map","2hqyyNL","add","diffData","isOfficialPlugin","createdAt","getRevisionsInDiff","isPremiumPlugin","636WXaOOw","696248KZPRdt","RevisionsRepository","newRevisionId","join","getRevision","name","1395933YzrwUe","fromVersion","plugins","data","pluginName","702423obsvIZ","reverse","get","getLaterVisibleRevision","Users","3009655BmEMFe","afterInit","attributes","toJSON","editor"];return(Y=function(){return t})()}const G=K;function J(){const t=["354OUFPDl","toModel","collaboration.channelId","useFillerType","_getViewFromDiffObj","view","116syoMpx","default","192XfQpDS","forEach","length","attributes","_removeRevisionMarkers","RevisionHistoryUtils","innerHTML","startsWith","viewChildrenToDom","_setCustomProperty","getFillerOffset","isOfficialPlugin","attachChange","children","map","processor","render","80757eeslPl","_appendChild","config","type","1787990CNMVNi","loadRevisionData","domDocument","editing","_viewClassToTypeChar","marked","isAttached","from","9816kcgfbJ","toData","get","diffData","getRevisionRootsAttributes","data-revision-","355000dllXzr","name","div","fillerOffset","_makeModelFromViewString","data","parse","attributesAfter","customProperties","_typeCharToViewClass","childNodes","document","getRevisionDocumentData","223755mtpLeU","10724vgkLnO","string","domChildrenToView","append","htmlProcessor","isPremiumPlugin","pluginName","getRevision","filter","domConverter","104444bgKyQl","createElement","insertions","constructor","revision-end","revision-start","_getTypeCharForViewElement","editor"];return(J=function(){return t})()}function K(t,e){const i=J();return(K=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=K,i=t();for(;;)try{if(115897===-parseInt(e(166))/1+-parseInt(e(116))/2*(parseInt(e(147))/3)+-parseInt(e(177))/4+parseInt(e(153))/5+parseInt(e(185))/6*(parseInt(e(167))/7)+parseInt(e(118))/8*(parseInt(e(135))/9)+parseInt(e(139))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class X extends U.Plugin{static get[G(173)](){return G(123)}static get[G(129)](){return!0}static get[G(172)](){return!0}[G(143)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[G(162)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[G(140)](t,e){const i=G;if(t[i(150)]||!e)return;const s=this[i(184)][i(137)][i(149)](i(112)),n=await e[i(174)]({channelId:s,revisionId:t.id});t[i(150)]=n[i(150)]}[G(165)](t){const e=G,i={};for(const s in t[e(150)]){if(t[e(150)][s][e(130)]&&!t[e(150)][s][e(130)][e(145)])continue;const n=this[e(122)](JSON[e(159)](t[e(150)][s][e(179)])),r=this[e(184)][e(142)][e(115)][e(164)],o=new H.ViewDocumentFragment(r,n[e(132)]((t=>this[e(114)](t,!1))));this[e(184)][e(158)][e(133)][e(113)](e(144)),i[s]=this[e(184)][e(158)][e(133)][e(148)](o),this[e(184)][e(158)][e(133)][e(113)](e(117))}return i}[G(151)](t){const e=G,i={};for(const s in t[e(150)])t[e(150)][s][e(130)]&&!t[e(150)][s][e(130)][e(145)]||(i[s]=t[e(150)][s][e(160)]||{});return i}[G(183)](t){const e=G;return this[e(143)][e(149)](t[e(180)])}[G(114)](t,e){const i=G,s=this[i(184)][i(142)][i(115)][i(164)];if(i(168)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(138)]||"r"==t[i(138)]?[]:t[i(131)][i(132)]((t=>this[i(114)](t,e)));const o=this[i(162)][i(149)](t[i(138)])||H.ViewElement,a=this[i(184)][i(158)][i(171)][i(176)];if(n=new o(s,t[i(154)],t[i(121)],r),"u"==t[i(138)]&&t[i(131)][0]){const r=t[i(131)][0];if(n[i(134)]=function(t){const e=i,s=t[e(178)](e(155));return s[e(124)]=r,s[e(163)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(136)](n);const e=Array[i(146)](a[i(126)](t,{bind:!1})),r=a[i(141)][i(178)](i(155));r[i(170)](...e),n=Array[i(146)](a[i(169)](r))[0]}}else if("r"==t[i(138)]&&t[i(131)][0]){const r=t[i(131)][0];if(n[i(134)]=function(t){t[i(124)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(136)](n);const e=Array[i(146)](a[i(126)](t,{bind:!1})),r=a[i(141)][i(178)](i(155));r[i(170)](...e);const o=Array[i(146)](a[i(169)](r));o[i(120)]>1?n[i(136)](o):n=o[0]}}if(t[i(161)])for(const[e,s]of t[i(161)])n[i(127)](e,s);const c=void 0===t[i(156)]?null:t[i(156)];return null!==c&&(n[i(128)]=()=>c),n}}[G(157)](t){const e=G,i=JSON[e(159)](t),s=this[e(184)][e(142)][e(115)][e(164)],n=new H.ViewDocumentFragment(s,i[e(132)]((t=>this[e(114)](t,!0))));return this[e(184)][e(158)][e(186)](n)}[G(122)](t){const e=G;return(t=t[e(175)]((t=>!t[e(154)]||e(182)!==t[e(154)]&&e(181)!==t[e(154)])))[e(119)]((t=>{const i=e;i(168)!=typeof t&&(t[i(131)]=this[i(122)](t[i(131)]),t[i(121)]=t[i(121)][i(175)]((t=>!t[0][i(125)](i(152)))))})),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)===(E=s)||Number.isNaN(R)&&Number.isNaN(E)}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,E;const M=(s=s??new Map).get(t),D=s.get(i);if(null!=M&&null!=D)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,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=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=118]})(t,e)}function at(){const t=["documentFragment","markerToData","getCurrentRevisionId","createPositionAt","bind","isOfficialPlugin","addRevision","getMovedRangeStart","_makeIdsRoot","paragraph","collaboration.channelId","getFillerOffset","getRevisions","setRevisionData","revisionHistory.resumeUnsavedRevision","nodes","_getPreviousFrom","25305005mrkOqG","_generateTape","RealTimeCollaborationClient","find","_saveMetaData","requires","_getState","document","_touchedMarkers","_reset","_showLicenseError","isReady","dataDowncast","_prepareViewToSave","_utils","_source","fromEntries","_fixPosition","outerHTML","_handleRootOperation","_handleOperation","_savedMetaData","insert","_startingVersion","text","_lastTo","Empty document","_baseRoots","_setConversion","revisionHistoryLicenseKeyUsageLimit","_loadState","_createInitialRevision","toView","createRange","_isAttached","markers","_revisionId","_diffRoots","getCustomProperties","set","_handleSplitOperation","revision","userId","reverse","start","getOperation","map","addRoot","adapter","parent","_isPendingUpdate","_processRootBeforeSave","invalid","creatorId","update","getOperations","_setAttribute","rawElement","init","then","affectsData","getData","startsWith","updateRevisions","key","_getVidAttributeName","values","editor","filter","_replaceEditorDataWithRevisionData","_createCurrentRevision","getWalker","revisionHistoryLicenseKeyTrialLimit","getRange","_pendingAction","_fixOperation","PENDING_ACTION_REVISION_HISTORY","locale","initial","pluginName","_handleRootAttributeOperation","delete","_baseRootsAttributes","8PpORcE","finally","2917002DrRFKz","offsetSize","RevisionHistoryUtils","evaluationLimit","innerHTML","initialData","elementStart","authorsIds","getAttribute","_handleInsertOperation","_licenseKeyCheckInterval","_loadedStateData","remove","addRevisionData","_idsRoots","_bufferUpdate","end","insertionPosition","has","splitPosition","keepParagraph","plugins","newRange","revisionHistoryLicenseKeyDomainLimit","creator","htmlProcessor","tableCell","getRevisionRootsAttributes","reInit","expired","_insertChild","4bspFOI","getRevisionDocumentData","history","source","deletion","render","attributesAfter","isPremiumPlugin","some","RevisionsRepository","afterInit","vid","NEGATIVE_INFINITY","_handleMergeOperation","getChild","_applyOperations","setSource","merge","rootName","targetPosition","version","_initialRevisionId","domConverter","length","_execute","upcast","model","isAdd","uiElement","_diffRootsAttributes","_findInsertionIndex","_copyMarkers","_authorId","domDocument","shift","define","revisionHistoryLicenseKeyNotAllowed","baseVersion","isEnabled","_cloneOperation","conversion","$text","getLatestVersion","currentRevision","getAncestors","stickiness","range","max","addRootAttribute","root","howMany","revisionHistoryLicenseKeyInvalid","getTransformedByOperation","getChildren","_createFromRanges","deletions","vid_start","_startingRevisionId","split","_lastFrom","authors","fromVersion","saveRevision","getUser","attributesBefore","string","10jJoiwC","insertion","hasContent","repository","loadState","34SOMlsl","name","_handleMoveOperation","_getTypeCharForViewElement","offset","_makeModelFromViewString","getTime","sourcePosition","size","get","7654759DuRsdq","_getFromVersion","_isInit","_handleMarkerOperation","loadRevisionData","trialLimit","_transformMarkers","previousPosition","_removePendingAction","createRevision","oldRange","path","RevisionHistory","keys","stringify","8021860xPKpym","createPositionFromPath","421284oEtxsj","_touchedRoots","getRoot","$graveyard","move","attachChange","destroy","revisionHistoryLicenseKeyValid","isEqual","clear","featureNotAllowed","fillerOffset","_getViewJson","revisionHistoryLicenseKeyEvaluationLimit","push","$comment","_clone","_appendChild","changeRootAttribute","createElement","removeRootAttribute","_continueCurrentRevision","nodeAfter","_calculateMetaData","marker","type","resolve","includes","25849uWeswp","domainLimit","isAttached","vid_end","detachRoot","Users","clone","revision:","for","add","_addPendingAction","createPositionBefore","createRangeIn","_removeMetaData","from","toVersion","_baseIdsRoots","trim","editor-initial-data-replaced-with-revision-data","graveyardPosition","buildRevisionData","usageLimit","revisionHistoryLicenseKeyExpired","newValue","RevisionTracker","sendBufferedUpdates","_revisionDataBuilder","slice","getRevision","_update","_bufferedUpdates","createPositionAfter","diffData","PendingActions","licenseKey","customProperties","_getBaseVids","sort","config","_operations","Initial revision","getIndex","children","ready","dataToMarker","getRootNames","insertions","_makeRevision","8397234TbkdKS","reinsert","data","element","_fixRange","_markChanges","getAttributes","rootsAttributes","createdAt","getNodeByPath","_touched","roots","elementEnd","position","childCount","item","_markers"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(683605===parseInt(e(174))/1*(parseInt(e(119))/2)+-parseInt(e(146))/3*(-parseInt(e(372))/4)+parseInt(e(438))/5*(-parseInt(e(341))/6)+parseInt(e(129))/7*(-parseInt(e(339))/8)+-parseInt(e(222))/9+parseInt(e(144))/10+parseInt(e(256))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(208)];[rt(351)];[rt(415)]=null;[rt(441)];[rt(304)]=null;[rt(200)];[rt(271)];[rt(393)];[rt(204)];[rt(270)];[rt(330)];[rt(167)];[rt(279)];[rt(352)];static get[rt(335)](){return rt(198)}static get[rt(244)](){return!0}static get[rt(379)](){return!0}static get[rt(261)](){return[Z.Users,B,X,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(441)]=this[i(323)][i(362)][i(128)](i(381)),this[i(270)]=this[i(323)][i(362)][i(128)](i(343)),this[i(200)]=new ut(this[i(323)]),this[i(393)]=this[i(323)][i(212)][i(128)](i(249))||i(334),this[i(204)]=new Map,this[i(352)]=null;const s=(0,t.uid)();this[i(271)]={history:this[i(323)][i(398)][i(263)][i(374)],getLatestVersion:()=>Promise[i(172)](this[i(323)][i(398)][i(263)][i(392)]),getCurrentRevisionId:()=>s},this[i(295)](i(267),!1),this[i(295)](i(410),!0),this[i(295)](i(306),!1),this[i(323)][i(212)][i(407)](i(253),!0),this[i(323)][i(412)][i(182)](i(397))[i(218)]({view:i(297)})}[rt(314)](){const t=rt;this[t(284)](),this[t(323)][t(224)].on(t(217),(()=>{const e=t,i=this[e(441)][e(202)](0),s=i&&null===i[e(365)]?i:null;if(this[e(167)]=!!s&&this[e(323)][e(212)][e(128)](e(253)),this[e(323)][e(362)][e(359)](e(258))){const t=this[e(271)][e(241)](),n=this[e(441)][e(202)](t);if(n)this[e(279)]=n[e(433)],this[e(167)]=!1;else{const t=this[e(271)][e(374)][e(213)][e(259)]((t=>!t[e(131)])),n=t?t[e(409)]:this[e(271)][e(374)][e(392)];i?(i[e(189)]<n&&i[e(203)]({toVersion:n}),this[e(167)]?(this[e(271)][e(241)]=()=>s.id,this[e(279)]=s[e(433)]):(this[e(279)]=i[e(189)],this[e(167)]=!1)):(this[e(279)]=n,this[e(167)]=!1)}}else s&&(this[e(323)][e(398)][e(263)][e(374)][e(392)]=Math[e(419)](s[e(189)],this[e(323)][e(398)][e(263)][e(374)][e(392)]),s[e(433)]===s[e(189)]?(0!==s[e(433)]&&(this[e(271)][e(241)]=()=>s.id),this[e(167)]=!1):this[e(167)]&&(this[e(271)][e(241)]=()=>s.id,this[e(279)]=s[e(433)])),this[e(167)]||(this[e(279)]=this[e(323)][e(398)][e(263)][e(392)]);this[e(200)][e(314)](this[e(271)][e(374)]),this[e(287)](this[e(279)]),this[e(326)](this[e(279)]),this[e(304)]&&this[e(199)]()})),this[t(243)](t(267)).to(this,t(306),(t=>!t)),this[t(208)]=this[t(323)][t(212)][t(128)](t(208));const e=this[t(323)];this[t(351)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(153)==r||i(423)==r||i(196)==r||i(364)==r||i(408)==r||i(159)==r||i(328)==r||i(285)==r){delete e[n],s=r,clearInterval(this[i(351)]),this[i(351)]=void 0;break}}i(423)==s&&e[i(266)](i(308)),i(196)==s&&e[i(266)](i(370)),i(364)==s&&e[i(266)](i(175)),i(408)==s&&e[i(266)](i(156),i(141)),i(159)==s&&e[i(266)](i(344)),i(328)==s&&e[i(266)](i(134)),i(285)==s&&e[i(266)](i(195))}),1e3)}async[rt(382)](){const t=rt;if(this[t(441)][t(395)]>0){const e=this[t(441)][t(202)](0),i=await this[t(373)](e),s=await this[t(368)](e);this[t(325)](i,s)}}[rt(152)](){const t=rt;super[t(152)](),this[t(351)]&&clearInterval(this[t(351)])}[rt(388)](t){this[rt(271)]=t}async[rt(310)](){const t=rt,e=await this[t(271)][t(414)]();if(e>this[t(415)][t(189)]){await this[t(286)]();const i=this[t(194)]({revision:this[t(415)],to:e});i[t(432)]=i[t(348)][t(302)]((e=>this[t(323)][t(362)][t(128)](t(179))[t(435)](e))),this[t(415)][t(203)](i)}}async[rt(434)](e={},i=null){const s=rt,n=[];await this[s(286)](),this[s(167)]=!1,i>this[s(415)][s(189)]&&(i=null),null===i&&(i=await this[s(271)][s(414)]());const r=this[s(130)](i),o=this[s(194)]({from:r,to:i});if(this[s(415)][s(189)]<i){const t=this[s(194)]({revision:this[s(415)],from:i,to:i});t[s(432)]=[],t[s(348)]=[],t.id=this[s(415)].id,this[s(415)][s(203)](t,!0),delete t[s(432)],n[s(160)](t)}e[s(309)]=this[s(323)][s(362)][s(128)](s(179)).me.id,e[s(120)]=e[s(120)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(354)](e);n[s(160)](e);const c=this[s(441)][s(215)](a);if(0!==c){const t=this[s(441)][s(202)](c-1);if(t[s(433)]!==i){const r=this[s(200)][s(317)](i,t[s(189)]),o={id:t.id,diffData:r[s(206)],authorsIds:r[s(348)],authors:r[s(348)][s(302)]((t=>this[s(323)][s(362)][s(128)](s(179))[s(435)](t))),fromVersion:i};t===this[s(415)]&&(o[s(230)]=new Date(e[s(230)][s(125)]()+10)),t[s(203)](o,!0),delete o[s(432)],n[s(160)](o)}}if(this[s(304)]){for(const t of n)this[s(356)](t.id,t,!0);this[s(199)]()}return a}[rt(354)](t){const e=rt,i=this[e(441)][e(138)](t);return this[e(304)]&&i.on(e(203),((t,i,s)=>{const n=e;s||(this[n(356)](i.id,i,!0),this[n(199)]())})),this[e(441)][e(245)](i,this[e(402)](i)),i}async[rt(373)](t){const e=rt;return await this[e(270)][e(133)](t,this[e(304)]),this[e(270)][e(373)](t)}async[rt(368)](t){const e=rt;return await this[e(270)][e(133)](t,this[e(304)]),this[e(270)][e(368)](t)}[rt(199)](){const t=rt;if(0===this[t(204)][t(127)])return;if(this[t(306)])return;let e=Array[t(188)](this[t(204)][t(322)]());this[t(204)][t(155)]();for(let i=0;i<e[t(395)];i++){const s=e[i];let n=!1;for(const e of Object[t(142)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(324)]((t=>null!==t)),!e[t(395)])return;for(let i=0;i<e[t(395)];i++){const s=e[i];void 0!==s[t(433)]&&void 0===s[t(189)]&&(s[t(189)]=this[t(441)][t(202)](s.id)[t(189)]),void 0!==s[t(189)]&&void 0===s[t(433)]&&(s[t(433)]=this[t(441)][t(202)](s.id)[t(433)])}const i=this[t(323)][t(212)][t(128)](t(249));this[t(306)]=!0,this[t(184)](),this[t(304)][t(319)](e,i)[t(340)]((()=>{this[t(306)]=!1}))[t(315)]((e=>{const i=t;if(e)for(const t of e)this[i(252)]({id:t.id,createdAt:t[i(230)]});this[i(137)](),this[i(199)]()}))}[rt(194)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(433)],i=null!==i?i:t[s(189)];const n=this[s(200)][s(317)](e,i),r={diffData:n[s(206)],authorsIds:n[s(348)],fromVersion:e,toVersion:i};if(!t||i!==t[s(189)]){const t=i-1,e=this[s(271)][s(374)][s(301)](t);r[s(230)]=e&&e[s(230)]||new Date}if(this[s(352)]&&e===this[s(352)][s(433)])for(const t of this[s(352)][s(432)])r[s(348)][s(173)](t.id)||r[s(348)][s(160)](t.id);return r}[rt(356)](t,e,i){const s=rt;if(this[s(204)][s(359)](t)){const n=this[s(204)][s(128)](t);e=i?{...n,...e}:{...e,...n}}this[s(204)][s(295)](t,e)}[rt(252)](t){const e=rt,i=this[e(441)][e(202)](t.id);if(t[e(230)]&&(t[e(230)]=new Date(t[e(230)])),t[e(348)]){const i=this[e(323)][e(362)][e(128)](e(179));t[e(432)]=t[e(348)][e(302)]((t=>i[e(435)](t)))}i[e(203)](t,!0)}[rt(287)](t){const e=rt,i=this[e(441)][e(202)](this[e(441)][e(395)]-1);if(i)this[e(393)]=i.id;else{const i=!this[e(323)][e(398)][e(263)][e(233)][e(259)]((t=>this[e(323)][e(398)][e(440)](t))),s=this[e(323)][e(362)][e(128)](e(179)).me.id,n=Q(this[e(323)][e(333)],e(i?282:214));this[e(221)]({from:t,to:t,id:this[e(393)],name:n,creatorId:s})}}[rt(326)](t){const e=rt,i=this[e(271)][e(241)]();this[e(415)]=this[e(441)][e(202)](i),this[e(415)]||(this[e(415)]=this[e(221)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(286)](){const t=rt;this[t(167)]&&!this[t(352)]&&(await this[t(270)][t(133)](this[t(415)],this[t(304)]),this[t(200)][t(118)](this[t(415)]),this[t(352)]={fromVersion:this[t(415)][t(433)],authors:this[t(415)][t(432)][t(201)]()})}[rt(325)](e,i){const s=rt;let n=this[s(323)][s(212)][s(128)](s(346)),r=this[s(323)][s(212)][s(128)](s(229));if(void 0===n){n={};for(const t of this[s(323)][s(398)][s(263)][s(219)]())n[t]=""}if(s(437)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(323)][s(398)][s(263)][s(219)]())r[t]={}}let o=!1;const a=Object[s(142)](n),c=Object[s(142)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(191)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(142)](r[t])[s(395)]>0){o=!0;break}}o||(o=c[s(380)]((t=>!this[s(323)][s(398)][s(263)][s(148)](t)))),o&&(0,t.logWarning)(s(192),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(323)][s(212)][s(295)](s(346),e),this[s(323)][s(212)][s(295)](s(229),i)}[rt(184)](){const t=rt;if(!this[t(330)]){const e=this[t(323)][t(362)][t(128)](t(207));this[t(330)]=e[t(183)](Q(this[t(323)][t(333)],t(332)))}}[rt(137)](){const t=rt;this[t(330)]&&(this[t(323)][t(362)][t(128)](t(207))[t(353)](this[t(330)]),this[t(330)]=null)}[rt(402)](t){const e=rt,i=this[e(441)][e(251)]();i[e(299)]();let s=0;for(;s<i[e(395)];){const n=i[s];if(n===this[e(415)]){s++;continue}if(n.id===this[e(393)])break;const r=t[e(189)]-n[e(189)]||t[e(433)]-n[e(433)];if(r>0)break;if(r<0)s++;else{if(!t[e(365)]&&n[e(365)])break;if(n[e(365)]||!t[e(365)]){if(t[e(230)]>n[e(230)])break;s++}else s++}}return s}[rt(130)](t){const e=rt,i=this[e(441)][e(251)]();i[e(299)](),i[e(406)]();const s=i[e(259)]((i=>i[e(189)]<=t))[e(189)];return s<this[e(279)]?this[e(279)]:s}[rt(221)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(194)]({from:e,to:i});o[r(120)]=t,o[r(309)]=s,o.id=n;const a=this[r(354)](o);return this[r(304)]&&this[r(356)](o.id,o,!0),a}[rt(284)](){const t=rt;this[t(323)][t(412)][t(182)](t(268))[t(240)]({model:t(297)})}}class ut{[rt(323)];[rt(375)];[rt(277)];[rt(431)];[rt(281)];[rt(238)];[rt(293)];[rt(401)];[rt(283)];[rt(338)];[rt(355)];[rt(190)];[rt(232)];[rt(264)];[rt(147)];[rt(292)];[rt(429)];constructor(t){const e=rt;this[e(323)]=t,this[e(277)]=new Map,this[e(431)]=-1,this[e(281)]=-1,this[e(238)]=new Map,this[e(293)]=new Map,this[e(401)]=new Map,this[e(283)]=new Map,this[e(338)]=new Map,this[e(355)]=new Map,this[e(190)]=new Map,this[e(232)]=new Map,this[e(264)]=new Map,this[e(147)]=new Map,this[e(292)]=1}[rt(314)](t){const e=rt;this[e(375)]=t;const i=new Map,s=new Map,n=this[e(323)][e(398)][e(263)][e(233)][e(302)]((t=>t[e(390)]));for(const t of n){const n=this[e(323)][e(398)][e(263)][e(148)](t),r=lt(n);i[e(295)](t,r),s[e(295)](t,Object[e(272)](n[e(228)]()))}const r=Array[e(188)](this[e(323)][e(398)][e(291)])[e(302)]((t=>[t[e(120)],t[e(329)]()])),o=this[e(375)][e(392)];this[e(260)](o,i,r,s),this[e(429)]=this[e(292)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(295)](t,i),c[e(295)](t,{})}this[e(260)](Number[e(384)],a,[],c)}[rt(317)](t,e){const i=rt;if(this[i(431)]===t&&this[i(281)]<=e)this[i(277)][i(127)]>1&&this[i(187)](this[i(281)]),this[i(387)](this[i(281)],e,!0);else{if(!this[i(277)][i(359)](t)){const e=this[i(255)](t);this[i(169)](e,t,!1)}this[i(169)](t,e,!0)}return this[i(431)]=t,this[i(281)]=e,this[i(262)]()}[rt(118)](t){const e=rt,i=this[e(323)][e(362)][e(128)](e(343));this[e(265)](),this[e(431)]=t[e(433)],this[e(281)]=t[e(189)];for(const s in t[e(206)]){const n=t[e(206)][s][e(151)],r=R(t[e(206)][s][e(436)])||{},o=i[e(124)](t[e(206)][s][e(427)]);o[e(390)]=s,o[e(290)]=!n||!n[e(176)],o[e(176)]=()=>o[e(290)],this[e(283)][e(295)](s,o),this[e(338)][e(295)](s,r),n&&this[e(147)][e(295)](s,n);const a=this[e(247)](o);this[e(190)][e(295)](s,a);for(const[t,i]of o[e(291)]){if(!t[e(318)](e(181)))continue;const s=t[e(430)](":")[2];for(const t of i[e(327)]({singleCharacters:!0})){const i=this[e(321)](t),n=e(234)==t[e(171)]?t[e(136)][e(140)][e(201)](0,-1):t[e(136)][e(140)],r=a[e(231)](n)[e(349)](i);this[e(232)][e(295)](r,{userId:s})}}}this[e(429)]=this[e(292)];const s=[...Array(this[e(292)])[e(142)]()][e(201)](1)[e(324)]((t=>!this[e(232)][e(359)](t)));let n=0;const r=new Map;for(const o in t[e(206)]){const a=t[e(206)][o][e(151)],c=R(t[e(206)][o][e(378)])||{},u=i[e(124)](t[e(206)][o][e(220)]);u[e(390)]=o,u[e(290)]=!a||a[e(176)],u[e(176)]=()=>u[e(290)],this[e(293)][e(295)](o,u),this[e(401)][e(295)](o,c);const l=this[e(247)](u,Number[e(384)]);this[e(355)][e(295)](o,l),r[e(295)](o,u[e(176)]()?c:{});for(const[t,i]of u[e(291)]){if(!t[e(318)](e(181)))continue;const s=t[e(430)](":")[2];for(const t of i[e(327)]({singleCharacters:!0})){const i=this[e(321)](t),n=this[e(292)]++,r=e(234)==t[e(171)]?t[e(136)][e(140)][e(201)](0,-1):t[e(136)][e(140)];l[e(231)](r)[e(312)](i,n),this[e(232)][e(295)](n,{userId:s})}}for(const t of this[e(323)][e(398)][e(186)](u)[e(327)]({singleCharacters:!0})){const i=this[e(321)](t),r=e(234)==t[e(171)]?t[e(136)][e(140)][e(201)](0,-1):t[e(136)][e(140)],o=l[e(231)](r);o[e(349)](i)>0||o[e(312)](i,s[n++])}for(const[t,i]of u[e(291)])t[e(318)](e(181))||this[e(238)][e(295)](t,i)}const o=ht(e(149));this[e(283)][e(295)](e(149),o),this[e(190)][e(295)](e(149),this[e(247)](o,1));const a=ht(e(149));this[e(293)][e(295)](e(149),a),this[e(355)][e(295)](e(149),this[e(247)](a,1));const c=Array[e(188)](this[e(293)])[e(302)]((([t,e])=>[t,lt(e)]));this[e(260)](this[e(281)],c,this[e(238)],r)}[rt(369)](){const t=rt;this[t(265)](),this[t(431)]=-1,this[t(281)]=-1,this[t(277)][t(155)](),this[t(314)](this[t(375)])}[rt(260)](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(295)](t,{start:e[n(300)][n(180)](),end:e[n(357)][n(180)](),rootName:e[n(421)][n(390)]});this[n(277)][n(295)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(187)](t){const e=rt;this[e(277)][e(337)](t)}[rt(265)](){const t=rt;this[t(232)][t(155)](),this[t(264)][t(155)](),this[t(147)][t(155)](),this[t(293)][t(155)](),this[t(401)][t(155)](),this[t(283)][t(155)](),this[t(338)][t(155)](),this[t(355)][t(155)](),this[t(190)][t(155)](),this[t(238)][t(155)](),this[t(292)]=1,this[t(429)]=this[t(292)]}[rt(247)](t,e=null){const i=rt;let s=null;t.is(i(239))||(s=new H.Element(t[i(120)],{vid_start:null===e?this[i(292)]++:e++}));const n=[];for(const s of t[i(425)]())if(s.is(i(225))){n[i(160)](this[i(247)](s,e));const t=n[n[i(395)]-1];null!==e&&(e=t.is(i(225),i(413))?t[i(349)](i(383))+1:t[i(349)](i(177))+1)}else for(let t=0;t<s[i(342)];t++)n[i(160)](new H.Element(i(413),{vid:null===e?this[i(292)]++:e++}));if(t.is(i(239))){const e=ht(t[i(390)]);return e[i(371)](0,n),e}return s[i(312)](i(177),null===e?this[i(292)]++:e++),s[i(371)](0,n),s}[rt(169)](t,e,i){const s=rt;this[s(265)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(277)][s(128)](t);this[s(283)]=new Map(n),this[s(338)]=new Map(R(o));for(const[t,e]of this[s(283)])if(s(149)!==t&&(this[s(293)][s(295)](t,lt(e)),this[s(401)]=new Map(R(o)),i)){const i=this[s(292)];this[s(355)][s(295)](t,this[s(247)](e)),this[s(190)][s(295)](t,this[s(247)](e,i))}this[s(429)]=this[s(292)],this[s(293)][s(295)](s(149),lt(this[s(283)][s(128)](s(149)))),i&&this[s(355)][s(295)](s(149),this[s(247)](this[s(283)][s(128)](s(149))));for(const[t,e]of r){const i=this[s(283)][s(128)](e[s(390)]),n=this[s(293)][s(128)](e[s(390)]),r=new H.Range(this[s(273)](e[s(300)],i),this[s(273)](e[s(357)],i)),o=this[s(226)](r,n);i[s(291)][s(295)](t,r),this[s(238)][s(295)](t,o)}this[s(387)](t,e,i)}[rt(387)](t,e,i){const s=rt;for(const n of this[s(375)][s(311)](t,e))this[s(276)](n,i);for(const t of this[s(293)][s(322)]())t[s(291)][s(155)]();for(const[t,e]of this[s(238)])this[s(293)][s(128)](e[s(421)][s(390)])[s(291)][s(295)](t,e[s(180)]());const n=new Map,r=new Map;for(const[t,e]of this[s(293)])n[s(295)](t,lt(e)),r[s(295)](t,this[s(401)][s(128)](t));this[s(260)](e,n,this[s(238)],r)}[rt(255)](t){const e=rt,i=Array[e(188)](this[e(277)][e(142)]());i[e(211)](((t,e)=>t-e)),i[e(299)]();for(const e of i)if(e<t)return e;return Number[e(384)]}[rt(403)](t,e){const i=rt,s=Array[i(188)](e[i(291)])[i(302)]((([e,s])=>[e,this[i(226)](s,t)]));t[i(291)]=new Map(s)}[rt(135)](t){const e=rt;for(const i of this[e(238)][e(322)]()){const s=i[e(424)](t),n=H.Range[e(426)](s);i[e(300)]=n[e(300)],i[e(357)]=n[e(357)]}}[rt(276)](t,e){const i=rt;if(i(303)!=t[i(171)]&&i(178)!=t[i(171)]){if(i(278)==t[i(171)]){const s=t[i(235)][i(421)][i(390)];this[i(293)][i(359)](s)||(this[i(293)][i(295)](s,ht(s,!0)),this[i(401)][i(295)](s,{}),e&&this[i(355)][i(295)](s,ht(s,!0)))}else{if(i(420)==t[i(171)]||i(166)==t[i(171)]||i(164)==t[i(171)])return void this[i(336)](t);i(170)==t[i(171)]&&this[i(132)](t)}if(i(170)!==t[i(171)]){const e=this[i(411)](t,this[i(293)]);e[i(396)](),this[i(135)](e)}if(e)switch(t[i(171)]){case i(278):this[i(350)](t);break;case i(150):case i(353):case i(223):this[i(121)](t);break;case i(389):this[i(385)](t);break;case i(430):this[i(296)](t)}}else this[i(275)](t,e)}[rt(411)](t,e){const i=rt,s=t[i(180)]();return s[i(404)]=t[i(404)],this[i(331)](s,e),s}[rt(210)](t){const e=rt;return t[e(302)]((t=>{const i=e,s=this[i(321)](t);return Number(t[i(237)][i(349)](s))}))}[rt(257)](t,e){const i=rt;if(t.is(i(225),i(413)))e[i(160)]({item:t,type:i(280)});else{t.is(i(225))&&e[i(160)]({item:t,type:i(347)});for(const s of t[i(425)]())this[i(257)](s,e);t.is(i(225))&&e[i(160)]({item:t,type:i(234)})}return e}[rt(262)](){const t=rt,e=new Map(this[t(232)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(283)][t(142)](),...this[t(293)][t(142)]()]);a[t(337)](t(149));for(const e of a){const i=this[t(293)][t(128)](e)||ht(e,!1),s=this[t(283)][t(128)](e)||ht(e,!1);i[t(176)]()||s[t(176)]()?(n[t(220)][e]=lt(i),n[t(427)][e]=lt(s),this[t(403)](n[t(427)][e],s),this[t(403)](n[t(220)][e],i),r[t(220)][e]=this[t(257)](this[t(355)][t(128)](e),[]),r[t(427)][e]=this[t(257)](this[t(190)][t(128)](e)||ht(e,!1),[])):a[t(337)](e)}for(const n of a){const o=r[t(220)][n];for(const n of o){const r=this[t(321)](n),o=n[t(237)][t(349)](r);i[t(337)](o),o>=this[t(429)]&&s[t(295)](o,e[t(128)](o))}}for(const n of a){const a=r[t(220)][n],c=this[t(210)](r[t(427)][n]);let u=0;for(const n of a){const r=this[t(321)](n),a=n[t(237)][t(349)](r);if(!s[t(359)](a)&&!o[t(359)](a))if(i[t(359)](a))u++;else{if(a!=c[u]){const s=e[t(128)](a)||e[t(128)](c[u]);for(;a!=c[u];)i[t(359)](c[u])||(o[t(295)](c[u],s),e[t(295)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(220)][e];for(const e of n){const n=this[t(321)](e),r=e[t(237)][t(349)](n);if(o[t(359)](r)){const e=o[t(128)](r);i[t(359)](r)||i[t(295)](r,{...e}),s[t(295)](r,{...e})}}}for(const e of i[t(142)]())e>=this[t(429)]&&i[t(337)](e);const c=new Map;for(const e of a){let n=r[t(220)][e];for(const e of n)if(e[t(237)].is(t(225),t(367))){const i=this[t(321)](e),n=e[t(237)][t(349)](i);if(s[t(359)](n)){const i=e[t(237)][t(305)][t(305)][t(349)](t(428)),r=c[t(128)](i)||new Set;r[t(183)](s[t(128)](n)[t(298)]),c[t(295)](i,r)}}n=r[t(427)][e];for(const e of n)if(e[t(237)].is(t(225),t(367))){const s=this[t(321)](e),n=e[t(237)][t(349)](s);if(i[t(359)](n)){const s=e[t(237)][t(305)][t(305)][t(349)](t(428)),r=c[t(128)](s)||new Set;r[t(183)](i[t(128)](n)[t(298)]),c[t(295)](s,r)}}for(const e of c[t(142)]())(s[t(359)](e)||i[t(359)](e))&&c[t(337)](e)}for(const e of a){const n=r[t(220)][e];let o=null,a=null;for(const e of n){const n=this[t(321)](e),r=e[t(237)][t(349)](n),u=c[t(128)](r);u&&t(347)==e[t(171)]&&(o=Array[t(188)](u)[0],a=e[t(237)][t(349)](t(177))),o&&(i[t(295)](r,{userId:o}),s[t(295)](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(220)][e];for(const{userId:e}of this[t(264)][t(322)]())null!==e&&l[t(183)](e);for(const{userId:e}of this[t(147)][t(322)]())null!==e&&l[t(183)](e);this[t(227)](a,r[t(220)][e],s,t(439),l),this[t(227)](o,r[t(427)][e],i,t(376),l),u[e]={insertions:this[t(269)](a),deletions:this[t(269)](o),attachChange:this[t(147)][t(128)](e)||null,attributesBefore:R(this[t(338)][t(128)](e))||{},attributesAfter:R(this[t(401)][t(128)](e))}}return{diffData:u,authorsIds:Array[t(188)](l)}}[rt(307)](t){const e=rt;for(const[,i]of t[e(291)]){const t=i[e(300)][e(416)]()[e(324)]((t=>e(367)==t[e(120)]));for(const i of t)1==i[e(236)]&&i[e(386)](0).is(e(225),e(248))&&i[e(386)](0)[e(312)](e(361),!0)}}[rt(269)](t){const e=rt;this[e(307)](t);const i=this[e(323)][e(224)][e(288)](t,{}),s=Array[e(188)](i[e(425)]())[e(302)]((t=>this[e(158)](t)));return JSON[e(143)](s)}[rt(158)](t){const e=rt;if(t.is(e(413)))return t[e(224)];{const i=this[e(323)][e(362)][e(128)](e(343)),s=t,n=this[e(323)][e(224)][e(366)][e(394)],r={type:i[e(122)](s),name:s[e(120)],attributes:Array[e(188)](s[e(228)]()),children:Array[e(188)](s[e(425)]())[e(302)]((t=>this[e(158)](t)))};if(t.is(e(400))&&e(161)!=t[e(120)]){const i=t[e(377)](n[e(405)],n);r[e(216)][e(160)](i[e(274)])}else if(t.is(e(313))){const i=n[e(405)][e(165)](s[e(120)]);t[e(377)](i,n),r[e(216)][e(160)](i[e(345)])}const o=Array[e(188)](s[e(294)]());o[e(395)]>0&&(r[e(209)]=o);const a=s[e(250)]();return null!==a&&(r[e(157)]=a),r}}[rt(227)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(323)][r(398)];for(let s=0;s<e[r(395)];s++){const n=this[r(321)](e[s]),c=e[s][r(237)][r(349)](n),h=i[r(128)](c),d=s==e[r(395)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(298)]!=o[r(298)])&&(l(h,dt(a,t,u),dt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,dt(a,t,u),ft(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(298)],d=l(181)+s+":"+h+":"+c++,f=u[l(289)](i,a);t[l(291)][l(295)](d,f),null!==h&&n[l(183)](h)}}[rt(321)](t){const e=rt;switch(t[e(171)]){case e(347):return e(428);case e(234):return e(177);default:return e(383)}}[rt(331)](t,e){const i=rt;t[i(409)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(128)](n[i(421)][i(390)]);t[s]=this[i(273)](n,r)}if(n instanceof H.Range){const r=e[i(128)](n[i(421)][i(390)]);t[s]=this[i(226)](n,r)}i(421)===s&&(t[i(421)]=e[i(128)](t[i(421)][i(390)]))}}[rt(226)](t,e){const i=rt;return this[i(323)][i(398)][i(289)](this[i(273)](t[i(300)],e),this[i(273)](t[i(357)],e))}[rt(273)](t,e){const i=rt;return this[i(323)][i(398)][i(145)](e,t[i(140)],t[i(417)])}[rt(350)](t){const e=rt,i=this[e(355)][e(128)](t[e(235)][e(421)][e(390)]),s=this[e(273)](t[e(235)],i),n=null===t[e(404)]?null:t[e(404)]||this[e(323)][e(362)][e(128)](e(179)).me.id,r=s[e(305)],o=this[e(292)],a=[];for(const i of t[e(254)])if(i.is(e(225)))a[e(160)](this[e(247)](i));else for(let t=0;t<i[e(342)];t++)a[e(160)](new H.Element(e(413),{vid:this[e(292)]++}));const c=this[e(292)];for(let t=o;t<c;t++)this[e(232)][e(295)](t,{userId:n});r[e(371)](s[e(123)],a)}[rt(121)](t){const e=rt;(t=this[e(411)](t,this[e(355)]))[e(396)]();const i=null===t[e(404)]?null:t[e(404)]||this[e(323)][e(362)][e(128)](e(179)).me.id,s=t[e(246)](),n=s[e(305)],r=s[e(123)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(386)](e);r.is(a(225),a(413))?s[a(295)](r[a(349)](a(383)),{userId:i}):(s[a(295)](r[a(349)](a(428)),{userId:i}),t(s,r,0,r[a(236)]),s[a(295)](r[a(349)](a(177)),{userId:i}))}}(this[e(232)],n,r,r+t[e(422)])}[rt(385)](t){const e=rt,i=null===(t=this[e(411)](t,this[e(355)]))[e(404)]?null:t[e(404)]||this[e(323)][e(362)][e(128)](e(179)).me.id,s=t[e(391)][e(305)],n=t[e(126)][e(305)],r=s[e(349)](e(177)),o=n[e(349)](e(428));s[e(312)](e(177),n[e(349)](e(177))),n[e(312)](e(177),r),this[e(232)][e(295)](o,{userId:i}),this[e(232)][e(295)](r,{userId:i}),t[e(396)]()}[rt(296)](t){const e=rt,i=null===(t=this[e(411)](t,this[e(355)]))[e(404)]?null:t[e(404)]||this[e(323)][e(362)][e(128)](e(179)).me.id,s=t[e(193)],n=t[e(360)][e(305)];t[e(396)]();const r=n[e(349)](e(177)),o=t[e(358)][e(168)];if(s){const t=o[e(349)](e(177)),s=n[e(349)](e(177));n[e(312)](e(177),t),o[e(312)](e(177),s),this[e(232)][e(295)](n[e(349)](e(177)),{userId:i}),this[e(232)][e(295)](o[e(349)](e(428)),{userId:i})}else{const t=this[e(292)]++,s=this[e(292)]++;n[e(312)](e(177),t),o[e(312)](e(428),s),o[e(312)](e(177),r),this[e(232)][e(295)](t,{userId:i}),this[e(232)][e(295)](s,{userId:i})}}[rt(132)](t){const e=rt;if(!t[e(316)])return;const i=(t=this[e(411)](t,this[e(293)]))[e(139)]?t[e(139)][e(421)]:null,s=t[e(363)]?t[e(363)][e(421)]:null;i&&this[e(238)][e(337)](t[e(120)]),s&&this[e(238)][e(295)](t[e(120)],t[e(363)][e(180)]());const n=null===t[e(404)]?null:t[e(404)]||this[e(323)][e(362)][e(128)](e(179)).me.id,r=t[e(120)];if(!this[e(264)][e(359)](r))return void this[e(264)][e(295)](r,{range:t[e(139)],userId:n});const o=this[e(264)][e(128)](r),a=o[e(418)],c=t[e(363)];null==a&&null==c||a&&c&&a[e(154)](c)?this[e(264)][e(337)](t[e(120)]):o[e(298)]=n}[rt(275)](t,e){const i=rt;this[i(293)][i(359)](t[i(390)])?this[i(293)][i(128)](t[i(390)])[i(290)]=t[i(399)]:(this[i(293)][i(295)](t[i(390)],ht(t[i(390)],!0)),this[i(401)][i(295)](t[i(390)],{}),e&&this[i(355)][i(295)](t[i(390)],ht(t[i(390)],!0)));const s=null===t[i(404)]?null:t[i(404)]||this[i(323)][i(362)][i(128)](i(179)).me.id,n=this[i(147)][i(128)](t[i(390)]);n&&n[i(298)]===s?this[i(147)][i(337)](t[i(390)]):this[i(147)][i(295)](t[i(390)],{userId:s,isAttached:t[i(399)]})}[rt(336)](t){const e=rt,i=this[e(401)][e(128)](t[e(421)][e(390)]);null===t[e(197)]?delete i[t[e(320)]]:i[t[e(320)]]=t[e(197)]}}function lt(t){const e=rt,i=ht(t[e(390)],t[e(176)]());for(const s of t[e(425)]()){const t=s[e(162)](!0);i[e(163)](t)}return i}function ht(t,e=!0){const i=rt,s=new H.DocumentFragment;return s[i(390)]=t,s[i(290)]=e,s[i(176)]=()=>s[i(290)],s}function dt(t,e,i){const s=rt,n=s(234)==t[s(171)]?i[s(242)](t[s(237)],s(357)):i[s(185)](t[s(237)]);return i[s(145)](e,n[s(140)],n[s(417)])}function ft(t,e,i){const s=rt,n=s(347)==t[s(171)]?i[s(242)](t[s(237)],0):i[s(205)](t[s(237)]);return i[s(145)](e,n[s(140)],n[s(417)])}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 Et(t,e){const i=Mt();return(Et=function(t,e){return i[t-=190]})(t,e)}function Mt(){const t=["Name of the revision","revisionNameInputValue","keystrokes","625251NEjMVb","2210320gHdAak","focus","5227984biEGLI","revisionName","arrowup","optional","focusTracker","value","220","errorText","3782997ZjoQBH","2jULKPy","setTemplate","65214jrGIMf","661866BUwKar","arrowright","fieldView","label","2076679KdZESk","arrowleft","stopPropagation","arrowdown","locale","ck-responsive-form","trim","form","extendTemplate","revisionNameInputView","reset","20TGXewq","set","_createRevisionNameInput","render","add","listenTo","ck-revision-history-save-revision-form","input","238qaYzyG","element","5syytls"];return(Mt=function(){return t})()}!function(t){const e=Et,i=t();for(;;)try{if(418164===-parseInt(e(197))/1*(-parseInt(e(209))/2)+parseInt(e(212))/3+parseInt(e(198))/4*(parseInt(e(193))/5)+-parseInt(e(211))/6*(parseInt(e(191))/7)+-parseInt(e(200))/8+parseInt(e(208))/9+parseInt(e(227))/10*(-parseInt(e(216))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Dt extends pt.View{[Rt(204)];[Rt(196)];[Rt(225)];constructor(e,i){const s=Rt;super(e),this[s(204)]=new t.FocusTracker,this[s(196)]=new t.KeystrokeHandler,this[s(228)](s(195),""),this[s(225)]=this[s(229)](i),this[s(210)]({tag:s(223),attributes:{class:["ck",s(233),s(221)],tabindex:"-1"},children:[this[s(225)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(230)](){const t=Rt;super[t(230)](),(0,pt.submitHandler)({view:this}),this[t(204)][t(231)](this[t(225)][t(192)]),this[t(196)][t(232)](this[t(192)]);const e=e=>e[t(218)]();this[t(196)][t(228)](t(213),e),this[t(196)][t(228)](t(217),e),this[t(196)][t(228)](t(202),e),this[t(196)][t(228)](t(219),e)}[Rt(199)](){const t=Rt;this[t(225)][t(199)]()}get[Rt(201)](){const t=Rt;return this[t(225)][t(214)][t(192)][t(205)][t(222)]()}set[Rt(201)](t){const e=Rt;this[e(225)][e(214)][e(192)][e(205)]=t[e(222)]()}[Rt(226)](){const t=Rt;this[t(225)][t(214)][t(192)][t(205)]="",this[t(225)][t(207)]=null}[Rt(229)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(220)],pt.createLabeledInputText),s=i[e(214)];s[e(224)]({attributes:{maxlength:e(206)}});let n=Q(this[e(220)],e(194));return!t&&(n+=" ("+Q(this[e(220)],e(203))+")"),i[e(215)]=n,s.on(e(190),(()=>{const t=e;this[t(195)]=s[t(192)][t(205)][t(222)]()})),i}}const Vt=Ct;function Ct(t,e){const i=Lt();return(Ct=function(t,e){return i[t-=462]})(t,e)}!function(t){const e=Ct,i=t();for(;;)try{if(246859===parseInt(e(530))/1*(parseInt(e(503))/2)+parseInt(e(475))/3*(parseInt(e(522))/4)+parseInt(e(518))/5+parseInt(e(504))/6+-parseInt(e(480))/7*(-parseInt(e(516))/8)+parseInt(e(529))/9+-parseInt(e(510))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Ft extends U.Plugin{static get[Vt(492)](){return Vt(474)}static get[Vt(514)](){return!0}static get[Vt(462)](){return!0}static get[Vt(521)](){return[ct]}[Vt(485)];[Vt(490)](){const t=Vt,e=this[t(491)],i=e[t(511)][t(467)](t(486));e.ui[t(527)][t(512)](t(495),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(489)][n(478)],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(496)](n(507)).to(i,n(468),i,n(507),e,n(493),((t,e,i)=>t&&e&&!i)),r[n(519)][n(487)]({icon:mt.IconHistory,label:Q(s,n(513)),tooltip:!0}),u[n(487)]({label:Q(s,n(502)),withText:!0,role:n(515)}),u[n(496)](n(507)).to(i,n(468),i,n(507),e,n(493),((t,e,i)=>t&&e&&!i)),u.on(n(481),(()=>this[n(501)]())),h[n(487)]({label:Q(s,n(524)),withText:!0,role:n(515)}),h[n(496)](n(507)).to(i,n(468),e,n(493),((t,e)=>t&&!e)),h.on(n(481),(()=>{const t=n;e[t(464)][t(467)](t(495))[t(509)](),r[t(528)]=!1,e[t(523)][t(488)][t(526)]()})),c[n(478)][n(512)](u),l[n(478)][n(512)](h),a[n(498)]=n(476),a[n(479)][n(483)]([c,l]),o[n(512)](a),r})),e.ui[t(527)][t(512)](t(508),(()=>this[t(499)]()))}[Vt(499)](){const t=Vt,e=this[t(491)],i=e[t(465)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(519)][t(487)]({icon:mt.IconHistory,label:Q(i,t(513))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(487)]({label:Q(i,t(502))}),o[t(505)](t(481)).to(s),o.on(t(481),(()=>{this[t(501)]()})),r[t(478)][t(512)](o),n[t(479)][t(512)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(487)]({label:Q(i,t(524))}),c[t(505)](t(481)).to(s),c.on(t(481),(()=>{const i=t;e[i(464)][i(467)](i(495))[i(509)]()})),a[t(478)][t(512)](c),n[t(479)][t(512)](a),s[t(489)][t(478)][t(512)](n),s}[Vt(501)](){const t=Vt,e=this[t(491)],i=e[t(465)],s=e[t(511)][t(467)](t(500)),n=e[t(511)][t(467)](t(486));function r(n){const r=t;e[r(464)][r(467)](r(471))&&""===n[r(482)]?n[r(494)][r(473)]=Q(i,r(517)):(e[r(511)][r(467)](ct)[r(497)]({name:n[r(482)]}),s[r(520)]())}this[t(485)]||(this[t(477)](),this[t(485)].on(t(506),(()=>r(this[t(485)])))),this[t(485)][t(525)](),s[t(470)]({id:t(472),title:Q(i,t(502)),isModal:!0,content:this[t(485)],actionButtons:[{label:Q(e[t(465)],t(466)),withText:!0,onExecute:()=>s[t(520)]()},{label:Q(e[t(465)],t(484)),class:t(469),withText:!0,onCreate(i){const s=t;i[s(496)](s(507)).to(n,s(468),n,s(507),e,s(493),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(485)])}]})}[Vt(477)](){const t=Vt,e=this[t(491)],i=e[t(465)];this[t(485)]=new Dt(i,e[t(464)][t(467)](t(471))),this[t(485)][t(463)]()}}function Lt(){const t=["menuitem","352MzetkA","The revision name cannot be empty.","1841340ecsmLV","buttonView","hide","requires","36276UZFAjF","editing","Open revision history","reset","focus","componentFactory","isOpen","3213189txgXts","31uYONng","isPremiumPlugin","render","config","locale","Cancel","get","isReady","ck-button-action","show","revisionHistory.requireRevisionName","revisionSave","errorText","RevisionHistoryUI","159cpSmlE","menu","_createSaveRevisionFormView","children","items","31514SamlFz","execute","revisionName","addMany","Accept","_saveRevisionFormView","RevisionTracker","set","view","panelView","init","editor","pluginName","isReadOnly","revisionNameInputView","revisionHistory","bind","saveRevision","role","_registerMenuComponent","Dialog","_showDialog","Save current revision","13358nHxttX","2441490bEDUaZ","delegate","submit","isEnabled","menuBar:revisionHistory","showRevisionViewerCallback","17711390qFAzlN","plugins","add","Revision history","isOfficialPlugin"];return(Lt=function(){return t})()}function jt(){const t=["author","ck-revision-change","Added by","bindTemplate","6857557umBzIR","type","isSuggestion","215oNlLJA","ck-revision-change__label","Suggested by","12080vRsXgK","5002179Bgtrjo","4822878ioXfjP","data","18714056pYiGCT","ck-revision-change__","focus","add","name","_model","340588FASkrE","div","1582376FmyTTZ","set","element","changeId","setTemplate","Removed by","ck-annotation","span"];return(jt=function(){return t})()}const Pt=Wt;function Wt(t,e){const i=jt();return(Wt=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(940964===-parseInt(e(412))/1+parseInt(e(410))/2+parseInt(e(401))/3+-parseInt(e(400))/4*(-parseInt(e(397))/5)+-parseInt(e(402))/6+-parseInt(e(394))/7+parseInt(e(404))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends pt.View{[Pt(385)];[Pt(409)];constructor(t,e){const i=Pt;super(t),this[i(409)]=e,this[i(385)]=e.id;const s=this[i(393)],n=Q(t,e[i(403)][i(396)]?i(399):i(407)==e[i(395)]?i(392):i(387));this[i(413)](i(395),e[i(395)]),this[i(386)]({tag:i(411),attributes:{class:[i(388),i(391),s.to(i(395),(t=>i(405)+t))],tabindex:-1},children:[{tag:i(389),children:[{tag:i(389),attributes:{class:[i(398)]},children:[{text:n}]},{text:" "+e[i(390)][i(408)]}]}]})}[Pt(406)](){const t=Pt;this[t(384)][t(406)]()}}function Ut(){var t=["rootName","toJSON","7091jXTgid","2140UHlWzx","data","11950870cMsyIk","6tHryln","6007770QtDWsB","354XCzQsi","type","246936OcsRXt","9SEHptX","9160xIhJGK","author","createdAt","2321ecZwcJ","set","6672390JnjoTW","81771oGnznj"];return(Ut=function(){return t})()}var Zt=Ht;function Ht(t,e){var i=Ut();return(Ht=function(t,e){return i[t-=455]})(t,e)}!function(t){for(var e=Ht,i=t();;)try{if(635076===parseInt(e(473))/1*(parseInt(e(461))/2)+parseInt(e(463))/3*(parseInt(e(458))/4)+parseInt(e(462))/5+parseInt(e(472))/6+parseInt(e(457))/7*(parseInt(e(467))/8)+-parseInt(e(466))/9*(-parseInt(e(460))/10)+-parseInt(e(470))/11*(parseInt(e(465))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt extends((0,t.ObservableMixin)()){id;[Zt(468)];[Zt(464)];[Zt(459)];[Zt(455)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(468)]=e[i(468)],this[i(464)]=e[i(464)],this[i(459)]=e[i(459)]||{},this[i(455)]=e[i(455)],this[i(471)](i(469),e[i(469)])}[Zt(456)](){var t=Zt;return{id:this.id,authorId:this[t(468)].id,type:this[t(464)],data:this[t(459)],createdAt:this[t(469)]}}}const $t=Yt;function Bt(){const t=["5883960KTbxKZ","10371168EvWOEU","2694655gkmCxL","add","_setChanges","233032IfpEhx","4922013RaOWbi","4zBMKWB","changes","newRevisionId","3661077ICTAVA","2PilUGc","25552260Zieveq","oldRevisionId","18NgYNJo"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=371]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(927470===parseInt(e(373))/1+-parseInt(e(379))/2*(parseInt(e(374))/3)+parseInt(e(375))/4*(-parseInt(e(385))/5)+-parseInt(e(382))/6*(parseInt(e(378))/7)+parseInt(e(383))/8+parseInt(e(384))/9+parseInt(e(380))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Gt{[$t(377)];[$t(381)];[$t(376)];constructor(e,i){const s=$t;this[s(377)]=e,this[s(381)]=i,this[s(376)]=new t.Collection}[$t(372)](t){const e=$t;for(const i of t)this[e(376)][e(371)](i)}}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Xt=Qt;function Qt(t,e){const i=te();return(Qt=function(t,e){return i[t-=132]})(t,e)}function te(){const t=["_getRevisionsRange","bind","diffData","activeChange","hasAttribute","editing","high","indexOf","isOfficialPlugin","updatePosition","markersEnd","attributes","isAddSuggestion","_getDiff","isAfter","offsetSize","getItems","adapter","99631iEzdwg","1299MUJINg","endIndex","isAdded","map","markerName","hasClass","view","listenTo","_processTape","vid_end","_findChangeIdFromDomTarget","getRoot","RevisionHistoryUtils","revision-suggestion","restoreRevision","detachRoot","keys","top","_balloon","find","error","_appendChild","left","isEnabled","pairId","addRevisionData","getCustomProperty","split","viewItem","_changeIdToChange","change:isReady","index","schema","consumable","elementToAttribute","span","addHighlight","text","roots","attachChange","destroy","createPositionBefore","RevisionsRepository","suggestion:","isOnRoot","name","14016mLUAFn","observeMarkers","deletions","data","low","change:activeChange","deletion","end","currentChangeNumber","isPremiumPlugin","_getChangeFromId","createRangeIn","forward","createRange","downcastDispatcher","change:numberOfChanges","nodeAfter","WidgetToolbarRepository","ck-suggestion-marker-split","reconvertMarker","2530545DqBXDt","showNextChange","authors","stop","_cleanMarkers","addMarker:revision-suggestion:deletion","filter","ck-suggestion-marker-merge","createUIElement","_refreshStartEndIndex","createPositionFromPath","mapper","startsWith","range","for","compare","getRootNames","_removeUnsupportedChanges","maxOffset","getWalker","remove","clear","getAttribute","userId","_markInsertions","revision-viewer","getChild","commands","isEqual","has","_threeWayMerge","item","init","toViewRange","dataToMarker","findIndex","_data","showPreviousChange","1420bSATDd","271370AMAEnF","delete","shift","createAttributeElement","revision","revision-comment:","includes","removeClass","markersStart","attributesBefore","-new","removeAttribute","markers","parent","length","isAttached","config","ck-revision-history-root-remove","suggestion","ck-suggestion-marker","removeMarker","repository","changeId","removeMarker:revision","unshift","isRemoveSuggestion","elementEnd","getIndex","dataDowncast","unbindElementFromMarkerName","isObject","3652CmrhDi","isNavigationMode","editor","target","isAtStart","locale","getDomRoot","isBlock","conversion","bottom","_revisions","numberOfChanges","POSITIVE_INFINITY","document","RevisionViewer","type","isLimit","_activeViewTarget","startIndex","isRemoved","_initInteractions","revisionHistoryLabel","toViewPosition","_makeTape","oldRevisionId","_markMarkers","2663200kHLLlY","_removeMissingPairs","_update","createRevision","plugins","102sSUUxn","insert","start","concat","markerToHighlight","activeView","previousPosition","sort","backward","revisionHistoryAttachChange","editingDowncast","getRevisionRootsAttributes","_setChanges","elementStart","mouseover","wrap","isBefore","first","_makeModelFromTape","revision-suggestion:","isIncorrect","mapViewToDom","getRevisionDocumentData","writer","_markMismatchedRemovedTags","isCollapsed","loadRevisionData","revisionHistory","pop","removeMarker:revision-suggestion","attributesAfter","softBreak","side","change","element","model","forEach","_sortAndFilterDiffChanges","getClientRects","bindElementToMarker","forceDisabled","resolve","_setDistance","element:pre","addRevision","level","add","ck-suggestion-marker--active","execute","setAttribute","restoreRevisionCallback","distance","set","isSuggestion","requires","markerRange","_getViewForChange","ck-revision-history-root--active","isInline","isContent","markerNameToElements","splice","ck-suggestion-marker-","string","catch","modelRange","right","nextSibling","slice","_step","addClass","256181CZWtFu","domEvent","change:activeView","_makeModelFromViewString","pluginName","mousedown","change:isEnabled","selection","abs","push","isAtEnd","isReady","rootName","vid","revision:","object","comment","upcast","ck-suggestion-preview-marker-","all","_joinTapes","checkAttribute","then","_markSuggestions","_utils","enableReadOnlyMode","vid_start","getLaterVisibleRevision","affectsData","enqueueChange","_fixObsoleteTags","getAttributes","_setConversion","test","next","uiElement","highest","ck-revision-history-root-add","addRoot","addMarker:revision","return","showStack","nextPosition","domConverter","data-change-id","getRevision","code","insertion","ck-revision-history-root-","markerToData","changes","addMarker:revision-suggestion:insertion","_changeView","attribute:vid","36zvjKBK","toViewElement","diff","from","values","newRevisionId","ck-suggestion-preview-marker","flat","refresh","done","get","consume","merge","ck-editor__editable__overlay","_cleanUp","insertions","2zyhxSB"];return(te=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(328742===-parseInt(e(447))/1*(-parseInt(e(189))/2)+-parseInt(e(209))/3*(-parseInt(e(313))/4)+parseInt(e(275))/5+-parseInt(e(376))/6*(-parseInt(e(208))/7)+-parseInt(e(371))/8+-parseInt(e(173))/9*(parseInt(e(314))/10)+parseInt(e(345))/11*(-parseInt(e(255))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Xt(335)];[Xt(207)]=null;[Xt(143)];[Xt(362)];[Xt(171)];[Xt(238)];[Xt(227)];static get[Xt(451)](){return Xt(359)}static get[Xt(198)](){return!0}static get[Xt(264)](){return!0}static get[Xt(430)](){return[Z.Users,pt.ContextualBalloon,B,X]}constructor(t){const e=Xt;super(t),this[e(335)]=this[e(347)][e(375)][e(183)](e(251)),this[e(143)]=this[e(347)][e(375)][e(183)](e(221)),this[e(428)](e(193),null),this[e(428)](e(381),null),this[e(362)]=null,this[e(428)](e(175),null),this[e(428)](e(458),!1),this[e(428)](e(232),!0),this.on(e(453),((t,i,s)=>{const n=e;this[n(193)]=null,this[n(381)]=null,this[n(347)][n(195)][n(215)][n(409)]((t=>{const e=n;for(const i of this[e(347)][e(195)][e(215)][e(358)][e(247)])s?t[e(321)](e(186),i):t[e(446)](e(186),i)}))})),this[e(191)](e(346)).to(this,e(193),(t=>null!==t)),this[e(191)](e(263)).to(this,e(458),this,e(175),this,e(193),((t,i,s)=>t&&s?i[e(169)][e(341)](s):0)),this[e(191)](e(356)).to(this,e(458),this,e(175),((t,i)=>t?i[e(169)][e(328)]:0)),this[e(171)]=null,this[e(238)]=new Map,this[e(227)]=this[e(347)][e(375)][e(183)](pt.ContextualBalloon)}[Xt(307)](){const t=Xt,e=this[t(347)],i=new ne(e,{direction:t(384)}),s=new ne(e,{direction:t(267)});e[t(302)][t(422)](t(312),i),e[t(302)][t(422)](t(276),s),e[t(302)][t(422)](t(223),new se(e)),this.on(t(270),(()=>{const e=t;i[e(181)](),s[e(181)]()})),this[t(151)](),this[t(365)](),e[t(144)](t(300)),e[t(375)][t(304)](t(272))&&e[t(375)][t(183)](t(272))[t(416)](t(300))}async[Xt(398)](t){const e=Xt;return await this[e(143)][e(402)](t,this[e(207)]),this[e(143)][e(398)](t)}async[Xt(387)](t){const e=Xt;return await this[e(143)][e(402)](t,this[e(207)]),this[e(143)][e(387)](t)}async[Xt(290)](t,e,i=!1){const s=Xt;if(!this[s(232)])return;const n=this[s(175)],r=this[s(335)],o=s(439)==typeof t?r[s(164)](t):t,a=s(439)==typeof e?r[s(164)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(175)]&&this[s(175)][s(178)]===c&&this[s(175)][s(369)]===u)return Promise[s(417)]();this[s(458)]=!1,this[s(381)]=null,this[s(193)]=null,this[s(175)]=new Gt(c,u);const l=this[s(190)](o,a,!0)[s(212)]((t=>this[s(143)][s(402)](t,this[s(207)])));return l[s(456)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(138)](l)[s(141)]((()=>{const t=s;if(!this[t(232)])return;this[t(187)]();const e=this[t(203)](c,u);for(const i of e[t(169)])this[t(238)][t(428)](i.id,i);this[t(347)][t(411)][t(148)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(347)][s(411)][s(358)][s(291)]())i[s(224)](t);for(const t of Object[s(225)](e[s(411)])){const n=i[s(157)](t);for(const r of Object[s(225)](e[s(201)][t]))i[s(425)](r,e[s(201)][t][r],n);i[s(377)](e[s(411)][t],n,0)}})),this[t(175)][t(388)](this[t(413)](e[t(169)])),this[t(458)]=!0}))[s(440)]((t=>{const e=s;console[e(229)](t),this[e(187)](),n&&(this[e(175)]=n),this[e(458)]=!0}))}[Xt(234)](t,e){const i=Xt,s=this[i(335)][i(374)](t);return s.on(i(373),((t,i,n)=>e(i,n,s))),this[i(335)][i(420)](s),s}[Xt(187)](){const t=Xt;this[t(193)]=null,this[t(279)](),this[t(171)]&&this[t(171)][t(249)](),this[t(171)]=null,this[t(238)][t(296)](),this[t(347)][t(411)][t(148)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(347)][i(411)][i(358)][i(291)]())e[i(224)](t)}))}[Xt(413)](t){const e=Xt,i=[],s=new Map;for(const t of this[e(347)][e(411)][e(358)][e(291)]()){const n=this[e(347)][e(195)][e(215)][e(351)](t);if(!n)continue;const r=n[e(414)]()[e(306)](0);r&&(i[e(456)](t),s[e(428)](t,r))}return i[e(383)](((t,i)=>{const n=e,r=s[n(183)](t),o=s[n(183)](i);return r.y-o.y||r.x-o.x})),(t=t[e(281)]((t=>i[e(320)](t[e(459)]))))[e(383)](((t,s)=>i[e(197)](t[e(459)])-i[e(197)](s[e(459)]))),t}[Xt(368)](t){const e=Xt,i=Array[e(176)](t[e(326)])[e(281)]((([t,i])=>t[e(287)](e(133))&&!i[e(401)])),s=Array[e(176)](this[e(347)][e(411)][e(266)](t)[e(294)]({singleCharacters:!0}));if(0!=i[e(328)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(236)](":");if(n[e(262)][e(303)](t[e(161)])&&i[e(316)](),(t[e(382)][e(303)](n[e(378)])||t[e(382)][e(204)](n[e(378)]))&&(e(166)==r?t[e(211)]={userId:o}:e(261)==r&&(t[e(364)]={userId:o})),0==i[e(328)])break}return s}[Xt(284)](t){const e=Xt,i=new Map;for(let s=0;s<t[e(328)];s++)e(246)===t[s][e(360)]?(t[s][e(306)][e(363)]=s,t[s][e(306)][e(210)]=s):(e(389)===t[s][e(360)]?t[s][e(306)][e(363)]=s:e(340)===t[s][e(360)]&&(t[s][e(306)][e(210)]=s),i[e(428)](t[s].id,s));for(const s of i[e(177)]())e(389)===t[s][e(360)]?t[s][e(306)][e(210)]=i[e(183)](t[s][e(233)]):e(340)===t[s][e(360)]&&(t[s][e(306)][e(363)]=i[e(183)](t[s][e(233)]))}[Xt(217)](t){const e=Xt;for(let i=0;i<t[e(328)];i++){if(e(389)===t[i][e(360)])t[i][e(306)][e(363)]=i;else if(e(340)===t[i][e(360)]){t[i][e(306)][e(210)]=i;const s=t[i][e(306)][e(363)];t[s][e(233)]=t[i].id,t[i][e(233)]=t[s].id}else t[i][e(306)][e(363)]=i,t[i][e(306)][e(210)]=i,t[i][e(233)]=null;t[i][e(322)]||(t[i][e(322)]=[],t[i][e(200)]=[])}}[Xt(299)](t,e){const i=Xt,s=t[i(281)]((t=>!t[i(211)]));for(let t=0;t<e[i(328)];t++)e[t][i(211)]&&(s[t][i(211)]=e[t][i(211)])}[Xt(203)](t,e=null){const i=Xt,s=this[i(335)][i(164)](t),n=e?this[i(335)][i(164)](e):null,r=this[i(190)](s,n),o=r[r[i(328)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(328)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(225)](e[i(192)]))if(e[i(192)][t][i(248)]){const s=e[i(192)][t][i(248)];s[i(329)]?(u[i(422)](t),l[i(304)](t)&&l[i(183)](t)[i(298)]==s[i(298)]?l[i(315)](t):l[i(428)](t,s)):l[i(304)](t)?(u[i(315)](t),l[i(315)](t)):(u[i(422)](t),l[i(428)](t,s))}else u[i(422)](t)}for(const t of u){const e=l[i(304)](t)&&!l[i(183)](t)[i(329)];let s=e?r[i(328)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(192)][t]){const s=e?o[i(192)][t][i(323)]:o[i(192)][t][i(406)];c[i(201)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(411)]={};for(const e of t[i(277)])a[i(428)](e.id,e);for(const e of u){const s=t[i(192)][e]?t[i(192)][e][i(188)]:"[]",n=t[i(192)][e]?t[i(192)][e][i(257)]:"[]";t[i(411)][e]={insertions:this[i(143)][i(450)](s),deletions:this[i(143)][i(450)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(176)](s[i(411)][t][i(188)][i(326)])[i(281)]((([t])=>!t[i(287)](i(133)))));let h=0;for(const o of r){const r=this[i(368)](o[i(411)][t][i(188)]);o==s?(e=r,n=e[i(328)],e[i(412)]((t=>{t.id=h++})),this[i(217)](e)):this[i(299)](e,r);const a=e[i(281)]((t=>!t[i(211)]))[i(212)]((t=>t.id));let c=0;const l=this[i(368)](o[i(411)][t][i(257)]);l[i(412)]((t=>{t[i(364)]?t.id=n++:t.id=a[c++]})),this[i(217)](l),this[i(418)](e,i(211)),this[i(418)](l,i(364)),o==s&&this[i(370)](e,u),e=this[i(139)](e,l),this[i(284)](e),this[i(418)](e,i(364))}e=e[i(281)]((t=>!(t[i(211)]&&t[i(364)])));const d=new Map(o[i(411)][t][i(257)][i(326)]),f=new Set(u[i(225)]());for(const t of d[i(225)]())f[i(315)](t);this[i(142)](e,f),this[i(149)](e),e=this[i(372)](e),e=this[i(400)](e),e=this[i(292)](e);const{root:m,changes:p}=this[i(394)](e,a,t);c[i(411)][t]=m;const v=l[i(183)](t);if(v){const e=a[i(183)](v[i(298)]),s=new qt({author:e,type:v[i(329)]?i(422):i(295),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(338)](s),c[i(201)][t][i(385)]=s.id}c[i(169)]=c[i(169)][i(379)](p)}return c}[Xt(370)](t,e){const i=Xt;for(let s=0;s<t[i(328)];s++)for(const[n,r]of e)!r[i(401)]&&r[i(378)][i(303)](t[s][i(382)])&&t[s][i(322)][i(456)](n),r[i(262)][i(303)](t[s][i(161)])&&t[s][i(200)][i(456)](n)}[Xt(139)](t,e){const i=Xt;let s=[],n=0,r=0;for(;n<t[i(328)]||r<e[i(328)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(456)](o);else if(a[i(364)]&&o[i(211)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(305)](t,n,e,r);s=s[i(379)](o),n=a,r=c}else a[i(364)]?(r++,s[i(456)](a)):(n++,s[i(456)](o))}return s}[Xt(142)](t,e){const i=Xt,s=[];for(let o=0;o<t[i(328)];o++){for(let r=0;r<t[o][i(322)][i(328)];r++){const a=t[o][i(322)][r];if(!e[i(304)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(222)!=c||i(166)!=u&&i(261)!=u||(s[i(338)]({type:u,name:a,userId:l}),t[o][i(322)][i(437)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(200)][i(328)];r++){const a=t[o][i(200)][r];if(!e[i(304)](a))continue;const{group:c,type:u}=n(a);if(i(222)!=c||i(166)!=u&&i(261)!=u)continue;t[o][i(200)][i(437)](r,1),r--;const l=s[i(310)]((t=>t[i(254)]==a));l>-1&&s[i(437)](l,1)}}function n(t){const e=i,s=t[e(236)](":");return{group:s[0],type:s[1],subType:s[e(328)]>=5?s[2]:null,id:s[e(328)]<5?s[2]:s[3],authorId:s[e(328)]<5?s[3]:s[4],markerCount:6==s[e(328)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(328)];i++){if(t[e(211)]&&e(166)==s[i][e(360)])return t[e(202)]=s[i],void delete t[e(211)];if(!t[e(211)]&&!t[e(364)]&&e(261)==s[i][e(360)])return void(t[e(339)]=s[i])}}}[Xt(418)](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(428)](o.id,s);for(let s=0;s<t[i(328)];s++){if(i(364)==e&&t[s][i(211)]||i(211)==e&&t[s][i(364)])continue;if(i(246)==t[s][i(360)]){t[s][i(427)]=0;continue}const n=r[i(183)](t[s][i(233)]),o=r[i(183)](t[s].id);t[s][i(427)]=n-o}}[Xt(190)](t,e,i=!1){const s=Xt,n=[];let r=this[s(335)][s(341)](t),o=this[s(335)][s(341)](e);for(-1==o&&(o=this[s(335)][s(355)][s(328)],i=!1);r<o;)n[s(456)](this[s(335)][s(164)](r)),r++;return i&&n[s(456)](this[s(335)][s(164)](r)),n}[Xt(305)](t,e,i,s){const n=Xt,r=this[n(347)][n(411)][n(241)];let o=e;for(;t[o]&&t[o][n(211)];)o++;let a=s;for(;i[a]&&i[a][n(364)];)a++;u(t,e,o),u(i,s,a);const c=i[n(444)](s,a)[n(379)](t[n(444)](e,o));return c[n(383)](((t,e)=>t[n(408)]!=e[n(408)]?t[n(408)]-e[n(408)]:t[n(421)]!=e[n(421)]?t[n(421)]-e[n(421)]:t[n(427)]!=e[n(427)]?e[n(427)]-t[n(427)]:!!t[n(211)]!=!!e[n(211)]?-1==t[n(408)]||0==t[n(408)]?t[n(211)]?-1:1:t[n(211)]?1:-1:t[n(240)]-e[n(240)])),{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(434)](t[n][s(306)])||(c=!1),t[n][s(306)][s(363)]<e&&(o=n),t[n][s(306)][s(210)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(408)]=n<=o?-1:n<a?0:1,t[n][s(240)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(427)]?t[i][s(421)]=u:(u++,t[i][s(421)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(408)]&&(t[n][s(421)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(427)]?t[e][s(421)]=u:(u--,t[e][s(421)]=u,u--)}}[Xt(149)](t){const e=Xt,i=new Map,s=this[e(347)][e(411)][e(241)];for(let n=1;n<t[e(328)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(246)==c[e(360)])continue;if(c[e(360)]!=u[e(360)])continue;if(!s[e(352)](u[e(306)])||s[e(361)](u[e(306)]))continue;if(!s[e(352)](c[e(306)])||s[e(361)](c[e(306)]))continue;if((t[n][e(211)]||t[n][e(202)])&&t[n-1][e(364)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(364)]||!t[n-1][e(211)]&&!t[n-1][e(202)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(421)]==o[e(421)],h=Math[e(455)](r[e(421)])<Math[e(455)](o[e(421)])&&0==o[e(427)];(l||h)&&(i[e(428)](o.id,r.id),t[e(437)](a,1),n--,r[e(211)]=!1)}for(let s=0;s<t[e(328)];s++)i[e(304)](t[s][e(233)])&&(t[s][e(233)]=i[e(183)](t[s][e(233)]))}[Xt(372)](t){const e=Xt,i=new Set(t[e(212)]((t=>t.id)));for(let s=0;s<t[e(328)];s++)i[e(304)](t[s][e(233)])||0==t[s][e(427)]||(t[s][e(396)]=!0);return t[e(281)]((t=>!t[e(396)]))}[Xt(400)](t){const e=Xt,i=new Set;for(let s=0;s<t[e(328)];s++){if(i[e(304)](t[s].id)&&t[s][e(364)]&&(t[s][e(396)]=!0),t[s][e(396)])continue;if(0==t[s][e(427)])continue;if(e(389)!=t[s][e(360)])continue;if(null==t[s][e(233)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(233)];)e(389)==t[n][e(360)]?r++:e(340)==t[n][e(360)]&&r--,n++;if(0!=r)if(t[s][e(364)])t[s][e(396)]=!0;else for(;n!=s;)t[n][e(364)]&&0!=t[n][e(427)]&&(t[n][e(396)]=!0,i[e(422)](t[n][e(233)])),n--}return t[e(281)]((t=>!t[e(396)]))}[Xt(292)](t){const e=Xt,i=this[e(347)][e(411)][e(241)];for(let s=0;s<t[e(328)];s++){if(!(t[s][e(211)]||t[s][e(202)]||t[s][e(364)]||t[s][e(339)]))continue;if(0==t[s][e(427)])continue;const n=t[s][e(306)];i[e(352)](n)||i[e(361)](n)||(t[s][e(211)]&&delete t[s][e(211)],t[s][e(202)]&&delete t[s][e(202)],t[s][e(339)]&&delete t[s][e(339)],t[s][e(364)]&&(t[s][e(396)]=!0))}return t[e(281)]((t=>!t[e(396)]))}[Xt(394)](t,e,i){const s=Xt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(347)][s(411)],c=a[s(241)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(328)];e++)if(s(389)===t[e][s(360)]){t[e][s(382)]=a[s(285)](n,f);const i=new H.Element(t[e][s(306)][s(254)],t[e][s(306)][s(150)]());u[0][s(230)](i),f[s(456)](0),u[s(338)](i),t[e][s(161)]=a[s(285)](n,f)}else s(340)===t[e][s(360)]?(u[s(316)](),t[e][s(382)]=a[s(285)](n,f),f[s(404)](),f[f[s(328)]-1]++,t[e][s(161)]=a[s(285)](n,f)):(t[e][s(382)]=a[s(285)](n,f),d?d[s(311)]+=t[e][s(306)][s(258)]:d=new H.Text(t[e][s(306)][s(258)],t[e][s(306)][s(150)]()),t[e+1]&&s(246)===t[e+1][s(360)]&&v(d,t[e+1][s(306)])||(u[0][s(230)](d),d=null),f[f[s(328)]-1]+=t[e][s(306)][s(205)],t[e][s(161)]=a[s(285)](n,f));for(let e=0;e<t[s(328)];e++){const i=t[e][s(382)],n=t[e][s(161)];for(const n of t[e][s(322)])o[s(428)](n,{start:i,end:null});m(s(339),e,i,n),m(s(202),e,i,n),m(s(364),e,i,n),m(s(211),e,i,n);for(const i of t[e][s(200)]){const t=o[s(183)](i);t?t[s(262)]=n:o[s(428)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(347)][s(411)][s(268)](e[s(378)],e[s(262)]);n[s(326)][s(428)](t,i)}return r[s(383)](((t,e)=>{const i=s,r=n[i(326)][i(183)](i(133)+t.id),o=n[i(326)][i(183)](i(133)+e.id);return r[i(378)][i(392)](o[i(378)])?-1:r[i(378)][i(204)](o[i(378)])?1:r[i(262)][i(392)](o[i(262)])?-1:r[i(262)][i(204)](o[i(262)])?1:i(422)===t[i(360)]?-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(298)]:null,d=i===t[o(328)]-1,f=h[e][0],m=c[o(344)](t[i][o(306)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(262)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(298)]!==u&&(l[e][o(262)]=n,f&&f[o(298)]===l[e][o(298)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(389)!==t[i][o(360)]||f&&f[o(298)]===u||h[e][o(338)]({userId:u,object:t[i][o(306)],change:l[e]}),o(340)===t[i][o(360)]&&f&&f[o(134)]===t[i][o(306)]&&(h[e][o(316)](),l[e]=f[o(409)])),l[e]&&d&&(l[e][o(262)]=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(306)],f=a[h(241)][h(352)](d)&&!a[h(241)][h(361)](d),m=t[h(271)]==o[h(327)]&&o[h(349)];if(f&&m)return;const p=a[h(268)](t,o),v=e[h(183)](u),g=new qt({author:v,type:h(211)==l||h(202)==l?h(422):h(295),data:{isSuggestion:h(202)==l||h(339)==l},createdAt:new Date,rootName:i});r[h(456)](g),n[h(326)][h(428)](h(133)+g.id,p)}function v(t,e){const i=s,n=t[i(150)](),r=e[i(150)]();for(const t of n){if(t[1]!==e[i(297)](t[0]))return!1;r[i(153)]()}return r[i(153)]()[i(182)]}}[Xt(151)](){const t=Xt;this[t(347)][t(353)][t(289)](t(136))[t(309)]({view:t(318)}),this[t(347)][t(353)][t(289)](t(386))[t(380)]({model:t(318),view:e=>{const i=t,s=e[i(213)][i(236)](":")[1],n=this[i(265)](s);if(!n)return null;const r=i(422)==n[i(360)]?i(166):i(261),o=[i(333),i(438)+r];return n[i(258)][i(429)]&&o[i(456)](i(438)+r+i(324)),this[i(193)]==n&&o[i(456)](i(423)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(347)][t(353)][t(289)](t(136))[t(422)]((e=>{const i=t;e.on(i(419),((t,e,s)=>{const n=i,r=e[n(237)][n(301)](0);if(!r||!r.is(n(410),n(165)))return;if(!s[n(242)][n(184)](r,{attributes:[n(145),n(218)]}))return;const o=e[n(441)][n(378)][n(271)];s[n(399)][n(425)](n(145),r[n(297)](n(145)),o),s[n(399)][n(425)](n(218),r[n(297)](n(218)),o)}),{priority:i(259)})})),this[t(347)][t(353)][t(289)](t(136))[t(422)]((e=>{const i=t;e.on(i(410),((t,e,s)=>{const n=i;if(!s[n(242)][n(184)](e[n(237)],{attributes:[n(145),n(218)]}))return;if(e[n(441)][n(401)])return;const r=e[n(441)][n(378)][n(271)];r[n(194)](n(145))||r[n(194)](n(132))||(s[n(399)][n(425)](n(145),e[n(237)][n(297)](n(145)),r),s[n(399)][n(425)](n(218),e[n(237)][n(297)](n(218)),r))}),{priority:i(259)})})),this[t(347)][t(353)][t(289)](t(136))[t(243)]({view:{name:t(244),attributes:{vid:!0}},model:{key:t(132),value:e=>e[t(297)](t(132))}}),this[t(347)][t(411)][t(241)].on(t(140),((e,[,i])=>{const s=t;[s(145),s(218),s(132)][s(320)](i)&&(e[s(159)]=!0,e[s(278)]())}),{priority:t(155)}),this[t(347)][t(353)][t(289)](t(342))[t(422)]((e=>{const i=t;e.on(i(172),((t,e,s)=>{const n=i;if(" "!=e[n(306)][n(258)]||e[n(306)][n(327)][n(293)]>1)return;if(!s[n(242)][n(184)](e[n(306)],t[n(254)]))return;const r=s[n(399)],o=s[n(286)][n(308)](e[n(288)]);r[n(391)](o,r[n(317)](n(244)))}))})),this[t(347)][t(353)][t(289)](t(342))[t(168)]({model:t(318)}),this[t(347)][t(195)][t(269)].on(t(158),function(e){const i=t,s=e[i(375)][i(183)](i(359));return(t,n,r)=>{const o=i,a=n[o(213)][o(236)](":")[1],c=s[o(265)](a);if(!c)return null;const u=o(422)==c[o(360)]?o(236):o(185);if(!r[o(242)][o(152)](n[o(431)],t[o(254)]))return;const l=n[o(431)][o(294)](),h=n[o(431)][o(378)],d=e[o(411)][o(241)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(306)];p=p||d[o(435)](e);const i=r[o(286)][o(174)](e);if(i&&i[o(235)](o(245)))return;o(340)==t[o(360)]&&d[o(352)](e)&&!d[o(361)](e)&&(e[o(443)]||h[o(457)]?f&&f[o(327)]==e||(f=e,g(t[o(382)]),v=!0):m=m||t[o(382)])}function g(t){const e=o,i=r[e(399)][e(283)](e(244),{class:e(438)+u}),a=r[e(286)][e(367)](t);c[e(258)][e(429)]&&r[e(399)][e(446)](e(438)+u+e(324),i),s[e(193)]==c&&r[e(399)][e(446)](e(423),i),r[e(399)][e(377)](a,i),r[e(286)][e(415)](i,n[e(213)])}p||v||!m||g(m)}}(this[t(347)]),{priority:t(196)}),this[t(347)][t(195)][t(269)].on(t(337),((e,i,s)=>{const n=t,r=s[n(286)][n(436)](i[n(213)]);if(r)for(const t of r)(t[n(214)](n(273))||t[n(214)](n(282)))&&(s[n(286)][n(343)](t,i[n(213)]),s[n(399)][n(295)](t))}),{priority:t(196)}),this[t(347)][t(195)][t(269)].on(t(158),((e,i,s)=>{const n=t,r=i[n(213)][n(236)](":")[1],o=this[n(265)](r);if(!o)return null;const a=n(422)==o[n(360)]?n(236):n(185);if(s[n(242)][n(152)](i[n(431)],e[n(254)]))for(const t of i[n(431)][n(206)]()){if(!t.is(n(410),n(407)))continue;const e=s[n(399)][n(283)](n(244),{class:n(438)+a}),r=s[n(286)][n(367)](this[n(347)][n(411)][n(250)](t));o[n(258)][n(429)]&&s[n(399)][n(446)](n(438)+a+n(324),e),this[n(193)]==o&&s[n(399)][n(446)](n(423),e),s[n(399)][n(377)](r,e),s[n(286)][n(415)](e,i[n(213)])}}),{priority:t(196)}),this[t(347)][t(411)][t(358)].on(t(409),(()=>{const e=t;this[e(347)][e(195)][e(215)][e(409)]((t=>{const i=e;for(const e of this[i(347)][i(411)][i(358)][i(291)]()){const s=this[i(347)][i(411)][i(358)][i(220)](e),n=this[i(347)][i(195)][i(215)][i(358)][i(220)](e);if(n){const e=s[i(297)](i(385));if(t[i(325)](i(163),n),t[i(321)](i(156),n),t[i(321)](i(331),n),t[i(321)](i(433),n),e){const s=this[i(265)](e);if(!s)return null;t[i(425)](i(163),e,n),t[i(446)](i(167)+s[i(360)],n),this[i(193)]==s&&t[i(446)](i(433),n)}}}}))})),this[t(347)][t(353)][t(289)](t(136))[t(309)]({view:t(135),model:e=>t(319)+e,converterPriority:t(155)}),this[t(347)][t(353)][t(289)](t(136))[t(309)]({view:t(332),model:e=>t(395)+e,converterPriority:t(155)}),this[t(347)][t(353)][t(289)](t(342))[t(168)]({model:t(222),view:e=>({name:t(252)+e,group:t(222)}),converterPriority:t(155)}),this[t(347)][t(353)][t(289)](t(386))[t(380)]({model:t(222),view:e=>{const i=t,s=e[i(213)][i(236)](":")[1];return i(166)!=s&&i(261)!=s?null:{classes:[i(179),i(137)+s]}}}),this[t(347)][t(195)][t(269)].on(t(280),ie(this[t(347)],t(185)),{priority:t(196)}),this[t(347)][t(195)][t(269)].on(t(170),ie(this[t(347)],t(236)),{priority:t(196)}),this[t(347)][t(195)][t(269)].on(t(405),((e,i,s)=>{const n=t,r=s[n(286)][n(436)](i[n(213)]);if(r)for(const t of r)t.is(n(154))&&(s[n(286)][n(343)](t,i[n(213)]),s[n(399)][n(295)](t))}),{priority:t(196)})}[Xt(265)](t){const e=Xt;return this[e(238)][e(183)](t)}[Xt(432)](t){const e=Xt;return this[e(171)]&&this[e(171)][e(249)](),this[e(171)]=new zt(this[e(347)][e(350)],t),this[e(171)]}[Xt(365)](){const t=Xt;this[t(347)][t(411)][t(358)][t(454)][t(256)](t(318)),this.on(t(449),((e,i,s,n)=>{const r=t;n&&this[r(227)][r(295)](n),s&&(this[r(227)][r(422)]({view:s,stackId:r(366),position:{target:()=>{const t=r,e=this[t(347)][t(195)],i=this[t(265)](s[t(336)]);let n;if(i[t(258)][t(253)]){const s=e[t(215)][t(351)](i[t(459)]);n=Array[t(176)](s[t(414)]())}else{const i=this[t(347)][t(411)][t(326)][t(183)](t(133)+s[t(336)]);n=Array[t(176)](e[t(286)][t(436)](i[t(254)]))[t(212)]((i=>e[t(215)][t(162)][t(397)](i)))[t(212)]((e=>Array[t(176)](e[t(414)]())))[t(180)]()}return this[t(362)]&&n[t(228)]((e=>e[t(226)]-3<=this[t(362)].y&&e[t(354)]+3>=this[t(362)].y&&e[t(231)]-3<=this[t(362)].x&&e[t(442)]+3>=this[t(362)].x))||n[0]}}}),this[r(227)][r(160)](r(366)))})),this.on(t(260),((e,i,s,n)=>{const r=t;this[r(381)]=s?this[r(432)](s):null,this[r(347)][r(411)][r(409)]((()=>{const t=r,e=this[t(347)][t(195)];n&&(n[t(258)][t(253)]?e[t(215)][t(409)]((i=>{const s=t;i[s(321)](s(433),e[s(215)][s(358)][s(220)](n[s(459)]))})):e[t(274)](t(133)+n.id)),s&&(s[t(258)][t(253)]?e[t(215)][t(409)]((i=>{const n=t;i[n(446)](n(433),e[n(215)][n(358)][n(220)](s[n(459)]))})):e[t(274)](t(133)+s.id))}))})),this[t(216)](this[t(347)][t(195)][t(215)][t(358)],t(390),((e,i)=>{const s=t;if(this[s(193)])return;const n=this[s(219)](i[s(348)]),r=this[s(238)][s(183)](n);r?(this[s(362)]={x:i[s(448)].x,y:i[s(448)].y},this[s(381)]=this[s(432)](r)):(this[s(362)]=null,this[s(381)]=null)})),this[t(216)](this[t(347)][t(195)][t(215)][t(358)],t(452),((e,i)=>{const s=t,n=this[s(219)](i[s(348)]),r=this[s(238)][s(183)](n);r?(this[s(362)]={x:i[s(448)].x,y:i[s(448)].y},r===this[s(193)]?this[s(227)][s(199)]():this[s(193)]=r):(this[s(362)]=null,this[s(193)]=null)}))}[Xt(219)](t){const e=Xt;do{const i=t[e(297)](e(163));if(i)return i;t=t[e(327)]}while(t);return null}[Xt(279)](){const t=Xt;this[t(347)][t(411)][t(409)]((e=>{const i=t;for(const t of this[i(347)][i(411)][i(326)])e[i(334)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Qt;if(!n[r(242)][r(152)](s[r(431)],i[r(254)]))return;const o=s[r(431)][r(294)](),a=s[r(431)][r(378)],c=t[r(411)][r(241)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(306)];h=h||c[r(435)](e);const i=n[r(286)][r(174)](e);if(i&&i[r(235)](r(245)))return;r(340)==t[r(360)]&&c[r(352)](e)&&!c[r(361)](e)&&(e[r(443)]||a[r(457)]?u&&u[r(327)]==e||(u=e,f(t[r(382)]),d=!0):l=l||t[r(382)])}function f(t){const i=r,o=n[i(286)][i(367)](t),a=n[i(399)][i(283)](i(244),{class:i(137)+e});n[i(399)][i(377)](o,a),n[i(286)][i(415)](a,s[i(213)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Xt;super(t);const i=t[e(375)][e(183)](ee);this[e(147)]=!1,this[e(216)](i,e(239),(()=>this[e(181)]())),this[e(216)](i,e(453),(()=>this[e(181)]()))}[Xt(424)](){const t=Xt,e=this[t(347)],i=e[t(375)][t(183)](ee),s=i[t(458)]?i[t(175)][t(178)]:null;e[t(330)][t(183)](t(403))[t(426)](s)}[Xt(181)](){const t=Xt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(347)][t(375)][t(183)](ee),r=n&&s[t(146)](n[t(178)]);this[t(232)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Xt(445)];constructor(t,{direction:e}){const i=Xt;super(t);const s=t[i(375)][i(183)](ee);this[i(147)]=!1,this[i(445)]=i(267)===e?1:-1,this[i(216)](s,i(239),(()=>this[i(181)]())),this[i(216)](s,i(453),(()=>this[i(181)]())),this[i(216)](s,i(260),(()=>this[i(181)]()))}[Xt(424)](){const e=Xt,i=this[e(347)],s=i[e(375)][e(183)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(193)]=n?s[e(175)][e(169)][e(183)](r+this[e(445)]):s[e(175)][e(169)][e(393)],s[e(193)][e(258)][e(253)])o=i[e(195)][e(215)][e(351)](s[e(193)][e(459)]);else{const t=i[e(411)][e(326)][e(183)](e(133)+s[e(193)].id);o=(0,Z.getMarkerDomElement)(i[e(195)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Xt(181)](){const t=Xt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(347)][t(375)][t(183)](ee);this[t(232)]=!!(r&&n&&s)&&(!e||(1===this[t(445)]?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=["ck-revision-history-ui__changes-navigation","1770330nDxkXh","399948JVFoRU","currentChangeNumber","isReady","Total","1517159Tpwmqg","span","69441djIFyX","1461616nqXNWc","setTemplate","ck-revision-history-ui__changes-navigation__label","ck-hidden","ck-revision-history-ui__changes-navigation__wrapper","isForwardNavigationEnabled","div","forward","6459fUhUEN","backward","_statusText","5RyEbCS","NUMBER_OF_CHANGES","No changes","18gTcVic","_isStatusLabelVisible","X_OF_Y_CHANGES","Show next change","14GmWdbn","isBackwardNavigationEnabled","execute","EDIT_X_OF_Y_REVISIONS","Loading...","1630xnUMZb","ck-revision-history-ui__changes-navigation__navigation","bindTemplate","ck-revision-history-ui","fire","numberOfChanges","Show previous change","set","isNavigationMode","bind","isEnabled"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=415]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(254505===-parseInt(e(457))/1*(-parseInt(e(433))/2)+-parseInt(e(423))/3+parseInt(e(451))/4+parseInt(e(426))/5*(-parseInt(e(450))/6)+-parseInt(e(455))/7+parseInt(e(415))/8+parseInt(e(429))/9*(-parseInt(e(438))/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(440)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(445)](e(446),!1),this[e(445)](e(453),!1),this[e(445)](e(452),0),this[e(445)](e(443),0),this[e(445)](e(420),!1),this[e(445)](e(434),!1),this[e(447)](e(430)).to(this,e(453),this,e(443),((t,e)=>t&&e>0)),this[e(447)](e(425)).to(this,e(453),this,e(452),this,e(443),this,e(446),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(437));if(!n)return Q(t,o(428));const a=Q(t,o(427),n);return r?Q(t,o(431),[s+1,n]):a})),s[e(445)]({label:Q(t,e(444)),tooltip:!0,icon:mt.IconChevronUp}),n[e(445)]({label:Q(t,e(432)),tooltip:!0,icon:mt.IconChevronDown}),s[e(447)](e(448)).to(this,e(434)),n[e(447)](e(448)).to(this,e(420)),s.on(e(435),(()=>this[e(442)](e(435),e(424)))),n.on(e(435),(()=>this[e(442)](e(435),e(422)))),this[e(416)]({tag:e(421),attributes:{class:["ck",e(441),e(449)]},children:[{tag:e(456),attributes:{class:[e(419)]},children:[{tag:e(456),attributes:{class:[e(417),i.if(e(430),e(418),(t=>!t))]},children:[{text:i.to(e(446),(i=>i?Q(t,e(436))+": ":Q(t,e(454))+": "))}]},{text:i.to(e(425))}]},new pt.ToolbarSeparatorView,{tag:e(421),attributes:{class:[e(439)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=fe;function fe(t,e){const i=me();return(fe=function(t,e){return i[t-=438]})(t,e)}function me(){const t=["document","isPremiumPlugin","editing","pluginName","show","24NkWRNI","103150ATSglf","1889649EyaYZQ","view","addClass","370531ULSMqj","285410OTbXkO","roots","24pSjLCA","RevisionViewerLoadingOverlay","change","ck-editor__editable__loading-overlay","removeClass","hide","editor","230938RkuYTa","364AsboFX","isOfficialPlugin","1567776iRrFte"];return(me=function(){return t})()}!function(t){const e=fe,i=t();for(;;)try{if(159540===parseInt(e(442))/1+parseInt(e(457))/2+parseInt(e(451))/3*(parseInt(e(443))/4)+-parseInt(e(452))/5+-parseInt(e(459))/6*(-parseInt(e(456))/7)+-parseInt(e(445))/8+-parseInt(e(453))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);const pe=de(438);class ve extends U.Plugin{static get[de(449)](){return de(460)}static get[de(444)](){return!0}static get[de(447)](){return!0}[de(450)](){const t=de,e=this[t(441)][t(448)][t(454)];e[t(461)]((i=>{const s=t;for(const t of e[s(446)][s(458)])i[s(455)](pe,t)}))}[de(440)](){const t=de,e=this[t(441)][t(448)][t(454)];e[t(461)]((i=>{const s=t;for(const t of e[s(446)][s(458)])i[s(439)](pe,t)}))}}const ge=ke;function ye(){const t=["change:isReady","isEnabled","execute","show","restoreRevision","1744960DyAFnT","Back to editing","767023OvhjBD","290VZwPND","163264CLNfRp","1178778Gnlhbf","config","isForwardNavigationEnabled","revisionHistory","set","changesNavigation","add","forward","exitToEditing","581XtNNfJ","Restore this revision","22636020lnIBZA","numberOfChanges","commands","plugins","isNavigationMode","listenTo","requires","ck-revision-history-ui__back-to-editing","3BuMggC","hide","40116OWGZcs","isPremiumPlugin","25CtPTas","isBackwardNavigationEnabled","get","isReady","componentFactory","isOfficialPlugin","pluginName","closeRevisionViewerCallback","showNextChange","bind","showPreviousChange","84465TMaHhS","init","RevisionViewerUI","editor","currentChangeNumber"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=233]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(561981===-parseInt(e(234))/1+parseInt(e(237))/2*(-parseInt(e(256))/3)+-parseInt(e(236))/4*(parseInt(e(260))/5)+parseInt(e(258))/6*(parseInt(e(246))/7)+-parseInt(e(281))/8+-parseInt(e(271))/9*(parseInt(e(235))/10)+parseInt(e(248))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(266)](){return ge(273)}static get[ge(265)](){return!0}static get[ge(259)](){return!0}static get[ge(254)](){return[ee,ve]}[ge(272)](){const t=ge,e=this[t(274)],i=e[t(251)][t(262)](ee),s=e[t(251)][t(262)](ve);e.ui[t(264)][t(243)](t(245),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(241)]({label:Q(i,s(233)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(255)}),this[s(253)](n,s(278),(()=>{const t=s;e[t(238)][t(262)](t(240))[t(267)]()})),n})),e.ui[t(264)][t(243)](t(280),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(241)]({label:Q(i,s(247)),withText:!0,tooltip:!0}),n[s(269)](s(277)).to(e[s(250)][s(262)](s(280))),this[s(253)](n,s(278),(()=>e[s(278)](s(280)))),n})),e.ui[t(264)][t(243)](t(242),(s=>{const n=t,r=new ue(s),o=e[n(250)][n(262)](n(270)),a=e[n(250)][n(262)](n(268));return r[n(269)](n(261)).to(o,n(277)),r[n(269)](n(239)).to(a,n(277)),r[n(269)](n(263),n(275),n(249),n(252)).to(i),this[n(253)](r,n(278),((t,i)=>{const s=n;e[s(278)](s(244)===i?s(268):s(270))})),r})),s[t(279)](),i.on(t(276),((e,i,n)=>{const r=t;n?s[r(257)]():s[r(279)]()}))}}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=["Enter the revision name","listenTo","4117818kmsEcP","72441RiyvkJ","set","extendTemplate","value","element","4370679WCBVQb","clientWidth","render","40438LZVuPg","input","placeholder","5926870xhwZjc","span","_tooltipString","_resizeObserver","49WSoAOY","Revision name","ck-revision-history-sidebar__revision-name","fieldView","scrollWidth","destroy","bindTemplate","147wyXjqJ","_updateTooltipText","12pAZoSQ","24543320VekBZy","342840xTAJld","ck-tooltip_multi-line"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=136]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(622647===-parseInt(e(159))/1*(parseInt(e(152))/2)+-parseInt(e(144))/3*(-parseInt(e(137))/4)+-parseInt(e(155))/5+parseInt(e(143))/6+-parseInt(e(166))/7*(parseInt(e(139))/8)+parseInt(e(149))/9+parseInt(e(138))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(158)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(165)];this[i(145)]({label:Q(t,i(160)),_tooltipString:""}),this[i(162)][i(154)]=Q(t,i(141)),this[i(146)]({tag:i(156),attributes:{class:[i(161)],"data-cke-tooltip-text":s.to(i(157)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(140)}})}[Ie(151)](){const e=Ie;super[e(151)](),this[e(158)]=new t.ResizeObserver(this[e(162)][e(148)],(()=>this[e(136)]())),this[e(142)](this[e(162)],e(153),(()=>this[e(136)]()))}[Ie(164)](){const t=Ie;super[t(164)](),this[t(158)]&&this[t(158)][t(164)]()}[Ie(136)](){const t=Ie,e=this[t(162)][t(148)];this[t(157)]=e[t(163)]>e[t(150)]&&e[t(147)]||""}}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(t,e){const i=Re();return(Ae=function(t,e){return i[t-=177]})(t,e)}function Re(){const t=["428132whaDmE","3656mcOhXs","3160denTgT","ck-revision-history-sidebar__revision-author","402kfgLpK","Revision creator","0 0 11 10","Revision author","226EtTkYN","3465aGSYQg","22236TWgWem","33740oCwbum","push","8121735NoDCSU","ck-revision-history-sidebar__revision-author_creator","span","1964936WZYmpJ","68310ntUamr","ck-revision-history-sidebar__revision-author__name","setTemplate","set","name"];return(Re=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(463424===parseInt(e(190))/1+-parseInt(e(198))/2*(parseInt(e(178))/3)+parseInt(e(184))/4+-parseInt(e(179))/5*(parseInt(e(194))/6)+-parseInt(e(177))/7*(parseInt(e(191))/8)+-parseInt(e(181))/9+parseInt(e(192))/10*(parseInt(e(185))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Re);class Ee extends pt.View{constructor(t,e,i){const s=Ae;super(t);const n=new pt.IconView;n[s(188)]({content:mt.IconUser,viewBox:s(196)});const r=["ck",s(193)];i&&r[s(180)](s(182));const o=[{tag:s(183),attributes:{class:["ck",s(186)],title:Q(t,s(i?195:197))},children:[n,e[s(189)]]}];this[s(187)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=De();return(Me=function(t,e){return i[t-=394]})(t,e)}function De(){var t=["777pTxkgx","toLocaleDateString","672039bPfSRU","90YBbIHH","toLocaleTimeString","9837707YxFHHc","4072362CRVRvK","5255WKgaVj","52552mllkbz","10iryaOy","long","110751honGCc","numeric","322162FlGabb","1852wdqaQf"];return(De=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(452324===parseInt(e(401))/1+-parseInt(e(397))/2*(parseInt(e(399))/3)+-parseInt(e(402))/4*(-parseInt(e(395))/5)+-parseInt(e(394))/6+parseInt(e(403))/7*(parseInt(e(396))/8)+parseInt(e(405))/9*(parseInt(e(406))/10)+-parseInt(e(408))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ve=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=301]})(t,e)}function Le(){const t=["execute","items","Restore this revision","650727IOuRel","locale","1868168XbyVTF","add","12qHYtlt","function","2UgATBT","change:isActionsDropdownOpen","stopPropagation","extendTemplate","buttonView","set","listenTo","isOpen","isActionsDropdownOpen","model","panelPosition","_action","ck-on","7786701cvlBVk","menuitem","map","25101PbRbUc","ck-revision-history-sidebar__revision__actions","menu","listView","Compare against selected","bindTemplate","name","button","568KvPwSa","isReady","307271arlWaO","isEnabled","bind","isVisible","source","7PgORYE","10yWHOcl","5623940PWzXPU","action","1857546MGomrz","Show more items","children","class","first","find","Name this revision"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(633517===-parseInt(e(317))/1*(-parseInt(e(342))/2)+-parseInt(e(307))/3*(-parseInt(e(315))/4)+-parseInt(e(324))/5+-parseInt(e(326))/6*(parseInt(e(322))/7)+-parseInt(e(338))/8+-parseInt(e(304))/9*(-parseInt(e(323))/10)+parseInt(e(336))/11*(-parseInt(e(340))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const We=ze;function ze(t,e){const i=Ue();return(ze=function(t,e){return i[t-=264]})(t,e)}function Ue(){const t=["closest","creator","220","21FXbxDc","isHighlighted","ck-revision-history-sidebar__revision_selected","bind","render","1572328PDrsCH","410SYGCMW","change","ck-revision-history-sidebar__revision__date","fieldView","885728yOxNWr","isConfirm","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__actions_dropdown_open","_requireRevisionName","1298493WYGKYu","select","element","filter","deselect","from","6102306XSdOqn","set","highlight","215199oNHxOR","length","div","fire","ck-revision-history-sidebar__revision-wrapper","isSelected","ck-revision-history-sidebar__revision",".ck-thread__remove-confirm","ck-reset","ck-revision-history-sidebar__revision__controls-wrapper","name","unshift","revisionActionsView","createdAt","bindTemplate","extendTemplate","isEnabled","ck-disabled","setTemplate","ck-revision-history-sidebar__revision-authors","value","3NnypCU","ck-revision-history-sidebar__revision_highlighted","unhighlight","listenTo","714454niYqEG","revisionNameView","srcElement","1648640KWBQKO","setName","authors","uiLanguage","isActionsDropdownOpen","map","_createdAtFormatted","isReady","_revision","span"];return(Ue=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(538633===parseInt(e(306))/1*(-parseInt(e(310))/2)+parseInt(e(276))/3+parseInt(e(271))/4+parseInt(e(313))/5+parseInt(e(282))/6+-parseInt(e(326))/7*(-parseInt(e(266))/8)+-parseInt(e(285))/9*(parseInt(e(267))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[We(311)];[We(297)];[We(321)];[We(275)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(299)],a=function(t,e){const i=r,s=Array[i(281)](e[i(315)])[i(279)]((t=>t!=e[i(324)]));return e[i(324)]&&s[i(296)](e[i(324)]),s[i(318)]((s=>new Ee(t,s,s==e[i(324)])))}(e,i);this.id=i.id,this[r(321)]=i,this[r(275)]=n,this[r(264)](r(295),r(298)).to(i),this[r(264)](r(319)).to(this,r(298),(t=>{return i=e[r(316)],(s=t)[(n=Me)(404)](i,{month:n(398),day:n(400)})+", "+s[n(407)](i,{hour:n(400),minute:n(400)});var i,s,n})),this[r(283)](r(290),!1),this[r(283)](r(327),!1),this[r(283)](r(317),!1),this[r(283)](r(320),!1),this[r(283)](r(301),!1),this[r(311)]=new Te(e,pt.createLabeledInputText),this[r(311)][r(270)][r(300)]({attributes:{maxlength:r(325)}}),this[r(311)][r(270)][r(264)](r(305)).to(this,r(295),(t=>t||this[r(319)])),this[r(311)][r(264)](r(301)).to(this,r(290),this,r(301),((t,e)=>t&&e)),this[r(297)]=s&&s[r(286)]?function(e,i){const s=Fe,n=e[s(312)],r=e[s(337)],o=(0,pt.createDropdown)(r);o[s(301)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(337)],n={"Compare against selected":Q(s,i(311)),"Name this revision":Q(s,i(332)),"Restore this revision":Q(s,i(335))};return e[i(306)]((t=>{const e=i,s=n[t[e(313)]];return s&&s!==t[e(313)]&&(t[e(313)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(314),model:new pt.ViewModel({label:t[n(313)],class:t[n(329)],withText:!0,role:n(305),_action:t[n(325)]})};i[n(351)][n(319)](n(318)).to(e,n(350),(i=>n(341)!=typeof t[n(318)]||!i||t[n(318)](e))),o[n(339)](i)}return o}(e,i);return e[s(319)](s(350)).to(o,s(349)),o[s(346)][s(347)]({label:Q(r,s(327)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(345)]({attributes:{class:[s(308),n.if(s(350),s(303))]},on:{click:n.to((t=>t[s(344)]()))}}),o.on(s(333),(t=>{const i=s;e[i(316)]&&i(341)==typeof t[i(321)][i(302)]&&t[i(321)][i(302)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(309)}),o[s(348)](e,s(343),((t,n,r)=>{const a=s;if(r)for(const t of o[a(310)][a(334)]){const s=t[a(328)][a(330)],n=i[a(331)]((t=>t[a(325)]===s[a(302)]))[a(320)];t[a(320)]=void 0===n||n(e)}})),o}(this,s):"",this[r(297)]&&this[r(297)][r(264)](r(301)).to(this),this[r(303)]({tag:r(287),attributes:{class:["ck",r(293),r(289),o.if(r(272),r(273))]},children:[{tag:r(287),attributes:{class:["ck",r(293),r(291),o.if(r(301),r(302),(t=>!t)),o.if(r(290),r(328)),o.if(r(327),r(307)),o.if(r(317),r(274))]},children:[this[r(311)],{tag:r(322),attributes:{class:["ck",r(269)]},children:[{text:o.to(r(319))}]},{tag:r(287),attributes:{class:["ck",r(294)]},children:[{tag:"ul",attributes:{class:["ck",r(304)]},children:a}]},this[r(297)]],on:{click:o.to((t=>{const e=r;t[e(312)][e(323)](e(292))||this[e(320)]&&this[e(301)]&&this[e(288)](e(277),{id:this.id})}))}}]})}[We(265)](){const t=We;super[t(265)]();const e=this[t(311)][t(270)][t(278)];this[t(309)](e,t(268),(()=>{const i=t;this[i(275)]&&!e[i(305)]||this[i(288)](i(314),{id:this.id,name:e[i(305)]}),e[i(305)]||(e[i(305)]=this[i(295)]?this[i(295)]:this[i(319)])}))}[We(277)](){this[We(290)]=!0}[We(280)](){this[We(290)]=!1}[We(284)](){this[We(327)]=!0}[We(308)](){this[We(327)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Ge extends He{constructor(t){super(`Invalid unit ${t}`)}}class Je extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return 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 Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(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 Ei={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.DateTimeFormat(t,e),Ei[i]=s),s}let Di={};let Vi={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Es(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=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Wi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Ei={},Di={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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 Li(this,t,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new Wi(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):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||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"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Gi=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Ji={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Ji[i]||(Ji[i]={}),Ji[i][e]||(Ji[i][e]=new RegExp(`${Bi[i]}${e}`)),Ji[i][e]}let 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(){Ui.resetCache(),Ai.resetCache(),io.resetCache(),Ji={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=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 Je("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Je("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Es(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Es(i,2)}:${Es(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Es(i,2)}${Es(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Es(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ms(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Ms(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Vs(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 En(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Ms(e)):Ms(e),month:Js.indexOf(i)+1,day:Ms(s),hour:Ms(n),minute:Ms(r)};return o&&(a.second=Ms(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const Vn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Hs(l,h),[d,new Hi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,n,s,i,r,o,a),Hi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Dn(e,a,i,s,n,r,o),Hi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Zn=fn(/(\d{4})-?(\d{3})/,bn),Hn=fn(kn),qn=mn((function(t,e){return[{year:On(t,e),month:On(t,e+1,1),day:On(t,e+2,1)},null,e+3]}),Tn,xn,Nn),$n=mn(wn,Tn,xn,Nn),Bn=mn(_n,Tn,xn,Nn),Yn=mn(Tn,xn,Nn);const Gn=mn(Tn);const Jn=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 Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,En])}(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,Gn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Ge(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ai.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Gi.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=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,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=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=Vs(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function 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",Er=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Wr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function zr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Es(t.c.year,i?6:4),e?(s+="-",s+=Es(t.c.month),s+="-",s+=Es(t.c.day)):(s+=Es(t.c.month),s+=Es(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Es(t.c.hour);return e?(o+=":",o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Es(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Es(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Es(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Es(Math.trunc(-t.o/60)),o+=":",o+=Es(Math.trunc(-t.o%60))):(o+="+",o+=Es(Math.trunc(t.o/60)),o+=":",o+=Es(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Gr=["year","ordinal","hour","minute","second","millisecond"];function Jr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Ge(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of 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]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(Mr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Er||t>Er?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=$s(t,Jr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=Rs(t.weekNumber,1,zs(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,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=jr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[zn,qn],[Un,$n],[Zn,Bn],[Hn,Yn])}(t);return Wr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,Wn])}(t);return Wr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):Wr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Jn,qn],[Kn,Xn])}(t);return Wr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Je("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Ar(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?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(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]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Jr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():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 Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):Wr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Je(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=361]})(t,e)}function ro(){const t=["weekdayLong","3nPgeej","monthLong","132WZaLUr","4956530Ccqqlo","242732kPuuKx","week","4678ySYhIT","51102bafLeN","toJSDate","startOf","70KCDKGo","hasSame","day","local","toRelativeCalendar","month","fromJSDate","year","1544QSdreK","minus","295RUXmcp","90172AALqei","setLocale","42878460urVOKc","1220131jXshic"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(378)](t)[i(384)](e),n=io[i(375)](),r=n[i(381)]({days:1})[i(371)](i(374));let o,a;return s[i(373)](n,i(374))?(o=s[i(371)](i(374))[i(370)](),a=s[i(376)]()):s[i(373)](r,i(374))?(o=r[i(370)](),a=s[i(376)]()):s[i(373)](n,i(367))?(o=s[i(371)](i(367))[i(370)](),a=s[i(361)]||""):s[i(373)](n,i(379))?(o=s[i(371)](i(377))[i(370)](),a=s[i(363)]||""):(o=s[i(371)](i(379))[i(370)](),a=String(s[i(379)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(720736===-parseInt(e(382))/1*(-parseInt(e(368))/2)+-parseInt(e(362))/3*(parseInt(e(383))/4)+parseInt(e(365))/5+-parseInt(e(364))/6*(-parseInt(e(366))/7)+parseInt(e(380))/8*(parseInt(e(369))/9)+-parseInt(e(372))/10*(-parseInt(e(386))/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=lo;function lo(t,e){const i=ho();return(lo=function(t,e){return i[t-=342]})(t,e)}function ho(){const t=["198276vwUZYH","setTemplate","setName","uiLanguage","revisionViews","_requireRevisionName","ck-revision-history-sidebar__time-period","add","1004355TXvvir","localizedPeriodName","8yBLKxV","ck-revision-history-sidebar__time-period__label","addRevision","startDate","6192865cBJUle","7054480uXGoJF","delegate","find","select","_revisionActions","remove","10312dbHDRT","locale","9963LXNJEt","removeRevision","createCollection","span","204bWIQZR","ck-revision-history-sidebar__time-period__revisions","div","120785eANsSs","372412pZaPsL"];return(ho=function(){return t})()}!function(t){const e=lo,i=t();for(;;)try{if(791554===parseInt(e(372))/1*(parseInt(e(362))/2)+-parseInt(e(370))/3+-parseInt(e(361))/4+parseInt(e(360))/5*(-parseInt(e(357))/6)+-parseInt(e(344))/7+-parseInt(e(351))/8*(-parseInt(e(353))/9)+parseInt(e(345))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ho);class fo extends pt.View{[uo(343)];[uo(366)];[uo(349)];[uo(367)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(352)][n(365)])[n(371)];this[n(343)]=e,this[n(366)]=this[n(355)](),this[n(349)]=i,this[n(367)]=s,this[n(366)][n(346)](n(348)).to(this),this[n(366)][n(346)](n(364)).to(this),this[n(363)]({tag:n(359),attributes:{class:["ck",n(368)]},children:[{tag:n(356),attributes:{class:["ck",n(373)]},children:[{text:r}]},{tag:n(359),attributes:{class:["ck",n(358)]},children:this[n(366)]}]})}[uo(342)](t){const e=uo,i=new Ze(this[e(352)],t,this[e(349)],this[e(367)]);this[e(366)][e(369)](i)}[uo(354)](t){const e=uo,i=this[e(366)][e(347)]((e=>e.id===t.id));this[e(366)][e(350)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["1VJEkVd","2917017mWIXfN","setTemplate","div","14312DgEUMA","93VljBwW","Revision history","8LTAdXo","1157538ZrtFAh","3345915WHBtGy","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","10dCBIxO","ck-reset_all","54zyFbdS","6072240LQIcTN","5365723SywqkF","content","33607mzAzuR","span"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=360]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(369599===-parseInt(e(376))/1*(-parseInt(e(364))/2)+-parseInt(e(361))/3*(-parseInt(e(360))/4)+-parseInt(e(365))/5+-parseInt(e(370))/6*(-parseInt(e(374))/7)+parseInt(e(363))/8*(parseInt(e(377))/9)+-parseInt(e(368))/10*(-parseInt(e(372))/11)+-parseInt(e(371))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class yo extends pt.View{constructor(t){const e=go;super(t);const i=new pt.IconView;i[e(373)]=mt.IconHistory,this[e(378)]({tag:e(379),attributes:{class:["ck",e(369),e(366)]},children:[i,{tag:e(375),attributes:{class:["ck",e(367)]},children:[Q(t,e(362))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=Io;function _o(){const t=["fire","17967520DFnzML","div","highlight","49329CBEkvv","_addRevision","ck-reset","1513458pzEGxE","revisionViews","locale","103112qtSCno","uiLanguage","get","setTemplate","333rkNLnZ","setName","deselect","map","removeRevision","ck-disabled","addRevision","1826128CXHwfq","some","flat","remove","add","1035895toWXtw","revisionSetName","select","_revisionActions","render","find","86202MKCZRL","unhighlight","ck-rounded-corners","_revisions","createdAt","ck-revision-history-sidebar__timeline","selectRevision","120WZcNqo","createCollection","7BfmsZg","ck-revision-history-sidebar","startDate","isEnabled","set","_getTimePeriodViewByStartDate","_requireRevisionName","revisionSelected","timePeriodViews","getTime","_removeRevision","delegate","bindTemplate","highlightRevisions"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=396]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(312429===-parseInt(e(435))/1*(-parseInt(e(426))/2)+-parseInt(e(401))/3+-parseInt(e(415))/4+-parseInt(e(420))/5+-parseInt(e(433))/6*(parseInt(e(398))/7)+-parseInt(e(404))/8*(parseInt(e(408))/9)+parseInt(e(450))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(443)];[wo(429)];[wo(423)];[wo(441)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(447)];this[n(443)]=this[n(434)](),this[n(443)][n(446)](n(422)).to(this),this[n(443)][n(446)](n(409)).to(this),this[n(429)]=e,this[n(423)]=i,this[n(441)]=s,this.on(n(422),((t,e)=>{const i=n;this[i(449)](i(442),e)})),this.on(n(409),((t,e)=>{const i=n;this[i(449)](i(421),e)})),this[n(439)](n(438),!1),this[n(407)]({tag:n(396),attributes:{class:["ck",n(400),n(428),n(436)]},children:[new yo(t),{tag:n(396),attributes:{class:["ck",n(431),r.if(n(438),n(413),(t=>!t))]},children:this[n(443)]}]})}[wo(424)](){const t=wo;super[t(424)]();for(const e of this[t(429)])this[t(399)](e);this[t(429)].on(t(419),((e,i)=>{this[t(399)](i)})),this[t(429)].on(t(418),((e,i)=>{this[t(445)](i)}))}get[wo(402)](){const t=wo;return this[t(443)][t(411)]((e=>e[t(402)][t(411)]((t=>t))))[t(417)]()}[wo(432)](t){const e=wo;for(const i of this[e(402)])t&&t.id===i.id?i[e(422)]():i[e(410)]()}[wo(448)](t){const e=wo;for(const i of this[e(402)])t[e(416)]((({id:t})=>t===i.id))?i[e(397)]():i[e(427)]()}[wo(399)](t){const e=wo,i=oo(t[e(430)],this[e(403)][e(405)])[e(437)];let s=this[e(443)][e(406)](0);s&&s[e(437)][e(444)]()===i[e(444)]()||(s=new fo(this[e(403)],i,this[e(423)],this[e(441)]),this[e(443)][e(419)](s)),s[e(414)](t)}[wo(445)](t){const e=wo,i=oo(t[e(430)],this[e(403)][e(405)])[e(437)];this[e(440)](i)[e(412)](t)}[wo(440)](t){const e=wo;return this[e(443)][e(425)]((i=>i[e(437)][e(444)]()===t[e(444)]()))}}function Oo(){const t=["action","_handleRevisionSetName","length","fieldView","192206qnqymq","_handleEditorDataReady","RevisionsSidebar","remove","_createRevisionActions","isReady","add","focus","699186LPgxYX","restoreRevisionCallback","_revisions","_revisionViewer","getEarlierVisibleRevision","getLaterVisibleRevision","data","requires","isPremiumPlugin","Compare against selected","locale","compare","_handleDiffChange","5lmzotF","init","revisionHistory","3531bjRfaJ","_handleRevisionSelected","isOfficialPlugin","pluginName","editor","Name this revision","revisionSetName","455tOsxtA","change:diff","availableRevisionActions","listenTo","element","Restore this revision","getRevisionsInDiff","render","40YOYHaq","defaultRevisionActions","_sidebarView","7685722DvEjhL","ready","destroy","revisionHistory.revisionActions","restoreRevision","diff","3420AwGttd","revisionViews","select","revisionHistory.requireRevisionName","923460yfSYTu","get","setName","appendChild","config","1hcpVWp","revisionHistory.viewerSidebarContainer","newRevisionId","assign","1417094lcBdEo","isSelected","highlightRevisions","12sheQYs","repository","isEnabled","revisionSelected","string","compareAgainstSelected","map","nameRevision","bind","isVisible","name","1702632MCJaXw","_revisionsRepository","plugins","timePeriodViews","getRevision","selectRevision","getIndex","99YdMqAi"];return(Oo=function(){return t})()}const To=xo;function xo(t,e){const i=Oo();return(xo=function(t,e){return i[t-=231]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(892321===parseInt(e(260))/1*(parseInt(e(278))/2)+-parseInt(e(314))/3*(-parseInt(e(251))/4)+-parseInt(e(311))/5*(parseInt(e(298))/6)+parseInt(e(264))/7*(-parseInt(e(242))/8)+-parseInt(e(285))/9*(parseInt(e(255))/10)+parseInt(e(245))/11*(parseInt(e(267))/12)+-parseInt(e(234))/13*(-parseInt(e(290))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class No extends U.Plugin{[To(301)];[To(279)];[To(244)];static[To(243)]=[To(272),To(249),To(274)];static[To(236)]=function(){const t=To;return{compareAgainstSelected:{name:t(307),action:({plugins:e},i)=>{const s=t,n=e[s(256)](ee),r=n[s(268)];let o=n[s(250)][s(262)],a=i.id;r[s(284)](o)>r[s(284)](a)&&([o,a]=[a,o]),n[s(309)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(256)](ee);return!(n[s(268)][s(240)](n[s(250)])[s(288)]>2||i[s(265)])}},restoreRevision:{name:t(239),action:(e,{id:i})=>{const s=t;e[s(259)][s(256)](s(313))[s(299)](i)},isVisible:({plugins:e},i)=>!!e[t(256)](ee)[t(268)][t(303)](i.id)},nameRevision:{name:t(232),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(256)](ee),o=r[n(268)][n(302)](i);r[n(309)](i,o),s[n(297)](),s[n(289)][n(253)]()}}}}();static get[To(317)](){return To(292)}static get[To(316)](){return!0}static get[To(306)](){return!0}static get[To(305)](){return[ee]}constructor(t){const e=To;super(t),this[e(301)]=t[e(280)][e(256)](ee),this[e(279)]=this[e(301)][e(268)],this[e(244)]=null}[To(312)](){const t=To,e=this[t(279)][t(300)],i=this[t(294)](),s=this[t(231)][t(259)][t(256)](t(261));this[t(244)]=new So(this[t(231)][t(308)],e,i,this[t(231)][t(259)][t(256)](t(254))),this[t(244)].on(t(270),this[t(315)][t(275)](this)),this[t(244)].on(t(233),this[t(287)][t(275)](this)),this[t(244)][t(275)](t(269)).to(this[t(301)]),this[t(244)][t(281)].on(t(296),((e,i)=>{const s=t;i[s(252)].on(s(296),((t,e)=>{const i=s;e[i(275)](i(269),i(295)).to(this[i(301)])}))})),this[t(244)][t(241)](),this[t(237)](this[t(231)][t(304)],t(246),this[t(291)][t(275)](this)),this[t(237)](this[t(301)],t(235),this[t(310)][t(275)](this)),s[t(258)](this[t(244)][t(238)])}[To(247)](){const t=To;this[t(244)][t(238)][t(293)](),this[t(244)][t(247)]()}[To(291)](){const t=To,e=this[t(279)][t(282)](0);if(e){const i=this[t(279)][t(302)](e.id);this[t(301)][t(309)](e,i)}}[To(315)](t,e){const i=To,s=this[i(279)][i(282)](e.id),n=this[i(279)][i(302)](s.id);this[i(301)][i(309)](s,n)}[To(287)](t,e){const i=To;this[i(279)][i(282)](e.id)[i(257)](e[i(277)])}[To(310)](t,e,i){const s=To,n=this[s(279)][s(240)](i);n[s(288)]>2?(this[s(244)][s(266)](n),this[s(244)][s(283)](null)):(this[s(244)][s(266)]([]),this[s(244)][s(283)](n[0]))}[To(294)](){const t=To,e=this[t(231)],i=No[t(236)],s=e[t(259)][t(256)](t(248))||No[t(243)];if(s[t(288)])return s[t(273)]((s=>{const n=t,r=n(271)==typeof s?Object[n(263)]({},i[s]):s;return r[n(286)]=r[n(286)][n(275)](this,e),r[n(276)]&&(r[n(276)]=r[n(276)][n(275)](this,e)),r}))}}const Ao=No,Ro=Mo;function Eo(){const t=["restore","viewportTopOffset","render","_initToolbar","editor","_toolbarConfig","60AFmOsb","bind","viewportOffset","1141378LnjrLX","editable","rootName","ready","_elementReplacer","44iGMLkx","document","destroy","fillFromConfig","18rIoHMY","1831089fEBzlW","limiterElement","_view","237095flLjFO","733953UICpWK","get","addToolbar","fire","replace","isActive","config","view","focusTracker","attachDomRoot","init","toolbar","stickyPanel","getRoot","setEditableElement","componentFactory","editing","5644521hAigkq","252910iweJrs","2249126EqIXnK","name","isFocused","element","8oraGJJ","detachDomRoot"];return(Eo=function(){return t})()}function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=277]})(t,e)}!function(t){const e=Mo,i=t();for(;;)try{if(474259===parseInt(e(280))/1+parseInt(e(314))/2+parseInt(e(324))/3+parseInt(e(319))/4*(parseInt(e(279))/5)+parseInt(e(323))/6*(-parseInt(e(298))/7)+-parseInt(e(303))/8*(parseInt(e(297))/9)+-parseInt(e(311))/10*(parseInt(e(299))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends pt.EditorUI{[Ro(278)];[Ro(310)];[Ro(318)];get[Ro(287)](){return this[Ro(278)]}constructor(e,i){const s=Ro;super(e),this[s(278)]=i,this[s(310)]=(0,pt.normalizeToolbarConfig)(e[s(286)][s(281)](s(291))),this[s(318)]=new t.ElementReplacer}get[Ro(302)](){const t=Ro;return this[t(287)][t(302)]}[Ro(290)](t){const e=Ro,i=this[e(309)],s=this[e(287)],n=i[e(296)][e(287)],r=s[e(315)],o=n[e(320)][e(293)]();r[e(300)]=o[e(316)],s[e(307)]();const a=r[e(302)];this[e(294)](r[e(300)],a),s[e(315)][e(312)](e(301)).to(this[e(288)]),n[e(289)](a),this[e(318)][e(284)](t,this[e(302)]),this[e(308)](),this[e(283)](e(317))}[Ro(321)](){const t=Ro;super[t(321)]();const e=this[t(287)],i=this[t(309)][t(296)][t(287)];this[t(318)][t(305)](),i[t(304)](e[t(315)][t(300)]),e[t(321)]()}[Ro(308)](){const t=Ro,e=this[t(287)];e[t(292)][t(312)](t(285)).to(this[t(288)],t(301)),e[t(292)][t(277)]=e[t(302)],e[t(292)][t(312)](t(306)).to(this,t(313),(({top:t})=>t)),e[t(291)][t(322)](this[t(310)],this[t(295)]),this[t(282)](e[t(291)])}}var Vo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Vo.A,Co);Vo.A&&Vo.A.locals&&Vo.A.locals;var Fo=jo;function Lo(){var t=["98217sxhXau","top","9942ETXYuN","389488KUbcka","editable","_editable","20Sznhxv","264HwXMRL","shouldToolbarGroupWhenFull","60uRkwzY","4479984cRsOLD","stickyPanel","add","render","7teNAPl","162sCfNZD","main","174558PpOhyj","219235EhkqdP","4237976MsxUKJ","toolbar","content"];return(Lo=function(){return t})()}function jo(t,e){var i=Lo();return(jo=function(t,e){return i[t-=455]})(t,e)}!function(t){for(var e=jo,i=t();;)try{if(451968===-parseInt(e(457))/1*(-parseInt(e(470))/2)+parseInt(e(472))/3*(-parseInt(e(464))/4)+parseInt(e(473))/5+parseInt(e(465))/6+-parseInt(e(469))/7*(-parseInt(e(474))/8)+-parseInt(e(455))/9*(parseInt(e(461))/10)+parseInt(e(458))/11*(-parseInt(e(462))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends pt.BoxedEditorUIView{[Fo(460)];[Fo(466)];[Fo(475)];get[Fo(459)](){return this[Fo(460)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(466)]=new pt.StickyPanelView(t),this[s(475)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(463)]}),this[s(460)]=new pt.InlineEditableUIView(t,e)}[Fo(468)](){var t=Fo;super[t(468)](),this[t(466)][t(476)][t(467)](this[t(475)]),this[t(456)][t(467)](this[t(466)]),this[t(471)][t(467)](this[t(459)])}}const Wo=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=488]})(t,e)}function Uo(){const t=["create","315328QmsWtB","destroy","3446707DbwYgO","ready","editing","view","initialData","fire","2910afRJRt","394fqUKrp","241114lAUEtz","10LEBPte","init","model","createRoot","initPlugins","36hidMwL","document","get","locale","6aLusMg","config","sourceElement","data","944536RCEZXW","_ui","updateSourceElement","598905CmFeZA","1276695qOQVve"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(259941===parseInt(e(488))/1+parseInt(e(517))/2*(parseInt(e(516))/3)+parseInt(e(502))/4+-parseInt(e(505))/5*(parseInt(e(498))/6)+parseInt(e(506))/7+-parseInt(e(508))/8*(parseInt(e(494))/9)+parseInt(e(489))/10*(-parseInt(e(510))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(503)];get ui(){return this[Wo(503)]}constructor(t,e){const i=Wo;super(e),this[i(500)]=t,this[i(491)][i(495)][i(492)]();const s=new Po(this[i(497)],this[i(512)][i(513)],{shouldToolbarGroupWhenFull:!0});this[i(503)]=new Do(this,s)}[Wo(509)](){const t=Wo;return this[t(504)](),this.ui[t(509)](),super[t(509)]()}static async[Wo(507)](t,e){const i=Wo,s=new this(t,e);return await s[i(493)](),await s.ui[i(490)](t),await s[i(501)][i(490)](s[i(499)][i(496)](i(514))||""),s[i(515)](i(511)),s}}const Ho=Bo;function qo(){const t=["from","_showRevisionViewer","users","removeMarker","addRoot","revisionHistory.editorContainer","loadRevisionData","block","12QFLKtK","long","get","isOfficialPlugin","Restored","translations","toVersion","13gHDdlz","numeric","showRevisionViewerCallback","restrictedEditingException","display","1630cgBsIi","revision-history-missing-configuration","selection","fromVersion","locale","_viewerEditor","markers","DocumentOutline","catch","revisionHistory.restoreRevisionCallback","define","120IIWwFn","result","insert","addUser","getUser","revisionHistory","_recalculatePageBreaks","keys","revisionHistory.showRevisionViewerCallback","saveRevision","removeSelectionAttribute","4722EcjMIm","map","creator","isRevisionViewerOpen","plugins","3wIJjyp","init","save","createdAt","setAttribute","then","7184gVhLjN","pluginName","restoreRevision","_update","_closeRevisionViewer","refreshVisibility","revisionHistory.viewerContainer","enqueueChange","set","changesNavigation","9391419EGxmsU","toLocaleDateString","Dialog","removeAttribute","repository","uiLanguage","commands","has","createRangeIn","config","bind","Users","RevisionsRepository","exitToEditing","DocumentOutlineUI","requires","change","RevisionHistoryUI","join","Annotations","style","53317HkObeC","adapter","getRevision","790775CqgDsm","_enhanceShowRevisionViewerCallback","revisionHistory.viewerEditorElement","7201332iQQlMe","error","view","RevisionViewerIntegration","includes","_enhanceCloseRevisionViewerCallback","_restoreRevision","isReady","isOpen","RevisionTracker","revisionHistory.closeRevisionViewerCallback","model","remove","RevisionViewer","Autosave","getRoot","isAttached","toLocaleTimeString","enableReadOnlyMode","create","getRevisionDocumentData","RevisionHistoryUtils","RevisionHistory","PaginationLookup","setSelection","isReadOnly","parse","_getRevisionViewerEditorConfig","fromCharCode","getMarkersGroup","9401JQZbGZ","1106372lrMXEz","detachRoot","element","disableReadOnlyMode","document","end","update","destroy","isPremiumPlugin","refreshPositioning","closeRevisionViewerCallback","rootName","getAttributeKeys","hide","getRevisionRootsAttributes","roots","toolbar","_cleanUp","name","lazyRoots","revisionHistory.requireRevisionName","isAnonymous","none","addRevisionData","push","indexOf","editor","isEnabled","toJSON","revision-history-viewer-opened","getRevisions","data","$graveyard","RestrictedEditingMode"];return(qo=function(){return t})()}!function(t){const e=Bo,i=t();for(;;)try{if(615730===-parseInt(e(237))/1*(parseInt(e(248))/2)+parseInt(e(253))/3*(-parseInt(e(327))/4)+parseInt(e(293))/5*(parseInt(e(369))/6)+-parseInt(e(326))/7*(-parseInt(e(259))/8)+parseInt(e(269))/9+parseInt(e(381))/10*(-parseInt(e(290))/11)+parseInt(e(296))/12*(-parseInt(e(376))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Ho(286),Ho(360)];function Bo(t,e){const i=qo();return(Bo=function(t,e){return i[t-=227]})(t,e)}class Yo extends U.Plugin{[Ho(238)];static get[Ho(260)](){return Ho(299)}static get[Ho(372)](){return!0}static get[Ho(335)](){return!0}constructor(t){const e=Ho;function i(t){const e=Bo;return t[e(249)]((t=>String[e(324)](t)))[e(287)]("")}super(t),this[e(238)]=e(332),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Go extends U.Plugin{[Ho(231)];static get[Ho(260)](){return Ho(318)}static get[Ho(372)](){return!0}static get[Ho(335)](){return!0}static get[Ho(284)](){return[ct,Ft]}constructor(e){const i=Ho;if(super(e),!this[i(353)][i(278)][i(371)](i(242)))throw new t.CKEditorError(i(227),this);this[i(231)]=null,this[i(267)](i(251),!1),this[i(353)][i(278)][i(236)](i(245),(t=>this[i(362)]({...t,translations:this[i(353)][i(230)][i(374)]}))),this[i(353)][i(278)][i(236)](i(306),(t=>this[i(263)](t))),this[i(353)][i(278)][i(236)](i(235),(t=>this[i(302)](t))),this[i(353)][i(278)][i(236)](i(347),!1),this[i(294)](),this[i(301)]()}set[Ho(291)](t){const e=Ho;this[e(353)][e(252)][e(371)](e(305))[e(291)]=t}get[Ho(291)](){const t=Ho;return this[t(353)][t(252)][t(371)](t(305))[t(291)]}[Ho(350)](t){const e=Ho;return this[e(353)][e(252)][e(371)](e(305))[e(350)](t)}[Ho(292)](t){const e=Ho;return this[e(353)][e(252)][e(371)](e(281))[e(292)](t)}[Ho(357)](t){const e=Ho;return this[e(353)][e(252)][e(371)](e(281))[e(357)](t||{toJSON:!1})}[Ho(323)](){const e=Ho,i=this[e(353)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(252)][e(371)](e(305)),r=i[e(252)][e(371)](e(280))[e(363)];return s[e(343)]=[e(282),e(261),e(268)],delete s[e(346)],s[e(252)][e(351)](Yo,ee,be,class extends U.Plugin{static get[e(284)](){return[ee,e(280)]}[e(254)](){const s=e,o=this[s(353)][s(252)][s(371)](s(280));for(const t of r)t[s(348)]||o[s(241)](t.id)||o[s(240)](t);const a=n[s(273)][s(357)]();let c=null;const u=this[s(353)][s(252)][s(371)](s(309));u[s(291)]=n[s(291)],u[s(279)](s(354)).to(n),this[s(353)][s(275)][s(371)](s(261))[s(279)](s(354)).to(i,s(321),(t=>!t));for(const e of a){const i=null===e[s(250)];if(i&&e[s(375)]===e[s(229)])continue;const r=e[s(355)]();u[s(350)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(262)](r,o);else if(!o){const e=a[u(355)]();e.id=(0,t.uid)(),n[u(246)](e,a[u(375)])[u(258)]((t=>{c=t}))}}else e[u(262)](r,o)}))}}},Ao),s}[Ho(294)](){const t=Ho,e=this[t(353)][t(278)][t(371)](t(242))[t(378)];this[t(353)][t(278)][t(267)](t(245),(async()=>{const i=t;this[i(353)][i(314)](i(356));const s=this[i(353)][i(252)][i(371)](i(305));if(this[i(353)][i(252)][i(276)](i(310))){const t=this[i(353)][i(252)][i(371)](i(310));await t[i(255)]()}else await s[i(333)]();if(this[i(353)][i(252)][i(276)](i(319))&&this[i(353)][i(252)][i(371)](i(319))[i(243)](),this[i(353)][i(252)][i(276)](i(271))){const t=this[i(353)][i(252)][i(371)](i(271));t[i(304)]&&t[i(340)]()}const n=this[i(323)]();return e(n)[i(258)]((t=>{const e=i;return this[e(231)]=t,this[e(353)][e(252)][e(276)](e(288))&&this[e(353)][e(252)][e(371)](e(288))[e(264)](),this[e(353)][e(252)][e(276)](e(233))&&(this[e(353)][e(252)][e(371)](e(283))[e(298)][e(329)][e(289)][e(380)]=e(349)),t}))[i(234)]((t=>(console[i(297)](t),this[i(353)][i(330)](i(356)),null)))}))}[Ho(301)](){const t=Ho,e=this[t(353)][t(278)][t(371)](t(242))[t(337)];this[t(353)][t(278)][t(267)](t(306),(()=>(this[t(353)][t(252)][t(276)](t(319))&&this[t(353)][t(252)][t(371)](t(319))[t(243)](),this[t(353)][t(252)][t(276)](t(233))&&(this[t(353)][t(252)][t(371)](t(283))[t(298)][t(329)][t(289)][t(380)]=""),this[t(231)][t(252)][t(371)](t(309))[t(344)](),e(this[t(231)])[t(258)]((()=>{const e=t;if(this[e(353)][e(330)](e(356)),this[e(231)]=null,this[e(353)][e(252)][e(276)](e(288))){const t=this[e(353)][e(252)][e(371)](e(288));t[e(264)](),t[e(336)]()}})))))}[Ho(362)](t){const e=Ho,i=this[e(353)][e(278)][e(371)](e(366)),s=this[e(353)][e(278)][e(371)](e(265)),n=this[e(353)][e(278)][e(371)](e(295));return Zo[e(315)](n,t)[e(258)]((t=>(s[e(289)][e(380)]=e(368),i[e(289)][e(380)]=e(349),this[e(251)]=!0,t)))}[Ho(263)](t){const e=Ho,i=this[e(353)][e(278)][e(371)](e(366));return this[e(353)][e(278)][e(371)](e(265))[e(289)][e(380)]=e(349),i[e(289)][e(380)]="",this[e(251)]=!1,t[e(334)]()}async[Ho(302)](t){const e=Ho,i=this[e(353)],s=this[e(231)][e(252)][e(371)](e(309)),n=i[e(252)][e(371)](e(305)),r=i[e(252)][e(371)](e(317)),o=s[e(273)][e(292)](t);let a,c,u;try{await r[e(367)](o,this[e(291)]),a=r[e(316)](o),c=r[e(341)](o)}catch(t){return void console[e(297)](t)}i[e(307)][e(285)]((t=>{const s=e;for(const e of Array[s(361)](i[s(307)][s(232)][s(325)](s(379))))t[s(364)](e)})),s[e(303)]=!1,i[e(307)][e(266)]((t=>{const s=e;t[s(320)](null),t[s(247)](i[s(307)][s(331)][s(228)][s(339)]());const n=Object[s(244)](a);for(const e of i[s(307)][s(331)][s(342)])s(359)!=e[s(338)]&&e[s(312)]()&&!n[s(300)](e[s(338)])&&t[s(328)](e);for(const e of n){let n=i[s(307)][s(331)][s(311)](e);n&&n[s(312)]()||(n=t[s(365)](e));const r=c[e],o=Object[s(244)](r),u=a[e];for(const e of n[s(339)]())o[s(300)](e)||t[s(272)](e,n);for(const i of o)t[s(257)](i,c[e][i],n);t[s(308)](t[s(277)](n)),t[s(239)](i[s(358)][s(322)](u,n),n,0)}}));const l=Q(i[e(230)],e(373));return u=o[e(345)]?-1==o[e(345)][e(352)](l)?l+": "+o[e(345)]:o[e(345)]:l+": "+o[e(256)][e(270)](i[e(230)][e(274)],{month:e(370),day:e(377)})+", "+o[e(256)][e(313)](i[e(230)][e(274)],{hour:e(377),minute:e(377)}),await n[e(246)]({name:u}),s[e(303)]=!0,i[e(278)][e(371)](e(242))[e(337)]()}}function Jo(){var t=["2058730wXZveX","220VUruKW","6620705foLiiI","220spGgkj","14SkisXn","9xmYRdd","95208PncYts","5nilgGQ","528714pfWYKo","18OzoNnF","494752unaObu","76476tqfAPm","2180GWXLPo"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=403]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(125199===-parseInt(e(404))/1*(parseInt(e(406))/2)+-parseInt(e(414))/3*(-parseInt(e(403))/4)+parseInt(e(412))/5*(-parseInt(e(413))/6)+parseInt(e(409))/7*(-parseInt(e(415))/8)+parseInt(e(410))/9*(-parseInt(e(405))/10)+parseInt(e(408))/11*(parseInt(e(411))/12)+parseInt(e(407))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();