@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250527.0 → 0.0.0-nightly-20250529.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>X,RevisionTracker:()=>ot,RevisionViewer:()=>ee,RevisionViewerEditor:()=>Ho,RevisionViewerLoadingOverlay:()=>ve,RevisionViewerUI:()=>be,RevisionsRepository:()=>Y,RevisionsSidebar:()=>Ro});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(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 D(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function M(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function 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,M(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const P=z;function j(){const t=["set","createdAt","model","_update","authors","132NghHnH","11801400KYbZIo","1661830Cavsdc","909555GBXUCP","453517eHzfXs","creatorId","toJSON","setName","authorsIds","6zHxRBl","fromVersion","attributes","map","removeAttribute","9rmbXDy","toVersion","7145580vIRiZT","name","214535LRLXPl","fire","creator","8974833uuqRls","setAttribute","diffData"];return(j=function(){return t})()}function z(t,e){const i=j();return(z=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=z,i=t();for(;;)try{if(859238===parseInt(e(216))/1*(parseInt(e(221))/2)+-parseInt(e(215))/3+-parseInt(e(212))/4*(parseInt(e(230))/5)+parseInt(e(228))/6+-parseInt(e(204))/7+parseInt(e(213))/8+parseInt(e(226))/9*(-parseInt(e(214))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(j);class W extends((0,t.ObservableMixin)()){id;[P(203)];[P(211)];[P(206)];[P(227)];[P(222)];[P(209)];constructor(e){const i=P;super(),this.id=e.id||(0,t.uid)(),this[i(203)]=e[i(203)]||null,this[i(211)]=e[i(211)]||[],this[i(206)]=e[i(206)]||null,this[i(227)]=e[i(227)]||0,this[i(222)]=e[i(222)]||0,this[i(207)](i(229),e[i(229)]||""),this[i(207)](i(208),e[i(208)]||new Date),this[i(207)](i(223),e[i(223)]||{})}[P(219)](t){this[P(210)]({name:t})}[P(205)](t,e){const i=P,s=A(this[i(223)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?M(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=D(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(210)]({attributes:s})}[P(225)](t){const e=P,i=A(this[e(223)]);(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,M(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(210)]({attributes:i})}[P(210)](t,e=!1){const i=P;let s=!1;const n={id:this.id},r=[i(229),i(208),i(206),i(211),i(223),i(227),i(222),i(217)];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(211)]&&(n[i(220)]=n[i(211)][i(224)]((t=>t.id)),delete n[i(211)]),this[i(231)](i(210),n,e))}[P(218)](){const t=P;return{id:this.id,name:this[t(229)],creatorId:this[t(203)]?this[t(203)].id:null,authorsIds:this[t(211)][t(224)]((t=>t.id)),diffData:this[t(206)],createdAt:this[t(208)],attributes:this[t(223)],fromVersion:this[t(222)],toVersion:this[t(227)]}}}var Z=i(782),H=i(211),U=i(783);function q(t,e){const i=B();return(q=function(t,e){return i[t-=315]})(t,e)}const $=q;function B(){const t=["diffData","get","add","2332470apCTrT","toJSON","createRevision","join","earlier","editor","newRevisionId","plugins","href","getLaterVisibleRevision","authorsIds","getIndex","getRevisionsIterator","4912747UHaRKs","25109IJwuEo","createdAt","Users","46rvxXJT","8tZyGDs","addRevision","_revisions","6963yTsftl","840796XwZVFp","fromCharCode","getRevisionsInDiff","oldRevisionId","reverse","140iRpdRI","afterInit","getRevision","6EbiHoF","pluginName","attributes","isNaN","later","getEarlierVisibleRevision","isPremiumPlugin","isOfficialPlugin","getUser","RevisionsRepository","toVersion","length","544DoKUFs","12WhPQwi","414837nUeZkH","push","fromVersion","creatorId","requires","getRevisions","5591625CvooSL","from","data","map","name"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(358437===-parseInt(e(339))/1*(-parseInt(e(342))/2)+parseInt(e(346))/3*(-parseInt(e(367))/4)+-parseInt(e(325))/5*(parseInt(e(355))/6)+-parseInt(e(338))/7*(-parseInt(e(343))/8)+parseInt(e(369))/9*(-parseInt(e(352))/10)+parseInt(e(347))/11+parseInt(e(368))/12*(parseInt(e(317))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends Z.Plugin{[$(345)];static get[$(315)](){return[H.Users]}static get[$(356)](){return $(364)}static get[$(362)](){return!0}static get[$(361)](){return!0}get[$(366)](){const t=$;return this[t(345)][t(366)]}constructor(e){const i=$;super(e),this[i(345)]=new t.Collection}[$(353)](){!async function(e){const i=k([54,50,83,107,52,77,119,84,109,112,69,49,80,75,118,70,101,89,86,85,104,121,81,115,106,97,55,103,78,74,57,73,122,72,51,67,56,68,66,114,110,102,82,111,76,117,100,87,113,53,120,90,99,88,71,65,116,98,108,79,48,105]),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([83]);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(320)]((t=>String[e(348)](t)))[e(328)]("")}!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{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:1748304e3;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(333)]);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{return k([73,110,118,97,108,105,100])}}())}(this)}[$(327)](t){const e=$,i=this[e(330)][e(332)][e(323)](e(341));return new W({id:t.id,name:t[e(321)],creator:t[e(372)]?i[e(363)](t[e(372)]):null,diffData:t[e(322)]||t[e(319)],authors:t[e(335)][e(320)]((t=>i[e(363)](t))),createdAt:new Date(t[e(340)]),attributes:t[e(357)],fromVersion:t[e(371)],toVersion:t[e(365)]})}[$(344)](t,e=0){const i=$;this[i(345)][i(324)](t,e)}[$(354)](t){const e=$;return this[e(345)][e(323)](t)}[$(316)](t={toJSON:!1}){const e=$,i=Array[e(318)](this[e(345)]);return i[e(351)](),t[e(326)]?i[e(320)]((t=>t[e(326)]())):i}[$(336)](t){const e=$;return this[e(345)][e(336)](t)}[$(360)](t){const e=$,[,i]=this[e(337)](t,{direction:e(329)});return i}[$(334)](t){const e=$,[,i]=this[e(337)](t,{direction:e(359)});return i}[$(349)](t){const e=$,i=[];for(const s of this[e(337)](t[e(331)]))if(i[e(370)](s),s.id===t[e(350)])break;return i}*[$(337)](t,{direction:e=$(329),filter:i=()=>!0}={}){const s=$,n=s(329)===e?1:-1;let r=this[s(345)][s(323)](t),o=this[s(336)](r);for(yield r;r;){if(o+=n,r=this[s(354)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=110]})(t,e)}function K(){const t=["innerHTML","string","isOfficialPlugin","append","16VLFVfj","67215uGedrr","_viewClassToTypeChar","domDocument","_makeModelFromViewString","children","60350KkkhSj","parse","insertions","data-revision-","processor","RevisionHistoryUtils","revision-end","attachChange","domConverter","get","forEach","editing","useFillerType","fillerOffset","toModel","733123ZDdyFm","revision-start","div","data","10BDgHhr","editor","isAttached","loadRevisionData","_getTypeCharForViewElement","_removeRevisionMarkers","config","type","getRevision","document","view","getRevisionRootsAttributes","name","map","childNodes","attributes","31916439daKKFi","htmlProcessor","createElement","pluginName","viewChildrenToDom","from","_typeCharToViewClass","toData","_appendChild","7211512uQJSLT","911498KRwWbd","default","diffData","_setCustomProperty","domChildrenToView","collaboration.channelId","filter","_getViewFromDiffObj","customProperties","getRevisionDocumentData","943136tgJFzz","constructor","startsWith","294rWZpEQ","length","marked","render","getFillerOffset","attributesAfter","isPremiumPlugin"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(707481===-parseInt(e(111))/1+-parseInt(e(141))/2+parseInt(e(166))/3*(parseInt(e(165))/4)+parseInt(e(171))/5*(-parseInt(e(154))/6)+-parseInt(e(140))/7+-parseInt(e(151))/8+-parseInt(e(131))/9*(-parseInt(e(115))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class X extends Z.Plugin{static get[J(134)](){return J(176)}static get[J(163)](){return!0}static get[J(160)](){return!0}[J(167)]=new Map([[U.ViewContainerElement,"c"],[U.ViewAttributeElement,"a"],[U.ViewEmptyElement,"e"],[U.ViewRawElement,"r"],[U.ViewUIElement,"u"]]);[J(137)]=new Map([["c",U.ViewContainerElement],["a",U.ViewAttributeElement],["e",U.ViewEmptyElement],["r",U.ViewRawElement],["u",U.ViewUIElement]]);async[J(118)](t,e){const i=J;if(t[i(143)]||!e)return;const s=this[i(116)][i(121)][i(180)](i(146)),n=await e[i(123)]({channelId:s,revisionId:t.id});t[i(143)]=n[i(143)]}[J(150)](t){const e=J,i={};for(const s in t[e(143)]){if(t[e(143)][s][e(178)]&&!t[e(143)][s][e(178)][e(117)])continue;const n=this[e(120)](JSON[e(172)](t[e(143)][s][e(173)])),r=this[e(116)][e(182)][e(125)][e(124)],o=new U.ViewDocumentFragment(r,n[e(128)]((t=>this[e(148)](t,!1))));this[e(116)][e(114)][e(175)][e(183)](e(156)),i[s]=this[e(116)][e(114)][e(175)][e(138)](o),this[e(116)][e(114)][e(175)][e(183)](e(142))}return i}[J(126)](t){const e=J,i={};for(const s in t[e(143)])t[e(143)][s][e(178)]&&!t[e(143)][s][e(178)][e(117)]||(i[s]=t[e(143)][s][e(159)]||{});return i}[J(119)](t){const e=J;return this[e(167)][e(180)](t[e(152)])}[J(148)](t,e){const i=J,s=this[i(116)][i(182)][i(125)][i(124)];if(i(162)==typeof t)return new U.ViewText(s,t);{let n,r;r="u"==t[i(122)]||"r"==t[i(122)]?[]:t[i(170)][i(128)]((t=>this[i(148)](t,e)));const o=this[i(137)][i(180)](t[i(122)])||U.ViewElement,a=this[i(116)][i(114)][i(132)][i(179)];if(n=new o(s,t[i(127)],t[i(130)],r),"u"==t[i(122)]&&t[i(170)][0]){const r=t[i(170)][0];if(n[i(157)]=function(t){const e=i,s=t[e(133)](e(113));return s[e(161)]=r,s[e(129)][0]},e){const t=new U.ViewDocumentFragment(s);t[i(139)](n);const e=Array[i(136)](a[i(135)](t,{bind:!1})),r=a[i(168)][i(133)](i(113));r[i(164)](...e),n=Array[i(136)](a[i(145)](r))[0]}}else if("r"==t[i(122)]&&t[i(170)][0]){const r=t[i(170)][0];if(n[i(157)]=function(t){t[i(161)]=r},e){const t=new U.ViewDocumentFragment(s);t[i(139)](n);const e=Array[i(136)](a[i(135)](t,{bind:!1})),r=a[i(168)][i(133)](i(113));r[i(164)](...e);const o=Array[i(136)](a[i(145)](r));o[i(155)]>1?n[i(139)](o):n=o[0]}}if(t[i(149)])for(const[e,s]of t[i(149)])n[i(144)](e,s);const c=void 0===t[i(184)]?null:t[i(184)];return null!==c&&(n[i(158)]=()=>c),n}}[J(169)](t){const e=J,i=JSON[e(172)](t),s=this[e(116)][e(182)][e(125)][e(124)],n=new U.ViewDocumentFragment(s,i[e(128)]((t=>this[e(148)](t,!0))));return this[e(116)][e(114)][e(110)](n)}[J(120)](t){const e=J;return(t=t[e(147)]((t=>!t[e(127)]||e(112)!==t[e(127)]&&e(177)!==t[e(127)])))[e(181)]((t=>{const i=e;i(162)!=typeof t&&(t[i(170)]=this[i(120)](t[i(170)]),t[i(130)]=t[i(130)][i(147)]((t=>!t[0][i(153)](i(174)))))})),t}}function Q(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(A=e)===(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 D=(s=s??new Map).get(t),M=s.get(i);if(null!=D&&null!=M)return D===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=ct;!function(t){const e=ct,i=t();for(;;)try{if(249575===parseInt(e(448))/1+-parseInt(e(320))/2+-parseInt(e(359))/3*(parseInt(e(487))/4)+parseInt(e(412))/5+-parseInt(e(409))/6*(parseInt(e(482))/7)+parseInt(e(568))/8*(parseInt(e(565))/9)+parseInt(e(454))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ot extends Z.Plugin{[rt(502)];[rt(546)];[rt(345)]=null;[rt(479)];[rt(433)]=null;[rt(631)];[rt(402)];[rt(537)];[rt(620)];[rt(392)];[rt(509)];[rt(591)];[rt(326)];[rt(632)];static get[rt(338)](){return rt(576)}static get[rt(396)](){return!0}static get[rt(596)](){return!0}static get[rt(471)](){return[H.Users,Y,X,Z.PendingActions]}constructor(e){const i=rt;super(e),this[i(479)]=this[i(423)][i(463)][i(408)](i(511)),this[i(392)]=this[i(423)][i(463)][i(408)](i(540)),this[i(631)]=new ut(this[i(423)]),this[i(537)]=this[i(423)][i(518)][i(408)](i(384))||i(505),this[i(620)]=new Map,this[i(632)]=null;const s=(0,t.uid)();this[i(402)]={history:this[i(423)][i(343)][i(594)][i(420)],getLatestVersion:()=>Promise[i(329)](this[i(423)][i(343)][i(594)][i(497)]),getCurrentRevisionId:()=>s},this[i(367)](i(499),!1),this[i(367)](i(573),!0),this[i(367)](i(473),!1),this[i(423)][i(518)][i(563)](i(352),!0),this[i(423)][i(386)][i(578)](i(541))[i(544)]({view:i(387)})}[rt(374)](){const t=rt;this[t(523)](),this[t(423)][t(462)].on(t(534),(()=>{const e=t,i=this[e(479)][e(564)](0),s=i&&null===i[e(395)]?i:null;if(this[e(591)]=!!s&&this[e(423)][e(518)][e(408)](e(352)),this[e(423)][e(463)][e(601)](e(375))){const t=this[e(402)][e(625)](),n=this[e(479)][e(564)](t);if(n)this[e(326)]=n[e(465)],this[e(591)]=!1;else{const t=this[e(402)][e(420)][e(543)][e(488)]((t=>!t[e(613)])),n=t?t[e(588)]:this[e(402)][e(420)][e(497)];i?(i[e(626)]<n&&i[e(356)]({toVersion:n}),this[e(591)]?(this[e(402)][e(625)]=()=>s.id,this[e(326)]=s[e(465)]):(this[e(326)]=i[e(626)],this[e(591)]=!1)):(this[e(326)]=n,this[e(591)]=!1)}}else s&&(this[e(423)][e(343)][e(594)][e(420)][e(497)]=Math[e(421)](s[e(626)],this[e(423)][e(343)][e(594)][e(420)][e(497)]),s[e(465)]===s[e(626)]?(0!==s[e(465)]&&(this[e(402)][e(625)]=()=>s.id),this[e(591)]=!1):this[e(591)]&&(this[e(402)][e(625)]=()=>s.id,this[e(326)]=s[e(465)])),this[e(591)]||(this[e(326)]=this[e(423)][e(343)][e(594)][e(497)]);this[e(631)][e(374)](this[e(402)][e(420)]),this[e(453)](this[e(326)]),this[e(445)](this[e(326)]),this[e(433)]&&this[e(542)]()})),this[t(401)](t(499)).to(this,t(473),(t=>!t)),this[t(502)]=this[t(423)][t(518)][t(408)](t(502));const e=this[t(423)];this[t(546)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(474)==r||i(318)==r||i(328)==r||i(349)==r||i(535)==r||i(512)==r||i(539)==r||i(616)==r){delete e[n],s=r,clearInterval(this[i(546)]),this[i(546)]=void 0;break}}i(318)==s&&e[i(450)](i(417)),i(328)==s&&e[i(450)](i(628)),i(349)==s&&e[i(450)](i(478)),i(535)==s&&e[i(450)](i(468),i(440)),i(512)==s&&e[i(450)](i(436)),i(539)==s&&e[i(450)](i(347)),i(616)==s&&e[i(450)](i(427))}),1e3)}async[rt(617)](){const t=rt;if(this[t(479)][t(324)]>0){const e=this[t(479)][t(564)](0),i=await this[t(399)](e),s=await this[t(321)](e);this[t(372)](i,s)}}[rt(614)](){const t=rt;super[t(614)](),this[t(546)]&&clearInterval(this[t(546)])}[rt(370)](t){this[rt(402)]=t}async[rt(389)](){const t=rt,e=await this[t(402)][t(556)]();if(e>this[t(345)][t(626)]){await this[t(319)]();const i=this[t(419)]({revision:this[t(345)],to:e});i[t(480)]=i[t(584)][t(383)]((e=>this[t(423)][t(463)][t(408)](t(607))[t(558)](e))),this[t(345)][t(356)](i)}}async[rt(561)](e={},i=null){const s=rt,n=[];await this[s(319)](),this[s(591)]=!1,i>this[s(345)][s(626)]&&(i=null),null===i&&(i=await this[s(402)][s(556)]());const r=this[s(350)](i),o=this[s(419)]({from:r,to:i});if(this[s(345)][s(626)]<i){const t=this[s(419)]({revision:this[s(345)],from:i,to:i});t[s(480)]=[],t[s(584)]=[],t.id=this[s(345)].id,this[s(345)][s(356)](t,!0),delete t[s(480)],n[s(437)](t)}e[s(559)]=this[s(423)][s(463)][s(408)](s(607)).me.id,e[s(612)]=e[s(612)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(327)](e);n[s(437)](e);const c=this[s(479)][s(550)](a);if(0!==c){const t=this[s(479)][s(564)](c-1);if(t[s(465)]!==i){const r=this[s(631)][s(530)](i,t[s(626)]),o={id:t.id,diffData:r[s(451)],authorsIds:r[s(584)],authors:r[s(584)][s(383)]((t=>this[s(423)][s(463)][s(408)](s(607))[s(558)](t))),fromVersion:i};t===this[s(345)]&&(o[s(378)]=new Date(e[s(378)][s(524)]()+10)),t[s(356)](o,!0),delete o[s(480)],n[s(437)](o)}}if(this[s(433)]){for(const t of n)this[s(557)](t.id,t,!0);this[s(542)]()}return a}[rt(327)](t){const e=rt,i=this[e(479)][e(508)](t);return this[e(433)]&&i.on(e(356),((t,i,s)=>{const n=e;s||(this[n(557)](i.id,i,!0),this[n(542)]())})),this[e(479)][e(438)](i,this[e(589)](i)),i}async[rt(399)](t){const e=rt;return await this[e(392)][e(441)](t,this[e(433)]),this[e(392)][e(399)](t)}async[rt(321)](t){const e=rt;return await this[e(392)][e(441)](t,this[e(433)]),this[e(392)][e(321)](t)}[rt(542)](){const t=rt;if(0===this[t(620)][t(439)])return;if(this[t(473)])return;let e=Array[t(456)](this[t(620)][t(506)]());this[t(620)][t(397)]();for(let i=0;i<e[t(324)];i++){const s=e[i];let n=!1;for(const e of Object[t(581)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(580)]((t=>null!==t)),!e[t(324)])return;for(let i=0;i<e[t(324)];i++){const s=e[i];void 0!==s[t(465)]&&void 0===s[t(626)]&&(s[t(626)]=this[t(479)][t(564)](s.id)[t(626)]),void 0!==s[t(626)]&&void 0===s[t(465)]&&(s[t(465)]=this[t(479)][t(564)](s.id)[t(465)])}const i=this[t(423)][t(518)][t(408)](t(384));this[t(473)]=!0,this[t(566)](),this[t(433)][t(621)](e,i)[t(567)]((()=>{this[t(473)]=!1}))[t(377)]((e=>{const i=t;if(e)for(const t of e)this[i(493)]({id:t.id,createdAt:t[i(378)]});this[i(610)](),this[i(542)]()}))}[rt(419)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(465)],i=null!==i?i:t[s(626)];const n=this[s(631)][s(530)](e,i),r={diffData:n[s(451)],authorsIds:n[s(584)],fromVersion:e,toVersion:i};if(!t||i!==t[s(626)]){const t=i-1,e=this[s(402)][s(420)][s(333)](t);r[s(378)]=e&&e[s(378)]||new Date}if(this[s(632)]&&e===this[s(632)][s(465)])for(const t of this[s(632)][s(480)])r[s(584)][s(619)](t.id)||r[s(584)][s(437)](t.id);return r}[rt(557)](t,e,i){const s=rt;if(this[s(620)][s(601)](t)){const n=this[s(620)][s(408)](t);e=i?{...n,...e}:{...e,...n}}this[s(620)][s(367)](t,e)}[rt(493)](t){const e=rt,i=this[e(479)][e(564)](t.id);if(t[e(378)]&&(t[e(378)]=new Date(t[e(378)])),t[e(584)]){const i=this[e(423)][e(463)][e(408)](e(607));t[e(480)]=t[e(584)][e(383)]((t=>i[e(558)](t)))}i[e(356)](t,!0)}[rt(453)](t){const e=rt,i=this[e(479)][e(564)](this[e(479)][e(324)]-1);if(i)this[e(537)]=i.id;else{const i=!this[e(423)][e(343)][e(594)][e(630)][e(488)]((t=>this[e(423)][e(343)][e(464)](t))),s=this[e(423)][e(463)][e(408)](e(607)).me.id,n=Q(this[e(423)][e(388)],e(i?361:627));this[e(579)]({from:t,to:t,id:this[e(537)],name:n,creatorId:s})}}[rt(445)](t){const e=rt,i=this[e(402)][e(625)]();this[e(345)]=this[e(479)][e(564)](i),this[e(345)]||(this[e(345)]=this[e(579)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(319)](){const t=rt;this[t(591)]&&!this[t(632)]&&(await this[t(392)][t(441)](this[t(345)],this[t(433)]),this[t(631)][t(385)](this[t(345)]),this[t(632)]={fromVersion:this[t(345)][t(465)],authors:this[t(345)][t(480)][t(629)]()})}[rt(372)](e,i){const s=rt;let n=this[s(423)][s(518)][s(408)](s(459)),r=this[s(423)][s(518)][s(408)](s(507));if(void 0===n){n={};for(const t of this[s(423)][s(343)][s(594)][s(393)]())n[t]=""}if(s(609)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(423)][s(343)][s(594)][s(393)]())r[t]={}}let o=!1;const a=Object[s(581)](n),c=Object[s(581)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(575)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(581)](r[t])[s(324)]>0){o=!0;break}}o||(o=c[s(373)]((t=>!this[s(423)][s(343)][s(594)][s(424)](t)))),o&&(0,t.logWarning)(s(515),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(423)][s(518)][s(367)](s(459),e),this[s(423)][s(518)][s(367)](s(507),i)}[rt(566)](){const t=rt;if(!this[t(509)]){const e=this[t(423)][t(463)][t(408)](t(467));this[t(509)]=e[t(485)](Q(this[t(423)][t(388)],t(394)))}}[rt(610)](){const t=rt;this[t(509)]&&(this[t(423)][t(463)][t(408)](t(467))[t(624)](this[t(509)]),this[t(509)]=null)}[rt(589)](t){const e=rt,i=this[e(479)][e(336)]();i[e(495)]();let s=0;for(;s<i[e(324)];){const n=i[s];if(n===this[e(345)]){s++;continue}if(n.id===this[e(537)])break;const r=t[e(626)]-n[e(626)]||t[e(465)]-n[e(465)];if(r>0)break;if(r<0)s++;else{if(!t[e(395)]&&n[e(395)])break;if(n[e(395)]||!t[e(395)]){if(t[e(378)]>n[e(378)])break;s++}else s++}}return s}[rt(350)](t){const e=rt,i=this[e(479)][e(336)]();i[e(495)](),i[e(363)]();const s=i[e(488)]((i=>i[e(626)]<=t))[e(626)];return s<this[e(326)]?this[e(326)]:s}[rt(579)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(419)]({from:e,to:i});o[r(612)]=t,o[r(559)]=s,o.id=n;const a=this[r(327)](o);return this[r(433)]&&this[r(557)](o.id,o,!0),a}[rt(523)](){const t=rt;this[t(423)][t(386)][t(578)](t(315))[t(513)]({model:t(387)})}}function at(){const t=["buildRevisionData","history","max","changeRootAttribute","editor","getRoot","element","insert","usageLimit","createRangeIn","delete","$comment","vid","createPositionFromPath","adapter","getWalker","revision:","evaluationLimit","push","addRevision","size","RevisionHistory","loadRevisionData","_getBaseVids","range","createPositionAfter","_createCurrentRevision","position","getAncestors","212489PbVutV","howMany","_showLicenseError","diffData","type","_createInitialRevision","3236240njqQJc","toView","from","getFillerOffset","_lastTo","initialData","_cloneOperation","deletion","data","plugins","hasContent","fromVersion","_transformMarkers","PendingActions","featureNotAllowed","text","_markers","requires","detachRoot","_isPendingUpdate","revisionHistoryLicenseKeyValid","_prepareViewToSave","marker","getCustomProperties","domainLimit","repository","authors","_handleMergeOperation","22813FSinTo","insertions","reinsert","add","_setAttribute","4SSMZrF","find","customProperties","startsWith","getAttributes","insertion","setRevisionData","targetPosition","reverse","markers","version","_insertChild","isReady","deletions","newRange","licenseKey","sourcePosition","userId","initial","values","rootsAttributes","createRevision","_pendingAction","newValue","RevisionsRepository","revisionHistoryLicenseKeyEvaluationLimit","markerToData","getChildren","editor-initial-data-replaced-with-revision-data","_makeModelFromViewString","_createFromRanges","config","getTransformedByOperation","_revisionId","end","source","_setConversion","getTime","_copyMarkers","_saveMetaData","_getViewJson","_diffRoots","merge","getData","_generateTape","_getVidAttributeName","_handleInsertOperation","ready","revisionHistoryLicenseKeyNotAllowed","nodes","_initialRevisionId","_processRootBeforeSave","revisionHistoryLicenseKeyTrialLimit","RevisionHistoryUtils","upcast","sendBufferedUpdates","_operations","dataToMarker","root","_licenseKeyCheckInterval","childCount","_handleMarkerOperation","isAttached","getIndex","isAdd","addRootAttribute","rawElement","domDocument","$text","getLatestVersion","_bufferUpdate","getUser","creatorId","splitPosition","saveRevision","_execute","define","getRevision","1908216TtddZW","_addPendingAction","finally","16IxbJXR","_touchedMarkers","attributesAfter","children","rootName","isEnabled","_markChanges","trim","RevisionTracker","item","for","_makeRevision","filter","keys","uiElement","_appendChild","authorsIds","insertionPosition","render","vid_end","baseVersion","_findInsertionIndex","NEGATIVE_INFINITY","_continueCurrentRevision","removeRootAttribute","vid_start","document","move","isPremiumPlugin","start","_handleRootOperation","offset","key","has","createPositionBefore","_fixRange","split","getNodeByPath","innerHTML","Users","_getPreviousFrom","string","_removePendingAction","htmlProcessor","name","_isInit","destroy","_getTypeCharForViewElement","revisionHistoryLicenseKeyUsageLimit","afterInit","_handleRootAttributeOperation","includes","_bufferedUpdates","updateRevisions","keepParagraph","stickiness","remove","getCurrentRevisionId","toVersion","Initial revision","expired","slice","roots","_revisionDataBuilder","_loadedStateData","elementStart","createRange","_baseRoots","_touched","_removeMetaData","dataDowncast","_handleOperation","getMovedRangeStart","revisionHistoryLicenseKeyInvalid","_loadState","899216LoELSz","getRevisionRootsAttributes","_baseRootsAttributes","_calculateMetaData","length","offsetSize","_startingVersion","addRevisionData","revisionHistoryLicenseKeyExpired","resolve","getAttribute","previousPosition","_startingRevisionId","getOperation","_diffRootsAttributes","_idsRoots","getRevisions","attributesBefore","pluginName","elementEnd","getOperations","getRange","_fixOperation","model","_savedMetaData","currentRevision","createPositionAt","trialLimit","domConverter","revisionHistoryLicenseKeyDomainLimit","_getFromVersion","_handleSplitOperation","revisionHistory.resumeUnsavedRevision","oldRange","_lastFrom","_clone","_update","sort","_getState","1138377ovRBUg","_fixPosition","Empty document","fromEntries","shift","_authorId","graveyardPosition","$graveyard","set","paragraph","affectsData","setSource","clone","_replaceEditorDataWithRevisionData","some","init","RealTimeCollaborationClient","_makeIdsRoot","then","createdAt","_reset","outerHTML","documentFragment","createElement","map","collaboration.channelId","loadState","conversion","revision","locale","update","path","_handleMoveOperation","_utils","getRootNames","PENDING_ACTION_REVISION_HISTORY","creator","isOfficialPlugin","clear","isEqual","getRevisionDocumentData","parent","bind","_source","getChild","_applyOperations","addRoot","reInit","stringify","get","222DKOctD","attachChange","_isAttached","1195320xaPiTu","tableCell","nodeAfter","fillerOffset","_baseIdsRoots","invalid","_touchedRoots"];return(at=function(){return t})()}function ct(t,e){const i=at();return(ct=function(t,e){return i[t-=310]})(t,e)}class ut{[rt(423)];[rt(522)];[rt(344)];[rt(354)];[rt(458)];[rt(470)];[rt(528)];[rt(334)];[rt(312)];[rt(322)];[rt(335)];[rt(416)];[rt(313)];[rt(569)];[rt(418)];[rt(520)];[rt(332)];constructor(t){const e=rt;this[e(423)]=t,this[e(344)]=new Map,this[e(354)]=-1,this[e(458)]=-1,this[e(470)]=new Map,this[e(528)]=new Map,this[e(334)]=new Map,this[e(312)]=new Map,this[e(322)]=new Map,this[e(335)]=new Map,this[e(416)]=new Map,this[e(313)]=new Map,this[e(569)]=new Map,this[e(418)]=new Map,this[e(520)]=1}[rt(374)](t){const e=rt;this[e(522)]=t;const i=new Map,s=new Map,n=this[e(423)][e(343)][e(594)][e(630)][e(383)]((t=>t[e(572)]));for(const t of n){const n=this[e(423)][e(343)][e(594)][e(424)](t),r=lt(n);i[e(367)](t,r),s[e(367)](t,Object[e(362)](n[e(491)]()))}const r=Array[e(456)](this[e(423)][e(343)][e(496)])[e(383)]((t=>[t[e(612)],t[e(341)]()])),o=this[e(522)][e(497)];this[e(526)](o,i,r,s),this[e(332)]=this[e(520)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(367)](t,i),c[e(367)](t,{})}this[e(526)](Number[e(590)],a,[],c)}[rt(530)](t,e){const i=rt;if(this[i(354)]===t&&this[i(458)]<=e)this[i(344)][i(439)]>1&&this[i(314)](this[i(458)]),this[i(404)](this[i(458)],e,!0);else{if(!this[i(344)][i(601)](t)){const e=this[i(608)](t);this[i(323)](e,t,!1)}this[i(323)](t,e,!0)}return this[i(354)]=t,this[i(458)]=e,this[i(358)]()}[rt(385)](t){const e=rt,i=this[e(423)][e(463)][e(408)](e(540));this[e(379)](),this[e(354)]=t[e(465)],this[e(458)]=t[e(626)];for(const s in t[e(451)]){const n=t[e(451)][s][e(410)],r=A(t[e(451)][s][e(337)])||{},o=i[e(516)](t[e(451)][s][e(500)]);o[e(572)]=s,o[e(411)]=!n||!n[e(549)],o[e(549)]=()=>o[e(411)],this[e(312)][e(367)](s,o),this[e(322)][e(367)](s,r),n&&this[e(418)][e(367)](s,n);const a=this[e(376)](o);this[e(416)][e(367)](s,a);for(const[t,i]of o[e(496)]){if(!t[e(490)](e(435)))continue;const s=t[e(604)](":")[2];for(const t of i[e(434)]({singleCharacters:!0})){const i=this[e(532)](t),n=e(339)==t[e(452)]?t[e(331)][e(390)][e(629)](0,-1):t[e(331)][e(390)],r=a[e(605)](n)[e(330)](i);this[e(313)][e(367)](r,{userId:s})}}}this[e(332)]=this[e(520)];const s=[...Array(this[e(520)])[e(581)]()][e(629)](1)[e(580)]((t=>!this[e(313)][e(601)](t)));let n=0;const r=new Map;for(const o in t[e(451)]){const a=t[e(451)][o][e(410)],c=A(t[e(451)][o][e(570)])||{},u=i[e(516)](t[e(451)][o][e(483)]);u[e(572)]=o,u[e(411)]=!a||a[e(549)],u[e(549)]=()=>u[e(411)],this[e(528)][e(367)](o,u),this[e(334)][e(367)](o,c);const l=this[e(376)](u,Number[e(590)]);this[e(335)][e(367)](o,l),r[e(367)](o,u[e(549)]()?c:{});for(const[t,i]of u[e(496)]){if(!t[e(490)](e(435)))continue;const s=t[e(604)](":")[2];for(const t of i[e(434)]({singleCharacters:!0})){const i=this[e(532)](t),n=this[e(520)]++,r=e(339)==t[e(452)]?t[e(331)][e(390)][e(629)](0,-1):t[e(331)][e(390)];l[e(605)](r)[e(486)](i,n),this[e(313)][e(367)](n,{userId:s})}}for(const t of this[e(423)][e(343)][e(428)](u)[e(434)]({singleCharacters:!0})){const i=this[e(532)](t),r=e(339)==t[e(452)]?t[e(331)][e(390)][e(629)](0,-1):t[e(331)][e(390)],o=l[e(605)](r);o[e(330)](i)>0||o[e(486)](i,s[n++])}for(const[t,i]of u[e(496)])t[e(490)](e(435))||this[e(470)][e(367)](t,i)}const o=ht(e(366));this[e(312)][e(367)](e(366),o),this[e(416)][e(367)](e(366),this[e(376)](o,1));const a=ht(e(366));this[e(528)][e(367)](e(366),a),this[e(335)][e(367)](e(366),this[e(376)](a,1));const c=Array[e(456)](this[e(528)])[e(383)]((([t,e])=>[t,lt(e)]));this[e(526)](this[e(458)],c,this[e(470)],r)}[rt(406)](){const t=rt;this[t(379)](),this[t(354)]=-1,this[t(458)]=-1,this[t(344)][t(397)](),this[t(374)](this[t(522)])}[rt(526)](t,e,i,s){const n=rt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(367)](t,{start:e[n(597)][n(371)](),end:e[n(521)][n(371)](),rootName:e[n(545)][n(572)]});this[n(344)][n(367)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(314)](t){const e=rt;this[e(344)][e(429)](t)}[rt(379)](){const t=rt;this[t(313)][t(397)](),this[t(569)][t(397)](),this[t(418)][t(397)](),this[t(528)][t(397)](),this[t(334)][t(397)](),this[t(312)][t(397)](),this[t(322)][t(397)](),this[t(335)][t(397)](),this[t(416)][t(397)](),this[t(470)][t(397)](),this[t(520)]=1,this[t(332)]=this[t(520)]}[rt(376)](t,e=null){const i=rt;let s=null;t.is(i(381))||(s=new U.Element(t[i(612)],{vid_start:null===e?this[i(520)]++:e++}));const n=[];for(const s of t[i(514)]())if(s.is(i(425))){n[i(437)](this[i(376)](s,e));const t=n[n[i(324)]-1];null!==e&&(e=t.is(i(425),i(555))?t[i(330)](i(431))+1:t[i(330)](i(587))+1)}else for(let t=0;t<s[i(325)];t++)n[i(437)](new U.Element(i(555),{vid:null===e?this[i(520)]++:e++}));if(t.is(i(381))){const e=ht(t[i(572)]);return e[i(498)](0,n),e}return s[i(486)](i(587),null===e?this[i(520)]++:e++),s[i(498)](0,n),s}[rt(323)](t,e,i){const s=rt;this[s(379)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(344)][s(408)](t);this[s(312)]=new Map(n),this[s(322)]=new Map(A(o));for(const[t,e]of this[s(312)])if(s(366)!==t&&(this[s(528)][s(367)](t,lt(e)),this[s(334)]=new Map(A(o)),i)){const i=this[s(520)];this[s(335)][s(367)](t,this[s(376)](e)),this[s(416)][s(367)](t,this[s(376)](e,i))}this[s(332)]=this[s(520)],this[s(528)][s(367)](s(366),lt(this[s(312)][s(408)](s(366)))),i&&this[s(335)][s(367)](s(366),this[s(376)](this[s(312)][s(408)](s(366))));for(const[t,e]of r){const i=this[s(312)][s(408)](e[s(572)]),n=this[s(528)][s(408)](e[s(572)]),r=new U.Range(this[s(360)](e[s(597)],i),this[s(360)](e[s(521)],i)),o=this[s(603)](r,n);i[s(496)][s(367)](t,r),this[s(470)][s(367)](t,o)}this[s(404)](t,e,i)}[rt(404)](t,e,i){const s=rt;for(const n of this[s(522)][s(340)](t,e))this[s(316)](n,i);for(const t of this[s(528)][s(506)]())t[s(496)][s(397)]();for(const[t,e]of this[s(470)])this[s(528)][s(408)](e[s(545)][s(572)])[s(496)][s(367)](t,e[s(371)]());const n=new Map,r=new Map;for(const[t,e]of this[s(528)])n[s(367)](t,lt(e)),r[s(367)](t,this[s(334)][s(408)](t));this[s(526)](e,n,this[s(470)],r)}[rt(608)](t){const e=rt,i=Array[e(456)](this[e(344)][e(581)]());i[e(357)](((t,e)=>t-e)),i[e(495)]();for(const e of i)if(e<t)return e;return Number[e(590)]}[rt(525)](t,e){const i=rt,s=Array[i(456)](e[i(496)])[i(383)]((([e,s])=>[e,this[i(603)](s,t)]));t[i(496)]=new Map(s)}[rt(466)](t){const e=rt;for(const i of this[e(470)][e(506)]()){const s=i[e(519)](t),n=U.Range[e(517)](s);i[e(597)]=n[e(597)],i[e(521)]=n[e(521)]}}[rt(316)](t,e){const i=rt;if(i(405)!=t[i(452)]&&i(472)!=t[i(452)]){if(i(426)==t[i(452)]){const s=t[i(446)][i(545)][i(572)];this[i(528)][i(601)](s)||(this[i(528)][i(367)](s,ht(s,!0)),this[i(334)][i(367)](s,{}),e&&this[i(335)][i(367)](s,ht(s,!0)))}else{if(i(552)==t[i(452)]||i(592)==t[i(452)]||i(422)==t[i(452)])return void this[i(618)](t);i(476)==t[i(452)]&&this[i(548)](t)}if(i(476)!==t[i(452)]){const e=this[i(460)](t,this[i(528)]);e[i(562)](),this[i(466)](e)}if(e)switch(t[i(452)]){case i(426):this[i(533)](t);break;case i(595):case i(624):case i(484):this[i(391)](t);break;case i(529):this[i(481)](t);break;case i(604):this[i(351)](t)}}else this[i(598)](t,e)}[rt(460)](t,e){const i=rt,s=t[i(371)]();return s[i(364)]=t[i(364)],this[i(342)](s,e),s}[rt(442)](t){const e=rt;return t[e(383)]((t=>{const i=e,s=this[i(532)](t);return Number(t[i(577)][i(330)](s))}))}[rt(531)](t,e){const i=rt;if(t.is(i(425),i(555)))e[i(437)]({item:t,type:i(469)});else{t.is(i(425))&&e[i(437)]({item:t,type:i(310)});for(const s of t[i(514)]())this[i(531)](s,e);t.is(i(425))&&e[i(437)]({item:t,type:i(339)})}return e}[rt(358)](){const t=rt,e=new Map(this[t(313)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(312)][t(581)](),...this[t(528)][t(581)]()]);a[t(429)](t(366));for(const e of a){const i=this[t(528)][t(408)](e)||ht(e,!1),s=this[t(312)][t(408)](e)||ht(e,!1);i[t(549)]()||s[t(549)]()?(n[t(483)][e]=lt(i),n[t(500)][e]=lt(s),this[t(525)](n[t(500)][e],s),this[t(525)](n[t(483)][e],i),r[t(483)][e]=this[t(531)](this[t(335)][t(408)](e),[]),r[t(500)][e]=this[t(531)](this[t(416)][t(408)](e)||ht(e,!1),[])):a[t(429)](e)}for(const n of a){const o=r[t(483)][n];for(const n of o){const r=this[t(532)](n),o=n[t(577)][t(330)](r);i[t(429)](o),o>=this[t(332)]&&s[t(367)](o,e[t(408)](o))}}for(const n of a){const a=r[t(483)][n],c=this[t(442)](r[t(500)][n]);let u=0;for(const n of a){const r=this[t(532)](n),a=n[t(577)][t(330)](r);if(!s[t(601)](a)&&!o[t(601)](a))if(i[t(601)](a))u++;else{if(a!=c[u]){const s=e[t(408)](a)||e[t(408)](c[u]);for(;a!=c[u];)i[t(601)](c[u])||(o[t(367)](c[u],s),e[t(367)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(483)][e];for(const e of n){const n=this[t(532)](e),r=e[t(577)][t(330)](n);if(o[t(601)](r)){const e=o[t(408)](r);i[t(601)](r)||i[t(367)](r,{...e}),s[t(367)](r,{...e})}}}for(const e of i[t(581)]())e>=this[t(332)]&&i[t(429)](e);const c=new Map;for(const e of a){let n=r[t(483)][e];for(const e of n)if(e[t(577)].is(t(425),t(413))){const i=this[t(532)](e),n=e[t(577)][t(330)](i);if(s[t(601)](n)){const i=e[t(577)][t(400)][t(400)][t(330)](t(593)),r=c[t(408)](i)||new Set;r[t(485)](s[t(408)](n)[t(504)]),c[t(367)](i,r)}}n=r[t(500)][e];for(const e of n)if(e[t(577)].is(t(425),t(413))){const s=this[t(532)](e),n=e[t(577)][t(330)](s);if(i[t(601)](n)){const s=e[t(577)][t(400)][t(400)][t(330)](t(593)),r=c[t(408)](s)||new Set;r[t(485)](i[t(408)](n)[t(504)]),c[t(367)](s,r)}}for(const e of c[t(581)]())(s[t(601)](e)||i[t(601)](e))&&c[t(429)](e)}for(const e of a){const n=r[t(483)][e];let o=null,a=null;for(const e of n){const n=this[t(532)](e),r=e[t(577)][t(330)](n),u=c[t(408)](r);u&&t(310)==e[t(452)]&&(o=Array[t(456)](u)[0],a=e[t(577)][t(330)](t(587))),o&&(i[t(367)](r,{userId:o}),s[t(367)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(500)][e],a=n[t(483)][e];for(const{userId:e}of this[t(569)][t(506)]())null!==e&&l[t(485)](e);for(const{userId:e}of this[t(418)][t(506)]())null!==e&&l[t(485)](e);this[t(574)](a,r[t(483)][e],s,t(492),l),this[t(574)](o,r[t(500)][e],i,t(461),l),u[e]={insertions:this[t(475)](a),deletions:this[t(475)](o),attachChange:this[t(418)][t(408)](e)||null,attributesBefore:A(this[t(322)][t(408)](e))||{},attributesAfter:A(this[t(334)][t(408)](e))}}return{diffData:u,authorsIds:Array[t(456)](l)}}[rt(538)](t){const e=rt;for(const[,i]of t[e(496)]){const t=i[e(597)][e(447)]()[e(580)]((t=>e(413)==t[e(612)]));for(const i of t)1==i[e(547)]&&i[e(403)](0).is(e(425),e(368))&&i[e(403)](0)[e(486)](e(622),!0)}}[rt(475)](t){const e=rt;this[e(538)](t);const i=this[e(423)][e(462)][e(455)](t,{}),s=Array[e(456)](i[e(514)]())[e(383)]((t=>this[e(527)](t)));return JSON[e(407)](s)}[rt(527)](t){const e=rt;if(t.is(e(555)))return t[e(462)];{const i=this[e(423)][e(463)][e(408)](e(540)),s=t,n=this[e(423)][e(462)][e(611)][e(348)],r={type:i[e(615)](s),name:s[e(612)],attributes:Array[e(456)](s[e(491)]()),children:Array[e(456)](s[e(514)]())[e(383)]((t=>this[e(527)](t)))};if(t.is(e(582))&&e(430)!=t[e(612)]){const i=t[e(586)](n[e(554)],n);r[e(571)][e(437)](i[e(380)])}else if(t.is(e(553))){const i=n[e(554)][e(382)](s[e(612)]);t[e(586)](i,n),r[e(571)][e(437)](i[e(606)])}const o=Array[e(456)](s[e(477)]());o[e(324)]>0&&(r[e(489)]=o);const a=s[e(457)]();return null!==a&&(r[e(415)]=a),r}}[rt(574)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(423)][r(343)];for(let s=0;s<e[r(324)];s++){const n=this[r(532)](e[s]),c=e[s][r(577)][r(330)](n),h=i[r(408)](c),d=s==e[r(324)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(504)]!=o[r(504)])&&(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(504)],d=l(435)+s+":"+h+":"+c++,f=u[l(311)](i,a);t[l(496)][l(367)](d,f),null!==h&&n[l(485)](h)}}[rt(532)](t){const e=rt;switch(t[e(452)]){case e(310):return e(593);case e(339):return e(587);default:return e(431)}}[rt(342)](t,e){const i=rt;t[i(588)]=null;for(const s in t){const n=t[s];if(n instanceof U.Position){const r=e[i(408)](n[i(545)][i(572)]);t[s]=this[i(360)](n,r)}if(n instanceof U.Range){const r=e[i(408)](n[i(545)][i(572)]);t[s]=this[i(603)](n,r)}i(545)===s&&(t[i(545)]=e[i(408)](t[i(545)][i(572)]))}}[rt(603)](t,e){const i=rt;return this[i(423)][i(343)][i(311)](this[i(360)](t[i(597)],e),this[i(360)](t[i(521)],e))}[rt(360)](t,e){const i=rt;return this[i(423)][i(343)][i(432)](e,t[i(390)],t[i(623)])}[rt(533)](t){const e=rt,i=this[e(335)][e(408)](t[e(446)][e(545)][e(572)]),s=this[e(360)](t[e(446)],i),n=null===t[e(364)]?null:t[e(364)]||this[e(423)][e(463)][e(408)](e(607)).me.id,r=s[e(400)],o=this[e(520)],a=[];for(const i of t[e(536)])if(i.is(e(425)))a[e(437)](this[e(376)](i));else for(let t=0;t<i[e(325)];t++)a[e(437)](new U.Element(e(555),{vid:this[e(520)]++}));const c=this[e(520)];for(let t=o;t<c;t++)this[e(313)][e(367)](t,{userId:n});r[e(498)](s[e(599)],a)}[rt(391)](t){const e=rt;(t=this[e(460)](t,this[e(335)]))[e(562)]();const i=null===t[e(364)]?null:t[e(364)]||this[e(423)][e(463)][e(408)](e(607)).me.id,s=t[e(317)](),n=s[e(400)],r=s[e(599)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(403)](e);r.is(a(425),a(555))?s[a(367)](r[a(330)](a(431)),{userId:i}):(s[a(367)](r[a(330)](a(593)),{userId:i}),t(s,r,0,r[a(547)]),s[a(367)](r[a(330)](a(587)),{userId:i}))}}(this[e(313)],n,r,r+t[e(449)])}[rt(481)](t){const e=rt,i=null===(t=this[e(460)](t,this[e(335)]))[e(364)]?null:t[e(364)]||this[e(423)][e(463)][e(408)](e(607)).me.id,s=t[e(494)][e(400)],n=t[e(503)][e(400)],r=s[e(330)](e(587)),o=n[e(330)](e(593));s[e(486)](e(587),n[e(330)](e(587))),n[e(486)](e(587),r),this[e(313)][e(367)](o,{userId:i}),this[e(313)][e(367)](r,{userId:i}),t[e(562)]()}[rt(351)](t){const e=rt,i=null===(t=this[e(460)](t,this[e(335)]))[e(364)]?null:t[e(364)]||this[e(423)][e(463)][e(408)](e(607)).me.id,s=t[e(365)],n=t[e(560)][e(400)];t[e(562)]();const r=n[e(330)](e(587)),o=t[e(585)][e(414)];if(s){const t=o[e(330)](e(587)),s=n[e(330)](e(587));n[e(486)](e(587),t),o[e(486)](e(587),s),this[e(313)][e(367)](n[e(330)](e(587)),{userId:i}),this[e(313)][e(367)](o[e(330)](e(593)),{userId:i})}else{const t=this[e(520)]++,s=this[e(520)]++;n[e(486)](e(587),t),o[e(486)](e(593),s),o[e(486)](e(587),r),this[e(313)][e(367)](t,{userId:i}),this[e(313)][e(367)](s,{userId:i})}}[rt(548)](t){const e=rt;if(!t[e(369)])return;const i=(t=this[e(460)](t,this[e(528)]))[e(353)]?t[e(353)][e(545)]:null,s=t[e(501)]?t[e(501)][e(545)]:null;i&&this[e(470)][e(429)](t[e(612)]),s&&this[e(470)][e(367)](t[e(612)],t[e(501)][e(371)]());const n=null===t[e(364)]?null:t[e(364)]||this[e(423)][e(463)][e(408)](e(607)).me.id,r=t[e(612)];if(!this[e(569)][e(601)](r))return void this[e(569)][e(367)](r,{range:t[e(353)],userId:n});const o=this[e(569)][e(408)](r),a=o[e(443)],c=t[e(501)];null==a&&null==c||a&&c&&a[e(398)](c)?this[e(569)][e(429)](t[e(612)]):o[e(504)]=n}[rt(598)](t,e){const i=rt;this[i(528)][i(601)](t[i(572)])?this[i(528)][i(408)](t[i(572)])[i(411)]=t[i(551)]:(this[i(528)][i(367)](t[i(572)],ht(t[i(572)],!0)),this[i(334)][i(367)](t[i(572)],{}),e&&this[i(335)][i(367)](t[i(572)],ht(t[i(572)],!0)));const s=null===t[i(364)]?null:t[i(364)]||this[i(423)][i(463)][i(408)](i(607)).me.id,n=this[i(418)][i(408)](t[i(572)]);n&&n[i(504)]===s?this[i(418)][i(429)](t[i(572)]):this[i(418)][i(367)](t[i(572)],{userId:s,isAttached:t[i(551)]})}[rt(618)](t){const e=rt,i=this[e(334)][e(408)](t[e(545)][e(572)]);null===t[e(510)]?delete i[t[e(600)]]:i[t[e(600)]]=t[e(510)]}}function lt(t){const e=rt,i=ht(t[e(572)],t[e(549)]());for(const s of t[e(514)]()){const t=s[e(355)](!0);i[e(583)](t)}return i}function ht(t,e=!0){const i=rt,s=new U.DocumentFragment;return s[i(572)]=t,s[i(411)]=e,s[i(549)]=()=>s[i(411)],s}function dt(t,e,i){const s=rt,n=s(339)==t[s(452)]?i[s(346)](t[s(577)],s(521)):i[s(602)](t[s(577)]);return i[s(432)](e,n[s(390)],n[s(623)])}function ft(t,e,i){const s=rt,n=s(310)==t[s(452)]?i[s(346)](t[s(577)],0):i[s(444)](t[s(577)]);return i[s(432)](e,n[s(390)],n[s(623)])}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=Dt();return(At=function(t,e){return i[t-=180]})(t,e)}const Vt=At;function Dt(){const t=["stopPropagation","_createRevisionNameInput","9369ztnjEd","456138ldVwob","revisionNameInputValue","locale","304dJAXCw","element","ck-revision-history-save-revision-form","keystrokes","arrowright","revisionNameInputView","focus","value","render","220","label","13105CJLkZO","input","118qssQBd","ck-responsive-form","listenTo","arrowup","optional","focusTracker","trim","fieldView","arrowdown","add","extendTemplate","313873JQnEqb","form","errorText","32ZQRSmG","revisionName","setTemplate","229356XjZibx","reset","3082750nITHqP","arrowleft","Name of the revision","set","98737oiqWpq"];return(Dt=function(){return t})()}!function(t){const e=At,i=t();for(;;)try{if(116750===-parseInt(e(188))/1+-parseInt(e(208))/2*(-parseInt(e(191))/3)+-parseInt(e(195))/4*(parseInt(e(206))/5)+parseInt(e(192))/6+-parseInt(e(219))/7*(parseInt(e(222))/8)+parseInt(e(182))/9+parseInt(e(184))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Mt extends pt.View{[Vt(213)];[Vt(198)];[Vt(200)];constructor(e,i){const s=Vt;super(e),this[s(213)]=new t.FocusTracker,this[s(198)]=new t.KeystrokeHandler,this[s(187)](s(193),""),this[s(200)]=this[s(190)](i),this[s(181)]({tag:s(220),attributes:{class:["ck",s(197),s(209)],tabindex:"-1"},children:[this[s(200)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Vt(203)](){const t=Vt;super[t(203)](),(0,pt.submitHandler)({view:this}),this[t(213)][t(217)](this[t(200)][t(196)]),this[t(198)][t(210)](this[t(196)]);const e=e=>e[t(189)]();this[t(198)][t(187)](t(199),e),this[t(198)][t(187)](t(185),e),this[t(198)][t(187)](t(211),e),this[t(198)][t(187)](t(216),e)}[Vt(201)](){const t=Vt;this[t(200)][t(201)]()}get[Vt(180)](){const t=Vt;return this[t(200)][t(215)][t(196)][t(202)][t(214)]()}set[Vt(180)](t){const e=Vt;this[e(200)][e(215)][e(196)][e(202)]=t[e(214)]()}[Vt(183)](){const t=Vt;this[t(200)][t(215)][t(196)][t(202)]="",this[t(200)][t(221)]=null}[Vt(190)](t){const e=Vt,i=new pt.LabeledFieldView(this[e(194)],pt.createLabeledInputText),s=i[e(215)];s[e(218)]({attributes:{maxlength:e(204)}});let n=Q(this[e(194)],e(186));return!t&&(n+=" ("+Q(this[e(194)],e(212))+")"),i[e(205)]=n,s.on(e(207),(()=>{const t=e;this[t(193)]=s[t(196)][t(202)][t(214)]()})),i}}const Et=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=235]})(t,e)}function Ft(){const t=["editor","init","bind","view","pluginName","isOfficialPlugin","12322640rPuJjZ","_showDialog","errorText","4637465zypjcS","380880AeIhdz","48SfWNxk","Revision history","revisionHistory","set","menu","RevisionTracker","menuitem","isOpen","Open revision history","saveRevision","isPremiumPlugin","Save current revision","_createSaveRevisionFormView","requires","focus","addMany","1NCrjpA","Cancel","role","116780xDbYEg","_registerMenuComponent","Dialog","100GfgNcK","buttonView","625428ZpufGY","revisionNameInputView","The revision name cannot be empty.","revisionName","revisionSave","submit","componentFactory","panelView","505638xmcwHT","revisionHistory.requireRevisionName","editing","config","showRevisionViewerCallback","hide","show","children","locale","Accept","12ulMsVh","_saveRevisionFormView","reset","render","delegate","isReadOnly","RevisionHistoryUI","get","execute","isReady","isEnabled","540746VqNoiP","add","ck-button-action","plugins","menuBar:revisionHistory","items"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(430052===parseInt(e(263))/1*(parseInt(e(300))/2)+-parseInt(e(289))/3*(parseInt(e(271))/4)+-parseInt(e(266))/5*(parseInt(e(247))/6)+-parseInt(e(245))/7+-parseInt(e(246))/8+parseInt(e(279))/9*(parseInt(e(269))/10)+parseInt(e(242))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends Z.Plugin{static get[Et(240)](){return Et(295)}static get[Et(241)](){return!0}static get[Et(257)](){return!0}static get[Et(260)](){return[ot]}[Et(290)];[Et(237)](){const t=Et,e=this[t(236)],i=e[t(303)][t(296)](t(252));e.ui[t(277)][t(301)](t(249),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(278)][n(286)],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(238)](n(299)).to(i,n(298),i,n(299),e,n(294),((t,e,i)=>t&&e&&!i)),r[n(270)][n(250)]({icon:mt.IconHistory,label:Q(s,n(248)),tooltip:!0}),u[n(250)]({label:Q(s,n(258)),withText:!0,role:n(253)}),u[n(238)](n(299)).to(i,n(298),i,n(299),e,n(294),((t,e,i)=>t&&e&&!i)),u.on(n(297),(()=>this[n(243)]())),h[n(250)]({label:Q(s,n(255)),withText:!0,role:n(253)}),h[n(238)](n(299)).to(i,n(298),e,n(294),((t,e)=>t&&!e)),h.on(n(297),(()=>{const t=n;e[t(282)][t(296)](t(249))[t(283)](),r[t(254)]=!1,e[t(281)][t(239)][t(261)]()})),c[n(286)][n(301)](u),l[n(286)][n(301)](h),a[n(265)]=n(251),a[n(235)][n(262)]([c,l]),o[n(301)](a),r})),e.ui[t(277)][t(301)](t(304),(()=>this[t(267)]()))}[Et(267)](){const t=Et,e=this[t(236)],i=e[t(287)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(270)][t(250)]({icon:mt.IconHistory,label:Q(i,t(248))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(250)]({label:Q(i,t(258))}),o[t(293)](t(297)).to(s),o.on(t(297),(()=>{this[t(243)]()})),r[t(286)][t(301)](o),n[t(235)][t(301)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(250)]({label:Q(i,t(255))}),c[t(293)](t(297)).to(s),c.on(t(297),(()=>{const i=t;e[i(282)][i(296)](i(249))[i(283)]()})),a[t(286)][t(301)](c),n[t(235)][t(301)](a),s[t(278)][t(286)][t(301)](n),s}[Et(243)](){const t=Et,e=this[t(236)],i=e[t(287)],s=e[t(303)][t(296)](t(268)),n=e[t(303)][t(296)](t(252));function r(n){const r=t;e[r(282)][r(296)](r(280))&&""===n[r(274)]?n[r(272)][r(244)]=Q(i,r(273)):(e[r(303)][r(296)](ot)[r(256)]({name:n[r(274)]}),s[r(284)]())}this[t(290)]||(this[t(259)](),this[t(290)].on(t(276),(()=>r(this[t(290)])))),this[t(290)][t(291)](),s[t(285)]({id:t(275),title:Q(i,t(258)),isModal:!0,content:this[t(290)],actionButtons:[{label:Q(e[t(287)],t(264)),withText:!0,onExecute:()=>s[t(284)]()},{label:Q(e[t(287)],t(288)),class:t(302),withText:!0,onCreate(i){const s=t;i[s(238)](s(299)).to(n,s(298),n,s(299),e,s(294),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(290)])}]})}[Et(259)](){const t=Et,e=this[t(236)],i=e[t(287)];this[t(290)]=new Mt(i,e[t(282)][t(296)](t(280))),this[t(290)][t(292)]()}}const Pt=zt;function jt(){const t=["1089RoqRAs","27suJBuM","3265150mPgYUn","Added by","type","7271748rLEJqA","span","Suggested by","add","79777MrVpSE","740020SPrHvq","Removed by","name","4887722MSQxoZ","6BPpTay","isSuggestion","author","bindTemplate","changeId","set","data","div","ck-revision-change","26SvPwhh","ck-revision-change__","focus","8537576JWlccq","_model","1950jlqVvZ","element","ck-annotation","setTemplate","ck-revision-change__label"];return(jt=function(){return t})()}function zt(t,e){const i=jt();return(zt=function(t,e){return i[t-=474]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(891498===parseInt(e(474))/1*(parseInt(e(488))/2)+-parseInt(e(499))/3*(-parseInt(e(475))/4)+-parseInt(e(500))/5+-parseInt(e(479))/6*(-parseInt(e(478))/7)+-parseInt(e(491))/8+-parseInt(e(503))/9+-parseInt(e(493))/10*(-parseInt(e(498))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Wt extends pt.View{[Pt(483)];[Pt(492)];constructor(t,e){const i=Pt;super(t),this[i(492)]=e,this[i(483)]=e.id;const s=this[i(482)],n=Q(t,e[i(485)][i(480)]?i(505):i(506)==e[i(502)]?i(501):i(476));this[i(484)](i(502),e[i(502)]),this[i(496)]({tag:i(486),attributes:{class:[i(495),i(487),s.to(i(502),(t=>i(489)+t))],tabindex:-1},children:[{tag:i(504),children:[{tag:i(504),attributes:{class:[i(497)]},children:[{text:n}]},{text:" "+e[i(481)][i(477)]}]}]})}[Pt(490)](){const t=Pt;this[t(494)][t(490)]()}}var Zt=Ut;function Ht(){var t=["rootName","2249312hlWGrw","1MODTYQ","12468eiPEaW","set","createdAt","toJSON","type","data","author","40Xhdmzz","984942gxhYTJ","20926160uNtQXK","2130ABoFWB","628362GZooeG","2100833EQIZFt","2061375GyKSeM"];return(Ht=function(){return t})()}function Ut(t,e){var i=Ht();return(Ut=function(t,e){return i[t-=397]})(t,e)}!function(t){for(var e=Ut,i=t();;)try{if(790163===-parseInt(e(407))/1*(parseInt(e(399))/2)+-parseInt(e(404))/3+parseInt(e(406))/4+-parseInt(e(401))/5*(-parseInt(e(408))/6)+parseInt(e(403))/7*(-parseInt(e(398))/8)+-parseInt(e(402))/9+parseInt(e(400))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Zt(397)];[Zt(412)];[Zt(413)];[Zt(405)];constructor(e){var i=Zt;super(),this.id=e.id||(0,t.uid)(),this[i(397)]=e[i(397)],this[i(412)]=e[i(412)],this[i(413)]=e[i(413)]||{},this[i(405)]=e[i(405)],this[i(409)](i(410),e[i(410)])}[Zt(411)](){var t=Zt;return{id:this.id,authorId:this[t(397)].id,type:this[t(412)],data:this[t(413)],createdAt:this[t(410)]}}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=217]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(100769===-parseInt(e(217))/1+-parseInt(e(223))/2*(parseInt(e(225))/3)+parseInt(e(230))/4*(-parseInt(e(219))/5)+-parseInt(e(229))/6+parseInt(e(221))/7+parseInt(e(218))/8+parseInt(e(222))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt{[$t(224)];[$t(228)];[$t(227)];constructor(e,i){const s=$t;this[s(224)]=e,this[s(228)]=i,this[s(227)]=new t.Collection}[$t(220)](t){const e=$t;for(const i of t)this[e(227)][e(226)](i)}}function Jt(){const t=["newRevisionId","3prRknu","add","changes","oldRevisionId","1047576uUtPRa","8OTDJRr","94110AZCpys","61680ARObhA","167955gLCaZl","_setChanges","1008091OEYvTo","3176235Fdlkpi","135962OIIfaT"];return(Jt=function(){return t})()}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;function Xt(){const t=["addMarker:revision","ck-revision-history-root-remove","uiElement","getLaterVisibleRevision","insertions","reconvertMarker","domConverter","createUIElement","suggestion:","isBlock","next","removeMarker:revision-suggestion","markerName","showStack","POSITIVE_INFINITY","length","end","enableReadOnlyMode","_findChangeIdFromDomTarget","addRoot","type","ck-editor__editable__overlay","_initInteractions","markerToHighlight","numberOfChanges","editing","adapter","nodeAfter","ck-suggestion-preview-marker","isRemoved","vid","nextPosition","revisionHistory","span","left","isOnRoot","side","forceDisabled","startsWith","isAfter","maxOffset","_activeViewTarget","deletion","ck-suggestion-marker-split","createPositionBefore","isSuggestion","push","filter","locale","detachRoot","endIndex","change:activeChange","domEvent","_changeIdToChange","showPreviousChange","flat","attribute:vid","roots","stop","mouseover","RevisionHistoryUtils","toViewPosition","modelRange","setAttribute","selection","commands","_sortAndFilterDiffChanges","text","vid_start","shift","name","dataDowncast","_update","addRevision","change:numberOfChanges","compare","_getViewForChange","merge","plugins","markerRange","revision:","low","isPremiumPlugin","config","_markMismatchedRemovedTags","dataToMarker","includes","_balloon","isEnabled","isBefore","getRevisionRootsAttributes","error","_changeView","values","addMarker:revision-suggestion:deletion","removeMarker:revision","forward","createRange","_joinTapes","_data","affectsData","getItems","elementToAttribute","hasAttribute","return","markerToData","RevisionViewer","getChild","newRevisionId","highest","pop","578520CoezIT","vid_end","view","207kjmBlL","forEach","getRevision","rootName","activeView","indexOf","requires","275310vuWUme","isCollapsed","revision-suggestion","change:isReady","observeMarkers","attributesAfter","editingDowncast","viewItem","comment","splice","toViewRange","createPositionFromPath","bottom","split","createAttributeElement","attributesBefore","change","_getDiff","850960VFleTJ","level","addRevisionData","pairId","element","unshift","hasClass","isInline","softBreak","consume","offsetSize","ck-revision-history-root--active","isOfficialPlugin","add","delete","conversion","_makeTape","insertion","enqueueChange","_fixObsoleteTags","isAtStart","isNavigationMode","elementEnd","isReady","top","nextSibling","all","distance","then","209440nQqWRW","revision","getClientRects","isAtEnd","high","object","getRootNames","refresh","_appendChild","ck-suggestion-marker-","ck-suggestion-marker-merge","WidgetToolbarRepository","catch","first","attachChange","getWalker","string","_getChangeFromId","createRangeIn","keys","changes","deletions","attributes","currentChangeNumber","parent","markersStart","diff","_makeModelFromViewString","loadRevisionData","remove","isObject","_setChanges","suggestion","isAddSuggestion","element:pre","previousPosition","right","item","backward","getDomRoot","isContent","revision-suggestion:","resolve","_removeMissingPairs","isAttached","listenTo","repository","document","target","50778vSwXPh","abs","_refreshStartEndIndex","ck-revision-history-root-add","addHighlight","execute","removeAttribute","pluginName","concat","changeId","destroy","bind","set","init","getAttributes","ck-suggestion-marker--active","ck-revision-history-root-","change:isEnabled","showNextChange","restoreRevisionCallback","removeMarker","1499365CeHnpv","RevisionsRepository","startIndex","toViewElement","activeChange","-new","slice","revision-comment:","from","_setConversion","upcast","schema","markersEnd","diffData","insert","test","done","elementStart","getRevisionDocumentData","change:activeView","clear","get","editor","index","getAttribute","updatePosition","161298tBNkOk","wrap","addMarker:revision-suggestion:insertion","sort","_revisions","_removeUnsupportedChanges","_cleanUp","has","writer","revision-viewer","_getRevisionsRange","unbindElementFromMarkerName","checkAttribute","isAdded","mapViewToDom","range","getRoot","oldRevisionId","markers","isRemoveSuggestion","bindElementToMarker","data","160VBXQOz","isLimit","consumable","revisionHistoryLabel","for","_markInsertions","getCustomProperty","revisionHistoryAttachChange","find","6dSBGHT","_processTape","start","_step","data-change-id","_cleanMarkers","map","findIndex","_markSuggestions","_setDistance","mapper","createRevision","getIndex","isEqual","downcastDispatcher","model","_makeModelFromTape","isIncorrect","removeClass","authors","restoreRevision","_utils","markerNameToElements","ck-suggestion-preview-marker-","ck-suggestion-marker","_threeWayMerge","code","addClass","userId","_markMarkers","mousedown"];return(Xt=function(){return t})()}const Qt=te;function te(t,e){const i=Xt();return(te=function(t,e){return i[t-=347]})(t,e)}!function(t){const e=te,i=t();for(;;)try{if(209683===-parseInt(e(663))/1+parseInt(e(653))/2+-parseInt(e(480))/3+parseInt(e(355))/4+-parseInt(e(454))/5*(parseInt(e(511))/6)+parseInt(e(433))/7*(-parseInt(e(502))/8)+parseInt(e(656))/9*(parseInt(e(384))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class ee extends Z.Plugin{[Qt(430)];[Qt(568)]=null;[Qt(532)];[Qt(583)];[Qt(634)];[Qt(595)];[Qt(629)];static get[Qt(440)](){return Qt(648)}static get[Qt(367)](){return!0}static get[Qt(624)](){return!0}static get[Qt(662)](){return[H.Users,pt.ContextualBalloon,Y,X]}constructor(t){const e=Qt;super(t),this[e(430)]=this[e(476)][e(620)][e(475)](e(455)),this[e(532)]=this[e(476)][e(620)][e(475)](e(602)),this[e(445)](e(458),null),this[e(445)](e(660),null),this[e(583)]=null,this[e(445)](e(410),null),this[e(445)](e(378),!1),this[e(445)](e(630),!0),this.on(e(450),((t,i,s)=>{const n=e;this[n(458)]=null,this[n(660)]=null,this[n(476)][n(567)][n(655)][n(353)]((t=>{const e=n;for(const i of this[e(476)][e(567)][e(655)][e(431)][e(599)])s?t[e(529)](e(563),i):t[e(538)](e(563),i)}))})),this[e(444)](e(376)).to(this,e(458),(t=>null!==t)),this[e(444)](e(407)).to(this,e(378),this,e(410),this,e(458),((t,i,s)=>t&&s?i[e(404)][e(523)](s):0)),this[e(444)](e(566)).to(this,e(378),this,e(410),((t,i)=>t?i[e(404)][e(557)]:0)),this[e(634)]=null,this[e(595)]=new Map,this[e(629)]=this[e(476)][e(620)][e(475)](pt.ContextualBalloon)}[Qt(446)](){const t=Qt,e=this[t(476)],i=new ne(e,{direction:t(422)}),s=new ne(e,{direction:t(638)});e[t(607)][t(368)](t(596),i),e[t(607)][t(368)](t(451),s),e[t(607)][t(368)](t(531),new se(e)),this.on(t(616),(()=>{const e=t;i[e(391)](),s[e(391)]()})),this[t(463)](),this[t(564)](),e[t(559)](t(489)),e[t(620)][t(487)](t(395))&&e[t(620)][t(475)](t(395))[t(579)](t(489))}async[Qt(472)](t){const e=Qt;return await this[e(532)][e(412)](t,this[e(568)]),this[e(532)][e(472)](t)}async[Qt(632)](t){const e=Qt;return await this[e(532)][e(412)](t,this[e(568)]),this[e(532)][e(632)](t)}async[Qt(617)](t,e,i=!1){const s=Qt;if(!this[s(630)])return;const n=this[s(410)],r=this[s(430)],o=s(400)==typeof t?r[s(658)](t):t,a=s(400)==typeof e?r[s(658)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(410)]&&this[s(410)][s(650)]===c&&this[s(410)][s(497)]===u)return Promise[s(426)]();this[s(378)]=!1,this[s(660)]=null,this[s(458)]=null,this[s(410)]=new Yt(c,u);const l=this[s(490)](o,a,!0)[s(517)]((t=>this[s(532)][s(412)](t,this[s(568)])));return l[s(588)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(381)](l)[s(383)]((()=>{const t=s;if(!this[t(630)])return;this[t(486)]();const e=this[t(354)](c,u);for(const i of e[t(404)])this[t(595)][t(445)](i.id,i);this[t(476)][t(526)][t(373)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(476)][s(526)][s(431)][s(390)]())i[s(591)](t);for(const t of Object[s(403)](e[s(526)])){const n=i[s(561)](t);for(const r of Object[s(403)](e[s(406)][t]))i[s(605)](r,e[s(406)][t][r],n);i[s(468)](e[s(526)][t],n,0)}})),this[t(410)][t(415)](this[t(608)](e[t(404)])),this[t(378)]=!0}))[s(396)]((t=>{const e=s;console[e(633)](t),this[e(486)](),n&&(this[e(410)]=n),this[e(378)]=!0}))}[Qt(357)](t,e){const i=Qt,s=this[i(430)][i(522)](t);return s.on(i(614),((t,i,n)=>e(i,n,s))),this[i(430)][i(615)](s),s}[Qt(486)](){const t=Qt;this[t(458)]=null,this[t(516)](),this[t(634)]&&this[t(634)][t(443)](),this[t(634)]=null,this[t(595)][t(474)](),this[t(476)][t(526)][t(373)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(476)][i(526)][i(431)][i(390)]())e[i(591)](t)}))}[Qt(608)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(476)][e(526)][e(431)][e(390)]()){const n=this[e(476)][e(567)][e(655)][e(423)](t);if(!n)continue;const r=n[e(386)]()[e(421)](0);r&&(i[e(588)](t),s[e(445)](t,r))}return i[e(483)](((t,i)=>{const n=e,r=s[n(475)](t),o=s[n(475)](i);return r.y-o.y||r.x-o.x})),(t=t[e(589)]((t=>i[e(628)](t[e(659)]))))[e(483)](((t,s)=>i[e(661)](t[e(659)])-i[e(661)](s[e(659)]))),t}[Qt(371)](t){const e=Qt,i=Array[e(462)](t[e(498)])[e(589)]((([t,i])=>t[e(580)](e(622))&&!i[e(664)])),s=Array[e(462)](this[e(476)][e(526)][e(402)](t)[e(399)]({singleCharacters:!0}));if(0!=i[e(557)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(350)](":");if(n[e(558)][e(524)](t[e(573)])&&i[e(611)](),(t[e(419)][e(524)](n[e(513)])||t[e(419)][e(581)](n[e(513)]))&&(e(372)==r?t[e(493)]={userId:o}:e(584)==r&&(t[e(571)]={userId:o})),0==i[e(557)])break}return s}[Qt(435)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(557)];s++)e(609)===t[s][e(562)]?(t[s][e(421)][e(456)]=s,t[s][e(421)][e(592)]=s):(e(471)===t[s][e(562)]?t[s][e(421)][e(456)]=s:e(377)===t[s][e(562)]&&(t[s][e(421)][e(592)]=s),i[e(445)](t[s].id,s));for(const s of i[e(635)]())e(471)===t[s][e(562)]?t[s][e(421)][e(592)]=i[e(475)](t[s][e(358)]):e(377)===t[s][e(562)]&&(t[s][e(421)][e(456)]=i[e(475)](t[s][e(358)]))}[Qt(512)](t){const e=Qt;for(let i=0;i<t[e(557)];i++){if(e(471)===t[i][e(562)])t[i][e(421)][e(456)]=i;else if(e(377)===t[i][e(562)]){t[i][e(421)][e(592)]=i;const s=t[i][e(421)][e(456)];t[s][e(358)]=t[i].id,t[i][e(358)]=t[s].id}else t[i][e(421)][e(456)]=i,t[i][e(421)][e(592)]=i,t[i][e(358)]=null;t[i][e(409)]||(t[i][e(409)]=[],t[i][e(466)]=[])}}[Qt(507)](t,e){const i=Qt,s=t[i(589)]((t=>!t[i(493)]));for(let t=0;t<e[i(557)];t++)e[t][i(493)]&&(s[t][i(493)]=e[t][i(493)])}[Qt(354)](t,e=null){const i=Qt,s=this[i(430)][i(658)](t),n=e?this[i(430)][i(658)](e):null,r=this[i(490)](s,n),o=r[r[i(557)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(557)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(403)](e[i(467)]))if(e[i(467)][t][i(398)]){const s=e[i(467)][t][i(398)];s[i(428)]?(u[i(368)](t),l[i(487)](t)&&l[i(475)](t)[i(539)]==s[i(539)]?l[i(369)](t):l[i(445)](t,s)):l[i(487)](t)?(u[i(369)](t),l[i(369)](t)):(u[i(368)](t),l[i(445)](t,s))}else u[i(368)](t)}for(const t of u){const e=l[i(487)](t)&&!l[i(475)](t)[i(428)];let s=e?r[i(557)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(467)][t]){const s=e?o[i(467)][t][i(352)]:o[i(467)][t][i(668)];c[i(406)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(526)]={};for(const e of t[i(530)])a[i(445)](e.id,e);for(const e of u){const s=t[i(467)][e]?t[i(467)][e][i(546)]:"[]",n=t[i(467)][e]?t[i(467)][e][i(405)]:"[]";t[i(526)][e]={insertions:this[i(532)][i(411)](s),deletions:this[i(532)][i(411)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(462)](s[i(526)][t][i(546)][i(498)])[i(589)]((([t])=>!t[i(580)](i(622)))));let h=0;for(const o of r){const r=this[i(371)](o[i(526)][t][i(546)]);o==s?(e=r,n=e[i(557)],e[i(657)]((t=>{t.id=h++})),this[i(512)](e)):this[i(507)](e,r);const a=e[i(589)]((t=>!t[i(493)]))[i(517)]((t=>t.id));let c=0;const l=this[i(371)](o[i(526)][t][i(405)]);l[i(657)]((t=>{t[i(571)]?t.id=n++:t.id=a[c++]})),this[i(512)](l),this[i(520)](e,i(493)),this[i(520)](l,i(571)),o==s&&this[i(540)](e,u),e=this[i(640)](e,l),this[i(435)](e),this[i(520)](e,i(571))}e=e[i(589)]((t=>!(t[i(493)]&&t[i(571)])));const d=new Map(o[i(526)][t][i(405)][i(498)]),f=new Set(u[i(403)]());for(const t of d[i(403)]())f[i(369)](t);this[i(519)](e,f),this[i(374)](e),e=this[i(427)](e),e=this[i(626)](e),e=this[i(485)](e);const{root:m,changes:p}=this[i(527)](e,a,t);c[i(526)][t]=m;const v=l[i(475)](t);if(v){const e=a[i(475)](v[i(539)]),s=new qt({author:e,type:v[i(428)]?i(368):i(413),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(360)](s),c[i(406)][t][i(509)]=s.id}c[i(404)]=c[i(404)][i(441)](p)}return c}[Qt(540)](t,e){const i=Qt;for(let s=0;s<t[i(557)];s++)for(const[n,r]of e)!r[i(664)]&&r[i(513)][i(524)](t[s][i(419)])&&t[s][i(409)][i(588)](n),r[i(558)][i(524)](t[s][i(573)])&&t[s][i(466)][i(588)](n)}[Qt(640)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(557)]||r<e[i(557)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(588)](o);else if(a[i(571)]&&o[i(493)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(536)](t,n,e,r);s=s[i(441)](o),n=a,r=c}else a[i(571)]?(r++,s[i(588)](a)):(n++,s[i(588)](o))}return s}[Qt(519)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(557)];o++){for(let r=0;r<t[o][i(409)][i(557)];r++){const a=t[o][i(409)][r];if(!e[i(487)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(665)!=c||i(372)!=u&&i(584)!=u||(s[i(360)]({type:u,name:a,userId:l}),t[o][i(409)][i(672)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(466)][i(557)];r++){const a=t[o][i(466)][r];if(!e[i(487)](a))continue;const{group:c,type:u}=n(a);if(i(665)!=c||i(372)!=u&&i(584)!=u)continue;t[o][i(466)][i(672)](r,1),r--;const l=s[i(518)]((t=>t[i(612)]==a));l>-1&&s[i(672)](l,1)}}function n(t){const e=i,s=t[e(350)](":");return{group:s[0],type:s[1],subType:s[e(557)]>=5?s[2]:null,id:s[e(557)]<5?s[2]:s[3],authorId:s[e(557)]<5?s[3]:s[4],markerCount:6==s[e(557)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(557)];i++){if(t[e(493)]&&e(372)==s[i][e(562)]&&t[e(493)][e(539)]==s[i][e(539)])return t[e(417)]=s[i],void delete t[e(493)];if(!t[e(493)]&&!t[e(571)]&&e(584)==s[i][e(562)])return void(t[e(499)]=s[i])}}}[Qt(520)](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(445)](o.id,s);for(let s=0;s<t[i(557)];s++){if(i(571)==e&&t[s][i(493)]||i(493)==e&&t[s][i(571)])continue;if(i(609)==t[s][i(562)]){t[s][i(382)]=0;continue}const n=r[i(475)](t[s][i(358)]),o=r[i(475)](t[s].id);t[s][i(382)]=n-o}}[Qt(490)](t,e,i=!1){const s=Qt,n=[];let r=this[s(430)][s(523)](t),o=this[s(430)][s(523)](e);for(-1==o&&(o=this[s(430)][s(484)][s(557)],i=!1);r<o;)n[s(588)](this[s(430)][s(658)](r)),r++;return i&&n[s(588)](this[s(430)][s(658)](r)),n}[Qt(536)](t,e,i,s){const n=Qt,r=this[n(476)][n(526)][n(465)];let o=e;for(;t[o]&&t[o][n(493)];)o++;let a=s;for(;i[a]&&i[a][n(571)];)a++;u(t,e,o),u(i,s,a);const c=i[n(460)](s,a)[n(441)](t[n(460)](e,o));return c[n(483)](((t,e)=>t[n(578)]!=e[n(578)]?t[n(578)]-e[n(578)]:t[n(356)]!=e[n(356)]?t[n(356)]-e[n(356)]:t[n(382)]!=e[n(382)]?e[n(382)]-t[n(382)]:!!t[n(493)]!=!!e[n(493)]?-1==t[n(578)]||0==t[n(578)]?t[n(493)]?-1:1:t[n(493)]?1:-1:t[n(477)]-e[n(477)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(556)],c=!0;for(let n=e;n<i;n++)if(r[s(362)](t[n][s(421)])||(c=!1),t[n][s(421)][s(456)]<e&&(o=n),t[n][s(421)][s(592)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(578)]=n<=o?-1:n<a?0:1,t[n][s(477)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(382)]?t[i][s(356)]=u:(u++,t[i][s(356)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(578)]&&(t[n][s(356)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(382)]?t[e][s(356)]=u:(u--,t[e][s(356)]=u,u--)}}[Qt(374)](t){const e=Qt,i=new Map,s=this[e(476)][e(526)][e(465)];for(let n=1;n<t[e(557)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(609)==c[e(562)])continue;if(c[e(562)]!=u[e(562)])continue;if(!s[e(551)](u[e(421)])||s[e(503)](u[e(421)]))continue;if(!s[e(551)](c[e(421)])||s[e(503)](c[e(421)]))continue;if((t[n][e(493)]||t[n][e(417)])&&t[n-1][e(571)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(571)]||!t[n-1][e(493)]&&!t[n-1][e(417)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(356)]==o[e(356)],h=Math[e(434)](r[e(356)])<Math[e(434)](o[e(356)])&&0==o[e(382)];(l||h)&&(i[e(445)](o.id,r.id),t[e(672)](a,1),n--,r[e(493)]=!1)}for(let s=0;s<t[e(557)];s++)i[e(487)](t[s][e(358)])&&(t[s][e(358)]=i[e(475)](t[s][e(358)]))}[Qt(427)](t){const e=Qt,i=new Set(t[e(517)]((t=>t.id)));for(let s=0;s<t[e(557)];s++)i[e(487)](t[s][e(358)])||0==t[s][e(382)]||(t[s][e(528)]=!0);return t[e(589)]((t=>!t[e(528)]))}[Qt(626)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(557)];s++){if(i[e(487)](t[s].id)&&t[s][e(571)]&&(t[s][e(528)]=!0),t[s][e(528)])continue;if(0==t[s][e(382)])continue;if(e(471)!=t[s][e(562)])continue;if(null==t[s][e(358)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(358)];)e(471)==t[n][e(562)]?r++:e(377)==t[n][e(562)]&&r--,n++;if(0!=r)if(t[s][e(571)])t[s][e(528)]=!0;else for(;n!=s;)t[n][e(571)]&&0!=t[n][e(382)]&&(t[n][e(528)]=!0,i[e(368)](t[n][e(358)])),n--}return t[e(589)]((t=>!t[e(528)]))}[Qt(485)](t){const e=Qt,i=this[e(476)][e(526)][e(465)];for(let s=0;s<t[e(557)];s++){if(!(t[s][e(493)]||t[s][e(417)]||t[s][e(571)]||t[s][e(499)]))continue;if(0==t[s][e(382)])continue;const n=t[s][e(421)];i[e(551)](n)||i[e(503)](n)||(t[s][e(493)]&&delete t[s][e(493)],t[s][e(417)]&&delete t[s][e(417)],t[s][e(499)]&&delete t[s][e(499)],t[s][e(571)]&&(t[s][e(528)]=!0))}return t[e(589)]((t=>!t[e(528)]))}[Qt(527)](t,e,i){const s=Qt,n=new U.DocumentFragment,r=[],o=new Map,a=this[s(476)][s(526)],c=a[s(465)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(557)];e++)if(s(471)===t[e][s(562)]){t[e][s(419)]=a[s(348)](n,f);const i=new U.Element(t[e][s(421)][s(612)],t[e][s(421)][s(447)]());u[0][s(392)](i),f[s(588)](0),u[s(360)](i),t[e][s(573)]=a[s(348)](n,f)}else s(377)===t[e][s(562)]?(u[s(611)](),t[e][s(419)]=a[s(348)](n,f),f[s(652)](),f[f[s(557)]-1]++,t[e][s(573)]=a[s(348)](n,f)):(t[e][s(419)]=a[s(348)](n,f),d?d[s(641)]+=t[e][s(421)][s(501)]:d=new U.Text(t[e][s(421)][s(501)],t[e][s(421)][s(447)]()),t[e+1]&&s(609)===t[e+1][s(562)]&&v(d,t[e+1][s(421)])||(u[0][s(392)](d),d=null),f[f[s(557)]-1]+=t[e][s(421)][s(365)],t[e][s(573)]=a[s(348)](n,f));for(let e=0;e<t[s(557)];e++){const i=t[e][s(419)],n=t[e][s(573)];for(const n of t[e][s(409)])o[s(445)](n,{start:i,end:null});m(s(499),e,i,n),m(s(417),e,i,n),m(s(571),e,i,n),m(s(493),e,i,n);for(const i of t[e][s(466)]){const t=o[s(475)](i);t?t[s(558)]=n:o[s(445)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(476)][s(526)][s(639)](e[s(513)],e[s(558)]);n[s(498)][s(445)](t,i)}return r[s(483)](((t,e)=>{const i=s,r=n[i(498)][i(475)](i(622)+t.id),o=n[i(498)][i(475)](i(622)+e.id);return r[i(513)][i(631)](o[i(513)])?-1:r[i(513)][i(581)](o[i(513)])?1:r[i(558)][i(631)](o[i(558)])?-1:r[i(558)][i(581)](o[i(558)])?1:i(368)===t[i(562)]?-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(539)]:null,d=i===t[o(557)]-1,f=h[e][0],m=c[o(414)](t[i][o(421)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(558)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(539)]!==u&&(l[e][o(558)]=n,f&&f[o(539)]===l[e][o(539)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(471)!==t[i][o(562)]||f&&f[o(539)]===u||h[e][o(360)]({userId:u,object:t[i][o(421)],change:l[e]}),o(377)===t[i][o(562)]&&f&&f[o(389)]===t[i][o(421)]&&(h[e][o(611)](),l[e]=f[o(353)])),l[e]&&d&&(l[e][o(558)]=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(421)],f=a[h(465)][h(551)](d)&&!a[h(465)][h(503)](d),m=t[h(569)]==o[h(408)]&&o[h(375)];if(f&&m)return;const p=a[h(639)](t,o),v=e[h(475)](u),g=new qt({author:v,type:h(493)==l||h(417)==l?h(368):h(413),data:{isSuggestion:h(417)==l||h(499)==l},createdAt:new Date,rootName:i});r[h(588)](g),n[h(498)][h(445)](h(622)+g.id,p)}function v(t,e){const i=s,n=t[i(447)](),r=e[i(447)]();for(const t of n){if(t[1]!==e[i(478)](t[0]))return!1;r[i(552)]()}return r[i(552)]()[i(470)]}}[Qt(463)](){const t=Qt;this[t(476)][t(370)][t(506)](t(464))[t(627)]({view:t(385)}),this[t(476)][t(370)][t(506)](t(669))[t(565)]({model:t(385),view:e=>{const i=t,s=e[i(554)][i(350)](":")[1],n=this[i(401)](s);if(!n)return null;const r=i(368)==n[i(562)]?i(372):i(584),o=[i(535),i(393)+r];return n[i(501)][i(587)]&&o[i(588)](i(393)+r+i(459)),this[i(458)]==n&&o[i(588)](i(448)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(476)][t(370)][t(506)](t(464))[t(368)]((e=>{const i=t;e.on(i(418),((t,e,s)=>{const n=i,r=e[n(670)][n(649)](0);if(!r||!r.is(n(359),n(537)))return;if(!s[n(504)][n(364)](r,{attributes:[n(610),n(654)]}))return;const o=e[n(604)][n(513)][n(569)];s[n(488)][n(605)](n(610),r[n(478)](n(610)),o),s[n(488)][n(605)](n(654),r[n(478)](n(654)),o)}),{priority:i(623)})})),this[t(476)][t(370)][t(506)](t(464))[t(368)]((e=>{const i=t;e.on(i(359),((t,e,s)=>{const n=i;if(!s[n(504)][n(364)](e[n(670)],{attributes:[n(610),n(654)]}))return;if(e[n(604)][n(664)])return;const r=e[n(604)][n(513)][n(569)];r[n(645)](n(610))||r[n(645)](n(572))||(s[n(488)][n(605)](n(610),e[n(670)][n(478)](n(610)),r),s[n(488)][n(605)](n(654),e[n(670)][n(478)](n(654)),r))}),{priority:i(623)})})),this[t(476)][t(370)][t(506)](t(464))[t(644)]({view:{name:t(575),attributes:{vid:!0}},model:{key:t(572),value:e=>e[t(478)](t(572))}}),this[t(476)][t(526)][t(465)].on(t(492),((e,[,i])=>{const s=t;[s(610),s(654),s(572)][s(628)](i)&&(e[s(646)]=!0,e[s(600)]())}),{priority:t(651)}),this[t(476)][t(370)][t(506)](t(613))[t(368)]((e=>{const i=t;e.on(i(598),((t,e,s)=>{const n=i;if(" "!=e[n(421)][n(501)]||e[n(421)][n(408)][n(582)]>1)return;if(!s[n(504)][n(364)](e[n(421)],t[n(612)]))return;const r=s[n(488)],o=s[n(521)][n(347)](e[n(495)]);r[n(481)](o,r[n(351)](n(575)))}))})),this[t(476)][t(370)][t(506)](t(613))[t(647)]({model:t(385)}),this[t(476)][t(567)][t(525)].on(t(542),function(e){const i=t,s=e[i(620)][i(475)](i(648));return(t,n,r)=>{const o=i,a=n[o(554)][o(350)](":")[1],c=s[o(401)](a);if(!c)return null;const u=o(368)==c[o(562)]?o(350):o(619);if(!r[o(504)][o(469)](n[o(621)],t[o(612)]))return;const l=n[o(621)][o(399)](),h=n[o(621)][o(513)],d=e[o(526)][o(465)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(421)];p=p||d[o(424)](e);const i=r[o(521)][o(457)](e);if(i&&i[o(508)](o(437)))return;o(377)==t[o(562)]&&d[o(551)](e)&&!d[o(503)](e)&&(e[o(380)]||h[o(387)]?f&&f[o(408)]==e||(f=e,g(t[o(419)]),v=!0):m=m||t[o(419)])}function g(t){const e=o,i=r[e(488)][e(549)](e(575),{class:e(393)+u}),a=r[e(521)][e(603)](t);c[e(501)][e(587)]&&r[e(488)][e(538)](e(393)+u+e(459),i),s[e(458)]==c&&r[e(488)][e(538)](e(448),i),r[e(488)][e(468)](a,i),r[e(521)][e(500)](i,n[e(554)])}p||v||!m||g(m)}}(this[t(476)]),{priority:t(388)}),this[t(476)][t(567)][t(525)].on(t(637),((e,i,s)=>{const n=t,r=s[n(521)][n(533)](i[n(554)]);if(r)for(const t of r)(t[n(361)](n(585))||t[n(361)](n(394)))&&(s[n(521)][n(491)](t,i[n(554)]),s[n(488)][n(413)](t))}),{priority:t(388)}),this[t(476)][t(567)][t(525)].on(t(542),((e,i,s)=>{const n=t,r=i[n(554)][n(350)](":")[1],o=this[n(401)](r);if(!o)return null;const a=n(368)==o[n(562)]?n(350):n(619);if(s[n(504)][n(469)](i[n(621)],e[n(612)]))for(const t of i[n(621)][n(643)]()){if(!t.is(n(359),n(363)))continue;const e=s[n(488)][n(549)](n(575),{class:n(393)+a}),r=s[n(521)][n(603)](this[n(476)][n(526)][n(586)](t));o[n(501)][n(587)]&&s[n(488)][n(538)](n(393)+a+n(459),e),this[n(458)]==o&&s[n(488)][n(538)](n(448),e),s[n(488)][n(468)](r,e),s[n(521)][n(500)](e,i[n(554)])}}),{priority:t(388)}),this[t(476)][t(526)][t(431)].on(t(353),(()=>{const e=t;this[e(476)][e(567)][e(655)][e(353)]((t=>{const i=e;for(const e of this[i(476)][i(526)][i(431)][i(390)]()){const s=this[i(476)][i(526)][i(431)][i(496)](e),n=this[i(476)][i(567)][i(655)][i(431)][i(496)](e);if(n){const e=s[i(478)](i(509));if(t[i(439)](i(515),n),t[i(529)](i(436),n),t[i(529)](i(543),n),t[i(529)](i(366),n),e){const s=this[i(401)](e);if(!s)return null;t[i(605)](i(515),e,n),t[i(538)](i(449)+s[i(562)],n),this[i(458)]==s&&t[i(538)](i(366),n)}}}}))})),this[t(476)][t(370)][t(506)](t(464))[t(627)]({view:t(671),model:e=>t(461)+e,converterPriority:t(651)}),this[t(476)][t(370)][t(506)](t(464))[t(627)]({view:t(416),model:e=>t(425)+e,converterPriority:t(651)}),this[t(476)][t(370)][t(506)](t(613))[t(647)]({model:t(665),view:e=>({name:t(550)+e,group:t(665)}),converterPriority:t(651)}),this[t(476)][t(370)][t(506)](t(669))[t(565)]({model:t(665),view:e=>{const i=t,s=e[i(554)][i(350)](":")[1];return i(372)!=s&&i(584)!=s?null:{classes:[i(570),i(534)+s]}}}),this[t(476)][t(567)][t(525)].on(t(636),ie(this[t(476)],t(619)),{priority:t(388)}),this[t(476)][t(567)][t(525)].on(t(482),ie(this[t(476)],t(350)),{priority:t(388)}),this[t(476)][t(567)][t(525)].on(t(553),((e,i,s)=>{const n=t,r=s[n(521)][n(533)](i[n(554)]);if(r)for(const t of r)t.is(n(544))&&(s[n(521)][n(491)](t,i[n(554)]),s[n(488)][n(413)](t))}),{priority:t(388)})}[Qt(401)](t){const e=Qt;return this[e(595)][e(475)](t)}[Qt(618)](t){const e=Qt;return this[e(634)]&&this[e(634)][e(443)](),this[e(634)]=new Wt(this[e(476)][e(590)],t),this[e(634)]}[Qt(564)](){const t=Qt;this[t(476)][t(526)][t(431)][t(606)][t(667)](t(385)),this.on(t(473),((e,i,s,n)=>{const r=t;n&&this[r(629)][r(413)](n),s&&(this[r(629)][r(368)]({view:s,stackId:r(505),position:{target:()=>{const t=r,e=this[t(476)][t(567)],i=this[t(401)](s[t(442)]);let n;if(i[t(501)][t(577)]){const s=e[t(655)][t(423)](i[t(659)]);n=Array[t(462)](s[t(386)]())}else{const i=this[t(476)][t(526)][t(498)][t(475)](t(622)+s[t(442)]);n=Array[t(462)](e[t(521)][t(533)](i[t(612)]))[t(517)]((i=>e[t(655)][t(548)][t(494)](i)))[t(517)]((e=>Array[t(462)](e[t(386)]())))[t(597)]()}return this[t(583)]&&n[t(510)]((e=>e[t(379)]-3<=this[t(583)].y&&e[t(349)]+3>=this[t(583)].y&&e[t(576)]-3<=this[t(583)].x&&e[t(420)]+3>=this[t(583)].x))||n[0]}}}),this[r(629)][r(555)](r(505)))})),this.on(t(593),((e,i,s,n)=>{const r=t;this[r(660)]=s?this[r(618)](s):null,this[r(476)][r(526)][r(353)]((()=>{const t=r,e=this[t(476)][t(567)];n&&(n[t(501)][t(577)]?e[t(655)][t(353)]((i=>{const s=t;i[s(529)](s(366),e[s(655)][s(431)][s(496)](n[s(659)]))})):e[t(547)](t(622)+n.id)),s&&(s[t(501)][t(577)]?e[t(655)][t(353)]((i=>{const n=t;i[n(538)](n(366),e[n(655)][n(431)][n(496)](s[n(659)]))})):e[t(547)](t(622)+s.id))}))})),this[t(429)](this[t(476)][t(567)][t(655)][t(431)],t(601),((e,i)=>{const s=t;if(this[s(458)])return;const n=this[s(560)](i[s(432)]),r=this[s(595)][s(475)](n);r?(this[s(583)]={x:i[s(594)].x,y:i[s(594)].y},this[s(660)]=this[s(618)](r)):(this[s(583)]=null,this[s(660)]=null)})),this[t(429)](this[t(476)][t(567)][t(655)][t(431)],t(541),((e,i)=>{const s=t,n=this[s(560)](i[s(432)]),r=this[s(595)][s(475)](n);r?(this[s(583)]={x:i[s(594)].x,y:i[s(594)].y},r===this[s(458)]?this[s(629)][s(479)]():this[s(458)]=r):(this[s(583)]=null,this[s(458)]=null)}))}[Qt(560)](t){const e=Qt;do{const i=t[e(478)](e(515));if(i)return i;t=t[e(408)]}while(t);return null}[Qt(516)](){const t=Qt;this[t(476)][t(526)][t(353)]((e=>{const i=t;for(const t of this[i(476)][i(526)][i(498)])e[i(453)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=te;if(!n[r(504)][r(469)](s[r(621)],i[r(612)]))return;const o=s[r(621)][r(399)](),a=s[r(621)][r(513)],c=t[r(526)][r(465)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(421)];h=h||c[r(424)](e);const i=n[r(521)][r(457)](e);if(i&&i[r(508)](r(437)))return;r(377)==t[r(562)]&&c[r(551)](e)&&!c[r(503)](e)&&(e[r(380)]||a[r(387)]?u&&u[r(408)]==e||(u=e,f(t[r(419)]),d=!0):l=l||t[r(419)])}function f(t){const i=r,o=n[i(521)][i(603)](t),a=n[i(488)][i(549)](i(575),{class:i(534)+e});n[i(488)][i(468)](o,a),n[i(521)][i(500)](a,s[i(554)])}h||d||!l||f(l)}}class se extends Z.Command{constructor(t){const e=Qt;super(t);const i=t[e(620)][e(475)](ee);this[e(642)]=!1,this[e(429)](i,e(666),(()=>this[e(391)]())),this[e(429)](i,e(450),(()=>this[e(391)]()))}[Qt(438)](){const t=Qt,e=this[t(476)],i=e[t(620)][t(475)](ee),s=i[t(378)]?i[t(410)][t(650)]:null;e[t(625)][t(475)](t(574))[t(452)](s)}[Qt(391)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(476)][t(620)][t(475)](ee),r=n&&s[t(545)](n[t(650)]);this[t(630)]=e&&i&&Boolean(r)}}class ne extends Z.Command{[Qt(514)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(620)][i(475)](ee);this[i(642)]=!1,this[i(514)]=i(638)===e?1:-1,this[i(429)](s,i(666),(()=>this[i(391)]())),this[i(429)](s,i(450),(()=>this[i(391)]())),this[i(429)](s,i(593),(()=>this[i(391)]()))}[Qt(438)](){const e=Qt,i=this[e(476)],s=i[e(620)][e(475)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(458)]=n?s[e(410)][e(404)][e(475)](r+this[e(514)]):s[e(410)][e(404)][e(397)],s[e(458)][e(501)][e(577)])o=i[e(567)][e(655)][e(423)](s[e(458)][e(659)]);else{const t=i[e(526)][e(498)][e(475)](e(622)+s[e(458)].id);o=(0,H.getMarkerDomElement)(i[e(567)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(391)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(476)][t(620)][t(475)](ee);this[t(630)]=!!(r&&n&&s)&&(!e||(1===this[t(514)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ue();return(ae=function(t,e){return i[t-=338]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(818686===-parseInt(e(364))/1*(parseInt(e(361))/2)+parseInt(e(380))/3+parseInt(e(367))/4+-parseInt(e(358))/5+-parseInt(e(357))/6+parseInt(e(351))/7*(-parseInt(e(349))/8)+-parseInt(e(373))/9*(-parseInt(e(346))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(338)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(356)](e(378),!1),this[e(356)](e(369),!1),this[e(356)](e(371),0),this[e(356)](e(374),0),this[e(356)](e(376),!1),this[e(356)](e(377),!1),this[e(350)](e(341)).to(this,e(369),this,e(374),((t,e)=>t&&e>0)),this[e(350)](e(339)).to(this,e(369),this,e(371),this,e(374),this,e(378),((i,s,n,r)=>{const o=e;if(!i)return Q(t,o(354));if(!n)return Q(t,o(353));const a=Q(t,o(368),n);return r?Q(t,o(348),[s+1,n]):a})),s[e(356)]({label:Q(t,e(372)),tooltip:!0,icon:mt.IconChevronUp}),n[e(356)]({label:Q(t,e(342)),tooltip:!0,icon:mt.IconChevronDown}),s[e(350)](e(375)).to(this,e(377)),n[e(350)](e(375)).to(this,e(376)),s.on(e(343),(()=>this[e(363)](e(343),e(379)))),n.on(e(343),(()=>this[e(363)](e(343),e(370)))),this[e(345)]({tag:e(359),attributes:{class:["ck",e(340),e(362)]},children:[{tag:e(344),attributes:{class:[e(365)]},children:[{tag:e(344),attributes:{class:[e(366),i.if(e(341),e(360),(t=>!t))]},children:[{text:i.to(e(378),(i=>i?Q(t,e(352))+": ":Q(t,e(347))+": "))}]},{text:i.to(e(339))}]},new pt.ToolbarSeparatorView,{tag:e(359),attributes:{class:[e(355)]},children:[s,n]}]})}}function ue(){const t=["ck-revision-history-ui__changes-navigation","fire","1NomksD","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui__changes-navigation__label","4925864xmqHLZ","NUMBER_OF_CHANGES","isReady","forward","currentChangeNumber","Show previous change","45qCWiTB","numberOfChanges","isEnabled","isForwardNavigationEnabled","isBackwardNavigationEnabled","isNavigationMode","backward","4533060olRLSN","bindTemplate","_statusText","ck-revision-history-ui","_isStatusLabelVisible","Show next change","execute","span","setTemplate","2562590iXnCVN","Total","X_OF_Y_CHANGES","8PJCskl","bind","7186774sogVFu","EDIT_X_OF_Y_REVISIONS","No changes","Loading...","ck-revision-history-ui__changes-navigation__navigation","set","1428186agsxeV","4332305NTxfJV","div","ck-hidden","2147842HiGRXX"];return(ue=function(){return t})()}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;const de=me;function fe(){const t=["3414051ehvpaA","5875730CutHdq","change","ck-editor__editable__loading-overlay","isOfficialPlugin","editor","view","5126lFvYTg","5zvijJi","removeClass","92218dcDhZH","4140wYbYor","2359518vMtCEh","hide","RevisionViewerLoadingOverlay","8889QJkuJO","document","addClass","roots","isPremiumPlugin","548QfVxam","pluginName","1609aVxMuk","200BCALNM","show","editing","446GctGNo"];return(fe=function(){return t})()}function me(t,e){const i=fe();return(me=function(t,e){return i[t-=154]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(306475===-parseInt(e(178))/1*(-parseInt(e(155))/2)+-parseInt(e(171))/3*(parseInt(e(176))/4)+parseInt(e(164))/5*(parseInt(e(168))/6)+parseInt(e(166))/7*(parseInt(e(179))/8)+parseInt(e(156))/9+-parseInt(e(157))/10+-parseInt(e(163))/11*(parseInt(e(167))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);const pe=de(159);class ve extends Z.Plugin{static get[de(177)](){return de(170)}static get[de(160)](){return!0}static get[de(175)](){return!0}[de(180)](){const t=de,e=this[t(161)][t(154)][t(162)];e[t(158)]((i=>{const s=t;for(const t of e[s(172)][s(174)])i[s(173)](pe,t)}))}[de(169)](){const t=de,e=this[t(161)][t(154)][t(162)];e[t(158)]((i=>{const s=t;for(const t of e[s(172)][s(174)])i[s(165)](pe,t)}))}}const ge=ye;function ye(t,e){const i=ke();return(ye=function(t,e){return i[t-=353]})(t,e)}function ke(){const t=["3969680dBEBrh","execute","change:isReady","isPremiumPlugin","1839485svIlTr","changesNavigation","showPreviousChange","59409rZsHaA","isForwardNavigationEnabled","isOfficialPlugin","componentFactory","Back to editing","2xuuDpx","ck-revision-history-ui__back-to-editing","currentChangeNumber","get","add","init","pluginName","showNextChange","isReady","requires","forward","isNavigationMode","isBackwardNavigationEnabled","listenTo","numberOfChanges","editor","isEnabled","set","1056356JoIXvK","Restore this revision","75028ouWQMq","exitToEditing","bind","show","restoreRevision","7pLAmiY","hide","RevisionViewerUI","6eJLVOX","closeRevisionViewerCallback","plugins","revisionHistory","154977FpuFDD","commands","config","4739344ReeDad"];return(ke=function(){return t})()}!function(t){const e=ye,i=t();for(;;)try{if(316026===parseInt(e(395))/1+parseInt(e(375))/2*(-parseInt(e(359))/3)+-parseInt(e(393))/4+parseInt(e(367))/5*(parseInt(e(355))/6)+-parseInt(e(400))/7*(-parseInt(e(362))/8)+-parseInt(e(370))/9+-parseInt(e(363))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);class be extends Z.Plugin{static get[ge(381)](){return ge(354)}static get[ge(372)](){return!0}static get[ge(366)](){return!0}static get[ge(384)](){return[ee,ve]}[ge(380)](){const t=ge,e=this[t(390)],i=e[t(357)][t(378)](ee),s=e[t(357)][t(378)](ve);e.ui[t(373)][t(379)](t(396),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(392)]({label:Q(i,s(374)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(376)}),this[s(388)](n,s(364),(()=>{const t=s;e[t(361)][t(378)](t(358))[t(356)]()})),n})),e.ui[t(373)][t(379)](t(399),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(392)]({label:Q(i,s(394)),withText:!0,tooltip:!0}),n[s(397)](s(391)).to(e[s(360)][s(378)](s(399))),this[s(388)](n,s(364),(()=>e[s(364)](s(399)))),n})),e.ui[t(373)][t(379)](t(368),(s=>{const n=t,r=new ce(s),o=e[n(360)][n(378)](n(369)),a=e[n(360)][n(378)](n(382));return r[n(397)](n(387)).to(o,n(391)),r[n(397)](n(371)).to(a,n(391)),r[n(397)](n(383),n(377),n(389),n(386)).to(i),this[n(388)](r,n(364),((t,i)=>{const s=n;e[s(364)](s(385)===i?s(382):s(369))})),r})),s[t(398)](),i.on(t(365),((e,i,n)=>{const r=t;n?s[r(353)]():s[r(398)]()}))}}var we=i(329),_e={attributes:{"data-cke":!0}};_e.setAttributes=It(),_e.insert=wt().bind(null,"head"),_e.domAPI=kt(),_e.insertStyleElement=Ot();gt()(we.A,_e);we.A&&we.A.locals&&we.A.locals;const Ie=Oe;function Se(){const t=["6769qiIdbK","Revision name","10BBqQbr","ck-tooltip_multi-line","bindTemplate","placeholder","536ziQYXX","Enter the revision name","extendTemplate","2758473BExINO","value","60DIQyDb","scrollWidth","fieldView","1072115WzIYUG","_resizeObserver","destroy","10bBJruI","1199592fVsMHt","span","set","render","671856NEzUjW","_updateTooltipText","input","clientWidth","542XnnKDa","element","listenTo","_tooltipString","453112avlCLE","2202diYhIs","ck-revision-history-sidebar__revision-name"];return(Se=function(){return t})()}function Oe(t,e){const i=Se();return(Oe=function(t,e){return i[t-=180]})(t,e)}!function(t){const e=Oe,i=t();for(;;)try{if(324503===parseInt(e(202))/1*(-parseInt(e(207))/2)+-parseInt(e(198))/3+-parseInt(e(206))/4+-parseInt(e(193))/5*(-parseInt(e(194))/6)+-parseInt(e(209))/7*(-parseInt(e(182))/8)+parseInt(e(185))/9*(parseInt(e(211))/10)+-parseInt(e(190))/11*(-parseInt(e(187))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Te extends pt.LabeledFieldView{[Ie(191)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(180)];this[i(196)]({label:Q(t,i(210)),_tooltipString:""}),this[i(189)][i(181)]=Q(t,i(183)),this[i(184)]({tag:i(195),attributes:{class:[i(208)],"data-cke-tooltip-text":s.to(i(205)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(212)}})}[Ie(197)](){const e=Ie;super[e(197)](),this[e(191)]=new t.ResizeObserver(this[e(189)][e(203)],(()=>this[e(199)]())),this[e(204)](this[e(189)],e(200),(()=>this[e(199)]()))}[Ie(192)](){const t=Ie;super[t(192)](),this[t(191)]&&this[t(191)][t(192)]()}[Ie(199)](){const t=Ie,e=this[t(189)][t(203)];this[t(205)]=e[t(188)]>e[t(201)]&&e[t(186)]||""}}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=Ve();return(Re=function(t,e){return i[t-=230]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(301143===parseInt(e(244))/1*(parseInt(e(239))/2)+parseInt(e(249))/3*(parseInt(e(247))/4)+-parseInt(e(242))/5+-parseInt(e(245))/6+-parseInt(e(237))/7*(parseInt(e(250))/8)+parseInt(e(233))/9+parseInt(e(234))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ae extends pt.View{constructor(t,e,i){const s=Re;super(t);const n=new pt.IconView;n[s(231)]({content:mt.IconUser,viewBox:s(248)});const r=["ck",s(243)];i&&r[s(236)](s(241));const o=[{tag:s(240),attributes:{class:["ck",s(230)],title:Q(t,s(i?238:235))},children:[n,e[s(232)]]}];this[s(246)]({tag:"li",attributes:{class:r},children:o})}}function Ve(){const t=["2854935tWaxvz","ck-revision-history-sidebar__revision-author","33907kIkdlK","1784778LsfmdJ","setTemplate","747420bTDtZN","0 0 11 10","9SXzsQO","216296oRinfz","ck-revision-history-sidebar__revision-author__name","set","name","2544219OqjKJb","2636210aCNLUa","Revision author","push","133kIwqig","Revision creator","34qdfILe","span","ck-revision-history-sidebar__revision-author_creator"];return(Ve=function(){return t})()}function De(){var t=["25nOjDwA","1638530ywTwqC","24484031xeDnWW","22ygzIrp","45LMLOkw","4341480EGcQAr","numeric","342048yljUEz","long","141612DtLIlK","toLocaleTimeString","1540721LCPSVo","toLocaleDateString","71662zvpAOE","9uczbuo"];return(De=function(){return t})()}function Me(t,e){var i=De();return(Me=function(t,e){return i[t-=102]})(t,e)}!function(t){for(var e=Me,i=t();;)try{if(592599===-parseInt(e(103))/1*(parseInt(e(113))/2)+parseInt(e(104))/3*(-parseInt(e(109))/4)+-parseInt(e(115))/5*(-parseInt(e(107))/6)+-parseInt(e(111))/7+-parseInt(e(105))/8+-parseInt(e(114))/9*(-parseInt(e(116))/10)+parseInt(e(102))/11)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-=345]})(t,e)}function Le(){const t=["340200fJpXpO","462245yKxbUg","set","first","execute","model","948878IwMRYe","action","Show more items","_action","add","stopPropagation","8253999UbNDlL","locale","isOpen","ck-revision-history-sidebar__revision__actions","33185mxDgVh","listenTo","isVisible","bindTemplate","name","buttonView","bind","class","474bwGbBX","map","button","source","children","find","Restore this revision","Compare against selected","isEnabled","Name this revision","ck-on","65616XmeHcB","listView","menuitem","15kappBK","420552CEahrg","function","extendTemplate","panelPosition","items","isActionsDropdownOpen","menu","isReady","change:isActionsDropdownOpen"];return(Le=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(290611===parseInt(e(353))/1+-parseInt(e(372))/2+parseInt(e(356))/3*(parseInt(e(366))/4)+-parseInt(e(382))/5*(parseInt(e(390))/6)+-parseInt(e(367))/7+-parseInt(e(357))/8+parseInt(e(378))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);var Pe=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=It(),je.insert=wt().bind(null,"head"),je.domAPI=kt(),je.insertStyleElement=Ot();gt()(Pe.A,je);Pe.A&&Pe.A.locals&&Pe.A.locals;const ze=Ze;function We(){const t=["isActionsDropdownOpen","creator","select","element","name","revisionNameView",".ck-thread__remove-confirm","_createdAtFormatted","setName","change","revisionActionsView","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision-authors","extendTemplate","fire","deselect","10AbJkYJ","render","authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setTemplate","ck-revision-history-sidebar__revision__date","1518292gmeSit","isSelected","ck-revision-history-sidebar__revision","401158rmEZYI","bindTemplate","ck-revision-history-sidebar__revision_highlighted","ck-reset","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision_selected","ck-disabled","map","_requireRevisionName","set","srcElement","2599638QMdgJg","_revision","span","ck-revision-history-sidebar__revision-wrapper","unshift","from","uiLanguage","length","7000248MPhsxv","unhighlight","isEnabled","listenTo","15286968CYkRCn","closest","isConfirm","div","220","createdAt","filter","isHighlighted","value","highlight","2064139DiTMbs","fieldView","isReady","bind","1654490NitWCZ"];return(We=function(){return t})()}function Ze(t,e){const i=We();return(Ze=function(t,e){return i[t-=476]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(641751===parseInt(e(480))/1+parseInt(e(517))/2+-parseInt(e(491))/3+-parseInt(e(477))/4*(parseInt(e(534))/5)+-parseInt(e(499))/6+parseInt(e(513))/7+parseInt(e(503))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(523)];[ze(528)];[ze(492)];[ze(488)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(481)],a=function(t,e){const i=r,s=Array[i(496)](e[i(536)])[i(509)]((t=>t!=e[i(519)]));return e[i(519)]&&s[i(495)](e[i(519)]),s[i(487)]((s=>new Ae(t,s,s==e[i(519)])))}(e,i);this.id=i.id,this[r(492)]=i,this[r(488)]=n,this[r(516)](r(522),r(508)).to(i),this[r(516)](r(525)).to(this,r(508),(t=>{return i=e[r(497)],(s=t)[(n=Me)(112)](i,{month:n(108),day:n(106)})+", "+s[n(110)](i,{hour:n(106),minute:n(106)});var i,s,n})),this[r(489)](r(478),!1),this[r(489)](r(510),!1),this[r(489)](r(518),!1),this[r(489)](r(515),!1),this[r(489)](r(501),!1),this[r(523)]=new Te(e,pt.createLabeledInputText),this[r(523)][r(514)][r(531)]({attributes:{maxlength:r(507)}}),this[r(523)][r(514)][r(516)](r(511)).to(this,r(522),(t=>t||this[r(525)])),this[r(523)][r(516)](r(501)).to(this,r(478),this,r(501),((t,e)=>t&&e)),this[r(528)]=s&&s[r(498)]?function(e,i){const s=Fe,n=e[s(385)],r=e[s(379)],o=(0,pt.createDropdown)(r);o[s(360)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Fe,s=t[i(379)],n={"Compare against selected":Q(s,i(349)),"Name this revision":Q(s,i(351)),"Restore this revision":Q(s,i(348))};return e[i(391)]((t=>{const e=i,s=n[t[e(386)]];return s&&s!==t[e(386)]&&(t[e(386)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(392),model:new pt.ViewModel({label:t[n(386)],class:t[n(389)],withText:!0,role:n(355),_action:t[n(373)]})};i[n(371)][n(388)](n(350)).to(e,n(362),(i=>n(358)!=typeof t[n(350)]||!i||t[n(350)](e))),o[n(376)](i)}return o}(e,i);return e[s(388)](s(362)).to(o,s(380)),o[s(387)][s(368)]({label:Q(r,s(374)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(359)]({attributes:{class:[s(381),n.if(s(362),s(352))]},on:{click:n.to((t=>t[s(377)]()))}}),o.on(s(370),(t=>{const i=s;e[i(364)]&&i(358)==typeof t[i(345)][i(375)]&&t[i(345)][i(375)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(363)}),o[s(383)](e,s(365),((t,n,r)=>{const a=s;if(r)for(const t of o[a(354)][a(361)]){const s=t[a(346)][a(369)],n=i[a(347)]((t=>t[a(373)]===s[a(375)]))[a(384)];t[a(384)]=void 0===n||n(e)}})),o}(this,s):"",this[r(528)]&&this[r(528)][r(516)](r(501)).to(this),this[r(538)]({tag:r(506),attributes:{class:["ck",r(483),r(494),o.if(r(505),r(537))]},children:[{tag:r(506),attributes:{class:["ck",r(483),r(479),o.if(r(501),r(486),(t=>!t)),o.if(r(478),r(485)),o.if(r(510),r(482)),o.if(r(518),r(529))]},children:[this[r(523)],{tag:r(493),attributes:{class:["ck",r(476)]},children:[{text:o.to(r(525))}]},{tag:r(506),attributes:{class:["ck",r(484)]},children:[{tag:"ul",attributes:{class:["ck",r(530)]},children:a}]},this[r(528)]],on:{click:o.to((t=>{const e=r;t[e(490)][e(504)](e(524))||this[e(515)]&&this[e(501)]&&this[e(532)](e(520),{id:this.id})}))}}]})}[ze(535)](){const t=ze;super[t(535)]();const e=this[t(523)][t(514)][t(521)];this[t(502)](e,t(527),(()=>{const i=t;this[i(488)]&&!e[i(511)]||this[i(532)](i(526),{id:this.id,name:e[i(511)]}),e[i(511)]||(e[i(511)]=this[i(522)]?this[i(522)]:this[i(525)])}))}[ze(520)](){this[ze(478)]=!0}[ze(533)](){this[ze(478)]=!1}[ze(512)](){this[ze(510)]=!0}[ze(500)](){this[ze(510)]=!1}}class Ue extends Error{}class qe extends Ue{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class $e extends Ue{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Be extends Ue{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ye extends Ue{}class Je extends Ue{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ue{}class Ke extends Ue{constructor(){super("Zone is an abstract class")}}const Xe="numeric",Qe="short",ti="long",ei={year:Xe,month:Xe,day:Xe},ii={year:Xe,month:Qe,day:Xe},si={year:Xe,month:Qe,day:Xe,weekday:Qe},ni={year:Xe,month:ti,day:Xe},ri={year:Xe,month:ti,day:Xe,weekday:ti},oi={hour:Xe,minute:Xe},ai={hour:Xe,minute:Xe,second:Xe},ci={hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},ui={hour:Xe,minute:Xe,second:Xe,timeZoneName:ti},li={hour:Xe,minute:Xe,hourCycle:"h23"},hi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23"},di={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:Qe},fi={hour:Xe,minute:Xe,second:Xe,hourCycle:"h23",timeZoneName:ti},mi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe},pi={year:Xe,month:Xe,day:Xe,hour:Xe,minute:Xe,second:Xe},vi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe},gi={year:Xe,month:Qe,day:Xe,hour:Xe,minute:Xe,second:Xe},yi={year:Xe,month:Qe,day:Xe,weekday:Qe,hour:Xe,minute:Xe},ki={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,timeZoneName:Qe},bi={year:Xe,month:ti,day:Xe,hour:Xe,minute:Xe,second:Xe,timeZoneName:Qe},wi={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,timeZoneName:ti},_i={year:Xe,month:ti,day:Xe,weekday:ti,hour:Xe,minute:Xe,second:Xe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return 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 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,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Vi={};function Di(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Mi={};let 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 Pi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ri.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Di(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=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 Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Zi{static fromOpts(t){return Zi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=Rs(s)||os.defaultWeekSettings;return new Zi(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Mi={},Ei={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Zi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Di(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Di(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Zi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,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,Xs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Pi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Ui extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Ui(0)),Hi}static instance(t){return 0===t?Ui.utcInstance:new Ui(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Ui(Us(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?Ui.utcInstance:Ui.parseSpecifier(i)||Ri.create(t)}return Is(t)?Ui.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 Xi,Qi=()=>Date.now(),ts="system",es=null,is=null,ss=null,ns=60,rs=null;class os{static get now(){return Qi}static set now(t){Qi=t}static set defaultZone(t){ts=t}static get defaultZone(){return $i(ts,Oi.instance)}static get defaultLocale(){return es}static set defaultLocale(t){es=t}static get defaultNumberingSystem(){return is}static set defaultNumberingSystem(t){is=t}static get defaultOutputCalendar(){return ss}static set defaultOutputCalendar(t){ss=t}static get defaultWeekSettings(){return rs}static set defaultWeekSettings(t){rs=Rs(t)}static get twoDigitCutoffYear(){return ns}static set twoDigitCutoffYear(t){ns=t%100}static get throwOnInvalid(){return Xi}static set throwOnInvalid(t){Xi=t}static resetCaches(){Zi.resetCache(),Ri.resetCache(),io.resetCache(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=As(t.month,1,12),s=As(t.day,1,Ps(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Rs(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ds(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function 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 Ps(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(t+1,e,i);return(Ls(t)-s+n)/7}function Zs(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 Us(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 Xs(t){switch(t){case"narrow":return[...Ks];case"short":return[...Gs];case"long":return[...Js];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Qs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],tn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],en=["M","T","W","T","F","S","S"];function sn(t){switch(t){case"narrow":return[...en];case"short":return[...tn];case"long":return[...Qs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const nn=["AM","PM"],rn=["Before Christ","Anno Domini"],on=["BC","AD"],an=["B","A"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];default:return null}}function un(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const ln={D:ei,DD:ii,DDD:ni,DDDD:ri,t:oi,tt:ai,ttt:ci,tttt:ui,T:li,TT:hi,TTT:di,TTTT:fi,f:mi,ff:vi,fff:ki,ffff:wi,F:pi,FF:gi,FFF:bi,FFFF:_i};class hn{static create(t,e={}){return new hn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return ln[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Vs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return nn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Xs(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return sn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=hn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return cn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return un(hn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=hn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return un(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const dn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function fn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function mn(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function pn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function vn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ds(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:Ds(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=Us(t[e+1],t[e+2]);return[{},i?null:Ui.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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Es(u),h)}]}const Dn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?Zs(Ds(e)):Ds(e),month:Gs.indexOf(i)+1,day:Ds(s),hour:Ds(n),minute:Ds(r)};return o&&(a.second=Ds(o)),t&&(a.weekday=t.length>3?Qs.indexOf(t)+1:tn.indexOf(t)+1),a}const En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?Dn[c]:u?0:Us(l,h),[d,new Ui(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Pn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Ui.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Ui.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Zn=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Un=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),Xn=mn(Tn,xn,Nn);const Qn="Invalid Duration",tr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},er={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...tr},ir=365.2425,sr=30.436875,nr={years:{quarters:4,months:12,weeks:52.1775,days:ir,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:sr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...tr},rr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],or=rr.slice(0).reverse();function ar(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new lr(s)}function cr(t,e){let i=e.milliseconds??0;for(const s of or.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function ur(t,e){const i=cr(t,e)<0?-1:1;rr.reduceRight(((s,n)=>{if(_s(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),rr.reduce(((i,s)=>{if(_s(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class lr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?nr:er;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Zi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return lr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new lr({values:$s(t,lr.normalizeUnit),loc:Zi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Is(t))return lr.fromMillis(t);if(lr.isDuration(t))return t;if("object"==typeof t)return lr.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return pn(t,[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):Qn}toHuman(t={}){if(!this.isValid)return Qn;const e=rr.map((e=>{const i=this.values[e];return _s(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Cs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return io.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?cr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t),i={};for(const t of rr)(Ns(e.values,t)||Ns(this.values,t))&&(i[t]=e.get(t)+this.get(t));return ar(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=lr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=qs(t(this.values[i],i));return ar(this,{values:e},!0)}get(t){return this[lr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return ar(this,{values:{...this.values,...$s(t,lr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return ar(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return ur(this.matrix,t),ar(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return ar(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>lr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of rr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Is(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Is(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return ur(this.matrix,e),ar(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return ar(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of rr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const hr="Invalid Interval";class dr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Interval is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new $e(i);return new dr({invalid:i})}static fromDateTimes(t,e){const i=so(t),s=so(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?dr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:dr.invalid("missing or invalid end"):dr.invalid("missing or invalid start")}(i,s);return null==n?new dr({start:i,end:s}):n}static after(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=lr.fromDurationLike(e),s=so(t);return dr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=io.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=io.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return dr.fromDateTimes(t,r);if(n){const i=lr.fromISO(s,e);if(i.isValid)return dr.after(t,i)}else if(o){const t=lr.fromISO(i,e);if(t.isValid)return dr.before(r,t)}}return dr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?dr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(so).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(dr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=lr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(dr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:dr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return dr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(dr.fromDateTimes(e,t.time)),e=null);return dr.merge(s)}difference(...t){return dr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:hr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.s.loc.clone(e),t).formatInterval(this):hr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:hr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:hr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:hr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:hr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):lr.invalid(this.invalidReason)}mapEndpoints(t){return dr.fromDateTimes(t(this.s),t(this.e))}}class fr{static hasDST(t=os.defaultZone){const e=io.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ri.isValidZone(t)}static normalizeZone(t){return $i(t,os.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Zi.create(e,null,"gregory").eras(t)}static features(){return{relative:Os(),localeWeek:Ts()}}}function mr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(lr.fromMillis(s).as("days"))}function pr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=mr(t,e);return(i-i%7)/7}],["days",mr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=lr.fromObject(r,s);return u.length>0?lr.fromMillis(c,s).shiftTo(...u).plus(l):l}function vr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(Bi.hanidec))e+=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])=>Us(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,Zs);case"yyyy":case"kkkk":return vr(r);case"yyyyy":return vr(d);case"yyyyyy":return vr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return vr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return vr(s);case"MMM":return wr(e.months("short",!0),1);case"MMMM":return wr(e.months("long",!0),1);case"LLL":return wr(e.months("short",!1),1);case"LLLL":return wr(e.months("long",!1),1);case"o":case"S":return vr(c);case"ooo":case"SSS":return vr(n);case"u":return Ir(l);case"uu":return Ir(a);case"uuu":case"E":case"c":return vr(i);case"a":return wr(e.meridiems(),0);case"EEE":return wr(e.weekdays("short",!1),1);case"EEEE":return wr(e.weekdays("long",!1),1);case"ccc":return wr(e.weekdays("short",!0),1);case"cccc":return wr(e.weekdays("long",!0),1);case"Z":case"ZZ":return _r(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return _r(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Ir(/[a-z_+-/]{1,256}?/i);case" ":return Ir(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ns(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;_s(t.z)||(i=Ri.create(t.z)),_s(t.Z)||(i||(i=new Ui(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 Dr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function 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 Pr(t,e,i){return Fr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ps(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Zr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Ur={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(Dr(i));const s=Zi.fromObject(e);let n,r;if(_s(t.year))n=os.now();else{for(const e of Br)_s(t[e])&&(t[e]=Ur[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=Pr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Xr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Qr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Dr(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||Zi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new io({})}static local(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Qr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Ui.utcInstance,Kr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return io.invalid("invalid input");const n=$i(e.zone,os.defaultZone);return n.isValid?new io({ts:i,zone:n,loc:Zi.fromObject(e)}):io.invalid(Dr(n))}static fromMillis(t,e={}){if(Is(t))return t<-Vr||t>Vr?io.invalid("Timestamp out of range"):new io({ts:t,zone:$i(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Is(t))return new io({ts:1e3*t,zone:$i(e.zone,os.defaultZone),loc:Zi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=$i(e.zone,os.defaultZone);if(!i.isValid)return io.invalid(Dr(i));const s=Zi.fromObject(e),n=$s(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ks(n,s),a=os.now(),c=_s(e.specificOffset)?i.offset(a):e.specificOffset,u=!_s(n.ordinal),l=!_s(n.year),h=!_s(n.month)||!_s(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new 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=Ur);let y=!1;for(const t of p){_s(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ss(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=As(t.ordinal,1,Ls(t.year));return e?!i&&ls("ordinal",t.ordinal):ls("year",t.year)}(n):bs(n),b=k||ws(n);if(b)return io.invalid(b);const w=m?vs(n,r,o):u?ys(n):n,[_,I]=Pr(w,c,i),S=new io({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?io.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:io.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return pn(t,[Wn,qn],[Zn,$n],[Hn,Bn],[Un,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[En,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,jn],[Ln,jn],[Pn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Xn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new qe(i);return new io({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Rr(t,Zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Tr(hn.parseFormat(t),Zi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){to=void 0,eo={}}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return Ps(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Ui.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Pr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Dr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(Ps(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=Pr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,jr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Zr(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Zr(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Zr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Xr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Xr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=471]})(t,e)}function ro(){const t=["15QKQlbQ","fromJSDate","24ZfBBby","hasSame","138681KOjwcZ","40136LtblJx","weekdayLong","389214hmEDKq","144102YCfWDk","1024299XmRRtH","month","week","2fHZpnZ","monthLong","year","setLocale","toRelativeCalendar","84819qRmNIq","minus","local","startOf","toJSDate","3680750Panhwg","day"];return(ro=function(){return t})()}function oo(t,e){const i=no,s=io[i(492)](t)[i(482)](e),n=io[i(486)](),r=n[i(485)]({days:1})[i(487)](i(490));let o,a;return s[i(494)](n,i(490))?(o=s[i(487)](i(490))[i(488)](),a=s[i(483)]()):s[i(494)](r,i(490))?(o=r[i(488)](),a=s[i(483)]()):s[i(494)](n,i(478))?(o=s[i(487)](i(478))[i(488)](),a=s[i(473)]||""):s[i(494)](n,i(481))?(o=s[i(487)](i(477))[i(488)](),a=s[i(480)]||""):(o=s[i(487)](i(481))[i(488)](),a=String(s[i(481)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=no,i=t();for(;;)try{if(160235===-parseInt(e(475))/1+-parseInt(e(479))/2*(parseInt(e(471))/3)+-parseInt(e(472))/4*(parseInt(e(491))/5)+-parseInt(e(474))/6+parseInt(e(484))/7*(-parseInt(e(493))/8)+parseInt(e(476))/9+parseInt(e(489))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var ao=i(45),co={attributes:{"data-cke":!0}};co.setAttributes=It(),co.insert=wt().bind(null,"head"),co.domAPI=kt(),co.insertStyleElement=Ot();gt()(ao.A,co);ao.A&&ao.A.locals&&ao.A.locals;const uo=lo;function lo(t,e){const i=fo();return(lo=function(t,e){return i[t-=127]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(385674===-parseInt(e(153))/1+parseInt(e(149))/2+-parseInt(e(136))/3*(-parseInt(e(147))/4)+parseInt(e(139))/5+-parseInt(e(140))/6+parseInt(e(144))/7*(parseInt(e(138))/8)+parseInt(e(145))/9*(-parseInt(e(132))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fo);class ho extends pt.View{[uo(137)];[uo(133)];[uo(130)];[uo(155)];constructor(t,e,i,s){const n=uo;super(t);const r=oo(e,this[n(142)][n(154)])[n(152)];this[n(137)]=e,this[n(133)]=this[n(148)](),this[n(130)]=i,this[n(155)]=s,this[n(133)][n(131)](n(135)).to(this),this[n(133)][n(131)](n(128)).to(this),this[n(150)]({tag:n(151),attributes:{class:["ck",n(134)]},children:[{tag:n(127),attributes:{class:["ck",n(146)]},children:[{text:r}]},{tag:n(151),attributes:{class:["ck",n(157)]},children:this[n(133)]}]})}[uo(129)](t){const e=uo,i=new He(this[e(142)],t,this[e(130)],this[e(155)]);this[e(133)][e(143)](i)}[uo(158)](t){const e=uo,i=this[e(133)][e(141)]((e=>e.id===t.id));this[e(133)][e(156)](i)}}function fo(){const t=["614280YiXGCe","4265442AtGAMN","find","locale","add","397705wCRmBT","9sMfcMc","ck-revision-history-sidebar__time-period__label","2662556yonFCk","createCollection","984440wPGzbq","setTemplate","div","localizedPeriodName","171520RGAWWr","uiLanguage","_requireRevisionName","remove","ck-revision-history-sidebar__time-period__revisions","removeRevision","span","setName","addRevision","_revisionActions","delegate","2966890OdXrVY","revisionViews","ck-revision-history-sidebar__time-period","select","3bkVBkL","startDate","40MLdXRz"];return(fo=function(){return t})()}var mo=i(173),po={attributes:{"data-cke":!0}};po.setAttributes=It(),po.insert=wt().bind(null,"head"),po.domAPI=kt(),po.insertStyleElement=Ot();gt()(mo.A,po);mo.A&&mo.A.locals&&mo.A.locals;function vo(){const t=["ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","670YEjxSx","700917ZqwZyR","17844rnjgmh","content","8hJmRXk","2KkZeWx","60SyuaFQ","Revision history","105380ODKuGV","24ztcpjP","5696586OHxKAg","52716HQoSBk","span","setTemplate","div","ck-reset_all","371731fVchbR","631880zZPXvA","4667gIMWSC"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=492]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(515757===parseInt(e(505))/1*(parseInt(e(494))/2)+-parseInt(e(500))/3*(-parseInt(e(495))/4)+parseInt(e(506))/5*(parseInt(e(498))/6)+-parseInt(e(511))/7+-parseInt(e(493))/8*(parseInt(e(499))/9)+-parseInt(e(510))/10*(-parseInt(e(497))/11)+parseInt(e(512))/12*(-parseInt(e(507))/13))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(492)]=mt.IconHistory,this[e(502)]({tag:e(503),attributes:{class:["ck",e(504),e(509)]},children:[i,{tag:e(501),attributes:{class:["ck",e(508)]},children:[Q(t,e(496))]}]})}}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=So();return(_o=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(299998===-parseInt(e(322))/1+-parseInt(e(289))/2+-parseInt(e(325))/3+parseInt(e(331))/4*(-parseInt(e(309))/5)+-parseInt(e(297))/6*(parseInt(e(335))/7)+parseInt(e(290))/8+-parseInt(e(303))/9*(-parseInt(e(313))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(So);class Io extends pt.View{[wo(314)];[wo(328)];[wo(336)];[wo(318)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(337)];this[n(314)]=this[n(298)](),this[n(314)][n(300)](n(339)).to(this),this[n(314)][n(300)](n(340)).to(this),this[n(328)]=e,this[n(336)]=i,this[n(318)]=s,this.on(n(339),((t,e)=>{const i=n;this[i(301)](i(292),e)})),this.on(n(340),((t,e)=>{const i=n;this[i(301)](i(326),e)})),this[n(296)](n(332),!1),this[n(306)]({tag:n(304),attributes:{class:["ck",n(288),n(291),n(323)]},children:[new yo(t),{tag:n(304),attributes:{class:["ck",n(330),r.if(n(332),n(342),(t=>!t))]},children:this[n(314)]}]})}[wo(341)](){const t=wo;super[t(341)]();for(const e of this[t(328)])this[t(294)](e);this[t(328)].on(t(321),((e,i)=>{this[t(294)](i)})),this[t(328)].on(t(307),((e,i)=>{this[t(299)](i)}))}get[wo(320)](){const t=wo;return this[t(314)][t(338)]((e=>e[t(320)][t(338)]((t=>t))))[t(293)]()}[wo(329)](t){const e=wo;for(const i of this[e(320)])t&&t.id===i.id?i[e(339)]():i[e(315)]()}[wo(333)](t){const e=wo;for(const i of this[e(320)])t[e(327)]((({id:t})=>t===i.id))?i[e(305)]():i[e(312)]()}[wo(294)](t){const e=wo,i=oo(t[e(319)],this[e(311)][e(317)])[e(308)];let s=this[e(314)][e(334)](0);s&&s[e(308)][e(324)]()===i[e(324)]()||(s=new ho(this[e(311)],i,this[e(336)],this[e(318)]),this[e(314)][e(321)](s)),s[e(310)](t)}[wo(299)](t){const e=wo,i=oo(t[e(319)],this[e(311)][e(317)])[e(308)];this[e(316)](i)[e(302)](t)}[wo(316)](t){const e=wo;return this[e(314)][e(295)]((i=>i[e(308)][e(324)]()===t[e(324)]()))}}function So(){const t=["_revisionActions","bindTemplate","map","select","setName","render","ck-disabled","ck-reset","808042jYFzwL","901680pFSmGc","ck-rounded-corners","revisionSelected","flat","_addRevision","find","set","819708dHcIOm","createCollection","_removeRevision","delegate","fire","removeRevision","7956ftfhWd","div","highlight","setTemplate","remove","startDate","25jehdxs","addRevision","locale","unhighlight","20820LeOdHZ","timePeriodViews","deselect","_getTimePeriodViewByStartDate","uiLanguage","_requireRevisionName","createdAt","revisionViews","add","362604YdsvwT","ck-revision-history-sidebar","getTime","1285506EHlVMj","revisionSetName","some","_revisions","selectRevision","ck-revision-history-sidebar__timeline","257164iQTXov","isEnabled","highlightRevisions","get","7vIZIJS"];return(So=function(){return t})()}const Oo=To;function To(t,e){const i=No();return(To=function(t,e){return i[t-=233]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(865228===-parseInt(e(297))/1+-parseInt(e(283))/2+-parseInt(e(304))/3*(-parseInt(e(253))/4)+parseInt(e(248))/5*(-parseInt(e(267))/6)+parseInt(e(233))/7*(parseInt(e(241))/8)+parseInt(e(277))/9+parseInt(e(271))/10*(-parseInt(e(303))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(No);class xo extends Z.Plugin{[Oo(259)];[Oo(278)];[Oo(276)];static[Oo(288)]=[Oo(244),Oo(305),Oo(235)];static[Oo(313)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(234),action:({plugins:e},i)=>{const s=t,n=e[s(308)](ee),r=n[s(238)];let o=n[s(258)][s(285)],a=i.id;r[s(236)](o)>r[s(236)](a)&&([o,a]=[a,o]),n[s(299)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(308)](ee);return!(n[s(238)][s(243)](n[s(258)])[s(306)]>2||i[s(269)])}},restoreRevision:{name:t(254),action:(e,{id:i})=>{const s=t;e[s(301)][s(308)](s(289))[s(263)](i)},isVisible:({plugins:e},i)=>!!e[t(308)](ee)[t(238)][t(257)](i.id)},nameRevision:{name:t(268),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(308)](ee),o=r[n(238)][n(293)](i);r[n(299)](i,o),s[n(264)](),s[n(302)][n(239)]()}}}}();static get[Oo(255)](){return Oo(270)}static get[Oo(280)](){return!0}static get[Oo(307)](){return!0}static get[Oo(296)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(259)]=t[e(242)][e(308)](ee),this[e(278)]=this[e(259)][e(238)],this[e(276)]=null}[Oo(265)](){const t=Oo,e=this[t(278)][t(311)],i=this[t(274)](),s=this[t(286)][t(301)][t(308)](t(275));this[t(276)]=new Io(this[t(286)][t(291)],e,i,this[t(286)][t(301)][t(308)](t(282))),this[t(276)].on(t(312),this[t(273)][t(240)](this)),this[t(276)].on(t(262),this[t(290)][t(240)](this)),this[t(276)][t(240)](t(251)).to(this[t(259)]),this[t(276)][t(266)].on(t(310),((e,i)=>{const s=t;i[s(237)].on(s(310),((t,e)=>{const i=s;e[i(240)](i(251),i(281)).to(this[i(259)])}))})),this[t(276)][t(272)](),this[t(260)](this[t(286)][t(247)],t(256),this[t(295)][t(240)](this)),this[t(260)](this[t(259)],t(287),this[t(298)][t(240)](this)),s[t(249)](this[t(276)][t(284)])}[Oo(246)](){const t=Oo;this[t(276)][t(284)][t(292)](),this[t(276)][t(246)]()}[Oo(295)](){const t=Oo,e=this[t(278)][t(294)](0);if(e){const i=this[t(278)][t(293)](e.id);this[t(259)][t(299)](e,i)}}[Oo(273)](t,e){const i=Oo,s=this[i(278)][i(294)](e.id),n=this[i(278)][i(293)](s.id);this[i(259)][i(299)](s,n)}[Oo(290)](t,e){const i=Oo;this[i(278)][i(294)](e.id)[i(309)](e[i(252)])}[Oo(298)](t,e,i){const s=Oo,n=this[s(278)][s(243)](i);n[s(306)]>2?(this[s(276)][s(250)](n),this[s(276)][s(245)](null)):(this[s(276)][s(250)]([]),this[s(276)][s(245)](n[0]))}[Oo(274)](){const t=Oo,e=this[t(286)],i=xo[t(313)],s=e[t(301)][t(308)](t(300))||xo[t(288)];if(s[t(306)])return s[t(261)]((s=>{const n=t,r=n(314)==typeof s?Object[n(316)]({},i[s]):s;return r[n(279)]=r[n(279)][n(240)](this,e),r[n(315)]&&(r[n(315)]=r[n(315)][n(240)](this,e)),r}))}}function No(){const t=["destroy","data","65WgLFiR","appendChild","highlightRevisions","isEnabled","name","5784UgpbXp","Restore this revision","pluginName","ready","getLaterVisibleRevision","diff","_revisionViewer","listenTo","map","revisionSetName","restoreRevisionCallback","focus","init","timePeriodViews","159834xzaRoN","Name this revision","isSelected","RevisionsSidebar","307910FJvbSK","render","_handleRevisionSelected","_createRevisionActions","revisionHistory.viewerSidebarContainer","_sidebarView","6158943zGXgCT","_revisionsRepository","action","isOfficialPlugin","isReady","revisionHistory.requireRevisionName","1212638fgCFDt","element","newRevisionId","editor","change:diff","defaultRevisionActions","revisionHistory","_handleRevisionSetName","locale","remove","getEarlierVisibleRevision","getRevision","_handleEditorDataReady","requires","1402677oMvVHh","_handleDiffChange","compare","revisionHistory.revisionActions","config","fieldView","22eqPcTC","2538SioUdf","restoreRevision","length","isPremiumPlugin","get","setName","add","_revisions","revisionSelected","availableRevisionActions","string","isVisible","assign","35GLPyoZ","Compare against selected","nameRevision","getIndex","revisionViews","repository","select","bind","2199152DIoSIP","plugins","getRevisionsInDiff","compareAgainstSelected","selectRevision"];return(No=function(){return t})()}const Ro=xo,Ao=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=160]})(t,e)}function Do(){const t=["8405UhVtNs","451338gvwJaz","22400FNLIfF","152ebgwPo","editing","178407jlTHVu","viewportTopOffset","get","getRoot","destroy","addToolbar","652242LWVALu","componentFactory","focusTracker","init","attachDomRoot","_initToolbar","render","_elementReplacer","ready","document","limiterElement","replace","bind","2940530mmqZBf","52yfJThk","restore","_view","element","stickyPanel","setEditableElement","view","editable","_toolbarConfig","detachDomRoot","name","fire","rootName","isFocused","editor","fillFromConfig","isActive","338310NiJZxn","toolbar","160gNVxzb","config","viewportOffset"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(269491===-parseInt(e(187))/1*(-parseInt(e(165))/2)+-parseInt(e(188))/3+parseInt(e(184))/4*(parseInt(e(189))/5)+-parseInt(e(198))/6+parseInt(e(182))/7+parseInt(e(190))/8*(parseInt(e(192))/9)+-parseInt(e(164))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Mo extends pt.EditorUI{[Ao(167)];[Ao(173)];[Ao(205)];get[Ao(171)](){return this[Ao(167)]}constructor(e,i){const s=Ao;super(e),this[s(167)]=i,this[s(173)]=(0,pt.normalizeToolbarConfig)(e[s(185)][s(194)](s(183))),this[s(205)]=new t.ElementReplacer}get[Ao(168)](){const t=Ao;return this[t(171)][t(168)]}[Ao(201)](t){const e=Ao,i=this[e(179)],s=this[e(171)],n=i[e(191)][e(171)],r=s[e(172)],o=n[e(160)][e(195)]();r[e(175)]=o[e(177)],s[e(204)]();const a=r[e(168)];this[e(170)](r[e(175)],a),s[e(172)][e(163)](e(178)).to(this[e(200)]),n[e(202)](a),this[e(205)][e(162)](t,this[e(168)]),this[e(203)](),this[e(176)](e(206))}[Ao(196)](){const t=Ao;super[t(196)]();const e=this[t(171)],i=this[t(179)][t(191)][t(171)];this[t(205)][t(166)](),i[t(174)](e[t(172)][t(175)]),e[t(196)]()}[Ao(203)](){const t=Ao,e=this[t(171)];e[t(169)][t(163)](t(181)).to(this[t(200)],t(178)),e[t(169)][t(161)]=e[t(168)],e[t(169)][t(163)](t(193)).to(this,t(186),(({top:t})=>t)),e[t(183)][t(180)](this[t(173)],this[t(199)]),this[t(197)](e[t(183)])}}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;var Fo=Lo;function Lo(t,e){var i=jo();return(Lo=function(t,e){return i[t-=198]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(733580===-parseInt(e(216))/1*(parseInt(e(201))/2)+parseInt(e(218))/3+parseInt(e(210))/4+-parseInt(e(203))/5*(-parseInt(e(199))/6)+-parseInt(e(206))/7+-parseInt(e(211))/8*(-parseInt(e(209))/9)+-parseInt(e(205))/10*(parseInt(e(213))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends pt.BoxedEditorUIView{[Fo(207)];[Fo(215)];[Fo(217)];get[Fo(212)](){return this[Fo(207)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(215)]=new pt.StickyPanelView(t),this[s(217)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(198)]}),this[s(207)]=new pt.InlineEditableUIView(t,e)}[Fo(204)](){var t=Fo;super[t(204)](),this[t(215)][t(200)][t(214)](this[t(217)]),this[t(208)][t(214)](this[t(215)]),this[t(202)][t(214)](this[t(212)])}}function jo(){var t=["5761920iAhYPk","121832TAYeRQ","editable","1798247rJFVyt","add","stickyPanel","12aTQXAO","toolbar","1390917GeiLvz","shouldToolbarGroupWhenFull","6rodhmO","content","228294KwOwym","main","243905xAndaD","render","50AePASg","1646834sdDPfL","_editable","top","711MHBdpp"];return(jo=function(){return t})()}const zo=Zo;function Wo(){const t=["updateSourceElement","fire","get","sourceElement","destroy","editing","_ui","create","ready","createRoot","1124840pAJJAE","5191896SyBBAy","config","385434XcqxHq","initialData","167016dhpyly","locale","1741734miKnuH","initPlugins","model","1423845eLfCen","5PYqdOF","view","data","init","862771ovrSly","document"];return(Wo=function(){return t})()}function Zo(t,e){const i=Wo();return(Zo=function(t,e){return i[t-=312]})(t,e)}!function(t){const e=Zo,i=t();for(;;)try{if(262885===-parseInt(e(317))/1+-parseInt(e(315))/2+-parseInt(e(322))/3+parseInt(e(312))/4+-parseInt(e(323))/5*(-parseInt(e(319))/6)+-parseInt(e(327))/7+parseInt(e(313))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends((0,Z.ElementApiMixin)(Z.Editor)){[zo(335)];get ui(){return this[zo(335)]}constructor(t,e){const i=zo;super(e),this[i(332)]=t,this[i(321)][i(328)][i(338)]();const s=new Po(this[i(318)],this[i(334)][i(324)],{shouldToolbarGroupWhenFull:!0});this[i(335)]=new Mo(this,s)}[zo(333)](){const t=zo;return this[t(329)](),this.ui[t(333)](),super[t(333)]()}static async[zo(336)](t,e){const i=zo,s=new this(t,e);return await s[i(320)](),await s.ui[i(326)](t),await s[i(325)][i(326)](s[i(314)][i(331)](i(316))||""),s[i(330)](i(337)),s}}const Uo=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=328]})(t,e)}function $o(){const t=["getRevisionDocumentData","rootName","fromVersion","remove","addRevisionData","DocumentOutlineUI","addUser","revisionHistory.showRevisionViewerCallback","model","pluginName","DocumentOutline","long","detachRoot","511924eazyBK","RevisionsRepository","28596edgGQR","changesNavigation","getUser","isOpen","saveRevision","restrictedEditingException","block","save","isOfficialPlugin","toLocaleTimeString","_restoreRevision","$graveyard","destroy","update","Autosave","toolbar","10057869PjcDAu","push","set","30OQoIaU","getAttributeKeys","removeAttribute","numeric","_update","result","loadRevisionData","users","_showRevisionViewer","none","enqueueChange","adapter","exitToEditing","selection","revision-history-missing-configuration","_cleanUp","RestrictedEditingMode","11gTKWMn","_closeRevisionViewer","from","566616WDZlUq","5307606KWZhcm","createRangeIn","style","18loEoCL","config","get","Annotations","restoreRevision","getRevision","getRoot","RevisionViewer","name","PaginationLookup","translations","revisionHistory","revisionHistory.requireRevisionName","catch","setSelection","_viewerEditor","RevisionHistoryUtils","indexOf","includes","isPremiumPlugin","parse","create","insert","init","map","keys","Dialog","createdAt","closeRevisionViewerCallback","_enhanceCloseRevisionViewerCallback","_recalculatePageBreaks","addRoot","has","toLocaleDateString","RevisionHistory","isRevisionViewerOpen","Users","element","requires","refreshPositioning","RevisionHistoryUI","fromCharCode","isEnabled","document","setAttribute","revision-history-viewer-opened","lazyRoots","disableReadOnlyMode","RevisionViewerIntegration","toVersion","locale","roots","repository","5870czjUmS","plugins","error","revisionHistory.editorContainer","end","isAttached","enableReadOnlyMode","creator","revisionHistory.restoreRevisionCallback","define","editor","view","data","revisionHistory.viewerContainer","_enhanceShowRevisionViewerCallback","change","revisionHistory.viewerEditorElement","removeSelectionAttribute","revisionHistory.closeRevisionViewerCallback","getRevisionRootsAttributes","hide","getRevisions","_getRevisionViewerEditorConfig","commands","8boqpIy","bind","getMarkersGroup","markers","refreshVisibility","isReady","uiLanguage","toJSON","Restored","display","isReadOnly","join","removeMarker","then","RevisionTracker","isAnonymous","238806MlBiHf","showRevisionViewerCallback"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(689457===-parseInt(e(442))/1+parseInt(e(386))/2*(-parseInt(e(446))/3)+parseInt(e(403))/4*(parseInt(e(422))/5)+parseInt(e(443))/6+-parseInt(e(401))/7*(parseInt(e(370))/8)+parseInt(e(419))/9+-parseInt(e(346))/10*(-parseInt(e(439))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);const Bo=[Uo(333),Uo(438)];class Yo extends Z.Plugin{[Uo(427)];static get[Uo(397)](){return Uo(341)}static get[Uo(411)](){return!0}static get[Uo(465)](){return!0}constructor(t){const e=Uo;function i(t){const e=qo;return t[e(470)]((t=>String[e(334)](t)))[e(381)]("")}super(t),this[e(427)]=e(350),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 Z.Plugin{[Uo(461)];static get[Uo(397)](){return Uo(480)}static get[Uo(411)](){return!0}static get[Uo(465)](){return!0}static get[Uo(331)](){return[ot,Lt]}constructor(e){const i=Uo;if(super(e),!this[i(356)][i(447)][i(448)](i(457)))throw new t.CKEditorError(i(436),this);this[i(461)]=null,this[i(421)](i(328),!1),this[i(356)][i(447)][i(355)](i(395),(t=>this[i(430)]({...t,translations:this[i(356)][i(343)][i(456)]}))),this[i(356)][i(447)][i(355)](i(364),(t=>this[i(440)](t))),this[i(356)][i(447)][i(355)](i(354),(t=>this[i(413)](t))),this[i(356)][i(447)][i(355)](i(458),!1),this[i(360)](),this[i(475)]()}set[Uo(433)](t){const e=Uo;this[e(356)][e(347)][e(448)](e(384))[e(433)]=t}get[Uo(433)](){const t=Uo;return this[t(356)][t(347)][t(448)](t(384))[t(433)]}[Uo(392)](t){const e=Uo;return this[e(356)][e(347)][e(448)](e(384))[e(392)](t)}[Uo(451)](t){const e=Uo;return this[e(356)][e(347)][e(448)](e(402))[e(451)](t)}[Uo(367)](t){const e=Uo;return this[e(356)][e(347)][e(448)](e(402))[e(367)](t||{toJSON:!1})}[Uo(368)](){const e=Uo,i=this[e(356)],s=(0,H.sanitizeEditorConfig)(i,Bo),n=i[e(347)][e(448)](e(384)),r=i[e(347)][e(448)](e(329))[e(429)];return s[e(418)]=[e(434),e(450),e(404)],delete s[e(339)],s[e(347)][e(420)](Yo,ee,be,class extends Z.Plugin{static get[e(331)](){return[ee,e(329)]}[e(469)](){const s=e,o=this[s(356)][s(347)][s(448)](s(329));for(const t of r)t[s(385)]||o[s(405)](t.id)||o[s(394)](t);const a=n[s(345)][s(367)]();let c=null;const u=this[s(356)][s(347)][s(448)](s(453));u[s(433)]=n[s(433)],u[s(371)](s(335)).to(n),this[s(356)][s(369)][s(448)](s(450))[s(371)](s(335)).to(i,s(380),(t=>!t));for(const e of a){const i=null===e[s(353)];if(i&&e[s(342)]===e[s(390)])continue;const r=e[s(377)]();u[s(392)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(426)](r,o);else if(!o){const e=a[u(377)]();e.id=(0,t.uid)(),n[u(407)](e,a[u(342)])[u(383)]((t=>{c=t}))}}else e[u(426)](r,o)}))}}},Ro),s}[Uo(360)](){const t=Uo,e=this[t(356)][t(447)][t(448)](t(457))[t(387)];this[t(356)][t(447)][t(421)](t(395),(async()=>{const i=t;this[i(356)][i(352)](i(338));const s=this[i(356)][i(347)][i(448)](i(384));if(this[i(356)][i(347)][i(478)](i(417))){const t=this[i(356)][i(347)][i(448)](i(417));await t[i(410)]()}else await s[i(416)]();if(this[i(356)][i(347)][i(478)](i(455))&&this[i(356)][i(347)][i(448)](i(455))[i(476)](),this[i(356)][i(347)][i(478)](i(472))){const t=this[i(356)][i(347)][i(448)](i(472));t[i(406)]&&t[i(366)]()}const n=this[i(368)]();return e(n)[i(383)]((t=>{const e=i;return this[e(461)]=t,this[e(356)][e(347)][e(478)](e(449))&&this[e(356)][e(347)][e(448)](e(449))[e(374)](),this[e(356)][e(347)][e(478)](e(398))&&(this[e(356)][e(347)][e(448)](e(393))[e(357)][e(330)][e(445)][e(379)]=e(431)),t}))[i(459)]((t=>(console[i(348)](t),this[i(356)][i(340)](i(338)),null)))}))}[Uo(475)](){const t=Uo,e=this[t(356)][t(447)][t(448)](t(457))[t(474)];this[t(356)][t(447)][t(421)](t(364),(()=>(this[t(356)][t(347)][t(478)](t(455))&&this[t(356)][t(347)][t(448)](t(455))[t(476)](),this[t(356)][t(347)][t(478)](t(398))&&(this[t(356)][t(347)][t(448)](t(393))[t(357)][t(330)][t(445)][t(379)]=""),this[t(461)][t(347)][t(448)](t(453))[t(437)](),e(this[t(461)])[t(383)]((()=>{const e=t;if(this[e(356)][e(340)](e(338)),this[e(461)]=null,this[e(356)][e(347)][e(478)](e(449))){const t=this[e(356)][e(347)][e(448)](e(449));t[e(374)](),t[e(332)]()}})))))}[Uo(430)](t){const e=Uo,i=this[e(356)][e(447)][e(448)](e(349)),s=this[e(356)][e(447)][e(448)](e(359)),n=this[e(356)][e(447)][e(448)](e(362));return Ho[e(467)](n,t)[e(383)]((t=>(s[e(445)][e(379)]=e(409),i[e(445)][e(379)]=e(431),this[e(328)]=!0,t)))}[Uo(440)](t){const e=Uo,i=this[e(356)][e(447)][e(448)](e(349));return this[e(356)][e(447)][e(448)](e(359))[e(445)][e(379)]=e(431),i[e(445)][e(379)]="",this[e(328)]=!1,t[e(415)]()}async[Uo(413)](t){const e=Uo,i=this[e(356)],s=this[e(461)][e(347)][e(448)](e(453)),n=i[e(347)][e(448)](e(384)),r=i[e(347)][e(448)](e(462)),o=s[e(345)][e(451)](t);let a,c,u;try{await r[e(428)](o,this[e(433)]),a=r[e(388)](o),c=r[e(365)](o)}catch(t){return void console[e(348)](t)}i[e(396)][e(361)]((t=>{const s=e;for(const e of Array[s(441)](i[s(396)][s(373)][s(372)](s(408))))t[s(382)](e)})),s[e(375)]=!1,i[e(396)][e(432)]((t=>{const s=e;t[s(460)](null),t[s(363)](i[s(396)][s(336)][s(435)][s(423)]());const n=Object[s(471)](a);for(const e of i[s(396)][s(336)][s(344)])s(414)!=e[s(389)]&&e[s(351)]()&&!n[s(464)](e[s(389)])&&t[s(400)](e);for(const e of n){let n=i[s(396)][s(336)][s(452)](e);n&&n[s(351)]()||(n=t[s(477)](e));const r=c[e],o=Object[s(471)](r),u=a[e];for(const e of n[s(423)]())o[s(464)](e)||t[s(424)](e,n);for(const i of o)t[s(337)](i,c[e][i],n);t[s(391)](t[s(444)](n)),t[s(468)](i[s(358)][s(466)](u,n),n,0)}}));const l=Q(i[e(343)],e(378));return u=o[e(454)]?-1==o[e(454)][e(463)](l)?l+": "+o[e(454)]:o[e(454)]:l+": "+o[e(473)][e(479)](i[e(343)][e(376)],{month:e(399),day:e(425)})+", "+o[e(473)][e(412)](i[e(343)][e(376)],{hour:e(425),minute:e(425)}),await n[e(407)]({name:u}),s[e(375)]=!0,i[e(447)][e(448)](e(457))[e(474)]()}}function Go(){var t=["4520oqzBqr","16PjAYOm","4689puHerI","869640XrjAWH","6056BZQhbA","8760iBvwSd","227524bUYFvs","3357455TrcHqi","233oPtioW","192kcrSFC","1350DtPclH","2076683FqaRap"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=209]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(487269===-parseInt(e(218))/1*(parseInt(e(210))/2)+parseInt(e(220))/3*(parseInt(e(214))/4)+parseInt(e(217))/5+-parseInt(e(213))/6+parseInt(e(209))/7*(parseInt(e(211))/8)+parseInt(e(212))/9*(-parseInt(e(215))/10)+parseInt(e(216))/11*(-parseInt(e(219))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{Revision:()=>W,RevisionHistory:()=>Jo,RevisionHistoryUI:()=>Lt,RevisionHistoryUtils:()=>Q,RevisionTracker:()=>ct,RevisionViewer:()=>ee,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==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}const V=/^(?:0|[1-9]\d*)$/;function M(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}function E(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,E(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=z();return(P=function(t,e){return i[t-=204]})(t,e)}function z(){const t=["name","set","fire","5814853QornsE","1396VZQaWy","attributes","setName","toVersion","creatorId","316047PCCItP","3084696QdpnCm","createdAt","2212314uHhtxJ","creator","98nZbLSW","model","authors","284766UKYqJR","_update","6eBvnqD","removeAttribute","diffData","1120nmjbcF","authorsIds","toJSON","map","20fZJaiS","6942663VaPtuE","fromVersion","setAttribute"];return(z=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(500117===-parseInt(e(231))/1*(parseInt(e(211))/2)+-parseInt(e(204))/3+-parseInt(e(226))/4*(-parseInt(e(214))/5)+parseInt(e(209))/6*(parseInt(e(206))/7)+-parseInt(e(232))/8+parseInt(e(219))/9+-parseInt(e(218))/10*(-parseInt(e(225))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(z);class W extends((0,t.ObservableMixin)()){id;[j(205)];[j(208)];[j(213)];[j(229)];[j(220)];[j(207)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(205)]=e[i(205)]||null,this[i(208)]=e[i(208)]||[],this[i(213)]=e[i(213)]||null,this[i(229)]=e[i(229)]||0,this[i(220)]=e[i(220)]||0,this[i(223)](i(222),e[i(222)]||""),this[i(223)](i(233),e[i(233)]||new Date),this[i(223)](i(227),e[i(227)]||{})}[j(228)](t){this[j(210)]({name:t})}[j(221)](t,e){const i=j,s=R(this[i(227)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?E(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(210)]({attributes:s})}[j(212)](t){const e=j,i=R(this[e(227)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&D(e))return L(t,E(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(210)]({attributes:i})}[j(210)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(222),i(233),i(213),i(208),i(227),i(229),i(220),i(230)];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(208)]&&(n[i(215)]=n[i(208)][i(217)]((t=>t.id)),delete n[i(208)]),this[i(224)](i(210),n,e))}[j(216)](){const t=j;return{id:this.id,name:this[t(222)],creatorId:this[t(205)]?this[t(205)].id:null,authorsIds:this[t(208)][t(217)]((t=>t.id)),diffData:this[t(213)],createdAt:this[t(233)],attributes:this[t(227)],fromVersion:this[t(220)],toVersion:this[t(229)]}}}var U=i(782),H=i(211),Z=i(783);const q=B;function $(){const t=["840939spYnwj","reverse","join","get","oldRevisionId","getUser","RevisionsRepository","255095IieZPY","4099560fOzVEF","afterInit","10968ufiGQq","2JfAQou","earlier","toJSON","getLaterVisibleRevision","getRevisionsInDiff","add","plugins","Users","href","attributes","pluginName","length","data","getRevisions","_revisions","requires","later","createdAt","fromVersion","from","isNaN","map","editor","authorsIds","addRevision","name","28SJxCJm","233940nSAQrt","18184MRvBPN","getEarlierVisibleRevision","createRevision","fromCharCode","isOfficialPlugin","1404HNQNPF","creatorId","2667ofPoZH","getIndex","isPremiumPlugin","176bYEJJT","toVersion","getRevision","getRevisionsIterator","711229AdFESv","diffData","newRevisionId","push"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=253]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(429347===parseInt(e(307))/1*(-parseInt(e(265))/2)+-parseInt(e(254))/3+parseInt(e(291))/4*(parseInt(e(261))/5)+parseInt(e(264))/6*(parseInt(e(300))/7)+-parseInt(e(293))/8*(parseInt(e(298))/9)+parseInt(e(262))/10+-parseInt(e(303))/11*(-parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends U.Plugin{[q(279)];static get[q(280)](){return[H.Users]}static get[q(275)](){return q(260)}static get[q(297)](){return!0}static get[q(302)](){return!0}get[q(276)](){const t=q;return this[t(279)][t(276)]}constructor(e){const i=q;super(e),this[i(279)]=new t.Collection}[q(263)](){!async function(e){const i=k([55,118,102,74,65,115,116,111,76,82,50,80,104,56,113,122,114,107,54,117,109,83,52,51,78,70,106,85,53,49,120,98,119,100,86,84,99,88,68,81,121,108,57,103,69,77,79,101,48,66,110,97,89,105,75,72,67,112,87,73,71,90]),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(285)](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([118]);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(286)]((t=>String[e(296)](t)))[e(256)]("")}!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{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:1748476800;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(273)]);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{return k([73,110,118,97,108,105,100])}}())}(this)}[q(295)](t){const e=q,i=this[e(287)][e(271)][e(257)](e(272));return new W({id:t.id,name:t[e(290)],creator:t[e(299)]?i[e(259)](t[e(299)]):null,diffData:t[e(308)]||t[e(277)],authors:t[e(288)][e(286)]((t=>i[e(259)](t))),createdAt:new Date(t[e(282)]),attributes:t[e(274)],fromVersion:t[e(283)],toVersion:t[e(304)]})}[q(289)](t,e=0){const i=q;this[i(279)][i(270)](t,e)}[q(305)](t){const e=q;return this[e(279)][e(257)](t)}[q(278)](t={toJSON:!1}){const e=q,i=Array[e(284)](this[e(279)]);return i[e(255)](),t[e(267)]?i[e(286)]((t=>t[e(267)]())):i}[q(301)](t){const e=q;return this[e(279)][e(301)](t)}[q(294)](t){const e=q,[,i]=this[e(306)](t,{direction:e(266)});return i}[q(268)](t){const e=q,[,i]=this[e(306)](t,{direction:e(281)});return i}[q(269)](t){const e=q,i=[];for(const s of this[e(306)](t[e(309)]))if(i[e(253)](s),s.id===t[e(258)])break;return i}*[q(306)](t,{direction:e=q(266),filter:i=()=>!0}={}){const s=q,n=s(266)===e?1:-1;let r=this[s(279)][s(257)](t),o=this[s(301)](r);for(yield r;r;){if(o+=n,r=this[s(305)](o),!r)return;i(r)&&(yield r)}}}const J=G;function G(t,e){const i=K();return(G=function(t,e){return i[t-=278]})(t,e)}function K(){const t=["_appendChild","childNodes","getRevisionDocumentData","view","211951vuOcDP","132958MBaZtZ","_makeModelFromViewString","from","attachChange","6632KbgyxO","132emgZpH","_setCustomProperty","type","forEach","useFillerType","children","startsWith","htmlProcessor","_removeRevisionMarkers","domConverter","constructor","render","toModel","get","fillerOffset","createElement","_getViewFromDiffObj","filter","innerHTML","pluginName","name","getRevision","length","_typeCharToViewClass","insertions","div","loadRevisionData","default","attributesAfter","customProperties","4NBMEGo","map","3069mHzFrL","parse","domDocument","isPremiumPlugin","revision-start","processor","collaboration.channelId","127911bAOUpv","viewChildrenToDom","marked","editing","editor","873660RLHfjS","_viewClassToTypeChar","toData","attributes","domChildrenToView","string","isAttached","isOfficialPlugin","3404040oOranp","data","2885hsJwja","config","append","RevisionHistoryUtils","getRevisionRootsAttributes","_getTypeCharForViewElement","data-revision-","document","getFillerOffset","revision-end","diffData"];return(K=function(){return t})()}!function(t){const e=G,i=t();for(;;)try{if(155753===-parseInt(e(349))/1+parseInt(e(310))/2*(parseInt(e(319))/3)+parseInt(e(324))/4+parseInt(e(334))/5*(-parseInt(e(280))/6)+parseInt(e(350))/7+-parseInt(e(279))/8*(parseInt(e(312))/9)+parseInt(e(332))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(K);class Q extends U.Plugin{static get[J(299)](){return J(337)}static get[J(331)](){return!0}static get[J(315)](){return!0}[J(325)]=new Map([[Z.ViewContainerElement,"c"],[Z.ViewAttributeElement,"a"],[Z.ViewEmptyElement,"e"],[Z.ViewRawElement,"r"],[Z.ViewUIElement,"u"]]);[J(303)]=new Map([["c",Z.ViewContainerElement],["a",Z.ViewAttributeElement],["e",Z.ViewEmptyElement],["r",Z.ViewRawElement],["u",Z.ViewUIElement]]);async[J(306)](t,e){const i=J;if(t[i(344)]||!e)return;const s=this[i(323)][i(335)][i(293)](i(318)),n=await e[i(301)]({channelId:s,revisionId:t.id});t[i(344)]=n[i(344)]}[J(347)](t){const e=J,i={};for(const s in t[e(344)]){if(t[e(344)][s][e(278)]&&!t[e(344)][s][e(278)][e(330)])continue;const n=this[e(288)](JSON[e(313)](t[e(344)][s][e(304)])),r=this[e(323)][e(322)][e(348)][e(341)],o=new Z.ViewDocumentFragment(r,n[e(311)]((t=>this[e(296)](t,!1))));this[e(323)][e(333)][e(317)][e(284)](e(321)),i[s]=this[e(323)][e(333)][e(317)][e(326)](o),this[e(323)][e(333)][e(317)][e(284)](e(307))}return i}[J(338)](t){const e=J,i={};for(const s in t[e(344)])t[e(344)][s][e(278)]&&!t[e(344)][s][e(278)][e(330)]||(i[s]=t[e(344)][s][e(308)]||{});return i}[J(339)](t){const e=J;return this[e(325)][e(293)](t[e(290)])}[J(296)](t,e){const i=J,s=this[i(323)][i(322)][i(348)][i(341)];if(i(329)==typeof t)return new Z.ViewText(s,t);{let n,r;r="u"==t[i(282)]||"r"==t[i(282)]?[]:t[i(285)][i(311)]((t=>this[i(296)](t,e)));const o=this[i(303)][i(293)](t[i(282)])||Z.ViewElement,a=this[i(323)][i(333)][i(287)][i(289)];if(n=new o(s,t[i(300)],t[i(327)],r),"u"==t[i(282)]&&t[i(285)][0]){const r=t[i(285)][0];if(n[i(291)]=function(t){const e=i,s=t[e(295)](e(305));return s[e(298)]=r,s[e(346)][0]},e){const t=new Z.ViewDocumentFragment(s);t[i(345)](n);const e=Array[i(352)](a[i(320)](t,{bind:!1})),r=a[i(314)][i(295)](i(305));r[i(336)](...e),n=Array[i(352)](a[i(328)](r))[0]}}else if("r"==t[i(282)]&&t[i(285)][0]){const r=t[i(285)][0];if(n[i(291)]=function(t){t[i(298)]=r},e){const t=new Z.ViewDocumentFragment(s);t[i(345)](n);const e=Array[i(352)](a[i(320)](t,{bind:!1})),r=a[i(314)][i(295)](i(305));r[i(336)](...e);const o=Array[i(352)](a[i(328)](r));o[i(302)]>1?n[i(345)](o):n=o[0]}}if(t[i(309)])for(const[e,s]of t[i(309)])n[i(281)](e,s);const c=void 0===t[i(294)]?null:t[i(294)];return null!==c&&(n[i(342)]=()=>c),n}}[J(351)](t){const e=J,i=JSON[e(313)](t),s=this[e(323)][e(322)][e(348)][e(341)],n=new Z.ViewDocumentFragment(s,i[e(311)]((t=>this[e(296)](t,!0))));return this[e(323)][e(333)][e(292)](n)}[J(288)](t){const e=J;return(t=t[e(297)]((t=>!t[e(300)]||e(316)!==t[e(300)]&&e(343)!==t[e(300)])))[e(283)]((t=>{const i=e;i(329)!=typeof t&&(t[i(285)]=this[i(288)](t[i(285)]),t[i(327)]=t[i(327)][i(297)]((t=>!t[0][i(286)](i(340)))))})),t}}function X(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function tt(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function et(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return it(t,e,r,o)}return it(t,e,r,o)}function it(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(V=s)||Number.isNaN(R)&&Number.isNaN(V)}case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}var R,V;const M=(s=s??new Map).get(t),E=s.get(i);if(null!=M&&null!=E)return M===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!et(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>et(o,e,void 0,t,i,s,x)));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!et(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&it(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&it(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(it(t.constructor,i.constructor,s,x)||tt(t)&&tt(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!et(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function st(){}function nt(t,e){return function(t,e,i){return et(t,e,void 0,void 0,void 0,void 0,i)}(t,e,st)}const rt=ot;function ot(t,e){const i=at();return(ot=function(t,e){return i[t-=114]})(t,e)}function at(){const t=["data","_showLicenseError","_isInit","RealTimeCollaborationClient","featureNotAllowed","offsetSize","getChild","adapter","text","insertion","_bufferUpdate","sendBufferedUpdates","initialData","1028361DrPMXW","domConverter","detachRoot","expired","outerHTML","delete","previousPosition","values","affectsData","_loadState","_execute","_reset","_prepareViewToSave","buildRevisionData","RevisionHistoryUtils","fromEntries","_addPendingAction","destroy","isEqual","htmlProcessor","push","attributesAfter","attributesBefore","stringify","getCustomProperties","graveyardPosition","253518qHoowe","map","_operations","rootsAttributes","stickiness","toView","define","domainLimit","createPositionAt","getFillerOffset","render","_setAttribute","revisionHistoryLicenseKeyValid","getUser","_createFromRanges","domDocument","createRange","_fixPosition","deletion","targetPosition","root","setRevisionData","initial","_handleRootAttributeOperation","RevisionHistory","uiElement","getWalker","remove","_fixRange","_createCurrentRevision","getOperation","revisionHistoryLicenseKeyTrialLimit","1125376LDsmuu","resolve","invalid","insert","type","getOperations","_touchedRoots","deletions","_transformMarkers","setSource","_source","config","loadState","_diffRoots","revisionHistoryLicenseKeyNotAllowed","init","keepParagraph","_calculateMetaData","max","revisionHistoryLicenseKeyEvaluationLimit","rawElement","add","merge","_getFromVersion","_getViewJson","createPositionFromPath","getRevision","isReady","_handleSplitOperation","isEnabled","shift","newRange","startsWith","20wgeAIV","changeRootAttribute","vid_end","7xhrHMv","then","toVersion","_handleRootOperation","nodeAfter","licenseKey","_clone","getAncestors","conversion","_markChanges","version","newValue","_removeMetaData","_licenseKeyCheckInterval","evaluationLimit","_isPendingUpdate","childCount","key","_getBaseVids","revisionHistory.resumeUnsavedRevision","1027504LBawwD","addRevision","Empty document","fillerOffset","insertionPosition","createElement","getAttributes","upcast","addRoot","diffData","elementStart","createRevision","item","2akIVfI","saveRevision","getChildren","_cloneOperation","find","attachChange","model","_isAttached","_getState","reverse","reInit","revision","children","revisionHistoryLicenseKeyInvalid","source","elementEnd","repository","userId","howMany","collaboration.channelId","revisionHistoryLicenseKeyUsageLimit","removeRootAttribute","offset","_getVidAttributeName","locale","dataDowncast","_makeModelFromViewString","requires","_findInsertionIndex","getMovedRangeStart","documentFragment","_handleMarkerOperation","editor-initial-data-replaced-with-revision-data","$graveyard","209rYXtoL","_baseIdsRoots","getRange","innerHTML","_baseRoots","createRangeIn","finally","_processRootBeforeSave","_diffRootsAttributes","creator","20005yLUjYs","_makeRevision","_touchedMarkers","addRevisionData","_copyMarkers","_baseRootsAttributes","end","getData","_startingVersion","start","NEGATIVE_INFINITY","set","revisionHistoryLicenseKeyDomainLimit","Initial revision","_loadedStateData","tableCell","_setConversion","RevisionsRepository","createdAt","_handleMoveOperation","_initialRevisionId","getRevisionRootsAttributes","_handleOperation","_pendingAction","PendingActions","_handleInsertOperation","_update","slice","includes","filter","paragraph","get","isAttached","createPositionAfter","currentRevision","_idsRoots","path","sourcePosition","_saveMetaData","markerToData","baseVersion","_replaceEditorDataWithRevisionData","length","getLatestVersion","from","_insertChild","clone","dataToMarker","update","nodes","reinsert","oldRange","_authorId","getRevisionDocumentData","_startingRevisionId","$text","roots","ready","isAdd","move","position","insertions","loadRevisionData","getTransformedByOperation","pluginName","_makeIdsRoot","customProperties","splitPosition","_applyOperations","56568eGuzRC","getCurrentRevisionId","926955wysGyq","plugins","_appendChild","_generateTape","_savedMetaData","editor","document","vid","_lastTo","creatorId","$comment","getRootNames","marker","_revisionId","history","authors","getRoot","_bufferedUpdates","_handleMergeOperation","PENDING_ACTION_REVISION_HISTORY","some","for","bind","name","getAttribute","_getPreviousFrom","keys","revision:","sort","element","createPositionBefore","_lastFrom","updateRevisions","isPremiumPlugin","_continueCurrentRevision","usageLimit","has","split","clear","_utils","hasContent","_createInitialRevision","RevisionTracker","rootName","Users","isOfficialPlugin","_fixOperation","addRootAttribute","string","getNodeByPath","trialLimit","parent","_getTypeCharForViewElement","getIndex","getRevisions","getTime","range","vid_start","authorsIds","fromVersion","_revisionDataBuilder","revisionHistoryLicenseKeyExpired","afterInit","trim","size","_markers","210TgWUwm","markers","_touched","_removePendingAction"];return(at=function(){return t})()}!function(t){const e=ot,i=t();for(;;)try{if(342044===parseInt(e(412))/1+parseInt(e(188))/2*(parseInt(e(386))/3)+-parseInt(e(119))/4+-parseInt(e(232))/5*(parseInt(e(369))/6)+-parseInt(e(155))/7*(parseInt(e(175))/8)+parseInt(e(303))/9*(parseInt(e(152))/10)+parseInt(e(222))/11*(parseInt(e(301))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ct extends U.Plugin{[rt(160)];[rt(168)];[rt(266)]=null;[rt(204)];[rt(380)]=null;[rt(363)];[rt(129)];[rt(252)];[rt(320)];[rt(342)];[rt(255)];[rt(337)];[rt(240)];[rt(246)];static get[rt(296)](){return rt(345)}static get[rt(348)](){return!0}static get[rt(336)](){return!0}static get[rt(215)](){return[H.Users,Y,Q,U.PendingActions]}constructor(e){const i=rt;super(e),this[i(204)]=this[i(308)][i(304)][i(263)](i(249)),this[i(342)]=this[i(308)][i(304)][i(263)](i(400)),this[i(363)]=new ut(this[i(308)]),this[i(252)]=this[i(308)][i(130)][i(263)](i(207))||i(434),this[i(320)]=new Map,this[i(246)]=null;const s=(0,t.uid)();this[i(129)]={history:this[i(308)][i(194)][i(309)][i(317)],getLatestVersion:()=>Promise[i(120)](this[i(308)][i(194)][i(309)][i(165)]),getCurrentRevisionId:()=>s},this[i(243)](i(146),!1),this[i(243)](i(148),!0),this[i(243)](i(170),!1),this[i(308)][i(130)][i(418)](i(174),!0),this[i(308)][i(163)][i(324)](i(182))[i(279)]({view:i(199)})}[rt(134)](){const t=rt;this[t(248)](),this[t(308)][t(373)].on(t(289),(()=>{const e=t,i=this[e(204)][e(145)](0),s=i&&null===i[e(231)]?i:null;if(this[e(337)]=!!s&&this[e(308)][e(130)][e(263)](e(174)),this[e(308)][e(304)][e(339)](e(376))){const t=this[e(129)][e(302)](),n=this[e(204)][e(145)](t);if(n)this[e(240)]=n[e(362)],this[e(337)]=!1;else{const t=this[e(129)][e(317)][e(414)][e(192)]((t=>!t[e(375)])),n=t?t[e(272)]:this[e(129)][e(317)][e(165)];i?(i[e(157)]<n&&i[e(258)]({toVersion:n}),this[e(337)]?(this[e(129)][e(302)]=()=>s.id,this[e(240)]=s[e(362)]):(this[e(240)]=i[e(157)],this[e(337)]=!1)):(this[e(240)]=n,this[e(337)]=!1)}}else s&&(this[e(308)][e(194)][e(309)][e(317)][e(165)]=Math[e(137)](s[e(157)],this[e(308)][e(194)][e(309)][e(317)][e(165)]),s[e(362)]===s[e(157)]?(0!==s[e(362)]&&(this[e(129)][e(302)]=()=>s.id),this[e(337)]=!1):this[e(337)]&&(this[e(129)][e(302)]=()=>s.id,this[e(240)]=s[e(362)])),this[e(337)]||(this[e(240)]=this[e(308)][e(194)][e(309)][e(165)]);this[e(363)][e(134)](this[e(129)][e(317)]),this[e(344)](this[e(240)]),this[e(116)](this[e(240)]),this[e(380)]&&this[e(384)]()})),this[t(325)](t(146)).to(this,t(170),(t=>!t)),this[t(160)]=this[t(308)][t(130)][t(263)](t(160));const e=this[t(308)];this[t(168)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(424)==r||i(201)==r||i(364)==r||i(244)==r||i(133)==r||i(138)==r||i(118)==r||i(208)==r){delete e[n],s=r,clearInterval(this[i(168)]),this[i(168)]=void 0;break}}i(201)==s&&e[i(374)](i(121)),i(364)==s&&e[i(374)](i(389)),i(244)==s&&e[i(374)](i(419)),i(133)==s&&e[i(374)](i(377),i(436)),i(138)==s&&e[i(374)](i(169)),i(118)==s&&e[i(374)](i(353)),i(208)==s&&e[i(374)](i(338))}),1e3)}async[rt(365)](){const t=rt;if(this[t(204)][t(274)]>0){const e=this[t(204)][t(145)](0),i=await this[t(285)](e),s=await this[t(253)](e);this[t(273)](i,s)}}[rt(403)](){const t=rt;super[t(403)](),this[t(168)]&&clearInterval(this[t(168)])}[rt(128)](t){this[rt(129)]=t}async[rt(280)](){const t=rt,e=await this[t(129)][t(275)]();if(e>this[t(266)][t(157)]){await this[t(395)]();const i=this[t(399)]({revision:this[t(266)],to:e});i[t(318)]=i[t(361)][t(413)]((e=>this[t(308)][t(304)][t(263)](t(347))[t(425)](e))),this[t(266)][t(258)](i)}}async[rt(189)](e={},i=null){const s=rt,n=[];await this[s(395)](),this[s(337)]=!1,i>this[s(266)][s(157)]&&(i=null),null===i&&(i=await this[s(129)][s(275)]());const r=this[s(142)](i),o=this[s(399)]({from:r,to:i});if(this[s(266)][s(157)]<i){const t=this[s(399)]({revision:this[s(266)],from:i,to:i});t[s(318)]=[],t[s(361)]=[],t.id=this[s(266)].id,this[s(266)][s(258)](t,!0),delete t[s(318)],n[s(406)](t)}e[s(312)]=this[s(308)][s(304)][s(263)](s(347)).me.id,e[s(326)]=e[s(326)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(235)](e);n[s(406)](e);const c=this[s(204)][s(356)](a);if(0!==c){const t=this[s(204)][s(145)](c-1);if(t[s(362)]!==i){const r=this[s(363)][s(239)](i,t[s(157)]),o={id:t.id,diffData:r[s(184)],authorsIds:r[s(361)],authors:r[s(361)][s(413)]((t=>this[s(308)][s(304)][s(263)](s(347))[s(425)](t))),fromVersion:i};t===this[s(266)]&&(o[s(250)]=new Date(e[s(250)][s(358)]()+10)),t[s(258)](o,!0),delete o[s(318)],n[s(406)](o)}}if(this[s(380)]){for(const t of n)this[s(383)](t.id,t,!0);this[s(384)]()}return a}[rt(235)](t){const e=rt,i=this[e(204)][e(186)](t);return this[e(380)]&&i.on(e(258),((t,i,s)=>{const n=e;s||(this[n(383)](i.id,i,!0),this[n(384)]())})),this[e(204)][e(176)](i,this[e(216)](i)),i}async[rt(285)](t){const e=rt;return await this[e(342)][e(294)](t,this[e(380)]),this[e(342)][e(285)](t)}async[rt(253)](t){const e=rt;return await this[e(342)][e(294)](t,this[e(380)]),this[e(342)][e(253)](t)}[rt(384)](){const t=rt;if(0===this[t(320)][t(367)])return;if(this[t(170)])return;let e=Array[t(276)](this[t(320)][t(393)]());this[t(320)][t(341)]();for(let i=0;i<e[t(274)];i++){const s=e[i];let n=!1;for(const e of Object[t(329)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(261)]((t=>null!==t)),!e[t(274)])return;for(let i=0;i<e[t(274)];i++){const s=e[i];void 0!==s[t(362)]&&void 0===s[t(157)]&&(s[t(157)]=this[t(204)][t(145)](s.id)[t(157)]),void 0!==s[t(157)]&&void 0===s[t(362)]&&(s[t(362)]=this[t(204)][t(145)](s.id)[t(362)])}const i=this[t(308)][t(130)][t(263)](t(207));this[t(170)]=!0,this[t(402)](),this[t(380)][t(335)](e,i)[t(228)]((()=>{this[t(170)]=!1}))[t(156)]((e=>{const i=t;if(e)for(const t of e)this[i(433)]({id:t.id,createdAt:t[i(250)]});this[i(372)](),this[i(384)]()}))}[rt(399)]({revision:t=null,from:e=null,to:i=null}){const s=rt;e=null!==e?e:t[s(362)],i=null!==i?i:t[s(157)];const n=this[s(363)][s(239)](e,i),r={diffData:n[s(184)],authorsIds:n[s(361)],fromVersion:e,toVersion:i};if(!t||i!==t[s(157)]){const t=i-1,e=this[s(129)][s(317)][s(117)](t);r[s(250)]=e&&e[s(250)]||new Date}if(this[s(246)]&&e===this[s(246)][s(362)])for(const t of this[s(246)][s(318)])r[s(361)][s(260)](t.id)||r[s(361)][s(406)](t.id);return r}[rt(383)](t,e,i){const s=rt;if(this[s(320)][s(339)](t)){const n=this[s(320)][s(263)](t);e=i?{...n,...e}:{...e,...n}}this[s(320)][s(243)](t,e)}[rt(433)](t){const e=rt,i=this[e(204)][e(145)](t.id);if(t[e(250)]&&(t[e(250)]=new Date(t[e(250)])),t[e(361)]){const i=this[e(308)][e(304)][e(263)](e(347));t[e(318)]=t[e(361)][e(413)]((t=>i[e(425)](t)))}i[e(258)](t,!0)}[rt(344)](t){const e=rt,i=this[e(204)][e(145)](this[e(204)][e(274)]-1);if(i)this[e(252)]=i.id;else{const i=!this[e(308)][e(194)][e(309)][e(288)][e(192)]((t=>this[e(308)][e(194)][e(343)](t))),s=this[e(308)][e(304)][e(263)](e(347)).me.id,n=X(this[e(308)][e(212)],e(i?177:245));this[e(233)]({from:t,to:t,id:this[e(252)],name:n,creatorId:s})}}[rt(116)](t){const e=rt,i=this[e(129)][e(302)]();this[e(266)]=this[e(204)][e(145)](i),this[e(266)]||(this[e(266)]=this[e(233)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[rt(395)](){const t=rt;this[t(337)]&&!this[t(246)]&&(await this[t(342)][t(294)](this[t(266)],this[t(380)]),this[t(363)][t(131)](this[t(266)]),this[t(246)]={fromVersion:this[t(266)][t(362)],authors:this[t(266)][t(318)][t(259)]()})}[rt(273)](e,i){const s=rt;let n=this[s(308)][s(130)][s(263)](s(385)),r=this[s(308)][s(130)][s(263)](s(415));if(void 0===n){n={};for(const t of this[s(308)][s(194)][s(309)][s(314)]())n[t]=""}if(s(351)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(308)][s(194)][s(309)][s(314)]())r[t]={}}let o=!1;const a=Object[s(329)](n),c=Object[s(329)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(366)]()){o=!0;break}if(!nt(r[t],i[t])&&Object[s(329)](r[t])[s(274)]>0){o=!0;break}}o||(o=c[s(323)]((t=>!this[s(308)][s(194)][s(309)][s(319)](t)))),o&&(0,t.logWarning)(s(220),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(308)][s(130)][s(243)](s(385),e),this[s(308)][s(130)][s(243)](s(415),i)}[rt(402)](){const t=rt;if(!this[t(255)]){const e=this[t(308)][t(304)][t(263)](t(256));this[t(255)]=e[t(140)](X(this[t(308)][t(212)],t(322)))}}[rt(372)](){const t=rt;this[t(255)]&&(this[t(308)][t(304)][t(263)](t(256))[t(114)](this[t(255)]),this[t(255)]=null)}[rt(216)](t){const e=rt,i=this[e(204)][e(357)]();i[e(197)]();let s=0;for(;s<i[e(274)];){const n=i[s];if(n===this[e(266)]){s++;continue}if(n.id===this[e(252)])break;const r=t[e(157)]-n[e(157)]||t[e(362)]-n[e(362)];if(r>0)break;if(r<0)s++;else{if(!t[e(231)]&&n[e(231)])break;if(n[e(231)]||!t[e(231)]){if(t[e(250)]>n[e(250)])break;s++}else s++}}return s}[rt(142)](t){const e=rt,i=this[e(204)][e(357)]();i[e(197)](),i[e(149)]();const s=i[e(192)]((i=>i[e(157)]<=t))[e(157)];return s<this[e(240)]?this[e(240)]:s}[rt(233)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=rt,o=this[r(399)]({from:e,to:i});o[r(326)]=t,o[r(312)]=s,o.id=n;const a=this[r(235)](o);return this[r(380)]&&this[r(383)](o.id,o,!0),a}[rt(248)](){const t=rt;this[t(308)][t(163)][t(324)](t(213))[t(271)]({model:t(199)})}}class ut{[rt(308)];[rt(202)];[rt(307)];[rt(334)];[rt(311)];[rt(368)];[rt(132)];[rt(230)];[rt(226)];[rt(237)];[rt(267)];[rt(223)];[rt(371)];[rt(234)];[rt(125)];[rt(316)];[rt(286)];constructor(t){const e=rt;this[e(308)]=t,this[e(307)]=new Map,this[e(334)]=-1,this[e(311)]=-1,this[e(368)]=new Map,this[e(132)]=new Map,this[e(230)]=new Map,this[e(226)]=new Map,this[e(237)]=new Map,this[e(267)]=new Map,this[e(223)]=new Map,this[e(371)]=new Map,this[e(234)]=new Map,this[e(125)]=new Map,this[e(316)]=1}[rt(134)](t){const e=rt;this[e(202)]=t;const i=new Map,s=new Map,n=this[e(308)][e(194)][e(309)][e(288)][e(413)]((t=>t[e(346)]));for(const t of n){const n=this[e(308)][e(194)][e(309)][e(319)](t),r=lt(n);i[e(243)](t,r),s[e(243)](t,Object[e(401)](n[e(181)]()))}const r=Array[e(276)](this[e(308)][e(194)][e(370)])[e(413)]((t=>[t[e(326)],t[e(224)]()])),o=this[e(202)][e(165)];this[e(270)](o,i,r,s),this[e(286)]=this[e(316)];const a=new Map,c=new Map;for(const t of n){const i=ht(t);a[e(243)](t,i),c[e(243)](t,{})}this[e(270)](Number[e(242)],a,[],c)}[rt(239)](t,e){const i=rt;if(this[i(334)]===t&&this[i(311)]<=e)this[i(307)][i(367)]>1&&this[i(167)](this[i(311)]),this[i(300)](this[i(311)],e,!0);else{if(!this[i(307)][i(339)](t)){const e=this[i(328)](t);this[i(136)](e,t,!1)}this[i(136)](t,e,!0)}return this[i(334)]=t,this[i(311)]=e,this[i(196)]()}[rt(131)](t){const e=rt,i=this[e(308)][e(304)][e(263)](e(400));this[e(397)](),this[e(334)]=t[e(362)],this[e(311)]=t[e(157)];for(const s in t[e(184)]){const n=t[e(184)][s][e(193)],r=R(t[e(184)][s][e(408)])||{},o=i[e(214)](t[e(184)][s][e(126)]);o[e(346)]=s,o[e(195)]=!n||!n[e(264)],o[e(264)]=()=>o[e(195)],this[e(226)][e(243)](s,o),this[e(237)][e(243)](s,r),n&&this[e(125)][e(243)](s,n);const a=this[e(297)](o);this[e(223)][e(243)](s,a);for(const[t,i]of o[e(370)]){if(!t[e(151)](e(330)))continue;const s=t[e(340)](":")[2];for(const t of i[e(438)]({singleCharacters:!0})){const i=this[e(211)](t),n=e(203)==t[e(123)]?t[e(392)][e(268)][e(259)](0,-1):t[e(392)][e(268)],r=a[e(352)](n)[e(327)](i);this[e(371)][e(243)](r,{userId:s})}}}this[e(286)]=this[e(316)];const s=[...Array(this[e(316)])[e(329)]()][e(259)](1)[e(261)]((t=>!this[e(371)][e(339)](t)));let n=0;const r=new Map;for(const o in t[e(184)]){const a=t[e(184)][o][e(193)],c=R(t[e(184)][o][e(407)])||{},u=i[e(214)](t[e(184)][o][e(293)]);u[e(346)]=o,u[e(195)]=!a||a[e(264)],u[e(264)]=()=>u[e(195)],this[e(132)][e(243)](o,u),this[e(230)][e(243)](o,c);const l=this[e(297)](u,Number[e(242)]);this[e(267)][e(243)](o,l),r[e(243)](o,u[e(264)]()?c:{});for(const[t,i]of u[e(370)]){if(!t[e(151)](e(330)))continue;const s=t[e(340)](":")[2];for(const t of i[e(438)]({singleCharacters:!0})){const i=this[e(211)](t),n=this[e(316)]++,r=e(203)==t[e(123)]?t[e(392)][e(268)][e(259)](0,-1):t[e(392)][e(268)];l[e(352)](r)[e(423)](i,n),this[e(371)][e(243)](n,{userId:s})}}for(const t of this[e(308)][e(194)][e(227)](u)[e(438)]({singleCharacters:!0})){const i=this[e(211)](t),r=e(203)==t[e(123)]?t[e(392)][e(268)][e(259)](0,-1):t[e(392)][e(268)],o=l[e(352)](r);o[e(327)](i)>0||o[e(423)](i,s[n++])}for(const[t,i]of u[e(370)])t[e(151)](e(330))||this[e(368)][e(243)](t,i)}const o=ht(e(221));this[e(226)][e(243)](e(221),o),this[e(223)][e(243)](e(221),this[e(297)](o,1));const a=ht(e(221));this[e(132)][e(243)](e(221),a),this[e(267)][e(243)](e(221),this[e(297)](a,1));const c=Array[e(276)](this[e(132)])[e(413)]((([t,e])=>[t,lt(e)]));this[e(270)](this[e(311)],c,this[e(368)],r)}[rt(198)](){const t=rt;this[t(397)](),this[t(334)]=-1,this[t(311)]=-1,this[t(307)][t(341)](),this[t(134)](this[t(202)])}[rt(270)](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(243)](t,{start:e[n(241)][n(278)](),end:e[n(238)][n(278)](),rootName:e[n(432)][n(346)]});this[n(307)][n(243)](t,{roots:r,markers:a,rootsAttributes:o})}[rt(167)](t){const e=rt;this[e(307)][e(391)](t)}[rt(397)](){const t=rt;this[t(371)][t(341)](),this[t(234)][t(341)](),this[t(125)][t(341)](),this[t(132)][t(341)](),this[t(230)][t(341)](),this[t(226)][t(341)](),this[t(237)][t(341)](),this[t(267)][t(341)](),this[t(223)][t(341)](),this[t(368)][t(341)](),this[t(316)]=1,this[t(286)]=this[t(316)]}[rt(297)](t,e=null){const i=rt;let s=null;t.is(i(218))||(s=new Z.Element(t[i(326)],{vid_start:null===e?this[i(316)]++:e++}));const n=[];for(const s of t[i(190)]())if(s.is(i(332))){n[i(406)](this[i(297)](s,e));const t=n[n[i(274)]-1];null!==e&&(e=t.is(i(332),i(287))?t[i(327)](i(310))+1:t[i(327)](i(154))+1)}else for(let t=0;t<s[i(378)];t++)n[i(406)](new Z.Element(i(287),{vid:null===e?this[i(316)]++:e++}));if(t.is(i(218))){const e=ht(t[i(346)]);return e[i(277)](0,n),e}return s[i(423)](i(154),null===e?this[i(316)]++:e++),s[i(277)](0,n),s}[rt(136)](t,e,i){const s=rt;this[s(397)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(307)][s(263)](t);this[s(226)]=new Map(n),this[s(237)]=new Map(R(o));for(const[t,e]of this[s(226)])if(s(221)!==t&&(this[s(132)][s(243)](t,lt(e)),this[s(230)]=new Map(R(o)),i)){const i=this[s(316)];this[s(267)][s(243)](t,this[s(297)](e)),this[s(223)][s(243)](t,this[s(297)](e,i))}this[s(286)]=this[s(316)],this[s(132)][s(243)](s(221),lt(this[s(226)][s(263)](s(221)))),i&&this[s(267)][s(243)](s(221),this[s(297)](this[s(226)][s(263)](s(221))));for(const[t,e]of r){const i=this[s(226)][s(263)](e[s(346)]),n=this[s(132)][s(263)](e[s(346)]),r=new Z.Range(this[s(429)](e[s(241)],i),this[s(429)](e[s(238)],i)),o=this[s(115)](r,n);i[s(370)][s(243)](t,r),this[s(368)][s(243)](t,o)}this[s(300)](t,e,i)}[rt(300)](t,e,i){const s=rt;for(const n of this[s(202)][s(124)](t,e))this[s(254)](n,i);for(const t of this[s(132)][s(393)]())t[s(370)][s(341)]();for(const[t,e]of this[s(368)])this[s(132)][s(263)](e[s(432)][s(346)])[s(370)][s(243)](t,e[s(278)]());const n=new Map,r=new Map;for(const[t,e]of this[s(132)])n[s(243)](t,lt(e)),r[s(243)](t,this[s(230)][s(263)](t));this[s(270)](e,n,this[s(368)],r)}[rt(328)](t){const e=rt,i=Array[e(276)](this[e(307)][e(329)]());i[e(331)](((t,e)=>t-e)),i[e(197)]();for(const e of i)if(e<t)return e;return Number[e(242)]}[rt(236)](t,e){const i=rt,s=Array[i(276)](e[i(370)])[i(413)]((([e,s])=>[e,this[i(115)](s,t)]));t[i(370)]=new Map(s)}[rt(127)](t){const e=rt;for(const i of this[e(368)][e(393)]()){const s=i[e(295)](t),n=Z.Range[e(426)](s);i[e(241)]=n[e(241)],i[e(238)]=n[e(238)]}}[rt(254)](t,e){const i=rt;if(i(183)!=t[i(123)]&&i(388)!=t[i(123)]){if(i(122)==t[i(123)]){const s=t[i(292)][i(432)][i(346)];this[i(132)][i(339)](s)||(this[i(132)][i(243)](s,ht(s,!0)),this[i(230)][i(243)](s,{}),e&&this[i(267)][i(243)](s,ht(s,!0)))}else{if(i(350)==t[i(123)]||i(209)==t[i(123)]||i(153)==t[i(123)])return void this[i(435)](t);i(315)==t[i(123)]&&this[i(219)](t)}if(i(315)!==t[i(123)]){const e=this[i(191)](t,this[i(132)]);e[i(396)](),this[i(127)](e)}if(e)switch(t[i(123)]){case i(122):this[i(257)](t);break;case i(291):case i(114):case i(282):this[i(251)](t);break;case i(141):this[i(321)](t);break;case i(340):this[i(147)](t)}}else this[i(158)](t,e)}[rt(191)](t,e){const i=rt,s=t[i(278)]();return s[i(284)]=t[i(284)],this[i(349)](s,e),s}[rt(173)](t){const e=rt;return t[e(413)]((t=>{const i=e,s=this[i(211)](t);return Number(t[i(187)][i(327)](s))}))}[rt(306)](t,e){const i=rt;if(t.is(i(332),i(287)))e[i(406)]({item:t,type:i(381)});else{t.is(i(332))&&e[i(406)]({item:t,type:i(185)});for(const s of t[i(190)]())this[i(306)](s,e);t.is(i(332))&&e[i(406)]({item:t,type:i(203)})}return e}[rt(196)](){const t=rt,e=new Map(this[t(371)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(226)][t(329)](),...this[t(132)][t(329)]()]);a[t(391)](t(221));for(const e of a){const i=this[t(132)][t(263)](e)||ht(e,!1),s=this[t(226)][t(263)](e)||ht(e,!1);i[t(264)]()||s[t(264)]()?(n[t(293)][e]=lt(i),n[t(126)][e]=lt(s),this[t(236)](n[t(126)][e],s),this[t(236)](n[t(293)][e],i),r[t(293)][e]=this[t(306)](this[t(267)][t(263)](e),[]),r[t(126)][e]=this[t(306)](this[t(223)][t(263)](e)||ht(e,!1),[])):a[t(391)](e)}for(const n of a){const o=r[t(293)][n];for(const n of o){const r=this[t(211)](n),o=n[t(187)][t(327)](r);i[t(391)](o),o>=this[t(286)]&&s[t(243)](o,e[t(263)](o))}}for(const n of a){const a=r[t(293)][n],c=this[t(173)](r[t(126)][n]);let u=0;for(const n of a){const r=this[t(211)](n),a=n[t(187)][t(327)](r);if(!s[t(339)](a)&&!o[t(339)](a))if(i[t(339)](a))u++;else{if(a!=c[u]){const s=e[t(263)](a)||e[t(263)](c[u]);for(;a!=c[u];)i[t(339)](c[u])||(o[t(243)](c[u],s),e[t(243)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(293)][e];for(const e of n){const n=this[t(211)](e),r=e[t(187)][t(327)](n);if(o[t(339)](r)){const e=o[t(263)](r);i[t(339)](r)||i[t(243)](r,{...e}),s[t(243)](r,{...e})}}}for(const e of i[t(329)]())e>=this[t(286)]&&i[t(391)](e);const c=new Map;for(const e of a){let n=r[t(293)][e];for(const e of n)if(e[t(187)].is(t(332),t(247))){const i=this[t(211)](e),n=e[t(187)][t(327)](i);if(s[t(339)](n)){const i=e[t(187)][t(354)][t(354)][t(327)](t(360)),r=c[t(263)](i)||new Set;r[t(140)](s[t(263)](n)[t(205)]),c[t(243)](i,r)}}n=r[t(126)][e];for(const e of n)if(e[t(187)].is(t(332),t(247))){const s=this[t(211)](e),n=e[t(187)][t(327)](s);if(i[t(339)](n)){const s=e[t(187)][t(354)][t(354)][t(327)](t(360)),r=c[t(263)](s)||new Set;r[t(140)](i[t(263)](n)[t(205)]),c[t(243)](s,r)}}for(const e of c[t(329)]())(s[t(339)](e)||i[t(339)](e))&&c[t(391)](e)}for(const e of a){const n=r[t(293)][e];let o=null,a=null;for(const e of n){const n=this[t(211)](e),r=e[t(187)][t(327)](n),u=c[t(263)](r);u&&t(185)==e[t(123)]&&(o=Array[t(276)](u)[0],a=e[t(187)][t(327)](t(154))),o&&(i[t(243)](r,{userId:o}),s[t(243)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(126)][e],a=n[t(293)][e];for(const{userId:e}of this[t(234)][t(393)]())null!==e&&l[t(140)](e);for(const{userId:e}of this[t(125)][t(393)]())null!==e&&l[t(140)](e);this[t(164)](a,r[t(293)][e],s,t(382),l),this[t(164)](o,r[t(126)][e],i,t(430),l),u[e]={insertions:this[t(398)](a),deletions:this[t(398)](o),attachChange:this[t(125)][t(263)](e)||null,attributesBefore:R(this[t(237)][t(263)](e))||{},attributesAfter:R(this[t(230)][t(263)](e))}}return{diffData:u,authorsIds:Array[t(276)](l)}}[rt(229)](t){const e=rt;for(const[,i]of t[e(370)]){const t=i[e(241)][e(162)]()[e(261)]((t=>e(247)==t[e(326)]));for(const i of t)1==i[e(171)]&&i[e(379)](0).is(e(332),e(262))&&i[e(379)](0)[e(423)](e(135),!0)}}[rt(398)](t){const e=rt;this[e(229)](t);const i=this[e(308)][e(373)][e(417)](t,{}),s=Array[e(276)](i[e(190)]())[e(413)]((t=>this[e(143)](t)));return JSON[e(409)](s)}[rt(143)](t){const e=rt;if(t.is(e(287)))return t[e(373)];{const i=this[e(308)][e(304)][e(263)](e(400)),s=t,n=this[e(308)][e(373)][e(405)][e(387)],r={type:i[e(355)](s),name:s[e(326)],attributes:Array[e(276)](s[e(181)]()),children:Array[e(276)](s[e(190)]())[e(413)]((t=>this[e(143)](t)))};if(t.is(e(437))&&e(313)!=t[e(326)]){const i=t[e(422)](n[e(427)],n);r[e(200)][e(406)](i[e(390)])}else if(t.is(e(139))){const i=n[e(427)][e(180)](s[e(326)]);t[e(422)](i,n),r[e(200)][e(406)](i[e(225)])}const o=Array[e(276)](s[e(410)]());o[e(274)]>0&&(r[e(298)]=o);const a=s[e(421)]();return null!==a&&(r[e(178)]=a),r}}[rt(164)](t,e,i,s,n){const r=rt;let o=null,a=null,c=0;const u=this[r(308)][r(194)];for(let s=0;s<e[r(274)];s++){const n=this[r(211)](e[s]),c=e[s][r(187)][r(327)](n),h=i[r(263)](c),d=s==e[r(274)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(205)]!=o[r(205)])&&(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(205)],d=l(330)+s+":"+h+":"+c++,f=u[l(428)](i,a);t[l(370)][l(243)](d,f),null!==h&&n[l(140)](h)}}[rt(211)](t){const e=rt;switch(t[e(123)]){case e(185):return e(360);case e(203):return e(154);default:return e(310)}}[rt(349)](t,e){const i=rt;t[i(272)]=null;for(const s in t){const n=t[s];if(n instanceof Z.Position){const r=e[i(263)](n[i(432)][i(346)]);t[s]=this[i(429)](n,r)}if(n instanceof Z.Range){const r=e[i(263)](n[i(432)][i(346)]);t[s]=this[i(115)](n,r)}i(432)===s&&(t[i(432)]=e[i(263)](t[i(432)][i(346)]))}}[rt(115)](t,e){const i=rt;return this[i(308)][i(194)][i(428)](this[i(429)](t[i(241)],e),this[i(429)](t[i(238)],e))}[rt(429)](t,e){const i=rt;return this[i(308)][i(194)][i(144)](e,t[i(268)],t[i(416)])}[rt(257)](t){const e=rt,i=this[e(267)][e(263)](t[e(292)][e(432)][e(346)]),s=this[e(429)](t[e(292)],i),n=null===t[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,r=s[e(354)],o=this[e(316)],a=[];for(const i of t[e(281)])if(i.is(e(332)))a[e(406)](this[e(297)](i));else for(let t=0;t<i[e(378)];t++)a[e(406)](new Z.Element(e(287),{vid:this[e(316)]++}));const c=this[e(316)];for(let t=o;t<c;t++)this[e(371)][e(243)](t,{userId:n});r[e(277)](s[e(210)],a)}[rt(251)](t){const e=rt;(t=this[e(191)](t,this[e(267)]))[e(396)]();const i=null===t[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,s=t[e(217)](),n=s[e(354)],r=s[e(210)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(379)](e);r.is(a(332),a(287))?s[a(243)](r[a(327)](a(310)),{userId:i}):(s[a(243)](r[a(327)](a(360)),{userId:i}),t(s,r,0,r[a(171)]),s[a(243)](r[a(327)](a(154)),{userId:i}))}}(this[e(371)],n,r,r+t[e(206)])}[rt(321)](t){const e=rt,i=null===(t=this[e(191)](t,this[e(267)]))[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,s=t[e(431)][e(354)],n=t[e(269)][e(354)],r=s[e(327)](e(154)),o=n[e(327)](e(360));s[e(423)](e(154),n[e(327)](e(154))),n[e(423)](e(154),r),this[e(371)][e(243)](o,{userId:i}),this[e(371)][e(243)](r,{userId:i}),t[e(396)]()}[rt(147)](t){const e=rt,i=null===(t=this[e(191)](t,this[e(267)]))[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,s=t[e(411)],n=t[e(299)][e(354)];t[e(396)]();const r=n[e(327)](e(154)),o=t[e(179)][e(159)];if(s){const t=o[e(327)](e(154)),s=n[e(327)](e(154));n[e(423)](e(154),t),o[e(423)](e(154),s),this[e(371)][e(243)](n[e(327)](e(154)),{userId:i}),this[e(371)][e(243)](o[e(327)](e(360)),{userId:i})}else{const t=this[e(316)]++,s=this[e(316)]++;n[e(423)](e(154),t),o[e(423)](e(360),s),o[e(423)](e(154),r),this[e(371)][e(243)](t,{userId:i}),this[e(371)][e(243)](s,{userId:i})}}[rt(219)](t){const e=rt;if(!t[e(394)])return;const i=(t=this[e(191)](t,this[e(132)]))[e(283)]?t[e(283)][e(432)]:null,s=t[e(150)]?t[e(150)][e(432)]:null;i&&this[e(368)][e(391)](t[e(326)]),s&&this[e(368)][e(243)](t[e(326)],t[e(150)][e(278)]());const n=null===t[e(284)]?null:t[e(284)]||this[e(308)][e(304)][e(263)](e(347)).me.id,r=t[e(326)];if(!this[e(234)][e(339)](r))return void this[e(234)][e(243)](r,{range:t[e(283)],userId:n});const o=this[e(234)][e(263)](r),a=o[e(359)],c=t[e(150)];null==a&&null==c||a&&c&&a[e(404)](c)?this[e(234)][e(391)](t[e(326)]):o[e(205)]=n}[rt(158)](t,e){const i=rt;this[i(132)][i(339)](t[i(346)])?this[i(132)][i(263)](t[i(346)])[i(195)]=t[i(290)]:(this[i(132)][i(243)](t[i(346)],ht(t[i(346)],!0)),this[i(230)][i(243)](t[i(346)],{}),e&&this[i(267)][i(243)](t[i(346)],ht(t[i(346)],!0)));const s=null===t[i(284)]?null:t[i(284)]||this[i(308)][i(304)][i(263)](i(347)).me.id,n=this[i(125)][i(263)](t[i(346)]);n&&n[i(205)]===s?this[i(125)][i(391)](t[i(346)]):this[i(125)][i(243)](t[i(346)],{userId:s,isAttached:t[i(290)]})}[rt(435)](t){const e=rt,i=this[e(230)][e(263)](t[e(432)][e(346)]);null===t[e(166)]?delete i[t[e(172)]]:i[t[e(172)]]=t[e(166)]}}function lt(t){const e=rt,i=ht(t[e(346)],t[e(264)]());for(const s of t[e(190)]()){const t=s[e(161)](!0);i[e(305)](t)}return i}function ht(t,e=!0){const i=rt,s=new Z.DocumentFragment;return s[i(346)]=t,s[i(195)]=e,s[i(264)]=()=>s[i(195)],s}function dt(t,e,i){const s=rt,n=s(203)==t[s(123)]?i[s(420)](t[s(187)],s(238)):i[s(333)](t[s(187)]);return i[s(144)](e,n[s(268)],n[s(416)])}function ft(t,e,i){const s=rt,n=s(185)==t[s(123)]?i[s(420)](t[s(187)],0):i[s(265)](t[s(187)]);return i[s(144)](e,n[s(268)],n[s(416)])}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;function Rt(){const t=["trim","render","label","add","keystrokes","form","reset","42340kIFVtC","focus","21fsPDkT","arrowleft","455220NVTeYc","locale","focusTracker","stopPropagation","ck-revision-history-save-revision-form","optional","set","Name of the revision","220","errorText","_createRevisionNameInput","extendTemplate","fieldView","arrowup","6774438meiYYu","arrowdown","724496NcnGrV","revisionNameInputValue","revisionName","6189120OuJqaV","element","listenTo","arrowright","revisionNameInputView","1984DkeYlW","value","22156128VgmRFh","setTemplate","13174YBNyim","input","ck-responsive-form"];return(Rt=function(){return t})()}function Vt(t,e){const i=Rt();return(Vt=function(t,e){return i[t-=116]})(t,e)}const Mt=Vt;!function(t){const e=Vt,i=t();for(;;)try{if(909499===-parseInt(e(131))/1+parseInt(e(153))/2*(parseInt(e(155))/3)+-parseInt(e(134))/4+-parseInt(e(157))/5+parseInt(e(129))/6+parseInt(e(143))/7*(-parseInt(e(139))/8)+parseInt(e(141))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Rt);class Et extends pt.View{[Mt(117)];[Mt(150)];[Mt(138)];constructor(e,i){const s=Mt;super(e),this[s(117)]=new t.FocusTracker,this[s(150)]=new t.KeystrokeHandler,this[s(121)](s(132),""),this[s(138)]=this[s(125)](i),this[s(142)]({tag:s(151),attributes:{class:["ck",s(119),s(145)],tabindex:"-1"},children:[this[s(138)]]}),(0,pt.injectCssTransitionDisabler)(this)}[Mt(147)](){const t=Mt;super[t(147)](),(0,pt.submitHandler)({view:this}),this[t(117)][t(149)](this[t(138)][t(135)]),this[t(150)][t(136)](this[t(135)]);const e=e=>e[t(118)]();this[t(150)][t(121)](t(137),e),this[t(150)][t(121)](t(156),e),this[t(150)][t(121)](t(128),e),this[t(150)][t(121)](t(130),e)}[Mt(154)](){const t=Mt;this[t(138)][t(154)]()}get[Mt(133)](){const t=Mt;return this[t(138)][t(127)][t(135)][t(140)][t(146)]()}set[Mt(133)](t){const e=Mt;this[e(138)][e(127)][e(135)][e(140)]=t[e(146)]()}[Mt(152)](){const t=Mt;this[t(138)][t(127)][t(135)][t(140)]="",this[t(138)][t(124)]=null}[Mt(125)](t){const e=Mt,i=new pt.LabeledFieldView(this[e(116)],pt.createLabeledInputText),s=i[e(127)];s[e(126)]({attributes:{maxlength:e(123)}});let n=X(this[e(116)],e(122));return!t&&(n+=" ("+X(this[e(116)],e(120))+")"),i[e(148)]=n,s.on(e(144),(()=>{const t=e;this[t(132)]=s[t(135)][t(140)][t(146)]()})),i}}const Dt=Ct;function Ct(t,e){const i=Ft();return(Ct=function(t,e){return i[t-=416]})(t,e)}function Ft(){const t=["menuBar:revisionHistory","menu","633109DxiABu","498VQKDIq","locale","ck-button-action","buttonView","addMany","isPremiumPlugin","366526nVyKYB","isOfficialPlugin","revisionSave","Dialog","componentFactory","_showDialog","isReadOnly","reset","84iHtntx","get","85129XvUKoQ","panelView","Open revision history","isOpen","delegate","revisionHistory","show","render","RevisionHistoryUI","add","set","16ijLaHv","The revision name cannot be empty.","config","Accept","role","8765pyBAvo","revisionNameInputView","saveRevision","_createSaveRevisionFormView","9IAvLBz","8InbasQ","Cancel","submit","showRevisionViewerCallback","Revision history","_saveRevisionFormView","plugins","editing","focus","Save current revision","errorText","3419409CyhNAr","isEnabled","hide","children","isReady","_registerMenuComponent","execute","RevisionTracker","325008cWiYeg","pluginName","view","bind","editor","revisionHistory.requireRevisionName","revisionName","items","requires","init","menuitem","919570abGIoB"];return(Ft=function(){return t})()}!function(t){const e=Ct,i=t();for(;;)try{if(397274===parseInt(e(477))/1+-parseInt(e(484))/2+-parseInt(e(463))/3*(parseInt(e(434))/4)+parseInt(e(439))/5*(-parseInt(e(478))/6)+parseInt(e(455))/7*(parseInt(e(444))/8)+parseInt(e(443))/9*(parseInt(e(474))/10)+parseInt(e(423))/11*(-parseInt(e(421))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Lt extends U.Plugin{static get[Dt(464)](){return Dt(431)}static get[Dt(485)](){return!0}static get[Dt(483)](){return!0}static get[Dt(471)](){return[ct]}[Dt(449)];[Dt(472)](){const t=Dt,e=this[t(467)],i=e[t(450)][t(422)](t(462));e.ui[t(417)][t(432)](t(428),(s=>{const n=t,r=(0,pt.createDropdown)(s),o=r[n(424)][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(466)](n(456)).to(i,n(459),i,n(456),e,n(419),((t,e,i)=>t&&e&&!i)),r[n(481)][n(433)]({icon:mt.IconHistory,label:X(s,n(448)),tooltip:!0}),u[n(433)]({label:X(s,n(453)),withText:!0,role:n(473)}),u[n(466)](n(456)).to(i,n(459),i,n(456),e,n(419),((t,e,i)=>t&&e&&!i)),u.on(n(461),(()=>this[n(418)]())),h[n(433)]({label:X(s,n(425)),withText:!0,role:n(473)}),h[n(466)](n(456)).to(i,n(459),e,n(419),((t,e)=>t&&!e)),h.on(n(461),(()=>{const t=n;e[t(436)][t(422)](t(428))[t(447)](),r[t(426)]=!1,e[t(451)][t(465)][t(452)]()})),c[n(458)][n(432)](u),l[n(458)][n(432)](h),a[n(438)]=n(476),a[n(470)][n(482)]([c,l]),o[n(432)](a),r})),e.ui[t(417)][t(432)](t(475),(()=>this[t(460)]()))}[Dt(460)](){const t=Dt,e=this[t(467)],i=e[t(479)],s=new pt.MenuBarMenuView(i),n=new pt.MenuBarMenuListView(i);s[t(481)][t(433)]({icon:mt.IconHistory,label:X(i,t(448))});const r=new pt.MenuBarMenuListItemView(i,s),o=new pt.MenuBarMenuListItemButtonView(i);o[t(433)]({label:X(i,t(453))}),o[t(427)](t(461)).to(s),o.on(t(461),(()=>{this[t(418)]()})),r[t(458)][t(432)](o),n[t(470)][t(432)](r);const a=new pt.MenuBarMenuListItemView(i,s),c=new pt.MenuBarMenuListItemButtonView(i);return c[t(433)]({label:X(i,t(425))}),c[t(427)](t(461)).to(s),c.on(t(461),(()=>{const i=t;e[i(436)][i(422)](i(428))[i(447)]()})),a[t(458)][t(432)](c),n[t(470)][t(432)](a),s[t(424)][t(458)][t(432)](n),s}[Dt(418)](){const t=Dt,e=this[t(467)],i=e[t(479)],s=e[t(450)][t(422)](t(416)),n=e[t(450)][t(422)](t(462));function r(n){const r=t;e[r(436)][r(422)](r(468))&&""===n[r(469)]?n[r(440)][r(454)]=X(i,r(435)):(e[r(450)][r(422)](ct)[r(441)]({name:n[r(469)]}),s[r(457)]())}this[t(449)]||(this[t(442)](),this[t(449)].on(t(446),(()=>r(this[t(449)])))),this[t(449)][t(420)](),s[t(429)]({id:t(486),title:X(i,t(453)),isModal:!0,content:this[t(449)],actionButtons:[{label:X(e[t(479)],t(445)),withText:!0,onExecute:()=>s[t(457)]()},{label:X(e[t(479)],t(437)),class:t(480),withText:!0,onCreate(i){const s=t;i[s(466)](s(456)).to(n,s(459),n,s(456),e,s(419),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(449)])}]})}[Dt(442)](){const t=Dt,e=this[t(467)],i=e[t(479)];this[t(449)]=new Et(i,e[t(436)][t(422)](t(468))),this[t(449)][t(430)]()}}const jt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=489]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(815401===parseInt(e(495))/1+-parseInt(e(499))/2+parseInt(e(513))/3+-parseInt(e(494))/4+parseInt(e(518))/5+parseInt(e(490))/6*(-parseInt(e(504))/7)+-parseInt(e(505))/8*(-parseInt(e(493))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends pt.View{[jt(515)];[jt(502)];constructor(t,e){const i=jt;super(t),this[i(502)]=e,this[i(515)]=e.id;const s=this[i(510)],n=X(t,e[i(509)][i(497)]?i(492):i(512)==e[i(503)]?i(501):i(498));this[i(506)](i(503),e[i(503)]),this[i(489)]({tag:i(511),attributes:{class:[i(500),i(507),s.to(i(503),(t=>i(519)+t))],tabindex:-1},children:[{tag:i(517),children:[{tag:i(517),attributes:{class:[i(514)]},children:[{text:n}]},{text:" "+e[i(516)][i(508)]}]}]})}[jt(491)](){const t=jt;this[t(496)][t(491)]()}}function Wt(){const t=["8ZqEHJi","set","ck-revision-change","name","data","bindTemplate","div","add","374286DkYTxx","ck-revision-change__label","changeId","author","span","4590900tATKzr","ck-revision-change__","setTemplate","192468jLVggD","focus","Suggested by","6447159dqjhqn","5936632kFmaus","1044693fuioZW","element","isSuggestion","Removed by","944698KRhOXQ","ck-annotation","Added by","_model","type","7RqHJtX"];return(Wt=function(){return t})()}var Ut=Zt;function Ht(){var t=["188FYyAQN","440930EFfWkn","createdAt","type","23415SmRmCE","64MNPyLz","toJSON","data","rootName","576966KqSsqQ","11249RRkDlF","author","5017491DAcpSh","2721435gGZWhG","set","1756452xcPuRS"];return(Ht=function(){return t})()}function Zt(t,e){var i=Ht();return(Zt=function(t,e){return i[t-=379]})(t,e)}!function(t){for(var e=Zt,i=t();;)try{if(291493===-parseInt(e(390))/1+-parseInt(e(389))/2+-parseInt(e(384))/3*(-parseInt(e(380))/4)+-parseInt(e(393))/5+-parseInt(e(379))/6+-parseInt(e(381))/7*(-parseInt(e(385))/8)+parseInt(e(392))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends((0,t.ObservableMixin)()){id;[Ut(391)];[Ut(383)];[Ut(387)];[Ut(388)];constructor(e){var i=Ut;super(),this.id=e.id||(0,t.uid)(),this[i(391)]=e[i(391)],this[i(383)]=e[i(383)],this[i(387)]=e[i(387)]||{},this[i(388)]=e[i(388)],this[i(394)](i(382),e[i(382)])}[Ut(386)](){var t=Ut;return{id:this.id,authorId:this[t(391)].id,type:this[t(383)],data:this[t(387)],createdAt:this[t(382)]}}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=302]})(t,e)}function Yt(){const t=["10hvxCdz","636omWilU","newRevisionId","changes","4141938rJzTni","9939555CFEOyI","oldRevisionId","206lFTzep","_setChanges","2662uwuLRQ","25362986kVDMuE","7bRqchz","add","18284pBAfqy","1452584fUFDpZ","6006355sOvLJz"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(642088===parseInt(e(303))/1*(parseInt(e(317))/2)+-parseInt(e(311))/3*(parseInt(e(307))/4)+-parseInt(e(309))/5+-parseInt(e(314))/6+parseInt(e(305))/7*(-parseInt(e(308))/8)+-parseInt(e(315))/9*(-parseInt(e(310))/10)+parseInt(e(304))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt{[$t(312)];[$t(316)];[$t(313)];constructor(e,i){const s=$t;this[s(312)]=e,this[s(316)]=i,this[s(313)]=new t.Collection}[$t(302)](t){const e=$t;for(const i of t)this[e(313)][e(306)](i)}}var Gt=i(536),Kt={attributes:{"data-cke":!0}};Kt.setAttributes=It(),Kt.insert=wt().bind(null,"head"),Kt.domAPI=kt(),Kt.insertStyleElement=Ot();gt()(Gt.A,Kt);Gt.A&&Gt.A.locals&&Gt.A.locals;const Qt=Xt;function Xt(t,e){const i=te();return(Xt=function(t,e){return i[t-=214]})(t,e)}function te(){const t=["addHighlight","_makeTape","activeView","view","hasClass","backward","set","catch","destroy","attachChange","find","getRevision","isRemoveSuggestion","forEach","getAttribute","mouseover","filter","addMarker:revision-suggestion:insertion","activeChange","getRevisionRootsAttributes","_processTape","markersStart","vid","editingDowncast","return","vid_end","unbindElementFromMarkerName","domConverter","bindElementToMarker","isPremiumPlugin","RevisionsRepository","highest","ck-suggestion-marker-","ck-suggestion-preview-marker","nodeAfter","_revisions","wrap","_markMarkers","adapter","insertion","_setChanges","writer","range","merge","distance","add","_markMismatchedRemovedTags","data-change-id","end","mousedown","viewItem","getWalker","affectsData","keys","sort","createRange","editor","isIncorrect","_getViewForChange","toViewRange","ck-revision-history-root-add","downcastDispatcher","modelRange","observeMarkers","includes","132184UVsZHC","attributesAfter","locale","level","addMarker:revision-suggestion:deletion","repository","revisionHistoryAttachChange","startsWith","elementStart","from","206335uLAVGE","values","getClientRects","updatePosition","6VSFceu","createUIElement","enableReadOnlyMode","POSITIVE_INFINITY","findIndex","toViewPosition","map","addRevision","revision-suggestion:","model","addMarker:revision","1920228zPgTqL","push","element","createAttributeElement","suggestion","userId","removeMarker","_step","forceDisabled","_getRevisionsRange","split","document","change","revision","remove","-new","_threeWayMerge","revision-suggestion","_removeMissingPairs","markerToData","getIndex","offsetSize","getItems","markerNameToElements","isOfficialPlugin","_activeViewTarget","top","delete","done","restoreRevisionCallback","test","346149FZsbco","revision-comment:","removeMarker:revision","isRemoved","forward","schema","addClass","addRevisionData","isInline","_appendChild","conversion","isSuggestion","_markSuggestions","all","isCollapsed","unshift","removeMarker:revision-suggestion","removeClass","right","bottom","markers","insert","_findChangeIdFromDomTarget","startIndex","type","requires","460ZssgKW","_balloon","comment","ck-revision-history-root--active","RevisionHistoryUtils","mapViewToDom","getChild","removeAttribute","isAtStart","detachRoot","maxOffset","shift","_getDiff","pairId","markersEnd","_joinTapes","dataDowncast","attribute:vid","softBreak","plugins","createPositionBefore","ck-suggestion-marker-split","consume","then","change:activeChange","endIndex","pluginName","has","createRangeIn","newRevisionId","change:activeView","roots","isAtEnd","length","uiElement","error","isObject","data","getDomRoot","_utils","isAttached","_cleanMarkers","revisionHistoryLabel","config","init","isLimit","isOnRoot","changeId","target","ck-suggestion-marker-merge","previousPosition","string","isAddSuggestion","317565MXhSXN","createRevision","isAdded","execute","index","showStack","revision:","createPositionFromPath","vid_start","text","parent","splice","_changeView","suggestion:","getAttributes","dataToMarker","span","isBefore","elementToAttribute","get","for","ck-suggestion-marker","isEnabled","next","markerName","stop","change:numberOfChanges","attributesBefore","changes","element:pre","oldRevisionId","hasAttribute","mapper","_removeUnsupportedChanges","restoreRevision","change:isEnabled","showPreviousChange","start","change:isReady","isReady","low","enqueueChange","revision-viewer","selection","loadRevisionData","isNavigationMode","consumable","commands","reconvertMarker","concat","name","markerToHighlight","deletion","isContent","editing","715QGNkNB","first","high","item","ck-revision-history-root-remove","isAfter","flat","_getChangeFromId","_initInteractions","slice","clear","side","listenTo","left","_data","ck-editor__editable__overlay","RevisionViewer","_refreshStartEndIndex","getRevisionDocumentData","revisionHistory","ck-suggestion-marker--active","nextSibling","showNextChange","_cleanUp","_fixObsoleteTags","ck-revision-history-root-","checkAttribute","insertions","indexOf","object","diffData","_setDistance","refresh","deletions","diff","abs","addRoot","WidgetToolbarRepository","nextPosition","144852doBQBl","code","_changeIdToChange","resolve","rootName","_sortAndFilterDiffChanges","upcast","setAttribute","pop","_setConversion","isEqual","numberOfChanges","getCustomProperty","domEvent","markerRange","getRootNames","ck-suggestion-preview-marker-","compare","toViewElement","_makeModelFromViewString","56gIApoB","6LPyIuM","_update","elementEnd","bind","attributes","1355333uWXEvQ","isBlock","authors","_markInsertions","_makeModelFromTape","getLaterVisibleRevision","currentChangeNumber","getRoot"];return(te=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(827567===-parseInt(e(379))/1+parseInt(e(301))/2*(parseInt(e(435))/3)+-parseInt(e(404))/4+-parseInt(e(389))/5*(-parseInt(e(393))/6)+parseInt(e(306))/7*(-parseInt(e(300))/8)+-parseInt(e(514))/9*(-parseInt(e(461))/10)+-parseInt(e(241))/11*(-parseInt(e(280))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ee extends U.Plugin{[Qt(384)];[Qt(352)]=null;[Qt(500)];[Qt(429)];[Qt(526)];[Qt(282)];[Qt(462)];static get[Qt(487)](){return Qt(257)}static get[Qt(428)](){return!0}static get[Qt(343)](){return!0}static get[Qt(460)](){return[H.Users,pt.ContextualBalloon,Y,Q]}constructor(t){const e=Qt;super(t),this[e(384)]=this[e(370)][e(480)][e(533)](e(344)),this[e(500)]=this[e(370)][e(480)][e(533)](e(465)),this[e(320)](e(332),null),this[e(320)](e(316),null),this[e(429)]=null,this[e(320)](e(275),null),this[e(320)](e(225),!1),this[e(320)](e(536),!0),this.on(e(221),((t,i,s)=>{const n=e;this[n(332)]=null,this[n(316)]=null,this[n(370)][n(240)][n(317)][n(416)]((t=>{const e=n;for(const i of this[e(370)][e(240)][e(317)][e(415)][e(492)])s?t[e(452)](e(256),i):t[e(441)](e(256),i)}))})),this[e(304)](e(231)).to(this,e(332),(t=>null!==t)),this[e(304)](e(312)).to(this,e(225),this,e(275),this,e(332),((t,i,s)=>t&&s?i[e(214)][e(424)](s):0)),this[e(304)](e(291)).to(this,e(225),this,e(275),((t,i)=>t?i[e(214)][e(494)]:0)),this[e(526)]=null,this[e(282)]=new Map,this[e(462)]=this[e(370)][e(480)][e(533)](pt.ContextualBalloon)}[Qt(505)](){const t=Qt,e=this[t(370)],i=new ne(e,{direction:t(319)}),s=new ne(e,{direction:t(439)});e[t(233)][t(359)](t(222),i),e[t(233)][t(359)](t(263),s),e[t(233)][t(359)](t(220),new se(e)),this.on(t(540),(()=>{const e=t;i[e(273)](),s[e(273)]()})),this[t(289)](),this[t(249)](),e[t(395)](t(228)),e[t(480)][t(488)](t(278))&&e[t(480)][t(533)](t(278))[t(412)](t(228))}async[Qt(259)](t){const e=Qt;return await this[e(500)][e(230)](t,this[e(352)]),this[e(500)][e(259)](t)}async[Qt(333)](t){const e=Qt;return await this[e(500)][e(230)](t,this[e(352)]),this[e(500)][e(333)](t)}async[Qt(297)](t,e,i=!1){const s=Qt;if(!this[s(536)])return;const n=this[s(275)],r=this[s(384)],o=s(512)==typeof t?r[s(325)](t):t,a=s(512)==typeof e?r[s(325)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(275)]&&this[s(275)][s(490)]===c&&this[s(275)][s(216)]===u)return Promise[s(283)]();this[s(225)]=!1,this[s(316)]=null,this[s(332)]=null,this[s(275)]=new Jt(c,u);const l=this[s(413)](o,a,!0)[s(399)]((t=>this[s(500)][s(230)](t,this[s(352)])));return l[s(405)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(448)](l)[s(484)]((()=>{const t=s;if(!this[t(536)])return;this[t(264)]();const e=this[t(473)](c,u);for(const i of e[t(214)])this[t(282)][t(320)](i.id,i);this[t(370)][t(402)][t(227)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(370)][s(402)][s(415)][s(295)]())i[s(470)](t);for(const t of Object[s(367)](e[s(402)])){const n=i[s(277)](t);for(const r of Object[s(367)](e[s(305)][t]))i[s(287)](r,e[s(305)][t][r],n);i[s(456)](e[s(402)][t],n,0)}})),this[t(275)][t(354)](this[t(285)](e[t(214)])),this[t(225)]=!0}))[s(321)]((t=>{const e=s;console[e(496)](t),this[e(264)](),n&&(this[e(275)]=n),this[e(225)]=!0}))}[Qt(442)](t,e){const i=Qt,s=this[i(384)][i(515)](t);return s.on(i(302),((t,i,n)=>e(i,n,s))),this[i(384)][i(400)](s),s}[Qt(264)](){const t=Qt;this[t(332)]=null,this[t(502)](),this[t(526)]&&this[t(526)][t(322)](),this[t(526)]=null,this[t(282)][t(251)](),this[t(370)][t(402)][t(227)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(370)][i(402)][i(415)][i(295)]())e[i(470)](t)}))}[Qt(285)](t){const e=Qt,i=[],s=new Map;for(const t of this[e(370)][e(402)][e(415)][e(295)]()){const n=this[e(370)][e(240)][e(317)][e(499)](t);if(!n)continue;const r=n[e(391)]()[e(244)](0);r&&(i[e(405)](t),s[e(320)](t,r))}return i[e(368)](((t,i)=>{const n=e,r=s[n(533)](t),o=s[n(533)](i);return r.y-o.y||r.x-o.x})),(t=t[e(330)]((t=>i[e(378)](t[e(284)]))))[e(368)](((t,s)=>i[e(269)](t[e(284)])-i[e(269)](s[e(284)]))),t}[Qt(315)](t){const e=Qt,i=Array[e(388)](t[e(455)])[e(330)]((([t,i])=>t[e(386)](e(520))&&!i[e(449)])),s=Array[e(388)](this[e(370)][e(402)][e(489)](t)[e(365)]({singleCharacters:!0}));if(0!=i[e(494)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(414)](":");if(n[e(362)][e(290)](t[e(279)])&&i[e(472)](),(t[e(511)][e(290)](n[e(223)])||t[e(511)][e(246)](n[e(223)]))&&(e(353)==r?t[e(516)]={userId:o}:e(238)==r&&(t[e(438)]={userId:o})),0==i[e(494)])break}return s}[Qt(258)](t){const e=Qt,i=new Map;for(let s=0;s<t[e(494)];s++)e(523)===t[s][e(459)]?(t[s][e(244)][e(458)]=s,t[s][e(244)][e(486)]=s):(e(387)===t[s][e(459)]?t[s][e(244)][e(458)]=s:e(303)===t[s][e(459)]&&(t[s][e(244)][e(486)]=s),i[e(320)](t[s].id,s));for(const s of i[e(390)]())e(387)===t[s][e(459)]?t[s][e(244)][e(486)]=i[e(533)](t[s][e(474)]):e(303)===t[s][e(459)]&&(t[s][e(244)][e(458)]=i[e(533)](t[s][e(474)]))}[Qt(334)](t){const e=Qt;for(let i=0;i<t[e(494)];i++){if(e(387)===t[i][e(459)])t[i][e(244)][e(458)]=i;else if(e(303)===t[i][e(459)]){t[i][e(244)][e(486)]=i;const s=t[i][e(244)][e(458)];t[s][e(474)]=t[i].id,t[i][e(474)]=t[s].id}else t[i][e(244)][e(458)]=i,t[i][e(244)][e(486)]=i,t[i][e(474)]=null;t[i][e(335)]||(t[i][e(335)]=[],t[i][e(475)]=[])}}[Qt(309)](t,e){const i=Qt,s=t[i(330)]((t=>!t[i(516)]));for(let t=0;t<e[i(494)];t++)e[t][i(516)]&&(s[t][i(516)]=e[t][i(516)])}[Qt(473)](t,e=null){const i=Qt,s=this[i(384)][i(325)](t),n=e?this[i(384)][i(325)](e):null,r=this[i(413)](s,n),o=r[r[i(494)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(494)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(367)](e[i(271)]))if(e[i(271)][t][i(323)]){const s=e[i(271)][t][i(323)];s[i(501)]?(u[i(359)](t),l[i(488)](t)&&l[i(533)](t)[i(409)]==s[i(409)]?l[i(431)](t):l[i(320)](t,s)):l[i(488)](t)?(u[i(431)](t),l[i(431)](t)):(u[i(359)](t),l[i(320)](t,s))}else u[i(359)](t)}for(const t of u){const e=l[i(488)](t)&&!l[i(533)](t)[i(501)];let s=e?r[i(494)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(271)][t]){const s=e?o[i(271)][t][i(541)]:o[i(271)][t][i(380)];c[i(305)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(402)]={};for(const e of t[i(308)])a[i(320)](e.id,e);for(const e of u){const s=t[i(271)][e]?t[i(271)][e][i(268)]:"[]",n=t[i(271)][e]?t[i(271)][e][i(274)]:"[]";t[i(402)][e]={insertions:this[i(500)][i(299)](s),deletions:this[i(500)][i(299)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(388)](s[i(402)][t][i(268)][i(455)])[i(330)]((([t])=>!t[i(386)](i(520)))));let h=0;for(const o of r){const r=this[i(315)](o[i(402)][t][i(268)]);o==s?(e=r,n=e[i(494)],e[i(327)]((t=>{t.id=h++})),this[i(334)](e)):this[i(309)](e,r);const a=e[i(330)]((t=>!t[i(516)]))[i(399)]((t=>t.id));let c=0;const l=this[i(315)](o[i(402)][t][i(274)]);l[i(327)]((t=>{t[i(438)]?t.id=n++:t.id=a[c++]})),this[i(334)](l),this[i(272)](e,i(516)),this[i(272)](l,i(438)),o==s&&this[i(351)](e,u),e=this[i(476)](e,l),this[i(258)](e),this[i(272)](e,i(438))}e=e[i(330)]((t=>!(t[i(516)]&&t[i(438)])));const d=new Map(o[i(402)][t][i(274)][i(455)]),f=new Set(u[i(367)]());for(const t of d[i(367)]())f[i(431)](t);this[i(447)](e,f),this[i(265)](e),e=this[i(422)](e),e=this[i(360)](e),e=this[i(219)](e);const{root:m,changes:p}=this[i(310)](e,a,t);c[i(402)][t]=m;const v=l[i(533)](t);if(v){const e=a[i(533)](v[i(409)]),s=new qt({author:e,type:v[i(501)]?i(359):i(418),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(450)](s),c[i(305)][t][i(385)]=s.id}c[i(214)]=c[i(214)][i(235)](p)}return c}[Qt(351)](t,e){const i=Qt;for(let s=0;s<t[i(494)];s++)for(const[n,r]of e)!r[i(449)]&&r[i(223)][i(290)](t[s][i(511)])&&t[s][i(335)][i(405)](n),r[i(362)][i(290)](t[s][i(279)])&&t[s][i(475)][i(405)](n)}[Qt(476)](t,e){const i=Qt;let s=[],n=0,r=0;for(;n<t[i(494)]||r<e[i(494)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(405)](o);else if(a[i(438)]&&o[i(516)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(420)](t,n,e,r);s=s[i(235)](o),n=a,r=c}else a[i(438)]?(r++,s[i(405)](a)):(n++,s[i(405)](o))}return s}[Qt(447)](t,e){const i=Qt,s=[];for(let o=0;o<t[i(494)];o++){for(let r=0;r<t[o][i(335)][i(494)];r++){const a=t[o][i(335)][r];if(!e[i(488)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(421)!=c||i(353)!=u&&i(238)!=u||(s[i(450)]({type:u,name:a,userId:l}),t[o][i(335)][i(525)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(475)][i(494)];r++){const a=t[o][i(475)][r];if(!e[i(488)](a))continue;const{group:c,type:u}=n(a);if(i(421)!=c||i(353)!=u&&i(238)!=u)continue;t[o][i(475)][i(525)](r,1),r--;const l=s[i(397)]((t=>t[i(236)]==a));l>-1&&s[i(525)](l,1)}}function n(t){const e=i,s=t[e(414)](":");return{group:s[0],type:s[1],subType:s[e(494)]>=5?s[2]:null,id:s[e(494)]<5?s[2]:s[3],authorId:s[e(494)]<5?s[3]:s[4],markerCount:6==s[e(494)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(494)];i++){if(t[e(516)]&&e(353)==s[i][e(459)]&&t[e(516)][e(409)]==s[i][e(409)])return t[e(513)]=s[i],void delete t[e(516)];if(!t[e(516)]&&!t[e(438)]&&e(238)==s[i][e(459)])return void(t[e(326)]=s[i])}}}[Qt(272)](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(320)](o.id,s);for(let s=0;s<t[i(494)];s++){if(i(438)==e&&t[s][i(516)]||i(516)==e&&t[s][i(438)])continue;if(i(523)==t[s][i(459)]){t[s][i(358)]=0;continue}const n=r[i(533)](t[s][i(474)]),o=r[i(533)](t[s].id);t[s][i(358)]=n-o}}[Qt(413)](t,e,i=!1){const s=Qt,n=[];let r=this[s(384)][s(424)](t),o=this[s(384)][s(424)](e);for(-1==o&&(o=this[s(384)][s(349)][s(494)],i=!1);r<o;)n[s(405)](this[s(384)][s(325)](r)),r++;return i&&n[s(405)](this[s(384)][s(325)](r)),n}[Qt(420)](t,e,i,s){const n=Qt,r=this[n(370)][n(402)][n(440)];let o=e;for(;t[o]&&t[o][n(516)];)o++;let a=s;for(;i[a]&&i[a][n(438)];)a++;u(t,e,o),u(i,s,a);const c=i[n(250)](s,a)[n(235)](t[n(250)](e,o));return c[n(368)](((t,e)=>t[n(252)]!=e[n(252)]?t[n(252)]-e[n(252)]:t[n(382)]!=e[n(382)]?t[n(382)]-e[n(382)]:t[n(358)]!=e[n(358)]?e[n(358)]-t[n(358)]:!!t[n(516)]!=!!e[n(516)]?-1==t[n(252)]||0==t[n(252)]?t[n(516)]?-1:1:t[n(516)]?1:-1:t[n(518)]-e[n(518)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(396)],c=!0;for(let n=e;n<i;n++)if(r[s(443)](t[n][s(244)])||(c=!1),t[n][s(244)][s(458)]<e&&(o=n),t[n][s(244)][s(486)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(252)]=n<=o?-1:n<a?0:1,t[n][s(518)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(358)]?t[i][s(382)]=u:(u++,t[i][s(382)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(252)]&&(t[n][s(382)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(358)]?t[e][s(382)]=u:(u--,t[e][s(382)]=u,u--)}}[Qt(265)](t){const e=Qt,i=new Map,s=this[e(370)][e(402)][e(440)];for(let n=1;n<t[e(494)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(523)==c[e(459)])continue;if(c[e(459)]!=u[e(459)])continue;if(!s[e(307)](u[e(244)])||s[e(506)](u[e(244)]))continue;if(!s[e(307)](c[e(244)])||s[e(506)](c[e(244)]))continue;if((t[n][e(516)]||t[n][e(513)])&&t[n-1][e(438)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(438)]||!t[n-1][e(516)]&&!t[n-1][e(513)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(382)]==o[e(382)],h=Math[e(276)](r[e(382)])<Math[e(276)](o[e(382)])&&0==o[e(358)];(l||h)&&(i[e(320)](o.id,r.id),t[e(525)](a,1),n--,r[e(516)]=!1)}for(let s=0;s<t[e(494)];s++)i[e(488)](t[s][e(474)])&&(t[s][e(474)]=i[e(533)](t[s][e(474)]))}[Qt(422)](t){const e=Qt,i=new Set(t[e(399)]((t=>t.id)));for(let s=0;s<t[e(494)];s++)i[e(488)](t[s][e(474)])||0==t[s][e(358)]||(t[s][e(371)]=!0);return t[e(330)]((t=>!t[e(371)]))}[Qt(360)](t){const e=Qt,i=new Set;for(let s=0;s<t[e(494)];s++){if(i[e(488)](t[s].id)&&t[s][e(438)]&&(t[s][e(371)]=!0),t[s][e(371)])continue;if(0==t[s][e(358)])continue;if(e(387)!=t[s][e(459)])continue;if(null==t[s][e(474)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(474)];)e(387)==t[n][e(459)]?r++:e(303)==t[n][e(459)]&&r--,n++;if(0!=r)if(t[s][e(438)])t[s][e(371)]=!0;else for(;n!=s;)t[n][e(438)]&&0!=t[n][e(358)]&&(t[n][e(371)]=!0,i[e(359)](t[n][e(474)])),n--}return t[e(330)]((t=>!t[e(371)]))}[Qt(219)](t){const e=Qt,i=this[e(370)][e(402)][e(440)];for(let s=0;s<t[e(494)];s++){if(!(t[s][e(516)]||t[s][e(513)]||t[s][e(438)]||t[s][e(326)]))continue;if(0==t[s][e(358)])continue;const n=t[s][e(244)];i[e(307)](n)||i[e(506)](n)||(t[s][e(516)]&&delete t[s][e(516)],t[s][e(513)]&&delete t[s][e(513)],t[s][e(326)]&&delete t[s][e(326)],t[s][e(438)]&&(t[s][e(371)]=!0))}return t[e(330)]((t=>!t[e(371)]))}[Qt(310)](t,e,i){const s=Qt,n=new Z.DocumentFragment,r=[],o=new Map,a=this[s(370)][s(402)],c=a[s(440)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(494)];e++)if(s(387)===t[e][s(459)]){t[e][s(511)]=a[s(521)](n,f);const i=new Z.Element(t[e][s(244)][s(236)],t[e][s(244)][s(528)]());u[0][s(444)](i),f[s(405)](0),u[s(450)](i),t[e][s(279)]=a[s(521)](n,f)}else s(303)===t[e][s(459)]?(u[s(472)](),t[e][s(511)]=a[s(521)](n,f),f[s(288)](),f[f[s(494)]-1]++,t[e][s(279)]=a[s(521)](n,f)):(t[e][s(511)]=a[s(521)](n,f),d?d[s(255)]+=t[e][s(244)][s(498)]:d=new Z.Text(t[e][s(244)][s(498)],t[e][s(244)][s(528)]()),t[e+1]&&s(523)===t[e+1][s(459)]&&v(d,t[e+1][s(244)])||(u[0][s(444)](d),d=null),f[f[s(494)]-1]+=t[e][s(244)][s(425)],t[e][s(279)]=a[s(521)](n,f));for(let e=0;e<t[s(494)];e++){const i=t[e][s(511)],n=t[e][s(279)];for(const n of t[e][s(335)])o[s(320)](n,{start:i,end:null});m(s(326),e,i,n),m(s(513),e,i,n),m(s(438),e,i,n),m(s(516),e,i,n);for(const i of t[e][s(475)]){const t=o[s(533)](i);t?t[s(362)]=n:o[s(320)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(370)][s(402)][s(369)](e[s(223)],e[s(362)]);n[s(455)][s(320)](t,i)}return r[s(368)](((t,e)=>{const i=s,r=n[i(455)][i(533)](i(520)+t.id),o=n[i(455)][i(533)](i(520)+e.id);return r[i(223)][i(531)](o[i(223)])?-1:r[i(223)][i(246)](o[i(223)])?1:r[i(362)][i(531)](o[i(362)])?-1:r[i(362)][i(246)](o[i(362)])?1:i(359)===t[i(459)]?-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(409)]:null,d=i===t[o(494)]-1,f=h[e][0],m=c[o(497)](t[i][o(244)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(362)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(409)]!==u&&(l[e][o(362)]=n,f&&f[o(409)]===l[e][o(409)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(387)!==t[i][o(459)]||f&&f[o(409)]===u||h[e][o(450)]({userId:u,object:t[i][o(244)],change:l[e]}),o(303)===t[i][o(459)]&&f&&f[o(270)]===t[i][o(244)]&&(h[e][o(472)](),l[e]=f[o(416)])),l[e]&&d&&(l[e][o(362)]=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(244)],f=a[h(440)][h(307)](d)&&!a[h(440)][h(506)](d),m=t[h(348)]==o[h(524)]&&o[h(469)];if(f&&m)return;const p=a[h(369)](t,o),v=e[h(533)](u),g=new qt({author:v,type:h(516)==l||h(513)==l?h(359):h(418),data:{isSuggestion:h(513)==l||h(326)==l},createdAt:new Date,rootName:i});r[h(405)](g),n[h(455)][h(320)](h(520)+g.id,p)}function v(t,e){const i=s,n=t[i(528)](),r=e[i(528)]();for(const t of n){if(t[1]!==e[i(328)](t[0]))return!1;r[i(537)]()}return r[i(537)]()[i(432)]}}[Qt(289)](){const t=Qt;this[t(370)][t(445)][t(534)](t(286))[t(529)]({view:t(417)}),this[t(370)][t(445)][t(534)](t(337))[t(237)]({model:t(417),view:e=>{const i=t,s=e[i(538)][i(414)](":")[1],n=this[i(248)](s);if(!n)return null;const r=i(359)==n[i(459)]?i(353):i(238),o=[i(535),i(346)+r];return n[i(498)][i(446)]&&o[i(405)](i(346)+r+i(419)),this[i(332)]==n&&o[i(405)](i(261)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(370)][t(445)][t(534)](t(286))[t(359)]((e=>{const i=t;e.on(i(215),((t,e,s)=>{const n=i,r=e[n(364)][n(467)](0);if(!r||!r.is(n(406),n(281)))return;if(!s[n(232)][n(483)](r,{attributes:[n(522),n(339)]}))return;const o=e[n(376)][n(223)][n(348)];s[n(355)][n(287)](n(522),r[n(328)](n(522)),o),s[n(355)][n(287)](n(339),r[n(328)](n(339)),o)}),{priority:i(226)})})),this[t(370)][t(445)][t(534)](t(286))[t(359)]((e=>{const i=t;e.on(i(406),((t,e,s)=>{const n=i;if(!s[n(232)][n(483)](e[n(364)],{attributes:[n(522),n(339)]}))return;if(e[n(376)][n(449)])return;const r=e[n(376)][n(223)][n(348)];r[n(217)](n(522))||r[n(217)](n(336))||(s[n(355)][n(287)](n(522),e[n(364)][n(328)](n(522)),r),s[n(355)][n(287)](n(339),e[n(364)][n(328)](n(339)),r))}),{priority:i(226)})})),this[t(370)][t(445)][t(534)](t(286))[t(532)]({view:{name:t(530),attributes:{vid:!0}},model:{key:t(336),value:e=>e[t(328)](t(336))}}),this[t(370)][t(402)][t(440)].on(t(267),((e,[,i])=>{const s=t;[s(522),s(339),s(336)][s(378)](i)&&(e[s(338)]=!0,e[s(539)]())}),{priority:t(345)}),this[t(370)][t(445)][t(534)](t(477))[t(359)]((e=>{const i=t;e.on(i(478),((t,e,s)=>{const n=i;if(" "!=e[n(244)][n(498)]||e[n(244)][n(524)][n(471)]>1)return;if(!s[n(232)][n(483)](e[n(244)],t[n(236)]))return;const r=s[n(355)],o=s[n(218)][n(373)](e[n(356)]);r[n(350)](o,r[n(407)](n(530)))}))})),this[t(370)][t(445)][t(534)](t(477))[t(423)]({model:t(417)}),this[t(370)][t(240)][t(375)].on(t(403),function(e){const i=t,s=e[i(480)][i(533)](i(257));return(t,n,r)=>{const o=i,a=n[o(538)][o(414)](":")[1],c=s[o(248)](a);if(!c)return null;const u=o(359)==c[o(459)]?o(414):o(357);if(!r[o(232)][o(434)](n[o(294)],t[o(236)]))return;const l=n[o(294)][o(365)](),h=n[o(294)][o(223)],d=e[o(402)][o(440)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(244)];p=p||d[o(239)](e);const i=r[o(218)][o(298)](e);if(i&&i[o(292)](o(314)))return;o(303)==t[o(459)]&&d[o(307)](e)&&!d[o(506)](e)&&(e[o(262)]||h[o(493)]?f&&f[o(524)]==e||(f=e,g(t[o(511)]),v=!0):m=m||t[o(511)])}function g(t){const e=o,i=r[e(355)][e(394)](e(530),{class:e(346)+u}),a=r[e(218)][e(398)](t);c[e(498)][e(446)]&&r[e(355)][e(441)](e(346)+u+e(419),i),s[e(332)]==c&&r[e(355)][e(441)](e(261),i),r[e(355)][e(456)](a,i),r[e(218)][e(342)](i,n[e(538)])}p||v||!m||g(m)}}(this[t(370)]),{priority:t(243)}),this[t(370)][t(240)][t(375)].on(t(437),((e,i,s)=>{const n=t,r=s[n(218)][n(427)](i[n(538)]);if(r)for(const t of r)(t[n(318)](n(482))||t[n(318)](n(510)))&&(s[n(218)][n(340)](t,i[n(538)]),s[n(355)][n(418)](t))}),{priority:t(243)}),this[t(370)][t(240)][t(375)].on(t(403),((e,i,s)=>{const n=t,r=i[n(538)][n(414)](":")[1],o=this[n(248)](r);if(!o)return null;const a=n(359)==o[n(459)]?n(414):n(357);if(s[n(232)][n(434)](i[n(294)],e[n(236)]))for(const t of i[n(294)][n(426)]()){if(!t.is(n(406),n(479)))continue;const e=s[n(355)][n(394)](n(530),{class:n(346)+a}),r=s[n(218)][n(398)](this[n(370)][n(402)][n(481)](t));o[n(498)][n(446)]&&s[n(355)][n(441)](n(346)+a+n(419),e),this[n(332)]==o&&s[n(355)][n(441)](n(261),e),s[n(355)][n(456)](r,e),s[n(218)][n(342)](e,i[n(538)])}}),{priority:t(243)}),this[t(370)][t(402)][t(415)].on(t(416),(()=>{const e=t;this[e(370)][e(240)][e(317)][e(416)]((t=>{const i=e;for(const e of this[i(370)][i(402)][i(415)][i(295)]()){const s=this[i(370)][i(402)][i(415)][i(313)](e),n=this[i(370)][i(240)][i(317)][i(415)][i(313)](e);if(n){const e=s[i(328)](i(385));if(t[i(468)](i(361),n),t[i(452)](i(374),n),t[i(452)](i(245),n),t[i(452)](i(464),n),e){const s=this[i(248)](e);if(!s)return null;t[i(287)](i(361),e,n),t[i(441)](i(266)+s[i(459)],n),this[i(332)]==s&&t[i(441)](i(464),n)}}}}))})),this[t(370)][t(445)][t(534)](t(286))[t(529)]({view:t(463),model:e=>t(436)+e,converterPriority:t(345)}),this[t(370)][t(445)][t(534)](t(286))[t(529)]({view:t(408),model:e=>t(401)+e,converterPriority:t(345)}),this[t(370)][t(445)][t(534)](t(477))[t(423)]({model:t(421),view:e=>({name:t(527)+e,group:t(421)}),converterPriority:t(345)}),this[t(370)][t(445)][t(534)](t(337))[t(237)]({model:t(421),view:e=>{const i=t,s=e[i(538)][i(414)](":")[1];return i(353)!=s&&i(238)!=s?null:{classes:[i(347),i(296)+s]}}}),this[t(370)][t(240)][t(375)].on(t(383),ie(this[t(370)],t(357)),{priority:t(243)}),this[t(370)][t(240)][t(375)].on(t(331),ie(this[t(370)],t(414)),{priority:t(243)}),this[t(370)][t(240)][t(375)].on(t(451),((e,i,s)=>{const n=t,r=s[n(218)][n(427)](i[n(538)]);if(r)for(const t of r)t.is(n(495))&&(s[n(218)][n(340)](t,i[n(538)]),s[n(355)][n(418)](t))}),{priority:t(243)})}[Qt(248)](t){const e=Qt;return this[e(282)][e(533)](t)}[Qt(372)](t){const e=Qt;return this[e(526)]&&this[e(526)][e(322)](),this[e(526)]=new zt(this[e(370)][e(381)],t),this[e(526)]}[Qt(249)](){const t=Qt;this[t(370)][t(402)][t(415)][t(229)][t(377)](t(417)),this.on(t(491),((e,i,s,n)=>{const r=t;n&&this[r(462)][r(418)](n),s&&(this[r(462)][r(359)]({view:s,stackId:r(503),position:{target:()=>{const t=r,e=this[t(370)][t(240)],i=this[t(248)](s[t(508)]);let n;if(i[t(498)][t(507)]){const s=e[t(317)][t(499)](i[t(284)]);n=Array[t(388)](s[t(391)]())}else{const i=this[t(370)][t(402)][t(455)][t(533)](t(520)+s[t(508)]);n=Array[t(388)](e[t(218)][t(427)](i[t(236)]))[t(399)]((i=>e[t(317)][t(341)][t(466)](i)))[t(399)]((e=>Array[t(388)](e[t(391)]())))[t(247)]()}return this[t(429)]&&n[t(324)]((e=>e[t(430)]-3<=this[t(429)].y&&e[t(454)]+3>=this[t(429)].y&&e[t(254)]-3<=this[t(429)].x&&e[t(453)]+3>=this[t(429)].x))||n[0]}}}),this[r(462)][r(519)](r(503)))})),this.on(t(485),((e,i,s,n)=>{const r=t;this[r(316)]=s?this[r(372)](s):null,this[r(370)][r(402)][r(416)]((()=>{const t=r,e=this[t(370)][t(240)];n&&(n[t(498)][t(507)]?e[t(317)][t(416)]((i=>{const s=t;i[s(452)](s(464),e[s(317)][s(415)][s(313)](n[s(284)]))})):e[t(234)](t(520)+n.id)),s&&(s[t(498)][t(507)]?e[t(317)][t(416)]((i=>{const n=t;i[n(441)](n(464),e[n(317)][n(415)][n(313)](s[n(284)]))})):e[t(234)](t(520)+s.id))}))})),this[t(253)](this[t(370)][t(240)][t(317)][t(415)],t(329),((e,i)=>{const s=t;if(this[s(332)])return;const n=this[s(457)](i[s(509)]),r=this[s(282)][s(533)](n);r?(this[s(429)]={x:i[s(293)].x,y:i[s(293)].y},this[s(316)]=this[s(372)](r)):(this[s(429)]=null,this[s(316)]=null)})),this[t(253)](this[t(370)][t(240)][t(317)][t(415)],t(363),((e,i)=>{const s=t,n=this[s(457)](i[s(509)]),r=this[s(282)][s(533)](n);r?(this[s(429)]={x:i[s(293)].x,y:i[s(293)].y},r===this[s(332)]?this[s(462)][s(392)]():this[s(332)]=r):(this[s(429)]=null,this[s(332)]=null)}))}[Qt(457)](t){const e=Qt;do{const i=t[e(328)](e(361));if(i)return i;t=t[e(524)]}while(t);return null}[Qt(502)](){const t=Qt;this[t(370)][t(402)][t(416)]((e=>{const i=t;for(const t of this[i(370)][i(402)][i(455)])e[i(410)](t)}))}}function ie(t,e){return(i,s,n)=>{const r=Xt;if(!n[r(232)][r(434)](s[r(294)],i[r(236)]))return;const o=s[r(294)][r(365)](),a=s[r(294)][r(223)],c=t[r(402)][r(440)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(244)];h=h||c[r(239)](e);const i=n[r(218)][r(298)](e);if(i&&i[r(292)](r(314)))return;r(303)==t[r(459)]&&c[r(307)](e)&&!c[r(506)](e)&&(e[r(262)]||a[r(493)]?u&&u[r(524)]==e||(u=e,f(t[r(511)]),d=!0):l=l||t[r(511)])}function f(t){const i=r,o=n[i(218)][i(398)](t),a=n[i(355)][i(394)](i(530),{class:i(296)+e});n[i(355)][i(456)](o,a),n[i(218)][i(342)](a,s[i(538)])}h||d||!l||f(l)}}class se extends U.Command{constructor(t){const e=Qt;super(t);const i=t[e(480)][e(533)](ee);this[e(366)]=!1,this[e(253)](i,e(224),(()=>this[e(273)]())),this[e(253)](i,e(221),(()=>this[e(273)]()))}[Qt(517)](){const t=Qt,e=this[t(370)],i=e[t(480)][t(533)](ee),s=i[t(225)]?i[t(275)][t(490)]:null;e[t(504)][t(533)](t(260))[t(433)](s)}[Qt(273)](){const t=Qt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(370)][t(480)][t(533)](ee),r=n&&s[t(311)](n[t(490)]);this[t(536)]=e&&i&&Boolean(r)}}class ne extends U.Command{[Qt(411)];constructor(t,{direction:e}){const i=Qt;super(t);const s=t[i(480)][i(533)](ee);this[i(366)]=!1,this[i(411)]=i(439)===e?1:-1,this[i(253)](s,i(224),(()=>this[i(273)]())),this[i(253)](s,i(221),(()=>this[i(273)]())),this[i(253)](s,i(485),(()=>this[i(273)]()))}[Qt(517)](){const e=Qt,i=this[e(370)],s=i[e(480)][e(533)](ee),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(332)]=n?s[e(275)][e(214)][e(533)](r+this[e(411)]):s[e(275)][e(214)][e(242)],s[e(332)][e(498)][e(507)])o=i[e(240)][e(317)][e(499)](s[e(332)][e(284)]);else{const t=i[e(402)][e(455)][e(533)](e(520)+s[e(332)].id);o=(0,H.getMarkerDomElement)(i[e(240)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Qt(273)](){const t=Qt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(370)][t(480)][t(533)](ee);this[t(536)]=!!(r&&n&&s)&&(!e||(1===this[t(411)]?i<s-1:i>0))}}var re=i(528),oe={attributes:{"data-cke":!0}};oe.setAttributes=It(),oe.insert=wt().bind(null,"head"),oe.domAPI=kt(),oe.insertStyleElement=Ot();gt()(re.A,oe);re.A&&re.A.locals&&re.A.locals;function ae(t,e){const i=ce();return(ae=function(t,e){return i[t-=408]})(t,e)}function ce(){const t=["1144405MizrdH","ck-revision-history-ui__changes-navigation__wrapper","bind","ck-revision-history-ui","currentChangeNumber","forward","_isStatusLabelVisible","Show next change","numberOfChanges","X_OF_Y_CHANGES","fire","4761867mhohyj","EDIT_X_OF_Y_REVISIONS","Total","Loading...","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","1991344GehbeG","ck-revision-history-ui__changes-navigation__navigation","isForwardNavigationEnabled","Show previous change","1aKaFcg","946422zYTRxB","span","28wuEJhR","30525610aVsAic","backward","54YhvFYx","bindTemplate","389692axrEyW","div","No changes","isEnabled","execute","ck-revision-history-ui__changes-navigation__label","isNavigationMode","set","_statusText","NUMBER_OF_CHANGES","setTemplate","isReady","ck-hidden","478012qfuyOB"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(963408===parseInt(e(446))/1*(parseInt(e(411))/2)+parseInt(e(436))/3+-parseInt(e(424))/4+parseInt(e(425))/5+-parseInt(e(447))/6*(-parseInt(e(449))/7)+parseInt(e(442))/8*(parseInt(e(409))/9)+-parseInt(e(450))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends pt.View{constructor(t){const e=ae;super(t);const i=this[e(410)],s=new pt.ButtonView(t),n=new pt.ButtonView(t);this[e(418)](e(417),!1),this[e(418)](e(422),!1),this[e(418)](e(429),0),this[e(418)](e(433),0),this[e(418)](e(444),!1),this[e(418)](e(440),!1),this[e(427)](e(431)).to(this,e(422),this,e(433),((t,e)=>t&&e>0)),this[e(427)](e(419)).to(this,e(422),this,e(429),this,e(433),this,e(417),((i,s,n,r)=>{const o=e;if(!i)return X(t,o(439));if(!n)return X(t,o(413));const a=X(t,o(420),n);return r?X(t,o(434),[s+1,n]):a})),s[e(418)]({label:X(t,e(445)),tooltip:!0,icon:mt.IconChevronUp}),n[e(418)]({label:X(t,e(432)),tooltip:!0,icon:mt.IconChevronDown}),s[e(427)](e(414)).to(this,e(440)),n[e(427)](e(414)).to(this,e(444)),s.on(e(415),(()=>this[e(435)](e(415),e(408)))),n.on(e(415),(()=>this[e(435)](e(415),e(430)))),this[e(421)]({tag:e(412),attributes:{class:["ck",e(428),e(441)]},children:[{tag:e(448),attributes:{class:[e(426)]},children:[{tag:e(448),attributes:{class:[e(416),i.if(e(431),e(423),(t=>!t))]},children:[{text:i.to(e(417),(i=>i?X(t,e(437))+": ":X(t,e(438))+": "))}]},{text:i.to(e(419))}]},new pt.ToolbarSeparatorView,{tag:e(412),attributes:{class:[e(443)]},children:[s,n]}]})}}var le=i(560),he={attributes:{"data-cke":!0}};he.setAttributes=It(),he.insert=wt().bind(null,"head"),he.domAPI=kt(),he.insertStyleElement=Ot();gt()(le.A,he);le.A&&le.A.locals&&le.A.locals;function de(){const t=["addClass","9968NfoEUB","isPremiumPlugin","18530424nsCEed","removeClass","roots","hide","15TEkgvq","RevisionViewerLoadingOverlay","388030BihuOO","1448TqDRfF","432684SJZQLr","707922SMJeKO","289707UUitnk","1479520Rnurlf","show","document","view","editor","pluginName","isOfficialPlugin","change","ck-editor__editable__loading-overlay","editing","6mvhqET","90dnytIT"];return(de=function(){return t})()}function fe(t,e){const i=de();return(fe=function(t,e){return i[t-=421]})(t,e)}const me=fe;!function(t){const e=fe,i=t();for(;;)try{if(300500===-parseInt(e(427))/1+-parseInt(e(440))/2*(parseInt(e(429))/3)+-parseInt(e(430))/4+parseInt(e(423))/5*(parseInt(e(428))/6)+parseInt(e(443))/7*(-parseInt(e(426))/8)+-parseInt(e(441))/9*(parseInt(e(425))/10)+parseInt(e(445))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const pe=me(438);class ve extends U.Plugin{static get[me(435)](){return me(424)}static get[me(436)](){return!0}static get[me(444)](){return!0}[me(431)](){const t=me,e=this[t(434)][t(439)][t(433)];e[t(437)]((i=>{const s=t;for(const t of e[s(432)][s(421)])i[s(442)](pe,t)}))}[me(422)](){const t=me,e=this[t(434)][t(439)][t(433)];e[t(437)]((i=>{const s=t;for(const t of e[s(432)][s(421)])i[s(446)](pe,t)}))}}const ge=ke;function ye(){const t=["get","set","showNextChange","add","bind","Back to editing","config","show","change:isReady","2OlamDn","execute","ck-revision-history-ui__back-to-editing","2026617EGUYLg","hide","isEnabled","isPremiumPlugin","8BBxGPy","changesNavigation","isForwardNavigationEnabled","componentFactory","currentChangeNumber","showPreviousChange","forward","numberOfChanges","5848680HsxYks","editor","plugins","3296736ayIksC","commands","pluginName","closeRevisionViewerCallback","21651408wouLwx","restoreRevision","listenTo","requires","isBackwardNavigationEnabled","4241062VURTfs","208688oXnOnb","revisionHistory","isOfficialPlugin","exitToEditing","isNavigationMode","init","isReady","RevisionViewerUI","244934dSpwyX","Restore this revision"];return(ye=function(){return t})()}function ke(t,e){const i=ye();return(ke=function(t,e){return i[t-=188]})(t,e)}!function(t){const e=ke,i=t();for(;;)try{if(809609===parseInt(e(208))/1+parseInt(e(219))/2*(-parseInt(e(222))/3)+-parseInt(e(200))/4+-parseInt(e(234))/5+-parseInt(e(190))/6+-parseInt(e(199))/7*(-parseInt(e(226))/8)+parseInt(e(194))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ye);class be extends U.Plugin{static get[ge(192)](){return ge(207)}static get[ge(202)](){return!0}static get[ge(225)](){return!0}static get[ge(197)](){return[ee,ve]}[ge(205)](){const t=ge,e=this[t(188)],i=e[t(189)][t(210)](ee),s=e[t(189)][t(210)](ve);e.ui[t(229)][t(213)](t(203),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(211)]({label:X(i,s(215)),icon:mt.IconUndo,withText:!0,tooltip:!0,class:s(221)}),this[s(196)](n,s(220),(()=>{const t=s;e[t(216)][t(210)](t(201))[t(193)]()})),n})),e.ui[t(229)][t(213)](t(195),(i=>{const s=t,n=new pt.ButtonView(i);return n[s(211)]({label:X(i,s(209)),withText:!0,tooltip:!0}),n[s(214)](s(224)).to(e[s(191)][s(210)](s(195))),this[s(196)](n,s(220),(()=>e[s(220)](s(195)))),n})),e.ui[t(229)][t(213)](t(227),(s=>{const n=t,r=new ue(s),o=e[n(191)][n(210)](n(231)),a=e[n(191)][n(210)](n(212));return r[n(214)](n(198)).to(o,n(224)),r[n(214)](n(228)).to(a,n(224)),r[n(214)](n(206),n(230),n(233),n(204)).to(i),this[n(196)](r,n(220),((t,i)=>{const s=n;e[s(220)](s(232)===i?s(212):s(231))})),r})),s[t(217)](),i.on(t(218),((e,i,n)=>{const r=t;n?s[r(223)]():s[r(217)]()}))}}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-=301]})(t,e)}!function(t){const e=Se,i=t();for(;;)try{if(293402===-parseInt(e(305))/1*(-parseInt(e(326))/2)+parseInt(e(330))/3+-parseInt(e(303))/4+parseInt(e(311))/5*(parseInt(e(309))/6)+parseInt(e(317))/7+-parseInt(e(312))/8+-parseInt(e(320))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Oe extends pt.LabeledFieldView{[Ie(314)]=null;constructor(t,e){const i=Ie;super(t,e);const s=this[i(308)];this[i(316)]({label:X(t,i(315)),_tooltipString:""}),this[i(325)][i(304)]=X(t,i(306)),this[i(329)]({tag:i(307),attributes:{class:[i(327)],"data-cke-tooltip-text":s.to(i(302)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(323)}})}[Ie(318)](){const e=Ie;super[e(318)](),this[e(314)]=new t.ResizeObserver(this[e(325)][e(328)],(()=>this[e(310)]())),this[e(319)](this[e(325)],e(313),(()=>this[e(310)]()))}[Ie(321)](){const t=Ie;super[t(321)](),this[t(314)]&&this[t(314)][t(321)]()}[Ie(310)](){const t=Ie,e=this[t(325)][t(328)];this[t(302)]=e[t(324)]>e[t(301)]&&e[t(322)]||""}}function Te(){const t=["input","_resizeObserver","Revision name","set","2931005oAlHbv","render","listenTo","289674QtgJfL","destroy","value","ck-tooltip_multi-line","scrollWidth","fieldView","9644AlLUsp","ck-revision-history-sidebar__revision-name","element","extendTemplate","377808BCZCSp","clientWidth","_tooltipString","1828464rFZmfh","placeholder","31AYEXFs","Enter the revision name","span","bindTemplate","281586CNkFdB","_updateTooltipText","20SQkDEr","793224KZfWHR"];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=["ck-revision-history-sidebar__revision-author","1444412MJZKko","set","10EQjBfA","ck-revision-history-sidebar__revision-author__name","22192578orVXSq","533814PLOlHN","push","Revision author","0 0 11 10","setTemplate","6128856JkIGmy","span","980299vCWBxv","ck-revision-history-sidebar__revision-author_creator","Revision creator","4213776xGWuqs","77ufCqwA","name","2019910FNNkHq"];return(Ae=function(){return t})()}function Re(t,e){const i=Ae();return(Re=function(t,e){return i[t-=318]})(t,e)}!function(t){const e=Re,i=t();for(;;)try{if(945422===-parseInt(e(331))/1+-parseInt(e(337))/2+parseInt(e(334))/3+parseInt(e(319))/4*(-parseInt(e(321))/5)+parseInt(e(324))/6*(-parseInt(e(335))/7)+parseInt(e(329))/8+parseInt(e(323))/9)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(320)]({content:mt.IconUser,viewBox:s(327)});const r=["ck",s(318)];i&&r[s(325)](s(332));const o=[{tag:s(330),attributes:{class:["ck",s(322)],title:X(t,s(i?333:326))},children:[n,e[s(336)]]}];this[s(328)]({tag:"li",attributes:{class:r},children:o})}}function Me(t,e){var i=Ee();return(Me=function(t,e){return i[t-=303]})(t,e)}function Ee(){var t=["2354088CrXjkP","toLocaleTimeString","4499754cYzFoa","204865mLhOwN","456840FKISXr","long","1218273itEdLY","1kqpOvE","numeric","114UXdgqn","5198624gSfeun","704116ezMCTu","toLocaleDateString"];return(Ee=function(){return t})()}!function(t){for(var e=Me,i=t();;)try{if(510418===-parseInt(e(314))/1*(-parseInt(e(305))/2)+parseInt(e(313))/3+parseInt(e(307))/4+parseInt(e(310))/5*(-parseInt(e(303))/6)+parseInt(e(309))/7+-parseInt(e(304))/8+-parseInt(e(311))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);var De=i(11),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=It(),Ce.insert=wt().bind(null,"head"),Ce.domAPI=kt(),Ce.insertStyleElement=Ot();gt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["935660hHHbjO","map","model","change:isActionsDropdownOpen","function","bind","class","menu","first","_action","ck-on","3669498BMfPXu","21bGMOIL","extendTemplate","isActionsDropdownOpen","38165extBey","button","source","Show more items","Name this revision","isVisible","ck-revision-history-sidebar__revision__actions","children","listenTo","456073EajrDQ","locale","isEnabled","isOpen","850842MyISdJ","set","676803xpRwPh","listView","add","buttonView","bindTemplate","Compare against selected","panelPosition","find","execute","name","action","Restore this revision","stopPropagation","4MEeEGz","items","2685464rrYXyb","menuitem","isReady"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=322]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(267735===parseInt(e(341))/1+-parseInt(e(365))/2+-parseInt(e(347))/3*(parseInt(e(360))/4)+parseInt(e(332))/5+-parseInt(e(345))/6*(-parseInt(e(329))/7)+-parseInt(e(362))/8+parseInt(e(328))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var je=i(216),Pe={attributes:{"data-cke":!0}};Pe.setAttributes=It(),Pe.insert=wt().bind(null,"head"),Pe.domAPI=kt(),Pe.insertStyleElement=Ot();gt()(je.A,Pe);je.A&&je.A.locals&&je.A.locals;const ze=Ue;function We(){const t=["220","deselect","_requireRevisionName","isSelected","18750McdXmd","_createdAtFormatted","ck-revision-history-sidebar__revision_highlighted","isHighlighted","closest","filter","3527596UqPJhb","extendTemplate","isReady","ck-reset","fieldView","map","createdAt","highlight","ck-revision-history-sidebar__revision__controls-wrapper","200kFlFzX","listenTo","div","creator","ck-revision-history-sidebar__revision-authors","uiLanguage","value","ck-revision-history-sidebar__revision-wrapper","1140MgdJML","isActionsDropdownOpen","1201504kXOFVm","2386426mlAaIj","select","3hgOYrw","revisionNameView","srcElement","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isEnabled","setTemplate","10DIMFRV","from","setName","name","length","bind","ck-revision-history-sidebar__actions_dropdown_open","ck-disabled","ck-revision-history-sidebar__revision_selected","unhighlight","unshift","set","fire","8045JnJEVJ","ck-revision-history-sidebar__revision__date","_revision","3510657LOTSFJ","revisionActionsView","change","bindTemplate","element","span",".ck-thread__remove-confirm","13232384ztDDek","ck-revision-history-sidebar__revision","isConfirm","authors","render"];return(We=function(){return t})()}function Ue(t,e){const i=We();return(Ue=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(615152===-parseInt(e(531))/1*(-parseInt(e(499))/2)+parseInt(e(512))/3*(parseInt(e(490))/4)+parseInt(e(484))/5*(parseInt(e(507))/6)+-parseInt(e(510))/7+parseInt(e(509))/8+parseInt(e(468))/9*(-parseInt(e(518))/10)+-parseInt(e(475))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);class He extends((0,H.ConfirmMixin)(pt.View)){id;[ze(513)];[ze(469)];[ze(467)];[ze(482)];constructor(e,i,s,n){const r=ze;super(e);const o=this[r(471)],a=function(t,e){const i=r,s=Array[i(519)](e[i(478)])[i(489)]((t=>t!=e[i(502)]));return e[i(502)]&&s[i(528)](e[i(502)]),s[i(495)]((s=>new Ve(t,s,s==e[i(502)])))}(e,i);this.id=i.id,this[r(467)]=i,this[r(482)]=n,this[r(523)](r(521),r(496)).to(i),this[r(523)](r(485)).to(this,r(496),(t=>{return i=e[r(504)],(s=t)[(n=Me)(306)](i,{month:n(312),day:n(315)})+", "+s[n(308)](i,{hour:n(315),minute:n(315)});var i,s,n})),this[r(529)](r(483),!1),this[r(529)](r(487),!1),this[r(529)](r(508),!1),this[r(529)](r(492),!1),this[r(529)](r(516),!1),this[r(513)]=new Oe(e,pt.createLabeledInputText),this[r(513)][r(494)][r(491)]({attributes:{maxlength:r(480)}}),this[r(513)][r(494)][r(523)](r(505)).to(this,r(521),(t=>t||this[r(485)])),this[r(513)][r(523)](r(516)).to(this,r(483),this,r(516),((t,e)=>t&&e)),this[r(469)]=s&&s[r(522)]?function(e,i){const s=Le,n=e[s(351)],r=e[s(342)],o=(0,pt.createDropdown)(r);o[s(353)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Le,s=t[i(342)],n={"Compare against selected":X(s,i(352)),"Name this revision":X(s,i(336)),"Restore this revision":X(s,i(358))};return e[i(366)]((t=>{const e=i,s=n[t[e(356)]];return s&&s!==t[e(356)]&&(t[e(356)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(333),model:new pt.ViewModel({label:t[n(356)],class:t[n(323)],withText:!0,role:n(363),_action:t[n(357)]})};i[n(367)][n(322)](n(343)).to(e,n(331),(i=>n(369)!=typeof t[n(343)]||!i||t[n(343)](e))),o[n(349)](i)}return o}(e,i);return e[s(322)](s(331)).to(o,s(344)),o[s(350)][s(346)]({label:X(r,s(335)),tooltip:!0,tooltipPosition:"sw",icon:mt.IconThreeVerticalDots}),o[s(330)]({attributes:{class:[s(338),n.if(s(331),s(327))]},on:{click:n.to((t=>t[s(359)]()))}}),o.on(s(355),(t=>{const i=s;e[i(364)]&&i(369)==typeof t[i(334)][i(326)]&&t[i(334)][i(326)](e)})),(0,pt.addListToDropdown)(o,a,{role:s(324)}),o[s(340)](e,s(368),((t,n,r)=>{const a=s;if(r)for(const t of o[a(348)][a(361)]){const s=t[a(339)][a(325)],n=i[a(354)]((t=>t[a(357)]===s[a(326)]))[a(337)];t[a(337)]=void 0===n||n(e)}})),o}(this,s):"",this[r(469)]&&this[r(469)][r(523)](r(516)).to(this),this[r(517)]({tag:r(501),attributes:{class:["ck",r(493),r(506),o.if(r(477),r(515))]},children:[{tag:r(501),attributes:{class:["ck",r(493),r(476),o.if(r(516),r(525),(t=>!t)),o.if(r(483),r(526)),o.if(r(487),r(486)),o.if(r(508),r(524))]},children:[this[r(513)],{tag:r(473),attributes:{class:["ck",r(466)]},children:[{text:o.to(r(485))}]},{tag:r(501),attributes:{class:["ck",r(498)]},children:[{tag:"ul",attributes:{class:["ck",r(503)]},children:a}]},this[r(469)]],on:{click:o.to((t=>{const e=r;t[e(514)][e(488)](e(474))||this[e(492)]&&this[e(516)]&&this[e(530)](e(511),{id:this.id})}))}}]})}[ze(479)](){const t=ze;super[t(479)]();const e=this[t(513)][t(494)][t(472)];this[t(500)](e,t(470),(()=>{const i=t;this[i(482)]&&!e[i(505)]||this[i(530)](i(520),{id:this.id,name:e[i(505)]}),e[i(505)]||(e[i(505)]=this[i(521)]?this[i(521)]:this[i(485)])}))}[ze(511)](){this[ze(483)]=!0}[ze(481)](){this[ze(483)]=!1}[ze(497)](){this[ze(487)]=!0}[ze(527)](){this[ze(487)]=!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 Je extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Ke extends Ze{constructor(){super("Zone is an abstract class")}}const Qe="numeric",Xe="short",ti="long",ei={year:Qe,month:Qe,day:Qe},ii={year:Qe,month:Xe,day:Qe},si={year:Qe,month:Xe,day:Qe,weekday:Xe},ni={year:Qe,month:ti,day:Qe},ri={year:Qe,month:ti,day:Qe,weekday:ti},oi={hour:Qe,minute:Qe},ai={hour:Qe,minute:Qe,second:Qe},ci={hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},ui={hour:Qe,minute:Qe,second:Qe,timeZoneName:ti},li={hour:Qe,minute:Qe,hourCycle:"h23"},hi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23"},di={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:Xe},fi={hour:Qe,minute:Qe,second:Qe,hourCycle:"h23",timeZoneName:ti},mi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe},pi={year:Qe,month:Qe,day:Qe,hour:Qe,minute:Qe,second:Qe},vi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe},gi={year:Qe,month:Xe,day:Qe,hour:Qe,minute:Qe,second:Qe},yi={year:Qe,month:Xe,day:Qe,weekday:Xe,hour:Qe,minute:Qe},ki={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,timeZoneName:Xe},bi={year:Qe,month:ti,day:Qe,hour:Qe,minute:Qe,second:Qe,timeZoneName:Xe},wi={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,timeZoneName:ti},_i={year:Qe,month:ti,day:Qe,weekday:ti,hour:Qe,minute:Qe,second:Qe,timeZoneName:ti};class Ii{get type(){throw new Ke}get name(){throw new Ke}get ianaName(){return this.name}get isUniversal(){throw new Ke}offsetName(t,e){throw new Ke}formatOffset(t,e){throw new Ke}offset(t){throw new Ke}equals(t){throw new Ke}get isValid(){throw new Ke}}let Si=null;class Oi extends Ii{static get instance(){return null===Si&&(Si=new Oi),Si}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Hs(t,e,i)}formatOffset(t,e){return 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,(Ps({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ri={};let Vi={};function Mi(t,e={}){const i=JSON.stringify([t,e]);let s=Vi[i];return s||(s=new Intl.DateTimeFormat(t,e),Vi[i]=s),s}let Ei={};let Di={};let Ci=null;let Fi={};function Li(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Ei[i];return s||(s=new Intl.NumberFormat(t,e),Ei[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Vs(this.floor?Math.floor(t):Cs(t,3),this.padTo)}}class Pi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ai.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Mi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class zi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Os()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Di[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Di[n]=r),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ui{static fromOpts(t){return Ui.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||os.defaultLocale,o=r||(n?"en-US":Ci||(Ci=(new Intl.DateTimeFormat).resolvedOptions().locale,Ci)),a=e||os.defaultNumberingSystem,c=i||os.defaultOutputCalendar,u=As(s)||os.defaultWeekSettings;return new Ui(o,a,c,u,r)}static resetCache(){Ci=null,Vi={},Ei={},Di={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ui.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Mi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Mi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ui.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,As(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Li(this,t,Qs,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=io.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return Li(this,t,sn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=io.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Li(this,void 0,(()=>nn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[io.utc(2016,11,13,9),io.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Li(this,t,cn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[io.utc(-40,1,1),io.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Pi(t,this.intl,e)}relFormatter(t={}){return new zi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.ListFormat(t,e),Ri[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ts()?function(t){let e=Fi[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Fi[t]=e}return e}(this.locale):Wi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Hi=null;class Zi extends Ii{static get utcInstance(){return null===Hi&&(Hi=new Zi(0)),Hi}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${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]},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=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(),Gi={}}}class as{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const cs=[0,31,59,90,120,151,181,212,243,273,304,334],us=[0,31,60,91,121,152,182,213,244,274,305,335];function ls(t,e){return new as("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function hs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ds(t,e,i){return i+(Fs(t)?us:cs)[e-1]}function fs(t,e){const i=Fs(t)?us:cs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function ms(t,e){return(t-e+7)%7+1}function ps(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ds(s,n,r),a=ms(hs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Ys(t)}}function vs(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=ms(hs(s,1,e),i),a=Ls(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Ls(c)):u>a?(c=s+1,u-=Ls(s)):c=s;const{month:l,day:h}=fs(c,u);return{year:c,month:l,day:h,...Ys(t)}}function gs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ds(e,i,s),...Ys(t)}}function ys(t){const{year:e,ordinal:i}=t,{month:s,day:n}=fs(e,i);return{year:e,month:s,day:n,...Ys(t)}}function ks(t,e){if(!_s(t.localWeekday)||!_s(t.localWeekNumber)||!_s(t.localWeekYear)){if(!_s(t.weekday)||!_s(t.weekNumber)||!_s(t.weekYear))throw new Ye("Cannot mix locale-based week fields with ISO-based week fields");return _s(t.localWeekday)||(t.weekday=t.localWeekday),_s(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),_s(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function bs(t){const e=Ss(t.year),i=Rs(t.month,1,12),s=Rs(t.day,1,js(t.year,t.month));return e?i?!s&&ls("day",t.day):ls("month",t.month):ls("year",t.year)}function ws(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Rs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Rs(i,0,59),a=Rs(s,0,59),c=Rs(n,0,999);return r?o?a?!c&&ls("millisecond",n):ls("second",s):ls("minute",i):ls("hour",e)}function _s(t){return void 0===t}function Is(t){return"number"==typeof t}function Ss(t){return"number"==typeof t&&t%1==0}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ts(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ns(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function As(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!Rs(t.firstDay,1,7)||!Rs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Rs(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Rs(t,e,i){return Ss(t)&&t>=e&&t<=i}function Vs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ms(t){return _s(t)||null===t||""===t?void 0:parseInt(t,10)}function Es(t){return _s(t)||null===t||""===t?void 0:parseFloat(t)}function Ds(t){if(!_s(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Cs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Fs(t){return t%4==0&&(t%100!=0||t%400==0)}function Ls(t){return Fs(t)?366:365}function js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Fs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ps(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function zs(t,e,i){return-ms(hs(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=zs(t,e,i),n=zs(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 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 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:Ds(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Nn(t,e){return[{},t[e]?Ai.create(t[e]):null,e+1]}const An=RegExp(`^T?${yn.source}$`),Rn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Vn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Es(i)),months:d(Es(s)),weeks:d(Es(n)),days:d(Es(r)),hours:d(Es(o)),minutes:d(Es(a)),seconds:d(Es(c),"-0"===c),milliseconds:d(Ds(u),h)}]}const Mn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function En(t,e,i,s,n,r,o){const a={year:2===e.length?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 Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Cn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=En(e,n,s,i,r,o,a);let f;return f=c?Mn[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Fn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ln=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Pn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,n,s,i,r,o,a),Zi.utcInstance]}function zn(t){const[,e,i,s,n,r,o,a]=t;return[En(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=fn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,bn),Un=fn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,bn),Hn=fn(/(\d{4})-?(\d{3})/,bn),Zn=fn(kn),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,[Rn,Vn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return pn(t,[An,Jn])}(t);return i?lr.fromObject(i,e):lr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new 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 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+=Ji.indexOf(t[i]);else for(const t in Yi){const[i,n]=Yi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const gr=`[ ${String.fromCharCode(160)}]`,yr=new RegExp(gr,"g");function kr(t){return t.replace(/\./g,"\\.?").replace(yr,gr)}function br(t){return t.replace(/\./g,"").replace(yr," ").toLowerCase()}function wr(t,e){return null===t?null:{regex:RegExp(t.map(kr).join("|")),deser:([i])=>t.findIndex((t=>br(i)===br(t)))+e}}function _r(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function Ir(t){return{regex:t,deser:([t])=>t}}const Sr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Or=null;function Tr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Ar(hn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Tr(hn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ki(e),s=Ki(e,"{2}"),n=Ki(e,"{3}"),r=Ki(e,"{4}"),o=Ki(e,"{6}"),a=Ki(e,"{1,2}"),c=Ki(e,"{1,3}"),u=Ki(e,"{1,6}"),l=Ki(e,"{1,9}"),h=Ki(e,"{2,4}"),d=Ki(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return wr(e.eras("short"),0);case"GG":return wr(e.eras("long"),0);case"y":return vr(u);case"yy":case"kk":return vr(h,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",Vr=864e13;function Mr(t){return new as("unsupported zone",`the zone "${t.name}" is not supported`)}function Er(t){return null===t.weekData&&(t.weekData=ps(t.c)),t.weekData}function Dr(t){return null===t.localWeekData&&(t.localWeekData=ps(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Cr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new io({...i,...e,old:i})}function Fr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Lr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function jr(t,e,i){return Fr(Ps(t),e,i)}function Pr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=lr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ps(r);let[c,u]=Fr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function zr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=io.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return io.invalid(new as("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?hn.create(Ui.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Ur(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Vs(t.c.year,i?6:4),e?(s+="-",s+=Vs(t.c.month),s+="-",s+=Vs(t.c.day)):(s+=Vs(t.c.month),s+=Vs(t.c.day)),s}function Hr(t,e,i,s,n,r){let o=Vs(t.c.hour);return e?(o+=":",o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Vs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Vs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Vs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Vs(Math.trunc(-t.o/60)),o+=":",o+=Vs(Math.trunc(-t.o%60))):(o+="+",o+=Vs(Math.trunc(t.o/60)),o+=":",o+=Vs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},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]=Zr[e]);const e=bs(t)||ws(t);if(e)return io.invalid(e);const s=function(t){return eo[t]||(void 0===to&&(to=os.now()),eo[t]=t.offset(to)),eo[t]}(i);[n,r]=jr(t,s,i)}return new io({ts:n,zone:i,loc:s,o:r})}function Qr(t,e,i){const s=!!_s(i.round)||i.round,n=(t,n)=>{t=Cs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function Xr(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let to,eo={};class io{constructor(t){const e=t.zone||os.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new as("invalid input"):null)||(e.isValid?null:Mr(e));this.ts=_s(t.ts)?os.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Is(t.o)&&!t.old?t.o:e.offset(this.ts);s=Lr(this.ts,r),i=Number.isNaN(s.year)?new as("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||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(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=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,Ws(t.weekYear,e,i)),r=Rs(t.weekday,1,7);return s?n?!r&&ls("weekday",t.weekday):ls("week",t.weekNumber):ls("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ss(t.year),i=Rs(t.ordinal,1,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,[Wn,qn],[Un,$n],[Hn,Bn],[Zn,Yn])}(t);return zr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return pn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Dn,Cn])}(t);return zr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return pn(t,[Fn,Pn],[Ln,Pn],[jn,zn])}(t);return zr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Nr(t,e,i);return[s,n,r,o]}(r,t,e);return u?io.invalid(u):zr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return io.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return pn(t,[Gn,qn],[Kn,Qn])}(t);return zr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof as?t:new as(t,e);if(os.throwOnInvalid)throw new 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?Er(this).weekYear:NaN}get weekNumber(){return this.isValid?Er(this).weekNumber:NaN}get weekday(){return this.isValid?Er(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Dr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Dr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Dr(this).weekYear:NaN}get ordinal(){return this.isValid?gs(this.c).ordinal:NaN}get monthShort(){return this.isValid?fr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?fr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?fr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?fr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ps(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Lr(a,r),l=Lr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Cr(this,{ts:a}),Cr(this,{ts:c})]:[this]}get isInLeapYear(){return Fs(this.year)}get daysInMonth(){return js(this.year,this.month)}get daysInYear(){return this.isValid?Ls(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=hn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(os.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=$i(t,os.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=jr(i,e,t)}return Cr(this,{ts:s,zone:t})}return io.invalid(Mr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Cr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=$s(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ks(e,this.loc),n=!_s(e.weekYear)||!_s(e.weekNumber)||!_s(e.weekday),r=!_s(e.ordinal),o=!_s(e.year),a=!_s(e.month)||!_s(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Ye("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Ye("Can't mix ordinal dates with month/day");let l;n?l=vs({...ps(this.c,i,s),...e},i,s):_s(e.ordinal)?(l={...this.toObject(),...e},_s(e.day)&&(l.day=Math.min(js(l.year,l.month),l.day))):l=ys({...gs(this.c),...e});const[h,d]=jr(l,this.o,this.zone);return Cr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Cr(this,Pr(this,lr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=lr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?hn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Rr}toLocaleString(t=ei,e={}){return this.isValid?hn.create(this.loc.clone(e),t).formatDateTime(this):Rr}toLocaleParts(t={}){return this.isValid?hn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Ur(this,r);return o+="T",o+=Hr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Ur(this,"extended"===t):null}toISOWeekDate(){return Wr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Hr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Rr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return lr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(lr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=pr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(io.now(),t,e)}until(t){return this.isValid?dr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||io.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),Qr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Qr(t.base||io.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(io.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(io.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Nr(Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return io.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ui.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(_s(t)||_s(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ui.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?io.invalid(u):zr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ei}static get DATE_MED(){return ii}static get DATE_MED_WITH_WEEKDAY(){return si}static get DATE_FULL(){return ni}static get DATE_HUGE(){return ri}static get TIME_SIMPLE(){return oi}static get TIME_WITH_SECONDS(){return ai}static get TIME_WITH_SHORT_OFFSET(){return ci}static get TIME_WITH_LONG_OFFSET(){return ui}static get TIME_24_SIMPLE(){return li}static get TIME_24_WITH_SECONDS(){return hi}static get TIME_24_WITH_SHORT_OFFSET(){return di}static get TIME_24_WITH_LONG_OFFSET(){return fi}static get DATETIME_SHORT(){return mi}static get DATETIME_SHORT_WITH_SECONDS(){return pi}static get DATETIME_MED(){return vi}static get DATETIME_MED_WITH_SECONDS(){return gi}static get DATETIME_MED_WITH_WEEKDAY(){return yi}static get DATETIME_FULL(){return ki}static get DATETIME_FULL_WITH_SECONDS(){return bi}static get DATETIME_HUGE(){return wi}static get DATETIME_HUGE_WITH_SECONDS(){return _i}}function so(t){if(io.isDateTime(t))return t;if(t&&t.valueOf&&Is(t.valueOf()))return io.fromJSDate(t);if(t&&"object"==typeof t)return io.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function no(t,e){const i=ro,s=io[i(191)](t)[i(185)](e),n=io[i(183)](),r=n[i(186)]({days:1})[i(193)](i(182));let o,a;return s[i(184)](n,i(182))?(o=s[i(193)](i(182))[i(187)](),a=s[i(199)]()):s[i(184)](r,i(182))?(o=r[i(187)](),a=s[i(199)]()):s[i(184)](n,i(194))?(o=s[i(193)](i(194))[i(187)](),a=s[i(190)]||""):s[i(184)](n,i(188))?(o=s[i(193)](i(192))[i(187)](),a=s[i(197)]||""):(o=s[i(193)](i(188))[i(187)](),a=String(s[i(188)])),{startDate:o,localizedPeriodName:a}}function ro(t,e){const i=oo();return(ro=function(t,e){return i[t-=180]})(t,e)}function oo(){const t=["local","hasSame","setLocale","minus","toJSDate","year","46IDGHxD","weekdayLong","fromJSDate","month","startOf","week","3070136OjYgYG","3679495TZGrkI","monthLong","4748702GjsEsl","toRelativeCalendar","5342520FHhAmW","31517cwhOoo","1579044IjotLJ","3901218oyhWpQ","day"];return(oo=function(){return t})()}!function(t){const e=ro,i=t();for(;;)try{if(430596===parseInt(e(201))/1*(-parseInt(e(189))/2)+parseInt(e(180))/3+-parseInt(e(195))/4+parseInt(e(196))/5+parseInt(e(181))/6+parseInt(e(198))/7+-parseInt(e(200))/8)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=["534346uosJyU","setTemplate","find","add","createCollection","_requireRevisionName","removeRevision","revisionViews","123NQTnhC","32807790bPFdgA","span","4667514npNRvG","select","69568otcMpr","3453425TDFrBm","startDate","remove","ck-revision-history-sidebar__time-period__revisions","_revisionActions","ck-revision-history-sidebar__time-period","uiLanguage","setName","delegate","localizedPeriodName","385qqudHX","div","locale","75436uimuoY","ck-revision-history-sidebar__time-period__label","1842300GSDeHB","addRevision"];return(lo=function(){return t})()}function ho(t,e){const i=lo();return(ho=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=ho,i=t();for(;;)try{if(538403===parseInt(e(148))/1+-parseInt(e(146))/2+-parseInt(e(156))/3*(parseInt(e(144))/4)+-parseInt(e(162))/5+-parseInt(e(159))/6+parseInt(e(172))/7*(-parseInt(e(161))/8)+parseInt(e(157))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lo);class fo extends pt.View{[uo(163)];[uo(155)];[uo(166)];[uo(153)];constructor(t,e,i,s){const n=uo;super(t);const r=no(e,this[n(143)][n(168)])[n(171)];this[n(163)]=e,this[n(155)]=this[n(152)](),this[n(166)]=i,this[n(153)]=s,this[n(155)][n(170)](n(160)).to(this),this[n(155)][n(170)](n(169)).to(this),this[n(149)]({tag:n(142),attributes:{class:["ck",n(167)]},children:[{tag:n(158),attributes:{class:["ck",n(145)]},children:[{text:r}]},{tag:n(142),attributes:{class:["ck",n(165)]},children:this[n(155)]}]})}[uo(147)](t){const e=uo,i=new He(this[e(143)],t,this[e(166)],this[e(153)]);this[e(155)][e(151)](i)}[uo(154)](t){const e=uo,i=this[e(155)][e(150)]((e=>e.id===t.id));this[e(155)][e(164)](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=["content","9002biIaOg","880dndRXq","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","1111137fQUlWy","setTemplate","2107312IqtUnl","12668715sILvgb","Revision history","586068ubTxYu","172uZOMoD","14088pAiDYb","span","ck-reset_all","10455990Cqerhb","div","10zWcusb"];return(vo=function(){return t})()}function go(t,e){const i=vo();return(go=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=go,i=t();for(;;)try{if(925969===parseInt(e(408))/1+parseInt(e(414))/2*(-parseInt(e(415))/3)+parseInt(e(410))/4+parseInt(e(420))/5*(parseInt(e(413))/6)+parseInt(e(422))/7*(-parseInt(e(423))/8)+-parseInt(e(411))/9+parseInt(e(418))/10)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(421)]=mt.IconHistory,this[e(409)]({tag:e(419),attributes:{class:["ck",e(417),e(424)]},children:[i,{tag:e(416),attributes:{class:["ck",e(425)]},children:[X(t,e(412))]}]})}}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-=135]})(t,e)}function Io(){const t=["unhighlight","highlight","get","ck-revision-history-sidebar__timeline","removeRevision","1593438jKTugM","2125685ptEqfG","1932502QOZLeJ","4TpHIBp","add","find","12PVScYx","ck-rounded-corners","getTime","ck-disabled","timePeriodViews","revisionSelected","render","ck-reset","isEnabled","delegate","createdAt","selectRevision","startDate","_revisionActions","createCollection","ck-revision-history-sidebar","revisionViews","787470oaWmla","fire","1744JNvqrQ","_revisions","_addRevision","addRevision","303902hDlwTu","highlightRevisions","45054ydoKRL","_getTimePeriodViewByStartDate","map","flat","set","select","remove","setName","_requireRevisionName","setTemplate","26758620jvseUT","bindTemplate","uiLanguage","_removeRevision","div","some","revisionSetName","locale","deselect"];return(Io=function(){return t})()}!function(t){const e=_o,i=t();for(;;)try{if(546760===-parseInt(e(147))/1+-parseInt(e(175))/2+-parseInt(e(141))/3*(-parseInt(e(176))/4)+parseInt(e(174))/5+-parseInt(e(179))/6*(parseInt(e(173))/7)+-parseInt(e(143))/8*(parseInt(e(149))/9)+parseInt(e(159))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class So extends pt.View{[wo(183)];[wo(144)];[wo(137)];[wo(157)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(160)];this[n(183)]=this[n(138)](),this[n(183)][n(188)](n(154)).to(this),this[n(183)][n(188)](n(156)).to(this),this[n(144)]=e,this[n(137)]=i,this[n(157)]=s,this.on(n(154),((t,e)=>{const i=n;this[i(142)](i(184),e)})),this.on(n(156),((t,e)=>{const i=n;this[i(142)](i(165),e)})),this[n(153)](n(187),!1),this[n(158)]({tag:n(163),attributes:{class:["ck",n(186),n(180),n(139)]},children:[new yo(t),{tag:n(163),attributes:{class:["ck",n(171),r.if(n(187),n(182),(t=>!t))]},children:this[n(183)]}]})}[wo(185)](){const t=wo;super[t(185)]();for(const e of this[t(144)])this[t(145)](e);this[t(144)].on(t(177),((e,i)=>{this[t(145)](i)})),this[t(144)].on(t(155),((e,i)=>{this[t(162)](i)}))}get[wo(140)](){const t=wo;return this[t(183)][t(151)]((e=>e[t(140)][t(151)]((t=>t))))[t(152)]()}[wo(135)](t){const e=wo;for(const i of this[e(140)])t&&t.id===i.id?i[e(154)]():i[e(167)]()}[wo(148)](t){const e=wo;for(const i of this[e(140)])t[e(164)]((({id:t})=>t===i.id))?i[e(169)]():i[e(168)]()}[wo(145)](t){const e=wo,i=no(t[e(189)],this[e(166)][e(161)])[e(136)];let s=this[e(183)][e(170)](0);s&&s[e(136)][e(181)]()===i[e(181)]()||(s=new fo(this[e(166)],i,this[e(137)],this[e(157)]),this[e(183)][e(177)](s)),s[e(146)](t)}[wo(162)](t){const e=wo,i=no(t[e(189)],this[e(166)][e(161)])[e(136)];this[e(150)](i)[e(172)](t)}[wo(150)](t){const e=wo;return this[e(183)][e(178)]((i=>i[e(136)][e(181)]()===t[e(181)]()))}}const Oo=To;function To(t,e){const i=Ao();return(To=function(t,e){return i[t-=449]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(466148===parseInt(e(471))/1+-parseInt(e(529))/2*(parseInt(e(491))/3)+-parseInt(e(508))/4+-parseInt(e(503))/5*(-parseInt(e(451))/6)+parseInt(e(467))/7*(parseInt(e(455))/8)+parseInt(e(462))/9*(-parseInt(e(464))/10)+parseInt(e(472))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ao);class xo extends U.Plugin{[Oo(484)];[Oo(460)];[Oo(482)];static[Oo(479)]=[Oo(465),Oo(477),Oo(523)];static[Oo(514)]=function(){const t=Oo;return{compareAgainstSelected:{name:t(509),action:({plugins:e},i)=>{const s=t,n=e[s(474)](ee),r=n[s(500)];let o=n[s(457)][s(518)],a=i.id;r[s(498)](o)>r[s(498)](a)&&([o,a]=[a,o]),n[s(483)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(474)](ee);return!(n[s(500)][s(502)](n[s(457)])[s(516)]>2||i[s(475)])}},restoreRevision:{name:t(492),action:(e,{id:i})=>{const s=t;e[s(512)][s(474)](s(478))[s(480)](i)},isVisible:({plugins:e},i)=>!!e[t(474)](ee)[t(500)][t(530)](i.id)},nameRevision:{name:t(497),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(474)](ee),o=r[n(500)][n(456)](i);r[n(483)](i,o),s[n(505)](),s[n(495)][n(513)]()}}}}();static get[Oo(494)](){return Oo(489)}static get[Oo(504)](){return!0}static get[Oo(450)](){return!0}static get[Oo(531)](){return[ee]}constructor(t){const e=Oo;super(t),this[e(484)]=t[e(488)][e(474)](ee),this[e(460)]=this[e(484)][e(500)],this[e(482)]=null}[Oo(515)](){const t=Oo,e=this[t(460)][t(452)],i=this[t(481)](),s=this[t(449)][t(512)][t(474)](t(517));this[t(482)]=new So(this[t(449)][t(525)],e,i,this[t(449)][t(512)][t(474)](t(521))),this[t(482)].on(t(469),this[t(454)][t(528)](this)),this[t(482)].on(t(459),this[t(486)][t(528)](this)),this[t(482)][t(528)](t(476)).to(this[t(484)]),this[t(482)][t(510)].on(t(519),((e,i)=>{const s=t;i[s(463)].on(s(519),((t,e)=>{const i=s;e[i(528)](i(476),i(458)).to(this[i(484)])}))})),this[t(482)][t(496)](),this[t(501)](this[t(449)][t(493)],t(532),this[t(499)][t(528)](this)),this[t(501)](this[t(484)],t(520),this[t(490)][t(528)](this)),s[t(468)](this[t(482)][t(487)])}[Oo(511)](){const t=Oo;this[t(482)][t(487)][t(526)](),this[t(482)][t(511)]()}[Oo(499)](){const t=Oo,e=this[t(460)][t(506)](0);if(e){const i=this[t(460)][t(456)](e.id);this[t(484)][t(483)](e,i)}}[Oo(454)](t,e){const i=Oo,s=this[i(460)][i(506)](e.id),n=this[i(460)][i(456)](s.id);this[i(484)][i(483)](s,n)}[Oo(486)](t,e){const i=Oo;this[i(460)][i(506)](e.id)[i(473)](e[i(466)])}[Oo(490)](t,e,i){const s=Oo,n=this[s(460)][s(502)](i);n[s(516)]>2?(this[s(482)][s(507)](n),this[s(482)][s(470)](null)):(this[s(482)][s(507)]([]),this[s(482)][s(470)](n[0]))}[Oo(481)](){const t=Oo,e=this[t(449)],i=xo[t(514)],s=e[t(512)][t(474)](t(453))||xo[t(479)];if(s[t(516)])return s[t(485)]((s=>{const n=t,r=n(524)==typeof s?Object[n(461)]({},i[s]):s;return r[n(527)]=r[n(527)][n(528)](this,e),r[n(522)]&&(r[n(522)]=r[n(522)][n(528)](this,e)),r}))}}const No=xo;function Ao(){const t=["ready","editor","isPremiumPlugin","300SZVJNm","_revisions","revisionHistory.revisionActions","_handleRevisionSelected","681176rEtzjS","getEarlierVisibleRevision","diff","isReady","revisionSetName","_revisionsRepository","assign","27ZKBxrn","revisionViews","1216330WlDKVg","compareAgainstSelected","name","21LARADW","appendChild","revisionSelected","selectRevision","818534LJFReA","6513793fjviIE","setName","get","isSelected","isEnabled","restoreRevision","revisionHistory","defaultRevisionActions","restoreRevisionCallback","_createRevisionActions","_sidebarView","compare","_revisionViewer","map","_handleRevisionSetName","element","plugins","RevisionsSidebar","_handleDiffChange","21pesPRu","Restore this revision","data","pluginName","fieldView","render","Name this revision","getIndex","_handleEditorDataReady","repository","listenTo","getRevisionsInDiff","1310jqmEth","isOfficialPlugin","focus","getRevision","highlightRevisions","2638920srMNBa","Compare against selected","timePeriodViews","destroy","config","select","availableRevisionActions","init","length","revisionHistory.viewerSidebarContainer","newRevisionId","add","change:diff","revisionHistory.requireRevisionName","isVisible","nameRevision","string","locale","remove","action","bind","53846PNzLUm","getLaterVisibleRevision","requires"];return(Ao=function(){return t})()}function Ro(t,e){const i=Mo();return(Ro=function(t,e){return i[t-=381]})(t,e)}const Vo=Ro;function Mo(){const t=["viewportTopOffset","isFocused","editing","attachDomRoot","_initToolbar","_toolbarConfig","2975580pkcrwH","ready","document","_view","fillFromConfig","detachDomRoot","bind","limiterElement","26597424ITbwnb","restore","element","stickyPanel","name","rootName","26425wvdnBV","editor","destroy","3777654WXZTPs","init","get","1154668mAzhAr","5uknLKf","viewportOffset","_elementReplacer","setEditableElement","fire","view","2198147vEVoRo","8473638krDuqu","addToolbar","replace","render","isActive","editable","toolbar","focusTracker","config","getRoot","componentFactory"];return(Mo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(833532===-parseInt(e(398))/1+parseInt(e(384))/2+parseInt(e(401))/3+-parseInt(e(404))/4+parseInt(e(405))/5*(parseInt(e(412))/6)+parseInt(e(411))/7+-parseInt(e(392))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends pt.EditorUI{[Vo(387)];[Vo(383)];[Vo(407)];get[Vo(410)](){return this[Vo(387)]}constructor(e,i){const s=Vo;super(e),this[s(387)]=i,this[s(383)]=(0,pt.normalizeToolbarConfig)(e[s(420)][s(403)](s(418))),this[s(407)]=new t.ElementReplacer}get[Vo(394)](){const t=Vo;return this[t(410)][t(394)]}[Vo(402)](t){const e=Vo,i=this[e(399)],s=this[e(410)],n=i[e(425)][e(410)],r=s[e(417)],o=n[e(386)][e(421)]();r[e(396)]=o[e(397)],s[e(415)]();const a=r[e(394)];this[e(408)](r[e(396)],a),s[e(417)][e(390)](e(424)).to(this[e(419)]),n[e(381)](a),this[e(407)][e(414)](t,this[e(394)]),this[e(382)](),this[e(409)](e(385))}[Vo(400)](){const t=Vo;super[t(400)]();const e=this[t(410)],i=this[t(399)][t(425)][t(410)];this[t(407)][t(393)](),i[t(389)](e[t(417)][t(396)]),e[t(400)]()}[Vo(382)](){const t=Vo,e=this[t(410)];e[t(395)][t(390)](t(416)).to(this[t(419)],t(424)),e[t(395)][t(391)]=e[t(394)],e[t(395)][t(390)](t(423)).to(this,t(406),(({top:t})=>t)),e[t(418)][t(388)](this[t(383)],this[t(422)]),this[t(413)](e[t(418)])}}var Do=i(161),Co={attributes:{"data-cke":!0}};Co.setAttributes=It(),Co.insert=wt().bind(null,"head"),Co.domAPI=kt(),Co.insertStyleElement=Ot();gt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;var Fo=Lo;function Lo(t,e){var i=Po();return(Lo=function(t,e){return i[t-=396]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(934581===-parseInt(e(415))/1*(-parseInt(e(399))/2)+-parseInt(e(406))/3+-parseInt(e(407))/4+parseInt(e(396))/5*(-parseInt(e(412))/6)+-parseInt(e(403))/7+parseInt(e(400))/8*(parseInt(e(401))/9)+parseInt(e(397))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends pt.BoxedEditorUIView{[Fo(413)];[Fo(404)];[Fo(408)];get[Fo(411)](){return this[Fo(413)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(404)]=new pt.StickyPanelView(t),this[s(408)]=new pt.ToolbarView(t,{shouldGroupWhenFull:i[s(410)]}),this[s(413)]=new pt.InlineEditableUIView(t,e)}[Fo(398)](){var t=Fo;super[t(398)](),this[t(404)][t(414)][t(409)](this[t(408)]),this[t(405)][t(409)](this[t(404)]),this[t(402)][t(409)](this[t(411)])}}function Po(){var t=["2855404FcxJGA","toolbar","add","shouldToolbarGroupWhenFull","editable","4870038mkQWiw","_editable","content","99637JCKmFs","5vgFwsP","26405860cOlhjd","render","8PFKBwn","70264QfpGjX","1161tgLGTo","main","8647366OLSkoY","stickyPanel","top","1430094olMyAU"];return(Po=function(){return t})()}const zo=Uo;function Wo(){const t=["model","230myNsXG","get","98088nxtlZP","create","editing","fire","locale","8gMzypD","data","sourceElement","init","5304lBWKic","_ui","initPlugins","283789itCRwm","destroy","3795eNhbSD","config","createRoot","document","ready","initialData","102zMreLJ","1777473bImLkG","view","165563hHAaib","5901371BOwVOG","updateSourceElement","6564432xscFYc","2QhYzCE"];return(Wo=function(){return t})()}function Uo(t,e){const i=Wo();return(Uo=function(t,e){return i[t-=399]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(446828===parseInt(e(406))/1*(parseInt(e(410))/2)+-parseInt(e(403))/3*(parseInt(e(414))/4)+-parseInt(e(428))/5*(parseInt(e(423))/6)+parseInt(e(407))/7*(parseInt(e(419))/8)+-parseInt(e(404))/9+-parseInt(e(412))/10*(-parseInt(e(426))/11)+parseInt(e(409))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Ho extends((0,U.ElementApiMixin)(U.Editor)){[zo(424)];get ui(){return this[zo(424)]}constructor(t,e){const i=zo;super(e),this[i(421)]=t,this[i(411)][i(400)][i(399)]();const s=new jo(this[i(418)],this[i(416)][i(405)],{shouldToolbarGroupWhenFull:!0});this[i(424)]=new Eo(this,s)}[zo(427)](){const t=zo;return this[t(408)](),this.ui[t(427)](),super[t(427)]()}static async[zo(415)](t,e){const i=zo,s=new this(t,e);return await s[i(425)](),await s.ui[i(422)](t),await s[i(420)][i(422)](s[i(429)][i(413)](i(402))||""),s[i(417)](i(401)),s}}const Zo=qo;function qo(t,e){const i=Yo();return(qo=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=qo,i=t();for(;;)try{if(302727===parseInt(e(319))/1*(parseInt(e(320))/2)+parseInt(e(426))/3+-parseInt(e(395))/4*(parseInt(e(339))/5)+-parseInt(e(401))/6+parseInt(e(428))/7*(parseInt(e(312))/8)+-parseInt(e(376))/9+-parseInt(e(393))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);const $o=[Zo(369),Zo(353)];class Bo extends U.Plugin{[Zo(300)];static get[Zo(380)](){return Zo(382)}static get[Zo(365)](){return!0}static get[Zo(417)](){return!0}constructor(t){const e=Zo;function i(t){const e=qo;return t[e(341)]((t=>String[e(447)](t)))[e(379)]("")}super(t),this[e(300)]=e(391),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function Yo(){const t=["_recalculatePageBreaks","243SJRkXM","4936WQqCxb","_viewerEditor","_update","closeRevisionViewerCallback","restoreRevision","create","none","update","name","element","RevisionViewer","Restored","change","getRevisionDocumentData","_showRevisionViewer","Autosave","revisionHistory.viewerEditorElement","set","display","2448365njCVyO","addRevisionData","map","has","from","view","repository","getRoot","restrictedEditingException","PaginationLookup","save","catch","removeAttribute","roots","RestrictedEditingMode","_getRevisionViewerEditorConfig","remove","revisionHistory.closeRevisionViewerCallback","enqueueChange","isAttached","uiLanguage","isOpen","RevisionHistory","isReadOnly","createdAt","translations","isOfficialPlugin","Dialog","block","getUser","RevisionHistoryUI","refreshVisibility","getRevisions","toVersion","rootName","_restoreRevision","adapter","2236230MeLbaX","revision-history-missing-configuration","isRevisionViewerOpen","join","pluginName","define","RevisionViewerIntegration","then","getRevisionRootsAttributes","RevisionsRepository","toJSON","changesNavigation","locale","users","config","end","_enhanceCloseRevisionViewerCallback","2897540fwmpyj","revisionHistory.restoreRevisionCallback","4UqDvfr","_enhanceShowRevisionViewerCallback","document","parse","DocumentOutlineUI","toLocaleDateString","447000HSngOV","removeMarker","exitToEditing","numeric","destroy","revisionHistory.editorContainer","lazyRoots","RevisionTracker","hide","revisionHistory.requireRevisionName","plugins","saveRevision","requires","Users","data","selection","isPremiumPlugin","style","addRoot","disableReadOnlyMode","bind","getRevision","setSelection","$graveyard","DocumentOutline","770943rXepTH","removeSelectionAttribute","7MHsauw","fromVersion","insert","detachRoot","revision-history-viewer-opened","showRevisionViewerCallback","isReady","RevisionHistoryUtils","commands","createRangeIn","loadRevisionData","getMarkersGroup","getAttributeKeys","init","enableReadOnlyMode","creator","toLocaleTimeString","revisionHistory.showRevisionViewerCallback","editor","fromCharCode","revisionHistory.viewerContainer","keys","refreshPositioning","revisionHistory","result","get","error","indexOf","model","isEnabled","markers","setAttribute","addUser","_cleanUp","toolbar","isAnonymous","4387352jgQUCS","long","_closeRevisionViewer","Annotations","push","includes"];return(Yo=function(){return t})()}class Jo extends U.Plugin{[Zo(321)];static get[Zo(380)](){return Zo(361)}static get[Zo(365)](){return!0}static get[Zo(417)](){return!0}static get[Zo(413)](){return[ct,Lt]}constructor(e){const i=Zo;if(super(e),!this[i(446)][i(390)][i(301)](i(299)))throw new t.CKEditorError(i(377),this);this[i(321)]=null,this[i(337)](i(378),!1),this[i(446)][i(390)][i(381)](i(445),(t=>this[i(334)]({...t,translations:this[i(446)][i(388)][i(364)]}))),this[i(446)][i(390)][i(381)](i(356),(t=>this[i(314)](t))),this[i(446)][i(390)][i(381)](i(394),(t=>this[i(374)](t))),this[i(446)][i(390)][i(381)](i(410),!1),this[i(396)](),this[i(392)]()}set[Zo(375)](t){const e=Zo;this[e(446)][e(411)][e(301)](e(408))[e(375)]=t}get[Zo(375)](){const t=Zo;return this[t(446)][t(411)][t(301)](t(408))[t(375)]}[Zo(340)](t){const e=Zo;return this[e(446)][e(411)][e(301)](e(408))[e(340)](t)}[Zo(422)](t){const e=Zo;return this[e(446)][e(411)][e(301)](e(385))[e(422)](t)}[Zo(371)](t){const e=Zo;return this[e(446)][e(411)][e(301)](e(385))[e(371)](t||{toJSON:!1})}[Zo(354)](){const e=Zo,i=this[e(446)],s=(0,H.sanitizeEditorConfig)(i,$o),n=i[e(411)][e(301)](e(408)),r=i[e(411)][e(301)](e(414))[e(389)];return s[e(310)]=[e(403),e(324),e(387)],delete s[e(407)],s[e(411)][e(316)](Bo,ee,be,class extends U.Plugin{static get[e(413)](){return[ee,e(414)]}[e(441)](){const s=e,o=this[s(446)][s(411)][s(301)](s(414));for(const t of r)t[s(311)]||o[s(368)](t.id)||o[s(308)](t);const a=n[s(345)][s(371)]();let c=null;const u=this[s(446)][s(411)][s(301)](s(330));u[s(375)]=n[s(375)],u[s(421)](s(305)).to(n),this[s(446)][s(436)][s(301)](s(324))[s(421)](s(305)).to(i,s(362),(t=>!t));for(const e of a){const i=null===e[s(443)];if(i&&e[s(372)]===e[s(429)])continue;const r=e[s(386)]();u[s(340)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(322)](r,o);else if(!o){const e=a[u(386)]();e.id=(0,t.uid)(),n[u(412)](e,a[u(372)])[u(383)]((t=>{c=t}))}}else e[u(322)](r,o)}))}}},No),s}[Zo(396)](){const t=Zo,e=this[t(446)][t(390)][t(301)](t(299))[t(433)];this[t(446)][t(390)][t(337)](t(445),(async()=>{const i=t;this[i(446)][i(442)](i(432));const s=this[i(446)][i(411)][i(301)](i(408));if(this[i(446)][i(411)][i(342)](i(335))){const t=this[i(446)][i(411)][i(301)](i(335));await t[i(349)]()}else await s[i(327)]();if(this[i(446)][i(411)][i(342)](i(348))&&this[i(446)][i(411)][i(301)](i(348))[i(318)](),this[i(446)][i(411)][i(342)](i(366))){const t=this[i(446)][i(411)][i(301)](i(366));t[i(360)]&&t[i(409)]()}const n=this[i(354)]();return e(n)[i(383)]((t=>{const e=i;return this[e(321)]=t,this[e(446)][e(411)][e(342)](e(315))&&this[e(446)][e(411)][e(301)](e(315))[e(370)](),this[e(446)][e(411)][e(342)](e(425))&&(this[e(446)][e(411)][e(301)](e(399))[e(344)][e(329)][e(418)][e(338)]=e(326)),t}))[i(350)]((t=>(console[i(302)](t),this[i(446)][i(420)](i(432)),null)))}))}[Zo(392)](){const t=Zo,e=this[t(446)][t(390)][t(301)](t(299))[t(323)];this[t(446)][t(390)][t(337)](t(356),(()=>(this[t(446)][t(411)][t(342)](t(348))&&this[t(446)][t(411)][t(301)](t(348))[t(318)](),this[t(446)][t(411)][t(342)](t(425))&&(this[t(446)][t(411)][t(301)](t(399))[t(344)][t(329)][t(418)][t(338)]=""),this[t(321)][t(411)][t(301)](t(330))[t(309)](),e(this[t(321)])[t(383)]((()=>{const e=t;if(this[e(446)][e(420)](e(432)),this[e(321)]=null,this[e(446)][e(411)][e(342)](e(315))){const t=this[e(446)][e(411)][e(301)](e(315));t[e(370)](),t[e(450)]()}})))))}[Zo(334)](t){const e=Zo,i=this[e(446)][e(390)][e(301)](e(406)),s=this[e(446)][e(390)][e(301)](e(448)),n=this[e(446)][e(390)][e(301)](e(336));return Ho[e(325)](n,t)[e(383)]((t=>(s[e(418)][e(338)]=e(367),i[e(418)][e(338)]=e(326),this[e(378)]=!0,t)))}[Zo(314)](t){const e=Zo,i=this[e(446)][e(390)][e(301)](e(406));return this[e(446)][e(390)][e(301)](e(448))[e(418)][e(338)]=e(326),i[e(418)][e(338)]="",this[e(378)]=!1,t[e(405)]()}async[Zo(374)](t){const e=Zo,i=this[e(446)],s=this[e(321)][e(411)][e(301)](e(330)),n=i[e(411)][e(301)](e(408)),r=i[e(411)][e(301)](e(435)),o=s[e(345)][e(422)](t);let a,c,u;try{await r[e(438)](o,this[e(375)]),a=r[e(333)](o),c=r[e(384)](o)}catch(t){return void console[e(302)](t)}i[e(304)][e(332)]((t=>{const s=e;for(const e of Array[s(343)](i[s(304)][s(306)][s(439)](s(347))))t[s(402)](e)})),s[e(434)]=!1,i[e(304)][e(357)]((t=>{const s=e;t[s(423)](null),t[s(427)](i[s(304)][s(397)][s(416)][s(440)]());const n=Object[s(449)](a);for(const e of i[s(304)][s(397)][s(352)])s(424)!=e[s(373)]&&e[s(358)]()&&!n[s(317)](e[s(373)])&&t[s(431)](e);for(const e of n){let n=i[s(304)][s(397)][s(346)](e);n&&n[s(358)]()||(n=t[s(419)](e));const r=c[e],o=Object[s(449)](r),u=a[e];for(const e of n[s(440)]())o[s(317)](e)||t[s(351)](e,n);for(const i of o)t[s(307)](i,c[e][i],n);t[s(355)](t[s(437)](n)),t[s(430)](i[s(415)][s(398)](u,n),n,0)}}));const l=X(i[e(388)],e(331));return u=o[e(328)]?-1==o[e(328)][e(303)](l)?l+": "+o[e(328)]:o[e(328)]:l+": "+o[e(363)][e(400)](i[e(388)][e(359)],{month:e(313),day:e(404)})+", "+o[e(363)][e(444)](i[e(388)][e(359)],{hour:e(404),minute:e(404)}),await n[e(412)]({name:u}),s[e(434)]=!0,i[e(390)][e(301)](e(299))[e(323)]()}}function Go(){var t=["16795878yPrYjL","6730mUYpnR","1633valMdJ","14AMDVie","2351568rGzyGU","15327hiClII","40Qebvxf","464VeNzbA","6745256fvfZip","327776dLjWCe","4321554LMRZcc"];return(Go=function(){return t})()}function Ko(t,e){var i=Go();return(Ko=function(t,e){return i[t-=351]})(t,e)}!function(t){for(var e=Ko,i=t();;)try{if(840124===-parseInt(e(352))/1*(-parseInt(e(357))/2)+parseInt(e(354))/3+parseInt(e(359))/4*(parseInt(e(356))/5)+parseInt(e(360))/6*(-parseInt(e(353))/7)+parseInt(e(358))/8+-parseInt(e(355))/9*(-parseInt(e(351))/10)+-parseInt(e(361))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();