@ckeditor/ckeditor5-revision-history 45.1.0-alpha.5 → 45.1.0-alpha.6

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:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>at,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Zo,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function D(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function E(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?E(e)?F(t,D(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=P,i=t();for(;;)try{if(559991===parseInt(e(312))/1+-parseInt(e(330))/2+-parseInt(e(314))/3+-parseInt(e(334))/4*(-parseInt(e(324))/5)+parseInt(e(310))/6*(-parseInt(e(321))/7)+parseInt(e(328))/8+parseInt(e(325))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(317)];[j(322)];[j(320)];[j(319)];[j(316)];[j(309)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(317)]=e[i(317)]||null,this[i(322)]=e[i(322)]||[],this[i(320)]=e[i(320)]||null,this[i(319)]=e[i(319)]||0,this[i(316)]=e[i(316)]||0,this[i(327)](i(332),e[i(332)]||""),this[i(327)](i(313),e[i(313)]||new Date),this[i(327)](i(331),e[i(331)]||{})}[j(308)](t){this[j(318)]({name:t})}[j(335)](t,e){const i=j,s=A(this[i(331)]);(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(318)]({attributes:s})}[j(326)](t){const e=j,i=A(this[e(331)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&E(e))return L(t,D(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(318)]({attributes:i})}[j(318)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(332),i(313),i(320),i(322),i(331),i(319),i(316),i(311)];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(322)]&&(n[i(333)]=n[i(322)][i(315)]((t=>t.id)),delete n[i(322)]),this[i(323)](i(318),n,e))}[j(329)](){const t=j;return{id:this.id,name:this[t(332)],creatorId:this[t(317)]?this[t(317)].id:null,authorsIds:this[t(322)][t(315)]((t=>t.id)),diffData:this[t(320)],createdAt:this[t(313)],attributes:this[t(331)],fromVersion:this[t(316)],toVersion:this[t(319)]}}}function z(){const t=["_update","toVersion","diffData","315fFXmxW","authors","fire","70IxBgUp","15137784AhqNfm","removeAttribute","set","754688bnQIvw","toJSON","2208256XMXLGM","attributes","name","authorsIds","276924tpDQeP","setAttribute","setName","model","22758SVDTwV","creatorId","153247JuTWSJ","createdAt","3191967oQsqkl","map","fromVersion","creator"];return(z=function(){return t})()}var U=i(782),Z=i(211),H=i(783);function q(){const t=["afterInit","getEarlierVisibleRevision","getIndex","50LGrUrQ","RevisionsRepository","href","addRevision","70721RiEtlH","17480CIxLaE","createdAt","874252jDtZgi","getRevisions","fromVersion","editor","isNaN","193017icITKg","fromCharCode","getRevisionsInDiff","reverse","109194AvGDrM","plugins","data","get","length","107395vstCjk","toJSON","595770BBVrqi","requires","push","earlier","getRevision","oldRevisionId","_revisions","add","90sNqgVy","from","Users","488LLKwwD","276WgsHjC","getLaterVisibleRevision","getUser","creatorId","toVersion","getRevisionsIterator","attributes","later","pluginName","isOfficialPlugin","isPremiumPlugin","map","123xhELnx","diffData","createRevision","newRevisionId","join","name","authorsIds"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=323]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(351639===-parseInt(e(359))/1+parseInt(e(345))/2+-parseInt(e(328))/3*(parseInt(e(343))/4)+parseInt(e(338))/5*(-parseInt(e(354))/6)+parseInt(e(342))/7*(-parseInt(e(372))/8)+parseInt(e(369))/9*(parseInt(e(361))/10)+parseInt(e(350))/11*(parseInt(e(373))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends U.Plugin{[$(367)];static get[$(362)](){return[Z.Users]}static get[$(324)](){return $(339)}static get[$(325)](){return!0}static get[$(326)](){return!0}get[$(358)](){const t=$;return this[t(367)][t(358)]}constructor(e){const i=$;super(e),this[i(367)]=new t.Collection}[$(335)](){!async function(e){const i=k([111,88,68,73,109,112,79,113,89,86,80,105,66,90,76,97,81,107,85,69,119,84,117,101,48,104,121,102,115,67,51,120,72,55,110,65,49,75,118,116,122,53,83,56,77,100,98,50,87,114,52,71,108,103,70,54,106,57,82,78,99,74]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=B;for(const e in window)if(window[k([78,117,109,98,101,114])][i(349)](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([111]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=B;return t[e(327)]((t=>String[e(351)](t)))[e(332)]("")}!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:1747008e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=B,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(340)]);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)}[$(330)](t){const e=$,i=this[e(348)][e(355)][e(357)](e(371));return new W({id:t.id,name:t[e(333)],creator:t[e(376)]?i[e(375)](t[e(376)]):null,diffData:t[e(329)]||t[e(356)],authors:t[e(334)][e(327)]((t=>i[e(375)](t))),createdAt:new Date(t[e(344)]),attributes:t[e(379)],fromVersion:t[e(347)],toVersion:t[e(377)]})}[$(341)](t,e=0){const i=$;this[i(367)][i(368)](t,e)}[$(365)](t){const e=$;return this[e(367)][e(357)](t)}[$(346)](t={toJSON:!1}){const e=$,i=Array[e(370)](this[e(367)]);return i[e(353)](),t[e(360)]?i[e(327)]((t=>t[e(360)]())):i}[$(337)](t){const e=$;return this[e(367)][e(337)](t)}[$(336)](t){const e=$,[,i]=this[e(378)](t,{direction:e(364)});return i}[$(374)](t){const e=$,[,i]=this[e(378)](t,{direction:e(323)});return i}[$(352)](t){const e=$,i=[];for(const s of this[e(378)](t[e(331)]))if(i[e(363)](s),s.id===t[e(366)])break;return i}*[$(378)](t,{direction:e=$(364),filter:i=()=>!0}={}){const s=$,n=s(364)===e?1:-1;let r=this[s(367)][s(357)](t),o=this[s(337)](r);for(yield r;r;){if(o+=n,r=this[s(365)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=Q();return(G=function(t,e){return i[t-=110]})(t,e)}!function(t){const e=G,i=t();for(;;)try{if(652246===-parseInt(e(131))/1+parseInt(e(137))/2+-parseInt(e(185))/3*(-parseInt(e(163))/4)+parseInt(e(113))/5*(parseInt(e(134))/6)+-parseInt(e(147))/7+-parseInt(e(158))/8*(-parseInt(e(132))/9)+-parseInt(e(178))/10*(parseInt(e(110))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class K extends U.Plugin{static get[J(128)](){return J(149)}static get[J(161)](){return!0}static get[J(153)](){return!0}[J(174)]=new Map([[H.ViewContainerElement,"c"],[H.ViewAttributeElement,"a"],[H.ViewEmptyElement,"e"],[H.ViewRawElement,"r"],[H.ViewUIElement,"u"]]);[J(123)]=new Map([["c",H.ViewContainerElement],["a",H.ViewAttributeElement],["e",H.ViewEmptyElement],["r",H.ViewRawElement],["u",H.ViewUIElement]]);async[J(157)](t,e){const i=J;if(t[i(116)]||!e)return;const s=this[i(176)][i(119)][i(121)](i(156)),n=await e[i(122)]({channelId:s,revisionId:t.id});t[i(116)]=n[i(116)]}[J(159)](t){const e=J,i={};for(const s in t[e(116)]){if(t[e(116)][s][e(115)]&&!t[e(116)][s][e(115)][e(182)])continue;const n=this[e(111)](JSON[e(181)](t[e(116)][s][e(114)])),r=this[e(176)][e(135)][e(171)][e(145)],o=new H.ViewDocumentFragment(r,n[e(180)]((t=>this[e(151)](t,!1))));this[e(176)][e(138)][e(124)][e(172)](e(144)),i[s]=this[e(176)][e(138)][e(124)][e(169)](o),this[e(176)][e(138)][e(124)][e(172)](e(164))}return i}[J(152)](t){const e=J,i={};for(const s in t[e(116)])t[e(116)][s][e(115)]&&!t[e(116)][s][e(115)][e(182)]||(i[s]=t[e(116)][s][e(126)]||{});return i}[J(166)](t){const e=J;return this[e(174)][e(121)](t[e(160)])}[J(151)](t,e){const i=J,s=this[i(176)][i(135)][i(171)][i(145)];if(i(143)==typeof t)return new H.ViewText(s,t);{let n,r;r="u"==t[i(155)]||"r"==t[i(155)]?[]:t[i(179)][i(180)]((t=>this[i(151)](t,e)));const o=this[i(123)][i(121)](t[i(155)])||H.ViewElement,a=this[i(176)][i(138)][i(154)][i(142)];if(n=new o(s,t[i(129)],t[i(150)],r),"u"==t[i(155)]&&t[i(179)][0]){const r=t[i(179)][0];if(n[i(146)]=function(t){const e=i,s=t[e(117)](e(130));return s[e(139)]=r,s[e(148)][0]},e){const t=new H.ViewDocumentFragment(s);t[i(120)](n);const e=Array[i(167)](a[i(140)](t,{bind:!1})),r=a[i(118)][i(117)](i(130));r[i(125)](...e),n=Array[i(167)](a[i(112)](r))[0]}}else if("r"==t[i(155)]&&t[i(179)][0]){const r=t[i(179)][0];if(n[i(146)]=function(t){t[i(139)]=r},e){const t=new H.ViewDocumentFragment(s);t[i(120)](n);const e=Array[i(167)](a[i(140)](t,{bind:!1})),r=a[i(118)][i(117)](i(130));r[i(125)](...e);const o=Array[i(167)](a[i(112)](r));o[i(168)]>1?n[i(120)](o):n=o[0]}}if(t[i(165)])for(const[e,s]of t[i(165)])n[i(175)](e,s);const c=void 0===t[i(183)]?null:t[i(183)];return null!==c&&(n[i(173)]=()=>c),n}}[J(136)](t){const e=J,i=JSON[e(181)](t),s=this[e(176)][e(135)][e(171)][e(145)],n=new H.ViewDocumentFragment(s,i[e(180)]((t=>this[e(151)](t,!0))));return this[e(176)][e(138)][e(141)](n)}[J(111)](t){const e=J;return(t=t[e(184)]((t=>!t[e(129)]||e(133)!==t[e(129)]&&e(162)!==t[e(129)])))[e(170)]((t=>{const i=e;i(143)!=typeof t&&(t[i(179)]=this[i(111)](t[i(179)]),t[i(150)]=t[i(150)][i(184)]((t=>!t[0][i(177)](i(127)))))})),t}}function Q(){const t=["_viewClassToTypeChar","_setCustomProperty","editor","startsWith","5770pHfnye","children","map","parse","isAttached","fillerOffset","filter","645PWSmQv","27049uIORMb","_removeRevisionMarkers","domChildrenToView","1765nbmbwF","insertions","attachChange","diffData","createElement","domDocument","config","_appendChild","get","getRevision","_typeCharToViewClass","processor","append","attributesAfter","data-revision-","pluginName","name","div","984396VaeijQ","329265WJKsBC","revision-start","6810imXCiG","editing","_makeModelFromViewString","2360114biMIqG","data","innerHTML","viewChildrenToDom","toModel","domConverter","string","marked","document","render","158494zNfSRe","childNodes","RevisionHistoryUtils","attributes","_getViewFromDiffObj","getRevisionRootsAttributes","isPremiumPlugin","htmlProcessor","type","collaboration.channelId","loadRevisionData","232YrnHzS","getRevisionDocumentData","constructor","isOfficialPlugin","revision-end","8120DOyQjD","default","customProperties","_getTypeCharForViewElement","from","length","toData","forEach","view","useFillerType","getFillerOffset"];return(Q=function(){return t})()}function X(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(V=s)||Number.isNaN(A)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var A,V;const M=(s=s??new Map).get(t),D=s.get(i);if(null!=M&&null!=D)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,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)}function rt(t,e){const i=lt();return(rt=function(t,e){return i[t-=407]})(t,e)}const ot=rt;!function(t){const e=rt,i=t();for(;;)try{if(825601===-parseInt(e(644))/1+parseInt(e(680))/2*(-parseInt(e(583))/3)+parseInt(e(440))/4*(parseInt(e(654))/5)+parseInt(e(691))/6+-parseInt(e(529))/7*(parseInt(e(547))/8)+-parseInt(e(714))/9+parseInt(e(509))/10*(parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lt);class at extends U.Plugin{[ot(502)];[ot(684)];[ot(582)]=null;[ot(475)];[ot(426)]=null;[ot(690)];[ot(474)];[ot(685)];[ot(656)];[ot(407)];[ot(556)];[ot(633)];[ot(425)];[ot(501)];static get[ot(422)](){return ot(575)}static get[ot(419)](){return!0}static get[ot(594)](){return!0}static get[ot(471)](){return[Z.Users,Y,K,U.PendingActions]}constructor(e){const i=ot;super(e),this[i(475)]=this[i(581)][i(472)][i(510)](i(627)),this[i(407)]=this[i(581)][i(472)][i(510)](i(614)),this[i(690)]=new ct(this[i(581)]),this[i(685)]=this[i(581)][i(411)][i(510)](i(628))||i(473),this[i(656)]=new Map,this[i(501)]=null;const s=(0,t.uid)();this[i(474)]={history:this[i(581)][i(630)][i(455)][i(408)],getLatestVersion:()=>Promise[i(660)](this[i(581)][i(630)][i(455)][i(494)]),getCurrentRevisionId:()=>s},this[i(608)](i(432),!1),this[i(608)](i(636),!0),this[i(608)](i(624),!1),this[i(581)][i(411)][i(648)](i(479),!0),this[i(581)][i(467)][i(711)](i(613))[i(605)]({view:i(481)})}[ot(709)](){const t=ot;this[t(439)](),this[t(581)][t(544)].on(t(641),(()=>{const e=t,i=this[e(475)][e(525)](0),s=i&&null===i[e(445)]?i:null;if(this[e(633)]=!!s&&this[e(581)][e(411)][e(510)](e(479)),this[e(581)][e(472)][e(719)](e(441))){const t=this[e(474)][e(599)](),n=this[e(475)][e(525)](t);if(n)this[e(425)]=n[e(698)],this[e(633)]=!1;else{const t=this[e(474)][e(408)][e(659)][e(669)]((t=>!t[e(500)])),n=t?t[e(631)]:this[e(474)][e(408)][e(494)];i?(i[e(504)]<n&&i[e(521)]({toVersion:n}),this[e(633)]?(this[e(474)][e(599)]=()=>s.id,this[e(425)]=s[e(698)]):(this[e(425)]=i[e(504)],this[e(633)]=!1)):(this[e(425)]=n,this[e(633)]=!1)}}else s&&(this[e(581)][e(630)][e(455)][e(408)][e(494)]=Math[e(647)](s[e(504)],this[e(581)][e(630)][e(455)][e(408)][e(494)]),s[e(698)]===s[e(504)]?(0!==s[e(698)]&&(this[e(474)][e(599)]=()=>s.id),this[e(633)]=!1):this[e(633)]&&(this[e(474)][e(599)]=()=>s.id,this[e(425)]=s[e(698)])),this[e(633)]||(this[e(425)]=this[e(581)][e(630)][e(455)][e(494)]);this[e(690)][e(709)](this[e(474)][e(408)]),this[e(574)](this[e(425)]),this[e(598)](this[e(425)]),this[e(426)]&&this[e(619)]()})),this[t(729)](t(432)).to(this,t(624),(t=>!t)),this[t(502)]=this[t(581)][t(411)][t(510)](t(502));const e=this[t(581)];this[t(684)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(638)==r||i(611)==r||i(430)==r||i(520)==r||i(721)==r||i(730)==r||i(651)==r||i(516)==r){delete e[n],s=r,clearInterval(this[i(684)]),this[i(684)]=void 0;break}}i(611)==s&&e[i(592)](i(488)),i(430)==s&&e[i(592)](i(708)),i(520)==s&&e[i(592)](i(442)),i(721)==s&&e[i(592)](i(637),i(524)),i(730)==s&&e[i(592)](i(535)),i(651)==s&&e[i(592)](i(446)),i(516)==s&&e[i(592)](i(416))}),1e3)}async[ot(702)](){const t=ot;if(this[t(475)][t(675)]>0){const e=this[t(475)][t(525)](0),i=await this[t(519)](e),s=await this[t(649)](e);this[t(457)](i,s)}}[ot(452)](){const t=ot;super[t(452)](),this[t(684)]&&clearInterval(this[t(684)])}[ot(603)](t){this[ot(474)]=t}async[ot(642)](){const t=ot,e=await this[t(474)][t(458)]();if(e>this[t(582)][t(504)]){await this[t(668)]();const i=this[t(421)]({revision:this[t(582)],to:e});i[t(674)]=i[t(410)][t(609)]((e=>this[t(581)][t(472)][t(510)](t(559))[t(427)](e))),this[t(582)][t(521)](i)}}async[ot(530)](e={},i=null){const s=ot,n=[];await this[s(668)](),this[s(633)]=!1,i>this[s(582)][s(504)]&&(i=null),null===i&&(i=await this[s(474)][s(458)]());const r=this[s(515)](i),o=this[s(421)]({from:r,to:i});if(this[s(582)][s(504)]<i){const t=this[s(421)]({revision:this[s(582)],from:i,to:i});t[s(674)]=[],t[s(410)]=[],t.id=this[s(582)].id,this[s(582)][s(521)](t,!0),delete t[s(674)],n[s(466)](t)}e[s(586)]=this[s(581)][s(472)][s(510)](s(559)).me.id,e[s(424)]=e[s(424)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(561)](e);n[s(466)](e);const c=this[s(475)][s(629)](a);if(0!==c){const t=this[s(475)][s(525)](c-1);if(t[s(698)]!==i){const r=this[s(690)][s(560)](i,t[s(504)]),o={id:t.id,diffData:r[s(661)],authorsIds:r[s(410)],authors:r[s(410)][s(609)]((t=>this[s(581)][s(472)][s(510)](s(559))[s(427)](t))),fromVersion:i};t===this[s(582)]&&(o[s(527)]=new Date(e[s(527)][s(676)]()+10)),t[s(521)](o,!0),delete o[s(674)],n[s(466)](o)}}if(this[s(426)]){for(const t of n)this[s(493)](t.id,t,!0);this[s(619)]()}return a}[ot(561)](t){const e=ot,i=this[e(475)][e(577)](t);return this[e(426)]&&i.on(e(521),((t,i,s)=>{const n=e;s||(this[n(493)](i.id,i,!0),this[n(619)]())})),this[e(475)][e(461)](i,this[e(478)](i)),i}async[ot(519)](t){const e=ot;return await this[e(407)][e(578)](t,this[e(426)]),this[e(407)][e(519)](t)}async[ot(649)](t){const e=ot;return await this[e(407)][e(578)](t,this[e(426)]),this[e(407)][e(649)](t)}[ot(619)](){const t=ot;if(0===this[t(656)][t(671)])return;if(this[t(624)])return;let e=Array[t(434)](this[t(656)][t(665)]());this[t(656)][t(546)]();for(let i=0;i<e[t(675)];i++){const s=e[i];let n=!1;for(const e of Object[t(682)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(490)]((t=>null!==t)),!e[t(675)])return;for(let i=0;i<e[t(675)];i++){const s=e[i];void 0!==s[t(698)]&&void 0===s[t(504)]&&(s[t(504)]=this[t(475)][t(525)](s.id)[t(504)]),void 0!==s[t(504)]&&void 0===s[t(698)]&&(s[t(698)]=this[t(475)][t(525)](s.id)[t(698)])}const i=this[t(581)][t(411)][t(510)](t(628));this[t(624)]=!0,this[t(526)](),this[t(426)][t(663)](e,i)[t(487)]((()=>{this[t(624)]=!1}))[t(621)]((e=>{const i=t;if(e)for(const t of e)this[i(657)]({id:t.id,createdAt:t[i(527)]});this[i(503)](),this[i(619)]()}))}[ot(421)]({revision:t=null,from:e=null,to:i=null}){const s=ot;e=null!==e?e:t[s(698)],i=null!==i?i:t[s(504)];const n=this[s(690)][s(560)](e,i),r={diffData:n[s(661)],authorsIds:n[s(410)],fromVersion:e,toVersion:i};if(!t||i!==t[s(504)]){const t=i-1,e=this[s(474)][s(408)][s(728)](t);r[s(527)]=e&&e[s(527)]||new Date}if(this[s(501)]&&e===this[s(501)][s(698)])for(const t of this[s(501)][s(674)])r[s(410)][s(591)](t.id)||r[s(410)][s(466)](t.id);return r}[ot(493)](t,e,i){const s=ot;if(this[s(656)][s(719)](t)){const n=this[s(656)][s(510)](t);e=i?{...n,...e}:{...e,...n}}this[s(656)][s(608)](t,e)}[ot(657)](t){const e=ot,i=this[e(475)][e(525)](t.id);if(t[e(527)]&&(t[e(527)]=new Date(t[e(527)])),t[e(410)]){const i=this[e(581)][e(472)][e(510)](e(559));t[e(674)]=t[e(410)][e(609)]((t=>i[e(427)](t)))}i[e(521)](t,!0)}[ot(574)](t){const e=ot,i=this[e(475)][e(525)](this[e(475)][e(675)]-1);if(i)this[e(685)]=i.id;else{const i=!this[e(581)][e(630)][e(455)][e(683)][e(669)]((t=>this[e(581)][e(630)][e(572)](t))),s=this[e(581)][e(472)][e(510)](e(559)).me.id,n=X(this[e(581)][e(465)],e(i?550:552));this[e(705)]({from:t,to:t,id:this[e(685)],name:n,creatorId:s})}}[ot(598)](t){const e=ot,i=this[e(474)][e(599)]();this[e(582)]=this[e(475)][e(525)](i),this[e(582)]||(this[e(582)]=this[e(705)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ot(668)](){const t=ot;this[t(633)]&&!this[t(501)]&&(await this[t(407)][t(578)](this[t(582)],this[t(426)]),this[t(690)][t(468)](this[t(582)]),this[t(501)]={fromVersion:this[t(582)][t(698)],authors:this[t(582)][t(674)][t(722)]()})}[ot(457)](e,i){const s=ot;let n=this[s(581)][s(411)][s(510)](s(610)),r=this[s(581)][s(411)][s(510)](s(415));if(void 0===n){n={};for(const t of this[s(581)][s(630)][s(455)][s(480)]())n[t]=""}if(s(459)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(581)][s(630)][s(455)][s(480)]())r[t]={}}let o=!1;const a=Object[s(682)](n),c=Object[s(682)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(607)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(682)](r[t])[s(675)]>0){o=!0;break}}o||(o=c[s(664)]((t=>!this[s(581)][s(630)][s(455)][s(601)](t)))),o&&(0,t.logWarning)(s(666),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(581)][s(411)][s(608)](s(610),e),this[s(581)][s(411)][s(608)](s(415),i)}[ot(526)](){const t=ot;if(!this[t(556)]){const e=this[t(581)][t(472)][t(510)](t(716));this[t(556)]=e[t(555)](X(this[t(581)][t(465)],t(725)))}}[ot(503)](){const t=ot;this[t(556)]&&(this[t(581)][t(472)][t(510)](t(716))[t(499)](this[t(556)]),this[t(556)]=null)}[ot(478)](t){const e=ot,i=this[e(475)][e(428)]();i[e(573)]();let s=0;for(;s<i[e(675)];){const n=i[s];if(n===this[e(582)]){s++;continue}if(n.id===this[e(685)])break;const r=t[e(504)]-n[e(504)]||t[e(698)]-n[e(698)];if(r>0)break;if(r<0)s++;else{if(!t[e(445)]&&n[e(445)])break;if(n[e(445)]||!t[e(445)]){if(t[e(527)]>n[e(527)])break;s++}else s++}}return s}[ot(515)](t){const e=ot,i=this[e(475)][e(428)]();i[e(573)](),i[e(643)]();const s=i[e(669)]((i=>i[e(504)]<=t))[e(504)];return s<this[e(425)]?this[e(425)]:s}[ot(705)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ot,o=this[r(421)]({from:e,to:i});o[r(424)]=t,o[r(586)]=s,o.id=n;const a=this[r(561)](o);return this[r(426)]&&this[r(493)](o.id,o,!0),a}[ot(439)](){const t=ot;this[t(581)][t(467)][t(711)](t(615))[t(491)]({model:t(481)})}}class ct{[ot(581)];[ot(517)];[ot(463)];[ot(462)];[ot(449)];[ot(514)];[ot(634)];[ot(703)];[ot(448)];[ot(723)];[ot(492)];[ot(497)];[ot(557)];[ot(620)];[ot(567)];[ot(420)];[ot(511)];constructor(t){const e=ot;this[e(581)]=t,this[e(463)]=new Map,this[e(462)]=-1,this[e(449)]=-1,this[e(514)]=new Map,this[e(634)]=new Map,this[e(703)]=new Map,this[e(448)]=new Map,this[e(723)]=new Map,this[e(492)]=new Map,this[e(497)]=new Map,this[e(557)]=new Map,this[e(620)]=new Map,this[e(567)]=new Map,this[e(420)]=1}[ot(709)](t){const e=ot;this[e(517)]=t;const i=new Map,s=new Map,n=this[e(581)][e(630)][e(455)][e(683)][e(609)]((t=>t[e(662)]));for(const t of n){const n=this[e(581)][e(630)][e(455)][e(601)](t),r=ut(n);i[e(608)](t,r),s[e(608)](t,Object[e(470)](n[e(626)]()))}const r=Array[e(434)](this[e(581)][e(630)][e(655)])[e(609)]((t=>[t[e(424)],t[e(476)]()])),o=this[e(517)][e(494)];this[e(536)](o,i,r,s),this[e(511)]=this[e(420)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(608)](t,i),c[e(608)](t,{})}this[e(536)](Number[e(717)],a,[],c)}[ot(560)](t,e){const i=ot;if(this[i(462)]===t&&this[i(449)]<=e)this[i(463)][i(671)]>1&&this[i(695)](this[i(449)]),this[i(653)](this[i(449)],e,!0);else{if(!this[i(463)][i(719)](t)){const e=this[i(563)](t);this[i(689)](e,t,!1)}this[i(689)](t,e,!0)}return this[i(462)]=t,this[i(449)]=e,this[i(541)]()}[ot(468)](t){const e=ot,i=this[e(581)][e(472)][e(510)](e(614));this[e(632)](),this[e(462)]=t[e(698)],this[e(449)]=t[e(504)];for(const s in t[e(661)]){const n=t[e(661)][s][e(693)],r=A(t[e(661)][s][e(587)])||{},o=i[e(507)](t[e(661)][s][e(495)]);o[e(662)]=s,o[e(443)]=!n||!n[e(704)],o[e(704)]=()=>o[e(443)],this[e(448)][e(608)](s,o),this[e(723)][e(608)](s,r),n&&this[e(567)][e(608)](s,n);const a=this[e(618)](o);this[e(497)][e(608)](s,a);for(const[t,i]of o[e(655)]){if(!t[e(681)](e(706)))continue;const s=t[e(542)](":")[2];for(const t of i[e(437)]({singleCharacters:!0})){const i=this[e(447)](t),n=e(549)==t[e(533)]?t[e(720)][e(672)][e(722)](0,-1):t[e(720)][e(672)],r=a[e(539)](n)[e(600)](i);this[e(557)][e(608)](r,{userId:s})}}}this[e(511)]=this[e(420)];const s=[...Array(this[e(420)])[e(682)]()][e(722)](1)[e(490)]((t=>!this[e(557)][e(719)](t)));let n=0;const r=new Map;for(const o in t[e(661)]){const a=t[e(661)][o][e(693)],c=A(t[e(661)][o][e(483)])||{},u=i[e(507)](t[e(661)][o][e(640)]);u[e(662)]=o,u[e(443)]=!a||a[e(704)],u[e(704)]=()=>u[e(443)],this[e(634)][e(608)](o,u),this[e(703)][e(608)](o,c);const l=this[e(618)](u,Number[e(717)]);this[e(492)][e(608)](o,l),r[e(608)](o,u[e(704)]()?c:{});for(const[t,i]of u[e(655)]){if(!t[e(681)](e(706)))continue;const s=t[e(542)](":")[2];for(const t of i[e(437)]({singleCharacters:!0})){const i=this[e(447)](t),n=this[e(420)]++,r=e(549)==t[e(533)]?t[e(720)][e(672)][e(722)](0,-1):t[e(720)][e(672)];l[e(539)](r)[e(576)](i,n),this[e(557)][e(608)](n,{userId:s})}}for(const t of this[e(581)][e(630)][e(543)](u)[e(437)]({singleCharacters:!0})){const i=this[e(447)](t),r=e(549)==t[e(533)]?t[e(720)][e(672)][e(722)](0,-1):t[e(720)][e(672)],o=l[e(539)](r);o[e(600)](i)>0||o[e(576)](i,s[n++])}for(const[t,i]of u[e(655)])t[e(681)](e(706))||this[e(514)][e(608)](t,i)}const o=ht(e(692));this[e(448)][e(608)](e(692),o),this[e(497)][e(608)](e(692),this[e(618)](o,1));const a=ht(e(692));this[e(634)][e(608)](e(692),a),this[e(492)][e(608)](e(692),this[e(618)](a,1));const c=Array[e(434)](this[e(634)])[e(609)]((([t,e])=>[t,ut(e)]));this[e(536)](this[e(449)],c,this[e(514)],r)}[ot(679)](){const t=ot;this[t(632)](),this[t(462)]=-1,this[t(449)]=-1,this[t(463)][t(546)](),this[t(709)](this[t(517)])}[ot(536)](t,e,i,s){const n=ot,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(608)](t,{start:e[n(593)][n(652)](),end:e[n(518)][n(652)](),rootName:e[n(522)][n(662)]});this[n(463)][n(608)](t,{roots:r,markers:a,rootsAttributes:o})}[ot(695)](t){const e=ot;this[e(463)][e(677)](t)}[ot(632)](){const t=ot;this[t(557)][t(546)](),this[t(620)][t(546)](),this[t(567)][t(546)](),this[t(634)][t(546)](),this[t(703)][t(546)](),this[t(448)][t(546)](),this[t(723)][t(546)](),this[t(492)][t(546)](),this[t(497)][t(546)](),this[t(514)][t(546)](),this[t(420)]=1,this[t(511)]=this[t(420)]}[ot(618)](t,e=null){const i=ot;let s=null;t.is(i(528))||(s=new H.Element(t[i(424)],{vid_start:null===e?this[i(420)]++:e++}));const n=[];for(const s of t[i(570)]())if(s.is(i(699))){n[i(466)](this[i(618)](s,e));const t=n[n[i(675)]-1];null!==e&&(e=t.is(i(699),i(616))?t[i(600)](i(645))+1:t[i(600)](i(548))+1)}else for(let t=0;t<s[i(444)];t++)n[i(466)](new H.Element(i(616),{vid:null===e?this[i(420)]++:e++}));if(t.is(i(528))){const e=ht(t[i(662)]);return e[i(715)](0,n),e}return s[i(576)](i(548),null===e?this[i(420)]++:e++),s[i(715)](0,n),s}[ot(689)](t,e,i){const s=ot;this[s(632)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(463)][s(510)](t);this[s(448)]=new Map(n),this[s(723)]=new Map(A(o));for(const[t,e]of this[s(448)])if(s(692)!==t&&(this[s(634)][s(608)](t,ut(e)),this[s(703)]=new Map(A(o)),i)){const i=this[s(420)];this[s(492)][s(608)](t,this[s(618)](e)),this[s(497)][s(608)](t,this[s(618)](e,i))}this[s(511)]=this[s(420)],this[s(634)][s(608)](s(692),ut(this[s(448)][s(510)](s(692)))),i&&this[s(492)][s(608)](s(692),this[s(618)](this[s(448)][s(510)](s(692))));for(const[t,e]of r){const i=this[s(448)][s(510)](e[s(662)]),n=this[s(634)][s(510)](e[s(662)]),r=new H.Range(this[s(697)](e[s(593)],i),this[s(697)](e[s(518)],i)),o=this[s(564)](r,n);i[s(655)][s(608)](t,r),this[s(514)][s(608)](t,o)}this[s(653)](t,e,i)}[ot(653)](t,e,i){const s=ot;for(const n of this[s(517)][s(694)](t,e))this[s(569)](n,i);for(const t of this[s(634)][s(665)]())t[s(655)][s(546)]();for(const[t,e]of this[s(514)])this[s(634)][s(510)](e[s(522)][s(662)])[s(655)][s(608)](t,e[s(652)]());const n=new Map,r=new Map;for(const[t,e]of this[s(634)])n[s(608)](t,ut(e)),r[s(608)](t,this[s(703)][s(510)](t));this[s(536)](e,n,this[s(514)],r)}[ot(563)](t){const e=ot,i=Array[e(434)](this[e(463)][e(682)]());i[e(456)](((t,e)=>t-e)),i[e(573)]();for(const e of i)if(e<t)return e;return Number[e(717)]}[ot(464)](t,e){const i=ot,s=Array[i(434)](e[i(655)])[i(609)]((([e,s])=>[e,this[i(564)](s,t)]));t[i(655)]=new Map(s)}[ot(482)](t){const e=ot;for(const i of this[e(514)][e(665)]()){const s=i[e(540)](t),n=H.Range[e(635)](s);i[e(593)]=n[e(593)],i[e(518)]=n[e(518)]}}[ot(569)](t,e){const i=ot;if(i(523)!=t[i(533)]&&i(409)!=t[i(533)]){if(i(646)==t[i(533)]){const s=t[i(451)][i(522)][i(662)];this[i(634)][i(719)](s)||(this[i(634)][i(608)](s,ht(s,!0)),this[i(703)][i(608)](s,{}),e&&this[i(492)][i(608)](s,ht(s,!0)))}else{if(i(590)==t[i(533)]||i(436)==t[i(533)]||i(512)==t[i(533)])return void this[i(696)](t);i(710)==t[i(533)]&&this[i(485)](t)}if(i(710)!==t[i(533)]){const e=this[i(435)](t,this[i(634)]);e[i(623)](),this[i(482)](e)}if(e)switch(t[i(533)]){case i(646):this[i(639)](t);break;case i(506):case i(499):case i(417):this[i(423)](t);break;case i(612):this[i(450)](t);break;case i(542):this[i(606)](t)}}else this[i(429)](t,e)}[ot(435)](t,e){const i=ot,s=t[i(652)]();return s[i(670)]=t[i(670)],this[i(686)](s,e),s}[ot(538)](t){const e=ot;return t[e(609)]((t=>{const i=e,s=this[i(447)](t);return Number(t[i(584)][i(600)](s))}))}[ot(554)](t,e){const i=ot;if(t.is(i(699),i(616)))e[i(466)]({item:t,type:i(496)});else{t.is(i(699))&&e[i(466)]({item:t,type:i(625)});for(const s of t[i(570)]())this[i(554)](s,e);t.is(i(699))&&e[i(466)]({item:t,type:i(549)})}return e}[ot(541)](){const t=ot,e=new Map(this[t(557)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(448)][t(682)](),...this[t(634)][t(682)]()]);a[t(677)](t(692));for(const e of a){const i=this[t(634)][t(510)](e)||ht(e,!1),s=this[t(448)][t(510)](e)||ht(e,!1);i[t(704)]()||s[t(704)]()?(n[t(640)][e]=ut(i),n[t(495)][e]=ut(s),this[t(464)](n[t(495)][e],s),this[t(464)](n[t(640)][e],i),r[t(640)][e]=this[t(554)](this[t(492)][t(510)](e),[]),r[t(495)][e]=this[t(554)](this[t(497)][t(510)](e)||ht(e,!1),[])):a[t(677)](e)}for(const n of a){const o=r[t(640)][n];for(const n of o){const r=this[t(447)](n),o=n[t(584)][t(600)](r);i[t(677)](o),o>=this[t(511)]&&s[t(608)](o,e[t(510)](o))}}for(const n of a){const a=r[t(640)][n],c=this[t(538)](r[t(495)][n]);let u=0;for(const n of a){const r=this[t(447)](n),a=n[t(584)][t(600)](r);if(!s[t(719)](a)&&!o[t(719)](a))if(i[t(719)](a))u++;else{if(a!=c[u]){const s=e[t(510)](a)||e[t(510)](c[u]);for(;a!=c[u];)i[t(719)](c[u])||(o[t(608)](c[u],s),e[t(608)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(640)][e];for(const e of n){const n=this[t(447)](e),r=e[t(584)][t(600)](n);if(o[t(719)](r)){const e=o[t(510)](r);i[t(719)](r)||i[t(608)](r,{...e}),s[t(608)](r,{...e})}}}for(const e of i[t(682)]())e>=this[t(511)]&&i[t(677)](e);const c=new Map;for(const e of a){let n=r[t(640)][e];for(const e of n)if(e[t(584)].is(t(699),t(498))){const i=this[t(447)](e),n=e[t(584)][t(600)](i);if(s[t(719)](n)){const i=e[t(584)][t(534)][t(534)][t(600)](t(537)),r=c[t(510)](i)||new Set;r[t(555)](s[t(510)](n)[t(589)]),c[t(608)](i,r)}}n=r[t(495)][e];for(const e of n)if(e[t(584)].is(t(699),t(498))){const s=this[t(447)](e),n=e[t(584)][t(600)](s);if(i[t(719)](n)){const s=e[t(584)][t(534)][t(534)][t(600)](t(537)),r=c[t(510)](s)||new Set;r[t(555)](i[t(510)](n)[t(589)]),c[t(608)](s,r)}}for(const e of c[t(682)]())(s[t(719)](e)||i[t(719)](e))&&c[t(677)](e)}for(const e of a){const n=r[t(640)][e];let o=null,a=null;for(const e of n){const n=this[t(447)](e),r=e[t(584)][t(600)](n),u=c[t(510)](r);u&&t(625)==e[t(533)]&&(o=Array[t(434)](u)[0],a=e[t(584)][t(600)](t(548))),o&&(i[t(608)](r,{userId:o}),s[t(608)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(495)][e],a=n[t(640)][e];for(const{userId:e}of this[t(620)][t(665)]())null!==e&&l[t(555)](e);for(const{userId:e}of this[t(567)][t(665)]())null!==e&&l[t(555)](e);this[t(596)](a,r[t(640)][e],s,t(551),l),this[t(596)](o,r[t(495)][e],i,t(412),l),u[e]={insertions:this[t(433)](a),deletions:this[t(433)](o),attachChange:this[t(567)][t(510)](e)||null,attributesBefore:A(this[t(723)][t(510)](e))||{},attributesAfter:A(this[t(703)][t(510)](e))}}return{diffData:u,authorsIds:Array[t(434)](l)}}[ot(565)](t){const e=ot;for(const[,i]of t[e(655)]){const t=i[e(593)][e(650)]()[e(490)]((t=>e(498)==t[e(424)]));for(const i of t)1==i[e(477)]&&i[e(726)](0).is(e(699),e(604))&&i[e(726)](0)[e(576)](e(484),!0)}}[ot(433)](t){const e=ot;this[e(565)](t);const i=this[e(581)][e(544)][e(673)](t,{}),s=Array[e(434)](i[e(570)]())[e(609)]((t=>this[e(701)](t)));return JSON[e(438)](s)}[ot(701)](t){const e=ot;if(t.is(e(616)))return t[e(544)];{const i=this[e(581)][e(472)][e(510)](e(614)),s=t,n=this[e(581)][e(544)][e(688)][e(712)],r={type:i[e(597)](s),name:s[e(424)],attributes:Array[e(434)](s[e(626)]()),children:Array[e(434)](s[e(570)]())[e(609)]((t=>this[e(701)](t)))};if(t.is(e(568))&&e(571)!=t[e(424)]){const i=t[e(453)](n[e(595)],n);r[e(707)][e(466)](i[e(667)])}else if(t.is(e(431))){const i=n[e(595)][e(602)](s[e(424)]);t[e(453)](i,n),r[e(707)][e(466)](i[e(566)])}const o=Array[e(434)](s[e(588)]());o[e(675)]>0&&(r[e(532)]=o);const a=s[e(713)]();return null!==a&&(r[e(489)]=a),r}}[ot(596)](t,e,i,s,n){const r=ot;let o=null,a=null,c=0;const u=this[r(581)][r(630)];for(let s=0;s<e[r(675)];s++){const n=this[r(447)](e[s]),c=e[s][r(584)][r(600)](n),h=i[r(510)](c),d=s==e[r(675)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(589)]!=o[r(589)])&&(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(589)],d=l(706)+s+":"+h+":"+c++,f=u[l(545)](i,a);t[l(655)][l(608)](d,f),null!==h&&n[l(555)](h)}}[ot(447)](t){const e=ot;switch(t[e(533)]){case e(625):return e(537);case e(549):return e(548);default:return e(645)}}[ot(686)](t,e){const i=ot;t[i(631)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(510)](n[i(522)][i(662)]);t[s]=this[i(697)](n,r)}if(n instanceof H.Range){const r=e[i(510)](n[i(522)][i(662)]);t[s]=this[i(564)](n,r)}i(522)===s&&(t[i(522)]=e[i(510)](t[i(522)][i(662)]))}}[ot(564)](t,e){const i=ot;return this[i(581)][i(630)][i(545)](this[i(697)](t[i(593)],e),this[i(697)](t[i(518)],e))}[ot(697)](t,e){const i=ot;return this[i(581)][i(630)][i(505)](e,t[i(672)],t[i(553)])}[ot(639)](t){const e=ot,i=this[e(492)][e(510)](t[e(451)][e(522)][e(662)]),s=this[e(697)](t[e(451)],i),n=null===t[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,r=s[e(534)],o=this[e(420)],a=[];for(const i of t[e(678)])if(i.is(e(699)))a[e(466)](this[e(618)](i));else for(let t=0;t<i[e(444)];t++)a[e(466)](new H.Element(e(616),{vid:this[e(420)]++}));const c=this[e(420)];for(let t=o;t<c;t++)this[e(557)][e(608)](t,{userId:n});r[e(715)](s[e(418)],a)}[ot(423)](t){const e=ot;(t=this[e(435)](t,this[e(492)]))[e(623)]();const i=null===t[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,s=t[e(469)](),n=s[e(534)],r=s[e(418)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(726)](e);r.is(a(699),a(616))?s[a(608)](r[a(600)](a(645)),{userId:i}):(s[a(608)](r[a(600)](a(537)),{userId:i}),t(s,r,0,r[a(477)]),s[a(608)](r[a(600)](a(548)),{userId:i}))}}(this[e(557)],n,r,r+t[e(718)])}[ot(450)](t){const e=ot,i=null===(t=this[e(435)](t,this[e(492)]))[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,s=t[e(513)][e(534)],n=t[e(585)][e(534)],r=s[e(600)](e(548)),o=n[e(600)](e(537));s[e(576)](e(548),n[e(600)](e(548))),n[e(576)](e(548),r),this[e(557)][e(608)](o,{userId:i}),this[e(557)][e(608)](r,{userId:i}),t[e(623)]()}[ot(606)](t){const e=ot,i=null===(t=this[e(435)](t,this[e(492)]))[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,s=t[e(724)],n=t[e(508)][e(534)];t[e(623)]();const r=n[e(600)](e(548)),o=t[e(579)][e(531)];if(s){const t=o[e(600)](e(548)),s=n[e(600)](e(548));n[e(576)](e(548),t),o[e(576)](e(548),s),this[e(557)][e(608)](n[e(600)](e(548)),{userId:i}),this[e(557)][e(608)](o[e(600)](e(537)),{userId:i})}else{const t=this[e(420)]++,s=this[e(420)]++;n[e(576)](e(548),t),o[e(576)](e(537),s),o[e(576)](e(548),r),this[e(557)][e(608)](t,{userId:i}),this[e(557)][e(608)](s,{userId:i})}}[ot(485)](t){const e=ot;if(!t[e(727)])return;const i=(t=this[e(435)](t,this[e(634)]))[e(460)]?t[e(460)][e(522)]:null,s=t[e(617)]?t[e(617)][e(522)]:null;i&&this[e(514)][e(677)](t[e(424)]),s&&this[e(514)][e(608)](t[e(424)],t[e(617)][e(652)]());const n=null===t[e(670)]?null:t[e(670)]||this[e(581)][e(472)][e(510)](e(559)).me.id,r=t[e(424)];if(!this[e(620)][e(719)](r))return void this[e(620)][e(608)](r,{range:t[e(460)],userId:n});const o=this[e(620)][e(510)](r),a=o[e(454)],c=t[e(617)];null==a&&null==c||a&&c&&a[e(486)](c)?this[e(620)][e(677)](t[e(424)]):o[e(589)]=n}[ot(429)](t,e){const i=ot;this[i(634)][i(719)](t[i(662)])?this[i(634)][i(510)](t[i(662)])[i(443)]=t[i(413)]:(this[i(634)][i(608)](t[i(662)],ht(t[i(662)],!0)),this[i(703)][i(608)](t[i(662)],{}),e&&this[i(492)][i(608)](t[i(662)],ht(t[i(662)],!0)));const s=null===t[i(670)]?null:t[i(670)]||this[i(581)][i(472)][i(510)](i(559)).me.id,n=this[i(567)][i(510)](t[i(662)]);n&&n[i(589)]===s?this[i(567)][i(677)](t[i(662)]):this[i(567)][i(608)](t[i(662)],{userId:s,isAttached:t[i(413)]})}[ot(696)](t){const e=ot,i=this[e(703)][e(510)](t[e(522)][e(662)]);null===t[e(700)]?delete i[t[e(687)]]:i[t[e(687)]]=t[e(700)]}}function ut(t){const e=ot,i=ht(t[e(662)],t[e(704)]());for(const s of t[e(570)]()){const t=s[e(580)](!0);i[e(562)](t)}return i}function lt(){const t=["fromVersion","element","newValue","_getViewJson","afterInit","_diffRootsAttributes","isAttached","_makeRevision","revision:","children","expired","init","marker","for","domConverter","getFillerOffset","11150766mBGtvl","_insertChild","PendingActions","NEGATIVE_INFINITY","howMany","has","previousPosition","revisionHistoryLicenseKeyNotAllowed","slice","_baseRootsAttributes","graveyardPosition","PENDING_ACTION_REVISION_HISTORY","getChild","affectsData","getOperation","bind","revisionHistoryLicenseKeyEvaluationLimit","_utils","history","detachRoot","authorsIds","config","deletion","isAdd","66LtramN","rootsAttributes","usageLimit","reinsert","offset","isOfficialPlugin","_revisionId","buildRevisionData","pluginName","_handleMoveOperation","name","_startingVersion","adapter","getUser","getRevisions","_handleRootOperation","revisionHistoryLicenseKeyExpired","rawElement","isReady","_prepareViewToSave","from","_cloneOperation","removeRootAttribute","getWalker","stringify","_setConversion","4FSQeca","RealTimeCollaborationClient","domainLimit","_isAttached","offsetSize","creator","trialLimit","_getVidAttributeName","_baseRoots","_lastTo","_handleMergeOperation","position","destroy","render","range","document","sort","_replaceEditorDataWithRevisionData","getLatestVersion","string","oldRange","addRevision","_lastFrom","_savedMetaData","_copyMarkers","locale","push","conversion","loadState","getMovedRangeStart","fromEntries","requires","plugins","initial","_source","repository","getRange","childCount","_findInsertionIndex","revisionHistory.resumeUnsavedRevision","getRootNames","revision","_transformMarkers","attributesAfter","keepParagraph","_handleMarkerOperation","isEqual","finally","invalid","fillerOffset","filter","markerToData","_idsRoots","_bufferUpdate","version","deletions","text","_baseIdsRoots","tableCell","remove","_isInit","_loadedStateData","licenseKey","_removePendingAction","toVersion","createPositionFromPath","move","_makeModelFromViewString","splitPosition","4589770oYYeaP","get","_startingRevisionId","changeRootAttribute","targetPosition","_markers","_getFromVersion","revisionHistoryLicenseKeyUsageLimit","source","end","getRevisionDocumentData","revisionHistoryLicenseKeyDomainLimit","_update","root","addRoot","RevisionHistory","getRevision","_addPendingAction","createdAt","documentFragment","11104765OVSSad","saveRevision","nodeAfter","customProperties","type","parent","evaluationLimit","_saveMetaData","vid_start","_getBaseVids","getNodeByPath","getTransformedByOperation","_getState","split","createRangeIn","data","createRange","clear","8OOROqH","vid_end","elementEnd","Empty document","insertion","Initial revision","stickiness","_generateTape","add","_pendingAction","_touched","createPositionAfter","Users","getData","addRevisionData","_appendChild","_getPreviousFrom","_fixRange","_processRootBeforeSave","innerHTML","_touchedRoots","uiElement","_handleOperation","getChildren","$comment","hasContent","reverse","_createInitialRevision","RevisionTracker","_setAttribute","createRevision","loadRevisionData","insertionPosition","_clone","editor","currentRevision","15XHEYns","item","sourcePosition","creatorId","attributesBefore","getCustomProperties","userId","addRootAttribute","includes","_showLicenseError","start","isPremiumPlugin","domDocument","_markChanges","_getTypeCharForViewElement","_createCurrentRevision","getCurrentRevisionId","getAttribute","getRoot","createElement","setSource","paragraph","dataToMarker","_handleSplitOperation","trim","set","map","initialData","revisionHistoryLicenseKeyInvalid","merge","upcast","RevisionHistoryUtils","dataDowncast","$text","newRange","_makeIdsRoot","sendBufferedUpdates","_touchedMarkers","then","createPositionBefore","_execute","_isPendingUpdate","elementStart","getAttributes","RevisionsRepository","collaboration.channelId","getIndex","model","baseVersion","_reset","_continueCurrentRevision","_diffRoots","_createFromRanges","isEnabled","featureNotAllowed","revisionHistoryLicenseKeyValid","_handleInsertOperation","insertions","ready","update","shift","394246IPzJfz","vid","insert","max","define","getRevisionRootsAttributes","getAncestors","revisionHistoryLicenseKeyTrialLimit","clone","_applyOperations","7668730dgbXMw","markers","_bufferedUpdates","setRevisionData","createPositionAt","_operations","resolve","diffData","rootName","updateRevisions","some","values","editor-initial-data-replaced-with-revision-data","outerHTML","_loadState","find","_authorId","size","path","toView","authors","length","getTime","delete","nodes","reInit","608438IlZnpg","startsWith","keys","roots","_licenseKeyCheckInterval","_initialRevisionId","_fixOperation","key","htmlProcessor","_calculateMetaData","_revisionDataBuilder","7672218YJWbzF","$graveyard","attachChange","getOperations","_removeMetaData","_handleRootAttributeOperation","_fixPosition"];return(lt=function(){return t})()}function ht(t,e=!0){const i=ot,s=new H.DocumentFragment;return s[i(662)]=t,s[i(443)]=e,s[i(704)]=()=>s[i(443)],s}function dt(t,e,i){const s=ot,n=s(549)==t[s(533)]?i[s(658)](t[s(584)],s(518)):i[s(622)](t[s(584)]);return i[s(505)](e,n[s(672)],n[s(553)])}function ft(t,e,i){const s=ot,n=s(625)==t[s(533)]?i[s(658)](t[s(584)],0):i[s(558)](t[s(584)]);return i[s(505)](e,n[s(672)],n[s(553)])}var mt=i(355),pt=i(311),vt=i(673),gt=i.n(vt),yt=i(545),kt=i.n(yt),bt=i(262),wt=i.n(bt),_t=i(667),It=i.n(_t),St=i(357),Ot=i.n(St),Tt=i(426),xt={attributes:{"data-cke":!0}};xt.setAttributes=It(),xt.insert=wt().bind(null,"head"),xt.domAPI=kt(),xt.insertStyleElement=Ot();gt()(Tt.A,xt);Tt.A&&Tt.A.locals&&Tt.A.locals;var Nt=i(959),Rt={attributes:{"data-cke":!0}};Rt.setAttributes=It(),Rt.insert=wt().bind(null,"head"),Rt.domAPI=kt(),Rt.insertStyleElement=Ot();gt()(Nt.A,Rt);Nt.A&&Nt.A.locals&&Nt.A.locals;function At(t,e){const i=Mt();return(At=function(t,e){return i[t-=459]})(t,e)}const Vt=At;function Mt(){const t=["2duTsVi","focus","optional","7VEJCod","arrowdown","1371153pTTGWs","value","add","ck-revision-history-save-revision-form","focusTracker","form","5436schUAp","54050970mExvdx","arrowup","revisionNameInputView","arrowright","revisionNameInputValue","input","render","revisionName","trim","stopPropagation","12114414iVAmlR","setTemplate","fieldView","2965PJDjoj","3512397ANxVLL","6343710tcTfxD","locale","extendTemplate","Name of the revision","reset","_createRevisionNameInput","2970104fnZYFc","set","label","ck-responsive-form","errorText","listenTo","11kZAfDw","keystrokes","arrowleft","220","element"];return(Mt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(717336===parseInt(e(459))/1+-parseInt(e(498))/2*(-parseInt(e(480))/3)+-parseInt(e(465))/4*(-parseInt(e(479))/5)+parseInt(e(481))/6+-parseInt(e(501))/7*(-parseInt(e(487))/8)+parseInt(e(476))/9+-parseInt(e(466))/10*(parseInt(e(493))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mt);class Dt extends pt.View{[Vt(463)];[Vt(494)];[Vt(468)];constructor(e,i){const s=Vt;super(e),this[s(463)]=new t.FocusTracker,this[s(494)]=new t.KeystrokeHandler,this[s(488)](s(470),""),this[s(468)]=this[s(486)](i),this[s(477)]({tag:s(464),attributes:{class:["ck",s(462),s(490)],tabindex:"-1"},children:[this[s(468)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Vt(472)](){const t=Vt;super[t(472)](),(0,pt.submitHandler)({view:this}),this[t(463)][t(461)](this[t(468)][t(497)]),this[t(494)][t(492)](this[t(497)]);const e=e=>e[t(475)]();this[t(494)][t(488)](t(469),e),this[t(494)][t(488)](t(495),e),this[t(494)][t(488)](t(467),e),this[t(494)][t(488)](t(502),e)}[Vt(499)](){const t=Vt;this[t(468)][t(499)]()}get[Vt(473)](){const t=Vt;return this[t(468)][t(478)][t(497)][t(460)][t(474)]()}set[Vt(473)](t){const e=Vt;this[e(468)][e(478)][e(497)][e(460)]=t[e(474)]()}[Vt(485)](){const t=Vt;this[t(468)][t(478)][t(497)][t(460)]="",this[t(468)][t(491)]=null}[Vt(486)](t){const e=Vt,i=new pt.LabeledFieldView(this[e(482)],pt.createLabeledInputText),s=i[e(478)];s[e(483)]({attributes:{maxlength:e(496)}});let n=X(this[e(482)],e(484));return!t&&(n+=" ("+X(this[e(482)],e(500))+")"),i[e(489)]=n,s.on(e(471),(()=>{const t=e;this[t(470)]=s[t(497)][t(460)][t(474)]()})),i}}const Et=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=102]})(t,e)}function Ft(){const t=["isPremiumPlugin","7sfPajk","panelView","75VgNUNe","Dialog","menuitem","add","_showDialog","init","addMany","7120936omaIJn","5245ZCpCMW","revisionHistory.requireRevisionName","revisionNameInputView","isOfficialPlugin","delegate","render","_createSaveRevisionFormView","revisionName","requires","plugins","_saveRevisionFormView","locale","isOpen","menuBar:revisionHistory","view","1661292NOKuZd","revisionSave","editing","680FToWzs","componentFactory","reset","show","execute","children","role","isReady","isEnabled","RevisionHistoryUI","set","pluginName","299412KESNlN","Accept","editor","get","Revision history","config","The revision name cannot be empty.","bind","Save current revision","hide","RevisionTracker","submit","buttonView","menu","isReadOnly","revisionHistory","Open revision history","showRevisionViewerCallback","31866kExUlq","errorText","248757gHLEsJ","items","23093257FBFrkB","_registerMenuComponent","focus","saveRevision","230sbowaH","ck-button-action","Cancel"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(495122===-parseInt(e(164))/1+-parseInt(e(162))/2*(-parseInt(e(106))/3)+parseInt(e(132))/4*(parseInt(e(114))/5)+-parseInt(e(129))/6+-parseInt(e(104))/7*(parseInt(e(113))/8)+-parseInt(e(144))/9*(parseInt(e(170))/10)+parseInt(e(166))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Et(143)](){return Et(141)}static get[Et(117)](){return!0}static get[Et(103)](){return!0}static get[Et(122)](){return[at]}[Et(124)];[Et(111)](){const t=Et,e=this[t(146)],i=e[t(123)][t(147)](t(154));e.ui[t(133)][t(109)](t(159),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(105)][n(137)],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(151)](n(140)).to(i,n(139),i,n(140),e,n(158),((t,e,i)=>t&&e&&!i)),r[n(156)][n(142)]({icon:mt.IconHistory,label:X(s,n(148)),tooltip:!0}),u[n(142)]({label:X(s,n(152)),withText:!0,role:n(108)}),u[n(151)](n(140)).to(i,n(139),i,n(140),e,n(158),((t,e,i)=>t&&e&&!i)),u.on(n(136),(()=>this[n(110)]())),h[n(142)]({label:X(s,n(160)),withText:!0,role:n(108)}),h[n(151)](n(140)).to(i,n(139),e,n(158),((t,e)=>t&&!e)),h.on(n(136),(()=>{const t=n;e[t(149)][t(147)](t(159))[t(161)](),r[t(126)]=!1,e[t(131)][t(128)][t(168)]()})),c[n(137)][n(109)](u),l[n(137)][n(109)](h),a[n(138)]=n(157),a[n(165)][n(112)]([c,l]),o[n(109)](a),r})),e.ui[t(133)][t(109)](t(127),(()=>this[t(167)]()))}[Et(167)](){const t=Et,e=this[t(146)],i=e[t(125)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(156)][t(142)]({icon:mt.IconHistory,label:X(i,t(148))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(142)]({label:X(i,t(152))}),o[t(118)](t(136)).to(s),o.on(t(136),(()=>{this[t(110)]()})),r[t(137)][t(109)](o),n[t(165)][t(109)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(142)]({label:X(i,t(160))}),c[t(118)](t(136)).to(s),c.on(t(136),(()=>{const i=t;e[i(149)][i(147)](i(159))[i(161)]()})),a[t(137)][t(109)](c),n[t(165)][t(109)](a),s[t(105)][t(137)][t(109)](n),s}[Et(110)](){const t=Et,e=this[t(146)],i=e[t(125)],s=e[t(123)][t(147)](t(107)),n=e[t(123)][t(147)](t(154));function r(n){const r=t;e[r(149)][r(147)](r(115))&&""===n[r(121)]?n[r(116)][r(163)]=X(i,r(150)):(e[r(123)][r(147)](at)[r(169)]({name:n[r(121)]}),s[r(153)]())}this[t(124)]||(this[t(120)](),this[t(124)].on(t(155),(()=>r(this[t(124)])))),this[t(124)][t(134)](),s[t(135)]({id:t(130),title:X(i,t(152)),isModal:!0,content:this[t(124)],actionButtons:[{label:X(e[t(125)],t(102)),withText:!0,onExecute:()=>s[t(153)]()},{label:X(e[t(125)],t(145)),class:t(171),withText:!0,onCreate(i){const s=t;i[s(151)](s(140)).to(n,s(139),n,s(140),e,s(158),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(124)])}]})}[Et(120)](){const t=Et,e=this[t(146)],i=e[t(125)];this[t(124)]=new Dt(i,e[t(149)][t(147)](t(115))),this[t(124)][t(119)]()}}const jt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=265]})(t,e)}function Wt(){const t=["3420104Jwaatw","bindTemplate","focus","ck-revision-change__label","1781194lFSAZC","ck-revision-change__","name","add","isSuggestion","changeId","_model","5069090KJXNho","9909390nSyYIg","1212916peKQAa","Added by","type","ck-revision-change","author","19496176SqYggu","data","setTemplate","ck-annotation","element","3YcxrqG","div","Removed by","set","Suggested by","span","12180567xCRdoE"];return(Wt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(960317===-parseInt(e(268))/1+-parseInt(e(294))/2*(-parseInt(e(287))/3)+-parseInt(e(277))/4+-parseInt(e(275))/5+parseInt(e(276))/6+-parseInt(e(293))/7+parseInt(e(282))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends pt.View{[jt(273)];[jt(274)];constructor(t,e){const i=jt;super(t),this[i(274)]=e,this[i(273)]=e.id;const s=this[i(265)],n=X(t,e[i(283)][i(272)]?i(291):i(271)==e[i(279)]?i(278):i(289));this[i(290)](i(279),e[i(279)]),this[i(284)]({tag:i(288),attributes:{class:[i(285),i(280),s.to(i(279),(t=>i(269)+t))],tabindex:-1},children:[{tag:i(292),children:[{tag:i(292),attributes:{class:[i(267)]},children:[{text:n}]},{text:" "+e[i(281)][i(270)]}]}]})}[jt(266)](){const t=jt;this[t(286)][t(266)]()}}function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=141]})(t,e)}var Zt=Ut;function Ht(){var t=["type","2197972nnlibv","10NNgMLr","set","8ldwjZy","createdAt","9LQppdE","20YWgdxU","5200769DdJINY","1115364VcUFwA","8464962VUnAtd","author","data","908951HGVnWj","367317WrnYxC","toJSON","rootName","963684eDLOjc"];return(Ht=function(){return t})()}!function(t){for(var e=Ut,i=t();;)try{if(937309===-parseInt(e(152))/1+-parseInt(e(148))/2*(-parseInt(e(145))/3)+parseInt(e(158))/4+parseInt(e(141))/5*(-parseInt(e(156))/6)+-parseInt(e(147))/7*(parseInt(e(143))/8)+-parseInt(e(153))/9*(parseInt(e(146))/10)+parseInt(e(149))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(150)];[Zt(157)];[Zt(151)];[Zt(155)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(150)]=e[i(150)],this[i(157)]=e[i(157)],this[i(151)]=e[i(151)]||{},this[i(155)]=e[i(155)],this[i(142)](i(144),e[i(144)])}[Zt(154)](){var t=Zt;return{id:this.id,authorId:this[t(150)].id,type:this[t(157)],data:this[t(151)],createdAt:this[t(144)]}}}function $t(){const t=["303109TDWlMt","newRevisionId","14PYWyiQ","996017ZIpFXj","oldRevisionId","705618lGgyxQ","288QbLJqs","297XsmlEx","changes","63416ALbddL","2tXkmmz","1013970fqhvfn","add","39MWeTiG","5965YKWSkh","337296SYGUJk","30KKGZmL","_setChanges"];return($t=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=$t();return(Yt=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(172853===parseInt(e(260))/1*(parseInt(e(252))/2)+parseInt(e(253))/3+-parseInt(e(266))/4*(parseInt(e(256))/5)+parseInt(e(265))/6*(parseInt(e(262))/7)+parseInt(e(269))/8*(-parseInt(e(267))/9)+-parseInt(e(258))/10*(parseInt(e(263))/11)+-parseInt(e(257))/12*(parseInt(e(255))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt{[Bt(261)];[Bt(264)];[Bt(268)];constructor(e,i){const s=Bt;this[s(261)]=e,this[s(264)]=i,this[s(268)]=new t.Collection}[Bt(259)](t){const e=Bt;for(const i of t)this[e(268)][e(254)](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=te;function Xt(){const t=["dataDowncast","isIncorrect","modelRange","config","getRoot","_markMarkers","ck-revision-history-root-remove","error","_getViewForChange","getAttributes","ck-suggestion-marker-split","item","destroy","addHighlight","element","find","getClientRects","addRevisionData","map","hasAttribute","change:activeView","findIndex","mousedown","forceDisabled","span","ck-suggestion-preview-marker-","isAtEnd","_data","bindElementToMarker","document","clear","pluginName","has","then","concat","revisionHistoryLabel","mapViewToDom","suggestion","loadRevisionData","resolve","softBreak","showPreviousChange","mouseover","_removeMissingPairs","_initInteractions","data","elementEnd","observeMarkers","left","_fixObsoleteTags","_step","abs","getRevisionDocumentData","addRoot","downcastDispatcher","_changeView","change:activeChange","diffData","revisionHistoryAttachChange","top","sort","RevisionViewer","showStack","_refreshStartEndIndex","for","setAttribute","isSuggestion","start","isAddSuggestion","4653bTiNdu","splice","oldRevisionId","view","change","consumable","suggestion:","done","revision-suggestion","newRevisionId","createPositionFromPath","166LLzNQN","isNavigationMode","createRevision","_getChangeFromId","revision:","isEqual","indexOf","_setConversion","_makeModelFromTape","isObject","change:numberOfChanges","markerRange","231atVexx","markerName","revision-comment:","attribute:vid","isPremiumPlugin","code","_cleanUp","ck-suggestion-preview-marker","getRootNames","test","set","revisionHistory","enqueueChange","POSITIVE_INFINITY","checkAttribute","elementToAttribute","removeMarker:revision-suggestion","compare","_cleanMarkers","uiElement","markerToHighlight","insertions","RevisionHistoryUtils","domConverter","slice","text","_utils","editor","forward","9448kJFSSC","first","push","removeMarker","filter","_removeUnsupportedChanges","2039596MnNeWD","reconvertMarker","bottom","getLaterVisibleRevision","_markMismatchedRemovedTags","_setDistance","addMarker:revision-suggestion:deletion","toViewElement","level","nextPosition","_update","523270cuenrU","listenTo","nextSibling","markersStart","currentChangeNumber","pairId","createRange","delete","-new","isRemoveSuggestion","flat","_getRevisionsRange","_revisions","817584XMgxJO","roots","keys","unshift","stop","removeAttribute","upcast","activeChange","hasClass","string","low","getRevisionRootsAttributes","consume","markersEnd","name","addClass","changeId","isOfficialPlugin","index","execute","remove","high","startIndex","bind","35AObmnL","ck-revision-history-root-","_changeIdToChange","parent","requires","markerToData","data-change-id","forEach","pop","_markInsertions","offsetSize","ck-editor__editable__overlay","6586NfbPIP","refresh","addRevision","revision","detachRoot","vid","range","isContent","_getDiff","toViewRange","isAtStart","updatePosition","rootName","_findChangeIdFromDomTarget","activeView","_makeTape","createUIElement","diff","_setChanges","shift","all","removeClass","side","isRemoved","unbindElementFromMarkerName","length","getRevision","WidgetToolbarRepository","elementStart","isEnabled","restoreRevisionCallback","change:isEnabled","showNextChange","insert","viewItem","attributesAfter","commands","createAttributeElement","catch","getWalker","authors","getChild","_appendChild","model","getItems","writer","revision-viewer","editing","type","isReady","element:pre","markers","vid_start","next","createPositionBefore","split","plugins","distance","568890TDGEud","getDomRoot","highest","getAttribute","userId","schema","isBefore","mapper","ck-revision-history-root-add","getIndex","removeMarker:revision","object","isOnRoot","from","deletions","nodeAfter","insertion","right","dataToMarker","addMarker:revision","attachChange","revision-suggestion:","get","changes","editingDowncast","conversion","isAdded","locale","add","endIndex","_markSuggestions","createRangeIn","ck-revision-history-root--active","return","isAttached","toViewPosition","maxOffset","_threeWayMerge","addMarker:revision-suggestion:insertion","isAfter","backward","target","init","ck-suggestion-marker-merge","_balloon","isInline","getCustomProperty","vid_end","_activeViewTarget","attributes","comment","attributesBefore","domEvent","restoreRevision","enableReadOnlyMode","ck-suggestion-marker","values","affectsData","ck-suggestion-marker-","_processTape","markerNameToElements","RevisionsRepository","previousPosition","includes","merge","wrap","_sortAndFilterDiffChanges","5952555eCuVrn","repository","_makeModelFromViewString","_joinTapes","startsWith","adapter","numberOfChanges","deletion","end","isCollapsed","selection","isBlock","change:isReady","ck-suggestion-marker--active","isLimit"];return(Xt=function(){return t})()}function te(t,e){const i=Xt();return(te=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(482100===parseInt(e(331))/1*(parseInt(e(551))/2)+-parseInt(e(389))/3+parseInt(e(271))/4+parseInt(e(319))/5*(parseInt(e(295))/6)+-parseInt(e(456))/7+parseInt(e(265))/8*(parseInt(e(540))/9)+-parseInt(e(282))/10*(parseInt(e(563))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class ee extends U.Plugin{[Qt(457)];[Qt(461)]=null;[Qt(262)];[Qt(437)];[Qt(526)];[Qt(321)];[Qt(433)];static get[Qt(502)](){return Qt(532)}static get[Qt(312)](){return!0}static get[Qt(567)](){return!0}static get[Qt(323)](){return[Z.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Qt;super(t),this[e(457)]=this[e(263)][e(387)][e(411)](e(450)),this[e(262)]=this[e(263)][e(387)][e(411)](e(585)),this[e(573)](e(302),null),this[e(573)](e(345),null),this[e(437)]=null,this[e(573)](e(348),null),this[e(573)](e(380),!1),this[e(573)](e(360),!0),this.on(e(362),((t,i,s)=>{const n=e;this[n(302)]=null,this[n(345)]=null,this[n(263)][n(378)][n(543)][n(544)]((t=>{const e=n;for(const i of this[e(263)][e(378)][e(543)][e(500)][e(296)])s?t[e(352)](e(330),i):t[e(310)](e(330),i)}))})),this[e(318)](e(552)).to(this,e(302),(t=>null!==t)),this[e(318)](e(286)).to(this,e(380),this,e(348),this,e(302),((t,i,s)=>t&&s?i[e(412)][e(398)](s):0)),this[e(318)](e(462)).to(this,e(380),this,e(348),((t,i)=>t?i[e(412)][e(356)]:0)),this[e(526)]=null,this[e(321)]=new Map,this[e(433)]=this[e(263)][e(387)][e(411)](pt.ContextualBalloon)}[Qt(431)](){const t=Qt,e=this[t(263)],i=new ne(e,{direction:t(429)}),s=new ne(e,{direction:t(264)});e[t(367)][t(417)](t(512),i),e[t(367)][t(417)](t(363),s),e[t(367)][t(417)](t(442),new se(e)),this.on(t(561),(()=>{const e=t;i[e(332)](),s[e(332)]()})),this[t(558)](),this[t(515)](),e[t(443)](t(377)),e[t(387)][t(503)](t(358))&&e[t(387)][t(411)](t(358))[t(494)](t(377))}async[Qt(523)](t){const e=Qt;return await this[e(262)][e(509)](t,this[e(461)]),this[e(262)][e(523)](t)}async[Qt(306)](t){const e=Qt;return await this[e(262)][e(509)](t,this[e(461)]),this[e(262)][e(306)](t)}async[Qt(580)](t,e,i=!1){const s=Qt;if(!this[s(360)])return;const n=this[s(348)],r=this[s(457)],o=s(304)==typeof t?r[s(357)](t):t,a=s(304)==typeof e?r[s(357)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(348)]&&this[s(348)][s(549)]===c&&this[s(348)][s(542)]===u)return Promise[s(510)]();this[s(380)]=!1,this[s(345)]=null,this[s(302)]=null,this[s(348)]=new Jt(c,u);const l=this[s(293)](o,a,!0)[s(489)]((t=>this[s(262)][s(509)](t,this[s(461)])));return l[s(267)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(351)](l)[s(504)]((()=>{const t=s;if(!this[t(360)])return;this[t(569)]();const e=this[t(339)](c,u);for(const i of e[t(412)])this[t(321)][t(573)](i.id,i);this[t(263)][t(374)][t(575)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(263)][s(374)][s(500)][s(571)]())i[s(335)](t);for(const t of Object[s(297)](e[s(374)])){const n=i[s(524)](t);for(const r of Object[s(297)](e[s(438)][t]))i[s(536)](r,e[s(438)][t][r],n);i[s(364)](e[s(374)][t],n,0)}})),this[t(348)][t(349)](this[t(455)](e[t(412)])),this[t(380)]=!0}))[s(369)]((t=>{const e=s;console[e(478)](t),this[e(569)](),n&&(this[e(348)]=n),this[e(380)]=!0}))}[Qt(488)](t,e){const i=Qt,s=this[i(457)][i(553)](t);return s.on(i(281),((t,i,n)=>e(i,n,s))),this[i(457)][i(333)](s),s}[Qt(569)](){const t=Qt;this[t(302)]=null,this[t(581)](),this[t(526)]&&this[t(526)][t(483)](),this[t(526)]=null,this[t(321)][t(501)](),this[t(263)][t(374)][t(575)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(263)][i(374)][i(500)][i(571)]())e[i(335)](t)}))}[Qt(455)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(263)][e(374)][e(500)][e(571)]()){const n=this[e(263)][e(378)][e(543)][e(390)](t);if(!n)continue;const r=n[e(487)]()[e(482)](0);r&&(i[e(267)](t),s[e(573)](t,r))}return i[e(531)](((t,i)=>{const n=e,r=s[n(411)](t),o=s[n(411)](i);return r.y-o.y||r.x-o.x})),(t=t[e(269)]((t=>i[e(452)](t[e(343)]))))[e(531)](((t,s)=>i[e(557)](t[e(343)])-i[e(557)](s[e(343)]))),t}[Qt(346)](t){const e=Qt,i=Array[e(402)](t[e(382)])[e(269)]((([t,i])=>t[e(460)](e(555))&&!i[e(465)])),s=Array[e(402)](this[e(263)][e(374)][e(420)](t)[e(370)]({singleCharacters:!0}));if(0!=i[e(356)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(386)](":");if(n[e(464)][e(556)](t[e(280)])&&i[e(350)](),(t[e(451)][e(556)](n[e(538)])||t[e(451)][e(428)](n[e(538)]))&&(e(405)==r?t[e(415)]={userId:o}:e(463)==r&&(t[e(354)]={userId:o})),0==i[e(356)])break}return s}[Qt(534)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(356)];s++)e(588)===t[s][e(379)]?(t[s][e(482)][e(317)]=s,t[s][e(482)][e(418)]=s):(e(359)===t[s][e(379)]?t[s][e(482)][e(317)]=s:e(517)===t[s][e(379)]&&(t[s][e(482)][e(418)]=s),i[e(573)](t[s].id,s));for(const s of i[e(445)]())e(359)===t[s][e(379)]?t[s][e(482)][e(418)]=i[e(411)](t[s][e(287)]):e(517)===t[s][e(379)]&&(t[s][e(482)][e(317)]=i[e(411)](t[s][e(287)]))}[Qt(448)](t){const e=Qt;for(let i=0;i<t[e(356)];i++){if(e(359)===t[i][e(379)])t[i][e(482)][e(317)]=i;else if(e(517)===t[i][e(379)]){t[i][e(482)][e(418)]=i;const s=t[i][e(482)][e(317)];t[s][e(287)]=t[i].id,t[i][e(287)]=t[s].id}else t[i][e(482)][e(317)]=i,t[i][e(482)][e(418)]=i,t[i][e(287)]=null;t[i][e(285)]||(t[i][e(285)]=[],t[i][e(308)]=[])}}[Qt(328)](t,e){const i=Qt,s=t[i(269)]((t=>!t[i(415)]));for(let t=0;t<e[i(356)];t++)e[t][i(415)]&&(s[t][i(415)]=e[t][i(415)])}[Qt(339)](t,e=null){const i=Qt,s=this[i(457)][i(357)](t),n=e?this[i(457)][i(357)](e):null,r=this[i(293)](s,n),o=r[r[i(356)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(356)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(297)](e[i(528)]))if(e[i(528)][t][i(409)]){const s=e[i(528)][t][i(409)];s[i(423)]?(u[i(417)](t),l[i(503)](t)&&l[i(411)](t)[i(393)]==s[i(393)]?l[i(289)](t):l[i(573)](t,s)):l[i(503)](t)?(u[i(289)](t),l[i(289)](t)):(u[i(417)](t),l[i(573)](t,s))}else u[i(417)](t)}for(const t of u){const e=l[i(503)](t)&&!l[i(411)](t)[i(423)];let s=e?r[i(356)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(528)][t]){const s=e?o[i(528)][t][i(440)]:o[i(528)][t][i(366)];c[i(438)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(374)]={};for(const e of t[i(371)])a[i(573)](e.id,e);for(const e of u){const s=t[i(528)][e]?t[i(528)][e][i(584)]:"[]",n=t[i(528)][e]?t[i(528)][e][i(403)]:"[]";t[i(374)][e]={insertions:this[i(262)][i(458)](s),deletions:this[i(262)][i(458)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(402)](s[i(374)][t][i(584)][i(382)])[i(269)]((([t])=>!t[i(460)](i(555)))));let h=0;for(const o of r){const r=this[i(346)](o[i(374)][t][i(584)]);o==s?(e=r,n=e[i(356)],e[i(326)]((t=>{t.id=h++})),this[i(448)](e)):this[i(328)](e,r);const a=e[i(269)]((t=>!t[i(415)]))[i(489)]((t=>t.id));let c=0;const l=this[i(346)](o[i(374)][t][i(403)]);l[i(326)]((t=>{t[i(354)]?t.id=n++:t.id=a[c++]})),this[i(448)](l),this[i(276)](e,i(415)),this[i(276)](l,i(354)),o==s&&this[i(476)](e,u),e=this[i(459)](e,l),this[i(534)](e),this[i(276)](e,i(354))}e=e[i(269)]((t=>!(t[i(415)]&&t[i(354)])));const d=new Map(o[i(374)][t][i(403)][i(382)]),f=new Set(u[i(297)]());for(const t of d[i(297)]())f[i(289)](t);this[i(419)](e,f),this[i(520)](e),e=this[i(514)](e),e=this[i(275)](e),e=this[i(270)](e);const{root:m,changes:p}=this[i(559)](e,a,t);c[i(374)][t]=m;const v=l[i(411)](t);if(v){const e=a[i(411)](v[i(393)]),s=new qt({author:e,type:v[i(423)]?i(417):i(315),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(298)](s),c[i(438)][t][i(529)]=s.id}c[i(412)]=c[i(412)][i(505)](p)}return c}[Qt(476)](t,e){const i=Qt;for(let s=0;s<t[i(356)];s++)for(const[n,r]of e)!r[i(465)]&&r[i(538)][i(556)](t[s][i(451)])&&t[s][i(285)][i(267)](n),r[i(464)][i(556)](t[s][i(280)])&&t[s][i(308)][i(267)](n)}[Qt(459)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(356)]||r<e[i(356)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(267)](o);else if(a[i(354)]&&o[i(415)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(426)](t,n,e,r);s=s[i(505)](o),n=a,r=c}else a[i(354)]?(r++,s[i(267)](a)):(n++,s[i(267)](o))}return s}[Qt(419)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(356)];o++){for(let r=0;r<t[o][i(285)][i(356)];r++){const a=t[o][i(285)][r];if(!e[i(503)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(548)!=c||i(405)!=u&&i(463)!=u||(s[i(298)]({type:u,name:a,userId:l}),t[o][i(285)][i(541)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(308)][i(356)];r++){const a=t[o][i(308)][r];if(!e[i(503)](a))continue;const{group:c,type:u}=n(a);if(i(548)!=c||i(405)!=u&&i(463)!=u)continue;t[o][i(308)][i(541)](r,1),r--;const l=s[i(492)]((t=>t[i(309)]==a));l>-1&&s[i(541)](l,1)}}function n(t){const e=i,s=t[e(386)](":");return{group:s[0],type:s[1],subType:s[e(356)]>=5?s[2]:null,id:s[e(356)]<5?s[2]:s[3],authorId:s[e(356)]<5?s[3]:s[4],markerCount:6==s[e(356)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(356)];i++){if(t[e(415)]&&e(405)==s[i][e(379)])return t[e(539)]=s[i],void delete t[e(415)];if(!t[e(415)]&&!t[e(354)]&&e(463)==s[i][e(379)])return void(t[e(291)]=s[i])}}}[Qt(276)](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(573)](o.id,s);for(let s=0;s<t[i(356)];s++){if(i(354)==e&&t[s][i(415)]||i(415)==e&&t[s][i(354)])continue;if(i(588)==t[s][i(379)]){t[s][i(388)]=0;continue}const n=r[i(411)](t[s][i(287)]),o=r[i(411)](t[s].id);t[s][i(388)]=n-o}}[Qt(293)](t,e,i=!1){const s=Qt,n=[];let r=this[s(457)][s(398)](t),o=this[s(457)][s(398)](e);for(-1==o&&(o=this[s(457)][s(294)][s(356)],i=!1);r<o;)n[s(267)](this[s(457)][s(357)](r)),r++;return i&&n[s(267)](this[s(457)][s(357)](r)),n}[Qt(426)](t,e,i,s){const n=Qt,r=this[n(263)][n(374)][n(394)];let o=e;for(;t[o]&&t[o][n(415)];)o++;let a=s;for(;i[a]&&i[a][n(354)];)a++;u(t,e,o),u(i,s,a);const c=i[n(587)](s,a)[n(505)](t[n(587)](e,o));return c[n(531)](((t,e)=>t[n(353)]!=e[n(353)]?t[n(353)]-e[n(353)]:t[n(279)]!=e[n(279)]?t[n(279)]-e[n(279)]:t[n(388)]!=e[n(388)]?e[n(388)]-t[n(388)]:!!t[n(415)]!=!!e[n(415)]?-1==t[n(353)]||0==t[n(353)]?t[n(415)]?-1:1:t[n(415)]?1:-1:t[n(313)]-e[n(313)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(576)],c=!0;for(let n=e;n<i;n++)if(r[s(434)](t[n][s(482)])||(c=!1),t[n][s(482)][s(317)]<e&&(o=n),t[n][s(482)][s(418)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(353)]=n<=o?-1:n<a?0:1,t[n][s(313)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(388)]?t[i][s(279)]=u:(u++,t[i][s(279)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(353)]&&(t[n][s(279)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(388)]?t[e][s(279)]=u:(u--,t[e][s(279)]=u,u--)}}[Qt(520)](t){const e=Qt,i=new Map,s=this[e(263)][e(374)][e(394)];for(let n=1;n<t[e(356)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(588)==c[e(379)])continue;if(c[e(379)]!=u[e(379)])continue;if(!s[e(467)](u[e(482)])||s[e(470)](u[e(482)]))continue;if(!s[e(467)](c[e(482)])||s[e(470)](c[e(482)]))continue;if((t[n][e(415)]||t[n][e(539)])&&t[n-1][e(354)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(354)]||!t[n-1][e(415)]&&!t[n-1][e(539)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(279)]==o[e(279)],h=Math[e(522)](r[e(279)])<Math[e(522)](o[e(279)])&&0==o[e(388)];(l||h)&&(i[e(573)](o.id,r.id),t[e(541)](a,1),n--,r[e(415)]=!1)}for(let s=0;s<t[e(356)];s++)i[e(503)](t[s][e(287)])&&(t[s][e(287)]=i[e(411)](t[s][e(287)]))}[Qt(514)](t){const e=Qt,i=new Set(t[e(489)]((t=>t.id)));for(let s=0;s<t[e(356)];s++)i[e(503)](t[s][e(287)])||0==t[s][e(388)]||(t[s][e(472)]=!0);return t[e(269)]((t=>!t[e(472)]))}[Qt(275)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(356)];s++){if(i[e(503)](t[s].id)&&t[s][e(354)]&&(t[s][e(472)]=!0),t[s][e(472)])continue;if(0==t[s][e(388)])continue;if(e(359)!=t[s][e(379)])continue;if(null==t[s][e(287)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(287)];)e(359)==t[n][e(379)]?r++:e(517)==t[n][e(379)]&&r--,n++;if(0!=r)if(t[s][e(354)])t[s][e(472)]=!0;else for(;n!=s;)t[n][e(354)]&&0!=t[n][e(388)]&&(t[n][e(472)]=!0,i[e(417)](t[n][e(287)])),n--}return t[e(269)]((t=>!t[e(472)]))}[Qt(270)](t){const e=Qt,i=this[e(263)][e(374)][e(394)];for(let s=0;s<t[e(356)];s++){if(!(t[s][e(415)]||t[s][e(539)]||t[s][e(354)]||t[s][e(291)]))continue;if(0==t[s][e(388)])continue;const n=t[s][e(482)];i[e(467)](n)||i[e(470)](n)||(t[s][e(415)]&&delete t[s][e(415)],t[s][e(539)]&&delete t[s][e(539)],t[s][e(291)]&&delete t[s][e(291)],t[s][e(354)]&&(t[s][e(472)]=!0))}return t[e(269)]((t=>!t[e(472)]))}[Qt(559)](t,e,i){const s=Qt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(263)][s(374)],c=a[s(394)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(356)];e++)if(s(359)===t[e][s(379)]){t[e][s(451)]=a[s(550)](n,f);const i=new H.Element(t[e][s(482)][s(309)],t[e][s(482)][s(480)]());u[0][s(373)](i),f[s(267)](0),u[s(298)](i),t[e][s(280)]=a[s(550)](n,f)}else s(517)===t[e][s(379)]?(u[s(350)](),t[e][s(451)]=a[s(550)](n,f),f[s(327)](),f[f[s(356)]-1]++,t[e][s(280)]=a[s(550)](n,f)):(t[e][s(451)]=a[s(550)](n,f),d?d[s(498)]+=t[e][s(482)][s(516)]:d=new H.Text(t[e][s(482)][s(516)],t[e][s(482)][s(480)]()),t[e+1]&&s(588)===t[e+1][s(379)]&&v(d,t[e+1][s(482)])||(u[0][s(373)](d),d=null),f[f[s(356)]-1]+=t[e][s(482)][s(329)],t[e][s(280)]=a[s(550)](n,f));for(let e=0;e<t[s(356)];e++){const i=t[e][s(451)],n=t[e][s(280)];for(const n of t[e][s(285)])o[s(573)](n,{start:i,end:null});m(s(291),e,i,n),m(s(539),e,i,n),m(s(354),e,i,n),m(s(415),e,i,n);for(const i of t[e][s(308)]){const t=o[s(411)](i);t?t[s(464)]=n:o[s(573)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(263)][s(374)][s(288)](e[s(538)],e[s(464)]);n[s(382)][s(573)](t,i)}return r[s(531)](((t,e)=>{const i=s,r=n[i(382)][i(411)](i(555)+t.id),o=n[i(382)][i(411)](i(555)+e.id);return r[i(538)][i(395)](o[i(538)])?-1:r[i(538)][i(428)](o[i(538)])?1:r[i(464)][i(395)](o[i(464)])?-1:r[i(464)][i(428)](o[i(464)])?1:i(417)===t[i(379)]?-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(393)]:null,d=i===t[o(356)]-1,f=h[e][0],m=c[o(560)](t[i][o(482)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(464)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(393)]!==u&&(l[e][o(464)]=n,f&&f[o(393)]===l[e][o(393)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(359)!==t[i][o(379)]||f&&f[o(393)]===u||h[e][o(298)]({userId:u,object:t[i][o(482)],change:l[e]}),o(517)===t[i][o(379)]&&f&&f[o(400)]===t[i][o(482)]&&(h[e][o(350)](),l[e]=f[o(544)])),l[e]&&d&&(l[e][o(464)]=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(482)],f=a[h(394)][h(467)](d)&&!a[h(394)][h(470)](d),m=t[h(404)]==o[h(322)]&&o[h(341)];if(f&&m)return;const p=a[h(288)](t,o),v=e[h(411)](u),g=new qt({author:v,type:h(415)==l||h(539)==l?h(417):h(315),data:{isSuggestion:h(539)==l||h(291)==l},createdAt:new Date,rootName:i});r[h(267)](g),n[h(382)][h(573)](h(555)+g.id,p)}function v(t,e){const i=s,n=t[i(480)](),r=e[i(480)]();for(const t of n){if(t[1]!==e[i(392)](t[0]))return!1;r[i(384)]()}return r[i(384)]()[i(547)]}}[Qt(558)](){const t=Qt;this[t(263)][t(414)][t(535)](t(301))[t(407)]({view:t(334)}),this[t(263)][t(414)][t(535)](t(413))[t(583)]({model:t(334),view:e=>{const i=t,s=e[i(564)][i(386)](":")[1],n=this[i(554)](s);if(!n)return null;const r=i(417)==n[i(379)]?i(405):i(463),o=[i(444),i(447)+r];return n[i(516)][i(537)]&&o[i(267)](i(447)+r+i(290)),this[i(302)]==n&&o[i(267)](i(469)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(263)][t(414)][t(535)](t(301))[t(417)]((e=>{const i=t;e.on(i(381),((t,e,s)=>{const n=i,r=e[n(365)][n(372)](0);if(!r||!r.is(n(485),n(568)))return;if(!s[n(545)][n(307)](r,{attributes:[n(383),n(436)]}))return;const o=e[n(473)][n(538)][n(404)];s[n(376)][n(536)](n(383),r[n(392)](n(383)),o),s[n(376)][n(536)](n(436),r[n(392)](n(436)),o)}),{priority:i(305)})})),this[t(263)][t(414)][t(535)](t(301))[t(417)]((e=>{const i=t;e.on(i(485),((t,e,s)=>{const n=i;if(!s[n(545)][n(307)](e[n(365)],{attributes:[n(383),n(436)]}))return;if(e[n(473)][n(465)])return;const r=e[n(473)][n(538)][n(404)];r[n(490)](n(383))||r[n(490)](n(336))||(s[n(376)][n(536)](n(383),e[n(365)][n(392)](n(383)),r),s[n(376)][n(536)](n(436),e[n(365)][n(392)](n(436)),r))}),{priority:i(305)})})),this[t(263)][t(414)][t(535)](t(301))[t(578)]({view:{name:t(495),attributes:{vid:!0}},model:{key:t(336),value:e=>e[t(392)](t(336))}}),this[t(263)][t(374)][t(394)].on(t(577),((e,[,i])=>{const s=t;[s(383),s(436),s(336)][s(452)](i)&&(e[s(422)]=!0,e[s(299)]())}),{priority:t(391)}),this[t(263)][t(414)][t(535)](t(471))[t(417)]((e=>{const i=t;e.on(i(566),((t,e,s)=>{const n=i;if(" "!=e[n(482)][n(516)]||e[n(482)][n(322)][n(425)]>1)return;if(!s[n(545)][n(307)](e[n(482)],t[n(309)]))return;const r=s[n(376)],o=s[n(396)][n(340)](e[n(337)]);r[n(454)](o,r[n(368)](n(495)))}))})),this[t(263)][t(414)][t(535)](t(471))[t(324)]({model:t(334)}),this[t(263)][t(378)][t(525)].on(t(408),function(e){const i=t,s=e[i(387)][i(411)](i(532));return(t,n,r)=>{const o=i,a=n[o(564)][o(386)](":")[1],c=s[o(554)](a);if(!c)return null;const u=o(417)==c[o(379)]?o(386):o(453);if(!r[o(545)][o(572)](n[o(562)],t[o(309)]))return;const l=n[o(562)][o(370)](),h=n[o(562)][o(538)],d=e[o(374)][o(394)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(482)];p=p||d[o(338)](e);const i=r[o(396)][o(278)](e);if(i&&i[o(435)](o(484)))return;o(517)==t[o(379)]&&d[o(467)](e)&&!d[o(470)](e)&&(e[o(284)]||h[o(497)]?f&&f[o(322)]==e||(f=e,g(t[o(451)]),v=!0):m=m||t[o(451)])}function g(t){const e=o,i=r[e(376)][e(347)](e(495),{class:e(447)+u}),a=r[e(396)][e(424)](t);c[e(516)][e(537)]&&r[e(376)][e(310)](e(447)+u+e(290),i),s[e(302)]==c&&r[e(376)][e(310)](e(469),i),r[e(376)][e(364)](a,i),r[e(396)][e(499)](i,n[e(564)])}p||v||!m||g(m)}}(this[t(263)]),{priority:t(316)}),this[t(263)][t(378)][t(525)].on(t(399),((e,i,s)=>{const n=t,r=s[n(396)][n(449)](i[n(564)]);if(r)for(const t of r)(t[n(303)](n(481))||t[n(303)](n(432)))&&(s[n(396)][n(355)](t,i[n(564)]),s[n(376)][n(315)](t))}),{priority:t(316)}),this[t(263)][t(378)][t(525)].on(t(408),((e,i,s)=>{const n=t,r=i[n(564)][n(386)](":")[1],o=this[n(554)](r);if(!o)return null;const a=n(417)==o[n(379)]?n(386):n(453);if(s[n(545)][n(572)](i[n(562)],e[n(309)]))for(const t of i[n(562)][n(375)]()){if(!t.is(n(485),n(511)))continue;const e=s[n(376)][n(347)](n(495),{class:n(447)+a}),r=s[n(396)][n(424)](this[n(263)][n(374)][n(385)](t));o[n(516)][n(537)]&&s[n(376)][n(310)](n(447)+a+n(290),e),this[n(302)]==o&&s[n(376)][n(310)](n(469),e),s[n(376)][n(364)](r,e),s[n(396)][n(499)](e,i[n(564)])}}),{priority:t(316)}),this[t(263)][t(374)][t(500)].on(t(544),(()=>{const e=t;this[e(263)][e(378)][e(543)][e(544)]((t=>{const i=e;for(const e of this[i(263)][i(374)][i(500)][i(571)]()){const s=this[i(263)][i(374)][i(500)][i(475)](e),n=this[i(263)][i(378)][i(543)][i(500)][i(475)](e);if(n){const e=s[i(392)](i(529));if(t[i(300)](i(325),n),t[i(352)](i(397),n),t[i(352)](i(477),n),t[i(352)](i(421),n),e){const s=this[i(554)](e);if(!s)return null;t[i(536)](i(325),e,n),t[i(310)](i(320)+s[i(379)],n),this[i(302)]==s&&t[i(310)](i(421),n)}}}}))})),this[t(263)][t(414)][t(535)](t(301))[t(407)]({view:t(439),model:e=>t(565)+e,converterPriority:t(391)}),this[t(263)][t(414)][t(535)](t(301))[t(407)]({view:t(508),model:e=>t(410)+e,converterPriority:t(391)}),this[t(263)][t(414)][t(535)](t(471))[t(324)]({model:t(548),view:e=>({name:t(546)+e,group:t(548)}),converterPriority:t(391)}),this[t(263)][t(414)][t(535)](t(413))[t(583)]({model:t(548),view:e=>{const i=t,s=e[i(564)][i(386)](":")[1];return i(405)!=s&&i(463)!=s?null:{classes:[i(570),i(496)+s]}}}),this[t(263)][t(378)][t(525)].on(t(277),ie(this[t(263)],t(453)),{priority:t(316)}),this[t(263)][t(378)][t(525)].on(t(427),ie(this[t(263)],t(386)),{priority:t(316)}),this[t(263)][t(378)][t(525)].on(t(579),((e,i,s)=>{const n=t,r=s[n(396)][n(449)](i[n(564)]);if(r)for(const t of r)t.is(n(582))&&(s[n(396)][n(355)](t,i[n(564)]),s[n(376)][n(315)](t))}),{priority:t(316)})}[Qt(554)](t){const e=Qt;return this[e(321)][e(411)](t)}[Qt(479)](t){const e=Qt;return this[e(526)]&&this[e(526)][e(483)](),this[e(526)]=new zt(this[e(263)][e(416)],t),this[e(526)]}[Qt(515)](){const t=Qt;this[t(263)][t(374)][t(500)][t(466)][t(518)](t(334)),this.on(t(491),((e,i,s,n)=>{const r=t;n&&this[r(433)][r(315)](n),s&&(this[r(433)][r(417)]({view:s,stackId:r(506),position:{target:()=>{const t=r,e=this[t(263)][t(378)],i=this[t(554)](s[t(311)]);let n;if(i[t(516)][t(401)]){const s=e[t(543)][t(390)](i[t(343)]);n=Array[t(402)](s[t(487)]())}else{const i=this[t(263)][t(374)][t(382)][t(411)](t(555)+s[t(311)]);n=Array[t(402)](e[t(396)][t(449)](i[t(309)]))[t(489)]((i=>e[t(543)][t(586)][t(507)](i)))[t(489)]((e=>Array[t(402)](e[t(487)]())))[t(292)]()}return this[t(437)]&&n[t(486)]((e=>e[t(530)]-3<=this[t(437)].y&&e[t(273)]+3>=this[t(437)].y&&e[t(519)]-3<=this[t(437)].x&&e[t(406)]+3>=this[t(437)].x))||n[0]}}}),this[r(433)][r(533)](r(506)))})),this.on(t(527),((e,i,s,n)=>{const r=t;this[r(345)]=s?this[r(479)](s):null,this[r(263)][r(374)][r(544)]((()=>{const t=r,e=this[t(263)][t(378)];n&&(n[t(516)][t(401)]?e[t(543)][t(544)]((i=>{const s=t;i[s(352)](s(421),e[s(543)][s(500)][s(475)](n[s(343)]))})):e[t(272)](t(555)+n.id)),s&&(s[t(516)][t(401)]?e[t(543)][t(544)]((i=>{const n=t;i[n(310)](n(421),e[n(543)][n(500)][n(475)](s[n(343)]))})):e[t(272)](t(555)+s.id))}))})),this[t(283)](this[t(263)][t(378)][t(543)][t(500)],t(513),((e,i)=>{const s=t;if(this[s(302)])return;const n=this[s(344)](i[s(430)]),r=this[s(321)][s(411)](n);r?(this[s(437)]={x:i[s(441)].x,y:i[s(441)].y},this[s(345)]=this[s(479)](r)):(this[s(437)]=null,this[s(345)]=null)})),this[t(283)](this[t(263)][t(378)][t(543)][t(500)],t(493),((e,i)=>{const s=t,n=this[s(344)](i[s(430)]),r=this[s(321)][s(411)](n);r?(this[s(437)]={x:i[s(441)].x,y:i[s(441)].y},r===this[s(302)]?this[s(433)][s(342)]():this[s(302)]=r):(this[s(437)]=null,this[s(302)]=null)}))}[Qt(344)](t){const e=Qt;do{const i=t[e(392)](e(325));if(i)return i;t=t[e(322)]}while(t);return null}[Qt(581)](){const t=Qt;this[t(263)][t(374)][t(544)]((e=>{const i=t;for(const t of this[i(263)][i(374)][i(382)])e[i(268)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(545)][r(572)](s[r(562)],i[r(309)]))return;const o=s[r(562)][r(370)](),a=s[r(562)][r(538)],c=t[r(374)][r(394)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(482)];h=h||c[r(338)](e);const i=n[r(396)][r(278)](e);if(i&&i[r(435)](r(484)))return;r(517)==t[r(379)]&&c[r(467)](e)&&!c[r(470)](e)&&(e[r(284)]||a[r(497)]?u&&u[r(322)]==e||(u=e,f(t[r(451)]),d=!0):l=l||t[r(451)])}function f(t){const i=r,o=n[i(396)][i(424)](t),a=n[i(376)][i(347)](i(495),{class:i(496)+e});n[i(376)][i(364)](o,a),n[i(396)][i(499)](a,s[i(564)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(387)][e(411)](ee);this[e(446)]=!1,this[e(283)](i,e(468),(()=>this[e(332)]())),this[e(283)](i,e(362),(()=>this[e(332)]()))}[Qt(314)](){const t=Qt,e=this[t(263)],i=e[t(387)][t(411)](ee),s=i[t(380)]?i[t(348)][t(549)]:null;e[t(474)][t(411)](t(574))[t(361)](s)}[Qt(332)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(263)][t(387)][t(411)](ee),r=n&&s[t(274)](n[t(549)]);this[t(360)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(521)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(387)][i(411)](ee);this[i(446)]=!1,this[i(521)]=i(264)===e?1:-1,this[i(283)](s,i(468),(()=>this[i(332)]())),this[i(283)](s,i(362),(()=>this[i(332)]())),this[i(283)](s,i(527),(()=>this[i(332)]()))}[Qt(314)](){const e=Qt,i=this[e(263)],s=i[e(387)][e(411)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(302)]=n?s[e(348)][e(412)][e(411)](r+this[e(521)]):s[e(348)][e(412)][e(266)],s[e(302)][e(516)][e(401)])o=i[e(378)][e(543)][e(390)](s[e(302)][e(343)]);else{const t=i[e(374)][e(382)][e(411)](e(555)+s[e(302)].id);o=(0,Z.getMarkerDomElement)(i[e(378)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(332)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(263)][t(387)][t(411)](ee);this[t(360)]=!!(r&&n&&s)&&(!e||(1===this[t(521)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=297]})(t,e)}function ce(){const t=["isEnabled","Show previous change","1768392aCaRjt","Show next change","isForwardNavigationEnabled","span","ck-revision-history-ui__changes-navigation__navigation","NUMBER_OF_CHANGES","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__label","bindTemplate","2194AOUYyb","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__wrapper","currentChangeNumber","set","4569guUOKV","_isStatusLabelVisible","numberOfChanges","No changes","bind","forward","688IMnHVE","backward","ck-hidden","fire","setTemplate","32081jTIzbi","ck-revision-history-ui","EDIT_X_OF_Y_REVISIONS","execute","isNavigationMode","isBackwardNavigationEnabled","Total","div","3743280ZcwGgZ","1049720JedJDw","isReady","Loading...","_statusText","524788nkJvyW","11924406AjBgaZ"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(966686===-parseInt(e(298))/1+-parseInt(e(315))/2*(-parseInt(e(320))/3)+-parseInt(e(302))/4+-parseInt(e(297))/5+parseInt(e(306))/6+parseInt(e(331))/7*(-parseInt(e(326))/8)+parseInt(e(303))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(314)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(319)](e(335),!1),this[e(319)](e(299),!1),this[e(319)](e(318),0),this[e(319)](e(322),0),this[e(319)](e(308),!1),this[e(319)](e(336),!1),this[e(324)](e(321)).to(this,e(299),this,e(322),((t,e)=>t&&e>0)),this[e(324)](e(301)).to(this,e(299),this,e(318),this,e(322),this,e(335),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(300));if(!n)return X(t,o(323));const a=X(t,o(311),n);return r?X(t,o(312),[s+1,n]):a})),s[e(319)]({label:X(t,e(305)),tooltip:!0,icon:mt.IconChevronUp}),n[e(319)]({label:X(t,e(307)),tooltip:!0,icon:mt.IconChevronDown}),s[e(324)](e(304)).to(this,e(336)),n[e(324)](e(304)).to(this,e(308)),s.on(e(334),(()=>this[e(329)](e(334),e(327)))),n.on(e(334),(()=>this[e(329)](e(334),e(325)))),this[e(330)]({tag:e(338),attributes:{class:["ck",e(332),e(316)]},children:[{tag:e(309),attributes:{class:[e(317)]},children:[{tag:e(309),attributes:{class:[e(313),i.if(e(321),e(328),(t=>!t))]},children:[{text:i.to(e(335),(i=>i?X(t,e(333))+": ":X(t,e(337))+": "))}]},{text:i.to(e(301))}]},new pt.ToolbarSeparatorView,{tag:e(338),attributes:{class:[e(310)]},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=me;!function(t){const e=me,i=t();for(;;)try{if(242169===-parseInt(e(438))/1*(parseInt(e(447))/2)+parseInt(e(446))/3+parseInt(e(429))/4*(-parseInt(e(450))/5)+-parseInt(e(435))/6+-parseInt(e(443))/7+-parseInt(e(428))/8+parseInt(e(442))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);const fe=de(432);function me(t,e){const i=ve();return(me=function(t,e){return i[t-=427]})(t,e)}class pe extends U.Plugin{static get[de(441)](){return de(436)}static get[de(449)](){return!0}static get[de(427)](){return!0}[de(430)](){const t=de,e=this[t(444)][t(445)][t(440)];e[t(434)]((i=>{const s=t;for(const t of e[s(437)][s(448)])i[s(439)](fe,t)}))}[de(431)](){const t=de,e=this[t(444)][t(445)][t(440)];e[t(434)]((i=>{const s=t;for(const t of e[s(437)][s(448)])i[s(433)](fe,t)}))}}function ve(){const t=["1GRmPpD","addClass","view","pluginName","11517480UvOVRN","1071616rfizqB","editor","editing","1295814UsrLSN","876004FJQQZy","roots","isOfficialPlugin","157555SztnMl","isPremiumPlugin","2501576RsrnXY","20YOqyKF","show","hide","ck-editor__editable__loading-overlay","removeClass","change","2448882oVhCOH","RevisionViewerLoadingOverlay","document"];return(ve=function(){return t})()}const ge=ke;function ye(){const t=["bind","isEnabled","showNextChange","listenTo","189BUOxQM","isBackwardNavigationEnabled","closeRevisionViewerCallback","requires","commands","4688830JYouca","forward","change:isReady","changesNavigation","isReady","23640Niinos","isOfficialPlugin","add","isNavigationMode","config","currentChangeNumber","init","restoreRevision","243699ObRrql","Restore this revision","componentFactory","showPreviousChange","1802HvcSCq","set","8CxTCBe","10180049MEeEuS","pluginName","10Tjmnqx","numberOfChanges","161qwuTmt","execute","hide","RevisionViewerUI","383048cHoJuI","5174hJcdCX","isForwardNavigationEnabled","230010XKJMZC","isPremiumPlugin","exitToEditing","editor","ck-revision-history-ui__back-to-editing","820oaFUsn","Back to editing","get","show","plugins","revisionHistory"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=424]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(539099===-parseInt(e(465))/1*(parseInt(e(446))/2)+-parseInt(e(442))/3*(-parseInt(e(448))/4)+parseInt(e(429))/5+parseInt(e(460))/6*(parseInt(e(453))/7)+-parseInt(e(457))/8*(-parseInt(e(424))/9)+parseInt(e(451))/10*(-parseInt(e(449))/11)+-parseInt(e(434))/12*(parseInt(e(458))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(450)](){return ge(456)}static get[ge(435)](){return!0}static get[ge(461)](){return!0}static get[ge(427)](){return[ee,pe]}[ge(440)](){const t=ge,e=this[t(463)],i=e[t(469)][t(467)](ee),s=e[t(469)][t(467)](pe);e.ui[t(444)][t(436)](t(462),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(447)]({label:X(i,s(466)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(464)}),this[s(474)](n,s(454),(()=>{const t=s;e[t(438)][t(467)](t(470))[t(426)]()})),n})),e.ui[t(444)][t(436)](t(441),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(447)]({label:X(i,s(443)),withText:!0,tooltip:!0}),n[s(471)](s(472)).to(e[s(428)][s(467)](s(441))),this[s(474)](n,s(454),(()=>e[s(454)](s(441)))),n})),e.ui[t(444)][t(436)](t(432),(s=>{const n=t,r=new ue(s),o=e[n(428)][n(467)](n(445)),a=e[n(428)][n(467)](n(473));return r[n(471)](n(425)).to(o,n(472)),r[n(471)](n(459)).to(a,n(472)),r[n(471)](n(433),n(439),n(452),n(437)).to(i),this[n(474)](r,n(454),((t,i)=>{const s=n;e[s(454)](s(430)===i?s(473):s(445))})),r})),s[t(468)](),i.on(t(431),((e,i,n)=>{const r=t;n?s[r(455)]():s[r(468)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;function Ie(){const t=["element","span","bindTemplate","scrollWidth","listenTo","Enter the revision name","ck-revision-history-sidebar__revision-name","1617651ZaqVmt","input","726095QZYuyu","set","Revision name","10320440VQVdtr","placeholder","value","_updateTooltipText","render","1503418xziHrf","16106etKApA","6XhfXkd","extendTemplate","_resizeObserver","ck-tooltip_multi-line","502160yeDPLR","_tooltipString","fieldView","151545adWczG","clientWidth","444VhzrPD","destroy"];return(Ie=function(){return t})()}function Se(t,e){const i=Ie();return(Se=function(t,e){return i[t-=355]})(t,e)}const Oe=Se;!function(t){const e=Se,i=t();for(;;)try{if(663948===parseInt(e(383))/1+-parseInt(e(375))/2*(parseInt(e(355))/3)+-parseInt(e(380))/4+-parseInt(e(366))/5*(-parseInt(e(376))/6)+parseInt(e(374))/7+parseInt(e(369))/8+parseInt(e(364))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);class Te extends pt.LabeledFieldView{[Oe(378)]=null;constructor(t,e){const i=Oe;super(t,e);const s=this[i(359)];this[i(367)]({label:X(t,i(368)),_tooltipString:""}),this[i(382)][i(370)]=X(t,i(362)),this[i(377)]({tag:i(358),attributes:{class:[i(363)],"data-cke-tooltip-text":s.to(i(381)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(379)}})}[Oe(373)](){const e=Oe;super[e(373)](),this[e(378)]=new t.ResizeObserver(this[e(382)][e(357)],(()=>this[e(372)]())),this[e(361)](this[e(382)],e(365),(()=>this[e(372)]()))}[Oe(356)](){const t=Oe;super[t(356)](),this[t(378)]&&this[t(378)][t(356)]()}[Oe(372)](){const t=Oe,e=this[t(382)][t(357)];this[t(381)]=e[t(360)]>e[t(384)]&&e[t(371)]||""}}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=144]})(t,e)}function Ae(){const t=["Revision creator","push","2622275ihQXEL","2082qUuoZY","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","1746009PHXHuD","setTemplate","248xKVJLG","2036358ddoudC","4mMaFNr","2782544uYaASL","30UWBWDq","name","Revision author","0 0 11 10","7hXyLlN","set","ck-revision-history-sidebar__revision-author__name","14596890ZQfUbU","span","420255YLcsJR"];return(Ae=function(){return t})()}!function(t){const e=Re,i=t();for(;;)try{if(401432===-parseInt(e(151))/1+parseInt(e(160))/2*(-parseInt(e(155))/3)+-parseInt(e(162))/4*(parseInt(e(154))/5)+parseInt(e(161))/6+-parseInt(e(146))/7*(-parseInt(e(163))/8)+parseInt(e(158))/9*(-parseInt(e(164))/10)+parseInt(e(149))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Ve extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(147)]({content:mt.IconUser,viewBox:s(145)});const r=["ck",s(156)];i&&r[s(153)](s(157));const o=[{tag:s(150),attributes:{class:["ck",s(148)],title:X(t,s(i?152:144))},children:[n,e[s(165)]]}];this[s(159)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=De();return(Me=function(t,e){return i[t-=236]})(t,e)}function De(){var t=["5960298dWrRJN","toLocaleDateString","74101PWlspE","602eSImMe","42376RRMedW","674110RuqDQk","2384010Jfyopm","710736nIkUDI","numeric","long","toLocaleTimeString","5063700ozilUc","27ItZDnw","4QqeocJ"];return(De=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(923351===parseInt(e(246))/1*(-parseInt(e(243))/2)+-parseInt(e(237))/3+parseInt(e(241))/4+-parseInt(e(249))/5+-parseInt(e(244))/6+parseInt(e(247))/7*(parseInt(e(248))/8)+parseInt(e(242))/9*(parseInt(e(236))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);var Ee=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=Le();return(Fe=function(t,e){return i[t-=292]})(t,e)}function Le(){const t=["isEnabled","set","items","ck-on","extendTemplate","find","13180131FhtsWa","locale","menu","180282MpjJIJ","112QPeOPm","2088822SsxKQT","241930VqMbsH","464786MNDvuv","242juwRiX","Show more items","stopPropagation","429402oiGimA","95oZqDDh","isReady","Compare against selected","4YUAeiu","listView","isOpen","bindTemplate","6pzLqqw","name","map","Name this revision","panelPosition","isVisible","menuitem","_action","add","action","button","isActionsDropdownOpen","function","class","bind","first","model","Restore this revision","execute","ck-revision-history-sidebar__revision__actions","change:isActionsDropdownOpen","children","source","listenTo","21563880SOPqaD","buttonView"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(852510===-parseInt(e(339))/1*(parseInt(e(323))/2)+-parseInt(e(325))/3*(parseInt(e(335))/4)+parseInt(e(332))/5*(parseInt(e(331))/6)+parseInt(e(327))/7*(parseInt(e(324))/8)+-parseInt(e(320))/9+-parseInt(e(326))/10*(parseInt(e(328))/11)+parseInt(e(312))/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-=137]})(t,e)}function Ue(){const t=["isReady","4tayvyx","map","isHighlighted","6579650ofrfxe","div","unshift","setTemplate","ck-revision-history-sidebar__revision_selected","listenTo","isActionsDropdownOpen","deselect","closest","isSelected","isEnabled","1001256roNYMl","7027jvxFZO","highlight","1158928yYpGMW","length","fieldView","change","creator","_revision","createdAt","uiLanguage","unhighlight","revisionActionsView","ck-revision-history-sidebar__revision-wrapper","revisionNameView","filter","46VaLLGn","ck-revision-history-sidebar__revision__date","name","render","220","bindTemplate","ck-revision-history-sidebar__revision_highlighted","select","147cPwGEj","srcElement","value","ck-reset","bind","ck-revision-history-sidebar__revision",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision__controls-wrapper","81582gCPUEt","set","_requireRevisionName","1906551prCxYs","element","fire","isConfirm","ck-revision-history-sidebar__revision-authors","from","1194205VLbjCO","_createdAtFormatted","ck-revision-history-sidebar__actions_dropdown_open","setName","span","extendTemplate","authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-disabled"];return(Ue=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(182869===parseInt(e(147))/1*(-parseInt(e(162))/2)+-parseInt(e(146))/3+parseInt(e(197))/4*(parseInt(e(187))/5)+parseInt(e(178))/6*(-parseInt(e(170))/7)+-parseInt(e(149))/8+parseInt(e(181))/9+parseInt(e(200))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends((0,Z.ConfirmMixin)(pt.View)){id;[We(160)];[We(158)];[We(154)];[We(180)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(167)],a=function(t,e){const i=r,s=Array[i(186)](e[i(193)])[i(161)]((t=>t!=e[i(153)]));return e[i(153)]&&s[i(137)](e[i(153)]),s[i(198)]((s=>new Ve(t,s,s==e[i(153)])))}(e,i);this.id=i.id,this[r(154)]=i,this[r(180)]=n,this[r(174)](r(164),r(155)).to(i),this[r(174)](r(188)).to(this,r(155),(t=>{return i=e[r(156)],(s=t)[(n=Me)(245)](i,{month:n(239),day:n(238)})+", "+s[n(240)](i,{hour:n(238),minute:n(238)});var i,s,n})),this[r(179)](r(144),!1),this[r(179)](r(199),!1),this[r(179)](r(141),!1),this[r(179)](r(196),!1),this[r(179)](r(145),!1),this[r(160)]=new Te(e,pt.createLabeledInputText),this[r(160)][r(151)][r(192)]({attributes:{maxlength:r(166)}}),this[r(160)][r(151)][r(174)](r(172)).to(this,r(164),(t=>t||this[r(188)])),this[r(160)][r(174)](r(145)).to(this,r(144),this,r(145),((t,e)=>t&&e)),this[r(158)]=s&&s[r(150)]?function(e,i){const s=Fe,n=e[s(338)],r=e[s(321)],o=(0,pt.createDropdown)(r);o[s(292)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(321)],n={"Compare against selected":X(s,i(334)),"Name this revision":X(s,i(342)),"Restore this revision":X(s,i(305))};return e[i(341)]((t=>{const e=i,s=n[t[e(340)]];return s&&s!==t[e(340)]&&(t[e(340)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(298),model:new pt.ViewModel({label:t[n(340)],class:t[n(301)],withText:!0,role:n(294),_action:t[n(297)]})};i[n(304)][n(302)](n(314)).to(e,n(299),(i=>n(300)!=typeof t[n(314)]||!i||t[n(314)](e))),o[n(296)](i)}return o}(e,i);return e[s(302)](s(299)).to(o,s(337)),o[s(313)][s(315)]({label:X(r,s(329)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(318)]({attributes:{class:[s(307),n.if(s(299),s(317))]},on:{click:n.to((t=>t[s(330)]()))}}),o.on(s(306),(t=>{const i=s;e[i(333)]&&i(300)==typeof t[i(310)][i(295)]&&t[i(310)][i(295)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(322)}),o[s(311)](e,s(308),((t,n,r)=>{const a=s;if(r)for(const t of o[a(336)][a(316)]){const s=t[a(309)][a(303)],n=i[a(319)]((t=>t[a(297)]===s[a(295)]))[a(293)];t[a(293)]=void 0===n||n(e)}})),o}(this,s):"",this[r(158)]&&this[r(158)][r(174)](r(145)).to(this),this[r(138)]({tag:r(201),attributes:{class:["ck",r(173),r(159),o.if(r(184),r(194))]},children:[{tag:r(201),attributes:{class:["ck",r(173),r(175),o.if(r(145),r(195),(t=>!t)),o.if(r(144),r(139)),o.if(r(199),r(168)),o.if(r(141),r(189))]},children:[this[r(160)],{tag:r(191),attributes:{class:["ck",r(163)]},children:[{text:o.to(r(188))}]},{tag:r(201),attributes:{class:["ck",r(177)]},children:[{tag:"ul",attributes:{class:["ck",r(185)]},children:a}]},this[r(158)]],on:{click:o.to((t=>{const e=r;t[e(171)][e(143)](e(176))||this[e(196)]&&this[e(145)]&&this[e(183)](e(169),{id:this.id})}))}}]})}[We(165)](){const t=We;super[t(165)]();const e=this[t(160)][t(151)][t(182)];this[t(140)](e,t(152),(()=>{const i=t;this[i(180)]&&!e[i(172)]||this[i(183)](i(190),{id:this.id,name:e[i(172)]}),e[i(172)]||(e[i(172)]=this[i(164)]?this[i(164)]:this[i(188)])}))}[We(169)](){this[We(144)]=!0}[We(142)](){this[We(144)]=!1}[We(148)](){this[We(199)]=!0}[We(157)](){this[We(199)]=!1}}class He extends Error{}class qe extends He{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends He{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends He{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends He{}class Je extends He{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends He{}class Ke extends He{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Ti={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ni={};class Ri extends Ii{static create(t){return Ni[t]||(Ni[t]=new Ri(t)),Ni[t]}static resetCache(){Ni={},Ti={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Ri.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Zs(t,e,i,this.name)}formatOffset(t,e){return Bs(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Ti[s]||(Ti[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Ti[s]);var s;let[n,r,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=xi[e];"era"===e?s[r]=n:_s(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Di={};let Ei={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Di[i];return s||(s=new Intl.NumberFormat(t,e),Di[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=Ei[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Ei[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const zi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Di={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Rs(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return 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 Wi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):zi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Zi=null;class Hi extends Ii{static get utcInstance(){return null===Zi&&(Zi=new Hi(0)),Zi}static instance(t){return 0===t?Hi.utcInstance:new Hi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Hi(Hs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Bs(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Bs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Bs(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class qi extends Ii{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function $i(t,e){if(_s(t)||null===t)return e;if(t instanceof Ii)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Oi.instance:"utc"===i||"gmt"===i?Hi.utcInstance:Hi.parseSpecifier(i)||Ri.create(t)}return Is(t)?Hi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new qi(t)}const Bi={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Yi={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},Ji=Bi.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ki({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${Bi[i]}${e}`)),Gi[i][e]}let Qi,Xi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Qi}static set throwOnInvalid(t){Qi=t}static resetCaches(){Ui.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=zs(c,e,i)):u>zs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ds(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Es(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ws(t,e,i){return-ms(hs(t,1,e),i)+e-1}function zs(t,e=4,i=1){const s=Ws(t,e,i),n=Ws(t+1,e,i);return(Ls(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Zs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Hs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${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:Es(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Hs(t[e+1],t[e+2]);return[{},i?null:Hi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ri.create(t[e]):null,e+1]}const Rn=RegExp(`^T?${yn.source}$`),An=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ds(i)),months:d(Ds(s)),weeks:d(Ds(n)),days:d(Ds(r)),hours:d(Ds(o)),minutes:d(Ds(a)),seconds:d(Ds(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Dn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(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 En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Dn(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0: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 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||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[An,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[Rn,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new Be(i);return new lr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new Je(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?hn.create(this.loc,i).formatDurationFromString(this,t):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]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ui.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ui.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ui.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ui.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ui.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Hs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Rr(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,Us);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Hi(t.Z)),e=t.Z),_s(t.q)||(t.M=3*(t.q-1)+1),_s(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),_s(t.u)||(t.S=Es(t.u));const s=Object.keys(t).reduce(((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e}),{});return[s,i,e]}(i):[null,null,void 0];if(Ns(i,"a")&&Ns(i,"H"))throw new Ye("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Nr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Rr(t,e){if(!t)return null;const i=hn.create(e,t).dtFormatter((Or||(Or=io.fromMillis(1555555555555)),Or)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Sr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Dr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Er(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function 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+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Zr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Hr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},qr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},$r={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Br=["year","month","day","hour","minute","second","millisecond"],Yr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Jr=["year","ordinal","hour","minute","second","millisecond"];function Gr(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Je(t);return e}(t)}}function Kr(t,e){const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=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 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||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Hi.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Ui.fromObject(e)}):io.invalid(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:Ui.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Mr(i));const s=Ui.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Ye("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Lr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Jr,v=$r,g=gs(g)):(p=Br,v=Hr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,zs(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=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),[En,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 Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):Wr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return Wr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Ui.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Ui.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Dr(this).weekYear:NaN}get weekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get weekday(){return this.isValid?Dr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Er(this).weekday:NaN}get localWeekNumber(){return this.isValid?Er(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Er(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(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,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Zr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Zr(this,"extended"===r,e,t,i,n)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),zr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),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(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):Wr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=382]})(t,e)}function ro(){const t=["weekdayLong","5705883LFSbie","138660uBlJLf","monthLong","408237EIFIix","44ZzxbKs","toRelativeCalendar","local","week","year","day","fromJSDate","toJSDate","minus","342020ZYGVxQ","8cumYut","900179gUkVDm","startOf","setLocale","2293794rCFUTu","hasSame","157045pNezas","month"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(395)](t)[i(402)](e),n=io[i(391)](),r=n[i(397)]({days:1})[i(401)](i(394));let o,a;return s[i(404)](n,i(394))?(o=s[i(401)](i(394))[i(396)](),a=s[i(390)]()):s[i(404)](r,i(394))?(o=r[i(396)](),a=s[i(390)]()):s[i(404)](n,i(392))?(o=s[i(401)](i(392))[i(396)](),a=s[i(384)]||""):s[i(404)](n,i(393))?(o=s[i(401)](i(383))[i(396)](),a=s[i(387)]||""):(o=s[i(401)](i(393))[i(396)](),a=String(s[i(393)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(332005===-parseInt(e(382))/1+parseInt(e(398))/2+parseInt(e(388))/3+parseInt(e(389))/4*(parseInt(e(386))/5)+parseInt(e(403))/6+-parseInt(e(400))/7*(-parseInt(e(399))/8)+-parseInt(e(385))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;function uo(){const t=["15356XwXnwz","setTemplate","addRevision","1124300wtpCri","span","51tfBVbS","localizedPeriodName","removeRevision","35RnBLuu","1194342HJnHgq","delegate","add","4752963OPmOuB","uiLanguage","revisionViews","find","1249100vCdfBS","select","startDate","setName","createCollection","locale","ck-revision-history-sidebar__time-period","_revisionActions","_requireRevisionName","ck-revision-history-sidebar__time-period__label","208FGzDLS","855848wTWcNl","105567rCjYxH","remove","ck-revision-history-sidebar__time-period__revisions","div"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=154]})(t,e)}const ho=lo;!function(t){const e=lo,i=t();for(;;)try{if(707237===parseInt(e(170))/1+-parseInt(e(178))/2+-parseInt(e(180))/3*(-parseInt(e(175))/4)+-parseInt(e(183))/5*(-parseInt(e(184))/6)+parseInt(e(171))/7*(-parseInt(e(169))/8)+-parseInt(e(155))/9+-parseInt(e(159))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class fo extends pt.View{[ho(161)];[ho(157)];[ho(166)];[ho(167)];constructor(t,e,i,s){const n=ho;super(t);const r=oo(e,this[n(164)][n(156)])[n(181)];this[n(161)]=e,this[n(157)]=this[n(163)](),this[n(166)]=i,this[n(167)]=s,this[n(157)][n(185)](n(160)).to(this),this[n(157)][n(185)](n(162)).to(this),this[n(176)]({tag:n(174),attributes:{class:["ck",n(165)]},children:[{tag:n(179),attributes:{class:["ck",n(168)]},children:[{text:r}]},{tag:n(174),attributes:{class:["ck",n(173)]},children:this[n(157)]}]})}[ho(177)](t){const e=ho,i=new Ze(this[e(164)],t,this[e(166)],this[e(167)]);this[e(157)][e(154)](i)}[ho(182)](t){const e=ho,i=this[e(157)][e(158)]((e=>e.id===t.id));this[e(157)][e(172)](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=["13036176SLpmZA","Revision history","155247pjkeca","setTemplate","554582ZpVxpI","1635781NyFsaM","978TujaQI","ck-reset_all","span","content","div","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","16705wXGfJJ","370475FQdvqQ","719016riqypQ"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(331495===-parseInt(e(218))/1+-parseInt(e(224))/2+-parseInt(e(222))/3+parseInt(e(219))/4+-parseInt(e(217))/5*(parseInt(e(226))/6)+-parseInt(e(225))/7+parseInt(e(220))/8)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(229)]=mt.IconHistory,this[e(223)]({tag:e(230),attributes:{class:["ck",e(227),e(232)]},children:[i,{tag:e(228),attributes:{class:["ck",e(231)]},children:[X(t,e(221))]}]})}}var ko=i(722),bo={attributes:{"data-cke":!0}};bo.setAttributes=It(),bo.insert=wt().bind(null,"head"),bo.domAPI=kt(),bo.insertStyleElement=Ot();gt()(ko.A,bo);ko.A&&ko.A.locals&&ko.A.locals;const wo=_o;function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=437]})(t,e)}function Io(){const t=["revisionSelected","_requireRevisionName","div","1HwEPKG","fire","isEnabled","ck-revision-history-sidebar","ck-rounded-corners","highlight","delegate","7ocicpR","63388rtAKHN","ck-reset","318490qshNqW","_getTimePeriodViewByStartDate","get","setTemplate","deselect","uiLanguage","timePeriodViews","find","some","unhighlight","ck-disabled","add","revisionSetName","_addRevision","106740Ieqjfb","removeRevision","bindTemplate","createdAt","_removeRevision","addRevision","remove","setName","12WIpWzv","map","getTime","18507577jrywXN","select","revisionViews","flat","1244275qIUOHH","3870256PtRzzD","createCollection","startDate","ck-revision-history-sidebar__timeline","highlightRevisions","set","locale","selectRevision","63GxTlBL","1794866HgAiZu","_revisionActions","render","_revisions"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(482068===parseInt(e(453))/1*(-parseInt(e(446))/2)+parseInt(e(445))/3*(-parseInt(e(461))/4)+-parseInt(e(492))/5*(parseInt(e(485))/6)+parseInt(e(460))/7*(parseInt(e(437))/8)+parseInt(e(477))/9+parseInt(e(463))/10+parseInt(e(488))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(469)];[wo(449)];[wo(447)];[wo(451)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(479)];this[n(469)]=this[n(438)](),this[n(469)][n(459)](n(489)).to(this),this[n(469)][n(459)](n(484)).to(this),this[n(449)]=e,this[n(447)]=i,this[n(451)]=s,this.on(n(489),((t,e)=>{const i=n;this[i(454)](i(450),e)})),this.on(n(484),((t,e)=>{const i=n;this[i(454)](i(475),e)})),this[n(442)](n(455),!1),this[n(466)]({tag:n(452),attributes:{class:["ck",n(462),n(457),n(456)]},children:[new yo(t),{tag:n(452),attributes:{class:["ck",n(440),r.if(n(455),n(473),(t=>!t))]},children:this[n(469)]}]})}[wo(448)](){const t=wo;super[t(448)]();for(const e of this[t(449)])this[t(476)](e);this[t(449)].on(t(474),((e,i)=>{this[t(476)](i)})),this[t(449)].on(t(483),((e,i)=>{this[t(481)](i)}))}get[wo(490)](){const t=wo;return this[t(469)][t(486)]((e=>e[t(490)][t(486)]((t=>t))))[t(491)]()}[wo(444)](t){const e=wo;for(const i of this[e(490)])t&&t.id===i.id?i[e(489)]():i[e(467)]()}[wo(441)](t){const e=wo;for(const i of this[e(490)])t[e(471)]((({id:t})=>t===i.id))?i[e(458)]():i[e(472)]()}[wo(476)](t){const e=wo,i=oo(t[e(480)],this[e(443)][e(468)])[e(439)];let s=this[e(469)][e(465)](0);s&&s[e(439)][e(487)]()===i[e(487)]()||(s=new fo(this[e(443)],i,this[e(447)],this[e(451)]),this[e(469)][e(474)](s)),s[e(482)](t)}[wo(481)](t){const e=wo,i=oo(t[e(480)],this[e(443)][e(468)])[e(439)];this[e(464)](i)[e(478)](t)}[wo(464)](t){const e=wo;return this[e(469)][e(470)]((i=>i[e(439)][e(487)]()===t[e(487)]()))}}const Oo=No;function To(){const t=["_handleRevisionSetName","appendChild","getIndex","_handleEditorDataReady","defaultRevisionActions","1501804HMYWgt","5038752RpBOsr","Name this revision","Compare against selected","listenTo","repository","pluginName","map","getLaterVisibleRevision","requires","isReady","string","restoreRevisionCallback","change:diff","fieldView","compareAgainstSelected","2511525kTiBPp","action","newRevisionId","setName","render","getRevisionsInDiff","_handleRevisionSelected","compare","bind","locale","data","revisionHistory.revisionActions","length","add","515070qGHnMn","assign","Restore this revision","revisionHistory.requireRevisionName","7694981PPhNuh","8991441IiRYGM","isVisible","RevisionsSidebar","config","isPremiumPlugin","64926TbwRdQ","focus","get","select","timePeriodViews","availableRevisionActions","plugins","_createRevisionActions","element","_revisionViewer","12hQaJNh","revisionViews","nameRevision","ready","remove","revisionSelected","destroy","isOfficialPlugin","revisionHistory.viewerSidebarContainer","selectRevision","diff","highlightRevisions","getEarlierVisibleRevision","_revisionsRepository","restoreRevision","_handleDiffChange","revisionSetName","editor","24sWenjo","init","name","_sidebarView","isSelected","getRevision","_revisions","isEnabled","revisionHistory"];return(To=function(){return t})()}!function(t){const e=No,i=t();for(;;)try{if(893486===parseInt(e(123))/1+-parseInt(e(133))/2+parseInt(e(176))/3+-parseInt(e(175))/4+-parseInt(e(191))/5*(-parseInt(e(143))/6)+parseInt(e(127))/7+-parseInt(e(161))/8*(parseInt(e(128))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends U.Plugin{[Oo(142)];[Oo(156)];[Oo(164)];static[Oo(174)]=[Oo(190),Oo(157),Oo(145)];static[Oo(138)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(178),action:({plugins:e},i)=>{const s=t,n=e[s(135)](ee),r=n[s(180)];let o=n[s(153)][s(193)],a=i.id;r[s(172)](o)>r[s(172)](a)&&([o,a]=[a,o]),n[s(198)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(135)](ee);return!(n[s(180)][s(196)](n[s(153)])[s(121)]>2||i[s(165)])}},restoreRevision:{name:t(125),action:(e,{id:i})=>{const s=t;e[s(131)][s(135)](s(169))[s(187)](i)},isVisible:({plugins:e},i)=>!!e[t(135)](ee)[t(180)][t(183)](i.id)},nameRevision:{name:t(177),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(135)](ee),o=r[n(180)][n(155)](i);r[n(198)](i,o),s[n(134)](),s[n(189)][n(136)]()}}}}();static get[Oo(181)](){return Oo(130)}static get[Oo(150)](){return!0}static get[Oo(132)](){return!0}static get[Oo(184)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(142)]=t[e(139)][e(135)](ee),this[e(156)]=this[e(142)][e(180)],this[e(164)]=null}[Oo(162)](){const t=Oo,e=this[t(156)][t(167)],i=this[t(140)](),s=this[t(160)][t(131)][t(135)](t(151));this[t(164)]=new So(this[t(160)][t(200)],e,i,this[t(160)][t(131)][t(135)](t(126))),this[t(164)].on(t(148),this[t(197)][t(199)](this)),this[t(164)].on(t(159),this[t(170)][t(199)](this)),this[t(164)][t(199)](t(168)).to(this[t(142)]),this[t(164)][t(137)].on(t(122),((e,i)=>{const s=t;i[s(144)].on(s(122),((t,e)=>{const i=s;e[i(199)](i(168),i(185)).to(this[i(142)])}))})),this[t(164)][t(195)](),this[t(179)](this[t(160)][t(201)],t(146),this[t(173)][t(199)](this)),this[t(179)](this[t(142)],t(188),this[t(158)][t(199)](this)),s[t(171)](this[t(164)][t(141)])}[Oo(149)](){const t=Oo;this[t(164)][t(141)][t(147)](),this[t(164)][t(149)]()}[Oo(173)](){const t=Oo,e=this[t(156)][t(166)](0);if(e){const i=this[t(156)][t(155)](e.id);this[t(142)][t(198)](e,i)}}[Oo(197)](t,e){const i=Oo,s=this[i(156)][i(166)](e.id),n=this[i(156)][i(155)](s.id);this[i(142)][i(198)](s,n)}[Oo(170)](t,e){const i=Oo;this[i(156)][i(166)](e.id)[i(194)](e[i(163)])}[Oo(158)](t,e,i){const s=Oo,n=this[s(156)][s(196)](i);n[s(121)]>2?(this[s(164)][s(154)](n),this[s(164)][s(152)](null)):(this[s(164)][s(154)]([]),this[s(164)][s(152)](n[0]))}[Oo(140)](){const t=Oo,e=this[t(160)],i=xo[t(138)],s=e[t(131)][t(135)](t(120))||xo[t(174)];if(s[t(121)])return s[t(182)]((s=>{const n=t,r=n(186)==typeof s?Object[n(124)]({},i[s]):s;return r[n(192)]=r[n(192)][n(199)](this,e),r[n(129)]&&(r[n(129)]=r[n(129)][n(199)](this,e)),r}))}}function No(t,e){const i=To();return(No=function(t,e){return i[t-=120]})(t,e)}const Ro=xo;function Ao(t,e){const i=Mo();return(Ao=function(t,e){return i[t-=198]})(t,e)}const Vo=Ao;function Mo(){const t=["bind","element","toolbar","_elementReplacer","7017664TvMUch","view","27036JajvPk","name","setEditableElement","focusTracker","70mEHVaj","23465lSYuOi","componentFactory","render","document","60OuMZNF","viewportTopOffset","rootName","attachDomRoot","viewportOffset","fillFromConfig","get","limiterElement","stickyPanel","isActive","490536mrEydY","1ESwkOt","1039158riyBqj","destroy","ready","2704510aJPHgF","detachDomRoot","isFocused","editor","config","3113Qdaeza","editing","restore","fire","replace","editable","_view","addToolbar","1476924pmSVsI","init","4wRVMPe","getRoot","_toolbarConfig","_initToolbar"];return(Mo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(749819===parseInt(e(239))/1*(parseInt(e(243))/2)+-parseInt(e(207))/3+-parseInt(e(209))/4*(-parseInt(e(224))/5)+parseInt(e(238))/6*(parseInt(e(223))/7)+-parseInt(e(217))/8+-parseInt(e(240))/9*(parseInt(e(228))/10)+-parseInt(e(199))/11*(-parseInt(e(219))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Do extends pt.EditorUI{[Vo(205)];[Vo(211)];[Vo(216)];get[Vo(218)](){return this[Vo(205)]}constructor(e,i){const s=Vo;super(e),this[s(205)]=i,this[s(211)]=(0,pt.normalizeToolbarConfig)(e[s(198)][s(234)](s(215))),this[s(216)]=new t.ElementReplacer}get[Vo(214)](){const t=Vo;return this[t(218)][t(214)]}[Vo(208)](t){const e=Vo,i=this[e(246)],s=this[e(218)],n=i[e(200)][e(218)],r=s[e(204)],o=n[e(227)][e(210)]();r[e(220)]=o[e(230)],s[e(226)]();const a=r[e(214)];this[e(221)](r[e(220)],a),s[e(204)][e(213)](e(245)).to(this[e(222)]),n[e(231)](a),this[e(216)][e(203)](t,this[e(214)]),this[e(212)](),this[e(202)](e(242))}[Vo(241)](){const t=Vo;super[t(241)]();const e=this[t(218)],i=this[t(246)][t(200)][t(218)];this[t(216)][t(201)](),i[t(244)](e[t(204)][t(220)]),e[t(241)]()}[Vo(212)](){const t=Vo,e=this[t(218)];e[t(236)][t(213)](t(237)).to(this[t(222)],t(245)),e[t(236)][t(235)]=e[t(214)],e[t(236)][t(213)](t(229)).to(this,t(232),(({top:t})=>t)),e[t(215)][t(233)](this[t(211)],this[t(225)]),this[t(206)](e[t(215)])}}var Eo=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;function Fo(t,e){var i=jo();return(Fo=function(t,e){return i[t-=373]})(t,e)}var Lo=Fo;function jo(){var t=["shouldToolbarGroupWhenFull","464385IsJTVb","305194gIhPJv","483jdIXSw","add","render","256032pWVaGX","main","top","959604htNDxB","stickyPanel","editable","4616KIicMj","content","_editable","24712ZGVWfs","toolbar","321NsSzSz","2873925yjGKKK"];return(jo=function(){return t})()}!function(t){for(var e=Fo,i=t();;)try{if(157409===-parseInt(e(387))/1+-parseInt(e(378))/2*(-parseInt(e(383))/3)+-parseInt(e(391))/4+-parseInt(e(386))/5+-parseInt(e(375))/6+-parseInt(e(388))/7*(-parseInt(e(381))/8)+parseInt(e(384))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Lo(380)];[Lo(376)];[Lo(382)];get[Lo(377)](){return this[Lo(380)]}constructor(t,e,i={}){var s=Lo;super(t),this[s(376)]=new pt.StickyPanelView(t),this[s(382)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(385)]}),this[s(380)]=new pt.InlineEditableUIView(t,e)}[Lo(390)](){var t=Lo;super[t(390)](),this[t(376)][t(379)][t(389)](this[t(382)]),this[t(374)][t(389)](this[t(376)]),this[t(373)][t(389)](this[t(377)])}}const Wo=Uo;function zo(){const t=["editing","1164TKyOgS","get","2554gDAWke","updateSourceElement","view","43535SDlQAk","26280VBSuqg","ready","1247170zPlfYN","destroy","_ui","create","locale","fire","initialData","createRoot","14728HfUgYZ","36PDBlUd","init","model","966TeBtWt","168HJEIfC","99054wbYZMS","config","sourceElement","12382975pBKrBl","initPlugins","document","data"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=123]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(305090===-parseInt(e(131))/1+-parseInt(e(147))/2*(-parseInt(e(145))/3)+-parseInt(e(136))/4*(parseInt(e(150))/5)+parseInt(e(137))/6+-parseInt(e(135))/7*(parseInt(e(151))/8)+-parseInt(e(132))/9*(parseInt(e(123))/10)+parseInt(e(140))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Zo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(125)];get ui(){return this[Wo(125)]}constructor(t,e){const i=Wo;super(e),this[i(139)]=t,this[i(134)][i(142)][i(130)]();const s=new Po(this[i(127)],this[i(144)][i(149)],{shouldToolbarGroupWhenFull:!0});this[i(125)]=new Do(this,s)}[Wo(124)](){const t=Wo;return this[t(148)](),this.ui[t(124)](),super[t(124)]()}static async[Wo(126)](t,e){const i=Wo,s=new this(t,e);return await s[i(141)](),await s.ui[i(133)](t),await s[i(143)][i(133)](s[i(138)][i(146)](i(129))||""),s[i(128)](i(152)),s}}const Ho=$o;function qo(){const t=["enableReadOnlyMode","config","users","rootName","_restoreRevision","hide","isAttached","toVersion","32pcZfeX","removeSelectionAttribute","removeMarker","Autosave","isOfficialPlugin","insert","markers","closeRevisionViewerCallback","commands","selection","addUser","then","join","enqueueChange","style","repository","lazyRoots","Users","28bMxDla","pluginName","_enhanceShowRevisionViewerCallback","init","toLocaleTimeString","uiLanguage","getAttributeKeys","RevisionHistoryUtils","save","restrictedEditingException","DocumentOutline","locale","block","adapter","setSelection","loadRevisionData","numeric","editor","addRoot","plugins","set","creator","isPremiumPlugin","getRevisions","view","showRevisionViewerCallback","revisionHistory","isEnabled","none","getRevision","model","refreshPositioning","Dialog","update","from","revision-history-missing-configuration","includes","revision-history-viewer-opened","DocumentOutlineUI","_recalculatePageBreaks","restoreRevision","$graveyard","translations","destroy","push","createdAt","keys","Restored","revisionHistory.restoreRevisionCallback","getRevisionDocumentData","addRevisionData","remove","data","80259jZafFH","revisionHistory.requireRevisionName","RevisionViewer","revisionHistory.editorContainer","_enhanceCloseRevisionViewerCallback","PaginationLookup","Annotations","document","fromCharCode","85075qwEqtu","display","isRevisionViewerOpen","long","2759561uqoWuO","1974174emmPZJ","_getRevisionViewerEditorConfig","RestrictedEditingMode","getMarkersGroup","name","get","bind","revisionHistory.viewerContainer","has","toolbar","_viewerEditor","RevisionsRepository","exitToEditing","roots","revisionHistory.closeRevisionViewerCallback","saveRevision","setAttribute","1659825AnWAHR","result","RevisionTracker","refreshVisibility","isAnonymous","getUser","change","catch","_cleanUp","_update","isReady","define","removeAttribute","changesNavigation","createRangeIn","element","isOpen","toLocaleDateString","end","disableReadOnlyMode","requires","parse","revisionHistory.viewerEditorElement","RevisionHistory","RevisionViewerIntegration","_closeRevisionViewer","create","2920584ZiapPF","getRevisionRootsAttributes","RevisionHistoryUI","toJSON","isReadOnly","fromVersion","error","map","918410FRXGDl","indexOf","getRoot","revisionHistory.showRevisionViewerCallback","_showRevisionViewer","detachRoot"];return(qo=function(){return t})()}function $o(t,e){const i=qo();return($o=function(t,e){return i[t-=407]})(t,e)}!function(t){const e=$o,i=t();for(;;)try{if(560239===parseInt(e(530))/1+-parseInt(e(411))/2*(-parseInt(e(464))/3)+-parseInt(e(522))/4+-parseInt(e(473))/5+-parseInt(e(478))/6+-parseInt(e(477))/7+parseInt(e(544))/8*(parseInt(e(495))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const Bo=[Ho(524),Ho(480)];class Yo extends U.Plugin{[Ho(496)];static get[Ho(412)](){return Ho(519)}static get[Ho(548)](){return!0}static get[Ho(433)](){return!0}constructor(t){const e=Ho;function i(t){const e=$o;return t[e(529)]((t=>String[e(472)](t)))[e(556)]("")}super(t),this[e(496)]=e(513),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class Jo extends U.Plugin{[Ho(488)];static get[Ho(412)](){return Ho(518)}static get[Ho(548)](){return!0}static get[Ho(433)](){return!0}static get[Ho(515)](){return[at,Lt]}constructor(e){const i=Ho;if(super(e),!this[i(428)][i(537)][i(483)](i(437)))throw new t.CKEditorError(i(446),this);this[i(488)]=null,this[i(431)](i(475),!1),this[i(428)][i(537)][i(506)](i(533),(t=>this[i(534)]({...t,translations:this[i(428)][i(422)][i(453)]}))),this[i(428)][i(537)][i(506)](i(492),(t=>this[i(520)](t))),this[i(428)][i(537)][i(506)](i(459),(t=>this[i(540)](t))),this[i(428)][i(537)][i(506)](i(465),!1),this[i(413)](),this[i(468)]()}set[Ho(424)](t){const e=Ho;this[e(428)][e(430)][e(483)](e(497))[e(424)]=t}get[Ho(424)](){const t=Ho;return this[t(428)][t(430)][t(483)](t(497))[t(424)]}[Ho(461)](t){const e=Ho;return this[e(428)][e(430)][e(483)](e(497))[e(461)](t)}[Ho(440)](t){const e=Ho;return this[e(428)][e(430)][e(483)](e(489))[e(440)](t)}[Ho(434)](t){const e=Ho;return this[e(428)][e(430)][e(483)](e(489))[e(434)](t||{toJSON:!1})}[Ho(479)](){const e=Ho,i=this[e(428)],s=(0,Z.sanitizeEditorConfig)(i,Bo),n=i[e(430)][e(483)](e(497)),r=i[e(430)][e(483)](e(410))[e(538)];return s[e(487)]=[e(490),e(451),e(508)],delete s[e(409)],s[e(430)][e(455)](Yo,ee,be,class extends U.Plugin{static get[e(515)](){return[ee,e(410)]}[e(414)](){const s=e,o=this[s(428)][s(430)][s(483)](s(410));for(const t of r)t[s(499)]||o[s(500)](t.id)||o[s(554)](t);const a=n[s(408)][s(434)]();let c=null;const u=this[s(428)][s(430)][s(483)](s(466));u[s(424)]=n[s(424)],u[s(484)](s(438)).to(n),this[s(428)][s(552)][s(483)](s(451))[s(484)](s(438)).to(i,s(526),(t=>!t));for(const e of a){const i=null===e[s(432)];if(i&&e[s(543)]===e[s(527)])continue;const r=e[s(525)]();u[s(461)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(504)](r,o);else if(!o){const e=a[u(525)]();e.id=(0,t.uid)(),n[u(493)](e,a[u(543)])[u(555)]((t=>{c=t}))}}else e[u(504)](r,o)}))}}},Ro),s}[Ho(413)](){const t=Ho,e=this[t(428)][t(537)][t(483)](t(437))[t(436)];this[t(428)][t(537)][t(431)](t(533),(async()=>{const i=t;this[i(428)][i(536)](i(448));const s=this[i(428)][i(430)][i(483)](i(497));if(this[i(428)][i(430)][i(486)](i(547))){const t=this[i(428)][i(430)][i(483)](i(547));await t[i(419)]()}else await s[i(444)]();if(this[i(428)][i(430)][i(486)](i(469))&&this[i(428)][i(430)][i(483)](i(469))[i(450)](),this[i(428)][i(430)][i(486)](i(443))){const t=this[i(428)][i(430)][i(483)](i(443));t[i(511)]&&t[i(541)]()}const n=this[i(479)]();return e(n)[i(555)]((t=>{const e=i;return this[e(488)]=t,this[e(428)][e(430)][e(486)](e(470))&&this[e(428)][e(430)][e(483)](e(470))[e(498)](),this[e(428)][e(430)][e(486)](e(421))&&(this[e(428)][e(430)][e(483)](e(449))[e(435)][e(510)][e(407)][e(474)]=e(439)),t}))[i(502)]((t=>(console[i(528)](t),this[i(428)][i(514)](i(448)),null)))}))}[Ho(468)](){const t=Ho,e=this[t(428)][t(537)][t(483)](t(437))[t(551)];this[t(428)][t(537)][t(431)](t(492),(()=>(this[t(428)][t(430)][t(486)](t(469))&&this[t(428)][t(430)][t(483)](t(469))[t(450)](),this[t(428)][t(430)][t(486)](t(421))&&(this[t(428)][t(430)][t(483)](t(449))[t(435)][t(510)][t(407)][t(474)]=""),this[t(488)][t(430)][t(483)](t(466))[t(503)](),e(this[t(488)])[t(555)]((()=>{const e=t;if(this[e(428)][e(514)](e(448)),this[e(488)]=null,this[e(428)][e(430)][e(486)](e(470))){const t=this[e(428)][e(430)][e(483)](e(470));t[e(498)](),t[e(442)]()}})))))}[Ho(534)](t){const e=Ho,i=this[e(428)][e(537)][e(483)](e(467)),s=this[e(428)][e(537)][e(483)](e(485)),n=this[e(428)][e(537)][e(483)](e(517));return Zo[e(521)](n,t)[e(555)]((t=>(s[e(407)][e(474)]=e(423),i[e(407)][e(474)]=e(439),this[e(475)]=!0,t)))}[Ho(520)](t){const e=Ho,i=this[e(428)][e(537)][e(483)](e(467));return this[e(428)][e(537)][e(483)](e(485))[e(407)][e(474)]=e(439),i[e(407)][e(474)]="",this[e(475)]=!1,t[e(454)]()}async[Ho(540)](t){const e=Ho,i=this[e(428)],s=this[e(488)][e(430)][e(483)](e(466)),n=i[e(430)][e(483)](e(497)),r=i[e(430)][e(483)](e(418)),o=s[e(408)][e(440)](t);let a,c,u;try{await r[e(426)](o,this[e(424)]),a=r[e(460)](o),c=r[e(523)](o)}catch(t){return void console[e(528)](t)}i[e(441)][e(501)]((t=>{const s=e;for(const e of Array[s(445)](i[s(441)][s(550)][s(481)](s(420))))t[s(546)](e)})),s[e(505)]=!1,i[e(441)][e(557)]((t=>{const s=e;t[s(425)](null),t[s(545)](i[s(441)][s(471)][s(553)][s(417)]());const n=Object[s(457)](a);for(const e of i[s(441)][s(471)][s(491)])s(452)!=e[s(539)]&&e[s(542)]()&&!n[s(447)](e[s(539)])&&t[s(535)](e);for(const e of n){let n=i[s(441)][s(471)][s(532)](e);n&&n[s(542)]()||(n=t[s(429)](e));const r=c[e],o=Object[s(457)](r),u=a[e];for(const e of n[s(417)]())o[s(447)](e)||t[s(507)](e,n);for(const i of o)t[s(494)](i,c[e][i],n);t[s(462)](t[s(509)](n)),t[s(549)](i[s(463)][s(516)](u,n),n,0)}}));const l=X(i[e(422)],e(458));return u=o[e(482)]?-1==o[e(482)][e(531)](l)?l+": "+o[e(482)]:o[e(482)]:l+": "+o[e(456)][e(512)](i[e(422)][e(416)],{month:e(476),day:e(427)})+", "+o[e(456)][e(415)](i[e(422)][e(416)],{hour:e(427),minute:e(427)}),await n[e(493)]({name:u}),s[e(505)]=!0,i[e(537)][e(483)](e(437))[e(551)]()}}function Go(t,e){var i=Ko();return(Go=function(t,e){return i[t-=222]})(t,e)}function Ko(){var t=["1142565YCzMvP","1601017VCepVR","5ESdsEw","234016rQXMXQ","162004qZdhbM","613692BJojHw","124ZemdQT","42sLsDdr","27sHjnrM","1444030Uwxzzv","2523uEWICK"];return(Ko=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(359770===parseInt(e(232))/1*(-parseInt(e(228))/2)+-parseInt(e(222))/3+parseInt(e(226))/4+-parseInt(e(224))/5*(-parseInt(e(227))/6)+parseInt(e(229))/7*(parseInt(e(225))/8)+parseInt(e(230))/9*(parseInt(e(231))/10)+parseInt(e(223))/11)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:()=>Pt,RevisionHistoryUtils:()=>K,RevisionTracker:()=>ct,RevisionViewer:()=>te,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>No});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,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 M=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return M.test(t)}}function V(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function 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,V(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function P(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function j(){const t=["25GPqfGe","diffData","517281sFjHmO","attributes","setAttribute","toVersion","name","657lFPLxQ","447522XdLGvP","creator","setName","105567VTvpoi","44424OXeeFy","3280wZAPdu","authors","2ezYggm","15747fyumkR","fire","toJSON","removeAttribute","380lArcEF","_update","24529050GSRFCp","createdAt","fromVersion","set","authorsIds","creatorId","1701BlhUbY","model","map","12iDQIir"];return(j=function(){return t})()}const L=W;function W(t,e){const i=j();return(W=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=W,i=t();for(;;)try{if(817859===parseInt(e(485))/1*(parseInt(e(466))/2)+parseInt(e(467))/3*(parseInt(e(471))/4)+parseInt(e(483))/5*(parseInt(e(491))/6)+-parseInt(e(479))/7*(-parseInt(e(495))/8)+parseInt(e(490))/9*(-parseInt(e(496))/10)+parseInt(e(494))/11*(-parseInt(e(482))/12)+-parseInt(e(473))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class z extends((0,t.ObservableMixin)()){id;[L(492)];[L(497)];[L(484)];[L(488)];[L(475)];[L(480)];constructor(e){const i=L;super(),this.id=e.id||(0,t.uid)(),this[i(492)]=e[i(492)]||null,this[i(497)]=e[i(497)]||[],this[i(484)]=e[i(484)]||null,this[i(488)]=e[i(488)]||0,this[i(475)]=e[i(475)]||0,this[i(476)](i(489),e[i(489)]||""),this[i(476)](i(474),e[i(474)]||new Date),this[i(476)](i(486),e[i(486)]||{})}[L(493)](t){this[L(472)]({name:t})}[L(487)](t,e){const i=L,s=R(this[i(486)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=E(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(472)]({attributes:s})}[L(470)](t){const e=L,i=R(this[e(486)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return P(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 P(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(472)]({attributes:i})}[L(472)](t,e=!1){const i=L;let s=!1;const n={id:this.id},r=[i(489),i(474),i(484),i(497),i(486),i(488),i(475),i(478)];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(497)]&&(n[i(477)]=n[i(497)][i(481)]((t=>t.id)),delete n[i(497)]),this[i(468)](i(472),n,e))}[L(469)](){const t=L;return{id:this.id,name:this[t(489)],creatorId:this[t(492)]?this[t(492)].id:null,authorsIds:this[t(497)][t(481)]((t=>t.id)),diffData:this[t(484)],createdAt:this[t(474)],attributes:this[t(486)],fromVersion:this[t(475)],toVersion:this[t(488)]}}}var U=i(782),H=i(211),Z=i(783);function q(t,e){const i=$();return(q=function(t,e){return i[t-=329]})(t,e)}function $(){const t=["getRevisions","href","529CGfbcq","166793kEWMXd","addRevision","1981zVVRsN","pluginName","getIndex","RevisionsRepository","length","createRevision","toJSON","name","getRevision","creatorId","join","earlier","_revisions","requires","fromCharCode","16734uNwUIS","attributes","1310FfECDG","data","afterInit","diffData","editor","isNaN","reverse","271368DTXjYq","getLaterVisibleRevision","add","plugins","map","6486687UBerld","isOfficialPlugin","newRevisionId","getEarlierVisibleRevision","fromVersion","Users","getUser","getRevisionsIterator","later","78066tGRsDn","push","76JAFukO","createdAt","from","getRevisionsInDiff","1316JZsJXs","isPremiumPlugin","authorsIds","4404305cDWICR","get","toVersion","oldRevisionId"];return($=function(){return t})()}const B=q;!function(t){const e=q,i=t();for(;;)try{if(584795===parseInt(e(333))/1*(-parseInt(e(380))/2)+parseInt(e(374))/3*(parseInt(e(376))/4)+parseInt(e(383))/5+-parseInt(e(351))/6*(-parseInt(e(336))/7)+parseInt(e(360))/8+parseInt(e(365))/9+-parseInt(e(353))/10*(parseInt(e(334))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[B(348)];static get[B(349)](){return[H.Users]}static get[B(337)](){return B(339)}static get[B(366)](){return!0}static get[B(381)](){return!0}get[B(340)](){const t=B;return this[t(348)][t(340)]}constructor(e){const i=B;super(e),this[i(348)]=new t.Collection}[B(355)](){!async function(e){const i=k([90,114,110,84,116,50,98,111,72,81,48,86,113,103,51,122,115,68,105,70,83,100,69,119,108,57,87,74,76,77,67,104,52,109,88,79,106,80,49,120,97,78,89,112,71,65,85,117,121,73,53,101,54,75,102,99,107,66,56,118,55,82]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(358)](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([90]);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=q;return t[e(364)]((t=>String[e(350)](t)))[e(346)]("")}!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:1747094400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=q,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(332)]);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(341)](t){const e=B,i=this[e(357)][e(363)][e(384)](e(370));return new z({id:t.id,name:t[e(343)],creator:t[e(345)]?i[e(371)](t[e(345)]):null,diffData:t[e(356)]||t[e(354)],authors:t[e(382)][e(364)]((t=>i[e(371)](t))),createdAt:new Date(t[e(377)]),attributes:t[e(352)],fromVersion:t[e(369)],toVersion:t[e(329)]})}[B(335)](t,e=0){const i=B;this[i(348)][i(362)](t,e)}[B(344)](t){const e=B;return this[e(348)][e(384)](t)}[B(331)](t={toJSON:!1}){const e=B,i=Array[e(378)](this[e(348)]);return i[e(359)](),t[e(342)]?i[e(364)]((t=>t[e(342)]())):i}[B(338)](t){const e=B;return this[e(348)][e(338)](t)}[B(368)](t){const e=B,[,i]=this[e(372)](t,{direction:e(347)});return i}[B(361)](t){const e=B,[,i]=this[e(372)](t,{direction:e(373)});return i}[B(379)](t){const e=B,i=[];for(const s of this[e(372)](t[e(367)]))if(i[e(375)](s),s.id===t[e(330)])break;return i}*[B(372)](t,{direction:e=B(347),filter:i=()=>!0}={}){const s=B,n=s(347)===e?1:-1;let r=this[s(348)][s(384)](t),o=this[s(338)](r);for(yield r;r;){if(o+=n,r=this[s(344)](o),!r)return;i(r)&&(yield r)}}}const G=J;function J(t,e){const i=Q();return(J=function(t,e){return i[t-=172]})(t,e)}!function(t){const e=J,i=t();for(;;)try{if(828223===parseInt(e(219))/1+parseInt(e(177))/2+parseInt(e(189))/3*(-parseInt(e(183))/4)+parseInt(e(208))/5*(parseInt(e(194))/6)+-parseInt(e(173))/7*(-parseInt(e(186))/8)+parseInt(e(206))/9*(parseInt(e(190))/10)+-parseInt(e(213))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class K extends U.Plugin{static get[G(211)](){return G(192)}static get[G(218)](){return!0}static get[G(216)](){return!0}[G(221)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[G(209)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[G(181)](t,e){const i=G;if(t[i(230)]||!e)return;const s=this[i(229)][i(187)][i(223)](i(222)),n=await e[i(195)]({channelId:s,revisionId:t.id});t[i(230)]=n[i(230)]}[G(245)](t){const e=G,i={};for(const s in t[e(230)]){if(t[e(230)][s][e(228)]&&!t[e(230)][s][e(228)][e(236)])continue;const n=this[e(225)](JSON[e(176)](t[e(230)][s][e(224)])),r=this[e(229)][e(188)][e(174)][e(226)],o=new Z.ViewDocumentFragment(r,n[e(227)]((t=>this[e(246)](t,!1))));this[e(229)][e(232)][e(197)][e(231)](e(243)),i[s]=this[e(229)][e(232)][e(197)][e(199)](o),this[e(229)][e(232)][e(197)][e(231)](e(242))}return i}[G(202)](t){const e=G,i={};for(const s in t[e(230)])t[e(230)][s][e(228)]&&!t[e(230)][s][e(228)][e(236)]||(i[s]=t[e(230)][s][e(220)]||{});return i}[G(175)](t){const e=G;return this[e(221)][e(223)](t[e(203)])}[G(246)](t,e){const i=G,s=this[i(229)][i(188)][i(174)][i(226)];if(i(240)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(238)]||"r"==t[i(238)]?[]:t[i(235)][i(227)]((t=>this[i(246)](t,e)));const o=this[i(209)][i(223)](t[i(238)])||Z.ViewElement,a=this[i(229)][i(232)][i(191)][i(198)];if(n=new o(s,t[i(196)],t[i(210)],r),"u"==t[i(238)]&&t[i(235)][0]){const r=t[i(235)][0];if(n[i(193)]=function(t){const e=i,s=t[e(212)](e(207));return s[e(182)]=r,s[e(185)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(214)](n);const e=Array[i(244)](a[i(180)](t,{bind:!1})),r=a[i(234)][i(212)](i(207));r[i(215)](...e),n=Array[i(244)](a[i(204)](r))[0]}}else if("r"==t[i(238)]&&t[i(235)][0]){const r=t[i(235)][0];if(n[i(193)]=function(t){t[i(182)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(214)](n);const e=Array[i(244)](a[i(180)](t,{bind:!1})),r=a[i(234)][i(212)](i(207));r[i(215)](...e);const o=Array[i(244)](a[i(204)](r));o[i(200)]>1?n[i(214)](o):n=o[0]}}if(t[i(217)])for(const[e,s]of t[i(217)])n[i(205)](e,s);const c=void 0===t[i(172)]?null:t[i(172)];return null!==c&&(n[i(178)]=()=>c),n}}[G(184)](t){const e=G,i=JSON[e(176)](t),s=this[e(229)][e(188)][e(174)][e(226)],n=new Z.ViewDocumentFragment(s,i[e(227)]((t=>this[e(246)](t,!0))));return this[e(229)][e(232)][e(201)](n)}[G(225)](t){const e=G;return(t=t[e(247)]((t=>!t[e(196)]||e(179)!==t[e(196)]&&e(241)!==t[e(196)])))[e(239)]((t=>{const i=e;i(240)!=typeof t&&(t[i(235)]=this[i(225)](t[i(235)]),t[i(210)]=t[i(210)][i(247)]((t=>!t[0][i(237)](i(233)))))})),t}}function Q(){const t=["517484boafSE","_appendChild","append","isPremiumPlugin","customProperties","isOfficialPlugin","302337DxWrqp","attributesAfter","_viewClassToTypeChar","collaboration.channelId","get","insertions","_removeRevisionMarkers","document","map","attachChange","editor","diffData","useFillerType","data","data-revision-","domDocument","children","isAttached","startsWith","type","forEach","string","revision-end","default","marked","from","getRevisionDocumentData","_getViewFromDiffObj","filter","fillerOffset","7FFsDiU","view","_getTypeCharForViewElement","parse","1821140YhGyHt","getFillerOffset","revision-start","viewChildrenToDom","loadRevisionData","innerHTML","672496xqHVvD","_makeModelFromViewString","childNodes","1022968VwnNrc","config","editing","27hSFscH","2359510EQlMKG","htmlProcessor","RevisionHistoryUtils","render","4869924qLMkgN","getRevision","name","processor","domConverter","toData","length","toModel","getRevisionRootsAttributes","constructor","domChildrenToView","_setCustomProperty","9YBDIVf","div","5uDHydZ","_typeCharToViewClass","attributes","pluginName","createElement"];return(Q=function(){return 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)===(M=s)||Number.isNaN(R)&&Number.isNaN(M)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,M;const E=(s=s??new Map).get(t),V=s.get(i);if(null!=E&&null!=V)return E===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=140]})(t,e)}function at(){const t=["invalid","createPositionBefore","_makeIdsRoot","editor-initial-data-replaced-with-revision-data","_diffRootsAttributes","_fixOperation","getChild","createdAt","_idsRoots","getRootNames","size","requires","getMovedRangeStart","getChildren","saveRevision","getTransformedByOperation","Initial revision","_handleRootAttributeOperation","_fixPosition","_clone","loadRevisionData","_operations","deletions","domDocument","slice","_baseRootsAttributes","roots","_setConversion","getLatestVersion","usageLimit","_showLicenseError","vid_end","revisionHistoryLicenseKeyNotAllowed","featureNotAllowed","_getViewJson","getAttributes","startsWith","addRoot","fromVersion","nodes","getOperations","offset","RevisionHistory","revisionHistory.resumeUnsavedRevision","attachChange","isEnabled","createPositionFromPath","_startingVersion","baseVersion","rootName","outerHTML","domainLimit","ready","insert","createPositionAt","toVersion","render","202008UlMxnu","Empty document","collaboration.channelId","getOperation","1735111urSnuh","shift","previousPosition","resolve","_makeModelFromViewString","_removePendingAction","creator","destroy","_loadedStateData","_initialRevisionId","revision","_savedMetaData","_isInit","innerHTML","createRange","getNodeByPath","_getFromVersion","getAncestors","authors","_makeRevision","uiElement","4080QkEkrw","text","getWalker","trialLimit","sort","isAdd","repository","_licenseKeyCheckInterval","init","elementEnd","_insertChild","getData","RevisionTracker","adapter","RealTimeCollaborationClient","vid","move","_revisionId","_handleMergeOperation","reinsert","tableCell","_appendChild","_reset","type","_applyOperations","root","find","_getVidAttributeName","fillerOffset","revisionHistoryLicenseKeyValid","_isAttached","_addPendingAction","expired","affectsData","getRevisionRootsAttributes","push","_pendingAction","diffData","graveyardPosition","currentRevision","stickiness","15675384DxYSaj","_markers","revisionHistoryLicenseKeyInvalid","length","_createFromRanges","_removeMetaData","item","_revisionDataBuilder","insertion","for","documentFragment","getCurrentRevisionId","dataToMarker","5743160bYOyqq","newRange","_createCurrentRevision","bind","insertionPosition","_replaceEditorDataWithRevisionData","addRevision","_calculateMetaData","key","start","_touchedMarkers","string","_continueCurrentRevision","targetPosition","define","then","PendingActions","insertions","addRootAttribute","editor","data","merge","hasContent","values","_handleInsertOperation","5XmZxzk","version","revisionHistoryLicenseKeyDomainLimit","locale","_generateTape","_bufferUpdate","getRoot","trim","deletion","revision:","attributesBefore","stringify","Users","_touched","removeRootAttribute","_copyMarkers","position","name","parent","createPositionAfter","userId","initial","element","revisionHistoryLicenseKeyTrialLimit","end","map","clear","11cbxCSC","keys","reverse","_getTypeCharForViewElement","path","addRevisionData","updateRevisions","getAttribute","$graveyard","62357MmogEs","_authorId","_update","htmlProcessor","offsetSize","_handleMarkerOperation","isEqual","$text","children","isAttached","reInit","get","licenseKey","toView","markers","filter","_execute","_touchedRoots","range","includes","isPremiumPlugin","_baseIdsRoots","upcast","finally","nodeAfter","18cNXRqh","getRevision","_prepareViewToSave","_findInsertionIndex","changeRootAttribute","$comment","_getPreviousFrom","_isPendingUpdate","source","buildRevisionData","setRevisionData","has","isOfficialPlugin","getCustomProperties","_handleRootOperation","_startingRevisionId","sourcePosition","_lastTo","dataDowncast","marker","creatorId","detachRoot","getFillerOffset","document","revisionHistoryLicenseKeyEvaluationLimit","PENDING_ACTION_REVISION_HISTORY","_handleMoveOperation","_fixRange","max","conversion","_diffRoots","getRange","fromEntries","rawElement","elementStart","createRangeIn","_lastFrom","pluginName","setSource","8370HPDnVR","isReady","rootsAttributes","afterInit","_source","revisionHistoryLicenseKeyExpired","_handleOperation","_setAttribute","revisionHistoryLicenseKeyUsageLimit","_getBaseVids","authorsIds","delete","update","newValue","oldRange","clone","history","_markChanges","split","RevisionsRepository","_createInitialRevision","createRevision","24kXqhEo","plugins","getTime","vid_start","remove","_handleSplitOperation","childCount","NEGATIVE_INFINITY","howMany","splitPosition","keepParagraph","loadState","RevisionHistoryUtils","_cloneOperation","_getState","some","getRevisionDocumentData","paragraph","_transformMarkers","attributesAfter","getIndex","sendBufferedUpdates","getUser","domConverter","_bufferedUpdates","_loadState","createElement","initialData","evaluationLimit","model","getRevisions","_saveMetaData","markerToData","429076IzAUtT","from","add","_processRootBeforeSave","set","_baseRoots","config","customProperties","_utils"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(858292===-parseInt(e(416))/1*(-parseInt(e(177))/2)+-parseInt(e(441))/3*(parseInt(e(210))/4)+parseInt(e(380))/5*(parseInt(e(276))/6)+-parseInt(e(280))/7+-parseInt(e(355))/8+parseInt(e(155))/9*(parseInt(e(301))/10)+parseInt(e(407))/11*(parseInt(e(342))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(428)];[rt(308)];[rt(340)]=null;[rt(307)];[rt(314)]=null;[rt(349)];[rt(159)];[rt(289)];[rt(201)];[rt(218)];[rt(337)];[rt(367)];[rt(266)];[rt(288)];static get[rt(153)](){return rt(313)}static get[rt(453)](){return!0}static get[rt(436)](){return!0}static get[rt(230)](){return[H.Users,Y,K,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(307)]=this[i(374)][i(178)][i(427)](i(174)),this[i(218)]=this[i(374)][i(178)][i(427)](i(189)),this[i(349)]=new ut(this[i(374)]),this[i(289)]=this[i(374)][i(216)][i(427)](i(278))||i(401),this[i(201)]=new Map,this[i(288)]=null;const s=(0,t.uid)();this[i(159)]={history:this[i(374)][i(206)][i(464)][i(171)],getLatestVersion:()=>Promise[i(283)](this[i(374)][i(206)][i(464)][i(381)]),getCurrentRevisionId:()=>s},this[i(214)](i(156),!1),this[i(214)](i(264),!0),this[i(214)](i(448),!1),this[i(374)][i(216)][i(369)](i(262),!0),this[i(374)][i(145)][i(351)](i(438))[i(354)]({view:i(290)})}[rt(309)](){const t=rt;this[t(246)](),this[t(374)][t(375)].on(t(271),(()=>{const e=t,i=this[e(307)][e(442)](0),s=i&&null===i[e(286)]?i:null;if(this[e(367)]=!!s&&this[e(374)][e(216)][e(427)](e(262)),this[e(374)][e(178)][e(452)](e(315))){const t=this[e(159)][e(353)](),n=this[e(307)][e(442)](t);if(n)this[e(266)]=n[e(257)],this[e(367)]=!1;else{const t=this[e(159)][e(171)][e(240)][e(327)]((t=>!t[e(292)])),n=t?t[e(267)]:this[e(159)][e(171)][e(381)];i?(i[e(274)]<n&&i[e(418)]({toVersion:n}),this[e(367)]?(this[e(159)][e(353)]=()=>s.id,this[e(266)]=s[e(257)]):(this[e(266)]=i[e(274)],this[e(367)]=!1)):(this[e(266)]=n,this[e(367)]=!1)}}else s&&(this[e(374)][e(206)][e(464)][e(171)][e(381)]=Math[e(144)](s[e(274)],this[e(374)][e(206)][e(464)][e(171)][e(381)]),s[e(257)]===s[e(274)]?(0!==s[e(257)]&&(this[e(159)][e(353)]=()=>s.id),this[e(367)]=!1):this[e(367)]&&(this[e(159)][e(353)]=()=>s.id,this[e(266)]=s[e(257)])),this[e(367)]||(this[e(266)]=this[e(374)][e(206)][e(464)][e(381)]);this[e(349)][e(309)](this[e(159)][e(171)]),this[e(175)](this[e(266)]),this[e(357)](this[e(266)]),this[e(314)]&&this[e(198)]()})),this[t(358)](t(156)).to(this,t(448),(t=>!t)),this[t(428)]=this[t(374)][t(216)][t(427)](t(428));const e=this[t(374)];this[t(308)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(330)==r||i(344)==r||i(160)==r||i(382)==r||i(251)==r||i(140)==r||i(403)==r||i(163)==r){delete e[n],s=r,clearInterval(this[i(308)]),this[i(308)]=void 0;break}}i(344)==s&&e[i(249)](i(219)),i(160)==s&&e[i(249)](i(333)),i(382)==s&&e[i(249)](i(270)),i(251)==s&&e[i(249)](i(252),i(261)),i(140)==s&&e[i(249)](i(205)),i(403)==s&&e[i(249)](i(304)),i(163)==s&&e[i(249)](i(248))}),1e3)}async[rt(158)](){const t=rt;if(this[t(307)][t(345)]>0){const e=this[t(307)][t(442)](0),i=await this[t(193)](e),s=await this[t(335)](e);this[t(360)](i,s)}}[rt(287)](){const t=rt;super[t(287)](),this[t(308)]&&clearInterval(this[t(308)])}[rt(154)](t){this[rt(159)]=t}async[rt(167)](){const t=rt,e=await this[t(159)][t(247)]();if(e>this[t(340)][t(274)]){await this[t(202)]();const i=this[t(450)]({revision:this[t(340)],to:e});i[t(298)]=i[t(165)][t(405)]((e=>this[t(374)][t(178)][t(427)](t(392))[t(199)](e))),this[t(340)][t(418)](i)}}async[rt(233)](e={},i=null){const s=rt,n=[];await this[s(202)](),this[s(367)]=!1,i>this[s(340)][s(274)]&&(i=null),null===i&&(i=await this[s(159)][s(247)]());const r=this[s(296)](i),o=this[s(450)]({from:r,to:i});if(this[s(340)][s(274)]<i){const t=this[s(450)]({revision:this[s(340)],from:i,to:i});t[s(298)]=[],t[s(165)]=[],t.id=this[s(340)].id,this[s(340)][s(418)](t,!0),delete t[s(298)],n[s(336)](t)}e[s(461)]=this[s(374)][s(178)][s(427)](s(392)).me.id,e[s(397)]=e[s(397)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(412)](e);n[s(336)](e);const c=this[s(307)][s(197)](a);if(0!==c){const t=this[s(307)][s(442)](c-1);if(t[s(257)]!==i){const r=this[s(349)][s(312)](i,t[s(274)]),o={id:t.id,diffData:r[s(338)],authorsIds:r[s(165)],authors:r[s(165)][s(405)]((t=>this[s(374)][s(178)][s(427)](s(392))[s(199)](t))),fromVersion:i};t===this[s(340)]&&(o[s(226)]=new Date(e[s(226)][s(179)]()+10)),t[s(418)](o,!0),delete o[s(298)],n[s(336)](o)}}if(this[s(314)]){for(const t of n)this[s(385)](t.id,t,!0);this[s(198)]()}return a}[rt(412)](t){const e=rt,i=this[e(307)][e(176)](t);return this[e(314)]&&i.on(e(418),((t,i,s)=>{const n=e;s||(this[n(385)](i.id,i,!0),this[n(198)]())})),this[e(307)][e(361)](i,this[e(444)](i)),i}async[rt(193)](t){const e=rt;return await this[e(218)][e(239)](t,this[e(314)]),this[e(218)][e(193)](t)}async[rt(335)](t){const e=rt;return await this[e(218)][e(239)](t,this[e(314)]),this[e(218)][e(335)](t)}[rt(198)](){const t=rt;if(0===this[t(201)][t(229)])return;if(this[t(448)])return;let e=Array[t(211)](this[t(201)][t(378)]());this[t(201)][t(406)]();for(let i=0;i<e[t(345)];i++){const s=e[i];let n=!1;for(const e of Object[t(408)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(431)]((t=>null!==t)),!e[t(345)])return;for(let i=0;i<e[t(345)];i++){const s=e[i];void 0!==s[t(257)]&&void 0===s[t(274)]&&(s[t(274)]=this[t(307)][t(442)](s.id)[t(274)]),void 0!==s[t(274)]&&void 0===s[t(257)]&&(s[t(257)]=this[t(307)][t(442)](s.id)[t(257)])}const i=this[t(374)][t(216)][t(427)](t(278));this[t(448)]=!0,this[t(332)](),this[t(314)][t(413)](e,i)[t(439)]((()=>{this[t(448)]=!1}))[t(370)]((e=>{const i=t;if(e)for(const t of e)this[i(451)]({id:t.id,createdAt:t[i(226)]});this[i(285)](),this[i(198)]()}))}[rt(450)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(257)],i=null!==i?i:t[s(274)];const n=this[s(349)][s(312)](e,i),r={diffData:n[s(338)],authorsIds:n[s(165)],fromVersion:e,toVersion:i};if(!t||i!==t[s(274)]){const t=i-1,e=this[s(159)][s(171)][s(279)](t);r[s(226)]=e&&e[s(226)]||new Date}if(this[s(288)]&&e===this[s(288)][s(257)])for(const t of this[s(288)][s(298)])r[s(165)][s(435)](t.id)||r[s(165)][s(336)](t.id);return r}[rt(385)](t,e,i){const s=rt;if(this[s(201)][s(452)](t)){const n=this[s(201)][s(427)](t);e=i?{...n,...e}:{...e,...n}}this[s(201)][s(214)](t,e)}[rt(451)](t){const e=rt,i=this[e(307)][e(442)](t.id);if(t[e(226)]&&(t[e(226)]=new Date(t[e(226)])),t[e(165)]){const i=this[e(374)][e(178)][e(427)](e(392));t[e(298)]=t[e(165)][e(405)]((t=>i[e(199)](t)))}i[e(418)](t,!0)}[rt(175)](t){const e=rt,i=this[e(307)][e(442)](this[e(307)][e(345)]-1);if(i)this[e(289)]=i.id;else{const i=!this[e(374)][e(206)][e(464)][e(245)][e(327)]((t=>this[e(374)][e(206)][e(377)](t))),s=this[e(374)][e(178)][e(427)](e(392)).me.id,n=X(this[e(374)][e(383)],e(i?277:235));this[e(299)]({from:t,to:t,id:this[e(289)],name:n,creatorId:s})}}[rt(357)](t){const e=rt,i=this[e(159)][e(353)]();this[e(340)]=this[e(307)][e(442)](i),this[e(340)]||(this[e(340)]=this[e(299)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(202)](){const t=rt;this[t(367)]&&!this[t(288)]&&(await this[t(218)][t(239)](this[t(340)],this[t(314)]),this[t(349)][t(188)](this[t(340)]),this[t(288)]={fromVersion:this[t(340)][t(257)],authors:this[t(340)][t(298)][t(243)]()})}[rt(360)](e,i){const s=rt;let n=this[s(374)][s(216)][s(427)](s(204)),r=this[s(374)][s(216)][s(427)](s(157));if(void 0===n){n={};for(const t of this[s(374)][s(206)][s(464)][s(228)]())n[t]=""}if(s(366)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(374)][s(206)][s(464)][s(228)]())r[t]={}}let o=!1;const a=Object[s(408)](n),c=Object[s(408)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(387)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(408)](r[t])[s(345)]>0){o=!0;break}}o||(o=c[s(192)]((t=>!this[s(374)][s(206)][s(464)][s(386)](t)))),o&&(0,t.logWarning)(s(222),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(374)][s(216)][s(214)](s(204),e),this[s(374)][s(216)][s(214)](s(157),i)}[rt(332)](){const t=rt;if(!this[t(337)]){const e=this[t(374)][t(178)][t(427)](t(371));this[t(337)]=e[t(212)](X(this[t(374)][t(383)],t(141)))}}[rt(285)](){const t=rt;this[t(337)]&&(this[t(374)][t(178)][t(427)](t(371))[t(181)](this[t(337)]),this[t(337)]=null)}[rt(444)](t){const e=rt,i=this[e(307)][e(207)]();i[e(409)]();let s=0;for(;s<i[e(345)];){const n=i[s];if(n===this[e(340)]){s++;continue}if(n.id===this[e(289)])break;const r=t[e(274)]-n[e(274)]||t[e(257)]-n[e(257)];if(r>0)break;if(r<0)s++;else{if(!t[e(286)]&&n[e(286)])break;if(n[e(286)]||!t[e(286)]){if(t[e(226)]>n[e(226)])break;s++}else s++}}return s}[rt(296)](t){const e=rt,i=this[e(307)][e(207)]();i[e(409)](),i[e(281)]();const s=i[e(327)]((i=>i[e(274)]<=t))[e(274)];return s<this[e(266)]?this[e(266)]:s}[rt(299)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(450)]({from:e,to:i});o[r(397)]=t,o[r(461)]=s,o.id=n;const a=this[r(412)](o);return this[r(314)]&&this[r(385)](o.id,o,!0),a}[rt(246)](){const t=rt;this[t(374)][t(145)][t(351)](t(459))[t(209)]({model:t(290)})}}class ut{[rt(374)];[rt(449)];[rt(291)];[rt(152)];[rt(458)];[rt(343)];[rt(146)];[rt(223)];[rt(215)];[rt(244)];[rt(227)];[rt(437)];[rt(393)];[rt(365)];[rt(433)];[rt(318)];[rt(456)];constructor(t){const e=rt;this[e(374)]=t,this[e(291)]=new Map,this[e(152)]=-1,this[e(458)]=-1,this[e(343)]=new Map,this[e(146)]=new Map,this[e(223)]=new Map,this[e(215)]=new Map,this[e(244)]=new Map,this[e(227)]=new Map,this[e(437)]=new Map,this[e(393)]=new Map,this[e(365)]=new Map,this[e(433)]=new Map,this[e(318)]=1}[rt(309)](t){const e=rt;this[e(449)]=t;const i=new Map,s=new Map,n=this[e(374)][e(206)][e(464)][e(245)][e(405)]((t=>t[e(268)]));for(const t of n){const n=this[e(374)][e(206)][e(464)][e(386)](t),r=lt(n);i[e(214)](t,r),s[e(214)](t,Object[e(148)](n[e(254)]()))}const r=Array[e(211)](this[e(374)][e(206)][e(430)])[e(405)]((t=>[t[e(397)],t[e(147)]()])),o=this[e(449)][e(381)];this[e(208)](o,i,r,s),this[e(456)]=this[e(318)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(214)](t,i),c[e(214)](t,{})}this[e(208)](Number[e(184)],a,[],c)}[rt(312)](t,e){const i=rt;if(this[i(152)]===t&&this[i(458)]<=e)this[i(291)][i(229)]>1&&this[i(347)](this[i(458)]),this[i(325)](this[i(458)],e,!0);else{if(!this[i(291)][i(452)](t)){const e=this[i(447)](t);this[i(362)](e,t,!1)}this[i(362)](t,e,!0)}return this[i(152)]=t,this[i(458)]=e,this[i(191)]()}[rt(188)](t){const e=rt,i=this[e(374)][e(178)][e(427)](e(189));this[e(323)](),this[e(152)]=t[e(257)],this[e(458)]=t[e(274)];for(const s in t[e(338)]){const n=t[e(338)][s][e(263)],r=R(t[e(338)][s][e(390)])||{},o=i[e(284)](t[e(338)][s][e(241)]);o[e(268)]=s,o[e(331)]=!n||!n[e(425)],o[e(425)]=()=>o[e(331)],this[e(215)][e(214)](s,o),this[e(244)][e(214)](s,r),n&&this[e(433)][e(214)](s,n);const a=this[e(221)](o);this[e(437)][e(214)](s,a);for(const[t,i]of o[e(430)]){if(!t[e(255)](e(389)))continue;const s=t[e(173)](":")[2];for(const t of i[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),n=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)],r=a[e(295)](n)[e(414)](i);this[e(393)][e(214)](r,{userId:s})}}}this[e(456)]=this[e(318)];const s=[...Array(this[e(318)])[e(408)]()][e(243)](1)[e(431)]((t=>!this[e(393)][e(452)](t)));let n=0;const r=new Map;for(const o in t[e(338)]){const a=t[e(338)][o][e(263)],c=R(t[e(338)][o][e(196)])||{},u=i[e(284)](t[e(338)][o][e(372)]);u[e(268)]=o,u[e(331)]=!a||a[e(425)],u[e(425)]=()=>u[e(331)],this[e(146)][e(214)](o,u),this[e(223)][e(214)](o,c);const l=this[e(221)](u,Number[e(184)]);this[e(227)][e(214)](o,l),r[e(214)](o,u[e(425)]()?c:{});for(const[t,i]of u[e(430)]){if(!t[e(255)](e(389)))continue;const s=t[e(173)](":")[2];for(const t of i[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),n=this[e(318)]++,r=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)];l[e(295)](r)[e(162)](i,n),this[e(393)][e(214)](n,{userId:s})}}for(const t of this[e(374)][e(206)][e(151)](u)[e(303)]({singleCharacters:!0})){const i=this[e(328)](t),r=e(310)==t[e(324)]?t[e(282)][e(411)][e(243)](0,-1):t[e(282)][e(411)],o=l[e(295)](r);o[e(414)](i)>0||o[e(162)](i,s[n++])}for(const[t,i]of u[e(430)])t[e(255)](e(389))||this[e(343)][e(214)](t,i)}const o=ht(e(415));this[e(215)][e(214)](e(415),o),this[e(437)][e(214)](e(415),this[e(221)](o,1));const a=ht(e(415));this[e(146)][e(214)](e(415),a),this[e(227)][e(214)](e(415),this[e(221)](a,1));const c=Array[e(211)](this[e(146)])[e(405)]((([t,e])=>[t,lt(e)]));this[e(208)](this[e(458)],c,this[e(343)],r)}[rt(426)](){const t=rt;this[t(323)](),this[t(152)]=-1,this[t(458)]=-1,this[t(291)][t(406)](),this[t(309)](this[t(449)])}[rt(208)](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(214)](t,{start:e[n(364)][n(170)](),end:e[n(404)][n(170)](),rootName:e[n(326)][n(268)]});this[n(291)][n(214)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(347)](t){const e=rt;this[e(291)][e(166)](t)}[rt(323)](){const t=rt;this[t(393)][t(406)](),this[t(365)][t(406)](),this[t(433)][t(406)](),this[t(146)][t(406)](),this[t(223)][t(406)](),this[t(215)][t(406)](),this[t(244)][t(406)](),this[t(227)][t(406)](),this[t(437)][t(406)](),this[t(343)][t(406)](),this[t(318)]=1,this[t(456)]=this[t(318)]}[rt(221)](t,e=null){const i=rt;let s=null;t.is(i(352))||(s=new Z.Element(t[i(397)],{vid_start:null===e?this[i(318)]++:e++}));const n=[];for(const s of t[i(232)]())if(s.is(i(402))){n[i(336)](this[i(221)](s,e));const t=n[n[i(345)]-1];null!==e&&(e=t.is(i(402),i(423))?t[i(414)](i(316))+1:t[i(414)](i(250))+1)}else for(let t=0;t<s[i(420)];t++)n[i(336)](new Z.Element(i(423),{vid:null===e?this[i(318)]++:e++}));if(t.is(i(352))){const e=ht(t[i(268)]);return e[i(311)](0,n),e}return s[i(162)](i(250),null===e?this[i(318)]++:e++),s[i(311)](0,n),s}[rt(362)](t,e,i){const s=rt;this[s(323)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(291)][s(427)](t);this[s(215)]=new Map(n),this[s(244)]=new Map(R(o));for(const[t,e]of this[s(215)])if(s(415)!==t&&(this[s(146)][s(214)](t,lt(e)),this[s(223)]=new Map(R(o)),i)){const i=this[s(318)];this[s(227)][s(214)](t,this[s(221)](e)),this[s(437)][s(214)](t,this[s(221)](e,i))}this[s(456)]=this[s(318)],this[s(146)][s(214)](s(415),lt(this[s(215)][s(427)](s(415)))),i&&this[s(227)][s(214)](s(415),this[s(221)](this[s(215)][s(427)](s(415))));for(const[t,e]of r){const i=this[s(215)][s(427)](e[s(268)]),n=this[s(146)][s(427)](e[s(268)]),r=new Z.Range(this[s(237)](e[s(364)],i),this[s(237)](e[s(404)],i)),o=this[s(143)](r,n);i[s(430)][s(214)](t,r),this[s(343)][s(214)](t,o)}this[s(325)](t,e,i)}[rt(325)](t,e,i){const s=rt;for(const n of this[s(449)][s(259)](t,e))this[s(161)](n,i);for(const t of this[s(146)][s(378)]())t[s(430)][s(406)]();for(const[t,e]of this[s(343)])this[s(146)][s(427)](e[s(326)][s(268)])[s(430)][s(214)](t,e[s(170)]());const n=new Map,r=new Map;for(const[t,e]of this[s(146)])n[s(214)](t,lt(e)),r[s(214)](t,this[s(223)][s(427)](t));this[s(208)](e,n,this[s(343)],r)}[rt(447)](t){const e=rt,i=Array[e(211)](this[e(291)][e(408)]());i[e(305)](((t,e)=>t-e)),i[e(409)]();for(const e of i)if(e<t)return e;return Number[e(184)]}[rt(395)](t,e){const i=rt,s=Array[i(211)](e[i(430)])[i(405)]((([e,s])=>[e,this[i(143)](s,t)]));t[i(430)]=new Map(s)}[rt(195)](t){const e=rt;for(const i of this[e(343)][e(378)]()){const s=i[e(234)](t),n=Z.Range[e(346)](s);i[e(364)]=n[e(364)],i[e(404)]=n[e(404)]}}[rt(161)](t,e){const i=rt;if(i(256)!=t[i(324)]&&i(462)!=t[i(324)]){if(i(272)==t[i(324)]){const s=t[i(396)][i(326)][i(268)];this[i(146)][i(452)](s)||(this[i(146)][i(214)](s,ht(s,!0)),this[i(223)][i(214)](s,{}),e&&this[i(227)][i(214)](s,ht(s,!0)))}else{if(i(373)==t[i(324)]||i(394)==t[i(324)]||i(445)==t[i(324)])return void this[i(236)](t);i(460)==t[i(324)]&&this[i(421)](t)}if(i(460)!==t[i(324)]){const e=this[i(190)](t,this[i(146)]);e[i(432)](),this[i(195)](e)}if(e)switch(t[i(324)]){case i(272):this[i(379)](t);break;case i(317):case i(181):case i(320):this[i(142)](t);break;case i(376):this[i(319)](t);break;case i(173):this[i(182)](t)}}else this[i(455)](t,e)}[rt(190)](t,e){const i=rt,s=t[i(170)]();return s[i(417)]=t[i(417)],this[i(224)](s,e),s}[rt(164)](t){const e=rt;return t[e(405)]((t=>{const i=e,s=this[i(328)](t);return Number(t[i(348)][i(414)](s))}))}[rt(384)](t,e){const i=rt;if(t.is(i(402),i(423)))e[i(336)]({item:t,type:i(302)});else{t.is(i(402))&&e[i(336)]({item:t,type:i(150)});for(const s of t[i(232)]())this[i(384)](s,e);t.is(i(402))&&e[i(336)]({item:t,type:i(310)})}return e}[rt(191)](){const t=rt,e=new Map(this[t(393)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(215)][t(408)](),...this[t(146)][t(408)]()]);a[t(166)](t(415));for(const e of a){const i=this[t(146)][t(427)](e)||ht(e,!1),s=this[t(215)][t(427)](e)||ht(e,!1);i[t(425)]()||s[t(425)]()?(n[t(372)][e]=lt(i),n[t(241)][e]=lt(s),this[t(395)](n[t(241)][e],s),this[t(395)](n[t(372)][e],i),r[t(372)][e]=this[t(384)](this[t(227)][t(427)](e),[]),r[t(241)][e]=this[t(384)](this[t(437)][t(427)](e)||ht(e,!1),[])):a[t(166)](e)}for(const n of a){const o=r[t(372)][n];for(const n of o){const r=this[t(328)](n),o=n[t(348)][t(414)](r);i[t(166)](o),o>=this[t(456)]&&s[t(214)](o,e[t(427)](o))}}for(const n of a){const a=r[t(372)][n],c=this[t(164)](r[t(241)][n]);let u=0;for(const n of a){const r=this[t(328)](n),a=n[t(348)][t(414)](r);if(!s[t(452)](a)&&!o[t(452)](a))if(i[t(452)](a))u++;else{if(a!=c[u]){const s=e[t(427)](a)||e[t(427)](c[u]);for(;a!=c[u];)i[t(452)](c[u])||(o[t(214)](c[u],s),e[t(214)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(372)][e];for(const e of n){const n=this[t(328)](e),r=e[t(348)][t(414)](n);if(o[t(452)](r)){const e=o[t(427)](r);i[t(452)](r)||i[t(214)](r,{...e}),s[t(214)](r,{...e})}}}for(const e of i[t(408)]())e>=this[t(456)]&&i[t(166)](e);const c=new Map;for(const e of a){let n=r[t(372)][e];for(const e of n)if(e[t(348)].is(t(402),t(321))){const i=this[t(328)](e),n=e[t(348)][t(414)](i);if(s[t(452)](n)){const i=e[t(348)][t(398)][t(398)][t(414)](t(180)),r=c[t(427)](i)||new Set;r[t(212)](s[t(427)](n)[t(400)]),c[t(214)](i,r)}}n=r[t(241)][e];for(const e of n)if(e[t(348)].is(t(402),t(321))){const s=this[t(328)](e),n=e[t(348)][t(414)](s);if(i[t(452)](n)){const s=e[t(348)][t(398)][t(398)][t(414)](t(180)),r=c[t(427)](s)||new Set;r[t(212)](i[t(427)](n)[t(400)]),c[t(214)](s,r)}}for(const e of c[t(408)]())(s[t(452)](e)||i[t(452)](e))&&c[t(166)](e)}for(const e of a){const n=r[t(372)][e];let o=null,a=null;for(const e of n){const n=this[t(328)](e),r=e[t(348)][t(414)](n),u=c[t(427)](r);u&&t(150)==e[t(324)]&&(o=Array[t(211)](u)[0],a=e[t(348)][t(414)](t(250))),o&&(i[t(214)](r,{userId:o}),s[t(214)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(241)][e],a=n[t(372)][e];for(const{userId:e}of this[t(365)][t(378)]())null!==e&&l[t(212)](e);for(const{userId:e}of this[t(433)][t(378)]())null!==e&&l[t(212)](e);this[t(172)](a,r[t(372)][e],s,t(350),l),this[t(172)](o,r[t(241)][e],i,t(388),l),u[e]={insertions:this[t(443)](a),deletions:this[t(443)](o),attachChange:this[t(433)][t(427)](e)||null,attributesBefore:R(this[t(244)][t(427)](e))||{},attributesAfter:R(this[t(223)][t(427)](e))}}return{diffData:u,authorsIds:Array[t(211)](l)}}[rt(213)](t){const e=rt;for(const[,i]of t[e(430)]){const t=i[e(364)][e(297)]()[e(431)]((t=>e(321)==t[e(397)]));for(const i of t)1==i[e(183)]&&i[e(225)](0).is(e(402),e(194))&&i[e(225)](0)[e(162)](e(187),!0)}}[rt(443)](t){const e=rt;this[e(213)](t);const i=this[e(374)][e(375)][e(429)](t,{}),s=Array[e(211)](i[e(232)]())[e(405)]((t=>this[e(253)](t)));return JSON[e(391)](s)}[rt(253)](t){const e=rt;if(t.is(e(423)))return t[e(375)];{const i=this[e(374)][e(178)][e(427)](e(189)),s=t,n=this[e(374)][e(375)][e(419)][e(200)],r={type:i[e(410)](s),name:s[e(397)],attributes:Array[e(211)](s[e(254)]()),children:Array[e(211)](s[e(232)]())[e(405)]((t=>this[e(253)](t)))};if(t.is(e(300))&&e(446)!=t[e(397)]){const i=t[e(275)](n[e(242)],n);r[e(424)][e(336)](i[e(269)])}else if(t.is(e(149))){const i=n[e(242)][e(203)](s[e(397)]);t[e(275)](i,n),r[e(424)][e(336)](i[e(293)])}const o=Array[e(211)](s[e(454)]());o[e(345)]>0&&(r[e(217)]=o);const a=s[e(463)]();return null!==a&&(r[e(329)]=a),r}}[rt(172)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(374)][r(206)];for(let s=0;s<e[r(345)];s++){const n=this[r(328)](e[s]),c=e[s][r(348)][r(414)](n),h=i[r(427)](c),d=s==e[r(345)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(400)]!=o[r(400)])&&(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(400)],d=l(389)+s+":"+h+":"+c++,f=u[l(294)](i,a);t[l(430)][l(214)](d,f),null!==h&&n[l(212)](h)}}[rt(328)](t){const e=rt;switch(t[e(324)]){case e(150):return e(180);case e(310):return e(250);default:return e(316)}}[rt(224)](t,e){const i=rt;t[i(267)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(427)](n[i(326)][i(268)]);t[s]=this[i(237)](n,r)}if(n instanceof Z.Range){const r=e[i(427)](n[i(326)][i(268)]);t[s]=this[i(143)](n,r)}i(326)===s&&(t[i(326)]=e[i(427)](t[i(326)][i(268)]))}}[rt(143)](t,e){const i=rt;return this[i(374)][i(206)][i(294)](this[i(237)](t[i(364)],e),this[i(237)](t[i(404)],e))}[rt(237)](t,e){const i=rt;return this[i(374)][i(206)][i(265)](e,t[i(411)],t[i(341)])}[rt(379)](t){const e=rt,i=this[e(227)][e(427)](t[e(396)][e(326)][e(268)]),s=this[e(237)](t[e(396)],i),n=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,r=s[e(398)],o=this[e(318)],a=[];for(const i of t[e(258)])if(i.is(e(402)))a[e(336)](this[e(221)](i));else for(let t=0;t<i[e(420)];t++)a[e(336)](new Z.Element(e(423),{vid:this[e(318)]++}));const c=this[e(318)];for(let t=o;t<c;t++)this[e(393)][e(214)](t,{userId:n});r[e(311)](s[e(260)],a)}[rt(142)](t){const e=rt;(t=this[e(190)](t,this[e(227)]))[e(432)]();const i=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(231)](),n=s[e(398)],r=s[e(260)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(225)](e);r.is(a(402),a(423))?s[a(214)](r[a(414)](a(316)),{userId:i}):(s[a(214)](r[a(414)](a(180)),{userId:i}),t(s,r,0,r[a(183)]),s[a(214)](r[a(414)](a(250)),{userId:i}))}}(this[e(393)],n,r,r+t[e(185)])}[rt(319)](t){const e=rt,i=null===(t=this[e(190)](t,this[e(227)]))[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(368)][e(398)],n=t[e(457)][e(398)],r=s[e(414)](e(250)),o=n[e(414)](e(180));s[e(162)](e(250),n[e(414)](e(250))),n[e(162)](e(250),r),this[e(393)][e(214)](o,{userId:i}),this[e(393)][e(214)](r,{userId:i}),t[e(432)]()}[rt(182)](t){const e=rt,i=null===(t=this[e(190)](t,this[e(227)]))[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,s=t[e(339)],n=t[e(186)][e(398)];t[e(432)]();const r=n[e(414)](e(250)),o=t[e(359)][e(440)];if(s){const t=o[e(414)](e(250)),s=n[e(414)](e(250));n[e(162)](e(250),t),o[e(162)](e(250),s),this[e(393)][e(214)](n[e(414)](e(250)),{userId:i}),this[e(393)][e(214)](o[e(414)](e(180)),{userId:i})}else{const t=this[e(318)]++,s=this[e(318)]++;n[e(162)](e(250),t),o[e(162)](e(180),s),o[e(162)](e(250),r),this[e(393)][e(214)](t,{userId:i}),this[e(393)][e(214)](s,{userId:i})}}[rt(421)](t){const e=rt;if(!t[e(334)])return;const i=(t=this[e(190)](t,this[e(146)]))[e(169)]?t[e(169)][e(326)]:null,s=t[e(356)]?t[e(356)][e(326)]:null;i&&this[e(343)][e(166)](t[e(397)]),s&&this[e(343)][e(214)](t[e(397)],t[e(356)][e(170)]());const n=null===t[e(417)]?null:t[e(417)]||this[e(374)][e(178)][e(427)](e(392)).me.id,r=t[e(397)];if(!this[e(365)][e(452)](r))return void this[e(365)][e(214)](r,{range:t[e(169)],userId:n});const o=this[e(365)][e(427)](r),a=o[e(434)],c=t[e(356)];null==a&&null==c||a&&c&&a[e(422)](c)?this[e(365)][e(166)](t[e(397)]):o[e(400)]=n}[rt(455)](t,e){const i=rt;this[i(146)][i(452)](t[i(268)])?this[i(146)][i(427)](t[i(268)])[i(331)]=t[i(306)]:(this[i(146)][i(214)](t[i(268)],ht(t[i(268)],!0)),this[i(223)][i(214)](t[i(268)],{}),e&&this[i(227)][i(214)](t[i(268)],ht(t[i(268)],!0)));const s=null===t[i(417)]?null:t[i(417)]||this[i(374)][i(178)][i(427)](i(392)).me.id,n=this[i(433)][i(427)](t[i(268)]);n&&n[i(400)]===s?this[i(433)][i(166)](t[i(268)]):this[i(433)][i(214)](t[i(268)],{userId:s,isAttached:t[i(306)]})}[rt(236)](t){const e=rt,i=this[e(223)][e(427)](t[e(326)][e(268)]);null===t[e(168)]?delete i[t[e(363)]]:i[t[e(363)]]=t[e(168)]}}function lt(t){const e=rt,i=ht(t[e(268)],t[e(425)]());for(const s of t[e(232)]()){const t=s[e(238)](!0);i[e(322)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(268)]=t,s[i(331)]=e,s[i(425)]=()=>s[i(331)],s}function dt(t,e,i){const s=rt,n=s(310)==t[s(324)]?i[s(273)](t[s(348)],s(404)):i[s(220)](t[s(348)]);return i[s(265)](e,n[s(411)],n[s(341)])}function ft(t,e,i){const s=rt,n=s(150)==t[s(324)]?i[s(273)](t[s(348)],0):i[s(399)](t[s(348)]);return i[s(265)](e,n[s(411)],n[s(341)])}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=Mt;function Mt(t,e){const i=Et();return(Mt=function(t,e){return i[t-=245]})(t,e)}function Et(){const t=["219204HCefRS","focus","arrowdown","reset","element","2EBxXMm","render","add","arrowup","220","125622hGSGEW","ck-revision-history-save-revision-form","revisionNameInputValue","errorText","arrowleft","fieldView","Name of the revision","stopPropagation","form","focusTracker","775PSIcaB","revisionNameInputView","revisionName","set","13011EDCsum","optional","label","360XgcUai","277920sDLFQu","10NnRIsq","listenTo","extendTemplate","arrowright","ck-responsive-form","7404PITKHa","trim","2245488CrGIVW","803PsvXVE","_createRevisionNameInput","value","input","973536KDBBvW","keystrokes","setTemplate","locale"];return(Et=function(){return t})()}!function(t){const e=Mt,i=t();for(;;)try{if(214673===-parseInt(e(284))/1*(parseInt(e(279))/2)+-parseInt(e(253))/3*(parseInt(e(256))/4)+parseInt(e(249))/5*(-parseInt(e(263))/6)+-parseInt(e(265))/7+-parseInt(e(270))/8+parseInt(e(257))/9*(parseInt(e(258))/10)+-parseInt(e(266))/11*(-parseInt(e(274))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Et);class Vt extends pt.View{[Rt(248)];[Rt(271)];[Rt(250)];constructor(e,i){const s=Rt;super(e),this[s(248)]=new t.FocusTracker,this[s(271)]=new t.KeystrokeHandler,this[s(252)](s(286),""),this[s(250)]=this[s(267)](i),this[s(272)]({tag:s(247),attributes:{class:["ck",s(285),s(262)],tabindex:"-1"},children:[this[s(250)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Rt(280)](){const t=Rt;super[t(280)](),(0,pt.submitHandler)({view:this}),this[t(248)][t(281)](this[t(250)][t(278)]),this[t(271)][t(259)](this[t(278)]);const e=e=>e[t(246)]();this[t(271)][t(252)](t(261),e),this[t(271)][t(252)](t(288),e),this[t(271)][t(252)](t(282),e),this[t(271)][t(252)](t(276),e)}[Rt(275)](){const t=Rt;this[t(250)][t(275)]()}get[Rt(251)](){const t=Rt;return this[t(250)][t(289)][t(278)][t(268)][t(264)]()}set[Rt(251)](t){const e=Rt;this[e(250)][e(289)][e(278)][e(268)]=t[e(264)]()}[Rt(277)](){const t=Rt;this[t(250)][t(289)][t(278)][t(268)]="",this[t(250)][t(287)]=null}[Rt(267)](t){const e=Rt,i=new pt.LabeledFieldView(this[e(273)],pt.createLabeledInputText),s=i[e(289)];s[e(260)]({attributes:{maxlength:e(283)}});let n=X(this[e(273)],e(245));return!t&&(n+=" ("+X(this[e(273)],e(254))+")"),i[e(255)]=n,s.on(e(269),(()=>{const t=e;this[t(286)]=s[t(278)][t(268)][t(264)]()})),i}}const Dt=Ft;function Ct(){const t=["view","isPremiumPlugin","RevisionTracker","menu","errorText","Revision history","submit","_showDialog","saveRevision","hide","add","ck-button-action","role","3318990xWDEda","2398284FCavJM","6862LdbRZj","componentFactory","The revision name cannot be empty.","_registerMenuComponent","config","_saveRevisionFormView","isOpen","get","menuitem","plugins","Cancel","298tTicSd","execute","revisionHistory","isOfficialPlugin","Save current revision","delegate","init","760pOOJnu","isReady","Accept","bind","22700SBiaez","RevisionHistoryUI","Dialog","panelView","focus","menuBar:revisionHistory","revisionSave","children","addMany","revisionNameInputView","locale","requires","editing","buttonView","7776981gzarcr","isReadOnly","isEnabled","reset","21962870ERZTng","set","_createSaveRevisionFormView","3787IyYesm","render","show","Open revision history","pluginName","16776entrtB","showRevisionViewerCallback","editor","revisionHistory.requireRevisionName","revisionName","items"];return(Ct=function(){return t})()}function Ft(t,e){const i=Ct();return(Ft=function(t,e){return i[t-=398]})(t,e)}!function(t){const e=Ft,i=t();for(;;)try{if(576695===parseInt(e(440))/1*(parseInt(e(429))/2)+-parseInt(e(427))/3+parseInt(e(447))/4*(parseInt(e(451))/5)+-parseInt(e(428))/6+-parseInt(e(403))/7*(parseInt(e(408))/8)+-parseInt(e(465))/9+parseInt(e(400))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ct);class Pt extends U.Plugin{static get[Dt(407)](){return Dt(452)}static get[Dt(443)](){return!0}static get[Dt(415)](){return!0}static get[Dt(462)](){return[ct]}[Dt(434)];[Dt(446)](){const t=Dt,e=this[t(410)],i=e[t(438)][t(436)](t(416));e.ui[t(430)][t(424)](t(442),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(454)][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(450)](n(398)).to(i,n(448),i,n(398),e,n(466),((t,e,i)=>t&&e&&!i)),r[n(464)][n(401)]({icon:mt.IconHistory,label:X(s,n(419)),tooltip:!0}),u[n(401)]({label:X(s,n(444)),withText:!0,role:n(437)}),u[n(450)](n(398)).to(i,n(448),i,n(398),e,n(466),((t,e,i)=>t&&e&&!i)),u.on(n(441),(()=>this[n(421)]())),h[n(401)]({label:X(s,n(406)),withText:!0,role:n(437)}),h[n(450)](n(398)).to(i,n(448),e,n(466),((t,e)=>t&&!e)),h.on(n(441),(()=>{const t=n;e[t(433)][t(436)](t(442))[t(409)](),r[t(435)]=!1,e[t(463)][t(414)][t(455)]()})),c[n(458)][n(424)](u),l[n(458)][n(424)](h),a[n(426)]=n(417),a[n(413)][n(459)]([c,l]),o[n(424)](a),r})),e.ui[t(430)][t(424)](t(456),(()=>this[t(432)]()))}[Dt(432)](){const t=Dt,e=this[t(410)],i=e[t(461)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(464)][t(401)]({icon:mt.IconHistory,label:X(i,t(419))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(401)]({label:X(i,t(444))}),o[t(445)](t(441)).to(s),o.on(t(441),(()=>{this[t(421)]()})),r[t(458)][t(424)](o),n[t(413)][t(424)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(401)]({label:X(i,t(406))}),c[t(445)](t(441)).to(s),c.on(t(441),(()=>{const i=t;e[i(433)][i(436)](i(442))[i(409)]()})),a[t(458)][t(424)](c),n[t(413)][t(424)](a),s[t(454)][t(458)][t(424)](n),s}[Dt(421)](){const t=Dt,e=this[t(410)],i=e[t(461)],s=e[t(438)][t(436)](t(453)),n=e[t(438)][t(436)](t(416));function r(n){const r=t;e[r(433)][r(436)](r(411))&&""===n[r(412)]?n[r(460)][r(418)]=X(i,r(431)):(e[r(438)][r(436)](ct)[r(422)]({name:n[r(412)]}),s[r(423)]())}this[t(434)]||(this[t(402)](),this[t(434)].on(t(420),(()=>r(this[t(434)])))),this[t(434)][t(399)](),s[t(405)]({id:t(457),title:X(i,t(444)),isModal:!0,content:this[t(434)],actionButtons:[{label:X(e[t(461)],t(439)),withText:!0,onExecute:()=>s[t(423)]()},{label:X(e[t(461)],t(449)),class:t(425),withText:!0,onCreate(i){const s=t;i[s(450)](s(398)).to(n,s(448),n,s(398),e,s(466),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(434)])}]})}[Dt(402)](){const t=Dt,e=this[t(410)],i=e[t(461)];this[t(434)]=new Vt(i,e[t(433)][t(436)](t(411))),this[t(434)][t(404)]()}}function jt(){const t=["2012yEgwMc","changeId","101852QTPvTe","1219100aHrqiF","isSuggestion","ck-revision-change","1003544kqmMWN","focus","type","ck-revision-change__","1646127hiJlkq","Added by","249kKcJGK","element","14682hcAloR","author","setTemplate","bindTemplate","span","ck-annotation","Suggested by","Removed by","483ovRpIY","add","_model","528280CRknfj","div","name","set","data","ck-revision-change__label"];return(jt=function(){return t})()}const Lt=Wt;function Wt(t,e){const i=jt();return(Wt=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(138056===-parseInt(e(502))/1+parseInt(e(525))/2+parseInt(e(512))/3*(-parseInt(e(500))/4)+parseInt(e(503))/5+parseInt(e(514))/6*(-parseInt(e(522))/7)+parseInt(e(506))/8+-parseInt(e(510))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends pt.View{[Lt(501)];[Lt(524)];constructor(t,e){const i=Lt;super(t),this[i(524)]=e,this[i(501)]=e.id;const s=this[i(517)],n=X(t,e[i(498)][i(504)]?i(520):i(523)==e[i(508)]?i(511):i(521));this[i(497)](i(508),e[i(508)]),this[i(516)]({tag:i(526),attributes:{class:[i(519),i(505),s.to(i(508),(t=>i(509)+t))],tabindex:-1},children:[{tag:i(518),children:[{tag:i(518),attributes:{class:[i(499)]},children:[{text:n}]},{text:" "+e[i(515)][i(496)]}]}]})}[Lt(507)](){const t=Lt;this[t(513)][t(507)]()}}var Ut=Ht;function Ht(t,e){var i=Zt();return(Ht=function(t,e){return i[t-=441]})(t,e)}function Zt(){var t=["createdAt","5786088pOVGMB","655205yxaZnl","8lcGFrJ","set","rootName","toJSON","author","type","71646fMydBr","data","390CzPGox","6bPDSBI","112sOGsYi","1063022nspVET","168949bqifyH","7894881BxWfBF","125785GaGgzP"];return(Zt=function(){return t})()}!function(t){for(var e=Ht,i=t();;)try{if(517697===-parseInt(e(457))/1+parseInt(e(454))/2+parseInt(e(449))/3*(-parseInt(e(453))/4)+parseInt(e(442))/5*(parseInt(e(452))/6)+-parseInt(e(441))/7+-parseInt(e(443))/8*(-parseInt(e(456))/9)+parseInt(e(451))/10*(parseInt(e(455))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends((0,t.ObservableMixin)()){id;[Ut(447)];[Ut(448)];[Ut(450)];[Ut(445)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(447)]=e[i(447)],this[i(448)]=e[i(448)],this[i(450)]=e[i(450)]||{},this[i(445)]=e[i(445)],this[i(444)](i(458),e[i(458)])}[Ut(446)](){var t=Ut;return{id:this.id,authorId:this[t(447)].id,type:this[t(448)],data:this[t(450)],createdAt:this[t(458)]}}}const $t=Yt;!function(t){const e=Yt,i=t();for(;;)try{if(833246===-parseInt(e(259))/1+-parseInt(e(265))/2*(-parseInt(e(253))/3)+-parseInt(e(266))/4+parseInt(e(264))/5*(-parseInt(e(262))/6)+parseInt(e(260))/7+-parseInt(e(256))/8+parseInt(e(255))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Bt{[$t(263)];[$t(257)];[$t(258)];constructor(e,i){const s=$t;this[s(263)]=e,this[s(257)]=i,this[s(258)]=new t.Collection}[$t(254)](t){const e=$t;for(const i of t)this[e(258)][e(261)](i)}}function Yt(t,e){const i=Gt();return(Yt=function(t,e){return i[t-=253]})(t,e)}function Gt(){const t=["oldRevisionId","changes","6209aKbNAx","1776922bcbtkO","add","60ykhHqT","newRevisionId","320830gSjZFi","403226YvutQj","3187676dxzCRP","15xsGmeb","_setChanges","21149802wAgxJN","10670840UMozws"];return(Gt=function(){return t})()}var Jt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Jt.A,Kt);Jt.A&&Jt.A.locals&&Jt.A.locals;const Qt=ee;function Xt(){const t=["_cleanMarkers","markersEnd","_initInteractions","addRevision","RevisionsRepository","removeClass","isAtStart","wrap","affectsData","RevisionViewer","concat","userId","enableReadOnlyMode","isNavigationMode","item","markerRange","return","WidgetToolbarRepository","suggestion:","refresh","removeMarker:revision","findIndex","pluginName","nodeAfter","markerName","changeId","destroy","change:numberOfChanges","downcastDispatcher","getChild","createRevision","addRevisionData","reconvertMarker","add","mapper","deletions","currentChangeNumber","startIndex","bindElementToMarker","nextPosition","rootName","-new","markers","activeChange","commands","_processTape","observeMarkers","getRootNames","change:isEnabled","next","getDomRoot","isBlock","insertions","updatePosition","authors","level","revision-comment:","isInline","oldRevisionId","unshift","error","unbindElementFromMarkerName","getRevisionRootsAttributes","target","removeMarker:revision-suggestion","revisionHistoryLabel","isRemoveSuggestion","getLaterVisibleRevision","hasAttribute","_refreshStartEndIndex","getCustomProperty","compare","revisionHistoryAttachChange","type","merge","done","conversion","uiElement","isEqual","240DjbOvQ","left","_data","distance","addClass","consume","end","offsetSize","element","133445cYSKVU","ck-revision-history-root-add","restoreRevision","listenTo","getWalker","range","locale","from","changes","POSITIVE_INFINITY","getAttribute","_activeViewTarget","pairId","startsWith","attribute:vid","bind","execute","keys","_getChangeFromId","parent","dataToMarker","bottom","_markInsertions","mousedown","isEnabled","showStack","addMarker:revision-suggestion:deletion","checkAttribute","getItems","change:isReady","right","739503FQGOrb","values","_getDiff","split","isAdded","sort","adapter","ck-suggestion-marker","insert","remove","mouseover","isCollapsed","showNextChange","_markMarkers","isOfficialPlugin","_balloon","previousPosition","isAtEnd","data","hasClass","length","upcast","revision","14072067WxYZqw","change:activeChange","view","resolve","_removeUnsupportedChanges","removeMarker","ck-suggestion-marker-merge","has","push","11694770MdQUId","domConverter","elementEnd","ck-suggestion-preview-marker","_getRevisionsRange","ck-suggestion-marker--active","for","splice","repository","indexOf","getAttributes","activeView","_makeModelFromViewString","ck-editor__editable__overlay","attributes","_sortAndFilterDiffChanges","_setConversion","addHighlight","get","attributesBefore","numberOfChanges","_markSuggestions","filter","_changeIdToChange","attachChange","model","elementStart","consumable","forward","delete","name","revision-suggestion","ck-revision-history-root--active","abs","addMarker:revision","_findChangeIdFromDomTarget","side","viewItem","isIncorrect","enqueueChange","ck-suggestion-preview-marker-","ck-suggestion-marker-","schema","catch","newRevisionId","toViewRange","3984036WcWYkE","change","softBreak","plugins","_threeWayMerge","attributesAfter","mapViewToDom","toViewElement","then","loadRevisionData","text","createPositionBefore","forceDisabled","stop","set","_makeModelFromTape","isRemoved","addMarker:revision-suggestion:insertion","isBefore","top","showPreviousChange","2FxGPqY","change:activeView","elementToAttribute","forEach","_utils","diffData","ck-revision-history-root-","_setChanges","1261768sMfvKO","slice","span","shift","editor","isAttached","start","isOnRoot","revision:","_joinTapes","vid_end","restoreRevisionCallback","markerNameToElements","all","isAddSuggestion","nextSibling","vid","1981041prMpQF","ck-suggestion-marker-split","roots","toViewPosition","isPremiumPlugin","comment","isLimit","element:pre","test","requires","domEvent","getClientRects","_makeTape","getIndex","revision-suggestion:","writer","highest","detachRoot","low","revision-viewer","_revisions","map","insertion","_setDistance","createUIElement","RevisionHistoryUtils","_step","_removeMissingPairs","index","maxOffset","isSuggestion","backward","addRoot","code","revisionHistory","markerToData","_fixObsoleteTags","_cleanUp","_changeView","find","7nufRZH","ck-revision-history-root-remove","getRevisionDocumentData","markerToHighlight","config","vid_start","deletion","createRangeIn","flat","createAttributeElement","removeAttribute","_getViewForChange","editing","endIndex","createRange","high","modelRange","diff","first","isObject","markersStart","_update","editingDowncast","string","_appendChild","clear","data-change-id","object","pop","isReady","document","dataDowncast","createPositionFromPath","getRoot","getRevision","suggestion","includes","selection","setAttribute","isContent","init","isAfter","_markMismatchedRemovedTags"];return(Xt=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(888100===parseInt(e(628))/1+parseInt(e(401))/2*(parseInt(e(426))/3)+parseInt(e(380))/4+parseInt(e(597))/5*(parseInt(e(588))/6)+-parseInt(e(466))/7*(-parseInt(e(409))/8)+-parseInt(e(651))/9+-parseInt(e(660))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class te extends U.Plugin{[Qt(342)];[Qt(634)]=null;[Qt(405)];[Qt(608)];[Qt(464)];[Qt(357)];[Qt(643)];static get[Qt(531)](){return Qt(518)}static get[Qt(642)](){return!0}static get[Qt(430)](){return!0}static get[Qt(435)](){return[H.Users,pt.ContextualBalloon,Y,K]}constructor(t){const e=Qt;super(t),this[e(342)]=this[e(413)][e(383)][e(352)](e(513)),this[e(405)]=this[e(413)][e(383)][e(352)](e(451)),this[e(394)](e(552),null),this[e(394)](e(345),null),this[e(608)]=null,this[e(394)](e(483),null),this[e(394)](e(495),!1),this[e(394)](e(621),!0),this.on(e(557),((t,i,s)=>{const n=e;this[n(552)]=null,this[n(345)]=null,this[n(413)][n(478)][n(653)][n(381)]((t=>{const e=n;for(const i of this[e(413)][e(478)][e(653)][e(496)][e(428)])s?t[e(514)](e(347),i):t[e(592)](e(347),i)}))})),this[e(612)](e(522)).to(this,e(552),(t=>null!==t)),this[e(612)](e(545)).to(this,e(495),this,e(483),this,e(552),((t,i,s)=>t&&s?i[e(605)][e(439)](s):0)),this[e(612)](e(354)).to(this,e(495),this,e(483),((t,i)=>t?i[e(605)][e(648)]:0)),this[e(464)]=null,this[e(357)]=new Map,this[e(643)]=this[e(413)][e(383)][e(352)](pt.ContextualBalloon)}[Qt(506)](){const t=Qt,e=this[t(413)],i=new ne(e,{direction:t(457)}),s=new ne(e,{direction:t(362)});e[t(553)][t(542)](t(400),i),e[t(553)][t(542)](t(640),s),e[t(553)][t(542)](t(599),new se(e)),this.on(t(536),(()=>{const e=t;i[e(528)](),s[e(528)]()})),this[t(350)](),this[t(511)](),e[t(521)](t(445)),e[t(383)][t(658)](t(526))&&e[t(383)][t(352)](t(526))[t(392)](t(445))}async[Qt(468)](t){const e=Qt;return await this[e(405)][e(389)](t,this[e(634)]),this[e(405)][e(468)](t)}async[Qt(571)](t){const e=Qt;return await this[e(405)][e(389)](t,this[e(634)]),this[e(405)][e(571)](t)}async[Qt(580)](t,e,i=!1){const s=Qt;if(!this[s(621)])return;const n=this[s(483)],r=this[s(342)],o=s(489)==typeof t?r[s(500)](t):t,a=s(489)==typeof e?r[s(500)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(483)]&&this[s(483)][s(378)]===c&&this[s(483)][s(567)]===u)return Promise[s(654)]();this[s(495)]=!1,this[s(345)]=null,this[s(552)]=null,this[s(483)]=new Bt(c,u);const l=this[s(664)](o,a,!0)[s(447)]((t=>this[s(405)][s(389)](t,this[s(634)])));return l[s(659)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(422)](l)[s(388)]((()=>{const t=s;if(!this[t(621)])return;this[t(463)]();const e=this[t(630)](c,u);for(const i of e[t(605)])this[t(357)][t(394)](i.id,i);this[t(413)][t(359)][t(373)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(413)][s(359)][s(496)][s(556)]())i[s(443)](t);for(const t of Object[s(614)](e[s(359)])){const n=i[s(458)](t);for(const r of Object[s(614)](e[s(348)][t]))i[s(504)](r,e[s(348)][t][r],n);i[s(636)](e[s(359)][t],n,0)}})),this[t(483)][t(408)](this[t(349)](e[t(605)])),this[t(495)]=!0}))[s(377)]((t=>{const e=s;console[e(569)](t),this[e(463)](),n&&(this[e(483)]=n),this[e(495)]=!0}))}[Qt(540)](t,e){const i=Qt,s=this[i(342)][i(539)](t);return s.on(i(487),((t,i,n)=>e(i,n,s))),this[i(342)][i(512)](s),s}[Qt(463)](){const t=Qt;this[t(552)]=null,this[t(509)](),this[t(464)]&&this[t(464)][t(535)](),this[t(464)]=null,this[t(357)][t(491)](),this[t(413)][t(359)][t(373)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(413)][i(359)][i(496)][i(556)]())e[i(443)](t)}))}[Qt(349)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(413)][e(359)][e(496)][e(556)]()){const n=this[e(413)][e(478)][e(653)][e(559)](t);if(!n)continue;const r=n[e(437)]()[e(523)](0);r&&(i[e(659)](t),s[e(394)](t,r))}return i[e(633)](((t,i)=>{const n=e,r=s[n(352)](t),o=s[n(352)](i);return r.y-o.y||r.x-o.x})),(t=t[e(356)]((t=>i[e(502)](t[e(549)]))))[e(633)](((t,s)=>i[e(343)](t[e(549)])-i[e(343)](s[e(549)]))),t}[Qt(438)](t){const e=Qt,i=Array[e(604)](t[e(551)])[e(356)]((([t,i])=>t[e(610)](e(417))&&!i[e(639)])),s=Array[e(604)](this[e(413)][e(359)][e(473)](t)[e(601)]({singleCharacters:!0}));if(0!=i[e(648)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(631)](":");if(n[e(594)][e(587)](t[e(548)])&&i[e(412)](),(t[e(644)][e(587)](n[e(415)])||t[e(644)][e(507)](n[e(415)]))&&(e(448)==r?t[e(632)]={userId:o}:e(472)==r&&(t[e(396)]={userId:o})),0==i[e(648)])break}return s}[Qt(578)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(648)];s++)e(390)===t[s][e(582)]?(t[s][e(523)][e(546)]=s,t[s][e(523)][e(479)]=s):(e(360)===t[s][e(582)]?t[s][e(523)][e(546)]=s:e(662)===t[s][e(582)]&&(t[s][e(523)][e(479)]=s),i[e(394)](t[s].id,s));for(const s of i[e(629)]())e(360)===t[s][e(582)]?t[s][e(523)][e(479)]=i[e(352)](t[s][e(609)]):e(662)===t[s][e(582)]&&(t[s][e(523)][e(546)]=i[e(352)](t[s][e(609)]))}[Qt(554)](t){const e=Qt;for(let i=0;i<t[e(648)];i++){if(e(360)===t[i][e(582)])t[i][e(523)][e(546)]=i;else if(e(662)===t[i][e(582)]){t[i][e(523)][e(479)]=i;const s=t[i][e(523)][e(546)];t[s][e(609)]=t[i].id,t[i][e(609)]=t[s].id}else t[i][e(523)][e(546)]=i,t[i][e(523)][e(479)]=i,t[i][e(609)]=null;t[i][e(486)]||(t[i][e(486)]=[],t[i][e(510)]=[])}}[Qt(619)](t,e){const i=Qt,s=t[i(356)]((t=>!t[i(632)]));for(let t=0;t<e[i(648)];t++)e[t][i(632)]&&(s[t][i(632)]=e[t][i(632)])}[Qt(630)](t,e=null){const i=Qt,s=this[i(342)][i(500)](t),n=e?this[i(342)][i(500)](e):null,r=this[i(664)](s,n),o=r[r[i(648)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(648)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(614)](e[i(406)]))if(e[i(406)][t][i(358)]){const s=e[i(406)][t][i(358)];s[i(414)]?(u[i(542)](t),l[i(658)](t)&&l[i(352)](t)[i(520)]==s[i(520)]?l[i(363)](t):l[i(394)](t,s)):l[i(658)](t)?(u[i(363)](t),l[i(363)](t)):(u[i(542)](t),l[i(394)](t,s))}else u[i(542)](t)}for(const t of u){const e=l[i(658)](t)&&!l[i(352)](t)[i(414)];let s=e?r[i(648)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(406)][t]){const s=e?o[i(406)][t][i(353)]:o[i(406)][t][i(385)];c[i(348)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(359)]={};for(const e of t[i(563)])a[i(394)](e.id,e);for(const e of u){const s=t[i(406)][e]?t[i(406)][e][i(561)]:"[]",n=t[i(406)][e]?t[i(406)][e][i(544)]:"[]";t[i(359)][e]={insertions:this[i(405)][i(346)](s),deletions:this[i(405)][i(346)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(604)](s[i(359)][t][i(561)][i(551)])[i(356)]((([t])=>!t[i(610)](i(417)))));let h=0;for(const o of r){const r=this[i(438)](o[i(359)][t][i(561)]);o==s?(e=r,n=e[i(648)],e[i(404)]((t=>{t.id=h++})),this[i(554)](e)):this[i(619)](e,r);const a=e[i(356)]((t=>!t[i(632)]))[i(447)]((t=>t.id));let c=0;const l=this[i(438)](o[i(359)][t][i(544)]);l[i(404)]((t=>{t[i(396)]?t.id=n++:t.id=a[c++]})),this[i(554)](l),this[i(449)](e,i(632)),this[i(449)](l,i(396)),o==s&&this[i(641)](e,u),e=this[i(418)](e,l),this[i(578)](e),this[i(449)](e,i(396))}e=e[i(356)]((t=>!(t[i(632)]&&t[i(396)])));const d=new Map(o[i(359)][t][i(544)][i(551)]),f=new Set(u[i(614)]());for(const t of d[i(614)]())f[i(363)](t);this[i(355)](e,f),this[i(462)](e),e=this[i(453)](e),e=this[i(508)](e),e=this[i(655)](e);const{root:m,changes:p}=this[i(395)](e,a,t);c[i(359)][t]=m;const v=l[i(352)](t);if(v){const e=a[i(352)](v[i(520)]),s=new qt({author:e,type:v[i(414)]?i(542):i(637),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(568)](s),c[i(348)][t][i(581)]=s.id}c[i(605)]=c[i(605)][i(519)](p)}return c}[Qt(641)](t,e){const i=Qt;for(let s=0;s<t[i(648)];s++)for(const[n,r]of e)!r[i(639)]&&r[i(415)][i(587)](t[s][i(644)])&&t[s][i(486)][i(659)](n),r[i(594)][i(587)](t[s][i(548)])&&t[s][i(510)][i(659)](n)}[Qt(418)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(648)]||r<e[i(648)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(659)](o);else if(a[i(396)]&&o[i(632)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(384)](t,n,e,r);s=s[i(519)](o),n=a,r=c}else a[i(396)]?(r++,s[i(659)](a)):(n++,s[i(659)](o))}return s}[Qt(355)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(648)];o++){for(let r=0;r<t[o][i(486)][i(648)];r++){const a=t[o][i(486)][r];if(!e[i(658)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(365)!=c||i(448)!=u&&i(472)!=u||(s[i(568)]({type:u,name:a,userId:l}),t[o][i(486)][i(667)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(510)][i(648)];r++){const a=t[o][i(510)][r];if(!e[i(658)](a))continue;const{group:c,type:u}=n(a);if(i(365)!=c||i(448)!=u&&i(472)!=u)continue;t[o][i(510)][i(667)](r,1),r--;const l=s[i(530)]((t=>t[i(364)]==a));l>-1&&s[i(667)](l,1)}}function n(t){const e=i,s=t[e(631)](":");return{group:s[0],type:s[1],subType:s[e(648)]>=5?s[2]:null,id:s[e(648)]<5?s[2]:s[3],authorId:s[e(648)]<5?s[3]:s[4],markerCount:6==s[e(648)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(648)];i++){if(t[e(632)]&&e(448)==s[i][e(582)])return t[e(423)]=s[i],void delete t[e(632)];if(!t[e(632)]&&!t[e(396)]&&e(472)==s[i][e(582)])return void(t[e(575)]=s[i])}}}[Qt(449)](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(394)](o.id,s);for(let s=0;s<t[i(648)];s++){if(i(396)==e&&t[s][i(632)]||i(632)==e&&t[s][i(396)])continue;if(i(390)==t[s][i(582)]){t[s][i(591)]=0;continue}const n=r[i(352)](t[s][i(609)]),o=r[i(352)](t[s].id);t[s][i(591)]=n-o}}[Qt(664)](t,e,i=!1){const s=Qt,n=[];let r=this[s(342)][s(439)](t),o=this[s(342)][s(439)](e);for(-1==o&&(o=this[s(342)][s(446)][s(648)],i=!1);r<o;)n[s(659)](this[s(342)][s(500)](r)),r++;return i&&n[s(659)](this[s(342)][s(500)](r)),n}[Qt(384)](t,e,i,s){const n=Qt,r=this[n(413)][n(359)][n(376)];let o=e;for(;t[o]&&t[o][n(632)];)o++;let a=s;for(;i[a]&&i[a][n(396)];)a++;u(t,e,o),u(i,s,a);const c=i[n(410)](s,a)[n(519)](t[n(410)](e,o));return c[n(633)](((t,e)=>t[n(370)]!=e[n(370)]?t[n(370)]-e[n(370)]:t[n(564)]!=e[n(564)]?t[n(564)]-e[n(564)]:t[n(591)]!=e[n(591)]?e[n(591)]-t[n(591)]:!!t[n(632)]!=!!e[n(632)]?-1==t[n(370)]||0==t[n(370)]?t[n(632)]?-1:1:t[n(632)]?1:-1:t[n(454)]-e[n(454)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(606)],c=!0;for(let n=e;n<i;n++)if(r[s(566)](t[n][s(523)])||(c=!1),t[n][s(523)][s(546)]<e&&(o=n),t[n][s(523)][s(479)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(370)]=n<=o?-1:n<a?0:1,t[n][s(454)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(591)]?t[i][s(564)]=u:(u++,t[i][s(564)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(370)]&&(t[n][s(564)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(591)]?t[e][s(564)]=u:(u--,t[e][s(564)]=u,u--)}}[Qt(462)](t){const e=Qt,i=new Map,s=this[e(413)][e(359)][e(376)];for(let n=1;n<t[e(648)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(390)==c[e(582)])continue;if(c[e(582)]!=u[e(582)])continue;if(!s[e(560)](u[e(523)])||s[e(432)](u[e(523)]))continue;if(!s[e(560)](c[e(523)])||s[e(432)](c[e(523)]))continue;if((t[n][e(632)]||t[n][e(423)])&&t[n-1][e(396)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(396)]||!t[n-1][e(632)]&&!t[n-1][e(423)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(564)]==o[e(564)],h=Math[e(367)](r[e(564)])<Math[e(367)](o[e(564)])&&0==o[e(591)];(l||h)&&(i[e(394)](o.id,r.id),t[e(667)](a,1),n--,r[e(632)]=!1)}for(let s=0;s<t[e(648)];s++)i[e(658)](t[s][e(609)])&&(t[s][e(609)]=i[e(352)](t[s][e(609)]))}[Qt(453)](t){const e=Qt,i=new Set(t[e(447)]((t=>t.id)));for(let s=0;s<t[e(648)];s++)i[e(658)](t[s][e(609)])||0==t[s][e(591)]||(t[s][e(372)]=!0);return t[e(356)]((t=>!t[e(372)]))}[Qt(508)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(648)];s++){if(i[e(658)](t[s].id)&&t[s][e(396)]&&(t[s][e(372)]=!0),t[s][e(372)])continue;if(0==t[s][e(591)])continue;if(e(360)!=t[s][e(582)])continue;if(null==t[s][e(609)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(609)];)e(360)==t[n][e(582)]?r++:e(662)==t[n][e(582)]&&r--,n++;if(0!=r)if(t[s][e(396)])t[s][e(372)]=!0;else for(;n!=s;)t[n][e(396)]&&0!=t[n][e(591)]&&(t[n][e(372)]=!0,i[e(542)](t[n][e(609)])),n--}return t[e(356)]((t=>!t[e(372)]))}[Qt(655)](t){const e=Qt,i=this[e(413)][e(359)][e(376)];for(let s=0;s<t[e(648)];s++){if(!(t[s][e(632)]||t[s][e(423)]||t[s][e(396)]||t[s][e(575)]))continue;if(0==t[s][e(591)])continue;const n=t[s][e(523)];i[e(560)](n)||i[e(432)](n)||(t[s][e(632)]&&delete t[s][e(632)],t[s][e(423)]&&delete t[s][e(423)],t[s][e(575)]&&delete t[s][e(575)],t[s][e(396)]&&(t[s][e(372)]=!0))}return t[e(356)]((t=>!t[e(372)]))}[Qt(395)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(413)][s(359)],c=a[s(376)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(648)];e++)if(s(360)===t[e][s(582)]){t[e][s(644)]=a[s(498)](n,f);const i=new Z.Element(t[e][s(523)][s(364)],t[e][s(523)][s(344)]());u[0][s(490)](i),f[s(659)](0),u[s(568)](i),t[e][s(548)]=a[s(498)](n,f)}else s(662)===t[e][s(582)]?(u[s(412)](),t[e][s(644)]=a[s(498)](n,f),f[s(494)](),f[f[s(648)]-1]++,t[e][s(548)]=a[s(498)](n,f)):(t[e][s(644)]=a[s(498)](n,f),d?d[s(590)]+=t[e][s(523)][s(646)]:d=new Z.Text(t[e][s(523)][s(646)],t[e][s(523)][s(344)]()),t[e+1]&&s(390)===t[e+1][s(582)]&&v(d,t[e+1][s(523)])||(u[0][s(490)](d),d=null),f[f[s(648)]-1]+=t[e][s(523)][s(595)],t[e][s(548)]=a[s(498)](n,f));for(let e=0;e<t[s(648)];e++){const i=t[e][s(644)],n=t[e][s(548)];for(const n of t[e][s(486)])o[s(394)](n,{start:i,end:null});m(s(575),e,i,n),m(s(423),e,i,n),m(s(396),e,i,n),m(s(632),e,i,n);for(const i of t[e][s(510)]){const t=o[s(352)](i);t?t[s(594)]=n:o[s(394)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(413)][s(359)][s(480)](e[s(415)],e[s(594)]);n[s(551)][s(394)](t,i)}return r[s(633)](((t,e)=>{const i=s,r=n[i(551)][i(352)](i(417)+t.id),o=n[i(551)][i(352)](i(417)+e.id);return r[i(415)][i(398)](o[i(415)])?-1:r[i(415)][i(507)](o[i(415)])?1:r[i(594)][i(398)](o[i(594)])?-1:r[i(594)][i(507)](o[i(594)])?1:i(542)===t[i(582)]?-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(520)]:null,d=i===t[o(648)]-1,f=h[e][0],m=c[o(485)](t[i][o(523)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(594)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(520)]!==u&&(l[e][o(594)]=n,f&&f[o(520)]===l[e][o(520)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(360)!==t[i][o(582)]||f&&f[o(520)]===u||h[e][o(568)]({userId:u,object:t[i][o(523)],change:l[e]}),o(662)===t[i][o(582)]&&f&&f[o(493)]===t[i][o(523)]&&(h[e][o(412)](),l[e]=f[o(381)])),l[e]&&d&&(l[e][o(594)]=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(523)],f=a[h(376)][h(560)](d)&&!a[h(376)][h(432)](d),m=t[h(532)]==o[h(616)]&&o[h(515)];if(f&&m)return;const p=a[h(480)](t,o),v=e[h(352)](u),g=new qt({author:v,type:h(632)==l||h(423)==l?h(542):h(637),data:{isSuggestion:h(423)==l||h(575)==l},createdAt:new Date,rootName:i});r[h(659)](g),n[h(551)][h(394)](h(417)+g.id,p)}function v(t,e){const i=s,n=t[i(344)](),r=e[i(344)]();for(const t of n){if(t[1]!==e[i(607)](t[0]))return!1;r[i(558)]()}return r[i(558)]()[i(584)]}}[Qt(350)](){const t=Qt;this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(650)}),this[t(413)][t(585)][t(666)](t(488))[t(469)]({model:t(650),view:e=>{const i=t,s=e[i(533)][i(631)](":")[1],n=this[i(615)](s);if(!n)return null;const r=i(542)==n[i(582)]?i(448):i(472),o=[i(635),i(375)+r];return n[i(646)][i(456)]&&o[i(659)](i(375)+r+i(550)),this[i(552)]==n&&o[i(659)](i(665)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(413)][t(585)][t(666)](t(649))[t(542)]((e=>{const i=t;e.on(i(433),((t,e,s)=>{const n=i,r=e[n(371)][n(538)](0);if(!r||!r.is(n(596),n(459)))return;if(!s[n(361)][n(593)](r,{attributes:[n(471),n(419)]}))return;const o=e[n(482)][n(415)][n(532)];s[n(441)][n(504)](n(471),r[n(607)](n(471)),o),s[n(441)][n(504)](n(419),r[n(607)](n(419)),o)}),{priority:i(444)})})),this[t(413)][t(585)][t(666)](t(649))[t(542)]((e=>{const i=t;e.on(i(596),((t,e,s)=>{const n=i;if(!s[n(361)][n(593)](e[n(371)],{attributes:[n(471),n(419)]}))return;if(e[n(482)][n(639)])return;const r=e[n(482)][n(415)][n(532)];r[n(577)](n(471))||r[n(577)](n(425))||(s[n(441)][n(504)](n(471),e[n(371)][n(607)](n(471)),r),s[n(441)][n(504)](n(419),e[n(371)][n(607)](n(419)),r))}),{priority:i(444)})})),this[t(413)][t(585)][t(666)](t(649))[t(403)]({view:{name:t(411),attributes:{vid:!0}},model:{key:t(425),value:e=>e[t(607)](t(425))}}),this[t(413)][t(359)][t(376)].on(t(624),((e,[,i])=>{const s=t;[s(471),s(419),s(425)][s(502)](i)&&(e[s(525)]=!0,e[s(393)]())}),{priority:t(442)}),this[t(413)][t(585)][t(666)](t(497))[t(542)]((e=>{const i=t;e.on(i(611),((t,e,s)=>{const n=i;if(" "!=e[n(523)][n(646)]||e[n(523)][n(616)][n(455)]>1)return;if(!s[n(361)][n(593)](e[n(523)],t[n(364)]))return;const r=s[n(441)],o=s[n(543)][n(379)](e[n(602)]);r[n(516)](o,r[n(475)](n(411)))}))})),this[t(413)][t(585)][t(666)](t(497))[t(461)]({model:t(650)}),this[t(413)][t(478)][t(537)].on(t(368),function(e){const i=t,s=e[i(383)][i(352)](i(518));return(t,n,r)=>{const o=i,a=n[o(533)][o(631)](":")[1],c=s[o(615)](a);if(!c)return null;const u=o(542)==c[o(582)]?o(631):o(583);if(!r[o(361)][o(434)](n[o(524)],t[o(364)]))return;const l=n[o(524)][o(601)](),h=n[o(524)][o(415)],d=e[o(359)][o(376)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(523)];p=p||d[o(505)](e);const i=r[o(543)][o(387)](e);if(i&&i[o(579)](o(351)))return;o(662)==t[o(582)]&&d[o(560)](e)&&!d[o(432)](e)&&(e[o(424)]||h[o(645)]?f&&f[o(616)]==e||(f=e,g(t[o(644)]),v=!0):m=m||t[o(644)])}function g(t){const e=o,i=r[e(441)][e(450)](e(411),{class:e(375)+u}),a=r[e(543)][e(429)](t);c[e(646)][e(456)]&&r[e(441)][e(592)](e(375)+u+e(550),i),s[e(552)]==c&&r[e(441)][e(592)](e(665),i),r[e(441)][e(636)](a,i),r[e(543)][e(547)](i,n[e(533)])}p||v||!m||g(m)}}(this[t(413)]),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(529),((e,i,s)=>{const n=t,r=s[n(543)][n(421)](i[n(533)]);if(r)for(const t of r)(t[n(647)](n(427))||t[n(647)](n(657)))&&(s[n(543)][n(570)](t,i[n(533)]),s[n(441)][n(637)](t))}),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(368),((e,i,s)=>{const n=t,r=i[n(533)][n(631)](":")[1],o=this[n(615)](r);if(!o)return null;const a=n(542)==o[n(582)]?n(631):n(583);if(s[n(361)][n(434)](i[n(524)],e[n(364)]))for(const t of i[n(524)][n(625)]()){if(!t.is(n(596),n(382)))continue;const e=s[n(441)][n(450)](n(411),{class:n(375)+a}),r=s[n(543)][n(429)](this[n(413)][n(359)][n(391)](t));o[n(646)][n(456)]&&s[n(441)][n(592)](n(375)+a+n(550),e),this[n(552)]==o&&s[n(441)][n(592)](n(665),e),s[n(441)][n(636)](r,e),s[n(543)][n(547)](e,i[n(533)])}}),{priority:t(481)}),this[t(413)][t(359)][t(496)].on(t(381),(()=>{const e=t;this[e(413)][e(478)][e(653)][e(381)]((t=>{const i=e;for(const e of this[i(413)][i(359)][i(496)][i(556)]()){const s=this[i(413)][i(359)][i(496)][i(499)](e),n=this[i(413)][i(478)][i(653)][i(496)][i(499)](e);if(n){const e=s[i(607)](i(581));if(t[i(476)](i(492),n),t[i(514)](i(598),n),t[i(514)](i(467),n),t[i(514)](i(366),n),e){const s=this[i(615)](e);if(!s)return null;t[i(504)](i(492),e,n),t[i(592)](i(407)+s[i(582)],n),this[i(552)]==s&&t[i(592)](i(366),n)}}}}))})),this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(431),model:e=>t(565)+e,converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(649))[t(617)]({view:t(501),model:e=>t(440)+e,converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(497))[t(461)]({model:t(365),view:e=>({name:t(527)+e,group:t(365)}),converterPriority:t(442)}),this[t(413)][t(585)][t(666)](t(488))[t(469)]({model:t(365),view:e=>{const i=t,s=e[i(533)][i(631)](":")[1];return i(448)!=s&&i(472)!=s?null:{classes:[i(663),i(374)+s]}}}),this[t(413)][t(478)][t(537)].on(t(623),ie(this[t(413)],t(583)),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(397),ie(this[t(413)],t(631)),{priority:t(481)}),this[t(413)][t(478)][t(537)].on(t(573),((e,i,s)=>{const n=t,r=s[n(543)][n(421)](i[n(533)]);if(r)for(const t of r)t.is(n(586))&&(s[n(543)][n(570)](t,i[n(533)]),s[n(441)][n(637)](t))}),{priority:t(481)})}[Qt(615)](t){const e=Qt;return this[e(357)][e(352)](t)}[Qt(477)](t){const e=Qt;return this[e(464)]&&this[e(464)][e(535)](),this[e(464)]=new zt(this[e(413)][e(603)],t),this[e(464)]}[Qt(511)](){const t=Qt;this[t(413)][t(359)][t(496)][t(503)][t(555)](t(650)),this.on(t(402),((e,i,s,n)=>{const r=t;n&&this[r(643)][r(637)](n),s&&(this[r(643)][r(542)]({view:s,stackId:r(574),position:{target:()=>{const t=r,e=this[t(413)][t(478)],i=this[t(615)](s[t(534)]);let n;if(i[t(646)][t(416)]){const s=e[t(653)][t(559)](i[t(549)]);n=Array[t(604)](s[t(437)]())}else{const i=this[t(413)][t(359)][t(551)][t(352)](t(417)+s[t(534)]);n=Array[t(604)](e[t(543)][t(421)](i[t(364)]))[t(447)]((i=>e[t(653)][t(661)][t(386)](i)))[t(447)]((e=>Array[t(604)](e[t(437)]())))[t(474)]()}return this[t(608)]&&n[t(465)]((e=>e[t(399)]-3<=this[t(608)].y&&e[t(618)]+3>=this[t(608)].y&&e[t(589)]-3<=this[t(608)].x&&e[t(627)]+3>=this[t(608)].x))||n[0]}}}),this[r(643)][r(622)](r(574)))})),this.on(t(652),((e,i,s,n)=>{const r=t;this[r(345)]=s?this[r(477)](s):null,this[r(413)][r(359)][r(381)]((()=>{const t=r,e=this[t(413)][t(478)];n&&(n[t(646)][t(416)]?e[t(653)][t(381)]((i=>{const s=t;i[s(514)](s(366),e[s(653)][s(496)][s(499)](n[s(549)]))})):e[t(541)](t(417)+n.id)),s&&(s[t(646)][t(416)]?e[t(653)][t(381)]((i=>{const n=t;i[n(592)](n(366),e[n(653)][n(496)][n(499)](s[n(549)]))})):e[t(541)](t(417)+s.id))}))})),this[t(600)](this[t(413)][t(478)][t(653)][t(496)],t(638),((e,i)=>{const s=t;if(this[s(552)])return;const n=this[s(369)](i[s(572)]),r=this[s(357)][s(352)](n);r?(this[s(608)]={x:i[s(436)].x,y:i[s(436)].y},this[s(345)]=this[s(477)](r)):(this[s(608)]=null,this[s(345)]=null)})),this[t(600)](this[t(413)][t(478)][t(653)][t(496)],t(620),((e,i)=>{const s=t,n=this[s(369)](i[s(572)]),r=this[s(357)][s(352)](n);r?(this[s(608)]={x:i[s(436)].x,y:i[s(436)].y},r===this[s(552)]?this[s(643)][s(562)]():this[s(552)]=r):(this[s(608)]=null,this[s(552)]=null)}))}[Qt(369)](t){const e=Qt;do{const i=t[e(607)](e(492));if(i)return i;t=t[e(616)]}while(t);return null}[Qt(509)](){const t=Qt;this[t(413)][t(359)][t(381)]((e=>{const i=t;for(const t of this[i(413)][i(359)][i(551)])e[i(656)](t)}))}}function ee(t,e){const i=Xt();return(ee=function(t,e){return i[t-=342]})(t,e)}function ie(t,e){return(i,s,n)=>{const r=ee;if(!n[r(361)][r(434)](s[r(524)],i[r(364)]))return;const o=s[r(524)][r(601)](),a=s[r(524)][r(415)],c=t[r(359)][r(376)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(523)];h=h||c[r(505)](e);const i=n[r(543)][r(387)](e);if(i&&i[r(579)](r(351)))return;r(662)==t[r(582)]&&c[r(560)](e)&&!c[r(432)](e)&&(e[r(424)]||a[r(645)]?u&&u[r(616)]==e||(u=e,f(t[r(644)]),d=!0):l=l||t[r(644)])}function f(t){const i=r,o=n[i(543)][i(429)](t),a=n[i(441)][i(450)](i(411),{class:i(374)+e});n[i(441)][i(636)](o,a),n[i(543)][i(547)](a,s[i(533)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(383)][e(352)](te);this[e(517)]=!1,this[e(600)](i,e(626),(()=>this[e(528)]())),this[e(600)](i,e(557),(()=>this[e(528)]()))}[Qt(613)](){const t=Qt,e=this[t(413)],i=e[t(383)][t(352)](te),s=i[t(495)]?i[t(483)][t(378)]:null;e[t(470)][t(352)](t(460))[t(420)](s)}[Qt(528)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(413)][t(383)][t(352)](te),r=n&&s[t(576)](n[t(378)]);this[t(621)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(452)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(383)][i(352)](te);this[i(517)]=!1,this[i(452)]=i(362)===e?1:-1,this[i(600)](s,i(626),(()=>this[i(528)]())),this[i(600)](s,i(557),(()=>this[i(528)]())),this[i(600)](s,i(652),(()=>this[i(528)]()))}[Qt(613)](){const e=Qt,i=this[e(413)],s=i[e(383)][e(352)](te),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(552)]=n?s[e(483)][e(605)][e(352)](r+this[e(452)]):s[e(483)][e(605)][e(484)],s[e(552)][e(646)][e(416)])o=i[e(478)][e(653)][e(559)](s[e(552)][e(549)]);else{const t=i[e(359)][e(551)][e(352)](e(417)+s[e(552)].id);o=(0,H.getMarkerDomElement)(i[e(478)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(528)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(413)][t(383)][t(352)](te);this[t(621)]=!!(r&&n&&s)&&(!e||(1===this[t(452)]?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__navigation","NUMBER_OF_CHANGES","351749EsWsGL","No changes","ck-revision-history-ui__changes-navigation","bind","isEnabled","forward","Show previous change","execute","numberOfChanges","3674286HjMNrh","ck-revision-history-ui__changes-navigation__label","16hJZbJJ","bindTemplate","isReady","Total","set","3488960pzCvar","ck-hidden","3310911ALHLpu","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui","6PjEwbG","X_OF_Y_CHANGES","div","ck-revision-history-ui__changes-navigation__wrapper","494845gGQjAY","2PMbEOb","isForwardNavigationEnabled","backward","Loading...","1591536GQHlsr","fire","span","setTemplate","_isStatusLabelVisible","isNavigationMode","Show next change","currentChangeNumber","1394365FLViGy","_statusText","isBackwardNavigationEnabled"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=215]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(449292===-parseInt(e(215))/1*(parseInt(e(241))/2)+parseInt(e(236))/3*(-parseInt(e(245))/4)+parseInt(e(240))/5+parseInt(e(224))/6+-parseInt(e(253))/7+-parseInt(e(226))/8*(-parseInt(e(233))/9)+parseInt(e(231))/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(227)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(230)](e(250),!1),this[e(230)](e(228),!1),this[e(230)](e(252),0),this[e(230)](e(223),0),this[e(230)](e(242),!1),this[e(230)](e(255),!1),this[e(218)](e(249)).to(this,e(228),this,e(223),((t,e)=>t&&e>0)),this[e(218)](e(254)).to(this,e(228),this,e(252),this,e(223),this,e(250),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(244));if(!n)return X(t,o(216));const a=X(t,o(257),n);return r?X(t,o(237),[s+1,n]):a})),s[e(230)]({label:X(t,e(221)),tooltip:!0,icon:mt.IconChevronUp}),n[e(230)]({label:X(t,e(251)),tooltip:!0,icon:mt.IconChevronDown}),s[e(218)](e(219)).to(this,e(255)),n[e(218)](e(219)).to(this,e(242)),s.on(e(222),(()=>this[e(246)](e(222),e(243)))),n.on(e(222),(()=>this[e(246)](e(222),e(220)))),this[e(248)]({tag:e(238),attributes:{class:["ck",e(235),e(217)]},children:[{tag:e(247),attributes:{class:[e(239)]},children:[{tag:e(247),attributes:{class:[e(225),i.if(e(249),e(232),(t=>!t))]},children:[{text:i.to(e(250),(i=>i?X(t,e(234))+": ":X(t,e(229))+": "))}]},{text:i.to(e(254))}]},new pt.ToolbarSeparatorView,{tag:e(238),attributes:{class:[e(256)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(t,e){const i=pe();return(de=function(t,e){return i[t-=387]})(t,e)}const fe=de;!function(t){const e=de,i=t();for(;;)try{if(393219===parseInt(e(401))/1+-parseInt(e(396))/2*(parseInt(e(407))/3)+-parseInt(e(405))/4+parseInt(e(397))/5*(-parseInt(e(411))/6)+-parseInt(e(408))/7+parseInt(e(406))/8*(-parseInt(e(409))/9)+parseInt(e(404))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);const me=fe(388);function pe(){const t=["RevisionViewerLoadingOverlay","addClass","20991020qWuDoD","1408656ViDEes","5652368ecrIMM","130689ItsWEl","1624140fTkuPQ","9ITfZyA","view","10062aXUPBI","pluginName","ck-editor__editable__loading-overlay","editor","isPremiumPlugin","change","isOfficialPlugin","removeClass","document","hide","18eYIsbn","1085kgngOF","editing","show","roots","340823JOXYbL"];return(pe=function(){return t})()}class ve extends U.Plugin{static get[fe(387)](){return fe(402)}static get[fe(392)](){return!0}static get[fe(390)](){return!0}[fe(399)](){const t=fe,e=this[t(389)][t(398)][t(410)];e[t(391)]((i=>{const s=t;for(const t of e[s(394)][s(400)])i[s(403)](me,t)}))}[fe(395)](){const t=fe,e=this[t(389)][t(398)][t(410)];e[t(391)]((i=>{const s=t;for(const t of e[s(394)][s(400)])i[s(393)](me,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=363]})(t,e)}function ke(){const t=["execute","config","commands","listenTo","closeRevisionViewerCallback","set","change:isReady","hide","numberOfChanges","plugins","isReady","isBackwardNavigationEnabled","988398bOpXAp","isOfficialPlugin","init","showPreviousChange","exitToEditing","isNavigationMode","Back to editing","isPremiumPlugin","revisionHistory","pluginName","6nSMQMs","add","94024HztIJC","get","forward","currentChangeNumber","ck-revision-history-ui__back-to-editing","769590WAAIHT","editor","show","Restore this revision","isForwardNavigationEnabled","componentFactory","7WurbwR","24631SkDfkC","bind","showNextChange","requires","79232OoIIkB","RevisionViewerUI","595728OoYNoA","6422355KzPrTA","isEnabled","restoreRevision","changesNavigation"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(238226===parseInt(e(393))/1*(parseInt(e(379))/2)+-parseInt(e(369))/3+parseInt(e(381))/4+-parseInt(e(386))/5+parseInt(e(399))/6*(-parseInt(e(392))/7)+parseInt(e(397))/8+parseInt(e(400))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends U.Plugin{static get[ge(378)](){return ge(398)}static get[ge(370)](){return!0}static get[ge(376)](){return!0}static get[ge(396)](){return[te,ve]}[ge(371)](){const t=ge,e=this[t(387)],i=e[t(366)][t(382)](te),s=e[t(366)][t(382)](ve);e.ui[t(391)][t(380)](t(373),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(409)]({label:X(i,s(375)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(385)}),this[s(407)](n,s(404),(()=>{const t=s;e[t(405)][t(382)](t(377))[t(408)]()})),n})),e.ui[t(391)][t(380)](t(402),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(409)]({label:X(i,s(389)),withText:!0,tooltip:!0}),n[s(394)](s(401)).to(e[s(406)][s(382)](s(402))),this[s(407)](n,s(404),(()=>e[s(404)](s(402)))),n})),e.ui[t(391)][t(380)](t(403),(s=>{const n=t,r=new ue(s),o=e[n(406)][n(382)](n(372)),a=e[n(406)][n(382)](n(395));return r[n(394)](n(368)).to(o,n(401)),r[n(394)](n(390)).to(a,n(401)),r[n(394)](n(367),n(384),n(365),n(374)).to(i),this[n(407)](r,n(404),((t,i)=>{const s=n;e[s(404)](s(383)===i?s(395):s(372))})),r})),s[t(388)](),i.on(t(363),((e,i,n)=>{const r=t;n?s[r(364)]():s[r(388)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Se;function Se(t,e){const i=Te();return(Se=function(t,e){return i[t-=386]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(284540===parseInt(e(414))/1*(-parseInt(e(394))/2)+parseInt(e(396))/3+-parseInt(e(409))/4+parseInt(e(402))/5*(parseInt(e(395))/6)+parseInt(e(412))/7+-parseInt(e(388))/8+parseInt(e(398))/9*(parseInt(e(407))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(392)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(387)];this[i(403)]({label:X(t,i(386)),_tooltipString:""}),this[i(411)][i(401)]=X(t,i(413)),this[i(391)]({tag:i(393),attributes:{class:[i(399)],"data-cke-tooltip-text":s.to(i(416)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(406)}})}[Ie(415)](){const e=Ie;super[e(415)](),this[e(392)]=new t.ResizeObserver(this[e(411)][e(389)],(()=>this[e(400)]())),this[e(408)](this[e(411)],e(390),(()=>this[e(400)]()))}[Ie(404)](){const t=Ie;super[t(404)](),this[t(392)]&&this[t(392)][t(404)]()}[Ie(400)](){const t=Ie,e=this[t(411)][t(389)];this[t(416)]=e[t(397)]>e[t(405)]&&e[t(410)]||""}}function Te(){const t=["input","extendTemplate","_resizeObserver","span","483622riCtVW","26940dLGVCb","1257750tSNREP","scrollWidth","9yGEfhF","ck-revision-history-sidebar__revision-name","_updateTooltipText","placeholder","25CPhbiB","set","destroy","clientWidth","ck-tooltip_multi-line","8212970cXlshe","listenTo","1673244RUXSwi","value","fieldView","1308335qjMxRr","Enter the revision name","1jnkZku","render","_tooltipString","Revision name","bindTemplate","4041920PLAwwe","element"];return(Te=function(){return t})()}var xe=i(249),Ne={attributes:{"data-cke":!0}};Ne.setAttributes=It(),Ne.insert=wt().bind(null,"head"),Ne.domAPI=kt(),Ne.insertStyleElement=Ot();gt()(xe.A,Ne);xe.A&&xe.A.locals&&xe.A.locals;function Ae(){const t=["4672qBdbmC","0 0 11 10","17039AAhHVY","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author_creator","name","set","64QaoNfd","443274eSEShB","ck-revision-history-sidebar__revision-author__name","888YwWWAD","2359014xjYlnF","setTemplate","span","push","Revision author","Revision creator","485320tPAZJM","383472vikDdx","34XjWEfM","1522270nlNcLe"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=357]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(226904===parseInt(e(370))/1*(parseInt(e(366))/2)+parseInt(e(357))/3*(-parseInt(e(368))/4)+parseInt(e(367))/5+-parseInt(e(376))/6+-parseInt(e(358))/7+parseInt(e(375))/8*(parseInt(e(365))/9)+parseInt(e(364))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Me extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(374)]({content:mt.IconUser,viewBox:s(369)});const r=["ck",s(371)];i&&r[s(361)](s(372));const o=[{tag:s(360),attributes:{class:["ck",s(377)],title:X(t,s(i?363:362))},children:[n,e[s(373)]]}];this[s(359)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Ve();return(Ee=function(t,e){return i[t-=183]})(t,e)}function Ve(){var t=["445576CdJvSx","653844ijAlNG","953545llDUnb","40408jUXfQi","54jEFAwY","2760678aHtpBQ","30yMRMOR","toLocaleTimeString","414438EeWGKL","long","4YnkPFd","toLocaleDateString","4512kyTyGw","numeric","42yGQfBT","1793rcArrv"];return(Ve=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(502266===-parseInt(e(187))/1+-parseInt(e(189))/2*(parseInt(e(190))/3)+-parseInt(e(196))/4*(-parseInt(e(188))/5)+-parseInt(e(194))/6*(-parseInt(e(184))/7)+parseInt(e(186))/8+parseInt(e(191))/9*(parseInt(e(192))/10)+-parseInt(e(185))/11*(parseInt(e(198))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=Pe();return(Fe=function(t,e){return i[t-=322]})(t,e)}function Pe(){const t=["bindTemplate","8158212hrEsYP","set","bind","stopPropagation","1519uvhDLx","16FdkVLP","menuitem","ck-revision-history-sidebar__revision__actions","map","class","isVisible","2941ZAQgOC","listView","source","Compare against selected","locale","16312bFAQwZ","button","model","22vTBYpA","listenTo","execute","Name this revision","action","1611030bWxQSC","panelPosition","find","isEnabled","items","1294962TpumQq","isActionsDropdownOpen","function","isOpen","menu","add","Restore this revision","children","buttonView","27tumqPn","name","1364442BgGllR","change:isActionsDropdownOpen","ck-on","Show more items","_action","extendTemplate","isReady","1562130ofNYAA","first","4FoTsKH"];return(Pe=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(328731===-parseInt(e(348))/1*(parseInt(e(342))/2)+-parseInt(e(366))/3*(parseInt(e(335))/4)+-parseInt(e(361))/5+-parseInt(e(326))/6+parseInt(e(341))/7*(parseInt(e(353))/8)+-parseInt(e(324))/9*(parseInt(e(333))/10)+parseInt(e(356))/11*(parseInt(e(337))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);var je=i(216),Le={attributes:{"data-cke":!0}};Le.setAttributes=It(),Le.insert=wt().bind(null,"head"),Le.domAPI=kt(),Le.insertStyleElement=Ot();gt()(je.A,Le);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-=435]})(t,e)}function Ue(){const t=["ck-revision-history-sidebar__revision__controls-wrapper","72faEhrl","revisionNameView","ck-revision-history-sidebar__revision__date","listenTo",".ck-thread__remove-confirm","from","bindTemplate","highlight","_requireRevisionName","ck-reset","828821NiykmB","map","length","fieldView","div","render","isReady","ck-disabled","creator","_createdAtFormatted","value","deselect","filter","isHighlighted","_revision","authors","bind","srcElement","extendTemplate","revisionActionsView","isActionsDropdownOpen","createdAt","ck-revision-history-sidebar__revision-authors","6061310NuCTtw","3577504XoTdMt","isConfirm","fire","ck-revision-history-sidebar__revision","name","ck-revision-history-sidebar__revision_highlighted","6NkJQAj","unshift","closest","change","isEnabled","span","element","isSelected","setTemplate","set","220","2088902HZtsxW","uiLanguage","3oCvJCo","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unhighlight","1414515nvrAHQ","354624XNFcUa","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision-wrapper","625131jSaxvB","select","setName","ck-revision-history-sidebar__actions_dropdown_open"];return(Ue=function(){return t})()}!function(t){const e=ze,i=t();for(;;)try{if(586855===parseInt(e(452))/1+-parseInt(e(446))/2*(parseInt(e(448))/3)+parseInt(e(494))/4+parseInt(e(451))/5+-parseInt(e(435))/6*(-parseInt(e(470))/7)+parseInt(e(460))/8*(-parseInt(e(455))/9)+parseInt(e(493))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class He extends((0,H.ConfirmMixin)(pt.View)){id;[We(461)];[We(489)];[We(484)];[We(468)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(466)],a=function(t,e){const i=r,s=Array[i(465)](e[i(485)])[i(482)]((t=>t!=e[i(478)]));return e[i(478)]&&s[i(436)](e[i(478)]),s[i(471)]((s=>new Me(t,s,s==e[i(478)])))}(e,i);this.id=i.id,this[r(484)]=i,this[r(468)]=n,this[r(486)](r(498),r(491)).to(i),this[r(486)](r(479)).to(this,r(491),(t=>{return i=e[r(447)],(s=t)[(n=Ee)(197)](i,{month:n(195),day:n(183)})+", "+s[n(193)](i,{hour:n(183),minute:n(183)});var i,s,n})),this[r(444)](r(442),!1),this[r(444)](r(483),!1),this[r(444)](r(490),!1),this[r(444)](r(476),!1),this[r(444)](r(439),!1),this[r(461)]=new Oe(e,pt.createLabeledInputText),this[r(461)][r(473)][r(488)]({attributes:{maxlength:r(445)}}),this[r(461)][r(473)][r(486)](r(480)).to(this,r(498),(t=>t||this[r(479)])),this[r(461)][r(486)](r(439)).to(this,r(442),this,r(439),((t,e)=>t&&e)),this[r(489)]=s&&s[r(472)]?function(e,i){const s=Fe,n=e[s(336)],r=e[s(352)],o=(0,pt.createDropdown)(r);o[s(362)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(352)],n={"Compare against selected":X(s,i(351)),"Name this revision":X(s,i(359)),"Restore this revision":X(s,i(372))};return e[i(345)]((t=>{const e=i,s=n[t[e(325)]];return s&&s!==t[e(325)]&&(t[e(325)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(354),model:new pt.ViewModel({label:t[n(325)],class:t[n(346)],withText:!0,role:n(343),_action:t[n(360)]})};i[n(355)][n(339)](n(364)).to(e,n(367),(i=>n(368)!=typeof t[n(364)]||!i||t[n(364)](e))),o[n(371)](i)}return o}(e,i);return e[s(339)](s(367)).to(o,s(369)),o[s(323)][s(338)]({label:X(r,s(329)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(331)]({attributes:{class:[s(344),n.if(s(367),s(328))]},on:{click:n.to((t=>t[s(340)]()))}}),o.on(s(358),(t=>{const i=s;e[i(332)]&&i(368)==typeof t[i(350)][i(330)]&&t[i(350)][i(330)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(370)}),o[s(357)](e,s(327),((t,n,r)=>{const a=s;if(r)for(const t of o[a(349)][a(365)]){const s=t[a(322)][a(334)],n=i[a(363)]((t=>t[a(360)]===s[a(330)]))[a(347)];t[a(347)]=void 0===n||n(e)}})),o}(this,s):"",this[r(489)]&&this[r(489)][r(486)](r(439)).to(this),this[r(443)]({tag:r(474),attributes:{class:["ck",r(469),r(454),o.if(r(495),r(449))]},children:[{tag:r(474),attributes:{class:["ck",r(469),r(497),o.if(r(439),r(477),(t=>!t)),o.if(r(442),r(453)),o.if(r(483),r(499)),o.if(r(490),r(458))]},children:[this[r(461)],{tag:r(440),attributes:{class:["ck",r(462)]},children:[{text:o.to(r(479))}]},{tag:r(474),attributes:{class:["ck",r(459)]},children:[{tag:"ul",attributes:{class:["ck",r(492)]},children:a}]},this[r(489)]],on:{click:o.to((t=>{const e=r;t[e(487)][e(437)](e(464))||this[e(476)]&&this[e(439)]&&this[e(496)](e(456),{id:this.id})}))}}]})}[We(475)](){const t=We;super[t(475)]();const e=this[t(461)][t(473)][t(441)];this[t(463)](e,t(438),(()=>{const i=t;this[i(468)]&&!e[i(480)]||this[i(496)](i(457),{id:this.id,name:e[i(480)]}),e[i(480)]||(e[i(480)]=this[i(498)]?this[i(498)]:this[i(479)])}))}[We(456)](){this[We(442)]=!0}[We(481)](){this[We(442)]=!1}[We(467)](){this[We(483)]=!0}[We(450)](){this[We(483)]=!1}}class Ze extends Error{}class qe extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ze{}class Ge extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Je 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 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 Hs(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,(Ls({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Mi={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.DateTimeFormat(t,e),Mi[i]=s),s}let Vi={};let Di={};let Ci=null;let Fi={};function Pi(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=Vi[i];return s||(s=new Intl.NumberFormat(t,e),Vi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ms(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Li{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Ei(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class 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=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 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,Mi={},Vi={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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 Pi(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 Pi(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 Pi(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 Pi(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 Li(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 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${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?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 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 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(){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=Ps(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ps(c)):u>a?(c=s+1,u-=Ps(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 Ms(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Vs(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function 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 Ps(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 Ls(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function 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(Ps(t)-s+n)/7}function Us(t){return t>99?t:t>os.twoDigitCutoffYear?1900+t:2e3+t}function Hs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Zs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function qs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Je(`Invalid unit value ${t}`);return e}function $s(t,e){const i={};for(const s in t)if(Ns(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=qs(n)}return i}function Bs(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ms(i,2)}:${Ms(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ms(i,2)}${Ms(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ys(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Gs=["January","February","March","April","May","June","July","August","September","October","November","December"],Js=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ks=["J","F","M","A","M","J","J","A","S","O","N","D"];function Qs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Js];case"long":return[...Gs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ms(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Qs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const gn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,yn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,kn=RegExp(`${yn.source}${`(?:${gn.source}?(?:\\[(${dn.source})\\])?)?`}`),bn=RegExp(`(?:T${kn.source})?`),wn=vn("weekYear","weekNumber","weekDay"),_n=vn("year","ordinal"),In=RegExp(`${yn.source} ?(?:${gn.source}|(${dn.source}))?`),Sn=RegExp(`(?: ${In.source})?`);function On(t,e,i){const s=t[e];return _s(s)?i:Es(s)}function Tn(t,e){return[{hours:On(t,e,0),minutes:On(t,e+1,0),seconds:On(t,e+2,0),milliseconds:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=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 Mn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Vs(i)),months:d(Vs(s)),weeks:d(Vs(n)),days:d(Vs(r)),hours:d(Vs(o)),minutes:d(Vs(a)),seconds:d(Vs(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Vn(t,e,i,s,n,r,o){const a={year:2===e.length?Us(Es(e)):Es(e),month:Js.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(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=Vn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Pn=/^(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 Ln(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,n,s,i,r,o,a),Zi.utcInstance]}function Wn(t){const[,e,i,s,n,r,o,a]=t;return[Vn(e,a,i,s,n,r,o),Zi.utcInstance]}const zn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),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),Qn=mn(Tn,xn,Nn);const Xn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ui.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Je("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Ui.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Je(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[Rn,Mn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[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):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]=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])=>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,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 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",Mr=864e13;function Er(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Vr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function 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 Pr(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(Ls(t),e,i)}function Lr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,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=Ls(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function 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+=Ms(t.c.year,i?6:4),e?(s+="-",s+=Ms(t.c.month),s+="-",s+=Ms(t.c.day)):(s+=Ms(t.c.month),s+=Ms(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Ms(t.c.hour);return e?(o+=":",o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ms(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ms(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ms(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ms(Math.trunc(-t.o/60)),o+=":",o+=Ms(Math.trunc(-t.o%60))):(o+="+",o+=Ms(Math.trunc(t.o/60)),o+=":",o+=Ms(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={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(Er(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]=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:Er(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Pr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ui.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=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:Ui.fromObject(e)}):io.invalid(Er(n))}static fromMillis(t,e={}){if(Is(t))return t<-Mr||t>Mr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Ui.fromObject(e)});throw new Je("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Er(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=Pr(a,c);m?(p=Yr,v=qr,g=ps(g,r,o)):u?(p=Gr,v=$r,g=gs(g)):(p=Br,v=Zr);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=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,Ps(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],[Hn,Bn],[Zn,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),[Dn,Cn])}(t);return Wr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Ln],[Pn,Ln],[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,Qn])}(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?Vr(this).weekYear:NaN}get weekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get weekday(){return this.isValid?Vr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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=Ls(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Pr(a,r),l=Pr(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?Ps(this.year):NaN}get weeksInWeekYear(){return this.isValid?zs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?zs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,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,Lr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Lr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):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+=Hr(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":"")+Hr(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),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Je("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Je("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Je("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Je(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):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=oo();return(no=function(t,e){return i[t-=454]})(t,e)}function ro(t,e){const i=no,s=io[i(460)](t)[i(464)](e),n=io[i(463)](),r=n[i(466)]({days:1})[i(472)](i(461));let o,a;return s[i(474)](n,i(461))?(o=s[i(472)](i(461))[i(457)](),a=s[i(469)]()):s[i(474)](r,i(461))?(o=r[i(457)](),a=s[i(469)]()):s[i(474)](n,i(459))?(o=s[i(472)](i(459))[i(457)](),a=s[i(458)]||""):s[i(474)](n,i(455))?(o=s[i(472)](i(465))[i(457)](),a=s[i(462)]||""):(o=s[i(472)](i(455))[i(457)](),a=String(s[i(455)])),{startDate:o,localizedPeriodName:a}}function oo(){const t=["3134400rOJtPo","startOf","50sqUxwj","hasSame","150dEWMMq","124075dYtmkd","1892553aqefGT","3763ZYMVnc","year","5876808qgfNXG","toJSDate","weekdayLong","week","fromJSDate","day","monthLong","local","setLocale","month","minus","6362919PdIUcx","2814763gQeVLI","toRelativeCalendar","34wanVkN"];return(oo=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(740247===-parseInt(e(454))/1*(parseInt(e(470))/2)+-parseInt(e(477))/3+-parseInt(e(456))/4+-parseInt(e(476))/5*(parseInt(e(475))/6)+-parseInt(e(468))/7+parseInt(e(471))/8+-parseInt(e(467))/9*(-parseInt(e(473))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oo);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=ho;function lo(){const t=["10SCqnoc","21711078jVUaXS","setName","16AElZUt","135AyxDqH","setTemplate","ck-revision-history-sidebar__time-period","select","remove","_requireRevisionName","1473085XSgouT","_revisionActions","4895443GASKDV","43892dUIOrQ","delegate","revisionViews","ck-revision-history-sidebar__time-period__revisions","3125704EZhWJM","createCollection","6461940IigVkK","236262lNgZmK","span","removeRevision","localizedPeriodName","locale","div","add","addRevision","uiLanguage","ck-revision-history-sidebar__time-period__label","startDate","find"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=245]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(800046===-parseInt(e(252))/1+parseInt(e(255))/2*(-parseInt(e(246))/3)+parseInt(e(259))/4+-parseInt(e(261))/5+-parseInt(e(262))/6+-parseInt(e(254))/7*(-parseInt(e(245))/8)+parseInt(e(275))/9*(parseInt(e(274))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(272)];[uo(257)];[uo(253)];[uo(251)];constructor(t,e,i,s){const n=uo;super(t);const r=ro(e,this[n(266)][n(270)])[n(265)];this[n(272)]=e,this[n(257)]=this[n(260)](),this[n(253)]=i,this[n(251)]=s,this[n(257)][n(256)](n(249)).to(this),this[n(257)][n(256)](n(276)).to(this),this[n(247)]({tag:n(267),attributes:{class:["ck",n(248)]},children:[{tag:n(263),attributes:{class:["ck",n(271)]},children:[{text:r}]},{tag:n(267),attributes:{class:["ck",n(258)]},children:this[n(257)]}]})}[uo(269)](t){const e=uo,i=new He(this[e(266)],t,this[e(253)],this[e(251)]);this[e(257)][e(268)](i)}[uo(264)](t){const e=uo,i=this[e(257)][e(273)]((e=>e.id===t.id));this[e(257)][e(250)](i)}}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=152]})(t,e)}function go(){const t=["16745lNgKMs","3001537TvddpG","ck-revision-history-sidebar__header","7653032yLRrFb","span","369yrgrFu","ck-reset_all","ck-revision-history-sidebar__header__label","Revision history","81430szzqiS","3876450jjWkUd","18408ktNgKl","556EctPXl","content","div","2529pHVIoG","760201FviEBI","setTemplate"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(580714===-parseInt(e(166))/1+parseInt(e(161))/2*(parseInt(e(155))/3)+parseInt(e(162))/4*(parseInt(e(168))/5)+parseInt(e(160))/6+parseInt(e(169))/7+parseInt(e(153))/8+parseInt(e(165))/9*(-parseInt(e(159))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);class yo extends pt.View{constructor(t){const e=vo;super(t);const i=new pt.IconView;i[e(163)]=mt.IconHistory,this[e(167)]({tag:e(164),attributes:{class:["ck",e(156),e(152)]},children:[i,{tag:e(154),attributes:{class:["ck",e(157)]},children:[X(t,e(158))]}]})}}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=["some","ck-revision-history-sidebar__timeline","_requireRevisionName","revisionViews","setName","revisionSetName","startDate","selectRevision","ck-reset","map","unhighlight","_revisions","highlight","set","div","remove","render","bindTemplate","703023vMWNtp","4BxXIuU","_addRevision","100scbsPb","20148nDWoXe","1415TtOlND","fire","createdAt","revisionSelected","8852OTMFqm","locale","ck-revision-history-sidebar","get","2650288jmKWgF","delegate","ck-rounded-corners","find","flat","deselect","select","add","_removeRevision","removeRevision","_revisionActions","getTime","uiLanguage","10384xswFto","ck-disabled","40DEBKDx","setTemplate","5844HgAyXG","6471731KLdDVp","highlightRevisions","timePeriodViews","addRevision","990333VaBNmA","createCollection","_getTimePeriodViewByStartDate","isEnabled"];return(_o=function(){return t})()}function Io(t,e){const i=_o();return(Io=function(t,e){return i[t-=387]})(t,e)}!function(t){const e=Io,i=t();for(;;)try{if(588734===parseInt(e(417))/1*(parseInt(e(398))/2)+-parseInt(e(389))/3*(parseInt(e(390))/4)+-parseInt(e(394))/5*(-parseInt(e(393))/6)+parseInt(e(420))/7+parseInt(e(402))/8+parseInt(e(424))/9*(-parseInt(e(392))/10)+parseInt(e(415))/11*(-parseInt(e(419))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class So extends pt.View{[wo(422)];[wo(439)];[wo(412)];[wo(430)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(388)];this[n(422)]=this[n(425)](),this[n(422)][n(403)](n(408)).to(this),this[n(422)][n(403)](n(432)).to(this),this[n(439)]=e,this[n(412)]=i,this[n(430)]=s,this.on(n(408),((t,e)=>{const i=n;this[i(395)](i(397),e)})),this.on(n(432),((t,e)=>{const i=n;this[i(395)](i(433),e)})),this[n(441)](n(427),!1),this[n(418)]({tag:n(442),attributes:{class:["ck",n(436),n(404),n(400)]},children:[new yo(t),{tag:n(442),attributes:{class:["ck",n(429),r.if(n(427),n(416),(t=>!t))]},children:this[n(422)]}]})}[wo(387)](){const t=wo;super[t(387)]();for(const e of this[t(439)])this[t(391)](e);this[t(439)].on(t(409),((e,i)=>{this[t(391)](i)})),this[t(439)].on(t(443),((e,i)=>{this[t(410)](i)}))}get[wo(431)](){const t=wo;return this[t(422)][t(437)]((e=>e[t(431)][t(437)]((t=>t))))[t(406)]()}[wo(435)](t){const e=wo;for(const i of this[e(431)])t&&t.id===i.id?i[e(408)]():i[e(407)]()}[wo(421)](t){const e=wo;for(const i of this[e(431)])t[e(428)]((({id:t})=>t===i.id))?i[e(440)]():i[e(438)]()}[wo(391)](t){const e=wo,i=ro(t[e(396)],this[e(399)][e(414)])[e(434)];let s=this[e(422)][e(401)](0);s&&s[e(434)][e(413)]()===i[e(413)]()||(s=new fo(this[e(399)],i,this[e(412)],this[e(430)]),this[e(422)][e(409)](s)),s[e(423)](t)}[wo(410)](t){const e=wo,i=ro(t[e(396)],this[e(399)][e(414)])[e(434)];this[e(426)](i)[e(411)](t)}[wo(426)](t){const e=wo;return this[e(422)][e(405)]((i=>i[e(434)][e(413)]()===t[e(413)]()))}}const Oo=To;function To(t,e){const i=Ao();return(To=function(t,e){return i[t-=215]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(124532===-parseInt(e(239))/1*(-parseInt(e(237))/2)+parseInt(e(245))/3+parseInt(e(268))/4+-parseInt(e(281))/5+parseInt(e(252))/6*(-parseInt(e(275))/7)+parseInt(e(290))/8*(parseInt(e(230))/9)+-parseInt(e(267))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class xo extends U.Plugin{[Oo(235)];[Oo(236)];[Oo(253)];static[Oo(254)]=[Oo(231),Oo(261),Oo(282)];static[Oo(283)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(294),action:({plugins:e},i)=>{const s=t,n=e[s(286)](te),r=n[s(247)];let o=n[s(243)][s(248)],a=i.id;r[s(271)](o)>r[s(271)](a)&&([o,a]=[a,o]),n[s(264)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(286)](te);return!(n[s(247)][s(265)](n[s(243)])[s(263)]>2||i[s(292)])}},restoreRevision:{name:t(259),action:(e,{id:i})=>{const s=t;e[s(255)][s(286)](s(288))[s(249)](i)},isVisible:({plugins:e},i)=>!!e[t(286)](te)[t(247)][t(293)](i.id)},nameRevision:{name:t(232),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(286)](te),o=r[n(247)][n(276)](i);r[n(264)](i,o),s[n(242)](),s[n(266)][n(297)]()}}}}();static get[Oo(260)](){return Oo(223)}static get[Oo(246)](){return!0}static get[Oo(241)](){return!0}static get[Oo(272)](){return[te]}constructor(t){const e=Oo;super(t),this[e(235)]=t[e(218)][e(286)](te),this[e(236)]=this[e(235)][e(247)],this[e(253)]=null}[Oo(257)](){const t=Oo,e=this[t(236)][t(229)],i=this[t(280)](),s=this[t(289)][t(255)][t(286)](t(227));this[t(253)]=new So(this[t(289)][t(269)],e,i,this[t(289)][t(255)][t(286)](t(295))),this[t(253)].on(t(296),this[t(262)][t(291)](this)),this[t(253)].on(t(256),this[t(215)][t(291)](this)),this[t(253)][t(291)](t(221)).to(this[t(235)]),this[t(253)][t(234)].on(t(273),((e,i)=>{const s=t;i[s(285)].on(s(273),((t,e)=>{const i=s;e[i(291)](i(221),i(258)).to(this[i(235)])}))})),this[t(253)][t(226)](),this[t(279)](this[t(289)][t(278)],t(284),this[t(274)][t(291)](this)),this[t(279)](this[t(235)],t(251),this[t(270)][t(291)](this)),s[t(225)](this[t(253)][t(287)])}[Oo(222)](){const t=Oo;this[t(253)][t(287)][t(216)](),this[t(253)][t(222)]()}[Oo(274)](){const t=Oo,e=this[t(236)][t(250)](0);if(e){const i=this[t(236)][t(276)](e.id);this[t(235)][t(264)](e,i)}}[Oo(262)](t,e){const i=Oo,s=this[i(236)][i(250)](e.id),n=this[i(236)][i(276)](s.id);this[i(235)][i(264)](s,n)}[Oo(215)](t,e){const i=Oo;this[i(236)][i(250)](e.id)[i(219)](e[i(244)])}[Oo(270)](t,e,i){const s=Oo,n=this[s(236)][s(265)](i);n[s(263)]>2?(this[s(253)][s(238)](n),this[s(253)][s(228)](null)):(this[s(253)][s(238)]([]),this[s(253)][s(228)](n[0]))}[Oo(280)](){const t=Oo,e=this[t(289)],i=xo[t(283)],s=e[t(255)][t(286)](t(277))||xo[t(254)];if(s[t(263)])return s[t(217)]((s=>{const n=t,r=n(240)==typeof s?Object[n(224)]({},i[s]):s;return r[n(220)]=r[n(220)][n(291)](this,e),r[n(233)]&&(r[n(233)]=r[n(233)][n(291)](this,e)),r}))}}const No=xo;function Ao(){const t=["selectRevision","_revisions","1071oIcwsb","compareAgainstSelected","Name this revision","isVisible","timePeriodViews","_revisionViewer","_revisionsRepository","158546WVKrSG","highlightRevisions","2VLCeuN","string","isPremiumPlugin","focus","diff","name","269928mARKEr","isOfficialPlugin","repository","newRevisionId","restoreRevisionCallback","getRevision","change:diff","38256xnJMkI","_sidebarView","defaultRevisionActions","config","revisionSetName","init","isReady","Restore this revision","pluginName","restoreRevision","_handleRevisionSelected","length","compare","getRevisionsInDiff","fieldView","2362180YobZDb","201696MOdKyI","locale","_handleDiffChange","getIndex","requires","add","_handleEditorDataReady","154GEtXfg","getEarlierVisibleRevision","revisionHistory.revisionActions","data","listenTo","_createRevisionActions","174265uOsvqB","nameRevision","availableRevisionActions","ready","revisionViews","get","element","revisionHistory","editor","15928imsTsV","bind","isSelected","getLaterVisibleRevision","Compare against selected","revisionHistory.requireRevisionName","revisionSelected","select","_handleRevisionSetName","remove","map","plugins","setName","action","isEnabled","destroy","RevisionsSidebar","assign","appendChild","render","revisionHistory.viewerSidebarContainer"];return(Ao=function(){return t})()}function Ro(t,e){const i=Eo();return(Ro=function(t,e){return i[t-=358]})(t,e)}const Mo=Ro;function Eo(){const t=["fire","setEditableElement","element","limiterElement","fillFromConfig","1740401EqXmyW","_view","view","viewportOffset","_toolbarConfig","isActive","destroy","addToolbar","ready","config","4912310BQkhrd","detachDomRoot","252PQTLSq","276HHNvEq","editing","focusTracker","attachDomRoot","12966HOIBzV","get","getRoot","isFocused","4509hGlTjM","_initToolbar","22gGdZmp","name","editor","stickyPanel","bind","97RvUIcj","toolbar","_elementReplacer","rootName","componentFactory","render","2740297WSqXhQ","57148TGRsbi","30oOubYP","document","restore","replace","editable","viewportTopOffset","794274UwQBQW","12392TUpxkZ","init"];return(Eo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(677446===-parseInt(e(406))/1*(parseInt(e(395))/2)+parseInt(e(390))/3*(-parseInt(e(363))/4)+parseInt(e(364))/5*(parseInt(e(370))/6)+parseInt(e(362))/7+-parseInt(e(371))/8*(parseInt(e(399))/9)+-parseInt(e(388))/10*(parseInt(e(401))/11)+-parseInt(e(391))/12*(-parseInt(e(378))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends pt.EditorUI{[Mo(379)];[Mo(382)];[Mo(358)];get[Mo(380)](){return this[Mo(379)]}constructor(e,i){const s=Mo;super(e),this[s(379)]=i,this[s(382)]=(0,pt.normalizeToolbarConfig)(e[s(387)][s(396)](s(407))),this[s(358)]=new t.ElementReplacer}get[Mo(375)](){const t=Mo;return this[t(380)][t(375)]}[Mo(372)](t){const e=Mo,i=this[e(403)],s=this[e(380)],n=i[e(392)][e(380)],r=s[e(368)],o=n[e(365)][e(397)]();r[e(402)]=o[e(359)],s[e(361)]();const a=r[e(375)];this[e(374)](r[e(402)],a),s[e(368)][e(405)](e(398)).to(this[e(393)]),n[e(394)](a),this[e(358)][e(367)](t,this[e(375)]),this[e(400)](),this[e(373)](e(386))}[Mo(384)](){const t=Mo;super[t(384)]();const e=this[t(380)],i=this[t(403)][t(392)][t(380)];this[t(358)][t(366)](),i[t(389)](e[t(368)][t(402)]),e[t(384)]()}[Mo(400)](){const t=Mo,e=this[t(380)];e[t(404)][t(405)](t(383)).to(this[t(393)],t(398)),e[t(404)][t(376)]=e[t(375)],e[t(404)][t(405)](t(369)).to(this,t(381),(({top:t})=>t)),e[t(407)][t(377)](this[t(382)],this[t(360)]),this[t(385)](e[t(407)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(t,e){var i=Lo();return(Fo=function(t,e){return i[t-=279]})(t,e)}var Po=Fo;!function(t){for(var e=Fo,i=t();;)try{if(205882===-parseInt(e(293))/1+parseInt(e(294))/2+parseInt(e(283))/3+parseInt(e(295))/4*(parseInt(e(284))/5)+-parseInt(e(285))/6+parseInt(e(282))/7+parseInt(e(291))/8*(-parseInt(e(288))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends pt.BoxedEditorUIView{[Po(292)];[Po(287)];[Po(279)];get[Po(281)](){return this[Po(292)]}constructor(t,e,i={}){var s=Po;super(t),this[s(287)]=new pt.StickyPanelView(t),this[s(279)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(286)]}),this[s(292)]=new pt.InlineEditableUIView(t,e)}[Po(297)](){var t=Po;super[t(297)](),this[t(287)][t(290)][t(289)](this[t(279)]),this[t(296)][t(289)](this[t(287)]),this[t(280)][t(289)](this[t(281)])}}function Lo(){var t=["top","render","toolbar","main","editable","335678hAGpMH","922752rgFIXM","6095DiLBAn","1429542AAErsD","shouldToolbarGroupWhenFull","stickyPanel","93141Erwodn","add","content","80RYfgIt","_editable","295921yanYPd","578630meWCMJ","652rUZksO"];return(Lo=function(){return t})()}const Wo=Uo;function zo(){const t=["locale","260428aNUQOJ","get","6CczugB","11MlKLGc","1464416vmJTrj","6743dshjRZ","data","ready","fire","create","221428yEzoWO","model","1348030SPuPkR","updateSourceElement","destroy","1844442qKBhpt","1136105IQwZyn","_ui","document","initPlugins","sourceElement","initialData","6OYKgnz","view","config","editing","7ueUvpK","init","createRoot"];return(zo=function(){return t})()}function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(123612===-parseInt(e(256))/1+-parseInt(e(261))/2*(-parseInt(e(253))/3)+-parseInt(e(251))/4+parseInt(e(237))/5*(parseInt(e(243))/6)+-parseInt(e(247))/7*(parseInt(e(255))/8)+-parseInt(e(236))/9+-parseInt(e(263))/10*(-parseInt(e(254))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[Wo(238)];get ui(){return this[Wo(238)]}constructor(t,e){const i=Wo;super(e),this[i(241)]=t,this[i(262)][i(239)][i(249)]();const s=new jo(this[i(250)],this[i(246)][i(244)],{shouldToolbarGroupWhenFull:!0});this[i(238)]=new Vo(this,s)}[Wo(235)](){const t=Wo;return this[t(264)](),this.ui[t(235)](),super[t(235)]()}static async[Wo(260)](t,e){const i=Wo,s=new this(t,e);return await s[i(240)](),await s.ui[i(248)](t),await s[i(257)][i(248)](s[i(245)][i(252)](i(242))||""),s[i(259)](i(258)),s}}const Zo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=435]})(t,e)}function $o(){const t=["1404voOVuS","refreshPositioning","toolbar","RestrictedEditingMode","_recalculatePageBreaks","revisionHistory.editorContainer","RevisionViewerIntegration","locale","_viewerEditor","DocumentOutline","revisionHistory.closeRevisionViewerCallback","isReadOnly","style","addRoot","revision-history-viewer-opened","disableReadOnlyMode","PaginationLookup","RevisionHistoryUI","rootName","_restoreRevision","includes","error","RevisionViewer","bind","selection","destroy","revision-history-missing-configuration","addUser","requires","600906uQYtxV","then","end","getAttributeKeys","creator","name","model","refreshVisibility","parse","8EWosau","createdAt","toLocaleDateString","toJSON","create","numeric","Annotations","markers","init","addRevisionData","save","uiLanguage","isAnonymous","setSelection","pluginName","getRevisions","enqueueChange","4844791EUMwwX","display","insert","3662432uBzWtZ","lazyRoots","6ZQlPxq","plugins","getRoot","createRangeIn","Users","from","long","RevisionsRepository","commands","50550ogaEhH","isAttached","config","_closeRevisionViewer","Dialog","enableReadOnlyMode","data","removeAttribute","fromVersion","getUser","hide","revisionHistory.showRevisionViewerCallback","block","_showRevisionViewer","isEnabled","map","isReady","isOpen","none","revisionHistory.requireRevisionName","change","define","_getRevisionViewerEditorConfig","revisionHistory.viewerContainer","setAttribute","revisionHistory","showRevisionViewerCallback","result","push","RevisionHistoryUtils","set","join","fromCharCode","getRevisionRootsAttributes","2599326gfmJwM","removeMarker","has","_enhanceShowRevisionViewerCallback","remove","RevisionTracker","_enhanceCloseRevisionViewerCallback","editor","1QUxWJe","getMarkersGroup","loadRevisionData","isOfficialPlugin","revisionHistory.viewerEditorElement","1008rufTrU","roots","Restored","catch","element","changesNavigation","users","exitToEditing","125485VRufVF","indexOf","get","RevisionHistory","getRevision","toLocaleTimeString","revisionHistory.restoreRevisionCallback","getRevisionDocumentData","closeRevisionViewerCallback","update","_update","restoreRevision","translations","toVersion","removeSelectionAttribute","adapter","$graveyard","document","isRevisionViewerOpen","view","restrictedEditingException","keys","41371ftodEN","_cleanUp","isPremiumPlugin","saveRevision","Autosave","detachRoot","repository","DocumentOutlineUI"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(706343===parseInt(e(435))/1*(-parseInt(e(581))/2)+-parseInt(e(507))/3+parseInt(e(516))/4*(parseInt(e(448))/5)+parseInt(e(538))/6*(parseInt(e(533))/7)+parseInt(e(536))/8+-parseInt(e(440))/9*(-parseInt(e(547))/10)+parseInt(e(470))/11*(parseInt(e(478))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Zo(495),Zo(481)];class Yo extends U.Plugin{[Zo(574)];static get[Zo(530)](){return Zo(484)}static get[Zo(438)](){return!0}static get[Zo(472)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(562)]((t=>String[e(579)](t)))[e(578)]("")}super(t),this[e(574)]=e(509),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{[Zo(486)];static get[Zo(530)](){return Zo(451)}static get[Zo(438)](){return!0}static get[Zo(472)](){return!0}static get[Zo(506)](){return[ct,Pt]}constructor(e){const i=Zo;if(super(e),!this[i(588)][i(549)][i(450)](i(572)))throw new t.CKEditorError(i(504),this);this[i(486)]=null,this[i(577)](i(466),!1),this[i(588)][i(549)][i(568)](i(558),(t=>this[i(560)]({...t,translations:this[i(588)][i(485)][i(460)]}))),this[i(588)][i(549)][i(568)](i(488),(t=>this[i(550)](t))),this[i(588)][i(549)][i(568)](i(454),(t=>this[i(497)](t))),this[i(588)][i(549)][i(568)](i(566),!1),this[i(584)](),this[i(587)]()}set[Zo(463)](t){const e=Zo;this[e(588)][e(539)][e(450)](e(586))[e(463)]=t}get[Zo(463)](){const t=Zo;return this[t(588)][t(539)][t(450)](t(586))[t(463)]}[Zo(525)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(586))[e(525)](t)}[Zo(452)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(545))[e(452)](t)}[Zo(531)](t){const e=Zo;return this[e(588)][e(539)][e(450)](e(545))[e(531)](t||{toJSON:!1})}[Zo(569)](){const e=Zo,i=this[e(588)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(539)][e(450)](e(586)),r=i[e(539)][e(450)](e(542))[e(446)];return s[e(480)]=[e(447),e(459),e(445)],delete s[e(537)],s[e(539)][e(575)](Yo,te,be,class extends U.Plugin{static get[e(506)](){return[te,e(542)]}[e(524)](){const s=e,o=this[s(588)][s(539)][s(450)](s(542));for(const t of r)t[s(528)]||o[s(556)](t.id)||o[s(505)](t);const a=n[s(476)][s(531)]();let c=null;const u=this[s(588)][s(539)][s(450)](s(500));u[s(463)]=n[s(463)],u[s(501)](s(561)).to(n),this[s(588)][s(546)][s(450)](s(459))[s(501)](s(561)).to(i,s(489),(t=>!t));for(const e of a){const i=null===e[s(511)];if(i&&e[s(461)]===e[s(555)])continue;const r=e[s(519)]();u[s(525)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(458)](r,o);else if(!o){const e=a[u(519)]();e.id=(0,t.uid)(),n[u(473)](e,a[u(461)])[u(508)]((t=>{c=t}))}}else e[u(458)](r,o)}))}}},No),s}[Zo(584)](){const t=Zo,e=this[t(588)][t(549)][t(450)](t(572))[t(573)];this[t(588)][t(549)][t(577)](t(558),(async()=>{const i=t;this[i(588)][i(552)](i(492));const s=this[i(588)][i(539)][i(450)](i(586));if(this[i(588)][i(539)][i(583)](i(474))){const t=this[i(588)][i(539)][i(450)](i(474));await t[i(526)]()}else await s[i(457)]();if(this[i(588)][i(539)][i(583)](i(494))&&this[i(588)][i(539)][i(450)](i(494))[i(482)](),this[i(588)][i(539)][i(583)](i(551))){const t=this[i(588)][i(539)][i(450)](i(551));t[i(564)]&&t[i(557)]()}const n=this[i(569)]();return e(n)[i(508)]((t=>{const e=i;return this[e(486)]=t,this[e(588)][e(539)][e(583)](e(522))&&this[e(588)][e(539)][e(450)](e(522))[e(514)](),this[e(588)][e(539)][e(583)](e(487))&&(this[e(588)][e(539)][e(450)](e(477))[e(467)][e(444)][e(490)][e(534)]=e(565)),t}))[i(443)]((t=>(console[i(499)](t),this[i(588)][i(493)](i(492)),null)))}))}[Zo(587)](){const t=Zo,e=this[t(588)][t(549)][t(450)](t(572))[t(456)];this[t(588)][t(549)][t(577)](t(488),(()=>(this[t(588)][t(539)][t(583)](t(494))&&this[t(588)][t(539)][t(450)](t(494))[t(482)](),this[t(588)][t(539)][t(583)](t(487))&&(this[t(588)][t(539)][t(450)](t(477))[t(467)][t(444)][t(490)][t(534)]=""),this[t(486)][t(539)][t(450)](t(500))[t(471)](),e(this[t(486)])[t(508)]((()=>{const e=t;if(this[e(588)][e(493)](e(492)),this[e(486)]=null,this[e(588)][e(539)][e(583)](e(522))){const t=this[e(588)][e(539)][e(450)](e(522));t[e(514)](),t[e(479)]()}})))))}[Zo(560)](t){const e=Zo,i=this[e(588)][e(549)][e(450)](e(483)),s=this[e(588)][e(549)][e(450)](e(570)),n=this[e(588)][e(549)][e(450)](e(439));return Ho[e(520)](n,t)[e(508)]((t=>(s[e(490)][e(534)]=e(559),i[e(490)][e(534)]=e(565),this[e(466)]=!0,t)))}[Zo(550)](t){const e=Zo,i=this[e(588)][e(549)][e(450)](e(483));return this[e(588)][e(549)][e(450)](e(570))[e(490)][e(534)]=e(565),i[e(490)][e(534)]="",this[e(466)]=!1,t[e(503)]()}async[Zo(497)](t){const e=Zo,i=this[e(588)],s=this[e(486)][e(539)][e(450)](e(500)),n=i[e(539)][e(450)](e(586)),r=i[e(539)][e(450)](e(576)),o=s[e(476)][e(452)](t);let a,c,u;try{await r[e(437)](o,this[e(463)]),a=r[e(455)](o),c=r[e(580)](o)}catch(t){return void console[e(499)](t)}i[e(513)][e(567)]((t=>{const s=e;for(const e of Array[s(543)](i[s(513)][s(523)][s(436)](s(468))))t[s(582)](e)})),s[e(563)]=!1,i[e(513)][e(532)]((t=>{const s=e;t[s(529)](null),t[s(462)](i[s(513)][s(465)][s(502)][s(510)]());const n=Object[s(469)](a);for(const e of i[s(513)][s(465)][s(441)])s(464)!=e[s(496)]&&e[s(548)]()&&!n[s(498)](e[s(496)])&&t[s(475)](e);for(const e of n){let n=i[s(513)][s(465)][s(540)](e);n&&n[s(548)]()||(n=t[s(491)](e));const r=c[e],o=Object[s(469)](r),u=a[e];for(const e of n[s(510)]())o[s(498)](e)||t[s(554)](e,n);for(const i of o)t[s(571)](i,c[e][i],n);t[s(585)](t[s(541)](n)),t[s(535)](i[s(553)][s(515)](u,n),n,0)}}));const l=X(i[e(485)],e(442));return u=o[e(512)]?-1==o[e(512)][e(449)](l)?l+": "+o[e(512)]:o[e(512)]:l+": "+o[e(517)][e(518)](i[e(485)][e(527)],{month:e(544),day:e(521)})+", "+o[e(517)][e(453)](i[e(485)][e(527)],{hour:e(521),minute:e(521)}),await n[e(473)]({name:u}),s[e(563)]=!0,i[e(549)][e(450)](e(572))[e(456)]()}}function Jo(){var t=["914505PjdPGe","5569074CdIrwH","196776miBuDS","28OhSXqO","5yicJYq","4194820SMiOpv","762806MuEIfS","347108SWBxvK","2320662ZrKMuM"];return(Jo=function(){return t})()}function Ko(t,e){var i=Jo();return(Ko=function(t,e){return i[t-=473]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(565206===parseInt(e(475))/1+parseInt(e(474))/2+-parseInt(e(477))/3+parseInt(e(473))/4+-parseInt(e(481))/5*(parseInt(e(476))/6)+parseInt(e(480))/7*(parseInt(e(479))/8)+-parseInt(e(478))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();