@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250610.0 → 0.0.0-nightly-20250613.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 (184) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  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.d.ts +4 -1
  155. package/src/index.js +1 -1
  156. package/src/revision.js +2 -2
  157. package/src/revisiondiff.js +1 -1
  158. package/src/revisionhistory.d.ts +0 -37
  159. package/src/revisionhistory.js +1 -1
  160. package/src/revisionhistoryutils.js +1 -1
  161. package/src/revisionsrepository.js +1 -1
  162. package/src/revisiontracker.d.ts +1 -6
  163. package/src/revisiontracker.js +1 -1
  164. package/src/revisionviewer.js +1 -1
  165. package/src/ui/revision/createrevisionactionsdropdown.d.ts +2 -2
  166. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  167. package/src/ui/revision/revisionauthorview.js +1 -1
  168. package/src/ui/revision/revisionnameview.js +1 -1
  169. package/src/ui/revision/revisionview.js +2 -2
  170. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  171. package/src/ui/revision/subrevisionview.js +1 -1
  172. package/src/ui/revision/utils.js +1 -1
  173. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  174. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  175. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  176. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  177. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  178. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  179. package/src/ui/revisionssidebar/utils.js +1 -1
  180. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  181. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  182. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  183. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  184. 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:0s;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,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>nt,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>_e,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>he});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)}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const M=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?: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 E.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(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 W(t,e,i){return function(t,e,i,s){if(null==t&&!P(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<n.length&&null!=r;t++){const e=j(n[t]);let o;if(t===n.length-1)o=i(r[e]);else{const i=r[e],a=s(i);o=void 0!==a?a:P(i)?i:D(n[t+1])?[]:{}}M(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?U(e)?Z(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=j(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 H(t,e){const i=Z(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 $=B;function q(){const t=["model","name","14zhHrSs","setName","2016258rtIXsq","map","authorsIds","createdAt","13242200QtBWpP","toJSON","diffData","fromVersion","4608753zMtRBs","_update","removeAttribute","set","fire","3496684VXMeBM","setAttribute","creatorId","24191577NyPDho","creator","1479690fhkseC","1406496elrFZx","attributes","authors","toVersion","5HNYfuF"];return(q=function(){return t})()}function B(t,e){const i=q();return(B=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(885621===parseInt(e(316))/1+parseInt(e(315))/2+parseInt(e(305))/3+-parseInt(e(310))/4*(-parseInt(e(320))/5)+-parseInt(e(325))/6*(-parseInt(e(323))/7)+-parseInt(e(301))/8+-parseInt(e(313))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends((0,t.ObservableMixin)()){id;[$(314)];[$(318)];[$(303)];[$(319)];[$(304)];[$(321)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(314)]=e[i(314)]||null,this[i(318)]=e[i(318)]||[],this[i(303)]=e[i(303)]||null,this[i(319)]=e[i(319)]||0,this[i(304)]=e[i(304)]||0,this[i(308)](i(322),e[i(322)]||""),this[i(308)](i(300),e[i(300)]||new Date),this[i(308)](i(317),e[i(317)]||{})}[$(324)](t){this[$(306)]({name:t})}[$(311)](t,e){const i=$,s=A(this[i(317)]);W(s,t,e),this[i(306)]({attributes:s})}[$(307)](t){const e=$,i=A(this[e(317)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return H(t,e);if("number"==typeof e?e=j(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]&&U(e))return H(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(306)]({attributes:i})}[$(306)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(322),i(300),i(303),i(318),i(317),i(319),i(304),i(312)];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(318)]&&(n[i(299)]=n[i(318)][i(326)]((t=>t.id)),delete n[i(318)]),this[i(309)](i(306),n,e))}[$(302)](){const t=$;return{id:this.id,name:this[t(322)],creatorId:this[t(314)]?this[t(314)].id:null,authorsIds:this[t(318)][t(326)]((t=>t.id)),diffData:this[t(303)],createdAt:this[t(300)],attributes:this[t(317)],fromVersion:this[t(304)],toVersion:this[t(319)]}}}var J=i(782),G=i(211),K=i(783);const X=tt;function Q(){const t=["length","_revisions","earlier","push","map","getUser","isPremiumPlugin","editor","pluginName","join","createRevision","later","getRevisionsIterator","attributes","plugins","RevisionsRepository","Users","getIndex","addRevision","oldRevisionId","getRevisionsInDiff","1406069RsnFzC","creatorId","getRevisions","get","newRevisionId","isOfficialPlugin","getRevision","reverse","createdAt","isNaN","data","getLaterVisibleRevision","714628mdTHsR","2818137RQGjip","href","diffData","fromCharCode","authorsIds","790XJJfLz","6412kqpMyO","name","add","toVersion","13012784qHONwN","afterInit","1751380xGQwoS","666250IpfINT","requires","from","fromVersion","30EepJkA","getEarlierVisibleRevision","toJSON","99LEzivY"];return(Q=function(){return t})()}function tt(t,e){const i=Q();return(tt=function(t,e){return i[t-=147]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(839112===-parseInt(e(174))/1+-parseInt(e(160))/2+-parseInt(e(161))/3+parseInt(e(167))/4*(parseInt(e(166))/5)+-parseInt(e(178))/6*(parseInt(e(148))/7)+parseInt(e(171))/8+parseInt(e(181))/9*(parseInt(e(173))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class et extends J.Plugin{[X(183)];static get[X(175)](){return[G.Users]}static get[X(190)](){return X(197)}static get[X(153)](){return!0}static get[X(188)](){return!0}get[X(182)](){const t=X;return this[t(183)][t(182)]}constructor(e){const i=X;super(e),this[i(183)]=new t.Collection}[X(172)](){!async function(e){const i=k([76,67,48,68,66,97,122,117,83,49,104,54,109,108,79,89,101,52,119,102,99,105,106,70,110,103,74,71,55,57,111,50,69,77,86,81,114,112,88,113,98,107,100,80,53,65,75,118,90,85,73,121,72,51,116,120,115,78,84,87,56,82]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(157)](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([76]);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=tt;return t[e(186)]((t=>String[e(164)](t)))[e(191)]("")}!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:1749513600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,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(162)]);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)}[X(192)](t){const e=X,i=this[e(189)][e(196)][e(151)](e(198));return new Y({id:t.id,name:t[e(168)],creator:t[e(149)]?i[e(187)](t[e(149)]):null,diffData:t[e(163)]||t[e(158)],authors:t[e(165)][e(186)]((t=>i[e(187)](t))),createdAt:new Date(t[e(156)]),attributes:t[e(195)],fromVersion:t[e(177)],toVersion:t[e(170)]})}[X(200)](t,e=0){const i=X;this[i(183)][i(169)](t,e)}[X(154)](t){const e=X;return this[e(183)][e(151)](t)}[X(150)](t={toJSON:!1}){const e=X,i=Array[e(176)](this[e(183)]);return i[e(155)](),t[e(180)]?i[e(186)]((t=>t[e(180)]())):i}[X(199)](t){const e=X;return this[e(183)][e(199)](t)}[X(179)](t){const e=X,[,i]=this[e(194)](t,{direction:e(184)});return i}[X(159)](t){const e=X,[,i]=this[e(194)](t,{direction:e(193)});return i}[X(147)](t){const e=X,i=[];for(const s of this[e(194)](t[e(152)]))if(i[e(185)](s),s.id===t[e(201)])break;return i}*[X(194)](t,{direction:e=X(184),filter:i=()=>!0}={}){const s=X,n=s(184)===e?1:-1;let r=this[s(183)][s(151)](t),o=this[s(199)](r);for(yield r;r;){if(o+=n,r=this[s(154)](o),!r)return;i(r)&&(yield r)}}}const it=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=203]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(764155===parseInt(e(247))/1+parseInt(e(208))/2+-parseInt(e(223))/3+parseInt(e(266))/4*(parseInt(e(203))/5)+parseInt(e(251))/6*(parseInt(e(252))/7)+parseInt(e(254))/8+-parseInt(e(227))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class nt extends J.Plugin{static get[it(268)](){return it(225)}static get[it(230)](){return!0}static get[it(220)](){return!0}[it(244)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[it(222)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[it(241)](t,e){const i=it;if(t[i(207)]||!e)return;const s=this[i(229)][i(250)][i(269)](i(236)),n=await e[i(272)]({channelId:s,revisionId:t.id});t[i(207)]=n[i(207)]}[it(205)](t){const e=it,i={};for(const s in t[e(207)]){if(t[e(207)][s][e(238)]&&!t[e(207)][s][e(238)][e(258)])continue;const n=this[e(206)](JSON[e(218)](t[e(207)][s][e(246)])),r=this[e(229)][e(271)][e(234)][e(274)],o=new K.ViewDocumentFragment(r,n[e(217)]((t=>this[e(248)](t,!1))));this[e(229)][e(226)][e(213)][e(253)](e(233)),i[s]=this[e(229)][e(226)][e(213)][e(256)](o),this[e(229)][e(226)][e(213)][e(253)](e(267))}return i}[it(204)](t){const e=it,i={};for(const s in t[e(207)])t[e(207)][s][e(238)]&&!t[e(207)][s][e(238)][e(258)]||(i[s]=t[e(207)][s][e(237)]||{});return i}[it(216)](t){const e=it;return this[e(244)][e(269)](t[e(245)])}[it(248)](t,e){const i=it,s=this[i(229)][i(271)][i(234)][i(274)];if(i(259)==typeof t)return new K.ViewText(s,t);{let n,r;r="u"==t[i(231)]||"r"==t[i(231)]?[]:t[i(214)][i(217)]((t=>this[i(248)](t,e)));const o=this[i(222)][i(269)](t[i(231)])||K.ViewElement,a=this[i(229)][i(226)][i(249)][i(221)];if(n=new o(s,t[i(257)],t[i(264)],r),"u"==t[i(231)]&&t[i(214)][0]){const r=t[i(214)][0];if(n[i(260)]=function(t){const e=i,s=t[e(242)](e(215));return s[e(261)]=r,s[e(276)][0]},e){const t=new K.ViewDocumentFragment(s);t[i(228)](n);const e=Array[i(273)](a[i(255)](t,{bind:!1})),r=a[i(232)][i(242)](i(215));r[i(219)](...e),n=Array[i(273)](a[i(270)](r))[0]}}else if("r"==t[i(231)]&&t[i(214)][0]){const r=t[i(214)][0];if(n[i(260)]=function(t){t[i(261)]=r},e){const t=new K.ViewDocumentFragment(s);t[i(228)](n);const e=Array[i(273)](a[i(255)](t,{bind:!1})),r=a[i(232)][i(242)](i(215));r[i(219)](...e);const o=Array[i(273)](a[i(270)](r));o[i(209)]>1?n[i(228)](o):n=o[0]}}if(t[i(235)])for(const[e,s]of t[i(235)])n[i(263)](e,s);const c=void 0===t[i(239)]?null:t[i(239)];return null!==c&&(n[i(240)]=()=>c),n}}[it(275)](t){const e=it,i=JSON[e(218)](t),s=this[e(229)][e(271)][e(234)][e(274)],n=new K.ViewDocumentFragment(s,i[e(217)]((t=>this[e(248)](t,!0))));return this[e(229)][e(226)][e(211)](n)}[it(206)](t){const e=it;return(t=t[e(210)]((t=>!t[e(257)]||e(212)!==t[e(257)]&&e(262)!==t[e(257)])))[e(224)]((t=>{const i=e;i(259)!=typeof t&&(t[i(214)]=this[i(206)](t[i(214)]),t[i(264)]=t[i(264)][i(210)]((t=>!t[0][i(265)](i(243)))))})),t}}function rt(){const t=["revision-end","_setCustomProperty","attributes","startsWith","260DKfhyF","default","pluginName","get","domChildrenToView","editing","getRevision","from","document","_makeModelFromViewString","childNodes","36305vLcJmo","getRevisionRootsAttributes","getRevisionDocumentData","_removeRevisionMarkers","diffData","629970oJRpEN","length","filter","toModel","revision-start","processor","children","div","_getTypeCharForViewElement","map","parse","append","isPremiumPlugin","domConverter","_typeCharToViewClass","4520910womFDA","forEach","RevisionHistoryUtils","data","8351550WPVzUs","_appendChild","editor","isOfficialPlugin","type","domDocument","marked","view","customProperties","collaboration.channelId","attributesAfter","attachChange","fillerOffset","getFillerOffset","loadRevisionData","createElement","data-revision-","_viewClassToTypeChar","constructor","insertions","1372659fBMoIm","_getViewFromDiffObj","htmlProcessor","config","1022346RrmgAD","7GSpREv","useFillerType","6952600FzSoaY","viewChildrenToDom","toData","name","isAttached","string","render","innerHTML"];return(rt=function(){return t})()}function ot(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 at(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 ct(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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(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:return V(t.valueOf(),i.valueOf());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}const A=(s=s??new Map).get(t),M=s.get(i);if(null!=A&&null!=M)return A===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)||!ct(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=>ct(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(!ct(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,s,x)||at(t)&&at(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(!ct(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=ft;function ft(t,e){const i=mt();return(ft=function(t,e){return i[t-=453]})(t,e)}function mt(){const t=["getRevisionDocumentData","finally","get","revision:","sendBufferedUpdates","childCount","PendingActions","attributesBefore","getData","createRevision","expired","_getFromVersion","Initial revision","_bufferedUpdates","editor","_revisionId","getChild","documentFragment","remove","isEqual","vid_end","_startingVersion","createPositionAt","previousPosition","merge","PENDING_ACTION_REVISION_HISTORY","ready","_lastFrom","filter","slice","diffData","newRange","source","getOperation","isEnabled","_getViewJson","1152780PryvPv","bind","invalid","_execute","_isPendingUpdate","pluginName","_getPreviousFrom","config","collaboration.channelId","revisionHistoryLicenseKeyTrialLimit","usageLimit","offsetSize","then","customProperties","range","from","data","_makeModelFromViewString","version","offset","deletion","evaluationLimit","_touched","has","paragraph","_bufferUpdate","_transformMarkers","isOfficialPlugin","afterInit","targetPosition","upcast","affectsData","dataToMarker","hasContent","creator","history","RevisionsRepository","_handleMoveOperation","getRevisionRootsAttributes","_markers","key","position","_pendingAction","loadRevisionData","getChildren","createPositionFromPath","revisionHistoryLicenseKeyUsageLimit","_licenseKeyCheckInterval","getNodeByPath","getAncestors","tableCell","reInit","requires","_getBaseVids","_markChanges","_prepareViewToSave","roots","getMovedRangeStart","oldRange","fromVersion","_applyOperations","push","trialLimit","newValue","toView","getLatestVersion","_utils","domainLimit","max","_handleMarkerOperation","end","_appendChild","_continueCurrentRevision","item","_calculateMetaData","editor-initial-data-replaced-with-revision-data","_handleOperation","revision","clear","sourcePosition","revisionHistoryLicenseKeyValid","createPositionAfter","_fixOperation","attributesAfter","updateRevisions","length","some","authorsIds","_fixPosition","map","rootsAttributes","$text","vid_start","htmlProcessor","startsWith","elementStart","_removeMetaData","locale","3834075dTtJLy","for","featureNotAllowed","init","_startingRevisionId","delete","$graveyard","createElement","isPremiumPlugin","trim","_idsRoots","initial","keepParagraph","marker","getOperations","RevisionHistoryUtils","stringify","innerHTML","update","324360oDYEoL","revisionHistoryLicenseKeyExpired","reinsert","domDocument","element","Users","_addPendingAction","_getTypeCharForViewElement","getFillerOffset","_handleInsertOperation","_handleRootAttributeOperation","model","_source","insertions","find","fromEntries","elementEnd","_handleSplitOperation","start","NEGATIVE_INFINITY","_generateTape","revisionHistoryLicenseKeyEvaluationLimit","baseVersion","getCurrentRevisionId","set","conversion","deletions","plugins","initialData","1884ZyfXHz","_saveMetaData","type","setRevisionData","createPositionBefore","root","_lastTo","includes","_removePendingAction","_diffRoots","_loadState","revisionHistoryLicenseKeyDomainLimit","vid","resolve","_reset","changeRootAttribute","5083764pCbTdu","_setConversion","isReady","_update","define","clone","getRevisions","outerHTML","rootName","values","document","_touchedMarkers","createRangeIn","getAttributes","_makeRevision","currentRevision","_initialRevisionId","_touchedRoots","graveyardPosition","getUser","toVersion","getCustomProperties","_getVidAttributeName","attachChange","authors","getTransformedByOperation","shift","_findInsertionIndex","revisionHistory.resumeUnsavedRevision","rawElement","setSource","insertion","creatorId","_authorId","_handleMergeOperation","buildRevisionData","_processRootBeforeSave","_isInit","_createFromRanges","_savedMetaData","domConverter","size","18561872OuomrK","_setAttribute","_fixRange","RevisionHistory","getAttribute","removeRootAttribute","add","sort","splitPosition","string","nodeAfter","_replaceEditorDataWithRevisionData","_insertChild","isAdd","getIndex","markerToData","destroy","_copyMarkers","_handleRootOperation","children","Empty document","keys","addRevisionData","getRange","parent","detachRoot","_showLicenseError","userId","revisionHistoryLicenseKeyInvalid","_loadedStateData","insertionPosition","_cloneOperation","_createCurrentRevision","markers","fillerOffset","getWalker","revisionHistoryLicenseKeyNotAllowed","move","2768reYIYl","getRevision","RealTimeCollaborationClient","_baseIdsRoots","licenseKey","uiElement","reverse","loadState","isAttached","dataDowncast","_diffRootsAttributes","name","path","nodes","_makeIdsRoot","getRoot","addRevision","addRoot","addRootAttribute","insert","_operations","getTime","_revisionDataBuilder","_getState","text","howMany","repository","render","createdAt","_baseRoots","saveRevision","stickiness","split","_baseRootsAttributes","getRootNames","createRange","_createInitialRevision","adapter","$comment","_isAttached","460439iyLGVT","RevisionTracker","_clone"];return(mt=function(){return t})()}!function(t){const e=ft,i=t();for(;;)try{if(589356===-parseInt(e(648))/1+parseInt(e(531))/2+-parseInt(e(677))/3*(parseInt(e(773))/4)+-parseInt(e(629))/5+-parseInt(e(693))/6+parseInt(e(492))/7+parseInt(e(735))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends J.Plugin{[dt(456)];[dt(578)];[dt(708)]=null;[dt(478)];[dt(489)]=null;[dt(474)];[dt(660)];[dt(709)];[dt(508)];[dt(597)];[dt(573)];[dt(603)];[dt(516)];[dt(764)];static get[dt(536)](){return dt(493)}static get[dt(558)](){return!0}static get[dt(637)](){return!0}static get[dt(583)](){return[G.Users,et,nt,J.PendingActions]}constructor(e){const i=dt;super(e),this[i(478)]=this[i(509)][i(675)][i(497)](i(567)),this[i(597)]=this[i(509)][i(675)][i(497)](i(644)),this[i(474)]=new vt(this[i(509)]),this[i(709)]=this[i(509)][i(538)][i(497)](i(539))||i(640),this[i(508)]=new Map,this[i(764)]=null;const s=(0,t.uid)();this[i(660)]={history:this[i(509)][i(659)][i(703)][i(566)],getLatestVersion:()=>Promise[i(690)](this[i(509)][i(659)][i(703)][i(549)]),getCurrentRevisionId:()=>s},this[i(672)](i(695),!1),this[i(672)](i(529),!0),this[i(672)](i(535),!1),this[i(509)][i(538)][i(697)](i(721),!0),this[i(509)][i(673)][i(630)](i(561))[i(563)]({view:i(608)})}[dt(632)](){const t=dt;this[t(694)](),this[t(509)][t(547)].on(t(521),(()=>{const e=t,i=this[e(478)][e(453)](0),s=i&&null===i[e(565)]?i:null;if(this[e(603)]=!!s&&this[e(509)][e(538)][e(497)](e(721)),this[e(509)][e(675)][e(554)](e(454))){const t=this[e(660)][e(671)](),n=this[e(478)][e(453)](t);if(n)this[e(516)]=n[e(590)],this[e(603)]=!1;else{const t=this[e(660)][e(566)][e(472)][e(662)]((t=>!t[e(730)])),n=t?t[e(670)]:this[e(660)][e(566)][e(549)];i?(i[e(713)]<n&&i[e(696)]({toVersion:n}),this[e(603)]?(this[e(660)][e(671)]=()=>s.id,this[e(516)]=s[e(590)]):(this[e(516)]=i[e(713)],this[e(603)]=!1)):(this[e(516)]=n,this[e(603)]=!1)}}else s&&(this[e(509)][e(659)][e(703)][e(566)][e(549)]=Math[e(599)](s[e(713)],this[e(509)][e(659)][e(703)][e(566)][e(549)]),s[e(590)]===s[e(713)]?(0!==s[e(590)]&&(this[e(660)][e(671)]=()=>s.id),this[e(603)]=!1):this[e(603)]&&(this[e(660)][e(671)]=()=>s.id,this[e(516)]=s[e(590)])),this[e(603)]||(this[e(516)]=this[e(509)][e(659)][e(703)][e(549)]);this[e(474)][e(632)](this[e(660)][e(566)]),this[e(488)](this[e(516)]),this[e(767)](this[e(516)]),this[e(489)]&&this[e(499)]()})),this[t(532)](t(695)).to(this,t(535),(t=>!t)),this[t(456)]=this[t(509)][t(538)][t(497)](t(456));const e=this[t(509)];this[t(578)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(611)==r||i(763)==r||i(649)==r||i(688)==r||i(771)==r||i(669)==r||i(540)==r||i(577)==r){delete e[n],s=r,clearInterval(this[i(578)]),this[i(578)]=void 0;break}}i(763)==s&&e[i(761)](i(533)),i(649)==s&&e[i(761)](i(505)),i(688)==s&&e[i(761)](i(598)),i(771)==s&&e[i(761)](i(631),i(738)),i(669)==s&&e[i(761)](i(552)),i(540)==s&&e[i(761)](i(593)),i(577)==s&&e[i(761)](i(541))}),1e3)}async[dt(559)](){const t=dt;if(this[t(478)][t(616)]>0){const e=this[t(478)][t(453)](0),i=await this[t(495)](e),s=await this[t(569)](e);this[t(746)](i,s)}}[dt(751)](){const t=dt;super[t(751)](),this[t(578)]&&clearInterval(this[t(578)])}[dt(723)](t){this[dt(660)]=t}async[dt(647)](){const t=dt,e=await this[t(660)][t(596)]();if(e>this[t(708)][t(713)]){await this[t(687)]();const i=this[t(728)]({revision:this[t(708)],to:e});i[t(717)]=i[t(618)][t(620)]((e=>this[t(509)][t(675)][t(497)](t(653))[t(712)](e))),this[t(708)][t(696)](i)}}async[dt(482)](e={},i=null){const s=dt,n=[];await this[s(687)](),this[s(603)]=!1,i>this[s(708)][s(713)]&&(i=null),null===i&&(i=await this[s(660)][s(596)]());const r=this[s(506)](i),o=this[s(728)]({from:r,to:i});if(this[s(708)][s(713)]<i){const t=this[s(728)]({revision:this[s(708)],from:i,to:i});t[s(717)]=[],t[s(618)]=[],t.id=this[s(708)].id,this[s(708)][s(696)](t,!0),delete t[s(717)],n[s(592)](t)}e[s(725)]=this[s(509)][s(675)][s(497)](s(653)).me.id,e[s(463)]=e[s(463)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(757)](e);n[s(592)](e);const c=this[s(478)][s(749)](a);if(0!==c){const t=this[s(478)][s(453)](c-1);if(t[s(590)]!==i){const r=this[s(474)][s(503)](i,t[s(713)]),o={id:t.id,diffData:r[s(525)],authorsIds:r[s(618)],authors:r[s(618)][s(620)]((t=>this[s(509)][s(675)][s(497)](s(653))[s(712)](t))),fromVersion:i};t===this[s(708)]&&(o[s(480)]=new Date(e[s(480)][s(473)]()+10)),t[s(696)](o,!0),delete o[s(717)],n[s(592)](o)}}if(this[s(489)]){for(const t of n)this[s(556)](t.id,t,!0);this[s(499)]()}return a}[dt(757)](t){const e=dt,i=this[e(478)][e(504)](t);return this[e(489)]&&i.on(e(696),((t,i,s)=>{const n=e;s||(this[n(556)](i.id,i,!0),this[n(499)]())})),this[e(478)][e(468)](i,this[e(720)](i)),i}async[dt(495)](t){const e=dt;return await this[e(597)][e(574)](t,this[e(489)]),this[e(597)][e(495)](t)}async[dt(569)](t){const e=dt;return await this[e(597)][e(574)](t,this[e(489)]),this[e(597)][e(569)](t)}[dt(499)](){const t=dt;if(0===this[t(508)][t(734)])return;if(this[t(535)])return;let e=Array[t(546)](this[t(508)][t(702)]());this[t(508)][t(609)]();for(let i=0;i<e[t(616)];i++){const s=e[i];let n=!1;for(const e of Object[t(756)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(523)]((t=>null!==t)),!e[t(616)])return;for(let i=0;i<e[t(616)];i++){const s=e[i];void 0!==s[t(590)]&&void 0===s[t(713)]&&(s[t(713)]=this[t(478)][t(453)](s.id)[t(713)]),void 0!==s[t(713)]&&void 0===s[t(590)]&&(s[t(590)]=this[t(478)][t(453)](s.id)[t(590)])}const i=this[t(509)][t(538)][t(497)](t(539));this[t(535)]=!0,this[t(654)](),this[t(489)][t(615)](e,i)[t(496)]((()=>{this[t(535)]=!1}))[t(543)]((e=>{const i=t;if(e)for(const t of e)this[i(680)]({id:t.id,createdAt:t[i(480)]});this[i(685)](),this[i(499)]()}))}[dt(728)]({revision:t=null,from:e=null,to:i=null}){const s=dt;e=null!==e?e:t[s(590)],i=null!==i?i:t[s(713)];const n=this[s(474)][s(503)](e,i),r={diffData:n[s(525)],authorsIds:n[s(618)],fromVersion:e,toVersion:i};if(!t||i!==t[s(713)]){const t=i-1,e=this[s(660)][s(566)][s(528)](t);r[s(480)]=e&&e[s(480)]||new Date}if(this[s(764)]&&e===this[s(764)][s(590)])for(const t of this[s(764)][s(717)])r[s(618)][s(684)](t.id)||r[s(618)][s(592)](t.id);return r}[dt(556)](t,e,i){const s=dt;if(this[s(508)][s(554)](t)){const n=this[s(508)][s(497)](t);e=i?{...n,...e}:{...e,...n}}this[s(508)][s(672)](t,e)}[dt(680)](t){const e=dt,i=this[e(478)][e(453)](t.id);if(t[e(480)]&&(t[e(480)]=new Date(t[e(480)])),t[e(618)]){const i=this[e(509)][e(675)][e(497)](e(653));t[e(717)]=t[e(618)][e(620)]((t=>i[e(712)](t)))}i[e(696)](t,!0)}[dt(488)](t){const e=dt,i=this[e(478)][e(453)](this[e(478)][e(616)]-1);if(i)this[e(709)]=i.id;else{const i=!this[e(509)][e(659)][e(703)][e(587)][e(662)]((t=>this[e(509)][e(659)][e(564)](t))),s=this[e(509)][e(675)][e(497)](e(653)).me.id,n=ot(this[e(509)][e(628)],e(i?755:507));this[e(707)]({from:t,to:t,id:this[e(709)],name:n,creatorId:s})}}[dt(767)](t){const e=dt,i=this[e(660)][e(671)]();this[e(708)]=this[e(478)][e(453)](i),this[e(708)]||(this[e(708)]=this[e(707)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(687)](){const t=dt;this[t(603)]&&!this[t(764)]&&(await this[t(597)][t(574)](this[t(708)],this[t(489)]),this[t(474)][t(459)](this[t(708)]),this[t(764)]={fromVersion:this[t(708)][t(590)],authors:this[t(708)][t(717)][t(524)]()})}[dt(746)](e,i){const s=dt;let n=this[s(509)][s(538)][s(497)](s(676)),r=this[s(509)][s(538)][s(497)](s(621));if(void 0===n){n={};for(const t of this[s(509)][s(659)][s(703)][s(486)]())n[t]=""}if(s(744)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(509)][s(659)][s(703)][s(486)]())r[t]={}}let o=!1;const a=Object[s(756)](n),c=Object[s(756)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(638)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[s(756)](r[t])[s(616)]>0){o=!0;break}}o||(o=c[s(617)]((t=>!this[s(509)][s(659)][s(703)][s(467)](t)))),o&&(0,t.logWarning)(s(606),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(509)][s(538)][s(672)](s(676),e),this[s(509)][s(538)][s(672)](s(621),i)}[dt(654)](){const t=dt;if(!this[t(573)]){const e=this[t(509)][t(675)][t(497)](t(501));this[t(573)]=e[t(741)](ot(this[t(509)][t(628)],t(520)))}}[dt(685)](){const t=dt;this[t(573)]&&(this[t(509)][t(675)][t(497)](t(501))[t(513)](this[t(573)]),this[t(573)]=null)}[dt(720)](t){const e=dt,i=this[e(478)][e(699)]();i[e(458)]();let s=0;for(;s<i[e(616)];){const n=i[s];if(n===this[e(708)]){s++;continue}if(n.id===this[e(709)])break;const r=t[e(713)]-n[e(713)]||t[e(590)]-n[e(590)];if(r>0)break;if(r<0)s++;else{if(!t[e(565)]&&n[e(565)])break;if(n[e(565)]||!t[e(565)]){if(t[e(480)]>n[e(480)])break;s++}else s++}}return s}[dt(506)](t){const e=dt,i=this[e(478)][e(699)]();i[e(458)](),i[e(719)]();const s=i[e(662)]((i=>i[e(713)]<=t))[e(713)];return s<this[e(516)]?this[e(516)]:s}[dt(707)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=dt,o=this[r(728)]({from:e,to:i});o[r(463)]=t,o[r(725)]=s,o.id=n;const a=this[r(757)](o);return this[r(489)]&&this[r(556)](o.id,o,!0),a}[dt(694)](){const t=dt;this[t(509)][t(673)][t(630)](t(461))[t(750)]({model:t(608)})}}class vt{[dt(509)];[dt(527)];[dt(732)];[dt(522)];[dt(683)];[dt(570)];[dt(686)];[dt(462)];[dt(481)];[dt(485)];[dt(639)];[dt(455)];[dt(553)];[dt(704)];[dt(710)];[dt(510)];[dt(633)];constructor(t){const e=dt;this[e(509)]=t,this[e(732)]=new Map,this[e(522)]=-1,this[e(683)]=-1,this[e(570)]=new Map,this[e(686)]=new Map,this[e(462)]=new Map,this[e(481)]=new Map,this[e(485)]=new Map,this[e(639)]=new Map,this[e(455)]=new Map,this[e(553)]=new Map,this[e(704)]=new Map,this[e(710)]=new Map,this[e(510)]=1}[dt(632)](t){const e=dt;this[e(527)]=t;const i=new Map,s=new Map,n=this[e(509)][e(659)][e(703)][e(587)][e(620)]((t=>t[e(701)]));for(const t of n){const n=this[e(509)][e(659)][e(703)][e(467)](t),r=gt(n);i[e(672)](t,r),s[e(672)](t,Object[e(663)](n[e(706)]()))}const r=Array[e(546)](this[e(509)][e(659)][e(768)])[e(620)]((t=>[t[e(463)],t[e(758)]()])),o=this[e(527)][e(549)];this[e(678)](o,i,r,s),this[e(633)]=this[e(510)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(672)](t,i),c[e(672)](t,{})}this[e(678)](Number[e(667)],a,[],c)}[dt(503)](t,e){const i=dt;if(this[i(522)]===t&&this[i(683)]<=e)this[i(732)][i(734)]>1&&this[i(627)](this[i(683)]),this[i(591)](this[i(683)],e,!0);else{if(!this[i(732)][i(554)](t)){const e=this[i(537)](t);this[i(605)](e,t,!1)}this[i(605)](t,e,!0)}return this[i(522)]=t,this[i(683)]=e,this[i(475)]()}[dt(459)](t){const e=dt,i=this[e(509)][e(675)][e(497)](e(644));this[e(691)](),this[e(522)]=t[e(590)],this[e(683)]=t[e(713)];for(const s in t[e(525)]){const n=t[e(525)][s][e(716)],r=A(t[e(525)][s][e(502)])||{},o=i[e(548)](t[e(525)][s][e(674)]);o[e(701)]=s,o[e(491)]=!n||!n[e(460)],o[e(460)]=()=>o[e(491)],this[e(481)][e(672)](s,o),this[e(485)][e(672)](s,r),n&&this[e(710)][e(672)](s,n);const a=this[e(466)](o);this[e(455)][e(672)](s,a);for(const[t,i]of o[e(768)]){if(!t[e(625)](e(498)))continue;const s=t[e(484)](":")[2];for(const t of i[e(770)]({singleCharacters:!0})){const i=this[e(715)](t),n=e(664)==t[e(679)]?t[e(518)][e(464)][e(524)](0,-1):t[e(518)][e(464)],r=a[e(579)](n)[e(739)](i);this[e(553)][e(672)](r,{userId:s})}}}this[e(633)]=this[e(510)];const s=[...Array(this[e(510)])[e(756)]()][e(524)](1)[e(523)]((t=>!this[e(553)][e(554)](t)));let n=0;const r=new Map;for(const o in t[e(525)]){const a=t[e(525)][o][e(716)],c=A(t[e(525)][o][e(614)])||{},u=i[e(548)](t[e(525)][o][e(661)]);u[e(701)]=o,u[e(491)]=!a||a[e(460)],u[e(460)]=()=>u[e(491)],this[e(686)][e(672)](o,u),this[e(462)][e(672)](o,c);const l=this[e(466)](u,Number[e(667)]);this[e(639)][e(672)](o,l),r[e(672)](o,u[e(460)]()?c:{});for(const[t,i]of u[e(768)]){if(!t[e(625)](e(498)))continue;const s=t[e(484)](":")[2];for(const t of i[e(770)]({singleCharacters:!0})){const i=this[e(715)](t),n=this[e(510)]++,r=e(664)==t[e(679)]?t[e(518)][e(464)][e(524)](0,-1):t[e(518)][e(464)];l[e(579)](r)[e(736)](i,n),this[e(553)][e(672)](n,{userId:s})}}for(const t of this[e(509)][e(659)][e(705)](u)[e(770)]({singleCharacters:!0})){const i=this[e(715)](t),r=e(664)==t[e(679)]?t[e(518)][e(464)][e(524)](0,-1):t[e(518)][e(464)],o=l[e(579)](r);o[e(739)](i)>0||o[e(736)](i,s[n++])}for(const[t,i]of u[e(768)])t[e(625)](e(498))||this[e(570)][e(672)](t,i)}const o=yt(e(635));this[e(481)][e(672)](e(635),o),this[e(455)][e(672)](e(635),this[e(466)](o,1));const a=yt(e(635));this[e(686)][e(672)](e(635),a),this[e(639)][e(672)](e(635),this[e(466)](a,1));const c=Array[e(546)](this[e(686)])[e(620)]((([t,e])=>[t,gt(e)]));this[e(678)](this[e(683)],c,this[e(570)],r)}[dt(582)](){const t=dt;this[t(691)](),this[t(522)]=-1,this[t(683)]=-1,this[t(732)][t(609)](),this[t(632)](this[t(527)])}[dt(678)](t,e,i,s){const n=dt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(672)](t,{start:e[n(666)][n(698)](),end:e[n(601)][n(698)](),rootName:e[n(682)][n(701)]});this[n(732)][n(672)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(627)](t){const e=dt;this[e(732)][e(634)](t)}[dt(691)](){const t=dt;this[t(553)][t(609)](),this[t(704)][t(609)](),this[t(710)][t(609)](),this[t(686)][t(609)](),this[t(462)][t(609)](),this[t(481)][t(609)](),this[t(485)][t(609)](),this[t(639)][t(609)](),this[t(455)][t(609)](),this[t(570)][t(609)](),this[t(510)]=1,this[t(633)]=this[t(510)]}[dt(466)](t,e=null){const i=dt;let s=null;t.is(i(512))||(s=new K.Element(t[i(463)],{vid_start:null===e?this[i(510)]++:e++}));const n=[];for(const s of t[i(575)]())if(s.is(i(652))){n[i(592)](this[i(466)](s,e));const t=n[n[i(616)]-1];null!==e&&(e=t.is(i(652),i(622))?t[i(739)](i(689))+1:t[i(739)](i(515))+1)}else for(let t=0;t<s[i(542)];t++)n[i(592)](new K.Element(i(622),{vid:null===e?this[i(510)]++:e++}));if(t.is(i(512))){const e=yt(t[i(701)]);return e[i(747)](0,n),e}return s[i(736)](i(515),null===e?this[i(510)]++:e++),s[i(747)](0,n),s}[dt(605)](t,e,i){const s=dt;this[s(691)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(732)][s(497)](t);this[s(481)]=new Map(n),this[s(485)]=new Map(A(o));for(const[t,e]of this[s(481)])if(s(635)!==t&&(this[s(686)][s(672)](t,gt(e)),this[s(462)]=new Map(A(o)),i)){const i=this[s(510)];this[s(639)][s(672)](t,this[s(466)](e)),this[s(455)][s(672)](t,this[s(466)](e,i))}this[s(633)]=this[s(510)],this[s(686)][s(672)](s(635),gt(this[s(481)][s(497)](s(635)))),i&&this[s(639)][s(672)](s(635),this[s(466)](this[s(481)][s(497)](s(635))));for(const[t,e]of r){const i=this[s(481)][s(497)](e[s(701)]),n=this[s(686)][s(497)](e[s(701)]),r=new K.Range(this[s(619)](e[s(666)],i),this[s(619)](e[s(601)],i)),o=this[s(737)](r,n);i[s(768)][s(672)](t,r),this[s(570)][s(672)](t,o)}this[s(591)](t,e,i)}[dt(591)](t,e,i){const s=dt;for(const n of this[s(527)][s(643)](t,e))this[s(607)](n,i);for(const t of this[s(686)][s(702)]())t[s(768)][s(609)]();for(const[t,e]of this[s(570)])this[s(686)][s(497)](e[s(682)][s(701)])[s(768)][s(672)](t,e[s(698)]());const n=new Map,r=new Map;for(const[t,e]of this[s(686)])n[s(672)](t,gt(e)),r[s(672)](t,this[s(462)][s(497)](t));this[s(678)](e,n,this[s(570)],r)}[dt(537)](t){const e=dt,i=Array[e(546)](this[e(732)][e(756)]());i[e(742)](((t,e)=>t-e)),i[e(458)]();for(const e of i)if(e<t)return e;return Number[e(667)]}[dt(752)](t,e){const i=dt,s=Array[i(546)](e[i(768)])[i(620)]((([e,s])=>[e,this[i(737)](s,t)]));t[i(768)]=new Map(s)}[dt(557)](t){const e=dt;for(const i of this[e(570)][e(702)]()){const s=i[e(718)](t),n=K.Range[e(731)](s);i[e(666)]=n[e(666)],i[e(601)]=n[e(601)]}}[dt(607)](t,e){const i=dt;if(i(469)!=t[i(679)]&&i(760)!=t[i(679)]){if(i(471)==t[i(679)]){const s=t[i(572)][i(682)][i(701)];this[i(686)][i(554)](s)||(this[i(686)][i(672)](s,yt(s,!0)),this[i(462)][i(672)](s,{}),e&&this[i(639)][i(672)](s,yt(s,!0)))}else{if(i(470)==t[i(679)]||i(740)==t[i(679)]||i(692)==t[i(679)])return void this[i(658)](t);i(642)==t[i(679)]&&this[i(600)](t)}if(i(642)!==t[i(679)]){const e=this[i(766)](t,this[i(686)]);e[i(534)](),this[i(557)](e)}if(e)switch(t[i(679)]){case i(471):this[i(657)](t);break;case i(772):case i(513):case i(650):this[i(568)](t);break;case i(519):this[i(727)](t);break;case i(484):this[i(665)](t)}}else this[i(753)](t,e)}[dt(766)](t,e){const i=dt,s=t[i(698)]();return s[i(726)]=t[i(726)],this[i(613)](s,e),s}[dt(584)](t){const e=dt;return t[e(620)]((t=>{const i=e,s=this[i(715)](t);return Number(t[i(604)][i(739)](s))}))}[dt(668)](t,e){const i=dt;if(t.is(i(652),i(622)))e[i(592)]({item:t,type:i(476)});else{t.is(i(652))&&e[i(592)]({item:t,type:i(626)});for(const s of t[i(575)]())this[i(668)](s,e);t.is(i(652))&&e[i(592)]({item:t,type:i(664)})}return e}[dt(475)](){const t=dt,e=new Map(this[t(553)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(481)][t(756)](),...this[t(686)][t(756)]()]);a[t(634)](t(635));for(const e of a){const i=this[t(686)][t(497)](e)||yt(e,!1),s=this[t(481)][t(497)](e)||yt(e,!1);i[t(460)]()||s[t(460)]()?(n[t(661)][e]=gt(i),n[t(674)][e]=gt(s),this[t(752)](n[t(674)][e],s),this[t(752)](n[t(661)][e],i),r[t(661)][e]=this[t(668)](this[t(639)][t(497)](e),[]),r[t(674)][e]=this[t(668)](this[t(455)][t(497)](e)||yt(e,!1),[])):a[t(634)](e)}for(const n of a){const o=r[t(661)][n];for(const n of o){const r=this[t(715)](n),o=n[t(604)][t(739)](r);i[t(634)](o),o>=this[t(633)]&&s[t(672)](o,e[t(497)](o))}}for(const n of a){const a=r[t(661)][n],c=this[t(584)](r[t(674)][n]);let u=0;for(const n of a){const r=this[t(715)](n),a=n[t(604)][t(739)](r);if(!s[t(554)](a)&&!o[t(554)](a))if(i[t(554)](a))u++;else{if(a!=c[u]){const s=e[t(497)](a)||e[t(497)](c[u]);for(;a!=c[u];)i[t(554)](c[u])||(o[t(672)](c[u],s),e[t(672)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(661)][e];for(const e of n){const n=this[t(715)](e),r=e[t(604)][t(739)](n);if(o[t(554)](r)){const e=o[t(497)](r);i[t(554)](r)||i[t(672)](r,{...e}),s[t(672)](r,{...e})}}}for(const e of i[t(756)]())e>=this[t(633)]&&i[t(634)](e);const c=new Map;for(const e of a){let n=r[t(661)][e];for(const e of n)if(e[t(604)].is(t(652),t(581))){const i=this[t(715)](e),n=e[t(604)][t(739)](i);if(s[t(554)](n)){const i=e[t(604)][t(759)][t(759)][t(739)](t(623)),r=c[t(497)](i)||new Set;r[t(741)](s[t(497)](n)[t(762)]),c[t(672)](i,r)}}n=r[t(674)][e];for(const e of n)if(e[t(604)].is(t(652),t(581))){const s=this[t(715)](e),n=e[t(604)][t(739)](s);if(i[t(554)](n)){const s=e[t(604)][t(759)][t(759)][t(739)](t(623)),r=c[t(497)](s)||new Set;r[t(741)](i[t(497)](n)[t(762)]),c[t(672)](s,r)}}for(const e of c[t(756)]())(s[t(554)](e)||i[t(554)](e))&&c[t(634)](e)}for(const e of a){const n=r[t(661)][e];let o=null,a=null;for(const e of n){const n=this[t(715)](e),r=e[t(604)][t(739)](n),u=c[t(497)](r);u&&t(626)==e[t(679)]&&(o=Array[t(546)](u)[0],a=e[t(604)][t(739)](t(515))),o&&(i[t(672)](r,{userId:o}),s[t(672)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(674)][e],a=n[t(661)][e];for(const{userId:e}of this[t(704)][t(702)]())null!==e&&l[t(741)](e);for(const{userId:e}of this[t(710)][t(702)]())null!==e&&l[t(741)](e);this[t(585)](a,r[t(661)][e],s,t(724),l),this[t(585)](o,r[t(674)][e],i,t(551),l),u[e]={insertions:this[t(586)](a),deletions:this[t(586)](o),attachChange:this[t(710)][t(497)](e)||null,attributesBefore:A(this[t(485)][t(497)](e))||{},attributesAfter:A(this[t(462)][t(497)](e))}}return{diffData:u,authorsIds:Array[t(546)](l)}}[dt(729)](t){const e=dt;for(const[,i]of t[e(768)]){const t=i[e(666)][e(580)]()[e(523)]((t=>e(581)==t[e(463)]));for(const i of t)1==i[e(500)]&&i[e(511)](0).is(e(652),e(555))&&i[e(511)](0)[e(736)](e(641),!0)}}[dt(586)](t){const e=dt;this[e(729)](t);const i=this[e(509)][e(547)][e(595)](t,{}),s=Array[e(546)](i[e(575)]())[e(620)]((t=>this[e(530)](t)));return JSON[e(645)](s)}[dt(530)](t){const e=dt;if(t.is(e(622)))return t[e(547)];{const i=this[e(509)][e(675)][e(497)](e(644)),s=t,n=this[e(509)][e(547)][e(624)][e(733)],r={type:i[e(655)](s),name:s[e(463)],attributes:Array[e(546)](s[e(706)]()),children:Array[e(546)](s[e(575)]())[e(620)]((t=>this[e(530)](t)))};if(t.is(e(457))&&e(490)!=t[e(463)]){const i=t[e(479)](n[e(651)],n);r[e(754)][e(592)](i[e(700)])}else if(t.is(e(722))){const i=n[e(651)][e(636)](s[e(463)]);t[e(479)](i,n),r[e(754)][e(592)](i[e(646)])}const o=Array[e(546)](s[e(714)]());o[e(616)]>0&&(r[e(544)]=o);const a=s[e(656)]();return null!==a&&(r[e(769)]=a),r}}[dt(585)](t,e,i,s,n){const r=dt;let o=null,a=null,c=0;const u=this[r(509)][r(659)];for(let s=0;s<e[r(616)];s++){const n=this[r(715)](e[s]),c=e[s][r(604)][r(739)](n),h=i[r(497)](c),d=s==e[r(616)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(762)]!=o[r(762)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),bt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(762)],d=l(498)+s+":"+h+":"+c++,f=u[l(487)](i,a);t[l(768)][l(672)](d,f),null!==h&&n[l(741)](h)}}[dt(715)](t){const e=dt;switch(t[e(679)]){case e(626):return e(623);case e(664):return e(515);default:return e(689)}}[dt(613)](t,e){const i=dt;t[i(670)]=null;for(const s in t){const n=t[s];if(n instanceof K.Position){const r=e[i(497)](n[i(682)][i(701)]);t[s]=this[i(619)](n,r)}if(n instanceof K.Range){const r=e[i(497)](n[i(682)][i(701)]);t[s]=this[i(737)](n,r)}i(682)===s&&(t[i(682)]=e[i(497)](t[i(682)][i(701)]))}}[dt(737)](t,e){const i=dt;return this[i(509)][i(659)][i(487)](this[i(619)](t[i(666)],e),this[i(619)](t[i(601)],e))}[dt(619)](t,e){const i=dt;return this[i(509)][i(659)][i(576)](e,t[i(464)],t[i(483)])}[dt(657)](t){const e=dt,i=this[e(639)][e(497)](t[e(572)][e(682)][e(701)]),s=this[e(619)](t[e(572)],i),n=null===t[e(726)]?null:t[e(726)]||this[e(509)][e(675)][e(497)](e(653)).me.id,r=s[e(759)],o=this[e(510)],a=[];for(const i of t[e(465)])if(i.is(e(652)))a[e(592)](this[e(466)](i));else for(let t=0;t<i[e(542)];t++)a[e(592)](new K.Element(e(622),{vid:this[e(510)]++}));const c=this[e(510)];for(let t=o;t<c;t++)this[e(553)][e(672)](t,{userId:n});r[e(747)](s[e(550)],a)}[dt(568)](t){const e=dt;(t=this[e(766)](t,this[e(639)]))[e(534)]();const i=null===t[e(726)]?null:t[e(726)]||this[e(509)][e(675)][e(497)](e(653)).me.id,s=t[e(588)](),n=s[e(759)],r=s[e(550)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(511)](e);r.is(a(652),a(622))?s[a(672)](r[a(739)](a(689)),{userId:i}):(s[a(672)](r[a(739)](a(623)),{userId:i}),t(s,r,0,r[a(500)]),s[a(672)](r[a(739)](a(515)),{userId:i}))}}(this[e(553)],n,r,r+t[e(477)])}[dt(727)](t){const e=dt,i=null===(t=this[e(766)](t,this[e(639)]))[e(726)]?null:t[e(726)]||this[e(509)][e(675)][e(497)](e(653)).me.id,s=t[e(560)][e(759)],n=t[e(610)][e(759)],r=s[e(739)](e(515)),o=n[e(739)](e(623));s[e(736)](e(515),n[e(739)](e(515))),n[e(736)](e(515),r),this[e(553)][e(672)](o,{userId:i}),this[e(553)][e(672)](r,{userId:i}),t[e(534)]()}[dt(665)](t){const e=dt,i=null===(t=this[e(766)](t,this[e(639)]))[e(726)]?null:t[e(726)]||this[e(509)][e(675)][e(497)](e(653)).me.id,s=t[e(711)],n=t[e(743)][e(759)];t[e(534)]();const r=n[e(739)](e(515)),o=t[e(765)][e(745)];if(s){const t=o[e(739)](e(515)),s=n[e(739)](e(515));n[e(736)](e(515),t),o[e(736)](e(515),s),this[e(553)][e(672)](n[e(739)](e(515)),{userId:i}),this[e(553)][e(672)](o[e(739)](e(623)),{userId:i})}else{const t=this[e(510)]++,s=this[e(510)]++;n[e(736)](e(515),t),o[e(736)](e(623),s),o[e(736)](e(515),r),this[e(553)][e(672)](t,{userId:i}),this[e(553)][e(672)](s,{userId:i})}}[dt(600)](t){const e=dt;if(!t[e(562)])return;const i=(t=this[e(766)](t,this[e(686)]))[e(589)]?t[e(589)][e(682)]:null,s=t[e(526)]?t[e(526)][e(682)]:null;i&&this[e(570)][e(634)](t[e(463)]),s&&this[e(570)][e(672)](t[e(463)],t[e(526)][e(698)]());const n=null===t[e(726)]?null:t[e(726)]||this[e(509)][e(675)][e(497)](e(653)).me.id,r=t[e(463)];if(!this[e(704)][e(554)](r))return void this[e(704)][e(672)](r,{range:t[e(589)],userId:n});const o=this[e(704)][e(497)](r),a=o[e(545)],c=t[e(526)];null==a&&null==c||a&&c&&a[e(514)](c)?this[e(704)][e(634)](t[e(463)]):o[e(762)]=n}[dt(753)](t,e){const i=dt;this[i(686)][i(554)](t[i(701)])?this[i(686)][i(497)](t[i(701)])[i(491)]=t[i(748)]:(this[i(686)][i(672)](t[i(701)],yt(t[i(701)],!0)),this[i(462)][i(672)](t[i(701)],{}),e&&this[i(639)][i(672)](t[i(701)],yt(t[i(701)],!0)));const s=null===t[i(726)]?null:t[i(726)]||this[i(509)][i(675)][i(497)](i(653)).me.id,n=this[i(710)][i(497)](t[i(701)]);n&&n[i(762)]===s?this[i(710)][i(634)](t[i(701)]):this[i(710)][i(672)](t[i(701)],{userId:s,isAttached:t[i(748)]})}[dt(658)](t){const e=dt,i=this[e(462)][e(497)](t[e(682)][e(701)]);null===t[e(594)]?delete i[t[e(571)]]:i[t[e(571)]]=t[e(594)]}}function gt(t){const e=dt,i=yt(t[e(701)],t[e(460)]());for(const s of t[e(575)]()){const t=s[e(494)](!0);i[e(602)](t)}return i}function yt(t,e=!0){const i=dt,s=new K.DocumentFragment;return s[i(701)]=t,s[i(491)]=e,s[i(460)]=()=>s[i(491)],s}function kt(t,e,i){const s=dt,n=s(664)==t[s(679)]?i[s(517)](t[s(604)],s(601)):i[s(681)](t[s(604)]);return i[s(576)](e,n[s(464)],n[s(483)])}function bt(t,e,i){const s=dt,n=s(626)==t[s(679)]?i[s(517)](t[s(604)],0):i[s(612)](t[s(604)]);return i[s(576)](e,n[s(464)],n[s(483)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),Rt=i(667),At=i.n(Rt),Vt=i(357),Mt=i.n(Vt),Et=i(426),Dt={attributes:{"data-cke":!0}};Dt.setAttributes=At(),Dt.insert=Nt().bind(null,"head"),Dt.domAPI=Tt(),Dt.insertStyleElement=Mt();St()(Et.A,Dt);Et.A&&Et.A.locals&&Et.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=At(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=Tt(),Ft.insertStyleElement=Mt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const Lt=Pt;function jt(){const t=["8270406TVLLKq","set","366801CGXGmB","render","label","revisionNameInputValue","locale","focusTracker","ck-revision-history-save-revision-form","trim","arrowleft","extendTemplate","ck-responsive-form","initializeCssTransitionDisablerMixin","input","arrowup","keystrokes","revisionName","363504yVcnVd","reset","1760pGuBaL","form","fieldView","2499552zBijeN","value","2681854ucAMZV","add","arrowdown","8KpIpae","listenTo","focus","_createRevisionNameInput","Name of the revision","7598004hcsHtc","220","optional","element","arrowright","3810wfulmW","stopPropagation","errorText","revisionNameInputView","setTemplate"];return(jt=function(){return t})()}function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(708981===-parseInt(e(518))/1+parseInt(e(523))/2+parseInt(e(502))/3+-parseInt(e(520))/4*(parseInt(e(538))/5)+-parseInt(e(533))/6+parseInt(e(525))/7+parseInt(e(528))/8*(parseInt(e(500))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(507)];[Lt(516)];[Lt(498)];constructor(e,i){const s=Lt;super(e),this[s(507)]=new t.FocusTracker,this[s(516)]=new t.KeystrokeHandler,this[s(501)](s(505),""),this[s(498)]=this[s(531)](i),this[s(499)]({tag:s(521),attributes:{class:["ck",s(508),s(512)],tabindex:"-1"},children:[this[s(498)]]}),this[s(513)]()}[Lt(503)](){const t=Lt;super[t(503)](),(0,_t.submitHandler)({view:this}),this[t(507)][t(526)](this[t(498)][t(536)]),this[t(516)][t(529)](this[t(536)]);const e=e=>e[t(496)]();this[t(516)][t(501)](t(537),e),this[t(516)][t(501)](t(510),e),this[t(516)][t(501)](t(515),e),this[t(516)][t(501)](t(527),e)}[Lt(530)](){const t=Lt;this[t(498)][t(530)]()}get[Lt(517)](){const t=Lt;return this[t(498)][t(522)][t(536)][t(524)][t(509)]()}set[Lt(517)](t){const e=Lt;this[e(498)][e(522)][e(536)][e(524)]=t[e(509)]()}[Lt(519)](){const t=Lt;this[t(498)][t(522)][t(536)][t(524)]="",this[t(498)][t(497)]=null}[Lt(531)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(506)],_t.createLabeledInputText),s=i[e(522)];s[e(511)]({attributes:{maxlength:e(534)}});let n=ot(this[e(506)],e(532));return!t&&(n+=" ("+ot(this[e(506)],e(535))+")"),i[e(504)]=n,s.on(e(514),(()=>{const t=e;this[t(505)]=s[t(536)][t(524)][t(509)]()})),i}}const Wt=Ut;function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=292]})(t,e)}function Zt(){const t=["Revision history","isReadOnly","menuBar:revisionHistory","278546YQsVln","items","Save current revision","showRevisionViewerCallback","481596OPWHBA","isPremiumPlugin","ck-button-action","buttonView","revisionNameInputView","bind","_registerMenuComponent","pluginName","editor","isReady","delegate","init","config","view","RevisionHistoryUI","revisionSave","RevisionTracker","hide","_saveRevisionFormView","requires","render","reset","6630FQsarl","revisionName","Accept","_showDialog","1122VcHHME","547974qfxhvb","plugins","menu","96pywtHk","isOfficialPlugin","89226nNrpff","isOpen","4ztOZiw","componentFactory","focus","errorText","role","add","994630oETKWi","show","Dialog","set","addMany","panelView","editing","isEnabled","_createSaveRevisionFormView","Open revision history","get","revisionHistory.requireRevisionName","saveRevision","The revision name cannot be empty.","menuitem","locale","submit","revisionHistory","children","execute","1EtdTiJ","265685pEPdmZ","Cancel"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(107681===-parseInt(e(353))/1*(-parseInt(e(359))/2)+-parseInt(e(293))/3+parseInt(e(327))/4*(-parseInt(e(354))/5)+parseInt(e(320))/6+parseInt(e(333))/7+-parseInt(e(323))/8*(parseInt(e(325))/9)+parseInt(e(315))/10*(parseInt(e(319))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class Ht extends J.Plugin{static get[Wt(300)](){return Wt(307)}static get[Wt(324)](){return!0}static get[Wt(294)](){return!0}static get[Wt(312)](){return[pt]}[Wt(311)];[Wt(304)](){const t=Wt,e=this[t(301)],i=e[t(321)][t(343)](t(309));e.ui[t(328)][t(332)](t(350),(s=>{const n=t,r=(0,_t.createDropdown)(s),o=r[n(338)][n(351)],a=new _t.ListView(s),c=new _t.ListItemView(s),u=new _t.ButtonView(s),l=new _t.ListItemView(s),h=new _t.ButtonView(s);return r[n(298)](n(340)).to(i,n(302),i,n(340),e,n(357),((t,e,i)=>t&&e&&!i)),r[n(296)][n(336)]({icon:wt.IconHistory,label:ot(s,n(356)),tooltip:!0}),u[n(336)]({label:ot(s,n(361)),withText:!0,role:n(347)}),u[n(298)](n(340)).to(i,n(302),i,n(340),e,n(357),((t,e,i)=>t&&e&&!i)),u.on(n(352),(()=>this[n(318)]())),h[n(336)]({label:ot(s,n(342)),withText:!0,role:n(347)}),h[n(298)](n(340)).to(i,n(302),e,n(357),((t,e)=>t&&!e)),h.on(n(352),(()=>{const t=n;e[t(305)][t(343)](t(350))[t(292)](),r[t(326)]=!1,e[t(339)][t(306)][t(329)]()})),c[n(351)][n(332)](u),l[n(351)][n(332)](h),a[n(331)]=n(322),a[n(360)][n(337)]([c,l]),o[n(332)](a),r})),e.ui[t(328)][t(332)](t(358),(()=>this[t(299)]()))}[Wt(299)](){const t=Wt,e=this[t(301)],i=e[t(348)],s=new _t.MenuBarMenuView(i),n=new _t.MenuBarMenuListView(i);s[t(296)][t(336)]({icon:wt.IconHistory,label:ot(i,t(356))});const r=new _t.MenuBarMenuListItemView(i,s),o=new _t.MenuBarMenuListItemButtonView(i);o[t(336)]({label:ot(i,t(361))}),o[t(303)](t(352)).to(s),o.on(t(352),(()=>{this[t(318)]()})),r[t(351)][t(332)](o),n[t(360)][t(332)](r);const a=new _t.MenuBarMenuListItemView(i,s),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(336)]({label:ot(i,t(342))}),c[t(303)](t(352)).to(s),c.on(t(352),(()=>{const i=t;e[i(305)][i(343)](i(350))[i(292)]()})),a[t(351)][t(332)](c),n[t(360)][t(332)](a),s[t(338)][t(351)][t(332)](n),s}[Wt(318)](){const t=Wt,e=this[t(301)],i=e[t(348)],s=e[t(321)][t(343)](t(335)),n=e[t(321)][t(343)](t(309));function r(n){const r=t;e[r(305)][r(343)](r(344))&&""===n[r(316)]?n[r(297)][r(330)]=ot(i,r(346)):(e[r(321)][r(343)](pt)[r(345)]({name:n[r(316)]}),s[r(310)]())}this[t(311)]||(this[t(341)](),this[t(311)].on(t(349),(()=>r(this[t(311)])))),this[t(311)][t(314)](),s[t(334)]({id:t(308),title:ot(i,t(361)),isModal:!0,content:this[t(311)],actionButtons:[{label:ot(e[t(348)],t(355)),withText:!0,onExecute:()=>s[t(310)]()},{label:ot(e[t(348)],t(317)),class:t(295),withText:!0,onCreate(i){const s=t;i[s(298)](s(340)).to(n,s(302),n,s(340),e,s(357),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(311)])}]})}[Wt(341)](){const t=Wt,e=this[t(301)],i=e[t(348)];this[t(311)]=new zt(i,e[t(305)][t(343)](t(344))),this[t(311)][t(313)]()}}const $t=Bt;function qt(){const t=["setTemplate","changeId","focus","1761550czyIwo","isSuggestion","4778LOofMh","type","span","set","594dkOMtR","1393902WTaoxV","Suggested by","23570UyhZMY","_model","ck-revision-change","Added by","add","292qLtAsv","60jfiwLX","ck-annotation","Removed by","ck-revision-change__","name","727584KGwwxd","bindTemplate","author","data","element","10307XaltMD","3057IBPFsG","div","ck-revision-change__label","310cPheQT"];return(qt=function(){return t})()}function Bt(t,e){const i=qt();return(Bt=function(t,e){return i[t-=293]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(362862===-parseInt(e(299))/1*(parseInt(e(319))/2)+-parseInt(e(310))/3*(-parseInt(e(298))/4)+parseInt(e(293))/5*(parseInt(e(323))/6)+-parseInt(e(317))/7+parseInt(e(304))/8+parseInt(e(324))/9+parseInt(e(313))/10*(-parseInt(e(309))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Yt extends _t.View{[$t(315)];[$t(294)];constructor(t,e){const i=$t;super(t),this[i(294)]=e,this[i(315)]=e.id;const s=this[i(305)],n=ot(t,e[i(307)][i(318)]?i(325):i(297)==e[i(320)]?i(296):i(301));this[i(322)](i(320),e[i(320)]),this[i(314)]({tag:i(311),attributes:{class:[i(300),i(295),s.to(i(320),(t=>i(302)+t))],tabindex:-1},children:[{tag:i(321),children:[{tag:i(321),attributes:{class:[i(312)]},children:[{text:n}]},{text:" "+e[i(306)][i(303)]}]}]})}[$t(316)](){const t=$t;this[t(308)][t(316)]()}}function Jt(){var t=["1368XiAvnG","1910925IQyFvP","createdAt","405176pdkomj","set","14WTFQAi","toJSON","2715icSLkf","data","rootName","author","type","3350GlAqoB","21bdzYgj","430178KSYDlF","170350bNbyao","1074920YXACSM","17028JUllvq"];return(Jt=function(){return t})()}var Gt=Kt;function Kt(t,e){var i=Jt();return(Kt=function(t,e){return i[t-=143]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(339130===parseInt(e(153))/1+parseInt(e(154))/2*(parseInt(e(152))/3)+parseInt(e(155))/4+-parseInt(e(146))/5*(parseInt(e(157))/6)+parseInt(e(144))/7*(-parseInt(e(160))/8)+-parseInt(e(158))/9+-parseInt(e(151))/10*(parseInt(e(156))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(149)];[Gt(150)];[Gt(147)];[Gt(148)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(149)]=e[i(149)],this[i(150)]=e[i(150)],this[i(147)]=e[i(147)]||{},this[i(148)]=e[i(148)],this[i(143)](i(159),e[i(159)])}[Gt(145)](){var t=Gt;return{id:this.id,authorId:this[t(149)].id,type:this[t(150)],data:this[t(147)],createdAt:this[t(159)]}}}const Qt=te;function te(t,e){const i=ee();return(te=function(t,e){return i[t-=237]})(t,e)}function ee(){const t=["5627895ogMAOE","add","720324vWfPkZ","2443304EYznQB","oldRevisionId","57144qppAth","11tlLkJP","10593430uatjxW","365nSTNLl","1641090swcpbu","483355tEFItg","newRevisionId","9FXPSso","9rssXQD","_setChanges","changes"];return(ee=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(442144===-parseInt(e(237))/1+parseInt(e(252))/2+parseInt(e(240))/3*(-parseInt(e(245))/4)+-parseInt(e(251))/5*(-parseInt(e(248))/6)+-parseInt(e(243))/7+-parseInt(e(246))/8*(parseInt(e(239))/9)+-parseInt(e(250))/10*(-parseInt(e(249))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ie{[Qt(238)];[Qt(247)];[Qt(242)];constructor(e,i){const s=Qt;this[s(238)]=e,this[s(247)]=i,this[s(242)]=new t.Collection}[Qt(241)](t){const e=Qt;for(const i of t)this[e(242)][e(244)](i)}}var se=i(536),ne={attributes:{"data-cke":!0}};ne.setAttributes=At(),ne.insert=Nt().bind(null,"head"),ne.domAPI=Tt(),ne.insertStyleElement=Mt();St()(se.A,ne);se.A&&se.A.locals&&se.A.locals;function re(){const t=["type","revision:","removeMarker","unbindElementFromMarkerName","has","right","isAfter","elementStart","highest","_changeView","resolve","downcastDispatcher","revision","nodeAfter","rootName","removeClass","isAdded","abs","domEvent","511rSLObN","isReady","ck-revision-history-root--active","_getChangeFromId","object","element:pre","schema","config","11234080KDIJnm","addMarker:revision-suggestion:deletion","elementToAttribute","change:activeView","getIndex","isPremiumPlugin","mouseover","addRevision","getChild","markersStart","softBreak","isNavigationMode","changeId","ck-revision-history-root-add","ck-suggestion-marker--active","attachChange","_getRevisionsRange","setAttribute","get","index","distance","isLimit","nextSibling","getLaterVisibleRevision","ck-suggestion-marker-merge","insertion","isAttached","merge","createAttributeElement","consumable","isCollapsed","loadRevisionData","_makeTape","mapViewToDom","string","revision-suggestion:","diffData","ck-suggestion-marker-","span","isIncorrect","_threeWayMerge","hasAttribute","revision-suggestion","find","isSuggestion","maxOffset","forceDisabled","side","getWalker","filter","affectsData","change:numberOfChanges","9QAmSdd","from","locale","previousPosition","document","offsetSize","revisionHistoryLabel","range","ck-suggestion-preview-marker-","isBlock","revisionHistory","consume","isOnRoot","splice","8BWaJNT","text","_setChanges","removeMarker:revision","createPositionBefore","_update","_sortAndFilterDiffChanges","getRevisionRootsAttributes","domConverter","test","currentChangeNumber","insertions","view","_appendChild","attributes","getDomRoot","POSITIVE_INFINITY","_markInsertions","_findChangeIdFromDomTarget","_data","unshift","_utils","detachRoot","_step","_cleanMarkers","_joinTapes","314vIQpOA","addMarker:revision","all","newRevisionId","ck-revision-history-root-","bind","showStack","isAtStart","name","addRevisionData","activeChange","_setDistance","1060113DBNIoP","high","updatePosition","_changeIdToChange","uiElement","getAttributes","add","mapper","sort","observeMarkers","markerNameToElements","markerRange","createRange","plugins","isContent","flat","dataDowncast","createRevision","_getViewForChange","adapter","upcast","start","vid_end","editing","isAddSuggestion","startIndex","ck-suggestion-marker","endIndex","change:activeChange","toViewPosition","getRootNames","change:isReady","bindElementToMarker","vid_start","markerToHighlight","enqueueChange","destroy","keys","level","backward","stop","_revisions","_markMismatchedRemovedTags","getAttribute","roots","_makeModelFromViewString","userId","item","oldRevisionId","diff","isBefore","first","refresh","init","deletion","attribute:vid","wrap","_activeViewTarget","removeAttribute","vid","clear","getItems","activeView","pairId","return","ck-suggestion-marker-split","suggestion:","getRevisionDocumentData","_makeModelFromTape","error","indexOf","_setConversion","2148265SjNpgV","editor","isEqual","getClientRects","model","markerName","nextPosition","restoreRevisionCallback","showPreviousChange","element","repository","startsWith","shift","map","bottom","writer","done","addHighlight","isEnabled","RevisionHistoryUtils","then","values","target","delete","numberOfChanges","conversion","editingDowncast","markers","RevisionViewer","_fixObsoleteTags","toViewRange","compare","code","showNextChange","modelRange","change:isEnabled","end","hasClass","suggestion","attributesAfter","addMarker:revision-suggestion:insertion","_refreshStartEndIndex","remove","_getDiff","data","left","length","change","listenTo","deletions","low","findIndex","requires","removeMarker:revision-suggestion","_balloon","isAtEnd","_initInteractions","selection","elementEnd","getRoot","getCustomProperty","-new","enableReadOnlyMode","split","restoreRevision","includes","next","6207YJbvOr","catch","markerToData","commands","8610140JThaEA","_markMarkers","ck-revision-history-root-remove","toViewElement","attributesBefore","reconvertMarker","changes","getRevision","createUIElement","mousedown","ck-editor__editable__overlay","comment","pop","ck-suggestion-preview-marker","markersEnd","set","dataToMarker","push","for","_cleanUp","authors","viewItem","80970zSyyXB","isInline","forward","RevisionsRepository","isObject","createRangeIn","execute","8970272sYtLHh","_removeMissingPairs","createPositionFromPath","data-change-id","slice","checkAttribute","_processTape","forEach","insert","isRemoved","isRemoveSuggestion","parent","pluginName","_removeUnsupportedChanges","revision-viewer","addRoot","addClass","concat","revisionHistoryAttachChange","WidgetToolbarRepository","revision-comment:","top","isOfficialPlugin","_markSuggestions"];return(re=function(){return t})()}const oe=ae;function ae(t,e){const i=re();return(ae=function(t,e){return i[t-=151]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(714995===parseInt(e(304))/1*(-parseInt(e(153))/2)+parseInt(e(165))/3+-parseInt(e(454))/4*(-parseInt(e(237))/5)+parseInt(e(330))/6*(-parseInt(e(380))/7)+parseInt(e(337))/8*(parseInt(e(440))/9)+parseInt(e(388))/10+-parseInt(e(308))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(re);class ce extends J.Plugin{[oe(247)];[oe(184)]=null;[oe(475)];[oe(222)];[oe(370)];[oe(168)];[oe(291)];static get[oe(349)](){return oe(265)}static get[oe(359)](){return!0}static get[oe(393)](){return!0}static get[oe(289)](){return[G.Users,_t.ContextualBalloon,et,nt]}constructor(t){const e=oe;super(t),this[e(247)]=this[e(238)][e(178)][e(406)](e(333)),this[e(475)]=this[e(238)][e(178)][e(406)](e(256)),this[e(323)](e(163),null),this[e(323)](e(227),null),this[e(222)]=null,this[e(323)](e(214),null),this[e(323)](e(381),!1),this[e(323)](e(255),!0),this.on(e(272),((t,i,s)=>{const n=e;this[n(163)]=null,this[n(227)]=null,this[n(238)][n(188)][n(466)][n(284)]((t=>{const e=n;for(const i of this[e(238)][e(188)][e(466)][e(444)][e(209)])s?t[e(376)](e(318),i):t[e(353)](e(318),i)}))})),this[e(158)](e(399)).to(this,e(163),(t=>null!==t)),this[e(158)](e(464)).to(this,e(381),this,e(214),this,e(163),((t,i,s)=>t&&s?i[e(314)][e(392)](s):0)),this[e(158)](e(261)).to(this,e(381),this,e(214),((t,i)=>t?i[e(314)][e(283)]:0)),this[e(370)]=null,this[e(168)]=new Map,this[e(291)]=this[e(238)][e(178)][e(406)](_t.ContextualBalloon)}[oe(218)](){const t=oe,e=this[t(238)],i=new he(e,{direction:t(204)}),s=new he(e,{direction:t(332)});e[t(307)][t(171)](t(245),i),e[t(307)][t(171)](t(270),s),e[t(307)][t(171)](t(301),new le(e)),this.on(t(439),(()=>{const e=t;i[e(217)](),s[e(217)]()})),this[t(236)](),this[t(293)](),e[t(299)](t(351)),e[t(178)][t(365)](t(356))&&e[t(178)][t(406)](t(356))[t(434)](t(351))}async[oe(232)](t){const e=oe;return await this[e(475)][e(419)](t,this[e(184)]),this[e(475)][e(232)](t)}async[oe(461)](t){const e=oe;return await this[e(475)][e(419)](t,this[e(184)]),this[e(475)][e(461)](t)}async[oe(268)](t,e,i=!1){const s=oe;if(!this[s(255)])return;const n=this[s(214)],r=this[s(247)],o=s(422)==typeof t?r[s(315)](t):t,a=s(422)==typeof e?r[s(315)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(214)]&&this[s(214)][s(156)]===c&&this[s(214)][s(213)]===u)return Promise[s(371)]();this[s(381)]=!1,this[s(227)]=null,this[s(163)]=null,this[s(214)]=new ie(c,u);const l=this[s(404)](o,a,!0)[s(250)]((t=>this[s(475)][s(419)](t,this[s(184)])));return l[s(325)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(155)](l)[s(257)]((()=>{const t=s;if(!this[t(255)])return;this[t(327)]();const e=this[t(280)](c,u);for(const i of e[t(314)])this[t(168)][t(323)](i.id,i);this[t(238)][t(241)][t(200)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(238)][s(241)][s(444)][s(195)]())i[s(476)](t);for(const t of Object[s(202)](e[s(241)])){const n=i[s(352)](t);for(const r of Object[s(202)](e[s(468)][t]))i[s(405)](r,e[s(468)][t][r],n);i[s(345)](e[s(241)][t],n,0)}})),this[t(214)][t(456)](this[t(460)](e[t(314)])),this[t(381)]=!0}))[s(305)]((t=>{const e=s;console[e(234)](t),this[e(327)](),n&&(this[e(214)]=n),this[e(381)]=!0}))}[oe(162)](t,e){const i=oe,s=this[i(247)][i(182)](t);return s.on(i(459),((t,i,n)=>e(i,n,s))),this[i(247)][i(395)](s),s}[oe(327)](){const t=oe;this[t(163)]=null,this[t(151)](),this[t(370)]&&this[t(370)][t(201)](),this[t(370)]=null,this[t(168)][t(225)](),this[t(238)][t(241)][t(200)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(238)][i(241)][i(444)][i(195)]())e[i(476)](t)}))}[oe(460)](t){const e=oe,i=[],s=new Map;for(const t of this[e(238)][e(241)][e(444)][e(195)]()){const n=this[e(238)][e(188)][e(466)][e(469)](t);if(!n)continue;const r=n[e(240)]()[e(212)](0);r&&(i[e(325)](t),s[e(323)](t,r))}return i[e(173)](((t,i)=>{const n=e,r=s[n(406)](t),o=s[n(406)](i);return r.y-o.y||r.x-o.x})),(t=t[e(437)]((t=>i[e(302)](t[e(375)]))))[e(173)](((t,s)=>i[e(235)](t[e(375)])-i[e(235)](s[e(375)]))),t}[oe(420)](t){const e=oe,i=Array[e(441)](t[e(264)])[e(437)]((([t,i])=>t[e(248)](e(362))&&!i[e(418)])),s=Array[e(441)](this[e(238)][e(241)][e(335)](t)[e(436)]({singleCharacters:!0}));if(0!=i[e(283)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(300)](":");if(n[e(273)][e(239)](t[e(243)])&&i[e(249)](),(t[e(443)][e(239)](n[e(186)])||t[e(443)][e(367)](n[e(186)]))&&(e(413)==r?t[e(377)]={userId:o}:e(219)==r&&(t[e(346)]={userId:o})),0==i[e(283)])break}return s}[oe(278)](t){const e=oe,i=new Map;for(let s=0;s<t[e(283)];s++)e(455)===t[s][e(361)]?(t[s][e(212)][e(190)]=s,t[s][e(212)][e(192)]=s):(e(368)===t[s][e(361)]?t[s][e(212)][e(190)]=s:e(295)===t[s][e(361)]&&(t[s][e(212)][e(192)]=s),i[e(323)](t[s].id,s));for(const s of i[e(258)]())e(368)===t[s][e(361)]?t[s][e(212)][e(192)]=i[e(406)](t[s][e(228)]):e(295)===t[s][e(361)]&&(t[s][e(212)][e(190)]=i[e(406)](t[s][e(228)]))}[oe(343)](t){const e=oe;for(let i=0;i<t[e(283)];i++){if(e(368)===t[i][e(361)])t[i][e(212)][e(190)]=i;else if(e(295)===t[i][e(361)]){t[i][e(212)][e(192)]=i;const s=t[i][e(212)][e(190)];t[s][e(228)]=t[i].id,t[i][e(228)]=t[s].id}else t[i][e(212)][e(190)]=i,t[i][e(212)][e(192)]=i,t[i][e(228)]=null;t[i][e(397)]||(t[i][e(397)]=[],t[i][e(322)]=[])}}[oe(471)](t,e){const i=oe,s=t[i(437)]((t=>!t[i(377)]));for(let t=0;t<e[i(283)];t++)e[t][i(377)]&&(s[t][i(377)]=e[t][i(377)])}[oe(280)](t,e=null){const i=oe,s=this[i(247)][i(315)](t),n=e?this[i(247)][i(315)](e):null,r=this[i(404)](s,n),o=r[r[i(283)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(283)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(202)](e[i(424)]))if(e[i(424)][t][i(403)]){const s=e[i(424)][t][i(403)];s[i(414)]?(u[i(171)](t),l[i(365)](t)&&l[i(406)](t)[i(211)]==s[i(211)]?l[i(260)](t):l[i(323)](t,s)):l[i(365)](t)?(u[i(260)](t),l[i(260)](t)):(u[i(171)](t),l[i(323)](t,s))}else u[i(171)](t)}for(const t of u){const e=l[i(365)](t)&&!l[i(406)](t)[i(414)];let s=e?r[i(283)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(424)][t]){const s=e?o[i(424)][t][i(312)]:o[i(424)][t][i(276)];c[i(468)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(241)]={};for(const e of t[i(328)])a[i(323)](e.id,e);for(const e of u){const s=t[i(424)][e]?t[i(424)][e][i(465)]:"[]",n=t[i(424)][e]?t[i(424)][e][i(286)]:"[]";t[i(241)][e]={insertions:this[i(475)][i(210)](s),deletions:this[i(475)][i(210)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(441)](s[i(241)][t][i(465)][i(264)])[i(437)]((([t])=>!t[i(248)](i(362)))));let h=0;for(const o of r){const r=this[i(420)](o[i(241)][t][i(465)]);o==s?(e=r,n=e[i(283)],e[i(344)]((t=>{t.id=h++})),this[i(343)](e)):this[i(471)](e,r);const a=e[i(437)]((t=>!t[i(377)]))[i(250)]((t=>t.id));let c=0;const l=this[i(420)](o[i(241)][t][i(286)]);l[i(344)]((t=>{t[i(346)]?t.id=n++:t.id=a[c++]})),this[i(343)](l),this[i(164)](e,i(377)),this[i(164)](l,i(346)),o==s&&this[i(309)](e,u),e=this[i(152)](e,l),this[i(278)](e),this[i(164)](e,i(346))}e=e[i(437)]((t=>!(t[i(377)]&&t[i(346)])));const d=new Map(o[i(241)][t][i(286)][i(264)]),f=new Set(u[i(202)]());for(const t of d[i(202)]())f[i(260)](t);this[i(360)](e,f),this[i(266)](e),e=this[i(338)](e),e=this[i(207)](e),e=this[i(350)](e);const{root:m,changes:p}=this[i(233)](e,a,t);c[i(241)][t]=m;const v=l[i(406)](t);if(v){const e=a[i(406)](v[i(211)]),s=new Xt({author:e,type:v[i(414)]?i(171):i(279),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(474)](s),c[i(468)][t][i(355)]=s.id}c[i(314)]=c[i(314)][i(354)](p)}return c}[oe(309)](t,e){const i=oe;for(let s=0;s<t[i(283)];s++)for(const[n,r]of e)!r[i(418)]&&r[i(186)][i(239)](t[s][i(443)])&&t[s][i(397)][i(325)](n),r[i(273)][i(239)](t[s][i(243)])&&t[s][i(322)][i(325)](n)}[oe(152)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(283)]||r<e[i(283)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(325)](o);else if(a[i(346)]&&o[i(377)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(428)](t,n,e,r);s=s[i(354)](o),n=a,r=c}else a[i(346)]?(r++,s[i(325)](a)):(n++,s[i(325)](o))}return s}[oe(360)](t,e){const i=oe,s=[];for(let o=0;o<t[i(283)];o++){for(let r=0;r<t[o][i(397)][i(283)];r++){const a=t[o][i(397)][r];if(!e[i(365)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(430)!=c||i(413)!=u&&i(219)!=u||(s[i(474)]({type:u,name:a,userId:l}),t[o][i(397)][i(453)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(322)][i(283)];r++){const a=t[o][i(322)][r];if(!e[i(365)](a))continue;const{group:c,type:u}=n(a);if(i(430)!=c||i(413)!=u&&i(219)!=u)continue;t[o][i(322)][i(453)](r,1),r--;const l=s[i(288)]((t=>t[i(161)]==a));l>-1&&s[i(453)](l,1)}}function n(t){const e=i,s=t[e(300)](":");return{group:s[0],type:s[1],subType:s[e(283)]>=5?s[2]:null,id:s[e(283)]<5?s[2]:s[3],authorId:s[e(283)]<5?s[3]:s[4],markerCount:6==s[e(283)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(283)];i++){if(t[e(377)]&&e(413)==s[i][e(361)]&&t[e(377)][e(211)]==s[i][e(211)])return t[e(189)]=s[i],void delete t[e(377)];if(!t[e(377)]&&!t[e(346)]&&e(219)==s[i][e(361)])return void(t[e(347)]=s[i])}}}[oe(164)](t,e){const i=oe;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(323)](o.id,s);for(let s=0;s<t[i(283)];s++){if(i(346)==e&&t[s][i(377)]||i(377)==e&&t[s][i(346)])continue;if(i(455)==t[s][i(361)]){t[s][i(408)]=0;continue}const n=r[i(406)](t[s][i(228)]),o=r[i(406)](t[s].id);t[s][i(408)]=n-o}}[oe(404)](t,e,i=!1){const s=oe,n=[];let r=this[s(247)][s(392)](t),o=this[s(247)][s(392)](e);for(-1==o&&(o=this[s(247)][s(206)][s(283)],i=!1);r<o;)n[s(325)](this[s(247)][s(315)](r)),r++;return i&&n[s(325)](this[s(247)][s(315)](r)),n}[oe(428)](t,e,i,s){const n=oe,r=this[n(238)][n(241)][n(386)];let o=e;for(;t[o]&&t[o][n(377)];)o++;let a=s;for(;i[a]&&i[a][n(346)];)a++;u(t,e,o),u(i,s,a);const c=i[n(341)](s,a)[n(354)](t[n(341)](e,o));return c[n(173)](((t,e)=>t[n(435)]!=e[n(435)]?t[n(435)]-e[n(435)]:t[n(203)]!=e[n(203)]?t[n(203)]-e[n(203)]:t[n(408)]!=e[n(408)]?e[n(408)]-t[n(408)]:!!t[n(377)]!=!!e[n(377)]?-1==t[n(435)]||0==t[n(435)]?t[n(377)]?-1:1:t[n(377)]?1:-1:t[n(407)]-e[n(407)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(470)],c=!0;for(let n=e;n<i;n++)if(r[s(331)](t[n][s(212)])||(c=!1),t[n][s(212)][s(190)]<e&&(o=n),t[n][s(212)][s(192)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(435)]=n<=o?-1:n<a?0:1,t[n][s(407)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(408)]?t[i][s(203)]=u:(u++,t[i][s(203)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(435)]&&(t[n][s(203)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(408)]?t[e][s(203)]=u:(u--,t[e][s(203)]=u,u--)}}[oe(266)](t){const e=oe,i=new Map,s=this[e(238)][e(241)][e(386)];for(let n=1;n<t[e(283)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(455)==c[e(361)])continue;if(c[e(361)]!=u[e(361)])continue;if(!s[e(449)](u[e(212)])||s[e(409)](u[e(212)]))continue;if(!s[e(449)](c[e(212)])||s[e(409)](c[e(212)]))continue;if((t[n][e(377)]||t[n][e(189)])&&t[n-1][e(346)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(346)]||!t[n-1][e(377)]&&!t[n-1][e(189)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(203)]==o[e(203)],h=Math[e(378)](r[e(203)])<Math[e(378)](o[e(203)])&&0==o[e(408)];(l||h)&&(i[e(323)](o.id,r.id),t[e(453)](a,1),n--,r[e(377)]=!1)}for(let s=0;s<t[e(283)];s++)i[e(365)](t[s][e(228)])&&(t[s][e(228)]=i[e(406)](t[s][e(228)]))}[oe(338)](t){const e=oe,i=new Set(t[e(250)]((t=>t.id)));for(let s=0;s<t[e(283)];s++)i[e(365)](t[s][e(228)])||0==t[s][e(408)]||(t[s][e(427)]=!0);return t[e(437)]((t=>!t[e(427)]))}[oe(207)](t){const e=oe,i=new Set;for(let s=0;s<t[e(283)];s++){if(i[e(365)](t[s].id)&&t[s][e(346)]&&(t[s][e(427)]=!0),t[s][e(427)])continue;if(0==t[s][e(408)])continue;if(e(368)!=t[s][e(361)])continue;if(null==t[s][e(228)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(228)];)e(368)==t[n][e(361)]?r++:e(295)==t[n][e(361)]&&r--,n++;if(0!=r)if(t[s][e(346)])t[s][e(427)]=!0;else for(;n!=s;)t[n][e(346)]&&0!=t[n][e(408)]&&(t[n][e(427)]=!0,i[e(171)](t[n][e(228)])),n--}return t[e(437)]((t=>!t[e(427)]))}[oe(350)](t){const e=oe,i=this[e(238)][e(241)][e(386)];for(let s=0;s<t[e(283)];s++){if(!(t[s][e(377)]||t[s][e(189)]||t[s][e(346)]||t[s][e(347)]))continue;if(0==t[s][e(408)])continue;const n=t[s][e(212)];i[e(449)](n)||i[e(409)](n)||(t[s][e(377)]&&delete t[s][e(377)],t[s][e(189)]&&delete t[s][e(189)],t[s][e(347)]&&delete t[s][e(347)],t[s][e(346)]&&(t[s][e(427)]=!0))}return t[e(437)]((t=>!t[e(427)]))}[oe(233)](t,e,i){const s=oe,n=new K.DocumentFragment,r=[],o=new Map,a=this[s(238)][s(241)],c=a[s(386)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(283)];e++)if(s(368)===t[e][s(361)]){t[e][s(443)]=a[s(339)](n,f);const i=new K.Element(t[e][s(212)][s(161)],t[e][s(212)][s(170)]());u[0][s(467)](i),f[s(325)](0),u[s(474)](i),t[e][s(243)]=a[s(339)](n,f)}else s(295)===t[e][s(361)]?(u[s(249)](),t[e][s(443)]=a[s(339)](n,f),f[s(320)](),f[f[s(283)]-1]++,t[e][s(243)]=a[s(339)](n,f)):(t[e][s(443)]=a[s(339)](n,f),d?d[s(473)]+=t[e][s(212)][s(281)]:d=new K.Text(t[e][s(212)][s(281)],t[e][s(212)][s(170)]()),t[e+1]&&s(455)===t[e+1][s(361)]&&v(d,t[e+1][s(212)])||(u[0][s(467)](d),d=null),f[f[s(283)]-1]+=t[e][s(212)][s(445)],t[e][s(243)]=a[s(339)](n,f));for(let e=0;e<t[s(283)];e++){const i=t[e][s(443)],n=t[e][s(243)];for(const n of t[e][s(397)])o[s(323)](n,{start:i,end:null});m(s(347),e,i,n),m(s(189),e,i,n),m(s(346),e,i,n),m(s(377),e,i,n);for(const i of t[e][s(322)]){const t=o[s(406)](i);t?t[s(273)]=n:o[s(323)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(238)][s(241)][s(177)](e[s(186)],e[s(273)]);n[s(264)][s(323)](t,i)}return r[s(173)](((t,e)=>{const i=s,r=n[i(264)][i(406)](i(362)+t.id),o=n[i(264)][i(406)](i(362)+e.id);return r[i(186)][i(215)](o[i(186)])?-1:r[i(186)][i(367)](o[i(186)])?1:r[i(273)][i(215)](o[i(273)])?-1:r[i(273)][i(367)](o[i(273)])?1:i(171)===t[i(361)]?-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(211)]:null,d=i===t[o(283)]-1,f=h[e][0],m=c[o(334)](t[i][o(212)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(273)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(211)]!==u&&(l[e][o(273)]=n,f&&f[o(211)]===l[e][o(211)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(368)!==t[i][o(361)]||f&&f[o(211)]===u||h[e][o(474)]({userId:u,object:t[i][o(212)],change:l[e]}),o(295)===t[i][o(361)]&&f&&f[o(384)]===t[i][o(212)]&&(h[e][o(249)](),l[e]=f[o(284)])),l[e]&&d&&(l[e][o(273)]=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(212)],f=a[h(386)][h(449)](d)&&!a[h(386)][h(409)](d),m=t[h(374)]==o[h(348)]&&o[h(160)];if(f&&m)return;const p=a[h(177)](t,o),v=e[h(406)](u),g=new Xt({author:v,type:h(377)==l||h(189)==l?h(171):h(279),data:{isSuggestion:h(189)==l||h(347)==l},createdAt:new Date,rootName:i});r[h(325)](g),n[h(264)][h(323)](h(362)+g.id,p)}function v(t,e){const i=s,n=t[i(170)](),r=e[i(170)]();for(const t of n){if(t[1]!==e[i(208)](t[0]))return!1;r[i(303)]()}return r[i(303)]()[i(253)]}}[oe(236)](){const t=oe;this[t(238)][t(262)][t(326)](t(185))[t(324)]({view:t(373)}),this[t(238)][t(262)][t(326)](t(263))[t(199)]({model:t(373),view:e=>{const i=t,s=e[i(242)][i(300)](":")[1],n=this[i(383)](s);if(!n)return null;const r=i(171)==n[i(361)]?i(413):i(219),o=[i(191),i(425)+r];return n[i(281)][i(432)]&&o[i(325)](i(425)+r+i(298)),this[i(163)]==n&&o[i(325)](i(402)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(238)][t(262)][t(326)](t(185))[t(171)]((e=>{const i=t;e.on(i(385),((t,e,s)=>{const n=i,r=e[n(329)][n(396)](0);if(!r||!r.is(n(246),n(269)))return;if(!s[n(417)][n(451)](r,{attributes:[n(198),n(187)]}))return;const o=e[n(271)][n(186)][n(374)];s[n(252)][n(405)](n(198),r[n(208)](n(198)),o),s[n(252)][n(405)](n(187),r[n(208)](n(187)),o)}),{priority:i(287)})})),this[t(238)][t(262)][t(326)](t(185))[t(171)]((e=>{const i=t;e.on(i(246),((t,e,s)=>{const n=i;if(!s[n(417)][n(451)](e[n(329)],{attributes:[n(198),n(187)]}))return;if(e[n(271)][n(418)])return;const r=e[n(271)][n(186)][n(374)];r[n(429)](n(198))||r[n(429)](n(224))||(s[n(252)][n(405)](n(198),e[n(329)][n(208)](n(198)),r),s[n(252)][n(405)](n(187),e[n(329)][n(208)](n(187)),r))}),{priority:i(287)})})),this[t(238)][t(262)][t(326)](t(185))[t(390)]({view:{name:t(426),attributes:{vid:!0}},model:{key:t(224),value:e=>e[t(208)](t(224))}}),this[t(238)][t(241)][t(386)].on(t(342),((e,[,i])=>{const s=t;[s(198),s(187),s(224)][s(302)](i)&&(e[s(229)]=!0,e[s(205)]())}),{priority:t(369)}),this[t(238)][t(262)][t(326)](t(181))[t(171)]((e=>{const i=t;e.on(i(220),((t,e,s)=>{const n=i;if(" "!=e[n(212)][n(281)]||e[n(212)][n(348)][n(433)]>1)return;if(!s[n(417)][n(451)](e[n(212)],t[n(161)]))return;const r=s[n(252)],o=s[n(172)][n(267)](e[n(447)]);r[n(221)](o,r[n(416)](n(426)))}))})),this[t(238)][t(262)][t(326)](t(181))[t(306)]({model:t(373)}),this[t(238)][t(188)][t(372)].on(t(154),function(e){const i=t,s=e[i(178)][i(406)](i(265));return(t,n,r)=>{const o=i,a=n[o(242)][o(300)](":")[1],c=s[o(383)](a);if(!c)return null;const u=o(171)==c[o(361)]?o(300):o(415);if(!r[o(417)][o(463)](n[o(176)],t[o(161)]))return;const l=n[o(176)][o(436)](),h=n[o(176)][o(186)],d=e[o(241)][o(386)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(212)];p=p||d[o(179)](e);const i=r[o(172)][o(311)](e);if(i&&i[o(297)](o(254)))return;o(295)==t[o(361)]&&d[o(449)](e)&&!d[o(409)](e)&&(e[o(410)]||h[o(292)]?f&&f[o(348)]==e||(f=e,g(t[o(443)]),v=!0):m=m||t[o(443)])}function g(t){const e=o,i=r[e(252)][e(316)](e(426),{class:e(425)+u}),a=r[e(172)][e(194)](t);c[e(281)][e(432)]&&r[e(252)][e(353)](e(425)+u+e(298),i),s[e(163)]==c&&r[e(252)][e(353)](e(402),i),r[e(252)][e(345)](a,i),r[e(172)][e(197)](i,n[e(242)])}p||v||!m||g(m)}}(this[t(238)]),{priority:t(166)}),this[t(238)][t(188)][t(372)].on(t(457),((e,i,s)=>{const n=t,r=s[n(172)][n(175)](i[n(242)]);if(r)for(const t of r)(t[n(274)](n(230))||t[n(274)](n(412)))&&(s[n(172)][n(364)](t,i[n(242)]),s[n(252)][n(279)](t))}),{priority:t(166)}),this[t(238)][t(188)][t(372)].on(t(154),((e,i,s)=>{const n=t,r=i[n(242)][n(300)](":")[1],o=this[n(383)](r);if(!o)return null;const a=n(171)==o[n(361)]?n(300):n(415);if(s[n(417)][n(463)](i[n(176)],e[n(161)]))for(const t of i[n(176)][n(226)]()){if(!t.is(n(246),n(398)))continue;const e=s[n(252)][n(316)](n(426),{class:n(425)+a}),r=s[n(172)][n(194)](this[n(238)][n(241)][n(458)](t));o[n(281)][n(432)]&&s[n(252)][n(353)](n(425)+a+n(298),e),this[n(163)]==o&&s[n(252)][n(353)](n(402),e),s[n(252)][n(345)](r,e),s[n(172)][n(197)](e,i[n(242)])}}),{priority:t(166)}),this[t(238)][t(241)][t(444)].on(t(284),(()=>{const e=t;this[e(238)][e(188)][e(466)][e(284)]((t=>{const i=e;for(const e of this[i(238)][i(241)][i(444)][i(195)]()){const s=this[i(238)][i(241)][i(444)][i(296)](e),n=this[i(238)][i(188)][i(466)][i(444)][i(296)](e);if(n){const e=s[i(208)](i(355));if(t[i(223)](i(340),n),t[i(376)](i(401),n),t[i(376)](i(310),n),t[i(376)](i(382),n),e){const s=this[i(383)](e);if(!s)return null;t[i(405)](i(340),e,n),t[i(353)](i(157)+s[i(361)],n),this[i(163)]==s&&t[i(353)](i(382),n)}}}}))})),this[t(238)][t(262)][t(326)](t(185))[t(324)]({view:t(319),model:e=>t(357)+e,converterPriority:t(369)}),this[t(238)][t(262)][t(326)](t(185))[t(324)]({view:t(275),model:e=>t(423)+e,converterPriority:t(369)}),this[t(238)][t(262)][t(326)](t(181))[t(306)]({model:t(430),view:e=>({name:t(231)+e,group:t(430)}),converterPriority:t(369)}),this[t(238)][t(262)][t(326)](t(263))[t(199)]({model:t(430),view:e=>{const i=t,s=e[i(242)][i(300)](":")[1];return i(413)!=s&&i(219)!=s?null:{classes:[i(321),i(448)+s]}}}),this[t(238)][t(188)][t(372)].on(t(389),ue(this[t(238)],t(415)),{priority:t(166)}),this[t(238)][t(188)][t(372)].on(t(277),ue(this[t(238)],t(300)),{priority:t(166)}),this[t(238)][t(188)][t(372)].on(t(290),((e,i,s)=>{const n=t,r=s[n(172)][n(175)](i[n(242)]);if(r)for(const t of r)t.is(n(169))&&(s[n(172)][n(364)](t,i[n(242)]),s[n(252)][n(279)](t))}),{priority:t(166)})}[oe(383)](t){const e=oe;return this[e(168)][e(406)](t)}[oe(183)](t){const e=oe;return this[e(370)]&&this[e(370)][e(201)](),this[e(370)]=new Yt(this[e(238)][e(442)],t),this[e(370)]}[oe(293)](){const t=oe;this[t(238)][t(241)][t(444)][t(294)][t(174)](t(373)),this.on(t(391),((e,i,s,n)=>{const r=t;n&&this[r(291)][r(279)](n),s&&(this[r(291)][r(171)]({view:s,stackId:r(446),position:{target:()=>{const t=r,e=this[t(238)][t(188)],i=this[t(383)](s[t(400)]);let n;if(i[t(281)][t(452)]){const s=e[t(466)][t(469)](i[t(375)]);n=Array[t(441)](s[t(240)]())}else{const i=this[t(238)][t(241)][t(264)][t(406)](t(362)+s[t(400)]);n=Array[t(441)](e[t(172)][t(175)](i[t(161)]))[t(250)]((i=>e[t(466)][t(462)][t(421)](i)))[t(250)]((e=>Array[t(441)](e[t(240)]())))[t(180)]()}return this[t(222)]&&n[t(431)]((e=>e[t(358)]-3<=this[t(222)].y&&e[t(251)]+3>=this[t(222)].y&&e[t(282)]-3<=this[t(222)].x&&e[t(366)]+3>=this[t(222)].x))||n[0]}}}),this[r(291)][r(159)](r(446)))})),this.on(t(193),((e,i,s,n)=>{const r=t;this[r(227)]=s?this[r(183)](s):null,this[r(238)][r(241)][r(284)]((()=>{const t=r,e=this[t(238)][t(188)];n&&(n[t(281)][t(452)]?e[t(466)][t(284)]((i=>{const s=t;i[s(376)](s(382),e[s(466)][s(444)][s(296)](n[s(375)]))})):e[t(313)](t(362)+n.id)),s&&(s[t(281)][t(452)]?e[t(466)][t(284)]((i=>{const n=t;i[n(353)](n(382),e[n(466)][n(444)][n(296)](s[n(375)]))})):e[t(313)](t(362)+s.id))}))})),this[t(285)](this[t(238)][t(188)][t(466)][t(444)],t(394),((e,i)=>{const s=t;if(this[s(163)])return;const n=this[s(472)](i[s(259)]),r=this[s(168)][s(406)](n);r?(this[s(222)]={x:i[s(379)].x,y:i[s(379)].y},this[s(227)]=this[s(183)](r)):(this[s(222)]=null,this[s(227)]=null)})),this[t(285)](this[t(238)][t(188)][t(466)][t(444)],t(317),((e,i)=>{const s=t,n=this[s(472)](i[s(259)]),r=this[s(168)][s(406)](n);r?(this[s(222)]={x:i[s(379)].x,y:i[s(379)].y},r===this[s(163)]?this[s(291)][s(167)]():this[s(163)]=r):(this[s(222)]=null,this[s(163)]=null)}))}[oe(472)](t){const e=oe;do{const i=t[e(208)](e(340));if(i)return i;t=t[e(348)]}while(t);return null}[oe(151)](){const t=oe;this[t(238)][t(241)][t(284)]((e=>{const i=t;for(const t of this[i(238)][i(241)][i(264)])e[i(363)](t)}))}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(417)][r(463)](s[r(176)],i[r(161)]))return;const o=s[r(176)][r(436)](),a=s[r(176)][r(186)],c=t[r(241)][r(386)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(212)];h=h||c[r(179)](e);const i=n[r(172)][r(311)](e);if(i&&i[r(297)](r(254)))return;r(295)==t[r(361)]&&c[r(449)](e)&&!c[r(409)](e)&&(e[r(410)]||a[r(292)]?u&&u[r(348)]==e||(u=e,f(t[r(443)]),d=!0):l=l||t[r(443)])}function f(t){const i=r,o=n[i(172)][i(194)](t),a=n[i(252)][i(316)](i(426),{class:i(448)+e});n[i(252)][i(345)](o,a),n[i(172)][i(197)](a,s[i(242)])}h||d||!l||f(l)}}class le extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(178)][e(406)](ce);this[e(438)]=!1,this[e(285)](i,e(196),(()=>this[e(217)]())),this[e(285)](i,e(272),(()=>this[e(217)]()))}[oe(336)](){const t=oe,e=this[t(238)],i=e[t(178)][t(406)](ce),s=i[t(381)]?i[t(214)][t(156)]:null;e[t(387)][t(406)](t(450))[t(244)](s)}[oe(217)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(238)][t(178)][t(406)](ce),r=n&&s[t(411)](n[t(156)]);this[t(255)]=e&&i&&Boolean(r)}}class he extends J.Command{[oe(477)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(178)][i(406)](ce);this[i(438)]=!1,this[i(477)]=i(332)===e?1:-1,this[i(285)](s,i(196),(()=>this[i(217)]())),this[i(285)](s,i(272),(()=>this[i(217)]())),this[i(285)](s,i(193),(()=>this[i(217)]()))}[oe(336)](){const e=oe,i=this[e(238)],s=i[e(178)][e(406)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(163)]=n?s[e(214)][e(314)][e(406)](r+this[e(477)]):s[e(214)][e(314)][e(216)],s[e(163)][e(281)][e(452)])o=i[e(188)][e(466)][e(469)](s[e(163)][e(375)]);else{const t=i[e(241)][e(264)][e(406)](e(362)+s[e(163)].id);o=(0,G.getMarkerDomElement)(i[e(188)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(217)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(238)][t(178)][t(406)](ce);this[t(255)]=!!(r&&n&&s)&&(!e||(1===this[t(477)]?i<s-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=At(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Mt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(){const t=["isNavigationMode","Loading...","forward","ck-revision-history-ui__changes-navigation__wrapper","7yxNIWf","60ugfNzN","_statusText","Show next change","fire","EDIT_X_OF_Y_REVISIONS","Total","setTemplate","ck-hidden","_isStatusLabelVisible","isBackwardNavigationEnabled","bindTemplate","backward","865506SoHsiZ","5189640ZhfYia","bind","span","isEnabled","279833dHmHwB","currentChangeNumber","execute","set","numberOfChanges","155728kUoJsd","isReady","div","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation","Show previous change","isForwardNavigationEnabled","X_OF_Y_CHANGES","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__navigation","3548868wYrWSR","674510LVXfFF","No changes","6990516BETuHE","NUMBER_OF_CHANGES"];return(me=function(){return t})()}function pe(t,e){const i=me();return(pe=function(t,e){return i[t-=232]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(394611===-parseInt(e(236))/1+-parseInt(e(273))/2+parseInt(e(261))/3*(parseInt(e(241))/4)+-parseInt(e(252))/5+parseInt(e(251))/6*(parseInt(e(260))/7)+parseInt(e(232))/8+-parseInt(e(254))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(me);class ve extends _t.View{constructor(t){const e=pe;super(t);const i=this[e(271)],s=new _t.ButtonView(t),n=new _t.ButtonView(t);this[e(239)](e(256),!1),this[e(239)](e(242),!1),this[e(239)](e(237),0),this[e(239)](e(240),0),this[e(239)](e(247),!1),this[e(239)](e(270),!1),this[e(233)](e(269)).to(this,e(242),this,e(240),((t,e)=>t&&e>0)),this[e(233)](e(262)).to(this,e(242),this,e(237),this,e(240),this,e(256),((i,s,n,r)=>{const o=e;if(!i)return ot(t,o(257));if(!n)return ot(t,o(253));const a=ot(t,o(255),n);return r?ot(t,o(248),[s+1,n]):a})),s[e(239)]({label:ot(t,e(246)),tooltip:!0,icon:wt.IconChevronUp}),n[e(239)]({label:ot(t,e(263)),tooltip:!0,icon:wt.IconChevronDown}),s[e(233)](e(235)).to(this,e(270)),n[e(233)](e(235)).to(this,e(247)),s.on(e(238),(()=>this[e(264)](e(238),e(272)))),n.on(e(238),(()=>this[e(264)](e(238),e(258)))),this[e(267)]({tag:e(243),attributes:{class:["ck",e(249),e(245)]},children:[{tag:e(234),attributes:{class:[e(259)]},children:[{tag:e(234),attributes:{class:[e(244),i.if(e(269),e(268),(t=>!t))]},children:[{text:i.to(e(256),(i=>i?ot(t,e(265))+": ":ot(t,e(266))+": "))}]},{text:i.to(e(262))}]},new _t.ToolbarSeparatorView,{tag:e(243),attributes:{class:[e(250)]},children:[s,n]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=At(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Mt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;function ke(t,e){const i=Ie();return(ke=function(t,e){return i[t-=450]})(t,e)}const be=ke;!function(t){const e=ke,i=t();for(;;)try{if(405865===-parseInt(e(462))/1*(-parseInt(e(468))/2)+parseInt(e(451))/3+-parseInt(e(463))/4*(parseInt(e(474))/5)+-parseInt(e(472))/6+parseInt(e(471))/7+-parseInt(e(469))/8*(-parseInt(e(457))/9)+-parseInt(e(473))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const we=be(450);class _e extends J.Plugin{static get[be(470)](){return be(455)}static get[be(464)](){return!0}static get[be(459)](){return!0}[be(452)](){const t=be,e=this[t(461)][t(460)][t(458)];e[t(454)]((i=>{const s=t;for(const t of e[s(453)][s(456)])i[s(466)](we,t)}))}[be(467)](){const t=be,e=this[t(461)][t(460)][t(458)];e[t(454)]((i=>{const s=t;for(const t of e[s(453)][s(456)])i[s(465)](we,t)}))}}function Ie(){const t=["hide","161624qLrpoe","1272zMIqyl","pluginName","5208028wVsuFW","1614282yxnOWb","4832330PMFKKY","30JYorOh","ck-editor__editable__loading-overlay","391173iLZffw","show","document","change","RevisionViewerLoadingOverlay","roots","27558QbQllN","view","isPremiumPlugin","editing","editor","1trAzFV","189280USJmUr","isOfficialPlugin","removeClass","addClass"];return(Ie=function(){return t})()}function Se(){const t=["plugins","exitToEditing","config","execute","pluginName","Restore this revision","set","currentChangeNumber","init","isEnabled","requires","listenTo","numberOfChanges","editor","263962GTxSzJ","commands","isForwardNavigationEnabled","showNextChange","15BfQNZb","showPreviousChange","ck-revision-history-ui__back-to-editing","RevisionViewerUI","2455285LUsBVk","111039SxNSbo","3685926jfVNFx","Back to editing","changesNavigation","isOfficialPlugin","add","show","bind","isPremiumPlugin","3121420oRtEEr","change:isReady","isNavigationMode","hide","8XJOigL","isReady","isBackwardNavigationEnabled","get","22168883DEiiOT","revisionHistory","1SWgCOU","6126456HqRpVn","componentFactory","restoreRevision","closeRevisionViewerCallback","9IhATtd","forward"];return(Se=function(){return t})()}const Oe=Te;function Te(t,e){const i=Se();return(Te=function(t,e){return i[t-=442]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(946139===-parseInt(e(442))/1*(parseInt(e(463))/2)+parseInt(e(472))/3+parseInt(e(443))/4+-parseInt(e(467))/5*(parseInt(e(473))/6)+parseInt(e(471))/7*(-parseInt(e(485))/8)+-parseInt(e(447))/9*(parseInt(e(481))/10)+parseInt(e(489))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class xe extends J.Plugin{static get[Oe(453)](){return Oe(470)}static get[Oe(476)](){return!0}static get[Oe(480)](){return!0}static get[Oe(459)](){return[ce,_e]}[Oe(457)](){const t=Oe,e=this[t(462)],i=e[t(449)][t(488)](ce),s=e[t(449)][t(488)](_e);e.ui[t(444)][t(477)](t(450),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(455)]({label:ot(i,s(474)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:s(469)}),this[s(460)](n,s(452),(()=>{const t=s;e[t(451)][t(488)](t(490))[t(446)]()})),n})),e.ui[t(444)][t(477)](t(445),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(455)]({label:ot(i,s(454)),withText:!0,tooltip:!0}),n[s(479)](s(458)).to(e[s(464)][s(488)](s(445))),this[s(460)](n,s(452),(()=>e[s(452)](s(445)))),n})),e.ui[t(444)][t(477)](t(475),(s=>{const n=t,r=new ve(s),o=e[n(464)][n(488)](n(468)),a=e[n(464)][n(488)](n(466));return r[n(479)](n(487)).to(o,n(458)),r[n(479)](n(465)).to(a,n(458)),r[n(479)](n(486),n(456),n(461),n(483)).to(i),this[n(460)](r,n(452),((t,i)=>{const s=n;e[s(452)](s(448)===i?s(466):s(468))})),r})),s[t(478)](),i.on(t(482),((e,i,n)=>{const r=t;n?s[r(484)]():s[r(478)]()}))}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Mt();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Ae=Me;function Ve(){const t=["placeholder","input","element","Enter the revision name","1033vEgeNv","scrollWidth","value","render","12267928sIIzfT","1910052VOvcuX","listenTo","destroy","span","fieldView","set","1314300qOfYdI","ck-revision-history-sidebar__revision-name","131802IFrWWG","3874269nCvTht","ck-tooltip_multi-line","356wUfbmF","extendTemplate","_resizeObserver","Revision name","_tooltipString","clientWidth","9GvheoR","bindTemplate","_updateTooltipText","524358wmFCMr"];return(Ve=function(){return t})()}function Me(t,e){const i=Ve();return(Me=function(t,e){return i[t-=215]})(t,e)}!function(t){const e=Me,i=t();for(;;)try{if(380066===-parseInt(e(228))/1*(-parseInt(e(244))/2)+parseInt(e(241))/3+-parseInt(e(233))/4+-parseInt(e(239))/5+-parseInt(e(223))/6+-parseInt(e(242))/7+-parseInt(e(232))/8*(-parseInt(e(220))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends _t.LabeledFieldView{[Ae(216)]=null;constructor(t,e){const i=Ae;super(t,e);const s=this[i(221)];this[i(238)]({label:ot(t,i(217)),_tooltipString:""}),this[i(237)][i(224)]=ot(t,i(227)),this[i(215)]({tag:i(236),attributes:{class:[i(240)],"data-cke-tooltip-text":s.to(i(218)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(243)}})}[Ae(231)](){const e=Ae;super[e(231)](),this[e(216)]=new t.ResizeObserver(this[e(237)][e(226)],(()=>this[e(222)]())),this[e(234)](this[e(237)],e(225),(()=>this[e(222)]()))}[Ae(235)](){const t=Ae;super[t(235)](),this[t(216)]&&this[t(216)][t(235)]()}[Ae(222)](){const t=Ae,e=this[t(237)][t(226)];this[t(218)]=e[t(229)]>e[t(219)]&&e[t(230)]||""}}var De=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Mt();St()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["5571230XOkDpK","1657761XvNUgg","ck-revision-history-sidebar__revision-author__name","3306815pwLxlt","push","Revision author","Revision creator","9xnrhId","setTemplate","name","ck-revision-history-sidebar__revision-author","736386FPEuLa","0 0 11 10","11748zETgpe","643316hrVadD","1933192cZFORm","ck-revision-history-sidebar__revision-author_creator","6KBXSZm","33XBcHYy","set","span"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=116]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(443025===parseInt(e(136))/1+parseInt(e(118))/2+parseInt(e(122))/3*(-parseInt(e(117))/4)+-parseInt(e(128))/5+-parseInt(e(121))/6*(parseInt(e(126))/7)+-parseInt(e(119))/8*(parseInt(e(132))/9)+parseInt(e(125))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class je extends _t.View{constructor(t,e,i){const s=Le;super(t);const n=new _t.IconView;n[s(123)]({content:wt.IconUser,viewBox:s(116)});const r=["ck",s(135)];i&&r[s(129)](s(120));const o=[{tag:s(124),attributes:{class:["ck",s(127)],title:ot(t,s(i?131:130))},children:[n,e[s(134)]]}];this[s(133)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=ze();return(Pe=function(t,e){return i[t-=408]})(t,e)}function ze(){var t=["4NEkuMS","444805myMWZH","toLocaleDateString","267700hYaOHo","35552eyCQRf","77738htnxdL","6bZuivE","950FbYEDt","1718264bUvykW","18mlIIOC","608325KRciFA","long","toLocaleTimeString","665903Ldtcir","numeric"];return(ze=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(552094===parseInt(e(417))/1+parseInt(e(421))/2+-parseInt(e(411))/3+parseInt(e(416))/4*(parseInt(e(419))/5)+parseInt(e(422))/6*(parseInt(e(414))/7)+-parseInt(e(409))/8*(-parseInt(e(410))/9)+-parseInt(e(408))/10*(parseInt(e(420))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=At(),Ue.insert=Nt().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Mt();St()(We.A,Ue);We.A&&We.A.locals&&We.A.locals;function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=193]})(t,e)}function He(){const t=["bind","locale","isReady","Compare against selected","first","36EdWpjY","isVisible","4KYlNMd","execute","source","buttonView","1xpyNDy","class","144218VzwGNh","menu","459588FcURIt","isActionsDropdownOpen","stopPropagation","action","isEnabled","Show more items","add","340768VQAmLF","items","ck-on","bindTemplate","children","button","12kflxln","listView","92390yVWnDh","1055865KJhDBO","menuitem","isOpen","Name this revision","map","listenTo","find","_action","1113123CkRMFX","ck-revision-history-sidebar__revision__actions","name","change:isActionsDropdownOpen","35ySDgja","function","model","set","Restore this revision","457480xQXZBu","extendTemplate","panelPosition"];return(He=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(292931===parseInt(e(224))/1*(-parseInt(e(226))/2)+parseInt(e(193))/3+-parseInt(e(220))/4*(-parseInt(e(243))/5)+-parseInt(e(228))/6+-parseInt(e(205))/7*(parseInt(e(235))/8)+parseInt(e(218))/9*(parseInt(e(210))/10)+-parseInt(e(201))/11*(-parseInt(e(241))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(216),qe={attributes:{"data-cke":!0}};qe.setAttributes=At(),qe.insert=Nt().bind(null,"head"),qe.domAPI=Tt(),qe.insertStyleElement=Mt();St()($e.A,qe);$e.A&&$e.A.locals&&$e.A.locals;const Be=Ye;function Ye(t,e){const i=Je();return(Ye=function(t,e){return i[t-=123]})(t,e)}function Je(){const t=["4558524opEhip","extendTemplate","isReady","9zoHSjL","2698865cMGsSi","select","ck-revision-history-sidebar__revision_highlighted","deselect","closest","isActionsDropdownOpen","ck-disabled","349670rgVjWZ","set","listenTo","ck-reset","4797oycBEJ","ck-revision-history-sidebar__revision__controls-wrapper","_revision","change","_createdAtFormatted","28JuBmgp","ck-revision-history-sidebar__revision","fieldView","from","_requireRevisionName","bind","length","creator","setName","872744UHRdlI","1381784xFsCII",".ck-thread__remove-confirm","ck-revision-history-sidebar__actions_dropdown_open","div","createdAt","fire","unshift","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isConfirm","setTemplate","render","span","element","isSelected","value","revisionNameView","authors","isEnabled","isHighlighted","unhighlight","srcElement","map","revisionActionsView","filter","bindTemplate","ck-revision-history-sidebar__revision_selected","uiLanguage","highlight","ck-revision-history-sidebar__revision-wrapper","4509964DxJkaZ","name","ck-revision-history-sidebar__revision__date","220"];return(Je=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(742295===-parseInt(e(182))/1+parseInt(e(136))/2*(parseInt(e(174))/3)+-parseInt(e(167))/4+-parseInt(e(175))/5+parseInt(e(171))/6+parseInt(e(127))/7*(parseInt(e(137))/8)+-parseInt(e(186))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(153)];[Be(160)];[Be(124)];[Be(131)];constructor(e,i,s,n){const r=Be;super(e);const o=this[r(162)],a=function(t,e){const i=r,s=Array[i(130)](e[i(154)])[i(161)]((t=>t!=e[i(134)]));return e[i(134)]&&s[i(143)](e[i(134)]),s[i(159)]((s=>new je(t,s,s==e[i(134)])))}(e,i);this.id=i.id,this[r(124)]=i,this[r(131)]=n,this[r(132)](r(168),r(141)).to(i),this[r(132)](r(126)).to(this,r(141),(t=>{return i=e[r(164)],(s=t)[(n=Pe)(418)](i,{month:n(412),day:n(415)})+", "+s[n(413)](i,{hour:n(415),minute:n(415)});var i,s,n})),this[r(183)](r(151),!1),this[r(183)](r(156),!1),this[r(183)](r(180),!1),this[r(183)](r(173),!1),this[r(183)](r(155),!1),this[r(153)]=new Ee(e,_t.createLabeledInputText),this[r(153)][r(129)][r(172)]({attributes:{maxlength:r(170)}}),this[r(153)][r(129)][r(132)](r(152)).to(this,r(168),(t=>t||this[r(126)])),this[r(153)][r(132)](r(155)).to(this,r(151),this,r(155),((t,e)=>t&&e)),this[r(160)]=s&&s[r(133)]?function(e,i){const s=Ze,n=e[s(238)],r=e[s(214)],o=(0,_t.createDropdown)(r);o[s(212)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(214)],n={"Compare against selected":ot(s,i(216)),"Name this revision":ot(s,i(196)),"Restore this revision":ot(s,i(209))};return e[i(197)]((t=>{const e=i,s=n[t[e(203)]];return s&&s!==t[e(203)]&&(t[e(203)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(240),model:new _t.ViewModel({label:t[n(203)],class:t[n(225)],withText:!0,role:n(194),_action:t[n(231)]})};i[n(207)][n(213)](n(232)).to(e,n(229),(i=>n(206)!=typeof t[n(232)]||!i||t[n(232)](e))),o[n(234)](i)}return o}(e,i);return e[s(213)](s(229)).to(o,s(195)),o[s(223)][s(208)]({label:ot(r,s(233)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[s(211)]({attributes:{class:[s(202),n.if(s(229),s(237))]},on:{click:n.to((t=>t[s(230)]()))}}),o.on(s(221),(t=>{const i=s;e[i(215)]&&i(206)==typeof t[i(222)][i(200)]&&t[i(222)][i(200)](e)})),(0,_t.addListToDropdown)(o,a,{role:s(227)}),o[s(198)](e,s(204),((t,n,r)=>{const a=s;if(r)for(const t of o[a(242)][a(236)]){const s=t[a(239)][a(217)],n=i[a(199)]((t=>t[a(231)]===s[a(200)]))[a(219)];t[a(219)]=void 0===n||n(e)}})),o}(this,s):"",this[r(160)]&&this[r(160)][r(132)](r(155)).to(this),this[r(147)]({tag:r(140),attributes:{class:["ck",r(185),r(166),o.if(r(146),r(145))]},children:[{tag:r(140),attributes:{class:["ck",r(185),r(128),o.if(r(155),r(181),(t=>!t)),o.if(r(151),r(163)),o.if(r(156),r(177)),o.if(r(180),r(139))]},children:[this[r(153)],{tag:r(149),attributes:{class:["ck",r(169)]},children:[{text:o.to(r(126))}]},{tag:r(140),attributes:{class:["ck",r(123)]},children:[{tag:"ul",attributes:{class:["ck",r(144)]},children:a}]},this[r(160)]],on:{click:o.to((t=>{const e=r;t[e(158)][e(179)](e(138))||this[e(173)]&&this[e(155)]&&this[e(142)](e(176),{id:this.id})}))}}]})}[Be(148)](){const t=Be;super[t(148)]();const e=this[t(153)][t(129)][t(150)];this[t(184)](e,t(125),(()=>{const i=t;this[i(131)]&&!e[i(152)]||this[i(142)](i(135),{id:this.id,name:e[i(152)]}),e[i(152)]||(e[i(152)]=this[i(168)]?this[i(168)]:this[i(126)])}))}[Be(176)](){this[Be(151)]=!0}[Be(178)](){this[Be(151)]=!1}[Be(165)](){this[Be(156)]=!0}[Be(157)](){this[Be(156)]=!1}}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Ke{}class ii extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ni extends Ke{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ai{get type(){throw new ni}get name(){throw new ni}get ianaName(){return this.name}get isUniversal(){throw new ni}offsetName(t,e){throw new ni}formatOffset(t,e){throw new ni}offset(t){throw new ni}equals(t){throw new ni}get isValid(){throw new ni}}let Vi=null;class Mi extends Ai{static get instance(){return null===Vi&&(Vi=new Mi),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Di={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ai{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Ei.clear()}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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i,this.name)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=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=Di[e];"era"===e?s[r]=n:Vs(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"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const ji=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let s=ji.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),ji.set(i,s)),s}const zi=new Map;const Wi=new Map;let Ui=null;const Zi=new Map;function Hi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function qi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Bi{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=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):Hs(t,3),this.padTo)}}class Yi{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&&Fi.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=Pi(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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ds()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(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 Gi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ps.defaultLocale,o=r||(n?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||ps.defaultNumberingSystem,c=i||ps.defaultOutputCalendar,u=js(s)||ps.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Ui=null,ji.clear(),zi.clear(),Wi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ki.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=Pi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Pi(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"===Hi(t.locale).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?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,js(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 qi(this,t,cn,(()=>{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=ho.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 qi(this,t,dn,(()=>{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=ho.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return qi(this,void 0,(()=>fn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return qi(this,t,gn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.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 Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Hi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Cs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Gi,...e}),$i.set(t,e)}return e}(this.locale):Gi}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 Xi=null;class Qi extends Ai{static get utcInstance(){return null===Xi&&(Xi=new Qi(0)),Xi}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(Qs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${sn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${sn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return sn(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 ts extends Ai{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 es(t,e){if(Vs(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Mi.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Ms(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new ts(t)}const is={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ss={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]},ns=is.hanidec.replace(/[\[|\]]/g,"").split("");const rs=new Map;function os({numberingSystem:t},e=""){const i=t||"latn";let s=rs.get(i);void 0===s&&(s=new Map,rs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${is[i]}${e}`),s.set(e,n)),n}let as,cs=()=>Date.now(),us="system",ls=null,hs=null,ds=null,fs=60,ms=null;class ps{static get now(){return cs}static set now(t){cs=t}static set defaultZone(t){us=t}static get defaultZone(){return es(us,Mi.instance)}static get defaultLocale(){return ls}static set defaultLocale(t){ls=t}static get defaultNumberingSystem(){return hs}static set defaultNumberingSystem(t){hs=t}static get defaultOutputCalendar(){return ds}static set defaultOutputCalendar(t){ds=t}static get defaultWeekSettings(){return ms}static set defaultWeekSettings(t){ms=js(t)}static get twoDigitCutoffYear(){return fs}static set twoDigitCutoffYear(t){fs=t%100}static get throwOnInvalid(){return as}static set throwOnInvalid(t){as=t}static resetCaches(){Ki.resetCache(),Fi.resetCache(),ho.resetCache(),rs.clear()}}class vs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gs=[0,31,59,90,120,151,181,212,243,273,304,334],ys=[0,31,60,91,121,152,182,213,244,274,305,335];function ks(t,e){return new vs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function bs(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 ws(t,e,i){return i+($s(t)?ys:gs)[e-1]}function _s(t,e){const i=$s(t)?ys:gs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function Is(t,e){return(t-e+7)%7+1}function Ss(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ws(s,n,r),a=Is(bs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Gs(c,e,i)):u>Gs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...nn(t)}}function Os(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Is(bs(s,1,e),i),a=qs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=qs(c)):u>a?(c=s+1,u-=qs(s)):c=s;const{month:l,day:h}=_s(c,u);return{year:c,month:l,day:h,...nn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ws(e,i,s),...nn(t)}}function xs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=_s(e,i);return{year:e,month:s,day:n,...nn(t)}}function Ns(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(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 Rs(t){const e=Es(t.year),i=Ps(t.month,1,12),s=Ps(t.day,1,Bs(t.year,t.month));return e?i?!s&&ks("day",t.day):ks("month",t.month):ks("year",t.year)}function As(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ps(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ps(i,0,59),a=Ps(s,0,59),c=Ps(n,0,999);return r?o?a?!c&&ks("millisecond",n):ks("second",s):ks("minute",i):ks("hour",e)}function Vs(t){return void 0===t}function Ms(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Ds(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(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 Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function js(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Ps(t.firstDay,1,7)||!Ps(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Ps(t,1,7))))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ps(t,e,i){return Es(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Us(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Hs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function qs(t){return $s(t)?366:365}function Bs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(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 Js(t,e,i){return-Is(bs(t,1,e),i)+e-1}function Gs(t,e=4,i=1){const s=Js(t,e,i),n=Js(t+1,e,i);return(qs(t)-s+n)/7}function Ks(t){return t>99?t:t>ps.twoDigitCutoffYear?1900+t:2e3+t}function Xs(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 Qs(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 tn(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function en(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=tn(n)}return i}function sn(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}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function nn(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rn=["January","February","March","April","May","June","July","August","September","October","November","December"],on=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],an=["J","F","M","A","M","J","J","A","S","O","N","D"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];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 un=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ln=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hn=["M","T","W","T","F","S","S"];function dn(t){switch(t){case"narrow":return[...hn];case"short":return[...ln];case"long":return[...un];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fn=["AM","PM"],mn=["Before Christ","Anno Domini"],pn=["BC","AD"],vn=["B","A"];function gn(t){switch(t){case"narrow":return[...vn];case"short":return[...pn];case"long":return[...mn];default:return null}}function yn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const kn={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ri};class bn{static create(t,e={}){return new bn(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 kn[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 zs(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 fn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return cn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return dn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return yn(bn.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=bn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return yn(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 wn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _n(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function In(...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 Sn(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 On(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Ws(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${xn.source}${`(?:${Tn.source}?(?:\\[(${wn.source})\\])?)?`}`),Rn=RegExp(`(?:T${Nn.source})?`),An=On("weekYear","weekNumber","weekDay"),Vn=On("year","ordinal"),Mn=RegExp(`${xn.source} ?(?:${Tn.source}|(${wn.source}))?`),En=RegExp(`(?: ${Mn.source})?`);function Dn(t,e,i){const s=t[e];return Vs(s)?i:Ws(s)}function Cn(t,e){return[{hours:Dn(t,e,0),minutes:Dn(t,e+1,0),seconds:Dn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=Qs(t[e+1],t[e+2]);return[{},i?null:Qi.instance(s),e+3]}function Ln(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const jn=RegExp(`^T?${xn.source}$`),Pn=/^-?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 zn(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(Us(i)),months:d(Us(s)),weeks:d(Us(n)),days:d(Us(r)),hours:d(Us(o)),minutes:d(Us(a)),seconds:d(Us(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Un(t,e,i,s,n,r,o){const a={year:2===e.length?Ks(Ws(e)):Ws(e),month:on.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(o)),t&&(a.weekday=t.length>3?un.indexOf(t)+1:ln.indexOf(t)+1),a}const Zn=/^(?:(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 Hn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Un(e,n,s,i,r,o,a);let f;return f=c?Wn[c]:u?0:Qs(l,h),[d,new Qi(f)]}const $n=/^(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$/,qn=/^(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$/,Bn=/^(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 Yn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,n,s,i,r,o,a),Qi.utcInstance]}function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Un(e,a,i,s,n,r,o),Qi.utcInstance]}const Gn=_n(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Kn=_n(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Xn=_n(/(\d{4})-?(\d{3})/,Rn),Qn=_n(Nn),tr=In((function(t,e){return[{year:Dn(t,e),month:Dn(t,e+1,1),day:Dn(t,e+2,1)},null,e+3]}),Cn,Fn,Ln),er=In(An,Cn,Fn,Ln),ir=In(Vn,Cn,Fn,Ln),sr=In(Cn,Fn,Ln);const nr=In(Cn);const rr=_n(/(\d{4})-(\d\d)-(\d\d)/,En),or=_n(Mn),ar=In(Cn,Fn,Ln);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(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 kr(s)}function gr(t,e){let i=e.milliseconds??0;for(const s of pr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((s,n)=>{if(Vs(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),mr.reduce(((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:en(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ms(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Sn(t,[Pn,zn])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Sn(t,[jn,nr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bn.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Vs(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+=Hs(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=tn(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...en(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return vr(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 yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(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=>kr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of mr)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;Ms(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ms(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 yr(this.matrix,e),vr(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 vr(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 mr)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 br="Invalid Interval";class wr{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 si("need to specify a reason the Interval is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),s=fo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,s);return null==n?new wr({start:i,end:s}):n}static after(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.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=ho.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=ho.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return wr.fromDateTimes(t,r);if(n){const i=kr.fromISO(s,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).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(wr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=kr.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(wr.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:wr.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 wr.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(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(s)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bn.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=ps.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return es(t,ps.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Ds(),localeWeek:Cs()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(kr.fromMillis(s).as("days"))}function Sr(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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],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=kr.fromObject(r,s);return u.length>0?kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function Or(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(is.hanidec))e+=ns.indexOf(t[i]);else for(const t in ss){const[i,n]=ss[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Rr(i)===Rr(t)))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>Qs(t,e),groups:e}}function Mr(t){return{regex:t,deser:([t])=>t}}const Er={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 Dr=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=jr(bn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=os(e),s=os(e,"{2}"),n=os(e,"{3}"),r=os(e,"{4}"),o=os(e,"{6}"),a=os(e,"{1,2}"),c=os(e,"{1,3}"),u=os(e,"{1,6}"),l=os(e,"{1,9}"),h=os(e,"{2,4}"),d=os(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 Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Ks);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(s);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(n);case"u":return Mr(l);case"uu":return Mr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Mr(/[a-z_+-/]{1,256}?/i);case" ":return Mr(/[^\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(Ls(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;Vs(t.z)||(i=Fi.create(t.z)),Vs(t.Z)||(i||(i=new Qi(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(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),Vs(t.u)||(t.S=Zs(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(Ls(i,"a")&&Ls(i,"H"))throw new ei("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 Lr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=bn.create(e,t).dtFormatter((Dr||(Dr=ho.fromMillis(1555555555555)),Dr)),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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Pr="Invalid DateTime",zr=864e13;function Wr(t){return new vs("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=Ss(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Ss(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Hr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function $r(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 qr(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 Br(t,e,i){return $r(Ys(t),e,i)}function Yr(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,Bs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Ys(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(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=ho.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return ho.invalid(new vs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Gr(t,e,i=!0){return t.isValid?bn.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],no=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Wr(i));const s=Ki.fromObject(e);let n,r;if(Vs(t.year))n=ps.now();else{for(const e of io)Vs(t[e])&&(t[e]=Qr[e]);const e=Rs(t)||As(t);if(e)return ho.invalid(e);const s=function(t){if(void 0===uo&&(uo=ps.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[n,r]=Br(t,s,i)}return new ho({ts:n,zone:i,loc:s,o:r})}function ao(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=Hs(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 co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||ps.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new vs("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Vs(t.ts)?ps.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=Ms(t.o)&&!t.old?t.o:e.offset(this.ts);s=qr(this.ts,r),i=Number.isNaN(s.year)?new vs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({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 ho.invalid("invalid input");const n=es(e.zone,ps.defaultZone);return n.isValid?new ho({ts:i,zone:n,loc:Ki.fromObject(e)}):ho.invalid(Wr(n))}static fromMillis(t,e={}){if(Ms(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:es(e.zone,ps.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ms(t))return new ho({ts:1e3*t,zone:es(e.zone,ps.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Wr(i));const s=Ki.fromObject(e),n=en(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Ns(n,s),a=ps.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=qr(a,c);m?(p=so,v=to,g=Ss(g,r,o)):u?(p=no,v=eo,g=Ts(g)):(p=io,v=Qr);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=Ps(t.weekNumber,1,Gs(t.weekYear,e,i)),r=Ps(t.weekday,1,7);return s?n?!r&&ks("weekday",t.weekday):ks("week",t.weekNumber):ks("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=Ps(t.ordinal,1,qs(t.year));return e?!i&&ks("ordinal",t.ordinal):ks("year",t.year)}(n):Rs(n),b=k||As(n);if(b)return ho.invalid(b);const w=m?Os(n,r,o):u?xs(n):n,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Sn(t,[Gn,tr],[Kn,er],[Xn,ir],[Qn,sr])}(t);return Jr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Sn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,Hn])}(t);return Jr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Sn(t,[$n,Yn],[qn,Yn],[Bn,Jn])}(t);return Jr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new si("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?ho.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Sn(t,[rr,tr],[or,ar])}(t);return Jr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Xe(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Ki.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bn.parseFormat(t),Ki.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.clear()}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?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Ts(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Ys(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=qr(a,r),l=qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Hr(this,{ts:a}),Hr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Bs(this.year,this.month)}get daysInYear(){return this.isValid?qs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Gs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Gs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=bn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(ps.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=es(t,ps.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]=Br(i,e,t)}return Hr(this,{ts:s,zone:t})}return ho.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Hr(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=en(t,ro),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;n?l=Os({...Ss(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Bs(l.year,l.month),l.day))):l=xs({...Ts(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Hr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=kr.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?bn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bn.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bn.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=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Gr(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":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(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")),Gr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.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(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.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||ho.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),ao(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new si("min requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new si("max requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ki.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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?ho.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Ms(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(){const t=["weekdayLong","toRelativeCalendar","1723365BgVcOR","startOf","local","375852EewouH","49216atdaAt","monthLong","fromJSDate","4121425aVxxtM","month","29TEQaCD","setLocale","minus","2489724svUlJX","week","hasSame","3747933WbdgJE","year","35SbYqRH","2655320axasLC","toJSDate","day"];return(mo=function(){return t})()}function po(t,e){const i=mo();return(po=function(t,e){return i[t-=347]})(t,e)}function vo(t,e){const i=po,s=ho[i(347)](t)[i(351)](e),n=ho[i(366)](),r=n[i(352)]({days:1})[i(365)](i(361));let o,a;return s[i(355)](n,i(361))?(o=s[i(365)](i(361))[i(360)](),a=s[i(363)]()):s[i(355)](r,i(361))?(o=r[i(360)](),a=s[i(363)]()):s[i(355)](n,i(354))?(o=s[i(365)](i(354))[i(360)](),a=s[i(362)]||""):s[i(355)](n,i(357))?(o=s[i(365)](i(349))[i(360)](),a=s[i(369)]||""):(o=s[i(365)](i(357))[i(360)](),a=String(s[i(357)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(538575===parseInt(e(350))/1*(parseInt(e(368))/2)+-parseInt(e(364))/3+parseInt(e(367))/4*(parseInt(e(358))/5)+parseInt(e(353))/6+-parseInt(e(348))/7+parseInt(e(359))/8+-parseInt(e(356))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Mt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=_o();return(bo=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=bo,i=t();for(;;)try{if(153070===parseInt(e(259))/1+parseInt(e(245))/2+parseInt(e(256))/3+-parseInt(e(257))/4+parseInt(e(244))/5*(-parseInt(e(248))/6)+-parseInt(e(238))/7*(parseInt(e(263))/8)+parseInt(e(251))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class wo extends _t.View{[ko(237)];[ko(246)];[ko(253)];[ko(247)];constructor(t,e,i,s){const n=ko;super(t);const r=vo(e,this[n(242)][n(252)])[n(240)];this[n(237)]=e,this[n(246)]=this[n(260)](),this[n(253)]=i,this[n(247)]=s,this[n(246)][n(235)](n(265)).to(this),this[n(246)][n(235)](n(258)).to(this),this[n(241)]({tag:n(264),attributes:{class:["ck",n(239)]},children:[{tag:n(236),attributes:{class:["ck",n(255)]},children:[{text:r}]},{tag:n(264),attributes:{class:["ck",n(250)]},children:this[n(246)]}]})}[ko(262)](t){const e=ko,i=new Ge(this[e(242)],t,this[e(253)],this[e(247)]);this[e(246)][e(254)](i)}[ko(261)](t){const e=ko,i=this[e(246)][e(249)]((e=>e.id===t.id));this[e(246)][e(243)](i)}}function _o(){const t=["4248513fLTQoE","uiLanguage","_revisionActions","add","ck-revision-history-sidebar__time-period__label","454617fRAPUI","968768xuxwzj","setName","17524inoKbc","createCollection","removeRevision","addRevision","132464dKKxjh","div","select","delegate","span","startDate","91QeWmPz","ck-revision-history-sidebar__time-period","localizedPeriodName","setTemplate","locale","remove","218030bOEjgr","374852GpZgCL","revisionViews","_requireRevisionName","30FOBJaA","find","ck-revision-history-sidebar__time-period__revisions"];return(_o=function(){return t})()}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Mt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=159]})(t,e)}!function(t){const e=Oo,i=t();for(;;)try{if(803787===parseInt(e(159))/1+-parseInt(e(169))/2+-parseInt(e(166))/3+-parseInt(e(172))/4*(parseInt(e(162))/5)+-parseInt(e(167))/6+-parseInt(e(175))/7+-parseInt(e(170))/8*(-parseInt(e(160))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class To extends _t.View{constructor(t){const e=Oo;super(t);const i=new _t.IconView;i[e(163)]=wt.IconHistory,this[e(164)]({tag:e(165),attributes:{class:["ck",e(168),e(173)]},children:[i,{tag:e(161),attributes:{class:["ck",e(171)]},children:[ot(t,e(174))]}]})}}function xo(){const t=["558019AjlYrj","1923633yCaTeD","span","560cUhjNn","content","setTemplate","div","731799qmxUhI","2612706PoCZnV","ck-reset_all","189614GuAPEk","104GBYFLV","ck-revision-history-sidebar__header__label","19356bhcKbe","ck-revision-history-sidebar__header","Revision history","8516578DweWUm"];return(xo=function(){return t})()}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Mt();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;const Ao=Vo;function Vo(t,e){const i=Mo();return(Vo=function(t,e){return i[t-=154]})(t,e)}function Mo(){const t=["_revisionActions","revisionSetName","highlight","flat","isEnabled","5nHwVeg","8702628ZyNVJS","addRevision","ck-rounded-corners","fire","revisionViews","_revisions","highlightRevisions","ck-revision-history-sidebar","get","timePeriodViews","delegate","locale","_removeRevision","createdAt","uiLanguage","removeRevision","startDate","div","setTemplate","ck-revision-history-sidebar__timeline","710nuUTcU","selectRevision","render","bindTemplate","deselect","5067xKhwjM","add","set","_getTimePeriodViewByStartDate","getTime","903044rNSTCa","259518MXoEGB","unhighlight","ck-reset","545322lOLmQF","setName","654xRjfsO","438053LXHPYb","_addRevision","revisionSelected","select","find","ck-disabled","remove","map","72XchHdm","_requireRevisionName","some","53370nHEeLk","createCollection"];return(Mo=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(323896===parseInt(e(200))/1+-parseInt(e(205))/2*(parseInt(e(194))/3)+-parseInt(e(199))/4*(parseInt(e(168))/5)+-parseInt(e(203))/6+-parseInt(e(206))/7*(-parseInt(e(158))/8)+parseInt(e(161))/9*(-parseInt(e(189))/10)+parseInt(e(169))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends _t.View{[Ao(178)];[Ao(174)];[Ao(163)];[Ao(159)];constructor(t,e,i,s){const n=Ao;super(t);const r=this[n(192)];this[n(178)]=this[n(162)](),this[n(178)][n(179)](n(209)).to(this),this[n(178)][n(179)](n(204)).to(this),this[n(174)]=e,this[n(163)]=i,this[n(159)]=s,this.on(n(209),((t,e)=>{const i=n;this[i(172)](i(208),e)})),this.on(n(204),((t,e)=>{const i=n;this[i(172)](i(164),e)})),this[n(196)](n(167),!1),this[n(187)]({tag:n(186),attributes:{class:["ck",n(202),n(171),n(176)]},children:[new To(t),{tag:n(186),attributes:{class:["ck",n(188),r.if(n(167),n(155),(t=>!t))]},children:this[n(178)]}]})}[Ao(191)](){const t=Ao;super[t(191)]();for(const e of this[t(174)])this[t(207)](e);this[t(174)].on(t(195),((e,i)=>{this[t(207)](i)})),this[t(174)].on(t(156),((e,i)=>{this[t(181)](i)}))}get[Ao(173)](){const t=Ao;return this[t(178)][t(157)]((e=>e[t(173)][t(157)]((t=>t))))[t(166)]()}[Ao(190)](t){const e=Ao;for(const i of this[e(173)])t&&t.id===i.id?i[e(209)]():i[e(193)]()}[Ao(175)](t){const e=Ao;for(const i of this[e(173)])t[e(160)]((({id:t})=>t===i.id))?i[e(165)]():i[e(201)]()}[Ao(207)](t){const e=Ao,i=vo(t[e(182)],this[e(180)][e(183)])[e(185)];let s=this[e(178)][e(177)](0);s&&s[e(185)][e(198)]()===i[e(198)]()||(s=new wo(this[e(180)],i,this[e(163)],this[e(159)]),this[e(178)][e(195)](s)),s[e(170)](t)}[Ao(181)](t){const e=Ao,i=vo(t[e(182)],this[e(180)][e(183)])[e(185)];this[e(197)](i)[e(184)](t)}[Ao(197)](t){const e=Ao;return this[e(178)][e(154)]((i=>i[e(185)][e(198)]()===t[e(198)]()))}}const Do=Co;function Co(t,e){const i=Fo();return(Co=function(t,e){return i[t-=241]})(t,e)}function Fo(){const t=["compare","element","RevisionsSidebar","496RYIyTG","1715021TqYPyr","config","_revisionsRepository","render","revisionSetName","pluginName","change:diff","setName","requires","defaultRevisionActions","12VdLUuf","diff","304610owxFEF","revisionHistory","remove","_handleDiffChange","focus","isPremiumPlugin","revisionViews","init","add","editor","getRevision","restoreRevisionCallback","344712xhgNgF","_sidebarView","compareAgainstSelected","revisionHistory.revisionActions","bind","1963176MQjkJZ","_handleEditorDataReady","207ZYOcgp","_handleRevisionSelected","_revisionViewer","2270oAnlOC","getLaterVisibleRevision","availableRevisionActions","select","appendChild","selectRevision","data","isReady","_handleRevisionSetName","isOfficialPlugin","fieldView","map","action","highlightRevisions","revisionHistory.viewerSidebarContainer","assign","destroy","revisionSelected","restoreRevision","getIndex","isSelected","revisionHistory.requireRevisionName","timePeriodViews","isVisible","_createRevisionActions","plugins","Name this revision","repository","length","listenTo","getRevisionsInDiff","getEarlierVisibleRevision","4215900exsRrz","locale","newRevisionId","_revisions","isEnabled","ready","string","184736QocTrE","Restore this revision","Compare against selected","name","get","nameRevision"];return(Fo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(362296===parseInt(e(306))/1*(-parseInt(e(258))/2)+parseInt(e(248))/3+parseInt(e(253))/4+-parseInt(e(319))/5+-parseInt(e(317))/6*(-parseInt(e(307))/7)+parseInt(e(297))/8*(-parseInt(e(255))/9)+parseInt(e(290))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends J.Plugin{[Do(257)];[Do(309)];[Do(249)];static[Do(316)]=[Do(250),Do(276),Do(302)];static[Do(260)]=function(){const t=Do;return{compareAgainstSelected:{name:t(299),action:({plugins:e},i)=>{const s=t,n=e[s(301)](ce),r=n[s(285)];let o=n[s(318)][s(292)],a=i.id;r[s(277)](o)>r[s(277)](a)&&([o,a]=[a,o]),n[s(303)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(301)](ce);return!(n[s(285)][s(288)](n[s(318)])[s(286)]>2||i[s(278)])}},restoreRevision:{name:t(298),action:(e,{id:i})=>{const s=t;e[s(308)][s(301)](s(320))[s(247)](i)},isVisible:({plugins:e},i)=>!!e[t(301)](ce)[t(285)][t(259)](i.id)},nameRevision:{name:t(284),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(301)](ce),o=r[n(285)][n(289)](i);r[n(303)](i,o),s[n(323)](),s[n(268)][n(261)]()}}}}();static get[Do(312)](){return Do(305)}static get[Do(267)](){return!0}static get[Do(241)](){return!0}static get[Do(315)](){return[ce]}constructor(t){const e=Do;super(t),this[e(257)]=t[e(283)][e(301)](ce),this[e(309)]=this[e(257)][e(285)],this[e(249)]=null}[Do(243)](){const t=Do,e=this[t(309)][t(293)],i=this[t(282)](),s=this[t(245)][t(308)][t(301)](t(272));this[t(249)]=new Eo(this[t(245)][t(291)],e,i,this[t(245)][t(308)][t(301)](t(279))),this[t(249)].on(t(275),this[t(256)][t(252)](this)),this[t(249)].on(t(311),this[t(266)][t(252)](this)),this[t(249)][t(252)](t(294)).to(this[t(257)]),this[t(249)][t(280)].on(t(244),((e,i)=>{const s=t;i[s(242)].on(s(244),((t,e)=>{const i=s;e[i(252)](i(294),i(265)).to(this[i(257)])}))})),this[t(249)][t(310)](),this[t(287)](this[t(245)][t(264)],t(295),this[t(254)][t(252)](this)),this[t(287)](this[t(257)],t(313),this[t(322)][t(252)](this)),s[t(262)](this[t(249)][t(304)])}[Do(274)](){const t=Do;this[t(249)][t(304)][t(321)](),this[t(249)][t(274)]()}[Do(254)](){const t=Do,e=this[t(309)][t(246)](0);if(e){const i=this[t(309)][t(289)](e.id);this[t(257)][t(303)](e,i)}}[Do(256)](t,e){const i=Do,s=this[i(309)][i(246)](e.id),n=this[i(309)][i(289)](s.id);this[i(257)][i(303)](s,n)}[Do(266)](t,e){const i=Do;this[i(309)][i(246)](e.id)[i(314)](e[i(300)])}[Do(322)](t,e,i){const s=Do,n=this[s(309)][s(288)](i);n[s(286)]>2?(this[s(249)][s(271)](n),this[s(249)][s(263)](null)):(this[s(249)][s(271)]([]),this[s(249)][s(263)](n[0]))}[Do(282)](){const t=Do,e=this[t(245)],i=Lo[t(260)],s=e[t(308)][t(301)](t(251))||Lo[t(316)];if(s[t(286)])return s[t(269)]((s=>{const n=t,r=n(296)==typeof s?Object[n(273)]({},i[s]):s;return r[n(270)]=r[n(270)][n(252)](this,e),r[n(281)]&&(r[n(281)]=r[n(281)][n(252)](this,e)),r}))}}const jo=zo;function Po(){const t=["limiterElement","_view","fillFromConfig","isActive","editor","15QwCxIR","isFocused","1810xauuBa","7942008vOwmbM","_initToolbar","document","attachDomRoot","destroy","9YZCWey","get","setEditableElement","toolbar","1587moYykv","106085boJTyZ","editable","view","config","ready","_elementReplacer","418hmmqeh","11126UsgwYj","detachDomRoot","addToolbar","13Oqxzld","componentFactory","rootName","focusTracker","viewportTopOffset","bind","editing","fire","188322xZwHsv","render","10xrSPwq","1452kmycjS","stickyPanel","getRoot","_toolbarConfig","init","2155304JznTmH","restore","viewportOffset","element","name","replace"];return(Po=function(){return t})()}function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=376]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(153586===-parseInt(e(412))/1*(-parseInt(e(425))/2)+parseInt(e(404))/3*(-parseInt(e(376))/4)+parseInt(e(392))/5*(-parseInt(e(423))/6)+-parseInt(e(405))/7+parseInt(e(381))/8*(-parseInt(e(400))/9)+-parseInt(e(394))/10*(-parseInt(e(411))/11)+-parseInt(e(395))/12*(-parseInt(e(415))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Wo extends _t.EditorUI{[jo(388)];[jo(379)];[jo(410)];get[jo(407)](){return this[jo(388)]}constructor(e,i){const s=jo;super(e),this[s(388)]=i,this[s(379)]=(0,_t.normalizeToolbarConfig)(e[s(408)][s(401)](s(403))),this[s(410)]=new t.ElementReplacer}get[jo(384)](){const t=jo;return this[t(407)][t(384)]}[jo(380)](t){const e=jo,i=this[e(391)],s=this[e(407)],n=i[e(421)][e(407)],r=s[e(406)],o=n[e(397)][e(378)]();r[e(385)]=o[e(417)],s[e(424)]();const a=r[e(384)];this[e(402)](r[e(385)],a),s[e(406)][e(420)](e(393)).to(this[e(418)]),n[e(398)](a),this[e(410)][e(386)](t,this[e(384)]),this[e(396)](),this[e(422)](e(409))}[jo(399)](){const t=jo;super[t(399)]();const e=this[t(407)],i=this[t(391)][t(421)][t(407)];this[t(410)][t(382)](),i[t(413)](e[t(406)][t(385)]),e[t(399)]()}[jo(396)](){const t=jo,e=this[t(407)];e[t(377)][t(420)](t(390)).to(this[t(418)],t(393)),e[t(377)][t(387)]=e[t(384)],e[t(377)][t(420)](t(419)).to(this,t(383),(({top:t})=>t)),e[t(403)][t(389)](this[t(379)],this[t(416)]),this[t(414)](e[t(403)])}}var Uo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=At(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Mt();St()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var Ho=$o;function $o(t,e){var i=qo();return($o=function(t,e){return i[t-=268]})(t,e)}function qo(){var t=["content","1057224VnhkFU","1527vsJtQK","90XwllTs","_editable","top","180844TndBut","add","21166173AruryL","976920vbGyIl","3887676wbTNsC","stickyPanel","main","7432912AOdUXo","shouldToolbarGroupWhenFull","render","toolbar","1742pEHvgU","editable"];return(qo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(723674===parseInt(e(280))/1+-parseInt(e(269))/2*(parseInt(e(273))/3)+-parseInt(e(277))/4*(-parseInt(e(274))/5)+parseInt(e(281))/6+parseInt(e(272))/7+parseInt(e(284))/8+-parseInt(e(279))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Bo extends _t.BoxedEditorUIView{[Ho(275)];[Ho(282)];[Ho(268)];get[Ho(270)](){return this[Ho(275)]}constructor(t,e,i={}){var s=Ho;super(t),this[s(282)]=new _t.StickyPanelView(t),this[s(268)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[s(285)]}),this[s(275)]=new _t.InlineEditableUIView(t,e)}[Ho(286)](){var t=Ho;super[t(286)](),this[t(282)][t(271)][t(278)](this[t(268)]),this[t(276)][t(278)](this[t(282)]),this[t(283)][t(278)](this[t(270)])}}const Yo=Jo;function Jo(t,e){const i=Go();return(Jo=function(t,e){return i[t-=318]})(t,e)}function Go(){const t=["view","100OGKGVu","sourceElement","14507fSZmpZ","document","1789656lgLaZO","24ROVVDn","548736vsCjXS","init","initialData","fire","createRoot","106FCDjpr","ready","4076lhvhEy","config","13LBqxNU","6332967ampDap","2014705lGqCqP","30EsCkoZ","model","editing","321iLBtXK","create","destroy","34166KvyshS","_ui","data","initPlugins","locale","updateSourceElement","get"];return(Go=function(){return t})()}!function(t){const e=Jo,i=t();for(;;)try{if(476612===-parseInt(e(338))/1*(parseInt(e(347))/2)+-parseInt(e(325))/3*(-parseInt(e(349))/4)+-parseInt(e(322))/5*(parseInt(e(342))/6)+parseInt(e(321))/7*(parseInt(e(341))/8)+parseInt(e(320))/9+-parseInt(e(336))/10*(parseInt(e(328))/11)+parseInt(e(340))/12*(parseInt(e(319))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,J.ElementApiMixin)(J.Editor)){[Yo(329)];get ui(){return this[Yo(329)]}constructor(t,e){const i=Yo;super(e),this[i(337)]=t,this[i(323)][i(339)][i(346)]();const s=new Bo(this[i(332)],this[i(324)][i(335)],{shouldToolbarGroupWhenFull:!0});this[i(329)]=new Wo(this,s)}[Yo(327)](){const t=Yo;return this[t(333)](),this.ui[t(327)](),super[t(327)]()}static async[Yo(326)](t,e){const i=Yo,s=new this(t,e);return await s[i(331)](),await s.ui[i(343)](t),await s[i(330)][i(343)](s[i(318)][i(334)](i(344))||""),s[i(345)](i(348)),s}}const Xo=ta;function Qo(){const t=["isEnabled","config","_cleanUp","getRevision","remove","_getRevisionViewerEditorConfig","push","roots","destroy","has","block","translations","_enhanceShowRevisionViewerCallback","editor","isOpen","163kgyjmC","join","addRevisionData","375303ctCDng","21ZOunMV","Restored","rootName","error","define","name","33GWKQXK","isReadOnly","loadRevisionData","none","toolbar","8MJYYqf","getRevisionRootsAttributes","RevisionsRepository","getRevisions","includes","restrictedEditingException","parse","6144426JRuWTc","2555620mkkopV","17161224LTsBdp","RestrictedEditingMode","createdAt","DocumentOutline","toVersion","isReady","setSelection","_enhanceCloseRevisionViewerCallback","getRoot","long","model","PaginationLookup","result","Users","$graveyard","adapter","toLocaleDateString","get","3729112QTjgur","removeMarker","changesNavigation","RevisionViewerIntegration","catch","revisionHistory.editorContainer","426kUFoPY","revisionHistory","RevisionTracker","display","isRevisionViewerOpen","removeSelectionAttribute","closeRevisionViewerCallback","keys","refreshVisibility","indexOf","removeAttribute","users","uiLanguage","addUser","markers","revisionHistory.restoreRevisionCallback","save","fromCharCode","set","revision-history-viewer-opened","_restoreRevision","RevisionHistoryUI","addRoot","commands","update","hide","revisionHistory.showRevisionViewerCallback","view","isPremiumPlugin","document","revision-history-missing-configuration","selection","RevisionHistoryUtils","RevisionHistory","showRevisionViewerCallback","change","locale","repository","isAttached","revisionHistory.viewerContainer","detachRoot","isAnonymous","isOfficialPlugin","getMarkersGroup","getUser","Annotations","createRangeIn","Dialog","RevisionViewer","from","enableReadOnlyMode","_showRevisionViewer","bind","revisionHistory.closeRevisionViewerCallback","_recalculatePageBreaks","numeric","saveRevision","revisionHistory.viewerEditorElement","then","create","element","end","_update","lazyRoots","DocumentOutlineUI","refreshPositioning","creator","_viewerEditor","requires","fromVersion","data","18374YiBysp","Autosave","init","disableReadOnlyMode","toJSON","plugins","enqueueChange","map","setAttribute","revisionHistory.requireRevisionName","_closeRevisionViewer","insert","getAttributeKeys","exitToEditing","88175GOYuqE","pluginName","restoreRevision","getRevisionDocumentData","style","toLocaleTimeString"];return(Qo=function(){return t})()}function ta(t,e){const i=Qo();return(ta=function(t,e){return i[t-=111]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(883521===parseInt(e(162))/1*(-parseInt(e(127))/2)+-parseInt(e(165))/3*(parseInt(e(177))/4)+-parseInt(e(141))/5*(-parseInt(e(210))/6)+parseInt(e(166))/7*(parseInt(e(204))/8)+-parseInt(e(184))/9+parseInt(e(185))/10*(-parseInt(e(172))/11)+parseInt(e(186))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);const ea=[Xo(231),Xo(187)];class ia extends J.Plugin{[Xo(198)];static get[Xo(142)](){return Xo(207)}static get[Xo(252)](){return!0}static get[Xo(238)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(134)]((t=>String[e(227)](t)))[e(163)]("")}super(t),this[e(198)]=e(117),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 sa extends J.Plugin{[Xo(123)];static get[Xo(142)](){return Xo(243)}static get[Xo(252)](){return!0}static get[Xo(238)](){return!0}static get[Xo(124)](){return[pt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(160)][i(148)][i(203)](i(211)))throw new t.CKEditorError(i(240),this);this[i(123)]=null,this[i(228)](i(214),!1),this[i(160)][i(148)][i(170)](i(236),(t=>this[i(261)]({...t,translations:this[i(160)][i(246)][i(158)]}))),this[i(160)][i(148)][i(170)](i(263),(t=>this[i(137)](t))),this[i(160)][i(148)][i(170)](i(225),(t=>this[i(230)](t))),this[i(160)][i(148)][i(170)](i(136),!1),this[i(159)](),this[i(193)]()}set[Xo(201)](t){const e=Xo;this[e(160)][e(132)][e(203)](e(212))[e(201)]=t}get[Xo(201)](){const t=Xo;return this[t(160)][t(132)][t(203)](t(212))[t(201)]}[Xo(164)](t){const e=Xo;return this[e(160)][e(132)][e(203)](e(212))[e(164)](t)}[Xo(150)](t){const e=Xo;return this[e(160)][e(132)][e(203)](e(179))[e(150)](t)}[Xo(180)](t){const e=Xo;return this[e(160)][e(132)][e(203)](e(179))[e(180)](t||{toJSON:!1})}[Xo(152)](){const e=Xo,i=this[e(160)],s=(0,G.sanitizeEditorConfig)(i,ea),n=i[e(132)][e(203)](e(212)),r=i[e(132)][e(203)](e(199))[e(221)];return s[e(176)]=[e(140),e(143),e(206)],delete s[e(119)],s[e(132)][e(153)](ia,ce,xe,class extends J.Plugin{static get[e(124)](){return[ce,e(199)]}[e(129)](){const s=e,o=this[s(160)][s(132)][s(203)](s(199));for(const t of r)t[s(251)]||o[s(254)](t.id)||o[s(223)](t);const a=n[s(247)][s(180)]();let c=null;const u=this[s(160)][s(132)][s(203)](s(258));u[s(201)]=n[s(201)],u[s(262)](s(147)).to(n),this[s(160)][s(233)][s(203)](s(143))[s(262)](s(147)).to(i,s(173),(t=>!t));for(const e of a){const i=null===e[s(122)];if(i&&e[s(190)]===e[s(125)])continue;const r=e[s(131)]();u[s(164)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(118)](r,o);else if(!o){const e=a[u(131)]();e.id=(0,t.uid)(),n[u(112)](e,a[u(190)])[u(114)]((t=>{c=t}))}}else e[u(118)](r,o)}))}}},Lo),s}[Xo(159)](){const t=Xo,e=this[t(160)][t(148)][t(203)](t(211))[t(244)];this[t(160)][t(148)][t(228)](t(236),(async()=>{const i=t;this[i(160)][i(260)](i(229));const s=this[i(160)][i(132)][i(203)](i(212));if(this[i(160)][i(132)][i(156)](i(128))){const t=this[i(160)][i(132)][i(203)](i(128));await t[i(226)]()}else await s[i(234)]();if(this[i(160)][i(132)][i(156)](i(197))&&this[i(160)][i(132)][i(203)](i(197))[i(264)](),this[i(160)][i(132)][i(156)](i(257))){const t=this[i(160)][i(132)][i(203)](i(257));t[i(161)]&&t[i(235)]()}const n=this[i(152)]();return e(n)[i(114)]((t=>{const e=i;return this[e(123)]=t,this[e(160)][e(132)][e(156)](e(255))&&this[e(160)][e(132)][e(203)](e(255))[e(218)](),this[e(160)][e(132)][e(156)](e(189))&&(this[e(160)][e(132)][e(203)](e(120))[e(237)][e(116)][e(145)][e(213)]=e(175)),t}))[i(208)]((t=>(console[i(169)](t),this[i(160)][i(130)](i(229)),null)))}))}[Xo(193)](){const t=Xo,e=this[t(160)][t(148)][t(203)](t(211))[t(216)];this[t(160)][t(148)][t(228)](t(263),(()=>(this[t(160)][t(132)][t(156)](t(197))&&this[t(160)][t(132)][t(203)](t(197))[t(264)](),this[t(160)][t(132)][t(156)](t(189))&&(this[t(160)][t(132)][t(203)](t(120))[t(237)][t(116)][t(145)][t(213)]=""),this[t(123)][t(132)][t(203)](t(258))[t(149)](),e(this[t(123)])[t(114)]((()=>{const e=t;if(this[e(160)][e(130)](e(229)),this[e(123)]=null,this[e(160)][e(132)][e(156)](e(255))){const t=this[e(160)][e(132)][e(203)](e(255));t[e(218)](),t[e(121)]()}})))))}[Xo(261)](t){const e=Xo,i=this[e(160)][e(148)][e(203)](e(209)),s=this[e(160)][e(148)][e(203)](e(249)),n=this[e(160)][e(148)][e(203)](e(113));return Ko[e(115)](n,t)[e(114)]((t=>(s[e(145)][e(213)]=e(157),i[e(145)][e(213)]=e(175),this[e(214)]=!0,t)))}[Xo(137)](t){const e=Xo,i=this[e(160)][e(148)][e(203)](e(209));return this[e(160)][e(148)][e(203)](e(249))[e(145)][e(213)]=e(175),i[e(145)][e(213)]="",this[e(214)]=!1,t[e(155)]()}async[Xo(230)](t){const e=Xo,i=this[e(160)],s=this[e(123)][e(132)][e(203)](e(258)),n=i[e(132)][e(203)](e(212)),r=i[e(132)][e(203)](e(242)),o=s[e(247)][e(150)](t);let a,c,u;try{await r[e(174)](o,this[e(201)]),a=r[e(144)](o),c=r[e(178)](o)}catch(t){return void console[e(169)](t)}i[e(196)][e(245)]((t=>{const s=e;for(const e of Array[s(259)](i[s(196)][s(224)][s(253)](s(182))))t[s(205)](e)})),s[e(191)]=!1,i[e(196)][e(133)]((t=>{const s=e;t[s(192)](null),t[s(215)](i[s(196)][s(239)][s(241)][s(139)]());const n=Object[s(217)](a);for(const e of i[s(196)][s(239)][s(154)])s(200)!=e[s(168)]&&e[s(248)]()&&!n[s(181)](e[s(168)])&&t[s(250)](e);for(const e of n){let n=i[s(196)][s(239)][s(194)](e);n&&n[s(248)]()||(n=t[s(232)](e));const r=c[e],o=Object[s(217)](r),u=a[e];for(const e of n[s(139)]())o[s(181)](e)||t[s(220)](e,n);for(const i of o)t[s(135)](i,c[e][i],n);t[s(151)](t[s(256)](n)),t[s(138)](i[s(126)][s(183)](u,n),n,0)}}));const l=ot(i[e(246)],e(167));return u=o[e(171)]?-1==o[e(171)][e(219)](l)?l+": "+o[e(171)]:o[e(171)]:l+": "+o[e(188)][e(202)](i[e(246)][e(222)],{month:e(195),day:e(111)})+", "+o[e(188)][e(146)](i[e(246)][e(222)],{hour:e(111),minute:e(111)}),await n[e(112)]({name:u}),s[e(191)]=!0,i[e(148)][e(203)](e(211))[e(216)]()}}function na(t,e){var i=ra();return(na=function(t,e){return i[t-=433]})(t,e)}function ra(){var t=["60xOZVTw","63966RQhfVg","1591865jtYkDo","287ZZEqJX","6818432IvNzlK","5235009kkhile","128CvrzUb","744480YvGewU","709902bbysKM","24VcNuXp","170YUKnXl","2302cuHciN"];return(ra=function(){return t})()}!function(t){for(var e=na,i=t();;)try{if(951977===-parseInt(e(444))/1*(parseInt(e(440))/2)+-parseInt(e(434))/3+parseInt(e(433))/4+parseInt(e(436))/5*(-parseInt(e(438))/6)+-parseInt(e(442))/7*(parseInt(e(435))/8)+-parseInt(e(437))/9*(-parseInt(e(439))/10)+-parseInt(e(443))/11*(-parseInt(e(441))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(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:0s;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,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>ia,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>xe,RevisionsRepository:()=>et,RevisionsSidebar:()=>Fo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function R(t){return A(t)}function M(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&M(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(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 H(t,e,i){return function(t,e,i,s){if(null==t&&!P(t))return t;const n=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<n.length&&null!=r;t++){const e=L(n[t]);let o;if(t===n.length-1)o=i(r[e]);else{const i=r[e],a=s(i);o=void 0!==a?a:P(i)?i:E(n[t+1])?[]:{}}V(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function W(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function U(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?W(e)?U(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=L(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 Z(t,e){const i=U(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 q=B;function $(){const t=["authorsIds","22198VBdXPb","19668Epvagj","creatorId","setAttribute","5024120LwWoaL","3724767sCFqGL","creator","11846040YjHFCV","toVersion","map","model","diffData","authors","setName","5iKtHCT","535960jhLczY","fromVersion","name","4AQwxKH","fire","removeAttribute","6NLPeon","7408513qdNRnt","createdAt","_update","toJSON","1238352rjRfQG","attributes","set","8FDnDbT"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=358]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(835454===-parseInt(e(377))/1*(parseInt(e(378))/2)+parseInt(e(358))/3*(parseInt(e(381))/4)+-parseInt(e(367))/5+-parseInt(e(384))/6*(-parseInt(e(385))/7)+-parseInt(e(361))/8*(parseInt(e(368))/9)+-parseInt(e(370))/10+-parseInt(e(363))/11*(-parseInt(e(364))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends((0,t.ObservableMixin)()){id;[q(369)];[q(375)];[q(374)];[q(371)];[q(379)];[q(373)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(369)]=e[i(369)]||null,this[i(375)]=e[i(375)]||[],this[i(374)]=e[i(374)]||null,this[i(371)]=e[i(371)]||0,this[i(379)]=e[i(379)]||0,this[i(360)](i(380),e[i(380)]||""),this[i(360)](i(386),e[i(386)]||new Date),this[i(360)](i(359),e[i(359)]||{})}[q(376)](t){this[q(387)]({name:t})}[q(366)](t,e){const i=q,s=R(this[i(359)]);H(s,t,e),this[i(387)]({attributes:s})}[q(383)](t){const e=q,i=R(this[e(359)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return Z(t,e);if("number"==typeof e?e=L(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]&&W(e))return Z(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(387)]({attributes:i})}[q(387)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(380),i(386),i(374),i(375),i(359),i(371),i(379),i(365)];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(375)]&&(n[i(362)]=n[i(375)][i(372)]((t=>t.id)),delete n[i(375)]),this[i(382)](i(387),n,e))}[q(388)](){const t=q;return{id:this.id,name:this[t(380)],creatorId:this[t(369)]?this[t(369)].id:null,authorsIds:this[t(375)][t(372)]((t=>t.id)),diffData:this[t(374)],createdAt:this[t(386)],attributes:this[t(359)],fromVersion:this[t(379)],toVersion:this[t(371)]}}}var J=i(782),G=i(211),X=i(783);const K=Q;function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=216]})(t,e)}function tt(){const t=["join","oldRevisionId","plugins","get","22932WPktaC","from","fromCharCode","6789816tIjCpM","476CoeUDv","getRevision","editor","181470tpOney","5384874ZPAvKc","diffData","push","toJSON","newRevisionId","RevisionsRepository","later","map","length","getEarlierVisibleRevision","requires","getUser","isPremiumPlugin","9JmWiWM","add","isOfficialPlugin","earlier","creatorId","getRevisionsInDiff","name","pluginName","afterInit","getRevisionsIterator","3214LLhMGj","getLaterVisibleRevision","authorsIds","4wQIUuj","createdAt","createRevision","1574601cfVfOS","getIndex","href","isNaN","getRevisions","reverse","data","attributes","addRevision","Users","17838470ZCoPBL","fromVersion","_revisions","toVersion"];return(tt=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(478314===parseInt(e(248))/1*(-parseInt(e(221))/2)+-parseInt(e(254))/3*(parseInt(e(251))/4)+parseInt(e(224))/5+-parseInt(e(225))/6+-parseInt(e(217))/7+parseInt(e(220))/8+-parseInt(e(238))/9*(-parseInt(e(264))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends J.Plugin{[K(266)];static get[K(235)](){return[G.Users]}static get[K(245)](){return K(230)}static get[K(240)](){return!0}static get[K(237)](){return!0}get[K(233)](){const t=K;return this[t(266)][t(233)]}constructor(e){const i=K;super(e),this[i(266)]=new t.Collection}[K(246)](){!async function(e){const i=k([79,71,56,121,49,87,107,50,115,84,90,69,75,105,68,88,101,97,108,67,99,106,82,120,98,100,116,103,83,122,74,89,52,53,114,54,76,57,78,77,55,119,80,111,85,110,113,51,81,112,70,109,118,48,102,65,86,73,104,66,72,117]),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(257)](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([79]);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(232)]((t=>String[e(219)](t)))[e(268)]("")}!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:1749772800;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(256)]);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([102,105,108,116,101,114])]((t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])]))[k([109,97,112])]((t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t)))[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)}[K(253)](t){const e=K,i=this[e(223)][e(270)][e(216)](e(263));return new Y({id:t.id,name:t[e(244)],creator:t[e(242)]?i[e(236)](t[e(242)]):null,diffData:t[e(226)]||t[e(260)],authors:t[e(250)][e(232)]((t=>i[e(236)](t))),createdAt:new Date(t[e(252)]),attributes:t[e(261)],fromVersion:t[e(265)],toVersion:t[e(267)]})}[K(262)](t,e=0){const i=K;this[i(266)][i(239)](t,e)}[K(222)](t){const e=K;return this[e(266)][e(216)](t)}[K(258)](t={toJSON:!1}){const e=K,i=Array[e(218)](this[e(266)]);return i[e(259)](),t[e(228)]?i[e(232)]((t=>t[e(228)]())):i}[K(255)](t){const e=K;return this[e(266)][e(255)](t)}[K(234)](t){const e=K,[,i]=this[e(247)](t,{direction:e(241)});return i}[K(249)](t){const e=K,[,i]=this[e(247)](t,{direction:e(231)});return i}[K(243)](t){const e=K,i=[];for(const s of this[e(247)](t[e(229)]))if(i[e(227)](s),s.id===t[e(269)])break;return i}*[K(247)](t,{direction:e=K(241),filter:i=()=>!0}={}){const s=K,n=s(241)===e?1:-1;let r=this[s(266)][s(216)](t),o=this[s(255)](r);for(yield r;r;){if(o+=n,r=this[s(222)](o),!r)return;i(r)&&(yield r)}}}const it=nt;function st(){const t=["render","domChildrenToView","getRevision","useFillerType","_getTypeCharForViewElement","data","attachChange","getFillerOffset","map","attributes","domConverter","isAttached","3ILshBe","childNodes","editing","loadRevisionData","_setCustomProperty","data-revision-","getRevisionRootsAttributes","document","14ImBBir","RevisionHistoryUtils","toData","get","from","constructor","isOfficialPlugin","processor","toModel","append","9RhpUYU","revision-start","editor","length","revision-end","startsWith","type","filter","7287220GQxhVi","forEach","fillerOffset","collaboration.channelId","1443354XFjBdf","name","_viewClassToTypeChar","createElement","customProperties","diffData","_getViewFromDiffObj","pluginName","484910OVslAl","htmlProcessor","isPremiumPlugin","attributesAfter","getRevisionDocumentData","11419670GTsFSd","_typeCharToViewClass","_makeModelFromViewString","parse","view","div","innerHTML","default","5547780VFZEzQ","_appendChild","8924984HAAYlM","config","string","_removeRevisionMarkers","insertions","children","2725386sgQnca","marked","viewChildrenToDom","domDocument"];return(st=function(){return t})()}function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=359]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(886820===-parseInt(e(405))/1*(-parseInt(e(368))/2)+parseInt(e(360))/3+parseInt(e(381))/4+parseInt(e(431))/5+parseInt(e(389))/6*(-parseInt(e(413))/7)+-parseInt(e(383))/8+parseInt(e(423))/9*(-parseInt(e(373))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class rt extends J.Plugin{static get[it(367)](){return it(414)}static get[it(419)](){return!0}static get[it(370)](){return!0}[it(362)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[it(374)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[it(408)](t,e){const i=it;if(t[i(365)]||!e)return;const s=this[i(425)][i(384)][i(416)](i(359)),n=await e[i(395)]({channelId:s,revisionId:t.id});t[i(365)]=n[i(365)]}[it(372)](t){const e=it,i={};for(const s in t[e(365)]){if(t[e(365)][s][e(399)]&&!t[e(365)][s][e(399)][e(404)])continue;const n=this[e(386)](JSON[e(376)](t[e(365)][s][e(387)])),r=this[e(425)][e(407)][e(377)][e(412)],o=new X.ViewDocumentFragment(r,n[e(401)]((t=>this[e(366)](t,!1))));this[e(425)][e(398)][e(420)][e(396)](e(390)),i[s]=this[e(425)][e(398)][e(420)][e(415)](o),this[e(425)][e(398)][e(420)][e(396)](e(380))}return i}[it(411)](t){const e=it,i={};for(const s in t[e(365)])t[e(365)][s][e(399)]&&!t[e(365)][s][e(399)][e(404)]||(i[s]=t[e(365)][s][e(371)]||{});return i}[it(397)](t){const e=it;return this[e(362)][e(416)](t[e(418)])}[it(366)](t,e){const i=it,s=this[i(425)][i(407)][i(377)][i(412)];if(i(385)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(429)]||"r"==t[i(429)]?[]:t[i(388)][i(401)]((t=>this[i(366)](t,e)));const o=this[i(374)][i(416)](t[i(429)])||X.ViewElement,a=this[i(425)][i(398)][i(369)][i(403)];if(n=new o(s,t[i(361)],t[i(402)],r),"u"==t[i(429)]&&t[i(388)][0]){const r=t[i(388)][0];if(n[i(393)]=function(t){const e=i,s=t[e(363)](e(378));return s[e(379)]=r,s[e(406)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(382)](n);const e=Array[i(417)](a[i(391)](t,{bind:!1})),r=a[i(392)][i(363)](i(378));r[i(422)](...e),n=Array[i(417)](a[i(394)](r))[0]}}else if("r"==t[i(429)]&&t[i(388)][0]){const r=t[i(388)][0];if(n[i(393)]=function(t){t[i(379)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(382)](n);const e=Array[i(417)](a[i(391)](t,{bind:!1})),r=a[i(392)][i(363)](i(378));r[i(422)](...e);const o=Array[i(417)](a[i(394)](r));o[i(426)]>1?n[i(382)](o):n=o[0]}}if(t[i(364)])for(const[e,s]of t[i(364)])n[i(409)](e,s);const c=void 0===t[i(433)]?null:t[i(433)];return null!==c&&(n[i(400)]=()=>c),n}}[it(375)](t){const e=it,i=JSON[e(376)](t),s=this[e(425)][e(407)][e(377)][e(412)],n=new X.ViewDocumentFragment(s,i[e(401)]((t=>this[e(366)](t,!0))));return this[e(425)][e(398)][e(421)](n)}[it(386)](t){const e=it;return(t=t[e(430)]((t=>!t[e(361)]||e(424)!==t[e(361)]&&e(427)!==t[e(361)])))[e(432)]((t=>{const i=e;i(385)!=typeof t&&(t[i(388)]=this[i(386)](t[i(388)]),t[i(402)]=t[i(402)][i(430)]((t=>!t[0][i(428)](i(410)))))})),t}}function ot(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 at(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 ct(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 ut(t,e,r,o)}return ut(t,e,r,o)}function ut(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:return M(t.valueOf(),i.valueOf());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}const R=(s=s??new Map).get(t),V=s.get(i);if(null!=R&&null!=V)return R===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)||!ct(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=>ct(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(!ct(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,s,x)||at(t)&&at(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(!ct(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=vt;function ft(){const t=["getRoot","_authorId","pluginName","tableCell","getLatestVersion","reinsert","_replaceEditorDataWithRevisionData","_appendChild","uiElement","for","editor","startsWith","_handleRootOperation","_loadedStateData","_handleInsertOperation","detachRoot","_execute","802872iPyyHs","createRange","_markChanges","rootName","5TclszS","get","evaluationLimit","_savedMetaData","_makeModelFromViewString","attributesBefore","RevisionHistory","graveyardPosition","revisionHistoryLicenseKeyExpired","end","_touchedRoots","reverse","define","_getViewJson","_getState","_operations","getChild","sort","getRange","_baseRoots","then","createElement","revisionHistoryLicenseKeyUsageLimit","getTime","_bufferedUpdates","sendBufferedUpdates","_setConversion","push","creator","previousPosition","_baseRootsAttributes","557224mdpZfL","reInit","toVersion","item","upcast","revisionHistoryLicenseKeyEvaluationLimit","targetPosition","editor-initial-data-replaced-with-revision-data","element","getAttribute","getRevisionRootsAttributes","getMovedRangeStart","render","baseVersion","updateRevisions","_insertChild","_applyOperations","getUser","_createInitialRevision","featureNotAllowed","createPositionAfter","_getVidAttributeName","_findInsertionIndex","_idsRoots","offsetSize","revisionHistoryLicenseKeyNotAllowed","delete","customProperties","conversion","userId","_setAttribute","source","stringify","elementStart","_touchedMarkers","getChildren","242BDlIhL","innerHTML","_handleMergeOperation","_update","_cloneOperation","getCustomProperties","_handleSplitOperation","getNodeByPath","diffData","data","model","_source","5170020oAlsSG","_continueCurrentRevision","finally","domConverter","elementEnd","rootsAttributes","bind","authors","range","getAttributes","outerHTML","RevisionTracker","name","version","from","createRangeIn","RevisionHistoryUtils","setRevisionData","_diffRoots","clone","saveRevision","marker","getRevision","htmlProcessor","destroy","fillerOffset","oldRange","usageLimit","move","_handleRootAttributeOperation","shift","keys","RevisionsRepository","PENDING_ACTION_REVISION_HISTORY","getIndex","_pendingAction","getRevisionDocumentData","offset","markerToData","keepParagraph","map","isReady","fromVersion","revisionHistory.resumeUnsavedRevision","vid_start","_isPendingUpdate","revisionHistoryLicenseKeyDomainLimit","_calculateMetaData","expired","_isInit","_processRootBeforeSave","key","isOfficialPlugin","config","_fixPosition","removeRootAttribute","_addPendingAction","$comment","getOperation","currentRevision","affectsData","initialData","dataToMarker","trim","9uVmkrL","_getFromVersion","fromEntries","update","_loadState","_getBaseVids","Empty document","loadState","_getTypeCharForViewElement","repository","clear","_getPreviousFrom","_copyMarkers","getCurrentRevisionId","locale","_createFromRanges","getFillerOffset","collaboration.channelId","_prepareViewToSave","authorsIds","_saveMetaData","find","markers","getData","1949787bqTwDx","revisionHistoryLicenseKeyValid","text","includes","_revisionId","_createCurrentRevision","revisionHistoryLicenseKeyInvalid","_removeMetaData","adapter","isEqual","length","add","addRevision","isPremiumPlugin","history","stickiness","addRoot","deletions","_showLicenseError","isAttached","_removePendingAction","NEGATIVE_INFINITY","_baseIdsRoots","$graveyard","paragraph","loadRevisionData","addRootAttribute","childCount","createRevision","revision:","resolve","set","addRevisionData","invalid","getTransformedByOperation","Users","setSource","1074380HQBXNw","PendingActions","createPositionAt","dataDowncast","$text","_markers","vid_end","start","changeRootAttribute","getRevisions","merge","_handleMarkerOperation","createPositionFromPath","type","_utils","position","Initial revision","ready","_initialRevisionId","nodes","parent","slice","_bufferUpdate","newValue","_fixOperation","children","_clone","values","sourcePosition","isAdd","documentFragment","licenseKey","_diffRootsAttributes","remove","getWalker","split","init","_generateTape","getAncestors","deletion","some","_isAttached","3891084nXsBkN","max","hasContent","path","_transformMarkers","62098DjApIp","buildRevisionData","insertions","attachChange","rawElement","creatorId","_startingVersion","_lastFrom","_revisionDataBuilder","_startingRevisionId","filter","splitPosition","plugins","has","_handleMoveOperation","root","initial","insertionPosition","insert","size","3bIXceH","getOperations","string","revision","createdAt","document","_touched","roots","_makeRevision","_fixRange","newRange","getRootNames","toView","_licenseKeyCheckInterval","requires","_reset","isEnabled","revisionHistoryLicenseKeyTrialLimit","afterInit","_makeIdsRoot","createPositionBefore","howMany","attributesAfter","RealTimeCollaborationClient","nodeAfter","domDocument","insertion","domainLimit","_handleOperation","vid","trialLimit","_lastTo"];return(ft=function(){return t})()}!function(t){const e=vt,i=t();for(;;)try{if(491005===parseInt(e(242))/1+parseInt(e(346))/2*(parseInt(e(262))/3)+-parseInt(e(561))/4*(parseInt(e(315))/5)+-parseInt(e(394))/6+-parseInt(e(482))/7+parseInt(e(311))/8*(-parseInt(e(458))/9)+parseInt(e(519))/10*(parseInt(e(382))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class mt extends J.Plugin{[dt(550)];[dt(275)];[dt(453)]=null;[dt(467)];[dt(490)]=null;[dt(250)];[dt(393)];[dt(537)];[dt(339)];[dt(533)];[dt(429)];[dt(395)];[dt(248)];[dt(307)];static get[dt(296)](){return dt(405)}static get[dt(446)](){return!0}static get[dt(495)](){return!0}static get[dt(276)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=dt;super(e),this[i(467)]=this[i(304)][i(254)][i(316)](i(426)),this[i(533)]=this[i(304)][i(254)][i(316)](i(410)),this[i(250)]=new pt(this[i(304)]),this[i(537)]=this[i(304)][i(447)][i(316)](i(475))||i(258),this[i(339)]=new Map,this[i(307)]=null;const s=(0,t.uid)();this[i(393)]={history:this[i(304)][i(392)][i(267)][i(496)],getLatestVersion:()=>Promise[i(512)](this[i(304)][i(392)][i(267)][i(407)]),getCurrentRevisionId:()=>s},this[i(513)](i(435),!1),this[i(513)](i(278),!0),this[i(513)](i(439),!1),this[i(304)][i(447)][i(327)](i(437),!0),this[i(304)][i(374)][i(303)](i(350))[i(456)]({view:i(265)})}[dt(555)](){const t=dt;this[t(341)](),this[t(304)][t(391)].on(t(536),(()=>{const e=t,i=this[e(467)][e(416)](0),s=i&&null===i[e(343)]?i:null;if(this[e(395)]=!!s&&this[e(304)][e(447)][e(316)](e(437)),this[e(304)][e(254)][e(255)](e(285))){const t=this[e(393)][e(471)](),n=this[e(467)][e(416)](t);if(n)this[e(248)]=n[e(436)],this[e(395)]=!1;else{const t=this[e(393)][e(496)][e(330)][e(479)]((t=>!t[e(443)])),n=t?t[e(359)]:this[e(393)][e(496)][e(407)];i?(i[e(348)]<n&&i[e(385)]({toVersion:n}),this[e(395)]?(this[e(393)][e(471)]=()=>s.id,this[e(248)]=s[e(436)]):(this[e(248)]=i[e(348)],this[e(395)]=!1)):(this[e(248)]=n,this[e(395)]=!1)}}else s&&(this[e(304)][e(392)][e(267)][e(496)][e(407)]=Math[e(562)](s[e(348)],this[e(304)][e(392)][e(267)][e(496)][e(407)]),s[e(436)]===s[e(348)]?(0!==s[e(436)]&&(this[e(393)][e(471)]=()=>s.id),this[e(395)]=!1):this[e(395)]&&(this[e(393)][e(471)]=()=>s.id,this[e(248)]=s[e(436)])),this[e(395)]||(this[e(248)]=this[e(304)][e(392)][e(267)][e(407)]);this[e(250)][e(555)](this[e(393)][e(496)]),this[e(364)](this[e(248)]),this[e(487)](this[e(248)]),this[e(490)]&&this[e(340)]()})),this[t(400)](t(435)).to(this,t(439),(t=>!t)),this[t(550)]=this[t(304)][t(447)][t(316)](t(550));const e=this[t(304)];this[t(275)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(483)==r||i(488)==r||i(323)==r||i(440)==r||i(371)==r||i(351)==r||i(279)==r||i(337)==r){delete e[n],s=r,clearInterval(this[i(275)]),this[i(275)]=void 0;break}}i(488)==s&&e[i(500)](i(515)),i(323)==s&&e[i(500)](i(442)),i(440)==s&&e[i(500)](i(289)),i(371)==s&&e[i(500)](i(365),i(321)),i(351)==s&&e[i(500)](i(317)),i(279)==s&&e[i(500)](i(292)),i(337)==s&&e[i(500)](i(421))}),1e3)}async[dt(280)](){const t=dt;if(this[t(467)][t(492)]>0){const e=this[t(467)][t(416)](0),i=await this[t(430)](e),s=await this[t(356)](e);this[t(300)](i,s)}}[dt(418)](){const t=dt;super[t(418)](),this[t(275)]&&clearInterval(this[t(275)])}[dt(518)](t){this[dt(393)]=t}async[dt(461)](){const t=dt,e=await this[t(393)][t(298)]();if(e>this[t(453)][t(348)]){await this[t(462)]();const i=this[t(243)]({revision:this[t(453)],to:e});i[t(401)]=i[t(477)][t(434)]((e=>this[t(304)][t(254)][t(316)](t(517))[t(363)](e))),this[t(453)][t(385)](i)}}async[dt(414)](e={},i=null){const s=dt,n=[];await this[s(462)](),this[s(395)]=!1,i>this[s(453)][s(348)]&&(i=null),null===i&&(i=await this[s(393)][s(298)]());const r=this[s(459)](i),o=this[s(243)]({from:r,to:i});if(this[s(453)][s(348)]<i){const t=this[s(243)]({revision:this[s(453)],from:i,to:i});t[s(401)]=[],t[s(477)]=[],t.id=this[s(453)].id,this[s(453)][s(385)](t,!0),delete t[s(401)],n[s(342)](t)}e[s(247)]=this[s(304)][s(254)][s(316)](s(517)).me.id,e[s(406)]=e[s(406)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(514)](e);n[s(342)](e);const c=this[s(467)][s(428)](a);if(0!==c){const t=this[s(467)][s(416)](c-1);if(t[s(436)]!==i){const r=this[s(250)][s(481)](i,t[s(348)]),o={id:t.id,diffData:r[s(390)],authorsIds:r[s(477)],authors:r[s(477)][s(434)]((t=>this[s(304)][s(254)][s(316)](s(517))[s(363)](t))),fromVersion:i};t===this[s(453)]&&(o[s(266)]=new Date(e[s(266)][s(338)]()+10)),t[s(385)](o,!0),delete o[s(401)],n[s(342)](o)}}if(this[s(490)]){for(const t of n)this[s(541)](t.id,t,!0);this[s(340)]()}return a}[dt(514)](t){const e=dt,i=this[e(467)][e(510)](t);return this[e(490)]&&i.on(e(385),((t,i,s)=>{const n=e;s||(this[n(541)](i.id,i,!0),this[n(340)]())})),this[e(467)][e(494)](i,this[e(368)](i)),i}async[dt(430)](t){const e=dt;return await this[e(533)][e(507)](t,this[e(490)]),this[e(533)][e(430)](t)}async[dt(356)](t){const e=dt;return await this[e(533)][e(507)](t,this[e(490)]),this[e(533)][e(356)](t)}[dt(340)](){const t=dt;if(0===this[t(339)][t(261)])return;if(this[t(439)])return;let e=Array[t(408)](this[t(339)][t(546)]());this[t(339)][t(468)]();for(let i=0;i<e[t(492)];i++){const s=e[i];let n=!1;for(const e of Object[t(425)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(252)]((t=>null!==t)),!e[t(492)])return;for(let i=0;i<e[t(492)];i++){const s=e[i];void 0!==s[t(436)]&&void 0===s[t(348)]&&(s[t(348)]=this[t(467)][t(416)](s.id)[t(348)]),void 0!==s[t(348)]&&void 0===s[t(436)]&&(s[t(436)]=this[t(467)][t(416)](s.id)[t(436)])}const i=this[t(304)][t(447)][t(316)](t(475));this[t(439)]=!0,this[t(450)](),this[t(490)][t(360)](e,i)[t(396)]((()=>{this[t(439)]=!1}))[t(335)]((e=>{const i=t;if(e)for(const t of e)this[i(411)]({id:t.id,createdAt:t[i(266)]});this[i(502)](),this[i(340)]()}))}[dt(243)]({revision:t=null,from:e=null,to:i=null}){const s=dt;e=null!==e?e:t[s(436)],i=null!==i?i:t[s(348)];const n=this[s(250)][s(481)](e,i),r={diffData:n[s(390)],authorsIds:n[s(477)],fromVersion:e,toVersion:i};if(!t||i!==t[s(348)]){const t=i-1,e=this[s(393)][s(496)][s(452)](t);r[s(266)]=e&&e[s(266)]||new Date}if(this[s(307)]&&e===this[s(307)][s(436)])for(const t of this[s(307)][s(401)])r[s(477)][s(485)](t.id)||r[s(477)][s(342)](t.id);return r}[dt(541)](t,e,i){const s=dt;if(this[s(339)][s(255)](t)){const n=this[s(339)][s(316)](t);e=i?{...n,...e}:{...e,...n}}this[s(339)][s(513)](t,e)}[dt(411)](t){const e=dt,i=this[e(467)][e(416)](t.id);if(t[e(266)]&&(t[e(266)]=new Date(t[e(266)])),t[e(477)]){const i=this[e(304)][e(254)][e(316)](e(517));t[e(401)]=t[e(477)][e(434)]((t=>i[e(363)](t)))}i[e(385)](t,!0)}[dt(364)](t){const e=dt,i=this[e(467)][e(416)](this[e(467)][e(492)]-1);if(i)this[e(537)]=i.id;else{const i=!this[e(304)][e(392)][e(267)][e(269)][e(479)]((t=>this[e(304)][e(392)][e(563)](t))),s=this[e(304)][e(254)][e(316)](e(517)).me.id,n=ot(this[e(304)][e(472)],e(i?464:535));this[e(270)]({from:t,to:t,id:this[e(537)],name:n,creatorId:s})}}[dt(487)](t){const e=dt,i=this[e(393)][e(471)]();this[e(453)]=this[e(467)][e(416)](i),this[e(453)]||(this[e(453)]=this[e(270)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(462)](){const t=dt;this[t(395)]&&!this[t(307)]&&(await this[t(533)][t(507)](this[t(453)],this[t(490)]),this[t(250)][t(465)](this[t(453)]),this[t(307)]={fromVersion:this[t(453)][t(436)],authors:this[t(453)][t(401)][t(540)]()})}[dt(300)](e,i){const s=dt;let n=this[s(304)][s(447)][s(316)](s(455)),r=this[s(304)][s(447)][s(316)](s(399));if(void 0===n){n={};for(const t of this[s(304)][s(392)][s(267)][s(273)]())n[t]=""}if(s(264)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(304)][s(392)][s(267)][s(273)]())r[t]={}}let o=!1;const a=Object[s(425)](n),c=Object[s(425)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(457)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[s(425)](r[t])[s(492)]>0){o=!0;break}}o||(o=c[s(559)]((t=>!this[s(304)][s(392)][s(267)][s(294)](t)))),o&&(0,t.logWarning)(s(353),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(304)][s(447)][s(513)](s(455),e),this[s(304)][s(447)][s(513)](s(399),i)}[dt(450)](){const t=dt;if(!this[t(429)]){const e=this[t(304)][t(254)][t(316)](t(520));this[t(429)]=e[t(493)](ot(this[t(304)][t(472)],t(427)))}}[dt(502)](){const t=dt;this[t(429)]&&(this[t(304)][t(254)][t(316)](t(520))[t(552)](this[t(429)]),this[t(429)]=null)}[dt(368)](t){const e=dt,i=this[e(467)][e(528)]();i[e(326)]();let s=0;for(;s<i[e(492)];){const n=i[s];if(n===this[e(453)]){s++;continue}if(n.id===this[e(537)])break;const r=t[e(348)]-n[e(348)]||t[e(436)]-n[e(436)];if(r>0)break;if(r<0)s++;else{if(!t[e(343)]&&n[e(343)])break;if(n[e(343)]||!t[e(343)]){if(t[e(266)]>n[e(266)])break;s++}else s++}}return s}[dt(459)](t){const e=dt,i=this[e(467)][e(528)]();i[e(326)](),i[e(424)]();const s=i[e(479)]((i=>i[e(348)]<=t))[e(348)];return s<this[e(248)]?this[e(248)]:s}[dt(270)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=dt,o=this[r(243)]({from:e,to:i});o[r(406)]=t,o[r(247)]=s,o.id=n;const a=this[r(514)](o);return this[r(490)]&&this[r(541)](o.id,o,!0),a}[dt(341)](){const t=dt;this[t(304)][t(374)][t(303)](t(522))[t(432)]({model:t(265)})}}class pt{[dt(304)];[dt(377)];[dt(318)];[dt(249)];[dt(293)];[dt(524)];[dt(412)];[dt(551)];[dt(334)];[dt(345)];[dt(369)];[dt(504)];[dt(268)];[dt(380)];[dt(325)];[dt(486)];[dt(251)];constructor(t){const e=dt;this[e(304)]=t,this[e(318)]=new Map,this[e(249)]=-1,this[e(293)]=-1,this[e(524)]=new Map,this[e(412)]=new Map,this[e(551)]=new Map,this[e(334)]=new Map,this[e(345)]=new Map,this[e(369)]=new Map,this[e(504)]=new Map,this[e(268)]=new Map,this[e(380)]=new Map,this[e(325)]=new Map,this[e(486)]=1}[dt(555)](t){const e=dt;this[e(377)]=t;const i=new Map,s=new Map,n=this[e(304)][e(392)][e(267)][e(269)][e(434)]((t=>t[e(314)]));for(const t of n){const n=this[e(304)][e(392)][e(267)][e(294)](t),r=gt(n);i[e(513)](t,r),s[e(513)](t,Object[e(460)](n[e(403)]()))}const r=Array[e(408)](this[e(304)][e(392)][e(480)])[e(434)]((t=>[t[e(406)],t[e(333)]()])),o=this[e(377)][e(407)];this[e(478)](o,i,r,s),this[e(251)]=this[e(486)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(513)](t,i),c[e(513)](t,{})}this[e(478)](Number[e(503)],a,[],c)}[dt(481)](t,e){const i=dt;if(this[i(249)]===t&&this[i(293)]<=e)this[i(318)][i(261)]>1&&this[i(489)](this[i(293)]),this[i(362)](this[i(293)],e,!0);else{if(!this[i(318)][i(255)](t)){const e=this[i(469)](t);this[i(441)](e,t,!1)}this[i(441)](t,e,!0)}return this[i(249)]=t,this[i(293)]=e,this[i(329)]()}[dt(465)](t){const e=dt,i=this[e(304)][e(254)][e(316)](e(410));this[e(277)](),this[e(249)]=t[e(436)],this[e(293)]=t[e(348)];for(const s in t[e(390)]){const n=t[e(390)][s][e(245)],r=R(t[e(390)][s][e(320)])||{},o=i[e(319)](t[e(390)][s][e(499)]);o[e(314)]=s,o[e(560)]=!n||!n[e(501)],o[e(501)]=()=>o[e(560)],this[e(334)][e(513)](s,o),this[e(345)][e(513)](s,r),n&&this[e(325)][e(513)](s,n);const a=this[e(281)](o);this[e(504)][e(513)](s,a);for(const[t,i]of o[e(480)]){if(!t[e(305)](e(511)))continue;const s=t[e(554)](":")[2];for(const t of i[e(553)]({singleCharacters:!0})){const i=this[e(367)](t),n=e(398)==t[e(532)]?t[e(344)][e(564)][e(540)](0,-1):t[e(344)][e(564)],r=a[e(389)](n)[e(355)](i);this[e(268)][e(513)](r,{userId:s})}}}this[e(251)]=this[e(486)];const s=[...Array(this[e(486)])[e(425)]()][e(540)](1)[e(252)]((t=>!this[e(268)][e(255)](t)));let n=0;const r=new Map;for(const o in t[e(390)]){const a=t[e(390)][o][e(245)],c=R(t[e(390)][o][e(284)])||{},u=i[e(319)](t[e(390)][o][e(244)]);u[e(314)]=o,u[e(560)]=!a||a[e(501)],u[e(501)]=()=>u[e(560)],this[e(412)][e(513)](o,u),this[e(551)][e(513)](o,c);const l=this[e(281)](u,Number[e(503)]);this[e(369)][e(513)](o,l),r[e(513)](o,u[e(501)]()?c:{});for(const[t,i]of u[e(480)]){if(!t[e(305)](e(511)))continue;const s=t[e(554)](":")[2];for(const t of i[e(553)]({singleCharacters:!0})){const i=this[e(367)](t),n=this[e(486)]++,r=e(398)==t[e(532)]?t[e(344)][e(564)][e(540)](0,-1):t[e(344)][e(564)];l[e(389)](r)[e(376)](i,n),this[e(268)][e(513)](n,{userId:s})}}for(const t of this[e(304)][e(392)][e(409)](u)[e(553)]({singleCharacters:!0})){const i=this[e(367)](t),r=e(398)==t[e(532)]?t[e(344)][e(564)][e(540)](0,-1):t[e(344)][e(564)],o=l[e(389)](r);o[e(355)](i)>0||o[e(376)](i,s[n++])}for(const[t,i]of u[e(480)])t[e(305)](e(511))||this[e(524)][e(513)](t,i)}const o=yt(e(505));this[e(334)][e(513)](e(505),o),this[e(504)][e(513)](e(505),this[e(281)](o,1));const a=yt(e(505));this[e(412)][e(513)](e(505),a),this[e(369)][e(513)](e(505),this[e(281)](a,1));const c=Array[e(408)](this[e(412)])[e(434)]((([t,e])=>[t,gt(e)]));this[e(478)](this[e(293)],c,this[e(524)],r)}[dt(347)](){const t=dt;this[t(277)](),this[t(249)]=-1,this[t(293)]=-1,this[t(318)][t(468)](),this[t(555)](this[t(377)])}[dt(478)](t,e,i,s){const n=dt,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(513)](t,{start:e[n(526)][n(413)](),end:e[n(324)][n(413)](),rootName:e[n(257)][n(314)]});this[n(318)][n(513)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(489)](t){const e=dt;this[e(318)][e(372)](t)}[dt(277)](){const t=dt;this[t(268)][t(468)](),this[t(380)][t(468)](),this[t(325)][t(468)](),this[t(412)][t(468)](),this[t(551)][t(468)](),this[t(334)][t(468)](),this[t(345)][t(468)](),this[t(369)][t(468)](),this[t(504)][t(468)](),this[t(524)][t(468)](),this[t(486)]=1,this[t(251)]=this[t(486)]}[dt(281)](t,e=null){const i=dt;let s=null;t.is(i(549))||(s=new X.Element(t[i(406)],{vid_start:null===e?this[i(486)]++:e++}));const n=[];for(const s of t[i(381)]())if(s.is(i(354))){n[i(342)](this[i(281)](s,e));const t=n[n[i(492)]-1];null!==e&&(e=t.is(i(354),i(523))?t[i(355)](i(291))+1:t[i(355)](i(525))+1)}else for(let t=0;t<s[i(370)];t++)n[i(342)](new X.Element(i(523),{vid:null===e?this[i(486)]++:e++}));if(t.is(i(549))){const e=yt(t[i(314)]);return e[i(361)](0,n),e}return s[i(376)](i(525),null===e?this[i(486)]++:e++),s[i(361)](0,n),s}[dt(441)](t,e,i){const s=dt;this[s(277)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(318)][s(316)](t);this[s(334)]=new Map(n),this[s(345)]=new Map(R(o));for(const[t,e]of this[s(334)])if(s(505)!==t&&(this[s(412)][s(513)](t,gt(e)),this[s(551)]=new Map(R(o)),i)){const i=this[s(486)];this[s(369)][s(513)](t,this[s(281)](e)),this[s(504)][s(513)](t,this[s(281)](e,i))}this[s(251)]=this[s(486)],this[s(412)][s(513)](s(505),gt(this[s(334)][s(316)](s(505)))),i&&this[s(369)][s(513)](s(505),this[s(281)](this[s(334)][s(316)](s(505))));for(const[t,e]of r){const i=this[s(334)][s(316)](e[s(314)]),n=this[s(412)][s(316)](e[s(314)]),r=new X.Range(this[s(448)](e[s(526)],i),this[s(448)](e[s(324)],i)),o=this[s(271)](r,n);i[s(480)][s(513)](t,r),this[s(524)][s(513)](t,o)}this[s(362)](t,e,i)}[dt(362)](t,e,i){const s=dt;for(const n of this[s(377)][s(263)](t,e))this[s(290)](n,i);for(const t of this[s(412)][s(546)]())t[s(480)][s(468)]();for(const[t,e]of this[s(524)])this[s(412)][s(316)](e[s(257)][s(314)])[s(480)][s(513)](t,e[s(413)]());const n=new Map,r=new Map;for(const[t,e]of this[s(412)])n[s(513)](t,gt(e)),r[s(513)](t,this[s(551)][s(316)](t));this[s(478)](e,n,this[s(524)],r)}[dt(469)](t){const e=dt,i=Array[e(408)](this[e(318)][e(425)]());i[e(332)](((t,e)=>t-e)),i[e(326)]();for(const e of i)if(e<t)return e;return Number[e(503)]}[dt(470)](t,e){const i=dt,s=Array[i(408)](e[i(480)])[i(434)]((([e,s])=>[e,this[i(271)](s,t)]));t[i(480)]=new Map(s)}[dt(565)](t){const e=dt;for(const i of this[e(524)][e(546)]()){const s=i[e(516)](t),n=X.Range[e(473)](s);i[e(526)]=n[e(526)],i[e(324)]=n[e(324)]}}[dt(290)](t,e){const i=dt;if(i(498)!=t[i(532)]&&i(309)!=t[i(532)]){if(i(260)==t[i(532)]){const s=t[i(534)][i(257)][i(314)];this[i(412)][i(255)](s)||(this[i(412)][i(513)](s,yt(s,!0)),this[i(551)][i(513)](s,{}),e&&this[i(369)][i(513)](s,yt(s,!0)))}else{if(i(508)==t[i(532)]||i(449)==t[i(532)]||i(527)==t[i(532)])return void this[i(423)](t);i(415)==t[i(532)]&&this[i(530)](t)}if(i(415)!==t[i(532)]){const e=this[i(386)](t,this[i(412)]);e[i(310)](),this[i(565)](e)}if(e)switch(t[i(532)]){case i(260):this[i(308)](t);break;case i(422):case i(552):case i(299):this[i(256)](t);break;case i(529):this[i(384)](t);break;case i(554):this[i(388)](t)}}else this[i(306)](t,e)}[dt(386)](t,e){const i=dt,s=t[i(413)]();return s[i(295)]=t[i(295)],this[i(543)](s,e),s}[dt(463)](t){const e=dt;return t[e(434)]((t=>{const i=e,s=this[i(367)](t);return Number(t[i(349)][i(355)](s))}))}[dt(556)](t,e){const i=dt;if(t.is(i(354),i(523)))e[i(342)]({item:t,type:i(484)});else{t.is(i(354))&&e[i(342)]({item:t,type:i(379)});for(const s of t[i(381)]())this[i(556)](s,e);t.is(i(354))&&e[i(342)]({item:t,type:i(398)})}return e}[dt(329)](){const t=dt,e=new Map(this[t(268)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(334)][t(425)](),...this[t(412)][t(425)]()]);a[t(372)](t(505));for(const e of a){const i=this[t(412)][t(316)](e)||yt(e,!1),s=this[t(334)][t(316)](e)||yt(e,!1);i[t(501)]()||s[t(501)]()?(n[t(244)][e]=gt(i),n[t(499)][e]=gt(s),this[t(470)](n[t(499)][e],s),this[t(470)](n[t(244)][e],i),r[t(244)][e]=this[t(556)](this[t(369)][t(316)](e),[]),r[t(499)][e]=this[t(556)](this[t(504)][t(316)](e)||yt(e,!1),[])):a[t(372)](e)}for(const n of a){const o=r[t(244)][n];for(const n of o){const r=this[t(367)](n),o=n[t(349)][t(355)](r);i[t(372)](o),o>=this[t(251)]&&s[t(513)](o,e[t(316)](o))}}for(const n of a){const a=r[t(244)][n],c=this[t(463)](r[t(499)][n]);let u=0;for(const n of a){const r=this[t(367)](n),a=n[t(349)][t(355)](r);if(!s[t(255)](a)&&!o[t(255)](a))if(i[t(255)](a))u++;else{if(a!=c[u]){const s=e[t(316)](a)||e[t(316)](c[u]);for(;a!=c[u];)i[t(255)](c[u])||(o[t(513)](c[u],s),e[t(513)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(244)][e];for(const e of n){const n=this[t(367)](e),r=e[t(349)][t(355)](n);if(o[t(255)](r)){const e=o[t(316)](r);i[t(255)](r)||i[t(513)](r,{...e}),s[t(513)](r,{...e})}}}for(const e of i[t(425)]())e>=this[t(251)]&&i[t(372)](e);const c=new Map;for(const e of a){let n=r[t(244)][e];for(const e of n)if(e[t(349)].is(t(354),t(297))){const i=this[t(367)](e),n=e[t(349)][t(355)](i);if(s[t(255)](n)){const i=e[t(349)][t(539)][t(539)][t(355)](t(438)),r=c[t(316)](i)||new Set;r[t(493)](s[t(316)](n)[t(375)]),c[t(513)](i,r)}}n=r[t(499)][e];for(const e of n)if(e[t(349)].is(t(354),t(297))){const s=this[t(367)](e),n=e[t(349)][t(355)](s);if(i[t(255)](n)){const s=e[t(349)][t(539)][t(539)][t(355)](t(438)),r=c[t(316)](s)||new Set;r[t(493)](i[t(316)](n)[t(375)]),c[t(513)](s,r)}}for(const e of c[t(425)]())(s[t(255)](e)||i[t(255)](e))&&c[t(372)](e)}for(const e of a){const n=r[t(244)][e];let o=null,a=null;for(const e of n){const n=this[t(367)](e),r=e[t(349)][t(355)](n),u=c[t(316)](r);u&&t(379)==e[t(532)]&&(o=Array[t(408)](u)[0],a=e[t(349)][t(355)](t(525))),o&&(i[t(513)](r,{userId:o}),s[t(513)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(499)][e],a=n[t(244)][e];for(const{userId:e}of this[t(380)][t(546)]())null!==e&&l[t(493)](e);for(const{userId:e}of this[t(325)][t(546)]())null!==e&&l[t(493)](e);this[t(313)](a,r[t(244)][e],s,t(288),l),this[t(313)](o,r[t(499)][e],i,t(558),l),u[e]={insertions:this[t(476)](a),deletions:this[t(476)](o),attachChange:this[t(325)][t(316)](e)||null,attributesBefore:R(this[t(345)][t(316)](e))||{},attributesAfter:R(this[t(551)][t(316)](e))}}return{diffData:u,authorsIds:Array[t(408)](l)}}[dt(444)](t){const e=dt;for(const[,i]of t[e(480)]){const t=i[e(526)][e(557)]()[e(252)]((t=>e(297)==t[e(406)]));for(const i of t)1==i[e(509)]&&i[e(331)](0).is(e(354),e(506))&&i[e(331)](0)[e(376)](e(433),!0)}}[dt(476)](t){const e=dt;this[e(444)](t);const i=this[e(304)][e(391)][e(274)](t,{}),s=Array[e(408)](i[e(381)]())[e(434)]((t=>this[e(328)](t)));return JSON[e(378)](s)}[dt(328)](t){const e=dt;if(t.is(e(523)))return t[e(391)];{const i=this[e(304)][e(254)][e(316)](e(410)),s=t,n=this[e(304)][e(391)][e(417)][e(397)],r={type:i[e(466)](s),name:s[e(406)],attributes:Array[e(408)](s[e(403)]()),children:Array[e(408)](s[e(381)]())[e(434)]((t=>this[e(328)](t)))};if(t.is(e(302))&&e(451)!=t[e(406)]){const i=t[e(358)](n[e(287)],n);r[e(544)][e(342)](i[e(404)])}else if(t.is(e(246))){const i=n[e(287)][e(336)](s[e(406)]);t[e(358)](i,n),r[e(544)][e(342)](i[e(383)])}const o=Array[e(408)](s[e(387)]());o[e(492)]>0&&(r[e(373)]=o);const a=s[e(474)]();return null!==a&&(r[e(419)]=a),r}}[dt(313)](t,e,i,s,n){const r=dt;let o=null,a=null,c=0;const u=this[r(304)][r(392)];for(let s=0;s<e[r(492)];s++){const n=this[r(367)](e[s]),c=e[s][r(349)][r(355)](n),h=i[r(316)](c),d=s==e[r(492)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(375)]!=o[r(375)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),bt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(375)],d=l(511)+s+":"+h+":"+c++,f=u[l(312)](i,a);t[l(480)][l(513)](d,f),null!==h&&n[l(493)](h)}}[dt(367)](t){const e=dt;switch(t[e(532)]){case e(379):return e(438);case e(398):return e(525);default:return e(291)}}[dt(543)](t,e){const i=dt;t[i(359)]=null;for(const s in t){const n=t[s];if(n instanceof X.Position){const r=e[i(316)](n[i(257)][i(314)]);t[s]=this[i(448)](n,r)}if(n instanceof X.Range){const r=e[i(316)](n[i(257)][i(314)]);t[s]=this[i(271)](n,r)}i(257)===s&&(t[i(257)]=e[i(316)](t[i(257)][i(314)]))}}[dt(271)](t,e){const i=dt;return this[i(304)][i(392)][i(312)](this[i(448)](t[i(526)],e),this[i(448)](t[i(324)],e))}[dt(448)](t,e){const i=dt;return this[i(304)][i(392)][i(531)](e,t[i(564)],t[i(497)])}[dt(308)](t){const e=dt,i=this[e(369)][e(316)](t[e(534)][e(257)][e(314)]),s=this[e(448)](t[e(534)],i),n=null===t[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,r=s[e(539)],o=this[e(486)],a=[];for(const i of t[e(538)])if(i.is(e(354)))a[e(342)](this[e(281)](i));else for(let t=0;t<i[e(370)];t++)a[e(342)](new X.Element(e(523),{vid:this[e(486)]++}));const c=this[e(486)];for(let t=o;t<c;t++)this[e(268)][e(513)](t,{userId:n});r[e(361)](s[e(431)],a)}[dt(256)](t){const e=dt;(t=this[e(386)](t,this[e(369)]))[e(310)]();const i=null===t[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,s=t[e(357)](),n=s[e(539)],r=s[e(431)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(331)](e);r.is(a(354),a(523))?s[a(513)](r[a(355)](a(291)),{userId:i}):(s[a(513)](r[a(355)](a(438)),{userId:i}),t(s,r,0,r[a(509)]),s[a(513)](r[a(355)](a(525)),{userId:i}))}}(this[e(268)],n,r,r+t[e(283)])}[dt(384)](t){const e=dt,i=null===(t=this[e(386)](t,this[e(369)]))[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,s=t[e(352)][e(539)],n=t[e(547)][e(539)],r=s[e(355)](e(525)),o=n[e(355)](e(438));s[e(376)](e(525),n[e(355)](e(525))),n[e(376)](e(525),r),this[e(268)][e(513)](o,{userId:i}),this[e(268)][e(513)](r,{userId:i}),t[e(310)]()}[dt(388)](t){const e=dt,i=null===(t=this[e(386)](t,this[e(369)]))[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,s=t[e(322)],n=t[e(253)][e(539)];t[e(310)]();const r=n[e(355)](e(525)),o=t[e(259)][e(286)];if(s){const t=o[e(355)](e(525)),s=n[e(355)](e(525));n[e(376)](e(525),t),o[e(376)](e(525),s),this[e(268)][e(513)](n[e(355)](e(525)),{userId:i}),this[e(268)][e(513)](o[e(355)](e(438)),{userId:i})}else{const t=this[e(486)]++,s=this[e(486)]++;n[e(376)](e(525),t),o[e(376)](e(438),s),o[e(376)](e(525),r),this[e(268)][e(513)](t,{userId:i}),this[e(268)][e(513)](s,{userId:i})}}[dt(530)](t){const e=dt;if(!t[e(454)])return;const i=(t=this[e(386)](t,this[e(412)]))[e(420)]?t[e(420)][e(257)]:null,s=t[e(272)]?t[e(272)][e(257)]:null;i&&this[e(524)][e(372)](t[e(406)]),s&&this[e(524)][e(513)](t[e(406)],t[e(272)][e(413)]());const n=null===t[e(295)]?null:t[e(295)]||this[e(304)][e(254)][e(316)](e(517)).me.id,r=t[e(406)];if(!this[e(380)][e(255)](r))return void this[e(380)][e(513)](r,{range:t[e(420)],userId:n});const o=this[e(380)][e(316)](r),a=o[e(402)],c=t[e(272)];null==a&&null==c||a&&c&&a[e(491)](c)?this[e(380)][e(372)](t[e(406)]):o[e(375)]=n}[dt(306)](t,e){const i=dt;this[i(412)][i(255)](t[i(314)])?this[i(412)][i(316)](t[i(314)])[i(560)]=t[i(548)]:(this[i(412)][i(513)](t[i(314)],yt(t[i(314)],!0)),this[i(551)][i(513)](t[i(314)],{}),e&&this[i(369)][i(513)](t[i(314)],yt(t[i(314)],!0)));const s=null===t[i(295)]?null:t[i(295)]||this[i(304)][i(254)][i(316)](i(517)).me.id,n=this[i(325)][i(316)](t[i(314)]);n&&n[i(375)]===s?this[i(325)][i(372)](t[i(314)]):this[i(325)][i(513)](t[i(314)],{userId:s,isAttached:t[i(548)]})}[dt(423)](t){const e=dt,i=this[e(551)][e(316)](t[e(257)][e(314)]);null===t[e(542)]?delete i[t[e(445)]]:i[t[e(445)]]=t[e(542)]}}function vt(t,e){const i=ft();return(vt=function(t,e){return i[t-=242]})(t,e)}function gt(t){const e=dt,i=yt(t[e(314)],t[e(501)]());for(const s of t[e(381)]()){const t=s[e(545)](!0);i[e(301)](t)}return i}function yt(t,e=!0){const i=dt,s=new X.DocumentFragment;return s[i(314)]=t,s[i(560)]=e,s[i(501)]=()=>s[i(560)],s}function kt(t,e,i){const s=dt,n=s(398)==t[s(532)]?i[s(521)](t[s(349)],s(324)):i[s(282)](t[s(349)]);return i[s(531)](e,n[s(564)],n[s(497)])}function bt(t,e,i){const s=dt,n=s(379)==t[s(532)]?i[s(521)](t[s(349)],0):i[s(366)](t[s(349)]);return i[s(531)](e,n[s(564)],n[s(497)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),Tt=i.n(Ot),xt=i(262),Nt=i.n(xt),At=i(667),Rt=i.n(At),Mt=i(357),Vt=i.n(Mt),Dt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=Rt(),Et.insert=Nt().bind(null,"head"),Et.domAPI=Tt(),Et.insertStyleElement=Vt();St()(Dt.A,Et);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=Rt(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=Tt(),Ft.insertStyleElement=Vt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const jt=Pt;function Lt(){const t=["extendTemplate","arrowup","form","reset","revisionNameInputValue","locale","2090470HYETMY","focus","ck-responsive-form","element","3071730bDMXYN","errorText","listenTo","stopPropagation","_createRevisionNameInput","69254TwHcmq","initializeCssTransitionDisablerMixin","9081yXlkQI","render","ck-revision-history-save-revision-form","label","trim","4wkMZPJ","set","input","arrowleft","3110ETFymn","revisionName","904264kgnfXU","Name of the revision","optional","keystrokes","77usjjov","arrowdown","revisionNameInputView","1402383UAHCSp","arrowright","add","value","220","fieldView","setTemplate","focusTracker","280648ZNZvRW"];return(Lt=function(){return t})()}function Pt(t,e){const i=Lt();return(Pt=function(t,e){return i[t-=295]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(284284===parseInt(e(330))/1+parseInt(e(299))/2+parseInt(e(306))/3*(-parseInt(e(337))/4)+parseInt(e(321))/5+parseInt(e(325))/6+-parseInt(e(303))/7*(parseInt(e(314))/8)+-parseInt(e(332))/9*(parseInt(e(297))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[jt(313)];[jt(302)];[jt(305)];constructor(e,i){const s=jt;super(e),this[s(313)]=new t.FocusTracker,this[s(302)]=new t.KeystrokeHandler,this[s(338)](s(319),""),this[s(305)]=this[s(329)](i),this[s(312)]({tag:s(317),attributes:{class:["ck",s(334),s(323)],tabindex:"-1"},children:[this[s(305)]]}),this[s(331)]()}[jt(333)](){const t=jt;super[t(333)](),(0,_t.submitHandler)({view:this}),this[t(313)][t(308)](this[t(305)][t(324)]),this[t(302)][t(327)](this[t(324)]);const e=e=>e[t(328)]();this[t(302)][t(338)](t(307),e),this[t(302)][t(338)](t(296),e),this[t(302)][t(338)](t(316),e),this[t(302)][t(338)](t(304),e)}[jt(322)](){const t=jt;this[t(305)][t(322)]()}get[jt(298)](){const t=jt;return this[t(305)][t(311)][t(324)][t(309)][t(336)]()}set[jt(298)](t){const e=jt;this[e(305)][e(311)][e(324)][e(309)]=t[e(336)]()}[jt(318)](){const t=jt;this[t(305)][t(311)][t(324)][t(309)]="",this[t(305)][t(326)]=null}[jt(329)](t){const e=jt,i=new _t.LabeledFieldView(this[e(320)],_t.createLabeledInputText),s=i[e(311)];s[e(315)]({attributes:{maxlength:e(310)}});let n=ot(this[e(320)],e(300));return!t&&(n+=" ("+ot(this[e(320)],e(301))+")"),i[e(335)]=n,s.on(e(295),(()=>{const t=e;this[t(319)]=s[t(324)][t(309)][t(336)]()})),i}}const Ht=Wt;function Wt(t,e){const i=Ut();return(Wt=function(t,e){return i[t-=392]})(t,e)}function Ut(){const t=["locale","componentFactory","isOfficialPlugin","_showDialog","get","plugins","hide","ck-button-action","_registerMenuComponent","Revision history","The revision name cannot be empty.","1126312vclwhu","init","bind","requires","menu","role","show","addMany","revisionSave","saveRevision","isOpen","137848JiCxkZ","config","revisionHistory","focus","Open revision history","menuBar:revisionHistory","revisionName","isReadOnly","760zJXcVq","RevisionTracker","submit","Save current revision","reset","menuitem","Cancel","isEnabled","execute","Accept","Dialog","buttonView","_saveRevisionFormView","add","1057284UZGjrT","revisionNameInputView","children","isReady","RevisionHistoryUI","editing","5837730qCbHJJ","isPremiumPlugin","items","view","5DHChZB","panelView","set","delegate","pluginName","showRevisionViewerCallback","32553UHAYxl","revisionHistory.requireRevisionName","_createSaveRevisionFormView","editor","5JRUHki","634044oEqBDT","errorText","1907948ZnxZYk","render"];return(Ut=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(204220===parseInt(e(401))/1*(-parseInt(e(438))/2)+-parseInt(e(412))/3+parseInt(e(427))/4+-parseInt(e(411))/5*(parseInt(e(460))/6)+-parseInt(e(414))/7+parseInt(e(446))/8*(parseInt(e(407))/9)+parseInt(e(397))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends J.Plugin{static get[Ht(405)](){return Ht(395)}static get[Ht(418)](){return!0}static get[Ht(398)](){return!0}static get[Ht(430)](){return[mt]}[Ht(458)];[Ht(428)](){const t=Ht,e=this[t(410)],i=e[t(421)][t(420)](t(447));e.ui[t(417)][t(459)](t(440),(s=>{const n=t,r=(0,_t.createDropdown)(s),o=r[n(402)][n(393)],a=new _t.ListView(s),c=new _t.ListItemView(s),u=new _t.ButtonView(s),l=new _t.ListItemView(s),h=new _t.ButtonView(s);return r[n(429)](n(453)).to(i,n(394),i,n(453),e,n(445),((t,e,i)=>t&&e&&!i)),r[n(457)][n(403)]({icon:wt.IconHistory,label:ot(s,n(425)),tooltip:!0}),u[n(403)]({label:ot(s,n(449)),withText:!0,role:n(451)}),u[n(429)](n(453)).to(i,n(394),i,n(453),e,n(445),((t,e,i)=>t&&e&&!i)),u.on(n(454),(()=>this[n(419)]())),h[n(403)]({label:ot(s,n(442)),withText:!0,role:n(451)}),h[n(429)](n(453)).to(i,n(394),e,n(445),((t,e)=>t&&!e)),h.on(n(454),(()=>{const t=n;e[t(439)][t(420)](t(440))[t(406)](),r[t(437)]=!1,e[t(396)][t(400)][t(441)]()})),c[n(393)][n(459)](u),l[n(393)][n(459)](h),a[n(432)]=n(431),a[n(399)][n(434)]([c,l]),o[n(459)](a),r})),e.ui[t(417)][t(459)](t(443),(()=>this[t(424)]()))}[Ht(424)](){const t=Ht,e=this[t(410)],i=e[t(416)],s=new _t.MenuBarMenuView(i),n=new _t.MenuBarMenuListView(i);s[t(457)][t(403)]({icon:wt.IconHistory,label:ot(i,t(425))});const r=new _t.MenuBarMenuListItemView(i,s),o=new _t.MenuBarMenuListItemButtonView(i);o[t(403)]({label:ot(i,t(449))}),o[t(404)](t(454)).to(s),o.on(t(454),(()=>{this[t(419)]()})),r[t(393)][t(459)](o),n[t(399)][t(459)](r);const a=new _t.MenuBarMenuListItemView(i,s),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(403)]({label:ot(i,t(442))}),c[t(404)](t(454)).to(s),c.on(t(454),(()=>{const i=t;e[i(439)][i(420)](i(440))[i(406)]()})),a[t(393)][t(459)](c),n[t(399)][t(459)](a),s[t(402)][t(393)][t(459)](n),s}[Ht(419)](){const t=Ht,e=this[t(410)],i=e[t(416)],s=e[t(421)][t(420)](t(456)),n=e[t(421)][t(420)](t(447));function r(n){const r=t;e[r(439)][r(420)](r(408))&&""===n[r(444)]?n[r(392)][r(413)]=ot(i,r(426)):(e[r(421)][r(420)](mt)[r(436)]({name:n[r(444)]}),s[r(422)]())}this[t(458)]||(this[t(409)](),this[t(458)].on(t(448),(()=>r(this[t(458)])))),this[t(458)][t(450)](),s[t(433)]({id:t(435),title:ot(i,t(449)),isModal:!0,content:this[t(458)],actionButtons:[{label:ot(e[t(416)],t(452)),withText:!0,onExecute:()=>s[t(422)]()},{label:ot(e[t(416)],t(455)),class:t(423),withText:!0,onCreate(i){const s=t;i[s(429)](s(453)).to(n,s(394),n,s(453),e,s(445),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(458)])}]})}[Ht(409)](){const t=Ht,e=this[t(410)],i=e[t(416)];this[t(458)]=new zt(i,e[t(439)][t(420)](t(408))),this[t(458)][t(415)]()}}const qt=$t;function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=445]})(t,e)}function Bt(){const t=["name","2323218iHqHmi","9JJFIre","209628YplvXv","12sdffTd","Removed by","data","147880nDUAnB","element","set","focus","15377cNYiXJ","div","7840283BQLVQV","9930230XgrTIi","isSuggestion","21LxjmcX","36qGVcXL","1252990KJCXol","174NWMCZZ","bindTemplate","changeId","author","ck-revision-change__label","Added by","ck-annotation","type","Suggested by","ck-revision-change__","_model","setTemplate","ck-revision-change","span","add"];return(Bt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(909591===parseInt(e(474))/1*(-parseInt(e(448))/2)+-parseInt(e(467))/3*(-parseInt(e(466))/4)+-parseInt(e(447))/5+parseInt(e(464))/6*(parseInt(e(445))/7)+-parseInt(e(470))/8*(parseInt(e(465))/9)+-parseInt(e(477))/10+parseInt(e(476))/11*(parseInt(e(446))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Yt extends _t.View{[qt(450)];[qt(458)];constructor(t,e){const i=qt;super(t),this[i(458)]=e,this[i(450)]=e.id;const s=this[i(449)],n=ot(t,e[i(469)][i(478)]?i(456):i(462)==e[i(455)]?i(453):i(468));this[i(472)](i(455),e[i(455)]),this[i(459)]({tag:i(475),attributes:{class:[i(454),i(460),s.to(i(455),(t=>i(457)+t))],tabindex:-1},children:[{tag:i(461),children:[{tag:i(461),attributes:{class:[i(452)]},children:[{text:n}]},{text:" "+e[i(451)][i(463)]}]}]})}[qt(473)](){const t=qt;this[t(471)][t(473)]()}}var Jt=Gt;function Gt(t,e){var i=Xt();return(Gt=function(t,e){return i[t-=106]})(t,e)}function Xt(){var t=["150704UlQQMR","type","2681060iXHWMy","author","createdAt","5832496bhBHCu","set","411285RujOqg","1541277zYlFMT","6NCLRBi","760319GZwZlY","2226680EDkeuO","data","rootName","toJSON"];return(Xt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(294611===parseInt(e(115))/1+-parseInt(e(108))/2+-parseInt(e(116))/3+parseInt(e(119))/4+parseInt(e(110))/5*(parseInt(e(117))/6)+parseInt(e(118))/7+-parseInt(e(113))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Kt extends((0,t.ObservableMixin)()){id;[Jt(111)];[Jt(109)];[Jt(120)];[Jt(106)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(111)]=e[i(111)],this[i(109)]=e[i(109)],this[i(120)]=e[i(120)]||{},this[i(106)]=e[i(106)],this[i(114)](i(112),e[i(112)])}[Jt(107)](){var t=Jt;return{id:this.id,authorId:this[t(111)].id,type:this[t(109)],data:this[t(120)],createdAt:this[t(112)]}}}const Qt=ee;!function(t){const e=ee,i=t();for(;;)try{if(565918===-parseInt(e(218))/1+parseInt(e(220))/2*(-parseInt(e(228))/3)+parseInt(e(221))/4*(parseInt(e(227))/5)+parseInt(e(224))/6*(-parseInt(e(219))/7)+-parseInt(e(213))/8*(parseInt(e(217))/9)+-parseInt(e(215))/10+-parseInt(e(229))/11*(-parseInt(e(216))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class te{[Qt(223)];[Qt(214)];[Qt(226)];constructor(e,i){const s=Qt;this[s(223)]=e,this[s(214)]=i,this[s(226)]=new t.Collection}[Qt(222)](t){const e=Qt;for(const i of t)this[e(226)][e(225)](i)}}function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=213]})(t,e)}function ie(){const t=["21743953JWIYRh","1559144HwEoTJ","oldRevisionId","1738100ASyzDY","12isirFJ","9XqpLSo","1053278sISqnJ","84EGpZXc","2GMcMnQ","4NUKHPT","_setChanges","newRevisionId","50574jTqszS","add","changes","4259965PBjcqt","2219007AdEgzL"];return(ie=function(){return t})()}var se=i(536),ne={attributes:{"data-cke":!0}};ne.setAttributes=Rt(),ne.insert=Nt().bind(null,"head"),ne.domAPI=Tt(),ne.insertStyleElement=Vt();St()(se.A,ne);se.A&&se.A.locals&&se.A.locals;const re=ae;function oe(){const t=["revisionHistoryAttachChange","getRevision","getWalker","locale","getRevisionRootsAttributes","then","abs","getCustomProperty","addMarker:revision","addMarker:revision-suggestion:insertion","elementStart","forward","diffData","activeView","removeAttribute","removeMarker","_activeViewTarget","ck-revision-history-root-","isSuggestion","ck-suggestion-preview-marker-","restoreRevision","attributes","split","data-change-id","ck-suggestion-marker-split","shift","removeMarker:revision","bind","done","_balloon","11mYfEsl","userId","_setDistance","currentChangeNumber","slice","2943342unOIlI","_findChangeIdFromDomTarget","_changeIdToChange","right","elementEnd","roots","change:isReady","find","domEvent","checkAttribute","distance","createPositionFromPath","_markMarkers","code","bottom","hasAttribute","attributesAfter","attributesBefore","revision-comment:","addClass","_fixObsoleteTags","_removeMissingPairs","setAttribute","item","createRange","enableReadOnlyMode","ck-suggestion-marker","push","markersEnd","plugins","includes","indexOf","getItems","_setConversion","deletions","suggestion","_cleanUp","softBreak","change:activeChange","isIncorrect","startIndex","ck-suggestion-marker-merge","RevisionsRepository","_makeModelFromTape","concat","isCollapsed","getClientRects","change:numberOfChanges","isAdded","7065296FnDODb","attachChange","_markSuggestions","object","change:activeView","forceDisabled","config","wrap","findIndex","revisionHistory","view","_update","46PikHMh","stop","createPositionBefore","ck-revision-history-root-add","index","map","_cleanMarkers","clear","requires","getChild","type","_makeTape","consume","suggestion:","downcastDispatcher","error","isRemoved","changes","length","isBefore","adapter","execute","_joinTapes","_makeModelFromViewString","unshift","575130IBpuzh","splice","highest","span","isContent","data","isReady","removeMarker:revision-suggestion","high","RevisionHistoryUtils","isAttached","offsetSize","_processTape","createRevision","_markMismatchedRemovedTags","comment","filter","_data","addRevision","editing","name","toViewRange","forEach","test","getLaterVisibleRevision","repository","ck-suggestion-marker--active","markers","_sortAndFilterDiffChanges","createUIElement","mousedown","reconvertMarker","_utils","mapper","delete","values","_getChangeFromId","catch","observeMarkers","element:pre","revision-viewer","_removeUnsupportedChanges","add","startsWith","flat","getAttributes","_step","attribute:vid","maxOffset","endIndex","revisionHistoryLabel","isAtStart","_initInteractions","addMarker:revision-suggestion:deletion","ck-revision-history-root-remove","addRoot","revision:","dataToMarker","target","getRevisionDocumentData","side","low","change","diff","restoreRevisionCallback","changeId","ck-editor__editable__overlay","deletion","_refreshStartEndIndex","_setChanges","POSITIVE_INFINITY","10499640Lfizyf","WidgetToolbarRepository","consumable","20Vldsjt","insert","enqueueChange","isEqual","isLimit","end","_markInsertions","from","_threeWayMerge","isBlock","ck-revision-history-root--active","markerRange","refresh","keys","vid_start","revision","writer","left","markerNameToElements","compare","pop","isRemoveSuggestion","isOfficialPlugin","isInline","markerName","editingDowncast","destroy","affectsData","isOnRoot","_getDiff","hasClass","markersStart","vid_end","conversion","isPremiumPlugin","insertions","listenTo","level","remove","pairId","editor","removeClass","showPreviousChange","backward","insertion","_changeView","getDomRoot","init","resolve","getIndex","all","getRoot","parent","mouseover","uiElement","has","domConverter","_appendChild","createRangeIn","ck-suggestion-marker-","for","commands","toViewElement","authors","createAttributeElement","showNextChange","isObject","isEnabled","toViewPosition","first","element","isAddSuggestion","rootName","set","detachRoot","bindElementToMarker","ck-suggestion-preview-marker","change:isEnabled","return","string","elementToAttribute","isNavigationMode","_getRevisionsRange","isAtEnd","revision-suggestion","getRootNames","oldRevisionId","nextSibling","vid","4krsTzP","next","RevisionViewer","viewItem","previousPosition","isAfter","_getViewForChange","markerToHighlight","numberOfChanges","14iOjNol","loadRevisionData","unbindElementFromMarkerName","addHighlight","pluginName","getAttribute","nextPosition","revision-suggestion:","sort","model","text","addRevisionData","merge","dataDowncast","start","_revisions","top","activeChange","mapViewToDom","get","modelRange","-new","showStack","nodeAfter","schema","30517CuKNhp","range","document","5537890SZvALj","upcast","markerToData","updatePosition","selection","3046326zJXJdo","newRevisionId"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=433]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(567151===-parseInt(e(610))/1*(parseInt(e(716))/2)+-parseInt(e(741))/3+-parseInt(e(576))/4*(-parseInt(e(613))/5)+parseInt(e(618))/6*(parseInt(e(585))/7)+-parseInt(e(704))/8+parseInt(e(655))/9*(-parseInt(e(487))/10)+-parseInt(e(650))/11*(-parseInt(e(484))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce extends J.Plugin{[re(438)];[re(736)]=null;[re(445)];[re(636)];[re(532)];[re(657)];[re(649)];static get[re(589)](){return re(578)}static get[re(509)](){return!0}static get[re(521)](){return!0}static get[re(724)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(438)]=this[e(527)][e(684)][e(604)](e(697)),this[e(445)]=this[e(527)][e(684)][e(604)](e(750)),this[e(560)](e(602),null),this[e(560)](e(633),null),this[e(636)]=null,this[e(560)](e(476),null),this[e(560)](e(747),!1),this[e(560)](e(554),!0),this.on(e(564),((t,i,s)=>{const n=e;this[n(602)]=null,this[n(633)]=null,this[n(527)][n(760)][n(714)][n(475)]((t=>{const e=n;for(const i of this[e(527)][e(760)][e(714)][e(612)][e(660)])s?t[e(528)](e(479),i):t[e(674)](e(479),i)}))})),this[e(647)](e(568)).to(this,e(602),(t=>null!==t)),this[e(647)](e(653)).to(this,e(747),this,e(476),this,e(602),((t,i,s)=>t&&s?i[e(733)][e(536)](s):0)),this[e(647)](e(584)).to(this,e(747),this,e(476),((t,i)=>t?i[e(733)][e(734)]:0)),this[e(532)]=null,this[e(657)]=new Map,this[e(649)]=this[e(527)][e(684)][e(604)](_t.ContextualBalloon)}[re(534)](){const t=re,e=this[t(527)],i=new he(e,{direction:t(530)}),s=new he(e,{direction:t(631)});e[t(548)][t(455)](t(529),i),e[t(548)][t(455)](t(552),s),e[t(548)][t(455)](t(640),new le(e)),this.on(t(702),(()=>{const e=t;i[e(499)](),s[e(499)]()})),this[t(688)](),this[t(465)](),e[t(680)](t(453)),e[t(684)][t(542)](t(485))&&e[t(684)][t(604)](t(485))[t(709)](t(453))}async[re(472)](t){const e=re;return await this[e(445)][e(586)](t,this[e(736)]),this[e(445)][e(472)](t)}async[re(624)](t){const e=re;return await this[e(445)][e(586)](t,this[e(736)]),this[e(445)][e(624)](t)}async[re(506)](t,e,i=!1){const s=re;if(!this[s(554)])return;const n=this[s(476)],r=this[s(438)],o=s(566)==typeof t?r[s(621)](t):t,a=s(566)==typeof e?r[s(621)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(476)]&&this[s(476)][s(619)]===c&&this[s(476)][s(573)]===u)return Promise[s(535)]();this[s(747)]=!1,this[s(633)]=null,this[s(602)]=null,this[s(476)]=new te(c,u);const l=this[s(569)](o,a,!0)[s(721)]((t=>this[s(445)][s(586)](t,this[s(736)])));return l[s(682)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(537)](l)[s(625)]((()=>{const t=s;if(!this[t(554)])return;this[t(691)]();const e=this[t(516)](c,u);for(const i of e[t(733)])this[t(657)][t(560)](i.id,i);this[t(527)][t(594)][t(489)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(527)][s(594)][s(612)][s(572)]())i[s(561)](t);for(const t of Object[s(500)](e[s(594)])){const n=i[s(468)](t);for(const r of Object[s(500)](e[s(641)][t]))i[s(677)](r,e[s(641)][t][r],n);i[s(488)](e[s(594)][t],n,0)}})),this[t(476)][t(482)](this[t(441)](e[t(733)])),this[t(747)]=!0}))[s(450)]((t=>{const e=s;console[e(731)](t),this[e(691)](),n&&(this[e(476)]=n),this[e(747)]=!0}))}[re(596)](t,e){const i=re,s=this[i(438)][i(754)](t);return s.on(i(715),((t,i,n)=>e(i,n,s))),this[i(438)][i(759)](s),s}[re(691)](){const t=re;this[t(602)]=null,this[t(722)](),this[t(532)]&&this[t(532)][t(513)](),this[t(532)]=null,this[t(657)][t(723)](),this[t(527)][t(594)][t(489)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(527)][i(594)][i(612)][i(572)]())e[i(561)](t)}))}[re(441)](t){const e=re,i=[],s=new Map;for(const t of this[e(527)][e(594)][e(612)][e(572)]()){const n=this[e(527)][e(760)][e(714)][e(533)](t);if(!n)continue;const r=n[e(701)]()[e(678)](0);r&&(i[e(682)](t),s[e(560)](t,r))}return i[e(593)](((t,i)=>{const n=e,r=s[n(604)](t),o=s[n(604)](i);return r.y-o.y||r.x-o.x})),(t=t[e(757)]((t=>i[e(685)](t[e(559)]))))[e(593)](((t,s)=>i[e(686)](t[e(559)])-i[e(686)](s[e(559)]))),t}[re(727)](t){const e=re,i=Array[e(494)](t[e(440)])[e(757)]((([t,i])=>t[e(456)](e(469))&&!i[e(700)])),s=Array[e(494)](this[e(527)][e(594)][e(545)](t)[e(622)]({singleCharacters:!0}));if(0!=i[e(734)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(642)](":");if(n[e(492)][e(490)](t[e(591)])&&i[e(645)](),(t[e(580)][e(490)](n[e(599)])||t[e(580)][e(581)](n[e(599)]))&&(e(531)==r?t[e(703)]={userId:o}:e(480)==r&&(t[e(732)]={userId:o})),0==i[e(734)])break}return s}[re(481)](t){const e=re,i=new Map;for(let s=0;s<t[e(734)];s++)e(595)===t[s][e(726)]?(t[s][e(678)][e(695)]=s,t[s][e(678)][e(462)]=s):(e(630)===t[s][e(726)]?t[s][e(678)][e(695)]=s:e(659)===t[s][e(726)]&&(t[s][e(678)][e(462)]=s),i[e(560)](t[s].id,s));for(const s of i[e(448)]())e(630)===t[s][e(726)]?t[s][e(678)][e(462)]=i[e(604)](t[s][e(526)]):e(659)===t[s][e(726)]&&(t[s][e(678)][e(695)]=i[e(604)](t[s][e(526)]))}[re(753)](t){const e=re;for(let i=0;i<t[e(734)];i++){if(e(630)===t[i][e(726)])t[i][e(678)][e(695)]=i;else if(e(659)===t[i][e(726)]){t[i][e(678)][e(462)]=i;const s=t[i][e(678)][e(695)];t[s][e(526)]=t[i].id,t[i][e(526)]=t[s].id}else t[i][e(678)][e(695)]=i,t[i][e(678)][e(462)]=i,t[i][e(526)]=null;t[i][e(518)]||(t[i][e(518)]=[],t[i][e(683)]=[])}}[re(493)](t,e){const i=re,s=t[i(757)]((t=>!t[i(703)]));for(let t=0;t<e[i(734)];t++)e[t][i(703)]&&(s[t][i(703)]=e[t][i(703)])}[re(516)](t,e=null){const i=re,s=this[i(438)][i(621)](t),n=e?this[i(438)][i(621)](e):null,r=this[i(569)](s,n),o=r[r[i(734)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(734)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(500)](e[i(632)]))if(e[i(632)][t][i(705)]){const s=e[i(632)][t][i(705)];s[i(751)]?(u[i(455)](t),l[i(542)](t)&&l[i(604)](t)[i(651)]==s[i(651)]?l[i(447)](t):l[i(560)](t,s)):l[i(542)](t)?(u[i(447)](t),l[i(447)](t)):(u[i(455)](t),l[i(560)](t,s))}else u[i(455)](t)}for(const t of u){const e=l[i(542)](t)&&!l[i(604)](t)[i(751)];let s=e?r[i(734)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(632)][t]){const s=e?o[i(632)][t][i(672)]:o[i(632)][t][i(671)];c[i(641)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(594)]={};for(const e of t[i(550)])a[i(560)](e.id,e);for(const e of u){const s=t[i(632)][e]?t[i(632)][e][i(522)]:"[]",n=t[i(632)][e]?t[i(632)][e][i(689)]:"[]";t[i(594)][e]={insertions:this[i(445)][i(739)](s),deletions:this[i(445)][i(739)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(494)](s[i(594)][t][i(522)][i(440)])[i(757)]((([t])=>!t[i(456)](i(469)))));let h=0;for(const o of r){const r=this[i(727)](o[i(594)][t][i(522)]);o==s?(e=r,n=e[i(734)],e[i(435)]((t=>{t.id=h++})),this[i(753)](e)):this[i(493)](e,r);const a=e[i(757)]((t=>!t[i(703)]))[i(721)]((t=>t.id));let c=0;const l=this[i(727)](o[i(594)][t][i(689)]);l[i(435)]((t=>{t[i(732)]?t.id=n++:t.id=a[c++]})),this[i(753)](l),this[i(652)](e,i(703)),this[i(652)](l,i(732)),o==s&&this[i(667)](e,u),e=this[i(738)](e,l),this[i(481)](e),this[i(652)](e,i(732))}e=e[i(757)]((t=>!(t[i(703)]&&t[i(732)])));const d=new Map(o[i(594)][t][i(689)][i(440)]),f=new Set(u[i(500)]());for(const t of d[i(500)]())f[i(447)](t);this[i(706)](e,f),this[i(675)](e),e=this[i(676)](e),e=this[i(755)](e),e=this[i(454)](e);const{root:m,changes:p}=this[i(698)](e,a,t);c[i(594)][t]=m;const v=l[i(604)](t);if(v){const e=a[i(604)](v[i(651)]),s=new Kt({author:e,type:v[i(751)]?i(455):i(525),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(740)](s),c[i(641)][t][i(620)]=s.id}c[i(733)]=c[i(733)][i(699)](p)}return c}[re(667)](t,e){const i=re;for(let s=0;s<t[i(734)];s++)for(const[n,r]of e)!r[i(700)]&&r[i(599)][i(490)](t[s][i(580)])&&t[s][i(518)][i(682)](n),r[i(492)][i(490)](t[s][i(591)])&&t[s][i(683)][i(682)](n)}[re(738)](t,e){const i=re;let s=[],n=0,r=0;for(;n<t[i(734)]||r<e[i(734)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(682)](o);else if(a[i(732)]&&o[i(703)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(495)](t,n,e,r);s=s[i(699)](o),n=a,r=c}else a[i(732)]?(r++,s[i(682)](a)):(n++,s[i(682)](o))}return s}[re(706)](t,e){const i=re,s=[];for(let o=0;o<t[i(734)];o++){for(let r=0;r<t[o][i(518)][i(734)];r++){const a=t[o][i(518)][r];if(!e[i(542)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(571)!=c||i(531)!=u&&i(480)!=u||(s[i(740)]({type:u,name:a,userId:l}),t[o][i(518)][i(742)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(683)][i(734)];r++){const a=t[o][i(683)][r];if(!e[i(542)](a))continue;const{group:c,type:u}=n(a);if(i(571)!=c||i(531)!=u&&i(480)!=u)continue;t[o][i(683)][i(742)](r,1),r--;const l=s[i(712)]((t=>t[i(433)]==a));l>-1&&s[i(742)](l,1)}}function n(t){const e=i,s=t[e(642)](":");return{group:s[0],type:s[1],subType:s[e(734)]>=5?s[2]:null,id:s[e(734)]<5?s[2]:s[3],authorId:s[e(734)]<5?s[3]:s[4],markerCount:6==s[e(734)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(734)];i++){if(t[e(703)]&&e(531)==s[i][e(726)]&&t[e(703)][e(651)]==s[i][e(651)])return t[e(558)]=s[i],void delete t[e(703)];if(!t[e(703)]&&!t[e(732)]&&e(480)==s[i][e(726)])return void(t[e(508)]=s[i])}}}[re(652)](t,e){const i=re;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(560)](o.id,s);for(let s=0;s<t[i(734)];s++){if(i(732)==e&&t[s][i(703)]||i(703)==e&&t[s][i(732)])continue;if(i(595)==t[s][i(726)]){t[s][i(665)]=0;continue}const n=r[i(604)](t[s][i(526)]),o=r[i(604)](t[s].id);t[s][i(665)]=n-o}}[re(569)](t,e,i=!1){const s=re,n=[];let r=this[s(438)][s(536)](t),o=this[s(438)][s(536)](e);for(-1==o&&(o=this[s(438)][s(600)][s(734)],i=!1);r<o;)n[s(682)](this[s(438)][s(621)](r)),r++;return i&&n[s(682)](this[s(438)][s(621)](r)),n}[re(495)](t,e,i,s){const n=re,r=this[n(527)][n(594)][n(609)];let o=e;for(;t[o]&&t[o][n(703)];)o++;let a=s;for(;i[a]&&i[a][n(732)];)a++;u(t,e,o),u(i,s,a);const c=i[n(654)](s,a)[n(699)](t[n(654)](e,o));return c[n(593)](((t,e)=>t[n(473)]!=e[n(473)]?t[n(473)]-e[n(473)]:t[n(524)]!=e[n(524)]?t[n(524)]-e[n(524)]:t[n(665)]!=e[n(665)]?e[n(665)]-t[n(665)]:!!t[n(703)]!=!!e[n(703)]?-1==t[n(473)]||0==t[n(473)]?t[n(703)]?-1:1:t[n(703)]?1:-1:t[n(720)]-e[n(720)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(483)],c=!0;for(let n=e;n<i;n++)if(r[s(510)](t[n][s(678)])||(c=!1),t[n][s(678)][s(695)]<e&&(o=n),t[n][s(678)][s(462)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(473)]=n<=o?-1:n<a?0:1,t[n][s(720)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(665)]?t[i][s(524)]=u:(u++,t[i][s(524)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(473)]&&(t[n][s(524)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(665)]?t[e][s(524)]=u:(u--,t[e][s(524)]=u,u--)}}[re(675)](t){const e=re,i=new Map,s=this[e(527)][e(594)][e(609)];for(let n=1;n<t[e(734)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(595)==c[e(726)])continue;if(c[e(726)]!=u[e(726)])continue;if(!s[e(496)](u[e(678)])||s[e(491)](u[e(678)]))continue;if(!s[e(496)](c[e(678)])||s[e(491)](c[e(678)]))continue;if((t[n][e(703)]||t[n][e(558)])&&t[n-1][e(732)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(732)]||!t[n-1][e(703)]&&!t[n-1][e(558)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(524)]==o[e(524)],h=Math[e(626)](r[e(524)])<Math[e(626)](o[e(524)])&&0==o[e(665)];(l||h)&&(i[e(560)](o.id,r.id),t[e(742)](a,1),n--,r[e(703)]=!1)}for(let s=0;s<t[e(734)];s++)i[e(542)](t[s][e(526)])&&(t[s][e(526)]=i[e(604)](t[s][e(526)]))}[re(676)](t){const e=re,i=new Set(t[e(721)]((t=>t.id)));for(let s=0;s<t[e(734)];s++)i[e(542)](t[s][e(526)])||0==t[s][e(665)]||(t[s][e(694)]=!0);return t[e(757)]((t=>!t[e(694)]))}[re(755)](t){const e=re,i=new Set;for(let s=0;s<t[e(734)];s++){if(i[e(542)](t[s].id)&&t[s][e(732)]&&(t[s][e(694)]=!0),t[s][e(694)])continue;if(0==t[s][e(665)])continue;if(e(630)!=t[s][e(726)])continue;if(null==t[s][e(526)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(526)];)e(630)==t[n][e(726)]?r++:e(659)==t[n][e(726)]&&r--,n++;if(0!=r)if(t[s][e(732)])t[s][e(694)]=!0;else for(;n!=s;)t[n][e(732)]&&0!=t[n][e(665)]&&(t[n][e(694)]=!0,i[e(455)](t[n][e(526)])),n--}return t[e(757)]((t=>!t[e(694)]))}[re(454)](t){const e=re,i=this[e(527)][e(594)][e(609)];for(let s=0;s<t[e(734)];s++){if(!(t[s][e(703)]||t[s][e(558)]||t[s][e(732)]||t[s][e(508)]))continue;if(0==t[s][e(665)])continue;const n=t[s][e(678)];i[e(496)](n)||i[e(491)](n)||(t[s][e(703)]&&delete t[s][e(703)],t[s][e(558)]&&delete t[s][e(558)],t[s][e(508)]&&delete t[s][e(508)],t[s][e(732)]&&(t[s][e(694)]=!0))}return t[e(757)]((t=>!t[e(694)]))}[re(698)](t,e,i){const s=re,n=new X.DocumentFragment,r=[],o=new Map,a=this[s(527)][s(594)],c=a[s(609)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(734)];e++)if(s(630)===t[e][s(726)]){t[e][s(580)]=a[s(666)](n,f);const i=new X.Element(t[e][s(678)][s(433)],t[e][s(678)][s(458)]());u[0][s(544)](i),f[s(682)](0),u[s(740)](i),t[e][s(591)]=a[s(666)](n,f)}else s(659)===t[e][s(726)]?(u[s(645)](),t[e][s(580)]=a[s(666)](n,f),f[s(507)](),f[f[s(734)]-1]++,t[e][s(591)]=a[s(666)](n,f)):(t[e][s(580)]=a[s(666)](n,f),d?d[s(758)]+=t[e][s(678)][s(746)]:d=new X.Text(t[e][s(678)][s(746)],t[e][s(678)][s(458)]()),t[e+1]&&s(595)===t[e+1][s(726)]&&v(d,t[e+1][s(678)])||(u[0][s(544)](d),d=null),f[f[s(734)]-1]+=t[e][s(678)][s(752)],t[e][s(591)]=a[s(666)](n,f));for(let e=0;e<t[s(734)];e++){const i=t[e][s(580)],n=t[e][s(591)];for(const n of t[e][s(518)])o[s(560)](n,{start:i,end:null});m(s(508),e,i,n),m(s(558),e,i,n),m(s(732),e,i,n),m(s(703),e,i,n);for(const i of t[e][s(683)]){const t=o[s(604)](i);t?t[s(492)]=n:o[s(560)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(527)][s(594)][s(679)](e[s(599)],e[s(492)]);n[s(440)][s(560)](t,i)}return r[s(593)](((t,e)=>{const i=s,r=n[i(440)][i(604)](i(469)+t.id),o=n[i(440)][i(604)](i(469)+e.id);return r[i(599)][i(735)](o[i(599)])?-1:r[i(599)][i(581)](o[i(599)])?1:r[i(492)][i(735)](o[i(492)])?-1:r[i(492)][i(581)](o[i(492)])?1:i(455)===t[i(726)]?-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(651)]:null,d=i===t[o(734)]-1,f=h[e][0],m=c[o(553)](t[i][o(678)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(492)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(651)]!==u&&(l[e][o(492)]=n,f&&f[o(651)]===l[e][o(651)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(630)!==t[i][o(726)]||f&&f[o(651)]===u||h[e][o(740)]({userId:u,object:t[i][o(678)],change:l[e]}),o(659)===t[i][o(726)]&&f&&f[o(707)]===t[i][o(678)]&&(h[e][o(645)](),l[e]=f[o(475)])),l[e]&&d&&(l[e][o(492)]=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(678)],f=a[h(609)][h(496)](d)&&!a[h(609)][h(491)](d),m=t[h(608)]==o[h(539)]&&o[h(464)];if(f&&m)return;const p=a[h(679)](t,o),v=e[h(604)](u),g=new Kt({author:v,type:h(703)==l||h(558)==l?h(455):h(525),data:{isSuggestion:h(558)==l||h(508)==l},createdAt:new Date,rootName:i});r[h(682)](g),n[h(440)][h(560)](h(469)+g.id,p)}function v(t,e){const i=s,n=t[i(458)](),r=e[i(458)]();for(const t of n){if(t[1]!==e[i(590)](t[0]))return!1;r[i(577)]()}return r[i(577)]()[i(648)]}}[re(688)](){const t=re;this[t(527)][t(520)][t(547)](t(614))[t(470)]({view:t(502)}),this[t(527)][t(520)][t(547)](t(512))[t(583)]({model:t(502),view:e=>{const i=t,s=e[i(511)][i(642)](":")[1],n=this[i(449)](s);if(!n)return null;const r=i(455)==n[i(726)]?i(531):i(480),o=[i(681),i(546)+r];return n[i(746)][i(638)]&&o[i(682)](i(546)+r+i(606)),this[i(602)]==n&&o[i(682)](i(439)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(527)][t(520)][t(547)](t(614))[t(455)]((e=>{const i=t;e.on(i(452),((t,e,s)=>{const n=i,r=e[n(579)][n(725)](0);if(!r||!r.is(n(557),n(668)))return;if(!s[n(486)][n(728)](r,{attributes:[n(501),n(519)]}))return;const o=e[n(605)][n(599)][n(608)];s[n(503)][n(677)](n(501),r[n(590)](n(501)),o),s[n(503)][n(677)](n(519),r[n(590)](n(519)),o)}),{priority:i(474)})})),this[t(527)][t(520)][t(547)](t(614))[t(455)]((e=>{const i=t;e.on(i(557),((t,e,s)=>{const n=i;if(!s[n(486)][n(728)](e[n(579)],{attributes:[n(501),n(519)]}))return;if(e[n(605)][n(700)])return;const r=e[n(605)][n(599)][n(608)];r[n(670)](n(501))||r[n(670)](n(575))||(s[n(503)][n(677)](n(501),e[n(579)][n(590)](n(501)),r),s[n(503)][n(677)](n(519),e[n(579)][n(590)](n(519)),r))}),{priority:i(474)})})),this[t(527)][t(520)][t(547)](t(614))[t(567)]({view:{name:t(744),attributes:{vid:!0}},model:{key:t(575),value:e=>e[t(590)](t(575))}}),this[t(527)][t(594)][t(609)].on(t(664),((e,[,i])=>{const s=t;[s(501),s(519),s(575)][s(685)](i)&&(e[s(565)]=!0,e[s(717)]())}),{priority:t(743)}),this[t(527)][t(520)][t(547)](t(598))[t(455)]((e=>{const i=t;e.on(i(460),((t,e,s)=>{const n=i;if(" "!=e[n(678)][n(746)]||e[n(678)][n(539)][n(461)]>1)return;if(!s[n(486)][n(728)](e[n(678)],t[n(433)]))return;const r=s[n(503)],o=s[n(446)][n(434)](e[n(611)]);r[n(711)](o,r[n(551)](n(744)))}))})),this[t(527)][t(520)][t(547)](t(598))[t(615)]({model:t(502)}),this[t(527)][t(760)][t(730)].on(t(628),function(e){const i=t,s=e[i(684)][i(604)](i(578));return(t,n,r)=>{const o=i,a=n[o(511)][o(642)](":")[1],c=s[o(449)](a);if(!c)return null;const u=o(455)==c[o(726)]?o(642):o(597);if(!r[o(486)][o(436)](n[o(498)],t[o(433)]))return;const l=n[o(498)][o(622)](),h=n[o(498)][o(599)],d=e[o(594)][o(609)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(678)];p=p||d[o(745)](e);const i=r[o(446)][o(549)](e);if(i&&i[o(627)](o(588)))return;o(659)==t[o(726)]&&d[o(496)](e)&&!d[o(491)](e)&&(e[o(574)]||h[o(570)]?f&&f[o(539)]==e||(f=e,g(t[o(580)]),v=!0):m=m||t[o(580)])}function g(t){const e=o,i=r[e(503)][e(442)](e(744),{class:e(546)+u}),a=r[e(446)][e(555)](t);c[e(746)][e(638)]&&r[e(503)][e(674)](e(546)+u+e(606),i),s[e(602)]==c&&r[e(503)][e(674)](e(439),i),r[e(503)][e(488)](a,i),r[e(446)][e(562)](i,n[e(511)])}p||v||!m||g(m)}}(this[t(527)]),{priority:t(749)}),this[t(527)][t(760)][t(730)].on(t(646),((e,i,s)=>{const n=t,r=s[n(446)][n(505)](i[n(511)]);if(r)for(const t of r)(t[n(517)](n(644))||t[n(517)](n(696)))&&(s[n(446)][n(587)](t,i[n(511)]),s[n(503)][n(525)](t))}),{priority:t(749)}),this[t(527)][t(760)][t(730)].on(t(628),((e,i,s)=>{const n=t,r=i[n(511)][n(642)](":")[1],o=this[n(449)](r);if(!o)return null;const a=n(455)==o[n(726)]?n(642):n(597);if(s[n(486)][n(436)](i[n(498)],e[n(433)]))for(const t of i[n(498)][n(687)]()){if(!t.is(n(557),n(692)))continue;const e=s[n(503)][n(442)](n(744),{class:n(546)+a}),r=s[n(446)][n(555)](this[n(527)][n(594)][n(718)](t));o[n(746)][n(638)]&&s[n(503)][n(674)](n(546)+a+n(606),e),this[n(602)]==o&&s[n(503)][n(674)](n(439),e),s[n(503)][n(488)](r,e),s[n(446)][n(562)](e,i[n(511)])}}),{priority:t(749)}),this[t(527)][t(594)][t(612)].on(t(475),(()=>{const e=t;this[e(527)][e(760)][e(714)][e(475)]((t=>{const i=e;for(const e of this[i(527)][i(594)][i(612)][i(572)]()){const s=this[i(527)][i(594)][i(612)][i(538)](e),n=this[i(527)][i(760)][i(714)][i(612)][i(538)](e);if(n){const e=s[i(590)](i(620));if(t[i(634)](i(643),n),t[i(528)](i(719),n),t[i(528)](i(467),n),t[i(528)](i(497),n),e){const s=this[i(449)](e);if(!s)return null;t[i(677)](i(643),e,n),t[i(674)](i(637)+s[i(726)],n),this[i(602)]==s&&t[i(674)](i(497),n)}}}}))})),this[t(527)][t(520)][t(547)](t(614))[t(470)]({view:t(756),model:e=>t(673)+e,converterPriority:t(743)}),this[t(527)][t(520)][t(547)](t(614))[t(470)]({view:t(690),model:e=>t(592)+e,converterPriority:t(743)}),this[t(527)][t(520)][t(547)](t(598))[t(615)]({model:t(571),view:e=>({name:t(729)+e,group:t(571)}),converterPriority:t(743)}),this[t(527)][t(520)][t(547)](t(512))[t(583)]({model:t(571),view:e=>{const i=t,s=e[i(511)][i(642)](":")[1];return i(531)!=s&&i(480)!=s?null:{classes:[i(563),i(639)+s]}}}),this[t(527)][t(760)][t(730)].on(t(466),ue(this[t(527)],t(597)),{priority:t(749)}),this[t(527)][t(760)][t(730)].on(t(629),ue(this[t(527)],t(642)),{priority:t(749)}),this[t(527)][t(760)][t(730)].on(t(748),((e,i,s)=>{const n=t,r=s[n(446)][n(505)](i[n(511)]);if(r)for(const t of r)t.is(n(541))&&(s[n(446)][n(587)](t,i[n(511)]),s[n(503)][n(525)](t))}),{priority:t(749)})}[re(449)](t){const e=re;return this[e(657)][e(604)](t)}[re(582)](t){const e=re;return this[e(532)]&&this[e(532)][e(513)](),this[e(532)]=new Yt(this[e(527)][e(623)],t),this[e(532)]}[re(465)](){const t=re;this[t(527)][t(594)][t(612)][t(617)][t(451)](t(502)),this.on(t(708),((e,i,s,n)=>{const r=t;n&&this[r(649)][r(525)](n),s&&(this[r(649)][r(455)]({view:s,stackId:r(463),position:{target:()=>{const t=r,e=this[t(527)][t(760)],i=this[t(449)](s[t(478)]);let n;if(i[t(746)][t(515)]){const s=e[t(714)][t(533)](i[t(559)]);n=Array[t(494)](s[t(701)]())}else{const i=this[t(527)][t(594)][t(440)][t(604)](t(469)+s[t(478)]);n=Array[t(494)](e[t(446)][t(505)](i[t(433)]))[t(721)]((i=>e[t(714)][t(543)][t(603)](i)))[t(721)]((e=>Array[t(494)](e[t(701)]())))[t(457)]()}return this[t(636)]&&n[t(662)]((e=>e[t(601)]-3<=this[t(636)].y&&e[t(669)]+3>=this[t(636)].y&&e[t(504)]-3<=this[t(636)].x&&e[t(658)]+3>=this[t(636)].x))||n[0]}}}),this[r(649)][r(607)](r(463)))})),this.on(t(693),((e,i,s,n)=>{const r=t;this[r(633)]=s?this[r(582)](s):null,this[r(527)][r(594)][r(475)]((()=>{const t=r,e=this[t(527)][t(760)];n&&(n[t(746)][t(515)]?e[t(714)][t(475)]((i=>{const s=t;i[s(528)](s(497),e[s(714)][s(612)][s(538)](n[s(559)]))})):e[t(444)](t(469)+n.id)),s&&(s[t(746)][t(515)]?e[t(714)][t(475)]((i=>{const n=t;i[n(674)](n(497),e[n(714)][n(612)][n(538)](s[n(559)]))})):e[t(444)](t(469)+s.id))}))})),this[t(523)](this[t(527)][t(760)][t(714)][t(612)],t(540),((e,i)=>{const s=t;if(this[s(602)])return;const n=this[s(656)](i[s(471)]),r=this[s(657)][s(604)](n);r?(this[s(636)]={x:i[s(663)].x,y:i[s(663)].y},this[s(633)]=this[s(582)](r)):(this[s(636)]=null,this[s(633)]=null)})),this[t(523)](this[t(527)][t(760)][t(714)][t(612)],t(443),((e,i)=>{const s=t,n=this[s(656)](i[s(471)]),r=this[s(657)][s(604)](n);r?(this[s(636)]={x:i[s(663)].x,y:i[s(663)].y},r===this[s(602)]?this[s(649)][s(616)]():this[s(602)]=r):(this[s(636)]=null,this[s(602)]=null)}))}[re(656)](t){const e=re;do{const i=t[e(590)](e(643));if(i)return i;t=t[e(539)]}while(t);return null}[re(722)](){const t=re;this[t(527)][t(594)][t(475)]((e=>{const i=t;for(const t of this[i(527)][i(594)][i(440)])e[i(635)](t)}))}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(486)][r(436)](s[r(498)],i[r(433)]))return;const o=s[r(498)][r(622)](),a=s[r(498)][r(599)],c=t[r(594)][r(609)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(678)];h=h||c[r(745)](e);const i=n[r(446)][r(549)](e);if(i&&i[r(627)](r(588)))return;r(659)==t[r(726)]&&c[r(496)](e)&&!c[r(491)](e)&&(e[r(574)]||a[r(570)]?u&&u[r(539)]==e||(u=e,f(t[r(580)]),d=!0):l=l||t[r(580)])}function f(t){const i=r,o=n[i(446)][i(555)](t),a=n[i(503)][i(442)](i(744),{class:i(639)+e});n[i(503)][i(488)](o,a),n[i(446)][i(562)](a,s[i(511)])}h||d||!l||f(l)}}class le extends J.Command{constructor(t){const e=re;super(t);const i=t[e(684)][e(604)](ce);this[e(514)]=!1,this[e(523)](i,e(661),(()=>this[e(499)]())),this[e(523)](i,e(564),(()=>this[e(499)]()))}[re(737)](){const t=re,e=this[t(527)],i=e[t(684)][t(604)](ce),s=i[t(747)]?i[t(476)][t(619)]:null;e[t(710)][t(604)](t(713))[t(477)](s)}[re(499)](){const t=re,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(527)][t(684)][t(604)](ce),r=n&&s[t(437)](n[t(619)]);this[t(554)]=e&&i&&Boolean(r)}}class he extends J.Command{[re(459)];constructor(t,{direction:e}){const i=re;super(t);const s=t[i(684)][i(604)](ce);this[i(514)]=!1,this[i(459)]=i(631)===e?1:-1,this[i(523)](s,i(661),(()=>this[i(499)]())),this[i(523)](s,i(564),(()=>this[i(499)]())),this[i(523)](s,i(693),(()=>this[i(499)]()))}[re(737)](){const e=re,i=this[e(527)],s=i[e(684)][e(604)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(602)]=n?s[e(476)][e(733)][e(604)](r+this[e(459)]):s[e(476)][e(733)][e(556)],s[e(602)][e(746)][e(515)])o=i[e(760)][e(714)][e(533)](s[e(602)][e(559)]);else{const t=i[e(594)][e(440)][e(604)](e(469)+s[e(602)].id);o=(0,G.getMarkerDomElement)(i[e(760)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(499)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(527)][t(684)][t(604)](ce);this[t(554)]=!!(r&&n&&s)&&(!e||(1===this[t(459)]?i<s-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=Rt(),fe.insert=Nt().bind(null,"head"),fe.domAPI=Tt(),fe.insertStyleElement=Vt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=ve();return(me=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=me,i=t();for(;;)try{if(685040===parseInt(e(508))/1*(-parseInt(e(473))/2)+-parseInt(e(482))/3*(parseInt(e(476))/4)+parseInt(e(493))/5+parseInt(e(502))/6*(parseInt(e(486))/7)+parseInt(e(481))/8+parseInt(e(472))/9+parseInt(e(487))/10*(parseInt(e(469))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class pe extends _t.View{constructor(t){const e=me;super(t);const i=this[e(477)],s=new _t.ButtonView(t),n=new _t.ButtonView(t);this[e(474)](e(470),!1),this[e(474)](e(499),!1),this[e(474)](e(491),0),this[e(474)](e(466),0),this[e(474)](e(498),!1),this[e(474)](e(484),!1),this[e(478)](e(479)).to(this,e(499),this,e(466),((t,e)=>t&&e>0)),this[e(478)](e(495)).to(this,e(499),this,e(491),this,e(466),this,e(470),((i,s,n,r)=>{const o=e;if(!i)return ot(t,o(490));if(!n)return ot(t,o(505));const a=ot(t,o(504),n);return r?ot(t,o(489),[s+1,n]):a})),s[e(474)]({label:ot(t,e(497)),tooltip:!0,icon:wt.IconChevronUp}),n[e(474)]({label:ot(t,e(480)),tooltip:!0,icon:wt.IconChevronDown}),s[e(478)](e(467)).to(this,e(484)),n[e(478)](e(467)).to(this,e(498)),s.on(e(501),(()=>this[e(500)](e(501),e(506)))),n.on(e(501),(()=>this[e(500)](e(501),e(509)))),this[e(468)]({tag:e(494),attributes:{class:["ck",e(485),e(496)]},children:[{tag:e(507),attributes:{class:[e(488)]},children:[{tag:e(507),attributes:{class:[e(475),i.if(e(479),e(471),(t=>!t))]},children:[{text:i.to(e(470),(i=>i?ot(t,e(483))+": ":ot(t,e(503))+": "))}]},{text:i.to(e(495))}]},new _t.ToolbarSeparatorView,{tag:e(494),attributes:{class:[e(492)]},children:[s,n]}]})}}function ve(){const t=["set","ck-revision-history-ui__changes-navigation__label","61636NHjhwl","bindTemplate","bind","_isStatusLabelVisible","Show next change","2149288mcacct","237MdslVz","EDIT_X_OF_Y_REVISIONS","isBackwardNavigationEnabled","ck-revision-history-ui","49wWlZXe","10bWzcnW","ck-revision-history-ui__changes-navigation__wrapper","X_OF_Y_CHANGES","Loading...","currentChangeNumber","ck-revision-history-ui__changes-navigation__navigation","1255275aCdfLd","div","_statusText","ck-revision-history-ui__changes-navigation","Show previous change","isForwardNavigationEnabled","isReady","fire","execute","349374BAUDyP","Total","NUMBER_OF_CHANGES","No changes","backward","span","2EvuMBF","forward","numberOfChanges","isEnabled","setTemplate","8915390KTDTPw","isNavigationMode","ck-hidden","8365410NlXbIb","764948YiWVFS"];return(ve=function(){return t})()}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=Rt(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Vt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=be;function be(t,e){const i=_e();return(be=function(t,e){return i[t-=232]})(t,e)}!function(t){const e=be,i=t();for(;;)try{if(484111===-parseInt(e(234))/1*(-parseInt(e(232))/2)+-parseInt(e(253))/3*(parseInt(e(237))/4)+parseInt(e(233))/5+parseInt(e(245))/6*(-parseInt(e(243))/7)+-parseInt(e(249))/8*(-parseInt(e(255))/9)+parseInt(e(248))/10+-parseInt(e(250))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const we=ke(240);function _e(){const t=["show","85718rqkfxw","3002445pnWVux","19BqxZro","editor","isOfficialPlugin","292NUgNnl","isPremiumPlugin","document","ck-editor__editable__loading-overlay","pluginName","addClass","133PpqPPz","removeClass","13242IYtvYR","hide","change","2782000dDkcWd","388552YXqFUw","19135028xuojJr","editing","view","10401IzFeah","RevisionViewerLoadingOverlay","153LGlSXl","roots"];return(_e=function(){return t})()}class Ie extends J.Plugin{static get[ke(241)](){return ke(254)}static get[ke(236)](){return!0}static get[ke(238)](){return!0}[ke(257)](){const t=ke,e=this[t(235)][t(251)][t(252)];e[t(247)]((i=>{const s=t;for(const t of e[s(239)][s(256)])i[s(242)](we,t)}))}[ke(246)](){const t=ke,e=this[t(235)][t(251)][t(252)];e[t(247)]((i=>{const s=t;for(const t of e[s(239)][s(256)])i[s(244)](we,t)}))}}function Se(){const t=["6196134oDuHsE","show","revisionHistory","isOfficialPlugin","numberOfChanges","change:isReady","commands","bind","currentChangeNumber","832326OPzFpy","restoreRevision","init","forward","1605402bbOBdk","listenTo","isBackwardNavigationEnabled","isForwardNavigationEnabled","add","get","hide","plugins","isEnabled","Back to editing","8BWOaxm","editor","isNavigationMode","closeRevisionViewerCallback","4660JoeyGb","exitToEditing","33803FgsdAJ","3957384LMSjoG","execute","showPreviousChange","Restore this revision","85FAnSdQ","78MVOoCh","pluginName","297006cGHHAf","isPremiumPlugin","config","isReady","RevisionViewerUI","14038EgeKZC","set","componentFactory","requires","changesNavigation","ck-revision-history-ui__back-to-editing","showNextChange"];return(Se=function(){return t})()}const Oe=Te;function Te(t,e){const i=Se();return(Te=function(t,e){return i[t-=423]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(498513===parseInt(e(435))/1+parseInt(e(468))/2*(parseInt(e(461))/3)+-parseInt(e(456))/4+-parseInt(e(460))/5*(-parseInt(e(463))/6)+parseInt(e(426))/7+parseInt(e(449))/8*(parseInt(e(439))/9)+-parseInt(e(453))/10*(parseInt(e(455))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class xe extends J.Plugin{static get[Oe(462)](){return Oe(467)}static get[Oe(429)](){return!0}static get[Oe(464)](){return!0}static get[Oe(471)](){return[ce,Ie]}[Oe(437)](){const t=Oe,e=this[t(450)],i=e[t(446)][t(444)](ce),s=e[t(446)][t(444)](Ie);e.ui[t(470)][t(443)](t(454),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(469)]({label:ot(i,s(448)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:s(424)}),this[s(440)](n,s(457),(()=>{const t=s;e[t(465)][t(444)](t(428))[t(452)]()})),n})),e.ui[t(470)][t(443)](t(436),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(469)]({label:ot(i,s(459)),withText:!0,tooltip:!0}),n[s(433)](s(447)).to(e[s(432)][s(444)](s(436))),this[s(440)](n,s(457),(()=>e[s(457)](s(436)))),n})),e.ui[t(470)][t(443)](t(423),(s=>{const n=t,r=new pe(s),o=e[n(432)][n(444)](n(458)),a=e[n(432)][n(444)](n(425));return r[n(433)](n(441)).to(o,n(447)),r[n(433)](n(442)).to(a,n(447)),r[n(433)](n(466),n(434),n(430),n(451)).to(i),this[n(440)](r,n(457),((t,i)=>{const s=n;e[s(457)](s(438)===i?s(425):s(458))})),r})),s[t(427)](),i.on(t(431),((e,i,n)=>{const r=t;n?s[r(445)]():s[r(427)]()}))}}var Ne=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Rt(),Ae.insert=Nt().bind(null,"head"),Ae.domAPI=Tt(),Ae.insertStyleElement=Vt();St()(Ne.A,Ae);Ne.A&&Ne.A.locals&&Ne.A.locals;const Re=Ve;function Me(){const t=["element","2181968ZDwqAl","_tooltipString","6136053coWKCx","ck-tooltip_multi-line","input","19856zmPCgO","value","fieldView","set","clientWidth","span","ck-revision-history-sidebar__revision-name","placeholder","Enter the revision name","Revision name","10jYCxya","extendTemplate","2032275SLfHgQ","destroy","14598qaMGSL","scrollWidth","1401326IULtYk","bindTemplate","_resizeObserver","listenTo","_updateTooltipText","render","2705980ChIsOM","5664150nHuSSb"];return(Me=function(){return t})()}function Ve(t,e){const i=Me();return(Ve=function(t,e){return i[t-=485]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(925375===-parseInt(e(512))/1+-parseInt(e(488))/2+parseInt(e(508))/3+parseInt(e(491))/4*(-parseInt(e(506))/5)+parseInt(e(489))/6+-parseInt(e(493))/7+parseInt(e(496))/8*(parseInt(e(510))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);class De extends _t.LabeledFieldView{[Re(514)]=null;constructor(t,e){const i=Re;super(t,e);const s=this[i(513)];this[i(499)]({label:ot(t,i(505)),_tooltipString:""}),this[i(498)][i(503)]=ot(t,i(504)),this[i(507)]({tag:i(501),attributes:{class:[i(502)],"data-cke-tooltip-text":s.to(i(492)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(494)}})}[Re(487)](){const e=Re;super[e(487)](),this[e(514)]=new t.ResizeObserver(this[e(498)][e(490)],(()=>this[e(486)]())),this[e(485)](this[e(498)],e(495),(()=>this[e(486)]()))}[Re(509)](){const t=Re;super[t(509)](),this[t(514)]&&this[t(514)][t(509)]()}[Re(486)](){const t=Re,e=this[t(498)][t(490)];this[t(492)]=e[t(511)]>e[t(500)]&&e[t(497)]||""}}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Rt(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Vt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=188]})(t,e)}function je(){const t=["name","Revision creator","ck-revision-history-sidebar__revision-author_creator","5605030joqnSC","setTemplate","5452656orTHWl","417763lYNGph","133qHImyT","2552590LphTAE","172554hFFwoG","span","ck-revision-history-sidebar__revision-author","9pTsVhh","0 0 11 10","ck-revision-history-sidebar__revision-author__name","push","2813784hVEcmv","Revision author","2iCmsBn","set","3671272MeUHqf"];return(je=function(){return t})()}!function(t){const e=Fe,i=t();for(;;)try{if(523049===-parseInt(e(193))/1*(-parseInt(e(205))/2)+parseInt(e(203))/3+-parseInt(e(207))/4+parseInt(e(195))/5+parseInt(e(196))/6*(-parseInt(e(194))/7)+parseInt(e(192))/8+-parseInt(e(199))/9*(parseInt(e(190))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends _t.View{constructor(t,e,i){const s=Fe;super(t);const n=new _t.IconView;n[s(206)]({content:wt.IconUser,viewBox:s(200)});const r=["ck",s(198)];i&&r[s(202)](s(189));const o=[{tag:s(197),attributes:{class:["ck",s(201)],title:ot(t,s(i?188:204))},children:[n,e[s(208)]]}];this[s(191)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=ze();return(Pe=function(t,e){return i[t-=289]})(t,e)}function ze(){var t=["3dcOcxr","numeric","18064jwuwad","toLocaleTimeString","308LRyfSY","693130ClCIqJ","8282aDwVKE","17856VqelwU","3132980SBOeLR","1383525EXynIB","846BCXUMp","long","817604uzTGyk","toLocaleDateString","73oIyXOw"];return(ze=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(196407===parseInt(e(303))/1*(-parseInt(e(295))/2)+parseInt(e(289))/3*(parseInt(e(301))/4)+parseInt(e(294))/5+-parseInt(e(296))/6*(-parseInt(e(293))/7)+-parseInt(e(291))/8*(-parseInt(e(299))/9)+-parseInt(e(297))/10+parseInt(e(298))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var He=i(11),We={attributes:{"data-cke":!0}};We.setAttributes=Rt(),We.insert=Nt().bind(null,"head"),We.domAPI=Tt(),We.insertStyleElement=Vt();St()(He.A,We);He.A&&He.A.locals&&He.A.locals;function Ue(){const t=["1028520KJNzGS","bind","ck-revision-history-sidebar__revision__actions","366cwmpTU","add","function","name","bindTemplate","change:isActionsDropdownOpen","114ZyGQaH","listenTo","find","197304kGVjnt","2888382LRycQE","locale","panelPosition","Restore this revision","extendTemplate","items","menu","stopPropagation","13046vRKcOn","isReady","map","listView","Show more items","ck-on","Name this revision","execute","Compare against selected","children","source","isEnabled","class","_action","buttonView","130505ToomjB","isActionsDropdownOpen","button","3974152XdjFyT","isOpen","693909VwNkgy","model","menuitem","isVisible","first","220wOBKLm","set","action"];return(Ue=function(){return t})()}function Ze(t,e){const i=Ue();return(Ze=function(t,e){return i[t-=163]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(548466===-parseInt(e(172))/1+-parseInt(e(181))/2*(parseInt(e(163))/3)+parseInt(e(209))/4+-parseInt(e(196))/5*(parseInt(e(169))/6)+-parseInt(e(173))/7+parseInt(e(199))/8+-parseInt(e(201))/9*(-parseInt(e(206))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=Rt(),$e.insert=Nt().bind(null,"head"),$e.domAPI=Tt(),$e.insertStyleElement=Vt();St()(qe.A,$e);qe.A&&qe.A.locals&&qe.A.locals;const Be=Ye;function Ye(t,e){const i=Je();return(Ye=function(t,e){return i[t-=113]})(t,e)}function Je(){const t=["134424xlUDsK","filter","srcElement","map","highlight","extendTemplate","52540PDJXyb","deselect","from","listenTo","bindTemplate","ck-revision-history-sidebar__actions_dropdown_open","3451224Bctzxp","element","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","span","fire","310wqnIOy","setTemplate","3297568JrSUVE","isConfirm","render","_requireRevisionName","isActionsDropdownOpen","ck-revision-history-sidebar__revision","change","ck-revision-history-sidebar__revision-authors","uiLanguage","name","1381428BPffeI","fieldView","createdAt","ck-reset","select","creator","div","ck-revision-history-sidebar__revision_selected","closest","length","ck-revision-history-sidebar__revision__date","set","220","setName","revisionNameView","ck-revision-history-sidebar__revision-wrapper","revisionActionsView","ck-disabled","authors","isReady","2gRulZE","108kwTCZK","_createdAtFormatted","76795MmTpMk","unhighlight","bind","_revision",".ck-thread__remove-confirm","isHighlighted","isEnabled","488349RImrZF","value","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","unshift","ck-revision-history-sidebar__revision_highlighted"];return(Je=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(307968===-parseInt(e(137))/1*(parseInt(e(158))/2)+parseInt(e(147))/3+-parseInt(e(138))/4*(parseInt(e(140))/5)+parseInt(e(117))/6+-parseInt(e(164))/7+parseInt(e(172))/8+parseInt(e(152))/9*(parseInt(e(170))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(131)];[Be(133)];[Be(143)];[Be(175)];constructor(e,i,s,n){const r=Be;super(e);const o=this[r(162)],a=function(t,e){const i=r,s=Array[i(160)](e[i(135)])[i(153)]((t=>t!=e[i(122)]));return e[i(122)]&&s[i(150)](e[i(122)]),s[i(155)]((s=>new Le(t,s,s==e[i(122)])))}(e,i);this.id=i.id,this[r(143)]=i,this[r(175)]=n,this[r(142)](r(116),r(119)).to(i),this[r(142)](r(139)).to(this,r(119),(t=>{return i=e[r(115)],(s=t)[(n=Pe)(302)](i,{month:n(300),day:n(290)})+", "+s[n(292)](i,{hour:n(290),minute:n(290)});var i,s,n})),this[r(128)](r(166),!1),this[r(128)](r(145),!1),this[r(128)](r(176),!1),this[r(128)](r(136),!1),this[r(128)](r(146),!1),this[r(131)]=new De(e,_t.createLabeledInputText),this[r(131)][r(118)][r(157)]({attributes:{maxlength:r(129)}}),this[r(131)][r(118)][r(142)](r(148)).to(this,r(116),(t=>t||this[r(139)])),this[r(131)][r(142)](r(146)).to(this,r(166),this,r(146),((t,e)=>t&&e)),this[r(133)]=s&&s[r(126)]?function(e,i){const s=Ze,n=e[s(167)],r=e[s(174)],o=(0,_t.createDropdown)(r);o[s(175)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(174)],n={"Compare against selected":ot(s,i(189)),"Name this revision":ot(s,i(187)),"Restore this revision":ot(s,i(176))};return e[i(183)]((t=>{const e=i,s=n[t[e(166)]];return s&&s!==t[e(166)]&&(t[e(166)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(198),model:new _t.UIModel({label:t[n(166)],class:t[n(193)],withText:!0,role:n(203),_action:t[n(208)]})};i[n(202)][n(210)](n(192)).to(e,n(197),(i=>n(165)!=typeof t[n(192)]||!i||t[n(192)](e))),o[n(164)](i)}return o}(e,i);return e[s(210)](s(197)).to(o,s(200)),o[s(195)][s(207)]({label:ot(r,s(185)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[s(177)]({attributes:{class:[s(211),n.if(s(197),s(186))]},on:{click:n.to((t=>t[s(180)]()))}}),o.on(s(188),(t=>{const i=s;e[i(182)]&&i(165)==typeof t[i(191)][i(194)]&&t[i(191)][i(194)](e)})),(0,_t.addListToDropdown)(o,a,{role:s(179)}),o[s(170)](e,s(168),((t,n,r)=>{const a=s;if(r)for(const t of o[a(184)][a(178)]){const s=t[a(190)][a(205)],n=i[a(171)]((t=>t[a(208)]===s[a(194)]))[a(204)];t[a(204)]=void 0===n||n(e)}})),o}(this,s):"",this[r(133)]&&this[r(133)][r(142)](r(146)).to(this),this[r(171)]({tag:r(123),attributes:{class:["ck",r(120),r(132),o.if(r(173),r(149))]},children:[{tag:r(123),attributes:{class:["ck",r(120),r(177),o.if(r(146),r(134),(t=>!t)),o.if(r(166),r(124)),o.if(r(145),r(151)),o.if(r(176),r(163))]},children:[this[r(131)],{tag:r(168),attributes:{class:["ck",r(127)]},children:[{text:o.to(r(139))}]},{tag:r(123),attributes:{class:["ck",r(167)]},children:[{tag:"ul",attributes:{class:["ck",r(114)]},children:a}]},this[r(133)]],on:{click:o.to((t=>{const e=r;t[e(154)][e(125)](e(144))||this[e(136)]&&this[e(146)]&&this[e(169)](e(121),{id:this.id})}))}}]})}[Be(174)](){const t=Be;super[t(174)]();const e=this[t(131)][t(118)][t(165)];this[t(161)](e,t(113),(()=>{const i=t;this[i(175)]&&!e[i(148)]||this[i(169)](i(130),{id:this.id,name:e[i(148)]}),e[i(148)]||(e[i(148)]=this[i(116)]?this[i(116)]:this[i(139)])}))}[Be(121)](){this[Be(166)]=!0}[Be(159)](){this[Be(166)]=!1}[Be(156)](){this[Be(145)]=!0}[Be(141)](){this[Be(145)]=!1}}class Xe extends Error{}class Ke extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Xe{}class ii extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ni extends Xe{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ai={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ri{get type(){throw new ni}get name(){throw new ni}get ianaName(){return this.name}get isUniversal(){throw new ni}offsetName(t,e){throw new ni}formatOffset(t,e){throw new ni}offset(t){throw new ni}equals(t){throw new ni}get isValid(){throw new ni}}let Mi=null;class Vi extends Ri{static get instance(){return null===Mi&&(Mi=new Vi),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(t,e,i)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ei={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ri{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Di.clear()}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=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(t,e,i,this.name)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=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=Ei[e];"era"===e?s[r]=n:Ms(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"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Li=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let s=Li.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Li.set(i,s)),s}const zi=new Map;const Hi=new Map;let Wi=null;const Ui=new Map;function Zi(t){let e=Ui.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Ui.set(t,e)),e}const qi=new Map;function $i(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Bi{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=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):Zs(t,3),this.padTo)}}class Yi{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&&Fi.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=Pi(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 Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Es()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Hi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Hi.set(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 Gi={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ps.defaultLocale,o=r||(n?"en-US":Wi||(Wi=(new Intl.DateTimeFormat).resolvedOptions().locale,Wi)),a=e||ps.defaultNumberingSystem,c=i||ps.defaultOutputCalendar,u=Ls(s)||ps.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Wi=null,Li.clear(),zi.clear(),Hi.clear(),Ui.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.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=Pi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Pi(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"===Zi(t.locale).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?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ls(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 $i(this,t,cn,(()=>{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=ho.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 $i(this,t,dn,(()=>{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=ho.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return $i(this,void 0,(()=>fn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return $i(this,t,gn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.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 Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=ji[i];return s||(s=new Intl.ListFormat(t,e),ji[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Zi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Cs()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Gi,...e}),qi.set(t,e)}return e}(this.locale):Gi}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 Ki=null;class Qi extends Ri{static get utcInstance(){return null===Ki&&(Ki=new Qi(0)),Ki}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(Qs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${sn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${sn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return sn(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 ts extends Ri{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 es(t,e){if(Ms(t)||null===t)return e;if(t instanceof Ri)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Vs(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new ts(t)}const is={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ss={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]},ns=is.hanidec.replace(/[\[|\]]/g,"").split("");const rs=new Map;function os({numberingSystem:t},e=""){const i=t||"latn";let s=rs.get(i);void 0===s&&(s=new Map,rs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${is[i]}${e}`),s.set(e,n)),n}let as,cs=()=>Date.now(),us="system",ls=null,hs=null,ds=null,fs=60,ms=null;class ps{static get now(){return cs}static set now(t){cs=t}static set defaultZone(t){us=t}static get defaultZone(){return es(us,Vi.instance)}static get defaultLocale(){return ls}static set defaultLocale(t){ls=t}static get defaultNumberingSystem(){return hs}static set defaultNumberingSystem(t){hs=t}static get defaultOutputCalendar(){return ds}static set defaultOutputCalendar(t){ds=t}static get defaultWeekSettings(){return ms}static set defaultWeekSettings(t){ms=Ls(t)}static get twoDigitCutoffYear(){return fs}static set twoDigitCutoffYear(t){fs=t%100}static get throwOnInvalid(){return as}static set throwOnInvalid(t){as=t}static resetCaches(){Xi.resetCache(),Fi.resetCache(),ho.resetCache(),rs.clear()}}class vs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gs=[0,31,59,90,120,151,181,212,243,273,304,334],ys=[0,31,60,91,121,152,182,213,244,274,305,335];function ks(t,e){return new vs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function bs(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 ws(t,e,i){return i+(qs(t)?ys:gs)[e-1]}function _s(t,e){const i=qs(t)?ys:gs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function Is(t,e){return(t-e+7)%7+1}function Ss(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ws(s,n,r),a=Is(bs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Gs(c,e,i)):u>Gs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...nn(t)}}function Os(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Is(bs(s,1,e),i),a=$s(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=$s(c)):u>a?(c=s+1,u-=$s(s)):c=s;const{month:l,day:h}=_s(c,u);return{year:c,month:l,day:h,...nn(t)}}function Ts(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ws(e,i,s),...nn(t)}}function xs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=_s(e,i);return{year:e,month:s,day:n,...nn(t)}}function Ns(t,e){if(!Ms(t.localWeekday)||!Ms(t.localWeekNumber)||!Ms(t.localWeekYear)){if(!Ms(t.weekday)||!Ms(t.weekNumber)||!Ms(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Ms(t.localWeekday)||(t.weekday=t.localWeekday),Ms(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ms(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 As(t){const e=Ds(t.year),i=Ps(t.month,1,12),s=Ps(t.day,1,Bs(t.year,t.month));return e?i?!s&&ks("day",t.day):ks("month",t.month):ks("year",t.year)}function Rs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ps(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ps(i,0,59),a=Ps(s,0,59),c=Ps(n,0,999);return r?o?a?!c&&ks("millisecond",n):ks("second",s):ks("minute",i):ks("hour",e)}function Ms(t){return void 0===t}function Vs(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Es(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(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 js(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Ps(t.firstDay,1,7)||!Ps(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Ps(t,1,7))))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ps(t,e,i){return Ds(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hs(t){return Ms(t)||null===t||""===t?void 0:parseInt(t,10)}function Ws(t){return Ms(t)||null===t||""===t?void 0:parseFloat(t)}function Us(t){if(!Ms(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Zs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function $s(t){return qs(t)?366:365}function Bs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(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 Js(t,e,i){return-Is(bs(t,1,e),i)+e-1}function Gs(t,e=4,i=1){const s=Js(t,e,i),n=Js(t+1,e,i);return($s(t)-s+n)/7}function Xs(t){return t>99?t:t>ps.twoDigitCutoffYear?1900+t:2e3+t}function Ks(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 Qs(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 tn(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function en(t,e){const i={};for(const s in t)if(js(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=tn(n)}return i}function sn(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}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function nn(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rn=["January","February","March","April","May","June","July","August","September","October","November","December"],on=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],an=["J","F","M","A","M","J","J","A","S","O","N","D"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];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 un=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ln=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hn=["M","T","W","T","F","S","S"];function dn(t){switch(t){case"narrow":return[...hn];case"short":return[...ln];case"long":return[...un];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fn=["AM","PM"],mn=["Before Christ","Anno Domini"],pn=["BC","AD"],vn=["B","A"];function gn(t){switch(t){case"narrow":return[...vn];case"short":return[...pn];case"long":return[...mn];default:return null}}function yn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const kn={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:Ti,ffff:Ni,F:_i,FF:Si,FFF:xi,FFFF:Ai};class bn{static create(t,e={}){return new bn(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 kn[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 zs(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 fn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return cn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return dn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return yn(bn.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=bn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return yn(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 wn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _n(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function In(...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 Sn(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 On(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Hs(e[i+n]);return[s,null,i+n]}}const Tn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${xn.source}${`(?:${Tn.source}?(?:\\[(${wn.source})\\])?)?`}`),An=RegExp(`(?:T${Nn.source})?`),Rn=On("weekYear","weekNumber","weekDay"),Mn=On("year","ordinal"),Vn=RegExp(`${xn.source} ?(?:${Tn.source}|(${wn.source}))?`),Dn=RegExp(`(?: ${Vn.source})?`);function En(t,e,i){const s=t[e];return Ms(s)?i:Hs(s)}function Cn(t,e){return[{hours:En(t,e,0),minutes:En(t,e+1,0),seconds:En(t,e+2,0),milliseconds:Us(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=Qs(t[e+1],t[e+2]);return[{},i?null:Qi.instance(s),e+3]}function jn(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Ln=RegExp(`^T?${xn.source}$`),Pn=/^-?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 zn(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(Ws(i)),months:d(Ws(s)),weeks:d(Ws(n)),days:d(Ws(r)),hours:d(Ws(o)),minutes:d(Ws(a)),seconds:d(Ws(c),"-0"===c),milliseconds:d(Us(u),h)}]}const Hn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Hs(e)):Hs(e),month:on.indexOf(i)+1,day:Hs(s),hour:Hs(n),minute:Hs(r)};return o&&(a.second=Hs(o)),t&&(a.weekday=t.length>3?un.indexOf(t)+1:ln.indexOf(t)+1),a}const Un=/^(?:(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 Zn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Wn(e,n,s,i,r,o,a);let f;return f=c?Hn[c]:u?0:Qs(l,h),[d,new Qi(f)]}const qn=/^(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$/,$n=/^(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$/,Bn=/^(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 Yn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,n,s,i,r,o,a),Qi.utcInstance]}function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,a,i,s,n,r,o),Qi.utcInstance]}const Gn=_n(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,An),Xn=_n(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Kn=_n(/(\d{4})-?(\d{3})/,An),Qn=_n(Nn),tr=In((function(t,e){return[{year:En(t,e),month:En(t,e+1,1),day:En(t,e+2,1)},null,e+3]}),Cn,Fn,jn),er=In(Rn,Cn,Fn,jn),ir=In(Mn,Cn,Fn,jn),sr=In(Cn,Fn,jn);const nr=In(Cn);const rr=_n(/(\d{4})-(\d\d)-(\d\d)/,Dn),or=_n(Vn),ar=In(Cn,Fn,jn);const cr="Invalid Duration",ur={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}},lr={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},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,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:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(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 kr(s)}function gr(t,e){let i=e.milliseconds??0;for(const s of pr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((s,n)=>{if(Ms(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),mr.reduce(((i,s)=>{if(Ms(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:en(t,kr.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vs(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Sn(t,[Pn,zn])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Sn(t,[Ln,nr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new ti(i);return new kr({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 ii(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?bn.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Ms(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+=Zs(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 ho.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?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(js(e.values,t)||js(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.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]=tn(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...en(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return vr(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 yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(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=>kr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of mr)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;Vs(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vs(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 yr(this.matrix,e),vr(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 vr(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 mr)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 br="Invalid Interval";class wr{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 si("need to specify a reason the Interval is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),s=fo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.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:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,s);return null==n?new wr({start:i,end:s}):n}static after(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.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=ho.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=ho.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return wr.fromDateTimes(t,r);if(n){const i=kr.fromISO(s,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).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(wr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=kr.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(wr.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:wr.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 wr.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(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(s)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[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=ci,e={}){return this.isValid?bn.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=ps.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return es(t,ps.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Es(),localeWeek:Cs()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(kr.fromMillis(s).as("days"))}function Sr(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=Ir(t,e);return(i-i%7)/7}],["days",Ir]],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=kr.fromObject(r,s);return u.length>0?kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function Or(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(is.hanidec))e+=ns.indexOf(t[i]);else for(const t in ss){const[i,n]=ss[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,xr=new RegExp(Tr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(xr,Tr)}function Ar(t){return t.replace(/\./g,"").replace(xr," ").toLowerCase()}function Rr(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Ar(i)===Ar(t)))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>Qs(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={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 Er=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Lr(bn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=os(e),s=os(e,"{2}"),n=os(e,"{3}"),r=os(e,"{4}"),o=os(e,"{6}"),a=os(e,"{1,2}"),c=os(e,"{1,3}"),u=os(e,"{1,6}"),l=os(e,"{1,9}"),h=os(e,"{2,4}"),d=os(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 Rr(e.eras("short"),0);case"GG":return Rr(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Xs);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(s);case"MMM":return Rr(e.months("short",!0),1);case"MMMM":return Rr(e.months("long",!0),1);case"LLL":return Rr(e.months("short",!1),1);case"LLLL":return Rr(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(n);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Rr(e.meridiems(),0);case"EEE":return Rr(e.weekdays("short",!1),1);case"EEEE":return Rr(e.weekdays("long",!1),1);case"ccc":return Rr(e.weekdays("short",!0),1);case"cccc":return Rr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\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(js(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;Ms(t.z)||(i=Fi.create(t.z)),Ms(t.Z)||(i||(i=new Qi(t.Z)),e=t.Z),Ms(t.q)||(t.M=3*(t.q-1)+1),Ms(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),Ms(t.u)||(t.S=Us(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(js(i,"a")&&js(i,"H"))throw new ei("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 jr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=bn.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Pr="Invalid DateTime",zr=864e13;function Hr(t){return new vs("unsupported zone",`the zone "${t.name}" is not supported`)}function Wr(t){return null===t.weekData&&(t.weekData=Ss(t.c)),t.weekData}function Ur(t){return null===t.localWeekData&&(t.localWeekData=Ss(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Zr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function qr(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 $r(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 Br(t,e,i){return qr(Ys(t),e,i)}function Yr(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,Bs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.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=Ys(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(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=ho.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return ho.invalid(new vs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Gr(t,e,i=!0){return t.isValid?bn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Kr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],no=["year","ordinal","hour","minute","second","millisecond"];function ro(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 ii(t);return e}(t)}}function oo(t,e){const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Hr(i));const s=Xi.fromObject(e);let n,r;if(Ms(t.year))n=ps.now();else{for(const e of io)Ms(t[e])&&(t[e]=Qr[e]);const e=As(t)||Rs(t);if(e)return ho.invalid(e);const s=function(t){if(void 0===uo&&(uo=ps.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[n,r]=Br(t,s,i)}return new ho({ts:n,zone:i,loc:s,o:r})}function ao(t,e,i){const s=!!Ms(i.round)||i.round,n=(t,n)=>{t=Zs(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 co(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 uo;const lo=new Map;class ho{constructor(t){const e=t.zone||ps.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new vs("invalid input"):null)||(e.isValid?null:Hr(e));this.ts=Ms(t.ts)?ps.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=Vs(t.o)&&!t.old?t.o:e.offset(this.ts);s=$r(this.ts,r),i=Number.isNaN(s.year)?new vs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({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 ho.invalid("invalid input");const n=es(e.zone,ps.defaultZone);return n.isValid?new ho({ts:i,zone:n,loc:Xi.fromObject(e)}):ho.invalid(Hr(n))}static fromMillis(t,e={}){if(Vs(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:es(e.zone,ps.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vs(t))return new ho({ts:1e3*t,zone:es(e.zone,ps.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Hr(i));const s=Xi.fromObject(e),n=en(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Ns(n,s),a=ps.now(),c=Ms(e.specificOffset)?i.offset(a):e.specificOffset,u=!Ms(n.ordinal),l=!Ms(n.year),h=!Ms(n.month)||!Ms(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=$r(a,c);m?(p=so,v=to,g=Ss(g,r,o)):u?(p=no,v=eo,g=Ts(g)):(p=io,v=Qr);let y=!1;for(const t of p){Ms(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=Ps(t.weekNumber,1,Gs(t.weekYear,e,i)),r=Ps(t.weekday,1,7);return s?n?!r&&ks("weekday",t.weekday):ks("week",t.weekNumber):ks("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=Ps(t.ordinal,1,$s(t.year));return e?!i&&ks("ordinal",t.ordinal):ks("year",t.year)}(n):As(n),b=k||Rs(n);if(b)return ho.invalid(b);const w=m?Os(n,r,o):u?xs(n):n,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Sn(t,[Gn,tr],[Xn,er],[Kn,ir],[Qn,sr])}(t);return Jr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Sn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Un,Zn])}(t);return Jr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Sn(t,[qn,Yn],[$n,Yn],[Bn,Jn])}(t);return Jr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=jr(t,e,i);return[s,n,r,o]}(r,t,e);return u?ho.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Sn(t,[rr,tr],[or,ar])}(t);return Jr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Ke(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Xi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bn.parseFormat(t),Xi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.clear()}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?Wr(this).weekYear:NaN}get weekNumber(){return this.isValid?Wr(this).weekNumber:NaN}get weekday(){return this.isValid?Wr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ur(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ur(this).weekYear:NaN}get ordinal(){return this.isValid?Ts(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.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=Ys(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=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Zr(this,{ts:a}),Zr(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Bs(this.year,this.month)}get daysInYear(){return this.isValid?$s(this.year):NaN}get weeksInWeekYear(){return this.isValid?Gs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Gs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=bn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(ps.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=es(t,ps.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]=Br(i,e,t)}return Zr(this,{ts:s,zone:t})}return ho.invalid(Hr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Zr(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=en(t,ro),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(e,this.loc),n=!Ms(e.weekYear)||!Ms(e.weekNumber)||!Ms(e.weekday),r=!Ms(e.ordinal),o=!Ms(e.year),a=!Ms(e.month)||!Ms(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;n?l=Os({...Ss(this.c,i,s),...e},i,s):Ms(e.ordinal)?(l={...this.toObject(),...e},Ms(e.day)&&(l.day=Math.min(Bs(l.year,l.month),l.day))):l=xs({...Ts(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Zr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=kr.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?bn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bn.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bn.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=Xr(this,r);return o+="T",o+=Kr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Gr(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":"")+Kr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(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")),Gr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[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 kr.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(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.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||ho.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),ao(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new si("min requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new si("max requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return jr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`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?ho.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return xi}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Vs(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(){const t=["toJSDate","13129060YriVDH","monthLong","weekdayLong","30umTCtN","local","fromJSDate","1080064GLqCeX","toRelativeCalendar","1280741WCZWwh","startOf","2093695aGxemV","minus","day","week","year","4LjVlxl","2416vYtkFw","1018383Mpmxrz","8739ZeSGAq","1564005xLhQKJ","month","setLocale","hasSame"];return(mo=function(){return t})()}function po(t,e){const i=mo();return(po=function(t,e){return i[t-=184]})(t,e)}function vo(t,e){const i=po,s=ho[i(186)](t)[i(202)](e),n=ho[i(185)](),r=n[i(192)]({days:1})[i(190)](i(193));let o,a;return s[i(203)](n,i(193))?(o=s[i(190)](i(193))[i(204)](),a=s[i(188)]()):s[i(203)](r,i(193))?(o=r[i(204)](),a=s[i(188)]()):s[i(203)](n,i(194))?(o=s[i(190)](i(194))[i(204)](),a=s[i(207)]||""):s[i(203)](n,i(195))?(o=s[i(190)](i(201))[i(204)](),a=s[i(206)]||""):(o=s[i(190)](i(195))[i(204)](),a=String(s[i(195)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(516054===-parseInt(e(198))/1+parseInt(e(187))/2+-parseInt(e(200))/3+-parseInt(e(196))/4*(parseInt(e(191))/5)+parseInt(e(184))/6*(parseInt(e(189))/7)+parseInt(e(197))/8*(-parseInt(e(199))/9)+parseInt(e(205))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=Rt(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Vt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;function ko(t,e){const i=wo();return(ko=function(t,e){return i[t-=396]})(t,e)}const bo=ko;function wo(){const t=["revisionViews","addRevision","remove","1360REtAOG","select","12AZqyOr","35760hfeGCS","uiLanguage","startDate","79545StVxRH","_revisionActions","setTemplate","div","_requireRevisionName","createCollection","span","removeRevision","ck-revision-history-sidebar__time-period","5PUQZwn","ck-revision-history-sidebar__time-period__label","3eYfdey","localizedPeriodName","907944MMpjFN","1595728PEorJy","12321boDPBs","setName","locale","find","add","ck-revision-history-sidebar__time-period__revisions","846028kSLUsC","delegate","44zPRegc","1008700aujcuM"];return(wo=function(){return t})()}!function(t){const e=ko,i=t();for(;;)try{if(127305===parseInt(e(424))/1*(-parseInt(e(412))/2)+-parseInt(e(426))/3*(parseInt(e(402))/4)+-parseInt(e(415))/5*(parseInt(e(411))/6)+parseInt(e(405))/7+parseInt(e(429))/8+-parseInt(e(396))/9*(parseInt(e(409))/10)+-parseInt(e(404))/11*(-parseInt(e(428))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[bo(414)];[bo(406)];[bo(416)];[bo(419)];constructor(t,e,i,s){const n=bo;super(t);const r=vo(e,this[n(398)][n(413)])[n(427)];this[n(414)]=e,this[n(406)]=this[n(420)](),this[n(416)]=i,this[n(419)]=s,this[n(406)][n(403)](n(410)).to(this),this[n(406)][n(403)](n(397)).to(this),this[n(417)]({tag:n(418),attributes:{class:["ck",n(423)]},children:[{tag:n(421),attributes:{class:["ck",n(425)]},children:[{text:r}]},{tag:n(418),attributes:{class:["ck",n(401)]},children:this[n(406)]}]})}[bo(407)](t){const e=bo,i=new Ge(this[e(398)],t,this[e(416)],this[e(419)]);this[e(406)][e(400)](i)}[bo(422)](t){const e=bo,i=this[e(406)][e(399)]((e=>e.id===t.id));this[e(406)][e(408)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=Rt(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Vt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(t,e){const i=To();return(Oo=function(t,e){return i[t-=261]})(t,e)}function To(){const t=["setTemplate","279856XJdsYO","ck-revision-history-sidebar__header__label","1791942ziPtsm","Revision history","16801246nZYlrx","4839404TbPkJJ","content","13036212AtTmdB","7751826yUmfaQ","30bDgpqa","56vXKlVB","20HfOnyl","ck-reset_all","ck-revision-history-sidebar__header","5QvJiPv","91849UIvwAw","span","div"];return(To=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(730721===parseInt(e(266))/1*(parseInt(e(279))/2)+parseInt(e(272))/3+-parseInt(e(275))/4*(parseInt(e(265))/5)+parseInt(e(278))/6+parseInt(e(261))/7*(parseInt(e(270))/8)+parseInt(e(277))/9+-parseInt(e(262))/10*(parseInt(e(274))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class xo extends _t.View{constructor(t){const e=Oo;super(t);const i=new _t.IconView;i[e(276)]=wt.IconHistory,this[e(269)]({tag:e(268),attributes:{class:["ck",e(263),e(264)]},children:[i,{tag:e(267),attributes:{class:["ck",e(271)]},children:[ot(t,e(273))]}]})}}var No=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Rt(),Ao.insert=Nt().bind(null,"head"),Ao.domAPI=Tt(),Ao.insertStyleElement=Vt();St()(No.A,Ao);No.A&&No.A.locals&&No.A.locals;function Ro(t,e){const i=Vo();return(Ro=function(t,e){return i[t-=202]})(t,e)}const Mo=Ro;function Vo(){const t=["flat","map","addRevision","set","add","remove","66XcXpyA","bindTemplate","select","2647552gfAcBO","fire","locale","delegate","removeRevision","div","192CFcRXU","find","setName","193032YKXlsm","uiLanguage","highlight","_revisions","_removeRevision","ck-revision-history-sidebar","unhighlight","1203051hzMBOn","1HSKlJA","4515327CFyGsm","getTime","_getTimePeriodViewByStartDate","10yFyOLL","setTemplate","revisionSelected","ck-revision-history-sidebar__timeline","18315627CQGiMS","render","some","createCollection","deselect","79210VfzTvK","highlightRevisions","startDate","_revisionActions","ck-rounded-corners","get","createdAt","revisionSetName","timePeriodViews","_requireRevisionName","ck-reset","_addRevision","isEnabled","revisionViews","selectRevision","111955dEByio","ck-disabled"];return(Vo=function(){return t})()}!function(t){const e=Ro,i=t();for(;;)try{if(354679===parseInt(e(225))/1*(parseInt(e(238))/2)+parseInt(e(224))/3+parseInt(e(208))/4+-parseInt(e(253))/5*(parseInt(e(205))/6)+parseInt(e(217))/7*(parseInt(e(214))/8)+parseInt(e(226))/9+parseInt(e(229))/10*(-parseInt(e(233))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends _t.View{[Mo(246)];[Mo(220)];[Mo(241)];[Mo(247)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(206)];this[n(246)]=this[n(236)](),this[n(246)][n(211)](n(207)).to(this),this[n(246)][n(211)](n(216)).to(this),this[n(220)]=e,this[n(241)]=i,this[n(247)]=s,this.on(n(207),((t,e)=>{const i=n;this[i(209)](i(231),e)})),this.on(n(216),((t,e)=>{const i=n;this[i(209)](i(245),e)})),this[n(202)](n(250),!1),this[n(230)]({tag:n(213),attributes:{class:["ck",n(248),n(242),n(222)]},children:[new xo(t),{tag:n(213),attributes:{class:["ck",n(232),r.if(n(250),n(254),(t=>!t))]},children:this[n(246)]}]})}[Mo(234)](){const t=Mo;super[t(234)]();for(const e of this[t(220)])this[t(249)](e);this[t(220)].on(t(203),((e,i)=>{this[t(249)](i)})),this[t(220)].on(t(204),((e,i)=>{this[t(221)](i)}))}get[Mo(251)](){const t=Mo;return this[t(246)][t(256)]((e=>e[t(251)][t(256)]((t=>t))))[t(255)]()}[Mo(252)](t){const e=Mo;for(const i of this[e(251)])t&&t.id===i.id?i[e(207)]():i[e(237)]()}[Mo(239)](t){const e=Mo;for(const i of this[e(251)])t[e(235)]((({id:t})=>t===i.id))?i[e(219)]():i[e(223)]()}[Mo(249)](t){const e=Mo,i=vo(t[e(244)],this[e(210)][e(218)])[e(240)];let s=this[e(246)][e(243)](0);s&&s[e(240)][e(227)]()===i[e(227)]()||(s=new _o(this[e(210)],i,this[e(241)],this[e(247)]),this[e(246)][e(203)](s)),s[e(257)](t)}[Mo(221)](t){const e=Mo,i=vo(t[e(244)],this[e(210)][e(218)])[e(240)];this[e(228)](i)[e(212)](t)}[Mo(228)](t){const e=Mo;return this[e(246)][e(215)]((i=>i[e(240)][e(227)]()===t[e(227)]()))}}function Eo(){const t=["isSelected","getRevision","requires","get","highlightRevisions","map","editor","destroy","fieldView","locale","2586240hbRaFG","_revisionViewer","63EmqDlG","select","appendChild","length","_handleDiffChange","4646568ojObfY","isPremiumPlugin","_handleEditorDataReady","change:diff","focus","_createRevisionActions","7129510NpEKbY","revisionHistory.viewerSidebarContainer","revisionSelected","Restore this revision","getEarlierVisibleRevision","add","restoreRevision","_sidebarView","timePeriodViews","isReady","action","revisionHistory","availableRevisionActions","6056WRDUCk","selectRevision","isOfficialPlugin","plugins","element","nameRevision","assign","compareAgainstSelected","Compare against selected","isVisible","Name this revision","getRevisionsInDiff","config","ready","restoreRevisionCallback","listenTo","bind","revisionViews","_handleRevisionSelected","_handleRevisionSetName","newRevisionId","repository","data","remove","pluginName","1XeyZhC","_revisions","name","diff","_revisionsRepository","326928wnMGWy","defaultRevisionActions","isEnabled","getLaterVisibleRevision","3137392GJQGqo","542786tJqSFC","string","compare","getIndex","setName","revisionSetName","init","revisionHistory.requireRevisionName","revisionHistory.revisionActions","RevisionsSidebar","render","4970lESZSc"];return(Eo=function(){return t})()}const Co=jo;!function(t){const e=jo,i=t();for(;;)try{if(799257===parseInt(e(158))/1*(parseInt(e(168))/2)+-parseInt(e(163))/3+parseInt(e(167))/4+parseInt(e(120))/5+parseInt(e(114))/6+parseInt(e(179))/7*(-parseInt(e(133))/8)+parseInt(e(192))/9*(-parseInt(e(190))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Fo extends J.Plugin{[Co(191)];[Co(162)];[Co(127)];static[Co(164)]=[Co(140),Co(126),Co(138)];static[Co(132)]=function(){const t=Co;return{compareAgainstSelected:{name:t(141),action:({plugins:e},i)=>{const s=t,n=e[s(183)](ce),r=n[s(154)];let o=n[s(161)][s(153)],a=i.id;r[s(171)](o)>r[s(171)](a)&&([o,a]=[a,o]),n[s(170)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(183)](ce);return!(n[s(154)][s(144)](n[s(161)])[s(112)]>2||i[s(180)])}},restoreRevision:{name:t(123),action:(e,{id:i})=>{const s=t;e[s(145)][s(183)](s(131))[s(147)](i)},isVisible:({plugins:e},i)=>!!e[t(183)](ce)[t(154)][t(166)](i.id)},nameRevision:{name:t(143),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(183)](ce),o=r[n(154)][n(124)](i);r[n(170)](i,o),s[n(118)](),s[n(188)][n(193)]()}}}}();static get[Co(157)](){return Co(177)}static get[Co(135)](){return!0}static get[Co(115)](){return!0}static get[Co(182)](){return[ce]}constructor(t){const e=Co;super(t),this[e(191)]=t[e(136)][e(183)](ce),this[e(162)]=this[e(191)][e(154)],this[e(127)]=null}[Co(174)](){const t=Co,e=this[t(162)][t(159)],i=this[t(119)](),s=this[t(186)][t(145)][t(183)](t(121));this[t(127)]=new Do(this[t(186)][t(189)],e,i,this[t(186)][t(145)][t(183)](t(175))),this[t(127)].on(t(122),this[t(151)][t(149)](this)),this[t(127)].on(t(173),this[t(152)][t(149)](this)),this[t(127)][t(149)](t(165)).to(this[t(191)]),this[t(127)][t(128)].on(t(125),((e,i)=>{const s=t;i[s(150)].on(s(125),((t,e)=>{const i=s;e[i(149)](i(165),i(129)).to(this[i(191)])}))})),this[t(127)][t(178)](),this[t(148)](this[t(186)][t(155)],t(146),this[t(116)][t(149)](this)),this[t(148)](this[t(191)],t(117),this[t(113)][t(149)](this)),s[t(111)](this[t(127)][t(137)])}[Co(187)](){const t=Co;this[t(127)][t(137)][t(156)](),this[t(127)][t(187)]()}[Co(116)](){const t=Co,e=this[t(162)][t(181)](0);if(e){const i=this[t(162)][t(124)](e.id);this[t(191)][t(170)](e,i)}}[Co(151)](t,e){const i=Co,s=this[i(162)][i(181)](e.id),n=this[i(162)][i(124)](s.id);this[i(191)][i(170)](s,n)}[Co(152)](t,e){const i=Co;this[i(162)][i(181)](e.id)[i(172)](e[i(160)])}[Co(113)](t,e,i){const s=Co,n=this[s(162)][s(144)](i);n[s(112)]>2?(this[s(127)][s(184)](n),this[s(127)][s(134)](null)):(this[s(127)][s(184)]([]),this[s(127)][s(134)](n[0]))}[Co(119)](){const t=Co,e=this[t(186)],i=Fo[t(132)],s=e[t(145)][t(183)](t(176))||Fo[t(164)];if(s[t(112)])return s[t(185)]((s=>{const n=t,r=n(169)==typeof s?Object[n(139)]({},i[s]):s;return r[n(130)]=r[n(130)][n(149)](this,e),r[n(142)]&&(r[n(142)]=r[n(142)][n(149)](this,e)),r}))}}function jo(t,e){const i=Eo();return(jo=function(t,e){return i[t-=111]})(t,e)}function Lo(){const t=["143539QGskhy","limiterElement","destroy","36KJdAgf","view","focusTracker","isFocused","attachDomRoot","isActive","840aJWxLV","render","stickyPanel","detachDomRoot","23958ialhtz","addToolbar","viewportOffset","document","690qmfStD","fillFromConfig","4CuNPrG","element","1330gxPYkh","name","get","_view","editing","5454jjgNoz","153536eCGiUd","1559327LLKjic","viewportTopOffset","_toolbarConfig","36hbvBWa","config","toolbar","replace","4208jSuANf","ready","_initToolbar","getRoot","_elementReplacer","init","fire","setEditableElement","editor","componentFactory","restore","rootName","bind","8852558zHVYCY","editable"];return(Lo=function(){return t})()}function Po(t,e){const i=Lo();return(Po=function(t,e){return i[t-=349]})(t,e)}const zo=Po;!function(t){const e=Po,i=t();for(;;)try{if(237315===parseInt(e(349))/1*(-parseInt(e(368))/2)+parseInt(e(380))/3*(-parseInt(e(376))/4)+parseInt(e(370))/5*(-parseInt(e(375))/6)+-parseInt(e(358))/7*(parseInt(e(384))/8)+parseInt(e(362))/9*(parseInt(e(366))/10)+parseInt(e(377))/11*(parseInt(e(352))/12)+parseInt(e(397))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Ho extends _t.EditorUI{[zo(373)];[zo(379)];[zo(388)];get[zo(353)](){return this[zo(373)]}constructor(e,i){const s=zo;super(e),this[s(373)]=i,this[s(379)]=(0,_t.normalizeToolbarConfig)(e[s(381)][s(372)](s(382))),this[s(388)]=new t.ElementReplacer}get[zo(369)](){const t=zo;return this[t(353)][t(369)]}[zo(389)](t){const e=zo,i=this[e(392)],s=this[e(353)],n=i[e(374)][e(353)],r=s[e(398)],o=n[e(365)][e(387)]();r[e(371)]=o[e(395)],s[e(359)]();const a=r[e(369)];this[e(391)](r[e(371)],a),s[e(398)][e(396)](e(355)).to(this[e(354)]),n[e(356)](a),this[e(388)][e(383)](t,this[e(369)]),this[e(386)](),this[e(390)](e(385))}[zo(351)](){const t=zo;super[t(351)]();const e=this[t(353)],i=this[t(392)][t(374)][t(353)];this[t(388)][t(394)](),i[t(361)](e[t(398)][t(371)]),e[t(351)]()}[zo(386)](){const t=zo,e=this[t(353)];e[t(360)][t(396)](t(357)).to(this[t(354)],t(355)),e[t(360)][t(350)]=e[t(369)],e[t(360)][t(396)](t(378)).to(this,t(364),(({top:t})=>t)),e[t(382)][t(367)](this[t(379)],this[t(393)]),this[t(363)](e[t(382)])}}var Wo=i(161),Uo={attributes:{"data-cke":!0}};Uo.setAttributes=Rt(),Uo.insert=Nt().bind(null,"head"),Uo.domAPI=Tt(),Uo.insertStyleElement=Vt();St()(Wo.A,Uo);Wo.A&&Wo.A.locals&&Wo.A.locals;var Zo=qo;function qo(t,e){var i=Bo();return(qo=function(t,e){return i[t-=111]})(t,e)}!function(t){for(var e=qo,i=t();;)try{if(561193===parseInt(e(116))/1+-parseInt(e(125))/2*(-parseInt(e(128))/3)+parseInt(e(131))/4+-parseInt(e(122))/5*(parseInt(e(112))/6)+parseInt(e(118))/7*(parseInt(e(121))/8)+parseInt(e(124))/9*(parseInt(e(119))/10)+-parseInt(e(117))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class $o extends _t.BoxedEditorUIView{[Zo(120)];[Zo(130)];[Zo(113)];get[Zo(115)](){return this[Zo(120)]}constructor(t,e,i={}){var s=Zo;super(t),this[s(130)]=new _t.StickyPanelView(t),this[s(113)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[s(127)]}),this[s(120)]=new _t.InlineEditableUIView(t,e)}[Zo(111)](){var t=Zo;super[t(111)](),this[t(130)][t(126)][t(114)](this[t(113)]),this[t(123)][t(114)](this[t(130)]),this[t(129)][t(114)](this[t(115)])}}function Bo(){var t=["3851384rjYNPP","1229410QjHeBl","top","7985493aPbHZu","391826SjhDzx","content","shouldToolbarGroupWhenFull","3FcqhKs","main","stickyPanel","3578564cWXhAM","render","18HWeqTm","toolbar","add","editable","745411NTOeWO","26259739yKVkZt","14tpZmry","10nPWSVU","_editable"];return(Bo=function(){return t})()}const Yo=Go;function Jo(){const t=["3867258FgMJNM","fire","7382aaWuRM","updateSourceElement","config","create","view","editing","initPlugins","document","3376180jNRzjS","get","destroy","model","9603594clbrnj","init","sourceElement","data","654mYeCzX","initialData","17030uRbUSc","ready","locale","_ui","2475ctoBrT","createRoot","12285YvBsNK","3178848zIfunh","87PHWVhk"];return(Jo=function(){return t})()}function Go(t,e){const i=Jo();return(Go=function(t,e){return i[t-=117]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(778854===parseInt(e(119))/1*(-parseInt(e(122))/2)+parseInt(e(120))/3+parseInt(e(130))/4+parseInt(e(117))/5*(parseInt(e(138))/6)+-parseInt(e(134))/7+-parseInt(e(118))/8+parseInt(e(144))/9*(parseInt(e(140))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Yo(143)];get ui(){return this[Yo(143)]}constructor(t,e){const i=Yo;super(e),this[i(136)]=t,this[i(133)][i(129)][i(145)]();const s=new $o(this[i(142)],this[i(127)][i(126)],{shouldToolbarGroupWhenFull:!0});this[i(143)]=new Ho(this,s)}[Yo(132)](){const t=Yo;return this[t(123)](),this.ui[t(132)](),super[t(132)]()}static async[Yo(125)](t,e){const i=Yo,s=new this(t,e);return await s[i(128)](),await s.ui[i(135)](t),await s[i(137)][i(135)](s[i(124)][i(131)](i(139))||""),s[i(121)](i(141)),s}}const Ko=Qo;function Qo(t,e){const i=sa();return(Qo=function(t,e){return i[t-=395]})(t,e)}!function(t){const e=Qo,i=t();for(;;)try{if(870130===parseInt(e(499))/1+parseInt(e(524))/2+parseInt(e(416))/3+parseInt(e(414))/4+parseInt(e(476))/5*(-parseInt(e(510))/6)+parseInt(e(541))/7*(parseInt(e(440))/8)+-parseInt(e(402))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);const ta=[Ko(484),Ko(461)];class ea extends J.Plugin{[Ko(439)];static get[Ko(407)](){return Ko(463)}static get[Ko(421)](){return!0}static get[Ko(504)](){return!0}constructor(t){const e=Ko;function i(t){const e=Qo;return t[e(411)]((t=>String[e(465)](t)))[e(508)]("")}super(t),this[e(439)]=e(462),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 ia extends J.Plugin{[Ko(480)];static get[Ko(407)](){return Ko(483)}static get[Ko(421)](){return!0}static get[Ko(504)](){return!0}static get[Ko(422)](){return[mt,Zt]}constructor(e){const i=Ko;if(super(e),!this[i(438)][i(455)][i(450)](i(503)))throw new t.CKEditorError(i(445),this);this[i(480)]=null,this[i(406)](i(521),!1),this[i(438)][i(455)][i(528)](i(506),(t=>this[i(501)]({...t,translations:this[i(438)][i(420)][i(537)]}))),this[i(438)][i(455)][i(528)](i(444),(t=>this[i(486)](t))),this[i(438)][i(455)][i(528)](i(442),(t=>this[i(467)](t))),this[i(438)][i(455)][i(528)](i(493),!1),this[i(512)](),this[i(526)]()}set[Ko(520)](t){const e=Ko;this[e(438)][e(434)][e(450)](e(435))[e(520)]=t}get[Ko(520)](){const t=Ko;return this[t(438)][t(434)][t(450)](t(435))[t(520)]}[Ko(436)](t){const e=Ko;return this[e(438)][e(434)][e(450)](e(435))[e(436)](t)}[Ko(490)](t){const e=Ko;return this[e(438)][e(434)][e(450)](e(532))[e(490)](t)}[Ko(522)](t){const e=Ko;return this[e(438)][e(434)][e(450)](e(532))[e(522)](t||{toJSON:!1})}[Ko(431)](){const e=Ko,i=this[e(438)],s=(0,G.sanitizeEditorConfig)(i,ta),n=i[e(434)][e(450)](e(435)),r=i[e(434)][e(450)](e(525))[e(481)];return s[e(460)]=[e(456),e(514),e(451)],delete s[e(466)],s[e(434)][e(398)](ea,ce,xe,class extends J.Plugin{static get[e(422)](){return[ce,e(525)]}[e(543)](){const s=e,o=this[s(438)][s(434)][s(450)](s(525));for(const t of r)t[s(497)]||o[s(447)](t.id)||o[s(542)](t);const a=n[s(468)][s(522)]();let c=null;const u=this[s(438)][s(434)][s(450)](s(498));u[s(520)]=n[s(520)],u[s(523)](s(423)).to(n),this[s(438)][s(443)][s(450)](s(514))[s(523)](s(423)).to(i,s(464),(t=>!t));for(const e of a){const i=null===e[s(533)];if(i&&e[s(413)]===e[s(519)])continue;const r=e[s(428)]();u[s(436)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(453)](r,o);else if(!o){const e=a[u(428)]();e.id=(0,t.uid)(),n[u(474)](e,a[u(413)])[u(470)]((t=>{c=t}))}}else e[u(453)](r,o)}))}}},Fo),s}[Ko(512)](){const t=Ko,e=this[t(438)][t(455)][t(450)](t(503))[t(399)];this[t(438)][t(455)][t(406)](t(506),(async()=>{const i=t;this[i(438)][i(441)](i(531));const s=this[i(438)][i(434)][i(450)](i(435));if(this[i(438)][i(434)][i(408)](i(472))){const t=this[i(438)][i(434)][i(450)](i(472));await t[i(496)]()}else await s[i(396)]();if(this[i(438)][i(434)][i(408)](i(471))&&this[i(438)][i(434)][i(450)](i(471))[i(473)](),this[i(438)][i(434)][i(408)](i(489))){const t=this[i(438)][i(434)][i(450)](i(489));t[i(452)]&&t[i(437)]()}const n=this[i(431)]();return e(n)[i(470)]((t=>{const e=i;return this[e(480)]=t,this[e(438)][e(434)][e(408)](e(397))&&this[e(438)][e(434)][e(450)](e(397))[e(534)](),this[e(438)][e(434)][e(408)](e(449))&&(this[e(438)][e(434)][e(450)](e(446))[e(404)][e(425)][e(417)][e(412)]=e(527)),t}))[i(487)]((t=>(console[i(477)](t),this[i(438)][i(529)](i(531)),null)))}))}[Ko(526)](){const t=Ko,e=this[t(438)][t(455)][t(450)](t(503))[t(516)];this[t(438)][t(455)][t(406)](t(444),(()=>(this[t(438)][t(434)][t(408)](t(471))&&this[t(438)][t(434)][t(450)](t(471))[t(473)](),this[t(438)][t(434)][t(408)](t(449))&&(this[t(438)][t(434)][t(450)](t(446))[t(404)][t(425)][t(417)][t(412)]=""),this[t(480)][t(434)][t(450)](t(498))[t(432)](),e(this[t(480)])[t(470)]((()=>{const e=t;if(this[e(438)][e(529)](e(531)),this[e(480)]=null,this[e(438)][e(434)][e(408)](e(397))){const t=this[e(438)][e(434)][e(450)](e(397));t[e(534)](),t[e(492)]()}})))))}[Ko(501)](t){const e=Ko,i=this[e(438)][e(455)][e(450)](e(410)),s=this[e(438)][e(455)][e(450)](e(459)),n=this[e(438)][e(455)][e(450)](e(507));return Xo[e(395)](n,t)[e(470)]((t=>(s[e(417)][e(412)]=e(535),i[e(417)][e(412)]=e(527),this[e(521)]=!0,t)))}[Ko(486)](t){const e=Ko,i=this[e(438)][e(455)][e(450)](e(410));return this[e(438)][e(455)][e(450)](e(459))[e(417)][e(412)]=e(527),i[e(417)][e(412)]="",this[e(521)]=!1,t[e(488)]()}async[Ko(467)](t){const e=Ko,i=this[e(438)],s=this[e(480)][e(434)][e(450)](e(498)),n=i[e(434)][e(450)](e(435)),r=i[e(434)][e(450)](e(454)),o=s[e(468)][e(490)](t);let a,c,u;try{await r[e(540)](o,this[e(520)]),a=r[e(538)](o),c=r[e(509)](o)}catch(t){return void console[e(477)](t)}i[e(491)][e(479)]((t=>{const s=e;for(const e of Array[s(511)](i[s(491)][s(419)][s(544)](s(495))))t[s(433)](e)})),s[e(502)]=!1,i[e(491)][e(530)]((t=>{const s=e;t[s(405)](null),t[s(513)](i[s(491)][s(409)][s(403)][s(430)]());const n=Object[s(539)](a);for(const e of i[s(491)][s(409)][s(415)])s(536)!=e[s(478)]&&e[s(494)]()&&!n[s(429)](e[s(478)])&&t[s(518)](e);for(const e of n){let n=i[s(491)][s(409)][s(458)](e);n&&n[s(494)]()||(n=t[s(515)](e));const r=c[e],o=Object[s(539)](r),u=a[e];for(const e of n[s(430)]())o[s(429)](e)||t[s(500)](e,n);for(const i of o)t[s(469)](i,c[e][i],n);t[s(482)](t[s(457)](n)),t[s(400)](i[s(427)][s(475)](u,n),n,0)}}));const l=ot(i[e(420)],e(424));return u=o[e(505)]?-1==o[e(505)][e(485)](l)?l+": "+o[e(505)]:o[e(505)]:l+": "+o[e(401)][e(426)](i[e(420)][e(545)],{month:e(418),day:e(448)})+", "+o[e(401)][e(517)](i[e(420)][e(545)],{hour:e(448),minute:e(448)}),await n[e(474)]({name:u}),s[e(502)]=!0,i[e(455)][e(450)](e(503))[e(516)]()}}function sa(){const t=["result","2251464YrOqCk","enableReadOnlyMode","revisionHistory.restoreRevisionCallback","commands","revisionHistory.closeRevisionViewerCallback","revision-history-missing-configuration","DocumentOutlineUI","getUser","numeric","DocumentOutline","get","changesNavigation","isOpen","_update","RevisionHistoryUtils","config","exitToEditing","createRangeIn","getRoot","revisionHistory.viewerContainer","toolbar","RestrictedEditingMode","end","RevisionViewerIntegration","isReadOnly","fromCharCode","lazyRoots","_restoreRevision","repository","setAttribute","then","PaginationLookup","Autosave","_recalculatePageBreaks","saveRevision","parse","351145xHoskk","error","rootName","change","_viewerEditor","users","remove","RevisionHistory","RevisionHistoryUI","indexOf","_closeRevisionViewer","catch","destroy","Dialog","getRevision","model","refreshPositioning","revisionHistory.requireRevisionName","isAttached","restrictedEditingException","save","isAnonymous","RevisionViewer","435888HPpSfm","removeAttribute","_showRevisionViewer","isReady","revisionHistory","isPremiumPlugin","name","revisionHistory.showRevisionViewerCallback","revisionHistory.viewerEditorElement","join","getRevisionRootsAttributes","18RXhuPd","from","_enhanceShowRevisionViewerCallback","removeSelectionAttribute","restoreRevision","addRoot","closeRevisionViewerCallback","toLocaleTimeString","detachRoot","fromVersion","adapter","isRevisionViewerOpen","getRevisions","bind","3381852tGcdXD","Users","_enhanceCloseRevisionViewerCallback","none","define","disableReadOnlyMode","enqueueChange","revision-history-viewer-opened","RevisionsRepository","creator","refreshVisibility","block","$graveyard","translations","getRevisionDocumentData","keys","loadRevisionData","14RXrHIB","addUser","init","getMarkersGroup","uiLanguage","create","update","Annotations","push","showRevisionViewerCallback","insert","createdAt","36053757mLatYk","selection","view","setSelection","set","pluginName","has","document","revisionHistory.editorContainer","map","display","toVersion","4271228kgLfTq","roots","3987909IpCbJd","style","long","markers","locale","isOfficialPlugin","requires","isEnabled","Restored","element","toLocaleDateString","data","toJSON","includes","getAttributeKeys","_getRevisionViewerEditorConfig","_cleanUp","removeMarker","plugins","RevisionTracker","addRevisionData","hide","editor"];return(sa=function(){return t})()}function na(t,e){var i=ra();return(na=function(t,e){return i[t-=173]})(t,e)}function ra(){var t=["28DeYzWZ","475022UHcuev","4825782YHGhBO","1456064lfIMIH","926806UffTkD","2472108WEJyAo","258830vAIRnP","1712024tCxlss"];return(ra=function(){return t})()}!function(t){for(var e=na,i=t();;)try{if(935796===parseInt(e(179))/1+parseInt(e(176))/2+parseInt(e(180))/3+parseInt(e(174))/4+parseInt(e(173))/5+-parseInt(e(177))/6+-parseInt(e(175))/7*(parseInt(e(178))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();